/* Achilles Atlas ("100% 1:1 GeoGuessr × TimeGuessr") — Master Stylesheet (`public/css/atlas.css`) */
:root {
  --brand-navy: #0B1F3A;
  --brand-navy-deep: #061224;
  --brand-navy-card: #112A4E;
  --brand-gold: #C89838;
  --brand-gold-bright: #FDE047;
  --brand-cream: #FAF6EE;
  --brand-cream-border: #E2D5BE;
  --brand-ink: #0F172A;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --emerald: #10B981;
  --cyan: #38BDF8;
  --crimson: #EF4444;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Newsreader", "Georgia", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background: var(--brand-navy-deep);
  color: var(--text-light);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

/* ============================================================================
   TOP HUD HEADER
   ============================================================================ */
.atlas-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(180deg, #0E2749 0%, var(--brand-navy) 100%);
  border-bottom: 1px solid rgba(200, 152, 56, 0.38);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  z-index: 30;
  flex-wrap: wrap;
}

.brand-crest-link {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-light);
}

.brand-crest-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.28);
}

.brand-title-stack {
  display: flex;
  flex-direction: column;
}

.brand-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-gold-bright);
}

.brand-main-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-gold-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(200, 152, 56, 0.22);
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold-bright);
}

.hud-mode-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 18, 36, 0.65);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.mode-btn {
  background: transparent;
  color: var(--text-light);
  border: 1px solid transparent;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.16s ease;
}

.mode-btn span {
  font-size: 12px;
  font-weight: 700;
}

.mode-btn small {
  font-size: 10px;
  color: var(--text-muted);
}

.mode-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mode-btn.active {
  background: linear-gradient(135deg, rgba(200, 152, 56, 0.28), rgba(253, 224, 71, 0.12));
  border-color: var(--brand-gold-bright);
}

.mode-btn.active small {
  color: var(--brand-gold-bright);
}

.hud-telemetry-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hud-stat-box {
  background: rgba(6, 18, 36, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  padding: 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 74px;
}

.hud-stat-box.gold {
  border-color: var(--brand-gold);
  background: rgba(200, 152, 56, 0.14);
}

.stat-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-light);
}

.hud-stat-box.gold .stat-value {
  color: var(--brand-gold-bright);
}

.hud-action-btn {
  background: rgba(17, 42, 78, 0.9);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hud-action-btn:hover {
  border-color: var(--brand-gold-bright);
  transform: translateY(-1px);
}

.hud-action-btn.gold-outline {
  border-color: var(--brand-gold);
  color: var(--brand-gold-bright);
}

/* ============================================================================
   1v1 DUEL HEALTH BAR BANNER & AMONG US LIVE OPPONENT TELEMETRY
   ============================================================================ */
.duel-hp-banner {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  gap: 14px;
  padding: 7px 18px;
  background: linear-gradient(90deg, rgba(6, 22, 42, 0.96) 0%, rgba(14, 34, 64, 0.96) 50%, rgba(6, 22, 42, 0.96) 100%);
  border-bottom: 1px solid rgba(200, 152, 56, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  z-index: 25;
}

.duel-fighter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fighter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.fighter-name {
  color: var(--text-light);
}

.fighter-hp-text {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--brand-gold-bright);
}

.hp-bar-track {
  width: 100%;
  height: 11px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.38);
  position: relative;
}

.hp-bar-fill {
  height: 100%;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  background-size: 16px 100%;
}

.player-fill {
  background: repeating-linear-gradient(
    90deg,
    #10B981 0px,
    #34D399 12px,
    #059669 12px,
    #059669 14px
  );
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.55);
}

.opponent-fill {
  background: repeating-linear-gradient(
    90deg,
    #F43F5E 0px,
    #FB7185 12px,
    #E11D48 12px,
    #E11D48 14px
  );
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.55);
}

.duel-center-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.duel-vs-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.75);
  border-radius: 999px;
  white-space: nowrap;
}

.vs-title {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #FCA5A5;
}

