/* AYC FM Radio: Sunset Bollywood. Deep maroon evening, saffron for anything live or tuned in, hot pink only for
   the one action that matters (Listen live). Yatra One for names, Mukta (Latin + Devanagari) for everything else.
   Layout: player with the "on air" column beside it; below, the 24-show band, requests and recent songs.
   Single dark theme on purpose: the video player and a radio at night both sit best on a dark ground. */
:root {
  --night: #2a0f1f;      /* page: deep maroon */
  --dusk: #3d1530;       /* panels */
  --seam: #5c2647;       /* lines and borders */
  --paper: #fff4e6;      /* main text: cream */
  --haze: #e0bccb;       /* secondary text */
  --marigold: #ff9f1c;   /* saffron: live, tuned, clock */
  --rani: #ff4f8b;       /* hot pink: the Listen live button */
  --ink-on-rani: #2a0f1f;
  --display: "Yatra One", "Mukta", "Nirmala UI", system-ui, sans-serif;
  --body: "Mukta", "Nirmala UI", "Segoe UI", system-ui, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 400 17px/1.55 var(--body);
}
a { color: var(--marigold); text-underline-offset: 2px; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- masthead ---------- */
.masthead {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  max-width: 1280px; margin: 0 auto;
  padding: 18px var(--gutter-r) 14px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
h1 {
  margin: 0; font: 400 clamp(28px, 4.2vw, 40px)/1.05 var(--display);
  color: var(--paper); letter-spacing: .01em;
}
.byline { margin: 4px 0 0; color: var(--haze); font-size: 15px; overflow-wrap: anywhere; }
.clock {
  font: 500 clamp(22px, 3vw, 30px)/1 var(--body); color: var(--marigold);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* on-air lamp: dim when off, marigold glow when the show is playing */
.light { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--seam); }
.light.live { background: var(--marigold); box-shadow: 0 0 0 4px rgba(255, 159, 28, .18), 0 0 18px rgba(255, 159, 28, .55); }
@media (prefers-reduced-motion: no-preference) {
  .light.live { animation: lamp 2.4s ease-in-out infinite; }
  @keyframes lamp { 50% { box-shadow: 0 0 0 7px rgba(255, 159, 28, .08), 0 0 24px rgba(255, 159, 28, .35); } }
}

main { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter-r) 24px var(--gutter); }

/* ---------- stage: player + on-air column ---------- */
.stage-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 24px; align-items: start;
}
.stage { min-width: 0; }

/* YouTube rules: the player must stay visible and at least 200x200 px. Nothing is drawn over it. */
.player-wrap {
  position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; min-height: 220px;
  background: #000; border-radius: 14px; overflow: hidden; border: 1px solid var(--seam);
}
#yt, .player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px; color: var(--haze); font-size: 18px;
  background:
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(224, 188, 203, .07) 23px 24px),
    radial-gradient(120% 90% at 50% 120%, #6b1d3f 0%, #000 70%);
}
.placeholder b { color: var(--paper); }

