/* Music and motion share the top utility row. */
.hub-top .ambient-controls{flex-wrap:nowrap;gap:10px}
.music-controls{display:flex;align-items:center;gap:10px;padding:0 10px 0 0;border-right:1px solid #66506c;flex:none}
.hub-top #music-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-width:104px;min-height:38px;color:#d7c2d6;background:#211727b3;border-color:#705875;white-space:nowrap}
.hub-top #music-toggle:hover{border-color:#d193bc;color:#fff0fa;background:#382238}
.hub-top #music-toggle:disabled{cursor:default;opacity:.55}
.hub-top .music-playing #music-toggle{color:#f0bfdc;border-color:#b87c9f;background:#4b2b423d;box-shadow:inset 0 -2px #c98bab55}
.music-bars{display:flex;align-items:center;gap:2px;height:14px;width:13px}
.music-bars i{display:block;width:3px;height:3px;background:#9b819f}
.music-playing .music-bars i{background:#daa8c9;animation:music-meter 1.1s steps(4,end) infinite alternate}
.music-playing .music-bars i:nth-child(2){animation-delay:-.45s}.music-playing .music-bars i:nth-child(3){animation-delay:-.8s}
.music-volume-wrap{display:flex;align-items:center;gap:6px;color:#a58bad;font:9px monospace}
#music-volume{width:66px;height:28px;margin:0;padding:0;accent-color:#c395b7;cursor:pointer}
#music-volume:focus-visible{outline:2px solid #47dff7;outline-offset:3px}
#station-music{display:none}
@keyframes music-meter{from{height:3px}to{height:13px}}
@media(max-width:780px){
 .hub-top .music-volume-wrap>span{display:none}
 #music-volume{width:50px}
 .hub-top .ambient-controls{gap:7px}
 .music-controls{gap:7px;padding-right:7px}
}
@media(max-width:650px){
 body.signal-noise-ready .hub-top{flex-wrap:wrap;padding-block:9px;gap:8px}
 .hub-top .ambient-controls{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;align-items:center}
 .hub-top .signal-levels{grid-row:1;grid-column:1/-1;justify-self:end}
 .hub-top .music-controls{grid-row:1;grid-column:1;justify-content:flex-start;min-width:0;border:0;padding:0}
 .hub-top #ambient-toggle{grid-row:1;grid-column:2;white-space:nowrap}
 .hub-top #music-toggle{min-width:101px;font-size:10px;padding:8px;min-height:38px}
 #music-volume{width:clamp(42px,13vw,68px)}
 body.channel-active .hub-top .signal-levels{display:none}
 body.channel-active .hub-top .music-controls,body.channel-active .hub-top #ambient-toggle{grid-row:1}
}
@media(prefers-reduced-motion:reduce){.music-playing .music-bars i{animation:none;height:9px}}


.music-controls{position:relative}
.sound-notice{position:absolute;top:calc(100% + 4px);right:10px;z-index:9;padding:5px 8px;background:#140e1fee;border:1px solid #705875;color:#e4c7dd;font:10px/1.4 monospace;white-space:nowrap}
@media(min-width:651px) and (max-width:960px){.hub-top .signal-level-label{display:none}.hub-top .ambient-controls{gap:6px}.hub-top .signal-levels button{padding-inline:6px}}
