:root{--bg:#09090b;--surface:#121216;--surface2:#19191f;--line:#292930;--text:#f7f7f8;--muted:#a5a5af;--red:#e21d2a;--red2:#b90f1b;--radius:18px;--max:1420px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-shell{min-height:100vh;background:radial-gradient(circle at 85% 4%,rgba(226,29,42,.15),transparent 26%),var(--bg)}.site-header{height:78px;position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:30px;padding:0 max(24px,calc((100vw - var(--max))/2));background:rgba(9,9,11,.87);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}.brand{display:flex;align-items:center;min-width:235px}.brand img{display:block;width:235px;max-height:54px;object-fit:contain;object-position:left center}.main-nav{display:flex;align-items:center;gap:8px}.main-nav a{padding:10px 14px;border-radius:10px;color:var(--muted);font-weight:650}.main-nav a:hover,.main-nav a.active{color:#fff;background:rgba(255,255,255,.07)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;padding:11px 18px;font-weight:750;cursor:pointer;transition:.2s ease}.button:hover{transform:translateY(-1px)}.button-primary{background:linear-gradient(135deg,var(--red),var(--red2));color:white;box-shadow:0 10px 28px rgba(226,29,42,.22)}.button-ghost{border-color:var(--line);background:rgba(255,255,255,.04);color:#fff}.button-small{padding:9px 15px}.button-large{min-height:52px;padding:13px 22px}.icon-button{border:1px solid var(--line);background:var(--surface);color:#fff;border-radius:10px;padding:8px 12px}.account-menu{position:relative}.account-menu summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer}.account-menu summary::-webkit-details-marker{display:none}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--red),#6d0710);font-weight:850}.account-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}.account-panel{position:absolute;right:0;top:48px;width:245px;background:#17171c;border:1px solid var(--line);border-radius:14px;padding:15px;box-shadow:0 20px 60px rgba(0,0,0,.45);display:grid;gap:8px}.account-panel small{color:var(--muted);word-break:break-all;margin-bottom:7px}.account-panel a{padding:9px 8px;border-radius:8px}.account-panel a:hover{background:#232329}.hero{max-width:var(--max);margin:0 auto;min-height:620px;padding:85px 24px 70px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px}.hero-content{max-width:720px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.76rem;color:#ff5f69;font-weight:850}.hero h1,.product-detail h1,.watch-header h1,.library-hero h1{font-size:clamp(2.8rem,6vw,6.3rem);line-height:.94;letter-spacing:-.06em;margin:18px 0 24px}.hero h1 em{font-style:normal;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.62)}.hero p{font-size:1.17rem;max-width:650px;color:var(--muted)}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:35px}.hero-visual{position:relative;height:430px;perspective:1200px}.film-card{position:absolute;width:310px;height:410px;left:50%;top:50%;border-radius:24px;border:1px solid rgba(255,255,255,.12);box-shadow:0 35px 80px rgba(0,0,0,.5)}.film-card-one{background:linear-gradient(135deg,#24242b,#111);transform:translate(-74%,-46%) rotate(-12deg)}.film-card-two{background:linear-gradient(135deg,#3a1116,#15090b);transform:translate(-35%,-51%) rotate(9deg)}.film-card-three{background:linear-gradient(150deg,#25252b 0 54%,#d71920 54%);transform:translate(-52%,-50%) rotate(-1deg);display:flex;flex-direction:column;align-items:center;justify-content:center}.film-card-three span{font-weight:900;font-size:3rem;background:#d71920;padding:0 12px}.film-card-three strong{font-size:3rem}.film-card-three i{font-style:normal;width:74px;height:74px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--red);font-size:1.8rem;margin-top:35px}.section{max-width:var(--max);margin:0 auto;padding:60px 24px}.section-narrow{max-width:1180px;margin:0 auto;padding-left:24px;padding-right:24px}.section-topless{padding-top:18px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:25px}.section-heading h2{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.045em;margin:7px 0 0}.section-heading>a{color:#ddd;font-weight:650}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.horizontal-products{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,330px);gap:20px;overflow:auto;padding-bottom:12px;scroll-snap-type:x mandatory}.horizontal-products .product-card{scroll-snap-align:start}.product-card{background:var(--surface);border:1px solid rgba(255,255,255,.075);border-radius:var(--radius);overflow:hidden;transition:.22s ease;min-width:0}.product-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.18);box-shadow:0 20px 50px rgba(0,0,0,.3)}.product-cover{aspect-ratio:16/10;position:relative;display:block;overflow:hidden;background:#1b1b20}.product-cover img{width:100%;height:100%;display:block;object-fit:cover;transition:.35s ease}.product-card:hover .product-cover img{transform:scale(1.035)}.play-badge{position:absolute;left:16px;bottom:16px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;padding-left:3px;background:rgba(226,29,42,.94);box-shadow:0 8px 25px rgba(0,0,0,.35)}.new-badge{position:absolute;right:12px;top:12px;padding:6px 9px;border-radius:999px;background:#fff;color:#111;font-size:.7rem;font-weight:850}.product-card-body{padding:17px 17px 19px}.product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:.78rem;min-height:24px}.owned-badge{color:#ff8189;font-weight:750}.price{color:#fff;font-size:1rem;font-weight:850}.product-card h3{font-size:1.06rem;line-height:1.25;margin:9px 0 5px}.product-card p{margin:0;color:var(--muted);font-size:.88rem}.progress-block{margin-top:14px}.progress-track{height:4px;background:#313139;border-radius:99px;overflow:hidden}.progress-track span{height:100%;display:block;background:var(--red);border-radius:99px}.progress-block small{display:block;color:var(--muted);margin-top:6px}.search-form{width:min(420px,100%);height:48px;display:flex;background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}.search-form:focus-within{border-color:#6a6a75}.search-form input{flex:1;min-width:0;background:transparent;color:#fff;border:0;outline:0;padding:0 15px}.search-form button{width:48px;border:0;background:transparent;color:#fff;font-size:1.5rem;cursor:pointer}.library-hero{padding-top:80px}.library-hero h1{font-size:clamp(3rem,7vw,5.5rem);margin-bottom:15px}.library-hero p{color:var(--muted);font-size:1.1rem}.library-search{margin-top:30px}.empty-state{border:1px dashed #34343d;border-radius:18px;padding:70px 24px;text-align:center;background:rgba(255,255,255,.02)}.empty-state strong{font-size:1.6rem;display:block}.empty-state p{color:var(--muted)}.empty-state .button{margin-top:12px}.page-empty{max-width:850px;margin:100px auto}.product-detail{padding-top:70px;padding-bottom:70px;display:grid;grid-template-columns:minmax(260px,430px) 1fr;gap:60px;align-items:center}.product-detail-cover{border-radius:22px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.45)}.product-detail-cover img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}.product-detail h1{font-size:clamp(2.8rem,5vw,5rem);margin:20px 0 14px}.creator{font-size:1.18rem;color:var(--muted)}.back-link{display:inline-block;color:var(--muted);font-weight:650;margin-bottom:35px}.detail-chips,.watch-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:24px 0}.detail-chips span,.detail-chips strong,.watch-meta span{padding:8px 12px;border-radius:999px;background:var(--surface2);border:1px solid var(--line)}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.purchase-note{color:var(--muted);display:block;margin-top:12px}.legacy-section{border-top:1px solid var(--line)}.legacy-content{color:#ddd;max-width:100%;overflow:hidden}.legacy-content img{max-width:100%;height:auto}.legacy-content table{max-width:100%;border-collapse:collapse}.legacy-content h1,.legacy-content h2,.legacy-content h3{color:#fff}.legacy-content a{color:#ff626c;text-decoration:underline}.video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:16px;overflow:hidden;margin:24px 0}.video-frame iframe{position:absolute;inset:0;width:100%!important;height:100%!important;border:0}.watch-header{padding-top:55px}.watch-header h1{font-size:clamp(2.5rem,5vw,4.7rem);margin:13px 0}.watch-content{padding-bottom:90px}.video-primary{box-shadow:0 30px 70px rgba(0,0,0,.45);border:1px solid #2e2e34}.watch-legacy{margin-top:35px}.site-footer{max-width:var(--max);margin:20px auto 0;padding:35px 24px 50px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:.9rem}.site-footer>div{display:flex;gap:15px}.site-footer strong{color:#fff}.login-dialog{width:min(460px,calc(100% - 28px));border:1px solid #34343b;border-radius:22px;padding:34px;background:#151519;color:#fff;box-shadow:0 40px 100px rgba(0,0,0,.7)}.login-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(7px)}.dialog-close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#aaa;font-size:2rem;cursor:pointer}.dialog-logo{display:inline-flex;align-items:center;font-weight:900;font-size:1.2rem}.dialog-logo span{background:var(--red);padding:3px 7px}.dialog-logo strong{background:#333;padding:3px 7px}.login-dialog h2{font-size:2rem;letter-spacing:-.04em;margin:25px 0 6px}.login-dialog>p{color:var(--muted);margin-top:0}.login-form{display:grid;gap:14px;margin-top:25px}.login-form label:not(.remember){display:grid;gap:6px;font-weight:650}.login-form input[type=email],.login-form input[type=password]{height:48px;border-radius:10px;border:1px solid var(--line);background:#0d0d10;color:#fff;padding:0 13px;outline:none}.login-form input:focus{border-color:#777}.remember{display:flex;align-items:center;gap:8px;color:#ccc}.dialog-links{display:flex;justify-content:space-between;gap:15px;margin-top:20px;font-size:.88rem}.dialog-links a{color:#ccc}.alert{padding:12px;border-radius:10px;margin-top:15px}.alert-error{background:rgba(226,29,42,.12);border:1px solid rgba(226,29,42,.35);color:#ff9299}.setup-body{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top right,#481018,#09090b 45%)}.setup-card{width:min(600px,100%);background:#17171b;border:1px solid #333;border-radius:20px;padding:40px;box-shadow:0 30px 90px #000}.setup-card h1{font-size:2.5rem}.setup-card p{color:#bbb}.setup-card code{background:#09090b;padding:2px 6px;border-radius:5px;color:#fff}@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero{grid-template-columns:1fr .75fr}.hero-visual{transform:scale(.85)}}@media(max-width:820px){.site-header{height:68px;padding:0 15px;gap:14px}.brand{min-width:0}.brand img{width:180px}.main-nav{display:none}.account-name{display:none}.hero{display:block;min-height:auto;padding-top:70px}.hero-visual{display:none}.hero h1{font-size:clamp(3rem,13vw,5rem)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.section{padding:45px 15px}.section-narrow{padding-left:15px;padding-right:15px}.section-heading{align-items:flex-start;flex-direction:column}.catalogue-heading .search-form{width:100%}.product-detail{grid-template-columns:1fr;gap:35px;padding-top:40px}.product-detail-cover{max-width:560px}.site-footer{margin:0 15px;padding-left:0;padding-right:0;display:grid;gap:15px}.site-footer>div{justify-content:space-between}.login-dialog{padding:28px 22px}}@media(max-width:520px){.brand img{width:150px}.install-button{display:none}.product-grid{grid-template-columns:1fr 1fr;gap:10px}.product-card{border-radius:13px}.product-card-body{padding:12px}.product-meta{display:block;min-height:18px}.product-meta>span{display:block}.product-card h3{font-size:.93rem}.product-card p{display:none}.play-badge{width:38px;height:38px;left:10px;bottom:10px}.hero-actions .button{width:100%}.dialog-links{flex-direction:column}.horizontal-products{grid-auto-columns:76vw}.watch-header{padding-top:35px}.watch-content{padding-left:0;padding-right:0}.watch-header,.watch-legacy{padding-left:15px;padding-right:15px}.video-frame{border-radius:0}.legacy-content .video-frame{border-radius:0}}


/* V0.04 — identité, fiches produit et commandes de lecture */
.site-header{height:92px}
.brand{min-width:225px}
.brand img{display:block;width:217px;height:auto;max-height:78px;object-fit:contain;object-position:left center}
.hero h1 em{font-family:inherit;font-style:normal;font-weight:900;color:#f7f7f8;-webkit-text-stroke:0;text-shadow:0 0 34px rgba(226,29,42,.22)}
.dialog-brand-logo{display:block;width:217px;max-width:72%;height:auto}
.setup-logo{display:block;width:217px;max-width:72%;height:auto}

.product-detail-section{padding-top:48px;padding-bottom:70px}
.product-back-link{margin:0 0 20px}
.product-detail{padding:0;display:grid;grid-template-columns:minmax(280px,460px) minmax(0,1fr);gap:60px;align-items:center}
.product-detail-cover{width:100%;background:#101014;border:1px solid rgba(255,255,255,.08)}
.product-detail-cover img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center center}

/* Habillage des contrôles fournis par les anciens fichiers prod, sans les modifier. */
.watch-legacy{display:block;text-align:center}
.watch-legacy>.video-frame,.watch-legacy>iframe,.watch-legacy>div:has(>iframe){text-align:left}
.watch-legacy form{width:min(720px,100%);margin:12px auto!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center}
.watch-legacy form:has(select.chapter-select)::before,.watch-legacy form:has(select[name="ListeUrl"])::before{content:"Choisir un chapitre";display:block;color:#f5f5f7;font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.watch-legacy form:has(select[name="telecharger"])::before,.watch-legacy form:has(select#telecharger)::before{content:"Téléchargements";display:block;color:#f5f5f7;font-size:.78rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.watch-legacy .chapter-buttons{width:min(720px,100%)!important;margin:26px auto 18px!important;display:flex!important;justify-content:center!important;align-items:stretch!important;gap:12px!important;flex-wrap:wrap!important;text-align:center}
.watch-legacy .chapter-buttons button{appearance:none!important;width:min(280px,calc(50% - 6px))!important;min-width:220px!important;height:auto!important;min-height:64px!important;padding:12px 18px!important;border:1px solid #3a3a43!important;border-radius:14px!important;background:linear-gradient(180deg,#202027,#151519)!important;color:#fff!important;font-family:inherit!important;box-shadow:0 12px 28px rgba(0,0,0,.28)!important;cursor:pointer!important;line-height:1.2!important;transition:transform .18s ease,border-color .18s ease,background .18s ease!important}
.watch-legacy .chapter-buttons button:hover:not(:disabled){transform:translateY(-2px)!important;border-color:#e21d2a!important;background:linear-gradient(180deg,#292930,#19191e)!important}
.watch-legacy .chapter-buttons button:focus-visible{outline:3px solid rgba(226,29,42,.38)!important;outline-offset:3px!important}
.watch-legacy .chapter-buttons button:disabled{opacity:.38!important;cursor:not-allowed!important;box-shadow:none!important}
.watch-legacy .chapter-buttons .main-label{display:block!important;font-size:.95rem!important;font-weight:800!important;color:#fff!important}
.watch-legacy .chapter-buttons .sub-label{display:block!important;margin-top:5px!important;font-size:.76rem!important;font-weight:500!important;color:#a5a5af!important;opacity:1!important}
.watch-legacy select.chapter-select,.watch-legacy select[name="ListeUrl"],.watch-legacy select[name="telecharger"],.watch-legacy select#telecharger{appearance:none;display:block!important;width:min(680px,100%)!important;min-height:54px!important;margin:0 auto!important;padding:0 52px 0 17px!important;border:1px solid #373740!important;border-radius:13px!important;background-color:#17171c!important;background-image:linear-gradient(45deg,transparent 50%,#e21d2a 50%),linear-gradient(135deg,#e21d2a 50%,transparent 50%)!important;background-position:calc(100% - 21px) 23px,calc(100% - 15px) 23px!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important;color:#f7f7f8!important;font-family:inherit!important;font-size:.96rem!important;font-weight:650!important;box-shadow:0 10px 28px rgba(0,0,0,.22)!important;cursor:pointer!important;outline:none!important}
.watch-legacy select.chapter-select:hover,.watch-legacy select[name="ListeUrl"]:hover,.watch-legacy select[name="telecharger"]:hover,.watch-legacy select#telecharger:hover{border-color:#60606b!important}
.watch-legacy select.chapter-select:focus,.watch-legacy select[name="ListeUrl"]:focus,.watch-legacy select[name="telecharger"]:focus,.watch-legacy select#telecharger:focus{border-color:#e21d2a!important;box-shadow:0 0 0 3px rgba(226,29,42,.17),0 10px 28px rgba(0,0,0,.22)!important}
.watch-legacy select option{background:#17171c;color:#fff}
.watch-legacy br+form,.watch-legacy form+br{margin-top:18px!important}

@media(max-width:820px){
  .site-header{height:78px}
  .brand img{width:185px;max-height:68px}
  .product-detail-section{padding-top:28px}
  .product-detail{grid-template-columns:1fr;gap:34px}
  .product-detail-cover{max-width:100%}
}
@media(max-width:520px){
  .brand img{width:160px;max-height:60px}
  .product-back-link{margin-bottom:16px}
  .watch-legacy form{padding:0 15px}
  .watch-legacy .chapter-buttons{padding:0 15px!important;gap:9px!important}
  .watch-legacy .chapter-buttons button{width:100%!important;min-width:0!important}
  .watch-legacy select.chapter-select,.watch-legacy select[name="ListeUrl"],.watch-legacy select[name="telecharger"],.watch-legacy select#telecharger{width:100%!important;font-size:.9rem!important}
}


/* V0.05 — logo local fourni et affichage intégral des visuels produit */
.site-header{height:78px}
.brand{min-width:158px}
.brand img{display:block;width:148px;height:auto;max-height:64px;object-fit:contain;object-position:left center}
.dialog-brand-logo{display:block;width:170px;max-width:58%;height:auto;object-fit:contain}
.setup-logo{display:block;width:170px;max-width:58%;height:auto;object-fit:contain}

/* Toutes les vignettes affichent désormais l'image entière, sans recadrage. */
.product-cover{aspect-ratio:16/10;display:grid;place-items:center;background:#0d0d10}
.product-cover img{width:100%;height:100%;display:block;object-fit:contain;object-position:center center;transform:none!important}
.product-card:hover .product-cover img{transform:none!important}

@media(max-width:820px){
  .site-header{height:70px}
  .brand{min-width:138px}
  .brand img{width:130px;max-height:56px}
}
@media(max-width:520px){
  .brand{min-width:118px}
  .brand img{width:112px;max-height:50px}
  .dialog-brand-logo,.setup-logo{width:150px;max-width:62%}
}

/* Installation PWA : visible seulement lorsque JavaScript retire l'attribut hidden. */
.install-button[hidden]{display:none!important}
.install-button:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;border-color:rgba(255,255,255,.16);background:linear-gradient(180deg,#222228,#151519);font-weight:760;white-space:nowrap;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.install-button:not([hidden]):hover{border-color:rgba(226,29,42,.72);background:linear-gradient(180deg,#2a2a31,#19191e);transform:translateY(-1px)}
.install-button:focus-visible{outline:3px solid rgba(226,29,42,.34);outline-offset:3px}
.install-button:disabled{opacity:.55;cursor:wait;transform:none}
.install-button-icon{width:20px;height:20px;border:1px solid rgba(255,255,255,.3);border-radius:6px;display:grid;place-items:center;font-size:.9rem;line-height:1;color:#fff}

@media(max-width:520px){
  .install-button:not([hidden]){display:inline-flex!important;min-height:38px;padding:7px 10px;font-size:.82rem;gap:5px}
  .install-button-icon{width:18px;height:18px;font-size:.8rem}
}

/* V0.06 — logo agrandi et commandes de chapitres pleinement interactives */
.site-header{height:88px}
.brand{min-width:225px}
.brand img{width:215px;max-height:76px}
.watch-legacy .chapter-buttons button:disabled{opacity:.42!important;cursor:not-allowed!important;transform:none!important}
@media(max-width:820px){
  .site-header{height:78px}
  .brand{min-width:185px}
  .brand img{width:178px;max-height:66px}
}
@media(max-width:520px){
  .site-header{height:70px}
  .brand{min-width:145px}
  .brand img{width:140px;max-height:58px}
}

/* V0.07 — logo fourni, compatibilité des chapitres et lisibilité renforcée */
.site-header{height:104px}
.brand{min-width:292px}
.brand img{width:280px;max-height:92px}
.hero h1 em{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-style:normal;font-weight:850;color:#f7f7f8;-webkit-text-stroke:0;letter-spacing:-.055em;text-shadow:0 0 30px rgba(226,29,42,.2)}

/* Tous les formats historiques de listes de chapitres sont habillés. */
.watch-legacy select[name^="ListeUrl"],
.watch-legacy select[id^="chapters"]{
  appearance:none;display:block!important;width:min(680px,100%)!important;min-height:54px!important;margin:0 auto!important;
  padding:0 52px 0 17px!important;border:1px solid #373740!important;border-radius:13px!important;
  background-color:#17171c!important;
  background-image:linear-gradient(45deg,transparent 50%,#e21d2a 50%),linear-gradient(135deg,#e21d2a 50%,transparent 50%)!important;
  background-position:calc(100% - 21px) 23px,calc(100% - 15px) 23px!important;background-size:6px 6px,6px 6px!important;background-repeat:no-repeat!important;
  color:#f7f7f8!important;font-family:inherit!important;font-size:.96rem!important;font-weight:650!important;
  box-shadow:0 10px 28px rgba(0,0,0,.22)!important;cursor:pointer!important;outline:none!important
}
.watch-legacy select[name^="ListeUrl"]:hover,.watch-legacy select[id^="chapters"]:hover{border-color:#60606b!important}
.watch-legacy select[name^="ListeUrl"]:focus,.watch-legacy select[id^="chapters"]:focus{border-color:#e21d2a!important;box-shadow:0 0 0 3px rgba(226,29,42,.17),0 10px 28px rgba(0,0,0,.22)!important}
.watch-legacy .timecode[data-seek]{display:inline-flex;align-items:center;justify-content:center;margin:4px 2px;padding:8px 11px;border:1px solid #373740;border-radius:9px;background:#17171c;color:#fff!important;text-decoration:none!important;font-weight:700;cursor:pointer;transition:.18s ease}
.watch-legacy .timecode[data-seek]:hover,.watch-legacy .timecode[data-seek].is-active{border-color:#e21d2a;background:#232329;color:#fff!important}

@media(max-width:820px){
  .site-header{height:88px}
  .brand{min-width:222px}
  .brand img{width:212px;max-height:78px}
}
@media(max-width:520px){
  .site-header{height:74px}
  .brand{min-width:164px}
  .brand img{width:156px;max-height:64px}
  .watch-legacy select[name^="ListeUrl"],.watch-legacy select[id^="chapters"]{width:100%!important;font-size:.9rem!important}
}


/* V0.09 — installation contextuelle de la WebApp */
.install-label-short{display:none}
.install-button[hidden]{display:none!important}
.install-button:not([hidden]){display:inline-flex!important}
.install-dialog{width:min(500px,calc(100vw - 28px));border:1px solid #34343c;border-radius:20px;background:#151519;color:#fff;padding:32px;box-shadow:0 30px 90px rgba(0,0,0,.62)}
.install-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(5px)}
.install-dialog h2{margin:8px 0 8px;font-size:1.75rem;letter-spacing:-.035em}
.install-dialog>p{margin:0 0 23px;color:var(--muted)}
.install-dialog-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:linear-gradient(135deg,var(--red),var(--red2));font-size:2rem;font-weight:900;box-shadow:0 13px 34px rgba(226,29,42,.3)}
.install-steps{display:grid;gap:13px;margin:0 0 25px;padding:0;list-style:none;text-align:left}
.install-steps li{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:11px;padding:13px;border:1px solid #303037;border-radius:13px;background:#1b1b20;color:#e9e9ed}
.install-step-number{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;background:#2b2b32;color:#fff;font-weight:850}
.install-dialog>.button{width:100%}
@media(max-width:620px){
  .install-label-full{display:none}
  .install-label-short{display:inline}
  .install-button:not([hidden]){padding:7px 10px!important}
}
@media(max-width:400px){
  .install-button:not([hidden]){padding:7px!important}
  .install-label-short{display:none}
  .install-button-icon{width:26px;height:26px}
  .install-dialog{padding:27px 20px}
}

.purchase-form{display:inline-flex;margin:0}


/* V0.10 — visuel ordinateur sans liserés rouges autour de la carte. */
@media (min-width:821px){
  .hero-visual .film-card-two{display:none}
}

/* V0.10 — première proposition d'installation claire et explicative. */
.install-intro{font-size:1.02rem;line-height:1.6}
.install-benefits{display:grid;gap:10px;margin:0 0 24px;padding:0;list-style:none}
.install-benefits li{position:relative;padding-left:30px;color:#e7e7eb;line-height:1.45}
.install-benefits li::before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:rgba(226,29,42,.18);color:#ff6670;font-size:.78rem;font-weight:900}
.install-ios-help{margin:0 0 22px;padding:17px;border:1px solid #33333b;border-radius:14px;background:#101014}
.install-ios-help>p{margin:0 0 13px}
.install-retry-note{margin:0 0 22px;padding:14px 16px;border:1px solid #3a3a43;border-radius:12px;background:#101014;color:#d4d4da;line-height:1.5}
.install-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:8px}
.install-dialog-actions .button{width:100%}
@media(max-width:560px){
  .install-dialog-actions{grid-template-columns:1fr}
  .install-dialog-actions .button-primary{order:1}
  .install-dialog-actions .button-ghost{order:2}
}

/* V0.12 — bascule français / anglais par drapeau dans l’en-tête. */
.language-switch{display:inline-flex;align-items:center;justify-content:center;width:42px;height:32px;padding:4px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:#17171c;box-shadow:0 7px 18px rgba(0,0,0,.22);transition:.18s ease;flex:0 0 auto}
.language-switch:hover{border-color:rgba(255,255,255,.38);transform:translateY(-1px)}
.language-switch:focus-visible{outline:3px solid rgba(226,29,42,.34);outline-offset:3px}
.language-switch img{display:block;width:30px;height:20px;object-fit:cover;border-radius:2px}
@media(max-width:620px){
  .header-actions{gap:7px}
  .language-switch{width:37px;height:30px;padding:4px}
  .language-switch img{width:27px;height:18px}
}
@media(max-width:400px){
  .language-switch{width:34px;height:29px;padding:3px}
  .language-switch img{width:26px;height:17px}
}


/* V0.13 — Samsung Internet : installation redirigée vers Google Chrome. */
.install-samsung-help{margin:0 0 22px;padding:17px;border:1px solid rgba(66,133,244,.42);border-radius:14px;background:linear-gradient(145deg,rgba(66,133,244,.12),rgba(16,16,20,.96));color:#e9eefc}
.install-samsung-help p{margin:0;line-height:1.55}
.install-samsung-help p+p{margin-top:9px;color:#c9d1e7}
.install-samsung-help strong{color:#fff}

/* V0.16 — création de compte dans la WebApp */
.account-create-section{padding-top:70px;padding-bottom:90px}.account-create-card{max-width:920px;margin:0 auto;padding:42px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,#17171c,#111115);box-shadow:0 30px 90px rgba(0,0,0,.38)}.account-create-logo{width:220px;max-width:70%;height:auto;display:block;margin-bottom:28px}.account-create-card h1{font-size:clamp(2.4rem,5vw,4.4rem);margin:10px 0 12px}.account-create-card>p{color:var(--muted);font-size:1.05rem;max-width:720px}.account-create-form{display:grid;gap:20px;margin-top:30px}.form-grid{display:grid;gap:16px}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three-columns{grid-template-columns:.7fr 1.2fr 1fr}.account-create-form label:not(.privacy-check){display:grid;gap:7px;font-weight:700;color:#f3f3f5}.account-create-form input,.account-create-form textarea{width:100%;border:1px solid var(--line);border-radius:11px;background:#0b0b0e;color:#fff;padding:12px 14px;font:inherit;outline:none}.account-create-form input{height:50px}.account-create-form textarea{resize:vertical;min-height:90px}.account-create-form input:focus,.account-create-form textarea:focus{border-color:#777}.antispam-field{max-width:240px}.privacy-check{display:flex;align-items:flex-start;gap:11px;color:#ccc;line-height:1.45}.privacy-check input{width:18px;height:18px;flex:0 0 auto;margin-top:2px}.account-create-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}.account-create-card .alert{margin:20px 0}.account-create-card .alert div+div{margin-top:6px}@media(max-width:700px){.account-create-section{padding-top:35px}.account-create-card{padding:26px 18px;border-radius:18px}.form-grid.two-columns,.form-grid.three-columns{grid-template-columns:1fr}.account-create-actions .button{width:100%}}

.alert-success{background:rgba(55,180,100,.12);border:1px solid rgba(55,180,100,.35);color:#9ce3b6}