.controls { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
button {
  font: 500 16px/1 var(--body); color: var(--paper);
  background: var(--dusk); border: 1px solid var(--seam); border-radius: 999px;
  padding: 12px 18px; min-height: 44px; cursor: pointer;
}
button:hover:not(:disabled) { border-color: var(--haze); }
button:disabled { opacity: .45; cursor: default; }
button.primary {
  background: var(--rani); border-color: var(--rani); color: var(--ink-on-rani);
  font-weight: 700; font-size: 18px; padding: 14px 26px;
}
button.primary:hover:not(:disabled) { background: #ff6d9f; border-color: #ff6d9f; }
/* The unmute button sits BELOW the player (YouTube forbids anything drawn over the player or its controls). */
.unmute { background: var(--marigold); border-color: var(--marigold); color: var(--ink-on-rani); font-weight: 700; }
.note { margin: 10px 2px 0; color: var(--haze); font-size: 14px; max-width: 70ch; }

/* ---------- panels ---------- */
.panel {
  background: var(--dusk); border: 1px solid var(--seam); border-radius: 10px;
  padding: 16px 18px; min-width: 0;
}
.onair { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kicker {
  margin: 0 0 6px; font: 500 14px/1.3 var(--body); color: var(--haze); letter-spacing: .01em;
}
.kicker .fine { font-size: 13px; }
.label { font-size: 14px; color: var(--haze); }
.label.talking { color: var(--marigold); }
.fine { margin: 6px 0 0; color: var(--haze); font-size: 14px; }

.showcard { border-color: rgba(255, 159, 28, .45); }
.show-name { margin: 0; font: 400 28px/1.15 var(--display); color: var(--paper); text-wrap: balance; }
.show-rj { margin: 4px 0 0; font-weight: 500; }
.tagline { margin: 8px 0 0; color: var(--marigold); font-size: 17px; }
.next-up { color: var(--paper); }

.caption { margin: 0; font-size: 18px; line-height: 1.6; min-height: 84px; white-space: pre-line; color: var(--paper); }
.song { margin: 0 0 12px; font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.song:last-child { margin-bottom: 0; }
.dim { color: var(--haze); font-weight: 400; }
.status { margin: 0 4px; color: var(--haze); font-size: 14px; }

/* ---------- lower half ---------- */
.lower-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start;
}
.lower-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
ul.plain { list-style: none; margin: 0; padding: 0; }

/* The 24 shows as an FM tuning band: hour ticks on a rail, the show on air "tuned in" with a marigold needle. */
.band-panel { padding-bottom: 10px; }
ul.schedule { position: relative; max-height: 560px; overflow: auto; padding-left: 22px; scrollbar-color: var(--seam) transparent; }
ul.schedule::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--seam);
}
ul.schedule li {
  position: relative; display: block; padding: 7px 10px 7px 12px; border-radius: 8px; color: var(--haze);
  font-size: 16px;
}
ul.schedule li::before {
  content: ""; position: absolute; left: -19px; top: 50%; width: 10px; height: 2px; background: var(--seam);
}
ul.schedule li b {
  display: inline-block; min-width: 3.4em; color: var(--paper); font-weight: 500; font-variant-numeric: tabular-nums;
}
ul.schedule li .muted { color: var(--haze); }
ul.schedule li.now { background: rgba(255, 159, 28, .12); color: var(--paper); font-weight: 500; }
ul.schedule li.now b { color: var(--marigold); }
ul.schedule li.now::before { left: -22px; width: 20px; height: 4px; margin-top: -1px; background: var(--marigold); border-radius: 2px; }
ul.schedule li.now::after {
  content: "On air"; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  background: var(--marigold); color: var(--ink-on-rani); font-size: 12px; font-weight: 700; vertical-align: 1px;
}

ul.recent li { padding: 6px 0; border-top: 1px solid var(--seam); font-size: 15px; overflow-wrap: anywhere; }
ul.recent li:first-child { border-top: 0; }
ul.recent li.muted { color: var(--haze); }

/* requests */
.requests {
  position: relative; border: 2px solid transparent; scroll-margin-top: 16px;
  background: linear-gradient(var(--dusk), var(--dusk)) padding-box,
              linear-gradient(135deg, var(--marigold), var(--rani) 55%, #b49bff) border-box;
  box-shadow: 0 10px 34px rgba(255, 79, 139, .18);
}
.req-title { margin: 0 0 4px; font: 400 clamp(22px, 2.6vw, 26px)/1.2 var(--display); color: var(--paper); }
.req-lead { margin: 0 0 8px; color: var(--paper); font-size: 15.5px; }
.req-left { display: inline-block; margin: 0 0 4px; padding: 4px 10px; border-radius: 8px; font-size: 13px;
  background: rgba(255, 159, 28, .14); color: var(--marigold); }
.req-left:empty { display: none; }
.requests.flash { animation: req-flash 1.4s ease-out; }
@keyframes req-flash { 0%, 30% { box-shadow: 0 0 0 6px rgba(255, 159, 28, .55), 0 10px 34px rgba(255, 79, 139, .3); } }
@media (prefers-reduced-motion: reduce) { .requests.flash { animation: none; } }
.field-label { display: block; margin: 12px 0 4px; font-size: 14px; color: var(--paper); }
#req-box input, #req-box textarea {
  width: 100%; padding: 10px 12px; background: var(--night); color: var(--paper);
  border: 1px solid var(--seam); border-radius: 8px; font: inherit; font-size: 16px;
}
#req-box input::placeholder, #req-box textarea::placeholder { color: #b48aa0; }
#req-box textarea { resize: vertical; min-height: 84px; }
#req-send { margin-top: 12px; background: var(--paper); color: var(--night); border-color: var(--paper); font-weight: 700; }
#req-send:hover:not(:disabled) { background: #fff; }

/* ---------- about + FAQ ---------- */
.about { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--seam); max-width: 72ch; }
.about h2 { margin: 0 0 10px; font: 400 26px/1.2 var(--display); color: var(--paper); }
.about h3 { margin: 26px 0 8px; font-size: 19px; font-weight: 700; }
.about p { margin: 0 0 12px; color: var(--paper); }
.faq { margin: 0; }
.faq dt { margin-top: 14px; font-weight: 700; }
.faq dd { margin: 4px 0 0; color: var(--haze); }

