/* Sziget 2027 lineup: the "First acts" poster as a web app */

:root {
  --ink: #121210;      /* the boxes and the cut-out pieces */
  --paper: #f4f3ee;    /* the white strips and the letters */
  --teal: #40bac1;     /* the poster */
  --deep: #1d6f76;     /* round the poster on wide screens */
  --red: #e90137;      /* the logo's banner */
  --pink: #fd52c6;     /* the bolt */
  --yellow: #fde402;   /* its middle */
  --heart: #fd52c6;
  /* the shared parts below (buttons, cards, the radio) were written with these names */
  --blue: var(--red);
  --navy: var(--ink);
  --slate: var(--ink);
  --glow: var(--yellow);
  --cream: var(--paper);
  --line: rgba(18, 18, 16, .85);

  --f: 'Mona Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-cond: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --f-logo: 'Fredoka', 'Mona Sans', sans-serif;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--deep) url(../assets/grain.webp) 0 0 / 256px;
  color: var(--ink);
  font: 600 16.5px/1.3 var(--f);
  -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(--ink); outline-offset: 3px; border-radius: 4px; }

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

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

/* The sheet of paper: the poster's teal with its grain, in the poster's own proportions of type.
   Everything inside is sized in cqw (hundredths of the sheet's width), as the printed poster is. */
.paper {
  --pad: min(6vw, 62.4px); /* 6% of the sheet */
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--pad) 4cqw;
  container-type: inline-size;
  background: var(--teal) url(../assets/grain.webp) 0 0 / 256px;
  background-blend-mode: soft-light;
  overflow: hidden;
}
@media (min-width: 1060px) {
  .poster { padding: 28px 0 0; }
  .paper { box-shadow: 0 18px 60px rgba(0, 0, 0, .28), 0 2px 0 rgba(0, 0, 0, .08); }
}
.paper > * { position: relative; }

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

.masthead {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  grid-template-areas: "logo when" "logo wave";
  align-items: start;
  gap: 0 3cqw;
  padding-top: 5cqw;
}

.logo { grid-area: logo; position: relative; display: block; margin-left: -1cqw; }
/* the red flag the logo is printed on: square at the left, notched at the right, tipped up */
.banner {
  display: block;
  width: 106%;
  padding: 2.4cqw 0 4.6cqw 3.4cqw;
  background: var(--red);
  clip-path: polygon(0 18%, 100% 0, 91% 47%, 99% 95%, 4% 100%);
  transform: rotate(-4deg);
  transform-origin: 0 100%;
}
.sziget {
  display: block;
  font: 700 15.2cqw / .8 var(--f-logo);
  letter-spacing: -.035em;
  color: #ffece5;
  transform: translateY(.05em);
}
/* white paper strips, cut a little crooked */
.strips-s > span {
  display: table;
  padding: .06em .22em .1em;
  background: var(--paper);
  color: var(--ink);
}
.tagline {
  position: relative; z-index: 1;
  display: block;
  margin: -4cqw 0 0 15cqw;
  font: 800 6cqw / .98 var(--f);
  letter-spacing: -.03em;
}
.tagline > span:first-child { transform: rotate(-3deg); }
.tagline > span:last-child { margin-left: 3.4cqw; transform: rotate(-2deg) translateY(-.05em); }

.when {
  grid-area: when;
  display: grid; justify-items: start;
  margin-top: 1.5cqw;
  font: 900 6.2cqw / 1 var(--f);
  font-stretch: 105%;
  letter-spacing: -.03em; text-transform: uppercase;
}
.when > span:first-child { transform: rotate(1.5deg); }
.when > span:last-child { margin: .1em 0 0 .7em; transform: rotate(-.8deg); }
.when i { font-style: normal; font-weight: 800; margin: 0 .04em; }

/* "First acts" on a strip, ringed in marker, as the newest wave's label */
.wave {
  grid-area: wave;
  position: relative;
  justify-self: end;
  margin: 5.4cqw 1cqw 0 0;
  padding: .08em .3em .02em;
  font: 800 italic 4.6cqw / 1 var(--f-cond);
  letter-spacing: -.01em; text-transform: uppercase;
  background: var(--paper);
  transform: rotate(-2deg);
}
.wave img { position: absolute; left: -20%; top: -34%; width: 140%; height: 168%; max-width: none; pointer-events: none; }

