/* The settings sheet's Sound group (js/ui/sound.js): one row per slider — name and value on top, the slider under them,
   a short note below. Thumbs are 24 px so a thumb on a phone can grab them; the controller highlight is amber. */
.settings-sheet h3 { font-family: var(--head); font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin: 6px 0 0; }
.snd-group { display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.snd-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; padding: 6px 2px; }
.snd-name { font-weight: 700; font-family: var(--head); }
.snd-val { color: var(--cyan); font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }
.snd-note { grid-column: 1 / -1; color: var(--dim); font-size: 0.82rem; }
.snd-row input[type=range] { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; height: 30px; padding: 0; margin: 0; background: transparent; border: 0; cursor: pointer; }
.snd-row input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #1e3a52, #2e5a7a); border: 1px solid var(--line); }
.snd-row input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: #24425c; border: 1px solid var(--line); }
.snd-row input[type=range]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--cyan); }
.snd-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #0c1222; border: 2px solid var(--cyan); box-shadow: 0 0 8px rgba(95, 216, 255, 0.35); }
.snd-row input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #0c1222; border: 2px solid var(--cyan); box-shadow: 0 0 8px rgba(95, 216, 255, 0.35); }
.snd-row input[type=range].pad-focus, .snd-row input[type=range]:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.snd-row input[type=range].pad-focus::-webkit-slider-thumb { border-color: var(--amber); }
.snd-mute { display: flex; align-items: center; gap: 10px; padding: 8px 2px 2px; font-weight: 600; cursor: pointer; }
.snd-mute input { width: 22px; height: 22px; accent-color: var(--cyan); }
.snd-mute input.pad-focus { outline: 2px solid var(--amber); outline-offset: 2px; }
.snd-group.muted .snd-row { opacity: 0.45; }
/* the Picture rows under it: a long option never pushes the sheet wider than a phone */
.settings-sheet > label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.settings-sheet > label select { max-width: 100%; min-width: 0; flex: 1 1 180px; }
