.world-object--radio {
  width: clamp(142px, 15vw, 220px);
  aspect-ratio: 1.55;
  z-index: 7;
}

.radio-shell {
  position: absolute;
  inset: 10% 0 0;
  display: block;
  border-radius: 9px 9px 13px 13px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), transparent 8% 92%, rgba(0,0,0,.28)),
    repeating-linear-gradient(8deg, rgba(255,255,255,.018) 0 1px, transparent 1px 5px),
    linear-gradient(145deg, #4b2d1d, #25170f 58%, #53311e);
  border: 1px solid rgba(185, 140, 101, .22);
  box-shadow:
    0 30px 48px rgba(0,0,0,.78),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 34px rgba(103, 196, 220, .055);
  transform: translateY(0) rotateZ(-.7deg);
  transition: transform .38s ease, box-shadow .38s ease, filter .38s ease;
}

.radio-handle {
  position: absolute;
  left: 23%;
  right: 23%;
  height: 22%;
  top: -18%;
  border: 8px solid #2b1a11;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px rgba(155,110,78,.14) inset;
}

.radio-face {
  position: absolute;
  inset: 10% 6% 9%;
  border-radius: 5px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent 24%),
    linear-gradient(150deg, #171918, #090b0b 62%, #1e211e);
  border: 1px solid rgba(194, 210, 204, .09);
  box-shadow: 0 0 0 2px rgba(0,0,0,.5) inset;
}

.radio-speaker {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 38%;
  bottom: 14%;
  border-radius: 4px;
  background:
    radial-gradient(circle at center, rgba(108, 88, 67, .24), transparent 61%),
    repeating-radial-gradient(circle, #171717 0 2px, #292721 2.5px 3.5px, #0e0f0e 4px 5px);
  border: 1px solid rgba(184, 155, 115, .12);
  box-shadow: 0 0 17px rgba(0,0,0,.52) inset;
}

.radio-tuner {
  position: absolute;
  left: 48%;
  right: 5%;
  top: 12%;
  height: 29%;
  overflow: hidden;
  border-radius: 3px;
  background:
    linear-gradient(to bottom, rgba(206, 183, 118, .17), rgba(68, 54, 28, .18)),
    #171711;
  border: 1px solid rgba(206, 184, 118, .25);
  box-shadow:
    0 0 12px rgba(192, 158, 76, .09) inset,
    0 0 12px rgba(0,0,0,.32);
}

.radio-scale {
  position: absolute;
  inset: 25% 7% 15%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Georgia, serif;
  font-size: clamp(.38rem, .52vw, .56rem);
  color: rgba(226, 210, 151, .62);
}

.radio-scale-mark.is-ds {
  color: rgba(225, 239, 235, .92);
  text-shadow: 0 0 8px rgba(135, 222, 239, .35);
  letter-spacing: .06em;
}

.radio-tuner::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 15%;
  height: 1px;
  background: rgba(228, 207, 139, .24);
  box-shadow: 0 -7px 0 rgba(228, 207, 139, .08);
}

.radio-needle {
  position: absolute;
  top: 9%;
  bottom: 8%;
  left: 51%;
  width: 1px;
  background: #e34d3d;
  box-shadow: 0 0 6px rgba(233, 74, 56, .58);
  transform: translateX(-50%);
}

.world-object--radio:hover .radio-needle,
.world-object--radio:focus-visible .radio-needle {
  animation: radio-tuner-scan 1.35s cubic-bezier(.25,.65,.35,1) both;
}

.world-object--radio.is-playing .radio-needle {
  left: 51%;
  animation: none;
}

