/* ═══════════════════════════════════════════════════════
   LIVE MAP — Channel Crossing Reenactment
   6 August 2026 · 100th Anniversary
   TEF Design System · Website + Kiosk modes
   ═══════════════════════════════════════════════════════ */

/* — Tokens (TEF) ————————————————————————————————————— */
:root {
  --navy: #10162C;
  --navy-deep: #0A0E1F;
  --sky: #70BDEA;
  --sky-soft: #A8D4F0;
  --off-white: #F2F6FB;
  --body-muted: #77808E;
  --rule: rgba(255,255,255,0.12);
  --gold: #C9A84C;
  --gold-soft: #D4B96A;
}

/* — Standalone page (no site header/footer) ——————————— */
body.live-standalone {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  margin: 0;
  overflow: hidden;
}

/* ═══ LAYOUT ═══════════════════════════════════════════ */

.live-wrap {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh; height: 100dvh;
  background: var(--navy-deep);
  color: var(--off-white);
}


/* Map container — left side */
.live-map-container {
  flex: 0 0 62%;
  position: relative;
  overflow: hidden;
}
.map-pane {
  position: relative;
  width: 100%; height: 100%;
}
.route-overlay {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  /* Make sure the SVG scales just like an image would with object-fit: cover */
  display: block;
}
.route-swum {
  stroke: var(--sky);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(112,189,234,0.4));
  transition: stroke-dashoffset 1s linear;
}

/* SVG markers */
.marker-start, .marker-end {
  fill: rgba(112,189,234,0.3);
  stroke: var(--sky);
  stroke-width: 2;
}
[data-phase="arrived"] .marker-end {
  fill: rgba(201,168,76,0.3);
  stroke: var(--gold);
}

/* Trudy's current position — red blinking dot */
.trudy-dot {
  fill: #e74c3c;
  stroke: #fff;
  stroke-width: 2;
  visibility: hidden;
}
.trudy-pulse-ring {
  fill: none;
  stroke: #e74c3c;
  stroke-width: 2;
  visibility: hidden;
  transform-origin: center;
  animation: trudy-pulse 1.5s ease-out infinite;
}
@keyframes trudy-pulse {
  0%   { transform: scale(1); opacity: 0.8; stroke-width: 3; }
  100% { transform: scale(3); opacity: 0;   stroke-width: 1; }
}



/* Chart caption */
.chart-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 20px;
  background: linear-gradient(transparent, rgba(10,14,31,0.85));
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}
.chart-caption em {
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

/* Info panel — right side */
.live-info-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px 40px 32px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* — Eyebrow ——————————————————————————————————————————— */
.live-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(9px, 1.1vw, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.live-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--sky);
}

/* — Headline ——————————————————————————————————————————— */
.live-headline {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 40px);
  color: var(--off-white);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-bottom: 16px;
}
.live-headline em {
  font-style: italic;
  color: var(--sky-soft);
}

/* — Subhead ——————————————————————————————————————————— */
.live-subhead {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 17px);
  color: var(--body-muted);
  line-height: 1.5;
  margin-bottom: 32px;
}

