:root {
  --bg: #0b0f17;
  --bg-soft: #111827;
  --panel: rgba(17, 24, 39, 0.92);
  --panel-strong: #0f172a;
  --line: #233047;
  --text: #e6edf7;
  --muted: #8b9bb4;
  --accent: #3b82f6;
  --accent-soft: #1d4ed8;
  --gold: #f5c451;
  --danger: #ef4444;
  --success: #34d399;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', system-ui, sans-serif;
  font-size: 14px;
  overflow: hidden;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #1c2941;
  color: var(--text);
  padding: 7px 12px;
  font-size: 13px;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

button:hover:not(:disabled) {
  background: #263757;
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

button.primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #3b82f6;
  font-weight: 600;
}

button.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

button.danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-color: #ef4444;
  font-weight: 600;
}

button.ghost {
  background: transparent;
  border-color: var(--line);
}

button.ghost:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.12);
}

button small {
  opacity: 0.75;
  font-weight: 400;
  margin-left: 6px;
}

.hidden {
  display: none !important;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#topbar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #121a2b, #0d1421);
  border-bottom: 1px solid var(--line);
  z-index: 5;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), #b45309);
  box-shadow: 0 0 10px rgba(245, 196, 81, 0.5);
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 3px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}

.crumb {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 4px 8px;
  font-size: 13px;
}

.crumb:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.1);
}

.crumb.current {
  color: var(--text);
  font-weight: 600;
}

.crumb-sep {
  color: #3d4b63;
}

.stats {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 52px;
}

.stat span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.5px;
}

.stat b {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stat.progress-stat {
  min-width: 130px;
}

.stat.progress-stat span b {
  font-size: 12px;
  color: var(--gold);
  margin-left: 4px;
}

.progress {
  height: 5px;
  background: #1c2941;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 5px;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3b82f6, #f5c451);
  transition: width 0.3s;
}

.controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speed-group {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.speed-group .speed {
  border-radius: 0;
  border: none;
  background: transparent;
  padding: 7px 10px;
  color: var(--muted);
}

.speed-group .speed.active {
  background: rgba(59, 130, 246, 0.2);
  color: var(--text);
}

#btn-pause.active {
  border-color: var(--gold);
  color: var(--gold);
}

.danger-text {
  color: #fca5a5;
}

#stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(29, 78, 216, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0e16, #070a10);
}

#map {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
  outline: none;
}

#map.grabbing {
  cursor: grabbing;
}

.region {
  stroke: #05080e;
  stroke-width: 0.7;
  cursor: pointer;
  transition:
    fill 0.25s,
    color 0.18s ease,
    stroke 0.18s ease,
    stroke-width 0.18s ease;
  vector-effect: non-scaling-stroke;
}

.region.command-highlight {
  stroke-width: 2;
}

.region.command-highlight.command-attack {
  color: #f87171;
  stroke: #f87171;
}

.region.command-highlight.command-move {
  color: #34d399;
  stroke: #34d399;
}

.region.command-highlight.command-invalid {
  color: #94a3b8;
  stroke: #94a3b8;
}

.region.out-of-scope {
  opacity: 0.18;
  cursor: default;
}

.region:hover {
  stroke: #dbeafe;
  stroke-width: 1.2;
}

.region.is-player {
  stroke: #93c5fd;
  stroke-width: 0.9;
}

.region.selected {
  stroke: #ffffff;
  stroke-width: 2;
}

.region.target {
  stroke: #f5c451;
  stroke-width: 2;
  stroke-dasharray: 5 3;
}

.region.hit {
  animation: hit-flash 0.5s ease-out;
}

@keyframes hit-flash {
  0% {
    stroke: #ffffff;
    stroke-width: 2.4;
  }
  100% {
    stroke: #05080e;
    stroke-width: 0.7;
  }
}

.marker {
  pointer-events: none;
  opacity: 0.9;
}

.center-dot {
  pointer-events: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
  opacity: 0.9;
  transition: r 0.13s ease, stroke-width 0.13s ease;
}

.center-dot.hovered {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.1;
}

.center-dot.out-of-scope {
  opacity: 0.18;
}

#fx-layer {
  pointer-events: none;
}

.attack-line {
  stroke-width: 2;
  stroke-dasharray: 7 5;
  fill: none;
  animation: dash-move 0.7s linear, fade-out 0.7s forwards;
}

@keyframes dash-move {
  to {
    stroke-dashoffset: -48;
  }
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}

.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.start-banner {
  display: none;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 16;
  align-items: center;
  gap: 16px;
  max-width: calc(100% - 400px);
  padding: 10px 14px 10px 18px;
  background: rgba(11, 17, 28, 0.94);
  border: 1px solid #f5c45155;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.starting .start-banner {
  display: flex;
}

