/* Sons (musique, bruitage, voix) dans le design F : cases de l'Atelier, choix de la voix, fiche de la Biblio, section Son de
   la page Style, édition dans Design. Uniquement les jetons de design-tokens.css (un seul accent, pas de dégradé). */

/* Atelier : une case de son = la forme d'onde, un bouton lecture rond, la durée en mono. */
.cell .au-cell { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--f-pj); }
.cell .au-cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cell .au-cell > .cs svg { width: 34px; height: 34px; color: var(--f-dim); }
.au-play { position: relative; width: 48px; height: 48px; border-radius: var(--f-r-pill); border: 0; background: var(--f-text); color: var(--f-bg); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.au-play svg { width: 20px; height: 20px; }
.au-play[aria-pressed="true"] { background: var(--f-accent); }
.au-play:focus-visible { outline: 2px solid var(--f-accent); outline-offset: 3px; }
.cell .au-meta { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: 10.5px; color: var(--f-text-2); background: rgba(10, 11, 13, .75); padding: 3px 8px; border-radius: var(--f-r-pill); width: max-content; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Listes des voix : la liste native du design F (select.in.sel de phase6.css) ; les groupes de langues aussi. */
select.in.sel optgroup { background: var(--f-s2); color: var(--f-muted); }

/* Biblio : lecteur de la fiche d'un son. */
.bib-audio-panel { display: flex; flex-direction: column; gap: 8px; }
.bib-audio { width: 100%; height: 36px; color-scheme: dark; }
.bib-audio-panel .bib-meta { font-family: var(--f-font-mono); font-size: 10.5px; }

/* Page Style : section Son. */
.style-audio { display: flex; flex-direction: column; gap: 14px; }
.style-audio .sa-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: start; }
.style-audio .sa-row > span { display: flex; align-items: center; gap: 6px; color: var(--f-muted); font-size: 12px; padding-top: 4px; }
.style-audio .sa-row > span svg { width: 15px; height: 15px; }
.style-audio select.in { max-width: 280px; }

