/* Leonida v2 : style épuré. Une seule couleur d'accent, fonds graphite, pas de lueurs ni de dégradés néon.
   Chargé en dernier : il reprend les bases (couleurs, typo, boutons, cartes, barres). */
:root{--acc:#e07a5f;--acc-rgb:224,122,95;--ink:#f4f4f3;--ink-rgb:244,244,243;--paper:#0b0b0c;--paper-rgb:11,11,12;--soft:#c9c9ce;--dim:#6f6f76;--bg:#0b0b0c;--bg2:#121214;--card:#151517;--card2:#1b1b1e;--text:#f4f4f3;--muted:#9b9ba2;
--line:rgba(255,255,255,.08);--line2:rgba(255,255,255,.12);--bd:rgba(255,255,255,.08);--bd2:rgba(255,255,255,.14);--s1:rgba(255,255,255,.03);--s2:rgba(255,255,255,.055);
--grad:var(--acc);--pink:var(--acc);--violet:var(--acc);--blue:#d6d6da;--r:14px;--disp:"Anton",Impact,"Arial Narrow",sans-serif}
@font-face{font-family:"Anton";src:url(/assets/fonts/anton.woff) format("woff");font-display:swap}

/* fond : à plat, sans halos colorés */
html,body{background:var(--bg)!important;background-image:none!important}
body{font-family:Inter,"SF Pro Text",-apple-system,system-ui,"Segoe UI",Roboto,sans-serif;letter-spacing:0}
::selection{background:rgba(var(--acc-rgb),.35)}
a{color:var(--text)}
.content a:not([class]){color:var(--acc)}

/* titres : gros titre condensé + petit label « — LABEL » */
h1,.page-title{font-family:var(--disp);font-weight:400;text-transform:uppercase;letter-spacing:.01em;line-height:1.02}
.page-title{font-size:clamp(2rem,7vw,3rem);margin:.6rem 0 .4rem}
.v2-lbl,.lx-lbl,.eyebrow,.kicker{display:inline-flex;align-items:center;gap:.55rem;font:700 .72rem/1 Inter,system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--acc)}
.v2-lbl::before{content:"";width:18px;height:2px;background:var(--acc)}

/* boutons : principal blanc, secondaire contour, plus de lueur */
.btn{box-shadow:none!important;filter:none!important;text-shadow:none!important;font-weight:650}
.btn-primary,.btn-primary:visited{background:var(--ink)!important;color:var(--paper)!important;border:1px solid var(--ink)!important}
.btn-primary:hover{background:var(--ink)!important;text-decoration:none}
.btn-primary .ico{color:var(--paper)}
.btn-ghost{background:transparent!important;border:1px solid rgba(var(--ink-rgb),.22)!important;color:var(--text)!important}
.btn-ghost:hover{border-color:rgba(var(--ink-rgb),.5)!important;background:rgba(var(--ink-rgb),.04)!important}
.btn-danger{box-shadow:none!important}

/* cartes : surface unie, bordure fine, pas d'ombre néon */
.card{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}

/* onglets et pastilles : l'élément actif est blanc, pas en dégradé */
.pills a.on,.inv-tabs a.on,.set-nav a.on{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important;box-shadow:none!important}
.tabs a.on .ico,.pills a.on .ico,.cm-tabs a.on .ico{color:var(--paper)}

/* barres du haut et du bas : sobres */
.topbar,.topwrap{background:rgba(var(--paper-rgb),.86)!important;box-shadow:none!important;border-bottom:1px solid var(--bd)!important;backdrop-filter:saturate(1.2) blur(14px);-webkit-backdrop-filter:saturate(1.2) blur(14px)}
.bottom-nav{background:rgba(var(--paper-rgb),.92)!important;border-top:1px solid var(--bd)!important;box-shadow:none!important}
.drawer{background:var(--card2)!important}

/* plus aucune lueur colorée ni texte « néon » */
.brand-gta,.brand-gta b{text-shadow:none!important;filter:none!important}

/* un seul bandeau à la fois : le « chat ouvert » ne s'affiche plus que le jour de la sortie */
.chatbar{display:none!important}
/* pied de page discret */
footer a,.footer a,.fl a{color:var(--muted)!important}
footer a:hover,.fl a:hover{color:var(--ink)!important}

/* ===== logo Leonida ===== */
.v2-brand{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:.5rem;text-decoration:none!important;color:var(--ink)!important}
.v2-mark{width:26px;height:26px;color:var(--acc);flex:none}
.v2-word{font:800 1.28rem/1 Inter,"SF Pro Display",-apple-system,system-ui,sans-serif;letter-spacing:-.035em;color:var(--ink)}
.brand small{display:none!important}

