.sound-toggle{position:absolute;right:14px;top:58px;z-index:9;width:35px;height:35px;border:1px solid #bca16c77;border-radius:50%;background:#0c1a29b8;color:#e8ce97;display:grid;place-items:center;cursor:pointer}
.sound-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
[data-sound=on] .sound-toggle{box-shadow:0 0 12px #d4ab5b66}
#kingdom-sound-panel{width:min(90vw,380px);max-height:90dvh;overflow:auto;margin:auto;padding:24px;border:1px solid #aa8d57;border-radius:14px;background:#101c26;color:#e9d7b3;font:14px/1.5 var(--kingdom-serif)}
#kingdom-sound-panel::backdrop{background:#02070dd9}
#kingdom-sound-panel h2{font:600 22px var(--kingdom-serif);margin:0 0 18px}
.sound-close{position:absolute;right:10px;top:8px;border:0;background:none;color:#ead6a9;font-size:26px;width:36px;height:36px;cursor:pointer}
.sound-power,.sound-read{width:100%;min-height:42px;border:1px solid #a8884d;border-radius:6px;background:#273039;color:#f0d7a3;font:inherit;cursor:pointer;margin-bottom:12px}
.sound-power[aria-pressed=true]{background:#715327}
.sound-row{display:grid;grid-template-columns:1fr 125px;align-items:center;gap:12px;margin:14px 0}
.sound-row input{width:100%;accent-color:#dbba75}
.sound-voice{display:flex;align-items:center;gap:8px;margin:20px 0 12px}
.sound-voice input{accent-color:#d3b16b}
.sound-voice-select{display:grid;gap:5px;margin-bottom:12px}
.sound-voice-select select{width:100%;padding:8px;background:#1b2a35;color:#efdbb4;border:1px solid #a38a5866;border-radius:5px;font:inherit}
#sound-status{font:12px/1.5 var(--kingdom-serif);color:#a7b2b9;margin:0}
.sound-read:disabled{opacity:.45;cursor:default}