/* — Counter ——————————————————————————————————————————— */
.live-counter-wrap {
  margin-bottom: 24px;
}
.live-phase-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.live-phase-label:empty { display: none; }
.live-counter-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(9px, 1vw, 11px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 8px;
}
.live-counter {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: 0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.live-counter .unit {
  font-family: 'Inter', sans-serif;
  font-size: clamp(9px, 0.9vw, 12px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--body-muted);
  margin: 0 0.3em;
}

/* Swimming phase: counter glow */
[data-phase="swimming"] .live-counter {
  text-shadow: 0 0 30px rgba(112,189,234,0.2);
}

/* Arrived phase: gold celebration */
[data-phase="arrived"] .live-counter {
  color: var(--gold);
}
[data-phase="arrived"] .live-counter .unit {
  color: var(--gold-soft);
}
[data-phase="arrived"] .live-headline em {
  color: var(--gold);
}
[data-phase="arrived"] .live-eyebrow {
  color: var(--gold);
}
[data-phase="arrived"] .live-eyebrow::before {
  background: var(--gold);
}

/* — Divider ——————————————————————————————————————————— */
.live-rule {
  width: 100%; height: 1px;
  background: var(--rule);
  margin: 16px 0;
}

/* — Timeline ——————————————————————————————————————————— */
.live-timeline {
  flex: 0 1 auto;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(112,189,234,0.25) transparent;
}
.live-timeline::-webkit-scrollbar { width: 3px; }
.live-timeline::-webkit-scrollbar-thumb { background: rgba(112,189,234,0.25); border-radius: 2px; }

.tl-item {
  display: none;
  gap: 14px;
  padding: 10px 0;
  transition: opacity 0.6s ease, transform 0.4s ease;
}
.tl-item.is-reached { display: flex; opacity: 1; }
.tl-item.is-active { display: flex; opacity: 1; transform: translateX(4px); }

.tl-dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  margin-top: 4px;
  transition: all 0.6s ease;
}
.tl-item.is-reached .tl-dot {
  background: var(--sky);
  box-shadow: 0 0 8px rgba(112,189,234,0.5);
}
.tl-item.is-active .tl-dot {
  background: #fff;
  box-shadow: 0 0 12px rgba(112,189,234,0.8);
  animation: pulse-dot 2s infinite;
}
[data-phase="arrived"] .tl-item.is-active .tl-dot {
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.6);
  animation: pulse-gold 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px rgba(112,189,234,0.5); }
  50% { box-shadow: 0 0 18px rgba(112,189,234,0.9); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 8px rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 18px rgba(201,168,76,0.8); }
}

.tl-time {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(10px, 1vw, 12px);
  color: var(--sky);
  letter-spacing: 0.05em;
}
.tl-title {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-size: clamp(13px, 1.1vw, 16px);
  color: var(--off-white);
  margin: 2px 0;
  line-height: 1.25;
}
.tl-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--body-muted);
  line-height: 1.45;
}

/* — Map Overlays ——————————————————————————————————————— */
.map-overlay-phase {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 1000;
  pointer-events: none;
}
.map-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,14,31,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
}
.map-phase-indicator {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sky);
}
[data-phase="waiting"] .map-phase-indicator { background: #77808E; }
[data-phase="swimming"] .map-phase-indicator { background: #2ecc71; animation: blink-green 1.2s infinite; }
[data-phase="arrived"] .map-phase-indicator { background: var(--gold); }
@keyframes blink-green {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


/* — TEF Logo Branding ————————————————————————————————— */
.live-branding {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: flex-end;
}
.live-branding-logo {
  height: 120px;
  width: auto;
}


/* ═══ KIOSK MODE ═══════════════════════════════════════ */

body.kiosk-mode {
  overflow: hidden;
  cursor: none;
}
body.kiosk-mode > header,
body.kiosk-mode > footer,
body.kiosk-mode .site-header,
body.kiosk-mode .site-footer,
body.kiosk-mode .cookie-banner,
body.kiosk-mode .live-branding { display: none !important; }

body.kiosk-mode .live-wrap {
  width: 100vw;
  height: 100vh; height: 100dvh;
  min-height: unset;
  padding-top: 0;
}
body.kiosk-mode .live-map-container {
  flex: 0 0 65%;
}
body.kiosk-mode .live-info-panel {
  padding: 3vh 3vw;
}

/* Kiosk footer branding bar */
.kiosk-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 1.5vh;
  margin-top: auto;
  border-top: 1px solid var(--rule);
}
.kiosk-footer img {
  height: clamp(18px, 2vh, 28px);
  opacity: 0.7;
}
.kiosk-footer span {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(9px, 0.9vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-muted);
}

/* ═══ RESPONSIVE (Portrait / Mobile) ═══════════════════ */

@media (max-width: 900px), (orientation: portrait) {
  .live-wrap {
    flex-direction: column;
    min-height: unset;
  }
  .live-map-container {
    flex: 0 0 auto;
    height: 50vh;
  }
  .map-pane { min-height: unset; }
  .live-info-panel {
    flex: 1;
    padding: 24px 20px;
    overflow-y: auto;
  }
  body.kiosk-mode .live-map-container { flex: 0 0 50vh; }
}

/* — Phase headline transitions ————————————————————————— */
.live-headline, .live-subhead, .live-counter-label {
  transition: opacity 0.5s ease;
}

/* — Telegram Ticker ————————————————————————————————————— */
.live-telegram-ticker {
  display: none;
  flex-direction: column;
  margin: 24px 0 8px;
  background: rgba(10, 14, 31, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  padding: 14px 20px 16px;
  font-family: 'Courier New', 'Courier', monospace;
  gap: 6px;
}
.live-telegram-ticker.is-visible {
  display: flex;
}
.ticker-label {
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.ticker-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.ticker-prefix {
  color: var(--gold, #C9A84C);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.ticker-content {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}
.ticker-cursor {
  width: 8px;
  height: 17px;
  background: var(--gold, #C9A84C);
  animation: ticker-blink 0.6s step-end infinite;
  flex-shrink: 0;
  align-self: center;
}
@keyframes ticker-blink {
  50% { opacity: 0; }
}


/* ═══ REPLAY MODE SYSTEM ═══════════════════════════════ */

/* — Replay Chooser (mode selection overlay) ————————————— */
.replay-chooser {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
[data-phase="post-event"]:not([data-replay-mode]) .replay-chooser {
  display: flex;
}

.replay-chooser-intro {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--off-white);
  line-height: 1.55;
  margin-bottom: 8px;
}
.replay-chooser-intro em {
  color: var(--gold);
  font-style: italic;
}

.replay-mode-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.replay-mode-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}
.replay-mode-card:hover,
.replay-mode-card:focus-visible {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.35);
  transform: translateX(4px);
}
.replay-mode-card:active {
  transform: translateX(2px);
  background: rgba(201,168,76,0.12);
}

.replay-mode-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  font-size: 20px;
  line-height: 1;
}

.replay-mode-text {
  flex: 1;
  min-width: 0;
}
.replay-mode-title {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--off-white);
  margin-bottom: 3px;
}
.replay-mode-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(11px, 0.85vw, 13px);
  color: var(--body-muted);
  line-height: 1.4;
}
.replay-mode-duration {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  padding: 4px 12px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 999px;
}


/* — Replay Controls Bar ————————————————————————————————— */
.replay-controls {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
  flex-wrap: wrap;
}
[data-replay-mode] .replay-controls {
  display: flex;
}

.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  background: rgba(255,255,255,0.04);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}
.replay-btn:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
}
.replay-btn .btn-icon {
  font-size: 14px;
}