/* ===== menu latéral façon réseau social : une liste simple, pas de tuiles colorées ===== */
.drawer{background:var(--bg)!important;border-right:1px solid var(--bd)!important;box-shadow:none!important}
.drawer-user{background:none!important;border:0!important;box-shadow:none!important;padding:.4rem .2rem!important}
.drawer-user .du-xp,.drawer-user .du-xpn{display:none!important}
.du-acts a,.du-acts button{background:none!important;border:1px solid var(--bd)!important;box-shadow:none!important;color:var(--soft)!important}
.drawer-nav a,.dn-games a,.dn-mini a{background:none!important;border:0!important;box-shadow:none!important;color:var(--soft)!important;border-radius:10px!important;font-weight:550}
.drawer-nav a:hover{background:rgba(var(--ink-rgb),.05)!important;color:var(--ink)!important;text-decoration:none}
.drawer-nav a.on,.dn-games a.on,.dn-mini a.on{background:rgba(var(--ink-rgb),.07)!important;color:var(--ink)!important;font-weight:700}
.drawer-nav a.on::before{display:none!important}
.drawer-nav a .ico,.dn-games a .ico,.dn-mini a .ico{background:none!important;box-shadow:none!important;border:0!important;color:currentColor}
.drawer-nav a.on .ico{color:var(--acc)}
.dn-games{display:flex!important;flex-direction:column!important;gap:0!important}
.dn-games a{flex-direction:row!important;justify-content:flex-start!important;min-height:44px!important;padding:.55rem .8rem!important;gap:.85rem!important;text-align:left!important;font-size:.98rem!important}
.dn-games a span{font-size:inherit!important}
.dn-mini{display:flex!important;flex-direction:column!important;gap:0!important}
.dn-mini a{flex-direction:row!important;justify-content:flex-start!important;min-height:44px!important;padding:.55rem .8rem!important;gap:.85rem!important;font-size:.98rem!important}
.dn-mini a span{font-size:inherit!important}
.dn-title{color:var(--dim)!important;font-size:.7rem!important;letter-spacing:.16em!important;margin-top:1.1rem!important}
.dn-sb,.nbadge,.du-n,.emp-mb{background:rgba(var(--ink-rgb),.08)!important;color:var(--soft)!important;border:0!important;box-shadow:none!important}
.tb-jx{background:rgba(var(--ink-rgb),.06)!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.bottom-nav a.on,.bottom-nav a[aria-current]{color:var(--ink)!important}
.bottom-nav a.on .ico{color:var(--acc)!important}
.bottom-nav a.on::before,.bottom-nav a.on::after{display:none!important}

/* ===== fil façon réseau social ===== */
.cm-top{margin-bottom:.6rem}
.cm-title{font-family:Inter,-apple-system,system-ui,sans-serif!important;text-transform:none!important;font-weight:800!important;font-size:1.6rem!important;letter-spacing:-.03em!important}
.cm-top p{color:var(--muted);font-size:.9rem;margin:.15rem 0 0}
.cm-tabs{background:none!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;padding:0!important;gap:0!important;box-shadow:none!important}
.cm-tabs a{background:none!important;border-radius:0!important;color:var(--muted)!important;font-weight:650!important;position:relative;padding:.85rem .2rem!important;box-shadow:none!important}
.cm-tabs a.on{background:none!important;color:var(--ink)!important;border:0!important}
.cm-tabs a.on::after{content:"";position:absolute;left:50%;bottom:-1px;width:56px;height:3px;border-radius:3px;background:var(--acc);transform:translateX(-50%)}
[data-cm-open]{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;display:inline-flex!important;align-items:center;gap:.4rem}
[data-cm-open] .ico{width:16px;height:16px;color:var(--acc)}
.post .tag,.tag{background:rgba(var(--ink-rgb),.06)!important;color:var(--soft)!important;border:0!important;box-shadow:none!important}
.post-actions{border-top:0!important}
.post-name{font-weight:700}
@media (max-width:759px){
  .pg-communaute .post.card,.pg-profil .post.card{border-radius:0!important;border-left:0!important;border-right:0!important;border-top:0!important;background:none!important;margin:0 -1rem!important;padding:1rem!important}
}

/* colonne de droite (ordinateur) */
.v2-rail{display:none}
@media (min-width:1100px){
  .cm{display:grid;grid-template-columns:minmax(0,620px) 300px;column-gap:2.2rem;align-items:start;max-width:960px;margin:0 auto}
  .cm>*{grid-column:1}
  .cm>.v2-rail{display:flex;flex-direction:column;gap:1rem;grid-column:2;grid-row:1/span 60;position:sticky;top:90px}
}
.v2-rc{display:flex;flex-direction:column;gap:.15rem;background:var(--card);border:1px solid var(--bd);border-radius:var(--r);padding:1rem;color:var(--text)!important;text-decoration:none!important}
.v2-rc .v2-lbl{margin-bottom:.55rem}
.v2-rc a{display:flex;align-items:center;gap:.75rem;padding:.5rem .3rem;border-radius:10px;color:var(--text)!important;text-decoration:none!important}
.v2-rc a:hover{background:rgba(var(--ink-rgb),.05)}
.v2-rc a .ico{width:20px;height:20px;color:var(--muted)}
.v2-rc a span{display:flex;flex-direction:column;line-height:1.25}
.v2-rc a b{font-weight:650;font-size:.94rem}.v2-rc a small{color:var(--muted);font-size:.8rem}
.v2-rc-rel strong{font-family:var(--disp);font-weight:400;font-size:2.4rem;line-height:1;text-transform:uppercase}
.v2-rc-rel small{color:var(--muted)}
.v2-rail-f{color:var(--dim);font-size:.78rem;margin:.2rem .3rem}.v2-rail-f a{color:var(--dim)!important}

/* ===== profil propre ===== */
.profile-banner{background:linear-gradient(135deg,#1d1d20,#141416)!important;box-shadow:none!important;border:1px solid var(--bd)!important}
.pid-name{font-family:Inter,-apple-system,system-ui,sans-serif!important;text-transform:none!important;font-weight:800!important;letter-spacing:-.03em!important}
.pid-lv2{background:rgba(var(--ink-rgb),.07)!important;color:var(--soft)!important;box-shadow:none!important;border:0!important}
.pid-bar{background:rgba(var(--ink-rgb),.12)!important}
.pid-stats a,.pid-stats span{color:var(--muted)!important}
.pid-stats b{color:var(--ink)!important}
.drawer-head{background:none!important;border:0!important;box-shadow:none!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important}
.drawer-nav a,.dn-games a.dn-g,.dn-mini a{font-size:.95rem!important;font-weight:550!important;min-height:42px!important;padding:.5rem .8rem!important;gap:.85rem!important}
.dn-games a.dn-g span,.dn-mini a span{font-size:.95rem!important;font-weight:550!important}
.dn-games a .ico,.dn-mini a .ico,.drawer-nav a .ico{width:20px!important;height:20px!important;padding:0!important;margin:0!important}
.dn-g::before,.dn-g::after{display:none!important}

/* ===== navigation v2 : en haut sur ordinateur, barre d'appli sur téléphone ===== */
.v2-topnav{display:none}
@media (min-width:1100px){
  .v2-topnav{display:flex;align-items:center;gap:.2rem;margin-left:1.6rem}
  .v2-topnav a{position:relative;padding:.55rem .8rem;border-radius:999px;color:var(--soft)!important;font-weight:600;font-size:.93rem;text-decoration:none!important}
  .v2-topnav a:hover{color:var(--ink)!important;background:rgba(var(--ink-rgb),.05)}
  .v2-topnav a.on{color:var(--ink)!important}
  .v2-topnav a.on::after{content:"";position:absolute;left:.8rem;right:.8rem;bottom:.15rem;height:2px;border-radius:2px;background:var(--acc)}
  .topbar{max-width:1240px!important;margin:0 auto!important}
  .topwrap{max-width:none!important}
  .side-toggle{display:none!important}
  .menu-btn{display:inline-flex!important}
  .bottom-nav{display:none!important}
}
.bottom-nav a span{font-size:.68rem!important;font-weight:600}
.bottom-nav a.bn-post .ico{width:44px!important;height:32px!important;padding:6px 12px;border-radius:12px;background:var(--ink);color:var(--paper)!important;stroke-width:2.4}
.bottom-nav a.bn-post span{display:none}
.bottom-nav a.bn-post.on .ico{color:var(--paper)!important}
@media (max-width:759px){
  .pg-communaute .cm-top{display:none}
  .pg-communaute .cm-tabs{margin-top:-.4rem}
  [data-cm-open]{font-size:.82rem!important;padding:.35rem .7rem!important;min-height:34px!important}
}

/* ===== profil façon X : bannière large, avatar à gauche, bouton en haut à droite ===== */
.pg-profil .profile{position:relative}
.pg-profil .profile-banner,.pg-profil .profile-banner-img{height:auto!important;aspect-ratio:3/1;border-radius:var(--r)!important;width:100%;object-fit:cover;display:block}
.pg-profil .profile-id{position:relative;text-align:left!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;margin-top:-44px!important;padding:0 .3rem;gap:.35rem}
.pg-profil .profile-id>a:first-child .av,.pg-profil .profile-id>.av{border:4px solid var(--bg)!important;box-shadow:none!important;width:92px!important;height:92px!important;font-size:2.2rem!important}
.pg-profil .pid-name{font-size:1.5rem!important;margin:.35rem 0 0!important;justify-content:flex-start!important}
.pg-profil .pid-chips,.pg-profil .pid-stats{justify-content:flex-start!important}
.pg-profil .pid-stats{gap:1.1rem!important;margin:.2rem 0!important}
.pg-profil .pid-since{color:var(--muted);font-size:.88rem;margin:0!important}
.pg-profil .bio{text-align:left!important;margin:.2rem 0!important}
.pg-profil .pa-bar{position:absolute;top:52px;right:.3rem;margin:0!important;justify-content:flex-end!important;gap:.4rem!important}
.pg-profil .pa-bar .btn{min-height:36px!important;padding:0 .9rem!important;font-size:.86rem!important;margin:0!important;width:auto!important;flex:none!important}
.pg-profil .pa-bar .btn .ico{display:none}
.pg-profil .profile-id .badge-row,.pg-profil .profile-id [class*="vitrine"]{justify-content:flex-start!important;margin-left:0!important}
@media (max-width:759px){
  .pg-profil .profile-banner,.pg-profil .profile-banner-img{border-radius:0!important;margin:0 -1rem;width:calc(100% + 2rem);border-left:0!important;border-right:0!important}
  .pg-profil .pa-bar .btn:not(.btn-primary):nth-child(2){display:none}
}
.pg-profil .bio{background:none!important;border:0!important;padding:0!important;max-width:60ch!important;box-shadow:none!important}
.pg-profil .bio::before,.pg-profil .bio::after{display:none!important}
@media (max-width:759px){
  .pg-profil .profile-banner,.pg-profil .profile-banner-img{width:100vw!important;max-width:none!important;margin:0 0 0 calc(50% - 50vw)!important}
}
/* onglets soulignés partout (profil, inventaire…) comme le fil */
.tabs{background:none!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;padding:0!important;box-shadow:none!important;gap:0!important}
.tabs a{background:none!important;border:0!important;border-radius:0!important;color:var(--muted)!important;font-weight:650!important;position:relative;box-shadow:none!important;justify-content:center}
.tabs a.on{background:none!important;color:var(--ink)!important}
.tabs a.on::after{content:"";position:absolute;left:50%;bottom:-1px;width:48px;height:3px;border-radius:3px;background:var(--acc);transform:translateX(-50%)}

/* ===== badges façon Discord : petites icônes alignées dans une pastille ===== */
.pbadges{display:inline-flex!important;justify-content:flex-start!important;align-items:center;flex-wrap:wrap;gap:.3rem!important;margin:.15rem 0!important;padding:.3rem .45rem;border-radius:10px;background:rgba(var(--ink-rgb),.05);border:1px solid var(--bd)}
.pbadges .pbd .bdg{width:26px!important;height:26px!important;border-width:1.5px!important;box-shadow:none!important}
.pbadges .pbd .bdg .bpx,.pbadges .pbd .rw-img{width:16px!important;height:16px!important}
.pbadges .pbd>summary{display:flex}
.pbd-empty{width:26px!important;height:26px!important;min-width:0!important;border:1px dashed rgba(var(--ink-rgb),.25)!important;border-radius:8px!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:.9rem!important;color:var(--muted)!important;background:none!important;text-decoration:none!important}
.pbd-empty~.pbd-empty{display:none!important}
.pbadges:not(:has(.pbd)){background:none;border:0;padding:0}

/* ===== en-têtes de page : un titre net, sans carte ni emoji ===== */
.ph{background:none!important;border:0!important;box-shadow:none!important;padding:.2rem 0 .4rem!important;margin-bottom:.6rem!important;min-height:0!important;border-radius:0!important}
.ph::before,.ph::after{display:none!important}
.ph .ph-ic{display:none!important}
.ph h1{font-family:Inter,-apple-system,system-ui,sans-serif!important;text-transform:none!important;font-weight:800!important;font-size:1.6rem!important;letter-spacing:-.03em!important;line-height:1.15!important;margin:0!important}
.ph .ph-t p{color:var(--muted)!important;font-size:.9rem!important;margin:.15rem 0 0!important}
.ph .ph-act,.msg-plus{background:var(--ink)!important;color:var(--paper)!important;box-shadow:none!important;border:0!important}
.ph .ph-act .ico,.msg-plus .ico{color:var(--paper)!important}
.page-title.st-title,.pg-parametres .page-title{font-family:Inter,-apple-system,system-ui,sans-serif!important;text-transform:none!important;font-weight:800!important;font-size:1.6rem!important;letter-spacing:-.03em!important}
.page-title::after,.st-title::after{display:none!important}

/* états vides : texte simple, sans grosse icône emoji */
.hm-empty{background:none!important;box-shadow:none!important}
.hm-empty-ic{display:none!important}

/* filtres en pastilles : l'actif en blanc */
.nt-filters a,.lx-chips a,.chips a{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.nt-filters a.on,.lx-chips a.on,.chips a.on{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important}

/* listes (conversations, réglages) : surfaces simples */
.st-sec,.set-card,.msg-item,.conv,.dm-row{box-shadow:none!important}
/* ordinateur : plus de ☰ en double, le reste du menu s'ouvre avec « Plus » */
@media (min-width:1100px){
  .v2-plus{display:inline-flex;align-items:center;gap:.25rem;padding:.55rem .8rem;border:0;border-radius:999px;background:none;color:var(--soft);font:600 .93rem/1 inherit;cursor:pointer}
  .v2-plus:hover{color:var(--ink);background:rgba(var(--ink-rgb),.05)}
  .v2-plus svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
}
@media (min-width:1100px){
  html.side-closed .drawer.open{transform:none!important;visibility:visible!important;z-index:80;box-shadow:0 0 0 100vmax rgba(0,0,0,.55)!important;transition:transform .2s ease!important}
  .drawer .drawer-close{display:inline-flex!important}
}

/* ===== menu complet v2 (☰) : logo, mon profil, sections simples ===== */
.v2d{width:300px!important;max-width:86vw;padding:0!important;display:flex;flex-direction:column;overflow-y:auto}
.v2d-head{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem .6rem}
.v2d-head .drawer-close{display:inline-flex!important}
.v2d-me{display:flex;align-items:center;gap:.75rem;margin:.2rem .7rem .4rem;padding:.7rem;border-radius:12px;border:1px solid var(--bd);color:var(--text)!important;text-decoration:none!important}
.v2d-me:hover{background:rgba(var(--ink-rgb),.04)}
.v2d-me span{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.v2d-me b{font-weight:700}.v2d-me small{color:var(--muted);font-size:.8rem}
.v2d-auth{display:flex;gap:.5rem;padding:.2rem 1rem .6rem}.v2d-auth .btn{flex:1}
.v2d-nav{display:flex;flex-direction:column;gap:1px;padding:.2rem .6rem 1.4rem!important}
.v2d-nav a,.v2d-out button{display:flex!important;align-items:center;gap:.85rem;min-height:42px;padding:.5rem .7rem!important;border-radius:10px!important;color:var(--soft)!important;font:550 .95rem/1.2 inherit!important;text-decoration:none!important;background:none!important;border:0!important;width:100%;cursor:pointer;text-align:left}
.v2d-nav a span,.v2d-out button span{flex:1}
.v2d-nav a .ico,.v2d-out .ico{width:20px;height:20px;flex:none}
.v2d-nav a:hover,.v2d-out button:hover{background:rgba(var(--ink-rgb),.05)!important;color:var(--ink)!important}
.v2d-nav a.on{background:rgba(var(--ink-rgb),.07)!important;color:var(--ink)!important;font-weight:700!important}
.v2d-nav a.on .ico{color:var(--acc)}
.v2d-t{margin:1rem .7rem .35rem;color:var(--dim);font:700 .68rem/1 Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}
.v2d-n{min-width:20px;height:20px;padding:0 .35rem;border-radius:99px;background:var(--acc);color:var(--paper);font:800 .7rem/20px Inter,system-ui,sans-serif;text-align:center}
.v2d-tag{font-style:normal;font-size:.72rem;font-weight:700;color:var(--soft);background:rgba(var(--ink-rgb),.08);padding:.2rem .45rem;border-radius:99px}
.v2d-out{margin:0}
.v2d-out button{color:#ff8f86!important}
.v2d-auth .btn{white-space:nowrap;font-size:.9rem!important;min-height:42px!important;padding:0 .6rem!important}

/* ===== titres v2 : étiquette façon rôle Discord ===== */
.ttl-wrap{display:flex;justify-content:flex-start;margin:.15rem 0}
.ttl2{display:inline-flex;align-items:center;gap:.4rem;max-width:100%;padding:.2rem .55rem .2rem .45rem;border-radius:7px;background:rgba(var(--ink-rgb),.06);border:1px solid rgba(var(--ink-rgb),.1);font:650 .8rem/1.3 Inter,-apple-system,system-ui,sans-serif;color:var(--soft);white-space:nowrap;vertical-align:middle}
.ttl2 .tt{overflow:hidden;text-overflow:ellipsis}
.ttl2-d{flex:none;width:8px;height:8px;border-radius:50%;background:var(--rc,var(--soft))}
.ttl2.r-common{--rc:#a8a8ae}.ttl2.r-uncommon{--rc:#6fcf97}.ttl2.r-rare{--rc:#5fb3f0}.ttl2.r-epic{--rc:#b48cff}.ttl2.r-legendary{--rc:#f2c14e}.ttl2.r-mythic{--rc:#ff7a6b}
.ttl2.r-legendary,.ttl2.r-mythic{border-color:rgba(var(--rcb,242,193,78),.45)}
.ttl2.r-mythic{--rcb:255,122,107}

/* ===== titres de page partout : même style net que le fil ===== */
.page-title{font-family:Inter,-apple-system,system-ui,sans-serif!important;text-transform:none!important;font-weight:800!important;font-size:1.6rem!important;letter-spacing:-.03em!important;line-height:1.15!important}
.page-title::before,.page-title::after{display:none!important}

/* onglets et pastilles de filtre des autres pages : actif en blanc, pas en corail plein */
.tp-tabs a,.tp-sub a,.lg-jump a,.lg-nav a{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.tp-tabs a.on,.tp-sub a.on,.lg-jump a.on,.lg-nav a.on,.tp-tabs a[aria-current],.pills a.on{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important}

/* gros encadrés « héros » des pages secondaires : surface simple, sans dégradé */
.lg-hero,.so-hero,.ln-hero{background:var(--card)!important;box-shadow:none!important;border:1px solid var(--bd)!important}
.lg-hero::before,.lg-hero::after,.so-hero::before,.so-hero::after{display:none!important}
.so-hero h1,.ln-hero h1,.lg-hero h1{text-shadow:none!important}
.ln-sec h2,.lg-help h2{font-family:Inter,-apple-system,system-ui,sans-serif!important;font-weight:800!important;letter-spacing:-.02em!important;text-transform:none!important}
/* icônes emoji retirées : on masque les cases d'icône restées vides */
.ln-sec li>span:empty,.so-out:empty,.tp-empty>span:empty,.tp-tabs a>span:empty,.lg-ico:empty,.ph-ic:empty,.gl-prize-ic:empty,.lg-help>span:empty,.hm-empty-ic:empty{display:none!important}
.ln-sec li{padding-left:.9rem!important}
/* PC : profil en une colonne alignée (en-tête, onglets et posts de la même largeur) */
@media (min-width:1100px){
  html.side-closed .pg-profil .content,.pg-profil .content{max-width:760px!important}
  .pg-profil .content .post{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
}

/* ===== pages de contenu (actus, wiki, carte, avis, pronostics, IA, progression, inventaire) ===== */
/* grand titre éditorial, blanc, sans dégradé */
.v2-head h1,.mg-title,.mp-title,.rv-hero h1,.ph.v2-head h1,.pg-progression .page-title,.pg-inventaire .page-title{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.6rem,11vw,4.8rem)!important;line-height:.95!important;letter-spacing:.005em!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;background:none!important;text-shadow:none!important;margin:.6rem 0 .7rem!important}
.mg-title span,.mp-title span,.ai-ht h1 b{color:inherit!important;-webkit-text-fill-color:currentColor!important;background:none!important}
.v2-head{background:none!important;border:0!important;box-shadow:none!important;padding:.8rem 0 1rem!important;text-align:left!important}
.v2-head p{color:var(--muted)!important;max-width:60ch}
.v2-head::before,.v2-head::after,.mg-top::before,.mg-top::after,.mp-top::before,.mp-top::after{display:none!important}
.mp-top{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important}
.mp-top>img,.mp-top .mp-bg{display:none!important}
.mp-stats span{background:rgba(var(--ink-rgb),.06)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
/* cartes « héros » : surface unie */
.rv-hero,.aip-hero,.ai-hero,.prog-hero,.inv-hero,.pass-hero,.mg-search,.ph-pr{background:var(--card)!important;background-image:none!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.rv-hero::before,.rv-hero::after,.aip-hero::before,.aip-hero::after,.prog-hero::before,.prog-hero::after,.inv-hero::before,.inv-hero::after{display:none!important}
.rv-hero{text-align:left!important}
.rv-hero h1{text-align:left}
.ph.v2-head{background:none!important;border:0!important}
.aip-orb{background:rgba(var(--ink-rgb),.06)!important;box-shadow:none!important}
.aip-orb i{display:none!important}
.ai-ht h1{font-family:Inter,-apple-system,system-ui,sans-serif!important;text-transform:none!important;font-weight:800!important;font-size:1.5rem!important;letter-spacing:-.02em!important;background:none!important;-webkit-text-fill-color:var(--ink)!important}
/* filtres : actif en blanc */
.mg-pills a,.mg-chips a,.mg-cat,.inv-filt a,.inv-tabs a,.q-tabs a{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.mg-pills a.on,.mg-chips a.on,.inv-filt a.on,.inv-tabs a.on,.q-tabs a.on{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important}
.mg-pills-s a{font-size:.8rem!important}
/* cartes d'articles et de fiches */
.mg-card{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.mg-card:hover{border-color:rgba(var(--ink-rgb),.28)!important}
.mg-h{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:1.6rem!important;letter-spacing:.01em!important;background:none!important;-webkit-text-fill-color:var(--ink)!important}
.mg-h::after,.mg-h::before{display:none!important}
/* récompense du jour, pass : moins de doré, plus de sobriété */
.pass-card,.q-card,.inv-card,.inv-slot{box-shadow:none!important}
/* PC : toutes ces pages alignées sur la même grille */
@media (min-width:1100px){
  .pg-actualites .content,.pg-wiki .content,.pg-carte .content,.pg-avis .content,.pg-pronostics .content,.pg-ia .content,.pg-progression .content,.pg-inventaire .content{max-width:1116px!important}
}
@media (min-width:1100px){
  .pg-actualites .mg,.pg-wiki .mg{max-width:1116px!important;width:100%!important;margin-left:auto!important;margin-right:auto!important}
  .pg-actualites .mg-grid,.pg-wiki .mg-grid-wk{grid-template-columns:repeat(3,1fr)!important}
}
.mg-recent-l a{color:var(--ink)!important}

/* ===== pages des jeux : grande image, titre éditorial, bouton blanc ===== */
.gp-hero{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important;overflow:hidden}
.gp-hero .lx-gbg img{opacity:.35;filter:saturate(.9)}
.gp-hero .lx-gbg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--paper-rgb),.2),rgba(var(--paper-rgb),.85))}
.gp-hero .gp-n{color:var(--ink)!important}
.gp-hero .gp-t{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.8rem,12vw,5rem)!important;line-height:.92!important;margin:.5rem 0 .6rem!important;color:var(--ink)!important;-webkit-text-fill-color:var(--ink)!important;background:none!important;text-shadow:none!important}
.gp-hero .gp-t span{color:inherit!important;-webkit-text-fill-color:currentColor!important;background:none!important}
.gp-hero p{color:var(--soft)}
.gp-hero .lx-btn,.lx-btn{box-shadow:none!important;text-shadow:none!important}
.gp-hero .lx-btn-main,.lx-btn-main{background:var(--ink)!important;color:var(--paper)!important;border:1px solid var(--ink)!important}
.gp-hero .lx-btn:not(.lx-btn-main){background:transparent!important;border:1px solid rgba(var(--ink-rgb),.25)!important;color:var(--ink)!important}
.gp-hero .lx-phone{box-shadow:0 30px 60px rgba(0,0,0,.5)!important}
.gp-me li{background:rgba(var(--ink-rgb),.05)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.gp-chips li{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.gp-evt,.gp-sec{box-shadow:none!important}
.gp-evt{background:var(--card)!important;border:1px solid var(--bd)!important}
@media (min-width:1100px){
  .pg-empire .content,.pg-vicerun .content,.pg-lostfound .content,.pg-arcade .content{max-width:1116px!important}
  .gp-hero{min-height:560px}
}
@media (min-width:1100px){
  .gp-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;align-items:center;column-gap:3rem;padding:3rem 3.4rem!important}
  .gp-hero .lx-gtx{grid-column:1;max-width:none!important}
  .gp-hero .lx-phone{grid-column:2;grid-row:1;position:relative!important;inset:auto!important;transform:none!important;margin:0!important;width:280px!important;justify-self:center}
  .gp-hero .lx-phone img{width:100%;height:auto;border-radius:28px}
  .gp-hero .gp-t{font-size:5.4rem!important}
  .gp-hero p{font-size:1.05rem;max-width:52ch}
}
.gp-evt{display:flex!important;gap:.8rem;align-items:flex-start;padding:1rem 1.1rem!important;border-radius:var(--r)!important}.gp-evt small{display:block;color:var(--acc);letter-spacing:.14em;text-transform:uppercase;font-size:.7rem;font-weight:700}.gp-evt b{display:block;font-size:1.05rem}.gp-evt p{margin:.2rem 0 0;color:var(--soft)}

/* ===== Réglages v2 : façon réglages iPhone — carte compte, liste groupée, sections sobres ===== */
.pg-parametres .content{max-width:720px!important}
.st-head h1{font-size:clamp(2.8rem,12vw,4.4rem)!important}
.set-hero{display:block!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0 0 1.4rem!important}
.set-hero .set-banner{display:none!important}
.set-id{display:flex!important;align-items:center;gap:.9rem;padding:.9rem 1rem!important;border-radius:var(--r);background:var(--card)!important;border:1px solid var(--bd)!important;margin:0!important;box-shadow:none!important}
.set-id .av{width:56px!important;height:56px!important;border:0!important;box-shadow:none!important;margin:0!important}
.set-id>div{flex:1;min-width:0}
.set-id strong{display:block;font-size:1.1rem}
.set-id .btn{flex:none}
.set-cats{display:flex!important;flex-direction:column;gap:0!important;border-radius:var(--r);overflow:hidden;background:var(--card);border:1px solid var(--bd)}
.set-cat{margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;border-bottom:1px solid var(--bd)!important}
.set-cat:last-child{border-bottom:0!important}
.set-cat>summary{display:flex!important;align-items:center;gap:.9rem;padding:.95rem 1rem!important;background:none!important;border:0!important;box-shadow:none!important;min-height:64px;cursor:pointer}
.set-cat>summary:hover{background:rgba(var(--ink-rgb),.03)!important}
.set-cat>summary .set-ic{width:34px!important;height:34px!important;border-radius:9px!important;background:rgba(var(--ink-rgb),.07)!important;color:var(--ink)!important;box-shadow:none!important;border:0!important;display:grid;place-items:center;flex:none}
.set-cat>summary .set-ic .ico{width:18px;height:18px}
.set-cat[open]>summary .set-ic{background:var(--acc)!important;color:var(--paper)!important}
.set-cat>summary strong{font-weight:650}
.set-cat>summary small{font-size:.82rem}
.set-cat[open]>summary{border-bottom:1px solid var(--bd)!important}
.set-body{padding:.4rem 1rem 1rem!important;background:rgba(var(--paper-rgb),.35)}
.set-card{background:none!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;box-shadow:none!important;padding:1.1rem 0!important;margin:0!important}
.set-card:last-child{border-bottom:0!important}
.set-h{gap:.7rem!important}
.set-h .set-ic{display:none!important}
.set-h h2{font-size:1rem!important;font-weight:700!important;margin:0 0 .15rem!important}
.set-switch .sw{box-shadow:none!important}
@media (min-width:1100px){.pg-parametres .content{padding-top:1.2rem!important}}
.set-id .avatar,.set-id .avw,.set-id [class*="av-"]{width:56px!important;height:56px!important;min-width:56px!important;font-size:1.3rem!important}.set-id small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Messages et notifications : grand titre, listes en lignes */
.ph.v2-head{display:flex!important;align-items:flex-end!important;justify-content:space-between;gap:1rem}
.ph.v2-head .ph-t h1{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.6rem,11vw,4.4rem)!important;line-height:.95!important;margin:.6rem 0 .5rem!important;letter-spacing:.005em!important}
.ph.v2-head .ph-act,.ph.v2-head .msg-plus{flex:none;width:48px;height:48px;border-radius:50%}
.pg-messages .content,.pg-notifications .content{max-width:760px!important}
.dm-list-i,.conv-row,.msg-row,.dm-row,.nt-item,.notif,.nt-row{background:none!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;box-shadow:none!important}
/* conversations et notifications : lignes séparées par un trait, comme une appli de messagerie */
.pg-messages a.card.room{background:none!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:.85rem .2rem!important}
.pg-messages a.card.room:hover{background:rgba(var(--ink-rgb),.03)!important}
.nt-group,.nt-list{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
a.nt{background:none!important;border:0!important;border-bottom:1px solid var(--bd)!important;border-radius:0!important;box-shadow:none!important;padding:.85rem .2rem!important}
a.nt::before{display:none!important}
a.nt.unread,a.nt.new,a.nt[data-unread]{background:rgba(var(--acc-rgb),.06)!important}
/* pastille sur l'avatar des notifications : toujours remplie (fond par défaut + couleurs v2 par famille) */
.nt-badge{background:#3a3a40!important;color:var(--ink)!important;border-color:var(--bg)!important}
.nt-badge.nt-so,.nt-badge.nt-md,.nt-badge.nt-bx{background:var(--acc)!important;color:var(--paper)!important}
.nt-badge.nt-rw,.nt-badge.nt-lv,.nt-badge.nt-ps{background:#f2c14e!important;color:#2a1a00!important}
.nt-badge.nt-qu{background:#6fcf97!important;color:#03261a!important}
.nt-badge.nt-dm{background:var(--ink)!important;color:var(--paper)!important}
.nt-badge.nt-ev,.nt-badge.nt-gm{background:#5fb3f0!important;color:#06233a!important}
.nt-badge.nt-so,.nt-badge.nt-md,.nt-badge.nt-bx{background:var(--ink)!important;color:var(--paper)!important}
.nt-badge .ico{stroke-width:2.6!important}

/* ===== Connexion / inscription v2 ===== */
.au{box-shadow:none!important;border:0!important;background:none!important}
.au-art{border-radius:var(--r)!important;overflow:hidden;box-shadow:none!important}
.au-art::after{background:linear-gradient(180deg,rgba(var(--paper-rgb),.05) 30%,rgba(var(--paper-rgb),.85))!important}
.au-brand{display:inline-flex;align-items:center;gap:.5rem}
.au-brand .v2-mark{width:30px;height:30px}
.au-brand b{font:800 1.6rem/1 Inter,-apple-system,system-ui,sans-serif;letter-spacing:-.035em;color:var(--ink)}
.au-art-in p{color:rgba(var(--ink-rgb),.85)!important;margin-top:.5rem!important}
.au-card{background:none!important;border:0!important;box-shadow:none!important}
.au-card h1{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.6rem,11vw,3.6rem)!important;line-height:.95!important;margin:.55rem 0 .5rem!important;letter-spacing:.005em!important}
.au-tabs{background:rgba(var(--ink-rgb),.05)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.au-tabs a{color:var(--muted)!important;background:none!important;box-shadow:none!important}
.au-tabs a.on{background:var(--ink)!important;color:var(--paper)!important}
.au-perks{gap:.4rem!important}
.au-perks li{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.au input:not([type=checkbox]){background:var(--card)!important;border:1px solid var(--bd2)!important;box-shadow:none!important}
.au input:focus{border-color:rgba(var(--ink-rgb),.5)!important;outline:none}
.au-terms,.au .check{background:none!important;border:0!important;box-shadow:none!important;padding-left:0!important}
@media (max-width:759px){.au-art{min-height:200px!important;max-height:220px}}
@media (min-width:1100px){
  .pg- .content,.is-guest .content:has(.au){max-width:none!important}
  .au{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:4rem;max-width:1180px;margin:1rem auto 0!important;align-items:stretch;min-height:calc(100vh - 140px)}
  .au-art{min-height:640px!important;height:auto!important}
  .au-card{align-self:center;max-width:440px;width:100%;padding:0!important}
  .au-card h1{font-size:4.2rem!important}
}

/* ===== Administration v2 : menu latéral en liste sobre, tableau de bord en cartes simples ===== */
.adm-side{background:none!important;border:0!important;box-shadow:none!important}
.adm-nav{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important;border-radius:var(--r)!important;padding:.5rem!important}
.adm-nav a{display:flex!important;align-items:center;gap:.7rem;padding:.5rem .65rem!important;border-radius:9px!important;color:var(--soft)!important;background:none!important;box-shadow:none!important;border:0!important;font-weight:550;font-size:.92rem}
.adm-nav a .ico{width:18px;height:18px;flex:none;color:var(--muted)}
.adm-nav a:hover{background:rgba(var(--ink-rgb),.05)!important;color:var(--ink)!important}
.adm-nav a.on{background:rgba(var(--ink-rgb),.08)!important;color:var(--ink)!important;font-weight:700}
.adm-nav a.on .ico{color:var(--acc)}
.adm-g p{color:var(--dim)!important;font:700 .66rem/1 Inter,system-ui,sans-serif!important;letter-spacing:.16em!important;text-transform:uppercase;margin:.9rem .65rem .35rem!important}
.adm-n{background:var(--acc)!important;color:var(--paper)!important;box-shadow:none!important}
.adm-mbtn{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.adm-hello{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.adm-hello .page-title,.pg-admin .page-title{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.2rem,8vw,3.4rem)!important;line-height:.95!important;letter-spacing:.005em!important;margin:.5rem 0 0!important}
.adm-hello small{color:var(--muted)}
.adm-quick a{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important;color:var(--ink)!important;font-weight:650;justify-content:center}
.adm-quick a:hover{border-color:rgba(var(--ink-rgb),.3)!important}
.pg-admin .card{background:var(--card)!important;border:1px solid var(--bd)!important}
.pg-admin .card h2{font-size:1.05rem!important}
.pg-admin fieldset{border:1px solid var(--bd)!important;border-radius:12px!important;padding:.6rem .9rem .8rem!important;margin:0 0 .9rem!important}
.pg-admin legend{padding:0 .4rem;color:var(--soft);font-weight:650;font-size:.9rem}
.pg-admin .check{padding:.35rem 0!important;min-height:0!important}
.pg-admin input[type=checkbox],.pg-admin input[type=radio]{accent-color:var(--acc)}
.pg-admin input:not([type=checkbox]):not([type=radio]),.pg-admin select,.pg-admin textarea{background:var(--card2)!important;border:1px solid var(--bd2)!important;box-shadow:none!important}
.pg-admin table{border-collapse:collapse}
.pg-admin th{color:var(--muted);font-weight:600;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}
.pg-admin td,.pg-admin th{border-bottom:1px solid var(--bd)!important}
@media (min-width:1100px){.pg-admin .content{max-width:1240px!important}}

/* ===== Connexion / inscription v2.1 : photo plein écran, formulaire en panneau vitré ===== */
.au2{position:relative;display:block!important;max-width:none!important;margin:-1rem -1rem 0!important;min-height:calc(100vh - 64px);padding:0!important;border-radius:0!important;overflow:hidden}
.au2 .au-art{position:absolute!important;inset:0!important;min-height:0!important;max-height:none!important;height:auto!important;border-radius:0!important;background-image:url(/assets/img/auth-bar.jpg)!important;background-position:40% 30%!important;background-size:cover!important;align-items:flex-start!important}
.au2 .au-art::before{background:linear-gradient(180deg,rgba(var(--paper-rgb),.15) 0%,rgba(var(--paper-rgb),.35) 30%,rgba(var(--paper-rgb),.92) 62%,var(--paper) 100%)!important}
.au2 .au-art::after{display:none!important}
.au2 .au-art-in{padding:1.4rem 1.2rem!important}
.au2 .au-card{position:relative;z-index:1;margin:0 auto!important;padding:42vh 1.2rem 2rem!important;max-width:460px}
.au2 .au-card h1{font-size:clamp(3rem,14vw,4.6rem)!important}
.au2 .au-tabs{position:absolute;top:1.3rem;right:1.2rem;left:auto;width:auto!important;margin:0!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:rgba(var(--paper-rgb),.45)!important}
.au2 .au-tabs a{padding:.45rem .9rem!important;min-height:0!important;font-size:.85rem!important}
.au2 input:not([type=checkbox]){background:rgba(21,21,23,.85)!important;backdrop-filter:blur(8px)}
.au2 .btn-primary{min-height:54px!important;font-size:1.02rem!important;border-radius:999px!important}
.au2 .au-art-in p{display:none}
.pg-.is-guest .bottom-nav,.is-guest:has(.au2) .bottom-nav{display:none!important}
.is-guest:has(.au2) .foot{display:none}
@media (min-width:1100px){
  .au2{display:grid!important;grid-template-columns:1fr 520px;margin:-1.2rem 0 0!important;width:100vw;margin-left:calc(50% - 50vw)!important;min-height:calc(100vh - 72px)}
  .is-guest:has(.au2) .content{max-width:none!important;overflow:visible!important}
  .au2 .au-art{right:520px!important;background-position:35% 35%!important}
  .au2 .au-art::before{background:linear-gradient(90deg,rgba(var(--paper-rgb),0) 55%,rgba(var(--paper-rgb),.6) 85%,var(--paper) 100%),linear-gradient(180deg,transparent 60%,rgba(var(--paper-rgb),.7))!important}
  .au2 .au-art-in{position:absolute;left:3rem;bottom:3rem;top:auto;padding:0!important}
  .au2 .au-art-in p{display:block;font-size:1.3rem!important;max-width:24ch;font-weight:600}
  .au2 .au-brand b{font-size:2.4rem}.au2 .au-brand .v2-mark{width:42px;height:42px}
  .au2 .au-card{grid-column:2;align-self:center;padding:3rem 3.4rem!important;max-width:none}
  .au2 .au-tabs{position:static;margin:0 0 1.6rem!important;display:inline-flex}
}
@media (max-width:1099px){.au2 .au-art-in{display:none!important}.au2 .au-card{padding-top:38vh!important}}
@media (min-width:1100px){.au2 .au-tabs{display:flex!important;width:max-content!important}.au2 .au-card>.v2-lbl{display:flex}}

/* ===== Tableau de bord admin v2.1 : gros chiffres, deux colonnes ===== */
.admv-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem;margin:.2rem 0 1.6rem}
.admv-head .page-title{margin:.5rem 0 0!important;font-size:clamp(2.6rem,10vw,4.4rem)!important}
.admv-quick{display:flex;flex-wrap:wrap;gap:.45rem}
.admv-quick .btn{margin:0!important;width:auto!important;flex:none!important}
.admv-kpis{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--bd);border-bottom:1px solid var(--bd);margin-bottom:1.8rem}
.admv-kpis a{display:flex;flex-direction:column;padding:1.1rem .2rem 1.2rem;color:var(--text)!important;text-decoration:none!important;border-bottom:1px solid var(--bd)}
.admv-kpis a:nth-child(odd){border-right:1px solid var(--bd);padding-right:1rem}
.admv-kpis a:nth-child(even){padding-left:1rem}
.admv-kpis strong{font-family:var(--disp);font-weight:400;font-size:clamp(3rem,12vw,4.6rem);line-height:.95}
.admv-kpis span{font-weight:700;margin-top:.35rem}
.admv-kpis small{color:var(--muted);font-size:.8rem}
.admv-kpis a:hover strong{color:var(--acc)}
.admv-cols{display:grid;gap:1.6rem}
.admv-box h2{display:flex;align-items:center;gap:.5rem;font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase;font-size:1.7rem!important;margin:0 0 .6rem!important}
.admv-box h2 em{font-style:normal;font-family:Inter,system-ui,sans-serif;font-size:.75rem;font-weight:800;background:var(--acc);color:var(--paper);border-radius:99px;padding:.15rem .5rem}
.admv-todo a{display:flex;align-items:center;gap:.7rem;padding:.9rem 0;border-bottom:1px solid var(--bd);color:var(--text)!important;text-decoration:none!important;font-weight:600}
.admv-todo a span{flex:1}
.admv-todo a b{background:rgba(var(--acc-rgb),.18);color:var(--acc);border-radius:99px;padding:.1rem .55rem;font-size:.82rem}
.admv-todo a i{font-style:normal;color:var(--muted)}
.admv-todo a:hover i{color:var(--ink)}
.admv .adm-act{display:flex;justify-content:space-between;gap:1rem;padding:.75rem 0;border-bottom:1px solid var(--bd);font-size:.92rem}
.admv .adm-act small{color:var(--muted);flex:none}
@media (min-width:760px){.admv-kpis{grid-template-columns:repeat(4,1fr)}.admv-kpis a{border-bottom:0;border-right:1px solid var(--bd);padding:1.2rem 1.2rem!important}.admv-kpis a:first-child{padding-left:0!important}.admv-kpis a:last-child{border-right:0}}
@media (min-width:1100px){.admv-cols{grid-template-columns:1fr 1fr;gap:3rem}}
/* menu admin sur téléphone : pastilles qui défilent au lieu du gros bouton */
@media (max-width:1099px){
  .adm-mbtn{display:none!important}
  .adm-nav{display:flex!important;flex-wrap:nowrap;overflow-x:auto;gap:.35rem;padding:0!important;background:none!important;border:0!important;margin:0 -1rem 1rem!important;padding:0 1rem!important;scrollbar-width:none}
  .adm-nav::-webkit-scrollbar{display:none}
  .adm-nav .adm-g{display:contents}
  .adm-nav .adm-g p{display:none}
  .adm-nav a{flex:none;white-space:nowrap;border:1px solid var(--bd)!important;border-radius:999px!important;padding:.45rem .8rem!important;font-size:.85rem}
  .adm-nav a.on{background:var(--ink)!important;color:var(--paper)!important;border-color:var(--ink)!important}
  .adm-nav a.on .ico{color:var(--paper)}
}
@media (max-width:1099px){.adm-side{position:static!important;height:auto!important}.adm-nav{position:static!important;transform:none!important;visibility:visible!important;opacity:1!important;max-height:none!important;box-shadow:none!important;inset:auto!important;width:auto!important}.adm-wrap{display:block!important}}

/* ===== Réglages v2.1 : bannière du membre en grand + catégories en tuiles ===== */
.stv-hero{position:relative;margin:-1rem -1rem 1.6rem;min-height:300px;display:flex;align-items:flex-end;overflow:hidden}
.stv-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stv-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--paper-rgb),.1),rgba(var(--paper-rgb),.55) 45%,var(--bg))}
.stv-in{position:relative;z-index:1;width:100%;max-width:960px;margin:0 auto;padding:4rem 1.2rem 1.2rem;display:flex;flex-wrap:wrap;align-items:flex-end;gap:1rem}
.stv-in .avatar,.stv-in .avw{width:92px!important;height:92px!important;font-size:2.2rem!important;border:4px solid var(--bg)!important;box-shadow:none!important}
.stv-t{flex:1;min-width:0}
.stv-t h1{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.6rem,11vw,4.4rem)!important;line-height:.95!important;margin:.45rem 0 .3rem!important;overflow:hidden;text-overflow:ellipsis}
.stv-t small{color:rgba(var(--ink-rgb),.75);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stv-in .btn{flex:none;margin:0!important;width:auto!important}
.stv-grid{display:grid!important;grid-template-columns:1fr 1fr;grid-auto-flow:dense;gap:.6rem!important;background:none!important;border:0!important;overflow:visible!important;max-width:960px;margin:0 auto}
.stv-grid .set-cat{border:1px solid var(--bd)!important;border-radius:var(--r)!important;background:var(--card)!important;overflow:hidden}
.stv-grid .set-cat>summary{flex-direction:column!important;align-items:flex-start!important;gap:1.4rem!important;min-height:150px!important;padding:1.1rem!important;position:relative}
.stv-grid .set-cat>summary .set-ic{width:44px!important;height:44px!important;border-radius:12px!important}
.stv-grid .set-cat>summary .set-ic .ico{width:22px;height:22px}
.stv-grid .set-cat>summary .set-ct strong{display:block;font-size:1.02rem;line-height:1.2}
.stv-grid .set-cat>summary .set-ct small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.25rem;font-size:.8rem}
.stv-grid .set-cat>summary .set-chev{position:absolute;top:1.1rem;right:1rem}
.stv-grid .set-cat[open]{grid-column:1/-1;border-color:rgba(var(--ink-rgb),.22)!important}
.stv-grid .set-cat[open]>summary{flex-direction:row!important;align-items:center!important;min-height:0!important;gap:.9rem!important}
.stv-grid .set-cat[open]>summary .set-chev{position:static;margin-left:auto}
.stv-grid .set-cat:last-child:nth-child(odd):not([open]){grid-column:1/-1}
.stv-grid .set-cat:last-child:nth-child(odd):not([open])>summary{min-height:0!important;flex-direction:row!important;align-items:center!important;gap:.9rem!important}
.stv-grid .set-cat:last-child:nth-child(odd):not([open])>summary .set-chev{position:static;margin-left:auto}
.pg-parametres .content{max-width:none!important}
.pg-parametres .content>.flash{max-width:960px;margin-left:auto;margin-right:auto}
@media (min-width:760px){.stv-grid{grid-template-columns:repeat(3,1fr)}.stv-grid .set-cat:last-child:nth-child(odd):not([open]){grid-column:auto}.stv-grid .set-cat:last-child:nth-child(odd):not([open])>summary{min-height:150px!important;flex-direction:column!important;align-items:flex-start!important;gap:1.4rem!important}.stv-grid .set-cat:last-child:nth-child(odd):not([open])>summary .set-chev{position:absolute}}
@media (min-width:1100px){
  .stv-hero{width:100vw;margin:-1.2rem 0 2rem calc(50% - 50vw)!important;min-height:380px}
  .stv-in{padding:0 2rem 1.6rem}
  .stv-in .avatar,.stv-in .avw{width:120px!important;height:120px!important}
}
.stv-grid .set-cat>summary .set-ct{display:block!important;width:100%;min-width:0;white-space:normal!important}.stv-grid .set-cat>summary .set-ct strong,.stv-grid .set-cat>summary .set-ct small{white-space:normal!important;text-overflow:clip!important}.stv-grid{width:100%}

/* ===== pages restantes : légal, équipe, recrutement, recherche, jeux, articles ===== */
.v2-team{background:none!important;border:0!important;box-shadow:none!important;padding:1rem 0 1.2rem!important;display:block!important}
.v2-team h1{font-family:var(--disp)!important;font-weight:400!important;text-transform:uppercase!important;font-size:clamp(2.6rem,11vw,4.6rem)!important;line-height:.95!important;margin:.6rem 0 .7rem!important;background:none!important;-webkit-text-fill-color:var(--ink)!important}
.v2-team p span{background:none!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.lgv .lg-body h2,.legal h2{font-family:Inter,-apple-system,system-ui,sans-serif!important;font-weight:800!important;text-transform:none!important;background:none!important;border:0!important;border-left:0!important;box-shadow:none!important;padding:0!important;letter-spacing:-.02em!important;font-size:1.25rem!important;margin:2rem 0 .6rem!important;-webkit-text-fill-color:var(--ink)!important}
.legal h2::before,.legal h2::after{display:none!important}
.legal-key,.legal .card,.lgv .lg-body{background:none!important;border:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}
.lgv details.mg-toc,.lgv .mg-toc{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.team-group h2,.team-group>header{background:none!important;border:0!important;box-shadow:none!important}
.team-card,.tm-card{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.ph-recruit.v2-head,.ph-sr.v2-head,.ph-games.v2-head{background:none!important}
.ph-sr .sb-wrap input,.ph-sb input{background:var(--card)!important;border:1px solid var(--bd2)!important;box-shadow:none!important;border-radius:14px!important;min-height:54px}
.ph-chips li{background:none!important;border:1px solid var(--bd)!important;color:var(--soft)!important;box-shadow:none!important}
.ax4 .gp-t,.ar-arch h2,.lx-game h3,.lx-game h2{background:none!important;-webkit-text-fill-color:var(--ink)!important;color:var(--ink)!important;text-shadow:none!important}
.lx-game{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.lx-game .lx-gbg img{opacity:.3}
.ax4-n{background:rgba(var(--ink-rgb),.06)!important;border:1px solid var(--bd)!important;box-shadow:none!important;color:var(--ink)!important}
.mg-hero h1{text-shadow:none!important}
.mg-hero::after{background:linear-gradient(180deg,rgba(var(--paper-rgb),0) 35%,rgba(var(--paper-rgb),.85))!important}
.mg-facts>div,.mg-facts>*{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.mg-prop{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important}
.ra-closed,.ra-job,.ra-card{box-shadow:none!important}
@media (min-width:1100px){.pg-equipe .content,.pg-recrutement .content,.pg-recherche .content,.lgv{max-width:820px!important;margin-left:auto;margin-right:auto}}

/* récompense du jour et prochain palier : sobres, accent corail au lieu du doré */
.dl,.daily,.dl-card,section:has(>.dl-top){background:var(--card)!important;border:1px solid rgba(var(--acc-rgb),.45)!important;box-shadow:none!important;background-image:none!important}
.dl-ribbon{background:var(--acc)!important;color:var(--paper)!important;box-shadow:none!important}
.dl-top strong{color:var(--ink)!important}
.dl-dot{background:rgba(var(--ink-rgb),.05)!important;border:1px solid var(--bd)!important;box-shadow:none!important;color:var(--soft)!important}
.dl-dot.on,.dl-dot.today,.dl-dot.cur{background:var(--acc)!important;color:var(--paper)!important;border-color:var(--acc)!important}
.pg-next{background:var(--card)!important;border:1px solid var(--bd)!important;box-shadow:none!important;background-image:none!important}
.pg-next small{color:var(--acc)!important}
.pg-na{background:rgba(var(--ink-rgb),.06)!important;box-shadow:none!important;border:0!important}
.prog-hero .ring,.prog-ring{box-shadow:none!important}
.card.daily-card{background:var(--card)!important;background-image:none!important;border:1px solid rgba(var(--acc-rgb),.45)!important;box-shadow:none!important}
.card.daily-card::before,.card.daily-card::after{display:none!important}
.pg-next .pg-na{background:rgba(var(--acc-rgb),.15)!important}
.gp-how,.gp-sec>summary,details.gp-sec{background:var(--card)!important;background-image:none!important;border:1px solid var(--bd)!important;box-shadow:none!important}
/* cadre converti en XP : pastille ronde */
.xp-art{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;background:rgba(242,193,78,.12);border:2px solid rgba(242,193,78,.55);color:#f2c14e;line-height:1}
.xp-art b{font-family:var(--disp);font-weight:400;font-size:1.35rem}
.xp-art small{font-size:.62rem;font-weight:800;letter-spacing:.12em}

/* ===== couleur du site au choix (Réglages › Profil et apparence) ===== */
html[data-acc="rose"]{--acc:#e2768e;--acc-rgb:226,118,142}
html[data-acc="ambre"]{--acc:#e9a14f;--acc-rgb:233,161,79}
html[data-acc="menthe"]{--acc:#25b7c9;--acc-rgb:37,183,201}
html[data-acc="ocean"]{--acc:#4f9fe0;--acc-rgb:79,159,224}
html[data-acc="lavande"]{--acc:#8796ad;--acc-rgb:135,150,173}
.acc-pick{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.9rem}
.acc-opt{position:relative;display:flex;flex-direction:column;align-items:center;gap:.45rem;padding:.8rem .3rem;border-radius:12px;border:1px solid var(--bd);cursor:pointer;background:rgba(var(--ink-rgb),.02)}
.acc-opt input{position:absolute;opacity:0;pointer-events:none}
.acc-dot{width:34px;height:34px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 2px rgba(0,0,0,.25)}
.acc-n{font-size:.8rem;font-weight:600;color:var(--soft)}
.acc-opt:has(input:checked){border-color:var(--ink);background:rgba(var(--ink-rgb),.06)}
.acc-opt:has(input:checked) .acc-n{color:var(--ink)}
.acc-opt:has(input:checked) .acc-dot{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--ink)}
.acc-opt:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.acc-corail{--c:#e07a5f}.acc-rose{--c:#e2768e}.acc-ambre{--c:#e9a14f}.acc-menthe{--c:#25b7c9}.acc-ocean{--c:#4f9fe0}.acc-lavande{--c:#8796ad}
@media (min-width:760px){.acc-pick{grid-template-columns:repeat(6,1fr)}}

/* ===== Mode clair (bouton soleil/lune du menu, ou Réglages › Profil et apparence) ===== */
html[data-theme="light"]{--ink:#141416;--ink-rgb:20,20,22;--paper:#f6f5f2;--paper-rgb:246,245,242;--bg:#f6f5f2;--bg2:#eeede8;--card:#ffffff;--card2:#f1f0ec;--text:#141416;--muted:#66666d;--soft:#3d3d44;--dim:#8a8a91;--line:rgba(20,20,22,.1);--line2:rgba(20,20,22,.15);--bd:rgba(20,20,22,.1);--bd2:rgba(20,20,22,.16);--s1:rgba(20,20,22,.03);--s2:rgba(20,20,22,.05);color-scheme:light}
html[data-theme="light"] body{color:var(--text)}
html[data-theme="light"] .sx-hero,html[data-theme="light"] .lx-hero,html[data-theme="light"] .glv-hero,html[data-theme="light"] .stv-hero,html[data-theme="light"] .au2,html[data-theme="light"] .mg-hero,html[data-theme="light"] .mg-feat,html[data-theme="light"] .v2-tile,html[data-theme="light"] .gp-hero,html[data-theme="light"] .lx-game{--ink:#f4f4f3;--ink-rgb:244,244,243;--paper:#0b0b0c;--paper-rgb:11,11,12;--bg:#0b0b0c;--card:#151517;--card2:#1b1b1e;--text:#f4f4f3;--muted:#9b9ba2;--soft:#c9c9ce;--dim:#6f6f76;--bd:rgba(255,255,255,.08);--bd2:rgba(255,255,255,.14);color:#f4f4f3}
html[data-theme="light"] img.avatar,html[data-theme="light"] .avatar{color:#fff}
@media (prefers-color-scheme:light){
html[data-theme="auto"]{--ink:#141416;--ink-rgb:20,20,22;--paper:#f6f5f2;--paper-rgb:246,245,242;--bg:#f6f5f2;--bg2:#eeede8;--card:#ffffff;--card2:#f1f0ec;--text:#141416;--muted:#66666d;--soft:#3d3d44;--dim:#8a8a91;--line:rgba(20,20,22,.1);--line2:rgba(20,20,22,.15);--bd:rgba(20,20,22,.1);--bd2:rgba(20,20,22,.16);--s1:rgba(20,20,22,.03);--s2:rgba(20,20,22,.05);color-scheme:light}
html[data-theme="auto"] body{color:var(--text)}
html[data-theme="auto"] .sx-hero,html[data-theme="auto"] .lx-hero,html[data-theme="auto"] .glv-hero,html[data-theme="auto"] .stv-hero,html[data-theme="auto"] .au2,html[data-theme="auto"] .mg-hero,html[data-theme="auto"] .mg-feat,html[data-theme="auto"] .v2-tile,html[data-theme="auto"] .gp-hero,html[data-theme="auto"] .lx-game{--ink:#f4f4f3;--ink-rgb:244,244,243;--paper:#0b0b0c;--paper-rgb:11,11,12;--bg:#0b0b0c;--card:#151517;--card2:#1b1b1e;--text:#f4f4f3;--muted:#9b9ba2;--soft:#c9c9ce;--dim:#6f6f76;--bd:rgba(255,255,255,.08);--bd2:rgba(255,255,255,.14);color:#f4f4f3}
html[data-theme="auto"] img.avatar,html[data-theme="auto"] .avatar{color:#fff}
}

/* ===== menu ☰ : catégories qui s'ouvrent, bouton clair/sombre ===== */
.v2d-g{border-bottom:1px solid var(--bd)}
.v2d-g>summary{list-style:none;display:flex;align-items:center;gap:.85rem;min-height:50px;padding:.5rem .7rem;border-radius:10px;cursor:pointer;color:var(--soft);font-weight:600;font-size:.98rem}
.v2d-g>summary::-webkit-details-marker{display:none}
.v2d-g>summary .ico{width:20px;height:20px;flex:none;color:var(--muted)}
.v2d-g>summary span{flex:1}
.v2d-g>summary:hover{background:rgba(var(--ink-rgb),.04)}
.v2d-chev{width:9px;height:9px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s;flex:none;margin-right:.3rem}
.v2d-g[open]>summary .v2d-chev{transform:rotate(-135deg) translate(-2px,-2px)}
.v2d-g[open]>summary{color:var(--ink)}
.v2d-gi{padding:0 0 .5rem 1.1rem;display:flex;flex-direction:column;gap:1px}
.v2d-gi a,.v2d-gi .v2d-out button{min-height:40px!important;font-size:.93rem!important}
.v2d-nav>.v2d-t{display:none}
.v2d-nav>a:last-of-type{margin-bottom:.4rem}
.v2d-theme{display:flex;align-items:center;gap:.85rem;width:100%;min-height:50px;margin-top:.6rem;padding:.5rem .7rem;border:1px solid var(--bd);border-radius:12px;background:none;color:var(--ink);font:600 .95rem/1 inherit;cursor:pointer}
.v2d-theme .ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.v2d-theme span{flex:1;text-align:left}
.v2d-sw{position:relative;width:40px;height:24px;border-radius:99px;background:rgba(var(--ink-rgb),.15);flex:none}
.v2d-sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--ink);transition:transform .2s}
.ico-sun,.t-light{display:none}
html[data-theme="light"] .ico-sun,html[data-theme="light"] .t-light{display:inline}
html[data-theme="light"] .ico-moon,html[data-theme="light"] .t-dark{display:none}
html[data-theme="light"] .v2d-sw{background:var(--acc)}
html[data-theme="light"] .v2d-sw::after{transform:translateX(16px);background:#fff}
@media (prefers-color-scheme:light){
  html[data-theme="auto"] .ico-sun,html[data-theme="auto"] .t-light{display:inline}
  html[data-theme="auto"] .ico-moon,html[data-theme="auto"] .t-dark{display:none}
  html[data-theme="auto"] .v2d-sw{background:var(--acc)}
  html[data-theme="auto"] .v2d-sw::after{transform:translateX(16px);background:#fff}
}
/* choix du mode dans les réglages */
.th-dark{--c:#0b0b0c}.th-light{--c:#f6f5f2}.th-auto{--c:linear-gradient(135deg,#0b0b0c 50%,#f6f5f2 50%)}
.th-pick .acc-dot{background:var(--c);border:1px solid var(--bd2)}
@media (min-width:760px){.th-pick{grid-template-columns:repeat(3,1fr)}}
html[data-theme="light"] .pg-profil .profile-banner:not(img){background:linear-gradient(135deg,#e9e7e1,#f1efe9)!important}
@media (prefers-color-scheme:light){html[data-theme="auto"] .pg-profil .profile-banner:not(img){background:linear-gradient(135deg,#e9e7e1,#f1efe9)!important}}
/* fil sur PC : toutes les publications prennent la largeur de la colonne */
@media (min-width:1100px){.cm>*:not(.v2-rail){width:100%;min-width:0;justify-self:stretch;margin-left:0!important;margin-right:0!important;max-width:none!important}}
.cm-title{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--ink)!important}

/* ===== badges de rôle (Superadmin, Admin, Modo…) : sobres, comme le reste du site ===== */
.rbadge,.rbadge[class*=" r-"]{display:inline-flex!important;align-items:center;gap:.32rem;vertical-align:middle;padding:.12rem .5rem .12rem .4rem!important;border-radius:6px!important;background:rgba(var(--ink-rgb),.06)!important;background-image:none!important;border:1px solid rgba(var(--ink-rgb),.12)!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;animation:none!important;color:var(--soft)!important;-webkit-text-fill-color:currentColor!important;font:600 .7rem/1.25 Inter,-apple-system,system-ui,sans-serif!important;letter-spacing:.02em!important;text-transform:none!important;white-space:nowrap}
.rbadge::before,.rbadge::after{display:none!important}
.rbadge span{color:inherit!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.rbadge .rb-ic{display:inline-block!important;width:7px!important;height:7px!important;border-radius:50%;background:var(--rbc,var(--muted))!important;background-image:none!important;box-shadow:none!important;-webkit-mask:none!important;mask:none!important;flex:none}
.rbadge .rb-ic::before,.rbadge .rb-ic::after{display:none!important}
.rbadge.r-superadmin,.rbadge.r-admin{--rbc:var(--acc)}
.rbadge.r-moderator{--rbc:#4fc4a0}
.rbadge.r-editor{--rbc:#4f9fe0}
.rbadge.r-contributor{--rbc:#a48be8}

/* ===== titres avec mascotte ===== */
/* version 2 (partout) : la mascotte en fond de l'étiquette, à droite, sans dépasser */
.ttl2.has-m{position:relative;overflow:hidden;padding-right:2.6rem!important;background:linear-gradient(90deg,rgba(var(--ink-rgb),.06) 40%,rgba(var(--acc-rgb),.22))!important}
.ttl2.has-m .ttl2-m{position:absolute;right:-.2rem;top:50%;width:2.6rem;height:2.6rem;margin-top:-1.15rem;object-fit:contain;pointer-events:none}
.ttl2.has-m .ttl2-d,.ttl2.has-m .tt{position:relative;z-index:1}
/* version 1 (profil et inventaire) : la tête dépasse de l'étiquette, derrière le texte */
.pg-profil .profile-id .ttl2.has-m,.pg-inventaire .ttl2.has-m{overflow:visible;margin-top:1.4rem;padding:.35rem .75rem .35rem 3.3rem!important;font-size:.9rem;background:rgba(var(--ink-rgb),.06)!important}
.pg-profil .profile-id .ttl2.has-m .ttl2-m,.pg-inventaire .ttl2.has-m .ttl2-m{left:-.3rem;right:auto;top:auto;bottom:-.15rem;margin:0;width:3.6rem;height:3.6rem;transform:rotate(-6deg);filter:drop-shadow(0 4px 8px rgba(0,0,0,.35))}

/* ===== badges à côté du nom (profil), façon Discord : une pastille compacte sur la même ligne ===== */
.pid-chips{display:flex!important;flex-wrap:wrap;align-items:center;gap:.4rem!important}
.pid-chips .pbadges{margin:0!important;padding:.2rem .35rem!important;gap:.2rem!important;border-radius:8px;background:rgba(var(--ink-rgb),.06);border:1px solid rgba(var(--ink-rgb),.12);min-height:0}
.pid-chips .pbadges .pbd .bdg{width:22px!important;height:22px!important;border-width:0!important;background:none!important}
.pid-chips .pbadges .pbd .bdg .bpx,.pid-chips .pbadges .pbd .rw-img{width:20px!important;height:20px!important}
.pbadges .bdg::before,.pbadges .bdg::after,.pbadges .pbd::before,.pbadges .pbd::after,.pbadges .spark,.pbadges .bdg-spark{display:none!important}
.pbadges .bdg{box-shadow:none!important;animation:none!important}
.pid-chips .pbd-empty{width:22px!important;height:22px!important;font-size:.8rem!important;border-radius:6px!important}
/* coche de certification : de nouveau en couleur (bleu), sans halo */
.cert-verified{--cc:#4f9fe0}
.cert-company{--cc:#f2c14e}
.cert-donor{--cc:#a48be8}
.cert-streamer{--cc:#2bd96b}
.cert-ico{filter:none!important}
.pid-chips .pbadges{height:30px;align-items:center;box-sizing:border-box}.pid-chips .pbadges .pbd,.pid-chips .pbadges .pbd>summary{display:inline-flex;margin:0!important;padding:0!important;line-height:0}
/* badges juste à droite du pseudo et de la coche (façon Discord) */
.pid-nrow{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:.35rem}
.pid-nrow .pid-name{margin:0!important}
.pid-nrow .pbadges{margin:0!important;padding:.2rem .35rem!important;gap:.2rem!important;height:30px;align-items:center;box-sizing:border-box;border-radius:8px;background:rgba(var(--ink-rgb),.06);border:1px solid rgba(var(--ink-rgb),.12)}
.pid-nrow .pbadges .pbd,.pid-nrow .pbadges .pbd>summary{display:inline-flex;margin:0!important;padding:0!important;line-height:0}
.pid-nrow .pbadges .pbd .bdg{width:22px!important;height:22px!important;border-width:0!important;background:none!important}
.pid-nrow .pbadges .pbd .bdg .bpx,.pid-nrow .pbadges .pbd .rw-img{width:20px!important;height:20px!important}
.pid-nrow .pbd-empty{width:22px!important;height:22px!important;font-size:.8rem!important;border-radius:6px!important}
/* la case « + » et les badges restent dans la pastille, quel que soit le nombre de badges (le summary gardait 36 px de hauteur minimum) */
.pbadges .pbd>summary{min-height:0!important;height:auto!important;align-items:center}
.pid-nrow .pbadges,.pid-chips .pbadges{height:auto!important;min-height:30px;flex-wrap:nowrap!important}
.pid-nrow .pbadges .pbd,.pid-chips .pbadges .pbd{align-items:center;height:22px}

/* ===== titres illustrés : plus de point de couleur, dégradé assorti à la mascotte ===== */
.ttl2.has-m{--g1:#2a2a2e;--g2:#3a3a40;background:linear-gradient(100deg,var(--g1),var(--g2))!important;border:1px solid rgba(255,255,255,.18)!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.ttl2.has-m .tt{color:#fff!important;font-weight:700}
.ttl2.th-flamant{--g1:#c2185b;--g2:#ff7aa8}
.ttl2.th-alligator{--g1:#1b6b3a;--g2:#e8a63a}
.ttl2.th-iguane{--g1:#1f7a4d;--g2:#2bb3a3}
.ttl2.th-lamantin{--g1:#3b2a8f;--g2:#c04bd8}
.ttl2.th-mouette{--g1:#1e6fd0;--g2:#f2c14e}
.ttl2.th-pelican{--g1:#1a3d7a;--g2:#4f9fe0}
.ttl2.th-raton{--g1:#22242b;--g2:#4a5160}
.ttl2.th-tatou{--g1:#8a5a20;--g2:#e0b04f}
.ttl2.th-crabe{--g1:#b8321c;--g2:#e8a23a}
.ttl2.th-hibou{--g1:#1f5a32;--g2:#c9772b}
.ttl2.th-panthere{--g1:#8c1414;--g2:#e8b23a}
/* le « Magnat » (flamant d'affaires) : plus doré que le Pionnier */
.ttl2.th-flamant:has(img[src*="flamant-empire"]){--g1:#7a1f4a;--g2:#e0a84f}
.pg-profil .profile-id .ttl2.has-m,.pg-inventaire .ttl2.has-m{background:linear-gradient(100deg,var(--g1),var(--g2))!important}
/* titres illustrés : texte bien lisible même sur la partie claire du dégradé */
.ttl2.has-m .tt{text-shadow:0 1px 3px rgba(0,0,0,.55)}

/* ===== rareté des titres : reflet qui passe (légendaire), plus rapide et doré + liseré irisé (mythique) ===== */
.ttl2.r-legendary,.ttl2.r-mythic{position:relative}
.ttl2.r-legendary::after,.ttl2.r-mythic::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.55) 50%,transparent 60%) no-repeat;background-size:300% 100%;background-position:130% 0;animation:ttl-shine 3.6s ease-in-out infinite}
.ttl2.r-mythic::after{background-image:linear-gradient(105deg,transparent 38%,rgba(255,236,190,.8) 50%,transparent 62%);animation-duration:2.6s}
@keyframes ttl-shine{0%{background-position:130% 0}60%,100%{background-position:-30% 0}}
.ttl2.r-legendary{border-color:rgba(242,193,78,.75)!important}
.ttl2.r-mythic{border-color:transparent!important}
.ttl2.r-mythic::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:linear-gradient(90deg,#ff7a6b,#f2c14e,#4fc4a0,#4f9fe0,#a48be8,#ff7a6b);background-size:300% 100%;animation:ttl-iris 6s linear infinite;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
@keyframes ttl-iris{to{background-position:300% 0}}
@media (prefers-reduced-motion:reduce){.ttl2.r-legendary::after,.ttl2.r-mythic::after,.ttl2.r-mythic::before{animation:none}.ttl2.r-legendary::after,.ttl2.r-mythic::after{display:none}}

/* ===== inventaire v2 : cartes propres, lisibles en clair comme en sombre ===== */
.inv2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.6rem!important}
.inv2 .inv-card{position:relative;display:flex!important;flex-direction:column;align-items:stretch;gap:.6rem;min-width:0;min-height:0!important;padding:.75rem!important;border-radius:var(--r)!important;
  background:var(--card)!important;background-image:none!important;border:1px solid var(--bd)!important;box-shadow:none!important;color:var(--text)!important;overflow:hidden;text-align:left!important;animation:none!important;transform:none!important}
.inv2 .inv-card::before,.inv2 .inv-card::after,.inv2 .inv-card .stars,.inv2 .inv-card .holo,.inv2 .inv-card [class*="spark"],.inv2 .inv-card [class*="aurora"]{display:none!important}
/* rareté : un simple liseré de couleur en haut de la carte */
.inv2 .inv-card{--rk:#a8a8ae}
.inv2 .inv-card.r-uncommon{--rk:#4fc4a0}.inv2 .inv-card.r-rare{--rk:#4f9fe0}.inv2 .inv-card.r-epic{--rk:#a48be8}.inv2 .inv-card.r-legendary{--rk:#f2c14e}.inv2 .inv-card.r-mythic{--rk:#ff7a6b}
.inv2 .inv-card{border-top:3px solid var(--rk)!important}
.inv2 .inv-card.is-eq{outline:2px solid var(--acc);outline-offset:-2px}
/* en-tête : type à gauche, rareté à droite */
.inv2 .inv-kind{position:static!important;align-self:flex-start;margin:0!important;padding:.15rem .5rem!important;border-radius:6px!important;background:rgba(var(--ink-rgb),.07)!important;color:var(--muted)!important;border:0!important;box-shadow:none!important;font:700 .62rem/1.3 Inter,system-ui,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase}
/* zone visuelle : hauteur fixe, contenu centré, rien ne dépasse */
.inv2 .inv-art{display:flex!important;align-items:center;justify-content:center;height:92px!important;min-height:0!important;margin:0!important;padding:0 .2rem;border-radius:10px;background:rgba(var(--ink-rgb),.035)!important;overflow:hidden}
.inv2 .inv-art .ttl2{max-width:100%;font-size:.78rem}
.inv2 .inv-art .ttl2 .tt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.inv2 .inv-art .ttl2.has-m{margin:0!important;padding:.25rem 2.3rem .25rem .55rem!important;overflow:hidden!important}
.inv2 .inv-art .ttl2.has-m .ttl2-m{left:auto!important;right:-.2rem!important;top:50%!important;bottom:auto!important;width:2.4rem!important;height:2.4rem!important;margin-top:-1.1rem!important;transform:none!important;filter:none!important}
.inv2 .inv-art img:not(.ttl2-m){max-width:72px;max-height:72px;object-fit:contain}
.inv2 .inv-art .bdg,.inv2 .inv-art .avw{transform:none!important;width:64px!important;height:64px!important;box-shadow:none!important;filter:none!important}
.inv2 .inv-art .bdg::before,.inv2 .inv-art .bdg::after{display:none!important}
.inv2 .inv-name{font-size:.88rem;font-weight:700;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text)!important;margin:0!important}
.inv2 .inv-meta{display:flex!important;flex-wrap:wrap;gap:.3rem;justify-content:flex-start!important;margin:0!important}
.inv2 .inv-meta .pill,.inv2 .inv-meta [class*="rchip"],.inv2 .inv-meta .rar{display:inline-flex;align-items:center;gap:.3rem;padding:.12rem .5rem!important;border-radius:6px!important;background:rgba(var(--ink-rgb),.06)!important;background-image:none!important;border:1px solid rgba(var(--ink-rgb),.1)!important;color:var(--soft)!important;box-shadow:none!important;text-shadow:none!important;font:600 .7rem/1.3 Inter,system-ui,sans-serif!important;animation:none!important}
.inv2 .inv-meta > :first-child::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--rk);flex:none}
.inv2 .inv-meta > :first-child i,.inv2 .inv-meta > :first-child svg{display:none!important}
.inv2 .inv-act{margin:0!important}
.inv2 .inv-act .btn{min-height:38px!important;font-size:.85rem!important;border-radius:10px!important}
.inv2 .inv-more{margin:0!important;color:var(--muted)}
.inv2 .inv-more summary{font-size:.8rem;cursor:pointer;color:var(--muted)!important}
.inv2 .inv-more p{color:var(--muted)!important}
@media (min-width:760px){.inv2{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (min-width:1100px){.inv2{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
.inv2 .inv-meta .rar > span[aria-hidden]{display:none!important}
.inv2 .inv-art .ttl2{box-shadow:none!important;filter:none!important;white-space:normal!important;text-align:left;line-height:1.2}
.inv2 .inv-art .ttl2 .tt{white-space:normal!important;overflow:visible;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.inv2 .inv-art .ttl2.has-m{padding-right:2.4rem!important}
.inv2 .inv-meta .rar::after{display:none!important}.inv2 .inv-meta .rar{overflow:hidden}

/* Harmonie : boutons des pages jeux côte à côte, même hauteur et même largeur */
.gp-hero .lx-ctas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;width:100%;max-width:26rem;margin-left:auto;margin-right:auto}
.gp-hero .lx-ctas .lx-btn{width:100%;min-height:50px;padding:0 1rem;white-space:nowrap}
/* « Comment ça marche » : icône + titre en tête de carte */
.gp-feat .gp-fi{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:1.15rem;line-height:1;background:rgba(var(--ink-rgb),.06);border:1px solid var(--bd)}
.gp-feat li{background:var(--card)!important;border-color:var(--bd)!important}
.gp-feat em{color:rgba(var(--ink-rgb),.08)}
/* Vitrine de l'inventaire : cartes de même hauteur, boutons alignés en bas */
.inv-vit-row{align-items:stretch}
.inv-vit-row .vit-i{justify-content:flex-start;min-width:0}
.inv-vit-row .vit-i strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-align:center;min-height:2.4em}
.inv-vit-row .vit-i .row{margin-top:auto;display:flex;gap:.25rem;width:100%}
.inv-vit-row .vit-i .row form{flex:1 1 0;min-width:0;margin:0}
.inv-vit-row .vit-i .row .inv-x{width:100%;min-height:30px;padding:0 .4rem;font-size:.7rem;white-space:nowrap}
.inv-vit-row .vit-empty{justify-content:center}
.inv-vit-row{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:640px){.inv-vit-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
.inv-vit-row .vit-i .row .inv-x{border:1px solid var(--bd2);border-radius:999px;background:transparent;color:var(--text)}
html[data-theme="light"] .inv-vit-row .vit-i:not(.vit-empty){background:var(--card)!important;color:var(--text)}
@media (prefers-color-scheme:light){html[data-theme="auto"] .inv-vit-row .vit-i:not(.vit-empty){background:var(--card)!important;color:var(--text)}}
.inv-vit-row .vit-empty{border:1.5px dashed var(--bd2)!important;background:transparent!important;color:var(--muted)}

/* Images v2 : accueil (Vice City de nuit) et connexion / inscription (Jason et Lucia) */
.lx-media picture{display:contents}
.v2h .lx-poster{object-position:50% 40%!important}
.au2 .au-art{background-image:url(/assets/img/v2/auth-m.jpg)!important;background-image:image-set(url(/assets/img/v2/auth-m.webp) type("image/webp"),url(/assets/img/v2/auth-m.jpg) type("image/jpeg"))!important;background-position:55% 20%!important}
@media (min-width:760px){.au2 .au-art{background-image:url(/assets/img/v2/auth.jpg)!important;background-image:image-set(url(/assets/img/v2/auth.webp) type("image/webp"),url(/assets/img/v2/auth.jpg) type("image/jpeg"))!important;background-position:50% 30%!important}}
html .au2 .au-tabs a.on,html[data-theme] .au2 .au-tabs a.on{background:#f4f4f3!important;color:#0b0b0c!important}html .au2 .au-tabs a:not(.on),html[data-theme] .au2 .au-tabs a:not(.on){color:rgba(244,244,243,.78)!important}html[data-theme] .au2 .au-tabs{background:rgba(11,11,12,.45)!important;border-color:rgba(255,255,255,.12)!important}

/* ===== Barre d'alertes (Admin › Alertes) ===== */
.gv-alerts{position:relative;z-index:21}
.gv-alerts[hidden],.gv-al[hidden]{display:none!important}
.gv-al{--al:var(--acc);--al-rgb:var(--acc-rgb);background:linear-gradient(90deg,rgba(var(--al-rgb),.2),rgba(var(--al-rgb),.12));border-bottom:1px solid rgba(var(--al-rgb),.35);color:var(--text)}
.gv-al.al-warn{--al:#f2a93b;--al-rgb:242,169,59}
.gv-al.al-ok{--al:#3ecf8e;--al-rgb:62,207,142}
.gv-al.al-info{--al:#5aa9e6;--al-rgb:90,169,230}
.gv-al-in{display:flex;align-items:center;gap:.7rem;max-width:1180px;margin:0 auto;padding:.55rem .6rem .55rem 1rem;min-height:44px}
.gv-al-ic{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--al);color:#0b0b0c;font:900 .75rem/1 Inter,system-ui,sans-serif}
.gv-al p{flex:1;min-width:0;margin:0;font-size:.86rem;line-height:1.4;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.5rem;row-gap:.1rem}
.gv-al-t{font-weight:800;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--al)}
.gv-al p span{color:var(--text)}
.gv-al p a{font-weight:700;color:var(--text);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.gv-al-x{flex:none;display:grid;place-items:center;width:36px;height:36px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer}
.gv-al-x:hover{background:rgba(var(--ink-rgb),.08);color:var(--text)}
.gv-al-x .ico{width:16px;height:16px}
@media (min-width:760px){.gv-al-in{justify-content:center;padding:.5rem 1rem}.gv-al p{flex:0 1 auto;justify-content:center}}
html[data-theme="light"] .gv-al.al-warn{--al:#c77700}
html[data-theme="light"] .gv-al.al-ok{--al:#1a9c62}
html[data-theme="light"] .gv-al.al-info{--al:#2a7fc4}
@media (prefers-color-scheme:light){html[data-theme="auto"] .gv-al.al-warn{--al:#c77700}html[data-theme="auto"] .gv-al.al-ok{--al:#1a9c62}html[data-theme="auto"] .gv-al.al-info{--al:#2a7fc4}}
html[data-theme="light"] .gv-al-ic{color:#fff}
@media (prefers-color-scheme:light){html[data-theme="auto"] .gv-al-ic{color:#fff}}

/* Admin › Alertes */
.al-adm-intro{margin:-.4rem 0 1rem;max-width:62ch}
.al-adm-form form{display:flex;flex-direction:column;gap:.9rem}
.al-adm-lv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;border:0;margin:0;padding:0}
.al-adm-lv legend{font-weight:700;font-size:.85rem;margin-bottom:.45rem;padding:0}
@media (min-width:760px){.al-adm-lv{grid-template-columns:repeat(4,minmax(0,1fr))}}
.al-lv{position:relative;cursor:pointer}
.al-lv input{position:absolute;opacity:0;pointer-events:none}
.al-lv span{display:flex;align-items:center;gap:.5rem;min-height:46px;padding:0 .8rem;border-radius:12px;border:1px solid var(--bd2);font-weight:700;font-size:.86rem}
.al-lv i{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-style:normal;font-size:.72rem;font-weight:900;color:#0b0b0c;background:var(--acc)}
.al-lv.al-warn i,.al-adm-tag.al-warn{background:#f2a93b}
.al-lv.al-ok i,.al-adm-tag.al-ok{background:#3ecf8e}
.al-lv.al-info i,.al-adm-tag.al-info{background:#5aa9e6}
.al-lv input:checked+span{border-color:var(--text);background:rgba(var(--ink-rgb),.06)}
.al-lv input:focus-visible+span{outline:2px solid var(--acc);outline-offset:2px}
.al-adm-2{display:grid;grid-template-columns:1fr;gap:.9rem;align-items:end}
@media (min-width:760px){.al-adm-2{grid-template-columns:1fr 1fr}}
.al-adm-chk{display:flex;align-items:center;gap:.55rem;min-height:46px;font-size:.9rem;cursor:pointer}
.al-adm-chk input{width:20px;height:20px;accent-color:var(--acc)}
.al-adm-act{display:flex;gap:.6rem;flex-wrap:wrap}
.al-adm-act .btn{min-height:46px}
.al-adm-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem}
.al-adm-it{padding:.9rem 1rem;border-radius:14px;border:1px solid var(--bd);background:var(--card2)}
.al-adm-it.is-off{opacity:.6}
.al-adm-it p{margin:.5rem 0 .3rem;line-height:1.45}
.al-adm-top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.al-adm-tag{display:inline-flex;align-items:center;padding:.15rem .55rem;border-radius:999px;font-size:.7rem;font-weight:800;color:#0b0b0c;background:var(--acc)}
.al-adm-st{font-size:.78rem;color:var(--muted)}
.al-adm-it.is-on .al-adm-st{color:#3ecf8e}
.al-adm-btns{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
.al-adm-btns form{margin:0}
.al-adm-btns .btn{min-height:36px;padding:0 .9rem;font-size:.82rem}
.al-adm-del{color:#ef5350!important}

/* Connexion / inscription : même cadrage de photo sur les deux pages (hauteur de l'écran, pas du formulaire) */
.au2 .au-art{bottom:auto!important;height:calc(100vh - 64px)!important;height:calc(100svh - 64px)!important}
@media (min-width:1100px){
  .au2 .au-art{position:sticky!important;inset:auto!important;top:72px!important;right:auto!important;height:calc(100vh - 72px)!important;grid-column:1;grid-row:1}
  .au2 .au-card{grid-column:2;grid-row:1}
}

/* Avatars : toujours un rond parfait, même quand un « span{flex:1} » de la ligne s'applique aussi à l'initiale */
.avatar{flex:0 0 auto!important;aspect-ratio:1/1}
.grp-f span:not(.avatar){flex:1}
.grp-f>span.avatar{flex:0 0 auto!important}

/* Notifications : pastille rouge à droite des nouvelles notifications */
.nt.is-new::after,.nt-pack.is-new>summary::after{content:"";flex:none;order:99;width:10px;height:10px;margin-left:auto;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 3px rgba(255,59,48,.18)}
.nt.is-new .nt-cta,.nt.is-new .nt-done,.nt-pack.is-new>summary .nt-chev{margin-left:auto}
.nt.is-new .nt-cta~*,.nt.is-new .nt-done~*{margin-left:0}
.nt.is-new .nt-t b,.nt.is-new .nt-t>span{color:var(--text)}

/* Groupes : « Vu par … » sous mon dernier message */
.grp-seen{display:flex;align-items:center;justify-content:flex-end;gap:.3rem;margin:-.15rem .4rem .5rem auto;padding-right:44px;font-size:.72rem;font-weight:600;color:var(--muted)}
.grp-seen .ico{width:13px;height:13px;flex:none;opacity:.8}
.grp-seen span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:75vw}
html[data-theme="light"] .cmsg .tr-btn{color:#5c5c63!important;opacity:1!important}
@media (prefers-color-scheme:light){html[data-theme="auto"] .cmsg .tr-btn{color:#5c5c63!important;opacity:1!important}}

/* Logo : « Leonida » + « COMMUNITY » en petit dessous */
.v2-word{display:inline-flex;flex-direction:column;line-height:.95}
.brand .v2-word small,.v2-word small,.au-brand b small{display:block!important;margin-top:2px;font:800 .5rem/1 Inter,system-ui,sans-serif;letter-spacing:.32em;text-transform:uppercase;color:var(--acc)}
.au-brand b{display:inline-flex;flex-direction:column;line-height:.95}
.au-brand b small{font-size:.58rem;margin-top:4px}

/* Barre d'alertes plus fine sur téléphone */
@media (max-width:759px){
  .gv-al-in{gap:.55rem;min-height:0;padding:.4rem .3rem .4rem .8rem}
  .gv-al p{font-size:.8rem;line-height:1.35;display:block}
  .gv-al-t{font-size:.66rem;margin-right:.35rem}
  .gv-al p a{margin-left:.35rem}
  .gv-al-ic{width:18px;height:18px;font-size:.62rem}
  .gv-al-x{width:30px;height:30px}
}
/* Accueil : titre qui respire sur les petits écrans (320–375 px) */
@media (max-width:380px){.v2h .lx-title{font-size:clamp(2.3rem,12.5vw,3rem)!important;line-height:.95!important}.v2h .lx-cd [data-cd] span{min-width:0}}
@media (max-width:359px){.topbar-right>.btn-ghost.btn-sm,.topbar-right a.btn-ghost.btn-sm[href*="login"]{display:none!important}}

/* Vignette vidéo pendant le chargement (ou si le téléphone bloque la lecture auto) : fond propre au lieu du noir */
.vtile{background:radial-gradient(120% 90% at 30% 20%,rgba(var(--acc-rgb),.35),transparent 60%),linear-gradient(160deg,#1d1d21,#0d0d0f)!important}
.vtile video{opacity:0;transition:opacity .25s}
.vtile.has-frame video{opacity:1}
.vtile:not(.has-frame)::after{content:"Vidéo";position:absolute;left:12px;bottom:10px;font:800 .7rem/1 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.75)}

/* Titres de section : petite icône dans la couleur du site au lieu du tiret */
.v2-lbl[data-ic]::before{width:15px;height:15px;flex:none;background:var(--acc);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.v2-lbl[data-ic]{gap:.45rem}
.v2-lbl[data-ic="bell"]{--ic:url(/assets/img/lbl/bell.svg)}
.v2-lbl[data-ic="book"]{--ic:url(/assets/img/lbl/book.svg)}
.v2-lbl[data-ic="bookmark"]{--ic:url(/assets/img/lbl/bookmark.svg)}
.v2-lbl[data-ic="box"]{--ic:url(/assets/img/lbl/box.svg)}
.v2-lbl[data-ic="car"]{--ic:url(/assets/img/lbl/car.svg)}
.v2-lbl[data-ic="chart"]{--ic:url(/assets/img/lbl/chart.svg)}
.v2-lbl[data-ic="compass"]{--ic:url(/assets/img/lbl/compass.svg)}
.v2-lbl[data-ic="flag"]{--ic:url(/assets/img/lbl/flag.svg)}
.v2-lbl[data-ic="gamepad"]{--ic:url(/assets/img/lbl/gamepad.svg)}
.v2-lbl[data-ic="gift"]{--ic:url(/assets/img/lbl/gift.svg)}
.v2-lbl[data-ic="help"]{--ic:url(/assets/img/lbl/help.svg)}
.v2-lbl[data-ic="image"]{--ic:url(/assets/img/lbl/image.svg)}
.v2-lbl[data-ic="leonida"]{--ic:url(/assets/img/lbl/leonida.svg)}
.v2-lbl[data-ic="mail"]{--ic:url(/assets/img/lbl/mail.svg)}
.v2-lbl[data-ic="map"]{--ic:url(/assets/img/lbl/map.svg)}
.v2-lbl[data-ic="news"]{--ic:url(/assets/img/lbl/news.svg)}
.v2-lbl[data-ic="search"]{--ic:url(/assets/img/lbl/search.svg)}
.v2-lbl[data-ic="settings"]{--ic:url(/assets/img/lbl/settings.svg)}
.v2-lbl[data-ic="shield"]{--ic:url(/assets/img/lbl/shield.svg)}
.v2-lbl[data-ic="star"]{--ic:url(/assets/img/lbl/star.svg)}
.v2-lbl[data-ic="ticket"]{--ic:url(/assets/img/lbl/ticket.svg)}
.v2-lbl[data-ic="trophy"]{--ic:url(/assets/img/lbl/trophy.svg)}
.v2-lbl[data-ic="user"]{--ic:url(/assets/img/lbl/user.svg)}
.v2-lbl[data-ic="users"]{--ic:url(/assets/img/lbl/users.svg)}

/* Profil : pastille « Ami(e) » (abonnement mutuel), sobre comme les rôles */
.pid-friend,.pid-chips .pid-friend{gap:.38rem!important;padding:.2rem .65rem .2rem .5rem!important;border-radius:8px!important;font-size:.78rem!important;font-weight:700!important;color:var(--text)!important;background:rgba(var(--ink-rgb),.06)!important;border:1px solid var(--bd2)!important;box-shadow:none!important;text-shadow:none!important}
.pid-friend .ico{width:15px;height:15px;color:var(--acc);stroke-width:2.2}

/* Nouvelle publication : plein écran propre quand le clavier est ouvert (plus de page visible derrière,
   la barre photo/vidéo/sondage reste collée en bas de la fenêtre, juste au-dessus du clavier) */
@media (max-width:699px){
.composer.open{background:var(--bg)!important;box-shadow:0 0 0 100vmax var(--bg)!important;overscroll-behavior:contain}
.composer.open .cp-bar{background:var(--bg)!important;border-top:1px solid var(--bd);box-shadow:0 30px 0 30px var(--bg)}
}
.composer.open #cp-text{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
body.lb-lock{overflow:hidden;touch-action:none}
body.lb-lock .composer.open{touch-action:auto}

/* Profil : la bannière touche la barre du haut (plus de bande noire), sans changer son format (pas de perte de qualité) */
main.content:has(> .profile:first-child){padding-top:0!important}
@media (max-width:759px){main.content:has(> .profile:first-child) .profile-banner,main.content:has(> .profile:first-child) .profile-banner-img{border-radius:0!important;border-left:0!important;border-right:0!important;border-top:0!important}}

/* Profil : titre version sobre (la mascotte reste dans l'étiquette, rien ne dépasse), un peu plus grand qu'ailleurs */
.pg-profil .profile-id .ttl2.has-m{overflow:hidden!important;margin-top:.35rem!important;padding:.4rem 3.1rem .4rem .8rem!important;font-size:.92rem!important}
.pg-profil .profile-id .ttl2.has-m .ttl2-m{left:auto!important;right:-.15rem!important;top:50%!important;bottom:auto!important;width:3rem!important;height:3rem!important;margin-top:-1.35rem!important;transform:none!important;filter:none!important}

/* Bulles de description (badges, rôle, certification) : plus grandes et lisibles, dans le thème v2 */
.pbd-pop{width:min(280px,calc(100vw - 32px))!important;padding:.95rem 1rem!important;gap:.4rem!important;border-radius:16px!important;background:var(--card2)!important;border:1px solid var(--bd2)!important;box-shadow:0 18px 40px rgba(0,0,0,.45)!important;color:var(--text)!important}
.pbd-pop strong{font-size:1rem!important;line-height:1.25;color:var(--text)!important}
.pbd-pop .muted,.pbd-pop .small{font-size:.86rem!important;line-height:1.45!important;color:var(--soft)!important;opacity:1!important}
.pbd-pop::before{border-bottom-color:var(--card2)!important}
html[data-theme="light"] .pbd-pop{box-shadow:0 14px 34px rgba(0,0,0,.14)!important}
/* rôle et certification : la bulle part du bord gauche de la pastille (ne sort jamais de l'écran) */
.rpop,.cpop{display:inline-block;vertical-align:middle}
.rpop>summary,.cpop>summary{border-radius:8px!important;display:inline-flex}
.rpop .pbd-pop,.cpop .pbd-pop{left:0!important;transform:none!important;align-items:flex-start!important;text-align:left!important}
.cpop{margin-left:.15rem}
.cpop .pbd-pop strong{display:inline-flex;align-items:center;gap:.35rem}
.cpop .pbd-pop strong .ico{width:18px;height:18px;color:#4f9fe0}
.cpop-t{font-weight:700;font-size:.9rem;color:var(--acc)}
.cpop-n{font-size:.74rem;color:var(--muted);line-height:1.4}
.pid-nrow{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}
/* pas de petite flèche sous les bulles rôle / certification (elles partent du bord gauche) */
.rpop .pbd-pop::before,.cpop .pbd-pop::before,.rpop .pbd-pop::after,.cpop .pbd-pop::after{display:none!important}

/* Profil : bio dans une carte avec l'étiquette « Bio », le titre passe en dessous */
.pid-bio{margin:.7rem 0 .2rem;padding:.7rem .9rem .8rem;border-radius:14px;background:var(--card2);border:1px solid var(--bd)}
.pid-bio-l{display:block;margin-bottom:.25rem;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--acc)}
.pid-bio .bio{margin:0!important;font-size:.95rem;line-height:1.5;color:var(--text);overflow-wrap:anywhere}
.pid-bio+.ttl-wrap{margin-top:.6rem}
.pid-bio{align-self:stretch;width:100%;box-sizing:border-box}

/* Profil › Badges : cartes lisibles dans les deux thèmes (fond de l'icône toujours sombre, textes aux couleurs du thème) */
.badge-row{display:flex!important;align-items:center;gap:.9rem;background:var(--card)!important;border:1px solid var(--bd)!important;color:var(--text)!important;box-shadow:none!important}
.badge-row strong{color:var(--text)!important;-webkit-text-fill-color:currentColor!important;background:none!important;text-shadow:none!important}
.badge-row p.muted,.badge-row .muted{color:var(--muted)!important;opacity:1!important;margin:.25rem 0 0}
html .badge-row .bdg,html[data-theme] .badge-row .bdg{flex:none;background:radial-gradient(circle at 50% 35%,#2a2a2f,#141416)!important}
html[data-theme="light"] .badge-row .bdg{box-shadow:0 2px 8px rgba(0,0,0,.18)}
@media (prefers-color-scheme:light){html[data-theme="auto"] .badge-row .bdg{box-shadow:0 2px 8px rgba(0,0,0,.18)}}

/* Petits messages (toast) : lisibles dans les deux thèmes */
.toast{background:var(--ink)!important;color:var(--paper)!important;border:0!important;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.toast.err{background:#ef5350!important;color:#fff!important}

/* Équipe : titre centré sous le pseudo */
.team-card .ttl-wrap{justify-content:center!important;width:100%;margin:.35rem 0}
.team-card{text-align:center;align-items:center}

/* Fil : chargement continu en bas de page */
.fm-load{display:flex;justify-content:center;gap:.4rem;padding:1.4rem 0}
.fm-load i{width:8px;height:8px;border-radius:50%;background:var(--acc);animation:fmDot 1s ease-in-out infinite}
.fm-load i:nth-child(2){animation-delay:.15s}.fm-load i:nth-child(3){animation-delay:.3s}
@keyframes fmDot{0%,100%{opacity:.4;transform:translateY(0)}50%{opacity:1;transform:translateY(-5px)}}
.fm-end{width:100%;margin:1rem 0 .5rem;text-align:center;font-size:.86rem;color:var(--muted)}

/* Boutons : sur les très petits écrans, le texte passe à la ligne au lieu de déborder */
@media (max-width:360px){.btn{white-space:normal;text-align:center;line-height:1.2;height:auto;min-height:40px;padding-top:.4rem;padding-bottom:.4rem}}
@media (max-width:360px){html .btn,html .btn-sm{white-space:normal!important}.mp-bar .btn{width:auto!important;flex:1 1 auto}}
/* champs « membre » de l'admin en type recherche : même apparence que les autres champs */
input[type="search"][name="membre"]{-webkit-appearance:none;appearance:none}
input[type="search"][name="membre"]::-webkit-search-cancel-button{display:none}

/* Story : toucher la publication partagée fait apparaître une bulle « Voir la publication » à l'endroit touché */
.sv-post{position:absolute;z-index:8;left:50%;top:50%;display:inline-flex;align-items:center;gap:.5rem;min-height:48px;padding:0 1.1rem 0 .9rem;border-radius:14px;background:rgba(20,20,22,.92);border:1px solid rgba(255,255,255,.16);color:#fff!important;font-weight:700;font-size:.95rem;text-decoration:none!important;box-shadow:0 14px 34px rgba(0,0,0,.5);white-space:nowrap;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:svPop .16s ease-out}
.sv-post[hidden]{display:none}
.sv-post svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;color:var(--acc)}
.sv-post span{font-size:1.25rem;line-height:1;opacity:.7}
.sv-post::after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;margin-left:-6px;background:inherit;border-right:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16);transform:rotate(45deg)}
@keyframes svPop{from{opacity:0;transform:scale(.9)}to{opacity:1;transform:none}}

/* Profil : avatar dans un bloc pour poser le + (ajouter une story), comme Instagram */
.pf-av{position:relative;display:inline-block;width:max-content;align-self:flex-start}
.pg-profil .profile-id>.pf-av>a:first-child .av,.pg-profil .profile-id>.pf-av>.av,.pg-profil .profile-id>.pf-av>.avw .av,.pg-profil .profile-id>.pf-av .av{border:4px solid var(--bg)!important;box-shadow:none!important;width:92px!important;height:92px!important;font-size:2.2rem!important}
.profile-id>.pf-av>.avw,.profile-id>.pf-av>a>.avw{margin-bottom:.9rem}
.pf-addst{position:absolute;right:-1px;bottom:-1px;z-index:3;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--acc);color:#fff!important;border:3px solid var(--bg);box-shadow:0 4px 12px rgba(0,0,0,.3);text-decoration:none!important}
.pf-addst .ico{width:13px;height:13px;stroke-width:2.8}
.pf-addst:active{transform:scale(.92)}

/* Story disponible : anneau collé à la photo (pas d'espace), dans la couleur du site, au lieu du petit bouton lecture */
.stdot{display:none!important}
.avw.has-st{border-radius:50%}
.avw.has-st>.avatar{box-shadow:0 0 0 2.5px var(--acc)!important}
.avw-xl.has-st>.avatar,.avw-lg.has-st>.avatar{box-shadow:0 0 0 3.5px var(--acc)!important}
.pg-profil .profile-id .avw.has-st .avatar,.pg-profil .profile-id .avw.has-st .av{border-color:var(--acc)!important}
.avw-sm.has-st>.avatar,.avw-xs.has-st>.avatar{box-shadow:0 0 0 2px var(--acc)!important}
/* bandeau des stories du fil : même anneau, photo qui remplit tout le cercle */
.sring,.cm-stories .sring{padding:3px!important;background:var(--acc)!important}
.sring .avatar,.cm-stories .sring .avatar{border:0!important;box-shadow:none!important;width:58px!important;height:58px!important}
.story-viewed .sring,.cm-stories .story-viewed .sring{background:var(--bd2)!important}
.story-viewed .sring::after{display:none!important}
.cm-stories .story .story-plus .avatar,.story.add .avatar{width:64px!important;height:64px!important}

/* Lecteur de story : vidéo cadrée comme dans l'éditeur, calque de textes par-dessus, son, menu ⋯ */
.sv-v{position:relative;overflow:hidden;width:min(100vw,calc(100dvh * 9 / 16));aspect-ratio:9/16;max-height:100dvh;background:#000;border-radius:0}
.sv-v[hidden]{display:none}
.sv-v video{position:absolute;left:50%;top:50%;max-width:none;transform:translate(-50%,-50%)}
.sv-v .sv-ov{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}
.sv-snd svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sv-snd .sv-on{display:none}.sv-snd.on .sv-on{display:inline}.sv-snd.on .sv-off{display:none}
.sv-menu{position:absolute;z-index:9;top:calc(64px + env(safe-area-inset-top));right:12px;min-width:220px;padding:.35rem;border-radius:16px;background:rgba(20,20,22,.96);border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 40px rgba(0,0,0,.5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:svPop .14s ease-out}
.sv-menu[hidden]{display:none}
.sv-menu form{margin:0}
.sv-menu button{display:flex;align-items:center;gap:.65rem;width:100%;min-height:48px;padding:0 .8rem;border:0;border-radius:11px;background:none;color:#f4f4f3;font:inherit;font-size:.95rem;font-weight:600;text-align:left;cursor:pointer}
.sv-menu button:active{background:rgba(255,255,255,.08)}
.sv-menu button .ico{width:20px;height:20px}
.sv-menu button b{margin-left:auto;font-weight:700;color:#9b9ba2}
.sv-menu .sv-danger{color:#ef5350}
.sv-top .icon-btn{color:#fff}

/* Nouvelle story : petite fenêtre de choix puis éditeur plein écran par-dessus la page */
html.stx-lock,html.stx-lock body{overflow:hidden}
.stx{position:fixed;inset:0;z-index:400}
.stx-bd{position:absolute;inset:0;background:rgba(0,0,0,.5);opacity:0;transition:opacity .2s}
.stx-in{position:absolute;left:0;right:0;bottom:0;padding:.35rem 1rem calc(1rem + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:var(--bg2);border-top:1px solid var(--bd2);transform:translateY(100%);transition:transform .24s cubic-bezier(.2,.8,.2,1);color:var(--text)}
.stx.on .stx-bd{opacity:1}.stx.on .stx-in{transform:none}
@media (min-width:700px){.stx-in{left:50%;right:auto;bottom:auto;top:50%;width:400px;border-radius:22px;border:1px solid var(--bd2);transform:translate(-50%,-46%);opacity:0;transition:transform .2s,opacity .2s}.stx.on .stx-in{transform:translate(-50%,-50%);opacity:1}.stx-grab{display:none}}
.stx-grab{width:40px;height:5px;margin:.35rem auto .7rem;border-radius:99px;background:var(--bd2)}
.stx-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.stx-h b{font-family:var(--disp);font-weight:400;font-size:1.6rem;text-transform:uppercase;line-height:1}
.stx-x{width:36px;height:36px;border-radius:50%;border:1px solid var(--bd2);background:var(--card2);color:var(--text);font-size:1rem;cursor:pointer}
.stx-o{display:flex;align-items:center;gap:.85rem;width:100%;min-height:64px;margin-top:.5rem;padding:.6rem .8rem;border-radius:16px;border:1px solid var(--bd);background:var(--card);color:var(--text);font:inherit;text-align:left;cursor:pointer}
.stx-o:active{transform:scale(.99)}
.stx-o i{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--card2);font-style:normal;font-size:1.35rem;font-weight:900}
.stx-o b{display:block;font-size:.98rem}
.stx-o small{display:block;margin-top:.1rem;font-size:.8rem;color:var(--muted)}
.stx-n{margin:.8rem 0 0;text-align:center;font-size:.8rem;color:var(--muted)}
.stx-ov{position:fixed;inset:0;z-index:410;background:#0b0b0c}
.stx-ov iframe{display:block;width:100%;height:100%;border:0}

/* Profil : coche certifiée alignée au milieu du pseudo (même avec l'anneau de story) */
.pid-nrow{align-items:center!important}
.pid-nrow>.cpop{display:inline-flex!important;align-items:center;align-self:center;margin:0 0 0 .1rem;line-height:0}
.pid-nrow>.cpop>summary{display:flex!important;align-items:center;justify-content:center;padding:0;line-height:0;min-height:0}
.pid-nrow>.cpop .cert{display:inline-flex;margin:0!important;vertical-align:middle;transform:none!important}
.pid-nrow>.pid-name{margin:0;line-height:1.1}
/* arrivée sur une page : fondu seul, sans glissement (le glissement laissait une bande noire sous la barre du haut) */
@keyframes v2in{from{opacity:0}}
.content>*{animation-name:v2in!important}
/* grande image d'accueil collée à la barre du haut, sans écart */
.content>.v2h:first-child>.lx-hero:first-child{margin-top:-1rem!important}

/* ===== pied de page v2 : réseaux en grandes tuiles, 3 colonnes de liens, logo géant en filigrane ===== */
.foot.fx{position:relative;overflow:hidden;text-align:left;margin:4rem 0 0;padding:2.2rem 0 1.2rem;border-top:1px solid var(--bd2)}
.fx::before{content:"";position:absolute;left:0;top:-1px;width:96px;height:3px;background:var(--acc)}
.fx-top{display:grid;gap:1.4rem}
.foot .fx-say{margin:.7rem 0 0;max-width:30rem;font-family:var(--disp,Impact,sans-serif);font-size:1.7rem;line-height:1.05;text-transform:uppercase;color:var(--text)!important;opacity:1!important}
.fx-social{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.foot a.fx-s{display:flex;align-items:center;gap:.65rem;min-width:0;padding:.7rem .75rem;border-radius:16px;border:1px solid var(--bd2);background:var(--card,#151517);color:var(--text)!important;text-decoration:none!important;transition:transform .15s,border-color .15s,background .15s}
.foot a.fx-s:hover{transform:translateY(-2px);border-color:var(--acc);background:rgba(var(--acc-rgb),.08)}
.fx-s i{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;color:#fff}
.fx-s svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.fx-s svg .fl{fill:currentColor;stroke:none}
.fx-ig i{background:linear-gradient(135deg,#f9a03f,#e0457b 55%,#8a49d6)}
.fx-tt i{background:#111;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.fx-x i{background:#000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.fx-yt i{background:#e8352f}
.fx-s span{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.fx-s b{font-size:.92rem;font-weight:800}
.fx-s small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;color:var(--muted)}
.fx-s em{flex:none;font-style:normal;font-size:.95rem;color:var(--muted);transition:transform .15s,color .15s}
.fx-s:hover em{color:var(--acc);transform:translate(2px,-2px)}
.fx-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0 0;padding:1.4rem 0 0;border-top:1px solid var(--bd)}
.foot.fx nav{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.55rem}
.fx-cols h2{margin:0 0 .2rem;font-size:.66rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--acc)}
.foot.fx nav a{font-size:.86rem;color:var(--soft)!important;text-decoration:none!important}
.foot.fx nav a:hover{color:var(--text)!important}
.foot .fx-word{margin:1.6rem 0 0;font-family:var(--disp,Impact,sans-serif);font-size:23vw;line-height:.8;letter-spacing:-.01em;text-transform:uppercase;white-space:nowrap;
  color:transparent;-webkit-text-stroke:1.5px rgba(var(--ink-rgb,244,244,243),.16);user-select:none;opacity:1!important}
.foot .fx-word span{display:block;font-size:.27em;letter-spacing:.62em;margin-top:.35em;color:rgba(var(--acc-rgb),.55);-webkit-text-stroke:0}
.fx-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem 1rem;margin-top:1.4rem;padding-top:1rem;border-top:1px solid var(--bd)}
.foot.fx .fx-end p{margin:0;font-size:.74rem;color:var(--muted)}
.foot a.fx-up{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .8rem;border-radius:99px;border:1px solid var(--bd2);font-size:.78rem;font-weight:700;color:var(--text)!important;text-decoration:none!important}
@media (min-width:760px){
  .fx-top{grid-template-columns:1fr 1.15fr;align-items:end;gap:2.5rem}
  .foot .fx-say{font-size:2.3rem}
  .foot .fx-word{font-size:min(14vw,11rem)}
}

/* bouton Spoiler : même style que Humeur / Lieu, la case est cachée, la pastille s'allume quand c'est coché */
.cp-spl{position:relative}
.cp-spl input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
html[data-theme] body .cp-chips .cp-spl:has(input:checked),html[data-theme] body .cp-chips .cp-spl:has(input:checked) *,.cp-spl:has(input:checked){background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
.cp-spl:has(input:focus-visible){outline:2px solid var(--acc);outline-offset:2px}
.spl-btn .ico{width:20px;height:20px}
.spl-btn[aria-pressed="true"]{color:var(--acc)}

/* mode clair : textes trop pâles sur fond clair (badges, Triple casse, carte, pied de page) */
html[data-theme="light"] .v-official,html[data-theme="light"] .v-confirmed{color:#0b7a4b!important;background:rgba(47,224,160,.16)!important;border-color:rgba(11,122,75,.35)!important}
html[data-theme="light"] .tri-k,html[data-theme="light"] .tri-n,html[data-theme="light"] .tri-p{color:#a35f00!important}
html[data-theme="light"] .tri-n{background:rgba(242,193,78,.18)!important;border-color:rgba(163,95,0,.35)!important}
html[data-theme="light"] .tri-l li.ok .tri-p{color:#0b7a4b!important}
html[data-theme="light"] .mq .mp-credit,html[data-theme="light"] .mq .mp-sub,html[data-theme="light"] .mq .mp-prop small,html[data-theme="light"] .mq .sp-card small{color:var(--muted)!important}
html[data-theme="light"] .mq .mp-credit strong,html[data-theme="light"] .mq .mp-sub strong,html[data-theme="light"] .mq .field span,html[data-theme="light"] .mq .mp-prop strong{color:var(--text)!important}
html[data-theme="light"] .mq-h span{color:#0b7a4b!important}
html[data-theme="light"] .foot .fx-word span{color:rgba(var(--acc-rgb),.85)}
html[data-theme="light"] .foot .fx-word{-webkit-text-stroke-color:rgba(0,0,0,.18)}
html[data-theme="light"] .lv-toc strong{color:var(--text)}
@media (prefers-color-scheme:light){
html[data-theme="auto"] .v-official,html[data-theme="auto"] .v-confirmed{color:#0b7a4b!important;background:rgba(47,224,160,.16)!important;border-color:rgba(11,122,75,.35)!important}
html[data-theme="auto"] .tri-k,html[data-theme="auto"] .tri-n,html[data-theme="auto"] .tri-p{color:#a35f00!important}
html[data-theme="auto"] .tri-n{background:rgba(242,193,78,.18)!important;border-color:rgba(163,95,0,.35)!important}
html[data-theme="auto"] .tri-l li.ok .tri-p{color:#0b7a4b!important}
html[data-theme="auto"] .mq .mp-credit,html[data-theme="auto"] .mq .mp-sub,html[data-theme="auto"] .mq .mp-prop small,html[data-theme="auto"] .mq .sp-card small{color:var(--muted)!important}
html[data-theme="auto"] .mq .mp-credit strong,html[data-theme="auto"] .mq .mp-sub strong,html[data-theme="auto"] .mq .field span,html[data-theme="auto"] .mq .mp-prop strong{color:var(--text)!important}
html[data-theme="auto"] .mq-h span{color:#0b7a4b!important}
html[data-theme="auto"] .foot .fx-word span{color:rgba(var(--acc-rgb),.85)}
html[data-theme="auto"] .foot .fx-word{-webkit-text-stroke-color:rgba(0,0,0,.18)}
html[data-theme="auto"] .lv-toc strong{color:var(--text)}
}

/* profil : le titre est remonté sous le niveau et le rôle, juste au-dessus de la bio */
.pid-ttl{margin:.2rem 0 0}.pid-ttl>.ttl-wrap,.pid-ttl .ttl2{margin-top:0!important}
.pid-ttl+.pid-bio{margin-top:.9rem}

/* ===== badges : rond du badge qui suit le thème (sombre en mode nuit, clair en mode clair) + contour de la couleur de la rareté ===== */
html{--bdg-in:radial-gradient(circle at 35% 28%,#2a2a2f,#0e0e10 72%)}
html[data-theme="light"]{--bdg-in:radial-gradient(circle at 35% 28%,#ffffff,#ebe8e2 75%)}
@media (prefers-color-scheme:light){html[data-theme="auto"]{--bdg-in:radial-gradient(circle at 35% 28%,#ffffff,#ebe8e2 75%)}}
html[data-theme] body .bdg[class]{--bdg-ring:linear-gradient(135deg,#c9ccd3,#7d828b);background:var(--bdg-in) padding-box,var(--bdg-ring) border-box!important;border:3px solid transparent!important;box-shadow:none!important}
html[data-theme] body .bdg[class].r-uncommon{--bdg-ring:linear-gradient(135deg,#5fe0a6,#1f9d68)}
html[data-theme] body .bdg[class].r-rare{--bdg-ring:linear-gradient(135deg,#7cb8f0,#2f6fb5);box-shadow:0 0 12px rgba(79,159,224,.45)!important}
html[data-theme] body .bdg[class].r-epic{--bdg-ring:linear-gradient(135deg,#c2affa,#6d4fd0);box-shadow:0 0 14px rgba(164,139,232,.5)!important}
html[data-theme] body .bdg[class].r-legendary{--bdg-ring:conic-gradient(from var(--fa,0deg),#ffe08a,#f2c14e,#e08a2f,#f2c14e,#ffe08a);box-shadow:0 0 16px rgba(242,193,78,.55)!important}
html[data-theme] body .bdg[class].r-mythic{--bdg-ring:conic-gradient(from var(--fa,0deg),#ef5350,#a48be8,#4f9fe0,#ef5350);box-shadow:0 0 16px rgba(239,83,80,.5)!important}
html[data-theme] body .bdg[class] img,html[data-theme] body .bdg[class] .bpx{background:none!important}
/* ===== cartes de badges du profil, v2 : un motif par rareté, identique en clair et en sombre =====
   commune : sobre · inhabituelle : liseré vert · rare : rayures bleues · épique : trame de points violette
   légendaire : rayons dorés qui partent du badge · mythique : rayons qui tournent + contour arc-en-ciel */
html[data-theme] body .card.badge-row{--rc:#8c939b;--rc-rgb:140,147,155;position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;gap:1rem;padding:1rem 1.1rem!important;border-radius:20px!important;
  border:1px solid rgba(var(--rc-rgb),.35)!important;background:var(--card)!important;box-shadow:none!important;transform:none!important;animation:none!important}
html[data-theme] body .card.badge-row::before,html[data-theme] body .card.badge-row::after{content:none;animation:none!important}
html[data-theme] body .card.badge-row>*{position:relative;z-index:1}
html[data-theme] body .card.badge-row strong{color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;background:none!important}
html[data-theme] body .card.badge-row .muted{color:var(--muted)!important}
html[data-theme] body .card.badge-row.r-uncommon{--rc:#3ecf8e;--rc-rgb:62,207,142}
html[data-theme] body .card.badge-row.r-rare{--rc:#4f9fe0;--rc-rgb:79,159,224}
html[data-theme] body .card.badge-row.r-epic{--rc:#a48be8;--rc-rgb:164,139,232}
html[data-theme] body .card.badge-row.r-legendary{--rc:#f2c14e;--rc-rgb:242,193,78}
html[data-theme] body .card.badge-row.r-mythic{--rc:#ef5350;--rc-rgb:239,83,80}
/* inhabituelle : liseré à gauche */
html[data-theme] body .card.badge-row.r-uncommon::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--rc);z-index:0}
/* rare : rayures en biais sur la droite */
html[data-theme] body .card.badge-row.r-rare::before{content:"";position:absolute;inset:0 0 0 45%;z-index:0;background:repeating-linear-gradient(-55deg,rgba(var(--rc-rgb),.14) 0 8px,transparent 8px 18px);
  -webkit-mask:linear-gradient(90deg,transparent,#000 60%);mask:linear-gradient(90deg,transparent,#000 60%)}
/* épique : trame de points façon BD */
html[data-theme] body .card.badge-row.r-epic::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(rgba(var(--rc-rgb),.45) 1.4px,transparent 1.6px) 0 0/10px 10px;
  -webkit-mask:linear-gradient(110deg,transparent 35%,#000);mask:linear-gradient(110deg,transparent 35%,#000)}
/* légendaire : rayons dorés qui partent du badge + contour doré */
html[data-theme] body .card.badge-row.r-legendary{border:2px solid transparent!important;background:linear-gradient(var(--card),var(--card)) padding-box,linear-gradient(120deg,#ffe08a,#e08a2f 40%,#ffe08a 70%,#c9862a) border-box!important;box-shadow:0 10px 30px rgba(242,193,78,.18)!important}
html[data-theme] body .card.badge-row.r-legendary::before{content:"";position:absolute;z-index:0;left:-90px;top:50%;width:420px;height:420px;margin-top:-210px;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,rgba(var(--rc-rgb),.42) 0 6deg,transparent 6deg 18deg);-webkit-mask:radial-gradient(circle,#000 10%,transparent 62%);mask:radial-gradient(circle,#000 10%,transparent 62%);animation:bdRays 40s linear infinite!important}
html[data-theme] body .card.badge-row.r-legendary strong{color:var(--text)!important}
/* mythique : rayons rouges + contour qui tourne */
html[data-theme] body .card.badge-row.r-mythic{border:2px solid transparent!important;background:linear-gradient(var(--card),var(--card)) padding-box,conic-gradient(from var(--fa,0deg),#ef5350,#a48be8,#4f9fe0,#3ecf8e,#f2c14e,#ef5350) border-box!important;animation:frspin 6s linear infinite!important}
html[data-theme] body .card.badge-row.r-mythic::before{content:"";position:absolute;z-index:0;left:-90px;top:50%;width:420px;height:420px;margin-top:-210px;border-radius:50%;
  background:repeating-conic-gradient(from 0deg,rgba(239,83,80,.3) 0 6deg,rgba(164,139,232,.26) 6deg 12deg,transparent 12deg 20deg);-webkit-mask:radial-gradient(circle,#000 10%,transparent 62%);mask:radial-gradient(circle,#000 10%,transparent 62%);animation:bdRays 30s linear infinite reverse!important}
@keyframes bdRays{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){html[data-theme] body .card.badge-row::before,html[data-theme] body .card.badge-row{animation:none!important}}

/* fenêtre de certification : la coche et le nom prennent la couleur du type (bleu vérifié, jaune entreprise, violet donateur, vert streamer) */
.cpop .pbd-pop strong .cert{margin:0!important}
.cpop .pbd-pop strong .cert-ico{width:20px;height:20px}
.cpop .pbd-pop .cpop-t{color:var(--cc,var(--acc))!important}

/* ===== pastilles de rareté v2 : étiquette à coin coupé + jauge de 6 barres remplie selon le niveau.
   Une couleur pleine par rareté, identique en clair et en sombre. ===== */
html[data-theme] body .rar[data-lv]{--rc:#8c939b;--rk:#0b0b0c;position:relative;display:inline-flex;align-items:center;gap:.4rem;height:22px;padding:0 .6rem 0 .45rem!important;
  border:0!important;border-radius:4px!important;background:var(--rc)!important;color:var(--rk)!important;-webkit-text-fill-color:var(--rk)!important;box-shadow:none!important;text-shadow:none!important;
  font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:.82rem!important;letter-spacing:.06em!important;text-transform:uppercase;line-height:1!important;white-space:nowrap;vertical-align:middle;overflow:visible;animation:none!important;
  clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%)}
html[data-theme] body .rar[data-lv]::before,html[data-theme] body .rar[data-lv]::after{content:none!important}
html[data-theme] body .rar.r-uncommon{--rc:#3ecf8e}
html[data-theme] body .rar.r-rare{--rc:#4f9fe0}
html[data-theme] body .rar.r-epic{--rc:#a48be8}
html[data-theme] body .rar.r-legendary{--rc:#f2c14e}
html[data-theme] body .rar.r-mythic{--rc:linear-gradient(100deg,#ef5350,#f2c14e 35%,#3ecf8e 65%,#4f9fe0);--rk:#0b0b0c}
/* jauge */
.rar-g{display:inline-flex;align-items:flex-end;gap:1.5px;height:11px}
.rar-g b{display:block;width:2.5px;border-radius:1px;background:currentColor;opacity:.22}
.rar-g b:nth-child(1){height:4px}.rar-g b:nth-child(2){height:5px}.rar-g b:nth-child(3){height:6.5px}.rar-g b:nth-child(4){height:8px}.rar-g b:nth-child(5){height:9.5px}.rar-g b:nth-child(6){height:11px}
.rar[data-lv="1"] .rar-g b:nth-child(-n+1),.rar[data-lv="2"] .rar-g b:nth-child(-n+2),.rar[data-lv="3"] .rar-g b:nth-child(-n+3),
.rar[data-lv="4"] .rar-g b:nth-child(-n+4),.rar[data-lv="5"] .rar-g b:nth-child(-n+5),.rar[data-lv="6"] .rar-g b{opacity:1}
/* légendaire et mythique : petit reflet qui passe */
html[data-theme] body .rar.r-legendary,html[data-theme] body .rar.r-mythic{background-size:200% 100%!important}
html[data-theme] body .rar.r-legendary{background:linear-gradient(100deg,#f2c14e 40%,#fff1c2 50%,#f2c14e 60%) 0 0/250% 100%!important;animation:rarShine 3.2s linear infinite!important}
html[data-theme] body .rar.r-mythic{background:linear-gradient(100deg,#ef5350,#f2c14e,#3ecf8e,#4f9fe0,#a48be8,#ef5350) 0 0/300% 100%!important;animation:rarShine 5s linear infinite!important}
@keyframes rarShine{to{background-position:-250% 0}}
@media (prefers-reduced-motion:reduce){html[data-theme] body .rar[data-lv]{animation:none!important}}
.vit-i .rar[data-lv]{height:18px;font-size:.7rem!important}
/* récompense d'une quête (nom + icône) : contour de la couleur de la rareté */
html[data-theme] body .rar:not([data-lv]){--rc:#8c939b;display:inline-flex;align-items:center;gap:.3rem;padding:.15rem .6rem!important;border-radius:99px!important;border:1.5px solid var(--rc)!important;background:none!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;box-shadow:none!important;text-shadow:none!important;font-weight:800!important;font-size:.72rem!important;animation:none!important}
html[data-theme] body .rar:not([data-lv])::before,html[data-theme] body .rar:not([data-lv])::after{content:none!important}
html[data-theme] body .rar.r-uncommon:not([data-lv]){--rc:#3ecf8e}html[data-theme] body .rar.r-rare:not([data-lv]){--rc:#4f9fe0}html[data-theme] body .rar.r-epic:not([data-lv]){--rc:#a48be8}html[data-theme] body .rar.r-legendary:not([data-lv]){--rc:#f2c14e}html[data-theme] body .rar.r-mythic:not([data-lv]){--rc:#ef5350}
/* cartes de badges : la pastille de rareté toujours sous le nom (avant : à côté si le nom est court, dessous s'il est long) */
html[data-theme] body .badge-row strong{display:block}
html[data-theme] body .badge-row .rar[data-lv]{display:flex;width:max-content;margin:.35rem 0 .3rem}
html[data-theme] body .badge-row .muted{margin:0}

/* ===================== bulles v2 =====================
   Fiabilité : tampon (icône + texte en capitales, couleur pleine)
   Difficulté : jauge à 5 points · Rôle : étiquette à barre de couleur · Statuts : point lumineux
   Pastilles génériques : plaque sobre. Tout est identique en clair et en sombre. */

/* --- fiabilité --- */
html[data-theme] body .vbadge{--vc:#8c939b;--vk:#0b0b0c;display:inline-flex!important;align-items:center;gap:.3rem;height:22px;padding:0 .55rem 0 .4rem!important;border:0!important;border-radius:4px!important;
  background:var(--vc)!important;color:var(--vk)!important;-webkit-text-fill-color:var(--vk)!important;box-shadow:inset 0 0 0 1.5px rgba(0,0,0,.18),inset 0 0 0 3px var(--vc),inset 0 0 0 4px rgba(0,0,0,.22)!important;
  font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:.8rem!important;letter-spacing:.06em!important;text-transform:uppercase;line-height:1!important;white-space:nowrap;vertical-align:middle}
html[data-theme] body .vbadge::before{content:"✓";display:grid;place-items:center;width:14px;height:14px;border-radius:50%;background:rgba(0,0,0,.2);font-family:Inter,system-ui,sans-serif;font-weight:900;font-size:.62rem;letter-spacing:0}
html[data-theme] body .vbadge.v-official,html[data-theme] body .vbadge.v-confirmed{--vc:#3ecf8e}
html[data-theme] body .vbadge.v-reported{--vc:#4f9fe0}
html[data-theme] body .vbadge.v-reported::before{content:"↗"}
html[data-theme] body .vbadge.v-rumor,html[data-theme] body .vbadge.v-unverified{--vc:#f2a33a}
html[data-theme] body .vbadge.v-rumor::before,html[data-theme] body .vbadge.v-unverified::before{content:"?"}
html[data-theme] body .vbadge.v-theory{--vc:#a48be8}
html[data-theme] body .vbadge.v-theory::before{content:"∿"}

/* --- difficulté des quêtes --- */
html[data-theme] body .pill.qd{--qc:#3ecf8e;display:inline-flex!important;align-items:center;gap:.4rem;height:24px;padding:0 .6rem!important;border-radius:99px!important;border:1.5px solid var(--qc)!important;background:none!important;color:var(--text)!important;
  font-size:.68rem!important;font-weight:800!important;letter-spacing:.06em;text-transform:uppercase}
.qd-g{display:inline-flex;gap:2px}
.qd-g b{display:block;width:5px;height:5px;border-radius:50%;background:var(--qc);opacity:.25}
.qd-easy{--qc:#3ecf8e}.qd-normal{--qc:#4f9fe0}.qd-hard{--qc:#f2a33a}.qd-expert{--qc:#ef5350}.qd-prestige{--qc:#a48be8}
.qd-easy .qd-g b:nth-child(-n+1),.qd-normal .qd-g b:nth-child(-n+2),.qd-hard .qd-g b:nth-child(-n+3),.qd-expert .qd-g b:nth-child(-n+4),.qd-prestige .qd-g b{opacity:1}

/* --- rôle (fil, commentaires, profil) : étiquette avec barre de couleur à gauche --- */
html[data-theme] body .rbadge,html[data-theme] body .rbadge[class*=" r-"]{--rbc:#8c939b;position:relative;display:inline-flex!important;align-items:center;gap:0;height:20px;padding:0 .5rem 0 .55rem!important;border:0!important;border-radius:3px!important;
  background:rgba(var(--rbc-rgb,140,147,155),.16)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;box-shadow:inset 3px 0 0 var(--rbc)!important;
  font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:.76rem!important;letter-spacing:.07em!important;text-transform:uppercase;line-height:1!important;vertical-align:middle}
html[data-theme] body .rbadge .rb-ic{display:none!important}
html[data-theme] body .rbadge.r-superadmin{--rbc:#e5484d;--rbc-rgb:229,72,77}
html[data-theme] body .rbadge.r-admin{--rbc:#e8589a;--rbc-rgb:232,88,154}
html[data-theme] body .rbadge.r-moderator{--rbc:#3ecf8e;--rbc-rgb:62,207,142}
html[data-theme] body .rbadge.r-editor{--rbc:#4f9fe0;--rbc-rgb:79,159,224}
html[data-theme] body .rbadge.r-contributor{--rbc:#a48be8;--rbc-rgb:164,139,232}

/* --- statuts : point lumineux --- */
html[data-theme] body .pill.sp-wait,html[data-theme] body .pill.sp-no,html[data-theme] body .pill[class*=" st-"]{--sc:#8c939b;display:inline-flex!important;align-items:center;gap:.4rem;padding:.25rem .65rem!important;border-radius:99px!important;border:1px solid var(--bd2)!important;background:var(--card)!important;color:var(--text)!important;font-size:.72rem!important;font-weight:800!important}
html[data-theme] body .pill.sp-wait::before,html[data-theme] body .pill.sp-no::before,html[data-theme] body .pill[class*=" st-"]::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--sc);box-shadow:0 0 0 3px color-mix(in srgb,var(--sc) 25%,transparent)}
html[data-theme] body .pill.sp-wait,html[data-theme] body .pill.st-pending,html[data-theme] body .pill.st-unpublished{--sc:#f2a33a}
html[data-theme] body .pill.sp-wait::before,html[data-theme] body .pill.st-pending::before{animation:stPulse 1.6s ease-in-out infinite}
@keyframes stPulse{50%{box-shadow:0 0 0 6px color-mix(in srgb,var(--sc) 0%,transparent)}}
html[data-theme] body .pill.sp-no,html[data-theme] body .pill.st-rejected,html[data-theme] body .pill.st-hidden{--sc:#ef5350}
html[data-theme] body .pill.st-published,html[data-theme] body .pill.st-visible,html[data-theme] body .pill.st-approved{--sc:#3ecf8e}
html[data-theme] body .pill.st-archived{--sc:#8c939b}

/* --- pastilles génériques (Exclusif, Boîte gratuite, Ouvert…) : plaque sobre --- */
html[data-theme] body .pill:not(.qd):not(.sp-wait):not(.sp-no):not([class*=" st-"]):not(.pl-ok):not(.mp-n):not(.pl-xp):not(.pl-st){display:inline-flex;align-items:center;gap:.3rem;padding:.22rem .6rem!important;border-radius:6px!important;border:1px solid var(--bd2)!important;
  background:rgba(var(--ink-rgb,244,244,243),.06)!important;color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;font-size:.72rem!important;font-weight:800!important;letter-spacing:.02em;box-shadow:none!important}
html[data-theme] body .pill.pl-ok{display:inline-flex;align-items:center;padding:.25rem .65rem!important;border-radius:99px!important;border:0!important;background:#3ecf8e!important;color:#06120c!important;-webkit-text-fill-color:#06120c!important;font-size:.72rem!important;font-weight:900!important}
@media (prefers-reduced-motion:reduce){html[data-theme] body .pill::before{animation:none!important}}
html[data-theme] body .pill.pl-xp{display:inline-flex;align-items:center;padding:.22rem .6rem!important;border-radius:6px!important;border:0!important;background:#f2c14e!important;color:#0b0b0c!important;-webkit-text-fill-color:#0b0b0c!important;font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:.82rem!important;letter-spacing:.04em}
html[data-theme] body .pill.pl-st{border-radius:4px!important;border:0!important;background:#3ecf8e!important;color:#06120c!important;-webkit-text-fill-color:#06120c!important;font-weight:900!important;font-size:.62rem!important;letter-spacing:.1em;text-transform:uppercase;padding:.3rem .5rem!important}
html[data-theme] body .pz .pr-card.resolved .pill.pl-st{background:var(--text)!important;color:var(--bg)!important;-webkit-text-fill-color:var(--bg)!important}
html[data-theme] body .tr-btn{color:var(--muted)!important}html[data-theme] body .cmsg.mine .tr-btn{color:rgba(255,255,255,.9)!important}
/* bulle d'explication certification / rôle, partout sur le site */
.gpop{position:fixed;z-index:200;display:flex;flex-direction:column;gap:.3rem;width:max-content;max-width:min(300px,calc(100vw - 20px));padding:.85rem .95rem;border-radius:16px;
  background:var(--bg2,#121214);border:1px solid var(--bd2);box-shadow:0 18px 44px rgba(0,0,0,.35);color:var(--text);text-align:left;animation:gpopIn .14s ease-out}
@keyframes gpopIn{from{opacity:0;transform:translateY(-4px)}}
.gpop strong{display:inline-flex;align-items:center;gap:.35rem;font-size:.98rem;line-height:1.25;color:var(--text)}
.gpop strong .cert{margin:0!important}
.gpop strong .cert-ico{width:20px;height:20px}
.gpop-t{font-weight:800;font-size:.88rem;color:var(--cc,var(--acc))}
.gpop-d{font-size:.84rem;line-height:1.45;color:var(--soft)}
.gpop-n{font-size:.72rem;line-height:1.4;color:var(--muted)}
.gpop-r strong{font-family:var(--disp,Impact,sans-serif);font-weight:400;font-size:1.15rem;letter-spacing:.03em;text-transform:uppercase}
[data-pop-d]{cursor:pointer}
/* accueil : la grande image se fond dans le fond de la page (clair ou sombre) au lieu de s'arrêter net */
:root,html[data-theme]{--page-bg:var(--bg)}
.lx-hero.v2-hero{position:relative;isolation:isolate}
/* l'image descend jusqu'en bas de la zone sombre, le fondu ne mange que le tout bas */
.lx-hero.v2-hero>.lx-media{top:0!important;bottom:0!important;height:auto!important}
.lx-hero.v2-hero>.lx-media picture,.lx-hero.v2-hero>.lx-media img{display:block;width:100%;height:100%!important;object-fit:cover}
.lx-hero.v2-hero>.lx-media .lx-shade{height:100%!important}
.lx-hero.v2-hero{-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,1) calc(100% - 260px),rgba(0,0,0,0.985) calc(100% - 234px),rgba(0,0,0,0.95) calc(100% - 208px),rgba(0,0,0,0.89) calc(100% - 182px),rgba(0,0,0,0.8) calc(100% - 156px),rgba(0,0,0,0.68) calc(100% - 130px),rgba(0,0,0,0.53) calc(100% - 104px),rgba(0,0,0,0.37) calc(100% - 78px),rgba(0,0,0,0.21) calc(100% - 52px),rgba(0,0,0,0.08) calc(100% - 26px),rgba(0,0,0,0) calc(100% - 0px));mask-image:linear-gradient(180deg,rgba(0,0,0,1) calc(100% - 260px),rgba(0,0,0,0.985) calc(100% - 234px),rgba(0,0,0,0.95) calc(100% - 208px),rgba(0,0,0,0.89) calc(100% - 182px),rgba(0,0,0,0.8) calc(100% - 156px),rgba(0,0,0,0.68) calc(100% - 130px),rgba(0,0,0,0.53) calc(100% - 104px),rgba(0,0,0,0.37) calc(100% - 78px),rgba(0,0,0,0.21) calc(100% - 52px),rgba(0,0,0,0.08) calc(100% - 26px),rgba(0,0,0,0) calc(100% - 0px))}
/* la photo continue sous le fondu (plus haut que le texte) */
.lx-hero.v2-hero>.lx-hin{padding-bottom:calc(var(--hin-pb,0px) + 150px)!important}
/* pas de grand vide entre l'image et la section suivante */
.lx-hero.v2-hero+.v2-sec{margin-top:-3.4rem!important}
.lx-hero.v2-hero>.lx-hin{position:relative;z-index:1}

/* ===== en live : anneau de la couleur de la plateforme qui pulse + petit logo officiel posé dessus (comme le + des stories)
   Twitch violet, Kick vert, YouTube rouge. Aucune couleur du site ne leur ressemble (Menthe et Lavande ont été remplacées). ===== */
.avw.has-live{--lc:#9146ff;--lc-rgb:145,70,255;position:relative;display:inline-block;border-radius:50%}
.avw.lv-kick{--lc:#53fc18;--lc-rgb:83,252,24}
.avw.lv-youtube{--lc:#ff0033;--lc-rgb:255,0,51}
.avw.has-live>.avatar{box-shadow:0 0 0 2.5px var(--lc),0 0 0 5px rgba(var(--lc-rgb),.25)!important;animation:liveRing 1.8s ease-in-out infinite}
.avw-xl.has-live>.avatar,.avw-lg.has-live>.avatar{box-shadow:0 0 0 3.5px var(--lc),0 0 0 7px rgba(var(--lc-rgb),.25)!important}
@keyframes liveRing{50%{box-shadow:0 0 0 3.5px var(--lc),0 0 0 9px rgba(var(--lc-rgb),0)}}
/* logo de la plateforme : bulle collée à l'anneau, en haut à droite, qui sort du cadre */
.live-pf{position:absolute;left:93%;top:7%;translate:-50% -50%;z-index:2;display:grid;place-items:center;width:44%;max-width:30px;min-width:16px;aspect-ratio:1;border-radius:50%;background:var(--lc);box-shadow:0 0 0 2px var(--bg);pointer-events:none}
.live-pf svg{width:70%;height:70%}
.live-pf-youtube svg{width:78%;height:78%}
.avw-xs .live-pf{min-width:13px}
/* profil : logo du live en bulle en haut à droite (le + des stories reste en bas à droite) */
.pf-av:has(.pf-addst) .live-pf{width:34px;max-width:34px}
/* en live, le + des stories se pose sur l'anneau, en bas à droite (le logo de la plateforme est en haut à droite) */
.pf-av:has(.has-live) .pf-addst{right:8px;bottom:calc(.9rem + 8px)}
.avw-xl .live-pf{max-width:34px}
@media (prefers-reduced-motion:reduce){.avw.has-live>.avatar{animation:none}}
/* profil : comptes liés façon Discord */
.pid-links{display:flex;flex-wrap:wrap;gap:.45rem;margin:.8rem 0 0}
.pl-ac{--pc:#8c939b;display:inline-flex;align-items:center;gap:.45rem;padding:.35rem .7rem .35rem .4rem;border-radius:12px;border:1px solid var(--bd2);background:var(--card);color:var(--text)!important;font-weight:800;font-size:.84rem;text-decoration:none!important;transition:border-color .15s}
.pl-ac:hover{border-color:var(--pc)}
.pl-ac>i{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--pc);color:#fff}
.pl-ac>i .ico{width:16px;height:16px}
.pl-twitch{--pc:#9146ff}.pl-youtube{--pc:#ff0033}.pl-kick{--pc:#53fc18}
.pl-kick>i{color:#0b0b0c}
.pl-ok{display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--pc);color:#fff;font-size:.6rem}
.pl-ac.is-live{border-color:#ff2d55}
.pl-ac em{font-style:normal;padding:.05rem .35rem;border-radius:4px;background:#ff2d55;color:#fff;font-family:var(--disp,Impact,sans-serif);font-size:.7rem;letter-spacing:.06em;text-transform:uppercase}
/* réglages : comptes liés */
.lk-row{display:flex;align-items:center;gap:.7rem;padding:.75rem 0;border-top:1px solid var(--bd)}
.lk-row:first-of-type{border-top:0}
.lk-ic{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;background:#8c939b}
.lk-ic .ico{width:22px;height:22px}
.lk-twitch .lk-ic{background:#9146ff}.lk-youtube .lk-ic{background:#ff0033}.lk-kick .lk-ic{background:#53fc18;color:#0b0b0c}
.lk-tx{flex:1;min-width:0;display:flex;flex-direction:column}
.lk-tx small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-ok{font-size:.7rem;font-weight:800;color:#2a9d6a}
.lk-row form{margin:0}
.lk-add{display:flex;gap:.35rem;flex:0 1 220px;min-width:0}
.lk-add input{flex:1;min-width:0;height:38px;padding:0 .7rem;border-radius:10px}
html[data-theme] body .lk-go{background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
.lk-twitch .lk-go{background:#9146ff!important;border-color:#9146ff!important}
.lk-sw .set-switch{margin:0;padding:0;border:0}
@media (max-width:420px){.lk-row{flex-wrap:wrap}.lk-add{flex-basis:100%}}
/* en live, façon TikTok : deux ondes qui partent de l'anneau en boucle, la photo « respire », le petit logo rebondit */
.avw.has-live::before,.avw.has-live::after{content:"";position:absolute;inset:0;z-index:0;border-radius:50%;border:2px solid var(--lc);pointer-events:none;animation:liveWave 1.8s cubic-bezier(.2,.6,.3,1) infinite}
.avw.has-live::after{animation-delay:.9s}
@keyframes liveWave{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.45);opacity:0}}
.avw.has-live>.avatar{position:relative;z-index:1;animation:liveBreath 1.8s ease-in-out infinite!important}
@keyframes liveBreath{0%,100%{transform:scale(1)}50%{transform:scale(.94)}}
.avw.has-live>.live-pf{z-index:2;animation:liveHop 1.8s ease-in-out infinite}
@keyframes liveHop{0%,70%,100%{transform:translateY(0)}80%{transform:translateY(-3px)}90%{transform:translateY(0)}}
.avw-xs.has-live::before,.avw-xs.has-live::after{border-width:1.5px}
@media (prefers-reduced-motion:reduce){.avw.has-live::before,.avw.has-live::after,.avw.has-live>.avatar,.avw.has-live>.live-pf{animation:none!important}}
.pl-nv{font-size:.66rem;font-weight:700;color:var(--muted)}
/* boutons « Lier » aux couleurs de la plateforme */
html[data-theme] body .lk-twitch .lk-go{background:#9146ff!important;border-color:#9146ff!important;color:#fff!important}
html[data-theme] body .lk-kick .lk-go{background:#53fc18!important;border-color:#53fc18!important;color:#0b0b0c!important}
/* barre de niveau du profil : visible en clair comme en sombre (couleur d'accent) */
html[data-theme] body .pid-lv2 .pid-bar{background:rgba(var(--ink-rgb),.14)!important}
html[data-theme] body .pid-lv2 .pid-bar em{background:var(--acc)!important}
/* bulle recadrée dans l'écran par gv2.js : la flèche suit le bouton */
.pbd-pop::before,.menu-pop::before,.mn-pop::before{translate:var(--pdx,0) 0}
.pbd-pop,.menu-pop,.mn-pop{max-width:calc(100vw - 24px)}
/* libellés des champs de formulaire : lisibles en clair comme en sombre */
html[data-theme] body .field>span{color:var(--soft)}
html[data-theme] body .au-form .field>span{color:var(--text)}
/* œil des mots de passe : icône dessinée, couleur du thème */
html[data-theme] body .pw-eye{display:grid;place-items:center;opacity:1;filter:none;color:var(--soft)}
.pw-eye svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme] body .pw-eye.on{color:var(--acc)}
/* « Se déconnecter » du menu : rouge lisible en clair */
html[data-theme="light"] body .v2d-out button{color:#c42b1c!important}
@media (prefers-color-scheme:light){html[data-theme="auto"] body .v2d-out button{color:#c42b1c!important}}
/* mentions « à compléter » des pages légales : lisibles en clair */
html[data-theme="light"] body .legal-todo{background:rgba(255,176,32,.22);color:#8a5a00}
@media (prefers-color-scheme:light){html[data-theme="auto"] body .legal-todo{background:rgba(255,176,32,.22);color:#8a5a00}}
/* menus « … » : tous les choix de la même couleur (plus de liens en couleur d'accent au milieu) */
html[data-theme] body .menu-pop a,html[data-theme] body .menu-pop .act{color:var(--text)!important}
html[data-theme] body .menu-pop .mod-item{display:flex!important;align-items:center;gap:.45rem}
.menu-pop .mod-item .ico{width:16px;height:16px;flex:none}
/* réglages : le pseudo n'est plus coupé sur téléphone, le bouton passe dessous s'il manque de place */
.stv-t{flex:1 1 170px}
.stv-t h1{font-size:clamp(2.2rem,10vw,4.4rem)!important;overflow-wrap:anywhere}
/* « Se déconnecter » : tout en bas du menu, seul, séparé par un trait */
.v2d-out-end{margin-top:.9rem;padding-top:.7rem;border-top:1px solid var(--bd)}
html[data-theme] body .v2d-out-end button{width:100%;min-height:44px;font-size:.92rem!important;font-weight:650!important}
/* stories déjà vues : contour gris (inchangé) + bouton « revoir » au centre de l'avatar */
.story-viewed .sring::after{display:none!important}
.story-viewed .sring .avatar{filter:brightness(.6)}
.st-re{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(255,255,255,.2);border:1.5px solid rgba(255,255,255,.7);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);pointer-events:none}
.st-re svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.v2-lbl[data-ic="video"]{--ic:url(/assets/img/lbl/video.svg)}
/* menu : une seule pastille visible. Groupe fermé → le total sur le groupe ; groupe ouvert → seulement sur la ligne concernée */
.v2d-g[open]>summary .v2d-n{display:none}
#drawer .du-n,#drawer .nbadge{display:none!important}
/* ===== partage du live : fenêtre « Tu es en live » et carte live du fil ===== */
.lsp{position:fixed;inset:0;z-index:9500;display:grid;place-items:end center;padding:1rem 1rem calc(1rem + env(safe-area-inset-bottom));background:rgba(0,0,0,.55);opacity:0;transition:opacity .2s}
.lsp.in{opacity:1}
@media (min-width:600px){.lsp{place-items:center}}
.lsp-box{--lc:#9146ff;width:100%;max-width:420px;border-radius:22px;background:var(--card);border:1px solid var(--bd2);box-shadow:0 20px 60px rgba(0,0,0,.45);overflow:hidden;translate:0 24px;transition:translate .28s cubic-bezier(.16,1,.3,1)}
.lsp.in .lsp-box{translate:0 0}
.lsp-box.lsp-kick{--lc:#53fc18}
.lsp-th{position:relative;aspect-ratio:16/9;background:linear-gradient(135deg,var(--lc),#14101f)}
.lsp-th img{display:block;width:100%;height:100%;object-fit:cover}
.lsp-tag,.lp-tag{position:absolute;left:.7rem;top:.7rem;display:inline-flex;align-items:center;gap:.35rem;padding:.22rem .5rem;border-radius:6px;background:#ff2d55;color:#fff;font-family:var(--disp,Impact,sans-serif);font-weight:400;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;line-height:1.1}
.lsp-tag i,.lp-dot{width:7px;height:7px;border-radius:50%;background:#fff}
.lsp-x{position:absolute;right:.6rem;top:.6rem;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:rgba(0,0,0,.5);color:#fff;cursor:pointer}
.lsp-x .ico{width:16px;height:16px}
.lsp-box h2{margin:1rem 1.1rem .2rem;font-size:1.25rem;line-height:1.2}
.lsp-sub{margin:0 1.1rem;color:var(--text);font-weight:700;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lsp-sub:empty{display:none}
.lsp-p{margin:.45rem 1.1rem 0;color:var(--muted);font-size:.88rem;line-height:1.4}
.lsp-box textarea{display:block;width:calc(100% - 2.2rem);margin:.8rem 1.1rem 0;min-height:64px;resize:vertical}
.lsp-act{display:flex;gap:.5rem;padding:1rem 1.1rem 1.1rem}
.lsp-act .btn{flex:1}
.lp-card{--lc:#9146ff;display:block;margin:.6rem 0 .2rem;border-radius:16px;overflow:hidden;border:1px solid var(--bd2);background:var(--card);color:var(--text)!important;text-decoration:none!important}
.lp-card.lp-kick{--lc:#53fc18}
.lp-card.is-on{border-color:var(--lc);box-shadow:0 0 0 1px var(--lc)}
.lp-th{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,var(--lc),#14101f)}
.lp-th img{display:block;width:100%;height:100%;object-fit:cover}
.lp-card.is-off .lp-th img{filter:grayscale(.55) brightness(.72)}
.lp-card.is-off .lp-tag{background:rgba(0,0,0,.7)}
.lp-ph{position:absolute;inset:0;display:grid;place-items:center}
.lp-ph .live-pf{position:static;translate:none;width:58px;max-width:none;box-shadow:none}
.lp-play{position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.lp-play svg{width:24px;height:24px;margin-left:3px;fill:#fff}
.lp-tx{display:flex;flex-direction:column;gap:.1rem;padding:.65rem .85rem .75rem;min-width:0}
.lp-tx strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lp-tx small{color:var(--muted);font-weight:700}
@media (prefers-reduced-motion:no-preference){.lsp-tag i,.lp-card.is-on .lp-dot{animation:lspDot 1.2s ease-in-out infinite}}
@keyframes lspDot{50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.lsp,.lsp-box{transition:none}}
/* ===== mises à jour du site : page, box de l'accueil, admin ===== */
.su-tag{display:inline-flex;align-items:center;padding:.18rem .55rem;border-radius:999px;font-size:.72rem;font-weight:800;letter-spacing:.02em;background:color-mix(in srgb,var(--acc) 16%,transparent);color:var(--acc)}
.su-tag.su-major{background:var(--acc);color:#fff}
.su-tag.su-improved{background:rgba(79,159,224,.16);color:#4f9fe0}
.su-tag.su-fixed{background:rgba(43,217,107,.15);color:#22b35a}
.su-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;color:var(--muted);font-size:.8rem;font-weight:700}
.su-new{padding:.15rem .5rem;border-radius:999px;background:#ff2d55;color:#fff;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.su-list{position:relative;display:flex;flex-direction:column;gap:1rem;max-width:760px;margin:0 auto;padding-left:1.4rem}
.su-list::before{content:"";position:absolute;left:.45rem;top:.6rem;bottom:.6rem;width:2px;border-radius:2px;background:var(--bd2)}
.su-it{position:relative;margin:0;padding:1.1rem 1.15rem}
.su-it::before{content:"";position:absolute;left:-1.25rem;top:1.25rem;width:12px;height:12px;border-radius:50%;background:var(--acc);box-shadow:0 0 0 4px var(--bg)}
.su-it h2{margin:.5rem 0 .25rem;font-size:1.3rem;line-height:1.2}
.su-sum{margin:0 0 .4rem;color:var(--soft,var(--muted));font-weight:600}
.su-body{margin-top:.6rem}
.su-body h2{margin:1rem 0 .4rem;font-size:1rem;text-transform:uppercase;letter-spacing:.06em;color:var(--acc)}
.su-body ul{margin:.2rem 0 .4rem;padding-left:1.1rem}
.su-body li{margin:.3rem 0;line-height:1.45}
.su-more{margin-top:.5rem}
.su-more>summary{cursor:pointer;font-weight:800;color:var(--acc)}
.su-box{display:flex;flex-direction:column;gap:.4rem;padding:1.05rem 1.1rem;border-radius:18px;border:1px solid var(--bd2);background:var(--card);color:var(--text)!important;text-decoration:none!important}
.su-box>strong{font-size:1.12rem;line-height:1.25}
.su-box .su-sum{margin:0;font-size:.9rem;font-weight:500}
.su-pts{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.15rem}
.su-pts i{font-style:normal;padding:.28rem .6rem;border-radius:999px;border:1px solid var(--bd2);font-size:.78rem;font-weight:700;color:var(--text)}
.su-pts .su-more-n{color:var(--acc);border-color:color-mix(in srgb,var(--acc) 40%,transparent)}
html[data-theme] body .su-head p{text-align:center;max-width:34rem}
.su-go{display:inline-flex;align-items:center;gap:.35rem;margin-top:.2rem;color:var(--acc);font-weight:800;font-size:.88rem}
.su-go .ico{width:16px;height:16px}
.su-row{gap:.6rem;flex-wrap:wrap}.su-row .field{flex:1 1 150px}
.su-imp{display:flex;flex-direction:column;gap:.15rem;max-height:420px;overflow:auto;margin:.4rem 0 .8rem;padding:.2rem;border:1px solid var(--bd);border-radius:12px}
.su-imp-it{display:flex;align-items:flex-start;gap:.55rem;padding:.45rem .5rem;border-radius:8px}
.su-imp-it span{display:flex;flex-direction:column}
.su-imp-it.is-done{opacity:.55}
