/* =====================================================================
   Yayroom — design system
   Échelle d'espacement : 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96
   ===================================================================== */
:root {
  --bg: #07070b; --bg2: #0c0c12; --surface: #121219; --surface2: #191922; --line: rgba(255,255,255,.07); --line2: rgba(255,255,255,.13);
  --txt: #f5f5f7; --txt2: #c7c7d1; --muted: #8b8b99;
  --coral: #ff5470; --violet: #8b5cf6; --blue: #38bdf8; --gold: #fbbf24; --green: #34d399;
  --grad: linear-gradient(100deg, #ff5470 0%, #c04bf2 50%, #6d6bff 100%); --accent: #ff4f5e; --accent-hi: #ff6b77;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
  --r-s: 10px; --r: 16px; --r-l: 24px;
  --shadow: 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--txt); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.022em; word-spacing: .04em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 52px); font-weight: 800; }
h3 { font-size: 22px; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }
.grad-txt { color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--txt2); line-height: 1.6; }
.muted { color: var(--muted); } .small { font-size: 14px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1; height: 44px; padding: 0 20px; border-radius: 10px; color: #fff; background: var(--accent);
  box-shadow: none; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn.light { background: #fff; color: #0b0b10; box-shadow: none; }
.btn.ghost { background: rgba(255,255,255,.06); color: var(--txt); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: default; transform: none; }
.btn .arr { transition: transform .15s; } .btn:hover .arr { transform: translateX(3px); }
@media (max-width: 420px) { .btn.lg { height: 50px; padding: 0 20px; font-size: 15px; } }

/* ---------- en-tête ---------- */
header.top { position: sticky; top: 0; z-index: 50; background: rgba(7,7,11,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 32px; height: 32px; }
nav.main { display: flex; gap: 2px; white-space: nowrap; } nav.main a { text-decoration: none; color: var(--txt2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; } nav.main a:hover { color: var(--txt); background: rgba(255,255,255,.05); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top .right a.link, .top .right button.link { color: var(--txt2); text-decoration: none; font: 500 15px var(--body); background: none; border: 0; cursor: pointer; padding: 8px 10px; border-radius: 8px; }
.top .right a.link:hover, .top .right button.link:hover { color: var(--txt); }
.premium-chip { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(251,191,36,.12); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(251,191,36,.3); }
/* menus déroulants de l'en-tête (compte, menu) : <details>, sans script obligatoire */
.drop { position: relative; flex: none; display: inline-block; } .drop:not([open]) > .menu { display: none; } .drop > summary { list-style: none; cursor: pointer; } .drop > summary::-webkit-details-marker { display: none; }
.drop > summary:focus-visible { outline: 2px solid #c4b5fd; outline-offset: 2px; }
.drop .menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px; max-width: calc(100vw - 32px); padding: 8px; border-radius: 14px; background: var(--surface2); box-shadow: 0 24px 60px -12px rgba(0,0,0,.8), 0 0 0 1px var(--line2); display: grid; z-index: 60; }
.drop .menu a, .drop .menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--txt2); text-decoration: none; font: 500 15px var(--body); background: none; border: 0; cursor: pointer; }
.drop .menu a:hover, .drop .menu button:hover { background: rgba(255,255,255,.06); color: var(--txt); }
.drop .menu a.hi { color: var(--accent-hi); font-weight: 600; }
.drop .menu form, .drop .menu .sep { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; } .drop .menu a.sep { padding-top: 10px; }
.me > summary { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; color: var(--txt2); box-shadow: inset 0 0 0 1px var(--line2); }
.me > summary:hover, .me[open] > summary { color: var(--txt); background: rgba(255,255,255,.05); }
.me .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--display); color: #fff; background: #3a3a48; flex: none; }
.me .av.prem { background: var(--gold); color: #1a1408; }
.me .nm { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 15px var(--body); }
.me .chev { flex: none; } .me[open] .chev { transform: rotate(180deg); }
.me .who { display: grid; gap: 4px; justify-items: start; padding: 8px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); } .me .who b { overflow-wrap: anywhere; }
.burger { display: none; } .burger > summary { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--txt); box-shadow: inset 0 0 0 1px var(--line2); }
.burger[open] > summary { background: rgba(255,255,255,.06); }
@media (max-width: 1180px) { nav.main { display: none; } .burger { display: block; } header.top .wrap { gap: 12px; } }
@media (max-width: 600px) { .top .right .hide-s { display: none; } .me .nm { display: none; } .me > summary { padding-right: 8px; } }
@media (max-width: 440px) { .top .right .hide-xs { display: none; } }

/* ---------- héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(600px 400px at 75% 35%, rgba(139,92,246,.28), transparent 70%), radial-gradient(500px 360px at 55% 70%, rgba(255,84,112,.18), transparent 70%), radial-gradient(800px 500px at 10% 0%, rgba(56,189,248,.08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-grid > *, .ghero-grid > *, .feature > *, .gdetail > * { min-width: 0; }
.hero h1 { margin: 20px 0 24px; font-size: clamp(34px, 5vw, 68px); }
.hero .lead { max-width: 520px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero .note { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 24px; font-size: 14px; color: var(--muted); }
.hero .note span::before { content: '✓'; color: var(--green); margin-right: 6px; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); font-size: 14px; color: var(--txt2); text-decoration: none; }
.pill b { flex: none; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); padding: 3px 9px; border-radius: 999px; }
.pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill:hover { color: var(--txt); }
@media (max-width: 960px) { .hero { padding: 48px 0 72px; } .hero-grid { grid-template-columns: 1fr; gap: 56px; } .hero .lead { max-width: none; } }

/* ---------- maquettes : télé + téléphones, avec de vraies captures des jeux ---------- */
.stage { position: relative; padding-bottom: 24px; }
.tv { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(160deg, #26262f, #0f0f14); box-shadow: var(--shadow); }
.tv img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.tv::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 26%; height: 14px; transform: translateX(-50%); background: linear-gradient(#1c1c24, #0d0d12); border-radius: 0 0 8px 8px; }
.phone { position: absolute; width: 23%; aspect-ratio: 390/800; border-radius: 22px; padding: 6px; background: #0d0d12; box-shadow: 0 24px 60px -10px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.12); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.stage .phone.p1 { right: -3%; bottom: -6%; transform: rotate(4deg); }
.stage .phone.p2 { left: -3%; bottom: -12%; transform: rotate(-5deg); width: 20%; }
@media (max-width: 960px) { .stage { margin: 0 6%; } .phone { border-radius: 16px; padding: 4px; } .phone img { border-radius: 12px; } }

/* ---------- bandeau de chiffres ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .s { padding: 28px 24px; border-left: 1px solid var(--line); } .stats .s:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; } .stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats .wrap { grid-template-columns: 1fr 1fr; } .stats .s { padding: 20px 16px 20px 0; border-left: 0; } .stats .s:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .stats b { font-size: 24px; } }

/* ---------- sections ---------- */
.section { padding: 112px 0 0; }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--coral); }
@media (max-width: 640px) { .section { padding-top: 80px; } .section-head { margin-bottom: 32px; } }

/* comment ça marche */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.how .card { background: var(--surface); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; display: grid; gap: 12px; align-content: start; }
.how .vis { height: 180px; border-radius: var(--r); background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 8px; }
.how .vis img.tvs { width: 84%; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.6), 0 0 0 4px #1a1a22; }
.how .vis .qr { width: 112px; height: 112px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.how .vis { align-items: start; } .how .vis img.tvs, .how .vis .qr { align-self: center; }
.how .vis img.ph { width: 168px; border-radius: 18px; box-shadow: 0 0 0 5px #0d0d12, 0 16px 40px rgba(0,0,0,.7); margin-top: 22px; }
.how .num { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--muted); }
.how p { color: var(--txt2); }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }

/* jeux à la une */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.rev .media { order: 2; }
.feature .txt { display: grid; gap: 18px; align-content: start; }
.checks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--txt2); }
.checks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta span { font-size: 13px; font-weight: 500; color: var(--txt2); padding: 5px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); white-space: nowrap; }
.meta span.free { color: var(--green); box-shadow: inset 0 0 0 1px rgba(52,211,153,.35); } .meta span.prem { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(251,191,36,.35); } .meta span.x18 { color: #ff8aa0; box-shadow: inset 0 0 0 1px rgba(255,84,112,.4); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 48px; padding: 40px 0 48px; } .feature.rev .media { order: 0; } }

/* catalogue */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button { font: 500 14px var(--body); color: var(--txt2); background: rgba(255,255,255,.04); border: 0; box-shadow: inset 0 0 0 1px var(--line2); border-radius: 999px; height: 36px; padding: 0 16px; cursor: pointer; }
.filters button.on { background: #fff; color: #0b0b10; box-shadow: none; }
.games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .games { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .games { grid-template-columns: 1fr; } }
.gcard { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.gcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line2), 0 24px 50px -20px rgba(0,0,0,.8); }
.gcard .img { aspect-ratio: 16/9; overflow: hidden; background: #000; }
.gcard .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gcard:hover .img img { transform: scale(1.04); }
.gcard .in { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.gcard .kind { font-size: 13px; color: var(--muted); font-weight: 500; }
.gcard h3 { font-size: 21px; }
.gcard .tl { color: var(--txt2); font-size: 15px; }
.gcard .meta { margin-top: 8px; }
.gcard[hidden] { display: none; }

/* atouts */
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.perk { background: var(--bg); padding: 32px; display: grid; gap: 10px; align-content: start; }
.perk .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,84,112,.16), rgba(109,107,255,.16)); color: #e9d5ff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.perk h3 { font-size: 18px; } .perk p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } } @media (max-width: 600px) { .perks { grid-template-columns: 1fr; } .perk { padding: 24px; } }

/* offres */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--surface); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 36px; display: grid; gap: 20px; align-content: start; }
.plan.best { box-shadow: inset 0 0 0 2px var(--accent), 0 30px 80px -30px rgba(255,79,94,.35); }
.plan .badge { position: absolute; top: -12px; left: 36px; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; } .plan .price { font-family: var(--display); font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1; } .plan .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .checks { gap: 12px; margin: 0; }
.plan form { display: grid; gap: 10px; }
.seats { max-width: 920px; margin: 32px auto 0; background: var(--surface); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 32px 36px; display: grid; gap: 20px; }
.seats h3 { font-size: 20px; } .seats > p { color: var(--txt2); }
.seat-row { display: grid; grid-template-columns: 110px 1fr 90px; gap: 16px; align-items: center; }
.seat-row b { font-size: 15px; } .seat-row .dots { display: flex; gap: 6px; flex-wrap: wrap; } .seat-row .dots i { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.12); display: block; }
.seat-row .dots i.sub { background: var(--accent); } .seat-row span { color: var(--muted); font-size: 14px; text-align: right; }
@media (max-width: 600px) { .seat-row { grid-template-columns: 1fr auto; } .seat-row .dots { grid-column: 1 / -1; grid-row: 2; } .seats, .plan { padding: 28px 22px; } .plan .badge { left: 22px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: '+'; flex: none; font-size: 24px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .2s; } .faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--txt2); padding: 0 0 22px; }

