/* ==========================================================================
   Mother's Milk Radio
   A warm, dark, mobile-first station theme.

   Design priorities come straight from Pro.Radio's study of 2,088 radio
   sites, in this order:
     1. The play button is the loudest thing on the page.
     2. "What's on right now" is visible without a click.
     3. The player is always reachable (fixed bar, never torn down).
     4. Mobile is the primary screen, not an afterthought.
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  --ink-900: #100E0C;
  --ink-850: #14120F;
  --ink-800: #191510;
  --ink-700: #211C16;
  --ink-600: #2C2620;
  --ink-500: #3A322A;

  --cream: #F7F2E8;
  --cream-2: #E9E0D0;
  --cream-3: #CFC5B4;
  --muted: #9E9585;
  --muted-2: #7C7466;

  --amber: #F0A868;
  --amber-2: #E2703A;
  --amber-soft: rgba(240, 168, 104, .14);
  --mint: #6FCF97;
  --rose: #E2705F;

  --line: rgba(247, 242, 232, .10);
  --line-2: rgba(247, 242, 232, .18);

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --radius-xl: 30px;

  --shell: 1240px;
  --player-h: 84px;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --shadow-1: 0 2px 10px rgba(0, 0, 0, .25);
  --shadow-2: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-glow: 0 0 0 4px rgba(240, 168, 104, .18), 0 18px 40px rgba(226, 112, 58, .28);

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

/* ------------------------------------------------------------ 2. reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink-850);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
img, svg, audio, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amber); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber); color: var(--ink-900); padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ------------------------------------------------------------ 3. layout */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .shell { padding: 0 32px; } }

.main { display: block; min-height: 60vh; }

.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--alt { background: var(--ink-800); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 28px;
}
.section-head__title { margin: 0; }
.section-head__kicker {
  display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber); font-weight: 700; margin-bottom: 8px;
}
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ------------------------------------------------------------ 4. buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 1px solid transparent; transition: transform .18s var(--ease),
  background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--amber); color: #22180F; box-shadow: 0 10px 26px rgba(240, 168, 104, .26); }
.btn--primary:hover { background: #FFBE7F; }
.btn--ghost { border-color: var(--line-2); color: var(--cream); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--solid { background: var(--cream); color: var(--ink-900); }
.btn--solid:hover { background: #fff; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  font-size: .9rem; color: var(--amber);
}
.link-arrow .icon { transition: transform .18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  border: 1px solid var(--line-2); color: var(--cream-3); background: rgba(255, 255, 255, .02);
  transition: all .16s var(--ease);
}
.chip--accent { border-color: rgba(240, 168, 104, .4); color: var(--amber); background: var(--amber-soft); }
button.chip:hover { border-color: var(--cream-3); color: var(--cream); }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #22180F; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--cream-2);
  transition: background .16s var(--ease), color .16s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--cream); }