.vs-mult {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  color: var(--brand-gold-bright);
}

.duel-live-telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 18, 36, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.5);
  font-size: 11px;
  font-weight: 700;
  color: #E2E8F0;
  white-space: nowrap;
}

.telemetry-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: telemetryPulse 1.6s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes telemetryPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}

/* ============================================================================
   MAIN WORKSPACE LAYOUT (PANORAMIC SCENE + PIN-DROP DOCK)
   ============================================================================ */
.atlas-main-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: calc(100vh - 64px);
  position: relative;
}

.atlas-main-stage.map-expanded {
  grid-template-columns: 0.85fr 1.4fr;
}

/* LEFT: RECON PANORAMIC SCENE */
.recon-viewport-section {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #06101E;
  overflow: hidden;
  border-right: 1px solid rgba(200, 152, 56, 0.3);
}

.recon-scene-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.recon-scene-canvas:active {
  cursor: grabbing;
}

.recon-overlay-top-left {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.astrolabe-compass-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 31, 58, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--brand-gold);
  padding: 7px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.compass-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold-bright);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-n {
  position: absolute;
  top: 1px;
  font-size: 8px;
  font-weight: 900;
  color: var(--brand-gold-bright);
}

.compass-needle {
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #EF4444 50%, #F8FAFC 50%);
  border-radius: 2px;
  transition: transform 0.15s ease;
}

.compass-readout {
  display: flex;
  flex-direction: column;
}

.compass-deg {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-gold-bright);
}

.compass-mode-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.desk-dispatch-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 31, 58, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.desk-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
}

.recon-camera-controls {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}

.cam-ctrl-btn {
  background: rgba(11, 31, 58, 0.88);
  color: var(--text-light);
  border: 1px solid rgba(200, 152, 56, 0.5);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cam-ctrl-btn:hover {
  background: rgba(200, 152, 56, 0.25);
  border-color: var(--brand-gold-bright);
}

/* BOTTOM-LEFT OLYMPIAN CLUES DRAWER */
.olympian-clues-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(11, 31, 58, 0.93);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 152, 56, 0.55);
  border-radius: 14px;
  padding: 12px 15px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.scout-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.scout-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scout-portrait-frame {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid var(--brand-gold-bright);
  background: radial-gradient(circle at 50% 30%, rgba(200, 152, 56, 0.35), rgba(6, 18, 36, 0.95));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 0 10px rgba(253, 224, 71, 0.25);
  overflow: visible;
  flex-shrink: 0;
}

.scout-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.scout-icon-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-navy-deep);
  border: 1.5px solid var(--brand-gold-bright);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* ============================================================================
   INTERACTIVE FORENSIC HOTSPOT TAGS & DEDUCTION TELL BANNER
   ============================================================================ */
.forensic-hotspots-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
}

.forensic-hotspot-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6, 18, 36, 0.92);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), 0 0 12px rgba(56, 189, 248, 0.22);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.forensic-hotspot-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  border-color: var(--brand-gold-bright);
  background: rgba(17, 42, 78, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.75), 0 0 16px rgba(253, 224, 71, 0.45);
}

.forensic-hotspot-btn.active {
  border-color: var(--brand-gold-bright);
  background: linear-gradient(135deg, rgba(200, 152, 56, 0.35), rgba(6, 18, 36, 0.95));
  box-shadow: 0 0 20px rgba(253, 224, 71, 0.65);
}

.forensic-hotspot-btn.inspected-verified {
  border-color: #10B981;
}

.forensic-hotspot-btn.inspected-distractor {
  border-color: #F59E0B;
}

.hotspot-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

.forensic-hotspot-btn.inspected-verified .hotspot-pulse-dot {
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.forensic-hotspot-btn.inspected-distractor .hotspot-pulse-dot {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
}

.hotspot-status-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-gold-bright);
}

.forensic-tell-banner {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 186px;
  background: rgba(6, 18, 36, 0.95);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--brand-gold-bright);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  z-index: 18;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tell-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tell-verdict-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.tell-verdict-pill.verified {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid #10B981;
  color: #34D399;
}

