.sound-dock{position:fixed;right:22px;bottom:20px;z-index:1400;color:#e4edda;font-family:var(--font,Arial,sans-serif);font-size:12px;filter:drop-shadow(0 8px 22px #0004)}
.sound-dock button{cursor:pointer;font:inherit}.sound-dock button:focus-visible,.sound-dock input:focus-visible{outline:2px solid #deff91;outline-offset:3px}
.sound-dock-bar{display:flex;align-items:stretch;background:#112019f2;border:1px solid #a8ba865e;border-radius:8px;overflow:hidden;backdrop-filter:blur(16px)}
.sound-power{display:flex;align-items:center;gap:10px;padding:14px 17px;background:transparent;color:#d7e8c4;border:0;min-height:47px}.sound-mix-button{padding:12px 14px;background:#ffffff08;color:#9fb58d;border:0;border-left:1px solid #a8ba862a}.sound-mix-button span{margin-left:6px}.sound-power:hover,.sound-mix-button:hover{background:#ffffff0a}
.sound-icon{display:flex;align-items:center;gap:3px;height:18px}.sound-icon i{display:block;width:2px;height:5px;background:#cce990;border-radius:2px}.sound-icon i:nth-child(2){height:13px}.sound-icon i:nth-child(3){height:9px}.sound-is-on .sound-icon i{animation:sound-meter 1.1s ease-in-out infinite alternate}.sound-is-on .sound-icon i:nth-child(2){animation-delay:-.6s}.sound-is-on .sound-icon i:nth-child(3){animation-delay:-.3s}.sound-is-on .sound-icon i:nth-child(4){animation-delay:-.8s}
@keyframes sound-meter{from{transform:scaleY(.35)}to{transform:scaleY(1.2)}}
.sound-mixer{box-sizing:border-box;width:330px;background:#17291ff7;border:1px solid #94ad7366;border-radius:12px;padding:23px;margin-bottom:10px;backdrop-filter:blur(22px);max-height:calc(100dvh - 105px);overflow-y:auto}.sound-mixer[hidden]{display:none}.sound-mixer header{display:flex;align-items:start;justify-content:space-between;gap:14px}.sound-mixer header span{font:7px var(--mono,monospace);letter-spacing:.13em;color:#a1b98c}.sound-mixer h2{font-size:27px;letter-spacing:-.055em;font-weight:500;line-height:1.1;margin:8px 0 0}.sound-close{background:transparent;border:1px solid #73906460;border-radius:50%;color:#d4e5c3;font-size:23px!important;line-height:1;width:32px;height:32px}
.sound-score-name{font:10px var(--mono,monospace);letter-spacing:.13em;color:#d4ed9c;padding:16px 0;border-bottom:1px solid #849b6b42}.sound-score-name span{display:block;font:9px var(--font,Arial,sans-serif);color:#8ea781;letter-spacing:0;margin-top:6px}.sound-narration-switch{display:flex;align-items:center;gap:10px;font-size:13px;margin:16px 0}.sound-narration-switch input{accent-color:#cdeb92;width:17px;height:17px}.sound-narration-switch small{display:block;font-size:9px;color:#8fa584;margin-top:4px}
.sound-sliders{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px;margin-top:23px}.sound-sliders label{font-size:10px;color:#b0c3a0;display:grid;grid-template-columns:1fr auto;gap:7px}.sound-sliders output{font:9px var(--mono,monospace);color:#d6e9bb}.sound-sliders input{grid-column:1/-1;width:100%;margin:0;accent-color:#bedc88;cursor:pointer;height:22px}
.sound-presets{display:flex;gap:6px;margin-top:21px}.sound-presets button{flex:1;background:#2a402a;border:1px solid #78925b60;color:#c5d5b4;padding:10px 5px;border-radius:4px;font-size:9px}.sound-presets button:hover{background:#3d5534}.sound-notice{font:9px/1.5 var(--mono,monospace);color:#b2c895;margin:17px 0 0}.sound-mixer-note{font-size:9px;line-height:1.65;color:#819c75;margin-bottom:0}
@media(max-width:700px){.sound-dock{right:12px;bottom:max(12px,env(safe-area-inset-bottom));font-size:10px}.sound-power{padding:11px 13px;min-height:44px}.sound-mix-button{padding:10px 11px}.sound-mixer{width:min(330px,calc(100vw - 24px));padding:20px}.horizon-footer{padding-bottom:85px}}
@media(prefers-reduced-motion:reduce){.sound-icon i{animation:none!important}}
.journey-cinema-open .sound-dock{top:16px;bottom:auto;display:flex;flex-direction:column-reverse;align-items:flex-end}
.journey-cinema-open .sound-mixer{margin:10px 0 0}
.journey-cinema-open .journey-intro-actions{visibility:hidden}
@media(max-width:700px){.journey-cinema-open .sound-dock{top:10px;right:10px}.journey-cinema-open .sound-mixer{max-height:calc(100dvh - 80px)}}

/* Shared Red Ledger palette for the floating audio mixer; preserve its fixed dock and mixer behavior. */
.sound-dock{color:var(--rl-text,#f2f3f5)}
.sound-dock button:focus-visible,.sound-dock input:focus-visible{outline-color:var(--rl-accent,#d86b4a)}
.sound-dock-bar{background:#111317f2;border-color:var(--rl-line,#30343b)}
.sound-power{color:var(--rl-text,#f2f3f5)}
.sound-mix-button{background:#ffffff08;color:var(--rl-muted,#a3a9b2);border-left-color:var(--rl-line,#30343b)}
.sound-power:hover,.sound-mix-button:hover{background:var(--rl-accent-soft,#261814)}
.sound-icon i{background:var(--rl-accent,#d86b4a)}
.sound-mixer{background:#111317f7;border-color:var(--rl-line,#30343b)}
.sound-mixer header span,.sound-score-name,.sound-sliders output{color:var(--rl-accent,#d86b4a)}
.sound-close{border-color:var(--rl-line,#30343b);color:var(--rl-text,#f2f3f5)}
.sound-score-name{border-bottom-color:var(--rl-line,#30343b)}
.sound-score-name span,.sound-narration-switch small,.sound-mixer-note{color:var(--rl-muted,#a3a9b2)}
.sound-narration-switch input,.sound-sliders input{accent-color:var(--rl-accent,#d86b4a)}
.sound-sliders label{color:var(--rl-muted,#a3a9b2)}
.sound-presets button{background:var(--rl-surface,#111317);border-color:var(--rl-line,#30343b);color:var(--rl-text,#f2f3f5)}
.sound-presets button:hover{background:var(--rl-accent-soft,#261814)}
.sound-notice{color:var(--rl-muted,#a3a9b2)}
.sound-dock button:focus-visible,.sound-dock input:focus-visible{outline-color:var(--rl-accent,#d86b4a)}
body[data-rl-page=globe] .sound-dock{bottom:10px;right:14px}
@media(max-width:700px){body[data-rl-page=globe] .sound-dock{bottom:8px;right:8px}.sound-dock{max-width:calc(100vw - 24px)}.sound-mixer{max-height:70dvh;overflow:auto}}
