@import url("../fonts/fonts.css?v=12");

/* ============================================================================
   TIME WARP RADIO — site styles
   Palette sampled directly from the station logo.
   ========================================================================== */

:root {
  --ink:        #120b11;
  --ink-2:      #1b1019;
  --plum:       #241522;
  --plum-2:     #321f2d;
  --plum-line:  rgba(255, 240, 250, .10);

  --cream:      #f6f2ce;
  --teal:       #1bdfc5;
  --teal-dim:   #12a894;
  --pink:       #ff2e74;
  --pink-deep:  #e91b6b;
  --orange:     #f47118;

  --text:       #f4ecf3;
  --muted:      #b9a4b4;
  --muted-2:    #8b7686;

  --shell:      1180px;
  --radius:     16px;
  --radius-sm:  10px;
  --dock-h:     78px;

  --shadow:     0 18px 50px rgba(0, 0, 0, .55);
  --glow-teal:  0 0 0 1px rgba(27, 223, 197, .35), 0 0 28px rgba(27, 223, 197, .22);
  --glow-pink:  0 0 0 1px rgba(255, 46, 116, .35), 0 0 28px rgba(255, 46, 116, .22);

  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--dock-h);
}

img, svg, video { display: block; max-width: 100%; height: auto; }

/* The JS hides empty blocks with the `hidden` attribute; without this, any
   component that sets display:flex/grid would out-specify it and show empty. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--teal); text-decoration-color: rgba(27, 223, 197, .4); text-underline-offset: 3px; }
a:hover { color: #55f0da; }

::selection { background: var(--pink); color: #fff; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal); color: #06231f; padding: .7rem 1.1rem;
  font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- type ----------------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: Anton, "Arial Narrow", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .012em;
  line-height: .95;
}

h1 { font-size: clamp(2.6rem, 7.5vw, 5.1rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.42rem); line-height: 1.1; }

/* the logo's signature offset-print look */
.warped {
  color: var(--cream);
  text-shadow:
     3px 0 0 rgba(255, 46, 116, .85),
    -3px 0 0 rgba(27, 223, 197, .85);
}
.tint-teal   { color: var(--teal); }
.tint-pink   { color: var(--pink); }
.tint-orange { color: var(--orange); }
.tint-cream  { color: var(--cream); }

.eyebrow {
  font-family: Inter, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
}

