/* ═══ Réglages du son (V1.2 Lot D) — DA AMBITION SCHOOL : vert terminal sur noir ═══ */
.snd-panel { display: grid; gap: 14px; }
.snd-switch { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; text-align: left; cursor: pointer; color: var(--text); background: rgba(0,0,0,.4); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; touch-action: manipulation; }
.snd-switch b { font-size: 16px; letter-spacing: .04em; }
.snd-switch small { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.snd-knob { position: relative; width: 52px; height: 30px; border-radius: 15px; background: #26302b; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .2s; }
.snd-knob::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #9fb3a8; transition: transform .2s, background .2s; }
.snd-switch[aria-pressed=true] { border-color: var(--green); }
.snd-switch[aria-pressed=true] .snd-knob { background: rgba(25,226,122,.35); }
.snd-switch[aria-pressed=true] .snd-knob::after { transform: translateX(22px); background: var(--green); box-shadow: 0 0 10px var(--green); }
.snd-switch[aria-pressed=true] small { color: var(--green); }
.snd-switch:disabled { opacity: .45; cursor: default; }
.snd-switch:focus-visible, .snd-step:focus-visible, .snd-vol input:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.snd-vol { display: grid; gap: 6px; }
.snd-lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.snd-vol-row { display: grid; grid-template-columns: 48px 1fr 48px 56px; align-items: center; gap: 10px; }
.snd-step { width: 48px; height: 48px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; color: var(--green); background: rgba(0,0,0,.45); border: 1px solid var(--line-strong); touch-action: manipulation; }
.snd-step:active { background: rgba(25,226,122,.2); }
.snd-vol input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; touch-action: pan-y; }
.snd-vol input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--green) var(--p, 70%), rgba(255,255,255,.12) var(--p, 70%)); }
.snd-vol input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); }
.snd-vol input[type=range]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--green); }
.snd-vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(25,226,122,.25); }
.snd-vol input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--green); }
.snd-vol-txt { text-align: right; color: var(--green); }
.snd-panel[data-on=false] .snd-vol { opacity: .55; }
.snd-test { min-height: 48px; }
.snd-status { margin: 0; min-height: 1.2em; color: var(--warn, #ffc53d); }
.snd-status:empty { display: none; }
.snd-note { margin: 0; }

/* Bouton « Son » : icône haut-parleur dessinée en CSS (aucune image) */
.snd-btn { display: inline-flex; align-items: center; gap: 8px; }
.snd-ico { position: relative; width: 18px; height: 16px; flex: none; }
.snd-ico::before { content: ''; position: absolute; left: 0; top: 4px; width: 6px; height: 8px; background: currentColor; box-shadow: 4px 0 0 0 currentColor; clip-path: polygon(0 0, 60% 0, 100% -40%, 100% 140%, 60% 100%, 0 100%); }
.snd-ico::after { content: ''; position: absolute; left: 10px; top: 2px; width: 7px; height: 12px; border: 2px solid currentColor; border-left: 0; border-radius: 0 10px 10px 0; }
[data-on=false] > .snd-ico::after { border: 0; width: 10px; height: 2px; top: 7px; left: 9px; border-radius: 0; background: currentColor; transform: rotate(45deg); box-shadow: 0 0 0 0 currentColor; }
[data-on=false] > .snd-ico { opacity: .75; }

/* Choix du son à l'entrée (équipe) */
.join-sound { justify-self: center; }
