/* Shared interaction feedback; preserves each page's palette and layout. */
:where(button, a[href], [role="button"], input[type="button"], input[type="submit"], input[type="reset"], summary):not(:disabled):not([aria-disabled="true"]){cursor:pointer;touch-action:manipulation;transition:filter 160ms ease,translate 160ms ease,scale 120ms ease,background-color 180ms ease,box-shadow 180ms ease}
@media(hover:hover) and (pointer:fine){
 :where(button,a[href],[role="button"],input[type="button"],input[type="submit"],input[type="reset"],summary):not(:disabled):not([aria-disabled="true"]):hover{filter:brightness(1.1) drop-shadow(0 3px 5px #ffffff14);translate:0 -1px}
}
:where(button,a[href],[role="button"],input[type="button"],input[type="submit"],input[type="reset"],summary):not(:disabled):not([aria-disabled="true"]):active{filter:brightness(.94);translate:0 1px;scale:.98}
:where(button,a[href],[role="button"],input[type="button"],input[type="submit"],input[type="reset"],summary):focus-visible{outline:2px solid var(--skin-accent,#e4bd69);outline-offset:3px}
/* Printed hardware controls and positioned branding must not drift off their artwork. */
:where(.console-hit,.default-artwork-control,.cd-controls button,.xp-controls button,#radio,.one-drop-fullscreen):hover,
:where(.console-hit,.default-artwork-control,.cd-controls button,.xp-controls button,#radio,.one-drop-fullscreen):active{translate:none;scale:1}
@media(prefers-reduced-motion:reduce){
 :where(button,a[href],[role="button"],input[type="button"],input[type="submit"],input[type="reset"],summary){transition:none!important;translate:none!important;scale:1!important}
}
.persistent-music-bar{position:fixed;z-index:12000;bottom:0;left:0;right:0;display:flex;align-items:center;gap:12px;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom));background:var(--skin-deep,#172016);color:var(--skin-ink,#fff);border-top:1px solid #ffffff30;box-shadow:0 -4px 24px #0004}
.persistent-music-bar[hidden]{display:none}
.persistent-music-bar>div{min-width:0;flex:1}.persistent-music-bar strong,.persistent-music-bar small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.persistent-music-bar small{font-size:11px;opacity:.75}
.persistent-music-bar button{flex:none;min-width:44px;height:44px;display:grid;place-items:center;border-radius:12px;border:1px solid #ffffff30;background:#ffffff12;color:inherit;padding:10px}.persistent-music-bar svg{width:22px;height:22px}.persistent-clock{font:12px ui-monospace,monospace}
.has-persistent-music{padding-bottom:76px!important}.persistent-browse-frame{position:fixed;inset:0 0 76px;z-index:11000;width:100%;height:calc(100dvh - 76px);border:0;background:#111}.persistent-browsing{overflow:hidden!important}
body.radio-expanded>.persistent-music-bar{display:none!important}

.persistent-browse-frame[hidden]{display:none!important}.persistent-music-bar{gap:5px}.persistent-music-bar strong{font-size:12px}.persistent-music-bar button:disabled{opacity:.35}.persistent-music-bar .persistent-return{font-size:11px;padding:6px;min-width:42px}

/* A destination completely replaces the visible music page; audio stays mounted. */
body.persistent-browsing > :not(.persistent-browse-frame):not(.persistent-music-bar){visibility:hidden!important;pointer-events:none!important}
body.persistent-browsing > .persistent-browse-frame{visibility:visible!important;z-index:100000!important;inset:0!important;height:100dvh!important;background:#111!important}
body.persistent-browsing.has-persistent-music > .persistent-browse-frame{bottom:76px!important;height:calc(100dvh - 76px)!important}
body.persistent-browsing > .persistent-music-bar:not([hidden]){visibility:visible!important;display:flex!important;z-index:100001!important}