/* ---------- radio, hint ---------- */

.controls {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 18px;
  margin: max(16px, 3.4cqw) auto max(10px, 2cqw);
}

.tune {
  appearance: none;
  display: flex; align-items: center; gap: .55em;
  padding: .3em .32em .3em .8em;
  font: 800 italic clamp(17px, 2.4cqw, 22px) / 1 var(--f-cond);
  letter-spacing: .02em; text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(18, 18, 16, .3);
  transform: rotate(-1.5deg);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s;
}
.tune:hover { transform: rotate(-1.5deg) translateY(-1px); box-shadow: 5px 6px 0 rgba(18, 18, 16, .3); }
.tune:active { transform: rotate(-1.5deg) translateY(2px); box-shadow: 2px 2px 0 rgba(18, 18, 16, .3); }
.tune:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.tune b {
  padding: .38em .7em .34em;
  font-weight: 800;
  color: var(--ink); background: var(--yellow);
}
.tune-dot { width: .55em; height: .55em; border-radius: 50%; background: var(--heart); box-shadow: 0 0 0 0 rgba(253, 82, 198, .6); }
.tune[aria-pressed="true"] .tune-dot { animation: onair 1.4s ease-out infinite; }
.tune[aria-pressed="true"] b { background: var(--heart); }
@keyframes onair { to { box-shadow: 0 0 0 .55em rgba(253, 82, 198, 0); } }

.hint {
  display: flex; justify-content: center; align-items: center; gap: .6em;
  font: 700 clamp(11.5px, 1.4cqw, 13.5px) / 1 var(--f);
  font-stretch: 118%;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(18, 18, 16, .75);
}
.hint i { width: .55em; height: .55em; background: var(--pink); transform: rotate(45deg); }

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

.lineup { position: relative; min-height: 120cqw; text-align: center; color: var(--ink); }
.lineup.is-ready { min-height: 0; }

.line { display: flex; justify-content: center; white-space: nowrap; }
.line-in { position: relative; display: inline-flex; align-items: center; }

.act {
  all: unset;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s cubic-bezier(.3, 1.5, .5, 1), opacity .25s, filter .25s;
}
.act:focus-visible { outline: 3px solid var(--ink); outline-offset: .08em; }
.act:active { transform: scale(.96); }
.act.is-playing { animation: bob 1s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-.06em) rotate(-1.4deg); } }

.badge {
  position: absolute; right: -.2em; top: -.18em; z-index: 2;
  width: .42em; height: .38em;
  fill: var(--heart); stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; paint-order: stroke;
  overflow: visible;
  transform: rotate(14deg) scale(0);
  transition: transform .34s cubic-bezier(.3, 1.9, .5, 1);
  pointer-events: none;
}
.act.is-liked .badge { transform: rotate(14deg) scale(1); }

/* --- tier 1: the cut-out letters, on the bolt --- */

.heads { position: relative; z-index: 0; margin-top: 4cqw; padding: 2.2cqw 0 3.2cqw; }
.heads-in { position: relative; display: grid; justify-items: center; gap: .1em; }
/* the bolt spans the sheet, edge to edge, and stretches with the headliners' block */
.bolt {
  position: absolute; z-index: -1;
  left: calc(-1 * var(--pad)); width: calc(100% + 2 * var(--pad)); max-width: none;
  top: -15%; height: 132%;
  pointer-events: none;
}
.az {
  position: absolute; left: 9cqw; top: -2.4cqw;
  padding: .12em .3em .06em;
  font: 800 italic max(12px, 2.4cqw) / 1 var(--f-cond);
  color: var(--paper); background: var(--ink);
}
.lineup.is-flow .az { left: 0; top: -14px; }

