/* Le Martini Club · design « 007 », commun à tout le site (accueil, fiches, Duels, pages légales, Bond 26).
   Noir, os et un seul rouge en thème sombre ; papier, encre et le même rouge en thème clair.
   Bodoni Moda pour les titres, Jost pour la lecture, Courier Prime pour les étiquettes.
   Tout est arrondi. Chargé en dernier sur chaque page. */

/* ============ couleurs et polices ============ */
html:root,html:root body:is(.dp,*),html:root :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){
 color-scheme:dark;
 --tn:242,237,227;
 --bg:#050505;--bg2:#0c0b0b;--bg3:#151313;
 --fg:#f2ede3;--fg2:#d4ccbe;--mut:#8f877b;--strong:#fff;
 --acc:#e3243f;--accr:227,36,63;--accfg:#fff;--red:#e3243f;--yes:var(--acc,#e3243f);--yes2:#b5112b;--no:#6d6760;--no2:#4a4540;--ink:#0c0b0b;--bgr:5,5,5;--surf:#0c0b0b;
 --line:rgba(242,237,227,.13);--line2:rgba(242,237,227,.26);
 --card:var(--bg2);--panel:rgba(12,11,11,.92);--navbg:rgba(5,5,5,.86);
 --ph:#141212;--ph2:#1c1919;--veil0:rgba(5,5,5,.35);--veil1:rgba(5,5,5,.75);
 --glow:rgba(var(--accr,227,36,63),.2);--tsh:0 2px 18px rgba(0,0,0,.85);--h1sh:0 8px 40px rgba(0,0,0,.6);
 --shadow:0 24px 60px -24px rgba(0,0,0,.8);
 /* plus de verre : des surfaces nettes */
 --g-tint:var(--bg2);--g-tint2:var(--bg2);--g-sheen:linear-gradient(transparent,transparent);--g-edge:var(--line);
 --g-shadow:0 1px 0 rgba(255,255,255,.03) inset;--g-blur:none;--g-red:var(--acc);
 /* ambiance « 007 » : plus d'or ni de turquoise */
 --b-gold:var(--acc);--b-gold2:var(--fg);--b-teal:var(--fg2);--b-red:var(--acc);--b-night:var(--bg);
 --b-ink:var(--fg);--b-ink2:var(--fg2);--b-pan:rgba(12,11,11,.9);--b-panink:var(--fg);
 --bx-l1:rgba(var(--accr,227,36,63),.12);--bx-l2:rgba(242,237,227,.05);--bx-l3:rgba(var(--accr,227,36,63),.08);
 --mx-stripe:rgba(242,237,227,.025);--mx-ring:rgba(242,237,227,.3);
 --disp:"Bodoni Moda","Didot","Bodoni 72",Georgia,serif;
 --cond:Jost,"Futura","Century Gothic",system-ui,sans-serif;--ser:var(--cond);
 --mono:"Courier Prime","Courier New",ui-monospace,monospace;
 --pill:999px;--r-s:999px;--rb:999px;--ctl-r:999px;--r-ctl:999px;--r1:14px;--r2:22px;--r3:32px;--r-card:28px;--r:28px;
 --ease:cubic-bezier(.16,.84,.24,1)
}
html:root[data-theme="light"],html:root[data-theme="light"] body:is(.dp,*),html:root[data-theme="light"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){
 color-scheme:light;
 --tn:21,17,15;
 --bg:#f4efe6;--bg2:#fffcf6;--bg3:#ebe4d7;
 --fg:#15110f;--fg2:#3e3632;--mut:#776d63;--strong:#000;
 --acc:#b40c28;--accr:180,12,40;--accfg:#fff;--red:#b40c28;--yes:var(--acc,#b40c28);--yes2:#8c0a1e;--no:#8a8178;--no2:#6d655d;--ink:#fffcf6;--bgr:244,239,230;--surf:#fffcf6;
 --line:rgba(21,17,15,.12);--line2:rgba(21,17,15,.26);
 --card:var(--bg2);--panel:rgba(255,252,246,.94);--navbg:rgba(244,239,230,.88);
 --ph:#e7e0d3;--ph2:#efe9de;--veil0:rgba(244,239,230,.4);--veil1:rgba(244,239,230,.86);
 --glow:rgba(var(--accr,180,12,40),.12);--tsh:none;--h1sh:none;--shadow:0 24px 60px -30px rgba(60,30,20,.35);
 --g-shadow:0 1px 2px rgba(60,30,20,.06);
 --b-pan:rgba(255,252,246,.94);
 --bx-l1:rgba(var(--accr,180,12,40),.07);--bx-l2:rgba(21,17,15,.03);--bx-l3:rgba(var(--accr,180,12,40),.05);
 --mx-stripe:rgba(21,17,15,.025);--mx-ring:rgba(21,17,15,.25)
}
html,html body{background:var(--bg)}
html body{color:var(--fg2)}
::selection{background:var(--acc);color:#fff}

/* Bodoni : déliés plus épais pour rester lisible à toutes les tailles */
:is(h1,h2,h3,h4,.h1,.h2,.disp,[class*="title"]){font-optical-sizing:none;font-variation-settings:"opsz" 18}

/* ============ menu ============ */
html body #tvnav:not(#_){background:var(--navbg)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 18px 40px -32px rgba(0,0,0,.9)!important;
 -webkit-backdrop-filter:blur(18px) saturate(1.15)!important;backdrop-filter:blur(18px) saturate(1.15)!important;font-family:var(--cond);color:var(--fg)}
html body #tvnav:not(#_)::after{display:none!important}
html body #tvnav:not(#_) > .in{gap:8px;max-width:1280px;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-bottom:12px}
/* logo : canon de revolver + « Le Martini Club » */
html body #tvnav:not(#_) a.logo{display:inline-flex;align-items:center;gap:12px;padding:4px 18px 4px 4px;margin-right:auto;border-radius:var(--pill);text-decoration:none;color:var(--fg);transition:background .4s}
html body #tvnav:not(#_) a.logo:hover{background:rgba(var(--tn),.06)}
html body #tvnav:not(#_) a.logo > img{display:none!important}
html body #tvnav:not(#_) .mk{position:relative;flex:none;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:var(--fg);
 background:rgba(var(--tn),.05);box-shadow:inset 0 0 0 1.5px rgba(var(--tn),.6),0 0 0 4px var(--bg),0 0 0 5px rgba(var(--tn),.16)}
html body #tvnav:not(#_) .mk svg{width:40px;height:40px;transition:transform 1.4s var(--ease)}
html body #tvnav:not(#_) a.logo:hover .mk svg{transform:rotate(-10deg)}
html body #tvnav:not(#_) .mk::after{content:"";position:absolute;inset:3.5px;border-radius:50%;border:.75px solid rgba(var(--accr),.6);pointer-events:none}
@keyframes mkblip{50%{box-shadow:0 0 3px rgba(var(--accr),.4)}}
html body #tvnav:not(#_) .wm{display:grid;line-height:1}
html body #tvnav:not(#_) .wm small{font:700 9px/1 var(--mono);letter-spacing:.5em;color:var(--mut);text-transform:uppercase;margin-bottom:3px}
html body #tvnav:not(#_) .wm b{font:italic 500 25px/.92 var(--disp);font-variation-settings:"opsz" 18;letter-spacing:-.01em;color:var(--fg)}
html body #tvnav:not(#_) .wm b i{font:700 9px/1 var(--mono);font-style:normal;letter-spacing:.4em;color:var(--acc);text-transform:uppercase;vertical-align:.95em;margin-left:6px}
/* liens */
html body #tvnav:not(#_) .links{gap:2px;margin:0 auto}
html body #tvnav:not(#_) a.l{position:relative;height:40px;padding:0 16px!important;border:0!important;border-radius:var(--pill)!important;background:none!important;box-shadow:none!important;color:var(--fg2)!important;
 font:500 13px/1 var(--cond)!important;letter-spacing:.22em!important;text-transform:uppercase;transition:color .3s,background .3s,transform .3s}
html body #tvnav:not(#_) .links a.l svg{display:none}
html body #tvnav:not(#_) .links a.l::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--acc);margin-right:-5px;opacity:0;transform:scale(0);transition:all .35s var(--ease)}
html body #tvnav:not(#_) .links a.l:hover{color:var(--fg)!important;background:rgba(var(--tn),.07)!important;transform:none}
html body #tvnav:not(#_) .links a.l:hover::before,html body #tvnav:not(#_) .links a.l.on::before{opacity:1;transform:none;margin-right:2px}
html body #tvnav:not(#_) .links a.l.on{color:var(--fg)!important;background:rgba(var(--tn),.08)!important}
html body #tvnav:not(#_) a.l.play{box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--fg)!important}
html body #tvnav:not(#_) a.l.play svg{width:15px;height:15px;color:var(--acc)}
html body #tvnav:not(#_) a.l.play:hover,html body #tvnav:not(#_) a.l.play.on{background:var(--fg)!important;color:var(--bg)!important}
html body #tvnav:not(#_) a.l.play:hover svg,html body #tvnav:not(#_) a.l.play.on svg{color:var(--bg)}
html body #tvnav:not(#_) :is(.acc,.thm){height:40px;border:0!important;border-radius:var(--pill)!important;background:none!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--fg2)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body #tvnav:not(#_) .acc{padding:0 16px;font:500 12px/1 var(--cond)!important;letter-spacing:.18em!important}
html body #tvnav:not(#_) .thm{width:40px;padding:0}
html body #tvnav:not(#_) .acc svg{width:16px;height:16px}
html body #tvnav:not(#_) :is(.acc,.thm):hover{background:rgba(var(--tn),.08)!important;color:var(--fg)!important}
html body #tvnav:not(#_) .acc img{border-color:var(--acc)}
html body #tvnav:not(#_) .out{color:var(--mut)}
/* bouton Holocène : pastille rouge, canon qui tourne */
html body #tvnav:not(#_) a.l.b26:not(#z){gap:10px;padding:0 18px 0 6px!important;background:var(--acc)!important;color:#fff!important;border:0!important;
 box-shadow:0 8px 28px -8px rgba(var(--accr),.75),inset 0 1px 0 rgba(255,255,255,.22)!important;letter-spacing:.2em!important;animation:none}
html body #tvnav:not(#_) a.l.b26:not(#z):hover{filter:brightness(1.12);transform:translateY(-1px)}
html body #tvnav:not(#_) a.l.b26 svg{width:28px;height:28px;flex:none;border-radius:50%;background:rgba(0,0,0,.22);color:#fff}
/* le disque ne tourne plus en permanence dans la barre (coûteux sur Safari) : seulement au survol */
html body #tvnav:not(#_) a.l.b26:hover svg{animation:mkspin 3s linear infinite}
html body #tvnav:not(#_) a.l.b26 svg *{stroke:currentColor}
@keyframes mkspin{to{transform:rotate(360deg)}}
/* sous-menu : une gélule centrée */
html body #tvnav:not(#_) .tvsub{background:none!important;border-top:0!important}
html body #tvnav:not(#_) .tvsub .in{justify-content:center;padding-top:0!important;padding-bottom:12px!important}
html body #tvnav:not(#_) .tvsub .grp{display:flex;align-items:center;gap:2px;padding:5px!important;border:0!important;border-radius:var(--pill)!important;background:rgba(var(--tn),.05)!important;
 box-shadow:inset 0 0 0 1px var(--line)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow-x:auto;scrollbar-width:none;max-width:100%}
html body #tvnav:not(#_) .tvsub .b26t{display:inline-flex;align-items:center;gap:9px;height:34px;padding:0 16px 0 12px;margin-right:4px;border-radius:var(--pill);background:rgba(var(--accr),.13);
 font:700 11px/1 var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--fg);white-space:nowrap}
