/* The replay map section of the landing page (#experience) in the brochure's look. Loaded after site.css and the dashboard's own styles, whose colour
   tokens make_public_site.py removes so that site.css's palette applies. Only the public site uses this file. */
:root { --accent: #b97f00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --accent: #e9a91c; } }
:root[data-theme="dark"] { --accent: #e9a91c; }


/* page heading band */
.xhero { background: var(--navy) center/cover no-repeat; color: #fff; position: relative; border: 0; border-radius: 0; padding: 0; min-width: 0; }
.xhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 30, .55), rgba(8, 18, 30, .92)); }
.xhero .wrap { position: relative; padding: 46px 20px 34px; }
.xhero h1 { margin: 6px 0 8px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.05; letter-spacing: -.01em; }
.xhero p { margin: 0; max-width: 72ch; color: rgba(255, 255, 255, .88); font-size: 17px; }

/* the replay card */
#experience main#regional { display: block; max-width: none; margin: 0; padding: 0; }
#rgmap { border: 0; border-radius: 18px; box-shadow: var(--shadow); padding: 22px 22px 24px; background: var(--card); }
#rgmap > h2 { font-size: 24px; margin-bottom: 4px; letter-spacing: -.01em; }
#rgmap .note { font-size: 13px; line-height: 1.5; }
#rg-map { border-radius: 14px; }

/* controls: pill-shaped, gold when chosen */
.controls { gap: 10px 12px; margin: 12px 0 16px; }
.controls label { font-size: 13px; font-weight: 600; }
.controls select, .controls input[type="date"] { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; }
.controls label button { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; width: 30px; height: 30px; cursor: pointer; font: inherit; font-size: 16px; line-height: 1; }
.seg { border-radius: 999px; border-color: var(--line); }
.seg button { padding: 6px 14px; font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); font-weight: 700; }
#rg-play { background: var(--gold); color: var(--gold-ink); width: 46px; height: 46px; box-shadow: 0 6px 18px rgba(233, 169, 28, .35); }
#rg-speed { border-radius: 999px; padding: 6px 10px; width: auto; flex: none; max-width: 150px; }
.tl-time { min-width: 108px; } .tl-bars { min-width: 200px; }

/* "Hear it from any spot" and the listening panel */
.spot-cta { border: 2px solid var(--gold); background: color-mix(in srgb, var(--gold) 9%, var(--card)); border-radius: 14px; }
.spot-cta svg { color: var(--gold); }
.spot-badge { background: var(--gold); color: var(--gold-ink); }
.spot-listen { background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 9px 20px; font-weight: 800; box-shadow: 0 6px 18px rgba(233, 169, 28, .3); }
.spot-head h3 { font-size: 17px; }
.spot-stats b { color: var(--coral); }

/* live counts under the map */
.now-wide { border-top: 1px dashed var(--line); }
#rg-now .hero b { color: var(--coral); }

/* sources */
#rgmap details { margin-top: 16px; } #rgmap summary { cursor: pointer; font-weight: 700; }
#rgmap a { color: var(--accent); }
.pubfoot { display: none; }
/* the replay panel's own ".hero" (the big numbers) is not the brochure's hero banner */
#rg-now .hero { min-height: 0; background: none; color: inherit; position: static; align-items: flex-start; }
#rg-now .hero::before { content: none; }

/* the section heading already says it: hide the tab's own title */
#rgmap > h2 { display: none; }
/* the section's own heading keeps the brochure size (the dashboard's h2 rule is scoped to #experience too) */
#experience h2.title { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 6px 0 12px; letter-spacing: -.01em; }

/* phones: the map and the listening panel stay inside the card */
@media (max-width: 900px) {
  #experience .split2 { grid-template-columns: minmax(0, 1fr); }
  #experience .split2 > * { min-width: 0; }
}
@media (max-width: 600px) {
  #rgmap { padding: 14px 12px 16px; border-radius: 14px; }
  #rg-map { height: 62vh; min-height: 380px; }
  #experience .controls label { flex-wrap: wrap; }
  #experience .seg { width: 100%; } #experience .seg button { flex: 1; padding: 6px 4px; font-size: 13px; }
  #rg-timeline { flex-wrap: wrap; gap: 8px 10px; } #rg-timeline .tl-bars { order: 3; flex-basis: 100%; } #rg-speed { margin-left: auto; }
  #rg-now .rows li { grid-template-columns: 96px 1fr 64px; }
}
@media (max-width: 600px) {
  #experience .spot-badge { font-size: 12px; padding: 6px 10px; width: auto; max-width: 70%; white-space: normal; left: auto; right: 8px; transform: none; top: 8px; }
}
