/* Galerie (salle d'expo : tableaux encadrés + cartel), Avis (couverture de magazine de jeux + tampon « Test en cours »),
   Pronostics (tickets de pari), Assistant (orbe animé, conversation façon téléphone). Prévu pour le clair et le sombre. */

/* ================= GALERIE : salle d'expo ================= */
.gx3 .glv-hero h1{font-size:clamp(3.4rem,17vw,7rem)!important;line-height:.84!important}
.gx3 .glv-hero h1 span{color:transparent;-webkit-text-stroke:2px #fff}
html[data-theme] .gx3 .gl-add{border-radius:20px!important;border:2px dashed var(--acc)!important;background:none!important}
html[data-theme] .gx3 .gl-add summary{font-weight:800;color:var(--text)}
html[data-theme] .gx3 .gl-win{border-radius:20px!important;border:0!important;background:linear-gradient(120deg,#f2c14e,#e0a73a)!important;color:#0b0b0c!important;font-weight:700}
html[data-theme] .gx3 .gl-win a,html[data-theme] .gx3 .gl-win strong{color:#0b0b0c!important}
html[data-theme] .gx3 .pills a{border-radius:99px!important}
html[data-theme] .gx3 .pills a.on{background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
/* le mur */
html[data-theme] .gx3 .gl-grid{display:block!important;columns:2;column-gap:.9rem;counter-reset:oeuvre;margin-top:1.2rem}
html[data-theme] .gx3 .gl-it{counter-increment:oeuvre;break-inside:avoid;display:block;margin:0 0 1.2rem!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important}
/* cadre + passe-partout */
html[data-theme] .gx3 .gl-img{display:block;padding:.55rem;background:#f4f1ea!important;border:6px solid #1b1714;border-radius:3px!important;box-shadow:0 2px 0 #000,0 18px 30px rgba(0,0,0,.35);transition:transform .25s}
html[data-theme] .gx3 .gl-it:nth-child(3n+2) .gl-img{border-color:#6b4b2a}
html[data-theme] .gx3 .gl-it:nth-child(3n) .gl-img{border-color:#c9a24a}
html[data-theme] .gx3 .gl-img:hover{transform:translateY(-3px) rotate(-.4deg)}
html[data-theme] .gx3 .gl-img img{display:block;width:100%;height:auto;border-radius:0!important}
/* cartel sous le tableau */
html[data-theme] .gx3 .gl-it figcaption{position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;gap:.25rem .5rem;margin:.6rem .2rem 0;padding:.55rem .65rem;border-radius:4px;background:var(--card)!important;border:1px solid var(--bd2);box-shadow:0 2px 6px rgba(0,0,0,.12)}
html[data-theme] .gx3 .gl-it figcaption::before{content:"Œuvre n°" counter(oeuvre,decimal-leading-zero);grid-column:1/-1;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.58rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
html[data-theme] .gx3 .gl-who{display:flex;align-items:center;gap:.35rem;min-width:0;font-weight:800;font-size:.82rem;color:var(--text)!important;text-decoration:none!important}
html[data-theme] .gx3 .gl-who span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-theme] .gx3 .gl-cap{grid-column:1/-1;font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:.82rem;line-height:1.35;color:var(--soft)}
html[data-theme] .gx3 .gl-vote{display:inline-flex;align-items:center;gap:.25rem;padding:.3rem .6rem;border-radius:99px;border:1px solid var(--bd2)!important;background:none!important;color:var(--text)!important;font-weight:800;font-size:.78rem}
html[data-theme] .gx3 .gl-vote .ico{width:15px;height:15px}
html[data-theme] .gx3 .gl-vote.on{background:#e5484d!important;border-color:#e5484d!important;color:#fff!important}
@media (min-width:760px){html[data-theme] .gx3 .gl-grid{columns:3;column-gap:1.4rem}}
@media (min-width:1100px){html[data-theme] .gx3 .gl-grid{columns:4}}

/* ================= AVIS : couverture de magazine ================= */
html[data-theme] .rvx .rv-hero{position:relative;overflow:hidden;padding:1.6rem 1.3rem!important;border-radius:26px!important;border:1px solid var(--bd2)!important;background:radial-gradient(90% 70% at 100% 0%,rgba(var(--acc-rgb),.22),transparent 65%),var(--card)!important;box-shadow:none!important}
html[data-theme] .rvx .rv-hero .cd-k{display:inline-block;padding:.25rem .55rem;border-radius:6px;background:#f2c14e!important;color:#0b0b0c!important;font-size:.62rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
html[data-theme] .rvx .rv-hero h1{margin:.6rem 0 .5rem;font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:clamp(2.8rem,13vw,5.4rem)!important;line-height:.86!important;text-transform:uppercase;color:var(--text)!important}
html[data-theme] .rvx .rv-hero h1 span{color:transparent;-webkit-text-stroke:2px var(--acc)}
html[data-theme] .rvx .rv-hero .ln-sub,html[data-theme] .rvx .rv-hero .muted{color:var(--soft)!important}
html[data-theme] .rvx .rv-hero strong{color:var(--text)!important}
/* tampon */
.rv-stamp{position:absolute;right:-.4rem;top:1.2rem;padding:.4rem .8rem;border:3px solid #e5484d;border-radius:8px;color:#e5484d;font-family:var(--disp,Impact,sans-serif);font-size:1.15rem;letter-spacing:.06em;text-transform:uppercase;transform:rotate(12deg);opacity:.9;mix-blend-mode:normal}
/* compte à rebours : chiffres sur volets (comme la page Sortie) */
html[data-theme] .rvx .rv-cd{display:grid!important;grid-template-columns:repeat(4,1fr);gap:.4rem;margin:1rem 0}
html[data-theme] .rvx .rv-cd>div{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html[data-theme] .rvx .rv-cd strong{position:relative;display:grid;place-items:center;width:100%;height:62px;border-radius:10px;background:linear-gradient(180deg,#1d1d20 50%,#141416 50%)!important;color:#f2c14e!important;font-family:var(--disp,Impact,sans-serif);font-weight:400;font-size:2.3rem;line-height:1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}
html[data-theme] .rvx .rv-cd strong::after{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:#0b0b0c}
html[data-theme] .rvx .rv-cd span{font-size:.6rem!important;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)!important}
/* la note : gros macaron */
html[data-theme] .rvx .rv-score{display:inline-grid;place-items:center;width:150px;height:150px;margin:.6rem 0;border-radius:50%;background:var(--acc)!important;color:#fff!important;box-shadow:0 0 0 6px var(--card),0 0 0 9px var(--acc)}
html[data-theme] .rvx .rv-score b{font-family:var(--disp,Impact,sans-serif);font-weight:400;font-size:4rem;line-height:.9;color:#fff!important}
html[data-theme] .rvx .rv-score span{margin-top:-1.2rem;font-weight:800;color:rgba(255,255,255,.85)!important}
html[data-theme] .rvx .rv-crit>div{gap:.6rem}
html[data-theme] .rvx .rv-bar{height:10px!important;border-radius:99px;background:rgba(var(--ink-rgb,244,244,243),.1)!important}
html[data-theme] .rvx .rv-bar>i{border-radius:99px;background:var(--acc)!important}
/* guides de lancement */
html[data-theme] .rvx .ln-sec,html[data-theme] .rvx .rv-form,html[data-theme] .rvx .rv-item{border-radius:24px!important;border:1px solid var(--bd2)!important;background:var(--card)!important;box-shadow:none!important;color:var(--text)}
html[data-theme] .rvx .ln-sec h2,html[data-theme] .rvx .rv-form h2,html[data-theme] .rvx .rv-list h2{font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:1.8rem!important;text-transform:uppercase;color:var(--text)!important}
html[data-theme] .rvx .ln-sec .muted,html[data-theme] .rvx .ln-sec p{color:var(--soft)!important}
html[data-theme] .rvx .rv-guides{display:flex!important;flex-direction:column;gap:0!important;border-top:1px solid var(--bd2)}
html[data-theme] .rvx .rv-guides a{counter-increment:gd;position:relative;display:flex!important;flex-direction:column;gap:.15rem;padding:.9rem .2rem .9rem 2.8rem!important;border:0!important;border-bottom:1px solid var(--bd2)!important;border-radius:0!important;background:none!important;color:var(--text)!important;text-decoration:none!important}
html[data-theme] .rvx .rv-guides{counter-reset:gd}
html[data-theme] .rvx .rv-guides a::before{content:counter(gd,decimal-leading-zero);position:absolute;left:0;top:.75rem;font-family:var(--disp,Impact,sans-serif);font-size:1.6rem;line-height:1;color:transparent;-webkit-text-stroke:1.2px var(--acc)}
html[data-theme] .rvx .rv-guides b{font-family:var(--disp,Impact,sans-serif);font-weight:400;font-size:1.2rem;text-transform:uppercase;color:var(--text)!important}
html[data-theme] .rvx .rv-guides small{font-size:.82rem;color:var(--muted)!important}
html[data-theme] .rvx .rv-note{color:var(--acc)!important;font-family:var(--disp,Impact,sans-serif);font-size:2rem}

/* ================= PRONOSTICS : tickets de pari ================= */
.pz .ph-pr h1{font-size:clamp(3rem,15vw,6rem)!important;line-height:.86!important}
html[data-theme] .pz .ph-chips li{border-radius:99px!important;border:1px solid var(--bd2)!important;background:none!important;color:var(--soft)!important}
html[data-theme] .pz .ph-chips li b{color:var(--acc)!important}
html[data-theme] .pz .pr-card{position:relative;margin:0 0 1.4rem!important;padding:1.3rem 1.1rem 1rem!important;border-radius:18px!important;border:0!important;background:var(--card)!important;box-shadow:0 1px 0 var(--bd2),0 14px 30px rgba(0,0,0,.14)!important;
  -webkit-mask:radial-gradient(circle 10px at 0 3.4rem,transparent 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 10px at 100% 3.4rem,transparent 98%,#000) right/51% 100% no-repeat;
  mask:radial-gradient(circle 10px at 0 3.4rem,transparent 98%,#000) left/51% 100% no-repeat,radial-gradient(circle 10px at 100% 3.4rem,transparent 98%,#000) right/51% 100% no-repeat}
html[data-theme] .pz .pr-card::before{content:"Ticket n°" attr(data-n);position:absolute;left:1.1rem;top:.7rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
html[data-theme] .pz .pr-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin:.6rem 0 1.1rem;padding-bottom:1rem;border-bottom:2px dashed var(--bd2)}
html[data-theme] .pz .pr-head h2{margin:0!important;font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:1.6rem!important;line-height:1.02;text-transform:uppercase;color:var(--text)!important}
html[data-theme] .pz .pr-head .pill{flex:none;border-radius:6px!important;background:#3ecf8e!important;color:#06120c!important;border:0!important;font-weight:900;font-size:.62rem;letter-spacing:.1em;text-transform:uppercase}
html[data-theme] .pz .pr-card.resolved .pr-head .pill{background:var(--text)!important;color:var(--bg)!important}
/* les choix : grosses cotes */
html[data-theme] .pz .pr-opt{position:relative;display:block;margin:0 0 .5rem!important;padding:0!important;border:0!important;background:none!important}
html[data-theme] .pz .pr-opt form{margin:0}
html[data-theme] .pz .pr-btn{position:relative;z-index:1;display:flex;align-items:center;gap:.5rem;width:100%;min-height:54px;padding:0 4.2rem 0 1rem!important;border-radius:14px!important;border:1px solid var(--bd2)!important;background:var(--bg2)!important;color:var(--text)!important;font:inherit;font-weight:800;font-size:.95rem;text-align:left;cursor:pointer;overflow:hidden}
html[data-theme] .pz .pr-btn.is-static{cursor:default}
html[data-theme] .pz .pr-bar{position:absolute!important;z-index:2;left:1px;top:1px;bottom:1px;width:calc(100% - 2px)!important;height:auto!important;margin:0!important;border-radius:13px;background:none!important;pointer-events:none;overflow:hidden}
html[data-theme] .pz .pr-bar i{display:block;height:100%;border-radius:0;background:rgba(var(--acc-rgb),.16)!important}
html[data-theme] .pz .pr-pct{position:absolute;z-index:3;right:1rem;top:50%;transform:translateY(-50%);font-family:var(--disp,Impact,sans-serif);font-size:1.3rem;color:var(--text)!important;pointer-events:none}
html[data-theme] .pz .pr-opt.mine .pr-btn{border-color:var(--acc)!important;box-shadow:inset 0 0 0 1px var(--acc)}
html[data-theme] .pz .pr-opt.mine .pr-bar i{background:rgba(var(--acc-rgb),.3)!important}
html[data-theme] .pz .pr-opt.good .pr-btn{border-color:#3ecf8e!important}
html[data-theme] .pz .pr-opt.good .pr-bar i{background:rgba(62,207,142,.3)!important}
html[data-theme] .pz .pr-me{padding:.15rem .45rem;border-radius:6px;background:var(--acc);color:#fff;font-size:.62rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
html[data-theme] .pz .pr-opt.good .pr-me{background:#3ecf8e;color:#06120c}
html[data-theme] .pz .pr-card>small{display:block;margin-top:.6rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;color:var(--muted)!important}

/* ================= ASSISTANT ================= */
html[data-theme] .aip-hero{position:relative;overflow:hidden;border-radius:26px!important;border:1px solid var(--bd2)!important;background:radial-gradient(80% 90% at 0% 0%,rgba(var(--acc-rgb),.25),transparent 60%),var(--card)!important;box-shadow:none!important}
html[data-theme] .aip-hero h1{font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:2.4rem!important;line-height:.95;text-transform:uppercase;color:var(--text)!important}
html[data-theme] .aip-hero h1 b{color:transparent!important;-webkit-text-stroke:1.5px var(--acc)}
html[data-theme] .aip-hero small{color:var(--muted)!important}
/* l'orbe : dégradé qui tourne */
html[data-theme] .aip-orb{position:relative;width:64px!important;height:64px!important;border-radius:50%!important;background:conic-gradient(from 0deg,var(--acc),#a48be8,#4f9fe0,#3ecf8e,var(--acc))!important;animation:aiSpin 6s linear infinite;box-shadow:0 0 30px rgba(var(--acc-rgb),.45)}
html[data-theme] .aip-orb>.ico{position:relative;z-index:2;animation:aiSpin 6s linear infinite reverse;color:#fff}
html[data-theme] .aip-orb>i{position:absolute;inset:5px;border-radius:50%;background:var(--card)!important;opacity:.85}
@keyframes aiSpin{to{transform:rotate(360deg)}}
html[data-theme] .aip-trust li{border-radius:99px!important;border:1px solid var(--bd2)!important;background:none!important;color:var(--soft)!important}
html[data-theme] .ai-about summary{color:var(--soft)!important}
/* bulles */
html[data-theme] .ai-msg.bot{border-radius:20px 20px 20px 6px!important;border:1px solid var(--bd2)!important;background:var(--card)!important;color:var(--text)!important}
html[data-theme] .ai-msg.bot *{color:inherit}
html[data-theme] .ai-msg.me,html[data-theme] .ai-msg.user{border-radius:20px 20px 6px 20px!important;background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
html[data-theme] .ai-msg.me *,html[data-theme] .ai-msg.user *{color:#fff!important}
/* idées de questions : cartes qui défilent */
html[data-theme] .ai-sugg h2{font-family:var(--disp,Impact,sans-serif)!important;font-weight:400!important;font-size:1.5rem!important;letter-spacing:0!important;text-transform:uppercase;color:var(--text)!important}
html[data-theme] .ai-grid{display:grid!important;grid-auto-flow:column;grid-auto-columns:68%;gap:.6rem;overflow-x:auto;scrollbar-width:none;margin:0 -1rem;padding:0 1rem .4rem;scroll-snap-type:x mandatory}
html[data-theme] .ai-grid::-webkit-scrollbar{display:none}
html[data-theme] .ai-card{scroll-snap-align:start;display:flex!important;flex-direction:column;align-items:flex-start!important;gap:.6rem;min-height:130px;padding:1rem!important;border-radius:20px!important;border:1px solid var(--bd2)!important;background:var(--card)!important;color:var(--text)!important;text-align:left}
html[data-theme] .ai-card>span{font-size:1.6rem}
html[data-theme] .ai-card em{font-style:normal;font-weight:800;font-size:.92rem;line-height:1.3;color:var(--text)!important}
html[data-theme] .ai-card .ico{margin-top:auto;align-self:flex-end;width:20px;height:20px;color:var(--acc)}
html[data-theme] .ai-card.aic-0{background:var(--acc)!important;border-color:var(--acc)!important}
html[data-theme] .ai-card.aic-0 em,html[data-theme] .ai-card.aic-0 .ico{color:#fff!important}
/* barre de question */
html[data-theme] .ai-dock .chat-form{border-radius:28px!important;border:1px solid var(--bd2)!important;background:var(--card)!important}
html[data-theme] .ai-dock .chat-form input{border:0!important;background:none!important;box-shadow:none!important;min-width:0}
html[data-theme] .aip-send{width:44px;height:44px;padding:0!important;border-radius:50%!important;background:var(--acc)!important;border-color:var(--acc)!important;color:#fff!important}
@media (min-width:760px){html[data-theme] .ai-grid{grid-auto-flow:row;grid-template-columns:repeat(3,1fr);margin:0;padding:0;overflow:visible}}
@media (prefers-reduced-motion:reduce){html[data-theme] .aip-orb,html[data-theme] .aip-orb>.ico{animation:none}}
html[data-theme] .gx3 .gl-add .field span,html[data-theme] .gx3 .gl-add .muted{color:var(--soft)!important}
