/* Download XXIV lineup — poster as a web app */

:root {
  --void: #020403;
  --ink: #030503;
  --white: #f3f7f1;
  --lime: #63ff2e;
  --lime-soft: #d6ffc2;
  --pink: #ff2fb0;
  --pink-soft: #ffd2f0;
  --cyan: #2fd4ff;
  --heart: #ff3d8b;
  --dot: #63ff2e;

  /* panels (song rows, boxes) */
  --panel: rgba(9, 16, 12, .88);
  --panel-hover: rgba(17, 30, 22, .92);
  --panel-line: rgba(140, 255, 170, .14);
  --panel-deep: #050a07;

  /* The poster's face for its blocks of names, and for everything on the page around them. */
  --f-ui: 'Gemunu Libre', 'Arial Narrow', 'Helvetica Neue Condensed', sans-serif;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--white);
  font: 500 18px/1.25 var(--f-ui);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

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

/* ---------- the poster ---------- */

.poster { position: relative; isolation: isolate; overflow-x: clip; }

/* A black screen with pixels and neon light falling down it. The tile repeats top to
   bottom; the edges are darkened a little so the names in the middle stand clear. */
.screen {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background:
    linear-gradient(90deg, rgba(2, 4, 3, .18), rgba(2, 4, 3, 0) 14%, rgba(2, 4, 3, 0) 86%, rgba(2, 4, 3, .18)),
    url(../assets/rain.webp) 50% 0 / clamp(980px, 100%, 1800px) auto repeat-y,
    var(--void);
}
/* faint scanlines over everything, like the poster's screen */
.screen::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
}
.screen > * { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 36px);
  container-type: inline-size;
}

/* ---------- masthead ---------- */

.masthead { padding-top: clamp(18px, 2.6cqw, 34px); text-align: center; }
.title img {
  display: block; width: clamp(290px, 46cqw, 610px); height: auto; margin: 0 auto;
  filter: drop-shadow(0 0 3px rgba(99, 255, 46, .9)) drop-shadow(0 0 14px rgba(99, 255, 46, .55)) drop-shadow(0 0 36px rgba(99, 255, 46, .25));
}

/* ---------- radio button ---------- */

.cue { display: grid; justify-items: center; gap: clamp(10px, 1.4cqw, 14px); margin-top: clamp(16px, 2.4cqw, 28px); }

.tune {
  appearance: none;
  display: flex; align-items: center; gap: .6em;
  padding: .3em .32em .3em .85em;
  font: 700 clamp(18px, 2cqw, 21px) / 1 var(--f-ui);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(2, 6, 3, .82);
  border: 1.5px solid var(--lime);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(99, 255, 46, .4), inset 0 0 10px rgba(99, 255, 46, .14);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
}
.tune:hover { transform: translateY(-1px); box-shadow: 0 0 18px rgba(99, 255, 46, .6), inset 0 0 12px rgba(99, 255, 46, .2); }
.tune:active { transform: translateY(1px) scale(.98); }
.tune b {
  padding: .4em .75em .34em;
  font-weight: 800;
  color: var(--ink); background: var(--lime);
  border-radius: 2px;
}
.tune-dot { width: .5em; height: .5em; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 47, 176, .7); }
.tune[aria-pressed="true"] .tune-dot { animation: onair 1.4s ease-out infinite; }
.tune[aria-pressed="true"] b { color: #fff; background: var(--pink); }
@keyframes onair { to { box-shadow: 0 0 0 .55em rgba(255, 47, 176, 0); } }

.hint {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .1em .7em;
  font: 600 clamp(14px, 1.5cqw, 16px) / 1.2 var(--f-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(214, 255, 194, .78);
}
.hint i { width: .4em; height: .4em; background: var(--pink); box-shadow: 0 0 6px var(--pink); }

/* ---------- lineup ---------- */

.lineup {
  --glow: var(--pink);
  font-family: var(--f-ui);
  color: #fff;
  min-height: 80vh;
  margin-top: clamp(14px, 2.4cqw, 30px);
}
.lineup.is-ready { min-height: 0; }

/* the hologram dog, glowing behind the logos */
.bill {
  position: relative; isolation: isolate; scroll-margin-top: 14px;
  /* the green glow the dog hangs in */
  background: radial-gradient(46% 42% at 50% 54%, rgba(70, 230, 40, .17), rgba(70, 230, 40, 0) 72%);
}
.bill::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: 9%;
  width: min(78%, 860px); aspect-ratio: 1; transform: translateX(-50%);
  background: url(../assets/dog.webp) 50% 50% / contain no-repeat;
  opacity: .3; mix-blend-mode: screen;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .bill::before { animation: holo 7s steps(1, end) infinite; }
}
@keyframes holo {
  0%, 100% { opacity: .3; transform: translateX(-50%); }
  61% { opacity: .22; transform: translateX(calc(-50% + 6px)); }
  62% { opacity: .34; transform: translateX(-50%); }
  88% { opacity: .26; transform: translateX(calc(-50% - 4px)) skewX(-2deg); }
  89% { opacity: .3; transform: translateX(-50%); }
}
.lineup.is-flow-bill .bill::before { top: 15%; width: 112%; }

.row { display: flex; align-items: center; justify-content: space-evenly; }
.r-logos { gap: 0 2%; margin: clamp(10px, 1.7cqw, 24px) 0; }
.r-head { margin: 0 0 clamp(14px, 2.4cqw, 34px); }
.lineup.is-flow-bill .r-logos { margin: clamp(12px, 4cqw, 22px) 0; }
.lineup.is-flow-bill .r-head { margin: 0 0 clamp(16px, 5cqw, 28px); }

.names { scroll-margin-top: 14px; }

.line {
  display: flex; align-items: baseline; justify-content: center;
  white-space: nowrap;
  line-height: 1.32;
}

/* a green rule between the bills */
.rule {
  height: 2px; margin: clamp(14px, 2.2cqw, 26px) 0; border: 0;
  background: var(--lime);
  box-shadow: 0 0 4px var(--lime), 0 0 12px rgba(99, 255, 46, .7), 0 0 26px rgba(99, 255, 46, .35);
}

.act {
  all: unset;
  position: relative;
  display: inline-block;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), color .18s, text-shadow .25s;
}
.act-in { display: inline-flex; flex-direction: column; align-items: center; }
.ln { display: block; white-space: nowrap; }
.act:focus-visible { outline: 2px solid var(--lime); outline-offset: .06em; border-radius: .06em; }
@media (hover: hover) {
  .act:hover { transform: scale(1.05); --glow: var(--cyan); }
}
.act:active { transform: scale(.96); }

