.svg {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.playerOverlay {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 11;
}

.backgroundImage {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.textContainer {
  font-family: 'Slider';
  text-align: center;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
}

.factionName {
  font-size: 28px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}

.playerName {
  font-size: 22px;
  font-weight: normal;
  color: rgba(255, 255, 255, 0.8);
}

.strategyCard {
  font-size: 64px;
  font-weight: bold;
  line-height: 1;
}

.victoryPoints {
  font-size: 22px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.9);
}

.hexLabel {
  text-anchor: middle;
  dominant-baseline: middle;
  font-size: 12px;
  font-weight: bold;
  fill: rgba(199, 210, 254, 0.9);
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.8);
}

.borderLine {
  stroke-width: 4;
  stroke-dasharray: 20, 8;
}

/* New styles moved from inline */
.commandCountersOverlay {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.tradeGoodsOverlay {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
}

.playerStatusText {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: 700;
  font-family: 'Slider';
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.8);
  text-align: center;
  white-space: nowrap;
}

.playerStatusActive {
  color: var(--mantine-color-green-5);
}

.playerStatusPassed {
  color: var(--mantine-color-red-5);
}

.tradeGoodsGroup {
  min-width: 170px;
  justify-content: center;
}

.tradeGoodsContainer {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.commoditiesContainer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tradeGoodsImage {
  height: 48px;
  margin-top: 16px;
}

.commoditiesImage {
  height: 48px;
  margin-top: 16px;
}

.commoditiesText {
  margin-top: 4px;
}