:root{color-scheme:dark;font-family:"Segoe UI",Arial,sans-serif;background:#080c1c;color:#f5f8ff}
*{box-sizing:border-box}html,body,#receiver{margin:0;width:100%;height:100%;overflow:hidden}
#receiver{position:relative;isolation:isolate}
.atmosphere{position:absolute;inset:0;z-index:-2;background:radial-gradient(ellipse at 82% 20%,#152a383d,transparent 56%),radial-gradient(ellipse at 20% 67%,#2b184e69,transparent 65%),linear-gradient(125deg,#080d20,#111125 55%,#081d27)}
#bubble-scene,#bubble-fallback{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:-1;pointer-events:none}
[hidden]{display:none!important}
.brand{position:absolute;left:10%;top:10%;font-size:clamp(18px,1.7vw,35px);font-weight:650;letter-spacing:-.04em;text-shadow:0 2px 22px #080c1c}
.brand span{font-weight:350;color:#a9c4d7}
.now-playing{position:absolute;left:10%;right:10%;bottom:10%;display:flex;align-items:end;justify-content:space-between;gap:6vw}
.track{min-width:0;max-width:65%;text-shadow:0 2px 18px #060918,0 2px 44px #060918}
.eyebrow{margin:0 0 12px;color:#9cddd9;font-size:clamp(11px,1vw,19px);letter-spacing:.15em;text-transform:uppercase}
h1{font-weight:550;font-size:clamp(25px,3.5vw,66px);line-height:1.12;letter-spacing:-.035em;margin:0 0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#track-subtitle{font-size:clamp(14px,1.5vw,28px);color:#b7c6d7;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.controls{display:flex;align-items:center;justify-content:end;gap:24px;min-width:22%;padding-bottom:2px}
button{width:clamp(48px,4.8vw,88px);height:clamp(48px,4.8vw,88px);flex-shrink:0;border:1px solid #b8e6e34d;border-radius:50%;background:#17313d66;color:#e9ffff;font:inherit;font-size:clamp(17px,1.6vw,30px);cursor:pointer}
button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible{outline:3px solid #83e6e2;outline-offset:5px}
.timeline{width:14vw;min-width:90px}.timeline input{width:100%;accent-color:#89e4e2;cursor:pointer}.timeline p{display:flex;justify-content:space-between;font-size:clamp(11px,.8vw,17px);color:#adbecf;margin:7px 0 0}
.live{color:#a6e3d9;letter-spacing:.15em;font-size:clamp(11px,1vw,18px)}
.preview-note{position:absolute;right:4%;top:4%;margin:0;font-size:12px;letter-spacing:.04em;color:#8496b3}
/* Keep a visible static scene if WebGL or its texture cannot render. The
   gradient layers remain visible even when the shared material image is missing. */
.fallback-bubble{position:absolute;display:block;aspect-ratio:1;border-radius:49% 51% 47% 53% / 51% 47% 53% 49%;overflow:hidden;background:url("assets/phone-bubble-material.webp") 50% 45% / 125% 150%,radial-gradient(circle at 28% 22%,#e1fffdba,transparent 28%),conic-gradient(from 125deg,#084c77,#5326a9,#087f9b,#20caaf,#184a88,#084c77);box-shadow:inset 1px 1px 3px #a6eeff88;transform:translate(-50%,-50%) rotate(var(--phase))}
/* CAF owns media playback and remote controls; this page owns only the display. */
cast-media-player{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden}
.artwork-only .now-playing,.artwork-only .preview-note{display:none}
@media(max-aspect-ratio:1/1){.now-playing{align-items:start;flex-direction:column;gap:24px}.track{max-width:100%}.controls{justify-content:start}.timeline{width:45vw}.brand{top:8%}.preview-note{font-size:10px}}