.radio-controls {
  position: absolute;
  left: 49%;
  right: 5%;
  bottom: 15%;
  height: 29%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.radio-knob {
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 37% 31%, rgba(255,255,255,.11), transparent 18%),
    repeating-conic-gradient(#151615 0 8deg, #292927 8deg 13deg);
  border: 1px solid rgba(213, 205, 184, .12);
  box-shadow: 0 4px 8px rgba(0,0,0,.52);
}

.radio-onair {
  position: absolute;
  right: 6%;
  top: 47%;
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: clamp(.32rem, .42vw, .46rem);
  letter-spacing: .11em;
  color: rgba(222, 201, 176, .38);
}

.radio-onair-lamp {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #451511;
  box-shadow: 0 0 0 1px rgba(224, 95, 72, .11);
  transition: background .25s ease, box-shadow .25s ease;
}

.world-object--radio.is-playing .radio-onair {
  color: rgba(245, 217, 198, .88);
}

.world-object--radio.is-playing .radio-onair-lamp {
  background: #e04d3b;
  box-shadow: 0 0 11px rgba(229, 72, 55, .88), 0 0 2px #fff inset;
}

.radio-brand {
  position: absolute;
  left: 49%;
  bottom: 7%;
  width: 46%;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
  font-family: Georgia, serif;
  font-size: clamp(.31rem, .42vw, .46rem);
  letter-spacing: .12em;
  color: rgba(205, 188, 158, .48);
}

.world-object--radio:hover .radio-shell,
.world-object--radio:focus-visible .radio-shell {
  transform: translateY(-7px) rotateZ(.4deg) scale(1.035);
  filter: brightness(1.06);
  box-shadow:
    0 36px 55px rgba(0,0,0,.82),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 40px rgba(109, 201, 225, .10);
}

.world-object--radio.is-playing .radio-shell {
  box-shadow:
    0 34px 54px rgba(0,0,0,.82),
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 0 44px rgba(118, 215, 238, .13);
}

@keyframes radio-tuner-scan {
  0% { left: 18%; }
  36% { left: 78%; }
  68% { left: 38%; }
  100% { left: 51%; }
}

/* Radio detail panel */
.radio-detail {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  min-height: 510px;
}

.radio-detail-visual {
  display: grid;
  place-items: center;
  padding: clamp(36px, 6vw, 72px);
  background:
    radial-gradient(circle at 50% 46%, rgba(108, 195, 218, .08), transparent 42%),
    linear-gradient(145deg, #081014, #020507);
}

.radio-detail-receiver {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1.55;
  border-radius: 13px;
  background:
    repeating-linear-gradient(8deg, rgba(255,255,255,.018) 0 1px, transparent 1px 6px),
    linear-gradient(145deg, #573621, #24160e 58%, #5a3822);
  border: 1px solid rgba(196, 146, 104, .22);
  box-shadow: 0 34px 60px rgba(0,0,0,.72);
}

.radio-detail-receiver::before {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  height: 23%;
  top: -18%;
  border: 12px solid #2c1b12;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

.radio-detail-tuner {
  position: absolute;
  left: 47%;
  right: 6%;
  top: 16%;
  height: 23%;
  overflow: hidden;
  border: 1px solid rgba(225, 204, 137, .24);
  background: #15150f;
  box-shadow: 0 0 17px rgba(197, 162, 77, .08) inset;
}

.radio-detail-scale {
  position: absolute;
  inset: 29% 8% 18%;
  display: flex;
  justify-content: space-between;
  color: rgba(230, 212, 153, .6);
  font-family: Georgia, serif;
  font-size: .62rem;
}

.radio-detail-scale .is-ds {
  color: #dff7fb;
  text-shadow: 0 0 8px rgba(128, 222, 241, .33);
}

.radio-detail-needle {
  position: absolute;
  left: 51%;
  top: 10%;
  bottom: 9%;
  width: 1px;
  background: #e34d3d;
  box-shadow: 0 0 7px rgba(233, 74, 56, .55);
}

.radio-detail-speaker {
  position: absolute;
  left: 6%;
  width: 35%;
  top: 17%;
  bottom: 14%;
  border: 1px solid rgba(184, 155, 115, .12);
  background: repeating-radial-gradient(circle, #181817 0 3px, #2b2923 3px 5px, #111211 5px 7px);
}

.radio-detail-onair {
  position: absolute;
  right: 7%;
  top: 48%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(236, 210, 191, .74);
  font-size: .62rem;
  letter-spacing: .18em;
}

.radio-detail-lamp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8a2c24;
  box-shadow: 0 0 8px rgba(223, 69, 54, .35);
}

.world-object--radio.is-playing ~ * .radio-detail-lamp,
body.radio-playing .radio-detail-lamp {
  background: #e04d3b;
  box-shadow: 0 0 12px rgba(229, 72, 55, .9);
}

.radio-detail-copy {
  padding: clamp(38px, 5vw, 72px);
  align-self: center;
}

.radio-detail-copy h2 {
  margin: 0;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  color: #eaf7fb;
}

.radio-now-playing {
  margin: 28px 0 22px;
  padding: 15px 0 15px 16px;
  border-left: 1px solid rgba(131, 207, 226, .32);
}

.radio-now-label {
  display: block;
  margin-bottom: 7px;
  font-size: .6rem;
  letter-spacing: .28em;
  color: rgba(135, 202, 219, .55);
}

.radio-now-playing strong {
  font-weight: 400;
  color: rgba(231, 246, 250, .88);
}

.radio-play-button {
  min-width: 120px;
  padding: 12px 18px;
  border: 1px solid rgba(143, 207, 224, .25);
  background: rgba(99, 187, 211, .04);
  color: rgba(224, 243, 248, .86);
  font-size: .7rem;
  letter-spacing: .28em;
  cursor: none;
}

.radio-play-button:hover,
.radio-play-button:focus-visible {
  background: rgba(105, 194, 219, .09);
  border-color: rgba(143, 207, 224, .42);
}

.radio-stream-status,
.radio-endpoint-note {
  max-width: 56ch;
  color: rgba(170, 204, 213, .6);
  font-size: .7rem;
  line-height: 1.55;
}

.radio-stream-status {
  margin: 15px 0 8px;
  letter-spacing: .06em;
}

.radio-endpoint-note {
  margin: 18px 0 0;
  opacity: .72;
}

@media (pointer: coarse) {
  .radio-play-button { cursor: pointer; }
}

@media (max-width: 760px) {
  .world-scene { min-height: 1320px; }
  .world-object--radio { width: 156px; }
  .radio-detail { grid-template-columns: 1fr; }
  .radio-detail-visual { min-height: 300px; padding: 54px 32px; }
  .radio-detail-copy { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .radio-needle,
  .world-object--radio:hover .radio-needle,
  .world-object--radio:focus-visible .radio-needle {
    animation: none !important;
    left: 51%;
  }
}
