#juvee-radio{position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:12000;font:400 13px Kanit,Segoe UI,sans-serif;color:#eee8f7}#juvee-radio button{font:inherit;cursor:pointer;touch-action:manipulation}#juvee-radio svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#bgm-toggle{margin-left:auto;display:grid;place-items:center;width:42px;height:42px;border:1px solid #756184;border-radius:50%;background:#25202ef5;color:#77B2FF;padding:10px;box-shadow:0 3px 14px #0003}#bgm-toggle.is-playing{border-color:#77B2FF}#radio-panel{position:absolute;bottom:54px;right:0;width:296px;max-width:calc(100vw - 28px);background:#211b2a;border:1px solid #665175;border-radius:14px;padding:16px;box-shadow:0 12px 36px #0006;animation:radio-open .2s ease-out}#radio-panel[hidden]{display:none}#radio-panel button{display:grid;place-items:center;background:transparent;color:#d8cde5;border:0;border-radius:7px;padding:8px;min-height:36px}#radio-panel button:disabled{opacity:.4;cursor:default}.radio-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#77B2FF;font-size:11px;letter-spacing:1.7px}.radio-heading strong{font-weight:600}#radio-panel #radio-close{padding:4px;min-height:28px}#radio-close svg{width:16px;height:16px}#radio-track{font-size:16px;font-weight:500;line-height:1.4;margin:10px 0 3px;color:#f1eafa;overflow-wrap:anywhere}#radio-status{min-height:18px;font-size:10px;line-height:1.5;color:#a99bb7;margin:0 0 12px}.radio-transport{display:flex;justify-content:center;align-items:center;gap:14px}#radio-panel #radio-play{width:44px;height:44px;border-radius:50%;background:#382944;color:#77B2FF}.radio-timeline,.radio-volume{display:flex;align-items:center;gap:8px;margin-top:12px;color:#a99bb7;font-size:10px;font-variant-numeric:tabular-nums}#juvee-radio input[type=range]{min-width:0;flex:1;width:100%;height:20px;padding:0;accent-color:#77B2FF;cursor:pointer}.radio-timeline span{min-width:27px}.radio-volume{margin-top:5px}#radio-panel #radio-mute{padding:4px}.radio-volume>span{min-width:30px;text-align:right}#radio-playlist{margin-top:12px;border-top:1px solid #48364f;padding-top:11px}#radio-playlist summary{cursor:pointer;color:#d8cde5;font-size:12px}#radio-playlist summary span{float:right;color:#9e8daf;font-size:10px}#radio-playlist ol{list-style:none;margin:10px 0 0;padding:0;max-height:160px;overflow:auto}#radio-panel li button{display:block;width:100%;text-align:left;font-size:12px;line-height:1.4;overflow-wrap:anywhere}#radio-panel li button.current{background:#382b46;color:#77B2FF}#juvee-radio button:focus-visible,#radio-playlist summary:focus-visible,#juvee-radio input:focus-visible{outline:2px solid #FF398F;outline-offset:3px}@media(hover:hover){#juvee-radio button:hover{color:#FF398F}#bgm-toggle:hover{border-color:#FF398F}#radio-panel li button:hover{background:#302439}}@keyframes radio-open{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){#juvee-radio{right:12px;bottom:max(12px,env(safe-area-inset-bottom))}#radio-panel{width:280px;max-height:calc(100svh - 86px);overflow-y:auto}}@media(prefers-reduced-motion:reduce){#radio-panel{animation:none}}

#juvee-radio{display:flex;align-items:center;gap:8px}#radio-quick-mute{display:grid;place-items:center;width:36px;height:36px;padding:8px;background:#25202ef5;color:#77B2FF;border:1px solid #756184;border-radius:50%;box-shadow:0 3px 14px #0003}#radio-quick-mute svg{width:18px;height:18px}@media(hover:hover){#radio-quick-mute:hover{border-color:#FF398F}}

/* Four compact controls emerge from behind the main music circle. */
#juvee-radio{display:block;width:42px;height:42px}
#bgm-toggle{position:relative;z-index:2}
.radio-fan{position:absolute;right:0;bottom:0;width:226px;height:42px;pointer-events:none}
#juvee-radio .radio-fan button{position:absolute;right:3px;bottom:3px;display:grid;place-items:center;width:36px;height:36px;padding:8px;background:#25202ef5;color:#77B2FF;border:1px solid #756184;border-radius:50%;box-shadow:0 3px 14px #0003;opacity:0;transform:translateX(0) scale(.8);pointer-events:none;transition:transform .32s cubic-bezier(.22,1,.36,1),opacity .18s ease}
#juvee-radio .radio-fan svg{width:18px;height:18px}
#radio-quick-mute{--radio-offset:-46px;--radio-delay:0ms}
#radio-quick-next{--radio-offset:-90px;--radio-delay:25ms}
#radio-quick-play{--radio-offset:-134px;--radio-delay:50ms}
#radio-quick-prev{--radio-offset:-178px;--radio-delay:75ms}
#juvee-radio.controls-open .radio-fan{pointer-events:auto}
#juvee-radio.controls-open .radio-fan button{opacity:1;transform:translateX(var(--radio-offset)) scale(1);pointer-events:auto;transition-delay:var(--radio-delay)}
@media(hover:hover){#juvee-radio .radio-fan button:hover{color:#FF398F;border-color:#FF398F}}
@media(prefers-reduced-motion:reduce){#juvee-radio .radio-fan button{transition:none}}

/* The main circle quietly reflects playback without moving the button itself. */
#bgm-toggle.is-playing svg{animation:radio-note-bounce 1.6s ease-in-out infinite}
#juvee-radio #bgm-toggle.is-muted{color:#FF398F;border-color:#FF398F}
@keyframes radio-note-bounce{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-2px) rotate(-4deg)}65%{transform:translateY(0) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){#bgm-toggle.is-playing svg{animation:none}}

#juvee-radio #radio-volume{touch-action:pan-x}
