@font-face {
  font-family: "Limelight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/limelight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Limelight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/limelight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/josefin-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Josefin Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/josefin-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The shadow in the magic eye narrows as the set locks on to a station. */
@property --gap {
  syntax: "<angle>";
  inherits: false;
  initial-value: 120deg;
}

:root {
  --night: #0b1626;
  --night-deep: #060d18;
  --walnut: #5b351f;
  --walnut-dark: #2b170c;
  --walnut-light: #7a4a2a;
  --brass: #d6ad62;
  --brass-light: #f7e4b5;
  --brass-dark: #8f6a2c;
  --glass-top: #f9e2ab;
  --glass-bottom: #e2a854;
  --ivory: #f1e5c8;
  --muted: #b3a688;
  --ink: #3a2213;
  --needle: #b33a26;
  --phosphor: #6fe0a0;
  --display: "Limelight", "Didot", Georgia, serif;
  --text: "Josefin Sans", "Futura", "Avenir Next", sans-serif;
  --tune-time: 1.1s;
  color-scheme: dark;
}

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

html { background: var(--night-deep); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ivory);
  font: 400 1.125rem/1.6 var(--text);
  background:
    radial-gradient(1.5px 1.5px at 8% 12%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 19% 31%, #f6e7c8 50%, transparent 51%),
    radial-gradient(2px 2px at 27% 7%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 22%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 52% 4%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 61% 17%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 71% 29%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 79% 9%, #f6e7c8 50%, transparent 51%),
    radial-gradient(2px 2px at 92% 24%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 46%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 96% 52%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 71%, #f6e7c8 50%, transparent 51%),
    radial-gradient(1px 1px at 9% 78%, #f6e7c8 50%, transparent 51%),
    radial-gradient(ellipse 120% 70% at 50% -10%, #1c3150 0%, var(--night) 48%, var(--night-deep) 100%);
  background-attachment: fixed;
}

.moon {
  position: absolute;
  top: clamp(12px, 3vw, 36px);
  right: clamp(12px, 5vw, 72px);
  width: clamp(56px, 8vw, 96px);
  filter: drop-shadow(0 0 18px rgba(245, 189, 102, 0.45));
}

main { padding: clamp(72px, 10vw, 112px) 16px 0; }

a {
  color: var(--brass-light);
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-thickness: 2px; }

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

/* The wireless set */

.set {
  --tuned: 0;
  --n: 9;
  --pad: 7%;
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(18px, 3.2vw, 36px);
  border-radius: 40px 40px 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 220, 170, 0.12), transparent 16%, transparent 80%, rgba(0, 0, 0, 0.4)),
    repeating-linear-gradient(96deg, transparent 0 7px, rgba(0, 0, 0, 0.08) 7px 9px, rgba(255, 210, 160, 0.05) 9px 13px, transparent 13px 23px),
    linear-gradient(90deg, var(--walnut-dark), var(--walnut) 16%, var(--walnut-light) 50%, var(--walnut) 84%, var(--walnut-dark));
  box-shadow:
    inset 0 2px 0 rgba(255, 225, 180, 0.25),
    inset 0 -12px 26px rgba(0, 0, 0, 0.45),
    0 0 0 1px #1a0d06,
    0 50px 90px -30px rgba(0, 0, 0, 0.85);
}

.set__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}

.grille {
  position: relative;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  border-radius: 50% 50% 14px 14px / 38% 38% 14px 14px;
  background:
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(245, 189, 102, 0.42), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    #6e4c2f;
  box-shadow:
    inset 0 0 0 4px var(--brass-dark),
    inset 0 0 0 7px #24130a,
    inset 0 14px 34px rgba(0, 0, 0, 0.65);
}
.grille svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.55));
}
/* The valves warm up behind the cloth. */
.grille::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--night-deep);
  opacity: 0.55;
  transition: opacity 1.8s ease;
}
.is-on .grille::after { opacity: 0; }

.badge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name eye" "tagline eye" "player player";
  column-gap: 20px;
  align-items: center;
}

h1 {
  grid-area: name;
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 7.4vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--brass-light);
  background: linear-gradient(180deg, var(--brass-light) 12%, var(--brass) 62%, var(--brass-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.5));
}

.tagline {
  grid-area: tagline;
  margin: 0.8em 0 0;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.35;
  color: var(--ivory);
}