.lede { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.small { font-size: .87rem; color: var(--muted-2); }

/* --- layout --------------------------------------------------------------- */
.shell { width: min(100% - 2.4rem, var(--shell)); margin-inline: auto; }

section { padding: clamp(3.4rem, 8vw, 6rem) 0; position: relative; }
section + section { border-top: 1px solid var(--plum-line); }

.sec-head { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.sec-head .eyebrow { display: block; margin-bottom: .55rem; }
.sec-head p { margin-top: .9rem; }

.grid { display: grid; gap: 1.1rem; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* --- equaliser motif (the stacked bars in the logo) ----------------------- */
.rule {
  height: 14px;
  background:
    repeating-linear-gradient(to bottom,
      var(--teal) 0 2px, transparent 2px 5px);
  opacity: .5;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #05221e;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .86rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 800; font-size: .95rem; letter-spacing: .03em;
  border: 0; border-radius: 999px; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); color: var(--btn-fg); box-shadow: 0 10px 26px rgba(0,0,0,.45); }
.btn:active { transform: translateY(0); }
.btn-pink   { --btn-bg: var(--pink);   --btn-fg: #fff; }
.btn-orange { --btn-bg: var(--orange); --btn-fg: #2a1103; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 1px solid rgba(246, 242, 206, .3);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

/* --- top bar -------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(18, 11, 17, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--plum-line);
}
.topbar-in {
  display: flex; align-items: center; gap: 1.1rem;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-txt { font-family: Anton, sans-serif; text-transform: uppercase; line-height: .9; font-size: 1.06rem; letter-spacing: .02em; color: var(--cream); }
.brand-txt span { display: block; font-family: Inter, sans-serif; font-size: .6rem; font-weight: 800; letter-spacing: .19em; color: var(--teal); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .5rem .78rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--muted);
  text-decoration: none; transition: color .15s, background .15s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--cream); background: rgba(255,255,255,.07); }

.nav-toggle { display: none; background: none; border: 1px solid rgba(246,242,206,.25); border-radius: 10px; padding: .45rem .6rem; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 940px) {
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch;
    gap: 0; padding: .6rem 1.2rem 1.2rem;
    background: rgba(18, 11, 17, .98); border-bottom: 1px solid var(--plum-line);
    transform: translateY(-130%); transition: transform .28s var(--ease);
    max-height: calc(100dvh - 68px); overflow: auto;
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: .85rem .4rem; border-bottom: 1px solid var(--plum-line); border-radius: 0; font-size: 1rem; }
  .nav-toggle { display: block; order: 3; }
  .topbar .btn { order: 2; }
}
@media (max-width: 520px) {
  .brand-txt { display: none; }
}

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(2.4rem, 6vw, 4.4rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  border-top: 0;
}
.hero::before {
  /* neon horizon glow */
  content: ""; position: absolute; inset: -30% -20% auto; height: 120%;
  background:
    radial-gradient(58% 46% at 22% 8%,  rgba(255, 46, 116, .30), transparent 70%),
    radial-gradient(52% 44% at 82% 22%, rgba(27, 223, 197, .22), transparent 72%),
    radial-gradient(40% 36% at 50% 66%, rgba(244, 113, 24, .16), transparent 70%);
  pointer-events: none;
}
.hero::after {
  /* receding synthwave grid */
  content: ""; position: absolute; left: -25%; right: -25%; bottom: -10px; height: 42%;
  background:
    repeating-linear-gradient(to right, rgba(27,223,197,.24) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(27,223,197,.20) 0 1px, transparent 1px 46px);
  transform: perspective(340px) rotateX(66deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000, transparent 78%);
          mask-image: linear-gradient(to top, #000, transparent 78%);
  opacity: .55; pointer-events: none;
}
.hero .shell { position: relative; z-index: 1; }

.hero-grid {
  display: grid; gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.06fr .94fr; }
}

.hero-logo {
  width: min(320px, 62vw);
  filter: drop-shadow(0 18px 40px rgba(255, 46, 116, .28));
  margin-bottom: 1.3rem;
}
@media (min-width: 920px) { .hero-logo { width: 300px; } }

.hero h1 { margin-bottom: 1rem; }
.freqs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 1.6rem;
}
.freq {
  font-family: Anton, sans-serif; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: .04em;
  padding: .42rem 1rem; border-radius: 999px;
  border: 1px solid rgba(27, 223, 197, .45); color: var(--teal);
  background: rgba(27, 223, 197, .07);
}
.freq.market { border-color: rgba(246,242,206,.28); color: var(--cream); background: transparent; font-family: Inter, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .1em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }

/* --- live player card ----------------------------------------------------- */
.playcard {
  background: linear-gradient(168deg, var(--plum-2), var(--plum) 62%);
  border: 1px solid var(--plum-line);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 1.7rem);
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.playcard::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 88% 0%, rgba(255,46,116,.18), transparent 65%);
  pointer-events: none;
}
.playcard > * { position: relative; z-index: 1; }

.live-row { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 46, 116, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 46, 116, .65); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 46, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 116, 0); }
}
.live-label { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--pink); }
.live-meta { margin-left: auto; font-size: .78rem; color: var(--muted-2); }

.np { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; align-items: center; }
@media (min-width: 480px) { .np { grid-template-columns: 122px 1fr; } }

