/* A horizontal table set, with enough area to read the case at phone widths. */
.inspiration-prop[data-source="radio"] {
  --radio-width:clamp(115px,min(22.8vw,35.2vh),368px);
  --prop-rest:translate(-50%,-50%) rotate(8deg);
  --radio-gutter:clamp(22px,3vw,44px);
  --spot-x:clamp(calc(var(--stock-x) + var(--stock-width)*.515 + var(--radio-gutter) + var(--radio-width)*.5),
    78.4%,calc(100% - var(--radio-width)*.5 - 24px));
  appearance:none; margin:0; padding:0; border:0; background:none;
  width:var(--radio-width); min-height:44px; cursor:pointer;
}
.radio-art { display:block; width:100%; height:auto; overflow:visible; pointer-events:none; }
.radio-knob-left,.radio-knob-right { transform-box:fill-box; transform-origin:center; }
.radio-wave {
  fill:none; stroke:#ffcf85; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  transform-origin:0 171px; transform:translateY(5.5px) scaleY(.68);
  filter:drop-shadow(0 0 1.4px #f7a74f); opacity:0;
}
[data-source="radio"][data-experiencing] .radio-wave { opacity:1; animation:radio-voice .92s linear infinite; }
.radio-emission { opacity:0; stroke:#ffe2a7; stroke-width:2.8; filter:drop-shadow(0 0 1.8px #a36139); }
.radio-emission path { opacity:.52; }
.radio-emission-left path { transform-origin:11px 32px; }
.radio-emission-right path { transform-origin:389px 32px; }
[data-source="radio"][data-experiencing] .radio-emission { opacity:1; }
[data-source="radio"][data-experiencing] .radio-emission path { animation:radio-radiate 1.16s ease-out infinite; }
[data-source="radio"][data-experiencing] .radio-emission path + path { animation-delay:.16s; }
@keyframes radio-radiate {
  0% { opacity:.38; transform:scale(.88); }
  30% { opacity:.80; }
  88%,100% { opacity:.08; transform:scale(1.12); }
}
[data-source="radio"][data-experiencing] .radio-knob-left { animation:radio-turn-left .43s cubic-bezier(.21,.75,.36,1) both; }
[data-source="radio"][data-experiencing] .radio-knob-right { animation:radio-turn-right .55s .055s cubic-bezier(.21,.75,.36,1) both; }
@keyframes radio-turn-left { from { transform:rotate(0); } to { transform:rotate(30deg); } }
@keyframes radio-turn-right { from { transform:rotate(0); } to { transform:rotate(-43deg); } }
/* Equal SVG command counts interpolate the trace without changing the glass or scale.
   Offbeat voice-like peaks travel along the channel; no audio input or output. */
@keyframes radio-voice {
  0%, 100% { d:path("M112 171C115 171 117 171 120 171C123 171 125 171 128 171C131 171 133 173 136 173C139 173 141 168 144 168C147 168 149 177 152 177C155 177 157 163 160 163C163 163 165 178 168 178C171 178 173 168 176 168C179 168 181 172 184 172C187 172 189 164 192 164C195 164 197 177 200 177C203 177 205 163 208 163C211 163 213 176 216 176C219 176 221 167 224 167C227 167 229 173 232 173C235 173 237 169 240 169C243 169 245 174 248 174C251 174 253 167 256 167C259 167 261 173 264 173C267 173 269 171 272 171C275 171 277 171 280 171C283 171 285 171 288 171"); }
  15% { d:path("M112 171C115 171 117 171 120 171C123 171 125 172 128 172C131 172 133 169 136 169C139 169 141 174 144 174C147 174 149 165 152 165C155 165 157 178 160 178C163 178 165 167 168 167C171 167 173 175 176 175C179 175 181 163 184 163C187 163 189 177 192 177C195 177 197 165 200 165C203 165 205 178 208 178C211 178 213 163 216 163C219 163 221 176 224 176C227 176 229 167 232 167C235 167 237 172 240 172C243 172 245 168 248 168C251 168 253 174 256 174C259 174 261 169 264 169C267 169 269 172 272 172C275 172 277 170 280 170C283 170 285 171 288 171"); }
  31% { d:path("M112 171C115 171 117 171 120 171C123 171 125 170 128 170C131 170 133 174 136 174C139 174 141 165 144 165C147 165 149 176 152 176C155 176 157 171 160 171C163 171 165 168 168 168C171 168 173 177 176 177C179 177 181 163 184 163C187 163 189 177 192 177C195 177 197 165 200 165C203 165 205 174 208 174C211 174 213 166 216 166C219 166 221 177 224 177C227 177 229 163 232 163C235 163 237 176 240 176C243 176 245 168 248 168C251 168 253 171 256 171C259 171 261 174 264 174C267 174 269 169 272 169C275 169 277 171 280 171C283 171 285 171 288 171"); }
  47% { d:path("M112 171C115 171 117 171 120 171C123 171 125 172 128 172C131 172 133 170 136 170C139 170 141 173 144 173C147 173 149 168 152 168C155 168 157 174 160 174C163 174 165 164 168 164C171 164 173 177 176 177C179 177 181 163 184 163C187 163 189 178 192 178C195 178 197 170 200 170C203 170 205 164 208 164C211 164 213 178 216 178C219 178 221 167 224 167C227 167 229 177 232 177C235 177 237 163 240 163C243 163 245 176 248 176C251 176 253 168 256 168C259 168 261 172 264 172C267 172 269 170 272 170C275 170 277 171 280 171C283 171 285 171 288 171"); }
  65% { d:path("M112 171C115 171 117 171 120 171C123 171 125 171 128 171C131 171 133 170 136 170C139 170 141 175 144 175C147 175 149 166 152 166C155 166 157 174 160 174C163 174 165 164 168 164C171 164 173 177 176 177C179 177 181 170 184 170C187 170 189 162 192 162C195 162 197 178 200 178C203 178 205 166 208 166C211 166 213 177 216 177C219 177 221 164 224 164C227 164 229 171 232 171C235 171 237 175 240 175C243 175 245 166 248 166C251 166 253 174 256 174C259 174 261 168 264 168C267 168 269 173 272 173C275 173 277 171 280 171C283 171 285 171 288 171"); }
  82% { d:path("M112 171C115 171 117 171 120 171C123 171 125 172 128 172C131 172 133 173 136 173C139 173 141 166 144 166C147 166 149 174 152 174C155 174 157 167 160 167C163 167 165 176 168 176C171 176 173 165 176 165C179 165 181 173 184 173C187 173 189 171 192 171C195 171 197 177 200 177C203 177 205 164 208 164C211 164 213 178 216 178C219 178 221 162 224 162C227 162 229 177 232 177C235 177 237 168 240 168C243 168 245 174 248 174C251 174 253 166 256 166C259 166 261 174 264 174C267 174 269 170 272 170C275 170 277 171 280 171C283 171 285 171 288 171"); }
}
@media (max-aspect-ratio:17/20) {
  .inspiration-prop[data-source="radio"] {
    --radio-width:clamp(114px,43.7vw,179px);
    --spot-x:calc(100% - var(--radio-width)*.58 - 7px);
    --spot-y:min(calc(100% - var(--radio-width)*.37 - 10px),
      max(74.2%,calc(var(--stock-y) + var(--stock-width)*.733 + var(--radio-width)*.37 + 19px)));
  }
}
@media (prefers-reduced-motion:reduce) {
  [data-source="radio"][data-experiencing] .radio-wave { animation:none; }
  [data-source="radio"][data-experiencing] .radio-emission path { animation:none; }
  [data-source="radio"][data-experiencing] .radio-knob-left { animation:none; transform:rotate(30deg); }
  [data-source="radio"][data-experiencing] .radio-knob-right { animation:none; transform:rotate(-43deg); }
}
:root[data-cloud-motion="off"] [data-source="radio"][data-experiencing] .radio-wave { animation:none; }
:root[data-cloud-motion="off"] [data-source="radio"][data-experiencing] .radio-emission path { animation:none; }
:root[data-cloud-motion="off"] [data-source="radio"][data-experiencing] .radio-knob-left { animation:none; transform:rotate(30deg); }
:root[data-cloud-motion="off"] [data-source="radio"][data-experiencing] .radio-knob-right { animation:none; transform:rotate(-43deg); }