html body #tvnav:not(#_) .tvsub .b26t::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--acc);box-shadow:0 0 10px rgba(var(--accr),.9)}
html body #tvnav:not(#_) .tvsub :is(a.l,button.l){height:34px;padding:0 15px!important;font:700 11px/1 var(--mono)!important;letter-spacing:.16em!important;color:var(--mut)!important;box-shadow:none!important}
html body #tvnav:not(#_) .tvsub :is(a.l,button.l) svg{width:14px;height:14px}
html body #tvnav:not(#_) .tvsub :is(a.l,button.l) span{display:inline!important}
html body #tvnav:not(#_) .tvsub a.l::before{display:none}
html body #tvnav:not(#_) .tvsub :is(a.l,button.l):hover{color:var(--fg)!important;background:rgba(var(--tn),.07)!important}
html body #tvnav:not(#_) .tvsub a.l.on{background:var(--fg)!important;color:var(--bg)!important}
html body #tvnav:not(#_) .tvsub a.l.on::after{display:none}
html body #tvnav:not(#_) .tvsub .sep{background:var(--line2)}
html body #tvnav:not(#_) .tvsub .bd{background:var(--acc);border-radius:var(--pill)}
html body #tvprog{height:2px!important;background:var(--acc)!important;box-shadow:0 0 12px rgba(var(--accr),.6)!important;border-radius:0 2px 2px 0}
@media(max-width:900px){
 html body #tvnav:not(#_) > .in{row-gap:10px;padding-bottom:10px}
 html body #tvnav:not(#_) .links{order:3;width:100%;margin:0;padding:0;justify-content:flex-start;overflow-x:auto}
 html body #tvnav:not(#_) a.l{height:36px;padding:0 13px!important;font-size:12px!important;letter-spacing:.16em!important}
 html body #tvnav:not(#_) .links a.l{box-shadow:inset 0 0 0 1px var(--line)!important}
 html body #tvnav:not(#_) :is(.acc,.thm){width:36px;height:36px;padding:0;justify-content:center}
 html body #tvnav:not(#_) .acc span{display:none}
 html body #tvnav:not(#_) .wm b{font-size:22px}
 html body #tvnav:not(#_) .mk,html body #tvnav:not(#_) .mk svg{width:34px;height:34px}
 html body #tvnav:not(#_) a.logo{padding-right:8px;gap:10px}
 html body #tvnav:not(#_) .tvsub .in{justify-content:flex-start;padding-bottom:10px!important}
 html body #tvnav:not(#_) .tvsub .b26t{display:none}
}
@media(max-width:560px){
 html body #tvnav:not(#_) a.l.b26:not(#z){width:36px;padding:0!important;justify-content:center}
 html body #tvnav:not(#_) a.l.b26 span{display:none}
 html body #tvnav:not(#_) a.l.play{width:36px;padding:0!important;justify-content:center}
 html body #tvnav:not(#_) a.l.play span{display:none}
 html body #tvnav:not(#_) .wm small{display:none}
 html body #tvnav:not(#_) > .in{gap:6px}
}