.np-art {
  aspect-ratio: 1; width: 100%; border-radius: 12px; object-fit: cover;
  background: #150e14 center/cover no-repeat;
  border: 1px solid var(--plum-line);
  box-shadow: 0 10px 26px rgba(0,0,0,.5);
}
.np-title {
  font-family: Anton, sans-serif; text-transform: uppercase;
  font-size: clamp(1.15rem, 2.6vw, 1.62rem); line-height: 1.03;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.np-artist { color: var(--teal); font-weight: 700; font-size: .98rem; margin-top: .3rem; overflow-wrap: anywhere; }
.np-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.np-links a {
  font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .68rem; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(246,242,206,.22); color: var(--muted);
}
.np-links a:hover { border-color: var(--teal); color: var(--teal); }

.play-row { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }

.play-btn {
  width: 74px; height: 74px; flex: none; border-radius: 50%; cursor: pointer;
  border: 0; background: var(--teal); color: #05221e;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(27, 223, 197, .14), 0 14px 34px rgba(0,0,0,.5);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.play-btn:hover { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(27, 223, 197, .18), 0 16px 40px rgba(0,0,0,.55); }
.play-btn svg { width: 30px; height: 30px; }
.play-btn .ico-pause { display: none; }
.play-btn[data-state="playing"] { background: var(--pink); color: #fff; box-shadow: 0 0 0 6px rgba(255,46,116,.16), 0 14px 34px rgba(0,0,0,.5); }
.play-btn[data-state="playing"] .ico-play  { display: none; }
.play-btn[data-state="playing"] .ico-pause { display: block; }
.play-btn[data-state="offline"],
.dock-btn[data-state="offline"] {
  background: rgba(246, 242, 206, .16); color: var(--muted-2); box-shadow: none; cursor: default;
}
.playcard[data-offair="true"] .live-dot { background: var(--muted-2); animation: none; }
.playcard[data-offair="true"] .live-label { color: var(--muted-2); }
.play-btn[data-state="loading"] { background: var(--orange); color: #2a1103; }
.play-btn[data-state="loading"] svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.play-copy { min-width: 0; }
.play-copy strong { display: block; font-size: 1rem; }

/* volume */
.vol { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.vol svg { width: 19px; height: 19px; color: var(--muted-2); flex: none; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 108px; height: 4px; border-radius: 4px; background: rgba(246,242,206,.2); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--cream); border: 0; box-shadow: 0 0 8px rgba(0,0,0,.5);
}
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: var(--cream); }
@media (max-width: 520px) { .vol { display: none; } }

/* animated equaliser */
.eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.eq i {
  width: 3px; background: var(--teal); border-radius: 2px; height: 30%;
  animation: bounce 900ms ease-in-out infinite alternate;
}
.eq i:nth-child(2) { animation-delay: 140ms; }
.eq i:nth-child(3) { animation-delay: 280ms; }
.eq i:nth-child(4) { animation-delay: 420ms; }
.eq i:nth-child(5) { animation-delay: 560ms; }
@keyframes bounce { from { height: 22%; } to { height: 100%; } }
.eq[data-idle="true"] i { animation-play-state: paused; height: 22%; opacity: .45; }
@media (prefers-reduced-motion: reduce) {
  .eq i, .live-dot { animation: none; }
}

/* --- cards ---------------------------------------------------------------- */
.card {
  background: linear-gradient(170deg, rgba(50, 31, 45, .85), rgba(36, 21, 34, .85));
  border: 1px solid var(--plum-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(27, 223, 197, .35); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.card h3 { margin-bottom: .45rem; color: var(--cream); }
.card p { color: var(--muted); font-size: .93rem; }

/* --- recently played ------------------------------------------------------ */
.tracks { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
.track { text-align: left; }
.track-art {
  aspect-ratio: 1; width: 100%; border-radius: 12px; object-fit: cover;
  background: var(--plum) center/cover no-repeat;
  border: 1px solid var(--plum-line);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.track:hover .track-art { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.track-title { margin-top: .6rem; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--cream); }
.track-artist { font-size: .84rem; color: var(--muted); }
.track-time { font-size: .74rem; color: var(--muted-2); letter-spacing: .05em; margin-top: .2rem; }

.empty { color: var(--muted-2); font-size: .93rem; padding: 1.2rem 0; }

/* --- schedule ------------------------------------------------------------- */
.onair {
  display: grid; gap: 1.2rem; align-items: center;
  grid-template-columns: 1fr;
  background: linear-gradient(150deg, rgba(255, 46, 116, .14), rgba(27, 223, 197, .08));
  border: 1px solid rgba(255, 46, 116, .3);
  border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.6rem);
  margin-bottom: 1.6rem;
}
@media (min-width: 760px) { .onair { grid-template-columns: auto 1fr auto; } }
.onair .badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--pink);
}
.onair h3 { color: var(--cream); margin: .4rem 0 .3rem; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.onair p { color: var(--muted); font-size: .93rem; }
.onair-next { font-size: .84rem; color: var(--muted-2); }
.onair-next strong { color: var(--teal); display: block; font-size: .95rem; }

.day-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.day-tab {
  padding: .48rem 1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(246,242,206,.2);
  font-size: .85rem; font-weight: 700; color: var(--muted);
  transition: .16s;
}
.day-tab:hover { color: var(--cream); border-color: rgba(246,242,206,.45); }
.day-tab[aria-selected="true"] { background: var(--teal); border-color: var(--teal); color: #05221e; }

.slot {
  display: grid; gap: .2rem 1.1rem; grid-template-columns: 108px 1fr;
  padding: .95rem 0; border-bottom: 1px solid var(--plum-line);
}
.slot:last-child { border-bottom: 0; }
.slot-time { font-family: Anton, sans-serif; font-size: 1rem; letter-spacing: .03em; color: var(--orange); padding-top: .12rem; }
.slot-name { font-weight: 700; color: var(--cream); }
.slot-note { grid-column: 2; font-size: .88rem; color: var(--muted); }
.slot[data-live="true"] .slot-name::after {
  content: "ON AIR"; margin-left: .6rem; font-family: Inter, sans-serif;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em;
  padding: .16rem .5rem; border-radius: 999px;
  background: var(--pink); color: #fff; vertical-align: middle;
}
@media (max-width: 560px) {
  .slot { grid-template-columns: 1fr; }
  .slot-note { grid-column: 1; }
}

/* --- decades / vault ------------------------------------------------------ */
.decades { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.decade {
  font-family: Anton, sans-serif; font-size: clamp(1.5rem, 4vw, 2.3rem);
  padding: .5rem 1.15rem; border-radius: 12px;
  border: 1px solid var(--plum-line); color: var(--muted);
  background: rgba(50,31,45,.5);
  transition: .2s var(--ease);
}
.decade:nth-child(1):hover, .decade:nth-child(1) { color: var(--teal);   border-color: rgba(27,223,197,.4); }
.decade:nth-child(2) { color: var(--cream);  border-color: rgba(246,242,206,.28); }
.decade:nth-child(3) { color: var(--pink);   border-color: rgba(255,46,116,.4); }
.decade:nth-child(4) { color: var(--orange); border-color: rgba(244,113,24,.4); }

.marquee {
  overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  padding: .4rem 0;
}
.marquee-track {
  display: flex; gap: 2.2rem; width: max-content;
  animation: slide 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
.marquee span {
  font-family: Anton, sans-serif; text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2rem); color: rgba(246, 242, 206, .32);
  white-space: nowrap;
}
.marquee span:nth-child(3n)   { color: rgba(27, 223, 197, .45); }
.marquee span:nth-child(4n+1) { color: rgba(255, 46, 116, .42); }

/* --- forms ---------------------------------------------------------------- */
.form { display: grid; gap: .9rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem;
  background: rgba(18, 11, 17, .7);
  border: 1px solid rgba(246, 242, 206, .18);
  border-radius: var(--radius-sm);
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27, 223, 197, .18);
}
.field textarea { min-height: 116px; resize: vertical; }
.field-row { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-note { font-size: .82rem; color: var(--muted-2); }
.turnstile-box { min-height: 65px; }
.turnstile-box:empty { min-height: 0; }
.form-msg { font-size: .92rem; padding: .8rem 1rem; border-radius: var(--radius-sm); display: none; }
.form-msg[data-kind="ok"]  { display: block; background: rgba(27,223,197,.12);  border: 1px solid rgba(27,223,197,.4);  color: var(--teal); }
.form-msg[data-kind="err"] { display: block; background: rgba(255,46,116,.12); border: 1px solid rgba(255,46,116,.4); color: #ff87ac; }

/* --- embedded request line (shoutoutserver) -------------------------------
   The form is served from shoutoutserver.com, so its interior cannot be
   restyled from here — browsers forbid reaching into a cross-origin frame.
   What we can do is frame it deliberately: a branded header bar, matching
   border and radius, so it reads as part of the page rather than a pasted-in
   foreign panel. The iframe is pulled up inside an overflow:hidden shell to
   crop the duplicate Time Warp banner on their page.
   (If their layout shifts, adjust --embed-crop.)                            */
.embed-shell {
  border-radius: var(--radius);
  border: 1px solid rgba(27, 223, 197, .28);
  background: linear-gradient(170deg, var(--plum-2), var(--plum) 70%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.embed-head {
  display: flex; align-items: center; gap: .7rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--plum-line);
}
.embed-head .live-dot { width: 8px; height: 8px; }
.embed-head b {
  font-family: Anton, sans-serif; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1rem; color: var(--cream); font-weight: 400;
}
.embed-head span { margin-left: auto; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); }

.embed-card {
  --embed-crop: 200px;
  position: relative;
  overflow: hidden;
  height: 760px;
  background: #f1f5f9;
}
.embed-card iframe {
  position: absolute;
  top: calc(var(--embed-crop) * -1);
  left: 0;
  width: 100%;
  height: calc(100% + var(--embed-crop));
  border: 0;
}
@media (max-width: 640px) {
  .embed-card { height: 840px; --embed-crop: 150px; }
}
.embed-fallback {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  margin-top: .9rem; font-size: .86rem; color: var(--muted-2);
}

/* --- native request line -------------------------------------------------- */
.reqform { display: grid; gap: 1.4rem; }
.req-step { display: grid; gap: .6rem; }
.req-step > label,
.req-legend {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--orange);
}
.req-search { display: flex; gap: .6rem; }

/* inputs inside the request form aren't wrapped in .field, so style them here */
.reqform input[type="search"],
.reqform input[type="text"],
.reqform textarea {
  width: 100%; padding: .8rem .95rem;
  background: rgba(18, 11, 17, .7);
  color: var(--text);
  border: 1px solid rgba(246, 242, 206, .18);
  border-radius: var(--radius-sm);
  transition: border-color .16s, box-shadow .16s;
  -webkit-appearance: none; appearance: none;
}
.reqform input::placeholder, .reqform textarea::placeholder { color: var(--muted-2); }
.reqform input:focus, .reqform textarea:focus {
  outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27, 223, 197, .18);
}
.reqform textarea { min-height: 88px; resize: vertical; }
.req-search input { flex: 1; min-width: 0; }
.req-search .btn { flex: none; }

.req-results { display: grid; gap: .3rem; max-height: 268px; overflow-y: auto; }
.req-results:empty { display: none; }
.req-hit {
  display: flex; align-items: baseline; gap: .6rem; width: 100%;
  text-align: left; cursor: pointer;
  padding: .6rem .8rem; border-radius: var(--radius-sm);
  background: rgba(18, 11, 17, .55);
  border: 1px solid rgba(246, 242, 206, .12);
  transition: border-color .14s, background .14s, transform .14s var(--ease);
}
.req-hit:hover { border-color: var(--teal); background: rgba(27, 223, 197, .08); transform: translateX(2px); }
.req-hit b { color: var(--cream); font-size: .95rem; font-weight: 700; }
.req-hit span { color: var(--muted); font-size: .85rem; margin-left: auto; text-align: right; }
.req-note { color: var(--muted-2); font-size: .86rem; padding: .3rem 0; }

.req-picked {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: linear-gradient(120deg, rgba(27,223,197,.14), rgba(255,46,116,.10));
  border: 1px solid rgba(27, 223, 197, .4);
}
.req-picked div { min-width: 0; }
.req-picked b { display: block; color: var(--cream); font-size: 1rem; overflow-wrap: anywhere; }
.req-picked em { font-style: normal; color: var(--teal); font-size: .88rem; }
.req-clear {
  margin-left: auto; flex: none; cursor: pointer;
  background: none; border: 1px solid rgba(246,242,206,.25); color: var(--muted);
  border-radius: 999px; padding: .32rem .8rem; font-size: .76rem; font-weight: 700;
}
.req-clear:hover { color: var(--pink); border-color: var(--pink); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  cursor: pointer; padding: .42rem .85rem; border-radius: 999px;
  background: transparent; border: 1px solid rgba(246,242,206,.2);
  color: var(--muted); font-size: .83rem; font-weight: 600;
  transition: .14s;
}
.chip:hover { color: var(--cream); border-color: rgba(246,242,206,.45); }
.chip[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }

/* --- listen everywhere ---------------------------------------------------- */
.ways { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.way {
  display: flex; align-items: center; gap: .85rem; text-decoration: none;
  padding: 1rem 1.15rem; border-radius: var(--radius);
  border: 1px solid var(--plum-line); background: rgba(50,31,45,.5);
  color: var(--text); transition: .2s var(--ease);
}
.way:hover { border-color: rgba(27,223,197,.4); transform: translateY(-3px); color: var(--text); }
.way svg { width: 26px; height: 26px; flex: none; color: var(--teal); }
.way b { display: block; font-size: .96rem; }
.way span { font-size: .82rem; color: var(--muted-2); }

/* --- history strip -------------------------------------------------------- */
.history {
  display: grid; gap: 1rem; grid-template-columns: 1fr;
  border-left: 3px solid var(--orange); padding-left: 1.3rem;
}
.history .year { font-family: Anton, sans-serif; font-size: clamp(2.4rem, 7vw, 4rem); color: var(--orange); line-height: .9; }
.history p { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--cream); max-width: 68ch; }

/* --- advertise band ------------------------------------------------------- */
.band {
  background:
    radial-gradient(60% 100% at 12% 0%, rgba(244, 113, 24, .2), transparent 65%),
    linear-gradient(150deg, var(--plum-2), var(--ink-2));
  border: 1px solid var(--plum-line); border-radius: 22px;
  padding: clamp(1.6rem, 5vw, 3rem);
}
.stats { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 1.8rem 0; }
.stat b { display: block; font-family: Anton, sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--teal); line-height: 1; }
.stat span { font-size: .84rem; color: var(--muted-2); }

/* --- footer --------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--plum-line);
  padding: clamp(2.6rem, 6vw, 4rem) 0 2rem;
  background: var(--ink-2);
}
.foot-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot-grid h4 { font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: .85rem; }
.foot-grid ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot-grid a:hover { color: var(--teal); }
.foot-logo { width: 96px; margin-bottom: .9rem; }

.socials { display: flex; gap: .55rem; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(246,242,206,.22); color: var(--muted);
  transition: .18s;
}
.socials a:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.colophon {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--plum-line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-size: .82rem; color: var(--muted-2);
}
.colophon a { color: var(--muted-2); text-decoration: none; }
.colophon a:hover { color: var(--teal); }

/* --- sticky dock player --------------------------------------------------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  height: var(--dock-h);
  background: rgba(27, 16, 25, .93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(27, 223, 197, .22);
  box-shadow: 0 -10px 34px rgba(0,0,0,.5);
  transform: translateY(0);
  transition: transform .3s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.dock-in { display: flex; align-items: center; gap: .9rem; height: var(--dock-h); }
.dock-art {
  width: 50px; height: 50px; flex: none; border-radius: 9px; object-fit: cover;
  background: var(--plum) center/cover no-repeat; border: 1px solid var(--plum-line);
}
.dock-txt { min-width: 0; flex: 1; }
.dock-title { font-weight: 700; font-size: .92rem; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-artist { font-size: .8rem; color: var(--teal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-btn {
  width: 50px; height: 50px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--teal); color: #05221e; display: grid; place-items: center;
  transition: transform .16s var(--ease), background .16s;
}
.dock-btn:hover { transform: scale(1.06); }
.dock-btn svg { width: 21px; height: 21px; }
.dock-btn .ico-pause { display: none; }
.dock-btn[data-state="playing"] { background: var(--pink); color: #fff; }
.dock-btn[data-state="playing"] .ico-play { display: none; }
.dock-btn[data-state="playing"] .ico-pause { display: block; }
.dock-btn[data-state="loading"] { background: var(--orange); color: #2a1103; }
.dock-btn[data-state="loading"] svg { animation: spin 1s linear infinite; }

.dock .eq { margin-left: .3rem; }
.dock-extra { display: flex; align-items: center; gap: .85rem; margin-left: auto; }
@media (max-width: 760px) { .dock .eq, .dock .vol { display: none; } }

.sleep-btn {
  background: none; border: 1px solid rgba(246,242,206,.22); color: var(--muted);
  border-radius: 999px; padding: .38rem .8rem; font-size: .76rem; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: .16s;
}
.sleep-btn:hover { color: var(--teal); border-color: var(--teal); }
.sleep-btn[data-armed="true"] { color: var(--orange); border-color: var(--orange); }
@media (max-width: 620px) { .sleep-btn { display: none; } }

/* --- toast ---------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 16px); transform: translate(-50%, 20px);
  background: var(--plum-2); border: 1px solid rgba(27,223,197,.4); color: var(--cream);
  padding: .7rem 1.2rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; z-index: 120;
  transition: opacity .25s, transform .25s var(--ease);
}
.toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); }

/* --- inner page header ---------------------------------------------------- */
.page-head {
  padding: clamp(2.6rem, 7vw, 4.6rem) 0 clamp(1.6rem, 4vw, 2.6rem);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: -60% -20% auto; height: 160%;
  background: radial-gradient(50% 44% at 20% 20%, rgba(255,46,116,.22), transparent 70%),
              radial-gradient(46% 40% at 80% 10%, rgba(27,223,197,.16), transparent 72%);
  pointer-events: none;
}
.page-head .shell { position: relative; z-index: 1; }
.prose p { margin-bottom: 1.05rem; color: var(--muted); }
.prose h2 { margin: 2.2rem 0 .9rem; }
.prose h3 { margin: 1.6rem 0 .6rem; color: var(--cream); }
.prose ul { color: var(--muted); padding-left: 1.2rem; margin-bottom: 1.05rem; display: grid; gap: .4rem; }
.prose strong { color: var(--cream); }