/* ---------- footer ---------- */
.site-foot {
  max-width: 1280px; margin: 0 auto; padding: 18px var(--gutter-r) 36px var(--gutter);
  border-top: 1px solid var(--seam); color: var(--haze); font-size: 14px;
}
.site-foot p { margin: 6px 0; max-width: 90ch; line-height: 1.55; }
.copyright { margin-top: 14px !important; }
.noscript { margin: 16px var(--gutter); padding: 12px 16px; background: var(--dusk); border: 1px solid var(--marigold); border-radius: 10px; }

/* AdSense places (only shown when ads are on). Kept apart from the YouTube player. */
.ad-slot { margin-top: 18px; min-height: 90px; overflow: hidden; }
.ad-slot .label { margin-bottom: 6px; font-size: 13px; }
.lower-side .ad-slot { margin-top: 0; }

/* ---------- narrow screens ---------- */
@media (max-width: 960px) {
  .stage-grid, .lower-grid { grid-template-columns: minmax(0, 1fr); }
  ul.schedule { max-height: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .masthead { align-items: flex-start; }
  .controls button.primary { flex: 1 1 100%; }
  .show-name { font-size: 24px; }
  .about h2 { font-size: 23px; }
}

/* ---------- artwork and motion ----------
   One orchestrated moment on load (the tuning needle sweeps to the show on air), a live equalizer only while sound
   plays, and a slow night sky behind everything. All of it stops for people who ask for reduced motion, and none
   of it is ever drawn over the YouTube player. */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 244, 230, .55), transparent 60%),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 244, 230, .4), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 32%, rgba(255, 159, 28, .45), transparent 60%),
    radial-gradient(1px 1px at 64% 12%, rgba(255, 244, 230, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 58%, rgba(255, 244, 230, .4), transparent 60%),
    radial-gradient(1px 1px at 90% 26%, rgba(255, 79, 139, .45), transparent 60%),
    radial-gradient(1px 1px at 8% 88%, rgba(255, 244, 230, .35), transparent 60%),
    radial-gradient(1.5px 1.5px at 56% 84%, rgba(255, 244, 230, .3), transparent 60%),
    radial-gradient(120% 70% at 50% -10%, #5a1a3c 0%, transparent 60%), radial-gradient(90% 60% at 100% 110%, rgba(255, 159, 28, .14) 0%, transparent 60%);
}

.show-art {
  display: block; width: calc(100% + 36px); max-width: none; height: auto; aspect-ratio: 16 / 10;
  margin: -16px -18px 14px; border-radius: 10px 10px 0 0; object-fit: cover; background: var(--night);
}

.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; margin-left: 6px; vertical-align: -1px; }
.eq i { display: block; width: 3px; height: 3px; border-radius: 1px; background: var(--seam); }
body:has(#onair-light.live) .eq i { background: var(--marigold); }

@media (prefers-reduced-motion: no-preference) {
  .sky { animation: sky-drift 60s ease-in-out infinite alternate; }
  @keyframes sky-drift { to { transform: translateY(-14px); opacity: .85; } }

  body:has(#onair-light.live) .eq i { animation: eq 1.1s ease-in-out infinite; }
  .eq i:nth-child(2) { animation-delay: -.4s !important; }
  .eq i:nth-child(3) { animation-delay: -.8s !important; }
  .eq i:nth-child(4) { animation-delay: -.2s !important; }
  .eq i:nth-child(5) { animation-delay: -.6s !important; }
  @keyframes eq { 0%, 100% { height: 3px; } 50% { height: 12px; } }

  ul.schedule li.now::before { animation: needle 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes needle { from { width: 0; opacity: 0; } to { width: 20px; opacity: 1; } }
  ul.schedule li.now { animation: tuned 1.4s ease-out both; }
  @keyframes tuned { from { background: transparent; } to { background: rgba(255, 159, 28, .12); } }

  .show-art { animation: art-in .7s ease-out both; }
  @keyframes art-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
}

/* ---------- Sunset extras: ticker, vinyl, RJ waveform, floating notes ---------- */
.ticker {
  overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--seam);
  background: linear-gradient(90deg, rgba(255, 159, 28, .16), rgba(255, 79, 139, .16));
  font-size: 15px; color: var(--paper);
}
.ticker-track { display: inline-block; padding: 7px 0; padding-left: 100%; }
.ticker-track span { margin-right: 48px; }
.ticker-track b { color: var(--marigold); font-weight: 700; margin-right: 6px; }

.tracks { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; align-items: center; }
.tracks > :not(.vinyl) { grid-column: 1; }
.vinyl {
  grid-column: 2; grid-row: 1 / span 4; position: relative; width: 92px; height: 92px; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 30%, rgba(255, 255, 255, .05) 31% 32%, transparent 33% 42%,
                    rgba(255, 255, 255, .05) 43% 44%, transparent 45% 56%, rgba(255, 255, 255, .05) 57% 58%, transparent 59%),
    #120810;
  box-shadow: 0 0 0 2px var(--seam), 0 8px 24px rgba(0, 0, 0, .35);
}
.vinyl img {
  position: absolute; inset: 28%; width: 44%; height: 44%; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--marigold); background: var(--rani);
}
.vinyl::after {        /* the spindle */
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px;
  border-radius: 50%; background: var(--night);
}

