.electropolis-app .ep-header:has(.ep-sound-button){position:relative;padding-inline-end:50px}
.electropolis-app .ep-header .ep-sound-button{position:absolute;top:50%;right:7px;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;min-width:0;min-height:0;padding:0;margin:0;border:1px solid #ffffff40;border-radius:50%;background:transparent;color:#f0ead1;cursor:pointer;touch-action:manipulation}
.electropolis-app .ep-sound-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.electropolis-app .ep-sound-button:hover,.electropolis-app .ep-sound-button[aria-expanded=true]{background:#ffffff20}
.ep-sound-panel,.ep-sound-panel *{box-sizing:border-box}
.ep-sound-panel{position:fixed;z-index:2147483002;width:196px;max-width:calc(100vw - 16px);margin:0;padding:12px 14px;color:#244a40;background:#fffdf4;border:1px solid #a6bbaa;border-radius:10px;box-shadow:0 5px 22px #17392a33;font:13px/1.4 system-ui,sans-serif}
.ep-sound-panel[hidden]{display:none!important}
.ep-sound-panel>div{display:flex;align-items:center;justify-content:space-between}
.ep-sound-panel label,.ep-sound-panel output{font:600 13px/1.4 system-ui,sans-serif;color:inherit}
.ep-sound-panel input[type=range]{display:block;width:100%;height:32px;margin:4px 0;accent-color:#25796c;cursor:pointer;touch-action:pan-y}
.ep-sound-panel button{display:block;min-height:30px;margin:0;padding:3px 10px;border:1px solid #b7c9ba;border-radius:6px;background:#edf3e8;color:#284f45;cursor:pointer;font:600 12px/1.4 system-ui,sans-serif}
.ep-sound-panel button[aria-pressed=true]{background:#285a4d;color:white}
.ep-sound-panel small{display:block;margin-top:6px}
.ep-sound-button:focus-visible,.ep-sound-panel :focus-visible{outline:2px solid #e5ac3e;outline-offset:2px}
@media(pointer:coarse),(max-width:600px) and (orientation:portrait){
 .electropolis-app .ep-header:has(.ep-sound-button){padding-inline-end:52px}
 .electropolis-app .ep-header .ep-sound-button{width:44px;height:44px;right:3px;border:0}
 .ep-sound-panel button,.ep-sound-panel input[type=range]{min-height:40px}
}
