/* Comptoir : jetons exacts Eliel, adaptateur aux composants de production. */
:root{--flow-red:var(--accent);--flow-ink:var(--encre);--flow-muted:var(--doux);--flow-line:var(--ligne);--flow-wash:var(--surface);--flow-paper:var(--fond);--red:var(--accent);--ink:var(--encre);--muted:var(--doux);--line:var(--ligne)}
html body{font-family:var(--texte);background:var(--fond);color:var(--encre)}
html body :is(h1,h2,h3,h4,.brand,.prism-wordmark){font-family:var(--titre);font-weight:700;letter-spacing:-.01em}
html body :is(button,input,select,textarea,.btn){font-family:var(--texte)}
html body .btn{border-radius:4px;font-weight:600;background:var(--accent);border-color:var(--accent)}
html body .btn.secondary{background:var(--fond);color:var(--encre);border-color:var(--ligne)}
html body .btn:disabled{opacity:.5;cursor:not-allowed}
html body .btn:hover:not(:disabled){filter:brightness(.94)}
html body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--accent-2);outline-offset:3px}
html body :is(.panel,.stat,.portal-auth,.cat-universe,.cat-game-card,.cf-collection-tile,.cf-card-tile,.cat-extension-tile){border-radius:4px;border-color:var(--ligne);box-shadow:none;background:var(--fond)}
html body :is(.cat-info h2,.cf-card-tile h2,.cf-card-tile h3){font-family:var(--titre);font-weight:700}
html body :is(.cat-dialog,.table-wrap){border-radius:6px;border-color:var(--ligne)}
html body :is(.cat-dialog-head,thead,.portal-nav){background:var(--surface)}
html body :is(.cat-art,.cf-card-art,.cf-card-preview,.connected-series-photo){display:flex;justify-content:center;align-items:center;min-width:0}
html body :is(.cat-art,.cf-card-art,.cf-card-preview,.connected-series-photo) img{object-fit:contain;object-position:center;max-width:100%;max-height:100%;margin-inline:auto}
html body :is(.cat-series-logo,.cat-series-symbol){object-fit:contain;object-position:center}
html body :is(td,th,.cat-price,.cf-card-price){font-variant-numeric:tabular-nums}
html body .portal-nav button.active{background:#FBEEF0;color:var(--accent);border:1px solid var(--ligne)}
html body .portal-nav button{font-family:var(--texte)}
html body .portal-nav button span{background:transparent;box-shadow:none}
@media(max-width:700px){html body :is(.btn,input,select){min-height:44px}html body :is(.cat-dialog,.portal-main,.section,.cf-card-tile,.cat-extension-tile){min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Composition Comptoir, en-tête et accueil. Les règles sont cloisonnées. */
.comptoir-container{max-width:1320px;margin-inline:auto;padding-inline:24px}.comptoir-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body header.comptoir-header{display:block;padding:0;position:relative;height:auto;background:var(--fond);border-bottom:1px solid var(--ligne);z-index:20}
.comptoir-top{background:var(--encre);color:var(--fond);font-size:11px}.comptoir-top>div{display:flex;gap:24px;align-items:center;min-height:30px}.comptoir-top span{margin-right:auto}.comptoir-top a{text-decoration:none}
.comptoir-mainbar{display:flex;align-items:center;gap:24px;min-height:84px}.comptoir-mainbar .brand{flex:none}.comptoir-search{display:flex;flex:1;min-width:0;border:1px solid var(--encre);height:44px;border-radius:3px;overflow:hidden;margin:0}.comptoir-search select{max-width:150px;width:150px;border:0;border-right:1px solid var(--ligne);border-radius:0;background:var(--surface);font-size:12px;padding:8px}.comptoir-search input{border:0;border-radius:0;flex:1;width:0;padding:10px 14px;min-width:0;font-size:14px}.comptoir-search button{border:0;border-radius:0;background:var(--accent);color:var(--fond);width:48px;font-size:28px;cursor:pointer}.comptoir-identify,.comptoir-account{white-space:nowrap;text-decoration:none;color:var(--encre);font-size:13px;font-weight:600}.comptoir-account{border:1px solid var(--ligne);padding:10px 14px;border-radius:4px}
html body .comptoir-header nav.comptoir-nav{display:flex;align-items:center;gap:24px;border-top:1px solid var(--ligne);min-height:44px;overflow-x:auto;white-space:nowrap;font-size:13px}.comptoir-nav a{text-decoration:none;color:var(--encre);font-weight:600;padding-block:10px}.comptoir-nav>span{flex:1}.comptoir-nav .comptoir-deposit{background:var(--accent);color:var(--fond);padding:8px 14px;border-radius:4px}.comptoir-assurance{background:var(--surface);border-top:1px solid var(--ligne);font-size:11px;color:var(--doux)}.comptoir-assurance>div{display:flex;justify-content:space-between;gap:16px;min-height:36px;align-items:center}
.comptoir-home{background:var(--fond)}.comptoir-hero{padding:44px 0;border-bottom:1px solid var(--ligne)}.comptoir-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center}.comptoir-kicker{font-size:11px;font-weight:600;letter-spacing:.1em;color:var(--doux);margin:0 0 16px}.comptoir-home h1{font-size:50px;line-height:1.04;font-weight:800;margin:0;letter-spacing:-.025em}.comptoir-home h1 span{display:block;color:var(--accent)}.comptoir-intro{font-size:17px;line-height:1.6;color:var(--doux);max-width:580px;margin:20px 0 24px}.comptoir-cta{display:flex;gap:12px;flex-wrap:wrap}.comptoir-before{margin-top:24px;padding:16px;background:var(--surface);border:1px solid var(--ligne);border-radius:6px}.comptoir-before strong{font-size:13px}.comptoir-before ol{list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;gap:12px;margin:14px 0 0}.comptoir-before li{counter-increment:step;font-size:12px;color:var(--doux)}.comptoir-before li:before{content:counter(step);display:grid;place-items:center;border:1px solid var(--encre);border-radius:50%;width:23px;height:23px;margin-bottom:8px;color:var(--encre);font-weight:700}
.comptoir-showcase{padding:40px 20px 18px;border:1px solid var(--ligne);border-radius:6px;background:var(--surface)}.comptoir-display{display:flex;gap:14px;align-items:flex-end;justify-content:center;padding:20px 0}.comptoir-display figure{margin:0;flex:1;max-width:160px;min-width:0;padding:10px;background:var(--fond);border:1px solid var(--ligne);border-radius:6px;box-shadow:0 4px 14px rgba(20,24,33,.06)}.comptoir-display figure:nth-child(2){transform:translateY(-16px)}.comptoir-display img{display:block;width:100%;height:auto;aspect-ratio:63/88;object-fit:contain;object-position:center}.comptoir-display figcaption{font-size:11px;font-weight:600;margin-top:10px}.comptoir-showcase-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--ligne);padding-top:16px;font-size:12px;color:var(--doux)}.comptoir-home a:not(.btn){color:var(--accent-2)}
.comptoir-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:28px}.comptoir-tools article{border:1px solid var(--ligne);border-radius:6px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.comptoir-tools h2{font-size:17px;margin:0}.comptoir-tools p{font-size:13px;color:var(--doux);margin:0}.comptoir-tools a{margin-top:auto;font-size:13px;font-weight:600}.comptoir-section{padding-top:44px;padding-bottom:44px}.comptoir-section-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.comptoir-section-head h2{font-size:26px;margin:0}.comptoir-section-head p{color:var(--doux);font-size:14px;margin:8px 0 0}.comptoir-section-head>a{font-size:13px;flex-shrink:0}.comptoir-games{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.comptoir-games a{border:1px solid var(--ligne);border-radius:4px;text-decoration:none;padding:20px 14px;display:grid;gap:12px;min-height:100px}.comptoir-games strong{color:var(--encre);font-family:var(--titre);font-size:18px}.comptoir-games span{font-size:11px;color:var(--doux)}.comptoir-process{padding:40px 0;background:var(--surface);border-block:1px solid var(--ligne)}.comptoir-process ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:0;gap:28px;list-style:none}.comptoir-process li>span{display:grid;place-items:center;width:34px;height:34px;background:var(--encre);color:var(--fond);font-weight:700;border-radius:50%;margin-bottom:16px}.comptoir-process small{font-size:11px;color:var(--doux)}.comptoir-process h3{font-size:18px;margin:8px 0}.comptoir-process p{font-size:13px;color:var(--doux);margin:0}.comptoir-network{padding-block:44px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.comptoir-network>div{padding:28px;border:1px solid var(--ligne);border-radius:6px}.comptoir-network>div+div{background:var(--surface)}.comptoir-network h2{font-size:28px;margin:0}.comptoir-network p:not(.comptoir-kicker){font-size:14px;color:var(--doux);margin:18px 0 24px}
@media(max-width:1050px){.comptoir-mainbar{gap:14px}.comptoir-identify span{display:none}.comptoir-hero-grid{gap:24px}.comptoir-home h1{font-size:40px}.comptoir-games{grid-template-columns:repeat(3,minmax(0,1fr))}.comptoir-nav{gap:18px!important}}
@media(max-width:700px){.comptoir-container{padding-inline:18px}.comptoir-top>div{min-height:27px}.comptoir-top>div a{display:none}.comptoir-mainbar{flex-wrap:wrap;padding-block:14px;gap:12px}.comptoir-mainbar .brand{margin-right:auto}.comptoir-account{padding:9px}.comptoir-search{order:3;flex-basis:100%}.comptoir-search select{max-width:105px;font-size:11px}.comptoir-search input{font-size:13px}.comptoir-header nav.comptoir-nav{padding-block:0;gap:20px}.comptoir-nav>span{display:none}.comptoir-assurance>div{overflow:auto;white-space:nowrap;justify-content:flex-start;gap:22px}.comptoir-hero{padding-block:28px}.comptoir-hero-grid{grid-template-columns:1fr;gap:26px}.comptoir-home h1{font-size:37px}.comptoir-intro{font-size:15px}.comptoir-before ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.comptoir-showcase{padding:26px 14px 16px}.comptoir-tools{grid-template-columns:1fr;gap:12px}.comptoir-tools article{padding:18px}.comptoir-section-head{align-items:flex-start;flex-direction:column;gap:12px}.comptoir-section-head h2{font-size:24px}.comptoir-games{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.comptoir-games a{padding:16px 12px}.comptoir-process ol{grid-template-columns:1fr 1fr;gap:26px 18px}.comptoir-network{grid-template-columns:1fr}.comptoir-network h2{font-size:25px}.comptoir-section,.comptoir-network{padding-block:30px}}
@media(max-width:760px){html body.cf-has-mobile-dock #app>header.comptoir-header{display:block!important;padding:0!important;min-height:0;flex-wrap:wrap!important}html body.cf-has-mobile-dock #app>header.comptoir-header nav.comptoir-nav{display:flex!important;flex-wrap:nowrap!important;width:auto!important}.comptoir-header .prism-wordmark{font-size:22px}.comptoir-header .comptoir-account{min-height:44px;display:inline-flex;align-items:center}}
/* Neutraliser les seules décorations héritées, sans affecter les autres pages. */
html body:has(.comptoir-header)::before{display:none;content:none}
html body #app>header.comptoir-header{margin-bottom:0}
html body #app>header.comptoir-header::after{display:none;content:none}
html body .comptoir-header .comptoir-search{overflow:visible;align-items:stretch}
html body .comptoir-header .comptoir-search>select{display:block;position:static;opacity:1;clip:auto;clip-path:none;flex:0 0 150px;width:150px;min-width:150px;max-width:150px;height:42px;min-height:42px;margin:0;padding:8px 28px 8px 10px;background:var(--surface);color:var(--encre);border:0;border-right:1px solid var(--ligne);border-radius:2px 0 0 2px;font-size:12px;font-weight:500;line-height:1.3;appearance:auto}
html body .comptoir-header .comptoir-search>input{background:var(--fond);color:var(--encre);height:42px;min-height:42px;margin:0}
html body .comptoir-header .comptoir-search>button[type=submit]{flex:0 0 48px;width:48px;height:42px;min-height:42px;margin:0;padding:0;background:var(--accent);color:var(--fond);border-radius:0 2px 2px 0}
html body .comptoir-home :is(.comptoir-before,.comptoir-process) ol{list-style:none}
html body .comptoir-home :is(.comptoir-before,.comptoir-process) li{list-style:none;display:block}
html body .comptoir-home :is(.comptoir-before,.comptoir-process) li::marker{content:''}
@media(max-width:700px){html body .comptoir-header .comptoir-search>select{flex-basis:112px;width:112px;min-width:112px;max-width:112px;font-size:11px;padding-right:20px}}
/* Connexion réelle, mêmes formulaires/API et mêmes rôles, composition Comptoir. */
html body.comptoir-portal{background:var(--fond);color:var(--encre)}
html body.comptoir-portal::before{display:none;content:none}
html body.comptoir-portal>header.comptoir-portal-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px;height:auto;max-width:none;margin:0;padding:18px max(24px,calc((100vw - 1272px)/2));background:var(--fond);border-bottom:1px solid var(--ligne);box-shadow:0 -5px 0 0 var(--encre) inset}
html body.comptoir-portal>header.comptoir-portal-header::after{display:none;content:none}
html body.comptoir-portal>header.comptoir-portal-header .brand{font-family:var(--titre);font-weight:800}
html body.comptoir-portal>header.comptoir-portal-header nav{display:flex;align-items:center;gap:24px;font-size:13px;color:var(--doux)}
html body.comptoir-portal>header.comptoir-portal-header nav a:hover{color:var(--accent-2)}
.comptoir-access-layout{width:100%;min-width:0}.comptoir-access-context{display:none}
.comptoir-access-layout:has(.portal-auth){display:grid;grid-template-columns:minmax(0,640px) minmax(0,1fr);max-width:1200px;gap:56px;margin:48px auto;padding:0 24px;align-items:start}
html body.comptoir-portal .portal-auth{width:100%;max-width:none;margin:0;padding:30px;border:1px solid var(--ligne);border-top:4px solid var(--encre);border-radius:4px;background:var(--fond);box-shadow:none}
html body.comptoir-portal .portal-auth .eyebrow{font-family:var(--texte);font-size:11px;font-weight:600;letter-spacing:.07em;color:var(--accent);margin-bottom:16px}
html body.comptoir-portal .portal-auth h1{font-family:var(--titre);font-size:30px;line-height:1.15;letter-spacing:-.02em;font-weight:800;margin:0 0 12px}
html body.comptoir-portal .portal-auth>p{font-size:14px;color:var(--doux);line-height:1.6;margin-bottom:22px}
html body.comptoir-portal .portal-auth form{margin-top:24px;display:grid;gap:18px}
html body.comptoir-portal .portal-auth label{font-size:13px;font-weight:600;color:var(--encre);display:grid;gap:7px}
html body.comptoir-portal .portal-auth :is(input:not([type=checkbox]),select){min-height:44px;background:var(--fond);border:1px solid var(--ligne);border-radius:4px;font-size:15px;padding:10px 12px;width:100%;margin:0;box-sizing:border-box}
html body.comptoir-portal .portal-auth :is(input,select):focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}
html body.comptoir-portal .portal-auth .btn{min-height:44px;border-radius:4px;font-size:14px;justify-content:center;width:100%}
html body.comptoir-portal .portal-auth .btn.secondary{background:var(--fond);border:1px solid var(--ligne);color:var(--encre)}
html body.comptoir-portal .portal-auth .portal-alert:empty{display:none}
html body.comptoir-portal .portal-auth .portal-alert:not(:empty){border:1px solid #E9BFBC;background:#FDF1E9;color:#8C2C0E;padding:12px;font-size:13px;border-radius:4px}
html body.comptoir-portal .portal-auth>p.portal-muted{font-size:12px;border-top:1px solid var(--ligne);padding-top:16px;line-height:1.6;margin-top:24px;margin-bottom:0}
.comptoir-access-layout:has(.portal-auth)>.comptoir-access-context{display:block;border:0;border-radius:0;padding:26px 0;background:transparent;box-shadow:none;color:var(--encre)}
.comptoir-access-context h2{font-family:var(--titre);font-size:32px;line-height:1.12;font-weight:800;margin:0 0 18px}
.comptoir-access-context>p:not(.comptoir-kicker){font-size:15px;line-height:1.6;color:var(--doux)}
.comptoir-access-context ul{list-style:none;padding:0;margin:28px 0;display:grid;gap:0}
.comptoir-access-context li{padding:17px 0;border-top:1px solid var(--ligne);display:grid;gap:7px}
.comptoir-access-context li strong{font-size:14px;font-weight:700;font-family:var(--titre)}
.comptoir-access-context li span{font-size:13px;color:var(--doux);line-height:1.6}
.comptoir-access-context>a{font-size:13px;color:var(--accent-2);font-weight:600}
@media(max-width:980px){.comptoir-access-layout:has(.portal-auth){grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:30px;margin-top:32px}.comptoir-access-context h2{font-size:28px}}
@media(max-width:760px){html body.cf-has-mobile-dock.comptoir-portal>header.comptoir-portal-header{display:flex!important;padding:16px 18px!important;flex-wrap:wrap!important;gap:14px!important;min-height:70px}html body.cf-has-mobile-dock.comptoir-portal>header.comptoir-portal-header nav{display:flex!important;flex-wrap:wrap;gap:14px;font-size:12px}.comptoir-access-layout:has(.portal-auth){display:block;padding:0 18px;margin:28px auto;max-width:640px}html body.comptoir-portal .portal-auth{padding:23px 20px}html body.comptoir-portal .portal-auth h1{font-size:26px}.comptoir-access-layout:has(.portal-auth)>.comptoir-access-context{padding:32px 0 0}.comptoir-access-context h2{font-size:26px}.comptoir-access-context ul{margin-block:20px}}
