.settings-shell .sound-fx{display:grid;min-width:0;gap:12px}
.settings-shell .sound-fx-group{padding:10px 12px 3px}
.sound-fx h4{margin:0 0 3px;color:var(--arcade-cream,#fff2db);font-size:14px;letter-spacing:.015em}
.sound-fx-mix,.sound-fx-event{display:grid;align-items:center;gap:8px;min-width:0;min-height:44px;padding:5px 0}
.sound-fx-mix{grid-template-columns:minmax(0,1fr) minmax(0,min(47%,160px));font-size:12px;color:var(--settings-muted,#e2cbd8)}
.sound-fx-control{display:flex;align-items:center;gap:6px;min-width:0}
.sound-fx-control input{width:100%;min-width:0;accent-color:var(--settings-highlight,var(--arcade-acid,#ecfb4d))}
.sound-fx-control output{flex:none;min-width:4ch;text-align:end;font-variant-numeric:tabular-nums;color:var(--arcade-cream,#fff2db)}
.sound-fx-event{border-top:1px solid var(--settings-line,#57384f);grid-template-columns:minmax(0,1fr) auto}
.sound-fx-event--voice{grid-template-columns:minmax(0,1fr) minmax(0,116px) auto}
.sound-fx-toggle{display:flex;justify-content:space-between;align-items:center;gap:5px;min-width:0;font-size:12px;color:var(--arcade-cream,#fff2db);cursor:pointer}
.sound-fx-toggle span{overflow-wrap:anywhere}
.sound-fx-voice,.sound-fx-voice :is(select,.pf-select,.pf-select-trigger){width:100%;min-width:0}
.settings-shell .sound-fx-preview{display:inline-flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap;min-height:34px;padding:4px 7px;font-size:11px;width:auto}
.sound-fx-preview svg{flex:none}
.sound-fx-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:365px){
 .sound-fx-event--voice{grid-template-columns:minmax(0,1fr) auto}
 .sound-fx-event--voice .sound-fx-toggle{grid-column:1 / -1}
}
.sound-fx-custom {
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 12px;
 margin:0 0 7px;padding:8px 9px;border:1px solid var(--settings-line,#59463b);border-radius:8px;
}
.sound-fx-custom-copy {min-width:0;}
.sound-fx-custom-copy strong,.sound-fx-custom-copy small {display:block;overflow-wrap:anywhere;}
.sound-fx-custom-copy strong {font-size:.77rem;}
.sound-fx-custom-copy small {margin-top:4px;color:var(--settings-muted,#e2cbd8);font-size:.68rem;}
.sound-fx-custom-actions {display:flex;flex-wrap:wrap;gap:4px;justify-content:end;}
.sound-fx-custom-actions button {min-height:32px;padding:4px 7px;font-size:.68rem;white-space:nowrap;}
.sound-fx-custom-hint {margin:3px 0 7px;font-size:.73rem;}
@media (max-width:365px) {
 .sound-fx-custom {grid-template-columns:minmax(0,1fr);}
 .sound-fx-custom-actions {justify-content:start;}
}