.eye {
  --gap: 120deg;
  grid-area: eye;
  width: clamp(48px, 6vw, 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0b1510 0 24%, transparent 25%),
    repeating-conic-gradient(rgba(0, 0, 0, 0.12) 0 3deg, transparent 3deg 9deg),
    conic-gradient(from calc(var(--gap) / -2), #0b1510 0 var(--gap), var(--phosphor) var(--gap) 100%);
  box-shadow:
    0 0 0 5px #1a0f08,
    0 0 0 7px var(--brass-dark),
    0 0 26px rgba(111, 224, 160, 0.35),
    inset 0 0 12px rgba(0, 0, 0, 0.6);
  opacity: 0.2;
  transition: --gap 0.9s ease, opacity 1.8s ease;
}
.is-on .eye { opacity: 1; --gap: 16deg; }
.is-playing .eye { --gap: 6deg; }
.is-on.is-tuning .eye { --gap: 84deg; }

/* The latest episode */

.player {
  grid-area: player;
  display: grid;
  gap: 8px;
  margin-top: clamp(18px, 2.8vw, 28px);
}
.player[hidden] { display: none; }

.player__play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brass-light);
  font: 600 1.1rem/1.2 var(--text);
  cursor: pointer;
}
.player__icon {
  position: relative;
  flex: none;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbe7b9, var(--brass) 55%, var(--brass-dark));
  box-shadow: 0 0 0 3px #1a0d06, 0 6px 12px rgba(0, 0, 0, 0.55), inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}
.player__icon::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 21px;
  border-left: 17px solid var(--walnut-dark);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}
.player__play[aria-pressed="true"] .player__icon::after {
  top: 17px;
  left: 18px;
  width: 18px;
  height: 20px;
  border: 0;
  background: linear-gradient(90deg, var(--walnut-dark) 0 6px, transparent 6px 12px, var(--walnut-dark) 12px 18px);
}
.player__play:active .player__icon { transform: translateY(1px); box-shadow: 0 0 0 3px #1a0d06, 0 3px 6px rgba(0, 0, 0, 0.55); }
.player__play:focus-visible { outline-offset: 6px; }

.player__title,
.player__time { margin: 0; padding-left: 68px; }
.player__title { font-size: 1rem; line-height: 1.4; }
.player__time { color: var(--muted); font-size: 0.88rem; font-variant-numeric: tabular-nums; }

/* The slide-rule dial */

.dial {
  margin-top: clamp(20px, 3.2vw, 32px);
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(#2a170c, #160b05);
  box-shadow: inset 0 0 0 2px var(--brass-dark), 0 1px 0 rgba(255, 225, 180, 0.2);
}

.dial__glass {
  position: relative;
  height: 158px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--glass-top), #f0c47a 55%, var(--glass-bottom));
  box-shadow: inset 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 -2px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(0.32) saturate(0.6);
  transition: filter 1.8s ease;
}
.is-on .dial__glass { filter: none; }
.dial__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.22) 38%, transparent 46%);
}

.dial__stations {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dial__stations li:nth-child(1) { --i: 0; }
.dial__stations li:nth-child(2) { --i: 1; }
.dial__stations li:nth-child(3) { --i: 2; }
.dial__stations li:nth-child(4) { --i: 3; }
.dial__stations li:nth-child(5) { --i: 4; }
.dial__stations li:nth-child(6) { --i: 5; }
.dial__stations li:nth-child(7) { --i: 6; }
.dial__stations li:nth-child(8) { --i: 7; }
.dial__stations li:nth-child(9) { --i: 8; }

.dial__stations li {
  position: absolute;
  top: 14px;
  left: calc(var(--pad) + var(--i) * (100% - 2 * var(--pad)) / (var(--n) - 1));
  transform: translateX(-50%);
}
.dial__stations li:nth-child(even) { top: 46px; }

.station {
  padding: 6px 6px 4px;
  border: 0;
  background: none;
  color: rgba(58, 34, 19, 0.82);
  font: 500 0.98rem/1 var(--text);
  white-space: nowrap;
  cursor: pointer;
}
.station:hover { color: var(--ink); }
.station[aria-pressed="true"] {
  color: #24110a;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 246, 214, 0.9);
}
.station:focus-visible { outline-color: var(--ink); }

.dial__scale {
  position: absolute;
  left: calc(var(--pad) - 3%);
  right: calc(var(--pad) - 3%);
  bottom: 16px;
  height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 0 0;
  font: 500 0.78rem/1 var(--text);
  color: rgba(58, 34, 19, 0.7);
  background:
    repeating-linear-gradient(90deg, rgba(58, 34, 19, 0.55) 0 1.5px, transparent 1.5px 11px) top / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(58, 34, 19, 0.75) 0 2px, transparent 2px 55px) top / 100% 22px no-repeat,
    linear-gradient(rgba(58, 34, 19, 0.6), rgba(58, 34, 19, 0.6)) 0 0 / 100% 1.5px no-repeat;
}

