/*
 * Valve radio. Every length is in cqw, or in SVG user units inside a viewBox
 * (where 10 units are 1cqw). One light, from the upper left.
 */
.dsp-valve-radio {
  background: #16211e;
  color: #2a180b;
  font-family: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

.dsp-valve-radio .vr-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* ---- lettering drawn inside the SVG layers (sizes are viewBox units) ------ */

/* The card: the owner's words in blue-black ink, with a printed gold flourish. */
.dsp-valve-radio .vr-card-name,
.dsp-valve-radio .vr-card-msg,
.dsp-valve-radio .vr-card-measure {
  font-family: "Caveat", "Bradley Hand", "Segoe Script", "Comic Sans MS", cursive;
  font-weight: 700;
  fill: #1c2a55;
}
.dsp-valve-radio .vr-card-msg {
  font-weight: 500;
  fill: #22305c;
}
.dsp-valve-radio .vr-card-orn {
  fill: #b0893a;
  opacity: 0.8;
}
.dsp-valve-radio .vr-gold {
  fill: #dfbd72;
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 600;
}
.dsp-valve-radio .vr-gold .vr-gold-line { stroke: #dfbd72; }
.dsp-valve-radio .vr-gold-shadow { fill: #120702; opacity: 0.75; }
.dsp-valve-radio .vr-gold-shadow .vr-gold-line { stroke: #120702; }
.dsp-valve-radio .vr-badge {
  font-family: "Yellowtail", "Snell Roundhand", "Brush Script MT", cursive;
  font-weight: 400;
}
.dsp-valve-radio .vr-badge-shadow { fill: #0a0401; opacity: 0.7; }

/* ---- warm light from the back of the set, on the wall --------------------- */

.dsp-valve-radio .vr-halo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100cqw;
  height: 25cqw;
  background:
    radial-gradient(ellipse 52% 86% at 50% 100%, rgba(255, 168, 84, 0.72), rgba(255, 146, 62, 0.3) 42%, rgba(255, 140, 60, 0) 86%);
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}

/* ---- speaker cones, behind the cloth -------------------------------------- */

.dsp-valve-radio .vr-hole {
  position: absolute;
  top: 32.2cqw;
  width: 18.4cqw;
  height: 18.4cqw;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}
.dsp-valve-radio .vr-hole-l { left: 20.4cqw; }
.dsp-valve-radio .vr-hole-r { left: 61.2cqw; }
.dsp-valve-radio .vr-hole-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 96%, rgba(255, 190, 110, 0.95), rgba(255, 150, 60, 0) 46%),
    radial-gradient(circle, rgba(255, 140, 50, 0) 60%, rgba(255, 150, 62, 0.9) 84%, rgba(255, 120, 40, 0.75) 100%);
  opacity: 0;
  will-change: opacity;
}
.dsp-valve-radio .vr-cone {
  position: absolute;
  inset: 1.1cqw;
  border-radius: 50%;
  /* Paper cone: pale dust cap, the cone falling away, then the rolled surround. */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, 0.3)),
    radial-gradient(circle,
      #a39480 0, #85776a 8%, #2a221c 11.5%, #4a4037 15%, #564b40 40%, #4c4238 66%,
      #3a322a 72%, #5d5145 76%, #2c251f 80%, #55493e 84%, #2a231d 88%, #4b4137 92%, #1d1814 100%);
  box-shadow: 0 0 0.9cqw 0.3cqw rgba(0, 0, 0, 0.6);
  will-change: transform;
}
.dsp-valve-radio .vr-cone-rim {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 170, 90, 0.5), rgba(255, 150, 70, 0) 55%),
    radial-gradient(circle, rgba(255, 150, 70, 0) 70%, rgba(255, 160, 80, 0.4) 100%);
  opacity: 0;
  will-change: opacity;
}

/* Valve light scattered in the cloth: up from the chassis, and round each cone. */
.dsp-valve-radio .vr-bloom {
  position: absolute;
  left: 10.8cqw;
  top: 31.4cqw;
  width: 78.4cqw;
  height: 20cqw;
  border-radius: 1.2cqw;
  background:
    radial-gradient(circle 9.6cqw at 24% 50%, rgba(255, 150, 60, 0) 58%, rgba(255, 156, 66, 0.34) 84%, rgba(255, 150, 60, 0) 100%),
    radial-gradient(circle 9.6cqw at 76% 50%, rgba(255, 150, 60, 0) 58%, rgba(255, 156, 66, 0.34) 84%, rgba(255, 150, 60, 0) 100%),
    radial-gradient(ellipse 60% 62% at 50% 108%, rgba(255, 160, 72, 0.4), rgba(255, 150, 60, 0) 100%);
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}

