/* NouEcom — lecteur vidéo commun (/shared/lecteur.js), façon YouTube : blanc sur un dégradé noir en bas.
   Mis à jour : 2026-10-24 */
.lc { position: relative; width: 100%; height: 100%; background: #000; overflow: hidden; outline: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; color: #fff; font: 500 12.5px/1 var(--pe-font, system-ui, -apple-system, sans-serif); }
.lc:focus-visible { box-shadow: inset 0 0 0 2px var(--pe-accent-strong, #2383e2); }
.lc > video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.lc:fullscreen, .lc:-webkit-full-screen { width: 100%; height: 100%; }
.lc .lc-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: var(--pe-icon-stroke, 1.75); stroke-linecap: round; stroke-linejoin: round; display: block; }
.lc button { appearance: none; -webkit-appearance: none; border: 0; background: none; color: inherit; font: inherit; padding: 0; margin: 0; cursor: pointer; }
.lc button:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-radius: 4px; }

/* Gros bouton du centre */
.lc-gros { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(0, 0, 0, .55); display: grid; place-items: center; opacity: 0; transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.lc-gros .lc-i { width: 24px; height: 24px; }
.lc.lc-voir .lc-gros, .lc.lc-neuf .lc-gros { opacity: 1; pointer-events: auto; }
.lc-gros:hover { background: rgba(0, 0, 0, .72); }
.lc.lc-petit .lc-gros { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.lc.lc-petit .lc-gros .lc-i { width: 19px; height: 19px; }

/* Bas : dégradé, barre de progression, contrôles */
.lc-bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 4px; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .38) 55%, transparent); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.lc.lc-voir .lc-bas { opacity: 1; pointer-events: auto; }
.lc-prog { position: relative; height: 14px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px; }
.lc-rail { position: relative; flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .28); transition: height .12s ease; }
.lc-prog:hover .lc-rail, .lc-prog.lc-glisse .lc-rail { height: 5px; }
.lc-charge, .lc-lu { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; }
.lc-charge { background: rgba(255, 255, 255, .5); }
.lc-lu { background: #fff; }
.lc-pouce { position: absolute; top: 50%; width: 0; height: 0; margin: 0; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: width .12s ease, height .12s ease; }
.lc-prog:hover .lc-pouce, .lc-prog.lc-glisse .lc-pouce, .lc-prog:focus-visible .lc-pouce { width: 12px; height: 12px; }
.lc-bulle { position: absolute; bottom: 18px; padding: 3px 6px; border-radius: 4px; background: rgba(20, 20, 20, .9); font-variant-numeric: tabular-nums; transform: translateX(-50%); white-space: nowrap; pointer-events: none; }
.lc-prog:focus-visible { outline: none; }
.lc-ctl { display: flex; align-items: center; gap: 2px; height: 34px; }
.lc-b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; flex: none; opacity: .92; }
.lc-b:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.lc-b[aria-pressed="true"] { color: #fff; opacity: 1; }
.lc-b[aria-pressed="true"]::after { content: ""; position: absolute; }
.lc-boucle[aria-pressed="true"] .lc-i { stroke: #fff; filter: drop-shadow(0 0 2px rgba(255, 255, 255, .6)); }
.lc-vol { display: flex; align-items: center; }
.lc-vol input { width: 0; opacity: 0; margin: 0; transition: width .18s ease, opacity .18s ease, margin .18s ease; accent-color: #fff; height: 14px; cursor: pointer; }
.lc-vol:hover input, .lc-vol:focus-within input { width: 64px; opacity: 1; margin: 0 6px 0 2px; }
.lc-temps { padding: 0 8px; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .95; }
.lc-esp { flex: 1; min-width: 0; }
.lc-vit { width: auto; min-width: 32px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.lc-menu { position: absolute; right: 8px; bottom: 44px; padding: 4px; border-radius: 8px; background: rgba(28, 28, 28, .94); display: flex; flex-direction: column; min-width: 96px; max-height: calc(100% - 56px); overflow-y: auto; }
.lc-menu[hidden] { display: none; }
.lc-menu button { padding: 6px 12px; border-radius: 5px; text-align: left; font-variant-numeric: tabular-nums; }
.lc-menu button:hover { background: rgba(255, 255, 255, .12); }
.lc-menu button[aria-checked="true"] { font-weight: 700; }
.lc-menu button[aria-checked="true"]::before { content: "✓ "; }

/* Petits formats (cartes du batch) : on garde l'essentiel */
.lc.lc-petit .lc-bas { padding: 18px 2px 2px; }
.lc.lc-petit .lc-b { width: 26px; height: 28px; }
.lc.lc-petit .lc-i { width: 15px; height: 15px; }
.lc.lc-petit .lc-ctl { height: 28px; }
.lc.lc-petit .lc-temps { padding: 0 3px; font-size: 10.5px; }
.lc.lc-petit .lc-vol input, .lc.lc-petit .lc-pip, .lc.lc-petit .lc-boucle { display: none; }
.lc.lc-petit .lc-vit { min-width: 26px; padding: 0 3px; font-size: 10.5px; }
.lc.lc-mini .lc-temps, .lc.lc-mini .lc-vit { display: none; }

@media (prefers-reduced-motion: reduce) { .lc-gros, .lc-bas, .lc-rail, .lc-pouce, .lc-vol input { transition: none; } }

/* D194 · « fixe » : la barre de contrôle toujours visible (fiche d'une créa, façon Foreplay / TrendTrack), le volume ouvert, image par image */
.lc.lc-fixe .lc-bas { opacity: 1; pointer-events: auto; }
.lc.lc-fixe .lc-vol input { width: 64px; opacity: 1; margin: 0 6px 0 2px; }
.lc.lc-fixe:not(.lc-neuf) .lc-gros { opacity: 0; pointer-events: none; }
.lc.lc-fixe:not(.lc-neuf).lc-voir .lc-gros { opacity: 0; }
/* D194 : la barre fixe tient dans la largeur du lecteur (fiche étroite, téléphone) : on retire d'abord l'image dans l'image et la boucle,
   puis la réglette du volume revient au survol, puis l'image par image (toujours au clavier : , et .) */
.lc.lc-fixe { container-type: inline-size; }
@container (max-width: 400px) { .lc.lc-fixe .lc-pip, .lc.lc-fixe .lc-boucle { display: none; } .lc.lc-fixe .lc-b { width: 29px; } .lc.lc-fixe .lc-temps { padding: 0 5px; } .lc.lc-fixe .lc-vol input { width: 0; opacity: 0; margin: 0; } .lc.lc-fixe .lc-vol:hover input, .lc.lc-fixe .lc-vol:focus-within input { width: 48px; opacity: 1; margin: 0 4px 0 2px; } }
@container (max-width: 300px) { .lc.lc-fixe .lc-img { display: none; } .lc.lc-fixe .lc-b { width: 28px; } .lc.lc-fixe .lc-temps { padding: 0 4px; font-size: 11px; } }