.act-cut { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0 .3em; line-height: 1; }
.word { display: inline-flex; align-items: center; white-space: nowrap; }
.cut {
  display: inline-block;
  min-width: .56em;
  margin: 0 .025em;
  padding: .04em .07em .08em;
  font-size: calc(var(--z) * var(--fs, 1) * 1em);
  line-height: 1.02;
  text-align: center;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(var(--y)) rotate(var(--r));
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), background .15s, color .15s;
}
/* each piece cut from a different page: the type styles of data.js `cut` */
.s-k { font-family: 'UnifrakturMaguntia', 'Old English Text MT', serif; --fs: 1.04; }
.s-s { font-family: 'Abril Fatface', 'Didot', serif; --fs: .98; }
.s-r { font-family: 'DM Serif Display', Georgia, serif; --fs: 1; }
.s-i { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; --fs: 1.02; }
.s-l { font-family: 'Alfa Slab One', 'Rockwell', serif; --fs: .86; }
.s-g { font-family: var(--f); font-weight: 900; font-stretch: 112%; --fs: .86; padding-left: .1em; padding-right: .1em; }
.s-c { font-family: var(--f-cond); font-weight: 700; --fs: 1.06; }
/* hearted, or under the pointer: the pieces take the act's ink and jostle */
.act-cut.is-liked .cut { background: var(--c); }
@media (hover: hover) {
  .act-cut:hover .cut { background: var(--c); transform: translateY(calc(var(--y) * -1.4)) rotate(calc(var(--r) * -1.3)); }
}
.act-cut .badge { width: .34em; height: .31em; right: -.22em; top: -.12em; }

/* --- tier 2: black boxes, slanted type --- */

.boxes { margin-top: 1.8cqw; }
.line.t2 { margin: .14em 0; }
.line.t2 .line-in { gap: .32em; }
.act-box {
  font: 800 italic 1em / 1 var(--f-cond);
  letter-spacing: -.012em; text-transform: uppercase;
  color: var(--paper);
  transform: rotate(var(--tilt, 0deg));
}
.act-in {
  display: block;
  padding: .1em .22em .07em .18em;
  background: var(--ink);
  transition: background .15s, color .15s;
}
.act-box .w { font-size: .5em; font-weight: 600; letter-spacing: 0; margin-left: .3em; vertical-align: .55em; }
.act-box.is-liked .act-in { background: var(--c); }
@media (hover: hover) {
  .act-box:hover { transform: rotate(calc(var(--tilt, 0deg) * -1)) scale(1.04); }
  .act-box:hover .act-in { background: var(--c); }
}

/* --- tier 3: white strips, names split by slashes --- */

.strips { margin-top: 2.6cqw; }
.line.t3 { margin: .2em 0; }
.strip {
  padding: .06em .35em .02em;
  background: var(--paper);
  font: 700 italic 1em / 1.08 var(--f-cond);
  letter-spacing: -.012em; text-transform: uppercase;
  box-shadow: 0 .04em 0 rgba(18, 18, 16, .12);
}
.line.t3:nth-child(odd) .strip { transform: rotate(-.5deg) translateX(-.3em); }
.line.t3:nth-child(even) .strip { transform: rotate(.4deg) translateX(.25em); }
.slash {
  display: inline-block; width: .86em; height: .9em;
  background: linear-gradient(to bottom right, transparent calc(50% - .045em), var(--ink) calc(50% - .045em), var(--ink) calc(50% + .045em), transparent calc(50% + .045em));
  transform: scaleX(.6);
}
.act-strip { color: var(--ink); }
.act-strip .act-in { padding: 0 .02em; background: none; }
.act-strip.is-liked .act-in { color: var(--c); }
.act-strip .badge { right: -.28em; top: -.32em; width: .5em; height: .45em; }
@media (hover: hover) {
  .act-strip:hover .act-in { color: var(--paper); background: var(--c); }
}

/* --- "and many more to come…", tiles on a marker lasso --- */