/* ============ tout en rond ============ */
html body :is(.card,.pcard,.fact,.score,.mnote,.kills,.pfacts,.pn a,.casc li,.box,.panel,.stat,.steps>div,#list li.mc,.empty,.yt,.res li,.chg-box,.savebox,.legal .card){border-radius:var(--r3)!important;overflow:hidden}
html body :is(.card,.pcard,.fact,.score,.mnote,.kills,.pfacts,.pn a,.casc li,.box,.panel,.stat,.steps>div,#list li.mc,.empty,.yt,.res li,.chg-box,.savebox,.legal .card){background:var(--bg2)!important;border:1px solid var(--line)!important;box-shadow:var(--g-shadow)!important}
html body :is(.card,.pcard,.box,.panel,.stat,.steps>div,#list li.mc,.pn a):hover{border-color:rgba(var(--accr),.45)!important;box-shadow:0 20px 50px -24px rgba(var(--accr),.35)!important}
html body :is(.card,.pcard,.poster,.fhero,.hero) img{border-radius:inherit}
html body :is(.poster,.pcard .ph,.card .im,figure,.gal button,.yt iframe,.ost){border-radius:var(--r2)!important;overflow:hidden}
html body :is(.btn,button.big,.act button,.tabs button,.pfilt button,.choice button,.topl,input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=number],input[type=tel],select,.pb,.tag,#list .ag,#tvup,#tvdock>*,#tvck button){border-radius:var(--pill)!important}
html body :is(textarea,#tvck,.modal .box){border-radius:var(--r2)!important}
/* boutons : rouge plein pour les principaux, contour pour les secondaires */
html body :is(.btn:not(.ghost),button.big,.act button.y,.topl:not(.off),.tabs button.on,.pfilt button.on,.choice button.yes){background:var(--acc)!important;color:#fff!important;border:0!important;box-shadow:0 10px 28px -10px rgba(var(--accr),.7)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body :is(.btn.ghost,button.ghost,a.ghost,.act button:not(.y),.tabs button:not(.on),.pfilt button:not(.on),.choice button:not(.yes)){background:transparent!important;color:var(--fg)!important;border:0!important;box-shadow:inset 0 0 0 1px var(--line2)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body :is(.btn.ghost,button.ghost,a.ghost,.act button:not(.y),.tabs button:not(.on),.pfilt button:not(.on),.choice button:not(.yes)):hover{background:rgba(var(--tn),.07)!important}
html body :is(input[type=text],input[type=email],input[type=password],input[type=search],input[type=url],input[type=number],input[type=tel],select,textarea){background:var(--bg2)!important;color:var(--fg)!important;border:1px solid var(--line2)!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body :is(#tvup,#tvdock>*,#tvck){background:var(--panel)!important;border:1px solid var(--line2)!important;color:var(--fg)!important;box-shadow:var(--shadow)!important}
html body :is(#tvup,#tvdock>*):hover{border-color:var(--acc)!important;color:var(--acc)!important}
/* les halos animés de l'ancien fond se font très discrets */
html body .amb{opacity:.35}
html body #tvnav:not(#_) .links a.l svg,html body #tvnav:not(#_) .tvsub a.l svg{display:none!important}

/* ============ logo en grand (accueil) ============ */
html body .hero .hlogo{display:inline-flex;align-items:center;gap:clamp(18px,3vw,34px);width:auto;margin:clamp(18px,3vw,30px) 0;filter:none;color:var(--fg)}
html body .hero .hlogo .mk{position:relative;flex:none;width:clamp(86px,12vw,150px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;color:var(--fg);
 background:rgba(var(--tn),.05);box-shadow:inset 0 0 0 2px rgba(var(--tn),.6),0 0 0 10px rgba(var(--tn),.04),0 0 0 11px rgba(var(--tn),.18),0 30px 80px -20px rgba(0,0,0,.6)}
html body .hero .hlogo .mk svg{width:100%;height:100%;transform-origin:50% 80%;animation:mcGlass 5s ease-in-out 2}
html body .hero .hlogo .mk::after{content:"";position:absolute;inset:7%;border-radius:50%;border:1px solid rgba(var(--accr),.6);pointer-events:none}
html body .hero .hlogo .wm{display:grid;line-height:1;text-align:left}
html body .hero .hlogo .wm small{font:700 clamp(11px,1.2vw,15px)/1 var(--mono);letter-spacing:.6em;color:var(--mut);text-transform:uppercase;margin-bottom:.4em}
html body .hero .hlogo .wm b{font:italic 600 clamp(64px,10vw,150px)/.9 var(--disp);font-optical-sizing:none;font-variation-settings:"opsz" 24;letter-spacing:-.02em;color:var(--fg);text-shadow:var(--h1sh)}
html body .hero .hlogo .wm b i{font:700 clamp(11px,1.2vw,15px)/1 var(--mono);font-style:normal;letter-spacing:.5em;color:var(--acc);text-transform:uppercase;vertical-align:1.6em;margin-left:.6em}
@media(prefers-reduced-motion:reduce){html body .hero .hlogo .mk svg,html body #tvnav:not(#_) a.l.b26 svg{animation:none}}

/* ============ ambiance « 007 » : tampons et bandeaux arrondis ============ */
html.mc-bond h2[data-bx] .bx-code{border-radius:var(--pill)!important;background:var(--bg3)!important;color:var(--fg2)!important;border-color:var(--line2)!important}
html body .bx-stamp{border-radius:var(--pill)!important}
html.mc-bond .h2::after{background:linear-gradient(90deg,var(--acc),transparent)!important;border-radius:2px}

/* ============ pied de page ============ */
html body #d7foot{color:var(--mut)}
html body #d7foot :is(.br,.bmc .tx b,nav a,.tlc b){color:var(--fg)!important}
html body #d7foot p,html body #d7foot .bmc .tx span{color:var(--mut)}
html body #d7foot p b{color:var(--fg2)}
html body #d7foot .bmc{background:var(--bg2)!important;border:1px solid var(--line)!important;border-radius:var(--r3)!important}
html body #d7foot .bmc .cup{background:rgba(var(--accr),.1);border-color:rgba(var(--accr),.4);color:var(--acc)}
html body #d7foot .bmc a{background:var(--acc)!important;color:#fff!important;border:0!important;border-radius:var(--pill)!important;box-shadow:0 10px 28px -10px rgba(var(--accr),.7)!important}
html body #d7foot .cp{color:var(--mut)}
html body #d7foot .br::before{background:var(--acc)!important}
html body #d7foot::before{background:linear-gradient(90deg,transparent,var(--line2) 30%,var(--line2) 70%,transparent)!important}
@media(max-width:560px){
 html body #tvnav:not(#_) > .in{gap:5px!important;padding-left:12px;padding-right:12px}
 html body #tvnav:not(#_) a.logo{padding:0 4px 0 0;gap:8px}
 html body #tvnav:not(#_) .mk,html body #tvnav:not(#_) .mk svg{width:30px;height:30px}
 html body #tvnav:not(#_) .wm b{font-size:19px}
 html body #tvnav:not(#_) .wm b i{display:none}
 html body #tvnav:not(#_) :is(a.l.b26,a.l.play,.acc,.thm){margin:0!important;width:34px!important;height:34px!important}
}
/* menu identique partout, quelles que soient les règles plus anciennes */
html body #tvnav:not(#_) > .in{max-width:1240px!important;padding-left:20px!important;padding-right:20px!important}
html body #tvnav:not(#_) .links{gap:2px!important;overflow-x:auto!important}
html body #tvnav:not(#_) a.l.b26{order:99;margin-left:10px!important;margin-right:0!important}
html body #tvnav:not(#_) a.l.b26::before,html body #tvnav:not(#_) a.l.b26::after{display:none!important}
html body #tvnav:not(#_) a.l.b26 svg.h6{display:block!important}
html body #tvnav:not(#_) a.l.b26 svg.h6 circle{stroke:currentColor!important;animation:none!important}
html body #tvnav:not(#_) a.l.b26 svg.h6 circle[fill]{fill:currentColor!important;stroke:none!important}
html body #tvnav:not(#_) .thm svg{width:18px!important;height:18px!important}
html body #tvnav:not(#_) .thm,html body #tvnav:not(#_) .thm:hover{color:var(--fg)!important}
@media(min-width:901px) and (max-width:1180px){html body #tvnav:not(#_) a.l{padding:0 11px!important;letter-spacing:.14em!important}}
@media(max-width:900px){html body #tvnav:not(#_) a.l.b26{order:2;margin-left:0!important}}
html body #tvnav:not(#_) .links a.l{padding:0 12px!important;letter-spacing:.14em!important}
@media(min-width:901px) and (max-width:1240px){html body #tvnav:not(#_) .links a.l{padding:0 9px!important;letter-spacing:.08em!important;font-size:12.5px!important}html body #tvnav:not(#_) .acc span{display:none}html body #tvnav:not(#_) .acc{width:40px;padding:0!important;justify-content:center}}
html body #tvnav:not(#_) :is(a.l.play,a.l.b26,.acc){letter-spacing:.14em!important;font-size:12.5px!important}
html body #tvnav:not(#_) a.l.play{padding:0 14px!important}
html body #tvnav:not(#_) .acc{padding:0 14px!important}
html body #tvnav:not(#_) .links{flex:0 1 auto;min-width:0}
html body #tvnav:not(#_) :is(a.l,.acc):not(#_){gap:8px!important}
html body #tvnav:not(#_) .acc:not(#_){padding:0 14px!important}
html body #tvnav:not(#_) a.l.b26 svg:not(#_){width:28px!important;height:28px!important}
@media(max-width:1480px){html body #tvnav:not(#_) .acc:not(#_){width:40px;padding:0!important;justify-content:center}html body #tvnav:not(#_) .acc span{display:none!important}}
@media(max-width:900px){html body #tvnav:not(#_) .acc:not(#_){width:36px}}
@media(max-width:560px){html body #tvnav:not(#_) .acc:not(#_){width:34px}}

/* ============ menu « 007 » (canon) : barre d'encre unie, filets fins, page active prise dans le canon =====
   Pas de verre ni de reflets : un fond plein, des filets d'un pixel, le rouge réservé à la page active. */
@keyframes navbarrel{to{transform:rotate(360deg)}}
@keyframes navin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes navrule{from{transform:scaleX(0)}to{transform:scaleX(1)}}
html body #tvnav:not(#_):not(#__){--tipbg:var(--fg);--tipfg:var(--bg);background:var(--bg)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-bottom:0!important;box-shadow:none!important;transition:box-shadow .4s}
html body #tvnav:not(#_):not(#__)::before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;pointer-events:none;background:var(--line2);transform-origin:50% 50%}
/* le fond du menu remonte jusqu'en haut de l'écran (zone de l'heure et de la batterie sur iPhone) */
html body #tvnav:not(#_):not(#__)::after{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;top:auto!important;bottom:100%!important;height:max(120px,calc(env(safe-area-inset-top,0px) + 60px))!important;background:var(--bg)!important;pointer-events:none;animation:none!important;box-shadow:none!important;opacity:1!important}
html body #tvnav:not(#_):not(#__).tvsc{box-shadow:0 20px 40px -30px rgba(0,0,0,.9)!important}
html body #tvnav:not(#_):not(#__) > .in{gap:16px!important;padding-top:calc(12px + env(safe-area-inset-top,0px))!important;padding-bottom:12px!important;transition:padding .45s var(--ease);position:relative;z-index:3}
html body #tvnav:not(#_):not(#__) .tvsub{position:relative;z-index:1;background:none!important;border:0!important}
/* logo */
html body .olv{transform-box:fill-box;transform-origin:24% 85%}
html body #tvnav a.logo:hover .olv,html body .hero .hlogo:hover .olv{animation:olvStir 1.1s ease-in-out infinite}
@keyframes olvStir{0%,100%{transform:none}25%{transform:translate(1px,-1.6px) rotate(-16deg)}50%{transform:translate(0,.7px) rotate(9deg)}75%{transform:translate(-.8px,-.9px) rotate(-7deg)}}
@media(prefers-reduced-motion:reduce){html body .olv{animation:none!important}}
html body #tvnav:not(#_):not(#__) a.logo{background:none!important}
html body #tvnav:not(#_):not(#__) a.logo .mk svg{transform-origin:50% 80%;transition:transform .6s var(--ease)!important}
html body #tvnav:not(#_):not(#__) a.logo:hover .mk svg{transform:rotate(-14deg)!important}
html body #tvnav:not(#_):not(#__) .wm b{text-transform:none!important}
/* rangées : aucun fond, aucun cadre */
html body #tvnav:not(#_):not(#__) :is(.links,.tools,.tvsub .grp){position:relative;isolation:isolate;display:flex;align-items:center;gap:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;overflow:visible!important;max-width:100%}
html body #tvnav:not(#_):not(#__) :is(.links,.tools,.tvsub .grp)::before{display:none}
html body #tvnav:not(#_):not(#__) .links{margin:0 auto!important;flex:0 1 auto;min-width:0}
html body #tvnav:not(#_):not(#__) .tools{flex:none;margin:0!important;padding-left:14px!important}
html body #tvnav:not(#_):not(#__) .tools::after{content:"";position:absolute;left:0;top:50%;width:1px;height:22px;transform:translateY(-50%);background:var(--line2)}
html body #tvnav:not(#_):not(#__) :is(.links,.tools,.tvsub .grp)>.gh{display:none!important}
html body #tvnav:not(#_):not(#__) :is(.links,.tools,.tvsub .grp)>.ind{position:absolute;z-index:0;left:0;pointer-events:none;opacity:0;transition:transform .6s cubic-bezier(.7,0,.2,1),width .6s cubic-bezier(.7,0,.2,1),opacity .3s}
html body #tvnav:not(#_):not(#__) :is(.links,.tvsub .grp).has-ind>.ind{opacity:1}
html body #tvnav:not(#_):not(#__) .tools>.ind{display:none!important}
/* boutons */
html body #tvnav:not(#_):not(#__) :is(.links a.l,.tools .acc,.tools .thm,.tools .out,.tools .mem,.tools [id="b26snd"],.tvsub .grp a.l,.tvsub .grp button.l){position:relative!important;z-index:1;inset:auto!important;display:inline-flex!important;align-items:center;justify-content:center;gap:10px!important;flex:none;height:40px!important;min-width:40px;margin:0!important;padding:0 16px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--mut)!important;font:500 11px/1 var(--cond)!important;letter-spacing:.32em!important;text-transform:uppercase!important;text-decoration:none;text-shadow:none!important;white-space:nowrap;transform:none!important;filter:none!important;cursor:pointer;transition:color .35s var(--ease)}
html body #tvnav:not(#_):not(#__) :is(.links a.l,.tools .acc,.tools .thm,.tools .out,.tools .mem) svg{display:block!important;width:18px!important;height:18px!important;flex:none;stroke-width:1.4;animation:none;filter:none!important;transition:transform .5s var(--ease),color .3s}
html body #tvnav:not(#_):not(#__) :is(.links a.l,.tools .acc,.tools .thm,.tools .out,.tools .mem,.tools [id="b26snd"],.tvsub .grp a.l,.tvsub .grp button.l):hover{color:var(--fg)!important;background:transparent!important}
html body #tvnav:not(#_):not(#__) :is(.links a.l,.tools .acc,.tools .thm,.tvsub .grp a.l,.tvsub .grp button.l):focus-visible{outline:1px solid var(--acc);outline-offset:2px}
html body #tvnav:not(#_):not(#__) :is(.links a.l,.tvsub .grp a.l)::before{display:none!important}
html body #tvnav:not(#_):not(#__) .links a.l.on.on,html body #tvnav:not(#_):not(#__) .links a.l.on svg{color:var(--fg)!important}
/* icône seule hors page active */
html body #tvnav:not(#_):not(#__) .links a.l:not(.on){width:44px;padding:0!important}
html body #tvnav:not(#_):not(#__) .tools :is(.acc,.thm,.out,.mem,[id="b26snd"]){width:40px!important;padding:0!important;font-size:0!important}
html body #tvnav:not(#_):not(#__) :is(.links a.l:not(.on),.tools .acc,.tools .out,.tools .mem,.tools [id="b26snd"]) span{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* info-bulles : étiquette d'encre, capitales espacées */
html body #tvnav:not(#_):not(#__) :is(.links a.l:not(.on),.tools .acc,.tools .thm,.tools .mem,.tools .out,.tools [id="b26snd"])[data-tip]::after{content:attr(data-tip)!important;display:block!important;position:absolute;left:50%;top:calc(100% + 12px);z-index:5;padding:8px 12px 8px 14px;border-radius:0;background:var(--tipbg);color:var(--tipfg);font:500 10px/1 var(--cond);letter-spacing:.3em;text-transform:uppercase;white-space:nowrap;pointer-events:none;box-shadow:none;opacity:0;transform:translate(-50%,-4px);transition:opacity .25s,transform .35s var(--ease)}
html body #tvnav:not(#_):not(#__) :is(.links a.l:not(.on),.tools .acc,.tools .thm,.tools .mem,.tools .out,.tools [id="b26snd"])[data-tip]:hover::after{opacity:1;transform:translate(-50%,0)}
/* Holocène */
html body #tvnav:not(#_):not(#__) .links .sep{position:relative;z-index:1;flex:none;width:1px;height:22px;margin:0 10px;background:var(--line2)}
html body #tvnav:not(#_):not(#__) .links a.l.hol svg{color:var(--acc)!important}
html body #tvnav:not(#_):not(#__) .links a.l.hol:hover svg{animation:navbarrel 4s linear infinite}
/* compte, thème, membres, musique */
html body #tvnav:not(#_):not(#__) .tools .acc.logged:has(img){width:40px!important;height:40px!important;padding:0!important}
html body #tvnav:not(#_):not(#__) .tools .acc img{width:28px!important;height:28px!important;margin:0!important;border:1px solid var(--fg)!important;border-radius:50%;box-shadow:none!important;filter:grayscale(1)}
html body #tvnav:not(#_):not(#__) .tools .acc.logged:has(img) svg{display:none!important}
html body #tvnav:not(#_):not(#__) .tools .thm:hover svg{transform:rotate(-30deg)}
html body #tvnav:not(#_):not(#__) .tools .thm .sun,:root[data-theme="light"] body #tvnav:not(#_):not(#__) .tools .thm .moon{display:none!important}
:root[data-theme="light"] body #tvnav:not(#_):not(#__) .tools .thm .sun{display:block!important}
html body #tvnav:not(#_):not(#__) .tools :is(.mem,#tvdmem).on,html body #tvnav:not(#_):not(#__) .tools :is(.out,#tvout):hover,html body #tvnav:not(#_):not(#__) .tools #b26snd.on{color:var(--acc)!important}
html body #tvnav:not(#_):not(#__) .tools #b26snd span{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
html body #tvnav:not(#_):not(#__) .tools #b26snd i{display:flex!important;gap:2.5px;align-items:flex-end;height:14px}
html body #tvnav:not(#_):not(#__) .tools #b26snd i b{width:2px!important;height:5px;border-radius:0;background:currentColor!important}
html body #tvnav:not(#_):not(#__) .tools>*{order:0!important}
/* Déconnexion : tout à droite du menu, en rouge (quel que soit le service choisi), trait plus épais pour bien la voir */
html body #tvnav:not(#_):not(#__) .tools>#tvout{order:9!important;--rouge:var(--acc);color:var(--rouge)!important;border-radius:50%!important;transition:color .3s,background .3s}
:root[data-theme="light"] body #tvnav:not(#_):not(#__) .tools>#tvout{--rouge:var(--acc)}
html body #tvnav:not(#_):not(#__) .tools>#tvout svg{stroke-width:2!important}
html body #tvnav:not(#_):not(#__) .tools>#tvout:hover{color:var(--rouge)!important;background:color-mix(in srgb,var(--rouge) 14%,transparent)!important}
html body #tvnav:not(#_):not(#__) .tools>#tvout:hover svg{transform:translateX(2px)}
#tvdock:not(#_) :is(#tvdmem,#tvdout){display:none!important}
/* sous-menu : une ligne de texte sous un filet */
html body #tvnav:not(#_):not(#__) .tvsub .in{justify-content:center;padding-top:0!important;padding-bottom:0!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp{overflow-x:auto!important;scrollbar-width:none}
html body #tvnav:not(#_):not(#__) .tvsub .grp::-webkit-scrollbar{display:none}
html body #tvnav:not(#_):not(#__) .tvsub .grp :is(a.l,button.l){height:38px!important;padding:0 14px!important;font-size:10.5px!important;letter-spacing:.3em!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp :is(a.l,button.l) svg{display:none!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp :is(a.l,button.l) span{display:inline!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp a.l.on{color:var(--fg)!important;background:transparent!important;box-shadow:none!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp a.l.chap{font:italic 400 15px/1 var(--disp)!important;letter-spacing:.01em!important;text-transform:none!important;color:var(--mut)!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp a.l.chap:hover,html body #tvnav:not(#_):not(#__) .tvsub .grp a.l.chap.cur{color:var(--fg)!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp .sep{position:relative;z-index:1;flex:none;width:1px;height:16px;margin:0 8px;background:var(--line2)}
html body #tvnav:not(#_):not(#__) .tvsub .grp .bd{background:var(--acc);color:#fff;border-radius:0;padding:2px 5px;font-size:9px;letter-spacing:.1em}
html body #tvnav:not(#_):not(#__) .tvsub .b26t{display:none!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp>.und{position:absolute;z-index:0;left:0;pointer-events:none;opacity:0;transition:transform .6s cubic-bezier(.7,0,.2,1),width .6s cubic-bezier(.7,0,.2,1),opacity .3s}
html body #tvnav:not(#_):not(#__) .tvsub .grp.has-und>.und{opacity:1}
/* bureau : tout groupé au centre */
@media(min-width:901px){
 html body #tvnav:not(#_):not(#__) > .in:first-child{display:flex!important;justify-content:center;align-items:center;gap:22px!important;max-width:none!important;padding-top:calc(12px + env(safe-area-inset-top,0px))!important;padding-bottom:12px!important}
 html body #tvnav:not(#_):not(#__) > .in:first-child>a.logo{margin:0 8px 0 0!important;padding:0!important}
 html body #tvnav:not(#_):not(#__) > .in:first-child>.links{margin:0!important}
 /* séparateur plein (avant Compte, musique, thème) : même respiration que le pointillé, 23px de chaque côté des icônes.
    Sans cela, l'écart de 22px entre groupes s'ajoutait à droite de l'icône Holocène, qui paraissait isolée dans le vide */
 html body #tvnav:not(#_):not(#__) > .in:first-child>.tools{margin-left:-12px!important;padding-left:12px!important}
 html body #tvnav:not(#_):not(#__).tvsc > .in:first-child{padding-top:calc(6px + env(safe-area-inset-top,0px))!important;padding-bottom:6px!important}
}
/* tablette et mobile : logo et outils en haut, rubriques en dessous */
@media(max-width:900px){
 html body #tvnav:not(#_):not(#__) > .in{gap:10px!important;row-gap:4px!important;padding-top:calc(10px + env(safe-area-inset-top,0px))!important;padding-bottom:4px!important}
 html body #tvnav:not(#_):not(#__) .tools{order:2;margin-left:auto!important;padding-left:0!important}
 html body #tvnav:not(#_):not(#__) .tools::after{display:none}
 html body #tvnav:not(#_):not(#__) .links{order:3;flex:1 1 100%;justify-content:space-between;margin:0!important;overflow-x:auto!important;scrollbar-width:none;border-top:1px solid var(--line)!important}
 html body #tvnav:not(#_):not(#__) .links a.l:not(.on){width:38px;min-width:38px}
 html body #tvnav:not(#_):not(#__) .tools :is(.acc,.thm,.out,.mem,[id="b26snd"]){width:36px!important;min-width:36px;height:36px!important}
 html body #tvnav:not(#_):not(#__) .links a.l.on{padding:0 10px!important;letter-spacing:.24em!important}
 html body #tvnav:not(#_):not(#__) .links .sep{margin:0 2px}
 html body #tvnav:not(#_):not(#__) [data-tip]::after{display:none!important}
 html body #tvnav:not(#_):not(#__) .tvsub .in{justify-content:flex-start}
 html body #tvnav:not(#_):not(#__) .tvsub .grp{margin:0 auto}
 html body #tvnav:not(#_):not(#__) .tvsub .grp a.l.chap{font-size:14px!important}
 html body #tvnav:not(#_):not(#__) .tvsub .grp a.l:not(.chap){letter-spacing:.2em!important;padding:0 10px!important}
}
@media(max-width:380px){html body #tvnav:not(#_):not(#__) .links a.l:not(.on){width:32px;min-width:32px}html body #tvnav:not(#_):not(#__) .links a.l.on{letter-spacing:.16em!important;gap:6px!important;padding:0 6px!important}}
/* entrée en scène : le filet se trace, puis les rubriques apparaissent */
html body #tvnav:not(#_):not(#__).intro::before{animation:navrule 1.2s cubic-bezier(.7,0,.2,1) both}
html body #tvnav:not(#_):not(#__).intro :is(a.logo,.links>a.l,.tools,.tvsub .grp){animation:navin .8s var(--ease) both}
html body #tvnav:not(#_):not(#__).intro .links>a.l:nth-of-type(1){animation-delay:.25s}html body #tvnav:not(#_):not(#__).intro .links>a.l:nth-of-type(2){animation-delay:.3s}html body #tvnav:not(#_):not(#__).intro .links>a.l:nth-of-type(3){animation-delay:.35s}html body #tvnav:not(#_):not(#__).intro .links>a.l:nth-of-type(4){animation-delay:.4s}html body #tvnav:not(#_):not(#__).intro .links>a.l:nth-of-type(5){animation-delay:.45s}html body #tvnav:not(#_):not(#__).intro .links>a.l:nth-of-type(6){animation-delay:.55s}
html body #tvnav:not(#_):not(#__).intro .tools{animation-delay:.6s}html body #tvnav:not(#_):not(#__).intro .tvsub .grp{animation-delay:.7s}
@media(prefers-reduced-motion:reduce){html body #tvnav:not(#_):not(#__) *,html body #tvnav:not(#_):not(#__)::before{animation:none!important}html body #tvnav:not(#_):not(#__) :is(.ind,.und){transition:none!important}}
/* morceau en cours : égaliseur rouge, titre en Bodoni italique, artiste en capitales */
@keyframes nowEq{0%,100%{transform:scaleY(.25)}50%{transform:scaleY(1)}}
@keyframes nowMq{0%,15%{transform:translateX(0)}85%,100%{transform:translateX(var(--dx,0))}}
@keyframes nowIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
html body #tvnav:not(#_):not(#__) #tvnow{display:none;position:relative;z-index:1;align-items:center;gap:11px;flex:0 1 auto;min-width:0;height:40px;margin:0 6px 0 4px;padding:0 4px;border:0;background:none;color:var(--fg);cursor:pointer;text-align:left}
html body #tvnav:not(#_):not(#__) #tvnow.vis{display:inline-flex;animation:nowIn .6s var(--ease) both}
html body #tvnav:not(#_):not(#__) #tvnow .eq{display:flex;align-items:flex-end;gap:2px;height:14px;flex:none}
html body #tvnav:not(#_):not(#__) #tvnow .eq b{width:2px;height:100%;background:var(--acc);transform-origin:50% 100%;transform:scaleY(.25);transition:transform .4s}
html body #tvnav:not(#_):not(#__) #tvnow.pl .eq b{animation:nowEq .9s ease-in-out infinite}
html body #tvnav:not(#_):not(#__) #tvnow.pl .eq b:nth-child(2){animation-duration:.7s;animation-delay:-.3s}
html body #tvnav:not(#_):not(#__) #tvnow.pl .eq b:nth-child(3){animation-duration:1.1s;animation-delay:-.5s}
html body #tvnav:not(#_):not(#__) #tvnow.pl .eq b:nth-child(4){animation-duration:.8s;animation-delay:-.1s}
html body #tvnav:not(#_):not(#__) #tvnow .tx{display:block;max-width:210px;overflow:hidden;-webkit-mask:linear-gradient(90deg,#000 88%,transparent);mask:linear-gradient(90deg,#000 88%,transparent)}
html body #tvnav:not(#_):not(#__) #tvnow:not(.mv) .tx{-webkit-mask:none;mask:none}
html body #tvnav:not(#_):not(#__) #tvnow .mq{display:inline-grid;gap:4px;white-space:nowrap}
html body #tvnav:not(#_):not(#__) #tvnow.mv.pl .mq{animation:nowMq var(--dur,10s) ease-in-out infinite alternate}
html body #tvnav:not(#_):not(#__) #tvnow .mq b{font:italic 400 15px/1 var(--disp);font-variation-settings:"opsz" 18;letter-spacing:.01em;color:var(--fg)}
html body #tvnav:not(#_):not(#__) #tvnow .mq small{font:500 8.5px/1 var(--cond);letter-spacing:.32em;text-transform:uppercase;color:var(--mut)}
html body #tvnav:not(#_):not(#__) #tvnow:not(.pl) .mq b{color:var(--mut)}
html body #tvnav:not(#_):not(#__) #tvnow:focus-visible{outline:1px solid var(--acc);outline-offset:2px}
@media(max-width:900px){html body #tvnav:not(#_):not(#__) #tvnow{height:36px;margin:0 4px 0 0}html body #tvnav:not(#_):not(#__) #tvnow .tx{max-width:calc(100vw - 250px)}}
@media(max-width:560px){html body #tvnav:not(#_):not(#__).playing .wm{display:none}html body #tvnav:not(#_):not(#__) #tvnow .tx{max-width:calc(100vw - 200px)}}
@media(prefers-reduced-motion:reduce){html body #tvnav:not(#_):not(#__) #tvnow .mq{animation:none!important}}
html body #tvnav:not(#_):not(#__).playing .tools #b26snd{display:none!important}
@media(max-width:900px){html body #tvnav:not(#_):not(#__) .tvsub .grp :is(a.l,button.l):not(.chap){letter-spacing:.2em!important;padding:0 10px!important}}
html body #tvnav:not(#_):not(#__) .tools #b26snd:not(#_){background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-radius:0!important;color:var(--mut)!important}
html body #tvnav:not(#_):not(#__) .tools #b26snd:not(#_):hover{color:var(--fg)!important}
html body #tvnav:not(#_):not(#__) .tools #b26snd.on:not(#_){color:var(--acc)!important}
/* Bande-son : flèches « morceau précédent / suivant » de part et d'autre du bouton Musique (musique.js, bond-26/theme.js) */
html body #tvnav:not(#_):not(#__) .tools .mus{position:relative!important;z-index:1;display:inline-flex!important;align-items:center;justify-content:center;flex:none;width:26px!important;min-width:26px;height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;color:var(--mut)!important;cursor:pointer;transition:color .35s var(--ease)}
html body #tvnav:not(#_):not(#__) .tools .mus svg{display:block;width:16px;height:16px;flex:none;transition:transform .35s var(--ease)}
html body #tvnav:not(#_):not(#__) .tools .mus:hover{color:var(--fg)!important}
html body #tvnav:not(#_):not(#__) .tools .mus[data-mus="prev"]:hover svg{transform:translateX(-2px)}
html body #tvnav:not(#_):not(#__) .tools .mus[data-mus="next"]:hover svg{transform:translateX(2px)}
html body #tvnav:not(#_):not(#__) .tools .mus:focus-visible{outline:1px solid var(--acc);outline-offset:2px}
@media(max-width:700px){html body #tvnav:not(#_):not(#__) .tools .mus{width:22px!important;min-width:22px;height:36px!important}}
/* C « Canon » : l'icône active est prise dans le cercle rouge du canon (gun barrel), libellé en Courier façon dossier MI6 */
html body #tvnav:not(#_):not(#__) .links a.l.on{padding:0 16px 0 11px!important;gap:16px!important}
html body #tvnav:not(#_):not(#__) .links a.l.on span{font:700 11px/1 var(--mono)!important;letter-spacing:.28em!important}
html body #tvnav:not(#_):not(#__) .links a.l.on svg{color:#fff!important}
html body #tvnav:not(#_):not(#__) .links>.ind{top:50%;height:36px;width:36px;margin-top:-18px;border-radius:50%;background:radial-gradient(circle,var(--acc) 0 58%,transparent 59%),var(--bg);box-shadow:0 0 0 1px var(--acc),0 0 0 4px var(--bg),0 0 0 5px rgba(var(--accr),.5);transform:translateX(calc(var(--x,0px) + 2px))}
html body #tvnav:not(#_):not(#__) .links:not(.has-ind) a.l.on svg{color:var(--acc)!important}
html body #tvnav:not(#_):not(#__) .links .sep{height:30px;background:repeating-linear-gradient(var(--line2) 0 3px,transparent 3px 6px)}
html body #tvnav:not(#_):not(#__) .tvsub .grp>.ind{bottom:0;height:3px;width:calc(var(--w,0px) - 20px);transform:translateX(calc(var(--x,0px) + 10px));background:repeating-linear-gradient(90deg,var(--acc) 0 3px,transparent 3px 6px)}
html body #tvnav:not(#_):not(#__) .tvsub .grp a.l:not(.chap){font:700 10.5px/1 var(--mono)!important;letter-spacing:.24em!important}
html body #tvnav:not(#_):not(#__) .tvsub .grp>.und{top:50%;margin-top:-3px;height:6px;width:6px;border-radius:50%;background:var(--acc);transform:translateX(calc(var(--x,0px) + 2px))}
html body #tvnav:not(#_):not(#__) .tvsub .grp a.l.chap{padding-left:16px!important}
@media(max-width:900px){html body #tvnav:not(#_):not(#__) .links>.ind{height:32px;width:32px;margin-top:-16px}html body #tvnav:not(#_):not(#__) .links a.l.on.on{padding:0 8px 0 9px!important;gap:14px!important}}

/* boutons flottants de Bond 26 (Musique, Partager) : même rail que la barre */
html body #b26snd:not(#_),html body #b26sh:not(#_){border:0!important;border-radius:0!important;background:var(--bg)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:inset 0 0 0 1px var(--line2)!important;color:var(--fg2)!important;font-family:var(--cond)!important;font-weight:500!important;transition:color .3s,box-shadow .3s}
@media(min-width:701px){html body #b26snd:not(#_),html body #b26sh:not(#_){font-size:11px!important;letter-spacing:.2em!important}}
html body #b26snd:not(#_):hover,html body #b26sh:not(#_):hover{color:var(--fg)!important;box-shadow:inset 0 0 0 1px var(--acc),0 14px 34px -18px rgba(0,0,0,.9)!important}
html body #b26sh:not(#_) svg{stroke:var(--acc)!important}

/* notifications (« Couverture levée », « Mode infiltration »…) : pastille d'encre, lisible en clair comme en sombre */
html body .bx-toast:not(#_){display:inline-flex;align-items:center;gap:10px;max-width:min(92vw,560px);padding:12px 22px 12px 16px!important;border:0!important;border-radius:999px!important;background:var(--fg)!important;color:var(--bg)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;font:500 14px/1.35 var(--cond)!important;letter-spacing:.01em;text-shadow:none!important;box-shadow:0 18px 40px -16px rgba(0,0,0,.55),inset 0 0 0 1px rgba(var(--accr),.35)!important}
html body .bx-toast:not(#_)::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 3px rgba(var(--accr),.22),0 0 12px rgba(var(--accr),.9)}
html body .bx-toast:not(#_) em{color:var(--acc)!important;font-weight:600}

/* ============ lueurs du fond ============
   Comme sur l'accueil de titelive.me, deux calques fixes qui dérivent derrière tout le contenu,
   mais dans les couleurs « 007 » : la couleur du pays (claire, foncée, très foncée) et une touche de champagne.
   Immobiles : deux calques plus grands que l'écran qui dérivaient sans fin pesaient sur le défilement (Safari surtout). */
html:root{--lu1:rgba(var(--accr,227,36,63),.40);--lu2:color-mix(in srgb,color-mix(in srgb,var(--acc),#000 30%) 56%,transparent);--lu3:rgba(242,200,140,.14);--lu4:color-mix(in srgb,color-mix(in srgb,var(--acc),#000 50%) 48%,transparent)}
html:root[data-theme="light"]{--lu1:rgba(var(--accr,227,36,63),.22);--lu2:color-mix(in srgb,color-mix(in srgb,var(--acc),#fff 35%) 22%,transparent);--lu3:rgba(214,160,90,.26);--lu4:color-mix(in srgb,color-mix(in srgb,var(--acc),#000 10%) 17%,transparent)}
html:root{background:var(--bg)!important}
html:root body:not(#_){background:transparent!important}
html:root::before,html:root::after{content:"";position:fixed;inset:-25vmax;z-index:-1;pointer-events:none;contain:strict}
html:root::before{background:radial-gradient(36vmax 30vmax at 28% 30%,var(--lu1),transparent 66%),radial-gradient(32vmax 28vmax at 74% 76%,var(--lu3),transparent 66%);transform:translate3d(4vmax,4vmax,0) rotate(8deg)}
html:root::after{background:radial-gradient(38vmax 30vmax at 78% 28%,var(--lu2),transparent 66%),radial-gradient(32vmax 28vmax at 26% 76%,var(--lu4),transparent 66%);transform:translate3d(-4vmax,-3vmax,0) rotate(-8deg)}

/* téléphone : barre plus basse ; en descendant, seule la dernière rangée reste (chapitres ou rubriques), le reste revient en remontant */
@media(max-width:900px){
 html body #tvnav:not(#_):not(#__){transition:transform .45s cubic-bezier(.7,0,.2,1),box-shadow .4s}
 html body #tvnav:not(#_):not(#__) > .in:first-child{transition:opacity .3s}
 html body #tvnav:not(#_):not(#__).dn{transform:translateY(calc(env(safe-area-inset-top,0px) - var(--hide,0px)))}
 html body #tvnav:not(#_):not(#__).dn:has(.tvsub) > .in:first-child,html body #tvnav:not(#_):not(#__).dn > .in:first-child > :is(a.logo,.tools){opacity:0;pointer-events:none}
 html body #tvnav:not(#_):not(#__) .mk,html body #tvnav:not(#_):not(#__) .mk svg{width:32px!important;height:32px!important}
 html body #tvnav:not(#_):not(#__) .wm b{font-size:20px!important}
 html body #tvnav:not(#_):not(#__) .tvsub .grp :is(a.l,button.l){height:36px!important}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){html body #tvnav:not(#_):not(#__){transition:none}}

/* bouton Musique : une note de musique ; quand ça joue, un égaliseur rouge qui bouge */
@keyframes sndEq{0%,100%{transform:scaleY(.3)}50%{transform:scaleY(1)}}
html body #b26snd svg.nt{display:block;width:17px;height:17px;flex:none}
html body #b26snd.on svg.nt{display:none}
html body #b26snd:not(.on) i{display:none!important}
html body #b26snd.on i b{transform-origin:50% 100%;animation:sndEq .9s ease-in-out infinite}
html body #b26snd.on i b:nth-child(2){animation-duration:.7s;animation-delay:-.3s}
html body #b26snd.on i b:nth-child(3){animation-duration:1.1s;animation-delay:-.5s}
html body #tvnav:not(#_):not(#__) .tools #b26snd i b{height:14px!important}
@media(prefers-reduced-motion:reduce){html body #b26snd.on i b{animation:none}}
html body #tvnav:not(#_):not(#__) .tools #b26snd:not(.on) i{display:none!important}
html body #tvnav:not(#_):not(#__) .tools #b26snd.on svg.nt{display:none!important}
html body #tvnav:not(#_):not(#__) .tools #b26snd:not(.on) svg.nt{display:block!important;width:18px;height:18px}

/* ============ verre du logo : la surface du Martini reste à l'horizontale quand le verre s'incline ============
   le liquide, découpé par la forme du verre, tourne en sens inverse ; la courbe qui dépasse donne un petit ballottement */
html body .liq{transform-box:fill-box;transform-origin:50% 3.4%;transition:transform 1.15s cubic-bezier(.3,1.75,.45,1)}
html body #tvnav a.logo:hover .liq{transform:rotate(14deg)}
html body .hero .hlogo .liq{animation:mcLiq 5s ease-in-out 2}
@keyframes mcLiq{0%,100%{transform:none}12%{transform:rotate(-1.2deg)}50%{transform:rotate(4.8deg)}62%{transform:rotate(7deg)}}
@media(prefers-reduced-motion:reduce){html body .liq{transition:none!important;animation:none!important;transform:none!important}}

/* ============ photo Bond 26 en fond de tous les en-têtes du Club ============
   Accueil (.hero), rubriques et articles (.phd), page des films (.fl-hd.phd), fiches films / personnages / critiques (.fhero).
   Bond à droite, le vide noir à gauche porte le texte. Ces bandeaux restent noirs dans les deux thèmes
   (la photo est faite pour le noir) : en thème clair, on y reprend les couleurs du thème sombre. */
html:root{--b26:url(/martini-club/img/hero-bond26.jpg);--b26m:url(/martini-club/img/hero-bond26.jpg)}
@supports (background-image:image-set(url(x.webp) type("image/webp"))){html:root{
 --b26:image-set(url(/martini-club/img/hero-bond26.webp) type("image/webp"),url(/martini-club/img/hero-bond26.jpg) type("image/jpeg"));
 --b26m:image-set(url(/martini-club/img/hero-bond26-1200.webp) type("image/webp"),url(/martini-club/img/hero-bond26.jpg) type("image/jpeg"))}}
html:root[data-theme="light"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){color-scheme:dark;color:var(--fg2);--tn:242,237,227;
 --bg:#050505;--bg2:#0c0b0b;--bg3:#151313;--fg:#f2ede3;--fg2:#d4ccbe;--mut:#8f877b;--strong:#fff;
 --acc:var(--spd);--accr:var(--spdr);--red:var(--spd);--ink:#0c0b0b;--bgr:5,5,5;--surf:#0c0b0b;
 --line:rgba(242,237,227,.13);--line2:rgba(242,237,227,.26);--card:var(--bg2);--panel:rgba(12,11,11,.92);
 --veil0:rgba(5,5,5,.35);--veil1:rgba(5,5,5,.75);
 --glow:rgba(var(--spdr),.2);--tsh:0 2px 18px rgba(0,0,0,.85);--h1sh:0 8px 40px rgba(0,0,0,.6)}
html:root[data-theme="light"] body:where(:not(.b26)) :is(.hero,.phd,.fhero) :is(b,strong){color:var(--strong)!important}
html:root[data-theme="light"] body:where(:not(.b26)) :is(.hero,.phd,.fhero) :is(h1,.h1,.ftitle,.fl-h1,.hlogo .wm b){color:var(--fg)!important}
html:root[data-theme="light"] body:where(:not(.b26)) :is(.hero,.fhero) .bx-lasers{mix-blend-mode:screen;opacity:1}

/* accueil */
html body:where(:not(.b26)) .hero{background:#050505}
html body:where(:not(.b26)) .hero::before{opacity:1;bottom:0;
 background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.88) 28%,rgba(5,5,5,.35) 52%,transparent 72%),linear-gradient(180deg,transparent 70%,#050505),var(--b26) right 32%/cover no-repeat;
 -webkit-mask-image:none;mask-image:none}
html body:where(:not(.b26)) .hero::after{background:radial-gradient(60% 70% at 18% 40%,rgba(var(--accr),.14),transparent 70%)}

/* fiches : la photo remplace l'image du film (posée en style dans la page, d'où les !important) */
html body .fhero{background:#050505}
html body .fhero .bg{inset:0!important;filter:none!important;-webkit-mask-image:none!important;mask-image:none!important;
 background:var(--b26) right 32%/cover no-repeat!important}
html body .fhero .bg::after{background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.9) 30%,rgba(5,5,5,.55) 55%,rgba(5,5,5,.15) 80%),linear-gradient(180deg,transparent 75%,#050505)!important}
/* fiche d'un James Bond : son acteur en fond, pas le Bond 26 (--pbg posé dans la page) */
html body .fhero .bg.own{background:var(--pbg) right top/62% auto no-repeat!important;opacity:.85;
 -webkit-mask-image:linear-gradient(90deg,transparent 38%,#000 62%),linear-gradient(180deg,#000 24vw,transparent 37vw)!important;-webkit-mask-composite:source-in;
 mask-image:linear-gradient(90deg,transparent 38%,#000 62%),linear-gradient(180deg,#000 24vw,transparent 37vw)!important;mask-composite:intersect}
/* la couverture garde son fond et son texte chez elle : au défilement (parallaxe), rien ne déborde sur la suite */
html body .fhero{overflow:clip}
html body .fhero + main{padding-top:clamp(24px,4vw,48px)}

/* rubriques, articles, page des films : un bandeau photo pleine largeur derrière le titre */
html:has(.phd){overflow-x:clip}
html body .phd{position:relative;isolation:isolate;padding-block:clamp(28px,5vw,60px) clamp(30px,5vw,56px);margin-bottom:clamp(26px,4vw,44px)}
html body .phd::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:calc(-1 * clamp(34px,6vh,70px));bottom:0;left:50%;width:100vw;margin-left:-50vw;
 background:linear-gradient(90deg,#050505 0%,rgba(5,5,5,.9) 32%,rgba(5,5,5,.5) 58%,rgba(5,5,5,.2) 82%),var(--b26) right 30%/cover no-repeat,#050505;
 box-shadow:0 1px 0 rgba(242,237,227,.08)}
html body .phd > :last-child{margin-bottom:0}
html body .fl .fl-hd.phd{border-bottom:0}

/* téléphone : Bond en haut à droite, texte sur un voile plus dense */
@media (max-width:760px){
 html body:where(:not(.b26)) .hero::before{
  background:linear-gradient(180deg,rgba(5,5,5,.15) 0%,rgba(5,5,5,.55) 34%,rgba(5,5,5,.9) 58%,#050505 78%),linear-gradient(90deg,rgba(5,5,5,.7),transparent 70%),var(--b26m) 82% 0/auto 62% no-repeat}
 html body .fhero .bg{background:var(--b26m) 78% 0/auto 420px no-repeat!important}
 html body .fhero .bg.own{background:var(--pbg) 62% 0/auto 420px no-repeat!important;-webkit-mask-image:none!important;mask-image:none!important}
 html body .fhero .bg::after{background:linear-gradient(180deg,rgba(5,5,5,.35) 0%,rgba(5,5,5,.8) 260px,#050505 420px)!important}
 html body .phd::before{background:linear-gradient(90deg,rgba(5,5,5,.88),rgba(5,5,5,.55)),var(--b26m) 80% 20%/cover no-repeat,#050505}}
/* Couleur du pays en version « fond noir » (celle du thème sombre), quel que soit le thème : pour les bandeaux qui restent noirs et les images dessinées (cartes à partager). */
html:root{--spd:#e3243f;--spdr:227,36,63}
html:root[data-spy="fr"]{--spd:#3b74f6;--spdr:59,116,246}
html:root[data-spy="us"]{--spd:#3fb2c4;--spdr:63,178,196}
html:root[data-spy="ru"]{--spd:#e0b23a;--spdr:224,178,58}
html:root[data-spy="ch"]{--spd:#ff3d2e;--spdr:255,61,46}
html:root[data-spy="il"]{--spd:#5b9bff;--spdr:91,155,255}
html:root[data-spy="de"]{--spd:#ffcc1a;--spdr:255,204,26}
html:root[data-spy="it"]{--spd:#3fcf86;--spdr:63,207,134}
html:root[data-spy="es"]{--spd:#ff5c7a;--spdr:255,92,122}
html:root[data-spy="jp"]{--spd:#ff5a6e;--spdr:255,90,110}
html:root[data-spy="cn"]{--spd:#ffd23f;--spdr:255,210,63}
html:root[data-spy="in"]{--spd:#ff9933;--spdr:255,153,51}
html:root[data-spy="ca"]{--spd:#ff4d4d;--spdr:255,77,77}
html:root[data-spy="au"]{--spd:#7fb2ff;--spdr:127,178,255}
html:root[data-spy="br"]{--spd:#ffd400;--spdr:255,212,0}
/* ============ service d’espionnage : la couleur d’accent suit le pays choisi (pays du compte : Mon compte ou fiche Membres) ============
 Royaume-Uni (MI6) = le rouge d’origine, sans règle. html[data-spy] est posé avant l’affichage par le script en tête de page. */
html:root[data-spy="fr"],html:root[data-spy="fr"] body:is(.dp,*),html:root[data-spy="fr"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="fr"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="fr"] :is(header.cover,figure.band,p.acte,#lb){--acc:#3b74f6;--accr:59,116,246;--accfg:#fff;--red:#3b74f6;--red2:#6f9bff;--redr:59,116,246;--yes:#3b74f6;--yes2:#2e5abf;--laser:#3b74f6;--key:#3b74f6}
html:root[data-theme="light"][data-spy="fr"],html:root[data-theme="light"][data-spy="fr"] body:is(.dp,*),html:root[data-theme="light"][data-spy="fr"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#1f4fd1;--accr:31,79,209;--accfg:#fff;--red:#1f4fd1;--red2:#2a5ce0;--redr:31,79,209;--yes:#1f4fd1;--yes2:#183da3;--laser:#1f4fd1;--key:#1f4fd1}
html:root[data-spy="us"],html:root[data-spy="us"] body:is(.dp,*),html:root[data-spy="us"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="us"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="us"] :is(header.cover,figure.band,p.acte,#lb){--acc:#3fb2c4;--accr:63,178,196;--accfg:#04181c;--red:#3fb2c4;--red2:#7fd6e3;--redr:63,178,196;--yes:#3fb2c4;--yes2:#318a98;--laser:#3fb2c4;--key:#3fb2c4}
html:root[data-theme="light"][data-spy="us"],html:root[data-theme="light"][data-spy="us"] body:is(.dp,*),html:root[data-theme="light"][data-spy="us"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#127485;--accr:18,116,133;--accfg:#fff;--red:#127485;--red2:#16889c;--redr:18,116,133;--yes:#127485;--yes2:#0e5a67;--laser:#127485;--key:#127485}
html:root[data-spy="ru"],html:root[data-spy="ru"] body:is(.dp,*),html:root[data-spy="ru"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="ru"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="ru"] :is(header.cover,figure.band,p.acte,#lb){--acc:#e0b23a;--accr:224,178,58;--accfg:#160f02;--red:#e0b23a;--red2:#f3cf6a;--redr:224,178,58;--yes:#e0b23a;--yes2:#ae8a2d;--laser:#e0b23a;--key:#e0b23a}
html:root[data-theme="light"][data-spy="ru"],html:root[data-theme="light"][data-spy="ru"] body:is(.dp,*),html:root[data-theme="light"][data-spy="ru"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#8a6410;--accr:138,100,16;--accfg:#fff;--red:#8a6410;--red2:#a37a16;--redr:138,100,16;--yes:#8a6410;--yes2:#6b4e0c;--laser:#8a6410;--key:#8a6410}
html:root[data-spy="ch"],html:root[data-spy="ch"] body:is(.dp,*),html:root[data-spy="ch"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="ch"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="ch"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ff3d2e;--accr:255,61,46;--accfg:#fff;--red:#ff3d2e;--red2:#ff7a6e;--redr:255,61,46;--yes:#ff3d2e;--yes2:#c92a1f;--laser:#ff3d2e;--key:#ff3d2e}
html:root[data-theme="light"][data-spy="ch"],html:root[data-theme="light"][data-spy="ch"] body:is(.dp,*),html:root[data-theme="light"][data-spy="ch"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#d52b1e;--accr:213,43,30;--accfg:#fff;--red:#d52b1e;--red2:#e8443a;--redr:213,43,30;--yes:#d52b1e;--yes2:#a82017;--laser:#d52b1e;--key:#d52b1e}
/* service d'espionnage : dans les bandeaux photo (toujours noirs), on prend l'accent du pays en version thème sombre */
html:root[data-theme="light"][data-spy="fr"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#3b74f6;--accr:59,116,246;--red:#3b74f6;--red2:#6f9bff;--redr:59,116,246;--laser:#3b74f6;--key:#3b74f6}
html:root[data-theme="light"][data-spy="us"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#3fb2c4;--accr:63,178,196;--accfg:#04181c;--red:#3fb2c4;--red2:#7fd6e3;--redr:63,178,196;--laser:#3fb2c4;--key:#3fb2c4}
html:root[data-theme="light"][data-spy="ru"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#e0b23a;--accr:224,178,58;--accfg:#160f02;--red:#e0b23a;--red2:#f3cf6a;--redr:224,178,58;--laser:#e0b23a;--key:#e0b23a}
/* Le reste du monde : accent du site au pays d’espion (mêmes couleurs que les cartes) */
html:root[data-spy="il"],html:root[data-spy="il"] body:is(.dp,*),html:root[data-spy="il"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="il"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="il"] :is(header.cover,figure.band,p.acte,#lb){--acc:#5b9bff;--accr:91,155,255;--accfg:#160f02;--red:#5b9bff;--red2:#8cb9ff;--redr:91,155,255;--yes:#5b9bff;--yes2:#4678c6;--laser:#5b9bff;--key:#5b9bff}
html:root[data-theme="light"][data-spy="il"],html:root[data-theme="light"][data-spy="il"] body:is(.dp,*),html:root[data-theme="light"][data-spy="il"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#0038b8;--accr:0,56,184;--accfg:#fff;--red:#0038b8;--red2:#2655c2;--redr:0,56,184;--yes:#0038b8;--yes2:#002b8f;--laser:#0038b8;--key:#0038b8}
html:root[data-theme="light"][data-spy="il"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#5b9bff;--accr:91,155,255;--accfg:#160f02;--red:#5b9bff;--red2:#8cb9ff;--redr:91,155,255;--laser:#5b9bff;--key:#5b9bff}
html:root[data-spy="de"],html:root[data-spy="de"] body:is(.dp,*),html:root[data-spy="de"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="de"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="de"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ffcc1a;--accr:255,204,26;--accfg:#160f02;--red:#ffcc1a;--red2:#ffdb5e;--redr:255,204,26;--yes:#ffcc1a;--yes2:#c69f14;--laser:#ffcc1a;--key:#ffcc1a}
html:root[data-theme="light"][data-spy="de"],html:root[data-theme="light"][data-spy="de"] body:is(.dp,*),html:root[data-theme="light"][data-spy="de"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#8a6d00;--accr:138,109,0;--accfg:#fff;--red:#8a6d00;--red2:#9b8226;--redr:138,109,0;--yes:#8a6d00;--yes2:#6b5500;--laser:#8a6d00;--key:#8a6d00}
html:root[data-theme="light"][data-spy="de"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ffcc1a;--accr:255,204,26;--accfg:#160f02;--red:#ffcc1a;--red2:#ffdb5e;--redr:255,204,26;--laser:#ffcc1a;--key:#ffcc1a}
html:root[data-spy="it"],html:root[data-spy="it"] body:is(.dp,*),html:root[data-spy="it"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="it"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="it"] :is(header.cover,figure.band,p.acte,#lb){--acc:#3fcf86;--accr:63,207,134;--accfg:#160f02;--red:#3fcf86;--red2:#78ddaa;--redr:63,207,134;--yes:#3fcf86;--yes2:#31a168;--laser:#3fcf86;--key:#3fcf86}
html:root[data-theme="light"][data-spy="it"],html:root[data-theme="light"][data-spy="it"] body:is(.dp,*),html:root[data-theme="light"][data-spy="it"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#0b7a3e;--accr:11,122,62;--accfg:#fff;--red:#0b7a3e;--red2:#2f8d5a;--redr:11,122,62;--yes:#0b7a3e;--yes2:#085f30;--laser:#0b7a3e;--key:#0b7a3e}
html:root[data-theme="light"][data-spy="it"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#3fcf86;--accr:63,207,134;--accfg:#160f02;--red:#3fcf86;--red2:#78ddaa;--redr:63,207,134;--laser:#3fcf86;--key:#3fcf86}
html:root[data-spy="es"],html:root[data-spy="es"] body:is(.dp,*),html:root[data-spy="es"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="es"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="es"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ff5c7a;--accr:255,92,122;--accfg:#fff;--red:#ff5c7a;--red2:#ff8ca1;--redr:255,92,122;--yes:#ff5c7a;--yes2:#c6475f;--laser:#ff5c7a;--key:#ff5c7a}
html:root[data-theme="light"][data-spy="es"],html:root[data-theme="light"][data-spy="es"] body:is(.dp,*),html:root[data-theme="light"][data-spy="es"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#a30f45;--accr:163,15,69;--accfg:#fff;--red:#a30f45;--red2:#b03360;--redr:163,15,69;--yes:#a30f45;--yes2:#7f0b35;--laser:#a30f45;--key:#a30f45}
html:root[data-theme="light"][data-spy="es"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ff5c7a;--accr:255,92,122;--accfg:#fff;--red:#ff5c7a;--red2:#ff8ca1;--redr:255,92,122;--laser:#ff5c7a;--key:#ff5c7a}
html:root[data-spy="jp"],html:root[data-spy="jp"] body:is(.dp,*),html:root[data-spy="jp"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="jp"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="jp"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ff5a6e;--accr:255,90,110;--accfg:#fff;--red:#ff5a6e;--red2:#ff8b99;--redr:255,90,110;--yes:#ff5a6e;--yes2:#c64655;--laser:#ff5a6e;--key:#ff5a6e}
html:root[data-theme="light"][data-spy="jp"],html:root[data-theme="light"][data-spy="jp"] body:is(.dp,*),html:root[data-theme="light"][data-spy="jp"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#bc002d;--accr:188,0,45;--accfg:#fff;--red:#bc002d;--red2:#c6264c;--redr:188,0,45;--yes:#bc002d;--yes2:#920023;--laser:#bc002d;--key:#bc002d}
html:root[data-theme="light"][data-spy="jp"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ff5a6e;--accr:255,90,110;--accfg:#fff;--red:#ff5a6e;--red2:#ff8b99;--redr:255,90,110;--laser:#ff5a6e;--key:#ff5a6e}
html:root[data-spy="cn"],html:root[data-spy="cn"] body:is(.dp,*),html:root[data-spy="cn"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="cn"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="cn"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ffd23f;--accr:255,210,63;--accfg:#160f02;--red:#ffd23f;--red2:#ffdf78;--redr:255,210,63;--yes:#ffd23f;--yes2:#c6a331;--laser:#ffd23f;--key:#ffd23f}
html:root[data-theme="light"][data-spy="cn"],html:root[data-theme="light"][data-spy="cn"] body:is(.dp,*),html:root[data-theme="light"][data-spy="cn"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#c23b12;--accr:194,59,18;--accfg:#fff;--red:#c23b12;--red2:#cb5835;--redr:194,59,18;--yes:#c23b12;--yes2:#972e0e;--laser:#c23b12;--key:#c23b12}
html:root[data-theme="light"][data-spy="cn"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ffd23f;--accr:255,210,63;--accfg:#160f02;--red:#ffd23f;--red2:#ffdf78;--redr:255,210,63;--laser:#ffd23f;--key:#ffd23f}
html:root[data-spy="in"],html:root[data-spy="in"] body:is(.dp,*),html:root[data-spy="in"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="in"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="in"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ff9933;--accr:255,153,51;--accfg:#160f02;--red:#ff9933;--red2:#ffb770;--redr:255,153,51;--yes:#ff9933;--yes2:#c67727;--laser:#ff9933;--key:#ff9933}
html:root[data-theme="light"][data-spy="in"],html:root[data-theme="light"][data-spy="in"] body:is(.dp,*),html:root[data-theme="light"][data-spy="in"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#b35900;--accr:179,89,0;--accfg:#fff;--red:#b35900;--red2:#be7126;--redr:179,89,0;--yes:#b35900;--yes2:#8b4500;--laser:#b35900;--key:#b35900}
html:root[data-theme="light"][data-spy="in"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ff9933;--accr:255,153,51;--accfg:#160f02;--red:#ff9933;--red2:#ffb770;--redr:255,153,51;--laser:#ff9933;--key:#ff9933}
html:root[data-spy="ca"],html:root[data-spy="ca"] body:is(.dp,*),html:root[data-spy="ca"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="ca"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="ca"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ff4d4d;--accr:255,77,77;--accfg:#fff;--red:#ff4d4d;--red2:#ff8282;--redr:255,77,77;--yes:#ff4d4d;--yes2:#c63c3c;--laser:#ff4d4d;--key:#ff4d4d}
html:root[data-theme="light"][data-spy="ca"],html:root[data-theme="light"][data-spy="ca"] body:is(.dp,*),html:root[data-theme="light"][data-spy="ca"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#c8102e;--accr:200,16,46;--accfg:#fff;--red:#c8102e;--red2:#d0334d;--redr:200,16,46;--yes:#c8102e;--yes2:#9c0c23;--laser:#c8102e;--key:#c8102e}
html:root[data-theme="light"][data-spy="ca"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ff4d4d;--accr:255,77,77;--accfg:#fff;--red:#ff4d4d;--red2:#ff8282;--redr:255,77,77;--laser:#ff4d4d;--key:#ff4d4d}
html:root[data-spy="au"],html:root[data-spy="au"] body:is(.dp,*),html:root[data-spy="au"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="au"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="au"] :is(header.cover,figure.band,p.acte,#lb){--acc:#7fb2ff;--accr:127,178,255;--accfg:#160f02;--red:#7fb2ff;--red2:#a5c9ff;--redr:127,178,255;--yes:#7fb2ff;--yes2:#638ac6;--laser:#7fb2ff;--key:#7fb2ff}
html:root[data-theme="light"][data-spy="au"],html:root[data-theme="light"][data-spy="au"] body:is(.dp,*),html:root[data-theme="light"][data-spy="au"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#1f4e9c;--accr:31,78,156;--accfg:#fff;--red:#1f4e9c;--red2:#4068aa;--redr:31,78,156;--yes:#1f4e9c;--yes2:#183c79;--laser:#1f4e9c;--key:#1f4e9c}
html:root[data-theme="light"][data-spy="au"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#7fb2ff;--accr:127,178,255;--accfg:#160f02;--red:#7fb2ff;--red2:#a5c9ff;--redr:127,178,255;--laser:#7fb2ff;--key:#7fb2ff}
html:root[data-spy="br"],html:root[data-spy="br"] body:is(.dp,*),html:root[data-spy="br"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal),html:root[data-spy="br"] :is(header.cover,figure.band,p.acte,#lb),html:root[data-theme="light"][data-spy="br"] :is(header.cover,figure.band,p.acte,#lb){--acc:#ffd400;--accr:255,212,0;--accfg:#160f02;--red:#ffd400;--red2:#ffe04c;--redr:255,212,0;--yes:#ffd400;--yes2:#c6a500;--laser:#ffd400;--key:#ffd400}
html:root[data-theme="light"][data-spy="br"],html:root[data-theme="light"][data-spy="br"] body:is(.dp,*),html:root[data-theme="light"][data-spy="br"] :is(#tvnav,#tvprog,#tvup,#tvdock,.amb,.duels,.modal){--acc:#00703c;--accr:0,112,60;--accfg:#fff;--red:#00703c;--red2:#268559;--redr:0,112,60;--yes:#00703c;--yes2:#00572e;--laser:#00703c;--key:#00703c}
html:root[data-theme="light"][data-spy="br"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ffd400;--accr:255,212,0;--accfg:#160f02;--red:#ffd400;--red2:#ffe04c;--redr:255,212,0;--laser:#ffd400;--key:#ffd400}
html:root[data-theme="light"][data-spy="ch"] body:where(:not(.b26)) :is(.hero,.phd,.fhero){--acc:#ff3d2e;--accr:255,61,46;--accfg:#fff;--red:#ff3d2e;--red2:#ff7a6e;--redr:255,61,46;--laser:#ff3d2e;--key:#ff3d2e}

/* Pastille des notifications non lues du QG sur le lien QG du menu */
/* pastille sur ::before : ::after est déjà pris par l'info-bulle, dont le « content » !important remplaçait le nombre par « QG 007 TV » et débordait sur l'avatar */
html body #tvnav:not(#_):not(#__) .tools #tvqg[data-notifs]::before{content:attr(data-notifs);display:block;opacity:1;z-index:2;position:absolute;top:3px;right:1px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:var(--acc);color:var(--accfg,#fff);font:700 9.5px/16px var(--cond);letter-spacing:0;text-align:center;box-shadow:0 0 0 2px var(--bg);pointer-events:none}
/* Cloche des notifications (shell.js, cloche()) : même pastille que le QG, et le panneau qui s'ouvre dessous */
html body #tvnav:not(#_):not(#__) .tools #tvnotif{border:0;background:transparent;cursor:pointer;color:var(--mut)}
html body #tvnav:not(#_):not(#__) .tools #tvnotif[data-notifs]{color:var(--acc)!important}
html body #tvnav:not(#_):not(#__) .tools #tvnotif[data-notifs] svg{animation:tvCloche 3.2s ease-in-out 1s 3!important;transform-origin:50% 2px}
html body #tvnav:not(#_):not(#__) .tools #tvnotif[data-notifs]::before{content:attr(data-notifs);display:block;opacity:1;z-index:2;position:absolute;top:3px;right:1px;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:var(--acc);color:var(--accfg,#fff);font:700 9.5px/16px var(--cond);letter-spacing:0;text-align:center;box-shadow:0 0 0 2px var(--bg);pointer-events:none}
@keyframes tvCloche{0%,20%,100%{transform:none}3%{transform:rotate(14deg)}6%{transform:rotate(-12deg)}9%{transform:rotate(8deg)}12%{transform:rotate(-5deg)}15%{transform:rotate(2deg)}}
@media (prefers-reduced-motion:reduce){html body #tvnav:not(#_):not(#__) .tools #tvnotif svg{animation:none!important}}
html body #tvnotifp{position:fixed;z-index:1150;width:min(380px,calc(100vw - 16px));max-height:min(72vh,600px);overflow-y:auto;overscroll-behavior:contain;padding:6px 8px 10px;border-radius:20px;
  background:var(--bg2,#0c0b0b);color:var(--fg2,#d9d0c1);font:400 14.5px/1.4 var(--cond);box-shadow:inset 0 0 0 1px var(--line,rgba(242,237,227,.13)),0 30px 70px -24px rgba(0,0,0,.75);animation:tvNotifIn .22s cubic-bezier(.2,.7,.2,1) both}
html:root[data-theme="light"] body #tvnotifp{background:#fffcf6;box-shadow:inset 0 0 0 1px var(--line),0 26px 50px -26px rgba(60,30,20,.35)}
html body #tvnotifp[hidden]{display:none!important}
@keyframes tvNotifIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
html body #tvnotifp .t{padding:10px 8px 6px}
html body #tvnotifp .t b{font:italic 600 22px/1 var(--disp);color:var(--fg)}
html body #tvnotifp small{display:block;padding:12px 8px 4px;font:700 10px/1 var(--mono);letter-spacing:.2em;text-transform:uppercase;color:var(--mut)}
html body #tvnotifp .li{display:flex;align-items:flex-start;gap:10px;padding:8px;border-radius:12px;color:inherit;text-decoration:none}
html body #tvnotifp a.li:hover{background:rgba(var(--tn,242,237,227),.06)}
html body #tvnotifp .li.neuf{background:rgba(var(--accr),.09)}
html body #tvnotifp .li.direct{background:rgba(200,16,46,.12)}
html body #tvnotifp .li p{flex:1;min-width:0;margin:0!important;font:inherit!important;color:inherit}
html body #tvnotifp .li b{color:var(--fg);font-weight:600}
html body #tvnotifp .li time{display:block;margin-top:2px;font:400 11px/1.2 var(--mono);color:var(--mut)}
html body #tvnotifp .av{width:34px;height:34px;flex:none;border-radius:50%;object-fit:cover;display:grid;place-items:center;font:700 12px/1 var(--cond);color:var(--fg);background:rgba(var(--accr),.2)}
html body #tvnotifp .av.rec{color:#fff;background:#c8102e;font-size:14px;animation:tvRec 1.6s infinite}
@keyframes tvRec{50%{opacity:.55}}
html body #tvnotifp .act{display:flex;flex-direction:column;gap:5px}
html body #tvnotifp .act button{min-height:28px!important;height:auto!important;padding:0 11px!important;border:0!important;border-radius:999px!important;cursor:pointer;font:600 12.5px/1 var(--cond)!important;letter-spacing:0!important;text-transform:none!important;color:var(--accfg,#fff)!important;background:var(--acc)!important;box-shadow:none!important}
html body #tvnotifp .act button.non{color:var(--fg2)!important;background:transparent!important;box-shadow:inset 0 0 0 1px var(--line)!important}
html body #tvnotifp .vide{margin:0!important;padding:10px 8px 6px;color:var(--mut);font:inherit!important}
html body #tvnotifp .av.ic{color:var(--acc);background:rgba(var(--accr),.12)}
html body #tvnotifp .av.ic svg{width:18px;height:18px}
html body #tvnotifp .av.car{border-radius:8px}
html body #tvnotifp .li.annonce p{color:var(--fg)}
html body #tvnotifp .pied{display:block;margin:10px 4px 0;padding:10px 12px;border-radius:12px;text-align:center;text-decoration:none;font:600 13px/1.2 var(--cond);color:var(--acc);box-shadow:inset 0 0 0 1px rgba(var(--accr),.35)}
html body #tvnotifp .pied:hover{background:rgba(var(--accr),.1)}
/* Panneau ouvert : pas d'infobulle « Notifications » par-dessus */
html body #tvnav:not(#_):not(#__) .tools #tvnotif[aria-expanded="true"]::after{display:none!important}
/* Sonar du QG : à l'arrivée sur la page, trois fois (plus en boucle, pour alléger), deux ondes partent de l'icône dans la couleur du pays et l'icône vibre brièvement.
   Plus rapide et plus marqué quand des notifications attendent. Les ondes sont un <i class="sonar"> (shell.js) : seulement transform et opacity. */
@keyframes qgPing{0%{transform:scale(.45);opacity:var(--qa)}55%,100%{transform:scale(var(--qs));opacity:0}}
@keyframes qgBuzz{0%,14%,100%{transform:none}2%{transform:translateX(-1px) rotate(-6deg)}4%{transform:translateX(1px) rotate(6deg)}6%{transform:translateX(-1px) rotate(-4deg)}8%{transform:translateX(1px) rotate(2deg)}10%{transform:none}}
html body #tvnav:not(#_):not(#__) .tools #tvqg{--qa:.6;--qs:1.25;--qt:4.2s}
html body #tvnav:not(#_):not(#__) .tools #tvqg[data-notifs]{--qa:.95;--qs:1.6;--qt:2.4s;color:var(--acc)!important}
html body #tvnav:not(#_):not(#__) .tools #tvqg>.sonar{position:absolute;inset:4px;z-index:-1;pointer-events:none}
html body #tvnav:not(#_):not(#__) .tools #tvqg>.sonar::before,html body #tvnav:not(#_):not(#__) .tools #tvqg>.sonar::after{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--acc);opacity:0;animation:qgPing var(--qt) cubic-bezier(.2,.6,.3,1) 1.2s 3}
html body #tvnav:not(#_):not(#__) .tools #tvqg>.sonar::after{animation-delay:calc(1.2s + var(--qt) * .14)}
html body #tvnav:not(#_):not(#__) .tools #tvqg svg{animation:qgBuzz var(--qt) linear 1.2s 3!important}
@media(prefers-reduced-motion:reduce){html body #tvnav:not(#_):not(#__) .tools #tvqg svg,html body #tvnav:not(#_):not(#__) .tools #tvqg>.sonar::before,html body #tvnav:not(#_):not(#__) .tools #tvqg>.sonar::after{animation:none!important}}

/* ============ menu du haut : animations « canon » ============
   Mire : au survol, un cercle à quatre crans glisse d'icône en icône, se referme en arrivant et tourne d'un quart à chaque saut.
   Clic : le mire se resserre en rouge sur la rubrique choisie ; sur la page suivante, le canon rouge glisse depuis son ancienne place.
   Arrivée : le canon s'ouvre comme un diaphragme, ses rayures tournent, une onde part comme un coup de feu, le libellé se décode.
   Uniquement transform, scale, rotate et opacity ; rien ne bouge si l'on préfère moins d'animations (shell.js n'ajoute alors aucune classe). */
@keyframes navIris{0%{scale:0;rotate:-120deg}60%{scale:1.14;rotate:8deg}100%{scale:1;rotate:0deg}}
@keyframes navFly{0%,100%{scale:1}45%{scale:.62}}
@keyframes navShot{0%{scale:1;opacity:.95}100%{scale:2.3;opacity:0}}
@keyframes navRifle{0%{rotate:-200deg;opacity:0}25%{opacity:1}100%{rotate:0deg;opacity:0}}
@keyframes navLabel{from{clip-path:inset(0 100% 0 0);translate:-6px 0}to{clip-path:inset(0 0 0 0);translate:0 0}}
html body #tvnav:not(#_):not(#__) .links>.ind::before,html body #tvnav:not(#_):not(#__) .links>.ind::after{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;opacity:0}
/* position par « translate » (et non « transform ») : la rotation et l'échelle de l'ouverture se font autour du centre du canon */
html body #tvnav:not(#_):not(#__) .links.links>.ind{transform:none;translate:calc(var(--x,0px) + 2px) 0;transition:translate .6s cubic-bezier(.7,0,.2,1),opacity .3s}
/* l'onde du coup de feu */
html body #tvnav:not(#_):not(#__) .links>.ind::before{box-shadow:0 0 0 1.5px var(--acc),0 0 18px rgba(var(--accr),.45)}
/* les rayures du canon, dans le disque rouge autour de l'icône */
html body #tvnav:not(#_):not(#__) .links>.ind::after{background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.34) 0 5deg,transparent 5deg 30deg);-webkit-mask:radial-gradient(circle,transparent 0 30%,#000 33% 56%,transparent 58%);mask:radial-gradient(circle,transparent 0 30%,#000 33% 56%,transparent 58%)}
html body #tvnav:not(#_):not(#__) .links.fire>.ind{animation:navIris .75s cubic-bezier(.2,.9,.25,1) both}
html body #tvnav:not(#_):not(#__) .links.fire.fly>.ind{animation:none}
html body #tvnav:not(#_):not(#__) .links.fly:not(.fire)>.ind{animation:navFly .6s cubic-bezier(.7,0,.2,1)}
html body #tvnav:not(#_):not(#__) .links.fire>.ind::before{animation:navShot .95s cubic-bezier(.15,.7,.3,1) .12s both}
html body #tvnav:not(#_):not(#__) .links.fire>.ind::after,html body #tvnav:not(#_):not(#__) .links:has(>a.l.on:hover)>.ind::after{animation:navRifle 1.2s cubic-bezier(.2,.8,.2,1) both}
html body #tvnav:not(#_):not(#__) .links:is(.fire,.fly)>a.l.on span{animation:navLabel .55s cubic-bezier(.2,.8,.2,1) both}
html body #tvnav:not(#_):not(#__) .links:is(.fire,.fly)>a.l.on svg{animation:navin .5s var(--ease) .25s both}
/* le mire */
html body #tvnav:not(#_):not(#__) .links.links>.gh{display:block!important;position:absolute;z-index:0;left:0;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;pointer-events:none;--rc:color-mix(in srgb,var(--fg) 55%,transparent);
 border:1px solid var(--rc);background:linear-gradient(var(--rc),var(--rc)) 50% 0/1px 6px no-repeat,linear-gradient(var(--rc),var(--rc)) 50% 100%/1px 6px no-repeat,linear-gradient(var(--rc),var(--rc)) 0 50%/6px 1px no-repeat,linear-gradient(var(--rc),var(--rc)) 100% 50%/6px 1px no-repeat;
 translate:var(--cx,0px) 0;rotate:var(--r,0deg);scale:1.6;opacity:0;
 transition:translate .5s cubic-bezier(.2,.9,.2,1.08),rotate .5s cubic-bezier(.2,.9,.2,1),scale .4s cubic-bezier(.2,.9,.25,1.2),opacity .25s,border-color .2s}
html body #tvnav:not(#_):not(#__) .links.links.hv>.gh{opacity:1;scale:1}
html body #tvnav:not(#_):not(#__) .links.links.hv.hv-on>.gh{opacity:0;scale:.5}
html body #tvnav:not(#_):not(#__) .links.links>.gh.aim{--rc:var(--acc);opacity:1;scale:.86;transition-duration:.25s}
/* survol : l'icône se lève à peine, celle du canon se cale dans le mire */
html body #tvnav:not(#_):not(#__) .links a.l:not(.on):hover svg{transform:scale(1.08)}
html body #tvnav:not(#_):not(#__) .links a.l:not(.on):active svg{transform:scale(.9);transition-duration:.1s}
/* compte : la photo reprend ses couleurs au survol */
html body #tvnav:not(#_):not(#__) .tools .acc img{transition:filter .4s,border-color .3s,transform .4s var(--ease)}
html body #tvnav:not(#_):not(#__) .tools .acc:hover img{filter:none;border-color:var(--acc)!important;transform:scale(1.06)}
/* téléphone : le rail coupe ce qui dépasse, l'onde reste donc près du canon */
@media(max-width:900px){html body #tvnav:not(#_):not(#__) .links.fire>.ind::before{animation-name:navShotS}html body #tvnav:not(#_):not(#__) .links.links>.gh{width:30px;height:30px;margin:-15px 0 0 -15px}}
@keyframes navShotS{0%{scale:1;opacity:.95}100%{scale:1.3;opacity:0}}
@media(hover:none){html body #tvnav:not(#_):not(#__) .links.links>.gh:not(.aim){display:none!important}}
@media(prefers-reduced-motion:reduce){html body #tvnav:not(#_):not(#__) .links>.ind::before,html body #tvnav:not(#_):not(#__) .links>.ind::after{animation:none!important;opacity:0!important}html body #tvnav:not(#_):not(#__) .links.links>.gh{transition:opacity .2s!important;scale:1!important;rotate:0deg!important}}
/* Téléphone : rien ne doit dépasser de l'écran, sinon Safari élargit toute la page (bande grise à droite, logo et barre rognés).
   1. Les infobulles des icônes (invisibles mais présentes) dépassaient à droite : inutiles au doigt, on les retire.
   2. Le logo « Le Martini Club » de l'accueil se règle sur la largeur de l'écran (de 320 à 480 px). */
@media (hover:none),(max-width:760px){html body #tvnav:not(#_):not(#__):not(#___) :is(.links a.l,.tools .acc,.tools .thm,.tools .mem,.tools .out,.tools [id="b26snd"])[data-tip]::after{display:none!important;content:none!important}}
@media (max-width:480px){html body .hero .hlogo{gap:12px;max-width:100%}
 html body .hero .hlogo .mk{width:clamp(58px,19vw,86px)}
 html body .hero .hlogo .wm b{font-size:min(14vw,64px)}}

/* ============ grilles d'articles (actus, analyses, critiques) ============
   Chaque carte a la même structure : image (étiquette posée dessus), date et temps de lecture, titre, chapô, « Lire → » collé en bas.
   Les cartes d'une rangée ont la même hauteur ; le chapô est tenu à 3 lignes (5 pour la une), le titre reste entier, pour que les rangées restent alignées.
   Survol : l'image s'avance doucement sous son cadre, le titre prend le rouge, la flèche file. */
html body .grid:has(>.card){gap:clamp(16px,2vw,22px)!important;align-items:stretch}
html body .grid>.card{display:flex;flex-direction:column;padding:10px!important;isolation:isolate}
html body .grid>.card .im{flex:none;aspect-ratio:16/10;overflow:hidden;background-size:0 0!important;transform:none!important}
html body .grid>.card .im::before{content:"";position:absolute;inset:0;z-index:0;background-image:inherit;background-position:center;background-size:cover;background-repeat:no-repeat;transition:transform 1.1s var(--ease,cubic-bezier(.16,.84,.24,1))}
html body .grid>.card .im::after{z-index:1;background:linear-gradient(180deg,transparent 55%,rgba(5,5,5,.55))!important}
html body .grid>.card:hover .im::before{transform:scale(1.05)}
html body .grid>.card .im .tag{left:14px!important;bottom:14px!important;top:auto!important}
html body .grid>.card .tx{flex:1 1 auto;display:flex;flex-direction:column;gap:10px!important;padding:18px 14px 8px!important;min-width:0}
html body .grid>.card .date{display:flex;align-items:center;gap:10px;font:500 12px/1 var(--cond)!important;letter-spacing:.2em;color:var(--mut)}
html body .grid>.card .date .lt{display:inline-flex;align-items:center;gap:10px;letter-spacing:.12em}
html body .grid>.card .date .lt::before{content:"";width:4px;height:4px;border-radius:50%;background:var(--acc)}
html body .grid>.card h3{margin:0!important;font:600 clamp(22px,2vw,26px)/1.14 var(--disp)!important;letter-spacing:-.005em!important;text-transform:none!important;color:var(--fg)!important;text-wrap:pretty;transition:color .3s}
html body .grid>.card:hover h3{color:var(--acc)!important}
html body .grid>.card p{margin:0!important;font-size:16px!important;line-height:1.55!important;color:var(--fg2)!important;text-wrap:pretty;
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html body .grid>.card p :is(b,strong){display:inline!important;font-weight:600;color:var(--fg)!important}
html body .grid>.card .go{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--line);
 font:600 12px/1 var(--cond);letter-spacing:.2em;text-transform:uppercase;color:var(--acc)}
html body .grid>.card .go svg{width:18px;height:18px;flex:none;transition:transform .35s var(--ease,ease)}
html body .grid>.card:hover .go svg{transform:translateX(5px)}
html body .grid>.card:focus-visible{outline:2px solid var(--acc);outline-offset:3px}
/* La une : image large à gauche, texte à droite, un cran plus grand */
html body .grid>.card.big{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(10px,2vw,28px)}
html body .grid>.card.big .im{aspect-ratio:auto;min-height:clamp(320px,34vw,420px)}
html body .grid>.card.big .im::after{background:linear-gradient(180deg,transparent 55%,rgba(5,5,5,.55))!important}
html body .grid>.card.big .tx{justify-content:center;gap:16px!important;padding:clamp(16px,2.4vw,32px) clamp(10px,2vw,28px) clamp(16px,2vw,24px) 0!important}
html body .grid>.card.big h3{font-size:clamp(30px,3.4vw,46px)!important;line-height:1.05!important}
html body .grid>.card.big p{font-size:clamp(17px,1.4vw,19px)!important;-webkit-line-clamp:5}
html body .grid>.card.big .go{margin-top:10px}
@media (max-width:760px){
 html body .grid>.card.big{grid-template-columns:1fr;gap:0}
 html body .grid>.card.big .im{min-height:0;aspect-ratio:16/10}
 html body .grid>.card.big .tx{padding:18px 14px 8px!important}
 html body .grid>.card.big h3{font-size:clamp(26px,7.4vw,32px)!important}
 html body .grid>.card.big p{font-size:16px!important;-webkit-line-clamp:4}
}
@media (prefers-reduced-motion:reduce){html body .grid>.card .im::before,html body .grid>.card .go svg{transition:none}}
