/* Dedicated header rail: sound controls occupy layout space and never float over copy. */
.has-soundscape { padding-bottom:0; }
html:has(.has-soundscape) { scroll-padding-top:155px; }
.rv-soundscape { position:static; display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:5px 12px; padding:5px max(var(--gutter,20px),calc((100% - 1200px)/2)); min-height:44px; background:#06101d; color:#a9bdd3; border-top:1px solid #233b53; box-sizing:border-box; }
.rv-soundscape__button,.rv-soundscape__enable { display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid #2e4964;border-radius:5px;background:#08192b;color:#b5cce0;font:600 12px/1.2 var(--font-body,system-ui,sans-serif);padding:6px 9px;cursor:pointer;touch-action:manipulation; }
.rv-soundscape__button>span:first-child { font-size:16px;line-height:1; }.rv-soundscape__button b{font-size:10px;font-weight:650;color:#8ba4bd}.rv-soundscape__button[aria-pressed=true]{border-color:#2f7198;color:#b8efff;background:#0d2a43}.rv-soundscape__button[aria-pressed=true] b{color:#89e4cb}.rv-soundscape__button:hover,.rv-soundscape__enable:hover{background:#163754;color:#fff}.rv-soundscape__button:focus-visible,.rv-soundscape__enable:focus-visible{outline:2px solid #7bd9f3;outline-offset:3px}.rv-soundscape__enable{background:#155276;border-color:#4ba6cc;color:white}.rv-soundscape__message{font-size:11px;color:#8eaac2}.rv-soundscape [hidden]{display:none!important}
@media(max-width:600px){.rv-soundscape{justify-content:center;gap:5px 7px;padding:5px 12px}.rv-soundscape__message{display:none}.rv-soundscape__button,.rv-soundscape__enable{min-height:38px;font-size:11px;padding-inline:8px}.rv-soundscape__button b{font-size:10px}}
@media print{.rv-soundscape{display:none!important}}
