:root{color-scheme:dark;--bg:#12101e;--surface:#1c192c;--surface2:#292438;--line:#393549;--white:#f8f6fc;--muted:#a9a4be;--yellow:#f9c84c;--pink:#fc679a;--purple:#9a76ef;--green:#74dbab;--shadow:0 24px 80px #03010a70}
*{box-sizing:border-box}
html{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;scroll-behavior:smooth}
body{margin:0;min-height:100dvh;background:var(--bg);color:var(--white);overflow-x:hidden}
.background-orb{position:fixed;z-index:-1;pointer-events:none;filter:blur(70px);border-radius:50%;opacity:.25}
.orb-one{width:430px;height:430px;background:#772d9a;top:-200px;right:-160px}
.orb-two{width:380px;height:380px;background:#9a493b;bottom:-200px;left:-180px}
.page-wrap{max-width:1080px;margin:0 auto;padding:26px 28px 16px;min-height:100dvh;display:flex;flex-direction:column}
.topbar,.brand,.header-chip,.actions,.row,.lobby-top,.card-head,.player-head,.status-row,.play-meta,.room-link{display:flex;align-items:center}
.topbar{justify-content:space-between;gap:12px}.brand{gap:12px;color:var(--white);text-decoration:none;font-size:23px;font-weight:950;letter-spacing:-1.5px;line-height:1}.brand small{display:block;margin-top:5px;color:#b2abc6;font-size:9px;letter-spacing:2.6px;font-weight:800}.brand-accent{color:var(--yellow)}.brand-icon{display:grid;place-items:center;background:var(--yellow);color:#24142e;width:42px;height:42px;border-radius:14px;font-size:28px;transform:rotate(-8deg)}.header-chip{border:1px solid #3c3950;border-radius:999px;padding:9px 14px;font-weight:800;letter-spacing:1px;font-size:10px;color:#d6d1e6;gap:8px}.green-dot{background:var(--green);width:7px;height:7px;border-radius:50%;box-shadow:0 0 9px #74dbab8c}
main{flex:1}.hero{padding:90px 0 48px;text-align:center;max-width:790px;margin:auto}.eyebrow{font-size:12px;font-weight:900;letter-spacing:2px;text-transform:uppercase;color:var(--pink)}h1{font-size:clamp(3.5rem,8vw,6.8rem);font-weight:1000;letter-spacing:-.075em;line-height:.96;margin:20px 0 18px}.gradient-text{background:linear-gradient(120deg,var(--yellow),#ff8b79 54%,var(--pink));-webkit-background-clip:text;background-clip:text;color:transparent}.lead{font-size:clamp(1.02rem,2vw,1.25rem);color:#c6bfd6;line-height:1.65;max-width:610px;margin:auto}.highlight{color:#fff;font-weight:800}.hero-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:15px auto 20px;max-width:810px}.panel{border:1px solid var(--line);background:linear-gradient(145deg,#282337d9,#191727ea);border-radius:24px;padding:26px;box-shadow:var(--shadow)}.panel h2,.panel h3{margin:0 0 8px}.panel h2{font-size:24px;letter-spacing:-.7px}.panel p{margin:8px 0 20px;color:var(--muted);font-size:14px;line-height:1.6}.panel-icon{font-size:30px;margin-bottom:18px}.panel.primary{border-color:#ad704f66;background:linear-gradient(160deg,#39263c,#241c30)}label{display:block;font-weight:750;font-size:13px;margin-bottom:8px;color:#e3def1}input[type=text],select{appearance:none;width:100%;min-height:51px;border:1px solid #565168;border-radius:13px;color:#fff;background:#151423;font:inherit;font-size:16px;outline:0;padding:0 16px;transition:border .18s}select{cursor:pointer}input:focus,select:focus{border-color:var(--yellow);box-shadow:0 0 0 3px #f9c84c18}input::placeholder{color:#837d98}.code-input{text-transform:uppercase;letter-spacing:6px;font-weight:950;text-align:center;font-size:23px!important}.field{margin-bottom:15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;padding:14px 19px;min-height:50px;border-radius:13px;font-weight:900;font-size:15px;letter-spacing:-.15px;cursor:pointer;text-decoration:none;transition:transform .12s,filter .12s,background .12s;touch-action:manipulation}.btn:hover{filter:brightness(1.1)}.btn:active{transform:scale(.98)}.btn:focus-visible{outline:3px solid #fff;outline-offset:3px}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.main{background:var(--yellow);color:#171120}.btn.hot{background:var(--pink);color:#190e1a}.btn.outline{color:#f6efff;background:#373047;border:1px solid #544d66}.btn.ghost{color:#c4bbd3;background:transparent;border:1px solid #403a51}.btn.danger{color:#ffbdca;border:1px solid #8f4966;background:transparent}.btn.full{width:100%}.btn.tiny{padding:7px 11px;min-height:34px;font-size:12px}.steps{display:flex;align-items:center;gap:16px;justify-content:center;flex-wrap:wrap;color:#b0a9c3;font-size:13px;padding:15px 0 0}.steps span{display:flex;align-items:center;gap:7px}.steps b{background:#322d42;border-radius:100px;padding:4px 9px;color:var(--yellow)}.resume-btn{margin:0 auto 24px;display:flex}
.site-footer{border-top:1px solid #332e40;padding-top:19px;margin-top:45px;display:flex;justify-content:space-between;gap:20px;color:#8e89a1;font-size:11px;line-height:1.6}
.room-page{max-width:940px;margin:50px auto 20px}.room-title{font-size:clamp(2rem,5vw,3.5rem);letter-spacing:-.06em;margin:12px 0 10px;line-height:1.08}.subtle{color:var(--muted);font-size:14px;line-height:1.6}.lobby-top{justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:25px}.invite-panel{background:linear-gradient(110deg,#33233b,#252034);border:1px solid #655073;border-radius:23px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.invite-code{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:.13em;color:var(--yellow);font-weight:1000;line-height:1.1;margin:6px 0}.micro{font-weight:900;text-transform:uppercase;font-size:11px;letter-spacing:2px;color:#aaa2c2}.actions{gap:10px;flex-wrap:wrap}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.player-list{display:grid;gap:10px;margin-top:20px}.player-item{background:#292538;padding:13px;border-radius:14px;display:flex;align-items:center;gap:12px;border:1px solid #373246}.avatar{width:39px;height:39px;display:grid;place-items:center;background:#55406e;color:#ffda81;border-radius:13px;font-weight:900;font-size:17px}.player-info{flex:1;min-width:0}.player-info strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.player-info small{font-size:11px;color:#a5a0b8}.status-pill{padding:5px 9px;border:1px solid #514c63;border-radius:100px;color:#c0b8d4;font-size:10px;font-weight:800}.status-pill.online{border-color:#396c5d;color:var(--green)}.chip{background:#302a42;border-radius:100px;padding:7px 10px;font-weight:750;font-size:11px;color:#c4bbd6}.warning{background:#46351c;border:1px solid #a17430;color:#ffda8b;border-radius:13px;padding:13px;font-size:13px;line-height:1.5}.category-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 22px}.choice{display:flex;align-items:center;gap:8px;border-radius:11px;background:#302a40;border:1px solid #433c52;padding:11px;font-size:13px;color:#eee8ff;cursor:pointer;margin:0}.choice input{accent-color:var(--yellow);width:18px;height:18px;flex-shrink:0}.settings-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.banner{border:1px solid #4b445d;background:#2a253a;color:#d3c9e5;font-size:13px;border-radius:12px;padding:13px 16px;margin-top:15px}.hidden{display:none!important}
.play-layout{max-width:850px;margin:32px auto}.play-meta{justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}.round-pill{color:#e8d9f9;background:#292337;border:1px solid #544866;border-radius:99px;padding:11px 16px;font-weight:850;font-size:12px}.question-panel{background:radial-gradient(ellipse at 100% 0%,#55304e 0,transparent 55%),linear-gradient(150deg,#33263f 0%,#211d32 75%);border:1px solid #81526e;border-radius:28px;box-shadow:var(--shadow);padding:clamp(23px,5vw,42px);overflow:hidden;position:relative}.card-head{justify-content:space-between;gap:10px;flex-wrap:wrap}.theme-badge{background:#f9c84c22;color:#ffe19a;border:1px solid #efc46e5e;border-radius:100px;padding:8px 12px;font-size:12px;font-weight:900}.number-badge{font-size:11px;color:#b5a9c6;letter-spacing:1.4px;font-weight:900}.role-line{margin:35px 0 12px;font-size:14px;color:#c7b9d5}.role-name{color:var(--yellow);font-weight:900}.role-name.target{color:#ff9ac0}.question-text{font-size:clamp(1.7rem,4.3vw,3.0rem);font-weight:900;letter-spacing:-.048em;line-height:1.22;margin:16px 0 32px;max-width:680px}.twist{border:1px solid #e29d9473;border-radius:17px;background:#382638b5;padding:17px;display:flex;gap:13px;align-items:flex-start}.twist-icon{font-size:25px}.twist strong{display:block;color:#ffc291;margin-bottom:4px}.twist p{font-size:14px;line-height:1.5;color:#ede2e8;margin:0}.timer{font-size:14px;font-weight:950;color:#fff5e6;border:1px solid #8e6d60;border-radius:12px;background:#4b3341;padding:11px 16px}.timer.ended{color:#ffabb4}.control-panel{background:#1f1b2d;border:1px solid var(--line);border-radius:21px;margin-top:16px;padding:19px}.control-panel h3{margin:0 0 5px;font-size:16px}.control-panel p{color:var(--muted);font-size:13px;margin:5px 0 14px}.control-panel .actions{margin-top:12px}.reaction-bar{display:flex;gap:9px;margin:14px 0 0;flex-wrap:wrap}.reaction{flex:1;min-width:64px;border:1px solid #464055;border-radius:12px;padding:12px;background:#302a40;color:#fff;cursor:pointer;font-size:23px;display:flex;align-items:center;justify-content:center;gap:7px}.reaction span{color:#c8bfd7;font-size:12px;font-weight:800}.reaction.selected{border-color:var(--yellow);background:#483e45}.reaction:disabled{opacity:.5;cursor:not-allowed}.target-picker{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.target-picker select{max-width:300px;flex:1}.players-strip{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.players-strip .chip.offline{opacity:.4}.quiet-note{font-size:12px;color:#a59fba;margin:12px 0 0}.end-page{text-align:center;max-width:680px;margin:65px auto 20px}.end-icon{font-size:70px}.end-page h1{font-size:clamp(3rem,7vw,5rem)}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:460px;margin:28px auto}.stat{border:1px solid #514259;border-radius:19px;background:#292035;padding:20px}.stat b{font-size:35px;color:var(--yellow);display:block}.stat span{font-size:12px;color:#c8bfd5}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,30px);background:#fff5db;color:#211b26;font-weight:800;font-size:13px;padding:13px 19px;border-radius:14px;box-shadow:var(--shadow);opacity:0;pointer-events:none;z-index:100;transition:opacity .18s,transform .18s;max-width:92%;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.loading{text-align:center;padding:120px 20px;color:#bcb1d0}.spinner{display:inline-block;width:17px;height:17px;border:2px solid #777;border-top-color:var(--yellow);border-radius:50%;animation:spin .8s linear infinite;vertical-align:-3px;margin-right:5px}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:720px){.page-wrap{padding:18px 16px 15px}.header-chip{font-size:0;padding:10px}.green-dot{width:8px;height:8px}.brand{font-size:20px}.brand small{font-size:8px}.brand-icon{width:36px;height:36px}.hero{padding:65px 0 32px}.hero-cards,.grid-two{grid-template-columns:1fr;gap:14px}.panel{padding:22px}.site-footer{flex-direction:column;gap:2px}.lobby-top{align-items:flex-start;flex-direction:column}.room-page{margin-top:32px}.invite-panel{align-items:stretch;flex-direction:column}.invite-panel .actions .btn{flex:1}.settings-row{grid-template-columns:1fr 1fr}.category-list{grid-template-columns:1fr 1fr}.question-panel{border-radius:22px}.question-text{margin-top:25px}.control-panel .btn{flex:1}.play-layout{margin-top:27px}}
@media(max-width:390px){.category-list{grid-template-columns:1fr}.settings-row{grid-template-columns:1fr}.btn{padding:13px 13px}.reaction{min-width:55px}.hero h1{font-size:3.3rem}}

/* V2: illustrations Flow, lorsqu’elles seront associées à une carte validée. */
.question-illustration{display:block;width:100%;max-height:360px;aspect-ratio:4/3;object-fit:cover;border-radius:18px;margin:12px 0 16px;}

/* V3 — cartes refus synchronisées, gages et option boisson. */
.refusal-panel{border-color:#f9c84c99;background:radial-gradient(ellipse at 100% 0%,#664a37 0,transparent 55%),linear-gradient(150deg,#392c42,#211d32 75%)}
.refusal-subtitle{margin-top:16px;text-transform:uppercase;color:#ffcb8d;font-size:13px;font-weight:950;letter-spacing:1px}
.safety-info{padding:14px 16px;border-radius:14px;border:1px solid #61536c;background:#2e2b3b;color:#ded6e5;font-size:13px;line-height:1.55;margin-top:12px}

/* V5 : explication lisible sous chaque question et gage, sans masquer la carte. */
.action-explanation{margin:14px 0 12px;padding:13px 15px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.055);border-radius:12px;line-height:1.45;}
.action-explanation strong{display:block;font-size:.91rem;letter-spacing:.01em;margin-bottom:5px;color:#ffe5a9;}
.action-explanation p{font-size:1rem;margin:0;color:#f3f0fa;}
@media(max-width:480px){.action-explanation{padding:12px 13px;margin:12px 0}.action-explanation p{font-size:1rem}}

.solo-promo{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;border:1px solid #6d5b71;border-radius:18px;background:#30263d;padding:18px 22px;margin:18px 0;font-size:16px;font-weight:800}

/* V7 — install et serveur mobile natif */
.native-settings{margin:18px 0 0}.native-settings form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.native-settings .field{flex:1;min-width:min(100%,240px)}.site-footer [data-install-app]{margin-top:8px;white-space:nowrap}@media (display-mode:standalone){.site-footer{padding-bottom:env(safe-area-inset-bottom)}}
.refusal-choice{border:1px solid #a36f63;border-radius:18px;background:#2f2437;padding:19px}
.refusal-choice .btn{flex:1;min-width:200px;white-space:normal}
.refusal-choice h2{font-size:clamp(1.5rem,5vw,2.4rem);margin:12px 0}
@media(max-width:550px){.refusal-choice .actions{flex-direction:column}.refusal-choice .btn{width:100%}}

/* V18 — animations sobres et ergonomie pour écrans de 320 à 520 px. */
@keyframes card-reveal{from{opacity:.45;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
.stage-enter .question-panel{animation:card-reveal .24s ease-out both}
.stage-enter .control-panel{animation:card-reveal .29s ease-out both}
.question-panel:focus{outline:none}
.is-pending [data-act]{pointer-events:none;opacity:.7}
.question-text{overflow-wrap:break-word;hyphens:auto}
.actions>.btn{max-width:100%;overflow-wrap:anywhere}
@media(max-width:520px){
 .page-wrap{padding:14px 14px max(16px,env(safe-area-inset-bottom))}
 .play-layout{width:100%;margin:14px auto 22px}
 .play-meta{gap:7px;margin-bottom:11px}
 .round-pill{font-size:11px;padding:8px 11px}
 .question-panel{border-radius:20px;padding:20px 17px}
 .question-panel .role-line{margin:20px 0 9px;line-height:1.55}
 .question-text{font-size:clamp(1.5rem,6.1vw,2.15rem);line-height:1.3;letter-spacing:-.025em;margin:17px 0 23px}
 .card-head{align-items:flex-start}
 .theme-badge{font-size:11px;line-height:1.45}
 .number-badge{font-size:10px;max-width:100%;overflow-wrap:anywhere}
 .twist{padding:13px;gap:10px}
 .twist strong{font-size:15px;line-height:1.3}
 .twist p{font-size:15px;line-height:1.55}
 .control-panel{margin-top:12px;padding:16px 14px}
 .control-panel p{font-size:14px;line-height:1.5}
 .control-panel .actions,.refusal-choice .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 .control-panel .actions .btn,.refusal-choice .actions .btn{width:100%;min-width:0;min-height:52px;white-space:normal;padding:13px 12px;line-height:1.4}
 .refusal-choice{padding:19px 16px}
 .reaction-bar{gap:7px}
 .reaction{min-width:0;padding:10px 6px;font-size:21px}
 .reaction span{font-size:11px}
 .invite-panel{padding:19px}
 .toast{bottom:max(14px,env(safe-area-inset-bottom));max-width:calc(100vw - 28px);line-height:1.45}
}
@media(max-width:360px){
 .page-wrap{padding-inline:11px}
 .topbar{gap:7px}
 .brand{font-size:18px;letter-spacing:-1px}
 .brand small{font-size:7px;letter-spacing:1.7px}
 .question-panel{padding:17px 13px}
 .theme-badge{padding:7px 9px}
 .question-text{font-size:clamp(1.43rem,6.4vw,1.8rem)}
 .hero h1{font-size:2.8rem}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .stage-enter .question-panel,.stage-enter .control-panel,.spinner{animation:none!important}
 .btn,.toast,input,select{transition:none!important}
}

/* V19 — cartes Boisson épurées */
.refusal-panel:has(.theme-badge:first-child) .question-text{overflow-wrap:break-word}

/* V20 — trois propositions facultatives dans un volet fermé par défaut. */
.answer-ideas{margin-top:16px;background:#29253a;border:1px solid #5d526d;border-radius:15px;color:#f2eafa;overflow:hidden}
.answer-ideas summary{display:block;cursor:pointer;list-style:none;position:relative;padding:16px 42px 16px 16px;font-size:15px;font-weight:850;line-height:1.4;touch-action:manipulation}
.answer-ideas summary::-webkit-details-marker{display:none}
.answer-ideas summary span{font-size:13px;font-weight:600;color:#c7bad9}
.answer-ideas summary:after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:23px;color:var(--yellow)}
.answer-ideas[open] summary:after{content:'−'}
.answer-ideas summary:focus-visible{outline:3px solid var(--yellow);outline-offset:-4px}
.answer-ideas ol{margin:0;padding:10px 18px 4px 39px;border-top:1px solid #50445e}
.answer-ideas li{padding:8px 0 9px 3px;line-height:1.5;font-size:15px;overflow-wrap:anywhere}
.answer-ideas li::marker{color:var(--yellow);font-weight:900}
.answer-ideas p{margin:5px 16px 17px;font-size:12px;color:#c4bbd4;line-height:1.5}
@media(max-width:390px){.answer-ideas summary{padding:15px 37px 15px 12px}.answer-ideas li{font-size:14px}.answer-ideas ol{padding-left:34px}}


/* Identity refinement: COLOC CHAOS — energetic social game */
:root{--bg:#100e1b;--surface:#20192d;--surface2:#30263d;--line:#54445e;--muted:#c8bfd3;--yellow:#ffd56d;--pink:#ff789a;--purple:#b38bff;--green:#83e4bd;--shadow:0 18px 60px #08031172}
body{background:radial-gradient(ellipse 85% 55% at 95% -10%,#5b2744 0%,transparent 72%),radial-gradient(ellipse 75% 45% at 5% 100%,#342052 0%,transparent 75%),var(--bg)}
.topbar{border-bottom:1px solid #ffffff18;padding-bottom:17px;flex-wrap:wrap}
.brand{letter-spacing:-.045em;font-weight:950}.brand-accent{color:var(--yellow)}
.hero h1,.question-text{letter-spacing:-.025em;text-wrap:balance}
.panel,.question-panel{border:1px solid #76618555;box-shadow:0 15px 45px #08051055}
.question-panel{background:linear-gradient(150deg,#35203f,#201a32 65%,#1b192a)}
.btn{font-weight:800;min-height:46px;border-radius:13px;transition:transform .14s ease,box-shadow .14s ease,background .14s ease}
.btn:hover:not(:disabled){transform:translateY(-2px)}.btn:active:not(:disabled){transform:translateY(1px)}
:where(.btn,a,input,select,textarea,button,summary):focus-visible{outline:3px solid var(--yellow)!important;outline-offset:3px}
input,select,textarea{font-size:16px;max-width:100%}
:where(.panel,.question-panel,.player-item,.choice){overflow-wrap:anywhere}
@media(max-width:600px){.page-wrap{padding:18px 15px 22px}.topbar{gap:10px}.brand{font-size:21px}.actions{flex-wrap:wrap}.actions>.btn{flex:1 1 180px}.question-panel{padding:24px 17px}.btn{min-height:48px}}
@media(prefers-reduced-motion:reduce){.btn:hover:not(:disabled),.btn:active:not(:disabled){transform:none}}


/* COLOC CHAOS — expressive internal game presentation */
.hero{position:relative;padding:42px 10px 30px;text-align:center}
.hero .eyebrow{display:inline-flex;justify-content:center;padding:9px 17px;border-radius:999px;border:1px solid #f9c84c55;background:#f9c84c12;letter-spacing:.11em}
.hero h1{font-size:clamp(3.15rem,8.5vw,6.7rem);line-height:.96;text-transform:uppercase;font-weight:950;text-shadow:0 5px 35px #0006;margin:22px auto}
.hero .lead{margin-inline:auto;max-width:760px;font-size:clamp(1.04rem,2.4vw,1.3rem);line-height:1.7}
.hero-cards{gap:20px}
.hero-cards>.panel{position:relative;overflow:hidden;border-radius:23px;padding:27px;background:linear-gradient(152deg,#332345,#1e192c 70%)}
.hero-cards>.panel.primary{background:linear-gradient(142deg,#453046,#29213d 65%)}
.hero-cards>.panel:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--yellow),var(--pink),var(--purple))}
.hero-cards h2{font-size:clamp(1.42rem,3vw,1.9rem);letter-spacing:-.035em}
.local-setup .room-title{font-size:clamp(2.8rem,7vw,5rem);line-height:1.04;text-transform:uppercase;letter-spacing:-.055em}
.local-setup .local-form{border-radius:23px}
.round-pill,.theme-badge{letter-spacing:.055em}
.question-panel .question-text{line-height:1.26;font-weight:850}
@media(max-width:600px){.hero{padding:28px 2px 12px}.hero h1{font-size:clamp(2.6rem,12vw,4.4rem)}.hero-cards>.panel{padding:22px 18px}.local-setup .room-title{font-size:clamp(2.4rem,10vw,3.8rem)}}


/* Interior V3 — distinct collectible-card stage */
.play-layout{isolation:isolate}
.question-panel,.refusal-panel{position:relative;overflow:hidden;border-radius:28px;border:1px solid #c28b8559;background:radial-gradient(circle at 92% 4%,#7b3e6645,transparent 40%),linear-gradient(155deg,#37253f,#211c31 74%);box-shadow:0 25px 70px #06030d8c,inset 0 1px #ffffff18}
.question-panel:before,.refusal-panel:before{content:'';position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#ffd56d,#ff789a 46%,#b38bff)}
.question-panel:after{content:'✷';position:absolute;right:18px;bottom:0;font-size:clamp(5rem,21vw,12rem);line-height:1;color:#ffffff08;pointer-events:none}
.question-panel>*{position:relative;z-index:1}
.theme-badge,.round-pill,.number-badge{border-radius:999px;font-weight:850}
.question-text{font-size:clamp(1.65rem,4.7vw,2.9rem);line-height:1.2;letter-spacing:-.035em;text-wrap:pretty;overflow-wrap:anywhere}
.control-panel{border-radius:22px;border:1px solid #9b7b9b55;background:linear-gradient(145deg,#2e2138,#211c2e);box-shadow:0 14px 35px #06030b55}
.reaction-bar,.players-strip{flex-wrap:wrap;gap:9px}
.player-item,.choice{border-radius:15px;transition:border-color .17s ease,background .17s ease}
.choice:has(input:checked){border-color:#ffd56d;background:#ffd56d14}
.question-illustration{display:block;max-width:100%;max-height:min(43vh,340px);object-fit:contain;margin:18px auto;border-radius:18px;box-shadow:0 12px 30px #0005}
@media(max-width:600px){.question-panel,.refusal-panel{border-radius:22px;padding:25px 17px}.question-text{font-size:clamp(1.5rem,6.5vw,2.05rem)}.control-panel{padding:17px 13px}.play-layout{padding-inline:0}}


/* V4 — categorical visual grammar for actual playable card stages */
.play-layout .card-family{--family:#ffd56d;--family-bg:#473824}
.play-layout .card-family.card-question{--family:#ffd56d;--family-bg:#463426}
.play-layout .card-family.card-secret{--family:#bfa2ff;--family-bg:#30284b}
.play-layout .card-family.card-vote{--family:#80dfca;--family-bg:#19433f}
.play-layout .card-family.card-reveal{--family:#ff94b1;--family-bg:#512738}
.play-layout .card-family{border-color:color-mix(in srgb,var(--family) 58%,transparent);background:radial-gradient(circle at 90% 10%,var(--family-bg),transparent 65%),linear-gradient(145deg,#30243c,#1e192b)}
.play-layout .card-family:before{background:linear-gradient(90deg,var(--family),transparent)}
.play-layout .card-family .theme-badge,.play-layout .card-family .eyebrow{color:var(--family)}
.play-layout .card-family .number-badge{border:1px solid color-mix(in srgb,var(--family) 42%,transparent)}
.play-layout .card-family h1,.play-layout .card-family h2{overflow-wrap:anywhere}
@media(prefers-contrast:more){.play-layout .card-family{border-width:2px}.play-layout .card-family .theme-badge{font-weight:900}}

/* V40 - Navigation au sein du jeu, accessible aussi sur petit écran. */
.game-back-nav{display:flex;align-items:center;gap:12px;max-width:940px;margin:12px auto 20px;padding:0 5px;flex-wrap:wrap}
.game-back-button{min-width:125px;min-height:45px;white-space:nowrap}
.game-back-nav .quiet-note{margin:0;font-size:13px;text-align:left}
.game-back-nav button:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:520px){.game-back-nav{gap:7px;margin:8px auto 14px}.game-back-button{min-width:115px;min-height:48px}.game-back-nav .quiet-note{font-size:12px;flex:1}}

/* V41 : choix explicite entre téléphone partagé, joueurs proches et joueurs à distance. */
.location-modes{max-width:1080px;margin:18px auto 24px;padding:0 12px}
.location-modes h2{margin-bottom:6px;font-size:clamp(20px,2.8vw,27px)}
.location-mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 8px}
.location-mode-card{display:flex;flex-direction:column;gap:10px;padding:18px 16px;border-radius:17px;border:1px solid var(--border,rgba(255,255,255,.18));background:rgba(255,255,255,.055);color:inherit;text-decoration:none;transition:border-color .2s,background .2s,transform .2s}
.location-mode-card strong{font-size:16px;line-height:1.35}.location-mode-card span{font-size:13px;line-height:1.5;opacity:.8}
.location-mode-card:hover,.location-mode-card:focus-visible{border-color:var(--yellow,#f5c448);transform:translateY(-2px)}
.location-mode-card.selected{border:2px solid var(--yellow,#f5c448);background:rgba(255,208,68,.095)}
@media(max-width:650px){.location-mode-grid{grid-template-columns:1fr}.location-mode-card{padding:15px}.location-modes{padding:0 5px}}

/* Optional on-device speech transcription */
.voice-answer{display:grid;gap:10px;margin:18px 0;padding:18px;border:1px solid #a88bcb;border-radius:17px;background:#251d35}
.voice-answer label{font-weight:750;color:#fff0dc}
.voice-answer textarea{width:100%;min-height:105px;padding:14px;border-radius:12px;border:1px solid #a88bcb;background:#161326;color:#fff;font:inherit;resize:vertical}
.voice-answer .quiet-note{margin:0;line-height:1.5}


/* V57 — écran privé : d'abord la consigne, ensuite la question, enfin les aides.
   Commun au téléphone partagé, au Duo, aux salles en présentiel et à distance. */
.play-layout .card-secret .secret-stage{display:flex;flex-direction:column;gap:0;min-width:0}
.play-layout .card-secret .secret-stage-top{text-align:center;margin:0 0 14px}
.play-layout .card-secret .secret-step{margin:0;color:#d7c9f6;font-size:clamp(.78rem,2.6vw,.9rem);font-weight:800;letter-spacing:.045em;line-height:1.45;text-wrap:balance}
.play-layout .card-secret .secret-privacy{margin:5px 0 0;color:#bbb0d0;font-size:.82rem;line-height:1.45}
.play-layout .card-secret .secret-step-waiting{text-align:center;margin:4px 0 12px}
.play-layout .card-secret .secret-hero{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0;text-align:center;margin:0 0 20px;padding:25px 18px 23px;border:1px solid #c5a8ff85;border-radius:22px;background:radial-gradient(circle at 50% 9%,#8552c842,transparent 75%),linear-gradient(165deg,#35254f,#241d3d);box-shadow:inset 0 1px #ffffff16,0 12px 30px #0d081c44}
.play-layout .card-secret .secret-hero-title{font-size:clamp(2.7rem,9.5vw,4.25rem);font-weight:1000;letter-spacing:-.055em;line-height:1.08;margin:0;text-align:center;color:#f4e8ff;text-wrap:balance;overflow-wrap:anywhere}
.play-layout .card-secret .secret-word{display:block;max-width:100%;margin:2px 0 0;padding:10px 15px;border-radius:16px;background:#f9ce6340;border:1px solid #ffdb83b3;color:#ffe5a1;font-size:clamp(1.8rem,5.5vw,2.45rem);line-height:1.2;letter-spacing:-.035em;font-weight:950;overflow-wrap:anywhere;text-wrap:balance}
.play-layout .card-secret .secret-hero-detail{max-width:36rem;margin:0;color:#e4dcf5;font-size:clamp(1.03rem,2.6vw,1.25rem);line-height:1.55;font-weight:550;text-wrap:pretty;overflow-wrap:anywhere}
.play-layout .card-secret .secret-question{padding:18px 19px 20px;border-radius:18px;border:1px solid #b7a5d15c;background:#161425a8;margin:0 0 20px}
.play-layout .card-secret .secret-question-caption{color:#dac3ff;text-transform:uppercase;letter-spacing:.085em;font-size:.8rem;font-weight:900;margin:0 0 11px;line-height:1.35}
.play-layout .card-secret .secret-question-text{color:#fff8ec;font-size:clamp(1.75rem,3.7vw,2.3rem);line-height:1.26;letter-spacing:-.025em;font-weight:850;margin:0;overflow-wrap:anywhere;text-wrap:pretty}
@media(max-width:520px){
 .play-layout .card-secret .secret-stage-top{margin-bottom:11px}
 .play-layout .card-secret .secret-hero{padding:21px 11px 20px;margin-bottom:15px;gap:10px}
 .play-layout .card-secret .secret-hero-title{font-size:clamp(2.55rem,10.5vw,3.35rem)}
 .play-layout .card-secret .secret-word{font-size:clamp(1.65rem,7.1vw,2.1rem);padding:9px 12px}
 .play-layout .card-secret .secret-question{padding:16px 14px 18px;margin-bottom:17px}
 .play-layout .card-secret .secret-question-text{font-size:clamp(1.65rem,6.8vw,2.05rem)}
}

/* V58 — identité 2D originale inspirée des maquettes, avec contenu et commandes HTML jouables.
   Les illustrations sont des SVG autonomes ; aucun texte de carte n'est figé dans une image. */
:root{--yellow:#ffcf4d;--pink:#fc658c;--purple:#c879fc;--bg:#220d36;--surface:#341b49;--line:#9b5b94;--white:#fff9f0;--muted:#d6c4dd;--shadow:0 22px 65px #17062180}
body{background:radial-gradient(ellipse 74vw 50vh at 50% 3%,#7f2e75 0,transparent 82%),radial-gradient(ellipse 90vw 65vh at 100% 65%,#54205e 0,transparent 83%),linear-gradient(155deg,#371248,#250e41 61%,#3b144f)}
.background-orb{opacity:.16;filter:blur(90px)}
.page-wrap{position:relative}
.topbar{position:relative;z-index:3;padding:9px 10px 13px;border-bottom:1px solid #e6a0c233;gap:10px}
.brand{font-family:"Trebuchet MS",Inter,system-ui,sans-serif;font-weight:1000;letter-spacing:-.08em;filter:drop-shadow(0 4px 0 #190824)}
.brand-icon{box-shadow:0 5px 0 #9b3e3e,0 9px 17px #12091b80;background:linear-gradient(135deg,#ffe381,#ffad42);border:2px solid #fff2c7}
.brand-accent{color:#ff7b6b;text-shadow:0 3px #3d1250}
.header-chip{background:#341443b9;border:1px solid #c675b180;box-shadow:inset 0 1px #ffffff1e}
.hero.chaos-game-home{max-width:900px;padding:12px 8px 28px;margin:0 auto}
.chaos-hero-title{position:relative;display:flex;flex-direction:column;align-items:center;gap:0}
.chaos-wordmark{display:grid;justify-items:center;position:relative;line-height:.9;filter:drop-shadow(0 12px 0 #1c0c31);padding:23px 22px 11px}
.chaos-wordmark .chaos-roof{position:absolute;top:-20px;font-size:clamp(3.8rem,9vw,6.5rem);color:#fff0ce;text-shadow:3px 4px #461456;line-height:1;z-index:-1}
.chaos-wordmark-white,.chaos-wordmark-coral{display:block;font-family:"Trebuchet MS",Inter,system-ui,sans-serif;font-size:clamp(3.6rem,13vw,7.8rem);font-weight:1000;letter-spacing:-.085em;line-height:.96;-webkit-text-stroke:clamp(2px,.45vw,5px) #2b0f40;paint-order:stroke fill;text-shadow:0 7px 0 #261035,0 9px 15px #0e0829b0}
.chaos-wordmark-white{color:#fff8ee;transform:rotate(-2deg)}
.chaos-wordmark-coral{color:#ff8062;transform:rotate(-3deg);background:linear-gradient(180deg,#ffb36e 0%,#ff765e 42%,#fa3f7f 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.chaos-brand-ribbon{display:inline-block;position:relative;z-index:1;margin:8px 0 4px;padding:12px 27px;background:linear-gradient(135deg,#ffeeb3,#ffc665);color:#49133e;border-radius:8px;box-shadow:0 7px 0 #b45071,0 10px 28px #120b3280;transform:rotate(-2deg);font-size:clamp(1rem,3vw,1.6rem);font-weight:950;line-height:1.3}
.chaos-tagline{font-size:clamp(1.12rem,3vw,1.7rem);font-weight:800;line-height:1.45;max-width:660px;margin:28px auto 14px;color:#fff7e9;text-shadow:0 3px 7px #19062980}
.chaos-tagline strong{color:#ffdf80;background:#c53e6b;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:3px 7px;white-space:normal;border-radius:5px}
.chaos-hero-art{position:relative;overflow:hidden;border:4px solid #fcd99d;border-radius:35px;box-shadow:0 9px 0 #bb486c,0 20px 50px #130724b0;background:#6e2c73;margin:19px auto 27px;max-width:780px}
.chaos-hero-art img{display:block;width:100%;height:auto;aspect-ratio:1000/600;object-fit:cover}
.chaos-card-counter{position:absolute;bottom:13px;right:16px;padding:9px 15px;border-radius:999px;background:linear-gradient(#ffe28b,#ffb744);color:#4a153c;font-weight:1000;font-size:clamp(.85rem,2.3vw,1.13rem);border:2px solid #fff0ca;box-shadow:0 4px 0 #9a3c60}
.chaos-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:790px;margin:25px auto 24px}
.chaos-menu-link{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;border:3px solid #fff0cfb9;border-bottom-width:6px;border-radius:999px;padding:13px 20px;font-size:clamp(1rem,2.1vw,1.38rem);font-weight:1000;line-height:1.25;text-align:left;text-decoration:none;color:#42133e;box-shadow:0 9px 17px #13072470,inset 0 4px 0 #ffffff63;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.chaos-menu-link span:first-child{font-size:clamp(1.5rem,3vw,2.25rem);flex:0 0 auto}.chaos-menu-link span:last-child{font-size:1rem;opacity:.7;flex:0 0 auto}
.chaos-menu-link:hover,.chaos-menu-link:focus-visible{transform:translateY(-4px);filter:brightness(1.08);box-shadow:0 13px 26px #1307248a,inset 0 4px 0 #ffffff7b}
.chaos-menu-link:active{transform:translateY(2px)}
.chaos-menu-gold{background:linear-gradient(160deg,#ffe878,#ffbd3a)}
.chaos-menu-pink{background:linear-gradient(160deg,#ffa0a6,#f45285)}
.chaos-menu-purple{background:linear-gradient(160deg,#ed9cff,#ad5add)}
.chaos-menu-ghost{color:#fff2e8;background:linear-gradient(160deg,#89429d,#59236f);border-color:#dc81e3}
.chaos-game-home>.lead{max-width:650px;margin:14px auto 0;font-size:1rem}
.location-modes{scroll-margin-top:25px}
.location-mode-card,.panel,.invite-panel,.solo-promo{box-shadow:0 12px 0 #1b0b2b28,0 22px 38px #1106204a;border-color:#bc73a270}
.location-mode-card{background:linear-gradient(150deg,#532b6b,#2e1b50);border-radius:21px}
.location-mode-card.selected{border-color:#ffca67;background:linear-gradient(145deg,#6d3466,#38224f)}
.location-mode-card strong{color:#ffe4ac}
.panel{background:linear-gradient(150deg,#48265c,#291c45 74%);border:1px solid #ae6d9d8a}
.panel.primary{background:linear-gradient(150deg,#60355c,#362047 75%);border-color:#ffc67d88}
.room-page .room-title{color:#fff2d9}
.btn:not(.tiny){border-radius:18px;font-family:inherit;min-height:56px}
.btn.main{background:linear-gradient(180deg,#ffe37b,#ffb82d);color:#3a1239;box-shadow:0 5px 0 #cf7b29,0 8px 21px #1d092fa0;border:2px solid #ffedaf}
.btn.hot{background:linear-gradient(180deg,#ffb0b2,#f95885);color:#43153e;box-shadow:0 5px 0 #b42e68;border:2px solid #ffd2d7}
.btn.outline{background:linear-gradient(150deg,#65406e,#443057);border:1px solid #d6a0d4;color:#fff2e9}
.btn.ghost{background:#4b285d72;border:1px solid #b786c2;color:#fff3f0}
.btn:focus-visible,.chaos-menu-link:focus-visible{outline:3px solid #fff6ad;outline-offset:4px}
.play-layout{max-width:875px}
.play-meta .round-pill{background:linear-gradient(150deg,#803678,#54225e);color:#ffe8d8;border:2px solid #eda1c4;padding:10px 17px;box-shadow:0 4px 0 #2a123e;font-size:clamp(.75rem,1.9vw,.94rem)}
.play-meta .round-pill:first-child{color:#ffdc6f}
.question-panel{border:2px solid #f6b4c4a6;box-shadow:0 8px 0 #a83f7570,0 20px 46px #12062498;background:radial-gradient(ellipse at 90% 5%,#8b3e8266,transparent 58%),linear-gradient(150deg,#4c2865,#2a1846)}
.play-layout .card-family.card-question{background:linear-gradient(160deg,#fff6e6,#ffe4c9 90%)!important;color:#431337;border:4px solid #ffd1ae;box-shadow:0 7px 0 #ec658d,0 10px 0 #8a355f,0 27px 50px #160724a6}
.play-layout .card-family.card-question:before{height:7px;background:linear-gradient(90deg,#f8bb5b,#ff7c8c,#d473ea)}
.play-layout .card-family.card-question:after{content:'✧';font-size:7rem;color:#e48b8b15}
.play-layout .card-family.card-question .card-head{margin-bottom:12px}
.play-layout .card-family.card-question .theme-badge{color:#4b1640;background:linear-gradient(135deg,#ffe782,#ffba3c);border:3px solid #fff1c1;font-size:clamp(.95rem,2.5vw,1.13rem);padding:10px 18px;box-shadow:0 5px 0 #d56d43;font-weight:1000}
.play-layout .card-family.card-question .number-badge{color:#612247;background:#ffeadc;border:2px dashed #d88499;border-radius:11px;padding:10px 13px;letter-spacing:.03em;font-size:.8rem}
.play-layout .card-family.card-question .role-line{margin:15px 0;background:linear-gradient(100deg,#ffe1e2,#fbd9f7);border-radius:999px;color:#49183e;padding:13px 17px;text-align:center;line-height:1.45;font-size:clamp(.93rem,2.3vw,1.1rem);font-weight:850;box-shadow:0 4px 0 #d782a463}
.play-layout .card-family.card-question .role-name{color:#aa275a}
.play-layout .card-family.card-question .role-name.target{color:#7735ab}
.play-layout .card-family.card-question .question-text{font-size:clamp(1.75rem,4.1vw,2.75rem);line-height:1.27;letter-spacing:-.045em;margin:17px auto 21px;color:#421335;max-width:760px;text-align:center;font-weight:1000;text-wrap:pretty;text-shadow:none}
.play-layout .card-family.card-question>p{color:#673756;font-size:1rem;line-height:1.55}
.chaos-scene-art{position:relative;isolation:isolate;width:100%;min-height:155px;aspect-ratio:1000/515;max-height:310px;margin:14px 0 20px;border-radius:24px;overflow:hidden;border:3px solid #f2acb9;box-shadow:inset 0 4px 0 #ffffff80,0 7px 0 #d37a87;background:#5b256a url('/art/coloc-room.svg') center/cover no-repeat}
.chaos-scene-sky{position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,#3b163d43)}
.chaos-scene-category{position:absolute;top:12px;right:13px;display:grid;place-items:center;border-radius:50%;width:clamp(52px,8vw,80px);height:clamp(52px,8vw,80px);font-size:clamp(1.65rem,3.5vw,2.8rem);transform:rotate(9deg);background:linear-gradient(145deg,#fff4d2,#ffd16f);border:4px solid #ffedc9;box-shadow:0 5px 0 #ad436b,0 8px 13px #1f0c3380;animation:chaos-bob 3.4s ease-in-out infinite}
.chaos-scene-spark{position:absolute;color:#ffe866;font-size:clamp(1.4rem,3vw,2.6rem);text-shadow:0 0 10px #fc9941;pointer-events:none}
.spark-one{top:10%;left:7%}.spark-two{top:20%;left:76%}
.play-layout .card-family.card-question .twist{background:linear-gradient(120deg,#ffdb76,#ffae55);border:2px solid #e6a249;color:#4b193d;box-shadow:0 5px 0 #d96668;border-radius:18px}
.play-layout .card-family.card-question .twist strong{color:#45163e;font-size:1.12rem}
.play-layout .card-family.card-question .twist p{color:#633b48;font-size:.9rem;font-weight:650}
.play-layout .card-family.card-question .twist-icon{font-size:1.75rem}
.control-panel{background:linear-gradient(150deg,#5d2b63,#341e4c);border:2px solid #bc86b9;border-radius:22px;box-shadow:0 7px 0 #180c30a8,0 15px 29px #12062475}
.control-panel h3{color:#ffe4a4;font-size:clamp(1.02rem,2.4vw,1.24rem)}
.control-panel p{color:#e2cfe5;font-size:.9rem}
.players-strip .chip{background:#763b7d;color:#fff7ea;border:1px solid #ca8fc4}
.reaction{border:2px solid #b16cba;background:#552c6c;border-radius:17px}
.reaction:hover,.reaction:focus-visible{background:#783881;border-color:#ffe390}
.play-layout .card-family.card-secret{background:radial-gradient(circle at 50% 16%,#8c377a99,transparent 60%),linear-gradient(155deg,#5b2069,#311749)!important;border:3px solid #e7a7d8}
.play-layout .card-secret .secret-stage-top{margin-bottom:17px}
.play-layout .card-secret .secret-step{color:#ffedbb;background:#522260d9;border:1px solid #ce8ed4;border-radius:999px;display:inline-block;padding:7px 18px;font-size:clamp(.72rem,2vw,.85rem);font-weight:950}
.play-layout .card-secret .secret-privacy{font-size:.78rem;color:#f4d8ea}
.play-layout .card-secret .secret-hero{background:radial-gradient(ellipse at 50% 15%,#ffb64a45,transparent 68%),linear-gradient(170deg,#71317c,#4d235e);border:3px solid #ffd06a;border-radius:32px;box-shadow:0 7px 0 #ec6c90,0 18px 29px #11072272;padding:32px 16px 26px}
.play-layout .card-secret .secret-hero-title{font-family:"Trebuchet MS",Inter,sans-serif;text-transform:uppercase;color:#fff8ec;font-size:clamp(3rem,11vw,5.6rem);font-weight:1000;letter-spacing:-.065em;line-height:1.03;-webkit-text-stroke:clamp(1px,.25vw,3px) #4b174c;paint-order:stroke fill;text-shadow:0 6px 0 #aa2f66,0 10px 20px #2d1039}
.play-layout .card-secret .secret-word{border-radius:20px;border:3px solid #fff1b8;background:linear-gradient(145deg,#ffe98e,#ffb753);color:#441337;font-size:clamp(1.9rem,6.2vw,3rem);text-transform:uppercase;box-shadow:0 7px 0 #b84579,0 11px 18px #24113d9c;text-shadow:none;padding:12px 17px}
.play-layout .card-secret .secret-hero-detail{color:#fff3e6;font-size:clamp(1.06rem,2.5vw,1.34rem);font-weight:700}
.play-layout .card-secret .secret-question{background:linear-gradient(160deg,#fff5e3,#ffe8d1);border:3px solid #ffd0b2;box-shadow:0 6px 0 #ec7994,0 9px 22px #1a092f66;border-radius:24px;color:#43163c;padding:19px 20px 23px}
.play-layout .card-secret .secret-question-caption{color:#913763;font-size:clamp(.8rem,2vw,.94rem)}
.play-layout .card-secret .secret-question-text{color:#441437;font-size:clamp(1.75rem,4.1vw,2.45rem);text-align:center;font-weight:1000;line-height:1.24}
.play-layout .card-secret .answer-ideas{background:#4b2056;border:2px solid #ffc86c;border-radius:20px;margin:16px 0 20px}
.play-layout .card-secret .answer-ideas summary{color:#ffe5a6;font-size:clamp(1rem,2.3vw,1.2rem);font-weight:950;text-align:center}
.play-layout .card-secret .answer-ideas summary span{color:#e7c5ee}
.play-layout .card-secret .answer-ideas ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style-position:inside;margin:0;padding:15px 11px 10px;border-top:1px solid #c777c3}
.play-layout .card-secret .answer-ideas li{background:linear-gradient(145deg,#fff5e6,#ffe5da);color:#4d1740;padding:13px 12px;border:2px solid #ffbfba;border-radius:18px;box-shadow:0 4px 0 #c86985;font-weight:720;font-size:clamp(.85rem,1.75vw,1rem);line-height:1.45;min-width:0;overflow-wrap:anywhere}
.play-layout .card-secret .answer-ideas li::marker{color:#9a467b}
.play-layout .card-secret .answer-ideas p{color:#ffe7ea;text-align:center}
.play-layout .card-family.card-secret>.btn{margin-top:12px;width:100%}
.play-layout .card-family.card-secret>.btn.outline{background:linear-gradient(160deg,#ffaaa9,#f15a84);border:2px solid #ffdbdd;color:#3b153d;box-shadow:0 5px 0 #a53669}
.card-vote,.card-reveal,.refusal-panel,.refusal-choice{border:2px solid #ec9dc6;background:linear-gradient(150deg,#572965,#321949);box-shadow:0 7px 0 #a84d7770,0 15px 34px #1607248e}
.card-vote h1,.card-vote h2,.card-reveal h1,.card-reveal h2{color:#ffe2a0}
.round-pill,.theme-badge{white-space:normal}
@keyframes chaos-bob{0%,100%{transform:translateY(0) rotate(9deg)}50%{transform:translateY(-5px) rotate(7deg)}}
@media(max-width:720px){
 .hero.chaos-game-home{padding-top:12px}
 .chaos-hero-art{border-radius:25px}
 .chaos-menu{grid-template-columns:1fr;gap:12px}
 .chaos-menu-link{min-height:67px;padding:12px 17px;font-size:1.12rem}
 .play-layout .card-family.card-question .role-line{border-radius:18px}
 .play-layout .card-secret .answer-ideas ol{grid-template-columns:1fr}
 .chaos-scene-art{min-height:165px;aspect-ratio:1000/610}
}
@media(max-width:420px){
 .chaos-wordmark{padding-inline:7px}
 .chaos-wordmark-white,.chaos-wordmark-coral{font-size:clamp(3.25rem,16vw,4.65rem)}
 .chaos-brand-ribbon{padding:10px 15px}
 .chaos-card-counter{bottom:8px;right:9px;padding:6px 10px;font-size:.8rem}
 .chaos-menu-link{min-height:62px}
 .play-layout .card-family.card-question{padding:17px 12px}
 .play-layout .card-family.card-question .question-text{font-size:clamp(1.48rem,6.8vw,1.93rem)}
 .play-layout .card-family.card-question .theme-badge{font-size:.88rem;padding:8px 11px}
 .play-layout .card-family.card-question .number-badge{font-size:.7rem;padding:8px}
 .chaos-scene-art{min-height:132px;border-radius:17px}
 .play-layout .card-secret .secret-hero-title{font-size:clamp(2.45rem,11.2vw,3.2rem)}
 .play-layout .card-secret .secret-question-text{font-size:clamp(1.55rem,6.5vw,1.95rem)}
}
@media(prefers-reduced-motion:reduce){
 .chaos-scene-category{animation:none}
 .chaos-menu-link,.btn{transition:none}
 .chaos-menu-link:hover{transform:none}
}


/* V59 — direction artistique commune à toutes les familles de cartes.
   Le contenu dynamique reste du vrai texte : zoom, lecture d'écran et sélection possibles. */
.chaos-scene-art{--scene-glow:#ffcb54;--scene-shade:#b34284;isolation:isolate}
.chaos-scene-art:after{content:"";position:absolute;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle at 26% 50%,var(--scene-glow),transparent 45%);opacity:.32;mix-blend-mode:screen}
.chaos-scene-art[data-scene="frigo"]{--scene-glow:#ffdb56;--scene-shade:#ec8244}
.chaos-scene-art[data-scene="menage"]{--scene-glow:#9cffff;--scene-shade:#4cbaa8}
.chaos-scene-art[data-scene="salledebain"]{--scene-glow:#9edbf8;--scene-shade:#639ee5}
.chaos-scene-art[data-scene="argent"]{--scene-glow:#ffe185;--scene-shade:#5cba8d}
.chaos-scene-art[data-scene="invites"]{--scene-glow:#ffc2ec;--scene-shade:#f77895}
.chaos-scene-art[data-scene="ambiance"]{--scene-glow:#d6b4ff;--scene-shade:#ae5ede}
.chaos-scene-art[data-scene="rangement"]{--scene-glow:#f7bc89;--scene-shade:#d4769d}
.chaos-scene-art[data-scene="solitude"]{--scene-glow:#d3b6ff;--scene-shade:#8188d7}
.chaos-scene-art[data-scene="conflits"]{--scene-glow:#ffc68b;--scene-shade:#e47679}
.chaos-scene-art[data-scene="sommeil"]{--scene-glow:#abc3ff;--scene-shade:#8e81bd}
.chaos-scene-art[data-scene="secrets"]{--scene-glow:#cbb7fc;--scene-shade:#8a67be}
.chaos-scene-art[data-scene="portraits"]{--scene-glow:#ffbaed;--scene-shade:#e476ba}
.chaos-scene-art[data-scene="amitie"]{--scene-glow:#ffdb7f;--scene-shade:#ff8e7a}
.chaos-scene-art[data-scene="departs"]{--scene-glow:#afdfe7;--scene-shade:#78a7ba}
.chaos-scene-art[data-scene="animaux"]{--scene-glow:#fae08d;--scene-shade:#92c472}
.chaos-scene-art[data-scene="flirts"]{--scene-glow:#ffa1c8;--scene-shade:#ea568f}
.chaos-scene-art[data-scene="confessions"]{--scene-glow:#ffb6eb;--scene-shade:#af70cf}
.chaos-scene-prop{position:absolute;z-index:1;bottom:9%;left:15%;display:grid;place-items:center;width:clamp(82px,16vw,155px);height:clamp(82px,16vw,155px);font-size:clamp(3.4rem,8vw,5.7rem);border-radius:30%;border:4px solid #fff2d7;background:linear-gradient(155deg,#fff4c5,var(--scene-glow));box-shadow:0 8px 0 var(--scene-shade),0 13px 30px #120720b3;transform:rotate(-9deg);filter:drop-shadow(0 2px 0 #5d2e63);pointer-events:none}
.chaos-scene-detail{position:absolute;z-index:1;display:grid;place-items:center;width:clamp(50px,9vw,86px);height:clamp(50px,9vw,86px);border:3px solid #fff2d3;background:linear-gradient(140deg,#fff3da,#ffc0cd);border-radius:23px;font-size:clamp(1.9rem,4.7vw,3.3rem);box-shadow:0 6px 0 #a14d7b,0 12px 25px #211137a0;pointer-events:none}
.chaos-scene-detail.detail-a{bottom:12%;right:19%;transform:rotate(14deg)}
.chaos-scene-detail.detail-b{top:10%;left:49%;transform:rotate(-13deg)}
.chaos-scene-art[data-variant="1"] .chaos-scene-prop{left:21%;transform:rotate(7deg)}
.chaos-scene-art[data-variant="2"] .chaos-scene-prop{left:13%;bottom:17%;transform:rotate(-13deg)}
.chaos-scene-art[data-variant="3"] .chaos-scene-prop{left:24%;bottom:13%;transform:rotate(-2deg)}
.chaos-scene-art[data-variant="2"] .detail-b{left:60%}
.chaos-scene-art[data-variant="3"] .detail-a{right:29%}
.chaos-special-art{position:relative;display:flex;isolation:isolate;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:205px;margin:20px auto 23px;max-width:620px;padding:19px 12px 17px;background:linear-gradient(145deg,#ffdc7c,#ffa93e);border:4px solid #ffebaf;border-radius:30px;box-shadow:0 8px 0 #c54d6b,0 14px 25px #180b2f9c;overflow:hidden;color:#44173c;text-align:center}
.chaos-special-art.art-boisson{background:linear-gradient(145deg,#ffadd3,#f76ab5);border-color:#ffd3ec}
.chaos-special-halo{position:absolute;z-index:-1;width:300px;height:240px;top:-105px;left:calc(50% - 150px);background:radial-gradient(circle,#fffde1a3 0%,transparent 75%)}
.chaos-special-icon{display:grid;place-items:center;width:96px;height:96px;border-radius:28px;background:linear-gradient(155deg,#fffae8,#ffc773);border:3px solid #fff4d2;box-shadow:0 5px 0 #ad4b78;transform:rotate(-9deg);font-size:3.5rem;line-height:1.15}
.chaos-special-art.art-boisson .chaos-special-icon{background:linear-gradient(155deg,#ffeaf6,#fca2d0)}
.chaos-special-art strong{font-family:"Trebuchet MS",Inter,sans-serif;font-size:clamp(1.7rem,5vw,2.5rem);font-weight:1000;letter-spacing:-.035em}
.chaos-special-art span:not(.chaos-special-spark):not(.chaos-special-deck){font-size:.97rem;font-weight:800}
.chaos-special-spark{position:absolute;right:22%;top:18%;color:#fffde2;font-size:2.2rem}
.chaos-special-deck{position:absolute;left:17%;bottom:22%;font-size:1.5rem;transform:rotate(-12deg)}
.chaos-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 16px}
.chaos-choice-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;min-width:0;min-height:225px;padding:17px 12px 15px;border:3px solid #fff4cf;border-bottom-width:7px;border-radius:27px;background:linear-gradient(145deg,#ffea88,#ffb63c);color:#43143e;box-shadow:0 9px 17px #190a2a8c;cursor:pointer;touch-action:manipulation;font:inherit;text-align:center;transition:transform .14s ease,filter .14s ease}
.chaos-choice-card.choice-boisson{background:linear-gradient(145deg,#ffc8e3,#ed71c5);border-color:#ffe9f8}
.chaos-choice-card:hover,.chaos-choice-card:focus-visible{filter:brightness(1.1);transform:translateY(-3px)}
.chaos-choice-card:active{transform:translateY(2px)}
.chaos-choice-card:focus-visible{outline:4px solid #fff8ae;outline-offset:4px}
.chaos-choice-icon{font-size:clamp(2.7rem,7vw,4.4rem);line-height:1.15;filter:drop-shadow(0 4px 0 #fff7d6)}
.chaos-choice-card strong{font-family:"Trebuchet MS",Inter,sans-serif;font-size:clamp(1.25rem,3.8vw,2.05rem);font-weight:1000;letter-spacing:-.04em;line-height:1.1}
.chaos-choice-card small{font-size:clamp(.8rem,2vw,.98rem);line-height:1.35;max-width:17ch;font-weight:750}
.chaos-choice-cta{font-size:clamp(.84rem,2.3vw,1rem);background:#fff5daba;border-radius:999px;padding:8px 12px;font-weight:900}
.chaos-question-reminder{margin:16px 0 11px;background:linear-gradient(155deg,#fff5e9,#ffe1d7);border:3px solid #ffc0b8;border-radius:22px;padding:15px 19px;box-shadow:0 5px 0 #b84b78;color:#421539}
.chaos-question-reminder>span{display:block;text-align:center;color:#9a3266;font-weight:950;letter-spacing:.02em;font-size:.86rem;margin:0 0 9px}
.chaos-question-reminder>p{color:#491639!important;font-size:clamp(1.04rem,2.6vw,1.35rem)!important;line-height:1.43!important;margin:0!important;font-weight:800;text-align:center}
.chaos-choice-safety{color:#ffe7da!important;font-weight:750;font-size:.9rem;line-height:1.55;text-align:center}
.refusal-choice{background:radial-gradient(circle at 50% 5%,#a73e8c8c,transparent 75%),linear-gradient(160deg,#672b6e,#36194f)}
.refusal-choice>.question-text,.refusal-choice h1.question-text{font-size:clamp(2rem,5.4vw,3.3rem);text-align:center;line-height:1.09;margin:15px auto;color:#fff4d2}
.refusal-choice>.eyebrow{text-align:center;color:#ffdd87}
.refusal-choice>p{color:#f9e5ef;line-height:1.5}
.refusal-panel{background:linear-gradient(150deg,#662c6f,#311846)}
.refusal-panel .theme-badge{background:linear-gradient(145deg,#ffcf68,#ff91a1);color:#48143c;border:2px solid #ffe4b6;font-size:1rem}
.refusal-panel .question-text{text-align:center;font-size:clamp(2rem,5.2vw,3.5rem);line-height:1.17;margin:20px auto;font-weight:1000}
.refusal-panel .number-badge{color:#ffda91}
.refusal-panel .refusal-subtitle{font-size:1.18rem;color:#ffe4ac;text-align:center;font-weight:900;margin-top:8px}
.refusal-panel .safety-info{margin-top:22px}
.chaos-reveal-graphic{display:flex;flex-direction:column;align-items:center;gap:10px;max-width:720px;margin:0 auto 20px;text-align:center}
.chaos-reveal-confetti{color:#ffe682;font-size:clamp(1.6rem,4vw,2.7rem);letter-spacing:.22em;animation:chaos-sparkle 1.6s ease-in-out 2}
.chaos-reveal-graphic h2{font-family:"Trebuchet MS",Inter,sans-serif;font-size:clamp(2.6rem,8vw,4.5rem);line-height:1.08;color:#fff8e9;background:linear-gradient(155deg,#ffb85a,#f4648d);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:0 8px 25px #2912385c;margin:0;font-weight:1000}
.chaos-reveal-kicker{margin:0;color:#ffdfbb;font-weight:800}
.chaos-reveal-title{display:block;font-size:clamp(2rem,6vw,3.7rem);font-weight:1000;color:#fff7e9;text-transform:uppercase;line-height:1.17;text-wrap:balance;padding:16px 24px;border-radius:22px;background:linear-gradient(145deg,#8e3f8b,#522261);border:3px solid #ffcc65;box-shadow:0 5px 0 #d16a81;overflow-wrap:anywhere}
.chaos-reveal-instruction{color:#fff6ee;font-size:clamp(1.04rem,2.7vw,1.4rem);line-height:1.55;background:#4b255cdb;padding:14px 18px;border-radius:15px;margin:0}
.chaos-reveal-result{padding:11px 23px;border-radius:999px;background:linear-gradient(135deg,#e7ffab,#a3e7a6);color:#234335;font-weight:1000;box-shadow:0 5px 0 #589d83;border:2px solid #f3ffcd;font-size:1rem}
.card-reveal{background:radial-gradient(circle at 50% 0,#93457c88,transparent 70%),linear-gradient(145deg,#652b73,#301747)!important}
.card-reveal>p{color:#fff0e3;font-size:clamp(1rem,2.5vw,1.2rem);line-height:1.6;text-align:center;font-weight:750}
.card-reveal>h3{font-size:1.35rem;color:#ffdc7b;text-align:center;margin:19px 0 11px}
.card-reveal>ol,.card-reveal>ul,.end-page>ol,.end-page>ul{padding:12px 25px 12px 42px;background:#fff1dd;color:#42173d;border:3px solid #ffca9f;border-radius:20px;box-shadow:0 6px 0 #b65a79;font-size:clamp(1rem,2.5vw,1.14rem);font-weight:760;line-height:1.65}
.card-reveal li,.end-page li{padding:4px}
.card-reveal>.btn{margin-top:19px;width:100%}
.card-vote,.card-guess,.card-sip-target{border:3px solid #e8a5cf;background:radial-gradient(ellipse at 55% 4%,#9f4d8a6e,transparent 60%),linear-gradient(165deg,#602d71,#2b1a46)}
.card-vote h1,.card-vote h2,.card-guess h1,.card-guess h2,.card-sip-target h1,.card-sip-target h2{font-size:clamp(1.95rem,5vw,3rem);line-height:1.16;color:#ffdf87;text-align:center;margin:6px 0 20px}
.card-vote>p,.card-guess>p,.card-sip-target>p{font-size:clamp(.97rem,2.4vw,1.1rem);line-height:1.62;color:#ffeef5}
.card-vote .actions,.card-guess .actions,.card-sip-target .actions{justify-content:center;gap:12px;margin-top:20px}
.card-vote .btn[data-score]{background:#fff2db;color:#4d193f;border:3px solid #ffe3a2;box-shadow:0 5px 0 #aa6388;font-size:clamp(.95rem,2.3vw,1.15rem);min-height:58px;flex:1 1 115px}
.card-vote .btn[data-score="-2"],.card-vote .btn[data-score="-1"]{background:#ffd5db;border-color:#ffc0cc}
.card-vote .btn[data-score="1"],.card-vote .btn[data-score="2"]{background:#e9ffc4;border-color:#c3eba8}
.end-page{background:radial-gradient(ellipse at 50% 0,#963e8888,transparent 70%),linear-gradient(160deg,#5b296b,#301b47);border:3px solid #edafd4;border-radius:32px;box-shadow:0 9px 0 #a74e7a,0 20px 45px #1b0a2e8b;padding:clamp(18px,5vw,42px);max-width:800px}
.end-page .end-icon{font-size:clamp(3rem,8vw,5rem);filter:drop-shadow(0 9px 5px #210c36)}
.end-page h1{font-size:clamp(2.3rem,6.5vw,4.4rem);margin:15px auto 24px}
.end-page>h2{color:#ffe28a}
.end-page .stat{background:linear-gradient(155deg,#fff1db,#ffd7be);border:2px solid #ffcdb0;color:#521a45;box-shadow:0 6px 0 #b95581}
.end-page .stat b{color:#8a3068}
.end-page .stat span{color:#642c55}
@keyframes chaos-sparkle{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.68;transform:scale(1.07)}}
@media(max-width:540px){
 .chaos-scene-prop{width:82px;height:82px;left:17%;bottom:10%;font-size:3rem;border-width:3px}
 .chaos-scene-detail{width:47px;height:47px;font-size:1.8rem;border-width:2px;border-radius:14px}
 .chaos-scene-detail.detail-a{right:17%;bottom:14%}
 .chaos-special-art{min-height:178px;margin:13px 0 17px}
 .chaos-choice-grid{gap:9px}
 .chaos-choice-card{padding:14px 8px;min-height:207px;border-radius:18px}
 .chaos-choice-cta{padding:7px 8px}
 .chaos-question-reminder{padding:12px}
 .chaos-reveal-title{padding:13px 17px}
}
@media(max-width:350px){.chaos-choice-grid{grid-template-columns:1fr}.chaos-choice-card{min-height:145px}}
@media(prefers-reduced-motion:reduce){.chaos-reveal-confetti{animation:none}.chaos-choice-card{transition:none}.chaos-choice-card:hover{transform:none}}

/* V59.1 : sentiment de progression et finition des écrans de préparation. */
.chaos-round-progress{display:flex;align-items:center;gap:12px;max-width:875px;margin:10px auto 13px;padding:10px 15px;border:2px solid #d9a1d0;border-radius:999px;background:linear-gradient(145deg,#713375,#472255);box-shadow:0 4px 0 #27113d;color:#fff2dc}
.chaos-progress-caption{font-size:clamp(.78rem,2.1vw,.94rem);white-space:nowrap;font-weight:950;color:#ffe3a2}
.chaos-progress-track{display:block;height:11px;flex:1;min-width:55px;overflow:hidden;border-radius:99px;border:1px solid #db9db3;background:#210f36;box-shadow:inset 0 2px 3px #0b041b}
.chaos-progress-fill{display:block;height:100%;background:linear-gradient(90deg,#ffe78c,#ffab61,#ff6c92);border-radius:inherit;box-shadow:0 0 10px #ffc576;transition:width .25s ease}
.local-setup{position:relative}
.local-setup .chaos-setup-art{max-width:850px;margin:15px auto 23px;border:3px solid #ffe0b5;border-radius:27px;overflow:hidden;background:#622d6d;box-shadow:0 8px 0 #c35382,0 17px 32px #1c0b32a1}
.local-setup .chaos-setup-art img{width:100%;height:auto;max-height:290px;aspect-ratio:1000/600;object-fit:cover;display:block}
.local-setup .local-form{border:2px solid #e3a8c6;background:radial-gradient(circle at 100% 0,#8b438d88,transparent 65%),linear-gradient(160deg,#5c2a6d,#312044);box-shadow:0 7px 0 #993f72,0 19px 34px #10062282}
.local-setup .room-title{color:#fff3db;line-height:1.06}
.local-setup h2,.local-setup .local-form>label{color:#ffe1a5}
.local-setup .choice{background:#512b66;border:1px solid #ba86ba}
.local-setup .choice:has(input:checked){background:#673c70;border-color:#f8c877}
.duo-wrap .duo-hero{padding:10px 15px 2px}
.duo-wrap .duo-hero h1{color:#fff5e9;text-shadow:0 6px 0 #351349}
.duo-wrap .duo-hero .lead{max-width:650px}
.duo-wrap .duo-options .panel{background:linear-gradient(155deg,#683b7c,#3a245a);border:3px solid #e6a6db;box-shadow:0 8px 0 #9c4b86,0 17px 28px #180727a8}
.duo-wrap .duo-options .panel:first-child{border-color:#ffcb7e;background:linear-gradient(150deg,#74446a,#3b265b)}
.duo-wrap .duo-options .panel-icon{font-size:clamp(2.7rem,6vw,4rem);filter:drop-shadow(0 5px 5px #2c104a)}
.duo-wrap .duo-options h2{color:#ffe2ac}
.duo-wrap .duo-options p{color:#f2dbef;font-size:1rem}
.duo-wrap .duo-note{background:#45225d;border:1px solid #b97cae;border-radius:14px;padding:17px;margin-bottom:14px}
@media(max-width:520px){
 .chaos-round-progress{padding:8px 11px;margin:8px 0 12px}
 .local-setup .chaos-setup-art{border-radius:19px}
 .local-setup .chaos-setup-art img{max-height:185px}
 .duo-wrap .duo-options .panel{padding:21px}
}
@media(prefers-reduced-motion:reduce){.chaos-progress-fill{transition:none}}

/* V60 — premières illustrations individuelles : 30 cartes Frigo. 
   Un décor vectoriel propre à la question remplace le même salon réutilisé partout. */
.chaos-card-illustration{position:relative;isolation:isolate;max-width:100%;aspect-ratio:900/440;overflow:hidden;margin:14px auto 21px;border:4px solid #f9c67e;border-radius:27px;background:#602767;box-shadow:0 7px 0 #d67b8b,0 16px 33px #27103687,inset 0 3px 0 #ffffffa8}
.chaos-card-illustration::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 2px #fff1da55,inset 0 17px 24px #ffffff0b}
.chaos-card-illustration svg{display:block;width:100%;height:100%;max-height:315px;object-fit:contain}
.chaos-card-illustration[data-variant="1"]{border-color:#ffbbba;box-shadow:0 7px 0 #cf6f9d,0 16px 33px #27103687}
.chaos-card-illustration[data-variant="2"]{border-color:#e3bafa;box-shadow:0 7px 0 #ad71c1,0 16px 33px #27103687}
.chaos-card-illustration[data-variant="3"]{border-color:#ffd69a;box-shadow:0 7px 0 #d77879,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration{border-radius:17px;border-width:3px;margin:12px auto 16px;box-shadow:0 5px 0 #ce7890,0 11px 22px #27103670}.chaos-card-illustration svg{max-height:230px}}
@media(max-width:370px){.chaos-card-illustration{margin:9px auto 13px}}

/* V61 — Ménage : gamme 2D aux accents menthe, rose et jaune, harmonisée avec Frigo. */
.chaos-card-illustration-menage{border-color:#b6e8d6;background:#52256d;box-shadow:0 7px 0 #71b8bb,0 16px 33px #27103687,inset 0 3px 0 #ffffffa8}
.chaos-card-illustration-menage[data-variant="1"]{border-color:#ffcd9a;box-shadow:0 7px 0 #d78b97,0 16px 33px #27103687}
.chaos-card-illustration-menage[data-variant="2"]{border-color:#b8d9ff;box-shadow:0 7px 0 #859cce,0 16px 33px #27103687}
.chaos-card-illustration-menage[data-variant="3"]{border-color:#f3bbef;box-shadow:0 7px 0 #c47cba,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-menage{margin:12px auto 16px;border-radius:17px;border-width:3px}}

/* V62 — les cartes Salle de bain disposent d'un univers illustré bleu, lilas et nacre. */
.chaos-card-illustration-salledebain{border-color:#b4eced;background:#4c3274;box-shadow:0 7px 0 #75b8d1,0 16px 33px #26113982,inset 0 3px 0 #eaf9fbb3}
.chaos-card-illustration-salledebain[data-variant="1"]{border-color:#b8d8ff;box-shadow:0 7px 0 #8d9bd3,0 16px 33px #26113982}
.chaos-card-illustration-salledebain[data-variant="2"]{border-color:#efd0fc;box-shadow:0 7px 0 #b485c4,0 16px 33px #26113982}
.chaos-card-illustration-salledebain[data-variant="3"]{border-color:#ffdbb3;box-shadow:0 7px 0 #da9c9c,0 16px 33px #26113982}
@media(max-width:560px){.chaos-card-illustration-salledebain{margin:12px auto 16px;border-radius:17px;border-width:3px}}

/* V63 — série Argent : finitions or, cuivre et prune des cartes illustrées individuellement. */
.chaos-card-illustration-argent{border-color:#f7db85;background:#533164;box-shadow:0 7px 0 #ba8f65,0 16px 33px #27103687,inset 0 3px 0 #fff2c39b}
.chaos-card-illustration-argent[data-variant="1"]{border-color:#ffbe99;box-shadow:0 7px 0 #cb7d83,0 16px 33px #27103687}
.chaos-card-illustration-argent[data-variant="2"]{border-color:#dbb5ff;box-shadow:0 7px 0 #b176bb,0 16px 33px #27103687}
.chaos-card-illustration-argent[data-variant="3"]{border-color:#bce7b9;box-shadow:0 7px 0 #79ac9b,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-argent{margin:12px auto 16px;border-radius:17px;border-width:3px}}

/* V64 — illustrations Invités : ambiance festive corail, or et violet. */
.chaos-card-illustration-invites{border-color:#ffcf94;background:#5a286a;box-shadow:0 7px 0 #d97693,0 16px 33px #27103687,inset 0 3px 0 #fff7daaa}
.chaos-card-illustration-invites[data-variant="1"]{border-color:#ffb4d3;box-shadow:0 7px 0 #c776b0,0 16px 33px #27103687}
.chaos-card-illustration-invites[data-variant="2"]{border-color:#e8c3ff;box-shadow:0 7px 0 #9d7bc7,0 16px 33px #27103687}
.chaos-card-illustration-invites[data-variant="3"]{border-color:#ffe3a3;box-shadow:0 7px 0 #cb947c,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-invites{border-width:3px;border-radius:17px;margin:12px auto 16px}}

/* V65 — Ambiance : six décors (salon, plateau TV, scène, château, pluie, studio)
   avec bordures d'illustrations adaptées et texte des questions toujours hors du SVG. */
.chaos-card-illustration-ambiance{border-color:#e7b8ff;background:#563476;box-shadow:0 7px 0 #9e73c0,0 16px 33px #27103687,inset 0 3px 0 #fff5e9ae}
.chaos-card-illustration-ambiance[data-variant="1"]{border-color:#ffc8a9;box-shadow:0 7px 0 #d5829c,0 16px 33px #27103687}
.chaos-card-illustration-ambiance[data-variant="2"]{border-color:#a9e2ff;box-shadow:0 7px 0 #78b4cc,0 16px 33px #27103687}
.chaos-card-illustration-ambiance[data-variant="3"]{border-color:#fff0aa;box-shadow:0 7px 0 #d39c82,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-ambiance{border-radius:17px;border-width:3px;margin:12px auto 16px}}

/* V66 — série Rangement ; cadres aux couleurs propres à chaque variante du récit. */
.chaos-card-illustration-rangement{border-color:#e5d0ff;background:#58346e;box-shadow:0 7px 0 #a18abf,0 16px 33px #27103687,inset 0 3px 0 #fff6e9ac}
.chaos-card-illustration-rangement[data-variant="1"]{border-color:#ffd5a1;box-shadow:0 7px 0 #cc9a83,0 16px 33px #27103687}
.chaos-card-illustration-rangement[data-variant="2"]{border-color:#b8e9e9;box-shadow:0 7px 0 #82b6bf,0 16px 33px #27103687}
.chaos-card-illustration-rangement[data-variant="3"]{border-color:#ffc2d8;box-shadow:0 7px 0 #c67da4,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-rangement{border-radius:17px;border-width:3px;margin:12px auto 16px}}

/* V67 — Solitude : six ambiances calmes, éclairage doux et illustrations vectorielles personnelles. */
.chaos-card-illustration-solitude{border-color:#decaf9;background:#45345f;box-shadow:0 7px 0 #987db8,0 16px 33px #27103687,inset 0 3px 0 #fff5e9ac}
.chaos-card-illustration-solitude[data-variant="1"]{border-color:#ffd7a9;box-shadow:0 7px 0 #bd8a96,0 16px 33px #27103687}
.chaos-card-illustration-solitude[data-variant="2"]{border-color:#b7d9f6;box-shadow:0 7px 0 #839bc1,0 16px 33px #27103687}
.chaos-card-illustration-solitude[data-variant="3"]{border-color:#ffbdce;box-shadow:0 7px 0 #b97b9e,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-solitude{border-radius:17px;border-width:3px;margin:12px auto 16px}}

/* V68 — cartes Conflits : scène illustrée à deux personnages.
   La question reste un texte natif hors du SVG et conserve ses boutons. */
.chaos-card-illustration-conflits{border-color:#ffbfbe;background:#503265;box-shadow:0 7px 0 #d47d99,0 16px 33px #27103687,inset 0 3px 0 #fff2d6ad}
.chaos-card-illustration-conflits[data-variant="1"]{border-color:#d9c0ff;box-shadow:0 7px 0 #ad83c6,0 16px 33px #27103687}
.chaos-card-illustration-conflits[data-variant="2"]{border-color:#ffe6ad;box-shadow:0 7px 0 #cda17f,0 16px 33px #27103687}
.chaos-card-illustration-conflits[data-variant="3"]{border-color:#ace8df;box-shadow:0 7px 0 #85bcb3,0 16px 33px #27103687}
@media(max-width:560px){.chaos-card-illustration-conflits{margin:12px auto 16px;border-width:3px;border-radius:17px}}

/* V69 — Sommeil : ambiance nocturne lumineuse et dix décors 2D, sans gêner le texte des cartes. */
.chaos-card-illustration-sommeil{border-color:#c6c9fb;background:#353259;box-shadow:0 7px 0 #777eb4,0 16px 33px #27103687,inset 0 3px 0 #e4e3ff9a}
.chaos-card-illustration-sommeil[data-variant="1"]{border-color:#eac5ff;box-shadow:0 7px 0 #b28bc4,0 16px 33px #27103687}
.chaos-card-illustration-sommeil[data-variant="2"]{border-color:#ffdfb1;box-shadow:0 7px 0 #c69994,0 16px 33px #27103687}
.chaos-card-illustration-sommeil[data-variant="3"]{border-color:#b5e6e3;box-shadow:0 7px 0 #83acb7,0 16px 33px #27103687}
.chaos-card-illustration-sommeil svg{display:block;width:100%;height:auto}
@media(max-width:560px){.chaos-card-illustration-sommeil{border-radius:17px;border-width:3px;margin:12px auto 16px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-sommeil{animation:none!important;transition:none!important}}

/* V70 — Secrets : élégance mystérieuse, rose champagne, aubergine, ivoire et or. */
.chaos-card-illustration-secrets{border-color:#e9c1e2;background:#423259;box-shadow:0 7px 0 #b17eaa,0 16px 33px #27103687,inset 0 3px 0 #ffe8f09a}
.chaos-card-illustration-secrets[data-variant="1"]{border-color:#ffddaa;box-shadow:0 7px 0 #b88c86,0 16px 33px #27103687}
.chaos-card-illustration-secrets[data-variant="2"]{border-color:#b3e1dd;box-shadow:0 7px 0 #76a6b3,0 16px 33px #27103687}
.chaos-card-illustration-secrets[data-variant="3"]{border-color:#d6c8ff;box-shadow:0 7px 0 #9b85be,0 16px 33px #27103687}
.chaos-card-illustration-secrets svg{display:block;width:100%;height:auto}
@media(max-width:560px){.chaos-card-illustration-secrets{border-radius:17px;border-width:3px;margin:12px auto 16px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-secrets{animation:none!important;transition:none!important}}

/* V71 — Portraits : personnages vectoriels expressifs, 11 ambiances éditoriales.
 * Les textes de question restent dans le DOM et le ratio 900/440 reste stable. */
.chaos-card-illustration-portraits{border-color:#cfb6fb;background:#4e406b;box-shadow:0 7px 0 #977ac9,0 16px 33px #27103687,inset 0 3px 0 #ffecfb9a}
.chaos-card-illustration-portraits[data-variant="1"]{border-color:#ffc3bf;box-shadow:0 7px 0 #cc819a,0 16px 33px #27103687}
.chaos-card-illustration-portraits[data-variant="2"]{border-color:#b8ece8;box-shadow:0 7px 0 #86b9bf,0 16px 33px #27103687}
.chaos-card-illustration-portraits[data-variant="3"]{border-color:#ffe0a8;box-shadow:0 7px 0 #c5a07d,0 16px 33px #27103687}
.chaos-card-illustration-portraits svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-portraits{transition:transform .2s ease,box-shadow .2s ease}.chaos-card-illustration-portraits:hover{transform:translateY(-2px);filter:saturate(1.06)}}
@media(max-width:560px){.chaos-card-illustration-portraits{border-radius:17px;border-width:3px;margin:12px auto 16px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-portraits{animation:none!important;transition:none!important}}

/* V72 — Amitié : scènes à deux personnages, douceur du quotidien et moments chaleureux.
   Les mouvements restent discrets et sont désactivés pour les préférences d'accessibilité. */
.chaos-card-illustration-amitie{border-color:#ffd6c2;background:#615177;box-shadow:0 7px 0 #c292ab,0 16px 33px #27103687,inset 0 3px 0 #ffecde9c}
.chaos-card-illustration-amitie[data-variant="1"]{border-color:#bde8e4;box-shadow:0 7px 0 #83aeb8,0 16px 33px #27103687}
.chaos-card-illustration-amitie[data-variant="2"]{border-color:#e4cafa;box-shadow:0 7px 0 #ad85c2,0 16px 33px #27103687}
.chaos-card-illustration-amitie[data-variant="3"]{border-color:#ffe1a8;box-shadow:0 7px 0 #c1a078,0 16px 33px #27103687}
.chaos-card-illustration-amitie svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-amitie{transition:transform .22s ease,filter .22s ease}.chaos-card-illustration-amitie:hover{transform:translateY(-2px);filter:saturate(1.06)}}
@media(max-width:560px){.chaos-card-illustration-amitie{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-amitie{transition:none!important;animation:none!important}}

/* V73 — Départs : profondeur par plans, personnages expressifs, objets signifiants.
   Conserver les questions au premier plan du DOM, aucun effet visuel bloquant. */
.chaos-card-illustration-departs{border-color:#ffd8c0;background:#485474;box-shadow:0 7px 0 #af8fb9,0 17px 35px #27103682,inset 0 3px 0 #fff0de9c}
.chaos-card-illustration-departs[data-variant="1"]{border-color:#bce1ea;box-shadow:0 7px 0 #82afc4,0 17px 35px #27103682}
.chaos-card-illustration-departs[data-variant="2"]{border-color:#e1ccfb;box-shadow:0 7px 0 #ac95c2,0 17px 35px #27103682}
.chaos-card-illustration-departs[data-variant="3"]{border-color:#ffe5a8;box-shadow:0 7px 0 #bd9e7a,0 17px 35px #27103682}
.chaos-card-illustration-departs svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-departs{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-departs:hover{transform:translateY(-2px);filter:saturate(1.06)}}
@media(max-width:560px){.chaos-card-illustration-departs{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-departs{transition:none!important;animation:none!important}}

/* V74 — Animaux : rendu 2D vectoriel expressif avec scènes propres à chaque question. */
.chaos-card-illustration-animaux{border-color:#c8e5e4;background:#455b74;box-shadow:0 7px 0 #7cabb7,0 17px 35px #26103587,inset 0 3px 0 #e5f5f0b3}
.chaos-card-illustration-animaux[data-variant="1"]{border-color:#ffe0bb;box-shadow:0 7px 0 #bd9e91,0 17px 35px #26103587}
.chaos-card-illustration-animaux[data-variant="2"]{border-color:#e5cffb;box-shadow:0 7px 0 #a58bbf,0 17px 35px #26103587}
.chaos-card-illustration-animaux[data-variant="3"]{border-color:#ffd1dc;box-shadow:0 7px 0 #c18ca9,0 17px 35px #26103587}
.chaos-card-illustration-animaux svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-animaux{transition:transform .22s ease,filter .22s ease}.chaos-card-illustration-animaux:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-animaux{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-animaux{transition:none!important;animation:none!important}}

/* V75 — Confessions : émotions plus lisibles, scènes à deux adultes, détails contextualisés. */
.chaos-card-illustration-confessions{border-color:#eed0dc;background:#534667;box-shadow:0 7px 0 #b890ad,0 16px 34px #29103b89,inset 0 3px 0 #fff0e0a3}
.chaos-card-illustration-confessions[data-variant="1"]{border-color:#b9dee2;box-shadow:0 7px 0 #8dafbe,0 16px 34px #29103b89}
.chaos-card-illustration-confessions[data-variant="2"]{border-color:#ffe3b2;box-shadow:0 7px 0 #bd9c88,0 16px 34px #29103b89}
.chaos-card-illustration-confessions[data-variant="3"]{border-color:#e3c7ff;box-shadow:0 7px 0 #aa8dbd,0 16px 34px #29103b89}
.chaos-card-illustration-confessions svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-confessions{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-confessions:hover{transform:translateY(-2px);filter:saturate(1.06)}}
@media(max-width:560px){.chaos-card-illustration-confessions{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-confessions{transition:none!important;animation:none!important}}

/* V76 : Flirts. 30 illustrations vectorielles adaptées aux questions, cadres doux
   et contrastes élevés. Les textes restent sémantiquement présents et accessibles. */
.chaos-card-illustration-flirts{border-color:#f8cce0;background:#5c4c72;box-shadow:0 7px 0 #bb88ae,0 17px 34px #27103582,inset 0 3px 0 #fff0e3b0}
.chaos-card-illustration-flirts[data-variant="1"]{border-color:#bee8e6;box-shadow:0 7px 0 #8bb4c0,0 17px 34px #27103582}
.chaos-card-illustration-flirts[data-variant="2"]{border-color:#ffe4b3;box-shadow:0 7px 0 #bf9f89,0 17px 34px #27103582}
.chaos-card-illustration-flirts[data-variant="3"]{border-color:#e6cdf7;box-shadow:0 7px 0 #a98ebf,0 17px 34px #27103582}
.chaos-card-illustration-flirts svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-flirts{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-flirts:hover{transform:translateY(-2px);filter:saturate(1.07)}}
@media(max-width:560px){.chaos-card-illustration-flirts{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-flirts{transition:none!important;animation:none!important}}

/* V77 — Duo : illustrations spécifiques à deux joueurs, ambiance vive et contraste
   visible sur téléphones, mouvements subtils uniquement au survol. */
.chaos-card-illustration-duo{border-color:#b6e6e1;background:#445a77;box-shadow:0 8px 0 #84adbb,0 18px 36px #2413388c,inset 0 3px 0 #ecf9f0af}
.chaos-card-illustration-duo[data-variant="1"]{border-color:#ffd6b0;box-shadow:0 8px 0 #c09e8a,0 18px 36px #2413388c}
.chaos-card-illustration-duo[data-variant="2"]{border-color:#f6c9dd;box-shadow:0 8px 0 #b48aa9,0 18px 36px #2413388c}
.chaos-card-illustration-duo[data-variant="3"]{border-color:#e3d1fb;box-shadow:0 8px 0 #ac93c7,0 18px 36px #2413388c}
.chaos-card-illustration-duo svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-duo{transition:transform .22s ease,filter .22s ease}.chaos-card-illustration-duo:hover{transform:translateY(-3px);filter:saturate(1.09)}}
@media(max-width:560px){.chaos-card-illustration-duo{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-duo{transition:none!important;animation:none!important}}

/* V78 — 30 cartes adultes supplémentaires. Scènes 2D réelles, contrastées,
   accessoires contextualisés, interface préservée et réductions de mouvement. */
.chaos-card-illustration-adult-batch-a{border-color:#ecc5dd;background:#56456f;box-shadow:0 8px 0 #b489b6,0 19px 36px #2610348d,inset 0 3px 0 #ffe8deb0}
.chaos-card-illustration-adult-batch-a[data-variant="1"]{border-color:#c7e0e7;box-shadow:0 8px 0 #8da9c1,0 19px 36px #2610348d}
.chaos-card-illustration-adult-batch-a[data-variant="2"]{border-color:#ffe1b9;box-shadow:0 8px 0 #c3a08c,0 19px 36px #2610348d}
.chaos-card-illustration-adult-batch-a[data-variant="3"]{border-color:#f5c4d2;box-shadow:0 8px 0 #bb889f,0 19px 36px #2610348d}
.chaos-card-illustration-adult-batch-a svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-a{transition:transform .22s ease,filter .22s ease}.chaos-card-illustration-adult-batch-a:hover{transform:translateY(-2px);filter:saturate(1.07)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-a{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-a{transition:none!important;animation:none!important}}

/* V79 — Adultes 031–060 : 16 décors, pictogrammes vectoriels et 6 compositions.
   La lisibilité du texte reste prioritaire, sans animation imposée sur mobile. */
.chaos-card-illustration-adult-batch-b{border-color:#c5d7f3;background:#485374;box-shadow:0 8px 0 #8999c2,0 19px 37px #24163885,inset 0 3px 0 #f0ebfcb3}
.chaos-card-illustration-adult-batch-b[data-variant="1"]{border-color:#f3c3d9;box-shadow:0 8px 0 #be8cab,0 19px 37px #24163885}
.chaos-card-illustration-adult-batch-b[data-variant="2"]{border-color:#ffe2b4;box-shadow:0 8px 0 #bf9e85,0 19px 37px #24163885}
.chaos-card-illustration-adult-batch-b[data-variant="3"]{border-color:#bde3df;box-shadow:0 8px 0 #88aaa6,0 19px 37px #24163885}
.chaos-card-illustration-adult-batch-b[data-variant="4"]{border-color:#ddd0f7;box-shadow:0 8px 0 #a397c5,0 19px 37px #24163885}
.chaos-card-illustration-adult-batch-b svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-b{transition:transform .22s ease,filter .22s ease}.chaos-card-illustration-adult-batch-b:hover{transform:translateY(-2px);filter:saturate(1.07)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-b{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-b{animation:none!important;transition:none!important}}

/* V80 : illustrations adultes supplémentaires 061–090. Sept poses réellement
   différentes, 14 décors, 47 accessoires SVG. Toujours lisible sur smartphone. */
.chaos-card-illustration-adult-batch-c{border-color:#a8dede;background:#4a5679;box-shadow:0 8px 0 #80a9b8,0 18px 36px #1f163783,inset 0 3px 0 #e6f8f6a9}
.chaos-card-illustration-adult-batch-c[data-variant="1"]{border-color:#f3c8de;box-shadow:0 8px 0 #b58fab,0 18px 36px #1f163783}
.chaos-card-illustration-adult-batch-c[data-variant="2"]{border-color:#fee0b6;box-shadow:0 8px 0 #bc9e86,0 18px 36px #1f163783}
.chaos-card-illustration-adult-batch-c[data-variant="3"]{border-color:#d8ccf6;box-shadow:0 8px 0 #a398bb,0 18px 36px #1f163783}
.chaos-card-illustration-adult-batch-c[data-variant="4"]{border-color:#d2e8c8;box-shadow:0 8px 0 #a0b6a1,0 18px 36px #1f163783}
.chaos-card-illustration-adult-batch-c svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-c{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-c:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-c{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-c{transition:none!important;animation:none!important}}

/* V81 : 30 scènes adultes 091–120, 10 compositions, jeu local/distant et Duo */
.chaos-card-illustration-adult-batch-d{border-color:#e6c2e9;background:#524569;box-shadow:0 8px 0 #b68caf,0 18px 37px #2815338a,inset 0 3px 0 #fff0e2ab}
.chaos-card-illustration-adult-batch-d[data-variant="1"]{border-color:#bcdbe6;box-shadow:0 8px 0 #8eacc4,0 18px 37px #2815338a}
.chaos-card-illustration-adult-batch-d[data-variant="2"]{border-color:#ffdfb4;box-shadow:0 8px 0 #c19e82,0 18px 37px #2815338a}
.chaos-card-illustration-adult-batch-d[data-variant="3"]{border-color:#bde8da;box-shadow:0 8px 0 #88b2a8,0 18px 37px #2815338a}
.chaos-card-illustration-adult-batch-d[data-variant="4"]{border-color:#f2c5d5;box-shadow:0 8px 0 #b38c9f,0 18px 37px #2815338a}
.chaos-card-illustration-adult-batch-d svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-d{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-d:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-d{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-d{transition:none!important;animation:none!important}}

/* V82 : scènes adultes 121–150, trois compositions dessinées et adaptées aux cartes.
   Les appels vidéo sont divisés en panneaux réellement distincts. */
.chaos-card-illustration-adult-batch-e{border-color:#eac3db;background:#4b496b;box-shadow:0 8px 0 #af8fae,0 19px 36px #22163884,inset 0 3px 0 #ffefe2ac}
.chaos-card-illustration-adult-batch-e[data-layout="solo"]{border-color:#ffe2b9;box-shadow:0 8px 0 #bda18f,0 19px 36px #22163884}
.chaos-card-illustration-adult-batch-e[data-layout="video"]{border-color:#b7e4e5;box-shadow:0 8px 0 #8cadba,0 19px 36px #22163884}
.chaos-card-illustration-adult-batch-e[data-variant="1"]{filter:saturate(1.05)}
.chaos-card-illustration-adult-batch-e svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-e{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-e:hover{transform:translateY(-2px);filter:saturate(1.09)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-e{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-e{animation:none!important;transition:none!important}}

/* V83 : 30 illustrations adultes 151–180, 20 décors et 3 cadrages utiles. */
.chaos-card-illustration-adult-batch-f{border-color:#b8dedb;background:#53637a;box-shadow:0 8px 0 #90b5b6,0 19px 38px #21173685,inset 0 3px 0 #eff9f0ad}
.chaos-card-illustration-adult-batch-f[data-layout="bridge"]{border-color:#f2c7dd;box-shadow:0 8px 0 #b58da9,0 19px 38px #21173685}
.chaos-card-illustration-adult-batch-f[data-layout="confess"]{border-color:#ffe0bb;box-shadow:0 8px 0 #bba091,0 19px 38px #21173685}
.chaos-card-illustration-adult-batch-f svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-f{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-f:hover{transform:translateY(-2px);filter:saturate(1.07)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-f{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-f{transition:none!important;animation:none!important}}

/* V84 — 30 scènes adultes 181–210 : cadeaux, négociation et confidentialité. */
.chaos-card-illustration-adult-batch-g{border-color:#f0c6dd;background:#585072;box-shadow:0 8px 0 #ba91b5,0 19px 36px #24172e88,inset 0 3px 0 #fff1e2ae}
.chaos-card-illustration-adult-batch-g[data-layout="negotiation"]{border-color:#bee2e5;box-shadow:0 8px 0 #8bafb9,0 19px 36px #24172e88}
.chaos-card-illustration-adult-batch-g[data-layout="trust"]{border-color:#d6e8c9;box-shadow:0 8px 0 #9daf9a,0 19px 36px #24172e88}
.chaos-card-illustration-adult-batch-g svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-g{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-g:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-g{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-g{transition:none!important;animation:none!important}}

/* V85 : 30 scènes 211–240 avec trois compositions et un téléphone 2D intégré. */
.chaos-card-illustration-adult-batch-h{border-color:#d9cdf0;background:#4c5078;box-shadow:0 8px 0 #a29abb,0 19px 36px #1c153787,inset 0 3px 0 #fff0e8aa}
.chaos-card-illustration-adult-batch-h[data-layout="conversation"]{border-color:#b8dfe0;box-shadow:0 8px 0 #92b2b8,0 19px 36px #1c153787}
.chaos-card-illustration-adult-batch-h[data-layout="messaging"]{border-color:#f1c0d7;box-shadow:0 8px 0 #bd91ae,0 19px 36px #1c153787}
.chaos-card-illustration-adult-batch-h svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-h{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-h:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-h{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-h{transition:none!important;animation:none!important}}

/* V86 — scènes adultes 241–270, aventures, confidences et consentement. */
.chaos-card-illustration-adult-batch-i{border-color:#b4d2dc;background:#4f657d;box-shadow:0 8px 0 #829ea7,0 19px 36px #1c153787,inset 0 3px 0 #fff0e8aa}
.chaos-card-illustration-adult-batch-i[data-layout="privacy"]{border-color:#e7bfd9;background:#665777;box-shadow:0 8px 0 #b58cac,0 19px 36px #1c153787}
.chaos-card-illustration-adult-batch-i[data-layout="consent"]{border-color:#bcdfc9;background:#526e77;box-shadow:0 8px 0 #87b9a6,0 19px 36px #1c153787}
.chaos-card-illustration-adult-batch-i svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-i{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-i:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-i{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-i{transition:none!important;animation:none!important}}

/* V87 : 30 scènes adultes 271–300, rituels, discussions et confidences. */
.chaos-card-illustration-adult-batch-j{border-color:#e9c6df;background:#5f587b;box-shadow:0 8px 0 #af90b3,0 19px 36px #1c153787,inset 0 3px 0 #fff0e8aa}
.chaos-card-illustration-adult-batch-j[data-layout="peace"]{border-color:#b8dfe4;background:#536d7b;box-shadow:0 8px 0 #91afbc,0 19px 36px #1c153787}
.chaos-card-illustration-adult-batch-j[data-layout="secrets"]{border-color:#cbe4be;background:#536b6c;box-shadow:0 8px 0 #8aa891,0 19px 36px #1c153787}
.chaos-card-illustration-adult-batch-j svg{display:block;width:100%;height:auto}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.chaos-card-illustration-adult-batch-j{transition:transform .2s ease,filter .2s ease}.chaos-card-illustration-adult-batch-j:hover{transform:translateY(-2px);filter:saturate(1.08)}}
@media(max-width:560px){.chaos-card-illustration-adult-batch-j{margin:12px auto 16px;border-radius:17px;border-width:3px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-adult-batch-j{transition:none!important;animation:none!important}}

/* V88 — 25 illustrations vectorielles de gages (RF-001 à RF-025). */
.chaos-card-illustration-refusal-a{border-color:#ffe0a8;background:#544874;box-shadow:0 7px 0 #cc9a77,0 17px 36px #28133992}
.chaos-card-illustration-refusal-a[data-layout="pitch"]{border-color:#c0e7eb;background:#485d7e;box-shadow:0 7px 0 #90acbc,0 17px 36px #28133992}
.chaos-card-illustration-refusal-a[data-layout="mimic"]{border-color:#f4b9d1;background:#674a79;box-shadow:0 7px 0 #bd8ca8,0 17px 36px #28133992}
.chaos-card-illustration-refusal-a[data-layout="defend"]{border-color:#c9e0bb;background:#546978;box-shadow:0 7px 0 #97b196,0 17px 36px #28133992}
.chaos-card-illustration-refusal-a svg{display:block;width:100%;height:auto}
@media(max-width:560px){.chaos-card-illustration-refusal-a{margin:12px auto 16px;border-width:3px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-refusal-a{transition:none!important;animation:none!important}}

/* V89 — 25 illustrations SVG individuelles pour les gages RF-026 à RF-050. */
.chaos-card-illustration-refusal-b{border-color:#f3d4a6;background:#544d75;box-shadow:0 7px 0 #c6a584,0 17px 36px #28133992}
.chaos-card-illustration-refusal-b[data-layout="pitch"]{border-color:#bfe1ee;background:#475e7b;box-shadow:0 7px 0 #8bafc0,0 17px 36px #28133992}
.chaos-card-illustration-refusal-b[data-layout="mimic"]{border-color:#f4bed9;background:#694c79;box-shadow:0 7px 0 #b88aa8,0 17px 36px #28133992}
.chaos-card-illustration-refusal-b[data-layout="defend"]{border-color:#cbe3b6;background:#516a72;box-shadow:0 7px 0 #94b598,0 17px 36px #28133992}
.chaos-card-illustration-refusal-b svg{display:block;width:100%;height:auto}
@media(max-width:560px){.chaos-card-illustration-refusal-b{margin:12px auto 16px;border-width:3px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-refusal-b{transition:none!important;animation:none!important}}

/* V90 — gages RF-051 à RF-072 et RF-089 à RF-091, scènes spécifiques responsives. */
.chaos-card-illustration-refusal-c{border-color:#eec8dc;background:#655077;box-shadow:0 7px 0 #bb92a7,0 17px 36px #28133992}
.chaos-card-illustration-refusal-c[data-layout="pitch"]{border-color:#c0dfe9;background:#50677e;box-shadow:0 7px 0 #93b0bf,0 17px 36px #28133992}
.chaos-card-illustration-refusal-c[data-layout="mimic"]{border-color:#efd4a7;background:#6b5876;box-shadow:0 7px 0 #c5a889,0 17px 36px #28133992}
.chaos-card-illustration-refusal-c[data-layout="defend"]{border-color:#c4ddc6;background:#4d6c6d;box-shadow:0 7px 0 #8fafa0,0 17px 36px #28133992}
.chaos-card-illustration-refusal-c svg{display:block;width:100%;height:auto}
@media(max-width:560px){.chaos-card-illustration-refusal-c{margin:12px auto 16px;border-width:3px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-refusal-c{transition:none!important;animation:none!important}}

/* V91 — les 9 derniers gages Animaux et 16 boissons personnalisées. */
.chaos-card-illustration-refusal-d{border-color:#bce4d0;background:#557477;box-shadow:0 7px 0 #86b7a0,0 17px 36px #28133992}
.chaos-card-illustration-refusal-d[data-kind="boisson"]{border-color:#eebfd7;background:#735476;box-shadow:0 7px 0 #c58eae,0 17px 36px #28133992}
.chaos-card-illustration-refusal-d[data-kind="boisson"][data-sips="1"]{border-color:#b7deef}
.chaos-card-illustration-refusal-d[data-kind="boisson"][data-sips="4"]{border-color:#fad3a1}
.chaos-card-illustration-refusal-d[data-layout="mimic"]{border-color:#d6c2e8}
.chaos-card-illustration-refusal-d svg{display:block;width:100%;height:auto}
@media(max-width:560px){.chaos-card-illustration-refusal-d{margin:12px auto 16px;border-width:3px;border-radius:17px}}
@media(prefers-reduced-motion:reduce){.chaos-card-illustration-refusal-d{transition:none!important;animation:none!important}}

/* V92 — audit ergonomique : texte d'abord, lisibilité 320–600 px, actions accessibles. */
.question-panel.card-family.card-question .question-text,.question-panel.refusal-panel .question-text{max-width:100%;overflow-wrap:anywhere;hyphens:auto}
.question-panel.card-family.card-question .chaos-card-illustration,.question-panel.refusal-panel .chaos-card-illustration{width:100%;margin:12px auto 17px}
.question-panel:focus-visible{outline:3px solid #ffe79d!important;outline-offset:3px}
.play-layout.online-answering .card-question,.play-layout.online-answering .card-secret{margin:0}
.play-layout.online-answering .card-secret{margin-top:16px}
.online-inline-secret .secret-stage-top{margin-bottom:17px}
@media(max-width:600px){.play-layout.online-answering .card-secret{margin-top:12px}}
.quiet-note{font-size:13px;color:#d1c7dd;line-height:1.5}
@media(max-width:600px){
 .topbar .header-chip{display:none}
 .topbar .brand{min-width:0;flex:1 1 auto;font-size:clamp(16px,4.4vw,20px);gap:8px;letter-spacing:-.6px}
 .topbar .brand-icon{flex:none;width:31px;height:31px;font-size:21px;border-radius:10px}
 .topbar .brand small{font-size:7px;letter-spacing:.07em}
 .topbar>a.btn.tiny{flex:0 0 auto;font-size:12px;padding:8px 9px;min-height:44px;line-height:1.25}
 .play-layout .card-family.card-question .question-text{font-size:clamp(1.55rem,6vw,2.05rem);line-height:1.32;text-align:left;margin:9px 0 14px;letter-spacing:-.025em}
 .play-layout .card-family.card-question .role-line{font-size:clamp(.84rem,2.8vw,1rem);line-height:1.4;margin:10px 0}
 .question-panel.card-family.card-question .chaos-card-illustration,.question-panel.refusal-panel .chaos-card-illustration{margin:5px auto 12px;border-width:3px;border-radius:17px}
 .question-panel.refusal-panel .question-text{font-size:clamp(1.45rem,5.25vw,1.95rem);line-height:1.33;margin:12px 0 14px}
 .question-panel.refusal-panel .refusal-subtitle{margin-top:10px;font-size:1rem}
 .chaos-choice-grid{gap:10px;margin:14px 0 12px}
 .chaos-choice-card{min-height:153px;gap:6px;padding:10px 8px 12px;border-radius:19px;border-bottom-width:5px}
 .chaos-choice-icon{font-size:2.05rem;line-height:1}
 .chaos-choice-card strong{font-size:clamp(1rem,4vw,1.32rem);line-height:1.18}
 .chaos-choice-card small{font-size:.78rem;line-height:1.32}
 .chaos-choice-cta{font-size:.76rem;padding:6px 8px}
 .refusal-choice h1.question-text,.refusal-choice>.question-text{font-size:clamp(1.65rem,6.5vw,2.2rem);line-height:1.19}
 .question-panel.card-vote h1,.question-panel.card-guess h1,.question-panel.card-sip-target h1{font-size:clamp(1.6rem,6.3vw,2.15rem);line-height:1.28}
 .game-back-nav .quiet-note{font-size:12px;line-height:1.45}
}
@media(max-width:350px){
 .chaos-choice-card{min-height:120px;gap:4px;padding:10px}
 .chaos-choice-icon{font-size:1.9rem}
 .chaos-choice-grid{grid-template-columns:1fr;gap:10px}
 .topbar .brand small{display:none}
 .topbar .brand{font-size:16px}
 .topbar>a.btn.tiny{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.chaos-choice-card:hover{transform:none;filter:none}}

/* V94 — dix scènes-pilotes : personnages expressifs ; les vraies questions restent du HTML. */
.chaos-card-illustration-editorial{border-color:#ffe4b1;box-shadow:0 7px 0 #e4798e,0 15px 34px #25103494,inset 0 3px 0 #fff1cc}
.chaos-card-illustration-editorial svg{width:100%;height:auto}
.art-pilot-page{width:100%;max-width:1050px;margin:24px auto 60px}
.art-pilot-page>.lead{max-width:850px;margin:12px 0 25px;font-size:clamp(1rem,2.4vw,1.17rem);line-height:1.65}
.art-pilot-summary{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:15px 20px;border:1px solid #d9a7c8;border-radius:18px;background:#3c284b;margin-bottom:24px}
.art-pilot-summary strong{color:#ffe3a4}.art-pilot-summary span{color:#d9d0e5}
.art-pilot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.art-pilot-card{min-width:0;padding:19px;border:2px solid #f0c7c0;border-radius:22px;background:linear-gradient(150deg,#fff5e8,#ffdfce);color:#461d3b;box-shadow:0 8px 0 #ad6b88,0 15px 27px #160d2788}
.art-pilot-card header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:.82rem;font-weight:900;color:#983e6c}
.art-pilot-card h2{color:#481c3c;font-size:clamp(1.1rem,2.3vw,1.38rem);line-height:1.4;margin:12px 0 15px;min-height:100px}
.art-pilot-card .chaos-card-illustration{margin:9px 0 12px}
@media(max-width:720px){.art-pilot-grid{grid-template-columns:1fr}.art-pilot-card{padding:14px}.art-pilot-card h2{min-height:0}.art-pilot-page{margin:10px auto 30px}}
@media(prefers-reduced-motion:reduce){.art-pilot-card{scroll-behavior:auto}}

/* V95 : portraits WebP d'origine, toujours entiers et jamais recadrés. */
.question-illustration[src^="/card-art/final/frigo-"]{display:block;width:min(100%,500px);max-width:100%;height:auto;max-height:none;aspect-ratio:3/4;object-fit:contain;object-position:center;margin:12px auto 18px;border:4px solid #f9d8a1;border-radius:20px;background:#23162f;box-shadow:0 7px 0 #c0789b,0 17px 30px #210d3180}
.chaos-card-illustration-final{aspect-ratio:3/4;width:min(100%,500px);max-width:100%;height:auto;overflow:hidden;background:#23162f;border-color:#f9d8a1;border-radius:20px;box-shadow:0 7px 0 #c0789b,0 17px 30px #210d3180}
.chaos-card-illustration-final svg{display:block;width:100%;height:100%;max-height:none;aspect-ratio:3/4;object-fit:contain}
.art-pilot-card .chaos-card-illustration-final{margin:12px auto 18px}
@media(max-width:560px){.question-illustration[src^="/card-art/final/frigo-"],.chaos-card-illustration-final{width:100%;max-width:100%;border-width:3px;border-radius:17px;margin:9px auto 14px}}


/* V103 — UNE SEULE FACE jouable V100 (portrait 720×960 logique), sans texte en doublon.
   La scène interne peut être SVG de secours ou WebP 720×960 ; aucun ancien fond n'est
   déclaré conforme par ce composant. Les textes proviennent exclusivement du jeu. */
.cc-v103-face {
  --cc-theme: #a558db;
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  container-type:inline-size;
  display:block;
  width:min(100%,520px);
  max-width:100%;
  aspect-ratio:3 / 4;
  height:auto;
  margin:14px auto 22px;
  overflow:hidden;
  border:7px solid #f95cc8;
  outline:2px solid #ffe3ff;
  outline-offset:-13px;
  border-radius:28px;
  background:radial-gradient(circle at 52% 34%,#7d3e8c,#2f163e 75%);
  box-shadow:0 0 0 4px #38144b,0 13px 40px #170618b8,inset 0 0 22px #ff85ed90;
}
.cc-v103-face::before {
  content:"";
  position:absolute;
  inset:0 0 65%;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg,#160b37d9 0%,#1a0b2e75 65%,transparent);
}
.cc-v103-face[data-art-profile="coquin"] {
  border-color:#f657b4;
  background:linear-gradient(135deg,#5a1a56,#231040);
}
.cc-v103-art {
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  display:block;
}
.cc-v103-art > .question-illustration,
.cc-v103-art > .chaos-card-illustration,
.cc-v103-art > .chaos-scene-art,
.cc-v103-art > .chaos-special-art,
.cc-v103-art > .chaos-card-illustration-final {
  box-sizing:border-box !important;
  display:block;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  max-width:none !important;
  margin:0 !important;
  padding:0;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  aspect-ratio:3 / 4;
}
.cc-v103-art > .question-illustration {object-fit:contain;object-position:center;}
.cc-v103-art > .chaos-card-illustration svg {
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:contain;
}
.cc-v103-art > .chaos-special-art {
  display:flex;
  align-items:center;
  justify-content:center;
}
.cc-v103-top {
  position:absolute;
  z-index:2;
  top:2.5%;
  left:4%;
  right:4%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:2%;
  pointer-events:none;
}
.cc-v103-logo {
  position:relative;
  flex:0 0 41%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:0;
  color:#fffaf8;
  font-family:system-ui,Arial,sans-serif;
  font-size:clamp(18px,7.1cqi,41px);
  letter-spacing:-.08em;
  line-height:.88;
  font-style:italic;
  font-weight:1000;
  white-space:nowrap;
  -webkit-text-stroke:1px #170825;
  text-shadow:2px 3px 0 #28102f,0 0 8px #fd7ae5;
}
.cc-v103-logo strong {
  display:block;
  font:inherit;
  color:#ffb737;
  font-size:1.14em;
  text-shadow:2px 3px 0 #221032,0 0 9px #ff8c57;
}
.cc-v103-roof {
  position:absolute;
  top:-.45em;
  left:.4em;
  font-style:normal;
  font-size:.65em;
  color:#ffa0dd;
  text-shadow:0 0 8px #f857a8;
}
.cc-v103-theme {
  flex:0 1 56%;
  box-sizing:border-box;
  margin-top:1%;
  padding:2.4% 3%;
  border:3px solid var(--cc-theme);
  border-radius:999px;
  background:#190c36ed;
  color:white;
  text-align:center;
  font-weight:1000;
  font-size:clamp(10px,3.2cqi,19px);
  line-height:1.12;
  text-transform:uppercase;
  text-shadow:0 1px 2px #000;
  box-shadow:0 0 11px var(--cc-theme),inset 0 0 0 1px #ffffff6a;
  overflow-wrap:anywhere;
}
.cc-v103-face[data-theme="frigo"]{--cc-theme:#439bfa}
.cc-v103-face[data-theme="animaux"]{--cc-theme:#5de188}
.cc-v103-face[data-theme="menage"]{--cc-theme:#f4a05b}
.cc-v103-face[data-theme="salledebain"]{--cc-theme:#79d6f7}
.cc-v103-face[data-theme="argent"]{--cc-theme:#ffd264}
.cc-v103-face[data-theme="invites"]{--cc-theme:#c38afa}
.cc-v103-face[data-theme="ambiance"]{--cc-theme:#cc87ef}
.cc-v103-face[data-theme="rangement"]{--cc-theme:#7cd4d0}
.cc-v103-face[data-theme="solitude"]{--cc-theme:#8d91e4}
.cc-v103-face[data-theme="conflits"]{--cc-theme:#ff777c}
.cc-v103-face[data-theme="sommeil"]{--cc-theme:#9aabf8}
.cc-v103-face[data-theme="secrets"]{--cc-theme:#b585ef}
.cc-v103-face[data-theme="portraits"]{--cc-theme:#fcb57d}
.cc-v103-face[data-theme="amitie"]{--cc-theme:#ffa2c6}
.cc-v103-face[data-theme="departs"]{--cc-theme:#88e1d2}
.cc-v103-face[data-theme="flirts"],
.cc-v103-face[data-theme="confessions"]{--cc-theme:#ff63b8}
.cc-v103-face[data-theme="gage"]{--cc-theme:#ff9f59}
.cc-v103-face[data-theme="boisson"]{--cc-theme:#74c5fb}
.cc-v103-paper {
  position:absolute;
  z-index:3;
  left:3.6%;
  right:3.6%;
  bottom:3.1%;
  min-height:31%;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:5.2% 6.3% 5.1%;
  background:#fff9ee;
  border:3px solid #ddcede;
  border-radius:17px;
  box-shadow:0 7px 0 #24142caa,0 0 18px #1b13265a;
  clip-path:polygon(0 5%,5% 1%,11% 2%,17% 0,25% 2%,32% 0,41% 2%,49% 0,58% 2%,66% 0,74% 2%,83% 0,92% 2%,100% 0,99% 93%,95% 99%,87% 97%,79% 100%,71% 97%,63% 100%,55% 98%,47% 100%,39% 97%,31% 100%,23% 98%,16% 100%,8% 98%,0 100%);
}
.cc-v103-face[data-text-density="medium"] .cc-v103-paper {min-height:34%;}
.cc-v103-face[data-text-density="long"] .cc-v103-paper {min-height:40%;}
.cc-v103-face[data-text-density="extra-long"] .cc-v103-paper {min-height:46%;}
.cc-v103-paper .cc-v103-question {
  position:relative;
  z-index:2;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  padding:0 0 0 3%;
  margin:0;
  font-family:ui-rounded,system-ui,Arial,sans-serif;
  font-size:clamp(14px,5.1cqi,29px);
  font-weight:1000;
  line-height:1.17;
  letter-spacing:-.027em;
  color:#241629;
  text-align:center;
  text-wrap:pretty;
  overflow-wrap:anywhere;
  hyphens:auto;
  white-space:normal;
  text-shadow:none;
}
.cc-v103-face[data-text-density="medium"] .cc-v103-question {font-size:clamp(13px,4.4cqi,25px);}
.cc-v103-face[data-text-density="long"] .cc-v103-question {font-size:clamp(12px,3.65cqi,22px);}
.cc-v103-face[data-text-density="extra-long"] .cc-v103-question {font-size:clamp(11px,3.2cqi,19px);}
.cc-v103-paper-icon {
  position:absolute;
  z-index:1;
  left:2%;
  bottom:3%;
  display:block;
  font-size:clamp(16px,7cqi,39px);
  opacity:.55;
  pointer-events:none;
}
@media(max-width:420px){
  .cc-v103-face{border-width:5px;border-radius:21px;outline-offset:-10px;}
  .cc-v103-theme{border-width:2px;}
  .cc-v103-paper{border-width:2px;}
}
@media(prefers-reduced-motion:reduce){.cc-v103-face{animation:none;transition:none;}}


/* V116 — Les WebP finaux ont DÉJÀ leur logo, catégorie et question imprimés.
   Ce conteneur montre les pixels tels quels, sans doublage de la face V103. */
.cc-v103-face.cc-v103-face-complete {
  border:0;
  outline:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.cc-v103-face.cc-v103-face-complete::before {content:none;}
.cc-v103-face-complete .cc-v103-art {inset:0;}
.cc-v103-face-complete .cc-v103-art > .question-illustration {
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}
.cc-v103-screen-reader-only {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

/* V144.1 — une face complète est affichée seule dans le jeu. Le cadre néon
   appartient à l'image elle-même ; aucun panneau UI ne doit l'envelopper. */
.play-layout .card-art-only{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.play-layout .card-art-only .cc-v103-face{
  width:min(100%,520px)!important;
  max-width:100%;
  height:auto!important;
  aspect-ratio:3 / 4;
  margin:0 auto!important;
}
/* Le raster conserve le halo néon, mais la face jouable doit aussi être
   découpée par le navigateur sur son bord extérieur. Les fichiers 720x960
   gardent environ 0,9 % en haut/bas et 1 % à gauche/droite de remplissage
   sombre autour du néon : ces marges sont retirées ici, sans réduire ni
   remplacer une illustration. Cette découpe s'applique aux anciennes faces
   finales comme aux lots V144 recomposés. */
.cc-v103-face.cc-v103-face-complete{
  border-radius:8% / 6%!important;
  overflow:hidden!important;
  -webkit-clip-path:inset(.9% 1% .9% 1% round 8% / 6%)!important;
  clip-path:inset(.9% 1% .9% 1% round 8% / 6%)!important;
}
.play-layout .refusal-card-shell .cc-v103-face-complete{max-width:100%;}
.gage-cycle-note{margin:0 auto 8px;text-align:center;}

/* V141 — lecture compacte : consigne, compteur et carte restent dans le même écran.
   L'ordre final demandé est verrouillé par V153 en fin de feuille. */
.reader-reading{display:flex;flex-direction:column;gap:7px}
.reader-reading .reader-secret-panel{order:1;margin:0!important;padding:7px 10px!important;border-radius:14px!important;box-shadow:0 4px 0 #a83f7570,0 8px 16px #12062470}
.reader-reading .reader-deadline-warning{order:2;margin:0;padding:5px 9px;text-align:center;font-size:clamp(.64rem,1.4vw,.78rem);line-height:1.18}
.reader-reading .reader-countdown{order:3;margin:0}
.reader-reading .reader-question-panel{order:4;margin:0!important;padding:6px 8px!important;display:flex;justify-content:center;align-items:center;border-radius:16px!important}
.reader-reading .reader-controls{order:5;margin-top:0!important}
.reader-reading .local-links{order:6;margin:4px 0 0}
.reader-reading .reader-question-panel .cc-v103-face{width:auto;max-width:100%;height:clamp(185px,31vh,300px);aspect-ratio:3 / 4;margin:0 auto;}
.reader-countdown{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:6px 11px;border:2px solid #ffcf72;border-radius:12px;background:linear-gradient(135deg,#4b285b,#2c1b45);color:#ffe6ae;box-shadow:0 3px 0 #211034a6;font-size:clamp(.72rem,1.65vw,.88rem);font-weight:850}
.reader-countdown strong{color:#fff5d1;font-size:clamp(1.2rem,3.5vw,1.75rem);letter-spacing:.02em;white-space:nowrap}
.reader-countdown-stopped{border-color:#a9d9c4;background:linear-gradient(135deg,#294b51,#243441);color:#d7f6e7}
.reader-countdown-stopped strong{color:#d7f6e7;font-size:clamp(.9rem,2.2vw,1.15rem)}
.reader-secret-panel .secret-stage-compact .secret-stage-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 3px;text-align:left}
.reader-secret-panel .secret-stage-compact .secret-step{padding:3px 8px;font-size:clamp(.6rem,1.35vw,.72rem);line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reader-secret-panel .secret-stage-compact .secret-privacy{margin:0;font-size:clamp(.62rem,1.35vw,.72rem);line-height:1.2;white-space:nowrap}
.reader-secret-panel .secret-stage-compact .secret-hero{gap:2px;margin:0;padding:5px 8px 6px;border-width:1px;border-radius:11px;box-shadow:none}
.reader-secret-panel .secret-stage-compact .secret-hero-title{font-size:clamp(.9rem,2.2vw,1.15rem);line-height:1.03;-webkit-text-stroke:0;text-shadow:none}
.reader-secret-panel .secret-stage-compact .secret-word{padding:2px 6px;border-width:1px;border-radius:8px;font-size:clamp(.78rem,2vw,.95rem);box-shadow:none}
.reader-secret-panel .secret-stage-compact .secret-hero-detail{max-width:none;font-size:clamp(.67rem,1.55vw,.8rem);line-height:1.2;font-weight:650}
.reader-secret-panel .secret-stage-compact .answer-ideas{display:none}
.reader-secret-panel .secret-stage-compact .secret-privacy{display:none}
.ccx-reader .game-back-nav{margin:3px auto 5px;padding:0;gap:5px;justify-content:flex-end}
.ccx-reader .game-back-nav a,.ccx-reader .game-back-nav .game-back-button,.ccx-reader .game-back-nav .quiet-note{display:none}
.ccx-reader .game-back-nav .btn{min-height:30px;padding:5px 9px;font-size:.68rem;border-radius:9px}
.ccx-reader .chaos-round-progress{margin:0 auto 5px;padding:4px 8px;gap:7px;border-width:1px;box-shadow:0 2px 0 #27113d;font-size:.68rem}
.ccx-reader .chaos-progress-caption{font-size:.66rem}
.ccx-reader .chaos-progress-track{height:6px}
.ccx-reader .play-layout.reader-reading{margin:3px auto 10px}
.ccx-reader .play-layout.reader-reading .play-meta{gap:5px;margin:0 0 1px}
.ccx-reader .play-layout.reader-reading .round-pill{padding:4px 7px;font-size:.6rem}
.online-rules-round:has(> .card-question){display:flex;flex-direction:column;gap:9px}
.online-rules-round:has(> .card-question)> .reader-secret-panel{order:1;margin:0;padding:10px 12px!important;border-radius:16px!important}
.online-rules-round:has(> .card-question)> .reader-deadline-warning{order:2;margin:0;padding:5px 9px;text-align:center;font-size:clamp(.64rem,1.4vw,.78rem);line-height:1.18}
.online-rules-round:has(> .card-question)> .reader-countdown{order:3;margin:0}
.online-rules-round:has(> .card-question)> .card-question{order:4;margin:0;padding:8px 10px!important;display:flex;justify-content:center;align-items:center;border-radius:18px!important}
.online-rules-round:has(> .card-question)> .card-question .cc-v103-face{width:auto;max-width:100%;height:clamp(230px,43vh,410px);aspect-ratio:3 / 4;margin:0 auto}
.online-rules-round:has(> .card-question)> .control-panel{order:5;margin-top:0}
.online-rules-round .reader-secret-panel>h2{margin:0 0 4px;color:#ffe9a8;font-size:clamp(.76rem,1.65vw,.9rem);line-height:1.2}
.online-rules-round .reader-secret-panel>h3{margin:0 0 3px;color:#fff1cf;font-size:clamp(1rem,2.3vw,1.35rem);line-height:1.08}
.online-rules-round .reader-secret-panel>p{margin:0;color:#ecdff2;font-size:clamp(.72rem,1.65vw,.86rem);line-height:1.28}
.online-rules-round .reader-secret-panel>strong{display:block;margin-top:4px;color:#ffe8b0;font-size:.72rem;line-height:1.25}
@media(max-width:520px){
 .reader-reading{gap:7px}
 .reader-reading .reader-secret-panel,.online-rules-round:has(> .card-question)> .reader-secret-panel{padding:8px 9px!important}
 .reader-secret-panel .secret-stage-compact .secret-stage-top{margin-bottom:4px}
 .reader-reading .reader-question-panel,.online-rules-round:has(> .card-question)> .card-question{padding:5px 6px!important}
 .reader-reading .reader-question-panel .cc-v103-face,.online-rules-round:has(> .card-question)> .card-question .cc-v103-face{height:clamp(180px,29vh,260px)}
 .reader-countdown{min-height:35px;padding:5px 8px;font-size:.68rem}
 .reader-countdown strong{font-size:1.08rem}
}

/* V141.1 — le lecteur doit tout voir sans faire défiler : on neutralise le
   bandeau décoratif de la maquette et les actions secondaires passent sous la carte. */
.reader-reading{padding-top:0!important}
.reader-reading::before{display:none!important}
.reader-secret-panel .answer-ideas{display:none!important}
body.ccx-enabled.ccx-reader .page-wrap{padding-top:8px}
body.ccx-enabled.ccx-reader .topbar{margin:0 0 6px!important;padding:4px 8px!important;min-height:44px}
body.ccx-enabled.ccx-reader .topbar .brand{font-size:18px;gap:7px}
body.ccx-enabled.ccx-reader .topbar .brand small{display:none}
body.ccx-enabled.ccx-reader .topbar .brand-icon{width:30px;height:30px;font-size:20px;border-radius:9px}
body.ccx-enabled.ccx-reader .topbar .header-chip{display:none}
body.ccx-enabled.ccx-reader .topbar>a.btn.tiny{min-height:32px!important;padding:5px 8px!important;font-size:.65rem!important}
body.ccx-enabled.ccx-reader .game-back-nav .btn{min-height:32px!important;padding:5px 9px!important;font-size:.68rem!important;border-radius:9px}
body.ccx-enabled.ccx-reader .play-layout.reader-reading .play-meta{padding:0!important;min-height:0!important}
body.ccx-enabled.ccx-reader .play-layout.reader-reading .round-pill{padding:3px 6px!important;font-size:.58rem!important}
body.ccx-enabled.ccx-reader .reader-countdown{height:42px!important;min-height:0!important;padding:4px 8px!important;line-height:1.1!important}
body.ccx-enabled.ccx-reader .reader-countdown-label{font-size:.68rem!important;white-space:nowrap}
body.ccx-enabled.ccx-reader .reader-countdown strong{font-size:1.1rem!important;line-height:1!important}
body.ccx-enabled.ccx-reader .reader-deadline-warning{padding:3px 7px!important;font-size:.62rem!important;line-height:1.15!important;border-radius:9px!important}
body.ccx-enabled.ccx-reader .reader-question-panel .cc-v103-face{height:clamp(155px,24vh,220px)!important}
body.ccx-enabled.ccx-reader .online-rules-round{padding-top:0!important}
body.ccx-enabled.ccx-reader .online-rules-round::before{display:none!important}
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-secret-panel{padding:7px 10px!important;border-radius:14px!important}
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .card-question{padding:6px 8px!important;border-radius:16px!important}
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .card-question .cc-v103-face{height:clamp(155px,24vh,220px)!important}
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .control-panel{margin-top:0!important}

/* V142 — lecteur : nom puis consigne compacte, carte seule et actions sans panneau. */
body.ccx-enabled.ccx-reader .reader-reading .reader-secret-panel,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-secret-panel{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage{display:flex;flex-direction:column;align-items:center;gap:0;min-width:0}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-stage-top,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-stage-top{
  display:block!important;
  width:100%;
  margin:0!important;
  text-align:center!important;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-player{
  margin:0!important;
  color:#ffe8ad;
  font-size:clamp(.72rem,1.8vw,.9rem);
  font-weight:950;
  letter-spacing:.08em;
  line-height:1.15;
  text-transform:uppercase;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-step,
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-privacy{display:none!important}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-hero,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-hero{
  display:flex!important;
  width:auto!important;
  max-width:100%;
  gap:4px!important;
  margin:4px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-hero-title,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-hero-title{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:100%;
  margin:0!important;
  padding:6px 17px!important;
  border:2px solid #ffe8a8!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ffe88a,#ffb735)!important;
  color:#3d1239!important;
  font-size:clamp(.9rem,2.6vw,1.18rem)!important;
  font-weight:1000;
  letter-spacing:.04em;
  line-height:1.05;
  text-transform:uppercase;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  box-shadow:0 3px 0 #ae5b3d,0 7px 14px #1206244d;
  overflow-wrap:anywhere;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-word{margin:1px 0 0!important;padding:3px 8px!important;font-size:.8rem!important}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-hero-detail,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-hero-detail{
  max-width:42rem;
  margin:3px auto 0!important;
  color:#f5e8ef;
  font-size:clamp(.72rem,1.65vw,.88rem)!important;
  font-weight:650;
  line-height:1.25;
  text-align:center;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .reader-secret-note{margin:4px auto 0;color:#ffe9b4;font-size:.68rem;line-height:1.2;text-align:center}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval{
  display:flex!important;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  width:min(100%,760px);
  max-width:100%;
  margin:4px auto 0!important;
  padding:7px 16px!important;
  border:2px solid #ffe8a8!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ffe88a,#ffb735)!important;
  color:#3d1239!important;
  box-shadow:0 3px 0 #ae5b3d,0 7px 14px #1206244d!important;
  font:inherit;
  line-height:1.2;
  text-align:center;
  cursor:default;
  opacity:1!important;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval:disabled,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval:disabled{opacity:1!important;color:#3d1239!important}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval .secret-oval-label,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval .secret-oval-label{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#3d1239!important;
  font-size:clamp(.78rem,1.8vw,.98rem)!important;
  font-weight:1000!important;
  letter-spacing:.02em;
  line-height:1.2;
  text-transform:none;
  text-shadow:none!important;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval .secret-oval-detail,
body.ccx-enabled.ccx-reader .online-rules-round .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval .secret-oval-detail{
  display:inline!important;
  max-width:none;
  margin:0!important;
  color:#3d1239!important;
  font-size:clamp(.72rem,1.65vw,.9rem)!important;
  font-weight:750;
  line-height:1.2;
  text-align:left;
}
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage.secret-stage-compact .secret-oval .secret-oval-word{display:inline!important;margin:0!important;padding:2px 7px!important;border:0!important;border-radius:999px!important;background:#3d1239!important;color:#fff9db!important;font-size:.78rem!important;box-shadow:none!important}
body.ccx-enabled.ccx-reader .reader-card,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-card{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.ccx-enabled.ccx-reader .reader-card .cc-v103-face{width:auto;max-width:100%;height:clamp(225px,37vh,390px)!important;aspect-ratio:3 / 4;margin:0 auto!important}
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-card .cc-v103-face{width:auto;max-width:100%;height:clamp(225px,37vh,390px)!important;aspect-ratio:3 / 4;margin:0 auto!important}
body.ccx-enabled.ccx-reader .reader-start-button{
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:15px;
  width:min(100%,430px);
  min-height:68px!important;
  height:auto!important;
  margin:0 auto!important;
  padding:9px 18px!important;
  border:2px solid #fff0b6!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#ffe88a,#ffb735)!important;
  color:#3d1239!important;
  box-shadow:0 5px 0 #ae5b3d,0 11px 22px #12062482!important;
  text-align:left;
}
body.ccx-enabled.ccx-reader .reader-start-button:hover:not(:disabled){filter:brightness(1.06)}
body.ccx-enabled.ccx-reader .reader-start-button .reader-countdown-label{display:block;color:#3d1239!important;font-size:clamp(.84rem,2.2vw,1rem)!important;font-weight:1000!important;line-height:1.1!important;white-space:normal!important}
body.ccx-enabled.ccx-reader .reader-start-button .reader-countdown-label small{font-size:.78em;font-weight:850}
body.ccx-enabled.ccx-reader .reader-start-button .reader-countdown-value{display:inline-flex;align-items:center;justify-content:center;min-width:62px;color:#fff9db!important;font-size:clamp(1.05rem,3.2vw,1.45rem)!important;line-height:1!important;letter-spacing:.02em;background:#3d1239;border:2px solid #fff0b6;border-radius:999px;padding:9px 10px;box-shadow:inset 0 2px 0 #ffffff33}
body.ccx-enabled.ccx-reader .reader-start-button.ended{background:linear-gradient(135deg,#b98d98,#76526e)!important;border-color:#d9bec8!important}
body.ccx-enabled.ccx-reader .reader-actions{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  gap:8px;
  width:100%;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.ccx-enabled.ccx-reader .reader-reading .reader-actions,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-actions{order:4}
body.ccx-enabled.ccx-reader .reader-refuse-button{width:auto!important;min-height:38px!important;padding:8px 20px!important;border-radius:999px!important;font-size:.78rem!important;background:transparent!important;box-shadow:none!important}
body.ccx-enabled.ccx-reader .reader-after-start,
body.ccx-enabled.ccx-reader .reader-observer-note{margin:0;text-align:center;color:#f0dce7;font-size:.78rem;line-height:1.3}

/* V143 — signalement global : le bouton reprend uniquement la place de son texte. */
.constraint-reporter{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  margin:4px auto 8px;
  overflow-x:auto;
  white-space:nowrap;
}
.constraint-report-trigger{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#ffe4a3!important;
  box-shadow:none!important;
  font:inherit;
  font-size:inherit;
  font-weight:750;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
}
.constraint-report-trigger:hover{color:#fff4cf!important;text-decoration:underline}
.constraint-report-trigger:focus-visible{outline:2px solid #ffe88a;outline-offset:3px;border-radius:3px}
.constraint-picker-overlay{
  position:fixed;
  inset:0;
  z-index:1200;
  display:grid;
  place-items:center;
  padding:16px;
  background:#120624d9;
}
.constraint-picker{
  width:min(100%,460px);
  max-height:min(82vh,620px);
  overflow:auto;
  padding:20px;
  border:2px solid #ffe8a8;
  border-radius:20px;
  background:linear-gradient(145deg,#2d174d,#1b1238);
  color:#fff7df;
  box-shadow:0 12px 30px #05020c99,0 4px 0 #ae5b3d;
}
.constraint-picker h2{margin:0 0 7px;color:#ffe8a8;font-size:1.15rem;line-height:1.15}
.constraint-picker p{margin:0 0 14px;color:#f0e4f0;font-size:.86rem;line-height:1.35}
.constraint-picker-list{display:grid;gap:8px}
.constraint-picker-player{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:42px;
  padding:9px 12px;
  border:1px solid #ffe8a8aa;
  border-radius:11px;
  background:#ffffff12;
  color:#fff7df;
  font:inherit;
  font-weight:850;
  text-align:left;
  cursor:pointer;
}
.constraint-picker-player:hover,.constraint-picker-player:focus-visible{background:#ffe8a826;border-color:#ffe8a8;color:#fff}
.constraint-picker-player small{color:#ffe8a8;font-size:.72rem;font-weight:650}
.constraint-picker-cancel{
  display:block;
  width:auto;
  margin:14px auto 0;
  padding:6px 10px;
  border:0;
  background:transparent;
  color:#f0dce7;
  font:inherit;
  font-size:.8rem;
  cursor:pointer;
}
.constraint-picker-cancel:hover,.constraint-picker-cancel:focus-visible{color:#fff;text-decoration:underline}

/* V146 — les couleurs de lecture suivent la carte : le chronomètre actif
   est rouge, tandis que la consigne secrète reprend la couleur de sa famille. */
.reader-secret-panel .secret-stage[data-secret-theme="frigo"]{--secret-theme:#439bfa;--secret-theme-soft:#9bd4ff;--secret-theme-deep:#1d61c4;--secret-theme-ink:#0b1d3c}
.reader-secret-panel .secret-stage[data-secret-theme="animaux"]{--secret-theme:#5de188;--secret-theme-soft:#b8f7c9;--secret-theme-deep:#188a53;--secret-theme-ink:#0d321f}
.reader-secret-panel .secret-stage[data-secret-theme="menage"]{--secret-theme:#f4a05b;--secret-theme-soft:#ffd5a8;--secret-theme-deep:#bd5a1b;--secret-theme-ink:#3b1b07}
.reader-secret-panel .secret-stage[data-secret-theme="salledebain"]{--secret-theme:#79d6f7;--secret-theme-soft:#cdf5ff;--secret-theme-deep:#1c8eae;--secret-theme-ink:#07313d}
.reader-secret-panel .secret-stage[data-secret-theme="argent"]{--secret-theme:#ffd264;--secret-theme-soft:#fff1b2;--secret-theme-deep:#c68c12;--secret-theme-ink:#3b2904}
.reader-secret-panel .secret-stage[data-secret-theme="invites"]{--secret-theme:#c38afa;--secret-theme-soft:#ead7ff;--secret-theme-deep:#7b43ba;--secret-theme-ink:#231036}
.reader-secret-panel .secret-stage[data-secret-theme="ambiance"]{--secret-theme:#cc87ef;--secret-theme-soft:#f0d4ff;--secret-theme-deep:#7c3c9f;--secret-theme-ink:#25102f}
.reader-secret-panel .secret-stage[data-secret-theme="rangement"]{--secret-theme:#7cd4d0;--secret-theme-soft:#d0fffb;--secret-theme-deep:#2c9996;--secret-theme-ink:#083c3b}
.reader-secret-panel .secret-stage[data-secret-theme="solitude"]{--secret-theme:#8d91e4;--secret-theme-soft:#d6d8ff;--secret-theme-deep:#5358b2;--secret-theme-ink:#181c50}
.reader-secret-panel .secret-stage[data-secret-theme="conflits"]{--secret-theme:#ff777c;--secret-theme-soft:#ffc7c9;--secret-theme-deep:#bd2f38;--secret-theme-ink:#4c1015}
.reader-secret-panel .secret-stage[data-secret-theme="sommeil"]{--secret-theme:#9aabf8;--secret-theme-soft:#e0e6ff;--secret-theme-deep:#5869c7;--secret-theme-ink:#1a214b}
.reader-secret-panel .secret-stage[data-secret-theme="secrets"]{--secret-theme:#b585ef;--secret-theme-soft:#e3d0ff;--secret-theme-deep:#6e3db2;--secret-theme-ink:#241038}
.reader-secret-panel .secret-stage[data-secret-theme="portraits"]{--secret-theme:#fcb57d;--secret-theme-soft:#ffe4c9;--secret-theme-deep:#c8732c;--secret-theme-ink:#432308}
.reader-secret-panel .secret-stage[data-secret-theme="amitie"]{--secret-theme:#ffa2c6;--secret-theme-soft:#ffd9e7;--secret-theme-deep:#c44b7b;--secret-theme-ink:#481629}
.reader-secret-panel .secret-stage[data-secret-theme="departs"]{--secret-theme:#88e1d2;--secret-theme-soft:#d8fff7;--secret-theme-deep:#2b9d8f;--secret-theme-ink:#0a3c37}
.reader-secret-panel .secret-stage[data-secret-theme="flirts"],
.reader-secret-panel .secret-stage[data-secret-theme="confessions"]{--secret-theme:#ff63b8;--secret-theme-soft:#ffc5e3;--secret-theme-deep:#c01f77;--secret-theme-ink:#4d0e31}
.reader-secret-panel .secret-stage[data-secret-theme="default"]{--secret-theme:#cc87ef;--secret-theme-soft:#f0d4ff;--secret-theme-deep:#7c3c9f;--secret-theme-ink:#25102f}

.reader-secret-panel .secret-stage[data-secret-theme] .secret-player,
.reader-secret-panel .secret-stage[data-secret-theme] .secret-step{color:var(--secret-theme-soft)!important}
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero:not(.secret-hero-compact){border-color:var(--secret-theme-soft)!important;background:linear-gradient(165deg,var(--secret-theme-deep),var(--secret-theme))!important;box-shadow:0 7px 0 var(--secret-theme-deep),0 18px 29px #11072272!important}
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero:not(.secret-hero-compact) .secret-hero-title{color:#fff!important;text-shadow:0 6px 0 var(--secret-theme-deep),0 10px 20px #2d1039!important}
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero:not(.secret-hero-compact) .secret-hero-detail{color:#fff!important}
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval,
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval{border-color:var(--secret-theme-soft)!important;background:linear-gradient(135deg,var(--secret-theme-soft),var(--secret-theme))!important;color:var(--secret-theme-ink)!important;box-shadow:0 3px 0 var(--secret-theme-deep),0 7px 14px #1206244d!important}
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval-label,
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval-detail,
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval-label,
body.ccx-enabled.ccx-reader .reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval-detail{color:var(--secret-theme-ink)!important}
.reader-secret-panel .secret-stage[data-secret-theme] > .secret-hero.secret-hero-compact .secret-oval-word{background:var(--secret-theme-deep)!important;color:#fff!important}

.reader-countdown.reader-start-button,
body.ccx-enabled.ccx-reader .reader-countdown.reader-start-button{
  border-color:#ffb8b8!important;
  background:linear-gradient(135deg,#8a1f2b,#e64c55)!important;
  color:#fff5f5!important;
  box-shadow:0 5px 0 #63151f,0 11px 22px #21070d99!important;
}
.reader-countdown.reader-start-button .reader-countdown-label,
body.ccx-enabled.ccx-reader .reader-countdown.reader-start-button .reader-countdown-label{color:#fff5f5!important}
.reader-countdown.reader-start-button .reader-countdown-value,
.reader-countdown.reader-start-button>#local-timer,
body.ccx-enabled.ccx-reader .reader-countdown.reader-start-button .reader-countdown-value,
body.ccx-enabled.ccx-reader .reader-countdown.reader-start-button>#local-timer{background:#4a0f19!important;border-color:#ffd0d0!important;color:#fff!important}

/* V151 — les cartes Question normales reprennent une présence plus grande à
   l'écran. Les cartes Gage restent sur leur gabarit V144. */
body.ccx-enabled.ccx-reader .reader-card .cc-v103-face,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-card .cc-v103-face{
  height:clamp(280px,45vh,500px)!important;
}
@media(max-width:520px){
  body.ccx-enabled.ccx-reader .reader-card .cc-v103-face,
  body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-card .cc-v103-face{
    height:clamp(250px,38vh,360px)!important;
  }
}

/* V153 — ordre de lecture demandé : chronomètre, carte, consigne secrète. */
body.ccx-enabled.ccx-reader .reader-reading .reader-countdown,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-countdown{order:1!important}
body.ccx-enabled.ccx-reader .reader-reading .reader-question-panel,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-card{order:2!important}
body.ccx-enabled.ccx-reader .reader-reading .reader-secret-panel,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-secret-panel{order:3!important}
body.ccx-enabled.ccx-reader .reader-reading .reader-actions,
body.ccx-enabled.ccx-reader .online-rules-round:has(> .card-question)> .reader-actions{order:4!important}
body.ccx-enabled.ccx-reader .reader-reading .local-links{order:5!important}

/* V154 — interruption festive au milieu de la partie : l'alerte apéro
   masque la navigation, conserve le bouton d'infraction global et laisse
   l'audio dédié jouer indépendamment des options d'ambiance. */
body.ccx-apero{background:#55000e;color:#fff8ec;overflow-x:hidden}
body.ccx-apero .page-wrap{max-width:none;min-height:100dvh;padding:0;background:linear-gradient(150deg,#b30023 0%,#680012 48%,#32000b 100%)}
body.ccx-apero .topbar,body.ccx-apero .site-footer{display:none!important}
body.ccx-apero #local-app{max-width:none;margin:0;padding:0}
body.ccx-apero .constraint-reporter{position:fixed;z-index:25;left:0;right:0;bottom:max(12px,env(safe-area-inset-bottom));margin:0;color:#fff4dc;text-shadow:0 2px 6px #32000bcc}
body.ccx-apero .constraint-report-trigger{color:#fff4dc!important}
.apero-alert-screen{box-sizing:border-box;display:flex;min-height:100dvh;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,2.2vh,20px);padding:clamp(24px,5vw,64px) clamp(16px,5vw,60px) max(64px,env(safe-area-inset-bottom));text-align:center;background:radial-gradient(circle at 50% 36%,#ff304f66 0%,transparent 39%),linear-gradient(145deg,#d10a2f 0%,#850016 58%,#42000e 100%);isolation:isolate}
.apero-alert-top{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}
.apero-warning-icon{display:grid;place-items:center;width:clamp(48px,10vw,76px);height:clamp(48px,10vw,76px);border-radius:20px;background:#fff3b5;color:#a9001c;border:4px solid #fffbe2;box-shadow:0 7px 0 #5a0011,0 0 25px #ffd35a;transform:rotate(-8deg);font-size:clamp(2rem,7vw,3.6rem);line-height:1;animation:apero-warning-pulse 1.05s ease-in-out infinite}
.apero-alarm-word{margin:0;color:#fff4c9;font-size:clamp(.9rem,2.8vw,1.5rem);font-weight:1000;letter-spacing:.16em;text-transform:uppercase;text-shadow:0 3px 0 #730016;animation:apero-alarm-flash .8s steps(2,end) infinite}
.apero-alert-screen h1{margin:0;color:#fff9d9;font-family:"Trebuchet MS",Inter,sans-serif;font-size:clamp(2.4rem,10vw,6.6rem);font-weight:1000;letter-spacing:-.07em;line-height:.98;text-transform:uppercase;text-shadow:0 8px 0 #710015,0 13px 25px #2b0009b8}
.apero-alert-subtitle{max-width:35ch;margin:0;color:#ffe2da;font-size:clamp(1rem,2.7vw,1.35rem);font-weight:850;line-height:1.35}
.apero-toast-art{width:min(100%,860px);margin:4px 0 0;border:4px solid #ffe9b0;border-radius:28px;overflow:hidden;background:#87142c;box-shadow:0 8px 0 #4b000d,0 18px 36px #1d0007b8}
.apero-toast-art img{display:block;width:100%;height:auto;max-height:min(48vh,520px);object-fit:cover}
.apero-audio-status{margin:0;padding:8px 15px;border:2px solid #ffd67e;border-radius:999px;background:#5c0016cc;color:#fff0bb;font-size:clamp(.78rem,2.3vw,1rem);font-weight:950;letter-spacing:.06em;box-shadow:0 4px 0 #3b000b}
.apero-continue-button{width:min(100%,520px);min-height:58px;padding:13px 20px;border:3px solid #fff2b4;border-radius:999px;background:linear-gradient(180deg,#fff18e,#ffb229);color:#4d0014;font:inherit;font-size:clamp(1.05rem,2.9vw,1.35rem);font-weight:1000;box-shadow:0 7px 0 #640017,0 13px 24px #250008b8;cursor:pointer;touch-action:manipulation;transition:transform .14s ease,filter .14s ease}
.apero-continue-button:hover,.apero-continue-button:focus-visible{filter:brightness(1.08);transform:translateY(-2px)}
.apero-continue-button:active{transform:translateY(3px);box-shadow:0 4px 0 #640017,0 9px 18px #250008b8}
.apero-alert-note{max-width:52ch;margin:0;color:#ffd2cf;font-size:.78rem;line-height:1.4;opacity:.9}
.apero-audio{position:fixed!important;width:1px!important;height:1px!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
@keyframes apero-warning-pulse{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(-8deg) scale(1.1)}}
@keyframes apero-alarm-flash{0%,49%{opacity:1}50%,100%{opacity:.55}}
@media(max-width:540px){.apero-alert-screen{gap:12px;padding-top:30px}.apero-toast-art{border-width:3px;border-radius:19px}.apero-toast-art img{max-height:42vh}.apero-alert-note{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){.apero-warning-icon,.apero-alarm-word{animation:none}.apero-continue-button{transition:none}}
