/* DirtyPlayer: xerox punk zine meets DJ hardware HUD.
   System fonts only, nothing from other sites, no inline styles (the CSP forbids them). */

:root {
  --ink: #0c0c0d;
  --ink-2: #141416;
  --ink-3: #1c1c20;
  --paper: #e7e6e2;
  --paper-2: #d5d4cf;
  --paper-3: #c0bfb9;
  --concrete: #b9b9b5;
  --dj: #111111;
  --text: #ece7db;
  --text-dim: #aba596;
  --on-paper: #151413;
  --on-paper-dim: #3f4043;
  --red: #ff004e;
  --red-deep: #c4003b;
  --cyan: #18e0ff;
  --key: #f3d58a;
  --vst: #b48cff;
  --line: rgba(236, 231, 219, .14);
  --line-strong: rgba(236, 231, 219, .3);
  --grid: rgba(236, 231, 219, .045);
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", Menlo, "DejaVu Sans Mono", "Liberation Mono", monospace;
  --heavy: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Heavy", "sans-serif-condensed", "Arial Black", sans-serif;
  --type: "Courier New", Courier, "Nimbus Mono PS", "Liberation Mono", monospace;
  --serif: Georgia, "Times New Roman", Times, serif;
  --marker: "Ink Free", "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .9, .2, 1);
  --torn-top: polygon(0 100%, 0.0% 68%, 2.1% 76%, 4.7% 28%, 6.3% 74%, 8.9% 63%, 9.7% 67%, 11.0% 27%, 12.4% 7%, 13.9% 60%, 15.9% 15%, 17.2% 26%, 19.3% 12%, 21.9% 11%, 23.4% 13%, 24.2% 35%, 26.3% 67%, 28.4% 44%, 30.5% 49%, 32.8% 38%, 34.1% 44%, 36.0% 75%, 37.0% 81%, 38.7% 74%, 40.1% 83%, 41.4% 60%, 42.7% 50%, 44.3% 94%, 46.1% 59%, 48.3% 39%, 49.6% 62%, 50.7% 9%, 52.9% 8%, 55.1% 6%, 57.4% 1%, 58.4% 16%, 59.2% 65%, 60.6% 7%, 61.9% 73%, 63.7% 81%, 65.8% 10%, 66.9% 5%, 67.7% 22%, 69.7% 78%, 71.5% 75%, 72.8% 13%, 74.9% 51%, 76.6% 80%, 79.0% 91%, 81.1% 92%, 82.4% 63%, 83.8% 95%, 84.8% 54%, 85.6% 36%, 87.2% 23%, 88.0% 84%, 89.8% 4%, 91.0% 62%, 92.8% 26%, 95.3% 56%, 96.3% 75%, 98.1% 8%, 100% 40%, 100% 100%);
  --torn-bottom: polygon(0 0, 0.0% 14%, 2.5% 89%, 3.5% 76%, 4.5% 34%, 6.1% 57%, 8.6% 61%, 9.7% 18%, 11.9% 53%, 13.7% 80%, 15.3% 87%, 16.5% 91%, 17.8% 24%, 18.8% 65%, 20.8% 42%, 22.5% 15%, 23.7% 6%, 24.7% 62%, 25.6% 70%, 27.0% 70%, 29.1% 20%, 30.4% 48%, 31.8% 70%, 34.4% 46%, 35.6% 95%, 37.5% 62%, 38.4% 87%, 40.6% 2%, 41.8% 63%, 42.6% 77%, 44.7% 17%, 47.3% 34%, 48.3% 95%, 50.1% 37%, 51.8% 7%, 53.6% 27%, 55.9% 51%, 56.8% 66%, 58.5% 79%, 59.4% 45%, 60.6% 52%, 63.0% 81%, 65.3% 8%, 67.0% 54%, 68.3% 54%, 69.9% 8%, 70.7% 28%, 72.0% 9%, 74.1% 78%, 75.6% 28%, 77.5% 29%, 78.5% 10%, 79.9% 70%, 82.1% 91%, 84.2% 93%, 85.0% 92%, 86.2% 15%, 88.6% 20%, 90.9% 24%, 92.9% 81%, 94.4% 7%, 95.3% 64%, 96.1% 12%, 97.0% 53%, 98.9% 10%, 100% 60%, 100% 0);
  --tape: polygon(2% 0%, 2% 17%, 1% 33%, 4% 50%, 1% 67%, 0% 83%, 0% 100%, 96% 100%, 100% 83%, 97% 67%, 97% 50%, 96% 33%, 100% 17%, 96% 0%);
}

/* ---------- base ---------- */

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

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
  overflow-x: clip;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

/* Photocopier grain over everything (decoration only). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background: url(noise.svg) 0 0 / 240px 240px;
  opacity: .06;
}

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin-top: 0; }
img, svg, canvas { max-width: 100%; }
strong { font-weight: 700; }
em { font-style: italic; }

a {
  color: inherit;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--red); }

code, kbd, pre { font-family: var(--mono); }
code {
  font-size: .86em;
  background: rgba(236, 231, 219, .08);
  padding: .08em .35em;
  overflow-wrap: break-word;
}
kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: .02em .38em;
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 4px;
  background: var(--ink-3);
  color: var(--text);
  font-size: .82em;
  line-height: 1.45;
  text-align: center;
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  -webkit-user-select: none;
  user-select: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--red);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--ink); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .9em 1.3em;
  border: 2px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 800 1rem/1.1 var(--sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn:hover { color: var(--text); text-shadow: -2px 0 var(--red), 2px 0 var(--cyan); }
.btn:active { transform: translate(1px, 1px); }

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--paper);
}
.btn-red:hover {
  color: var(--ink);
  text-shadow: -2px 0 rgba(255, 255, 255, .55), 2px 0 rgba(24, 224, 255, .8);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--paper);
}

.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 rgba(12, 12, 13, .35);
}
.btn-ink:hover {
  color: var(--paper);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(12, 12, 13, .35);
}

.btn-big { padding: 1.05em 1.5em; font-size: 1.02rem; }
.btn-huge { padding: 1.1em 1.5em; font-size: clamp(1rem, 2.4vw, 1.35rem); }
.btn-small { padding: .72em 1em; font-size: .76rem; box-shadow: none; }
.btn-small.btn-red { box-shadow: 3px 3px 0 var(--paper); }
.btn-tiny {
  padding: .45em .75em;
  border-width: 1.5px;
  font: 700 .72rem/1 var(--mono);
  letter-spacing: .1em;
  vertical-align: middle;
}
.btn-tiny.is-done { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-donate {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--red);
}
.btn-donate:hover { color: var(--ink); transform: rotate(-1deg) translate(-1px, -1px); }

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: square;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 50;
  background: rgba(12, 12, 13, .94);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

.header-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  min-height: 66px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand { display: block; line-height: 0; }
.brand img { width: 148px; height: auto; }
@media (min-width: 900px) { .brand img { width: 176px; } }
.brand:hover img { filter: drop-shadow(-2px 0 rgba(24, 224, 255, .7)) drop-shadow(2px 0 rgba(255, 0, 78, .7)); }

.nav { order: 3; width: 100%; }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 700 .74rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav a {
  display: inline-block;
  padding: 10px 0;
  color: var(--text-dim);
  text-decoration: none;
}
.nav a:hover { color: var(--text); text-shadow: -1.5px 0 var(--red), 1.5px 0 var(--cyan); }

.header-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }

@media (min-width: 900px) {
  .nav { order: 0; width: auto; margin-left: auto; }
  .header-cta { margin-left: 0; }
}

/* The language picker: a <details> that drops a list of the languages (no JS needed). */
.lang-pick { position: relative; }
.lang-pick > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .62em .7em;
  border: 2px solid var(--line-strong);
  color: var(--text-dim);
  font: 700 .74rem/1 var(--mono);
  letter-spacing: .12em;
  list-style: none;
  cursor: pointer;
}
.lang-pick > summary::-webkit-details-marker { display: none; }
.lang-pick > summary:hover, .lang-pick[open] > summary { border-color: var(--text); color: var(--text); }
.lang-pick > summary .ico { width: 1.15em; height: 1.15em; stroke-width: 1.8; }
.lang-pick ul {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 210px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--ink);
  border: 2px solid var(--line-strong);
  box-shadow: 5px 5px 0 var(--red);
}
.lang-pick a { display: block; padding: 9px 16px; color: var(--text-dim); font: 600 .95rem/1.2 var(--sans); text-decoration: none; }
.lang-pick a:hover { background: rgba(236, 231, 219, .06); color: var(--text); }
.lang-pick a[aria-current] { color: var(--red); }

/* ---------- HUD bits ---------- */

.hud-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 22px;
  color: var(--text-dim);
  font: 700 .72rem/1.6 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hud-line .sep { margin: 0 .6em; color: var(--red); }

.led {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: .75em;
  border-radius: 50%;
  background: #3ccf8e;
  box-shadow: 0 0 10px #3ccf8e;
  animation: blink 1.6s steps(1) infinite;
}
.led-red { background: var(--red); box-shadow: 0 0 12px var(--red); }
@keyframes blink { 50% { opacity: .3; } }

.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 16px;
  font: 700 .74rem/1.3 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker-idx { padding: 4px 8px; background: var(--red); color: var(--ink); font-weight: 800; }
.kicker-label { color: var(--text); }
.kicker-meta { color: var(--text-dim); }