/* appel final */
.final { margin-top: 112px; position: relative; overflow: hidden; border-radius: 32px; padding: 72px 48px; text-align: center; display: grid; gap: 20px; justify-items: center;
  background: radial-gradient(600px 300px at 20% 0%, rgba(255,84,112,.35), transparent 70%), radial-gradient(600px 300px at 80% 100%, rgba(109,107,255,.4), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--line2); }
.final p { color: var(--txt2); max-width: 520px; }
@media (max-width: 640px) { .final { padding: 48px 24px; border-radius: 24px; margin-top: 80px; } }

/* ---------- page d'un jeu ---------- */
.ghero { position: relative; overflow: hidden; padding: 48px 0 80px; isolation: isolate; }
.ghero .bg { position: absolute; inset: 0; z-index: -2; background: center/cover; filter: blur(48px) saturate(1.3); opacity: .38; transform: scale(1.25); }
.ghero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,7,11,.25), var(--bg) 96%); }
.ghero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ghero .txt { display: grid; gap: 20px; align-content: start; }
.crumb { font-size: 14px; color: var(--muted); text-decoration: none; justify-self: start; } .crumb:hover { color: var(--txt); }
.ghero h1 { font-size: clamp(38px, 5vw, 64px); }
.ghero .tagline { font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--txt); letter-spacing: -.01em; line-height: 1.35; }
.ghero .actions { display: grid; gap: 12px; justify-items: start; }
.ghero .actions form { display: contents; }
@media (max-width: 960px) { .ghero-grid { grid-template-columns: 1fr; gap: 48px; } .ghero { padding: 28px 0 56px; } }
@media (max-width: 480px) { .ghero .actions .btn { width: 100%; } .ghero .actions { justify-items: stretch; } }
.gdetail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: center; }
.phone-solo { width: 100%; max-width: 280px; aspect-ratio: 390/800; border-radius: 30px; padding: 8px; background: #0d0d12; box-shadow: var(--shadow); justify-self: center; }
.phone-solo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.gdetail .list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.gdetail .list li { position: relative; padding: 18px 20px 18px 54px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--txt2); }
.gdetail .list li::before { content: ''; position: absolute; left: 22px; top: 25px; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 860px) { .gdetail { grid-template-columns: 1fr; gap: 48px; } .phone-solo { max-width: 240px; } }