/* ------------------------------------------------------------ 5. header */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(16, 14, 12, .82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { flex: none; filter: drop-shadow(0 3px 10px rgba(240, 168, 104, .3)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-weight: 800; font-size: 1.06rem; letter-spacing: -.02em; color: var(--cream);
}
.brand__sub {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2);
}

.site-nav { display: none; gap: 2px; }
@media (min-width: 1080px) { .site-nav { display: flex; } }
.site-nav a {
  padding: 9px 13px; border-radius: 999px; font-size: .89rem; font-weight: 600;
  color: var(--cream-3); transition: background .16s var(--ease), color .16s var(--ease);
}
.site-nav a:hover { background: rgba(255, 255, 255, .06); color: var(--cream); }
.site-nav a.is-active { background: var(--amber-soft); color: var(--amber); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }

.listen-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: var(--amber); color: #22180F; font-weight: 800; font-size: .87rem;
  box-shadow: 0 8px 22px rgba(240, 168, 104, .22);
  transition: transform .16s var(--ease), background .16s var(--ease);
}
.listen-pill:hover { background: #FFBE7F; }
.listen-pill:active { transform: scale(.96); }
.listen-pill__icon { display: inline-flex; width: 15px; height: 15px; }
.listen-pill__icon .icon--pause,
[data-player-toggle][aria-pressed="true"] .listen-pill__icon .icon--play { display: none; }
[data-player-toggle][aria-pressed="true"] .listen-pill__icon .icon--pause { display: block; }
.listen-pill__waves { display: none; }
[data-player-toggle][aria-pressed="true"] .listen-pill__waves { display: inline-flex; }
[data-player-toggle][aria-pressed="true"] .listen-pill__waves .icon--waves { animation: pulse 1.1s infinite ease-in-out; }
[data-player-toggle][aria-pressed="true"] .listen-pill { background: var(--cream); }

/* pause icon in the pill sits in the same slot */
.listen-pill__icon { position: relative; }
.listen-pill__icon svg { position: absolute; inset: 0; }
.listen-pill__icon svg:first-child { position: relative; }

.site-header__ticker {
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px; height: 32px; overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(240, 168, 104, .06);
  font-size: .78rem; color: var(--cream-3);
}
@media (min-width: 900px) { .site-header__ticker { padding: 0 32px; } }
.site-header__ticker .ticker__label {
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber);
  font-weight: 800; flex: none;
}
.site-header__ticker .ticker__track {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--cream-2);
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2);
  flex: none; display: inline-block;
}
body.is-playing .live-dot { background: var(--mint); box-shadow: 0 0 0 0 rgba(111, 207, 151, .6); animation: ripple 2s infinite; }

@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(111, 207, 151, .55); }
  70% { box-shadow: 0 0 0 9px rgba(111, 207, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 207, 151, 0); }
}
@keyframes pulse {
  0%, 100% { opacity: .35; transform: scaleY(.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

.nav-toggle { display: inline-flex; }
@media (min-width: 1080px) { .nav-toggle { display: none; } }
.nav-toggle .icon:last-child { display: none; }
.nav-toggle[aria-expanded="true"] .icon:first-child { display: none; }
.nav-toggle[aria-expanded="true"] .icon:last-child { display: block; }

@media (max-width: 1079px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 14px 20px 22px;
    background: var(--ink-800); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2); transform: translateY(-8px); opacity: 0;
    pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
}

/* ------------------------------------------------------------ 6. player */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: linear-gradient(180deg, rgba(25, 21, 16, .97), rgba(16, 14, 12, .99));
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.player__progress { height: 2px; background: rgba(255, 255, 255, .07); }
.player__progress-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--amber-2), var(--amber));
  transition: width .8s linear;
}
.player__inner {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--player-h); padding-top: 10px; padding-bottom: 10px;
}
.player__play {
  position: relative; flex: none;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--amber); color: #22180F;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(240, 168, 104, .3);
  transition: transform .16s var(--ease), background .16s var(--ease);
}
.player__play:hover { background: #FFBE7F; transform: scale(1.04); }
.player__play:active { transform: scale(.95); }
.player__play-icon { position: absolute; display: grid; place-items: center; }
.player__play-icon--pause { opacity: 0; }
[data-state="playing"] .player__play-icon--play { opacity: 0; }
[data-state="playing"] .player__play-icon--pause { opacity: 1; }
.player__spinner {
  position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--amber); opacity: 0;
}
[data-state="loading"] .player__spinner { opacity: 1; animation: spin .8s linear infinite; }
[data-state="loading"] .player__play-icon { opacity: .3; }
@keyframes spin { to { transform: rotate(360deg); } }