/* Neon: a white core with the glow round it (pink on the poster, green once liked). */
.lineup .act, .mini-lineup .act {
  text-shadow: 0 0 min(.03em, 2px) #fff, 0 0 min(.09em, 6px) var(--glow), 0 0 min(.2em, 13px) var(--glow), 0 0 min(.42em, 26px) color-mix(in srgb, var(--glow) 55%, transparent);
}
.act.is-liked { --glow: var(--lime); color: var(--lime-soft); }
.act.is-playing { --glow: var(--lime); animation: buzz 1.1s steps(2, jump-none) infinite; }
@keyframes buzz { 50% { opacity: .78; } }

/* the two blocks of names, in the poster's own face */
.t3, .t4 { font-weight: 600; text-transform: uppercase; letter-spacing: .012em; color: var(--pink-soft); }
.t4 { font-weight: 500; letter-spacing: .02em; }
.lineup .t3 .act, .lineup .t4 .act {
  text-shadow: 0 0 .05em #fff, 0 0 .14em var(--glow), 0 0 .32em color-mix(in srgb, var(--glow) 70%, transparent);
}

/* between names: a small pixel, as the poster's screen is made of */
.sep {
  flex: none; align-self: center;
  width: .13em; height: .13em; margin: 0 .245em;
  background: var(--lime); opacity: .55;
  box-shadow: 0 0 .15em var(--lime);
}
.line.mini .sep { width: .11em; height: .11em; margin: 0 .25em; }

/* the heart on a liked act */
.badge {
  position: absolute; right: -.18em; top: -.04em;
  width: .34em; height: .31em; min-width: 11px; min-height: 10px;
  fill: var(--heart); stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; paint-order: stroke;
  overflow: visible;
  transform: rotate(14deg) scale(0);
  transition: transform .34s cubic-bezier(.3, 1.9, .5, 1);
  filter: drop-shadow(0 0 .08em var(--heart));
  pointer-events: none;
}
.act.is-liked .badge { transform: rotate(14deg) scale(1); }
.lg .badge { width: .3em; height: .27em; right: -.22em; top: -.08em; }

/* ---------- the logos ----------
   The poster prints the top bills as the bands' own logos. Here each is live text in an
   open face that's close to its logo's lettering, lit the same neon. */

.lg { line-height: .95; }
.lg .w-up { position: absolute; left: .04em; top: -.3em; font-style: normal; font-size: .34em; text-transform: none; letter-spacing: .02em; }
.lg .w-sub { display: block; text-align: right; margin: .06em .02em 0 0; font: 600 .26em/1 var(--f-ui); font-style: normal; letter-spacing: .1em; text-transform: uppercase; }