.ro { margin: 0; }
.ro dt {
  color: var(--text-dim);
  font: 700 .62rem/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ro dd {
  margin: 6px 0 0;
  color: var(--text);
  font: 400 clamp(1.45rem, 3vw, 2.3rem)/1 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ro-key { color: var(--key) !important; }
.ro-dim { color: var(--text-dim) !important; }

.hud-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(20px, 4vw, 44px);
  width: fit-content;
  max-width: 100%;
  margin: 0 0 clamp(32px, 4vw, 48px);
  padding: 16px 20px 18px;
  border: 1px solid var(--line-strong);
  background: #0f0f11;
  color: var(--text);
}
.hud-row::after, .deck::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 3px);
}
.sec-paper .hud-row { box-shadow: 7px 7px 0 rgba(21, 20, 19, .2); transform: rotate(-.6deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 76px) 0 0;
  background:
    radial-gradient(ellipse at 72% 26%, rgba(255, 0, 78, .12), transparent 56%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 0, 78, .5) 1.7px, transparent 2.3px) 0 0 / 11px 11px;
  -webkit-mask-image: radial-gradient(circle at 60% 40%, #000, transparent 62%);
  mask-image: radial-gradient(circle at 60% 40%, #000, transparent 62%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 48px); align-items: center; }
.hero-copy, .deck { min-width: 0; }
@media (min-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); }
}

.hero-logo { margin: 0 0 20px; line-height: 0; }
.hero-logo img { width: min(350px, 84vw); height: auto; }
.glitch-img { display: inline-block; }
.glitch-img:hover img { animation: glitch-img .32s steps(2) 3; }
@keyframes glitch-img {
  0% { transform: translate(2px, -1px); filter: drop-shadow(-4px 0 var(--cyan)) drop-shadow(4px 0 var(--red)); }
  50% { transform: translate(-3px, 1px); filter: drop-shadow(4px 0 var(--cyan)) drop-shadow(-4px 0 var(--red)); }
  100% { transform: none; filter: none; }
}