.player__meta { min-width: 0; flex: 1; }
.player__statusline {
  display: flex; align-items: center; gap: 8px;
  font-size: .66rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 800; color: var(--muted);
}
.player__status { color: var(--muted); }
[data-state="playing"] .player__status { color: var(--mint); }
.player__listeners { color: var(--muted-2); letter-spacing: .08em; font-weight: 700; }
.player__track {
  font-weight: 700; font-size: .98rem; color: var(--cream);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__show {
  font-size: .8rem; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.player__controls { display: none; align-items: center; gap: 10px; }
@media (min-width: 760px) { .player__controls { display: flex; } }
.player__volume { display: flex; align-items: center; gap: 6px; }
.player__volume .icon-btn .icon:last-child { display: none; }
.player__volume.is-muted .icon-btn .icon:first-child { display: none; }
.player__volume.is-muted .icon-btn .icon:last-child { display: block; }
.volume {
  -webkit-appearance: none; appearance: none; width: 88px; height: 4px;
  background: rgba(255, 255, 255, .16); border-radius: 999px; outline: none;
}
.volume::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--cream); cursor: pointer;
}
.volume::-moz-range-thumb {
  width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--cream); cursor: pointer;
}
.player__wave { color: var(--muted-2); opacity: 0; transition: opacity .3s; }
[data-state="playing"] .player__wave { opacity: 1; }
[data-state="playing"] .player__wave .icon--waves { animation: pulse 1.2s infinite ease-in-out; }
.player__fallback { margin: 0; padding: 8px 20px; color: var(--rose); font-size: .82rem; }

/* ------------------------------------------------------------ 7. hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 12% 10%, rgba(16, 14, 12, .55) 0%, rgba(16, 14, 12, .92) 55%, rgba(16, 14, 12, .97) 100%),
    linear-gradient(180deg, rgba(16, 14, 12, .55) 0%, rgba(16, 14, 12, .2) 40%, var(--ink-850) 100%);
}
.hero__inner { padding: clamp(52px, 9vw, 108px) 0 clamp(40px, 6vw, 76px); }
.hero__grid {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.25fr .75fr; gap: 56px; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--line-2);
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 800; color: var(--cream-2); margin-bottom: 20px;
}
.hero__title { margin: 0 0 12px; }
.hero__title em { font-family: var(--font-serif); font-style: italic; color: var(--amber); }
.hero__host { color: var(--cream-3); font-size: 1.02rem; margin: 0 0 22px; }
.hero__host strong { color: var(--cream); }

.hero__track {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius);
  background: rgba(0, 0, 0, .42); border: 1px solid var(--line);
  margin-bottom: 26px; max-width: 520px;
}
.hero__track-art {
  width: 42px; height: 42px; border-radius: 8px; flex: none; object-fit: cover;
  background: linear-gradient(140deg, var(--amber-2), var(--amber));
}
.hero__track-label {
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 800; display: block;
}
.hero__track-name {
  font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: block; max-width: 380px;
}

.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.big-play {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 30px 14px 16px; border-radius: 999px;
  background: var(--amber); color: #22180F; font-weight: 800; font-size: 1.06rem;
  box-shadow: var(--shadow-glow);
  transition: transform .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease);
}
.big-play:hover { background: #FFC183; transform: translateY(-2px); }
.big-play:active { transform: scale(.98); }
.big-play__disc {
  width: 36px; height: 36px; border-radius: 50%; background: #22180F; color: var(--amber);
  display: grid; place-items: center; flex: none;
}
.big-play__disc .icon--pause { display: none; }
body.is-playing .big-play__disc .icon--play { display: none; }
body.is-playing .big-play__disc .icon--pause { display: block; }
body.is-playing .big-play { background: var(--cream); }

.hero__next { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hero__next-label {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 800; margin-right: 4px;
}

/* vinyl */
.vinyl-wrap { display: none; justify-content: center; }
@media (min-width: 940px) { .vinyl-wrap { display: flex; } }
.vinyl {
  position: relative; width: min(340px, 34vw); aspect-ratio: 1; border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, #17140F 0 2px, #211C16 2px 4px),
    radial-gradient(circle at 50% 50%, #2A241C 0%, #100E0C 70%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 0 60px rgba(0, 0, 0, .7);
  display: grid; place-items: center;
  animation: spin 9s linear infinite; animation-play-state: paused;
}
body.is-playing .vinyl { animation-play-state: running; }
.vinyl::after {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .07), transparent 55%);
  pointer-events: none;
}
.vinyl__label {
  width: 40%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: linear-gradient(140deg, var(--amber-2), var(--amber));
  display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(0, 0, 0, .45);
}
.vinyl__label img { width: 100%; height: 100%; object-fit: cover; }
.vinyl__hole {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-900); box-shadow: inset 0 0 6px #000;
}