/* ---- magic eye ------------------------------------------------------------- */

.dsp-valve-radio .vr-eye,
.dsp-valve-radio .vr-eye-halo {
  position: absolute;
  left: 46.7cqw;
  top: 38.1cqw;
  width: 6.6cqw;
  height: 6.6cqw;
  border-radius: 50%;
  pointer-events: none;
}
.dsp-valve-radio .vr-eye-halo {
  box-shadow: 0 0 2.4cqw 0.5cqw rgba(84, 255, 120, 0.3), 0 0 0.8cqw 0.15cqw rgba(140, 255, 160, 0.4);
  opacity: 0;
  will-change: opacity;
}
.dsp-valve-radio .vr-eye { overflow: hidden; }
.dsp-valve-radio .vr-eye > div { position: absolute; inset: 0; border-radius: 50%; }
/* Unlit, the phosphor is a chalky grey-green cone round a dark cap. */
.dsp-valve-radio .vr-eye-off {
  background:
    radial-gradient(circle, #0c0d0b 0 26%, #4d564b 30%, #6f7a6b 55%, #59625a 78%, #2d332e 100%);
}
.dsp-valve-radio .vr-eye-lit {
  background:
    radial-gradient(circle, #06250d 0 27%, #1fbf43 30%, #6dff78 44%, #9dffa0 58%, #4df564 76%, #1fb640 92%, #0f7a28 100%);
  opacity: 0;
  overflow: hidden;
  will-change: opacity;
}
.dsp-valve-radio .vr-eye-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.dsp-valve-radio .vr-eye-half-l { left: 0; }
.dsp-valve-radio .vr-eye-half-r { left: 50%; }
/* Each blade is a half-plane hinged on the centre of the eye. Swung out, the pair leave a shadow wedge. */
.dsp-valve-radio .vr-eye-blade {
  position: absolute;
  top: -50%;
  width: 100%;
  height: 200%;
  will-change: transform;
}
.dsp-valve-radio .vr-eye-half-r .vr-eye-blade {
  left: -100%;
  transform-origin: 100% 50%;
  background: linear-gradient(to left, rgba(4, 34, 11, 0) 0, rgba(4, 34, 11, 0.7) 7%, #04220b 15%);
  transform: rotate(-52deg);
}
.dsp-valve-radio .vr-eye-half-l .vr-eye-blade {
  left: 100%;
  transform-origin: 0 50%;
  background: linear-gradient(to right, rgba(4, 34, 11, 0) 0, rgba(4, 34, 11, 0.7) 7%, #04220b 15%);
  transform: rotate(52deg);
}
.dsp-valve-radio .vr-eye > .vr-eye-cap {
  inset: 35.5%;
  background: radial-gradient(circle at 38% 32%, #4a4a44 0, #1a1a18 45%, #050505 100%);
  box-shadow: 0 0 0.3cqw rgba(0, 0, 0, 0.8);
}
.dsp-valve-radio .vr-eye-glass {
  background:
    radial-gradient(ellipse 34% 22% at 32% 22%, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.6) 100%);
  box-shadow: inset 0.25cqw 0.35cqw 0.6cqw rgba(0, 0, 0, 0.75);
}

/* ---- dial glass ------------------------------------------------------------- */

.dsp-valve-radio .vr-dial {
  position: absolute;
  left: 11.8cqw;
  top: 54cqw;
  width: 76.4cqw;
  height: 11.2cqw;
  border-radius: 0.5cqw;
  overflow: hidden;
  pointer-events: none;
}
.dsp-valve-radio .vr-dial > div:not(.vr-pointer),
.dsp-valve-radio .vr-dial-print {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Unlit: cream paint on the back of the glass, in the room's dim light. */
.dsp-valve-radio .vr-dial-off {
  background:
    linear-gradient(100deg, rgba(255, 244, 214, 0.2), rgba(255, 244, 214, 0) 40%, rgba(20, 10, 0, 0.3)),
    linear-gradient(180deg, #6f6349 0, #91825f 34%, #8b7c5a 70%, #766848 100%);
}
/* Lit: two lamps behind the glass, so the glow is hot in two places. */
.dsp-valve-radio .vr-dial-lit {
  background:
    radial-gradient(ellipse 30% 150% at 23% 46%, #fffbe2 0, rgba(255, 244, 196, 0.92) 30%, rgba(255, 232, 160, 0) 100%),
    radial-gradient(ellipse 30% 150% at 77% 46%, #fffbe2 0, rgba(255, 244, 196, 0.92) 30%, rgba(255, 232, 160, 0) 100%),
    linear-gradient(180deg, #f3bd62 0, #f9cf7c 40%, #eeb055 100%);
  opacity: 0;
  will-change: opacity;
}
.dsp-valve-radio .vr-dial-breath {
  background:
    radial-gradient(ellipse 34% 160% at 23% 46%, rgba(255, 255, 240, 0.5), rgba(255, 255, 240, 0) 100%),
    radial-gradient(ellipse 34% 160% at 77% 46%, rgba(255, 255, 240, 0.5), rgba(255, 255, 240, 0) 100%),
    rgba(255, 236, 190, 0.1);
  opacity: 0;
  will-change: opacity;
}
.dsp-valve-radio .vr-station {
  font-family: "Josefin Sans", "Gill Sans", "Century Gothic", "Trebuchet MS", sans-serif;
  font-weight: 700;
  fill: #8d1a10;
}
.dsp-valve-radio .vr-num {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 600;
  fill: #2a180b;
}
.dsp-valve-radio .vr-rail { stroke: #2a180b; stroke-width: 1.5; }
.dsp-valve-radio .vr-tick { stroke: #2a180b; stroke-width: 1.5; }
.dsp-valve-radio .vr-tick-major { stroke: #2a180b; stroke-width: 2.6; }
.dsp-valve-radio .vr-orn { stroke: #8d1a10; stroke-width: 1.3; opacity: 0.8; }
.dsp-valve-radio .vr-orn-d { fill: #8d1a10; }
/* The pointer hangs from a slide that the dial cord pulls along the top of the glass. */
.dsp-valve-radio .vr-pointer {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  transform: translate3d(5.2cqw, 0, 0);
  will-change: transform;
}
.dsp-valve-radio .vr-pointer > i { position: absolute; display: block; }
.dsp-valve-radio .vr-pointer-slide {
  left: -0.85cqw;
  top: 0;
  width: 1.7cqw;
  height: 0.75cqw;
  border-radius: 0 0 0.2cqw 0.2cqw;
  background: linear-gradient(180deg, #1a120a 0, #5b4a2e 60%, #2a1f12 100%);
  box-shadow: 0.3cqw 0.25cqw 0.3cqw rgba(30, 12, 0, 0.35);
}
.dsp-valve-radio .vr-pointer-needle {
  left: -0.19cqw;
  top: 0.5cqw;
  width: 0.38cqw;
  height: 6.3cqw;
  border-radius: 0 0 0.19cqw 0.19cqw;
  background: linear-gradient(90deg, #ff6a52 0, #d3200f 45%, #8c0e05 100%);
  box-shadow: 0.42cqw 0.1cqw 0.3cqw rgba(30, 12, 0, 0.4);
}
.dsp-valve-radio .vr-dial-glass {
  background:
    linear-gradient(112deg,
      rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0.2) 22%, rgba(255, 255, 255, 0.05) 31%,
      rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, 0.09) 62%, rgba(255, 255, 255, 0) 67%),
    linear-gradient(180deg, rgba(10, 4, 0, 0.62) 0, rgba(10, 4, 0, 0.16) 14%, rgba(10, 4, 0, 0) 30%, rgba(10, 4, 0, 0) 86%, rgba(10, 4, 0, 0.22) 100%),
    linear-gradient(90deg, rgba(10, 4, 0, 0.5) 0, rgba(10, 4, 0, 0) 3%, rgba(10, 4, 0, 0) 98%, rgba(10, 4, 0, 0.3) 100%);
  box-shadow: inset 0 0 0 max(1px, 0.12cqw) rgba(12, 6, 0, 0.6);
}

/* ---- controls --------------------------------------------------------------- */

.dsp-valve-radio button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.dsp-valve-radio button:focus { outline: none; }
.dsp-valve-radio button:focus-visible {
  outline: max(2px, 0.55cqw) solid #ffe69a;
  outline-offset: 0.55cqw;
  box-shadow: 0 0 0 max(4px, 1.2cqw) rgba(10, 4, 0, 0.55);
}

/* Knobs: a brass skirt, a fluted ivory body that turns, and light that stays put. */
.dsp-valve-radio .vr-knob {
  position: absolute;
  top: 69.4cqw;
  width: 11.6cqw;
  height: 11.6cqw;
  border-radius: 50%;
  touch-action: none;
  cursor: grab;
}
.dsp-valve-radio .vr-knob:active { cursor: grabbing; }
.dsp-valve-radio .vr-knob-vol { left: 13.8cqw; }
.dsp-valve-radio .vr-knob-tune { left: 74.6cqw; }
/* A wider invisible collar, so a thumb finds the knob on a phone. */
.dsp-valve-radio .vr-knob::before {
  content: "";
  position: absolute;
  inset: -1.6cqw;
  border-radius: 50%;
}
.dsp-valve-radio .vr-knob > span {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.dsp-valve-radio .vr-knob-shadow {
  inset: 0.2cqw;
  box-shadow:
    1.5cqw 2cqw 2.2cqw rgba(0, 0, 0, 0.62),
    0.5cqw 0.7cqw 0.7cqw rgba(0, 0, 0, 0.7),
    0 0 0.5cqw 0.1cqw rgba(0, 0, 0, 0.5);
}
.dsp-valve-radio .vr-knob-skirt {
  inset: 0;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0) 60%, rgba(40, 22, 0, 0.5) 67%, rgba(0, 0, 0, 0) 74%, rgba(255, 246, 210, 0.35) 92%, rgba(60, 36, 4, 0.7) 100%),
    conic-gradient(from 300deg,
      #f9e7a8 0, #c79d46 9%, #7e5b1c 20%, #b78d3a 30%, #f1d68b 40%, #a67d2f 52%,
      #59400f 66%, #8c6824 76%, #d5b05c 88%, #f9e7a8 100%);
  box-shadow: inset 0 0 0 max(1px, 0.1cqw) rgba(40, 24, 2, 0.8);
}
.dsp-valve-radio .vr-knob-turn {
  inset: 1cqw;
  background: #e9dcba;
  will-change: transform;
}
.dsp-valve-radio .vr-knob-turn > span { position: absolute; border-radius: 50%; }
.dsp-valve-radio .vr-knob-flutes {
  inset: 0;
  background:
    repeating-conic-gradient(from 0deg, #a8946a 0deg, #e7d9b3 4deg, #fbf3dc 7.5deg, #e2d2aa 11deg, #a8946a 15deg);
}
.dsp-valve-radio .vr-knob-dome {
  inset: 1.25cqw;
  background: radial-gradient(circle, #f1e6c8 0, #ebdfbe 70%, #dccda5 100%);
}
.dsp-valve-radio .vr-knob-turn > .vr-knob-mark {
  left: 50%;
  top: 1.45cqw;
  width: 0.56cqw;
  height: 1.7cqw;
  margin-left: -0.28cqw;
  border-radius: 0.28cqw;
  background: linear-gradient(90deg, #5a0c06, #c2281a 40%, #9c170d);
  box-shadow: 0 0 0 max(1px, 0.07cqw) rgba(70, 40, 10, 0.4);
}
.dsp-valve-radio .vr-knob-turn > .vr-knob-cap {
  inset: 3.2cqw;
  background:
    linear-gradient(90deg, rgba(40, 22, 2, 0) 44%, rgba(40, 22, 2, 0.9) 46%, rgba(40, 22, 2, 0.9) 54%, rgba(255, 240, 190, 0.5) 56%, rgba(40, 22, 2, 0) 58%),
    #c9a24e;
}
/* Fixed lighting over the turning body: the dome's highlight and shade, and the groove round it. */
.dsp-valve-radio .vr-knob-light {
  inset: 1cqw;
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.25) 17%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 74% 80%, rgba(52, 28, 6, 0.6) 0, rgba(52, 28, 6, 0.14) 40%, rgba(52, 28, 6, 0) 62%),
    radial-gradient(circle, rgba(40, 22, 4, 0) 82%, rgba(40, 22, 4, 0.55) 100%);
  box-shadow:
    inset 0.25cqw 0.3cqw 0.5cqw rgba(255, 255, 255, 0.5),
    inset -0.35cqw -0.5cqw 0.8cqw rgba(48, 26, 4, 0.5);
}
.dsp-valve-radio .vr-knob-light::after {
  content: "";
  position: absolute;
  inset: 1.25cqw;
  border-radius: 50%;
  box-shadow:
    -0.12cqw -0.16cqw 0.22cqw rgba(60, 34, 8, 0.6),
    0.12cqw 0.16cqw 0.22cqw rgba(255, 255, 255, 0.75),
    inset 0.14cqw 0.2cqw 0.3cqw rgba(255, 255, 255, 0.7),
    inset -0.18cqw -0.26cqw 0.4cqw rgba(70, 40, 10, 0.36);
}
.dsp-valve-radio .vr-knob-capshine {
  inset: 4.2cqw;
  background:
    conic-gradient(from 315deg,
      rgba(255, 250, 220, 0.95) 0, rgba(255, 250, 220, 0) 12%, rgba(40, 22, 2, 0.35) 25%, rgba(255, 250, 220, 0) 38%,
      rgba(255, 240, 190, 0.6) 50%, rgba(255, 250, 220, 0) 62%, rgba(40, 22, 2, 0.45) 75%, rgba(255, 250, 220, 0) 88%, rgba(255, 250, 220, 0.95) 100%);
  box-shadow:
    0 0 0 max(1px, 0.1cqw) rgba(60, 36, 6, 0.75),
    0.1cqw 0.14cqw 0.2cqw rgba(255, 255, 255, 0.6),
    -0.1cqw -0.14cqw 0.2cqw rgba(60, 34, 8, 0.45);
}

/* Piano keys in their well. A key going down sinks behind the lower lip. */
.dsp-valve-radio .vr-keys {
  position: absolute;
  left: 31.6cqw;
  top: 71.2cqw;
  width: 36.8cqw;
  height: 7.8cqw;
}
.dsp-valve-radio .vr-key {
  position: absolute;
  top: 0.4cqw;
  height: 7.4cqw;
  overflow: hidden;
  border-radius: 0.45cqw 0.45cqw 0.3cqw 0.3cqw;
  touch-action: manipulation;
}
.dsp-valve-radio .vr-key-off { left: 0.4cqw; width: 9.6cqw; }
.dsp-valve-radio .vr-key-play { left: 10.4cqw; width: 16cqw; }
/*
 * The REPLAY key restarts the song. Its button reaches 1cqw up over the brass
 * lip of the well, so it is 25px tall on a 300px player; the ivory cap inside
 * keeps the size and place of its neighbours.
 */
.dsp-valve-radio .vr-key-again { left: 26.8cqw; width: 9.6cqw; top: -0.6cqw; height: 8.4cqw; border-radius: 0 0 0.3cqw 0.3cqw; }
.dsp-valve-radio .vr-key-again .vr-key-cap { top: 1cqw; }
.dsp-valve-radio .vr-key-cap {
  position: absolute;
  inset: 0;
  border-radius: 0.45cqw 0.45cqw 0.3cqw 0.3cqw;
  overflow: hidden;
  background: #e2d3ad;
  box-shadow: inset 0 0 0 max(1px, 0.08cqw) rgba(70, 46, 14, 0.5);
  transition: transform 0.16s cubic-bezier(0.3, 1.7, 0.5, 1);
  will-change: transform;
}
.dsp-valve-radio .vr-key.is-down .vr-key-cap {
  transform: translateY(0.95cqw);
  transition: transform 0.09s cubic-bezier(0.3, 0.9, 0.4, 1.25);
}
/* The top of the key, seen from a little above, then its front face. */
.dsp-valve-radio .vr-key-top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2.1cqw;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 30%, rgba(70, 46, 14, 0.14) 100%),
    linear-gradient(180deg, #e9dcba 0, #fffaea 45%, #fdf6e2 100%);
  box-shadow: inset 0 -0.14cqw 0 rgba(255, 255, 255, 0.95);
}
.dsp-valve-radio .vr-key-face {
  position: absolute;
  left: 0;
  right: 0;
  top: 2.1cqw;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75cqw;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0) 8%, rgba(70, 46, 14, 0) 90%, rgba(70, 46, 14, 0.3) 100%),
    linear-gradient(180deg, #f3e8c9 0, #e6d8b2 30%, #d6c598 72%, #b6a273 100%);
}
.dsp-valve-radio .vr-key-face svg {
  display: block;
  width: 1.5cqw;
  height: 1.5cqw;
  fill: #3a2816;
  position: relative;
}
.dsp-valve-radio .vr-key-face .vr-key-word {
  position: relative;
  font: 600 2.05cqw/1 "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0.16cqw;
  color: #3a2816;
  text-shadow: 0 max(1px, 0.1cqw) 0 rgba(255, 255, 255, 0.55);
}
.dsp-valve-radio .vr-key-play .vr-key-face svg { width: 2.9cqw; height: 2.9cqw; fill: #b21f12; }
.dsp-valve-radio .vr-key-play .vr-key-face .vr-key-word { font-size: 3cqw; letter-spacing: 0.32cqw; color: #9c1a0f; }
.dsp-valve-radio .vr-key-again .vr-key-face { gap: 0.42cqw; }
.dsp-valve-radio .vr-key-again .vr-key-face svg { width: 1.7cqw; }
.dsp-valve-radio .vr-key-again .vr-key-face .vr-key-word { letter-spacing: 0.05cqw; }
.dsp-valve-radio .vr-key-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 12, 0, 0.6) 0, rgba(24, 12, 0, 0.2) 22%, rgba(24, 12, 0, 0.05) 42%, rgba(24, 12, 0, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.12s;
}
.dsp-valve-radio .vr-key.is-down .vr-key-shade { opacity: 1; }
/* Before the first play, the PLAY legend glows softly to say where to start. */
.dsp-valve-radio .vr-key-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15cqw;
  height: 6cqw;
  margin: -3cqw 0 0 -7.5cqw;
  background: radial-gradient(ellipse, rgba(255, 196, 96, 0.95) 0, rgba(255, 170, 70, 0.4) 45%, rgba(255, 170, 70, 0) 72%);
  opacity: 0;
}
.dsp-valve-radio.vr-beckon .vr-key-play .vr-key-halo {
  animation: dsp-valve-radio-beckon 2.6s ease-in-out infinite;
}
@keyframes dsp-valve-radio-beckon {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  .dsp-valve-radio.vr-beckon .vr-key-play .vr-key-halo { animation: none; opacity: 0.5; }
  .dsp-valve-radio .vr-key-cap { transition-duration: 0.01s; }
}

/* ---- light the lit dial throws on the set and the sideboard ------------------ */

.dsp-valve-radio .vr-spill {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}
.dsp-valve-radio .vr-spill > i { position: absolute; }
.dsp-valve-radio .vr-spill-dial {
  left: 11.8cqw;
  top: 54cqw;
  width: 76.4cqw;
  height: 11.2cqw;
  border-radius: 0.5cqw;
  box-shadow:
    0 0 3.6cqw 0.7cqw rgba(255, 168, 70, 0.4),
    0 0 1.1cqw 0.15cqw rgba(255, 216, 140, 0.55);
}
.dsp-valve-radio .vr-spill-down {
  left: 10.8cqw;
  top: 66.2cqw;
  width: 78.4cqw;
  height: 10cqw;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255, 178, 90, 0.36), rgba(255, 178, 90, 0.1) 55%, rgba(255, 178, 90, 0) 100%);
}
.dsp-valve-radio .vr-spill-up {
  left: 10.8cqw;
  top: 45.4cqw;
  width: 78.4cqw;
  height: 7.6cqw;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(255, 178, 90, 0.3), rgba(255, 178, 90, 0.08) 55%, rgba(255, 178, 90, 0) 100%);
}
.dsp-valve-radio .vr-spill-board {
  left: 12cqw;
  top: 88.8cqw;
  width: 76cqw;
  height: 4.6cqw;
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255, 176, 86, 0.42), rgba(255, 176, 86, 0.12) 55%, rgba(255, 176, 86, 0) 100%);
}

.dsp-valve-radio .vr-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 78% at 44% 42%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

/* ---- as a scene: the wide backdrop is the ground ----------------------------- */

/*
 * The backdrop draws the wall, the sideboard, and what the set throws on them
 * across the whole band, so the square's own copy and its corner vignette go.
 */
.dsp-scene .dsp-valve-radio .vr-wall,
.dsp-scene .dsp-valve-radio .vr-vignette {
  display: none;
}

.dsp-backdrop-valve-radio {
  background: #0b1412;
}
.dsp-backdrop-valve-radio .vr-bd-ground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.dsp-backdrop-valve-radio .vr-bd-ground .dsp-backdrop-prop {
  transition: opacity 0.5s ease;
}
/* The room falls into shadow away from the lamp, centred where the square's vignette was. */
.dsp-backdrop-valve-radio .vr-bd-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120cqw 96cqw at 194cqw 72cqw, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}