.tell-verdict-pill.distractor {
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid #F59E0B;
  color: #FBBF24;
}

.tell-feature-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-gold-bright);
  flex: 1;
}

.tell-close-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.tell-close-btn:hover {
  border-color: var(--brand-gold-bright);
  color: var(--brand-gold-bright);
}

.tell-analysis-text {
  font-size: 12px;
  line-height: 1.42;
  color: #E2E8F0;
}

.scout-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.scout-epithet {
  font-size: 11px;
  color: var(--brand-gold-bright);
  font-weight: 600;
}

.scout-quote {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

.reveal-clue-btn {
  background: rgba(200, 152, 56, 0.22);
  color: var(--brand-gold-bright);
  border: 1px solid var(--brand-gold);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.reveal-clue-btn:hover {
  background: rgba(200, 152, 56, 0.35);
}

.progressive-clues-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.progressive-clues-list li {
  font-size: 12px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 7px;
  background: rgba(6, 18, 36, 0.72);
  border-left: 3px solid var(--brand-gold-bright);
}

.progressive-clues-list li.locked-clue {
  color: var(--text-muted);
  border-left-color: rgba(148, 163, 184, 0.35);
  font-style: italic;
}

/* ============================================================================
   RIGHT: GEODESIC PIN-DROP WORLD MAP & CHRONOS DIAL DOCK
   ============================================================================ */
.pin-drop-dock {
  display: flex;
  flex-direction: column;
  background: var(--brand-navy);
  padding: 12px 14px;
  gap: 10px;
  overflow-y: auto;
}

.dock-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dock-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-header-title h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-gold-bright);
}

.dock-header-title p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.dock-map-tools {
  display: flex;
  gap: 5px;
}

.map-tool-btn {
  background: rgba(6, 18, 36, 0.8);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.map-tool-btn:hover {
  border-color: var(--brand-gold-bright);
}

.map-tool-btn.projection-toggle-btn {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(200, 152, 56, 0.22));
  border-color: var(--brand-gold-bright);
  color: var(--brand-gold-bright);
  box-shadow: 0 0 10px rgba(253, 224, 71, 0.2);
}

.map-tool-btn.projection-toggle-btn.globe-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(56, 189, 248, 0.28));
  border-color: #34D399;
  color: #A7F3D0;
}

.world-map-canvas-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(200, 152, 56, 0.55);
  background: #07172D;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.6);
  transition: height 0.22s ease;
}

.atlas-main-stage.map-expanded .world-map-canvas-wrap {
  height: 380px;
}

.world-map-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: crosshair;
}