.dial__needle {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: calc(var(--pad) + var(--tuned) * (100% - 2 * var(--pad)) / (var(--n) - 1));
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--needle);
  box-shadow: 0 0 6px rgba(179, 58, 38, 0.55);
  z-index: 2;
  transition: left var(--tune-time) cubic-bezier(0.45, 0.05, 0.2, 1);
}


/* Each kind of item keeps the colour it has in the Mac app. */
[data-kind="opening"] { --kind: #e2b85a; }
[data-kind="news"],
[data-kind="explanation"] { --kind: #4fae80; }
[data-kind="historicalFiction"] { --kind: #8f72d0; }
[data-kind="wikipedia"] { --kind: #c065bb; }
[data-kind="museumObject"] { --kind: #d0607a; }
[data-kind="birdOfNight"] { --kind: #7fae3f; }
[data-kind="wordOfNight"] { --kind: #b0905c; }
[data-kind="soundscape"] { --kind: #3fa3bb; }
[data-kind="weather"] { --kind: #5f80cf; }
[data-kind="localEvents"] { --kind: #d8754b; }

.station::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 6px 1px 0;
  border-radius: 50%;
  background: var(--kind);
  box-shadow: 0 0 0 1px rgba(58, 34, 19, 0.35);
}

.band { position: absolute; inset: 0; }
.band[hidden] { display: none; }

/* The needle sits a third of the way along, leaving more of the night ahead in view. */
[data-band="episode"] .dial__needle { left: 32%; transition: none; }
[data-band="episode"] .dial__glass { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
[data-band="episode"] .dial__glass:active { cursor: grabbing; }
[data-band="episode"] .knob { transition: none; }
.dial:has(.seek:focus-visible) .dial__glass { outline: 3px solid var(--brass-light); outline-offset: 4px; }

/* The night printed along the dial glass, sliding past the needle. */
.strip {
  --ppm: 30px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  will-change: transform;
}
.strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  height: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(58, 34, 19, 0.5) 0 1.5px, transparent 1.5px var(--ppm)) top / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, rgba(58, 34, 19, 0.8) 0 2px, transparent 2px calc(var(--ppm) * 5)) top / 100% 20px no-repeat,
    linear-gradient(rgba(58, 34, 19, 0.6), rgba(58, 34, 19, 0.6)) 0 0 / 100% 1.5px no-repeat;
}
.strip__time {
  position: absolute;
  bottom: 12px;
  transform: translateX(-50%);
  font: 500 0.78rem/1 var(--text);
  color: rgba(58, 34, 19, 0.72);
  font-variant-numeric: tabular-nums;
}
.chapter {
  --row: 0;
  position: absolute;
  top: calc(12px + var(--row) * 25px);
  padding-left: 8px;
  cursor: pointer;
}
.chapter::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 3px;
  height: calc(94px - var(--row) * 25px);
  border-radius: 2px;
  background: var(--kind, rgba(58, 34, 19, 0.6));
}
/* Names sit over the marker lines of chapters printed on the rows above. */
.chapter__name {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;
  padding: 0 4px 0 2px;
  border-radius: 3px;
  background: rgba(248, 223, 163, 0.9);
  color: rgba(58, 34, 19, 0.78);
  font: 500 0.9rem/1.25 var(--text);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.chapter:hover .chapter__name { color: var(--ink); }
.chapter.is-current .chapter__name {
  color: #24110a;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 246, 214, 0.95);
}

/* The whole night at a glance, one coloured piece for each item. */
.ribbon {
  display: flex;
  gap: 2px;
  height: 9px;
  margin: 10px 2px 2px;
  cursor: pointer;
}
.ribbon[hidden] { display: none; }
.ribbon__item {
  --fill: 0%;
  flex: 1 1 0;
  min-width: 2px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--kind, var(--brass)) var(--fill), color-mix(in srgb, var(--kind, var(--brass)) 32%, #1a0d06) var(--fill));
  transition: transform 0.3s ease;
}
.ribbon__item.is-played { --fill: 100%; }
.ribbon__item.is-current {
  transform: scaleY(1.7);
  box-shadow: 0 0 8px color-mix(in srgb, var(--kind, var(--brass)) 70%, transparent);
}

/* Ivory piano keys choose the band. */
.bands {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.bands[hidden] { display: none; }
.band-key {
  padding: 10px 18px 9px;
  border: 0;
  border-radius: 5px 5px 10px 10px;
  color: var(--ink);
  background: linear-gradient(#f4e9cf, #cfb98d);
  font: 600 0.95rem/1 var(--text);
  box-shadow: 0 5px 0 #6d5634, 0 8px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.band-key[aria-pressed="true"] {
  transform: translateY(4px);
  background: linear-gradient(#e6d5ad, #c2aa7c);
  box-shadow: 0 1px 0 #6d5634, 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

/* Knobs and the station card */

.set__foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(14px, 3vw, 32px);
  align-items: center;
  margin-top: clamp(18px, 3vw, 28px);
}

.tuner {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 4px;
  border: 0;
  background: none;
  color: var(--brass-light);
  font: 500 0.9rem/1 var(--text);
  cursor: pointer;
}

.knob {
  position: relative;
  display: block;
  width: clamp(58px, 8vw, 78px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5d3d27, #26140a 62%, #120904);
  box-shadow:
    0 0 0 4px #1a0d06,
    0 0 0 6px var(--brass-dark),
    0 12px 18px rgba(0, 0, 0, 0.6);
  transform: rotate(var(--knob, 0deg));
  transition: transform var(--tune-time) cubic-bezier(0.45, 0.05, 0.2, 1);
}
.knob::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 230, 190, 0.1) 0 4deg, transparent 4deg 10deg);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 68%);
  mask: radial-gradient(circle, transparent 66%, #000 68%);
}
.knob::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 50%;
  width: 4px;
  height: 22%;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--brass-light);
}
.tuner:hover .knob { box-shadow: 0 0 0 4px #1a0d06, 0 0 0 6px var(--brass), 0 12px 18px rgba(0, 0, 0, 0.6); }

.readout {
  min-height: 5.2em;
  margin: 0;
  padding: 14px 18px 12px;
  border-radius: 10px;
  color: var(--ink);
  background: linear-gradient(#f4e8cb, #e2cfa3);
  box-shadow: inset 0 0 0 1px rgba(90, 52, 24, 0.35), 0 2px 0 rgba(0, 0, 0, 0.35);
  font-size: 1rem;
  line-height: 1.45;
}
.readout__name {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.1;
  color: #4a2a14;
}

/* Text beneath the set */

.notes {
  width: min(100%, 36rem);
  margin: clamp(48px, 8vw, 88px) auto 0;
}
.notes p { margin: 0 0 1em; }

.credits {
  width: min(100% - 32px, 36rem);
  margin: 40px auto 56px;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 173, 98, 0.25);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.credits p { margin: 0; }
.credits a { color: inherit; }

/* Phones: the dial stands upright and the needle travels down it. */

@media (max-width: 680px) {
  .set { border-radius: 30px 30px 18px 18px; }
  .set__top { grid-template-columns: 1fr; }
  .grille { aspect-ratio: 16 / 8; }
  .badge { grid-template-areas: "name eye" "tagline tagline" "player player"; }
  [data-band="guide"] .dial__glass { height: 430px; }
  .dial__stations li,
  .dial__stations li:nth-child(even) {
    left: 18px;
    top: calc(var(--pad) + var(--i) * (100% - 2 * var(--pad)) / (var(--n) - 1));
    transform: translateY(-50%);
  }
  .station { font-size: 1.05rem; padding: 8px 6px; }
  .dial__scale {
    left: auto;
    right: 14px;
    top: calc(var(--pad) - 3%);
    bottom: calc(var(--pad) - 3%);
    width: 54px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    background:
      repeating-linear-gradient(180deg, rgba(58, 34, 19, 0.55) 0 1.5px, transparent 1.5px 11px) right / 12px 100% no-repeat,
      repeating-linear-gradient(180deg, rgba(58, 34, 19, 0.75) 0 2px, transparent 2px 55px) right / 22px 100% no-repeat,
      linear-gradient(rgba(58, 34, 19, 0.6), rgba(58, 34, 19, 0.6)) right / 1.5px 100% no-repeat;
  }
  .dial__glass::after { background: linear-gradient(170deg, transparent 30%, rgba(255, 255, 255, 0.2) 38%, transparent 46%); }
  [data-band="guide"] .dial__needle {
    top: calc(var(--pad) + var(--tuned) * (100% - 2 * var(--pad)) / (var(--n) - 1));
    bottom: auto;
    left: 8px;
    right: 8px;
    width: auto;
    height: 3px;
    margin: -1.5px 0 0;
    transition-property: top;
  }
  .set__foot { grid-template-columns: auto auto; grid-template-areas: "card card" "back next"; justify-content: space-between; }
  .readout { grid-area: card; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { transition-duration: 0s !important; }
}
