/* Layout : navigation fine, héros typographique géant, bande défilante, compteurs, puis sections numérotées « 01 // … » sur fond bleu nuit alterné */
:root, :root[data-theme="noir"] {
  --night: #0b0b0f;
  --deep: #060608;
  --panel: #131317;
  --ink-rgb: 242, 238, 232;
  --line: rgba(var(--ink-rgb), .10);
  --line-strong: rgba(var(--ink-rgb), .24);
  --text: #f2eee8;
  --text-soft: #d9d3ca;
  --muted: #a39d94;
  --dim: #6f6a63;
  --accent: #d91a33;
  --accent-rgb: 217, 26, 51;
  --accent-hot: #f0324b;
  --on-accent: #ffffff;
  --logo-fill: #ffffff;
  --logo-edge: #d91a33;
  --win: #4cc38a;
  --loss: #ff6b6b;
  --display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
:root[data-theme="beige"] {
  --night: #f2eee8;
  --deep: #e9e3d9;
  --panel: #ebe5db;
  --ink-rgb: 11, 11, 15;
  --text: #0b0b0f;
  --text-soft: #2b2a2e;
  --muted: #5c5852;
  --dim: #85807a;
  --accent: #c8142c;
  --accent-rgb: 200, 20, 44;
  --accent-hot: #a50f23;
  --logo-fill: #0b0b0f;
  --logo-edge: #d91a33;
  --win: #1f8a57;
  --loss: #c8142c;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); transition: background .4s, color .4s; color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1216px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 560px) { .wrap { padding-inline: 16px; } }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 em { font-style: normal; color: var(--accent); }
.eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: .7em; align-items: center; }
.eyebrow i { font-style: normal; color: var(--accent); font-weight: 700; }
.mono { font-family: var(--mono); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; font-family: var(--mono); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-gold { background: var(--accent); color: var(--on-accent); }
.btn-gold:hover { background: var(--accent-hot); }
.btn-line { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--accent); font-weight: 700; }
.link-arrow.dim { color: var(--muted); }
.link-arrow svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.dim:hover { color: var(--text); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--deep) 90%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: .14em; }
.brand svg { width: 64px; height: 27px; }
.brand small { font-size: .62rem; letter-spacing: .3em; color: var(--muted); font-family: var(--mono); font-weight: 400; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.nav ul a { position: relative; text-decoration: none; color: var(--muted); padding-block: 6px; transition: color .2s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover, .nav ul a.active { color: var(--text); }
.nav ul a.active::after, .nav ul a:hover::after { transform: scaleX(1); }
.nav-side { display: flex; gap: 8px; align-items: center; }
.chip { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 8px 12px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.chip:hover { color: var(--text); border-color: var(--text); }
.burger { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 40px; height: 40px; cursor: pointer; }
@media (max-width: 1140px) {
  .nav ul { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--deep); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .nav ul.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav ul a::after { display: none; }
  .burger { display: grid; place-items: center; }
  .nav-side .theme span { display: none; }
}

/* Héros */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: center; }
.hero canvas, .cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 60% at 80% 35%, rgba(var(--accent-rgb), .10), transparent 70%), linear-gradient(180deg, transparent 60%, var(--night)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 80px 96px; }
.hero h1 { margin: 22px 0 30px; line-height: 0; }
.hero h1 svg { width: min(100%, 760px); aspect-ratio: 877.6 / 362.2; height: auto; overflow: visible; filter: drop-shadow(0 18px 40px rgba(var(--accent-rgb), .25)); }
.hero h1 .name { display: block; margin-top: 18px; font-size: clamp(1rem, 2.4vw, 1.5rem); line-height: 1; letter-spacing: .5em; font-weight: 700; color: var(--text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.theme { cursor: pointer; background: none; }
.chip { white-space: nowrap; }
@media (max-width: 560px) { .nav-side .chip.join { display: none; } }
.theme i { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--line-strong); background: linear-gradient(90deg, #0b0b0f 50%, #f2eee8 50%); font-style: normal; }
.hero p { max-width: 46ch; font-size: 1.12rem; line-height: 1.7; color: var(--text-soft); margin: 0 0 40px; font-weight: 300; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.scroll-hint { position: absolute; right: 24px; bottom: 36px; z-index: 1; display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-hint::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--accent), transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .scroll-hint { display: none; } .hero { min-height: 0; } }

/* Bande défilante */
.marquee { border-block: 1px solid var(--line); background: var(--deep); overflow: hidden; padding-block: 26px; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 22px; padding-inline: 34px; font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(var(--ink-rgb), .9); white-space: nowrap; }
.marquee-item svg { width: 72px; height: 30px; flex: none; }
.marquee-item.ghost { color: transparent; -webkit-text-stroke: 1px rgba(var(--ink-rgb), .35); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Compteurs */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--deep); }
.stats > div { padding: 46px 24px 42px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stats span { display: block; margin-top: 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3) { border-left: 0; } .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); } .stats > div { padding: 32px 16px; } }

/* Sections */
section { padding-block: 120px; position: relative; }
section.alt { background: var(--panel); border-block: 1px solid var(--line); }
@media (max-width: 760px) { section { padding-block: 80px; } }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 32px; margin-bottom: 52px; }
.head > div { display: grid; gap: 18px; min-width: 0; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--text-soft); max-width: 40ch; margin: 0; font-weight: 300; }
.sub { color: var(--muted); max-width: 58ch; margin: 22px 0 0; font-size: .98rem; }
.sample { font-family: var(--mono); font-size: .62rem; color: var(--dim); border: 1px dashed var(--line-strong); padding: 3px 8px; letter-spacing: .1em; text-transform: uppercase; }

