/* Control de efectos de sonido (v2.86.0): botón de altavoz en la barra superior y ventanita con interruptor y volumen. */
.sfxbtn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:26px;height:24px;padding:0 8px!important;margin:0 6px 0 0!important;padding:0!important;min-width:0;border:1px solid var(--edge-d,#2a3a4a);border-radius:999px;background:rgba(9,14,20,.5);color:#cfe0f0;cursor:pointer;vertical-align:middle;flex:none}
.sfxbtn.off{opacity:.55}
.sfxbtn:focus-visible{outline:2px solid var(--gold,#e0b84a);outline-offset:1px}
html.mob .sfxbtn{height:32px;margin:0 4px 0 0!important;padding:0 10px!important}.cfgbtn span{font-size:12px}html.mob .cfgbtn span{display:none}html.mob .sfxbtn{min-width:34px}
html.mob.land .sfxbtn{height:28px}
.sfxpop{position:fixed;z-index:200;display:flex;flex-direction:column;gap:10px;min-width:210px;padding:12px 14px;border:1px solid var(--edge-d,#2a3a4a);border-radius:10px;background:rgba(9,14,20,.96);color:#dfe9f3;box-shadow:0 8px 24px rgba(0,0,0,.5);font-size:14px}
.sfxpop label{display:flex;align-items:center;gap:8px}
.sfxpop .sfxvol{flex-direction:column;align-items:stretch;gap:4px}
.sfxpop input[type=range]{width:100%;min-height:28px}
.sfxpop input[type=checkbox]{width:20px;height:20px}
.sfxpop button{align-self:flex-end;min-height:34px;padding:4px 14px}

.sfxpop{max-height:calc(100vh - 20px);overflow:auto;min-width:260px;max-width:340px}
.sfxpop h4{margin:0 0 6px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--mut,#8796a7)}.sfxpop section{display:flex;flex-direction:column;gap:10px;padding-top:10px;border-top:1px solid var(--edge-d,#2a3a4a)}
.cfghd{display:flex;align-items:center;justify-content:space-between}.cfghd b{font-size:15px}.cfgx{align-self:center!important;min-width:34px;font-size:20px;line-height:1;background:none;border:0;color:inherit}
.uilist{display:grid;gap:6px}.uiopt{display:flex!important;align-items:center;gap:10px;padding:8px;border:1px solid var(--edge-d,#2a3a4a);border-radius:8px;cursor:pointer}.uiopt.on{border-color:var(--ice,#a6e8ff);background:rgba(166,232,255,.08)}
.uiopt input{position:absolute;opacity:0;pointer-events:none}.uiopt:focus-within{outline:2px solid var(--gold,#e0b84a)}.uiopt span{display:flex;flex-direction:column}.uiopt small{color:var(--mut,#8796a7);font-size:12px}
.uisw{flex:none;width:34px;height:34px;border-radius:8px;border:1px solid rgba(255,255,255,.2)}
.uisw-classic{background:linear-gradient(135deg,#0d131a,#6db6dc)}.uisw-codice{background:linear-gradient(135deg,#201910,#d9b15b)}.uisw-aurora{background:linear-gradient(135deg,#0d2326,#7be0b0 60%,#f2c46b)}.uisw-cronica{background:linear-gradient(135deg,#1a130b,#f0c36a 55%,#35f0ff)}
.sfxpop.sheet{left:0!important;right:0;top:auto!important;bottom:0;max-width:none;max-height:82vh;border-radius:16px 16px 0 0;padding:14px 16px calc(16px + env(safe-area-inset-bottom,0px));font-size:16px}
.sfxpop.sheet .uiopt{padding:12px}.sfxpop.sheet input[type=range]{min-height:36px}
.uilist h5{margin:6px 0 0;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--ice,#a6e8ff);font-weight:600}
.uisw-codice-lar{background:linear-gradient(135deg,#0d1230,#38e4ff 55%,#ff5db1)}.uisw-aurora-lar{background:linear-gradient(135deg,#14123a,#46e6ff 50%,#ff4fb0)}.uisw-cronica-lar{background:linear-gradient(135deg,#07101f,#35f0ff 55%,#ff3fa6)}
.sfxpop:has(.uilist){max-height:calc(100vh - 20px)}
.uisw-mono{background:#000;border:2px solid #fff}.uisw-pixel{background:linear-gradient(90deg,#1a1c2c 50%,#5d275d 50%);border-radius:0;box-shadow:inset -3px -3px 0 #29366f,inset 3px 3px 0 #73eff7}
.uisw-terminal{background:#000;border-radius:0;box-shadow:inset 0 0 0 3px #39ff6a,inset 0 0 0 5px #000}
