/* Only the sound on/off icon remains visible, pinned to the upper-right. */
.kingdom-sound-toggle{position:fixed;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));z-index:30;display:grid;place-items:center;width:44px;height:44px;padding:11px;border:1px solid #b6cee347;border-radius:50%;background:#081321dd;color:#dceeff;cursor:pointer;backdrop-filter:blur(14px);box-shadow:0 3px 16px #0003;transition:background .2s,border-color .2s}
.kingdom-sound-toggle svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.kingdom-sound-toggle .sound-waves{display:none}
.kingdom-sound-toggle[data-state=on]{color:#d1ebff;border-color:#9fc8e980;background:#193047db}
.kingdom-sound-toggle[data-state=on] .sound-waves{display:block}
.kingdom-sound-toggle[data-state=on] .sound-off-mark{display:none}
.kingdom-sound-toggle:hover{background:#1d3548;border-color:#c0e2ff}
.kingdom-sound-toggle:focus-visible{outline:2px solid #c1e6ff;outline-offset:4px}
.kingdom-sound-toggle:disabled{opacity:.5;cursor:default}
.sound-accessible-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Reserve room beside the existing navigation without moving any page content. */
header{padding-right:84px}
@media(max-width:700px){.kingdom-sound-toggle{top:max(8px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:44px;height:44px}header{padding-right:72px}.menu{margin-right:0}}
@media(prefers-reduced-motion:reduce){.kingdom-sound-toggle{transition:none}}
@media print{.kingdom-sound-toggle,.sound-accessible-status{display:none}}