/* Histoire */
.story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.story .pillars { display: grid; border-top: 1px solid var(--line); }
.story .pillars > div { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.story .pillars i { font-style: normal; font-family: var(--mono); color: var(--accent); font-size: .78rem; padding-top: 3px; }
.story .pillars p { margin: 0; }
.story .pillars b { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.story .pillars span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 40px; } }

/* Jeux / équipes */
.games { border-top: 1px solid var(--line); }
.game { border-bottom: 1px solid var(--line); }
.game-row { width: 100%; display: grid; grid-template-columns: 40px 1fr auto 22px; gap: 18px; align-items: center; padding: 22px 0; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; font: inherit; }
.game-row .ico { width: 30px; height: 30px; color: var(--text); }
.game-row h3 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; transition: color .25s, transform .35s var(--ease); }
.game-row .count { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.game-row .chev { width: 18px; height: 18px; color: var(--muted); transition: transform .35s var(--ease), color .25s; }
.game-row:hover h3 { color: var(--accent); transform: translateX(6px); }
.game-row[aria-expanded="true"] h3 { color: var(--accent); }
.game-row[aria-expanded="true"] .chev { transform: rotate(90deg); color: var(--accent); }
.game-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.game-body > div { overflow: hidden; }
.game.open .game-body { grid-template-rows: 1fr; }
.roster { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; margin-bottom: 28px; }
.player { background: var(--night); position: relative; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.player .pic { aspect-ratio: 4 / 5; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 4rem; color: rgba(var(--accent-rgb), .55); background: radial-gradient(120% 80% at 50% 0%, rgba(var(--accent-rgb), .16), transparent 60%), repeating-linear-gradient(135deg, transparent 0 14px, rgba(var(--ink-rgb), .04) 14px 15px); transition: transform .6s var(--ease); }
.player:hover .pic { transform: scale(1.05); }
.player .info { padding: 14px 16px 18px; display: grid; gap: 2px; border-top: 1px solid var(--line); position: relative; background: var(--night); }
.player .role { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.player b { font-weight: 800; font-size: 1.25rem; text-transform: uppercase; }
.player small { color: var(--dim); font-family: var(--mono); font-size: .68rem; }
@media (max-width: 560px) { .roster { grid-template-columns: repeat(2, 1fr); } .game-row { grid-template-columns: 30px 1fr 18px; } .game-row .count { display: none; } }

/* Résultats */
.results { border-top: 1px solid var(--line); }
.match { display: grid; grid-template-columns: 110px 160px 1fr auto 110px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.match:hover { background: linear-gradient(90deg, rgba(var(--accent-rgb), .05), transparent 70%); }
.match .date { font-family: var(--mono); font-size: .72rem; color: var(--dim); letter-spacing: .1em; }
.match .tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.match .vs { display: grid; gap: 2px; }
.match .vs b { font-weight: 700; font-size: 1.12rem; }
.match .vs span { color: var(--muted); font-size: .85rem; }
.match .score { font-family: var(--display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.pill { justify-self: end; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; }
.pill.w { color: var(--win); }
.pill.l { color: var(--loss); }
@media (max-width: 760px) { .match { grid-template-columns: 1fr auto; gap: 6px 16px; } .match .tag { justify-self: end; } .match .score { justify-self: end; } .match .pill { grid-column: 1 / -1; justify-self: start; } }
.trophies { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; }
.trophy { padding: 8px 32px 8px 0; display: grid; gap: 10px; align-content: start; }
.trophy + .trophy { border-left: 1px solid var(--line); padding-left: 32px; }
.trophy .eyebrow { color: var(--dim); }
.trophy b { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; line-height: 1; color: var(--accent); text-transform: uppercase; }
.trophy > span:last-child { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
@media (max-width: 760px) { .trophies { grid-template-columns: 1fr; gap: 28px; } .trophy + .trophy { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; } }

/* Partenaires */
.partners { overflow: hidden; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.partners .marquee-track { animation-duration: 40s; animation-direction: reverse; }
.partner { width: 240px; height: 120px; display: grid; place-items: center; border-right: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); transition: color .25s, background .25s; }
.partner:hover { color: var(--text); background: rgba(var(--accent-rgb), .05); }

/* Réseaux */
.socials { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.social { display: grid; grid-template-columns: 22px 1fr 16px; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), background .3s; }
.social:nth-child(-n+2) { border-top: 1px solid var(--line); }
.social svg { width: 18px; height: 18px; }
.social b { display: block; font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.social small { font-family: var(--mono); font-size: .7rem; color: var(--dim); }
.social .out { color: var(--dim); transition: transform .3s var(--ease), color .3s; }
.social:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(var(--accent-rgb), .06), transparent); }
.social:hover .out { color: var(--accent); transform: translate(3px, -3px); }
@media (max-width: 760px) { .socials { grid-template-columns: 1fr; } .social:nth-child(2) { border-top: 0; } }

/* Bandeau recrutement */
.cta-band { position: relative; overflow: hidden; background: var(--deep); border-block: 1px solid var(--line); padding-block: 110px; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; margin: 22px 0 26px; }
.cta-band h2 span { display: block; color: var(--accent); }
.cta-band p { color: var(--text-soft); font-size: 1.12rem; font-weight: 300; max-width: 42ch; margin: 0; }
.cta-band .stack { display: grid; gap: 12px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact .mail { margin-top: 32px; display: grid; gap: 6px; }
.contact .mail a { font-weight: 600; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--line-strong); justify-self: start; padding-bottom: 2px; }
.contact .mail a:hover { border-color: var(--accent); color: var(--accent); }
form { display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--text); padding: 10px 0 12px; font: inherit; font-family: var(--body); font-size: 1rem; letter-spacing: 0; text-transform: none; border-radius: 0; transition: border-color .25s; }
select option { background: var(--deep); }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
form .btn { justify-self: start; margin-top: 8px; }
.note { font-size: .88rem; color: var(--win); min-height: 1.4em; margin: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }

/* Pied de page */
footer { background: var(--deep); border-top: 1px solid var(--line); padding-block: 72px 32px; color: var(--muted); font-size: .9rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot p { max-width: 34ch; margin: 18px 0; }
.foot .tagline { color: var(--text); font-weight: 600; }
.foot h4 { margin: 0 0 18px; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot h4 i { font-style: normal; color: var(--accent); margin-right: .6em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; font-size: .88rem; }
.foot ul a:hover { color: var(--text); }
.icons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.icons a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text); transition: border-color .25s, color .25s, transform .25s var(--ease); }
.icons a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.icons svg { width: 16px; height: 16px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.legal nav { display: flex; flex-wrap: wrap; gap: 20px; }
.legal a { text-decoration: none; color: var(--muted); }
.legal a:hover { color: var(--text); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* Animations d'entrée et d'apparition au défilement */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js .nav { animation: drop .7s var(--ease) .05s backwards; }
.js [data-in] { animation: rise .8s var(--ease) backwards; animation-delay: calc(var(--d, 0) * 110ms + 200ms); }
.js .hero canvas { animation: fade 1.6s .3s backwards; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.seen { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Bouton compte dans la navigation */
.chip.account { color: var(--text); }
.chip.account svg { width: 13px; height: 13px; }
.chip.account:hover { border-color: var(--accent); color: var(--accent); }
.note.bad { color: var(--loss); }
@media (max-width: 560px) { .chip.account span { display: none; } .chip.account { padding: 8px 10px; } }

/* Espace membre */
.member-page { position: relative; overflow: hidden; min-height: calc(100vh - 72px); padding-block: 72px 110px; }
.member-page > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.member-page > .wrap { position: relative; z-index: 1; }
.auth { max-width: 440px; margin: 0 auto; }
.auth-head { display: grid; justify-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 2px solid var(--accent); margin-bottom: 18px; }
.auth-head svg { width: 110px; height: 46px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); margin-bottom: 30px; }
.seg button { background: transparent; border: 0; padding: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.seg button:not([aria-selected="true"]):hover { color: var(--text); }
.auth h1 { font-size: clamp(2.2rem, 7vw, 2.8rem); font-weight: 900; }
.auth .sub { margin: 10px 0 28px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field > span { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.box { width: 100%; background: rgba(var(--ink-rgb), .04); border: 1px solid var(--line-strong); color: var(--text); padding: 13px 14px; font: inherit; font-size: 1rem; border-radius: 0; transition: border-color .25s, background .25s; }
.box:focus { outline: none; border-color: var(--accent); background: rgba(var(--ink-rgb), .06); }
textarea.box { min-height: 96px; resize: vertical; }
.hint { font-size: .8rem; color: var(--dim); margin-top: -10px; margin-bottom: 16px; }
.row-end { display: flex; justify-content: flex-end; margin: -8px 0 20px; }
.textlink { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: .86rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.textlink:hover { color: var(--text); text-decoration-color: var(--accent); }
.btn.full { width: 100%; }
.btn:disabled { opacity: .55; cursor: wait; }
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: var(--dim); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-discord { width: 100%; background: rgba(88, 101, 242, .12); color: var(--text); border-color: rgba(88, 101, 242, .55); }
.btn-discord:hover { background: rgba(88, 101, 242, .22); }
.btn-discord svg { width: 18px; height: 18px; }
.btn-discord[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 20px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.switch-line { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 26px; }
.demo-banner { display: flex; gap: 10px; align-items: baseline; border: 1px dashed var(--line-strong); padding: 10px 14px; margin-bottom: 26px; font-size: .84rem; color: var(--muted); }
.demo-banner b { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; flex: none; }
.auth .note { margin-top: 14px; text-align: center; }

.dash { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.card-id { position: sticky; top: 100px; border: 1px solid var(--line); background: var(--deep); padding: 28px; display: grid; gap: 18px; }
.avatar { width: 84px; height: 84px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 900; font-size: 2.6rem; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%); }
.card-id h1 { font-size: 2rem; font-weight: 900; word-break: break-word; }
.badge { justify-self: start; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; padding: 4px 8px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.facts dt { color: var(--dim); font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.my-games { display: flex; flex-wrap: wrap; gap: 6px; }
.my-games span { font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 4px 8px; color: var(--muted); }
.panels { display: grid; gap: 0; }
.panel { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.panel:last-child { border-bottom: 0; margin-bottom: 0; }
.panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin: 14px 0 22px; }
.panel .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.toggle span { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .9rem; transition: background .2s, border-color .2s, color .2s; }
.toggle svg { width: 18px; height: 18px; }
.toggle input:checked + span { background: rgba(var(--accent-rgb), .12); border-color: var(--accent); color: var(--accent); }
.toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.linked { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 16px 18px; }
.linked > div { display: flex; gap: 14px; align-items: center; }
.linked svg { width: 22px; height: 22px; color: #5865f2; }
.linked b { display: block; }
.linked small { color: var(--dim); font-family: var(--mono); font-size: .7rem; }
.btn-danger { background: transparent; color: var(--loss); border-color: currentColor; }
.btn-danger:hover { background: rgba(var(--accent-rgb), .1); }
.danger-zone { display: none; margin-top: 18px; max-width: 420px; }
.danger-zone.open { display: block; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } .card-id { position: static; } }
@media (max-width: 560px) { .panel .two { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
.box, .check, .toggle span { font-family: var(--body); text-transform: none; letter-spacing: 0; }
.box::placeholder { color: var(--dim); }
@media (max-width: 560px) { .member-page { padding-block: 36px 80px; } }

/* ---------- Pages intérieures ---------- */
.chip.admin { color: var(--accent); border-color: rgba(var(--accent-rgb), .5); }
.chip.admin svg { width: 13px; height: 13px; }
@media (max-width: 560px) { .chip.admin span { display: none; } .chip.admin { padding: 8px 10px; } }
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 85% 20%, rgba(var(--accent-rgb), .12), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 96px 72px; display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(3rem, 10vw, 7rem); font-weight: 900; }
.page-hero h1 em, .article h1 em, .a-head h1 em { font-style: normal; color: var(--accent); }
.page-hero p { max-width: 52ch; margin: 0; color: var(--text-soft); font-size: 1.1rem; font-weight: 300; }
@media (max-width: 760px) { .page-hero .wrap { padding-block: 64px 48px; } }
section.tight { padding-top: 72px; }
.empty { color: var(--dim); font-size: .95rem; padding: 28px 0; margin: 0; grid-column: 1 / -1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filters button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-strong); color: var(--muted); padding: 9px 14px; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: .2s; }
.filters button svg { width: 14px; height: 14px; }
.filters button small { color: var(--dim); font-size: .62rem; }
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.filters button[aria-pressed="true"] small { color: inherit; }

/* Actus */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: grid; grid-template-rows: auto 1fr; text-decoration: none; border: 1px solid var(--line); background: var(--night); transition: border-color .3s, transform .4s var(--ease); }
section.alt .news-card { background: var(--deep); }
.news-card:hover { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-4px); }
.cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--line); }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.news-card:hover .cover img, .product:hover .cover img { transform: scale(1.04); }
.cover-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(90% 90% at 50% 0%, rgba(var(--accent-rgb), .18), transparent 70%), repeating-linear-gradient(135deg, transparent 0 14px, rgba(var(--ink-rgb), .035) 14px 15px); }
.cover-ph svg { width: 40%; max-width: 150px; aspect-ratio: 877.6 / 362.2; opacity: .85; }
.cover-ph i { font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.draft { position: absolute; top: 12px; left: 12px; background: var(--deep); color: var(--accent); border: 1px solid currentColor; font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; }
.news-card .body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.news-card .meta { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: flex; gap: .7em; }
.news-card .meta i { font-style: normal; color: var(--dim); }
.news-card h3 { font-size: 1.35rem; line-height: 1.1; }
.news-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.news-card .link-arrow { margin-top: 6px; }
.article { padding-block: 64px 0; }
.wrap.narrow { max-width: 780px; }
.article .wrap.narrow:first-child { display: grid; gap: 22px; }
.article .back svg { transform: scaleX(-1); }
.article h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; }
.article .lead { max-width: none; }
.article-cover { margin-block: 44px 0; }
.article-cover img { width: 100%; max-height: 560px; object-fit: cover; display: block; border: 1px solid var(--line); }
.article .prose { padding-block: 44px 110px; }
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--text-soft); }
.prose h3, .prose h4 { margin: 1.8em 0 .6em; font-size: 1.5rem; color: var(--text); }
.prose h4 { font-size: 1.15rem; }
.prose p { margin: 0 0 1.1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); }

/* Calendrier */
.month { font-size: 1rem; letter-spacing: .14em; color: var(--muted); padding: 34px 0 12px; border-bottom: 1px solid var(--line); font-weight: 700; }
.month:first-child { padding-top: 0; }
.fixture { display: grid; grid-template-columns: 84px 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.fixture:hover { background: linear-gradient(90deg, rgba(var(--accent-rgb), .05), transparent 70%); }
.fixture .when { display: grid; justify-items: center; border: 1px solid var(--line-strong); padding: 10px 0 8px; line-height: 1; }
.fixture .when b { font-family: var(--display); font-size: 2rem; font-weight: 900; }
.fixture .when span { font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; color: var(--accent); margin-top: 4px; }
.fixture .when small { font-family: var(--mono); font-size: .62rem; color: var(--dim); margin-top: 6px; }
.fixture .vs { display: grid; gap: 4px; min-width: 0; }
.fixture .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fixture .tag svg { width: 14px; height: 14px; }
.fixture .vs b { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; }
.fixture .vs b i { font-style: normal; color: var(--dim); font-weight: 400; font-size: .8em; margin: 0 .2em; }
.fixture .vs > span:last-child { color: var(--muted); font-size: .88rem; }
.fixture .score { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.btn.live { padding: 11px 16px; }
.btn.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.next-label { margin-bottom: 4px; }
#next-match:not(:empty) { margin-bottom: 44px; }
#next-match .fixture { border: 1px solid rgba(var(--accent-rgb), .45); padding: 20px; background: linear-gradient(90deg, rgba(var(--accent-rgb), .08), transparent 70%); margin-top: 14px; }
@media (max-width: 620px) { .fixture { grid-template-columns: 64px 1fr; gap: 16px; } .fixture > :last-child { grid-column: 2; justify-self: start; } .fixture .when b { font-size: 1.6rem; } }

/* Joueurs et staff */
.player .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.player .info small { display: block; margin-top: 6px; line-height: 1.45; font-family: var(--body); font-size: .82rem; color: var(--muted); }
.p-links { display: flex; gap: 6px; margin-top: 10px; }
.p-links a { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); }
.p-links a:hover { color: var(--accent); border-color: var(--accent); }
.p-links svg { width: 13px; height: 13px; }
.roster .empty { padding: 18px 0; }
.roster-block + .roster-block { margin-top: 56px; }
.roster-title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 22px; }
.roster-title svg { width: 28px; height: 28px; }
.roster-title small { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: var(--dim); font-weight: 400; margin-left: auto; }
.partner img { max-width: 70%; max-height: 56px; object-fit: contain; }
a.partner { text-decoration: none; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-grid > * { background: var(--night); height: 130px; display: grid; place-items: center; text-decoration: none; padding: 20px; }
.partner-grid img { max-width: 80%; max-height: 64px; object-fit: contain; }
.partner-grid b { text-transform: uppercase; letter-spacing: .1em; }
.partner-grid .empty { background: var(--night); height: auto; place-items: start; }

/* Tournois */
.tourneys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 900px) { .tourneys { grid-template-columns: 1fr; } }
.tourney { border: 1px solid var(--line); background: var(--panel); padding: 28px; display: grid; gap: 20px; align-content: start; }
.tourney.st-open { border-color: rgba(var(--accent-rgb), .5); }
.tourney.st-past { opacity: .7; }
.t-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tourney .tag, .opening .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tourney .tag svg, .opening .tag svg { width: 15px; height: 15px; }
.t-state { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border: 1px solid currentColor; color: var(--dim); }
.st-open .t-state { color: var(--win); }
.st-full .t-state { color: var(--accent); }
.tourney h3 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.t-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.t-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.t-facts dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.t-facts dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; }
.slots { display: grid; gap: 8px; }
.slots .bar { height: 4px; background: rgba(var(--ink-rgb), .1); }
.slots .bar i { display: block; height: 100%; background: var(--accent); transition: width 1s var(--ease); }
.slots span { font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .06em; }
.tourney details summary, .msg summary { cursor: pointer; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tourney details .prose { font-size: .95rem; margin-top: 12px; }
.t-action:empty { display: none; }
.t-mine { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; border: 1px solid var(--win); padding: 14px 16px; }
.t-mine b { display: block; color: var(--win); }
.t-mine small { color: var(--muted); }
.t-form { margin-top: 18px; gap: 0; }

/* Recrutement */
.openings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .openings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .openings { grid-template-columns: 1fr; } }
.opening { background: var(--night); padding: 28px; display: grid; gap: 12px; align-content: start; transition: background .3s; }
.opening:hover { background: var(--panel); }
.opening.ghost .tag { color: var(--dim); }
.opening h3 { font-size: 1.5rem; }
.opening p { margin: 0; color: var(--muted); font-size: .92rem; }
.opening .link-arrow { background: none; border: 0; padding: 0; cursor: pointer; justify-self: start; margin-top: 6px; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--mono); color: var(--accent); font-size: .8rem; padding-top: 2px; }
.steps b { text-transform: uppercase; letter-spacing: .04em; }
.steps span { color: var(--muted); font-size: .9rem; }
.closed-box { display: grid; gap: 6px; border: 1px dashed var(--line-strong); padding: 24px; }
.closed-box b { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.closed-box span { color: var(--muted); }

/* Boutique */
.shop { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .shop { grid-template-columns: 1fr; } }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.product { border: 1px solid var(--line); background: var(--panel); display: grid; grid-template-rows: auto 1fr; gap: 0; }
.product .cover { aspect-ratio: 1; }
.product .body { padding: 20px; display: grid; gap: 8px; align-content: start; }
.product h3 { font-size: 1.3rem; }
.product .price { font-family: var(--display); font-size: 1.4rem; color: var(--accent); }
.product p { margin: 0; color: var(--muted); font-size: .9rem; }
.product .buy { display: flex; gap: 8px; margin-top: 8px; }
.product .buy .box { width: auto; padding: 10px; }
.product .buy .btn { flex: 1; margin: 0; padding: 12px 14px; }
.cart { position: sticky; top: 96px; border: 1px solid var(--line); background: var(--deep); padding: 24px; display: grid; gap: 16px; }
.cart .line { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart .line small { display: block; color: var(--dim); font-size: .8rem; }
.qty { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); }
.qty button { width: 28px; height: 28px; background: none; border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; }
.cart .total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cart .total b { font-family: var(--display); font-size: 1.6rem; color: var(--text); letter-spacing: 0; }
.cart .hint { margin: 0; }
#order-note:empty { display: none; }
#order-note { margin-bottom: 24px; font-size: 1rem; }

/* Espace membre : activité */
.acts { display: grid; border-top: 1px solid var(--line); }
.acts > div { display: grid; grid-template-columns: 110px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.acts .kind { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.acts small { color: var(--dim); font-family: var(--mono); font-size: .68rem; }
.status { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 3px 8px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .acts > div { grid-template-columns: 1fr auto; } .acts .kind { grid-column: 1 / -1; } }

/* ---------- Panneau admin ---------- */
.admin-page { padding-block: 48px 110px; min-height: calc(100vh - 72px); }
.gate { max-width: 440px; margin: 60px auto; display: grid; justify-items: center; text-align: center; gap: 18px; }
.gate svg { width: 120px; height: 50px; }
.gate h1 { font-size: 2.6rem; }
.gate p { color: var(--muted); margin: 0; }
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.admin-nav { display: grid; gap: 2px; }
.admin-nav .who { display: grid; gap: 6px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 2px solid var(--accent); }
.admin-nav .who b { font-size: 1.3rem; text-transform: uppercase; }
.admin-nav h4 { margin: 18px 0 6px; font-family: var(--mono); font-weight: 400; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.admin-nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; text-decoration: none; color: var(--muted); font-size: .92rem; border-left: 2px solid transparent; }
.admin-nav a:hover { color: var(--text); background: rgba(var(--ink-rgb), .04); }
.admin-nav a[aria-current] { color: var(--text); border-left-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.admin-nav a b { background: var(--accent); color: var(--on-accent); font-family: var(--mono); font-size: .62rem; padding: 1px 7px; }
@media (max-width: 900px) {
  .admin-wrap { grid-template-columns: 1fr; gap: 28px; }
  .admin-nav { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .admin-nav .who { width: 100%; }
  .admin-nav h4 { width: 100%; margin: 10px 0 0; }
  .admin-nav a { border: 1px solid var(--line-strong); padding: 7px 10px; font-size: .84rem; gap: 8px; }
  .admin-nav a[aria-current] { border-color: var(--accent); }
}
.admin-main { min-width: 0; }
.admin-main:focus { outline: none; }
.a-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.a-head > div { display: grid; gap: 12px; }
.a-head h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; }
.a-head .link-arrow svg { transform: scaleX(-1); }
.a-sub { font-size: 1.2rem; margin: 40px 0 16px; letter-spacing: .04em; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { background: var(--night); padding: 22px; text-decoration: none; display: grid; gap: 8px; transition: background .2s; }
.tile:hover { background: var(--panel); }
.tile b { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.tile span { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quick { display: flex; flex-wrap: wrap; gap: 10px; }
.quick .btn { padding: 12px 16px; }
.facts.wide { max-width: 560px; }
.a-list { display: grid; border-top: 1px solid var(--line); }
.a-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.a-main { flex: 1; min-width: 0; display: grid; text-decoration: none; }
.a-main b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-main small { color: var(--dim); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.a-main:hover b { color: var(--accent); }
.thumb { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); overflow: hidden; font-weight: 900; text-transform: uppercase; color: var(--accent); font-size: .8rem; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.big { width: 96px; height: 96px; color: var(--dim); font-weight: 400; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; }
.chip { background: none; cursor: pointer; }
.chip.danger:hover { color: var(--loss); border-color: var(--loss); }
.a-row .badge { margin-left: 6px; font-size: .55rem; padding: 2px 6px; vertical-align: 2px; }
.a-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.a-fields .full, .a-fields .img-field, .a-fields .check, .a-fields label:has(textarea) { grid-column: 1 / -1; }
@media (max-width: 640px) { .a-fields { grid-template-columns: 1fr; } }
textarea.box.tall { min-height: 280px; font-family: var(--mono); font-size: .9rem; line-height: 1.6; }
.hint-in { color: var(--dim); font-size: .78rem; font-family: var(--body); text-transform: none; letter-spacing: 0; }
.img-row { display: flex; gap: 16px; align-items: center; }
.img-btns { display: grid; gap: 8px; justify-items: start; }
.img-btns .btn { padding: 11px 14px; }
.img-field .note { min-height: 0; }
.a-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.a-actions .btn { margin: 0; }
.a-form > .note { margin-top: 14px; }
.msgs { display: grid; border-top: 1px solid var(--line); }
.msg { border-bottom: 1px solid var(--line); }
.msg summary { list-style: none; display: grid; grid-template-columns: 10px 1fr auto auto; gap: 14px; align-items: center; padding: 16px 0; font-family: var(--body); font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.msg summary::-webkit-details-marker { display: none; }
.msg summary small { color: var(--dim); font-size: .78rem; }
.msg .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.msg.st-0 .dot { background: var(--accent); }
.msg.st-0 summary b { font-weight: 800; }
.msg summary b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg[open] { background: rgba(var(--ink-rgb), .02); }
.msg .facts { margin: 0 0 16px 24px; }
.msg .facts dd { text-align: left; white-space: normal; }
.msg .facts div { display: grid; grid-template-columns: 140px 1fr; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px 24px; }
label.inline { display: inline-flex; align-items: center; gap: 10px; }
label.inline .box { width: auto; padding: 7px 10px; font-size: .88rem; }
@media (max-width: 600px) { .msg summary { grid-template-columns: 10px 1fr auto; } .msg summary small { display: none; } .msg .facts div { grid-template-columns: 1fr; } .msg .facts, .msg-actions { margin-left: 0; } }
section[id] { scroll-margin-top: 72px; }

/* Pages légales */
.page-hero.small .wrap { padding-block: 72px 48px; }
.page-hero.small h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
.legal-text { padding-bottom: 40px; }
.legal-text .updated { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.legal-text h3:first-of-type { margin-top: 1.2em; }
.legal-text li { margin-bottom: .6em; }
.legal-text code { font-family: var(--mono); font-size: .85em; color: var(--text); }
.legal-note { margin: 0; font-size: .82rem; color: var(--dim); font-family: var(--body); text-transform: none; letter-spacing: 0; }
.legal-note a { color: var(--muted); }
.auth .legal-note { margin: -6px 0 16px; }

/* Bandeau « En direct » */
.live-bar { display: block; position: sticky; top: 72px; z-index: 19; background: var(--accent); color: var(--on-accent); text-decoration: none; font-size: .88rem; }
.live-bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 42px; padding-block: 8px; }
.live-bar i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; animation: pulse 1.6s infinite; }
.live-bar b { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; flex: none; }
.live-bar .lt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-bar small { font-family: var(--mono); font-size: .64rem; opacity: .85; flex: none; }
.live-bar em { font-style: normal; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.live-bar em svg { width: 12px; height: 12px; }
.live-bar:hover em { text-decoration: underline; }
@media (max-width: 560px) { .live-bar small { display: none; } .live-bar .wrap { gap: 10px; } }

/* Cartes joueurs cliquables */
.linked-card { cursor: pointer; }
.p-name { text-decoration: none; }
.p-name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.linked-card:hover .p-name { color: var(--accent); }
.p-links { display: flex; gap: 10px; margin-top: 8px; position: relative; z-index: 2; }
.p-links a { color: var(--muted); display: inline-flex; }
.p-links a:hover { color: var(--accent); }
.p-links svg { width: 16px; height: 16px; }

/* Page joueur */
.profile { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.profile canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.profile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 80% at 20% 30%, rgba(var(--accent-rgb), .14), transparent 70%); }
.profile .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 56px; align-items: center; padding-block: 80px; min-height: 420px; }
.p-photo { aspect-ratio: 4 / 5; border: 1px solid var(--line-strong); overflow: hidden; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 0%, rgba(var(--accent-rgb), .2), transparent 60%), repeating-linear-gradient(135deg, transparent 0 14px, rgba(var(--ink-rgb), .04) 14px 15px); }
.p-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-photo span { font-family: var(--display); font-weight: 900; font-size: 8rem; color: rgba(var(--accent-rgb), .6); text-transform: uppercase; }
.p-main { display: grid; gap: 24px; justify-items: start; }
.p-main .eyebrow svg { width: 16px; height: 16px; color: var(--accent); }
.p-main h1 { font-size: clamp(3.4rem, 11vw, 8rem); font-weight: 900; word-break: break-word; }
.p-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid var(--line); }
.p-facts div { padding: 12px 20px; border-right: 1px solid var(--line); }
.p-facts div:last-child { border-right: 0; }
.p-facts dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.p-facts dd { margin: 2px 0 0; font-weight: 700; }
.p-bio { margin: 0; max-width: 58ch; color: var(--text-soft); font-size: 1.05rem; font-weight: 300; line-height: 1.7; }
.p-nets { display: flex; flex-wrap: wrap; gap: 10px; }
.p-nets .btn { padding: 11px 16px; }
.p-nets svg { width: 15px; height: 15px; }
.profile-missing { grid-column: 1 / -1; display: grid; gap: 24px; justify-items: start; }
.profile-missing h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
.profile-missing h1 em { font-style: normal; color: var(--accent); }
@media (max-width: 760px) { .profile .wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 56px; } .p-photo { max-width: 260px; } .p-facts div { padding: 10px 14px; } }

/* Vidéos (chargées au clic) */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--text); cursor: pointer; overflow: hidden; text-decoration: none; font: inherit; text-align: left; }
.vthumb { position: absolute; inset: 0; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.video:hover .vthumb img { transform: scale(1.04); }
.video .play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 30px rgba(var(--accent-rgb), .35); transition: transform .3s var(--ease); }
.video .play::after { content: ""; position: absolute; left: 26px; top: 21px; border-left: 18px solid var(--on-accent); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video:hover .play { transform: scale(1.08); }
.video .vt { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font-weight: 700; font-size: .92rem; display: flex; gap: 6px; align-items: center; }
.video .vt svg { width: 12px; height: 12px; }
.video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.g-item { min-width: 0; }
.g-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; overflow: hidden; font: inherit; color: #fff; text-align: left; }
.g-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.g-photo:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); display: grid; gap: 2px; opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.g-photo:hover .g-cap, .g-photo:focus-visible .g-cap { opacity: 1; transform: none; }
@media (hover: none) { .g-cap { opacity: 1; transform: none; } }
.g-cap b { font-size: .95rem; }
.g-cap small { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; opacity: .8; }
.g-video .video { aspect-ratio: 4 / 3; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; max-height: 100vh; padding: 56px 0 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; }
.lightbox figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: #ccc; text-align: center; }
.lb-nav, .lb-close { background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 10px; opacity: .75; }
.lb-nav:hover, .lb-close:hover { opacity: 1; color: var(--accent); }
.lb-close { position: absolute; top: 8px; right: 12px; z-index: 1; }
@media (max-width: 560px) { .lightbox[open] { grid-template-columns: 40px 1fr 40px; } .lb-nav { font-size: 2rem; padding: 4px; } }

/* Arbre de tournoi */
#brackets:not(:empty) { margin-top: 96px; display: grid; gap: 72px; }
#brackets > * { min-width: 0; }
.bracket-block .head { margin-bottom: 28px; }
.bracket-block h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.champ-tag { color: var(--win); }
.bracket-scroll { overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.bracket { display: flex; gap: 36px; min-width: max-content; }
.b-round { display: flex; flex-direction: column; width: 220px; }
.b-round h4 { margin: 0 0 14px; font-family: var(--mono); font-size: .64rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.b-matches { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 16px; }
.b-match { position: relative; border: 1px solid var(--line-strong); background: var(--panel); }
.b-round:not(.champ) .b-match::after { content: ""; position: absolute; right: -37px; top: 50%; width: 36px; border-top: 1px solid var(--line-strong); }
.b-team { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; font-size: .9rem; min-height: 40px; }
.b-team + .b-team { border-top: 1px solid var(--line); }
.b-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-team b { font-family: var(--display); font-weight: 800; min-width: 1ch; text-align: right; }
.b-team.win { color: var(--text); background: rgba(var(--accent-rgb), .12); }
.b-team.win span { font-weight: 700; }
.b-team.win b { color: var(--accent); }
.b-team.lose { color: var(--dim); }
.b-team.empty { color: var(--dim); font-style: italic; font-size: .82rem; }
.b-score { width: 46px; flex: none; text-align: center; padding: 4px 6px; background: var(--night); color: var(--text); border: 1px solid var(--line-strong); font: inherit; font-weight: 700; }
.b-score:focus { border-color: var(--accent); outline: none; }
.b-round.champ { width: 200px; }
.b-champ { border: 1px dashed var(--line-strong); padding: 18px 14px; display: grid; gap: 10px; justify-items: center; text-align: center; color: var(--dim); }
.b-champ svg { width: 72px; aspect-ratio: 877.6 / 362.2; opacity: .4; }
.b-champ span { font-weight: 800; text-transform: uppercase; font-size: 1.05rem; }
.b-champ.on { border: 1px solid var(--accent); color: var(--text); background: linear-gradient(180deg, rgba(var(--accent-rgb), .18), transparent); }
.b-champ.on svg { opacity: 1; }
.u-team { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .u-row { flex-wrap: wrap; } .u-row .a-main { flex-basis: calc(100% - 60px); } .u-team { order: 3; justify-content: flex-start; margin-left: 58px; } }

/* ---------- Espace équipe ---------- */
.chip.team { color: var(--text); border-color: var(--line-strong); }
.chip.team:hover { color: var(--accent); border-color: var(--accent); }
.team-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.team-pick .chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.team-gate { border: 1px solid var(--line); background: var(--panel); padding: 32px; display: grid; gap: 20px; justify-items: start; }
.team-gate p { margin: 0; color: var(--text-soft); font-size: 1.05rem; }
.head > .week-nav, .week-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.week-nav .mono { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); min-width: 150px; text-align: center; }
.week-nav .chip { font-size: 1rem; padding: 6px 12px; }
.week-nav .btn { padding: 12px 18px; margin-left: 8px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); }
.wk-day { min-height: 150px; padding: 12px 10px; border-right: 1px solid var(--line); display: grid; align-content: start; gap: 8px; min-width: 0; }
.wk-day:last-child { border-right: 0; }
.wk-day > b { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.wk-day > b span { color: var(--text); font-weight: 700; }
.wk-day.today { background: rgba(var(--accent-rgb), .06); }
.wk-day.today > b span { color: var(--accent); }
.wk-none { color: var(--dim); }
.wk-ev { display: grid; gap: 2px; padding: 8px; background: var(--panel); border-left: 3px solid var(--accent); text-decoration: none; color: var(--text); min-width: 0; transition: background .2s; }
.wk-ev:hover { background: rgba(var(--accent-rgb), .12); }
.wk-ev time { font-family: var(--mono); font-size: .72rem; color: var(--accent); font-weight: 700; }
.wk-ev span { font-weight: 700; font-size: .9rem; line-height: 1.25; overflow-wrap: anywhere; }
.wk-ev small { color: var(--dim); font-size: .72rem; }
.wk-ev.t-scrim, .pill.t-scrim { border-color: #e0a526; }
.wk-ev.t-match, .pill.t-match { border-color: var(--accent); }
.wk-ev.t-entrainement, .pill.t-entrainement { border-color: #4c8dff; }
.wk-ev.t-review, .pill.t-review { border-color: #9a6bff; }
.wk-ev.t-autre, .pill.t-autre { border-color: var(--line-strong); }
@media (max-width: 900px) {
  .week { grid-template-columns: 1fr; }
  .wk-day { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 74px 1fr; align-items: start; }
  .wk-day:last-child { border-bottom: 0; }
  .wk-day > b { grid-row: span 9; padding-top: 8px; }
}
.ev-form { border: 1px solid var(--line-strong); background: var(--panel); padding: 24px; margin-bottom: 28px; }
.ev-form h3 { margin: 0 0 20px; font-size: 1.4rem; }
.ev-form textarea.box { min-height: 80px; }
.sessions { display: grid; gap: 14px; }
.session { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 24px; padding: 22px; background: var(--deep); border: 1px solid var(--line); scroll-margin-top: 100px; }
.session:target { border-color: var(--accent); }
.s-date { display: grid; justify-items: center; align-content: start; text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.s-date b { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.s-date span { font-family: var(--mono); text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; color: var(--accent); }
.s-date small { color: var(--dim); font-size: .75rem; margin-top: 4px; }
.s-main h3 { margin: 8px 0 4px; font-size: 1.3rem; overflow-wrap: anywhere; }
.s-meta { margin: 0; color: var(--muted); font-size: .8rem; }
.s-notes { margin: 10px 0 0; color: var(--text-soft); font-size: .92rem; overflow-wrap: anywhere; }
.s-who { margin-top: 12px; font-size: .88rem; }
.s-who summary { cursor: pointer; color: var(--muted); }
.who { margin: 6px 0 0; color: var(--text-soft); }
.who b { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; color: var(--muted); }
.who.w b { color: var(--win); } .who.l b { color: var(--loss); }
.who i { color: var(--dim); }
.s-side { display: grid; gap: 10px; align-content: start; justify-items: end; min-width: 260px; }
.rsvp { display: flex; border: 1px solid var(--line-strong); }
.rsvp button { background: transparent; border: 0; border-right: 1px solid var(--line-strong); padding: 10px 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.rsvp button:last-child { border-right: 0; }
.rsvp button:hover { color: var(--text); }
.rsvp button[data-v="oui"][aria-pressed="true"] { background: var(--win); color: #fff; }
.rsvp button[data-v="peut-etre"][aria-pressed="true"] { background: var(--muted); color: var(--night); }
.rsvp button[data-v="non"][aria-pressed="true"] { background: var(--loss); color: #fff; }
.s-comment { padding: 8px 10px; font-size: .85rem; }
.s-admin { display: flex; gap: 8px; }
@media (max-width: 760px) {
  .session { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .s-date { padding-right: 12px; }
  .s-date b { font-size: 1.8rem; }
  .s-side { grid-column: 1 / -1; justify-items: stretch; min-width: 0; }
  .rsvp button { flex: 1; }
}
.hint-line { margin: -28px 0 28px; }
.hint-line a { color: var(--accent); }
.dispo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .dispo-grid { grid-template-columns: 1fr; } }
.small-title { font-size: 1.3rem; margin: 0; display: flex; gap: 12px; align-items: baseline; }
.small-title .note { font-size: .8rem; font-weight: 400; }
.dispo-grid .sub { margin: 8px 0 20px; }
.dispos { display: grid; grid-template-columns: 84px repeat(7, minmax(0, 1fr)); gap: 4px; }
.dispos > b { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; font-weight: 400; }
.dispos .slot { font-size: .85rem; font-weight: 700; display: grid; line-height: 1.2; align-content: center; }
.dispos .slot small { color: var(--dim); font-weight: 400; font-size: .68rem; }
.dispos button, .dispos .cell { height: 44px; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background .15s; }
.dispos button:hover { border-color: var(--line-strong); }
.dispos button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.dispos .cell { cursor: default; display: grid; place-items: center; font-family: var(--mono); font-size: .7rem; background: rgba(var(--accent-rgb), calc(var(--a) * .85)); color: var(--text); }