.lg-blink { font-family: 'Archivo', sans-serif; font-weight: 900; font-stretch: 66%; letter-spacing: -.035em; color: #ff8adb; }
.lineup .lg-blink:not(.is-liked) { text-shadow: 0 0 min(.03em, 2px) #fff, 0 0 min(.08em, 6px) #fff, 0 0 min(.2em, 14px) var(--glow), 0 0 min(.4em, 28px) var(--glow); }
.lg-bmth { font-family: 'Metal Mania', serif; text-transform: uppercase; line-height: .9; letter-spacing: .02em; }
.lg-bmth .ln:nth-child(2) { font-size: .56em; margin: .04em 0 .06em; }
.lg-evan { font-family: 'Cinzel Decorative', serif; text-transform: uppercase; letter-spacing: .03em; }
.lg-prodigy { font-family: 'Bangers', sans-serif; font-style: italic; text-transform: uppercase; letter-spacing: .03em; }
.lg-prodigy .w-up { top: -.36em; left: .1em; font-size: .38em; }
.lg-crue { font-family: 'Bevan', serif; text-transform: uppercase; letter-spacing: .01em; }
.lg-fnm { font-family: 'Archivo', sans-serif; font-weight: 700; font-stretch: 100%; text-transform: uppercase; line-height: 1.06; letter-spacing: .04em; }
.act.lg-fnm:not(.is-flat) { padding: 1.05em 1.05em; }
.act.lg-fnm:not(.is-flat)::before, .act.lg-fnm:not(.is-flat)::after {
  content: ''; position: absolute; inset: 14%;
  border: .055em solid currentColor;
  box-shadow: 0 0 .12em var(--glow), inset 0 0 .12em var(--glow);
}
.act.lg-fnm:not(.is-flat)::before { transform: rotate(45deg); }
.lg-ptv { font-family: 'Anton', sans-serif; text-transform: uppercase; line-height: 1; }
.lg-ptv .act-in { align-items: flex-start; }
.lg-turnstile { font-family: 'Archivo', sans-serif; font-weight: 900; font-style: italic; font-stretch: 112%; text-transform: uppercase; letter-spacing: .01em; }
.lg-parkway { font-family: 'Mr Dafoe', cursive; }
.lg-president { font-family: 'Archivo', sans-serif; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.lg-fivesos { font-family: 'Archivo', sans-serif; font-weight: 700; font-stretch: 125%; text-transform: uppercase; letter-spacing: .1em; line-height: 1.02; }
.lg-iprevail { font-family: 'Pirata One', serif; text-transform: uppercase; letter-spacing: .02em; }
.lg-hives { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.lg-bilmuri { font-family: 'Alfa Slab One', serif; text-transform: uppercase; letter-spacing: .01em; }
.lg-pvris { font-family: 'Yellowtail', cursive; }
.lg-down { font-family: 'UnifrakturCook', serif; font-weight: 700; text-transform: lowercase; }
.lg-primus { font-family: 'Cinzel', serif; font-weight: 900; text-transform: uppercase; }
.lg-softplay { font-family: 'Rock Salt', cursive; text-transform: uppercase; letter-spacing: -.03em; word-spacing: .22em; line-height: 1.25; }
.lg-bodycount { font-family: 'UnifrakturMaguntia', serif; }
.lg-kreator { font-family: 'Metal Mania', serif; text-transform: uppercase; letter-spacing: .02em; }
.lg-brut { font-family: 'Archivo', sans-serif; font-weight: 800; font-stretch: 100%; text-transform: uppercase; letter-spacing: .01em; }
.lg-converge { font-family: 'Big Shoulders Stencil Display', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #e2e2ea; }
.lg-carcass { font-family: 'Eater', serif; text-transform: uppercase; }

/* ---------- the poster's foot ---------- */

.foot {
  margin: clamp(18px, 2.6cqw, 34px) 0 0;
  font-weight: 600; text-transform: uppercase; text-align: center;
  color: var(--lime);
  text-shadow: 0 0 6px rgba(99, 255, 46, .55);
}
.foot p { font-size: clamp(15px, 1.75cqw, 21px); letter-spacing: .16em; }
.foot .foot-where { margin-top: .2em; font-size: clamp(18px, 2.35cqw, 28px); letter-spacing: .14em; }
.foot-where span { white-space: nowrap; }

/* ---------- the stage ---------- */

.stage {
  height: clamp(210px, 35.8vw, 640px);
  margin-top: clamp(-40px, -2.5vw, 0px);
  background: url(../assets/crowd.webp) 50% 100% / cover no-repeat;
  pointer-events: none;
}

/* ---------- the pit (your lineup) ---------- */

.pit {
  position: relative;
  padding-bottom: 130px;
  background:
    linear-gradient(rgba(1, 2, 1, 0), rgba(1, 2, 1, .9) 340px),
    repeating-linear-gradient(90deg, rgba(99, 255, 46, .045) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(99, 255, 46, .045) 0 1px, transparent 1px 44px),
    #010201;
}

.fine {
  margin-top: 60px;
  font: 500 15px / 1.4 var(--f-ui);
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center; color: rgba(243, 247, 241, .42);
}

/* ---------- buttons ---------- */

.btn {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .6em 1.15em .52em;
  font: 700 19px / 1 var(--f-ui);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: transform .14s, box-shadow .14s, filter .14s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--lime); box-shadow: 0 0 14px rgba(99, 255, 46, .4); }
.btn-primary:hover { box-shadow: 0 0 22px rgba(99, 255, 46, .6); }
.btn-small { font-size: 16.5px; padding: .58em .95em .5em; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- your lineup / playlist ---------- */

.mix { text-align: center; scroll-margin-top: 24px; padding-top: clamp(30px, 5cqw, 60px); }

.mix-title {
  font: 800 clamp(30px, 5.4cqw, 54px) / 1 var(--f-ui);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 .06em #fff, 0 0 .2em rgba(255, 47, 176, .8);
}
.mix-title b { color: var(--lime-soft); font-weight: inherit; text-shadow: 0 0 .06em #fff, 0 0 .2em var(--lime); }

.mini-lineup {
  margin: clamp(14px, 2.6cqw, 24px) auto 0;
  max-width: 900px;
  color: #fff;
}
.mini-lineup .empty {
  font: 600 clamp(15px, 1.6cqw, 17px) / 1.2 var(--f-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(214, 255, 194, .6);
}
.line.mini { line-height: 1.4; }
.mini-lineup .act { --glow: var(--lime); color: var(--lime-soft); }
.mini-lineup .act.t3, .mini-lineup .act.t4 { font-weight: 600; text-transform: uppercase; }
.mini-lineup .badge { display: none; }

.mix-controls {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 22px;
  margin-top: clamp(20px, 3.4cqw, 32px);
}
.mix-out[hidden], .btn[hidden] { display: none; }

.seg { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; border: 0; }
.seg legend {
  float: left; padding: 0; margin-right: 10px;
  font: 700 17px / 1 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 247, 241, .8);
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: grid; place-items: center; width: 40px; height: 40px;
  font: 700 19px / 1 var(--f-ui);
  color: var(--white);
  border: 1.5px solid rgba(99, 255, 46, .35);
  border-radius: 3px;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.seg input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); box-shadow: 0 0 12px rgba(99, 255, 46, .45); }
.seg input:disabled + span { opacity: .35; }
.seg input:disabled { cursor: default; }
.seg-words span {
  width: auto; padding: 1px 15px 0;
  font-size: 17px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.mix-out { max-width: 720px; margin: clamp(24px, 4cqw, 40px) auto 0; text-align: left; }
.mix-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.mix-count {
  font: 700 22px / 1 var(--f-ui);
  letter-spacing: .1em; text-transform: uppercase; color: var(--lime);
  text-shadow: 0 0 8px rgba(99, 255, 46, .5);
}
.mix-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.mix-save {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 16px; padding-top: 14px;
  border-top: 1.5px solid var(--panel-line);
}
.mix-save-label {
  margin-right: 4px;
  font: 700 17px / 1 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 247, 241, .8);
}
.btn-spotify { background: #1ed760; }
.btn-apple { background: #ff4f7a; text-decoration: none; }

.how {
  display: grid; justify-items: start; gap: 10px;
  margin-bottom: 16px; padding: 14px 16px 15px;
  background: var(--panel);
  border: 1.5px solid var(--lime);
  border-radius: 6px;
  box-shadow: 0 0 14px rgba(99, 255, 46, .18);
}
.how[hidden] { display: none; }
.how-title {
  font: 700 21px / 1 var(--f-ui);
  letter-spacing: .08em; text-transform: uppercase; color: var(--lime);
}
.how-steps {
  margin: 0; padding: 0; list-style: none; counter-reset: step;
  display: grid; gap: 6px;
  font: 600 18px / 1.25 var(--f-ui); color: var(--white);
}
.how-steps li { counter-increment: step; display: flex; align-items: baseline; gap: 10px; }
.how-steps li::before {
  content: counter(step);
  flex: none; display: grid; place-items: center; width: 24px; height: 24px;
  font: 700 15px / 1 var(--f-ui);
  color: var(--ink); background: var(--lime); border-radius: 2px;
  transform: translateY(2px);
}
.how-text { font: 600 18px / 1.3 var(--f-ui); color: var(--white); }
.how-open { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.how-open .btn { flex: none; }
.how-open .how-text { flex: 1 1 200px; }
.how-text b { font-weight: 700; color: var(--lime); }
.how-note { font: 500 16px / 1.25 var(--f-ui); color: rgba(243, 247, 241, .65); }
.how-more summary { cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.how-more summary:hover, .how-more[open] summary { color: var(--white); }
.how-more ul { margin: 7px 0 0; padding: 0 0 0 1.15em; display: grid; gap: 3px; }

.mix-more { display: flex; margin: 14px auto 0; }

/* ---------- track rows ---------- */

.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; counter-reset: n; }
.sheet .tracks { gap: 6px; }

.track {
  --c: var(--lime);
  position: relative;
  display: flex; align-items: center;
  background: var(--panel);
  border: 1.5px solid var(--panel-line);
  border-radius: 6px;
  overflow: hidden;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.track:hover { background: var(--panel-hover); }
.track.is-current {
  background: color-mix(in srgb, var(--c) 12%, var(--panel-deep));
  border-color: color-mix(in srgb, var(--c) 85%, var(--panel-deep));
  box-shadow: 0 0 12px color-mix(in srgb, var(--c) 30%, transparent);
}

.track-btn {
  all: unset;
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 12px;
  padding: 7px 4px 7px 7px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.track-btn:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; border-radius: 5px; }

.cover {
  position: relative; flex: none;
  width: 48px; height: 48px;
  border-radius: 3px; overflow: hidden;
  background: #0b1610;
}
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; background: rgba(2, 4, 3, .36); transition: background .15s; }
.track.is-current .cover::after { background: rgba(2, 4, 3, .6); }

.pp {
  position: absolute; inset: 0; z-index: 1;
  display: grid; place-items: center;
  color: #fff;
}
.pp::before { /* play triangle */
  content: '';
  width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent currentColor;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}
.is-playing > .track-btn .pp::before,
.is-playing > .pp::before { /* pause bars */
  width: 13px; height: 16px; margin: 0;
  border: 0; border-left: 4.5px solid currentColor; border-right: 4.5px solid currentColor;
}
.is-loading > .track-btn .pp::before,
.is-loading > .pp::before {
  width: 18px; height: 18px; margin: 0;
  border: 3px solid rgba(255, 255, 255, .3); border-top-color: currentColor; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(1turn); } }

.meta { flex: 1; min-width: 0; display: grid; gap: 1px; }
.t-title {
  font: 600 19px / 1.15 var(--f-ui);
  letter-spacing: .01em;
  color: var(--white);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-sub {
  font: 500 16px / 1.2 var(--f-ui);
  letter-spacing: .02em;
  color: rgba(243, 247, 241, .58);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-sub b { font-weight: 600; color: var(--c); }
.t-time {
  flex: none; padding: 0 6px;
  font: 500 16px / 1 var(--f-ui);
  font-variant-numeric: tabular-nums;
  color: rgba(243, 247, 241, .5);
}
.track.is-current .t-time { color: var(--white); }

.t-link {
  flex: none; display: grid; place-items: center;
  width: 40px; align-self: stretch;
  color: rgba(243, 247, 241, .5);
  text-decoration: none;
  transition: color .15s;
}
.t-link:hover { color: var(--white); }
.t-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.bar {
  position: absolute; left: 0; bottom: 0; height: 3px;
  width: 100%;
  background: var(--c);
  box-shadow: 0 0 6px var(--c);
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  transition: transform .26s linear;
  opacity: 0;
}
.track.is-current .bar { opacity: 1; }

.tracks-mix .track-btn::before {
  counter-increment: n; content: counter(n);
  flex: none; width: 1.6em; margin-right: -4px;
  font: 700 17px / 1 var(--f-ui);
  text-align: center;
  color: rgba(243, 247, 241, .4);
}

.note {
  padding: 18px 8px;
  font: 700 18px / 1.2 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase; text-align: center;
  color: rgba(243, 247, 241, .6);
}

/* ---------- dock ---------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: calc(14px + var(--lift, 0px) + env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: stretch;
  width: fit-content; max-width: calc(100vw - 20px);
  margin: 0 auto;
  color: var(--white);
  background: rgba(3, 6, 4, .94);
  border: 1.5px solid var(--lime);
  border-radius: 5px;
  box-shadow: 0 0 14px rgba(99, 255, 46, .35), 0 10px 30px rgba(0, 0, 0, .6);
  animation: dock-in .4s cubic-bezier(.3, 1.4, .5, 1);
}
.dock[hidden] { display: none; }
@keyframes dock-in { from { transform: translateY(140%); } }

.dock-now {
  all: unset;
  display: flex; align-items: center; gap: 10px;
  min-width: 0; padding: 6px 14px 6px 7px;
  border-right: 1.5px solid rgba(99, 255, 46, .3);
  cursor: pointer;
}
.dock-now[hidden] { display: none; }
.dock-now:focus-visible { outline: 3px solid var(--lime); outline-offset: -4px; }
.dock-now .pp {
  position: relative; inset: auto; flex: none;
  width: 38px; height: 38px; border-radius: 3px;
  background: var(--lime); color: var(--ink);
}
.dock-now .pp::before { filter: none; transform: scale(.82); }
.dock-meta { display: grid; min-width: 0; max-width: min(38vw, 260px); line-height: 1.1; text-align: left; }
.dock-meta b { font: 600 17px / 1.1 var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-meta span { font: 500 15px / 1.15 var(--f-ui); opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dock-mix {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px 8px 14px;
  font: 700 20px / 1 var(--f-ui);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: inherit;
}
.dock-mix .ico-heart { width: 20px; height: 18px; fill: var(--heart); stroke: var(--heart); stroke-width: 1.8; stroke-linejoin: round; filter: drop-shadow(0 0 4px var(--heart)); }
.dock-mix.bump .ico-heart { animation: bump .45s cubic-bezier(.3, 1.9, .5, 1); }
@keyframes bump { 40% { transform: scale(1.5) rotate(-10deg); } }
.dock-cta { margin-left: 8px; padding-left: 14px; border-left: 1.5px solid rgba(99, 255, 46, .3); color: var(--lime); }

/* ---------- act preview ---------- */

.sheet {
  width: min(700px, calc(100vw - 28px));
  max-width: none; max-height: none;
  margin: auto; padding: 0;
  color: var(--white);
  background: none; border: 0;
  overflow: visible;
}
.sheet::backdrop { background: rgba(1, 3, 2, .8); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.sheet[open]::backdrop { animation: fade .25s ease-out; }
@keyframes fade { from { opacity: 0; } }

.sheet-card {
  --c: var(--lime);
  position: relative;
  max-height: calc(100dvh - 24px); /* as tall as the window allows, so it only scrolls when it must */
  padding: 22px 22px 12px;
  overflow-y: auto; overscroll-behavior: contain;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(3, 6, 4, .9), rgba(3, 6, 4, .97)),
    url(../assets/rain.webp) 50% 0 / 900px auto,
    var(--void);
  border: 1.5px solid color-mix(in srgb, var(--c) 70%, transparent);
  border-radius: 8px;
  outline: 0;
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) 35%, transparent), 0 26px 70px rgba(0, 0, 0, .75);
}

.sheet-close {
  all: unset;
  position: absolute; right: 6px; top: 6px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 4px; cursor: pointer;
  color: var(--white);
  transition: background .15s;
}
.sheet-close:hover { background: rgba(255, 255, 255, .1); }
.sheet-close:focus-visible { outline: 3px solid var(--lime); }
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

.sheet-head { display: flex; align-items: center; gap: 16px; padding-right: 30px; margin-bottom: 14px; }

.disc { position: relative; flex: none; width: 128px; height: 128px; }
.disc-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: turn 12s linear infinite; animation-play-state: paused; }
.sheet.is-playing .disc-ring { animation-play-state: running; }
@keyframes turn { to { transform: rotate(1turn); } }
.disc-photo {
  position: absolute; inset: 21%;
  width: 58%; height: 58%;
  border-radius: 50%; object-fit: cover;
  background: #0b1610;
  box-shadow: 0 0 0 2px var(--c), 0 0 14px color-mix(in srgb, var(--c) 60%, transparent);
  filter: grayscale(.15) contrast(1.05);
}
.disc.no-photo .disc-photo { visibility: hidden; }

.sheet-id { min-width: 0; flex: 1; }
/* the name in the act's own lettering: the defaults sit in :where() so a logo's face (.lg-…) wins */
:where(.radio-act) { all: unset; }
:where(.sheet-name, .radio-act) { font-family: var(--f-ui); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.sheet-name {
  font-size: clamp(32px, 7.6vw, 54px); line-height: 1;
  color: #fff;
  text-shadow: 0 0 .04em #fff, 0 0 .14em var(--c), 0 0 .32em color-mix(in srgb, var(--c) 60%, transparent);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.sheet-name.is-long { font-size: clamp(26px, 6vw, 40px); }
.sheet-name.lg { line-height: 1.05; padding: .04em 0; }
.sheet-name.lg-pvris, .sheet-name.lg-parkway { text-transform: none; font-size: clamp(38px, 9vw, 60px); }
.sheet-name.lg-softplay { font-size: clamp(24px, 6vw, 38px); line-height: 1.3; }

/* what they sound like: a small tag in the act's own colour, set apart from the bill line */
.sheet-vibe {
  display: inline-block; max-width: 100%; margin-top: 9px; padding: 3px 9px 2px;
  font: 600 17px / 1.15 var(--f-ui);
  color: var(--white);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--c) 55%, transparent);
  border-radius: 3px;
}
.sheet-vibe[hidden] { display: none; }

.sheet-slot {
  display: block; width: fit-content; margin-top: 9px;
  font: 600 15px / 1.25 var(--f-ui);
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: rgba(243, 247, 241, .75);
}
.sheet-slot[hidden] { display: none; }
.sheet-slot:hover { color: var(--white); }

/* the like button, with the act's Spotify and Apple Music pages beside it */
.sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; }

.like {
  all: unset;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 5px 11px;
  font: 700 18px / 1 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white);
  border: 1.5px solid rgba(243, 247, 241, .45);
  border-radius: 3px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s, border-color .18s, color .18s, transform .12s, box-shadow .18s;
}
.like:hover { border-color: var(--white); }
.like:active { transform: scale(.94); }
.like:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.like .ico-heart {
  width: 22px; height: 20px;
  fill: transparent; stroke: currentColor; stroke-width: 2; stroke-linejoin: round;
  transition: fill .18s, stroke .18s;
}
.like[aria-pressed="true"] { background: var(--heart); border-color: var(--heart); color: #fff; box-shadow: 0 0 14px rgba(255, 61, 139, .5); }
.like[aria-pressed="true"] .ico-heart { fill: #fff; stroke: #fff; animation: bump .45s cubic-bezier(.3, 1.9, .5, 1); }

.sheet-foot {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px;
  margin-top: 12px; padding-top: 8px;
  border-top: 1.5px solid rgba(255, 255, 255, .08);
}
.hop {
  all: unset;
  min-width: 0; padding: 6px 2px;
  font: 700 18px / 1 var(--f-ui);
  letter-spacing: .06em; text-transform: uppercase;
  color: color-mix(in srgb, var(--c) 70%, #fff);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
  transition: filter .15s;
}
.hop:hover { filter: brightness(1.25); }
.hop:focus-visible { outline: 3px solid var(--lime); border-radius: 3px; }
.hop-prev::before { content: '‹ '; color: var(--lime); }
.hop-next { text-align: right; }
.hop-next::after { content: ' ›'; color: var(--lime); }
.hop[hidden] { display: block; visibility: hidden; }

.sheet-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sheet-links a {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 16px / 1 var(--f-ui);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(243, 247, 241, .75);
  text-decoration: none;
}
.sheet-links svg { flex: none; width: 19px; height: 19px; fill: currentColor; }
.sheet-links a:hover { color: var(--white); }
.sheet-links a:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 3px; }

/* ---------- live videos on an act's card ---------- */

.live { margin-top: 14px; }
.live[hidden] { display: none; }
.live-title {
  margin: 0 0 7px;
  font: 700 19px / 1 var(--f-ui);
  letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.live-player {
  margin-bottom: 10px;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: 6px; overflow: hidden;
}
.live-player[hidden] { display: none; }
.live-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.live-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.live-card {
  all: unset;
  display: grid; align-content: start; gap: 5px;
  min-width: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.live-card:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 5px; }
.live-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  background: #0b1610; border-radius: 5px; overflow: hidden;
  border: 1.5px solid var(--panel-line);
  transition: border-color .15s;
}
.live-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(2, 4, 3, .28); transition: background .15s; }
.live-card:hover .live-thumb::after { background: rgba(2, 4, 3, .08); }
.live-card.is-current .live-thumb { border-color: var(--c); }
.live-card.is-current .pp { display: none; }
.live-tag {
  justify-self: start;
  padding: 3px 7px 1px;
  font: 700 13px / 1 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); border: 1.5px solid rgba(243, 247, 241, .35); border-radius: 2px;
}
.live-tag.is-fest { color: var(--ink); background: var(--lime); border-color: var(--lime); box-shadow: 0 0 8px rgba(99, 255, 46, .45); }
.live-name {
  font: 500 16px / 1.2 var(--f-ui);
  color: rgba(243, 247, 241, .82);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- radio ---------- */

.radio {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25;
  width: min(360px, calc(100vw - 16px));
  padding: 12px 14px 12px;
  color: var(--white);
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .2) 0 1px, transparent 1px 3px), linear-gradient(165deg, #06100a, #030604);
  border: 1.5px solid var(--lime);
  border-radius: 8px;
  box-shadow: 0 0 16px rgba(99, 255, 46, .3), 0 18px 44px rgba(0, 0, 0, .7);
  animation: radio-in .35s cubic-bezier(.3, 1.3, .5, 1);
}
.radio[hidden] { display: none; }
@keyframes radio-in { from { transform: translateY(120%); } }

.radio-head { display: flex; align-items: center; gap: 4px; }
.onair {
  display: inline-flex; align-items: center; gap: 7px;
  margin-right: auto; padding: 5px 10px 3px 9px;
  font: 700 15px / 1 var(--f-ui);
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--pink); border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 47, 176, .55);
}
.onair i { width: 7px; height: 7px; background: #fff; animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }

.radio-like, .radio-size, .radio-off {
  all: unset;
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 4px; cursor: pointer;
  transition: background .15s;
}
.radio-like:hover, .radio-size:hover, .radio-off:hover { background: rgba(255, 255, 255, .1); }
.radio-like:focus-visible, .radio-size:focus-visible, .radio-off:focus-visible { outline: 3px solid var(--lime); }
.radio-size svg, .radio-off svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.radio-like .ico-heart { width: 22px; height: 20px; fill: transparent; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; transition: fill .15s, stroke .15s; }
.radio-like[aria-pressed="true"] .ico-heart { fill: var(--heart); stroke: var(--heart); animation: bump .45s cubic-bezier(.3, 1.9, .5, 1); }

.radio-act {
  display: block; max-width: 100%; margin-top: 8px;
  font-size: 30px; line-height: 1;
  color: #fff;
  text-shadow: 0 0 .04em #fff, 0 0 .14em var(--c, var(--pink)), 0 0 .3em color-mix(in srgb, var(--c, var(--pink)) 55%, transparent);
  overflow-wrap: anywhere;
  cursor: pointer;
}
.radio-act.lg { font-size: 27px; line-height: 1.1; }
.radio-act.lg-pvris, .radio-act.lg-parkway { text-transform: none; font-size: 32px; }
.radio-act.lg-softplay { font-size: 20px; }
.radio-act:hover { filter: brightness(1.2); }
.radio-act:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 3px; }
.radio-song {
  margin: 4px 0 10px;
  font: 600 18px / 1.2 var(--f-ui);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio-media { border-radius: 6px; overflow: hidden; background: #000; }
.radio-media iframe { display: block; width: 100%; border: 0; }
.radio[data-source="spotify"] .radio-media { height: 80px; background: #0b1610; }
.radio[data-source="youtube"] .radio-media { aspect-ratio: 16 / 9; }
.radio[data-source="apple"] .radio-media { height: 80px; background: #0b1610; }
.radio-apple { display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px; }
.radio-apple img { flex: none; width: 64px; height: 64px; border-radius: 4px; object-fit: cover; background: var(--void); }
.radio-apple span { font: 600 17px / 1 var(--f-ui); color: rgba(243, 247, 241, .8); }
.radio-apple button {
  all: unset;
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink); background: var(--lime); border-radius: 4px; cursor: pointer;
}
.radio-apple button::before {
  content: ''; width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor;
}
.radio-apple button[data-state="playing"]::before {
  width: 13px; height: 16px; margin: 0;
  border: 0; border-left: 4.5px solid currentColor; border-right: 4.5px solid currentColor;
}
.radio-src button[hidden] { display: none; }
.radio[data-source="youtube"] .radio-media iframe { height: 100%; }

.radio-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin: 9px 0 0;
  font: 600 15px / 1.3 var(--f-ui);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(243, 247, 241, .68);
}
.radio-note[hidden], .radio-note [hidden] { display: none; }
.radio-note button {
  all: unset;
  font-weight: 700;
  color: var(--lime);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.radio-note button:hover { color: var(--lime-soft); }
.radio-note button:focus-visible { outline: 3px solid var(--lime); border-radius: 3px; }

.radio-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.radio-next {
  min-width: 0;
  font: 700 15px / 1 var(--f-ui);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(243, 247, 241, .66);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio-src { flex: none; display: flex; gap: 2px; }
.radio-src button {
  all: unset;
  display: grid; place-items: center; width: 34px; height: 30px;
  color: rgba(243, 247, 241, .55);
  border-radius: 3px; cursor: pointer;
}
.radio-src svg { width: 20px; height: 20px; fill: currentColor; }
.radio-src button:hover { color: var(--white); }
.radio-src button:focus-visible { outline: 3px solid var(--lime); }
.radio-src button[aria-pressed="true"] { color: var(--ink); background: var(--lime); }

/* Minimised: one line saying who's on, and the player itself. The switcher, the
   notes and "next" wait in the full view. YouTube's video stays on show at
   200px tall, the smallest its terms allow; hiding it isn't permitted. */
.radio.mini:not([hidden]) {
  left: auto; margin: 0;
  width: min(300px, calc(100vw - 16px));
  padding: 8px 9px 9px 10px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center; gap: 7px 0;
}
.radio.mini .radio-head { display: contents; }
.radio.mini .radio-song, .radio.mini .radio-note, .radio.mini .radio-foot { display: none; }
.radio.mini .onair { grid-area: 1 / 1; gap: 0; margin: 0 8px 0 0; padding: 5px; font-size: 0; letter-spacing: 0; }
.radio.mini .radio-act {
  grid-area: 1 / 2; min-width: 0; margin: 0; padding-top: 3px;
  font-size: 24px; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio.mini .radio-like, .radio.mini .radio-size, .radio.mini .radio-off { grid-row: 1; width: 30px; height: 30px; }
.radio.mini .radio-size svg { transform: rotate(180deg); }
.radio.mini .radio-media { grid-area: 2 / 1 / 3 / -1; border-radius: 5px; }
.radio.mini[data-source="youtube"] .radio-media { aspect-ratio: auto; height: 200px; }

/* Apple Music has no embed to show, so it folds down to a single row. */
.radio.mini[data-source="apple"]:not([hidden]) { row-gap: 0; }
.radio.mini[data-source="apple"] .onair { display: none; }
.radio.mini[data-source="apple"] .radio-media { grid-area: 1 / 1 / 3 / 2; width: 48px; height: 48px; margin-right: 10px; border-radius: 4px; }
.radio.mini[data-source="apple"] .radio-act { align-self: end; font-size: 22px; }
.radio.mini[data-source="apple"] .radio-song { display: block; grid-area: 2 / 2; align-self: start; min-width: 0; margin: 2px 0 0; font-size: 16px; line-height: 1.15; }
.radio.mini[data-source="apple"] .radio-like, .radio.mini[data-source="apple"] .radio-size, .radio.mini[data-source="apple"] .radio-off { grid-row: 1 / 3; }
.radio.mini .radio-apple { position: relative; padding: 0; }
.radio.mini .radio-apple img { width: 48px; height: 48px; border-radius: 0; }
.radio.mini .radio-apple span { display: none; }
.radio.mini .radio-apple button { position: absolute; inset: 0; width: auto; height: auto; color: #fff; background: rgba(2, 4, 3, .5); border-radius: 0; }

/* ---------- toast ---------- */

.toast {
  position: fixed; left: 50%; bottom: calc(84px + var(--lift, 0px) + env(safe-area-inset-bottom)); z-index: 40;
  padding: 10px 18px 8px;
  font: 700 17px / 1 var(--f-ui);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--lime);
  border-radius: 3px;
  box-shadow: 0 0 16px rgba(99, 255, 46, .5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), opacity .2s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- small screens ---------- */

@media (max-width: 640px) {
  .wrap { padding-inline: 12px; }
  .screen { background-size: auto, 980px auto, auto; }

  .sheet { width: 100vw; margin: auto 0 0; }
  .sheet-card {
    max-height: 90dvh;
    padding: 16px 14px calc(12px + env(safe-area-inset-bottom));
    border-radius: 10px 10px 0 0;
    border-width: 1.5px 0 0;
  }
  .disc { width: 104px; height: 104px; }
  /* three across is too small on a phone: let the row slide sideways instead */
  .live-row {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none;
    margin-right: -14px; padding-right: 14px;
  }
  .live-row::-webkit-scrollbar { display: none; }
  .live-card { scroll-snap-align: start; }
  .sheet-head { gap: 12px; margin-bottom: 14px; }
  .dock-cta { display: none; }
  .dock-mix { padding-right: 16px; }
  .dock-meta { max-width: 46vw; }
  .mix-bar, .mix-save { justify-content: center; }
  .mix-save-label { width: 100%; margin: 0; text-align: center; }
  .t-link { width: 34px; }
  .hint { flex-direction: column; gap: .15em; }
  .hint i { display: none; }
}

/* On narrower screens the radio spans the bottom, so the floating bar sits on top of it. */
@media (max-width: 900px) {
  body.radio-on { --lift: calc(var(--radio-h, 300px) + 12px); }
  body.radio-on .pit { padding-bottom: calc(var(--radio-h, 300px) + 130px); }
  .radio { right: 8px; left: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; max-width: 420px; margin: 0 auto; }
}

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

/* ---------- Clashified (added by clashified/tools/import-posters.mjs) ---------- */

.fine .clashified { display: inline-flex; align-items: center; gap: .4em; margin-top: .55em; color: inherit; text-decoration: none; }
.fine .clashified img { width: 1.2em; height: 1.2em; border-radius: 3px; }
.fine .clashified:hover, .fine .clashified:focus-visible { text-decoration: underline; }