/* ---------- formulaires et pages simples ---------- */
.auth { display: grid; place-items: center; padding: 72px 20px 0; }
.auth .box { width: 100%; max-width: 420px; display: grid; gap: 24px; }
.auth .box > img { width: 48px; height: 48px; }
.auth h1 { font-size: 34px; }
form.f { display: grid; gap: 16px; }
form.f label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--txt2); }
form.f input[type=email], form.f input[type=password], form.f input[type=text], form.f input[type=date] { font: inherit; font-size: 16px; height: 48px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); color: var(--txt); width: 100%; color-scheme: dark; }
form.f input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }
form.f .check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-weight: 400; color: var(--txt2); }
form.f .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--violet); }
form.f a, .auth a, .box2 a:not(.btn) { color: #c4b5fd; }
.alt { font-size: 14px; color: var(--muted); text-align: center; }
.err { background: rgba(255,84,112,.08); box-shadow: inset 0 0 0 1px rgba(255,84,112,.35); padding: 12px 16px; border-radius: 12px; color: #ffc2cc; }
.ok { background: rgba(52,211,153,.07); box-shadow: inset 0 0 0 1px rgba(52,211,153,.3); padding: 12px 16px; border-radius: 12px; color: #b7f3d9; }
.page { padding: 56px 0 0; }
.page-head { display: grid; gap: 12px; margin-bottom: 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }
.acct { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.box2 { background: var(--surface); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 28px; display: grid; gap: 14px; align-content: start; }
.box2.wide { grid-column: 1 / -1; }
.box2 h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 700; }
.box2 p { color: var(--txt2); }
.box2 .btn { justify-self: start; }
.box2 form { display: grid; gap: 12px; }
details.danger summary { cursor: pointer; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .acct { grid-template-columns: 1fr; } }
.badge18 { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,84,112,.5); color: #ff8aa0; font-weight: 700; font-size: 13px; letter-spacing: 0; vertical-align: middle; font-family: var(--body); }
.join { max-width: 460px; margin: 0 auto; padding: 32px 20px 0; display: grid; gap: 20px; text-align: center; }
.join .cover { aspect-ratio: 16/9; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); } .join .cover img { width: 100%; height: 100%; object-fit: cover; }
.join h1 { font-size: 34px; }
.joinacct { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line2); border-radius: var(--r-l); background: var(--surface); text-align: left; } .joinacct p { margin: 0; } .join { grid-template-columns: minmax(0, 1fr); } .joinacct .btn { white-space: normal; text-align: center; line-height: 1.3; }
.legal { max-width: 760px; } .legal h2 { font-size: 22px; margin: 32px 0 10px; } .legal p { color: var(--txt2); }

/* ---------- pied de page ---------- */
footer { margin-top: 112px; border-top: 1px solid var(--line); background: var(--bg2); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
footer h4 { font-size: 13px; font-weight: 600; color: var(--txt); letter-spacing: 0; margin-bottom: 14px; font-family: var(--body); }
footer .cols a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 4px 0; } footer .cols a:hover { color: var(--txt); }
footer .cols a.brand { display: inline-flex; color: var(--txt); font-size: 18px; padding: 0; }
footer .cols p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 260px; }
footer .bottom { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { footer { margin-top: 80px; } footer .cols { grid-template-columns: 1fr 1fr; padding-top: 40px; padding-bottom: 28px; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* ---------- starter kit ---------- */
.kit-hero .section-head { max-width: 800px; margin-bottom: 40px; }
.kit-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kit-tiles a { display: grid; gap: 4px; align-content: start; padding: 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.kit-tiles a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line2); }
.kit-tiles .ic, .kg .btn svg { color: var(--coral); }
.kit-tiles .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,84,112,.1); margin-bottom: 8px; }
.kit-tiles b { font-family: var(--display); font-size: 16px; line-height: 1.25; } .kit-tiles span:last-child { font-size: 13px; color: var(--muted); }
.kit-disclose { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 820px; } .kit-disclose b { color: var(--txt2); }
.kit-games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kg { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.kg .img { aspect-ratio: 16/8; overflow: hidden; background: #000; position: relative; } .kg .img img { width: 100%; height: 100%; object-fit: cover; }
.kg .img::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--acc); }
.kg .in { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.kg .kind { font-size: 13px; color: var(--muted); font-weight: 500; } .kg h3 { font-size: 21px; }
.kg ul { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.kg li { position: relative; padding-left: 18px; } .kg li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
.kg li a { color: var(--txt2); text-decoration: none; } .kg li a:hover { color: var(--txt); text-decoration: underline; }
.kg .btn { justify-self: start; }
.kit-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ki { display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 24px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.ki h3 { font-size: 18px; } .ki p { color: var(--txt2); font-size: 15px; }
.ki .foot { display: grid; gap: 14px; margin-top: 8px; }
.ki .tags { display: flex; flex-wrap: wrap; gap: 6px; } .ki .tags span { font-size: 12px; font-weight: 500; color: var(--muted); padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); }
.ki .tags span.any { color: var(--violet); box-shadow: inset 0 0 0 1px rgba(139,92,246,.35); }
.ki .go { justify-self: start; font-size: 14px; font-weight: 600; color: var(--txt); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line2); }
.ki .go:hover { background: rgba(255,255,255,.12); }
.kit-note { margin-top: 20px; font-size: 15px; color: var(--txt2); padding: 16px 20px; border-radius: var(--r); background: rgba(251,191,36,.07); box-shadow: inset 0 0 0 1px rgba(251,191,36,.25); }
.kit-note b { color: var(--gold); } .kit-note a { color: var(--txt); font-weight: 600; text-decoration: none; }
.recipes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rc { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.rc .hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rc .n { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--accent); }
.rc h3 { font-size: 20px; } .rc .need { font-size: 14px; color: var(--muted); } .rc .need b { color: var(--txt2); }
.rc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--txt2); font-size: 15px; }
.rc .why { font-size: 14px; color: var(--txt2); padding-top: 12px; border-top: 1px solid var(--line); } .rc .why b { color: var(--txt); }
.rc.safety { background: linear-gradient(160deg, rgba(251,191,36,.1), rgba(255,84,112,.06)); box-shadow: inset 0 0 0 1px rgba(251,191,36,.3); }
.rc.safety .checks li { font-size: 15px; }
@media (max-width: 1000px) { .kit-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kit-games, .kit-items, .recipes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kit-games, .kit-items, .recipes { grid-template-columns: 1fr; } .kit-tiles a { padding: 16px; } .rc { padding: 22px; } }
.kg .in { grid-template-rows: auto auto 1fr auto; } .kg .btn { align-self: end; }
.kg li.more { color: var(--muted); font-size: 14px; } .kg li.more::before { background: var(--line2); }
.kg ul { align-content: start; }
.kit-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 48px; border-radius: 32px; text-decoration: none;
  background: radial-gradient(600px 300px at 0% 0%, rgba(251,191,36,.12), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(139,92,246,.16), transparent 70%), var(--surface); box-shadow: inset 0 0 0 1px var(--line2); }
