/* Studio presentation applies ONLY to the existing phone breakpoint. */
@media(max-width:740px){
/* Retrobzik studio 6.1: shared desktop/mobile presentation. */
html body{background:#06111b url('./studio-background.webp') center top/cover fixed!important;font-family:Arial,Helvetica,sans-serif}
html body:before{content:'';position:fixed;inset:0;background:linear-gradient(#04111b55,#06111bd9 64%,#06111bf5);pointer-events:none;z-index:-1}
html .receiver,html.radio-embedded .receiver{background:transparent!important;box-shadow:none!important;border:0!important;position:relative;isolation:isolate}
html .brand,html.radio-embedded .brand{height:34px!important;min-height:34px!important;background:none!important;border:0!important;padding:0!important;box-shadow:none!important;justify-content:flex-end}
html .brand h1,html .brand .tagline,html .brand .connection,html .brand .screw{display:none!important}
html .settings-button,html.radio-embedded .settings-button{display:block!important;margin:0 12px 0 auto;position:relative;z-index:2;background:none!important;border:0;color:#c6dce9}
html .body-grid,html.radio-embedded .body-grid{padding-top:0!important}
html .glass-display,html .display-shell,html .display-content{background:transparent!important;box-shadow:none!important;border:0!important}
.studio-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.42fr) minmax(0,1fr);align-items:center;gap:12px;width:100%;max-width:650px;margin:12px auto 20px}
html .studio-stage .cover-art,html.radio-embedded .studio-stage .cover-art{width:100%!important;aspect-ratio:1;height:auto!important;margin:0!important;border-radius:14px}
.studio-station{font:500 12px/1.4 Arial,sans-serif;letter-spacing:3px;color:#efcc8c;margin:14px 0 0;text-align:center}
.studio-speaker{position:relative;aspect-ratio:.68;border-radius:12px;background:linear-gradient(110deg,#74513b 0,#242525 7%,#101719 18%,#222b2d 85%,#8c5b32 100%);border:1px solid #67767c;box-shadow:0 12px 20px #0009,inset 0 1px 2px #d8c39777;padding:9% 10%;display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.studio-speaker:before,.studio-speaker:after{content:'';position:absolute;width:4px;height:4px;border-radius:50%;background:#030809;border:1px solid #6a7475;top:6px;left:6px}.studio-speaker:after{left:auto;right:6px}
.tweeter{width:55%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#071015 0 17%,#56636b 21%,#121a1e 28%,#04090c 40%,#424e53 44%,#111a1d 60%);box-shadow:0 0 0 1px #77828b55}
.woofer{width:100%;aspect-ratio:1;border-radius:50%;padding:6%;background:radial-gradient(circle,#081012 58%,#54868c 60%,#03191d 63%,#1ce0d1 65%,#092e34 68%);box-shadow:0 0 calc(2px + var(--bass,0)*15px) #1cddc899}
.cone{width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 47% 42%,#4c6269 0,#0a171e 17%,#02080e 24%,#23343a 29%,#52636a 53%,#17242b 60%,#02090d 69%,#65767a 73%,#0b151c 80%);transform:scale(calc(1 + var(--bass,0)*.055));will-change:transform}
.bass-port{height:5%;width:68%;border-radius:10px;background:#010609;box-shadow:0 1px 1px #a0a89b66}
.track-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:4;animation:cover-in .5s ease}
@keyframes cover-in{from{opacity:0}to{opacity:1}}
html .transport .rb-ticker,html.radio-embedded .transport .rb-ticker{order:3;width:100%;max-width:none;min-height:66px;margin:28px 0 0!important;border-radius:0;border:0;border-top:1px solid #29869388;border-bottom:1px solid #29869355;background:#0b202cc9!important;box-shadow:none;color:#f0f3f7!important;padding:14px 10px;font:400 18px/1.5 Arial,Helvetica,sans-serif!important}
html .rb-ticker-text{font:400 18px/1.5 Arial,Helvetica,sans-serif!important;text-shadow:none!important}
html .rb-ticker-toggle{background:transparent;border:0;color:#8da7b5;opacity:.7}
@media(max-width:740px){
html .receiver,html.radio-embedded .receiver{min-height:100%!important}
html .deck,html.radio-embedded .deck{min-height:calc(100dvh - 55px)!important}
html .station-heading,html.radio-embedded .station-heading{display:flex!important;flex-direction:column!important}
html .onair,html.radio-embedded .onair{order:-2;margin-top:5px!important}
html .studio-station{order:-1;font-size:11px;margin-top:13px}
.studio-stage{gap:10px;margin:14px auto 18px}
html .station-description{display:none!important}
html #muteBtn,html.radio-embedded #muteBtn{display:flex!important;grid-column:1;grid-row:1;flex-direction:column;font-size:10px!important;gap:7px}
#muteIcon{font:25px Arial,sans-serif;color:#92acbd}
html .transport,html.radio-embedded .transport{flex:1!important;gap:16px!important}
html .transport-buttons,html.radio-embedded .transport-buttons{margin:12px 0 0!important}
html .transport .rb-ticker,html.radio-embedded .transport .rb-ticker{margin-top:auto!important;flex:none;min-height:62px;width:calc(100% + 36px);max-width:calc(100% + 36px);align-self:center}
html .community-link,html .listener-count{display:none!important}
html .visual-area,html.radio-embedded .visual-area{height:48px;min-height:48px;max-height:48px}
}
@media(min-width:741px){.studio-stage{max-width:510px}.cover-art{display:block!important}.station-heading{display:flex!important;flex-direction:column;align-items:center}.onair{order:-2}.studio-station{order:-1}.transport{flex-wrap:wrap}.transport .rb-ticker{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.track-cover{animation:none}.cone{transform:none!important;will-change:auto}}
.reduced-motion .cone{transform:none!important;will-change:auto}
.studio-speaker{background:transparent url('./speaker.webp') center/100% 100% no-repeat;border:0;box-shadow:0 9px 16px #0005;padding:0;overflow:hidden}
.studio-speaker:before,.studio-speaker:after,.studio-speaker .tweeter,.studio-speaker .bass-port{display:none}
.studio-speaker .woofer{position:absolute;left:15%;top:34%;width:70%;height:47%;aspect-ratio:1;padding:0;background:none;box-shadow:0 0 calc(var(--bass,0)*13px) #18c8c970;transform:scale(calc(1 + var(--bass,0)*.04));border:1px solid #38e0d12b}
.studio-speaker .cone{background:transparent;box-shadow:inset 0 0 calc(var(--bass,0)*18px) #23dfcb33}
html body{background-image:linear-gradient(#06111b66,#06111bc9 70%,#06111bf0),url('./studio-background.webp')!important}
/* 6.2: explicit backdrop layer beats legacy embedded body rules. */
html.radio-embedded body,html body{background:#06111b!important;position:relative;isolation:isolate}
html.radio-embedded body:before,html body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#04101b26 0%,#06111b66 54%,#06111bdd 100%),url('./studio-background.webp') center top/cover no-repeat!important;opacity:1}
html .volume-control,html.radio-embedded .volume-control{display:none!important}
html .studio-speaker{transform:scale(calc(1 + var(--bass,0)*.035));filter:brightness(calc(1 + var(--bass,0)*.28));transform-origin:50% 65%}
html .studio-speaker .woofer{border:2px solid rgb(36 235 218 / calc(.15 + var(--bass,0)*.65));box-shadow:0 0 calc(2px + var(--bass,0)*18px) rgb(28 220 204 / calc(.08 + var(--bass,0)*.5))}
html .reduced-motion .studio-speaker{transform:none!important;filter:none!important}
@media(max-width:740px){
html .body-grid,html.radio-embedded .body-grid{padding-bottom:84px!important}
html .deck,html.radio-embedded .deck{min-height:0!important}
html .transport,html.radio-embedded .transport{flex:0!important;margin-top:14px}
html .transport .rb-ticker,html.radio-embedded .transport .rb-ticker{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:20;width:100%!important;max-width:100%!important;margin:0!important;min-height:66px!important;padding:16px 12px!important;background:#0a1b29f5!important}
}
@media(prefers-reduced-motion:reduce){html .studio-speaker{transform:none!important;filter:none!important}}
@media(max-width:740px){html.radio-embedded body:before,html body:before{background-size:100% 100%!important;background-position:center top!important}}
/* 6.3: studio is a shallow upper scene, not a stretched page background. */
html.radio-embedded body:before,html body:before{height:clamp(320px,86vw,530px)!important;bottom:auto!important;background:linear-gradient(to bottom,#06111b05 0%,#06111b12 54%,#06111b9c 78%,#06111b 100%),url('./studio-background.webp') center -32px/100% 100% no-repeat!important}
@media(max-width:740px){html.radio-embedded body:before,html body:before{height:86vw!important;max-height:420px!important;min-height:275px!important;background-size:100% 100%!important;background-position:center -32px!important}}
/* 6.4: new composed photograph; mic and lamp occupy the empty top corners. */
html.radio-embedded body:before,html body:before{height:var(--studio-scene-height,350px)!important;min-height:0!important;max-height:none!important;bottom:auto!important;background:linear-gradient(to bottom,#06111b05 0%,#06111b0a 64%,#06111b80 84%,#06111b 100%),url('./studio-scene-64.webp') center top/100% 100% no-repeat!important;background-position:center top!important;background-size:100% 100%!important}

/* 6.5: separate bounded scene layer; disable all previous whole-page layers. */
html body:before,html.radio-embedded body:before{display:none!important;background:none!important}
html body,html.radio-embedded body{background:#06111b!important}
.studio-backdrop{position:fixed;left:0;right:0;top:0;bottom:auto;height:var(--studio-scene-height,330px);z-index:-1;pointer-events:none;background:linear-gradient(to bottom,#06111b05 0%,#06111b0a 64%,#06111b80 84%,#06111b 100%),url('./studio-scene-64.webp') center top/100% 100% no-repeat}

}
@media(min-width:741px){.studio-backdrop,.studio-stage,.studio-station{display:none!important}}
