.sound-control{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom,0px));right:calc(24px + env(safe-area-inset-right,0px));z-index:20;max-width:calc(100vw - 32px)}
.sound-control[hidden]{display:none}
#sound-toggle{display:flex;gap:12px;align-items:center;min-height:46px;padding:12px 19px;background:#0a1511f2;color:#e6e5d5;border:1px solid #a8b69b80;border-radius:0;box-shadow:0 4px 24px #0003;font:11px var(--sans);letter-spacing:1px;cursor:pointer}
#sound-toggle:hover{background:#24382b;border-color:#d7ddc7}
#sound-toggle:focus-visible{outline:2px solid #dec692;outline-offset:4px}
.sound-bars{display:flex;align-items:center;gap:3px;height:17px;width:21px}
.sound-bars i{display:block;width:2px;height:4px;background:currentColor;transform-origin:center}
.sound-bars i:nth-child(2){height:13px}.sound-bars i:nth-child(3){height:9px}.sound-bars i:nth-child(4){height:16px}
#sound-toggle[aria-pressed=true] .sound-bars i{animation:sound-wave 1.2s ease-in-out infinite alternate}
#sound-toggle[aria-pressed=true] .sound-bars i:nth-child(2){animation-delay:-.7s}#sound-toggle[aria-pressed=true] .sound-bars i:nth-child(3){animation-delay:-.4s}#sound-toggle[aria-pressed=true] .sound-bars i:nth-child(4){animation-delay:-1s}
#sound-status:not(:empty){display:block;position:absolute;bottom:calc(100% + 10px);right:0;width:240px;max-width:calc(100vw - 32px);padding:12px;background:#0a1511;color:#e6e5d5;border:1px solid #a8b69b80;font:12px/1.5 var(--sans)}
.site-footer{padding-bottom:95px}
@keyframes sound-wave{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@media(max-width:720px){.sound-control{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px))}#sound-toggle{padding:11px 16px;min-height:44px;font-size:10px}.site-footer{padding-bottom:90px}}
@media(prefers-reduced-motion:reduce){#sound-toggle[aria-pressed=true] .sound-bars i{animation:none}}