.kit-promo > div { display: grid; gap: 14px; } .kit-promo h2 { font-size: clamp(28px, 3.4vw, 42px); } .kit-promo .kicker { color: var(--gold); }
@media (max-width: 760px) { .kit-promo { grid-template-columns: 1fr; padding: 32px 24px; } .kit-promo .btn { justify-self: start; } }

/* ---------- titres « affiche » et cartes de jeux (inspirés des sites d'escape game) ---------- */
.ptitle { font-family: 'Anton', var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; word-spacing: .06em; line-height: 1.02; }
.gcard .img { position: relative; aspect-ratio: 16/10; }
.gcard .img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(7,7,11,.55) 55%, rgba(7,7,11,.96) 100%); pointer-events: none; }
.gcard .poster { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: grid; gap: 4px; }
.gcard .poster .kind { color: rgba(255,255,255,.85); text-shadow: 0 1px 8px rgba(0,0,0,.8); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.gcard .poster .ptitle { font-size: 30px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.gcard .flag, .gcard .new { position: absolute; top: 14px; z-index: 1; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.gcard .flag { right: 14px; background: rgba(7,7,11,.72); color: #fff; backdrop-filter: blur(6px); }
.gcard .flag.free { color: var(--green); } .gcard .flag.prem { color: var(--gold); } .gcard .flag.x18 { color: var(--coral); }
.gcard .new { left: 14px; background: var(--gold); color: #111; }
.gcard .in { padding: 16px 20px 22px; }
.gcard .meta { margin-top: 4px; }
.kg-acts { display: flex; flex-wrap: wrap; gap: 8px; align-self: end; }
.prepbox { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-l); background: linear-gradient(160deg, rgba(251,191,36,.08), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(251,191,36,.28); }
.prepbox .kicker { color: var(--gold); } .prepbox h3 { font-size: 22px; }
.preplinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.preplinks a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); text-decoration: none; }
.preplinks a:hover { background: rgba(255,255,255,.09); } .preplinks b { font-size: 15px; } .preplinks span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .preplinks { grid-template-columns: 1fr; } }
.ki .tags span.ready { color: var(--green); box-shadow: inset 0 0 0 1px rgba(52,211,153,.35); }
/* historique des parties (Mon compte) et espace d'administration */
.hist { width: 100%; border-collapse: collapse; font-size: 15px; } .hist th, .hist td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; } .hist th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.box2:has(.hist) { overflow-x: auto; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; } .kpis div { padding: 16px; border-radius: 14px; background: var(--card, #15161c); border: 1px solid var(--line); } .kpis b { display: block; font-size: 30px; } .kpis span { color: var(--muted); font-size: 14px; }
.bars { display: grid; gap: 6px; } .bars div { display: grid; grid-template-columns: 220px 1fr 50px; gap: 10px; align-items: center; font-size: 14px; } .bars i { display: block; height: 12px; border-radius: 6px; background: var(--accent, #ff4f5e); }
@media (max-width: 760px) { .bars div { grid-template-columns: 120px 1fr 40px; } }
/* avis et retours */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; align-items: start; } @media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }
.stars { color: #fbbf24; letter-spacing: 2px; }
.starpick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; } .starpick input { position: absolute; opacity: 0; width: 1px; height: 1px; } .starpick label { font-size: 34px; color: #3a3b46; cursor: pointer; line-height: 1; }
.starpick input:checked ~ label, .starpick label:hover, .starpick label:hover ~ label { color: #fbbf24; } .starpick input:focus-visible + label { outline: 2px solid #c4b5fd; border-radius: 4px; }
.rlist { display: grid; gap: 12px; } .rv { padding: 14px 16px; border-radius: 14px; background: var(--card, #15161c); border: 1px solid var(--line); } .rv p { margin: 6px 0 0; white-space: pre-line; }
.played { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(52,211,153,.15); color: #34d399; margin-left: 4px; }
.narrow { max-width: 720px; } .kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; } .kinds legend { margin-bottom: 8px; } .kind input { position: absolute; opacity: 0; } .kind span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; } .kind input:checked + span { background: #ff4f5e; border-color: #ff4f5e; color: #fff; } .kind input:focus-visible + span { outline: 2px solid #c4b5fd; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
select { width: 100%; }
form.f textarea, form.f select { font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); color: var(--txt); width: 100%; color-scheme: dark; resize: vertical; }
form.f select { height: 48px; padding: 0 14px; } form.f textarea:focus, form.f select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }

/* parrainage */
.reflink { display: flex; gap: 8px; } .reflink input { flex: 1; min-width: 0; font: inherit; font-size: 15px; height: 42px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); color: var(--txt); }
.badge-gift { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(251,191,36,.15); color: #fbbf24; vertical-align: middle; margin-left: 6px; }

/* jeu au hasard */
.tirage { display: grid; gap: 22px; margin-bottom: 36px; }
.tirage .kinds legend { font: 600 14px var(--body); color: var(--txt2); text-transform: uppercase; letter-spacing: .08em; }
.tirage .check { display: flex; gap: 10px; align-items: center; color: var(--txt2); }
.tirage .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.tirage-go { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tirage-go .btn:disabled { opacity: .45; cursor: not-allowed; }
.reel { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: 18px 0; margin-bottom: 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.reel .strip { display: flex; gap: 14px; width: max-content; padding: 0 14px; will-change: transform; }
.reel .cell { position: relative; width: 220px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; flex: none; background: var(--surface2); transition: transform .35s, box-shadow .35s; }
.reel .cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .cell b { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font: 700 15px var(--display); background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.reel .cell.win { transform: scale(1.06); box-shadow: 0 0 0 3px var(--accent), 0 18px 50px -10px rgba(255,79,94,.6); }
.reel .mark { position: absolute; top: 6px; bottom: 6px; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); border-radius: 3px; box-shadow: 0 0 14px var(--accent); }
.pick { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; background: var(--surface); border-radius: var(--r-l); box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.pick.in { animation: pickIn .5s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pickIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.pick .cov img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; display: block; }
.pick h2 { font-size: clamp(30px, 4vw, 48px); margin: 6px 0 10px; }
.pick .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; } .pick .meta span { font-size: 14px; padding: 4px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--txt2); }
.pick .acts { display: flex; flex-wrap: wrap; gap: 10px; } .pick .acts form { margin: 0; }
@media (max-width: 800px) { .pick { grid-template-columns: 1fr; gap: 20px; padding: 16px; } .reel .cell { width: 160px; } }
.filters .dice { margin-left: auto; font: 600 14px var(--body); color: #fff; background: var(--accent); border-radius: 999px; height: 36px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.filters .dice:hover { background: var(--accent-hi); }
.pick[hidden], .reel[hidden], .pick [hidden] { display: none !important; }
.period { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.period label { position: relative; cursor: pointer; } .period input { position: absolute; opacity: 0; }
.period span { display: grid; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line2); }
.period b { font-size: 15px; } .period small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.period input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: rgba(255,79,94,.08); } .period input:focus-visible + span { outline: 2px solid #c4b5fd; outline-offset: 2px; }
.immediate { display: grid; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); }
.immediate p { font-size: 13px; line-height: 1.5; color: var(--txt2); } .immediate p b { color: var(--txt); } .immediate a { color: #c4b5fd; }
.immediate .waiver { margin: 0; font-size: 14px; color: var(--txt); }
.waiver { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--txt2); margin: 0 0 12px; text-align: left; } .waiver input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); } .waiver a { color: var(--txt); }

/* note moyenne des joueurs sur les cartes */
.meta .rate { color: var(--txt2); } .meta .rate b { color: var(--gold); font-weight: 700; }

/* =====================================================================
   P1 : thèmes, statuts, offres, nouveautés (mêmes composants partout)
   Statuts : Nouveau = or · Accès anticipé = violet · Bientôt = contour
   ===================================================================== */
.gcard .new.early, .meta span.early, .early { background: var(--violet); color: #fff; }
.meta span.early { box-shadow: none; } .meta span.newc { background: var(--gold); color: #111; box-shadow: none; }
.gcard .new.soon { background: rgba(7,7,11,.72); color: #fff; box-shadow: inset 0 0 0 1px var(--line2); backdrop-filter: blur(6px); }
span.early { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.empty, .emptybox { color: var(--muted); padding: 28px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line2); text-align: center; }
.empty[hidden] { display: none; }
.h-sub { font-size: clamp(22px, 2.4vw, 30px); margin: 48px 0 20px; } .h-sub small { font-size: 15px; font-weight: 500; margin-left: 8px; }

/* pour qui ? */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aud { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .25s; }
.aud:hover { transform: translateY(-3px); }
.aud img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.aud > div { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.aud h3 { font-size: 20px; } .aud p { color: var(--txt2); font-size: 15px; } .aud .go { color: var(--coral); font-weight: 600; font-size: 14px; }
@media (max-width: 980px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .audience { grid-template-columns: 1fr; } }

/* fiche du jeu */
.themes { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; }
.themes a { font-size: 14px; color: #c4b5fd; text-decoration: none; } .themes a::before { content: '#'; opacity: .6; } .themes a:hover { text-decoration: underline; }
.share { font: 600 14px var(--body); color: var(--txt2); background: none; border: 0; padding: 6px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.share:hover { color: var(--txt); }
.soonbox { padding: 16px 18px; border-radius: var(--r); background: rgba(139,92,246,.12); box-shadow: inset 0 0 0 1px rgba(139,92,246,.4); color: var(--txt); max-width: 520px; }

/* formules : tableau comparatif */
.offers { max-width: 920px; margin: 0 auto 28px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.orow { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 15px; }
.orow.head { border-top: 0; background: var(--surface2); font-size: 14px; } .orow.head b { text-align: center; } .orow.head b.pr { color: var(--gold); }
.orow > span[role=cell] { text-align: center; color: var(--txt2); font-size: 14px; }
.orow .yes i { color: var(--green); font-style: normal; font-weight: 800; font-size: 18px; } .orow .no i { color: var(--muted); font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.offers-note { max-width: 920px; margin: 0 auto 32px; text-align: center; } .offers-note a { color: #c4b5fd; }
@media (max-width: 640px) {
  .orow { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 12px 14px; gap: 6px; }
  .orow > span[role=rowheader] { grid-column: 1 / -1; color: var(--txt); font-weight: 600; }
  .orow.head > span:first-child { display: none; }
}
.refband { max-width: 920px; margin: 32px auto 0; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px rgba(251,191,36,.25); }
.refband .kicker { color: var(--gold); } .refband h3 { font-size: 20px; margin: 4px 0 6px; }
@media (max-width: 700px) { .refband { flex-direction: column; align-items: flex-start; } }

/* calendrier des sorties */
.cal { display: grid; gap: 10px; }
.calrow { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 14px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.calrow .d { display: grid; text-align: center; font-size: 13px; color: var(--muted); text-transform: uppercase; } .calrow .d b { font: 800 28px/1 var(--display); color: var(--txt); }
.calrow .t { display: grid; gap: 2px; } .calrow .t b { font-size: 17px; }
@media (max-width: 560px) { .calrow { grid-template-columns: 56px minmax(0, 1fr); } .calrow .s { grid-column: 2; } }

/* =====================================================================
   P2 : profil joueur, badges (grades : bronze · argent · or · platine), notifications
   ===================================================================== */
:root { --bronze: #d08a4e; --argent: #c9d1dc; --or: #fbbf24; --platine: #7dd3fc; }
.lvl { display: flex; gap: 24px; align-items: center; padding: 28px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); margin-top: 8px; }
.lvl-badge { flex: none; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 40px; background: radial-gradient(circle at 30% 30%, rgba(251,191,36,.35), rgba(251,191,36,.08)); box-shadow: inset 0 0 0 2px rgba(251,191,36,.5); }
.lvl-txt { flex: 1; min-width: 0; display: grid; gap: 8px; } .lvl-txt h2 { font-size: clamp(26px, 3vw, 38px); }
.bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; } .bar i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.bar.sm { height: 6px; margin: 8px 0 4px; } .bar.sm i { background: var(--green); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.kpis > div { padding: 18px 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2px; }
.kpis b { font: 800 28px/1.1 var(--display); } .kpis span { color: var(--muted); font-size: 14px; }
.goal { display: grid; gap: 4px; padding: 20px 24px; border-radius: var(--r-l); text-decoration: none; background: rgba(52,211,153,.08); box-shadow: inset 0 0 0 1px rgba(52,211,153,.35); }
.goal .kicker { color: var(--green); } .goal b { font-size: 19px; } .goal .go { color: var(--green); font-weight: 600; font-size: 14px; margin-top: 4px; }
.todo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tcard { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tcard .ic { font-size: 28px; line-height: 1; } .tcard > div { flex: 1; min-width: 0; display: grid; } .tcard b { font-size: 16px; }
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.bdg { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 20px 12px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.medal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 2px var(--line2); flex: none; }
.bdg.bronze .medal { box-shadow: inset 0 0 0 3px var(--bronze); } .bdg.argent .medal { box-shadow: inset 0 0 0 3px var(--argent); }
.bdg.or .medal { box-shadow: inset 0 0 0 3px var(--or); } .bdg.platine .medal { box-shadow: inset 0 0 0 3px var(--platine); }
.bdg b { font-size: 15px; margin-top: 6px; }
.colls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.coll { display: grid; gap: 8px; padding: 18px 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.coll .ch { display: flex; justify-content: space-between; gap: 8px; align-items: center; } .coll .ch b { font-size: 17px; }
.gchip { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: #111; }
.gchip.bronze { background: var(--bronze); } .gchip.argent { background: var(--argent); } .gchip.or { background: var(--or); } .gchip.platine { background: var(--platine); }
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps span { font-size: 12px; padding: 3px 8px; border-radius: 6px; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line2); }
.steps span i { font-style: normal; margin-left: 5px; opacity: .7; }
.steps span.on { color: #111; box-shadow: none; } .steps .on.bronze { background: var(--bronze); } .steps .on.argent { background: var(--argent); } .steps .on.or { background: var(--or); } .steps .on.platine { background: var(--platine); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .todo { grid-template-columns: 1fr; } .lvl { padding: 20px; gap: 16px; } .lvl-badge { width: 64px; height: 64px; font-size: 30px; } }
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: min(360px, calc(100vw - 32px)); display: grid; gap: 10px; padding: 16px 44px 14px 16px; border-radius: var(--r); background: var(--surface2); box-shadow: var(--shadow), inset 0 0 0 1px rgba(251,191,36,.35); animation: tin .35s ease-out; transition: opacity .4s, transform .4s; }
.toasts.out { opacity: 0; transform: translateY(12px); }
.toast { display: flex; gap: 12px; align-items: center; } .toast .medal { width: 42px; height: 42px; font-size: 22px; } .toast > div { display: grid; } .toast b { font-size: 15px; }
.toasts > a { color: var(--gold); text-decoration: none; font-weight: 600; }
.tclose { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; }
@keyframes tin { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .toasts { animation: none; } }

/* =====================================================================
   P3 : Cercle Yayroom, consultations
   ===================================================================== */
.lvl-badge.cercle { background: radial-gradient(circle at 30% 30%, rgba(139,92,246,.4), rgba(139,92,246,.08)); box-shadow: inset 0 0 0 2px rgba(139,92,246,.6); }
.sharebar { display: flex; flex-wrap: wrap; gap: 8px; }
.rules { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--txt2); }
.tiers { display: grid; gap: 10px; }
.tier { display: flex; gap: 16px; align-items: center; padding: 16px 20px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tier > div { flex: 1; min-width: 0; display: grid; gap: 2px; } .tier b { font-size: 17px; } .tier p { color: var(--txt2); font-size: 15px; }
.tier.on { box-shadow: inset 0 0 0 1px rgba(251,191,36,.45); } .tier.on .medal { box-shadow: inset 0 0 0 3px var(--or); }
.tier:not(.on) .medal { filter: grayscale(1); opacity: .6; }
a.tcard { text-decoration: none; }
.st { font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st.ok { color: var(--green); background: rgba(52,211,153,.12); } .st.ko { color: #ff8aa0; background: rgba(255,84,112,.12); } .st.wait { color: var(--txt2); background: rgba(255,255,255,.06); }
.poll { padding: 24px; border-radius: var(--r-l); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; margin-bottom: 14px; }
.poll h3 { font-size: 21px; } .poll.done { opacity: .9; }
.kinds.col { flex-direction: column; align-items: stretch; } .kinds.col .kind span { display: block; border-radius: 12px; padding: 12px 16px; }
.bars.res div { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 52px; } .bars.res .mine span { color: var(--txt); font-weight: 600; } .bars.res i { background: var(--violet); }
@media (max-width: 600px) { .bars.res div { grid-template-columns: 1fr 52px; } .bars.res div span { grid-column: 1 / -1; } .tier { padding: 14px; gap: 12px; } }
.admin-form { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-form .full { grid-column: 1 / -1; }
.admin-form label { display: grid; gap: 4px; font-size: 14px; color: var(--txt2); }
.admin-form input, .admin-form textarea, .admin-form select { font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 8px; border: 0; background: var(--bg2); color: var(--txt); box-shadow: inset 0 0 0 1px var(--line2); }
@media (max-width: 700px) { .admin-form { grid-template-columns: 1fr; } }
.tcard.done { box-shadow: inset 0 0 0 1px rgba(52,211,153,.45); } .tcard.done b { color: var(--green); }

/* =====================================================================
   P5 : carte cadeau
   ===================================================================== */
.gift { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.gift-txt { display: grid; gap: 18px; } .gift-txt h1 { font-size: clamp(34px, 4.6vw, 60px); }
.gift-txt .price { font: 800 44px/1 var(--display); letter-spacing: -.03em; } .gift-txt .price small { font: 500 16px var(--body); color: var(--muted); letter-spacing: 0; }
.gift-card { aspect-ratio: 1.586; border-radius: 22px; padding: 28px; display: grid; align-content: space-between; gap: 6px; color: #fff;
  background: radial-gradient(120% 120% at 0% 0%, #2b1450 0%, #120a24 55%, #07070b 100%); box-shadow: var(--shadow), inset 0 0 0 1px rgba(251,191,36,.35); }
.gift-card .brand { display: flex; align-items: center; gap: 8px; font: 800 20px var(--display); }
.gift-card b { font: 800 clamp(34px, 4vw, 48px)/1 var(--display); color: var(--gold); letter-spacing: -.02em; }
.gift-card span { color: var(--txt2); }
.gift-card code { font: 700 clamp(15px, 2vw, 22px) ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; color: #fff; }
.gift-card.big { max-width: 520px; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; gap: 32px; } .gift-card { max-width: 440px; } }
@media print { header.top, footer, .sharebar, .toasts { display: none !important; } body { background: #fff; } }
.orow > span[role=cell] { white-space: pre-line; }
/* admin : offrir des mois de Premium à un membre */
.msearch { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 12px; } .msearch input { flex: 1 1 260px; min-width: 0; }
.moffer { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .moffer input { width: 150px; } .moffer select { width: auto; }
/* l'actu : évolutions et corrections (page /actu et fiche des jeux) */
.afilter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 26px; } .afilter a { padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; } .afilter a.on, .afilter a:hover { color: var(--txt); background: rgba(255,255,255,.08); }
.atl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--line2); margin-left: 8px; }
.ai { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; padding: 0 0 26px 22px; position: relative; }
.ai::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--violet, #7b2ff7); box-shadow: 0 0 0 4px var(--bg, #0b0b12); }
.ad { color: var(--muted); font-size: 14px; line-height: 1.2; } .ad b { display: block; font-size: 28px; color: var(--txt); font-weight: 800; }
.ab { display: grid; gap: 8px; min-width: 0; } .ab h2, .ab h3 { margin: 0; font-size: 22px; line-height: 1.25; } .atl.small .ab h3 { font-size: 18px; } .ab p { margin: 0; color: var(--muted); line-height: 1.55; }
.at { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.at.nouveau { background: rgba(255,79,163,.15); color: #ff8cc4; } .at.evolution { background: rgba(123,47,247,.18); color: #c4b5fd; } .at.correction { background: rgba(62,232,160,.14); color: #7dffc0; }
.ag { display: flex; gap: 6px; flex-wrap: wrap; } .ag a, .ag span { font-size: 13px; padding: 4px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: var(--txt); text-decoration: none; } .ag a:hover { background: rgba(255,255,255,.08); }
@media (max-width: 560px) { .ai { grid-template-columns: 1fr; gap: 6px; padding-left: 18px; } .ad b { display: inline; font-size: 18px; margin-right: 4px; } }
.screens { display: grid; gap: 12px; } .scr3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.scr { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line2); } .scr b { font-size: 15px; } .scr span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.scr.ok { background: rgba(62,232,160,.07); box-shadow: inset 0 0 0 1px rgba(62,232,160,.35); } .scr.ok b::after { content: ' ✓'; color: #7dffc0; } .scr.no { opacity: .55; }
@media (max-width: 760px) { .scr3 { grid-template-columns: 1fr; } }
.box2 { min-width: 0; }
@media (max-width: 700px) {   /* admin, membres : une carte par membre sur téléphone */
  #membres .hist, #membres .hist tbody, #membres .hist tr, #membres .hist td { display: block; width: 100%; }
  #membres .hist tr:first-child { display: none; } #membres .hist tr { padding: 10px 0; border-bottom: 1px solid var(--line); } #membres .hist td { border: 0; padding: 3px 0; word-break: break-word; }
  #membres .moffer input { width: 100%; }
}
details.fold { display: grid; gap: 8px; } details.fold > summary { cursor: pointer; font-weight: 700; color: var(--txt); padding: 4px 0; } details.fold .hist { margin-top: 6px; }

/* difficulté sur 5 : cinq pastilles */
.diffn { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; } .diffn i { width: 7px; height: 7px; border-radius: 50%; background: var(--line2); } .diffn i.on { background: var(--accent, #ff4d5e); }
.diffbox { display: grid; gap: 8px; } .diffbox p { margin: 0; } .diffbox .diffn { margin-right: 6px; }