.speed-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.replay-info {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--body-muted);
  font-style: italic;
  flex: 1;
  text-align: right;
}


/* — Explore Slider ————————————————————————————————————— */
.explore-slider-wrap {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 8px;
  width: 100%;
}
[data-replay-mode="explore"] .explore-slider-wrap {
  display: flex;
}

.explore-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
  outline: none;
  cursor: pointer;
}
.explore-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
  box-shadow: 0 0 10px rgba(201,168,76,0.4);
  cursor: grab;
  transition: box-shadow 0.2s ease;
}
.explore-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  box-shadow: 0 0 18px rgba(201,168,76,0.7);
}
.explore-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
  box-shadow: 0 0 10px rgba(201,168,76,0.4);
  cursor: grab;
}

.explore-time-display {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--body-muted);
}
.explore-current-time {
  color: var(--gold);
}


/* — Replay Mode State Adjustments ——————————————————————— */

/* Show trudy dot in all replay modes */
[data-replay-mode="relive"] .trudy-dot,
[data-replay-mode="relive"] .trudy-pulse-ring,
[data-replay-mode="explore"] .trudy-dot,
[data-replay-mode="realtime"] .trudy-dot,
[data-replay-mode="realtime"] .trudy-pulse-ring {
  visibility: visible;
}

/* In explore mode, no pulse animation */
[data-replay-mode="explore"] .trudy-pulse-ring {
  visibility: hidden;
}

/* Show all timeline items in explore mode */
[data-replay-mode="explore"] .tl-item {
  display: flex;
  opacity: 0.35;
}
[data-replay-mode="explore"] .tl-item.is-reached {
  opacity: 1;
}

/* Post-event phase label hidden in replay */
[data-replay-mode] .map-phase-badge { display: inline-flex; }
[data-replay-mode] .map-phase-indicator { background: var(--gold); }

/* Hide chooser when mode is active */
[data-replay-mode] .replay-chooser {
  display: none !important;
}

