/* A small industrial switch, not another modal, banner or decorative card. */
.ps-sound-dock{position:fixed;z-index:80;right:max(14px,env(safe-area-inset-right));bottom:calc(14px + env(safe-area-inset-bottom));pointer-events:none;font-family:Arial,Helvetica,sans-serif;max-width:calc(100vw - 28px)}
.ps-sound-dock[hidden]{display:none!important}
.ps-sound-switch{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:8px 13px 8px 8px;border:1px solid #a9893b;border-radius:4px;background:#15130f;color:#f9eee0;cursor:pointer;box-shadow:0 4px 16px #0009;border-bottom:3px solid #7e621e;text-align:left;min-height:44px;max-width:100%;font:inherit}
.ps-sound-icon{width:31px;height:31px;flex:0 0 31px;display:grid;place-items:center;background:#ffc925;color:#15130f;border-radius:2px;box-shadow:inset 0 -2px #9d7518}
.ps-sound-icon svg{width:21px;height:21px}
.ps-sound-copy{display:flex;flex-direction:column;gap:3px;white-space:nowrap}
.ps-sound-copy strong{font-size:11px;font-weight:900;letter-spacing:.055em}
.ps-sound-copy small{font-size:10px;font-weight:500;color:#c1b5a3}
.ps-sound-dock[data-sound="on"] .ps-sound-waves{display:initial}
.ps-sound-dock[data-sound="on"] .ps-sound-slash,.ps-sound-dock:not([data-sound="on"]) .ps-sound-waves{display:none}
.ps-sound-dock:is([data-sound="on"],[data-sound="off"]) .ps-sound-copy small{display:none}
.ps-sound-dock[data-sound="on"] .ps-sound-icon{background:#171715;color:#f7cf53;border:1px solid #a88b41}
.ps-sound-dock[data-sound="new"] .ps-sound-switch{border-color:#e4b82e;background:linear-gradient(105deg,#34291a,#15130f 65%);animation:ps-sound-arrive .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes ps-sound-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ps-sound-switch:focus-visible{outline:2px solid #ffc925;outline-offset:4px}
@media(max-width:520px){.ps-sound-dock{right:10px;bottom:calc(10px + env(safe-area-inset-bottom))}.ps-sound-switch{gap:7px;padding:6px 10px 6px 6px}.ps-sound-copy strong{font-size:10px}.ps-sound-copy small{font-size:9px}.ps-sound-icon{width:28px;height:28px;flex-basis:28px}}
@media(prefers-reduced-motion:reduce){.ps-sound-switch{animation:none!important}}
/* A focused player/dialog has its own transport; keep the dock out of the way. */
body:has(dialog[open]) .ps-sound-dock{visibility:hidden}