/* ------------------------------------------------------------ 8. cards */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ink-800); border: 1px solid var(--line);
  border-radius: var(--radius-l); overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-700); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: 999px; font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(16, 14, 12, .78); backdrop-filter: blur(6px); color: var(--cream);
}
.card__badge--live { background: var(--rose); color: #fff; }
.card__badge--amber { background: var(--amber); color: #22180F; }
.card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__kicker {
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); font-weight: 800;
}
.card__title { margin: 0; font-size: 1.12rem; line-height: 1.25; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__meta { color: var(--muted); font-size: .86rem; }
.card__text { color: var(--cream-3); font-size: .92rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 10px; }

/* show card with left accent stripe */
.card--show::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent, var(--amber)); opacity: .85;
}

/* ------------------------------------------------------------ 9. strip */
.strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: 999px; }
.strip > * { scroll-snap-align: start; flex: none; }

.strip-item {
  width: 260px; display: flex; gap: 12px; align-items: center;
  padding: 12px; border-radius: var(--radius);
  background: var(--ink-800); border: 1px solid var(--line);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.strip-item:hover { border-color: var(--amber); }
.strip-item.is-live { border-color: var(--rose); background: rgba(226, 112, 95, .08); }
.strip-item__time {
  font-family: var(--font-mono); font-size: .82rem; color: var(--amber);
  font-weight: 700; flex: none; width: 62px;
}
.strip-item__thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; background: var(--ink-600); }
.strip-item__title { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.strip-item__host { font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------ 10. schedule */
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 26px; }
.day-tab {
  flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  font-weight: 700; font-size: .9rem; color: var(--cream-3);
  display: flex; flex-direction: column; align-items: center; line-height: 1.2; gap: 2px;
  transition: all .18s var(--ease);
}
.day-tab span { font-size: .64rem; color: var(--muted-2); font-weight: 600; }
.day-tab:hover { border-color: var(--cream-3); color: var(--cream); }
.day-tab.is-active { background: var(--amber); border-color: var(--amber); color: #22180F; }
.day-tab.is-active span { color: rgba(34, 24, 15, .7); }

.sched-list { display: flex; flex-direction: column; gap: 10px; }
.sched-row {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--ink-800); transition: border-color .2s var(--ease), background .2s var(--ease);
}
@media (min-width: 700px) { .sched-row { grid-template-columns: 110px 64px 1fr auto; } }
.sched-row:hover { border-color: var(--line-2); }
.sched-row.is-live {
  border-color: var(--rose);
  background: linear-gradient(90deg, rgba(226, 112, 95, .12), rgba(226, 112, 95, .02));
}
.sched-row__time {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--amber);
}
.sched-row__time small { display: block; font-size: .74rem; color: var(--muted-2); font-weight: 500; }
.sched-row__thumb { display: none; }
@media (min-width: 700px) {
  .sched-row__thumb { display: block; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--ink-600); }
}
.sched-row__title { font-weight: 800; font-size: 1.05rem; line-height: 1.25; }
.sched-row__host { color: var(--muted); font-size: .88rem; }
.sched-row__tag { color: var(--muted-2); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.sched-row__cta { display: none; }
@media (min-width: 700px) { .sched-row__cta { display: block; } }

/* ------------------------------------------------------------ 11. chart */
.chart-table { display: flex; flex-direction: column; gap: 6px; }
.chart-row {
  display: grid; grid-template-columns: 46px 56px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 16px; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--ink-800); transition: all .18s var(--ease);
}
.chart-row:hover { border-color: var(--line-2); transform: translateX(3px); }
.chart-row__rank {
  font-size: 1.5rem; font-weight: 800; color: var(--ink-500);
  font-variant-numeric: tabular-nums; text-align: center;
}
.chart-row--top .chart-row__rank { color: var(--amber); }
.chart-row__art { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--ink-600); }
.chart-row__title { font-weight: 700; line-height: 1.25; }
.chart-row__artist { color: var(--muted); font-size: .87rem; }
.chart-row__move { font-size: .78rem; font-weight: 800; text-align: right; min-width: 62px; }
.chart-row__move--up { color: var(--mint); }
.chart-row__move--down { color: var(--rose); }
.chart-row__move--flat { color: var(--muted-2); }
.chart-row__move--new { color: var(--amber); }

