.studio-player{position:fixed;z-index:95;left:6px;bottom:6px;width:350px;color:#111;font:400 13px/1.35 var(--font-text,'Helvetica Neue',sans-serif)}
.studio-player button,.studio-player a{-webkit-tap-highlight-color:transparent;font:inherit;color:inherit}
.studio-player button{border:0;cursor:pointer}.studio-player [hidden]{display:none!important}
.studio-player button:focus-visible,.studio-player a:focus-visible{outline:2px solid #2454d6;outline-offset:3px}
.studio-player__bar{display:flex;align-items:center;gap:4px;height:42px;padding:4px 6px 4px 5px;background:#faf9f7;border-radius:25px;box-shadow:0 2px 16px #0000000d}
.studio-player__record{position:relative;flex:none;width:32px;height:32px;padding:0;border-radius:50%;background:repeating-radial-gradient(circle at center,#111 0 2px,#313131 3px,#111 4px 5px)}
.studio-player__record span{position:absolute;inset:10px;border-radius:50%;background:#f8df53}.studio-player__record span:after{content:'';position:absolute;inset:5px;border-radius:50%;background:#111}
.studio-player__now{flex:1;min-width:0;background:none;text-align:left;padding:0 6px}.studio-player__now span,.studio-player__now small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.studio-player__now span{font-size:12px}.studio-player__now small{font-size:10px;opacity:.6;margin-top:1px}
.studio-player__control{flex:none;width:24px;height:32px;padding:0;background:none;font-size:24px!important;line-height:1!important}
.studio-player__play{flex:none;width:30px;height:30px;border-radius:50%;background:#151515;color:#fff!important;display:grid;place-items:center;padding:5px}.studio-player__play svg{width:17px;height:17px;fill:currentColor}
.studio-player__panel{position:absolute;bottom:50px;left:0;width:100%;background:#faf9f7;border-radius:22px;box-shadow:0 8px 40px #0003;overflow:auto;max-height:calc(100dvh - 112px);overscroll-behavior:contain}
.studio-player__heading{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 18px 15px}.studio-player__heading strong{font-size:20px;font-weight:400;letter-spacing:-.035em}.studio-player__heading p{font-size:11px;opacity:.6;margin:4px 0 0}.studio-player__heading button{font-size:23px;line-height:1;background:transparent;width:30px;height:30px;border-radius:50%}
.studio-player__embed{margin:0 12px 12px;min-height:152px;position:relative;border-radius:12px;background:#e9e8e4;overflow:hidden}.studio-player__embed iframe{display:block;width:100%;height:152px;border:0}.studio-player__embed>p{padding:15px;font-size:12px;margin:0}.studio-player__embed>iframe+p{position:absolute;inset:auto 0 0;background:#faf9f7ed}
.studio-player__tracks{list-style:none;margin:0;padding:0 12px;max-height:272px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.studio-player__tracks li{margin:0;padding:0}.studio-player__tracks button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 7px;background:none;border-top:1px solid #deddd7;text-align:left;border-radius:0}.studio-player__tracks button:hover,.studio-player__tracks button[aria-current=true]{background:#ecebe6;border-radius:8px}.studio-player__number{width:18px;flex:none;font-size:10px;color:#777}.studio-player__tracks button>span:nth-child(2){flex:1;min-width:0}.studio-player__tracks strong,.studio-player__tracks small{display:block;font-weight:400}.studio-player__tracks strong{font-size:12px;line-height:1.35}.studio-player__tracks small{font-size:10px;color:#777;margin-top:2px}.studio-player__track-arrow{font-size:16px}.studio-player__foot{display:flex;justify-content:space-between;gap:12px;margin:15px 18px 0;font-size:11px}.studio-player__foot a{text-decoration:underline;text-underline-offset:3px}.studio-player__foot button{background:none;padding:0}.studio-player__note{font-size:10px;line-height:1.5;color:#777;padding:0 18px 18px;margin:12px 0 0}
body:has(dialog[open]) .studio-player,body:has([data-menu]:not([hidden])) .studio-player{visibility:hidden;pointer-events:none}
.studio-player.is-playing .studio-player__record{animation:studio-vinyl 5s linear infinite}@keyframes studio-vinyl{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.studio-player.is-playing .studio-player__record{animation:none}}
@media(max-width:820px){.studio-player{left:16px;bottom:max(12px,env(safe-area-inset-bottom));width:min(350px,calc(100vw - 32px))}.studio-player__bar{height:48px;padding:4px 8px 4px 6px}.studio-player__panel{bottom:56px;max-height:calc(100dvh - 136px)}.studio-player__now span{font-size:12px}}
body.studio-player-popout{margin:0;min-height:100dvh;background:#e9e8e4}.studio-player-popout .studio-player{position:relative;left:auto;bottom:auto;width:min(100% - 24px,380px);margin:12px auto}.studio-player-popout .studio-player__panel{position:relative;bottom:auto;max-height:none}.studio-player-popout .studio-player__bar{margin-top:8px}

/* Compact bar: 228px instead of 350px, 35% narrower, with a full-size expandable panel. */
.studio-player{width:228px}.studio-player__panel{width:min(350px,calc(100vw - 32px))}
.studio-player__now{padding-inline:3px}.studio-player__control{width:20px}.studio-player__bar{gap:3px}

.studio-player.uses-apple .studio-player__embed{min-height:175px}.studio-player.uses-apple .studio-player__embed iframe{height:175px}
@media(max-width:820px){.studio-player{width:min(228px,calc(100vw - 32px))}.studio-player__panel{width:min(350px,calc(100vw - 32px))}}
.studio-player-popout .studio-player{width:min(100% - 24px,380px)}.studio-player-popout .studio-player__panel{width:100%}

/* The complete illustration turns inside a circular CSS mask, hands included. */
.studio-player__record{overflow:hidden;background:#000;isolation:isolate}
.studio-player__record img{display:block;width:100%;height:100%;object-fit:contain;border-radius:50%;animation:studio-record-art-turn 16s linear infinite;transform-origin:50% 50%;pointer-events:none}
@keyframes studio-record-art-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.studio-player__record img{animation:none}}
/* Keep the expanded player within the footprint of its compact bar. */
.studio-player__panel{width:100%;border-radius:18px;max-height:min(520px,calc(100dvh - 130px))}
.studio-player__heading{padding:12px 10px 8px}.studio-player__heading strong{font-size:16px}.studio-player__heading p{display:none}
.studio-player__tracks{max-height:150px;padding:0 8px}.studio-player__tracks button{gap:6px;padding:9px 4px;min-height:44px}
.studio-player__embed{margin:0 8px 8px}.studio-player__foot{margin:10px 10px 0;font-size:10px;gap:6px}.studio-player__note{font-size:9px;padding:0 10px 12px;margin-top:8px}
@media(max-width:820px){.studio-player__panel{width:100%;max-height:min(480px,calc(100dvh - 144px))}.studio-player__tracks{max-height:132px}}
body:not(.studio-player-popout) .studio-player__mini-launch{background:#151515;color:#fff;padding:12px;border-radius:8px;min-height:44px;margin:0 12px 12px;width:calc(100% - 24px);font-size:12px}
body:not(.studio-player-popout) .studio-player__embed{min-height:0;background:#ecebe6}
body:not(.studio-player-popout) .studio-player__embed>p{font-size:12px;padding:12px;line-height:1.5}
.studio-player-popout .studio-player{width:min(100% - 24px,350px)}
.studio-player-popout .studio-player__panel{width:100%;max-height:none}
.studio-player-popout .studio-player__tracks{max-height:260px}
.studio-player-popout .studio-player__embed{min-height:152px}
.studio-player-popout .studio-player__embed iframe{height:152px}