body.starting .stats,
body.starting .controls,
body.starting .map-controls {
  display: none;
}

.start-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.start-copy b {
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--gold);
}

.start-copy span {
  font-size: 12px;
  color: var(--muted);
  white-space: normal;
}

.start-resources {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 4px;
}

.start-resources b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}

.capital-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(245, 196, 81, 0.16);
  border: 1px solid rgba(245, 196, 81, 0.5);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}

.country-progress {
  margin: 2px 0 10px;
}

.country-progress .bar {
  height: 4px;
  background: #1c2941;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 5px;
}

.country-progress .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3b82f6, #34d399);
}

.tip-capital {
  color: var(--gold);
}

.capital-marker {
  pointer-events: none;
}

.map-controls {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 12;
}

.map-controls button {
  background: rgba(11, 17, 28, 0.85);
  border-color: var(--line);
  min-width: 34px;
  padding: 6px 10px;
  backdrop-filter: blur(6px);
}

.map-controls button:hover {
  border-color: var(--accent);
}

.map-controls button.active {
  border-color: rgba(245, 196, 81, 0.7);
  color: var(--gold);
}

.troop-labels {
  pointer-events: none;
}

.troop-label {
  fill: #e6edf7;
  stroke: #05080e;
  paint-order: stroke;
  text-anchor: middle;
  dominant-baseline: middle;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.troop-label.player {
  fill: #bfdbfe;
}

.attack-route {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.move-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

button.small {
  padding: 4px 8px;
  font-size: 11px;
}

.tooltip {
  position: absolute;
  z-index: 20;
  min-width: 150px;
  padding: 9px 11px;
  background: rgba(8, 12, 20, 0.95);
  border: 1px solid var(--line);
  border-radius: 9px;
  pointer-events: none;
  font-size: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.tip-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.tip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  line-height: 1.7;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}

.panel {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 336px;
  max-height: calc(100% - 28px);
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.panel::-webkit-scrollbar {
  width: 6px;
}

.panel::-webkit-scrollbar-thumb {
  background: #2c3c58;
  border-radius: 99px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.panel-sub {
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.badge {
  padding: 4px 9px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: color-mix(in srgb, var(--badge) 30%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge) 65%, transparent);
  white-space: nowrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.stat-box {
  background: rgba(11, 17, 28, 0.65);
  border: 1px solid #1d2940;
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-box span {
  color: var(--muted);
  font-size: 11px;
}

.stat-box b {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.action-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.action-block button {
  padding: 10px 12px;
}

.section-title {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 16px 0 8px;
}

.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.hint p {
  margin: 4px 0;
}

.hint.good {
  color: var(--success);
  margin-top: 8px;
}

.hint.bad {
  color: #fca5a5;
  margin-top: 8px;
}

.attack-box {
  border: 1px solid #2c3c58;
  background: rgba(29, 41, 64, 0.55);
  border-radius: 10px;
  padding: 12px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.attack-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
}

.attack-defense {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}

#attack-slider {
  width: 100%;
  accent-color: var(--accent);
}

.attack-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.attack-meta b {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.attack-box button {
  width: 100%;
}

.pending-box {
  margin: 8px 0;
}

.neighbors {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.neighbor {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  background: rgba(11, 17, 28, 0.55);
  border: 1px solid #1d2940;
  padding: 7px 9px;
  width: 100%;
}

.neighbor:hover {
  border-color: var(--accent);
}

.neighbor-name {
  flex: 1;
  font-weight: 600;
}

.neighbor-owner {
  color: var(--muted);
  font-size: 11px;
}

.neighbor-troops {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 12px;
  min-width: 34px;
  text-align: right;
}

.standings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.standing {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 17, 28, 0.55);
  border: 1px solid #1d2940;
  border-radius: 8px;
  padding: 7px 10px;
}

.standing-name {
  flex: 1;
  font-weight: 600;
}

.standing-count {
  color: var(--muted);
  font-size: 11px;
}

.standing-share {
  font-variant-numeric: tabular-nums;
  min-width: 46px;
  text-align: right;
  color: var(--gold);
  font-size: 12px;
}

.tips {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  background: rgba(8, 12, 20, 0.95);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 30;
  max-width: 80%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.success {
  border-color: rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.55);
  color: #fecaca;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.78);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.victory-card {
  text-align: center;
  background: linear-gradient(180deg, #111a2b, #0b111c);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 44px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  max-width: 440px;
}

.victory-title {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: 4px;
}

.victory-title.win {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(245, 196, 81, 0.35);
}

.victory-title.lose {
  color: #fca5a5;
}

.victory-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 22px;
}

.settings-card {
  width: min(420px, calc(100% - 32px));
  background: linear-gradient(180deg, #111a2b, #0b111c);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.settings-card h2 {
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: 1px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.setting-row b {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.settings-select {
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0b111c;
  color: var(--text);
  font-size: 13px;
}

#setting-attack-speed {
  width: 100%;
  accent-color: var(--accent);
}

.settings-card .hint {
  margin: 12px 0 18px;
}

.settings-card button {
  width: 100%;
}

.setup-card {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100% - 40px);
  overflow-y: auto;
  background: linear-gradient(180deg, #111a2b, #0b111c);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.setup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.setup-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 1px;
}

.setup-sub {
  color: var(--muted);
  font-size: 12px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mode-card {
  text-align: left;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 17, 28, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mode-card b {
  font-size: 16px;
}

.mode-card span {
  color: var(--muted);
  font-size: 12px;
}

.mode-card em {
  font-style: normal;
  font-size: 10px;
  color: var(--gold);
  border: 1px solid rgba(245, 196, 81, 0.45);
  border-radius: 99px;
  padding: 1px 6px;
  margin-left: 4px;
}

.mode-card.primary-card {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.16);
}

.setup-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.setup-tab {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

.setup-tab.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(59, 130, 246, 0.16);
}

.setup-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setup-label {
  color: var(--muted);
  font-size: 12px;
}

.setup-body select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0b111c;
  color: var(--text);
  font-size: 13px;
}

.scope-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #1d2940;
  background: rgba(11, 17, 28, 0.6);
}

.scope-preview b {
  font-size: 15px;
}

.scope-preview span {
  color: var(--muted);
  font-size: 12px;
}

.setup-actions {
  margin-top: 16px;
}

.setup-actions button {
  width: 100%;
  padding: 12px;
}

body.setup-open .start-banner,
body.setup-open .panel {
  display: none;
}

@media (max-width: 1100px) {
  .stats {
    gap: 12px;
  }
  .brand-sub {
    display: none;
  }
}

@media (max-width: 760px) {
  .start-banner {
    left: 8px;
    right: 8px;
    top: 8px;
    transform: none;
    max-width: none;
    padding: 9px 10px;
  }
  .start-copy span {
    white-space: normal;
  }
  #topbar {
    gap: 10px;
    padding: 8px 10px;
  }
  .stats {
    order: 3;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }
  .controls {
    margin-left: auto;
  }
  .panel {
    top: auto;
    bottom: 8px;
    right: 8px;
    left: 8px;
    width: auto;
    max-height: 44%;
  }
  .toast {
    bottom: auto;
    top: 12px;
  }
}

.command-layer {
  pointer-events: none;
}

.command-arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 7 5;
  vector-effect: non-scaling-stroke;
}

.command-arrow.command-stub {
  stroke: #f8fafc;
  stroke-width: 2.6;
  stroke-dasharray: none;
}

.command-head {
  fill: currentColor;
  stroke: none;
}

.command-head.command-stub {
  fill: rgba(248, 250, 252, 0.35);
  stroke: #f8fafc;
  stroke-width: 1.1;
  opacity: 0.95;
  vector-effect: non-scaling-stroke;
}

.command-source,
.command-target {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.command-target {
  stroke-dasharray: 4 4;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.command-option {
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
  transform: translateY(4px);
  transform-box: fill-box;
  transform-origin: center;
}

.command-option.visible {
  opacity: 1;
  transform: translateY(0);
}

.command-option rect {
  fill: rgba(255, 255, 255, 0.08);
  stroke: currentColor;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.command-option text {
  fill: currentColor;
  stroke: rgba(4, 7, 12, 0.55);
  paint-order: stroke;
  text-anchor: middle;
  dominant-baseline: middle;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

.command-option.active {
  opacity: 1;
}

.command-option.active rect {
  fill: currentColor;
  fill-opacity: 0.9;
  stroke-width: 2.5;
}

.command-option.active text {
  fill: #07111f;
  stroke: none;
}

.command-label {
  fill: currentColor;
  stroke: rgba(4, 7, 12, 0.9);
  paint-order: stroke;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  text-anchor: middle;
}

.command-layer.attack {
  color: #f87171;
}

.command-layer.move {
  color: #34d399;
}

.command-layer.invalid {
  color: #94a3b8;
}

#map.commanding,
#map.command-ready {
  cursor: crosshair;
}

.command-layer.selecting {
  color: #93c5fd;
}

.region.command-source-highlight {
  color: #93c5fd;
  stroke: #93c5fd;
  stroke-width: 1.8;
}

.region.command-source-highlight.command-source-attack {
  color: #f87171;
  stroke: #f87171;
}

.region.command-source-highlight.command-source-move {
  color: #34d399;
  stroke: #34d399;
}

.region.command-candidate {
  color: #f5c451;
  stroke: #f5c451;
  stroke-width: 2;
}