/* ------------------------------------------------------------ 12. forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: var(--cream-2); }
.field .help { font-size: .78rem; color: var(--muted-2); }
.input, .textarea, .select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-s);
  background: var(--ink-900); border: 1px solid var(--line-2); color: var(--cream);
  transition: border-color .16s var(--ease), background .16s var(--ease);
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--amber); outline: none; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--cream-2); }
.checkbox input { width: 18px; height: 18px; accent-color: var(--amber); }

.panel {
  background: var(--ink-800); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(20px, 3vw, 32px);
}
.panel--tint { background: linear-gradient(160deg, rgba(240, 168, 104, .1), transparent 60%), var(--ink-800); }

.split { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 48px; } }

/* ------------------------------------------------------------ 13. misc */
.badge-live {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border-radius: 999px; background: var(--rose); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.badge-live .live-dot { background: #fff; }

.prose { max-width: 68ch; }
.prose p { color: var(--cream-2); font-size: 1.02rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--amber);
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--cream);
}
.prose ul { list-style: disc; padding-left: 20px; color: var(--cream-2); }
.prose ul li { margin-bottom: .5em; }

.stat-row { display: flex; flex-wrap: wrap; gap: 28px; }
.stat__value { font-size: 1.9rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat__label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-top: 6px; }

.flash-stack { position: fixed; top: 108px; right: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.flash {
  padding: 13px 16px; border-radius: var(--radius-s); font-size: .9rem;
  box-shadow: var(--shadow-2); animation: slideIn .28s var(--ease);
  border: 1px solid var(--line-2); background: var(--ink-700); color: var(--cream);
}
.flash--ok { border-color: rgba(111, 207, 151, .5); background: rgba(111, 207, 151, .12); }
.flash--warn { border-color: rgba(240, 168, 104, .5); background: rgba(240, 168, 104, .12); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--player-h) + 22px); transform: translate(-50%, 16px);
  z-index: 130; padding: 12px 20px; border-radius: 999px;
  background: var(--cream); color: var(--ink-900); font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-2); opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.empty {
  padding: 40px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-2); border-radius: var(--radius-l);
}

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; }
.pagination a, .pagination span {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2);
  font-weight: 700; font-size: .88rem; color: var(--cream-3);
}
.pagination a:hover { border-color: var(--amber); color: var(--amber); }
.pagination .is-current { background: var(--amber); border-color: var(--amber); color: #22180F; }

.player-spacer { height: 0; }

/* episode / mix player card */
.mix-hero { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .mix-hero { grid-template-columns: 300px 1fr; } }
.mix-hero__art {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-l); object-fit: cover;
  background: var(--ink-700); box-shadow: var(--shadow-2);
}

/* ------------------------------------------------------------ 14. admin */
.admin-body { background: #0C0B09; }
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1000px) { .admin-shell { grid-template-columns: 250px 1fr; } }