.wave { display: flex; gap: 3px; align-items: center; height: 22px; margin-top: 10px; }
.wave i { flex: 1; max-width: 6px; height: 3px; border-radius: 2px; background: var(--seam); }
.voice:has(.label.talking) .wave i { background: var(--rani); }

.notes { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.notes span {
  position: absolute; bottom: -40px; font-size: 22px; color: var(--marigold); opacity: 0;
}
.notes span:nth-child(1) { left: 6%; }  .notes span:nth-child(2) { left: 22%; font-size: 16px; color: var(--rani); }
.notes span:nth-child(3) { left: 41%; } .notes span:nth-child(4) { left: 63%; font-size: 18px; color: var(--paper); }
.notes span:nth-child(5) { left: 81%; color: var(--rani); } .notes span:nth-child(6) { left: 93%; font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 38s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
  @keyframes ticker { to { transform: translateX(-100%); } }

  body.song-playing .vinyl { animation: spin 3.2s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .voice:has(.label.talking) .wave i { animation: talk .9s ease-in-out infinite; }
  .wave i:nth-child(odd) { animation-duration: 1.15s !important; }
  .wave i:nth-child(3n) { animation-delay: -.3s; }
  .wave i:nth-child(4n) { animation-delay: -.55s; }
  .wave i:nth-child(5n) { animation-delay: -.8s; }
  @keyframes talk { 0%, 100% { height: 3px; } 50% { height: 20px; } }

  body.song-playing .notes span { animation: float 14s linear infinite; }
  .notes span:nth-child(2) { animation-delay: -3s !important; animation-duration: 17s !important; }
  .notes span:nth-child(3) { animation-delay: -7s !important; }
  .notes span:nth-child(4) { animation-delay: -10s !important; animation-duration: 19s !important; }
  .notes span:nth-child(5) { animation-delay: -5s !important; animation-duration: 16s !important; }
  .notes span:nth-child(6) { animation-delay: -12s !important; }
  @keyframes float {
    0% { transform: translate(0, 0) rotate(0); opacity: 0; }
    10% { opacity: .35; }
    50% { transform: translate(24px, -50vh) rotate(12deg); }
    90% { opacity: .25; }
    100% { transform: translate(-12px, -105vh) rotate(-8deg); opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { padding-left: 16px; white-space: normal; }
}
@media (max-width: 560px) {
  .vinyl { width: 72px; height: 72px; }
}

/* While live the main button is disabled: show it as a clear outlined "● Live" badge, not a faded button. */
button.primary:disabled { opacity: 1; background: rgba(255, 79, 139, .12); color: var(--rani); border-color: var(--rani); }

/* ---------- Dancers: fixed strip at the bottom of the screen ----------
   Bottom-right on wide screens (beside the player, over the side column), centred on phones. It slides away
   whenever the YouTube player or an ad would be underneath (web/dancer/main.js), and taps pass through it. */
:root { --dancer-h: 210px; }
.mast-right { display: flex; align-items: center; gap: 12px; }
.dance-top { position: relative; display: flex; align-items: center; gap: 6px; }
.dance-toggle { min-height: 38px; padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.dance-toggle[aria-pressed="true"] { border-color: var(--marigold); color: var(--marigold); }
.dance-settings { position: relative; }
.dance-settings summary {
  list-style: none; cursor: pointer; width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--seam); border-radius: 999px; background: var(--dusk); color: var(--paper); font-size: 16px;
}
.dance-settings summary::-webkit-details-marker { display: none; }
.dance-settings summary:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }
.dance-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(320px, calc(100vw - 32px));
  padding: 12px 14px; background: var(--dusk); border: 1px solid var(--seam); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45); font-size: 14px;
}
.dance-pop .dance-info { margin: 0 0 6px; }
.dance-pop fieldset { border: 0; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dance-pop legend { width: 100%; margin-bottom: 4px; color: var(--haze); font-size: 13px; }

.dance-dock {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + var(--dance-lift, 0px));
  height: calc(var(--dancer-h) + 8px); pointer-events: none; overflow: hidden;
  transition: transform .35s ease, opacity .35s ease;
}
.dance-walk { position: absolute; left: 0; bottom: 0; height: 100%; will-change: transform; }
.dance-dock .dance-stage {
  position: relative; display: flex; justify-content: center; align-items: flex-end; height: 100%;
  background: radial-gradient(60% 34% at 50% 100%, rgba(255, 159, 28, .24), transparent 75%);
}
.dance-dock.off, .dance-dock.dodge, .dance-dock.resting { transform: translateY(110%); opacity: 0; }
body.has-dancers { padding-bottom: calc(var(--dancer-h) * .55); }
.dancer { height: var(--dancer-h); width: auto; overflow: visible; flex: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.dancer.in-couple { margin: 0 2px; }
.dancer .m { opacity: 0; transition: opacity .22s ease; }
.dancer .m.on { opacity: 1; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--seam); border-radius: 999px; color: var(--paper);
  font-size: 14px; background: var(--night);
}
.chip input:checked + span { background: rgba(255, 159, 28, .18); border-color: var(--marigold); color: var(--marigold); }
.chip input:focus-visible + span { outline: 2px solid var(--marigold); outline-offset: 2px; }
.dance-select select {
  font: inherit; font-size: 14px; color: var(--paper); background: var(--night); border: 1px solid var(--seam);
  border-radius: 8px; padding: 6px 10px;
}
.dance-select select:disabled { opacity: .5; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .dancer { animation: dancer-in .5s ease-out both; }
  .dancer.leaving { animation: dancer-out .35s ease-in both; }
  @keyframes dancer-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes dancer-out { to { opacity: 0; transform: translateY(10px) scale(.95); } }
}
@media (max-width: 560px) {
    .dance-toggle .dt-label { display: none; }       /* the 💃 icon alone on phones; the button still has its name */
  .dance-toggle { padding: 8px 11px; }
  .mast-right { gap: 8px; }
}

/* When Google has no ad for a slot it marks it data-ad-status="unfilled": hide the empty "Advertisement" box
   instead of leaving a gap (Google's own recommended way). */
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }

