/* Fiche film / série v2 (31/10/2026) — js/ui/fichev2.js, préfixe fv2-.
   Maquette validée : direction/design/fiche_serie_v2_*.png.
   Posée sur une image : fond sombre fixe quel que soit le thème (comme les
   panneaux du lecteur posés sur la vidéo). Un seul aplat d'accent = le focus.
   Tizen 4 (M56) : ni gap, ni calc(), ni inset ; flex préfixé. */
.fv2 { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10001;
  background: #07070f; overflow: hidden; color: #f0f0fa; }
.fv2-fond { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center top; }
.fv2-fond:not([src]) { visibility: hidden; }
.fv2-voile { position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(90deg, rgba(7,7,15,.97) 0%, rgba(7,7,15,.88) 30%, rgba(7,7,15,.35) 58%, rgba(7,7,15,0) 75%),
    linear-gradient(0deg, rgba(7,7,15,1) 0%, rgba(7,7,15,.94) 30%, rgba(7,7,15,.4) 52%, rgba(7,7,15,0) 66%); }

/* Remise à zéro des <button> SANS toucher à la taille de police : `font: inherit`
   ici écrasait le font-size des boutons et des onglets. Sélecteur à UNE classe,
   placé avant les autres : les règles qui suivent l'emportent (couleur, fond). */
.fv2-b { -webkit-appearance: none; appearance: none; border: 0; margin: 0;
  font-family: inherit; line-height: normal; color: inherit; background: none; text-align: left;
  outline: none; cursor: pointer; }

.fv2-fermer { position: absolute; top: 54px; right: 110px; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.14) !important; display: -webkit-flex; display: flex;
  -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }
.fv2-fermer svg { width: 28px; height: 28px; }
.fv2-fermer.fv2-f { background: var(--rsk-accent) !important; color: #fff; }

/* ── Haut ─────────────────────────────────────────────────────────────── */
.fv2-haut { position: absolute; left: 110px; top: 72px; width: 960px; }
.fv2-logo { display: block; max-width: 560px; max-height: 150px; }
.fv2-titre { font-size: 76px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fv2-meta { margin-top: 26px; font-size: 26px; color: rgba(240,240,250,.72); white-space: nowrap;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.fv2-meta > span { margin-right: 14px; }
.fv2-meta .fv2-sep { color: rgba(240,240,250,.45); }
.fv2-meta .fv2-note { color: #f0f0fa; font-weight: 600; }
.fv2-badge { border: 2px solid rgba(240,240,250,.55); border-radius: 6px; padding: 0 9px;
  font-size: 22px; color: #f0f0fa; margin-left: 6px; }

.fv2-info { margin-top: 22px; min-height: 150px; }
.fv2-surtitre { font-size: 24px; font-weight: 600; color: rgba(240,240,250,.55);
  letter-spacing: .06em; text-transform: uppercase; }
.fv2-titre-ep { font-size: 40px; font-weight: 700; line-height: 1.15; margin-top: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fv2-resume { font-size: 28px; line-height: 1.42; color: rgba(240,240,250,.78); margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fv2-detail { font-size: 24px; color: rgba(240,240,250,.55); margin-top: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fv2-actions { margin-top: 26px; display: -webkit-flex; display: flex; }
.fv2-mode-ep .fv2-actions { visibility: hidden; }
.fv2-btn { height: 72px; padding: 0 34px !important; margin-right: 20px !important; border-radius: 12px;
  font-size: 28px; font-weight: 600; white-space: nowrap;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  background: rgba(255,255,255,.14) !important; }
.fv2-btn svg { width: 28px; height: 28px; margin-right: 14px; -webkit-flex: none; flex: none; }
.fv2-btn .fv2-sous { font-weight: 500; color: rgba(240,240,250,.72); margin-left: 12px; }
.fv2-btn.fv2-f { background: var(--rsk-accent) !important; color: #fff; }
.fv2-btn.fv2-f .fv2-sous { color: rgba(255,255,255,.85); }
.fv2-btn.fv2-inactif { opacity: .55; }

/* ── Saisons ──────────────────────────────────────────────────────────── */
.fv2-saisons { position: absolute; left: 88px; top: 596px; right: 110px; white-space: nowrap;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.fv2-saison { position: relative; font-size: 30px; font-weight: 600; color: rgba(240,240,250,.55);
  padding: 10px 22px !important; margin-right: 10px !important; border-radius: 10px; }
.fv2-saison.fv2-active { color: #f0f0fa; }
.fv2-saison.fv2-active:after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0;
  height: 4px; border-radius: 2px; background: #f0f0fa; }
.fv2-saison.fv2-f { background: var(--rsk-accent) !important; color: #fff; }
.fv2-saison.fv2-f:after { background: #fff; }
.fv2-compte { font-size: 24px; color: rgba(240,240,250,.5); margin-left: 18px; }
.fv2-attente { font-size: 26px; color: rgba(240,240,250,.6); padding: 10px 22px; }

.fv2-rangee-titre { position: absolute; left: 110px; top: 604px; font-size: 30px; font-weight: 600; }

/* ── Rangée ───────────────────────────────────────────────────────────── */
.fv2-piste-cadre { position: absolute; left: 0; right: 0; top: 664px; bottom: 0; overflow: hidden; }
.fv2-piste { position: absolute; left: 110px; top: 12px; white-space: nowrap;
  -webkit-transition: -webkit-transform .25s ease-out; transition: transform .25s ease-out;
  will-change: transform; }
.fv2-ep, .fv2-sim { display: inline-block; vertical-align: top; margin-right: 26px !important; padding: 0 !important; }
.fv2-ep { width: 392px; }
.fv2-vignette { position: relative; width: 392px; height: 220px; border-radius: 12px; overflow: hidden;
  background: #15152a; }
.fv2-vignette img, .fv2-affiche img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv2-vignette img:not([src]), .fv2-affiche img:not([src]) { visibility: hidden; }
.fv2-num { position: absolute; left: 14px; bottom: 10px; font-size: 26px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.fv2-vu { position: absolute; right: 12px; top: 12px; height: 34px; padding: 0 12px; border-radius: 17px;
  background: rgba(7,7,15,.78); font-size: 20px; font-weight: 600;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.fv2-vu svg { width: 18px; height: 18px; margin-right: 6px; }
.fv2-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255,255,255,.25); }
.fv2-prog i { display: block; height: 100%; background: #fff; }
.fv2-t { font-size: 26px; font-weight: 600; margin-top: 14px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.fv2-d { font-size: 22px; color: rgba(240,240,250,.55); margin-top: 4px; white-space: nowrap; }
.fv2-ep.fv2-f .fv2-vignette, .fv2-sim.fv2-f .fv2-affiche { box-shadow: 0 0 0 6px var(--rsk-accent); }

.fv2-sim { width: 200px; }
.fv2-affiche { width: 200px; height: 300px; border-radius: 10px; overflow: hidden; background: #15152a; }
.fv2-sim .fv2-t { font-size: 22px; margin-top: 12px; }