.admin-side {
  background: var(--ink-900); border-right: 1px solid var(--line);
  padding: 20px 16px; display: flex; flex-direction: column; gap: 4px;
}
@media (max-width: 999px) { .admin-side { border-right: 0; border-bottom: 1px solid var(--line); } }
.admin-side__brand { padding: 6px 10px 18px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
@media (min-width: 1000px) { .admin-nav { flex-direction: column; } }
.admin-nav a {
  padding: 10px 13px; border-radius: var(--radius-s); font-size: .9rem; font-weight: 600;
  color: var(--cream-3); display: flex; align-items: center; gap: 10px;
}
.admin-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--cream); }
.admin-nav a.is-active { background: var(--amber-soft); color: var(--amber); }
.admin-nav .admin-nav__sep {
  font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted-2); padding: 16px 13px 6px; font-weight: 800;
}
.admin-pill {
  display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 999px;
  background: var(--rose); color: #fff; font-size: .7rem; font-weight: 800; text-align: center;
}
.admin-pill--amber { background: var(--amber); color: #22180F; }

.admin-main { padding: 26px 20px 60px; min-width: 0; }
@media (min-width: 800px) { .admin-main { padding: 34px 38px 70px; } }
.admin-top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 26px;
}
.admin-top h1 { margin: 0; font-size: 1.6rem; }
.admin-top__meta { color: var(--muted); font-size: .86rem; }

.stat-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 26px; }
@media (min-width: 900px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--ink-800); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px;
}
.stat-card__label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 800;
}
.stat-card__value { font-size: 1.9rem; font-weight: 800; color: var(--cream); line-height: 1.1; margin-top: 6px; }
.stat-card__value--amber { color: var(--amber); }
.stat-card__hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }

.admin-card {
  background: var(--ink-800); border: 1px solid var(--line);
  border-radius: var(--radius-l); overflow: hidden; margin-bottom: 22px;
}
.admin-card__head {
  padding: 15px 20px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.admin-card__head h2 { margin: 0; font-size: 1.05rem; }
.admin-card__body { padding: 20px; }
.admin-card__body--flush { padding: 0; }

.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
  text-align: left; padding: 12px 16px; font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted-2); font-weight: 800;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .015);
}
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.table__thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--ink-600); }
.table-actions { display: flex; gap: 8px; justify-content: flex-end; }

.table-wrap { overflow-x: auto; }

.admin-form { display: grid; gap: 18px; }
.admin-form--two { grid-template-columns: 1fr; }
@media (min-width: 800px) { .admin-form--two { grid-template-columns: 1fr 1fr; } }
.admin-form .span-2 { grid-column: 1 / -1; }

.image-preview {
  width: 100%; max-width: 220px; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-s); border: 1px solid var(--line-2); background: var(--ink-700);
  margin-top: 8px;
}

.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 130px; }
.bar-chart__bar {
  flex: 1; background: linear-gradient(180deg, var(--amber), rgba(240, 168, 104, .25));
  border-radius: 3px 3px 0 0; min-height: 3px; position: relative;
  transition: opacity .2s var(--ease);
}
.bar-chart__bar:hover { opacity: .75; }
.bar-chart__axis {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: .68rem; color: var(--muted-2);
}

.req-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  background: var(--ink-800); display: flex; flex-direction: column; gap: 8px;
}
.req-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.req-card__song { font-weight: 800; font-size: 1.02rem; }
.req-card__artist { color: var(--muted); font-size: .9rem; }
.req-card__msg { color: var(--cream-2); font-size: .92rem; }
.req-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.req-card__who { font-size: .8rem; color: var(--muted-2); }

.status-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.status-pill--pending { background: rgba(240, 168, 104, .16); color: var(--amber); }
.status-pill--approved { background: rgba(111, 207, 151, .16); color: var(--mint); }
.status-pill--played { background: rgba(247, 242, 232, .12); color: var(--cream-3); }
.status-pill--rejected { background: rgba(226, 112, 95, .16); color: var(--rose); }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: 100%; max-width: 400px; background: var(--ink-800);
  border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px;
  box-shadow: var(--shadow-2);
}
.login-card__hint {
  margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-s);
  background: rgba(240, 168, 104, .08); border: 1px solid rgba(240, 168, 104, .25);
  font-size: .8rem; color: var(--cream-3);
}
.login-card__hint code { font-family: var(--font-mono); color: var(--amber); }

/* ------------------------------------------------------------ 15. utility */
.text-muted { color: var(--muted); }
.text-amber { color: var(--amber); }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 34px; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
