


.voix { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; overflow: hidden;
  border: 0; border-radius: var(--r-outil); background: rgba(235, 211, 162, .05); box-shadow: inset 0 0 0 1px rgba(235, 211, 162, .42);
  color: var(--champagne); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color .18s, box-shadow .18s; }
.voix:hover { background: rgba(235, 211, 162, .11); box-shadow: inset 0 0 0 1px rgba(235, 211, 162, .7); }
.voix:disabled { opacity: .45; cursor: default; }
.voix svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; }
.voix .voix__pause, .voix--joue .voix__joue { display: none; }
.voix--joue .voix__pause { display: block; }
.voix__temps { color: var(--encre-3); font-weight: 400; }
.voix__barre { position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p, 0) * 100%); background: var(--champagne); }
.voix__place { margin: var(--e3) 0 0; }


.voix--dit .voix__w { color: var(--encre-3); transition: color .25s; }
.voix--dit .voix__w--dit { color: var(--encre); text-shadow: 0 0 18px rgba(235, 211, 162, .3); }


.musique { gap: 2px; grid-auto-flow: column; color: var(--encre-2); transition: color .18s; }
.musique:hover { color: var(--encre); }
.musique[aria-pressed="true"] { color: var(--champagne); }
.musique svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.musique--flotte { position: fixed; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 55;
  background: rgba(8, 11, 30, .82); box-shadow: inset 0 0 0 1px var(--arete); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.musique i { display: none; width: 2px; height: 12px; border-radius: 1px; background: currentColor; transform-origin: 50% 100%; }
.musique--joue svg { display: none; }
.musique--joue i { display: block; transform: scaleY(.5); }
.musique--joue i:nth-child(3) { transform: scaleY(.9); }
@keyframes musique-bat { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
:root:not([data-calme]) .musique--joue i { animation: musique-bat .9s ease-in-out infinite alternate; }
:root:not([data-calme]) .musique--joue i:nth-child(3) { animation-duration: .6s; }
:root:not([data-calme]) .musique--joue i:nth-child(4) { animation-duration: 1.2s; }
@media print { .musique, .voix__place { display: none; } }