/* Hide default post-event headline/subhead when chooser is visible */
[data-phase="post-event"]:not([data-replay-mode]) .live-counter-wrap,
[data-phase="post-event"]:not([data-replay-mode]) .live-rule,
[data-phase="post-event"]:not([data-replay-mode]) .live-timeline {
  display: none;
}


/* ═══ RESPONSIVE — Replay additions ════════════════════ */

@media (max-width: 900px), (orientation: portrait) {
  .replay-mode-card {
    padding: 14px 16px;
    gap: 14px;
  }
  .replay-mode-icon {
    width: 38px; height: 38px;
    font-size: 17px;
  }
  .replay-mode-duration {
    display: none;
  }
  .replay-controls {
    gap: 8px;
  }
  .replay-info {
    text-align: left;
    flex-basis: 100%;
  }
}


/* ═══ ARRIVAL CEREMONY ═════════════════════════════════ */

/* — Fireworks Container ————————————————————————————————— */
.arrival-fireworks {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1100;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.arrival-fireworks.is-active { opacity: 1; }

.fw-particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  opacity: 0;
}
.arrival-fireworks.is-active .fw-particle {
  animation: fw-burst 2.2s ease-out forwards;
}

@keyframes fw-burst {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: var(--fw-end) scale(0.2); }
}

/* — Fullscreen Takeover Overlay —————————————————————————— */
.arrival-takeover {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(10,14,31,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
.arrival-takeover.is-active {
  opacity: 1;
  pointer-events: auto;
}
.arrival-takeover.is-fading {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.takeover-time {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(201,168,76,0.3);
  opacity: 0;
  transform: scale(0.8);
  animation: takeover-number 1s ease-out 0.5s forwards;
}
.takeover-time .takeover-unit {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(201,168,76,0.6);
  margin: 0 0.25em;
}

.takeover-text {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 3.5vw, 42px);
  color: var(--off-white);
  margin-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: takeover-text-in 0.8s ease-out 1.2s forwards;
}

@keyframes takeover-number {
  to { opacity: 1; transform: scale(1); }
}
@keyframes takeover-text-in {
  to { opacity: 1; transform: translateY(0); }
}


/* — Breaking News Ticker ——————————————————————————————— */
.arrival-news {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10001;
  background: var(--gold);
  color: var(--navy);
  padding: 0;
  overflow: hidden;
  height: 0;
  transition: height 0.5s ease;
}
.arrival-news.is-active {
  height: 48px;
}
.arrival-news.is-fading {
  height: 0;
  transition: height 0.8s ease 0.3s;
}

.news-flash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  background: var(--navy);
  color: var(--gold);
  flex-shrink: 0;
  height: 100%;
}

.news-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}

.news-content {
  display: inline-block;
  font-family: 'Noto Serif Display', Georgia, serif;
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-left: 100%;
  animation: news-scroll 18s linear infinite;
}

@keyframes news-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.news-separator {
  display: inline-block;
  margin: 0 32px;
  opacity: 0.5;
}


/* — Historical Quote ——————————————————————————————————— */
.arrival-quote {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10002;
  background: rgba(10,14,31,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.arrival-quote.is-active {
  opacity: 1;
  pointer-events: auto;
}
.arrival-quote.is-fading {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.quote-text {
  font-family: 'Noto Serif Display', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 3.2vw, 38px);
  color: var(--gold);
  line-height: 1.55;
  text-align: center;
  max-width: 700px;
  min-height: 3em;
}

.quote-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: quote-blink 0.7s step-end infinite;
}

.quote-attribution {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(12px, 1.2vw, 16px);
  color: var(--body-muted);
  margin-top: 32px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.quote-attribution.is-visible {
  opacity: 1;
}

@keyframes quote-blink {
  50% { opacity: 0; }
}


/* — Golden Map Flash ——————————————————————————————————— */
.map-golden-flash {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: radial-gradient(circle at var(--flash-x, 70%) var(--flash-y, 15%),
    rgba(201,168,76,0.5) 0%,
    rgba(201,168,76,0.15) 30%,
    transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.map-golden-flash.is-active {
  opacity: 1;
  animation: golden-pulse 2s ease-out forwards;
}

@keyframes golden-pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.6; }
  100% { opacity: 0; }
}