/* ---------- share buttons, poll, dedication wall ---------- */
.share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.share a, .share button {
  display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; font: 500 13px/1 var(--body);
  border: 1px solid var(--seam); border-radius: 999px; background: var(--night); color: var(--paper); text-decoration: none;
}
.share a:hover, .share button:hover { border-color: var(--marigold); color: var(--marigold); }
.poll-q { margin: 0 0 10px; font-weight: 700; font-size: 17px; }
.poll-options { display: grid; gap: 8px; }
.poll-choice { width: 100%; text-align: left; border-radius: 10px; }
.poll-result { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px;
  border: 1px solid var(--seam); border-radius: 10px; overflow: hidden; }
.poll-result.mine { border-color: var(--marigold); }
.poll-bar { position: absolute; inset: 0 auto 0 0; background: rgba(255, 159, 28, .2); }
.poll-label, .poll-pct { position: relative; }
.poll-pct { color: var(--marigold); font-variant-numeric: tabular-nums; }
ul.wall li { padding: 8px 0; border-top: 1px solid var(--seam); font-size: 15px; overflow-wrap: anywhere; }
ul.wall li:first-child { border-top: 0; }
ul.schedule li a { color: inherit; text-decoration: none; }
ul.schedule li a:hover { color: var(--marigold); text-decoration: underline; }