.more { position: relative; margin-top: 2.4cqw; padding-top: 3cqw; text-align: center; }
.more[hidden] { display: none; }
.scribble { position: absolute; left: calc(-1 * var(--pad) + 9cqw); top: 0; width: calc(100% + 2 * var(--pad) - 9cqw); max-width: none; height: auto; pointer-events: none; }
.more-in { position: relative; display: inline-block; margin-left: 12cqw; line-height: 1.24; font-size: max(17px, 3.7cqw); }
.pc { display: inline-block; padding: .02em .16em .08em; background: var(--paper); }
.pc-a { font: 800 1em / 1 var(--f); letter-spacing: -.03em; }
.pc-b { font: 700 italic 1.04em / 1 var(--f-cond); text-transform: uppercase; }
.pc-dots { font: 900 .7em / 1 var(--f); padding: .1em .3em .3em; }
.more-in .pc:nth-child(1) { transform: rotate(-2deg) translateY(-.08em); }
.more-in .pc:nth-child(2) { transform: rotate(2deg) translateY(.12em); }
.more-in .pc:nth-child(3) { transform: rotate(-1deg); }
.more-in .pc:nth-child(5) { transform: rotate(-3deg); margin-left: .4em; }
.more-in .pc:nth-child(6) { transform: rotate(1.5deg) translateY(.06em); }
.more-in .pc:nth-child(7) { transform: rotate(-1deg) translateY(.2em); }

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

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

.foot { position: relative; padding-bottom: 130px; color: var(--paper); }

.fine {
  margin-top: 64px;
  font: 700 12.5px / 1.4 var(--f); font-stretch: 112%;
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center; color: rgba(244, 243, 238, .72);
}

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