.hero-slogan {
  margin: 0 0 24px;
  color: var(--paper);
  font: 400 clamp(2.35rem, 6.2vw, 4.25rem)/1.02 var(--heavy);
  letter-spacing: .005em;
  filter: url(#rough);
}
.hero-slogan .dirty { position: relative; display: inline-block; white-space: nowrap; }

.hero-lead { max-width: 34em; margin-bottom: 28px; color: var(--text); font-size: 1.15em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
@media (max-width: 520px) {
  .hero-cta .btn { width: 100%; }
}
.hero-meta { color: var(--text-dim); font: 600 .8rem/1.5 var(--mono); letter-spacing: .08em; }

/* the deck (canvas waveform, readouts) */

.deck {
  position: relative;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: #111113;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 0 7px rgba(236, 231, 219, .025);
}
.deck::before {
  content: "";
  position: absolute;
  top: -15px;
  right: 14%;
  z-index: 3;
  width: 140px;
  height: 30px;
  background: rgba(236, 226, 196, .6);
  clip-path: var(--tape);
  transform: rotate(-3deg);
}

.deck-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 22px;
  margin-bottom: 12px;
}
.deck-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.deck-cover {
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle, var(--ink) 1.3px, transparent 1.8px) 0 0 / 5px 5px,
    linear-gradient(135deg, var(--paper), #8f8a7e);
}
.deck-names { min-width: 0; }
.deck-title { display: block; overflow: hidden; font: 700 1.12rem/1.25 var(--sans); white-space: nowrap; text-overflow: ellipsis; }
.deck-sub { display: block; color: var(--text-dim); font-size: .8rem; line-height: 1.6; }
.stars { color: var(--text); letter-spacing: .04em; }

.readouts { display: flex; flex-wrap: wrap; gap: 8px clamp(14px, 2.4vw, 26px); margin: 0; }
.readouts .ro dd { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }

.deck-screen { position: relative; display: flex; gap: 6px; }
.deck-wave {
  display: block;
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 210px;
  background: #0a0a0b;
}
@media (max-width: 600px) { .deck-wave { height: 160px; } }
.deck-static { position: absolute; top: 0; left: 0; width: calc(100% - 30px); height: 100%; }

.meters { display: flex; flex: none; gap: 3px; width: 24px; }
.meter { position: relative; flex: 1; overflow: hidden; background: #0a0a0b; }
.meter i {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #77746c 0 64%, #d6d2c6 64% 86%, var(--red) 86%);
  transform: scaleY(.6);
  transform-origin: 50% 100%;
}

.deck-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.deck-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: 800 .74rem/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.deck-btn:hover { background: #fff; }
.deck-btn-ico { position: relative; width: 10px; height: 12px; }
.deck-btn-ico::before, .deck-btn-ico::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: currentColor;
}
.deck-btn-ico::before { left: 0; }
.deck-btn-ico::after { right: 0; }
.deck-btn.is-paused .deck-btn-ico::before {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  background: none;
}
.deck-btn.is-paused .deck-btn-ico::after { display: none; }

.pads, .leds { display: flex; flex-wrap: wrap; gap: 4px; }
.pads span, .leds span {
  padding: 6px 7px;
  border: 1px solid var(--line);
  background: #19191c;
  color: var(--text-dim);
  font: 700 .66rem/1 var(--mono);
  letter-spacing: .04em;
}
.pads .on, .leds .lit { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.leds { margin-left: auto; }
@media (max-width: 600px) { .pads { display: none; } }

/* The deck's two states: live (the host's station, on the air) and the demo (nothing to press). */
.deck-cover { overflow: hidden; }
.deck-cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.onair-tag { display: inline-flex; align-items: center; margin-right: .35em; color: var(--red); font: 800 .7rem/1 var(--mono); letter-spacing: .18em; }
.onair-tag .led { width: 7px; height: 7px; margin-right: .55em; }
.ro-onair { color: var(--red) !important; }
.deck-live .ro-demo, .deck-demo .ro-live, .deck-live .pads, .deck-live .leds { display: none; }
.deck-demo .deck-controls { pointer-events: none; user-select: none; }
.deck-demo .pads, .deck-demo .leds { opacity: .55; }
.deck-demo .deck-wave { filter: brightness(.78) saturate(.85); }
.deck-note {
  position: absolute;
  top: 40%;
  left: calc(50% - 15px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 70px);
  margin: 0;
  padding: 10px 15px;
  background: var(--paper);
  color: var(--ink);
  font: 800 .76rem/1.35 var(--mono);
  letter-spacing: .12em;
  text-align: left;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .65);
  transform: translate(-50%, -50%) rotate(-2deg);
  pointer-events: none;
}
.deck-note:empty { display: none; }
.deck-demo .deck-note::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #6b6b6b;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4);
}
.deck-live .deck-note { text-transform: none; letter-spacing: .02em; font-family: var(--sans); font-size: .9rem; }
.deck-live .deck-btn { background: var(--red); }
.deck-live .deck-btn:hover { background: #ff3370; }
.deck-live .deck-btn.is-on { background: var(--paper); }
.deck-live .deck-btn.is-on:hover { background: #fff; }
.deck-btn.is-on .deck-btn-ico::before { top: 1px; bottom: auto; width: 10px; height: 10px; }
.deck-btn.is-on .deck-btn-ico::after { display: none; }
.deck-btn[disabled] { opacity: .6; cursor: progress; }
.deck-vol { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--text-dim); font: 700 .66rem/1 var(--mono); letter-spacing: .16em; }
.deck-vol input { width: min(140px, 30vw); accent-color: var(--red); }
/* The station's chat (radio/chat.css draws it), under the deck while listening. */
.deck-chat { margin-top: 14px; }
.deck-chat .dchat { background: #0d0d0f; }

.chip {
  display: inline-block;
  padding: 3px 6px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: rgba(0, 0, 0, .35);
  font: 700 .72rem/1.1 var(--sans);
  white-space: nowrap;
}
.i12 { color: #ffaaff; }
.i11 { color: #ff9494; }
.i10 { color: #ffc995; }
.i9 { color: #fff095; }
.i8 { color: #edff95; }
.i7 { color: #c5ff95; }
.i6 { color: #95ff9b; }
.i5 { color: #95ffcd; }
.i4 { color: #94fff2; }
.i3 { color: #94e9ff; }
.i2 { color: #94c0ff; }
.i1 { color: #ddcfc1; }
.i0 { color: #d4d4d4; }
.im1 { color: #dda1a1; }

/* the tape across the hero */

.tape-band {
  position: relative;
  z-index: 2;
  margin: clamp(44px, 6vw, 80px) -3% 0;
  background:
    linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, .22)),
    url(concrete.svg) 0 0 / 512px 512px,
    var(--concrete);
  color: var(--ink);
  transform: rotate(-1.4deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5);
}
.tape-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 0 auto;
  padding-top: 13px;
  padding-bottom: 13px;
  list-style: none;
  font: 800 .78rem/1.35 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tape-list li::after { content: "\2715"; margin: 0 .9em; color: var(--red-deep); }
.tape-list li:last-child::after { content: none; }

/* ---------- sections ---------- */

.sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; overflow-x: clip; }

.sec-dark {
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--ink);
}

.sec-paper, .sec-red { z-index: 1; }
.sec-paper {
  background:
    radial-gradient(ellipse 70% 90% at 22% 18%, rgba(255, 255, 255, .2), transparent 70%),
    radial-gradient(ellipse 80% 80% at 100% 100%, rgba(0, 0, 0, .14), transparent 70%),
    url(concrete.svg) 0 0 / 512px 512px,
    var(--concrete);
  color: var(--on-paper);
}
.sec-red {
  background:
    linear-gradient(var(--red), var(--red)),
    linear-gradient(rgba(255, 255, 255, .68), rgba(255, 255, 255, .68)),
    url(concrete.svg) 0 0 / 512px 512px,
    #fff;
  background-blend-mode: multiply, normal, normal;
  color: var(--ink);
}
.sec-paper::before, .sec-paper::after, .sec-red::before, .sec-red::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  pointer-events: none;
}
.sec-paper::before, .sec-paper::after { background: url(concrete.svg) 0 21px / 512px 512px, var(--concrete); }
.sec-red::before, .sec-red::after {
  background:
    linear-gradient(var(--red), var(--red)),
    linear-gradient(rgba(255, 255, 255, .68), rgba(255, 255, 255, .68)),
    url(concrete.svg) 0 21px / 512px 512px,
    #fff;
  background-blend-mode: multiply, normal, normal;
}
.sec-paper::before, .sec-red::before { top: -21px; clip-path: var(--torn-top); }
.sec-paper::after, .sec-red::after { bottom: -21px; clip-path: var(--torn-bottom); }

.sec-paper a:hover, .sec-paper .fig { color: var(--red-deep); }
.sec-paper a { text-decoration-color: var(--red-deep); }
.sec-paper .kicker-label { color: var(--on-paper); }
.sec-paper .kicker-meta { color: var(--on-paper-dim); }
.sec-paper code { background: rgba(21, 20, 19, .09); }
.sec-paper kbd { background: #f3f3f1; color: var(--on-paper); border-color: rgba(21, 20, 19, .45); }

.sec-red .kicker-idx { background: var(--ink); color: var(--red); }
.sec-red .kicker-label { color: var(--ink); }
.sec-red .kicker-meta { color: var(--ink); }
.sec-red a { color: var(--ink); text-decoration-color: var(--ink); }
.sec-red a:hover { color: var(--ink); }
.sec-red .btn-ink, .sec-red .btn-ink:hover { color: var(--paper); }
.sec-red :focus-visible { outline-color: var(--ink); }
.sec-red .release-main :focus-visible { outline-color: var(--red); }

.sec-head { margin-bottom: clamp(30px, 4vw, 52px); }

.title {
  position: relative;
  z-index: 0;
  margin: 0;
  font: 400 clamp(2.5rem, 7.4vw, 5.6rem)/.94 var(--heavy);
  letter-spacing: .01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  filter: url(#rough);
}
.title-xl { font-size: clamp(2.4rem, 10.5vw, 8.4rem); }

/* stencil: thin bridges cut through every line */
.stencil {
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 .43em, transparent .43em .5em, #000 .5em .94em);
  mask-image: repeating-linear-gradient(180deg, #000 0 .43em, transparent .43em .5em, #000 .5em .94em);
}
.stencil::before, .stencil::after {
  content: attr(data-text) / "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
.stencil::before { color: var(--red); transform: translate(-4px, 0); }
.stencil::after { color: var(--cyan); transform: translate(4px, 0); }
.stencil:hover::before, .stencil:hover::after { opacity: .85; animation: slice .8s steps(4) infinite; }
.stencil:hover::after { animation-delay: -.4s; }
.sec-paper .stencil::after { color: #0aa6c2; }
@keyframes slice {
  0% { clip-path: inset(0 0 72% 0); }
  25% { clip-path: inset(38% 0 34% 0); }
  50% { clip-path: inset(76% 0 4% 0); }
  75% { clip-path: inset(12% 0 62% 0); }
  100% { clip-path: inset(0 0 72% 0); }
}

/* ransom note: every letter cut from another page */
.ransom { display: inline; }
.rw { display: inline-flex; flex-wrap: nowrap; align-items: baseline; gap: .05em; }
.rw + .rw { margin-left: .26em; }
.rl {
  display: inline-block;
  padding: .07em .12em .04em;
  line-height: 1;
  text-transform: none;
}
.rl0 { background: var(--paper); color: var(--ink); font-family: var(--type); font-weight: 700; transform: rotate(-4deg); clip-path: polygon(3% 0, 100% 5%, 96% 100%, 0 94%); }
.rl1 { background: var(--red); color: var(--ink); font-family: var(--heavy); font-size: 1.08em; transform: rotate(3deg) translateY(.05em); clip-path: polygon(0 4%, 97% 0, 100% 92%, 4% 100%); }
.rl2 { background: var(--ink); color: var(--paper); font-family: var(--serif); font-style: italic; font-weight: 700; box-shadow: inset 0 0 0 2px var(--paper); transform: rotate(-2deg); }
.rl3 { background: #f6f2e8; color: var(--red-deep); font-family: var(--sans); font-weight: 900; font-size: .92em; transform: rotate(5deg) translateY(-.06em); clip-path: polygon(0 0, 100% 6%, 94% 100%, 5% 96%); }
.rl4 { background: var(--paper-3); color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: .94em; transform: rotate(-6deg); }
.rl5 { background: var(--ink); color: var(--red); font-family: var(--heavy); box-shadow: inset 0 0 0 2px var(--red); transform: rotate(2deg); }
.rl6 { background: #fffdf8; color: var(--ink); font-family: var(--serif); font-size: 1.12em; transform: rotate(-3deg) translateY(.06em); clip-path: polygon(5% 2%, 100% 0, 97% 97%, 0 100%); }
.rl7 { background: var(--red-deep); color: #fff; font-family: var(--type); font-weight: 700; font-size: .96em; transform: rotate(4deg); }
.title-ransom .rw { gap: .07em; }
.title-ransom .rl { padding: .08em .14em .05em; }
.sec-red .rl1 { background: var(--ink); color: var(--red); }
.sec-red .rl7 { background: var(--paper); color: var(--red-deep); }

/* marker scribbles */
.scribble { position: absolute; max-width: none; overflow: visible; pointer-events: none; }
.scribble path {
  fill: none;
  stroke: var(--red);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.scribble.is-pending path { stroke-dashoffset: 1; }
.scribble.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
.hero-slogan .scribble-underline { left: -4%; bottom: -.36em; width: 108%; height: .42em; }
.ro-circled { position: relative; }
.ro-circled .scribble-circle { top: 4px; left: -18px; width: calc(100% + 36px); height: calc(100% + 8px); }
.ro-circled .scribble path { stroke-width: 3.5; }

.marker-note {
  position: relative;
  width: fit-content;
  margin: 26px 0 0 auto;
  padding: 0 4px 0 0;
  color: var(--red-deep);
  font: 400 1.35rem/1.1 var(--marker);
  transform: rotate(-3deg);
}
.marker-note .scribble-arrow { top: -40px; left: -78px; width: 80px; height: 46px; }
.marker-note .scribble path { stroke: var(--red-deep); stroke-width: 5; }
.shot-strip.in-text { margin: 4px 0 1.4em; }

/* ---------- features ---------- */

.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.feature + .feature, .panel-dark + .feature { margin-top: clamp(52px, 7vw, 100px); }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature-flip > .prose { order: 2; }
}
.feature-center { display: block; max-width: 920px; margin: clamp(48px, 6vw, 80px) auto 0; }

.prose { max-width: 62ch; }
.prose > :last-child { margin-bottom: 0; }
.lede { font-size: 1.2em; font-weight: 600; line-height: 1.45; }
.small { color: var(--text-dim); font-size: .88em; }
.sec-paper .small { color: var(--on-paper-dim); }
.sec-red .small { color: var(--ink); }
.dim { color: var(--text-dim); }

.sub {
  margin: 0 0 .6em;
  font: 400 clamp(1.55rem, 3vw, 2.2rem)/1 var(--heavy);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.prose .sub:not(:first-child) { margin-top: 1.4em; }

.ticks { margin: 0 0 1.2em; padding: 0; list-style: none; }
.ticks li { position: relative; margin: 0 0 .85em; padding-left: 1.7em; }
.ticks li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: .95em;
  height: 3px;
  background: var(--red);
  transform: rotate(-9deg);
}
.sec-paper .ticks li::before { background: var(--red-deep); }

.keys {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 10px 20px;
  margin: 1.6em 0 1.2em;
  padding: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: .9rem;
}
.keys kbd { color: var(--text); }

/* screenshots: cards that tilt toward the pointer */
.media { position: relative; min-width: 0; }
.media-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 3.4vw, 40px) clamp(18px, 2.4vw, 28px);
  align-items: start;
}
.media-stack > * { grid-column: 1 / -1; }
.media-stack > .shot-md { width: 88%; }
.media-stack > .shot-md.rot-r { justify-self: end; }
@media (min-width: 640px) {
  .media-stack > .shot-half { grid-column: auto; }
}

.shot { position: relative; margin: 0; min-width: 0; }
.shot-link {
  position: relative;
  display: block;
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  box-shadow: 0 24px 46px -24px rgba(0, 0, 0, .9);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--lift, 0px), 0);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
  text-decoration: none;
}
.sec-paper .shot-link { border-color: rgba(21, 20, 19, .55); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .7); }
.shot-link img { display: block; width: 100%; height: auto; }
.shot-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .3), rgba(255, 255, 255, .07) 28%, transparent 58%);
  transition: opacity .5s var(--ease);
}
.shot.is-tilt .shot-link {
  transition: transform .1s linear, box-shadow .4s var(--ease);
  box-shadow: 0 40px 70px -28px rgba(0, 0, 0, .95);
}
.shot.is-tilt .shot-glare { opacity: 1; }
.shot-link:hover img { filter: drop-shadow(-3px 0 rgba(255, 0, 78, .75)) drop-shadow(3px 0 rgba(24, 224, 255, .65)); }
.shot-link:focus-visible { --lift: -8px; outline: 3px solid var(--red); outline-offset: 5px; box-shadow: 0 34px 56px -26px rgba(0, 0, 0, .95); }

.shot figcaption {
  margin-top: 12px;
  color: var(--text-dim);
  font: 500 .8rem/1.5 var(--mono);
}
.sec-paper .shot figcaption { color: var(--on-paper-dim); }
.fig { margin-right: .35em; color: var(--red); font-weight: 800; }

.rot-l { transform: rotate(-.7deg); }
.rot-r { transform: rotate(.6deg); }
@media (min-width: 900px) {
  .rot-l { transform: rotate(-1.1deg); }
  .rot-r { transform: rotate(.9deg); }
}

.tape::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  z-index: 2;
  width: 128px;
  height: 30px;
  margin-left: -64px;
  background:
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(0, 0, 0, .04) 4px 5px),
    rgba(236, 226, 196, .62);
  clip-path: var(--tape);
  transform: rotate(-4deg);
  pointer-events: none;
}
.tape.rot-r::before { left: 24%; transform: rotate(6deg); }
.sec-paper .tape::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(0, 0, 0, .05) 4px 5px),
    rgba(249, 236, 178, .82);
}

.shot-strip { max-width: 696px; }
.shot-strip .shot-link { box-shadow: none; }
.media-phone { display: grid; gap: 30px; align-items: start; }
@media (min-width: 640px) {
  .media-phone { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.shot-phone { max-width: 340px; }
.shot-phone .shot-link img { height: min(620px, 150vw); object-fit: cover; object-position: 50% 0; }

/* signal chain */
.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: 0;
  list-style: none;
  font: 800 .8rem/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chain li {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 30px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--text);
  box-shadow: 4px 4px 0 rgba(21, 20, 19, .2);
}
.chain li:nth-child(even) { transform: rotate(1.2deg); }
.chain li:nth-child(3n) { transform: rotate(-1.4deg); background: var(--red); color: var(--ink); }
.chain li span { margin-left: .5em; color: var(--text-dim); font-weight: 600; text-transform: none; letter-spacing: 0; }
.chain li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -24px;
  color: var(--on-paper);
  font-size: 1.1rem;
}

/* intensity, on a dark panel */
.panel-dark {
  position: relative;
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 20px 22px 22px;
  background: var(--ink);
  color: var(--text);
  box-shadow: 8px 8px 0 rgba(21, 20, 19, .22);
}
.panel-label {
  margin: 0 0 14px;
  color: var(--text-dim);
  font: 800 .7rem/1.2 var(--mono);
  letter-spacing: .2em;
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.chips .chip { padding: 7px 10px; font-size: .86rem; }

/* MIDI mappings */
.midi-map {
  margin: 1.5em 0 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  list-style: none;
  font: 500 .86rem/1.3 var(--mono);
}
.midi-map li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 9px 13px; border-top: 1px solid var(--line); }
.midi-map li:first-child { border-top: 0; }
.midi-map li span:first-child { color: var(--text-dim); }
.midi-map li span:last-child::before { content: "\25CF\00a0"; color: var(--red); }

/* radio */
.station {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 clamp(36px, 5vw, 56px);
  padding: 18px 22px;
  border: 2px solid var(--red);
  background: rgba(255, 0, 78, .07);
}
.onair { display: inline-flex; align-items: center; color: var(--red); font: 800 .92rem/1 var(--mono); letter-spacing: .22em; }
.station-code { color: var(--paper); font: 400 clamp(1.7rem, 6vw, 3.3rem)/1 var(--mono); letter-spacing: .08em; overflow-wrap: anywhere; }
.station-meta { color: var(--text-dim); font: 700 .72rem/1.3 var(--mono); letter-spacing: .14em; }

.tune { margin-top: 30px; padding: 20px; border: 1px dashed var(--line-strong); background: rgba(0, 0, 0, .25); }
.tune label { display: block; margin-bottom: 12px; font-weight: 700; }
.tune-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tune input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px;
  border: 2px solid var(--line-strong);
  border-radius: 0;
  background: var(--ink-2);
  color: var(--paper);
  font: 400 1.2rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tune input::placeholder { color: var(--text-dim); opacity: .7; }
.tune input:focus-visible { border-color: var(--red); outline-offset: 2px; }
.tune .btn-red { box-shadow: 4px 4px 0 var(--paper); }
.tune .small { margin: 12px 0 0; }

/* The public stations on the air on this site: a board of cards, each a way in to listen. */
.onair-board {
  position: relative;
  margin: 0 0 clamp(40px, 5vw, 60px);
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--red);
  background: rgba(0, 0, 0, .3);
}
.onair-board::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 9%;
  width: 120px;
  height: 28px;
  background: rgba(236, 226, 196, .6);
  clip-path: var(--tape);
  transform: rotate(-3deg);
  pointer-events: none;
}
.oa-head { margin-bottom: 18px; }
.oa-head .panel-label { display: flex; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.oa-head .panel-label .led { width: 8px; height: 8px; margin-right: .7em; }
.oa-head .sep { margin: 0 .6em; color: var(--red); }
.oa-head .sub { margin: 0; color: var(--paper); }
.oa-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Past the first twelve, a button shows the rest (site.js; without it, all show). */
.js .oa-list:not(.is-all) > .oa-item:nth-child(n+13) { display: none; }
.oa-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 10px 14px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-strong);
  background: #111113;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .45);
}
.oa-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
}
.oa-cover {
  position: relative;
  grid-row: 1 / span 2;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle, var(--ink) 1.3px, transparent 1.8px) 0 0 / 5px 5px,
    linear-gradient(135deg, var(--paper), #8f8a7e);
}
/* No cover: a blank sleeve with a red label, as a record without its picture. */
.oa-cover:empty::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ink) 0 3px, var(--red) 3.5px 100%);
  box-shadow: 0 0 0 2px var(--ink);
}
.oa-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 480px) {
  .oa-item { grid-template-columns: 64px minmax(0, 1fr); gap: 10px 12px; padding: 12px; }
  .oa-cover { width: 64px; height: 64px; }
}
.oa-body { min-width: 0; }
.oa-station {
  margin: 0 0 3px;
  overflow: hidden;
  color: var(--red);
  font: 800 .7rem/1.35 var(--mono);
  letter-spacing: .14em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.oa-title {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font: 700 1.12rem/1.25 var(--sans);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.oa-desc {
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--text-dim);
  font-size: .86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.oa-now {
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--text);
  font: 500 .8rem/1.4 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.oa-now-tag { margin-right: .3em; padding: 2px 5px; background: var(--paper); color: var(--ink); font-weight: 800; font-size: .66rem; letter-spacing: .12em; }
.oa-foot {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.oa-ears { color: var(--text-dim); font: 700 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.oa-ears::before { content: "\25CF\00a0"; color: var(--red); }
.oa-foot .btn { position: relative; z-index: 1; box-shadow: 3px 3px 0 var(--paper); }
.oa-empty {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 10px 15px;
  background: var(--paper);
  color: var(--ink);
  font: 800 .8rem/1.4 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, .65);
  transform: rotate(-1deg);
}
.oa-more { margin: 16px 0 0; }
.oa-how { max-width: 70ch; margin: 18px 0 0; }

/* languages and themes */
.stickers { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; list-style: none; }
.stickers li {
  padding: 10px 15px;
  background: var(--ink);
  color: var(--paper);
  font: 800 1.08rem/1.1 var(--sans);
  box-shadow: 3px 3px 0 rgba(21, 20, 19, .25);
  transform: rotate(-1deg);
}
.stickers li:nth-child(3n+1) { background: var(--red); color: var(--ink); transform: rotate(-2.5deg); }
.stickers li:nth-child(3n+2) { transform: rotate(1.6deg); }
.stickers li:nth-child(3n) { background: #fffdf6; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 3px 3px 0 rgba(21, 20, 19, .25); }
.stickers a { color: inherit; text-decoration: none; }
.stickers a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

.themes { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; font: 700 .76rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.themes li { padding: 7px 9px; border: 1.5px solid currentColor; }
.themes li:nth-child(11) { background: var(--on-paper); color: var(--paper); border-color: var(--on-paper); }

.hud-stats .ro dd { color: var(--paper); }

/* DJ editions */
.sec-dj {
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(255, 0, 78, .1), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 6px),
    var(--dj);
}
.sec-dj .hud-row { background: #0b0b0b; border-color: rgba(255, 255, 255, .16); }
.dj-stats dd { font-size: clamp(1.2rem, 2.4vw, 1.8rem); }

.dj-path { margin: clamp(52px, 7vw, 96px) 0 0; }
.dj-path-cap { max-width: 70ch; margin: 0 0 18px; color: var(--text-dim); }
.dj-path-tag { margin-right: .5em; color: var(--red); font: 800 .74rem/1 var(--mono); letter-spacing: .18em; }

/* the speakers at the DJ section's back: big, faint, behind the text, the cones pumping on the beat
   while the section is on screen (sound.js sets is-pumping; off with reduced motion) */
.sec-dj { isolation: isolate; }
.sec-dj > .wrap { position: relative; z-index: 1; }
.dj-speakers { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.dj-spk {
  position: absolute;
  width: clamp(300px, 34vw, 540px);
  height: auto;
  opacity: .34;
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 35%, transparent 96%);
}
.dj-spk-l { top: 620px; left: -14%; transform: rotate(-4deg); }
.dj-spk-r { top: 10px; right: -3%; transform: rotate(3deg); }
.spk-cone, .spk-tw { transform-box: fill-box; transform-origin: center; }
.sec-dj.is-pumping .spk-cone { animation: spk-pump .6s cubic-bezier(.2, .9, .3, 1) infinite; }
.sec-dj.is-pumping .spk-tw { animation: spk-pump .3s cubic-bezier(.2, .9, .3, 1) infinite; }
@keyframes spk-pump { 0% { transform: scale(1.05); } 30% { transform: scale(.985); } 100% { transform: scale(1); } }
@media (max-width: 760px) {
  .dj-spk-l { display: none; }
  .dj-spk-r { top: 20px; right: -36%; width: 300px; opacity: .2; }
}

/* the plugins: a badge in the header, and one on the hero's tape */
.vst-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px .6em;
  margin: 20px 0 0;
  padding: 8px 12px;
  border: 2px solid var(--vst);
  color: var(--text);
  font: 800 .78rem/1.3 var(--mono);
  letter-spacing: .14em;
  transform: rotate(-1.2deg);
  box-shadow: 4px 4px 0 rgba(180, 140, 255, .28);
}
.vst-badge b { padding: 3px 7px; background: var(--vst); color: var(--ink); }
.vst-badge .sep { color: var(--vst); }
.tape-list .tape-hot { padding: 0 .45em; background: var(--ink); color: #cdb4ff; }
.tape-list .tape-hot::after { color: var(--vst); }
.sec-dj .hud-row .ro:nth-child(2) dd { color: var(--vst); }

/* the channel strip: the controls on the left, as on a mixer, what each stage does beside it */
.dj-strip .strip {
  max-width: 1000px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  background: #121212;
  list-style: none;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9);
}
.st {
  display: grid;
  grid-template-columns: 112px minmax(0, 10rem) minmax(0, 1fr);
  gap: 0 18px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.st:first-child { border-top: 0; }
.st-ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  gap: 5px;
  padding: 11px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(90deg, #1b1b1e, #29292d 50%, #1b1b1e);
}
.st-name { color: var(--text); font: 800 .9rem/1.15 var(--mono); letter-spacing: .1em; }
.st-name small { display: block; margin-top: 4px; color: var(--text-dim); font-size: .62rem; letter-spacing: .08em; }
.st-desc { padding: 11px 16px 11px 0; color: var(--text-dim); font-size: .92rem; line-height: 1.45; }
.st-vst { background: linear-gradient(90deg, rgba(180, 140, 255, .1), transparent 60%); }
.st-vst .st-name, .st-vst .st-name small { color: var(--vst); }
.st-tap .st-name small { color: var(--cyan); }
.st-out .st-ctl { background: var(--red); }
.st-out .st-name { color: var(--red); }
@media (max-width: 640px) {
  .st { grid-template-columns: 76px minmax(0, 1fr); gap: 0 12px; }
  .st-ctl { grid-row: span 2; }
  .st-name { padding-top: 11px; }
  .st-desc { padding: 4px 12px 11px 0; }
}

/* the controls, drawn: knobs, buttons, a jog wheel, a fader */
.ctl-knob {
  position: relative;
  display: inline-block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #616168, #1b1b1e 70%);
  box-shadow: 0 0 0 2px #0a0a0b, 0 3px 5px rgba(0, 0, 0, .6);
}
.ctl-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 2px;
  height: 9px;
  margin-left: -1px;
  background: var(--paper);
  transform: rotate(-35deg);
  transform-origin: 50% 10px;
}
.ctl-knob.sm { width: 16px; height: 16px; }
.ctl-knob.sm::after { top: 2px; height: 5px; transform-origin: 50% 6px; }
.ctl-knob:nth-child(2)::after { transform: rotate(25deg); }
.ctl-knob:nth-child(3)::after { transform: rotate(-70deg); }
.ctl-knob.is-vst { box-shadow: 0 0 0 2px var(--vst), 0 3px 5px rgba(0, 0, 0, .6); }
.ctl-btn {
  display: inline-block;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: #1a1a1d;
  color: var(--text);
  font: 800 .58rem/1 var(--mono);
  font-style: normal;
  letter-spacing: .08em;
}
.ctl-btn.is-lit { border-color: var(--red); background: var(--red); color: var(--ink); }
.ctl-btn.is-vst { border-style: dashed; border-color: var(--vst); color: var(--vst); }
.ctl-btn.is-cue { border-color: var(--cyan); color: var(--cyan); }
.ctl-btn.is-dir { border-color: var(--key); color: var(--key); }
.ctl-btn.is-out { border-color: var(--ink); background: var(--ink); color: var(--red); }
.ctl-jog { display: inline-block; width: 42px; height: 42px; border: 3px solid #3c3c42; border-radius: 50%; background: radial-gradient(circle, #6a6a72 0 4px, #141416 5px); box-shadow: inset 0 0 0 6px #1d1d21; }
.ctl-fader { position: relative; display: inline-block; width: 8px; height: 48px; border-radius: 4px; background: #050505; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.ctl-fader::after {
  content: "";
  position: absolute;
  top: 12px;
  left: -9px;
  width: 26px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(#d9d6cc, #8f8a7e);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25), 0 0 0 1px #000;
}

/* the plugins block: what they do, and a rack of slots and units */
.vst {
  display: grid;
  gap: 28px;
  margin: clamp(52px, 7vw, 96px) 0 0;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(180, 140, 255, .4);
  background: linear-gradient(135deg, rgba(180, 140, 255, .1), transparent 55%), #111113;
  box-shadow: 8px 8px 0 rgba(180, 140, 255, .16);
}
@media (min-width: 980px) { .vst { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; } }
.vst .panel-label { color: var(--vst); }
.vst .sub { margin-top: 0; }
.vst .ticks li::before { background: var(--vst); }
.rack-title { margin: 0 0 8px; color: var(--text-dim); font: 800 .64rem/1.3 var(--mono); letter-spacing: .2em; }
.rack-title .sep, .vst .panel-label .sep { margin: 0 .5em; color: var(--text-dim); }
.sound-flow .panel-label .sep { margin: 0 .5em; }
.rack-slots { display: grid; gap: 4px; margin: 0 0 20px; padding: 6px; border: 1px solid rgba(255, 255, 255, .12); background: #0a0a0b; list-style: none; }
.rack-slots li {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, #242428, #18181b);
  color: var(--text-dim);
  font: 700 .72rem/1 var(--mono);
  letter-spacing: .1em;
}
.rack-slots b { color: var(--text-dim); }
.rack-slots .on span, .rack-slots .byp span { color: var(--text); }
.rack-slots i { padding: 3px 6px; font-size: .58rem; font-style: normal; }
.rack-slots .on i { background: var(--vst); color: var(--ink); }
.rack-slots .on b { color: var(--vst); }
.rack-slots .byp i { border: 1px solid var(--line-strong); }
.rack-units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.unit {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 3px solid var(--vst);
  background: #161618;
  color: var(--text-dim);
  font: 700 .64rem/1.2 var(--mono);
  letter-spacing: .1em;
}
.unit b { color: var(--text); }
.u-mode { color: var(--vst); }
.u-name { color: var(--text); font-size: .78rem; }
.u-knobs { display: flex; gap: 7px; }
.u-learn { justify-self: start; padding: 2px 6px; border: 1px solid var(--red); color: var(--red); }

/* six modules: three by three on wide screens */
@media (min-width: 1100px) { .modules-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.module-vst { border-top-color: var(--vst); }
.module-vst .module-idx { background: var(--vst); }

/* where the sound goes: the diagram, on a speaker grille */
.sound-flow { margin: clamp(56px, 8vw, 104px) 0 0; }
.sound-flow .panel-label { display: flex; flex-wrap: wrap; align-items: center; }
.sound-flow .panel-label .led { width: 8px; height: 8px; margin-right: .7em; }
.sound-flow .sub { margin-top: 0; color: var(--paper); }
.sound-flow .net-lede { color: var(--text); font-size: 1.05em; }
.sec-dj .net-chip { border-color: var(--line-strong); color: var(--text); }
.sec-dj .net-chip:hover { border-color: var(--red); color: var(--text); }
.sec-dj .net-chip[aria-pressed="true"] { border-color: var(--paper); background: var(--paper); color: var(--ink); box-shadow: 3px 3px 0 var(--red); }
.sec-dj .net-chip-vst { border-color: var(--vst); color: var(--vst); }
.sec-dj .net-chip-vst[aria-pressed="true"] { border-color: var(--vst); background: var(--vst); color: var(--ink); }
.sec-dj .net-board { border-color: rgba(255, 255, 255, .2); box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .95); }
.net-sound .net-stage {
  background:
    radial-gradient(ellipse 70% 60% at 28% 18%, rgba(255, 255, 255, .09), transparent 62%),
    linear-gradient(rgba(8, 8, 9, .38), rgba(8, 8, 9, .38)),
    url(grille.svg) 0 0 / 16px 16px,
    #232327;
}
.net-sound .net-stage::after { background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); }
.net-sound .net-zone { fill: rgba(10, 10, 11, .55); stroke: rgba(236, 231, 219, .26); }
.net-board .k-cue { color: var(--cyan); }
.net-board .k-send { color: var(--vst); }
.net-board .k-direct { color: var(--key); }
.net-board .k-stream { color: #3ccf8e; }
.net-node.is-vst .net-box { stroke: var(--vst); stroke-width: 2.5; }
.net-node.is-vst .net-icon path { stroke: #d8c6ff; }
.net-badge { fill: var(--vst); }
.net-badge-text { fill: var(--ink); font: 800 10px var(--mono); letter-spacing: .1em; text-anchor: middle; }
.net-svg.scene-plugins .net-node:not(.is-vst):not(.is-off), .net-svg.scene-plugins .net-link:not(.is-off):not([data-id^="fx"]) { opacity: .5; }
.net-svg.scene-plugins .net-node.is-vst .net-box { fill: #241b33; filter: drop-shadow(0 0 8px rgba(180, 140, 255, .6)); }
.net-legend-note { flex-basis: 100%; }
.sec-dj .net-item { border-color: var(--line-strong); background: rgba(255, 255, 255, .03); }
.sec-dj .net-item .net-sub { color: var(--red); }
.sec-dj .net-item .net-tags span { background: var(--paper); color: var(--ink); }

.modules {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}
@media (min-width: 760px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .modules { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.module {
  position: relative;
  padding: 20px 20px 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-top: 3px solid var(--red);
  background: linear-gradient(180deg, #191919, #141414);
  font-size: .95em;
}
.module::before, .module::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #5a5a5a, #222 70%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6);
}
.module::before { left: 8px; }
.module::after { right: 8px; }
.module h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  color: var(--paper);
  font: 400 1.7rem/1 var(--heavy);
  letter-spacing: .04em;
}
.module-idx {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--red);
  color: var(--ink);
  font: 800 .8rem/1 var(--mono);
}
.module .ticks li { margin-bottom: .7em; }

/* ---------- the station chat ---------- */

/* the cards' titles are phrases, not HUD words: uppercase, a size smaller */
.modules-chat .module h3, .modules-inputs .module h3 { align-items: flex-start; font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.modules-chat .module-idx, .modules-inputs .module-idx { flex: none; }
.modules-chat code { overflow-wrap: anywhere; }
/* the chat is for adults: the 18+ note under the lede */
.adult-note { padding: 12px 14px; border-left: 3px solid var(--red); background: rgba(255, 0, 78, .07); }
.adult-mark {
  display: inline-block;
  margin-right: .35em;
  padding: 3px 6px;
  background: var(--red);
  color: var(--ink);
  font: 800 .78rem/1 var(--mono);
  letter-spacing: .08em;
  vertical-align: .12em;
}

/* a chat window drawn with HTML and CSS, as radio/chat.css draws the chat */
.chat-mock {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #111114;
  box-shadow: 12px 12px 0 rgba(255, 0, 78, .16), 0 30px 50px -28px rgba(0, 0, 0, .95);
  font-size: .9rem;
  line-height: 1.45;
}
.chat-mock::before {
  content: "";
  position: absolute;
  top: -15px;
  right: 14%;
  z-index: 1;
  width: 120px;
  height: 30px;
  background: rgba(236, 226, 196, .62);
  clip-path: var(--tape);
  transform: rotate(5deg);
}
.chat-mock p { margin: 0; }
.cm-bar { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; background: #0a0a0c; }
.cm-title {
  padding: 5px 7px;
  background: var(--red);
  color: var(--ink);
  font: 800 .64rem/1 var(--mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.cm-18 { padding: 3px 5px; border: 1px solid var(--red); border-radius: 3px; color: var(--red); font: 800 .6rem/1 var(--mono); letter-spacing: .08em; }
.cm-tabs { display: flex; flex: 1; gap: 4px; min-width: 0; overflow: hidden; }
.cm-tab { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--text-dim); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.cm-tab b { color: var(--red); font-family: var(--mono); }
.cm-tab.is-on { border-color: var(--line-strong); background: #1c1c21; color: var(--text); box-shadow: inset 0 -2px 0 var(--red); }
.cm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.cm-tool { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid var(--red); border-radius: 8px; background: rgba(255, 0, 78, .12); color: var(--text); font: 700 .74rem/1 var(--mono); }
.cm-tool svg { width: 16px; height: 16px; fill: currentColor; }
.cm-stage { display: grid; grid-template-columns: minmax(0, 1fr) 150px; }
.cm-log { display: grid; align-content: start; gap: 4px; margin: 0; padding: 10px 8px 12px; list-style: none; }
.cm-line, .cm-sys { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 2px 4px; }
.cm-sys { grid-template-columns: auto minmax(0, 1fr); color: var(--text-dim); font-size: .8rem; font-style: italic; }
.cm-join span { color: #3ccf8e; font-style: normal; }
.chat-mock time { color: var(--text-dim); font: 400 .7rem/1.5 var(--mono); opacity: .8; }
.cm-by { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cm-by b { font-weight: 800; }
.cm-line.is-host .cm-by b { color: var(--red); }
.cm-line > span:last-child { overflow-wrap: anywhere; }
.cm-av { display: block; flex: none; width: 34px; height: 34px; }
.cm-av-s { width: 16px; height: 16px; }
.cm-c1 { color: #63a4ff; }
.cm-c2 { color: #ffc145; }
.cm-people { padding: 10px 8px; border-left: 1px solid var(--line); background: #0d0d10; }
.cm-rh { display: flex; justify-content: space-between; margin-bottom: 6px !important; color: var(--text-dim); font: 700 .6rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.cm-p { display: flex; align-items: center; gap: 7px; padding: 3px 4px; font-size: .82rem; font-weight: 700; }
.cm-p.is-host { color: var(--red); }
.cm-input { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; background: #0a0a0c; }
.cm-me { width: 30px; height: 30px; flex: none; }
.cm-field { flex: 1 1 auto; min-width: 0; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--ink); color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-send { flex: none; padding: 8px 14px; border-radius: 8px; background: var(--red); color: var(--ink); font: 800 .74rem/1.4 var(--sans); letter-spacing: .04em; }
@media (max-width: 520px) {
  .cm-stage { grid-template-columns: minmax(0, 1fr); }
  .cm-people { display: none; }
}

/* ---------- the audio inputs ---------- */

/* the cards: dark panels on the paper, with the dark sections' text; AIR ONLY in the stream's green */
.modules-inputs .module { color: var(--text); box-shadow: 6px 6px 0 rgba(21, 20, 19, .22); }
.sec-paper .modules-inputs .ticks li::before { background: var(--red); }
.sec-paper .modules-inputs .module-vst .ticks li::before { background: var(--vst); }
.sec-paper .modules-inputs code { background: rgba(236, 231, 219, .08); }
.module-air { border-top-color: #3ccf8e; }
.module-air .module-idx { background: #3ccf8e; }
.sec-paper .modules-inputs .module-air .ticks li::before { background: #3ccf8e; }

/* two input strips drawn with HTML and CSS, the controls of the DJ strip */
.in-mock {
  position: relative;
  max-width: 470px;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(21, 20, 19, .7);
  background: #111113;
  color: var(--text);
  box-shadow: 12px 12px 0 rgba(21, 20, 19, .25), 0 30px 50px -28px rgba(0, 0, 0, .9);
  font: 700 .66rem/1.25 var(--mono);
  letter-spacing: .08em;
}
.in-mock::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 16%;
  width: 120px;
  height: 30px;
  background: rgba(249, 236, 178, .82);
  clip-path: var(--tape);
  transform: rotate(-5deg);
}
.in-mock p { margin: 0; }
.in-mock .in-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--text-dim); }
.in-tag { padding: 5px 7px; background: var(--red); color: var(--ink); font-weight: 800; letter-spacing: .2em; transform: rotate(-3deg); }
.in-add { margin-left: auto; padding: 5px 8px; border: 1px solid var(--line-strong); color: var(--text); }
.in-strips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.in-strip {
  display: grid;
  gap: 9px;
  align-content: start;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 3px solid var(--line-strong);
  background: linear-gradient(90deg, #1b1b1e, #242428 50%, #1b1b1e);
}
.in-strip.is-air { border-top-color: #3ccf8e; }
.in-name { display: flex; align-items: center; gap: 8px; color: var(--paper); font-size: .8rem; letter-spacing: .12em; }
.in-sw { position: relative; flex: none; width: 24px; height: 13px; border-radius: 7px; background: #3a3a40; }
.in-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--text-dim); }
.in-sw.is-on { background: var(--red); }
.in-sw.is-on::after { left: 13px; background: var(--ink); }
.in-dev { overflow: hidden; color: var(--text-dim); font-size: .58rem; white-space: nowrap; text-overflow: ellipsis; }
.in-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; color: var(--text-dim); }
.in-ctl b { color: var(--text); }
.in-fx { display: grid; gap: 3px; margin: 0; padding: 5px; border: 1px dashed var(--vst); background: rgba(180, 140, 255, .07); list-style: none; color: var(--vst); font-size: .6rem; }
.in-fx li { overflow: hidden; padding: 3px 5px; background: #0d0d0f; white-space: nowrap; text-overflow: ellipsis; }
.in-fx .in-fx-add { background: transparent; color: var(--text-dim); text-align: center; }
.in-eq { display: flex; justify-content: space-between; gap: 4px; color: var(--text-dim); font-size: .56rem; }
.in-eq span { display: grid; justify-items: center; gap: 4px; }
.in-fader { display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 4px 0 2px; }
.in-fader .ctl-fader { height: 64px; margin-right: 14px; }
.in-fader .ctl-fader::after { top: 18px; }
.in-meter { position: relative; display: block; width: 5px; height: 64px; background: #050505; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.in-meter i { position: absolute; right: 0; bottom: 0; left: 0; height: 72%; background: linear-gradient(0deg, #3ccf8e 0, #3ccf8e 60%, var(--key) 80%, var(--red)) 0 100% / 100% 64px no-repeat; }
.in-meter + .in-meter i { height: 66%; }
.in-meter.is-low i { height: 44%; }
.in-meter.is-low + .in-meter.is-low i { height: 48%; }
.in-btns, .in-route { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--text-dim); }
.in-mock .ctl-btn.is-cue { background: var(--cyan); color: var(--ink); }
.in-mock .ctl-btn.in-air { border-color: #3ccf8e; background: #3ccf8e; color: var(--ink); }
.is-air .in-route span { color: #3ccf8e; }

/* ---------- download ---------- */

.release { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 980px) { .release { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.release-main {
  position: relative;
  padding: clamp(22px, 3vw, 38px);
  background: var(--ink);
  color: var(--text);
  box-shadow: 12px 12px 0 rgba(12, 12, 13, .3);
}
.release-main::after {
  content: "";
  position: absolute;
  top: -15px;
  right: 14%;
  width: 130px;
  height: 30px;
  background: rgba(236, 226, 196, .7);
  clip-path: var(--tape);
  transform: rotate(5deg);
}
/* The panel is dark inside the red section: its small print, links and ghost buttons go light. */
.sec-red .release-main .small { color: var(--text-dim); }
.sec-red .release-main a:not(.btn) { color: var(--text); text-decoration-color: var(--red); }
.sec-red .release-main a:not(.btn):hover { color: var(--red); }
.sec-red .release-main .btn-ghost { color: var(--text); }
.release-name { margin: 0 0 22px; font: 400 clamp(1.7rem, 4vw, 2.7rem)/1 var(--heavy); text-transform: uppercase; }
.release-name span { color: var(--red); }
.release-main .btn-huge { width: 100%; }
@media (min-width: 640px) { .release-main .btn-huge { width: auto; } }
.release-facts { display: grid; gap: 10px; margin: 28px 0 0; font-size: .95rem; }
.release-facts div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 14px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 420px) { .release-facts div { grid-template-columns: minmax(0, 1fr); } }
.release-facts dt { color: var(--text-dim); font: 800 .7rem/1.9 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.release-facts dd { margin: 0; font-family: var(--mono); overflow-wrap: anywhere; }
.release-facts .sha code { padding: 0; background: none; font-size: .88rem; word-break: break-all; }
.release-facts .sha .btn-tiny { margin-left: 6px; }
.release-notes { margin-top: 26px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.release-notes p:last-child { margin: 0; color: var(--text); font-size: .95rem; }

.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  position: relative;
  padding: 18px 18px 18px 66px;
  background: var(--paper);
  color: var(--on-paper);
  box-shadow: 5px 5px 0 rgba(12, 12, 13, .3);
  counter-increment: step;
}
.steps li:nth-child(2) { transform: rotate(.8deg); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 16px;
  left: 16px;
  color: var(--red-deep);
  font: 400 2rem/1 var(--heavy);
}
.steps a { color: var(--on-paper); text-decoration-color: var(--red-deep); }
.sec-red .release + .small { margin-top: 28px; }
.release-none { max-width: 60ch; }

/* The download section: pick what you'll use (left), your build (right, sticky), then the steps. */
.builder-head .lede { max-width: 62ch; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 1040px) { .builder { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; } }
.builder-picks { display: grid; gap: 22px; }

/* In every build: a quiet strip, not choices. */
.builder-base {
  padding: 16px 20px 18px;
  background: var(--ink);
  color: var(--text);
  box-shadow: 8px 8px 0 rgba(12, 12, 13, .25);
}
.builder-base .panel-label { margin-bottom: 10px; text-transform: uppercase; }
.base-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.base-list li {
  padding: 6px 10px 6px 26px;
  position: relative;
  border: 1px solid var(--line-strong);
  font-size: .88rem;
  line-height: 1.3;
}
.base-list li::before { content: "✓"; position: absolute; left: 9px; top: 6px; color: var(--red); font-weight: 700; }

/* The three groups of choices, each a card in its colour. */
.builder-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 720px) { .builder-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick-card {
  --c: var(--red);
  min-width: 0;
  margin: 0;
  padding: 0 14px 14px;
  border: 0;
  border-top: 4px solid var(--c);
  background: var(--ink);
  color: var(--text);
  box-shadow: 8px 8px 0 rgba(12, 12, 13, .25);
}
.pick-cyan { --c: var(--cyan); }
.pick-vst { --c: var(--vst); }
.pick-red { --c: var(--red); }
.pick-card legend { float: left; width: 100%; margin: 0 0 12px; padding: 14px 0 0; }
.pick-card legend + * { clear: both; }
.pick-hud { display: block; color: var(--c); font: 400 1.6rem/1 var(--heavy); letter-spacing: .04em; }
.pick-what { display: block; margin-top: 4px; color: var(--text-dim); font-size: .86rem; }
.pick-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: .93rem;
  line-height: 1.35;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.pick-item:hover { border-color: var(--line-strong); }
.pick-item input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--c); }
.pick-item:has(input:checked) { border-color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); }
.pick-card:disabled .pick-item { cursor: default; }
.pick-item.is-off { opacity: .45; }
.pick-note { margin: 10px 0 0; color: var(--text-dim); font-size: .8rem; line-height: 1.4; }

/* Your build: follows the page while you pick. */
.builder-sum { position: relative; }
@media (min-width: 1040px) { .builder-sum { position: sticky; top: 96px; } }
/* Picked: on a narrow screen the build (and its download) comes first; the picks follow. */
@media (max-width: 1039px) { .builder.is-done .builder-sum { order: -1; } }
.builder-sum .release-name { margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.05; }
.builder-sum .release-name .sum-name { color: var(--text); }
.builder-sum .btn-huge { width: 100%; justify-content: center; }
.build-has { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.build-has li { padding: 5px 9px; border: 1px solid var(--line-strong); font: 800 .7rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; transition: border-color .15s var(--ease), color .15s var(--ease); }
.build-has .is-in { border-color: var(--red); color: var(--text); }
.build-has .is-in::before { content: "✓ "; color: var(--red); }
.build-has .is-out { color: var(--text-dim); opacity: .6; text-decoration: line-through; }
.sum-price { margin: 0 0 18px; font: 700 1rem/1.4 var(--mono); }
.sum-alt { margin: 12px 0 0; font-size: .92rem; }
.builder-sum .release-facts { margin-top: 20px; }
.builder-sum .release-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }

/* Then: the three steps, in a row. */
.steps-row { margin-top: 44px; }
@media (min-width: 860px) { .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps-row li:nth-child(2) { transform: rotate(.6deg) translateY(6px); } }

/* ---------- updates ---------- */

.cards4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px 26px; }
@media (min-width: 780px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative;
  padding: 26px 24px 22px;
  border: 1.5px solid var(--on-paper);
  background: #f7f3ea;
  color: var(--on-paper);
  box-shadow: 7px 7px 0 rgba(21, 20, 19, .16);
}
.card:nth-child(2) { transform: rotate(.5deg); }
.card:nth-child(3) { transform: rotate(-.5deg); }
.card h3 { margin: 0 0 14px; font: 400 1.65rem/1 var(--heavy); text-transform: uppercase; }
.card p { font-size: .97rem; }
.card > :last-child { margin-bottom: 0; }
.card-idx {
  position: absolute;
  top: -18px;
  right: 18px;
  margin: 0;
  padding: 6px 12px;
  background: var(--red);
  color: var(--ink);
  font: 400 1.5rem/1 var(--heavy);
  transform: rotate(5deg);
}
.code {
  margin: 0 0 1em;
  padding: 14px 16px;
  overflow-x: auto;
  background: var(--ink);
  color: var(--paper);
  font: 500 .84rem/1.55 var(--mono);
}
.code code, .sec-paper .code code { padding: 0; background: none; font-size: 1em; overflow-wrap: normal; }

/* ---------- privacy ---------- */

.zeroes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
  margin: 0 0 clamp(40px, 5vw, 60px);
  padding: 0;
  list-style: none;
}
.zeroes li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, .3);
  color: var(--text-dim);
  font: 800 .74rem/1.35 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.zero { color: var(--red); font: 400 3.2rem/1 var(--mono); letter-spacing: 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
@media (min-width: 980px) { .privacy-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hash-demo {
  position: relative;
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  background: rgba(0, 0, 0, .35);
  font: 500 .86rem/1.7 var(--mono);
}
.hash-demo p { position: relative; margin: 0; overflow-wrap: anywhere; }
.hash-demo .dim { display: inline-block; width: 4.6em; color: var(--red); }
.hash-demo .scribble-cross { top: -4px; left: 4.4em; width: 10em; height: 2.1em; }

/* ---------- donate ---------- */

.donate-links { display: flex; flex-wrap: wrap; gap: 18px 22px; margin: 30px 0 0; padding: 0; list-style: none; }
.donate-links li:nth-child(even) .btn { transform: rotate(1.5deg); }
.donate-links li:nth-child(odd) .btn { transform: rotate(-1.2deg); }
.sec-donate .lede { max-width: 40em; }

/* ---------- footer ---------- */

.site-footer { padding: 64px 0 44px; border-top: 1px solid var(--line); background: var(--ink); text-align: center; }
.footer-logo { width: 240px; height: auto; }
.footer-slogan { margin: 18px 0 8px; color: var(--paper); font: 400 clamp(1.35rem, 3.4vw, 2.1rem)/1.1 var(--heavy); }
.credit { margin: 0; color: var(--text-dim); font: 700 .86rem/1.5 var(--mono); letter-spacing: .03em; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  margin: 24px 0 16px;
  padding: 0;
  list-style: none;
  font: 700 .76rem/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-nav a { display: inline-block; padding: 10px 0; color: var(--text-dim); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-langs ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 18px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font: 600 .86rem/1 var(--sans);
}
.footer-langs a { display: inline-block; padding: 8px 0; color: var(--text-dim); text-decoration: none; }
.footer-langs a:hover { color: var(--text); }
.footer-langs a[aria-current] { color: var(--red); }
.hud-foot { justify-content: center; margin: 0; }

/* ---------- lightbox ---------- */

.lightbox {
  max-width: 100vw;
  max-height: 100vh;
  padding: 56px 64px 28px;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: auto;
}
.lightbox::backdrop { background: rgba(6, 6, 7, .93); }
.lightbox-fig { display: flex; flex-direction: column; align-items: center; margin: 0; }
.lightbox-fig img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1456px, calc(100vw - 140px));
  max-height: calc(100vh - 150px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8);
}
.lightbox.is-tall .lightbox-fig img { width: min(460px, calc(100vw - 140px)); max-height: none; }
.lightbox figcaption { max-width: 80ch; margin-top: 14px; color: var(--text-dim); font: 500 .86rem/1.5 var(--mono); text-align: center; }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--paper);
  background: var(--ink);
  color: var(--paper);
  font: 400 1.5rem/1 var(--sans);
  cursor: pointer;
}
.lb-btn:hover { border-color: var(--red); background: var(--red); color: var(--ink); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { top: 50%; left: 10px; margin-top: -24px; }
.lb-next { top: 50%; right: 10px; margin-top: -24px; }
@media (max-width: 640px) {
  .lightbox { padding: 64px 10px 80px; }
  .lightbox-fig img { max-width: calc(100vw - 20px); max-height: calc(100vh - 170px); }
  .lightbox.is-tall .lightbox-fig img { width: calc(100vw - 20px); }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
}

/* ---------- connections: who talks to whom (connections.js draws the diagram) ---------- */

.net-lede { max-width: 44em; margin-bottom: 26px; }
.net { position: relative; }
.net-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin: 0 0 18px; }
.net-scenes { display: flex; flex-wrap: wrap; gap: 8px; }
.net-chip {
  min-height: 40px;
  padding: 9px 13px;
  border: 2px solid var(--on-paper);
  background: transparent;
  color: var(--on-paper);
  font: 800 .74rem/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.net-chip:hover { border-color: var(--red-deep); color: var(--red-deep); }
.net-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); box-shadow: 3px 3px 0 var(--red); }
.net-toggle { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem/1.3 var(--mono); letter-spacing: .05em; cursor: pointer; }
.net-toggle input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--red-deep); }
.net-relay-note { flex-basis: 100%; margin: 0; color: var(--on-paper-dim); font-size: .92em; }

/* the board: a dark HUD panel on the paper */
.net-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid rgba(21, 20, 19, .7);
  background: #0f0f11;
  color: var(--text);
  box-shadow: 8px 8px 0 rgba(21, 20, 19, .22);
}
.net-stage {
  position: relative;
  min-width: 0;
  padding: 10px;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px;
}
.net-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px);
}
.net-svg { display: block; width: 100%; height: auto; overflow: visible; }
.net-svg.is-tall { max-width: 460px; margin: 0 auto; }
.net-panel { min-height: 130px; padding: 18px 20px 20px; border-top: 1px solid var(--line-strong); font-size: .95rem; }
.net-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--line-strong);
  list-style: none;
  font: 800 .66rem/1.4 var(--mono);
  letter-spacing: .14em;
}
.net-legend li { display: inline-flex; align-items: center; gap: 7px; }
.net-legend span { color: var(--text-dim); font: 500 .78rem/1.3 var(--sans); letter-spacing: 0; }
.net-sw { width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
@media (min-width: 1100px) {
  .net-board { grid-template-columns: minmax(0, 1fr) 320px; }
  .net-panel { min-height: 0; border-top: 0; border-left: 1px solid var(--line-strong); }
  .net-legend { grid-column: 1 / -1; }
}

/* the kinds of data, by colour */
.net-board .k-audio { color: var(--red); }
.net-board .k-control { color: var(--cyan); }
.net-board .k-signal { color: var(--key); }
.net-board .k-meta { color: #d9d6cc; }
.net-board .k-chat { color: #3ccf8e; }
.net-board .k-update { color: #b48cff; }

/* the drawing */
.net-zone { fill: rgba(236, 231, 219, .025); stroke: rgba(236, 231, 219, .24); stroke-dasharray: 5 6; }
.net-zone-label { fill: var(--text-dim); font: 700 11px var(--mono); letter-spacing: .16em; }
.net-link, .net-node { outline: none; cursor: pointer; transition: opacity .25s; }
.net-base { fill: none; stroke: rgba(236, 231, 219, .16); stroke-width: 2; }
.net-link.is-off .net-base { stroke: rgba(236, 231, 219, .07); stroke-dasharray: 3 6; }
.net-rail { fill: none; stroke: currentColor; stroke-width: 2; opacity: .38; }
.net-arrow, .net-dot { fill: currentColor; }
.net-dot { filter: drop-shadow(0 0 3px currentColor); }
.net-hit { fill: none; stroke: transparent; stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; pointer-events: stroke; }
.net-link:hover .net-rail, .net-link:focus-visible .net-rail, .net-link.is-picked .net-rail, .net-link.is-near .net-rail { opacity: .95; stroke-width: 3; }
.net-link:focus-visible .net-hit { stroke: rgba(255, 0, 78, .2); }
.net-link.is-picked .net-hit { stroke: rgba(236, 231, 219, .08); }
.is-nolink .net-base { stroke: var(--red); stroke-dasharray: 4 7; opacity: .7; }
.net-link.is-off.is-nolink { display: none; }
.net-cross { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.net-box { fill: #18181b; stroke: rgba(236, 231, 219, .4); stroke-width: 1.5; }
.net-node[data-id="pc"] .net-box { stroke: var(--red); stroke-width: 2; }
.net-icon path { fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.net-label, .net-sublabel {
  text-anchor: middle;
  paint-order: stroke;
  stroke: #0f0f11;
  stroke-width: 5px;
  stroke-linejoin: round;
}
.net-label { fill: var(--text); font: 800 13px var(--mono); letter-spacing: .08em; }
.net-sublabel { fill: var(--text-dim); font: 700 10px var(--mono); letter-spacing: .08em; }
.net-svg.is-tall .net-label { font-size: 12px; letter-spacing: .04em; }
.net-svg.is-tall .net-sublabel { font-size: 9px; letter-spacing: .04em; }
.net-svg.is-tall .net-zone-label { font-size: 10px; }
.net-node:hover .net-box, .net-node.is-near .net-box { stroke: var(--paper); stroke-width: 2.5; }
.net-node:focus-visible .net-box { stroke: var(--red); stroke-width: 4; }
.net-node.is-picked .net-box { fill: var(--red); stroke: var(--red); }
.net-node.is-picked .net-icon path { stroke: var(--ink); }
.net-node.is-off, .net-link.is-off { opacity: .22; pointer-events: none; cursor: default; }
.net-node.is-far, .net-link.is-far { opacity: .3; }
.is-still .net-dot { display: none; }

/* the panel: what a device or a line sends and receives */
.net-pscene { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; line-height: 1.5; }
.net-phint { margin: 0; color: var(--text-dim); font: 700 .7rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.net-ptitle { margin: 0 0 10px; color: var(--paper); font: 800 .95rem/1.3 var(--mono); letter-spacing: .12em; }
.net-ptitle .net-sub, .net-item .net-sub { display: block; margin-top: 3px; color: var(--red); font-size: .68rem; letter-spacing: .16em; }
.net-panel .net-sum { margin: 0 0 12px; line-height: 1.5; }
.net-lines { margin: 0 0 12px; padding: 0; list-style: none; }
.net-lines li { margin: 0 0 8px; line-height: 1.45; }
.net-k {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 5px;
  border: 1px solid currentColor;
  font: 800 .6rem/1.3 var(--mono);
  letter-spacing: .12em;
  vertical-align: 1px;
}
.net-panel .net-k:not([class*="k-"]) { color: var(--text-dim); }
.net-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.net-tags span { padding: 4px 7px; background: var(--paper); color: var(--ink); font: 800 .6rem/1 var(--mono); letter-spacing: .14em; }

/* the same, in words: the list without the script (and for screen readers with it) */
.net-text .sub { margin: 0 0 16px; }
.net-list { display: grid; align-items: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; margin: 0; }
.net-item { padding: 14px 16px; border: 1px solid rgba(21, 20, 19, .35); background: rgba(255, 255, 255, .22); }
.net-item dt .net-name { font: 800 .8rem/1.3 var(--mono); letter-spacing: .12em; }
.net-item .net-sub { color: var(--red-deep); }
.net-item dd { margin: 8px 0 0; font-size: .92rem; }
.net-item .net-sum { margin: 0 0 8px; }
.net-item .net-tags span { background: var(--ink); color: var(--paper); }
.net.is-drawn .net-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- plain pages (download errors, stats login) ---------- */

.plain {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--ink);
}
.plain-box { width: 100%; max-width: 600px; padding: 32px var(--gutter); }
.plain-box .title { font-size: clamp(2.4rem, 8vw, 4rem); margin-bottom: 20px; }

/* ---------- motion off ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shot-link { transform: none !important; }
  .shot-glare { display: none; }
  .scribble.is-pending path { stroke-dashoffset: 0; }
}

@media print {
  body::after, .site-header, .deck, .tape-band, .lightbox { display: none; }
  .sec { padding: 24px 0; }
}

/* ---------- pages: a head band with the page's own sections, the home page's tour ---------- */
.page-head { position: relative; padding: clamp(46px, 7vw, 86px) 0 clamp(28px, 4vw, 44px); background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-bottom: 1px solid var(--line); }
.page-head .title { margin: 12px 0 14px; }
.page-head .lede { max-width: 62ch; }
.page-parts ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.page-parts a { display: inline-block; padding: 7px 13px; border: 1px solid var(--line-strong); font: 700 .78rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--text); }
.page-parts a:hover { border-color: var(--red); color: var(--red); }
.nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav .nav-radio { color: #ff2d95; }
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tour-card { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 46px; background: var(--ink-2); border: 1px solid var(--line-strong); text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s; }
.tour-card:hover { transform: translate(-3px, -3px); border-color: var(--red); box-shadow: 6px 6px 0 var(--red); color: var(--text); }
.tour-idx { font: 700 .72rem/1 var(--mono); color: var(--text-dim); }
.tour-hud { font: 700 .74rem/1 var(--mono); letter-spacing: .16em; color: var(--red); }
.tour-title { font: 400 2rem/1 var(--heavy); letter-spacing: .02em; text-transform: uppercase; }
.tour-lead { color: var(--text-dim); font-size: .98rem; }
.tour-go { position: absolute; right: 18px; bottom: 14px; font-size: 1.4rem; color: var(--red); }
.tour-radio { background: linear-gradient(135deg, #1a0a1f, #08202a); border-color: rgba(255, 45, 149, .5); }
.tour-radio .tour-hud, .tour-radio .tour-go { color: #ff2d95; }
@media (prefers-reduced-motion: reduce) { .tour-card { transition: none; } }

/* ---------- the DJ editions' page ---------- */
.buy-hero { padding-top: clamp(50px, 7vw, 90px); }
.buy-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.buy-box { padding: 26px; background: var(--ink-2); border: 1px solid var(--line-strong); box-shadow: 8px 8px 0 var(--red); }
.buy-price { margin: 0; font: 400 clamp(3.4rem, 8vw, 5rem)/1 var(--heavy); color: var(--text); }
.buy-once { margin: 4px 0 20px; color: var(--text-dim); }
.buy-paypal { min-height: 60px; }
.buy-status { min-height: 1.4em; margin: 10px 0 0; color: var(--key); }
.buy-key code { font-size: 1.15rem; letter-spacing: .04em; color: var(--key); }
.buy-off { color: var(--text-dim); }
.buy-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.buy-form { display: grid; gap: 10px; max-width: 460px; }
.buy-form input[type="text"], .buy-form input[type="email"] { padding: 11px 12px; border: 2px solid var(--on-paper); background: #fff; color: var(--on-paper); font: 600 1rem/1.2 var(--mono); }
.buy-form fieldset { margin: 4px 0; padding: 0; border: 0; display: grid; gap: 6px; }
.buy-form legend { margin-bottom: 4px; font-weight: 700; }
.buy-error { margin: 0; color: var(--red-deep); font-weight: 700; }
.buy-found code { font-size: 1.1rem; }
@media (max-width: 860px) { .buy-grid, .buy-two { grid-template-columns: 1fr; } }

/* The console's banner (lib/site.php: dirty_banner): a line across the top of the page. */
.site-banner { position: relative; z-index: 30; background: var(--paper); color: var(--on-paper); font: 700 .9rem/1.4 var(--mono); }
.site-banner .wrap { padding-top: 8px; padding-bottom: 8px; }
.site-banner p { margin: 0; }
.site-banner a { color: var(--on-paper); text-decoration-color: var(--red-deep); }
.site-banner.is-alert { background: var(--red); color: var(--ink); }
.site-banner.is-alert a { color: var(--ink); text-decoration-color: var(--ink); }