.map-legend-overlay {
  position: absolute;
  bottom: 8px;
  left: 10px;
  display: flex;
  gap: 12px;
  background: rgba(6, 18, 36, 0.82);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  pointer-events: none;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.gold { background: var(--brand-gold-bright); }
.dot.emerald { background: var(--emerald); }
.dot.cyan { background: var(--cyan); }

/* CHRONOS YEAR SLIDER PANEL */
.chronos-dial-panel {
  background: rgba(6, 18, 36, 0.78);
  border: 1px solid rgba(200, 152, 56, 0.4);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chronos-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.chronos-label-group {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.chronos-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.chronos-year-display {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--brand-gold-bright);
}

.chronos-stepper-group {
  display: flex;
  gap: 4px;
}

.year-step-btn {
  background: rgba(17, 42, 78, 0.95);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.year-step-btn:hover {
  border-color: var(--brand-gold-bright);
  color: var(--brand-gold-bright);
}

.chronos-year-slider {
  width: 100%;
  accent-color: var(--brand-gold-bright);
  height: 8px;
  cursor: pointer;
}

.chronos-era-ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.era-jump-pill {
  background: rgba(17, 42, 78, 0.7);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.era-jump-pill:hover {
  color: var(--brand-gold-bright);
  border-color: var(--brand-gold);
}

/* SUBMIT & NEXT ROUND CTA */
.dock-submit-bar {
  display: flex;
  gap: 10px;
}

.btn-lock-guess,
.btn-next-round {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-lock-guess {
  background: linear-gradient(135deg, #FDE047 0%, #C89838 100%);
  color: #061224;
  box-shadow: 0 6px 20px rgba(200, 152, 56, 0.4);
}

.btn-lock-guess:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(253, 224, 71, 0.55);
}

.btn-next-round {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ============================================================================
   POST-ROUND READ ACHILLES INTELLIGENCE DOSSIER CARD (--brand-cream: #FAF6EE)
   ============================================================================ */
.dossier-reveal-card {
  background: var(--brand-cream);
  color: var(--brand-ink);
  border: 2px solid var(--brand-gold);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reveal-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--brand-cream-border);
  padding-bottom: 8px;
}

.reveal-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #854D0E;
}

.reveal-location-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  color: #0B1F3A;
}

.reveal-coords-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #475569;
}

.reveal-total-badge {
  background: #0B1F3A;
  color: var(--brand-gold-bright);
  padding: 6px 12px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}

.reveal-pts-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #94A3B8;
}

.reveal-pts-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
}

.reveal-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.reveal-metric-cell {
  background: #FFFFFF;
  border: 1px solid var(--brand-cream-border);
  border-radius: 9px;
  padding: 8px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-kicker {
  font-size: 10px;
  font-weight: 800;
  color: #64748B;
}

.metric-big {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: #0B1F3A;
}

.metric-score-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  color: #047857;
}

.reveal-takeaway-box {
  background: rgba(200, 152, 56, 0.14);
  border-left: 4px solid var(--brand-gold);
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.45;
  color: #1E293B;
}

/* ============================================================================
   MODALS & CATALOG / LEADERBOARD
   ============================================================================ */
.atlas-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 36, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.atlas-modal-card {
  background: var(--brand-navy);
  border: 2px solid var(--brand-gold);
  border-radius: 16px;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 20px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.atlas-modal-card.wide {
  max-width: 960px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(200, 152, 56, 0.3);
  padding-bottom: 10px;
}

.modal-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brand-gold-bright);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-weight: 800;
}

.summary-hero-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 18, 36, 0.8);
  border: 1px solid var(--brand-gold);
  border-radius: 12px;
  padding: 14px 18px;
}

.summary-hero-score strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--brand-gold-bright);
}

.summary-rank-pill {
  background: rgba(200, 152, 56, 0.2);
  border: 1px solid var(--brand-gold-bright);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-gold-bright);
}

.summary-rounds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.summary-rounds-table th,
.summary-rounds-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.summary-rounds-table th {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.share-scorecard-pre {
  background: #061224;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-gold-bright);
  white-space: pre-wrap;
}

.modal-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary-gold {
  background: linear-gradient(135deg, #FDE047, #C89838);
  color: #061224;
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.btn-secondary-navy {
  background: rgba(17, 42, 78, 0.9);
  color: var(--text-light);
  border: 1px solid var(--brand-gold);
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.catalog-filter-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(6, 18, 36, 0.8);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.active {
  background: rgba(200, 152, 56, 0.25);
  color: var(--brand-gold-bright);
  border-color: var(--brand-gold-bright);
}

.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.catalog-dossier-card {
  background: rgba(6, 18, 36, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.catalog-dossier-card h4 {
  font-size: 13px;
  color: var(--brand-gold-bright);
}

.catalog-dossier-card p {
  font-size: 11px;
  color: var(--text-muted);
}

.leaderboard-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lb-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.lb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 18, 36, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.atlas-toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #0B1F3A;
  color: var(--brand-gold-bright);
  border: 2px solid var(--brand-gold-bright);
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  z-index: 200;
}

@media (max-width: 1024px) {
  .atlas-main-stage,
  .atlas-main-stage.map-expanded {
    grid-template-columns: 1fr;
  }
  .recon-viewport-section {
    min-height: 390px;
  }
  .leaderboard-columns {
    grid-template-columns: 1fr;
  }
}