.btn {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  padding: .6em 1.15em .55em;
  font: 800 16.5px / 1 var(--f);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .14s, box-shadow .14s, filter .14s;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-primary { color: #fff; background: var(--blue); }
.btn-small { font-size: 14px; padding: .6em 1em .55em; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-spotify { background: #49d17a; }
.btn-apple { background: #ff8fa3; text-decoration: none; }

/* ---------- your Sziget / playlist ---------- */

.mix { text-align: center; scroll-margin-top: 24px; padding-top: clamp(40px, 6cqw, 70px); }

.mix-title {
  font: 860 clamp(30px, 6.4cqw, 58px) / 1 var(--f);
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink);
  -webkit-text-stroke: .09em var(--glow);
  paint-order: stroke fill;
  text-shadow: 0 0 .1em rgba(255, 249, 190, .9), 0 0 .3em rgba(255, 255, 255, .5);
}
.mix-title span { font-size: .5em; vertical-align: .55em; margin-right: .1em; }
.mix-title b { font-weight: inherit; color: var(--blue); }

.mini-lineup {
  margin: clamp(12px, 2.4cqw, 22px) auto 0;
  max-width: 900px;
  font-family: var(--f); font-weight: 860; text-transform: uppercase;
  color: var(--ink);
}
.line.mini { line-height: 1.16; }
.mini-lineup .empty {
  font: 800 clamp(13px, 1.6cqw, 15px) / 1.2 var(--f);
  font-stretch: 112%;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(18, 18, 16, .7);
}

.mix-controls {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 22px;
  margin-top: clamp(18px, 3cqw, 28px);
}
.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: 800 14px / 1 var(--f); font-stretch: 112%;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.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: 800 17px / 1 var(--f);
  color: var(--ink);
  background: rgba(255, 250, 240, .55);
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: background .15s, color .15s;
}
.seg input:checked + span { background: var(--yellow); box-shadow: 0 2px 0 var(--ink); }
.seg input:disabled + span { opacity: .4; }
.seg input:disabled { cursor: default; }
.seg-words span {
  width: auto; padding: 1px 15px 0;
  font-size: 14px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
  border-radius: 999px;
}
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.mix-out { max-width: 720px; margin: clamp(22px, 4cqw, 38px) 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: 860 22px / 1 var(--f);
  letter-spacing: -.005em; text-transform: uppercase; color: var(--ink);
}
.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: 2px dashed rgba(18, 18, 16, .35);
}
.mix-save-label {
  margin-right: 4px;
  font: 800 14px / 1 var(--f); font-stretch: 112%;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}

.how {
  display: grid; justify-items: start; gap: 10px;
  margin-bottom: 16px; padding: 13px 16px 14px;
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 4px 0 rgba(18, 18, 16, .3);
}
.how[hidden] { display: none; }
.how-title { font: 860 19px / 1.05 var(--f); text-transform: uppercase; color: var(--ink); }
.how-steps {
  margin: 0; padding: 0; list-style: none; counter-reset: step;
  display: flex; flex-wrap: wrap; gap: 8px 16px;
  font: 700 15.5px / 1.2 var(--f); color: var(--ink);
}
.how-steps li { counter-increment: step; display: flex; align-items: center; gap: 7px; }
.how-steps li::before {
  content: counter(step);
  flex: none; display: grid; place-items: center; width: 23px; height: 23px;
  font: 800 13px / 1 var(--f);
  color: #fff; background: var(--blue); border-radius: 50%;
}
.how-text { font: 600 15.5px / 1.3 var(--f); color: var(--ink); }
.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: 800; }
.how-note { font: 600 14px / 1.25 var(--f); color: rgba(18, 18, 16, .72); }
.how-more summary { cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.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(--blue);
  position: relative;
  display: flex; align-items: center;
  background: rgba(255, 252, 242, .84);
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.track:hover { background: #fffdf6; }
.track.is-current { background: color-mix(in srgb, var(--c) 16%, #fffdf6); border-color: var(--c); box-shadow: 0 2px 0 var(--c); }

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

.cover {
  position: relative; flex: none;
  width: 48px; height: 48px;
  border-radius: 8px; overflow: hidden;
  background: var(--pink);
}
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; background: rgba(18, 18, 16, .3); transition: background .15s; }
.track.is-current .cover::after { background: rgba(18, 18, 16, .55); }

.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: 750 16.5px / 1.15 var(--f);
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-sub {
  font: 600 14px / 1.2 var(--f);
  color: rgba(18, 18, 16, .62);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.t-sub b { font-weight: 750; color: var(--c); }
.t-time {
  flex: none; padding: 0 6px;
  font: 650 13.5px / 1 var(--f);
  font-variant-numeric: tabular-nums;
  color: rgba(18, 18, 16, .55);
}
.track.is-current .t-time { color: var(--ink); }

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

.track .bar {
  position: absolute; left: 0; bottom: 0; height: 4px;
  width: 100%;
  background: 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: 800 15px / 1 var(--f);
  text-align: center;
  color: rgba(18, 18, 16, .45);
}

.note {
  padding: 18px 8px;
  font: 800 15px / 1.2 var(--f); font-stretch: 112%;
  letter-spacing: .1em; text-transform: uppercase; text-align: center;
  color: rgba(18, 18, 16, .65);
}

/* ---------- 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(--ink);
  background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink), 0 12px 30px rgba(18, 18, 16, .3);
  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: 5px 14px 5px 6px;
  border-right: 2px solid rgba(18, 18, 16, .3);
  cursor: pointer;
}
.dock-now[hidden] { display: none; }
.dock-now:focus-visible { outline: 3px solid var(--blue); outline-offset: -4px; border-radius: 999px; }
.dock-now .pp {
  position: relative; inset: auto; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--yellow);
}
.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: 750 15px / 1.1 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-meta span { font: 600 13px / 1.15 var(--f); opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dock-mix {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px 8px 14px;
  font: 860 17px / 1 var(--f);
  letter-spacing: .02em; text-transform: uppercase; text-decoration: none;
  color: inherit;
  border-radius: 999px;
}
.dock-mix .ico-heart { width: 20px; height: 18px; fill: var(--heart); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.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: 2px solid rgba(18, 18, 16, .3); }

/* ---------- act card ---------- */

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

.sheet-card {
  --c: var(--blue);
  position: relative;
  max-height: calc(100dvh - 24px); /* as tall as the window allows, so it only scrolls when it must */
  padding: 20px 20px 12px;
  overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(circle at center, rgba(232, 112, 166, .26) 0 1.2px, transparent 1.8px) 0 0 / 20px 20px,
    linear-gradient(rgba(255, 251, 236, .62), rgba(255, 251, 236, .62)),
    url(../assets/swirl.webp) 30% 40% / 260% auto;
  border: 3px solid var(--ink);
  border-radius: 24px;
  outline: 0;
  box-shadow: 6px 8px 0 rgba(18, 18, 16, .32), 0 26px 70px rgba(60, 30, 70, .35);
}

.sheet-close {
  all: unset;
  position: absolute; right: 8px; top: 8px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer;
  color: var(--ink);
  transition: background .15s;
}
.sheet-close:hover { background: rgba(18, 18, 16, .1); }
.sheet-close:focus-visible { outline: 3px solid var(--blue); }
.sheet-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; }

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

.disc { position: relative; flex: none; width: 132px; height: 132px; }
.disc-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: turn 18s 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: 19%;
  width: 62%; height: 62%;
  border-radius: 50%; object-fit: cover;
  background: var(--pink);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 4px var(--glow);
}
.disc.no-photo .disc-photo { visibility: hidden; }

.sheet-id { min-width: 0; flex: 1; }
.sheet-name {
  font: 860 clamp(32px, 7.6vw, 52px) / .94 var(--f);
  letter-spacing: -.015em; text-transform: uppercase;
  color: var(--ink);
  -webkit-text-stroke: .09em var(--glow);
  paint-order: stroke fill;
  text-shadow: 0 0 .1em rgba(255, 249, 190, .95), 0 0 .3em rgba(255, 255, 255, .8);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.sheet-name.is-long { font-size: clamp(25px, 5.6vw, 38px); }

/* what they sound like: a small tag in the act's own ink */
.sheet-vibe {
  display: inline-block; max-width: 100%; margin-top: 8px; padding: 3px 10px 3px;
  font: 750 14.5px / 1.15 var(--f);
  color: #fff;
  background: var(--c);
  border: 2px solid var(--ink);
  border-radius: 8px;
  transform: rotate(-1.2deg);
}
.sheet-vibe[hidden] { display: none; }

/* the four dates, the ones they don't play struck through */
.sheet-slot { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 9px; }
.slot-city, .slot-note {
  padding: 3px 7px 2px;
  font: 700 12px / 1.15 var(--f); font-stretch: 112%;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate);
  background: var(--yellow);
  border: 1.5px solid var(--slate);
  border-radius: 6px;
}
.slot-city b { font-weight: 860; }
.slot-city.is-off { color: rgba(64, 96, 127, .55); background: transparent; border-style: dashed; text-decoration: line-through; }
.slot-note { color: #fff; background: var(--slate); }

/* 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: 11px; }

.like {
  all: unset;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 6px 11px;
  font: 860 15.5px / 1 var(--f);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 252, 242, .8);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s, color .18s, transform .12s;
}
.like:active { transform: translateY(2px) scale(.96); }
.like:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.like .ico-heart {
  width: 22px; height: 20px;
  fill: transparent; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round;
  transition: fill .18s;
}
.like[aria-pressed="true"] { background: var(--heart); color: #fff; }
.like[aria-pressed="true"] .ico-heart { fill: #fff; stroke: var(--ink); 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: 2px dashed rgba(18, 18, 16, .25);
}
.hop {
  all: unset;
  min-width: 0; padding: 6px 2px;
  font: 860 16px / 1 var(--f);
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
  transition: color .15s;
}
.hop:hover { color: var(--c); }
.hop:focus-visible { outline: 3px solid var(--blue); border-radius: 4px; }
.hop-prev::before { content: '‹ '; color: var(--navy); }
.hop-next { text-align: right; }
.hop-next::after { content: ' ›'; color: var(--navy); }
.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: 6px;
  font: 750 13px / 1 var(--f); font-stretch: 110%;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(18, 18, 16, .78);
  text-decoration: none;
}
.sheet-links svg { flex: none; width: 19px; height: 19px; fill: currentColor; }
.sheet-links a:hover { color: var(--ink); }
.sheet-links a:focus-visible { outline: 3px solid var(--blue); 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: 860 17px / 1 var(--f);
  letter-spacing: .02em; text-transform: uppercase; color: var(--ink);
}
.live-player {
  margin-bottom: 10px;
  aspect-ratio: 16 / 9;
  background: #000; border-radius: 12px; overflow: hidden;
  border: 2.5px solid var(--ink);
}
.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(--blue); outline-offset: 2px; border-radius: 9px; }
.live-thumb {
  position: relative; display: block;
  aspect-ratio: 16 / 9;
  background: var(--pink); border-radius: 10px; overflow: hidden;
  border: 2px solid var(--ink);
}
.live-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(18, 18, 16, .25); transition: background .15s; }
.live-card:hover .live-thumb::after { background: rgba(18, 18, 16, .08); }
.live-card.is-current .live-thumb { border-color: var(--c); box-shadow: 0 0 0 2px var(--c); }
.live-card.is-current .pp { display: none; }
.live-tag {
  justify-self: start;
  padding: 3px 7px 2px;
  font: 800 11px / 1 var(--f); font-stretch: 112%;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: rgba(255, 252, 242, .8); border: 1.5px solid var(--ink); border-radius: 5px;
}
.live-tag.is-fest { color: #fff; background: var(--blue); }
.live-name {
  font: 600 13.5px / 1.2 var(--f);
  color: rgba(18, 18, 16, .85);
  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: #fff;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .14) 0 1.2px, transparent 1.8px) 0 0 / 18px 18px,
    linear-gradient(165deg, #3f74d4, #2f58ad);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 5px 6px 0 rgba(18, 18, 16, .35), 0 18px 44px rgba(40, 30, 80, .35);
  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 4px 9px;
  font: 800 12px / 1 var(--f); font-stretch: 112%;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--heart); border: 2px solid var(--ink); border-radius: 6px;
}
.onair i { width: 7px; height: 7px; border-radius: 50%; 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: 50%; cursor: pointer;
  transition: background .15s;
}
.radio-like:hover, .radio-size:hover, .radio-off:hover { background: rgba(255, 255, 255, .16); }
.radio-like:focus-visible, .radio-size:focus-visible, .radio-off:focus-visible { outline: 3px solid var(--yellow); }
.radio-size svg, .radio-off svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.radio-like .ico-heart { width: 22px; height: 20px; fill: transparent; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; transition: fill .15s; }
.radio-like[aria-pressed="true"] .ico-heart { fill: var(--heart); stroke: #fff; animation: bump .45s cubic-bezier(.3, 1.9, .5, 1); }

.radio-act {
  all: unset;
  display: block; max-width: 100%; margin-top: 8px;
  font: 860 27px / .95 var(--f);
  letter-spacing: -.01em; text-transform: uppercase;
  color: var(--ink);
  -webkit-text-stroke: .09em var(--glow);
  paint-order: stroke fill;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.radio-act:hover { color: var(--c); }
.radio-act:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.radio-song {
  margin: 4px 0 10px;
  font: 700 15.5px / 1.2 var(--f);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.radio-media { border-radius: 12px; overflow: hidden; background: #000; border: 2px solid var(--ink); }
.radio-media iframe { display: block; width: 100%; border: 0; }
.radio[data-source="spotify"] .radio-media { height: 84px; background: #2a2a40; }
.radio[data-source="youtube"] .radio-media { aspect-ratio: 16 / 9; }
.radio[data-source="apple"] .radio-media { height: 84px; background: #2a2a40; }
.radio-apple { display: flex; align-items: center; gap: 12px; height: 100%; padding: 8px; }
.radio-apple img { flex: none; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--pink); }
.radio-apple span { font: 700 14.5px / 1 var(--f); color: rgba(255, 255, 255, .85); }
.radio-apple button {
  all: unset;
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--ink); background: var(--yellow); border-radius: 50%; 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: center; gap: 6px 10px;
  margin: 9px 0 0;
  font: 750 12.5px / 1.2 var(--f); font-stretch: 112%;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.radio-note[hidden] { display: none; }
.radio-note button {
  all: unset;
  padding: 4px 9px 3px;
  font-weight: 800;
  color: var(--ink); background: #49d17a;
  border: 2px solid var(--ink); border-radius: 999px;
  cursor: pointer;
}
.radio-note button[hidden] { display: none; }
.radio-note button:hover { filter: brightness(1.08); }
.radio-note button:focus-visible { outline: 3px solid var(--yellow); }
#radio-carry-on { background: var(--yellow); }

.radio-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; }
.radio-next {
  min-width: 0;
  font: 800 12.5px / 1 var(--f); font-stretch: 112%;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  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(255, 255, 255, .6);
  border-radius: 8px; cursor: pointer;
}
.radio-src svg { width: 20px; height: 20px; fill: currentColor; }
.radio-src button:hover { color: #fff; }
.radio-src button:focus-visible { outline: 3px solid var(--yellow); }
.radio-src button[aria-pressed="true"] { color: var(--ink); background: var(--yellow); }

/* 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: 4px; font-size: 0; letter-spacing: 0; border-radius: 50%; }
.radio.mini .radio-act {
  grid-area: 1 / 2; min-width: 0; margin: 0; padding-top: 3px;
  font-size: 22px; 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: 10px; }
.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: 8px; }
.radio.mini[data-source="apple"] .radio-act { align-self: end; font-size: 20px; }
.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: 14px; 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(18, 18, 16, .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 9px;
  font: 860 15px / 1 var(--f);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  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: 14px; }

  .sheet { width: 100vw; margin: auto 0 0; }
  .sheet-card {
    max-height: 90dvh;
    padding: 16px 14px calc(12px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
    box-shadow: 0 -10px 40px rgba(60, 30, 70, .3);
  }
  .disc { width: 96px; height: 96px; }
  .sheet-head { align-items: flex-start; }
  .sheet-links { gap: 8px 14px; }
  /* 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; padding-right: 34px; }
  .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; }
}

/* 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 .foot { 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  ---------- */

.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; }

/* ---------- Sziget: the playlist on a second sheet, the cards and radio in the poster's colours ---------- */

.mix.wrap {
  margin-top: 28px;
  padding-top: clamp(28px, 5cqw, 48px); padding-bottom: clamp(28px, 5cqw, 48px);
  color: var(--ink);
  background: var(--teal) url(../assets/grain.webp) 0 0 / 256px;
  background-blend-mode: soft-light;
}
@media (min-width: 1060px) { .mix.wrap { box-shadow: 0 18px 60px rgba(0, 0, 0, .25); } }
.mix-title {
  display: inline-block;
  padding: .08em .3em .04em;
  font: 800 italic clamp(30px, 6.4cqw, 54px) / 1 var(--f-cond);
  letter-spacing: -.01em;
  color: var(--paper); background: var(--ink);
  -webkit-text-stroke: 0; text-shadow: none;
  transform: rotate(-1.5deg);
}
.mix-title span { font-size: .6em; vertical-align: .3em; }
.mix-title b { color: var(--yellow); }
.mini-lineup { font: inherit; text-transform: none; }
.line.mini { margin: .12em 0; }
.line.mini .line-in { gap: .3em; }
.mini-lineup .empty { color: rgba(18, 18, 16, .75); }
.btn { border-radius: 0; box-shadow: 3px 3px 0 var(--ink); }
.btn:hover { box-shadow: 4px 5px 0 var(--ink); }
.btn:active { box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { color: var(--paper); background: var(--ink); }
.btn-apple { background: var(--pink); }
.seg span { border-radius: 0; }
.how { border-radius: 0; }
.track { border-radius: 0; }
.sheet-card { border-radius: 0; }
.sheet::backdrop { background: rgba(10, 60, 64, .55); }
.radio {
  border-radius: 0;
  background: var(--ink) url(../assets/grain.webp) 0 0 / 256px;
  background-blend-mode: soft-light;
  box-shadow: 6px 6px 0 var(--pink), 0 18px 44px rgba(0, 0, 0, .35);
}
.onair { border-radius: 0; color: var(--ink); background: var(--yellow); }
.onair i { background: var(--red); }
.sheet-card {
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--teal), 0 26px 70px rgba(0, 0, 0, .35);
}
.sheet-name { font-family: var(--f-cond); font-style: italic; font-weight: 800; text-transform: uppercase; }
.lineup.is-flow .heads { margin-top: 26px; }
.radio-act { font: 800 italic 30px / .95 var(--f-cond); color: var(--paper); -webkit-text-stroke: 0; }
.radio-act:hover { color: var(--yellow); }
.radio-media { border-radius: 0; }