/* ---------- show and RJ pages ---------- */
.site-name { margin: 0; font: 400 clamp(26px, 4vw, 36px)/1.05 var(--display); }
.site-name a { color: var(--paper); text-decoration: none; }
.subnav { display: flex; gap: 14px; font-weight: 500; }
.subnav a { color: var(--paper); white-space: nowrap; }
.subpage-main { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter-r) 32px var(--gutter); display: grid; gap: 18px; }
.page-head h1 { margin: 6px 0 6px; font: 400 clamp(30px, 5vw, 46px)/1.1 var(--display); text-wrap: balance; }
.lede { font-size: 18px; max-width: 68ch; }
.tile-time { margin: 0; color: var(--marigold); font-weight: 700; font-variant-numeric: tabular-nums; }
.show-hero { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.button-link {
  display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--rani); color: var(--ink-on-rani);
  font-weight: 700; text-decoration: none;
}
.button-link:hover { background: #ff6d9f; color: var(--ink-on-rani); }
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.show-tile { background: var(--dusk); border: 1px solid var(--seam); border-radius: 12px; overflow: hidden; }
.show-tile img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.show-tile > div { padding: 12px 14px 14px; }
.show-tile h2 { margin: 2px 0 2px; font: 400 22px/1.2 var(--display); }
.show-tile h2 a { color: var(--paper); text-decoration: none; }
.show-tile .tagline { margin: 6px 0 0; }
body.subpage .ad-slot { margin-top: 0; }

/* Balanced columns: the RJ's words sit under the player; recently played and dedications under the schedule. */
.stage-voice { margin-top: 16px; }
.stage-voice .caption { min-height: 64px; }
.lower-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* The two lower columns always end level: the schedule takes whatever height the right column has (and scrolls
   inside if it needs more), so changing lists never leave an empty gap. */
@media (min-width: 961px) {
  .lower-grid { align-items: stretch; }
  .band-panel { flex: 1 1 0; min-height: 440px; display: flex; flex-direction: column; }
  .band-panel ul.schedule { flex: 1 1 0; min-height: 0; max-height: none; }
}

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link {
  position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 0 0 10px 10px; background: var(--marigold); color: var(--ink-on-rani); font-weight: 700;
}
.skip-link:focus { top: 0; }
.stage:focus { outline: none; }
.home-nav a { color: var(--paper); font-weight: 500; white-space: nowrap; }
@media (max-width: 560px) { .home-nav { display: none; } }   /* phones: the link is in the About section */

/* Drag and drop: the dancers themselves can be grabbed (the rest of the strip still lets taps through). */
.dance-dock .dancer { pointer-events: auto; cursor: grab; touch-action: none; }
.dance-dock.dragging .dancer { cursor: grabbing; }
.dance-dock.dragging { transition: none; }

/* ---------- Dance game: arrows slide to the ring on the beat ---------- */
.dance-game-btn { min-height: 38px; padding: 8px 14px; font-size: 14px; white-space: nowrap; }
.dance-game-btn[aria-pressed="true"] { border-color: var(--marigold); color: var(--marigold); }
.dance-game {
  position: fixed; z-index: 35; left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + var(--dance-lift, 0px) + var(--dancer-h) + 12px);
  width: min(320px, calc(100vw - 32px)); padding: 10px 12px 12px; border: 1px solid var(--seam); border-radius: 14px;
  background: var(--dusk); box-shadow: 0 14px 36px rgba(0, 0, 0, .5); transition: transform .3s ease, opacity .3s ease;
}
.dance-game.away { transform: translateY(calc(100% + var(--dancer-h) + 40px)); opacity: 0; pointer-events: none; }
.dg-head { display: flex; align-items: baseline; gap: 10px; }
.dg-score { margin: 0; font-weight: 700; font-size: 15px; flex: 1; }
.dg-num { font-size: 20px; color: var(--marigold); font-variant-numeric: tabular-nums; }
.dg-combo { font-weight: 500; color: var(--paper); font-size: 13px; }
.dg-best { margin: 0; }
.dg-close { min-height: 30px; width: 30px; padding: 0; border-radius: 999px; font-size: 14px; }
.dg-track {
  position: relative; height: 54px; margin: 8px 0 6px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 159, 28, .16), rgba(255, 79, 139, .06) 60%, transparent), var(--night);
}
.dg-ring {
  position: absolute; left: 14px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%;
  border: 3px solid var(--marigold); box-shadow: 0 0 0 4px rgba(255, 159, 28, .15);
}
.dg-ring.pulse { animation: dg-pulse .3s ease-out; }
@keyframes dg-pulse { from { transform: scale(1.25); box-shadow: 0 0 0 10px rgba(255, 159, 28, .35); } }
.dg-note {
  position: absolute; left: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; display: grid; place-items: center;
  border-radius: 10px; font-size: 22px; font-weight: 700; color: #1a0f1f; will-change: transform;
}
.dg-left { background: #ff6fb5; } .dg-up { background: #c8ff3d; } .dg-down { background: #6fd3ff; } .dg-right { background: #ffc24a; }
.dg-note.got { opacity: 0; transform: scale(1.6) !important; transition: opacity .25s, transform .25s; }
.dg-note.missed { opacity: .25; }
.dg-flash { position: absolute; right: 10px; top: 50%; margin: -10px 0 0; font-weight: 700; font-size: 15px; opacity: 0;
  transition: opacity .15s; pointer-events: none; }
.dg-flash.show { opacity: 1; }
.dg-flash.perfect { color: #c8ff3d; } .dg-flash.great { color: var(--marigold); } .dg-flash.good { color: var(--paper); }
.dg-flash.miss { color: #ff8a8a; }
.dg-status { margin: 0 0 8px; min-height: 2.6em; }
.dg-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dg-key { min-height: 48px; font-size: 22px; border-radius: 12px; padding: 0; touch-action: manipulation; }
.dg-key.hit { animation: dg-key .18s ease-out; }
@keyframes dg-key { from { transform: scale(.9); background: rgba(255, 159, 28, .3); } }
@media (min-width: 961px) {     /* wide screens: top right, over the side column, whatever the dancers' size */
  .dance-game { left: auto; right: max(16px, env(safe-area-inset-right, 0px)); top: 88px; bottom: auto;
    max-height: calc(100vh - 110px) !important; }
  .dance-game.away { transform: translateX(calc(100% + 40px)); }
}
@media (max-width: 560px) {
  .dance-game-btn .dt-label { display: none; }
  .dance-game-btn { padding: 8px 11px; }
}

/* dance game: rounds, timer, winners */
.dg-time { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--paper); }
.dg-time.low { color: #ff8a8a; }
.dg-bar { height: 6px; margin-top: 8px; border-radius: 999px; background: var(--night); overflow: hidden; }
.dg-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--marigold), #ff6fb5); transition: width .2s ease; }
.dg-intro { margin: 0 0 10px; }
.dg-intro[hidden] { display: none; }
.dg-rules { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: var(--paper); }
.dg-result { display: block; margin-bottom: 6px; font-weight: 700; color: var(--marigold); }
.dg-name { display: grid; gap: 4px; margin-bottom: 10px; font-size: 13px; color: var(--haze); }
.dg-name input { font: inherit; font-size: 15px; color: var(--paper); background: var(--night); border: 1px solid var(--seam);
  border-radius: 8px; padding: 8px 10px; }
.dg-start { width: 100%; }
.dg-top { margin-top: 10px; font-size: 14px; }
.dg-top summary { cursor: pointer; color: var(--haze); }
.dg-board { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.dg-board li { display: grid; grid-template-columns: 2em 1fr auto; align-items: center; gap: 6px; padding: 4px 0;
  border-bottom: 1px solid var(--seam); }
.dg-board li:last-child { border-bottom: 0; }
.dg-rank { text-align: center; color: var(--haze); font-variant-numeric: tabular-nums; }
.dg-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dg-pts { font-weight: 700; color: var(--marigold); font-variant-numeric: tabular-nums; }
.dance-game { max-height: calc(100vh - var(--dancer-h) - var(--dance-lift, 0px) - 40px); overflow-y: auto; }
.link-btn { background: none; border: 0; padding: 0; min-height: 0; color: var(--marigold); font: inherit; text-decoration: underline; cursor: pointer; }

/* email verification */
.verify-box { margin: 10px 0; padding: 12px; border: 1px solid var(--seam); border-radius: 10px; background: var(--night); }
.verify-box[hidden], .verify-step[hidden] { display: none; }
.verify-box p { margin: 0 0 8px; }
.verify-title { font-weight: 700; }
.verify-box a { color: var(--marigold); }
.verify-step { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.verify-step input { flex: 1 1 180px; min-width: 0; font: inherit; font-size: 16px; color: var(--paper); background: var(--dusk);
  border: 1px solid var(--seam); border-radius: 8px; padding: 9px 11px; }
.verify-step input:focus-visible { outline: 2px solid var(--marigold); outline-offset: 1px; }
.verify-step button:not(.link-btn) { min-height: 42px; }
.verify-ok { color: #8ff0b0; font-weight: 700; }

/* long text pages (privacy policy) */
.prose { max-width: 72ch; line-height: 1.65; }
.prose h1 { margin: 0 0 4px; font-size: clamp(26px, 4vw, 34px); }
.prose h2 { margin: 26px 0 8px; font-size: 19px; color: var(--marigold); }
.prose p { margin: 0 0 12px; }
.prose a { color: var(--marigold); }

/* ---------- "Dedicate a song" banner (under the player controls) and floating button ---------- */
.ded-banner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 14px 0 4px;
  padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--paper);
  background: linear-gradient(100deg, rgba(255, 79, 139, .26), rgba(255, 159, 28, .2) 70%, rgba(180, 155, 255, .18));
  border: 1px solid rgba(255, 159, 28, .55);
}
.ded-banner[hidden], .ded-fab[hidden] { display: none; }
.ded-banner:hover { border-color: var(--marigold); }
.ded-banner:focus-visible, .ded-fab:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
.ded-icon { font-size: 30px; line-height: 1; }
.ded-text { display: grid; gap: 2px; min-width: 0; }
.ded-text b { font: 400 19px/1.2 var(--display); }
.ded-text span { font-size: 14px; color: var(--haze); }
.ded-go { display: grid; justify-items: center; padding: 9px 16px; border-radius: 999px; background: var(--marigold);
  color: var(--ink-on-rani); font-weight: 700; white-space: nowrap; }
.ded-go small { font-weight: 500; font-size: 12px; }
.ded-go small:empty { display: none; }
@media (max-width: 520px) {
  .ded-banner { grid-template-columns: auto 1fr; }
  .ded-go { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .ded-icon { animation: ded-bob 2.6s ease-in-out infinite; }
  @keyframes ded-bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-4px) rotate(6deg); } }
}
.ded-fab {
  position: fixed; z-index: 36; left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(100deg, var(--rani), var(--marigold)); color: var(--ink-on-rani); font-weight: 700;
  text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); transition: transform .3s ease, opacity .3s ease;
}
.ded-fab.away { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ---------- your dedications (in the request box) ---------- */
.my-reqs[hidden] { display: none; }
.my-reqs { margin: 10px 0 6px; padding-top: 10px; border-top: 1px solid var(--seam); }
.my-reqs-title { margin: 0 0 6px; font: 400 18px/1.2 var(--display); }
.my-reqs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-req { display: grid; gap: 4px; padding: 10px 12px; border-radius: 12px; background: var(--night); border: 1px solid var(--seam); }
.my-req-what { color: var(--haze); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-req-state { font-weight: 700; }
.my-req.queue .my-req-state, .my-req.next .my-req-state { color: var(--marigold); }
.my-req.now { border-color: var(--rani); box-shadow: 0 0 0 1px var(--rani) inset; }
.my-req.now .my-req-state { color: var(--rani); }
.my-req.off { opacity: .7; }
.my-req-share { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid #25d366; color: #b9f5cf; text-decoration: none; font-weight: 600; font-size: 15px; }
.my-req-share:hover { background: rgba(37, 211, 102, .14); color: #fff; }
.my-req-share.big { background: #25d366; color: #0b2e1a; border-color: #25d366; }
.my-req-share.big:hover { background: #3ee57c; color: #0b2e1a; }
.my-req-share:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }

/* ---------- top dancers: today / this week ---------- */
.win-tabs { display: inline-flex; gap: 4px; margin: 0 0 6px; padding: 3px; border-radius: 999px; background: var(--night); border: 1px solid var(--seam); }
.win-tabs button { min-height: 34px; padding: 4px 14px; border: 0; border-radius: 999px; background: none; color: var(--haze); font: inherit; font-size: 14px; cursor: pointer; }
.win-tabs button[aria-selected="true"] { background: var(--marigold); color: var(--ink-on-rani); font-weight: 700; }
.win-tabs button:focus-visible { outline: 2px solid var(--marigold); outline-offset: 2px; }

/* ---------- dance game: share your score ---------- */
.dg-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.dg-share button, .dg-share a { min-height: 40px; padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.dg-share .dg-share-img { background: var(--marigold); color: var(--ink-on-rani); border: 0; }
.dg-share .dg-share-wa { border: 1px solid #25d366; color: #b9f5cf; background: none; }

/* the live one-line summary in "About" (written by the server; quoted by search snippets and AI answers) */
.live-summary { margin: 0 0 10px; color: var(--haze); font-size: 15px; }
