/* Study Quest — sound-menu.css (V7.8 lane Q, v78-sound): Options -> Sound, the quick Music toggle in the Music window.
   Flat colour and texture from the theme (no gradients); composes the panels' own rows and toggles (js/sound-menu.js). */
.snd-music-onoff .codex-action__icon { position: relative; }
.snd-music-onoff .codex-action__icon > svg.snd-slash { position: absolute; inset: 0; width: 100%; height: 100%; }
.snd-music-onoff.is-off { color: var(--cx-text-dim, #a89a80); }
.snd-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; width: 100%; }
.snd-kinds .sqp-toggle { min-width: 0; }
.snd-kinds .sqp-toggle-text > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snd-menu.is-muted .set-row .set-ctl { opacity: 0.72; }
.snd-menu.is-muted .set-row:first-of-type .set-ctl { opacity: 1; }
.snd-open-music { white-space: nowrap; }
@media (max-width: 560px) { .snd-kinds { grid-template-columns: minmax(0, 1fr); } }

/* fixer r56 (play critic r56 S10: "on and off look nearly the same"): in the Sound menu, OFF = a dark, empty track with the bolt
 * pulled back and dimmed; ON = a lit amber track with the bolt across and bright; and the word itself after each label.
 * Flat colours (no gradients). */
.snd-menu .sqp-switch { background: #0b0c0e; }
.snd-menu .sqp-switch::after { opacity: 0.55; }
.snd-menu input:checked + .sqp-switch { background: #8a5a14; box-shadow: inset 0 0 0 1px #e6b422, 0 0 0 1px rgba(176, 122, 60, 0.42); }
.snd-menu input:checked + .sqp-switch::after { opacity: 1; }
.snd-menu .sqp-toggle-text > span:first-child::after { content: ' · Off'; color: var(--cx-text-dim); font-weight: 400; }
.snd-menu input:checked ~ .sqp-toggle-text > span:first-child::after { content: ' · On'; color: #ffd27a; font-weight: 700; }
