@import url("vendor/fonts/barlow-italic.css"); /* #57 style 1 : titres en italique */
/* ============================================================================
   Rift Ready — SYSTÈME DE COMPOSANTS des pages hors drafters (#49)
   Chargé seulement par les pages (accueil, Mon pool, Préparer un match, Vérifier les données, Compte, FAQ, mentions),
   et chaque règle commence par `body.page` : les drafters (SoloQ, compétition, drafter de préparation) n'en héritent pas.

   Palette : bleu nuit #081426 (fond), ivoire chaud #E8E1D2 (texte), bleu azur #248BE8 (actions, sélection, focus).
   Espacements 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 px ; rayons 8 (contrôles) / 12 (cartes) / 16 (grands panneaux).
   Transitions 150 ms ; rien ne bouge si « réduire les animations ».
============================================================================ */
body.page {
  /* --- jetons --- */
  --rr-night: #081426;      /* fond de page */
  --rr-night-2: #0b1a31;
  --rr-surface: #0f203a;    /* panneaux de contenu */
  --rr-surface-2: #152a4a;  /* contrôles, cartes dans un panneau */
  --rr-overlay: #13284a;    /* menus, fenêtres */
  --rr-ivory: #e8e1d2;      /* texte principal (≈ 14:1 sur le fond) */
  --rr-ivory-2: #bdb6a8;    /* texte secondaire (≈ 9:1) */
  --rr-ivory-3: #9a948a;    /* aides, légendes (≈ 6:1) */
  --rr-azure: #248be8;      /* accent : sélection, focus, liens */
  --rr-azure-text: #6db5f5; /* accent lisible en texte (≈ 7:1) */
  --rr-azure-btn: #1a6cba;  /* fond du bouton principal (blanc ≈ 5,6:1) */
  --rr-azure-btn-hi: #1d78cc;
  --rr-danger: #ff6b78;
  --rr-ok: #4fd18b;
  --rr-line: rgba(232, 225, 210, 0.1);
  --rr-line-2: rgba(232, 225, 210, 0.18);
  --rr-line-3: rgba(232, 225, 210, 0.3);
  --rr-r-sm: 8px; --rr-r-md: 12px; --rr-r-lg: 16px;
  --rr-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.35);
  --rr-shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 24px 60px rgba(0, 0, 0, 0.5);
  --rr-ease: 150ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --rr-focus: 0 0 0 3px rgba(var(--rr-accent-rgb), 0.35);
  --rr-accent-rgb: 36, 139, 232; --rr-hover: #1b3459; --rr-field: #0a1830; --rr-btn-ink: #fff;

  /* --- anciens jetons (styles.css / pages.css) ramenés sur la palette --- */
  --navy: var(--rr-night); --void: #060f1e; --panel: rgba(15, 32, 58, 0.94); --panel-solid: var(--rr-surface); --panel-2: var(--rr-surface-2);
  --gold-1: var(--rr-ivory); --gold-2: var(--rr-azure-text); --gold-3: var(--rr-azure); --gold-4: #2b4469; --gold-5: #1a2d4c;
  --accent-rgb: 36, 139, 232; --accent-2-rgb: 36, 139, 232; --line-rgb: 120, 145, 180;
  --line: var(--rr-line-2); --line-soft: var(--rr-line);
  --grey-1: var(--rr-ivory-2); --grey-2: var(--rr-ivory-3);
  --blue-1: #d6e9fc; --blue-2: var(--rr-azure); --blue-3: var(--rr-azure); --blue-4: var(--rr-azure-btn); --blue-5: #0d2a52;
  --btn-a: var(--rr-azure-btn); --btn-b: var(--rr-azure-btn); --btn-line: transparent; --btn-a-hover: var(--rr-azure-btn-hi); --btn-b-hover: var(--rr-azure-btn-hi);

  background: var(--rr-night);
  color: var(--rr-ivory);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
}

/* ---------- typographie : titre de page > section > carte > texte > label > secondaire ---------- */
body.page h1 { font-family: var(--title); font-weight: 700; letter-spacing: 0.01em; }
body.page :is(h2, h3, h4) { color: var(--rr-ivory); }
body.page .panel-title, body.page .a-title { font-family: var(--title); font-weight: 700; text-transform: none; letter-spacing: 0.01em; }
body.page .a-title { font-size: 1.05rem; color: var(--rr-ivory); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
body.page .a-title .hint, body.page .hint-line, body.page .a-intro, body.page .note { color: var(--rr-ivory-3); }
body.page .a-title .hint { font-family: var(--ui); font-size: 0.78rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
body.page .a-intro, body.page p { line-height: 1.55; }
body.page a { color: var(--rr-azure-text); }
body.page small { color: var(--rr-ivory-3); }

/* ---------- boutons : principal · secondaire · discret · destructif ---------- */
body.page .hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  font-family: var(--ui); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.005em; text-transform: none; line-height: 1;
  color: var(--rr-ivory); background: var(--rr-surface-2); border: 1px solid var(--rr-line-2); border-image: none; border-radius: var(--rr-r-sm);
  transition: background-color var(--rr-ease), border-color var(--rr-ease), color var(--rr-ease), box-shadow var(--rr-ease);
}
body.page .hx-btn svg { width: 16px; height: 16px; flex: none; }
body.page .hx-btn:hover { background: var(--rr-hover); border-color: var(--rr-line-3); color: #fff; }
body.page .hx-btn:active { background: #11253f; }
body.page .hx-btn:focus-visible { outline: none; box-shadow: var(--rr-focus); border-color: var(--rr-azure); }
body.page .hx-btn.small { min-height: 32px; padding: 0 12px; font-size: 0.82rem; }
body.page .hx-btn.primary { color: var(--rr-btn-ink); background: var(--rr-azure-btn); border-color: transparent; border-image: none; }
body.page .hx-btn.primary:hover { background: var(--rr-azure-btn-hi); }
body.page .hx-btn.primary:active { background: #175fa4; }
body.page .hx-btn[aria-pressed="true"], body.page .hx-btn.on { color: #fff; border-color: var(--rr-azure); background: rgba(var(--rr-accent-rgb), 0.16); border-image: none; }
body.page .hx-btn:disabled, body.page .hx-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
body.page .hx-btn.danger, body.page .hx-btn.rp-danger { color: #ffc9cf; background: transparent; border-color: rgba(255, 107, 120, 0.5); }
body.page .hx-btn.danger:hover, body.page .hx-btn.rp-danger:hover { background: rgba(255, 107, 120, 0.12); border-color: var(--rr-danger); color: #fff; }
body.page .hx-btn.busy { position: relative; color: transparent; }
body.page .hx-btn.busy::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: rr-spin 0.7s linear infinite; }
@keyframes rr-spin { to { transform: rotate(360deg); } }
body.page .link-btn { color: var(--rr-azure-text); font-weight: 700; border-radius: 4px; }
body.page .link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
body.page .link-btn:focus-visible, body.page .back-link:focus-visible { outline: none; box-shadow: var(--rr-focus); }
body.page .icon-btn { border-radius: var(--rr-r-sm); border: 1px solid var(--rr-line-2); background: var(--rr-surface-2); transition: background-color var(--rr-ease), border-color var(--rr-ease); }
body.page .icon-btn:hover { border-color: var(--rr-line-3); background: var(--rr-hover); }
body.page .icon-btn:focus-visible { outline: none; box-shadow: var(--rr-focus); }

/* ---------- boutons segmentés (onglets, Ce poste / Tous…) ---------- */
body.page .seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--rr-night-2); border: 1px solid var(--rr-line); border-radius: 10px; }
body.page .seg button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--rr-ivory-2); font-weight: 700; font-size: 0.84rem; cursor: pointer; transition: background-color var(--rr-ease), color var(--rr-ease); }
body.page .seg button:hover { color: var(--rr-ivory); background: rgba(232, 225, 210, 0.06); }
body.page .seg button[aria-pressed="true"] { color: #fff; background: var(--rr-surface-2); box-shadow: inset 0 0 0 1px var(--rr-azure); }
body.page .seg button:focus-visible { outline: none; box-shadow: var(--rr-focus); }
body.page .page-switch { display: inline-flex; gap: 4px; padding: 3px; background: var(--rr-night-2); border: 1px solid var(--rr-line); border-radius: 10px; }
body.page .page-switch a { padding: 7px 14px; border-radius: 7px; color: var(--rr-ivory-2); text-decoration: none; font-weight: 700; font-size: 0.88rem; text-transform: none; letter-spacing: 0; border: 0; }
body.page .page-switch a:hover { color: var(--rr-ivory); background: rgba(232, 225, 210, 0.06); }
body.page .page-switch a[aria-current="page"] { color: #fff; background: var(--rr-surface-2); box-shadow: inset 0 0 0 1px var(--rr-azure); }
body.page .page-switch a:focus-visible { outline: none; box-shadow: var(--rr-focus); }

/* ---------- champs ---------- */
body.page :is(input[type="text"], input[type="search"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], select, textarea) {
  min-height: 40px; padding: 0 12px; font: inherit; font-size: 0.92rem; color: var(--rr-ivory);
  background: var(--rr-field); border: 1px solid var(--rr-line-2); border-radius: var(--rr-r-sm);
  transition: border-color var(--rr-ease), box-shadow var(--rr-ease);
}
body.page textarea { padding: 10px 12px; line-height: 1.5; }
body.page :is(input, select, textarea)::placeholder { color: var(--rr-ivory-3); opacity: 1; }
body.page :is(input[type="text"], input[type="search"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], select, textarea):hover { border-color: var(--rr-line-3); }
body.page :is(input[type="text"], input[type="search"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], select, textarea):focus { outline: none; border-color: var(--rr-azure); box-shadow: var(--rr-focus); }
body.page :is(input, select, textarea)[aria-invalid="true"] { border-color: var(--rr-danger); }
body.page .search { border-radius: var(--rr-r-sm); }
body.page .field > span, body.page label > span:first-child { color: var(--rr-ivory-2); font-weight: 700; font-size: 0.82rem; }
body.page .acc-err { border-radius: var(--rr-r-sm); }

/* ---------- panneaux et cartes : fonds opaques, un seul cadre ---------- */
body.page :is(.my-pool, .pool-picker, .pool-right, .acc-card, .legal) {
  background: var(--rr-surface); border: 1px solid var(--rr-line); border-radius: var(--rr-r-lg); box-shadow: var(--rr-shadow); border-image: none;
}
body.page .pool-right { padding: 20px 20px 24px; }
body.page .a-section { padding: 16px 0; border-top: 1px solid var(--rr-line); }
body.page .a-section:first-of-type { border-top: 0; }
body.page :is(.when-card, .sugg, .prop, .plan-detail, .cov-row, .combo-card, .dv-champ, .riot-row) { border-radius: var(--rr-r-md); }
body.page :is(.when-card, .sugg, .prop, .plan-detail) { background: var(--rr-surface-2); border: 1px solid var(--rr-line); }
body.page .sugg { transition: border-color var(--rr-ease), background-color var(--rr-ease); }
body.page .sugg:hover { border-color: var(--rr-line-3); background: #1a3156; }
body.page .tag { border-radius: 999px; padding: 2px 8px; }
body.page .tile-img { border-radius: 10px; border-color: var(--rr-line-2); }
body.page .tile:hover .tile-img, body.page .tile.open .tile-img { border-color: var(--rr-azure); }
body.page .tile:focus-visible { outline: none; }
body.page .tile:focus-visible .tile-img { box-shadow: var(--rr-focus); border-color: var(--rr-azure); }
body.page .pool-card { border-radius: var(--rr-r-md); }
body.page :is(.hf-chip, .dv-chip) { border-radius: 999px; }
body.page :is(.hf-chip, .dv-chip)[aria-pressed="true"] { border-color: var(--rr-azure); background: rgba(var(--rr-accent-rgb), 0.16); color: #fff; }
body.page .role-tab { border-radius: var(--rr-r-sm); }
body.page .role-tab[aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--rr-azure); }
body.page .flash { border-radius: var(--rr-r-md); background: var(--rr-overlay); border: 1px solid var(--rr-line-2); box-shadow: var(--rr-shadow-lg); color: var(--rr-ivory); }
body.page .page-loading { color: var(--rr-ivory-2); }

/* ---------- barre du haut des pages ---------- */
body.page .pool-bar { gap: 16px; padding: 12px 20px; background: rgba(8, 20, 38, 0.92); border-bottom: 1px solid var(--rr-line); }
body.page .pool-bar h1 { font-size: 1.15rem; letter-spacing: 0.02em; text-transform: none; }
body.page .acc-link { border-radius: var(--rr-r-sm); }

/* ---------- fenêtres (dialog.js) ---------- */
body.page .dlg-back { background: rgba(4, 10, 20, 0.7); }
body.page .dlg { background: var(--rr-overlay); border: 1px solid var(--rr-line-2); border-radius: var(--rr-r-lg); box-shadow: var(--rr-shadow-lg); padding: 24px; }
body.page .dlg h2, body.page .dlg-title { font-family: var(--title); font-size: 1.2rem; text-transform: none; letter-spacing: 0.01em; color: var(--rr-ivory); }
body.page .dlg-btn { min-height: 40px; border-radius: var(--rr-r-sm); border: 1px solid var(--rr-line-2); background: var(--rr-surface-2); color: var(--rr-ivory); text-transform: none; letter-spacing: 0; }
body.page .dlg-btn:hover { background: var(--rr-hover); }
body.page .dlg-btn.ok { background: var(--rr-azure-btn); border-color: transparent; color: var(--rr-btn-ink); }
body.page .dlg-btn.ok:hover { background: var(--rr-azure-btn-hi); }
body.page .dlg-btn.danger { background: #b3283a; border-color: transparent; color: #fff; }
body.page .dlg-btn:focus-visible { outline: none; box-shadow: var(--rr-focus); }

/* ---------- accueil ---------- */
body.page .wordmark span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--rr-ivory); } /* texte plein (plus de dégradé) */
body.page .home-head h1.wordmark { filter: none; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
body.page .home-head p { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
body.page .home-tag::before { background: linear-gradient(90deg, transparent, var(--rr-azure)); }
body.page .home-tag::after { background: linear-gradient(90deg, var(--rr-azure), transparent); }
body.page .modes { gap: 24px; align-items: stretch; }
body.page .mode { min-height: 440px; padding: 24px; border-radius: var(--rr-r-lg); border: 1px solid var(--rr-line-2); justify-content: flex-end; gap: 8px;
  transition: border-color var(--rr-ease), transform var(--rr-ease), box-shadow var(--rr-ease); box-shadow: var(--rr-shadow); }
body.page .mode::before { border-radius: inherit; background: linear-gradient(180deg, rgba(8, 20, 38, 0) 22%, rgba(8, 20, 38, 0.86) 58%, rgba(8, 20, 38, 0.97) 100%); }
body.page .mode::after { display: none; } /* plus de double cadre */
body.page .mode:hover { border-color: rgba(var(--rr-accent-rgb), 0.75); transform: translateY(-2px); box-shadow: var(--rr-shadow-lg); }
body.page .mode:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--rr-accent-rgb), 0.55), var(--rr-shadow-lg); }
body.page .mode-kicker { color: var(--rr-azure-text); font-size: 0.76rem; letter-spacing: 0.12em; text-shadow: none; }
body.page .mode-title { font-size: 1.85rem; letter-spacing: 0.02em; }
body.page .mode-text { color: var(--rr-ivory-2); font-size: 0.92rem; line-height: 1.5; min-height: 6em; /* #53 : 4 lignes pour toutes les cartes : titres alignés */ }
body.page .mode-cta { margin-top: 8px; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--rr-r-sm);
  font-family: var(--ui); font-size: 0.9rem; font-weight: 700; letter-spacing: 0; text-transform: none; background: var(--rr-azure-btn); border: 0; color: var(--rr-btn-ink); transition: background-color var(--rr-ease); }
body.page .mode:hover .mode-cta { background: var(--rr-azure-btn-hi); }
body.page .home-foot { gap: 8px 20px; color: var(--rr-ivory-3); font-size: 0.82rem; }
body.page .foot-link { color: var(--rr-ivory-2); }
body.page .foot-link:hover { color: var(--rr-ivory); }
body.page .lang-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--rr-line); border-radius: 8px; background: rgba(8, 20, 38, 0.7); }
body.page .lang-switch button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 6px; background: transparent; color: var(--rr-ivory-2); font: inherit; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
body.page .lang-switch button[aria-pressed="true"] { color: #fff; background: var(--rr-surface-2); box-shadow: inset 0 0 0 1px var(--rr-azure); }
body.page .lang-switch button:focus-visible { outline: none; box-shadow: var(--rr-focus); }

/* ---------- pages de lecture (FAQ, mentions) ---------- */
body.page .legal { padding: 32px clamp(20px, 4vw, 48px) 40px; margin-block: 24px 48px; }
body.page .legal h2 { font-family: var(--title); font-size: 1.35rem; text-transform: none; letter-spacing: 0.01em; margin: 32px 0 8px; }
body.page .legal h3 { font-size: 1rem; margin: 20px 0 4px; }
body.page .legal ol { padding-left: 1.3rem; line-height: 1.6; }
body.page .legal code { padding: 1px 6px; border-radius: 4px; background: var(--rr-surface-2); color: var(--rr-ivory); font-size: 0.86em; }
body.page .legal-toc a { border-radius: 999px; }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  body.page *, body.page *::before, body.page *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  body.page .mode:hover { transform: none; }
}
/* ---------- téléphone : zones de clic confortables ---------- */
@media (pointer: coarse) {
  body.page .hx-btn, body.page .seg button, body.page .page-switch a { min-height: 44px; }
}

/* #49 : les cartes de l'accueil sont des liens : leurs textes ne prennent pas la couleur des liens (titres en ivoire, comme le logo) */
body.page a.mode { color: var(--rr-ivory); text-decoration: none; }
body.page .mode-title { color: var(--rr-ivory); }

/* #49 : 4 cartes sur l'accueil */
body.page .modes { grid-template-columns: repeat(4, minmax(0, 300px)); }
@media (max-width: 1320px) { body.page .modes { grid-template-columns: repeat(2, minmax(0, 340px)); } }
@media (max-width: 760px) { body.page .modes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1080px) { body.page .mode { min-height: 300px; } }

/* ============================================================================
   #51 — Toutes les pages SAUF l'accueil passent au style sombre et or des drafters (demande de l'utilisateur :
   il préfère ce style au bleu). #52 : l'accueil aussi (fond noir et or fourni par l'utilisateur).
============================================================================ */
body.page {
  --rr-night: #0a0c10; --rr-night-2: #0e1116; --rr-surface: #13161c; --rr-surface-2: #1b1f27; --rr-overlay: #1a1d24;
  --rr-ivory: #f0e6d2; --rr-ivory-2: #c4bcab; --rr-ivory-3: #948d80;
  --rr-azure: #c8aa6e; --rr-azure-text: #e2c98f; --rr-azure-btn: #c8aa6e; --rr-azure-btn-hi: #d8bc82; --rr-btn-ink: #17120a;
  --rr-accent-rgb: 200, 170, 110; --rr-hover: #242934; --rr-field: #0e1015;
  --rr-line: rgba(200, 170, 110, 0.14); --rr-line-2: rgba(200, 170, 110, 0.26); --rr-line-3: rgba(200, 170, 110, 0.45);
  --rr-r-sm: 3px; --rr-r-md: 4px; --rr-r-lg: 6px;
  --void: #07080b; --panel: rgba(19, 22, 28, 0.94); --gold-4: #785a28; --gold-5: #3a2c14;
  --accent-rgb: 200, 170, 110; --accent-2-rgb: 200, 155, 60; --line-rgb: 120, 90, 40;
  --blue-1: #f0e6d2; --blue-5: #2a2112;
}
body.page h1, body.page .a-title, body.page .panel-title { font-family: var(--cast, var(--title)); letter-spacing: 0.04em; }
body.page .hx-btn.primary { font-family: var(--cast, var(--ui)); text-transform: uppercase; letter-spacing: 0.06em; }

/* #52 — corrections de l'audit */
body.page .search input { padding-left: 34px; }                       /* la loupe ne recouvre plus « Rechercher » */
body.page .link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; } /* « Détails » lisible */
body.page .tag { color: var(--rr-ivory); background: rgba(var(--rr-accent-rgb), 0.12); border: 1px solid rgba(var(--rr-accent-rgb), 0.35); }
body.page .pool-bar { background: rgba(10, 12, 16, 0.94); }           /* barres de page : plus de bleu nuit */
body.page .mode::before { background: linear-gradient(180deg, rgba(8, 9, 12, 0) 22%, rgba(8, 9, 12, 0.86) 58%, rgba(8, 9, 12, 0.97) 100%); }
body.page .lang-switch { background: rgba(10, 12, 16, 0.7); }
/* #53 : rappel « sans compte, rien n'est gardé » */
.guest-bar { position: relative; z-index: 50; padding: 8px max(16px, env(safe-area-inset-left, 0px)); text-align: center; font: 600 0.84rem var(--ui, sans-serif);
  color: #17120a; background: #c8aa6e; }
.guest-bar a { color: #17120a; font-weight: 800; margin-left: 6px; }

/* ============================================================================
   #57 — STYLE 1 « SALLE DE BRIEFING ESPORT » (décision de l'utilisateur, 18/11) : toutes les pages hors drafters.
   Noir antenne, titres condensés en capitales, biseaux, bleu / rouge des sides, jaune « antenne » pour ce qui compte.
   Les drafters (SoloQ, compétition, drafter de préparation) ne chargent pas ui.css : rien ne change chez eux.
============================================================================ */
body.page {
  --s1-ink: #0a0b0e; --s1-deck: #121419; --s1-deck-2: #1a1d24; --s1-deck-3: #22262f; --s1-line: #2a2e38;
  --s1-white: #f4f2ee; --s1-mute: #9aa0ab; --s1-blue: #2a7dff; --s1-red: #f0304a; --s1-hot: #ffd23f;
  --s1-cast: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --s1-bevel: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  --s1-bevel-s: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  --s1-corner: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);

  --rr-night: var(--s1-ink); --rr-night-2: #0e1014; --rr-surface: var(--s1-deck); --rr-surface-2: var(--s1-deck-2); --rr-overlay: var(--s1-deck-2);
  --rr-ivory: var(--s1-white); --rr-ivory-2: #c9ccd2; --rr-ivory-3: var(--s1-mute);
  --rr-azure: var(--s1-blue); --rr-azure-text: #8cb8ff; --rr-azure-btn: var(--s1-white); --rr-azure-btn-hi: var(--s1-hot); --rr-btn-ink: var(--s1-ink);
  --rr-accent-rgb: 42, 125, 255; --rr-hover: var(--s1-deck-3); --rr-field: var(--s1-ink);
  --rr-line: rgba(255, 255, 255, 0.07); --rr-line-2: var(--s1-line); --rr-line-3: #444a57;
  --rr-r-sm: 0; --rr-r-md: 0; --rr-r-lg: 0;
  --rr-shadow: none; --rr-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --rr-focus: 0 0 0 2px var(--s1-ink), 0 0 0 4px var(--s1-hot);
  --void: #07080a; --panel: var(--s1-deck); --panel-solid: var(--s1-deck); --panel-2: var(--s1-deck-2);
  --gold-1: var(--s1-white); --gold-2: var(--s1-hot); --gold-3: var(--s1-blue); --gold-4: var(--s1-line); --gold-5: var(--s1-deck-2);
  --accent-rgb: 42, 125, 255; --accent-2-rgb: 255, 210, 63; --line-rgb: 120, 128, 145;
  --blue-1: var(--s1-white); --blue-2: var(--s1-blue); --blue-3: var(--s1-blue); --blue-4: var(--s1-blue); --blue-5: #0d1a33;
  --title: var(--s1-cast); --cast: var(--s1-cast);
  background: var(--s1-ink);
}
body.page :focus-visible { outline: 2px solid var(--s1-hot); outline-offset: 2px; }

/* ---------- typographie : titres d'antenne ---------- */
body.page h1, body.page .a-title, body.page .panel-title, body.page :is(h2, h3) {
  font-family: var(--s1-cast); text-transform: uppercase; letter-spacing: 0.06em;
}
body.page h1 { font-weight: 800; }
body.page .a-title, body.page .panel-title { font-weight: 800; font-size: 0.98rem; letter-spacing: 0.12em; color: var(--s1-white); }
body.page .a-title { justify-content: flex-start; align-items: center; }
body.page .a-title::before, body.page .panel-title::before {
  content: ""; flex: none; display: inline-block; width: 13px; height: 13px; margin-right: 10px; vertical-align: -1px;
  background: var(--s1-c, var(--s1-white)); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
body.page .a-title .hint { margin-left: auto; font-family: var(--ui); text-transform: none; letter-spacing: 0; color: var(--s1-mute); }
body.page a { color: var(--rr-azure-text); }

/* ---------- boutons : capitales condensées, principal blanc biseauté ---------- */
body.page .hx-btn {
  min-height: 40px; padding: 0 18px; border-radius: 0; font-family: var(--s1-cast); font-weight: 800; font-size: 0.92rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: transparent; border: 1px solid var(--s1-line);
}
body.page .hx-btn:hover { background: var(--s1-deck-2); border-color: #4a5060; color: #fff; }
body.page .hx-btn:active { background: var(--s1-deck-3); }
body.page .hx-btn:focus-visible { box-shadow: none; outline: 2px solid var(--s1-hot); outline-offset: 2px; border-color: var(--s1-line); }
body.page .hx-btn.small { min-height: 34px; padding: 0 14px; font-size: 0.82rem; }
body.page .hx-btn.primary { color: var(--s1-ink); background: var(--s1-white); border-color: var(--s1-white); clip-path: var(--s1-bevel); padding-inline: 26px; }
body.page .hx-btn.primary.small { padding-inline: 20px; clip-path: var(--s1-bevel-s); }
body.page .hx-btn.primary:hover { background: var(--s1-hot); border-color: var(--s1-hot); color: var(--s1-ink); }
body.page .hx-btn.primary:active { background: #e8bd2a; }
body.page .hx-btn.primary:focus-visible { outline: none; background: var(--s1-hot); border-color: var(--s1-hot); }
body.page .hx-btn[aria-pressed="true"], body.page .hx-btn.on { color: #fff; background: var(--s1-deck-2); border-color: var(--s1-blue); box-shadow: inset 3px 0 0 var(--s1-blue); }
body.page .hx-btn.danger, body.page .hx-btn.rp-danger { color: #ffb3bd; background: transparent; border-color: rgba(240, 48, 74, 0.55); }
body.page .hx-btn.danger:hover, body.page .hx-btn.rp-danger:hover { background: var(--s1-red); border-color: var(--s1-red); color: #fff; }
body.page .hx-btn.busy::after { border-color: rgba(10, 11, 14, 0.3); border-top-color: var(--s1-ink); }
body.page .icon-btn { border-radius: 0; background: transparent; border-color: var(--s1-line); }
body.page .icon-btn:hover { background: var(--s1-deck-2); border-color: #4a5060; }
body.page .link-btn { color: var(--rr-azure-text); }

/* ---------- segments et onglets ---------- */
body.page .seg { padding: 0; gap: 0; border-radius: 0; background: transparent; border: 1px solid var(--s1-line); }
body.page .seg button { min-height: 34px; padding: 0 14px; border-radius: 0; font-family: var(--s1-cast); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-mute); }
body.page .seg button + button { border-left: 1px solid var(--s1-line); }
body.page .seg button:hover { background: var(--s1-deck-2); color: var(--s1-white); }
body.page .seg button[aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); box-shadow: none; }
body.page .page-switch { padding: 0; gap: 0; border-radius: 0; background: transparent; border: 1px solid var(--s1-line); }
body.page .page-switch a { border-radius: 0; font-family: var(--s1-cast); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-mute); background: transparent; }
body.page .page-switch a + a { border-left: 0; }
body.page .page-switch a:hover { color: var(--s1-white); background: var(--s1-deck-2); }
body.page .page-switch a:is([aria-current="page"], [aria-selected="true"]) { color: var(--s1-ink); background: var(--s1-white); box-shadow: none; clip-path: var(--s1-bevel-s); }
body.page .role-tab { border-radius: 0; }
body.page .role-tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--s1-hot); }

/* ---------- champs ---------- */
body.page :is(input[type="text"], input[type="search"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], select, textarea) {
  border-radius: 0; background: var(--s1-ink); border: 1px solid var(--s1-line);
}
body.page :is(input[type="text"], input[type="search"], input[type="password"], input[type="email"], input[type="number"], input[type="url"], select, textarea):focus { border-color: var(--s1-white); box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .field > span, body.page label > span:first-child { font-family: var(--s1-cast); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .search { border-radius: 0; }

/* ---------- panneaux : à plat, sans cadre ---------- */
body.page :is(.my-pool, .pool-picker, .pool-right, .acc-card) { background: var(--s1-deck); border: 0; border-radius: 0; box-shadow: none; }
body.page :is(.when-card, .sugg, .prop, .plan-detail, .cov-row, .combo-card, .dv-champ, .riot-row, .pool-card) { border-radius: 0; }
body.page :is(.when-card, .sugg, .prop, .plan-detail) { background: var(--s1-deck-2); border: 0; box-shadow: inset 3px 0 0 var(--s1-line); }
body.page .sugg:hover { background: var(--s1-deck-3); box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .a-section { border-top-color: rgba(255, 255, 255, 0.06); }
body.page .tag { border-radius: 0; font-family: var(--s1-cast); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-white); background: var(--s1-deck-3); border: 0; }
body.page :is(.hf-chip, .dv-chip) { border-radius: 0; font-family: var(--s1-cast); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
body.page :is(.hf-chip, .dv-chip)[aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); border-color: var(--s1-white); }
body.page .tile-img { border-radius: 0; }
body.page .tile:hover .tile-img, body.page .tile.open .tile-img { border-color: var(--s1-white); }
body.page .flash { border-radius: 0; background: var(--s1-white); color: var(--s1-ink); border: 0; font-weight: 700; }
body.page table th { font-family: var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- en-tête commun : logo · rubriques · langue · compte ---------- */
body.page .rr-top {
  position: sticky; top: 0; z-index: 45; display: flex; align-items: stretch; gap: 20px; height: 60px; padding: 0 20px;
  background: #08090b; border-bottom: 1px solid var(--s1-line);
}
body.page .rr-brand { display: flex; align-items: center; gap: 10px; color: var(--s1-white); text-decoration: none; flex: none; }
body.page .rr-brand img { width: 34px; height: 34px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); }
body.page .rr-wm { display: flex; gap: 6px; font: italic 800 1.4rem/1 var(--s1-cast); text-transform: uppercase; letter-spacing: 0.01em; }
body.page .rr-wm span { font-weight: 700; letter-spacing: 0.08em; color: #cfd2d8; }
body.page .rr-brand:hover .rr-wm b { color: var(--s1-hot); }
body.page .rr-hubs { display: flex; align-items: stretch; gap: 2px; margin-left: 10px; }
body.page .rr-hubs a {
  position: relative; display: flex; align-items: center; padding: 0 14px; font: 700 0.95rem/1 var(--s1-cast);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-mute); text-decoration: none; white-space: nowrap;
}
body.page .rr-hubs a:hover { color: var(--s1-white); }
body.page .rr-hubs a[aria-current] { color: var(--s1-white); }
body.page .rr-hubs a[aria-current]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 4px; background: var(--s1-hot); }
body.page .rr-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
body.page .rr-pill, body.page .rr-top .acc-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--s1-line); border-radius: 0;
  font: 700 0.8rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: transparent; text-decoration: none; margin: 0;
}
body.page .rr-pill:hover, body.page .rr-top .acc-link:hover { border-color: var(--s1-white); color: #fff; }
body.page .rr-pill svg { width: 16px; height: 16px; }
body.page .rr-top .lang-switch { padding: 0; gap: 0; border: 1px solid var(--s1-line); border-radius: 0; background: transparent; }
body.page .rr-top .lang-switch button { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 0; font-family: var(--s1-cast); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--s1-mute); }
body.page .rr-top .lang-switch button[aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); box-shadow: none; }
body.page .rr-top .hx-btn { min-height: 36px; }
/* #57 (23/11, audit) : l'en-tête tient de 861 à 1280 px (« Compte » était coupé à 1024 px) */
@media (max-width: 1280px) and (min-width: 861px) {
  body.page .rr-top { gap: 12px; padding: 0 14px; }
  body.page .rr-hubs { margin-left: 4px; }
  body.page .rr-hubs a { padding: 0 10px; font-size: 0.88rem; }
  body.page .rr-tools { gap: 6px; }
  body.page .rr-pill, body.page .rr-top .acc-link { padding: 0 10px; }
}
@media (max-width: 1120px) and (min-width: 861px) {
  body.page .rr-wm { display: none; }
  body.page .rr-pill > span, body.page .rr-top .acc-link > span:not(:only-child) { display: none; }
}
/* barre des onglets de la rubrique */
body.page .rr-sub {
  display: flex; align-items: stretch; gap: 2px; height: 46px; padding: 0 22px; margin: 0; flex-wrap: nowrap; overflow-x: auto;
  background: var(--s1-deck); border: 0; border-bottom: 1px solid var(--s1-line); border-radius: 0; scrollbar-width: none;
}
body.page .rr-sub::-webkit-scrollbar { display: none; }
body.page .rr-sub a { display: flex; align-items: center; padding: 0 16px; font-size: 0.86rem; white-space: nowrap; }
body.page .rr-sub a:hover { background: transparent; }
@media (max-width: 860px) {
  body.page .rr-top { flex-wrap: wrap; height: auto; gap: 0 12px; padding: 0 12px; }
  body.page .rr-brand { height: 52px; }
  body.page .rr-hubs { order: 3; width: calc(100% + 24px); margin: 0 -12px; padding: 0 2px; overflow-x: auto; border-top: 1px solid var(--s1-line); scrollbar-width: none; }
  body.page .rr-hubs a { min-height: 44px; padding: 0 12px; font-size: 0.88rem; }
  body.page .rr-sub { padding: 0 10px; }
  body.page .rr-sub a { padding: 0 12px; }
}
@media (max-width: 520px) {
  body.page .rr-wm span { display: none; }
  body.page .rr-pill span { display: none; }
  body.page .rr-top .lang-switch button span { display: none; }
}

/* ---------- fenêtres ---------- */
body.page .dlg { border-radius: 0; border: 0; border-top: 4px solid var(--s1-white); background: var(--s1-deck-2); }
body.page .dlg h2, body.page .dlg-title { font-family: var(--s1-cast); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--s1-white); }
body.page .dlg-btn { border-radius: 0; font-family: var(--s1-cast); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: transparent; border-color: var(--s1-line); }
body.page .dlg-btn.ok { background: var(--s1-white); color: var(--s1-ink); clip-path: var(--s1-bevel); }
body.page .dlg-btn.ok:hover { background: var(--s1-hot); }
body.page .dlg-btn.danger { background: var(--s1-red); clip-path: var(--s1-bevel); }

/* ---------- pages de lecture (FAQ, mentions) ---------- */
body.page .legal { background: transparent; border: 0; box-shadow: none; border-radius: 0; color: #d6d3cc; }
body.page .legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 0.95; color: var(--s1-white); }
body.page .legal h2 { font-size: 1.6rem; font-weight: 800; color: var(--s1-white); }
body.page .legal h3 { font-family: var(--s1-cast); font-size: 1.15rem; text-transform: none; letter-spacing: 0.02em; }
body.page .legal-toc { gap: 4px; border-bottom: 0; }
body.page .legal-toc a { border-radius: 0; padding: 9px 12px; font: 700 0.86rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: var(--s1-deck); text-decoration: none; }
body.page .legal-toc a:first-child { background: var(--s1-blue); }
body.page .legal-toc a:hover { background: var(--s1-white); color: var(--s1-ink); text-decoration: none; }
body.page .legal-riot { font-style: normal; border: 0; border-left: 4px solid var(--s1-red); background: var(--s1-deck); color: var(--s1-mute); }
body.page .legal code { border-radius: 0; background: var(--s1-deck-2); }

/* ---------- rappel « sans compte » : lisible (avant 1,38:1) ---------- */
.guest-bar { color: #0a0b0e; background: #ffd23f; font-family: "Barlow Semi Condensed", sans-serif; font-weight: 700; letter-spacing: 0.04em; }
.guest-bar a { color: #0a0b0e; text-decoration: underline; text-underline-offset: 3px; }
body.page .rr-tools .icon-btn { width: 36px; height: 36px; min-height: 0; padding: 0; display: grid; place-items: center; }
body.page .rr-tools .icon-btn svg { width: 18px; height: 18px; }
/* #57 style 1 — retouches après vérification */
body.page .guest-bar a { color: #0a0b0e; }
body.page .rr-sub.page-switch a:is([aria-current="page"], [aria-selected="true"]) { color: var(--s1-ink); background: var(--s1-white); box-shadow: none; clip-path: var(--s1-bevel-s); }
body.page .legal h2 { text-transform: uppercase; }
body.page:has(.rr-top) .backdrop { filter: none; background: radial-gradient(ellipse 70% 50% at 50% 0%, #161a22, transparent 70%), var(--s1-ink); }
body.page:has(.rr-top) .backdrop::before, body.page:has(.rr-top) .backdrop::after { display: none; }
body.page .pm-team { background: var(--s1-deck); border: 0; }
body.page .pm-team::before { width: 4px; background: var(--side); }
body.page .pm-team::after { display: none; }
body.page .pm-kicker { font-family: var(--s1-cast); font-weight: 800; filter: none; }
body.page .pm-tname { font-family: var(--s1-cast); font-weight: 800; }
body.page .pm-sel select, body.page .pm-yn { border-color: var(--s1-line); border-radius: 0; }
body.page .pm-yn button[aria-pressed="true"] { background: var(--s1-white); color: var(--s1-ink); box-shadow: none; }

/* ---------- #57 style 1 : accueil (forme des cartes gardée : coins arrondis, bordure translucide sur l'illustration) ---------- */
body.page .home { gap: 3.2vh; }
body.page .brand-row { gap: clamp(14px, 2vw, 22px); }
body.page .brand-row .brand-logo { height: clamp(56px, 7.4vw, 92px); width: auto; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.7)); }
body.page .home-head h1.wordmark {
  gap: 0.22em; font-family: var(--s1-cast); font-style: italic; font-weight: 800; font-size: clamp(2.7rem, 6.4vw, 5rem);
  line-height: 0.9; letter-spacing: 0.005em; text-transform: uppercase;
}
body.page .home-head h1.wordmark .wm-a { font-weight: 800; color: var(--s1-white); }
body.page .home-head h1.wordmark .wm-b { font-weight: 700; letter-spacing: 0.08em; color: #cfd2d8; }
body.page .home-head p.home-tag {
  gap: 14px; font-family: var(--s1-cast); font-weight: 700; font-size: clamp(0.95rem, 1.45vw, 1.25rem); letter-spacing: 0.2em;
  text-transform: uppercase; color: #c9ccd2;
}
body.page .home-tag em { font-style: normal; color: var(--s1-hot); }
body.page .home-tag::before { width: clamp(28px, 5vw, 64px); height: 3px; background: var(--s1-blue); }
body.page .home-tag::after { width: clamp(28px, 5vw, 64px); height: 3px; background: var(--s1-red); }
body.page .mode {
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.34); background: var(--art) center 12% / cover no-repeat, var(--s1-ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); gap: 10px;
}
body.page .mode::before { border-radius: inherit; background: linear-gradient(180deg, rgba(8, 9, 12, 0) 22%, rgba(8, 9, 12, 0.86) 58%, rgba(8, 9, 12, 0.97) 100%); }
body.page .mode:hover { border-color: rgba(255, 255, 255, 0.62); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
body.page .mode:focus-visible { outline: 2px solid var(--s1-hot); outline-offset: 3px; box-shadow: none; }
body.page .mode-kicker {
  align-self: flex-start; padding: 6px 10px; font: 800 0.78rem/1 var(--s1-cast); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--s1-ink); background: var(--c, var(--s1-white)); text-shadow: none;
}
body.page .mode-title { font-family: var(--s1-cast); font-style: italic; font-weight: 800; font-size: clamp(2.3rem, 3vw, 3.1rem); line-height: 0.88; letter-spacing: 0; text-transform: uppercase; color: var(--s1-white); }
body.page .mode-text { color: #cfd2d8; }
body.page .mode-cta {
  align-self: flex-start; min-height: 42px; margin-top: 6px; padding: 0 26px; border: 0; border-radius: 0; clip-path: var(--s1-bevel);
  font: 800 0.92rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-ink); background: var(--s1-white);
}
body.page .mode:hover .mode-cta, body.page .mode:focus-visible .mode-cta { background: var(--s1-hot); }
body.page .home-foot { font: 700 0.82rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-mute); }
body.page .home-foot #dataStatus { text-transform: none; letter-spacing: 0.04em; }
body.page .home-acc.rr-pill { background: rgba(10, 11, 14, 0.7); }
body.page .resume { border-radius: 0; }
body.page .home-foot .lang-switch { padding: 0; gap: 0; border: 1px solid var(--s1-line); border-radius: 0; background: rgba(10, 11, 14, 0.7); }
body.page .home-foot .lang-switch button { min-height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 0; font-family: var(--s1-cast); color: var(--s1-mute); }
body.page .home-foot .lang-switch button[aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); box-shadow: none; }
@media (max-width: 520px) {
  body.page .home-head p.home-tag { letter-spacing: 0.06em; gap: 10px; font-size: 0.95rem; }
  body.page .home-tag::before, body.page .home-tag::after { width: 20px; }
}
@media (max-width: 520px) {
  body.page .home-head p.home-tag { display: block; text-align: center; }
  body.page .home-tag::before, body.page .home-tag::after { display: none; }
}
/* #57 style 1 : fond de l'accueil = la Faille du champ select, très assombrie, teintée comme le logo (bleu en bas à
   gauche, rouge en haut à droite) ; l'ancienne image noir et or (img/home/accueil-or.webp) n'est plus utilisée. */
body.page .hb-video.hb-rift { filter: grayscale(0.35) brightness(0.55) contrast(1.1); transform: scale(1.08); }
body.page .backdrop.home-bg.has-video::before {
  background: linear-gradient(to top right, rgba(42, 125, 255, 0.4) 0%, rgba(42, 125, 255, 0.08) 38%, rgba(10, 11, 14, 0.25) 50%, rgba(240, 48, 74, 0.08) 62%, rgba(240, 48, 74, 0.38) 100%),
    radial-gradient(ellipse 85% 75% at 50% 48%, rgba(10, 11, 14, 0.35) 30%, rgba(10, 11, 14, 0.85) 100%);
}

/* ============================================================================
   #57 style 1 — 2e passe (19/11) : les pages ressemblent aux maquettes (grand titre de page, gros chiffres,
   tableaux à lignes, Compte en deux colonnes), plus de reste d'or ni de coins arrondis.
============================================================================ */
/* grand titre de page, sous les onglets de la rubrique (setPageHead dans common.js) */
body.page .pg-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  width: min(1440px, 100%); margin: 0 auto; padding: 22px 22px 6px; }
body.page .pg-head:empty { display: none; }
body.page .pg-title { margin: 0; font-family: var(--s1-cast); font-style: normal; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 0.95; letter-spacing: 0.01em; color: var(--s1-white); }
body.page .pg-title em { font-style: normal; color: var(--s1-blue); }
body.page .pg-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
body.page .pg-meta { font-family: var(--s1-cast); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pg-meta b { color: var(--s1-white); font-weight: 800; }

/* notes d'une analyse en gros chiffres (review) */
body.page .ana-nums { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 2px; }
body.page .ana-num { display: grid; gap: 4px; padding: 12px 14px 10px; background: var(--s1-deck-2); }
body.page .ana-num > b { font-family: var(--s1-cast); font-style: italic; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--s1-white); font-variant-numeric: tabular-nums; }
body.page .ana-num.good > b { color: var(--s1-blue); }
body.page .ana-num.bad > b { color: var(--s1-red); }
body.page .ana-num > span { font-family: var(--s1-cast); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-mute); }
body.page .ana-num > i { display: block; height: 3px; background: var(--s1-line); }
body.page .ana-num > i > b { display: block; height: 100%; background: var(--s1-white); }
body.page .ana-num.good > i > b { background: var(--s1-blue); }
body.page .ana-num.bad > i > b { background: var(--s1-red); }
/* erreurs : une ligne à plat, gravité à droite en capitales */
body.page .ana-err { background: var(--s1-deck-2); box-shadow: inset 3px 0 0 var(--s1-line); padding: 10px 12px; }
body.page .ana-err.s3 { box-shadow: inset 3px 0 0 var(--s1-red); }
body.page .ana-err.s2 { box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .ana-err em { order: 9; margin-left: auto; border-radius: 0; font-family: var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; }
body.page .ana-err.s3 em { background: rgba(240, 48, 74, 0.16); color: #ff8a9a; }
body.page .ana-err.s2 em { background: rgba(255, 210, 63, 0.14); color: var(--s1-hot); }

/* tableaux (stats du patch, dashboard coach) : en-têtes en capitales, lignes fines */
body.page :is(.st-table, .co-table) { border-collapse: collapse; }
body.page :is(.st-table, .co-table) th { font-size: 0.78rem; font-weight: 700; color: var(--s1-mute); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--s1-line); background: transparent; }
body.page :is(.st-table, .co-table) td { padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
body.page :is(.st-table, .co-table) tbody tr:hover td { background: var(--s1-deck-2); }

/* dashboard coach : cartes à plat */
body.page :is(.co-card, .co-plan) { background: var(--s1-deck); border: 0; }
body.page .co-card.open { box-shadow: inset 0 3px 0 var(--s1-white); }

/* Vérifier les données : sélection en blanc (plus d'or) */
body.page .dv-champ.on { border-color: var(--s1-white); background: var(--s1-deck-3); }
body.page .dv-chip.on { color: var(--s1-ink); background: var(--s1-white); border-color: var(--s1-white); }

/* Préparer un match : icônes de poste à plat (plus de losange doré) */
body.page .pm-role { transform: none; border: 0; background: transparent; color: var(--s1-mute); }
body.page .pm-role svg { transform: none; }

/* Compte : grand titre et ce que garde le compte à gauche, formulaire à droite */
body.page .acc-main { padding: 2.4rem 22px 3rem; }
body.page .acc-two { width: min(1120px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
body.page .acc-two .acc-wrap { width: 100%; margin: 0; }
body.page .acc-intro { display: grid; gap: 18px; align-content: start; }
body.page .acc-intro .pg-title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); }
body.page .acc-lead { margin: 0; max-width: 46ch; font-size: 1.02rem; line-height: 1.55; color: #c9ccd2; }
body.page .acc-kept { list-style: none; margin: 0; padding: 0; display: grid; max-width: 520px; }
body.page .acc-kept li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--s1-line); font-size: 0.95rem; color: var(--s1-white); }
body.page .acc-kept b { font-family: var(--s1-cast); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-hot); }
body.page .acc-kept li.warn span { color: var(--s1-mute); }
body.page .acc-kept li.warn b { color: var(--s1-red); }
body.page .acc-hint { margin: 0; font-size: 0.88rem; color: var(--s1-mute); }
body.page .acc-hint em { font-style: normal; color: var(--s1-white); font-weight: 700; }
body.page .acc-card { padding: 24px; }
body.page .acc-card h2 { font-weight: 800; }
body.page .acc-tabs button[aria-selected="true"] { color: var(--s1-white); border-bottom-color: var(--s1-white); }
body.page .acc-form label { color: var(--s1-mute); font-family: var(--s1-cast); text-transform: uppercase; letter-spacing: 0.1em; }
body.page .acc-list li { color: var(--s1-white); border-bottom-color: var(--s1-line); }
body.page .acc-p b { color: var(--s1-white); }
@media (max-width: 860px) {
  body.page .acc-two { grid-template-columns: 1fr; gap: 28px; }
  body.page .pg-head { padding: 16px 16px 4px; }
}
body.page .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Vérifier les données : le compteur est déjà dans le grand titre ; postes choisis en blanc */
body.page .dv-progress > span { display: none; }
body.page .dv-role { background: var(--s1-deck-2); border-color: transparent; }
body.page .dv-role.st-main { color: var(--s1-ink); background: var(--s1-white); border-color: var(--s1-white); }
body.page .dv-role.st-main small { color: #3a3f4a; }
body.page .dv-role.st-second { color: var(--s1-white); border: 1px dashed #6b7280; background: transparent; }
/* Review : la game est déjà dans le grand titre de page ; le lecteur ne garde que le score */
body.page .rv-head > div:first-child { display: none; }
body.page .rv-head { justify-content: flex-end; }

/* ============================================================================
   #57 — MON POOL comme la maquette : colonne de gauche (ton pool) + grande fiche à droite.
============================================================================ */
body.page .pl-main { flex: 1; display: grid; grid-template-columns: 392px minmax(0, 1fr); min-height: 0; border-top: 1px solid var(--s1-line); }
body.page .pl-side { display: grid; gap: 16px; align-content: start; padding: 24px 26px 28px; border-right: 1px solid var(--s1-line); background: var(--s1-ink); }
body.page .pl-title { margin: 0; font: 800 2.6rem/0.95 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .pl-title em { font-style: normal; color: var(--s1-blue); }
body.page .pl-roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
body.page .pl-role { display: grid; justify-items: center; gap: 6px; padding: 12px 4px 10px; color: var(--s1-mute); background: var(--s1-deck); border: 0; cursor: pointer; }
body.page .pl-role svg { width: 22px; height: 22px; }
body.page .pl-role .n { font: 700 0.8rem/1 var(--s1-cast); }
body.page .pl-role:hover { color: var(--s1-white); }
body.page .pl-role[aria-selected="true"] { color: var(--s1-white); background: var(--s1-deck-2); box-shadow: inset 0 -3px 0 var(--s1-blue); }
body.page .pl-list { display: grid; gap: 6px; }
body.page .pl-card { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 0; min-height: 72px; cursor: pointer; overflow: hidden;
  background: linear-gradient(90deg, rgba(18, 20, 25, 0.95) 35%, rgba(18, 20, 25, 0.55)), var(--art) var(--sp-pos, 60% 22%) / 180% no-repeat, var(--s1-deck); outline: 1px solid transparent; }
body.page .pl-card:hover { outline-color: #4a5060; }
body.page .pl-card.on { outline: 2px solid var(--s1-white); outline-offset: -2px; }
body.page .pl-img { width: 72px; height: 72px; overflow: hidden; }
body.page .pl-img img, body.page .pl-img .av-fallback { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
body.page .pl-tx { display: grid; gap: 4px; padding: 0 14px; min-width: 0; }
body.page .pl-tx b { font: 800 1.35rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.page .pl-tx small { font: 700 0.76rem/1.2 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.page .pl-badge { margin-right: 14px; padding: 5px 8px; font: 800 0.72rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-ink); background: var(--s1-hot); }
body.page .pl-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; font-size: 1rem; color: var(--s1-white);
  background: rgba(10, 11, 14, 0.85); border: 1px solid var(--s1-line); cursor: pointer; opacity: 0; }
body.page .pl-card:hover .pl-x, body.page .pl-x:focus-visible { opacity: 1; }
body.page .pl-card:has(.pl-badge) .pl-x { top: auto; bottom: 4px; }
body.page .pl-add { padding: 14px; font: 800 0.9rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-mute); background: transparent; border: 1px dashed var(--s1-line); cursor: pointer; }
body.page .pl-add:hover { color: var(--s1-white); border-color: var(--s1-white); }
body.page .pl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
body.page .pl-stats:empty { display: none; }
body.page .pl-stat { display: grid; gap: 6px; align-content: start; padding: 14px 12px; background: var(--s1-deck); }
body.page .pl-stat b { font: 800 2.2rem/0.9 var(--s1-cast); color: var(--s1-white); font-variant-numeric: tabular-nums; }
body.page .pl-stat b small { font-size: 0.55em; color: var(--s1-mute); }
body.page .pl-stat.bad b { color: var(--s1-red); }
body.page .pl-stat span { font: 700 0.72rem/1.3 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pl-cats .pc-h { font: 800 0.8rem/1 var(--s1-cast); letter-spacing: 0.12em; color: var(--s1-mute); }
body.page .pl-cats .cat-chip { border-radius: 0; font-family: var(--s1-cast); letter-spacing: 0.04em; text-transform: uppercase; color: var(--s1-white); background: var(--s1-deck); border: 0; }
body.page .pl-cats .cat-chip.off { color: #5d636e; background: transparent; box-shadow: inset 0 0 0 1px var(--s1-line); }
body.page .pl-cats .pc-empty { font-size: 0.84rem; color: var(--s1-mute); }
body.page .pl-panel { min-width: 0; background: var(--s1-ink); }
body.page .pl-viewbar { display: flex; justify-content: flex-end; padding: 12px 22px; background: var(--s1-ink); border-bottom: 1px solid var(--s1-line); }
/* la fiche */
body.page .pf-hero { position: relative; display: grid; align-content: end; gap: 8px; min-height: 380px; padding: 28px 40px 30px;
  background: linear-gradient(0deg, rgba(10, 11, 14, 0.96) 6%, rgba(10, 11, 14, 0.35) 55%, rgba(10, 11, 14, 0.1)), linear-gradient(90deg, rgba(10, 11, 14, 0.7), transparent 60%), var(--art) var(--sp-pos, 70% 18%) / cover no-repeat, var(--s1-deck); }
body.page .pf-tags { display: flex; gap: 0; }
body.page .pf-tag, body.page .pf-tag2 { padding: 7px 12px; font: 800 0.8rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; }
body.page .pf-tag { color: #fff; background: var(--s1-blue); }
body.page .pf-tag2 { color: var(--s1-ink); background: var(--s1-white); clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); padding-right: 20px; }
body.page .pf-name { margin: 0; font: 800 italic clamp(3.4rem, 2rem + 4.5vw, 6.4rem)/0.85 var(--s1-cast); text-transform: uppercase; letter-spacing: -0.01em; color: var(--s1-white); }
body.page .pf-sub { margin: 0; font: 600 1rem/1 var(--s1-cast); letter-spacing: 0.16em; text-transform: uppercase; color: #c9ccd2; }
body.page .pf-nums { position: absolute; right: 40px; bottom: 30px; display: flex; gap: 36px; }
body.page .pf-nums > div { display: grid; justify-items: end; gap: 4px; }
body.page .pf-nums b { font: 800 4rem/0.85 var(--s1-cast); color: var(--s1-white); font-variant-numeric: tabular-nums; }
body.page .pf-nums b.hot { color: var(--s1-hot); }
body.page .pf-nums small { font: 700 1.6rem/1 var(--s1-cast); color: var(--s1-mute); margin-top: -2.2rem; justify-self: end; }
body.page .pf-nums > div { grid-template-columns: auto auto; align-items: end; }
body.page .pf-nums > div > span { grid-column: 1 / -1; justify-self: end; font: 700 0.78rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: #c9ccd2; }
body.page .pf-nums small { margin: 0 0 4px 2px; }
body.page .pf-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 14px 40px; background: var(--s1-deck); }
body.page .pf-bar .dt-roles { margin: 0; }
body.page .pf-bar .detail-actions { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
body.page .pf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--s1-line); border-bottom: 1px solid var(--s1-line); }
body.page .pf-col { display: grid; gap: 12px; align-content: start; padding: 24px 28px 28px; border-right: 1px solid var(--s1-line); }
body.page .pf-col:last-child { border-right: 0; }
body.page .pf-h { display: flex; align-items: center; margin: 0; font: 800 0.95rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .pf-h::before { content: ""; width: 12px; height: 12px; margin-right: 10px; background: var(--s1-white); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
body.page .pf-h.blue::before { background: var(--s1-blue); } body.page .pf-h.red::before { background: var(--s1-red); } body.page .pf-h.hot::before { background: var(--s1-hot); }
body.page .pf-h + * + .pf-h, body.page .pf-faces + .pf-h, body.page .pf-none + .pf-h, body.page .pf-chips + .pf-h { margin-top: 10px; }
body.page .pf-faces { display: flex; flex-wrap: wrap; gap: 8px; }
body.page .pf-face { display: grid; justify-items: center; gap: 6px; padding: 0; background: none; border: 0; cursor: pointer; }
body.page .pf-face img, body.page .pf-face .av-fallback { width: 58px; height: 58px; object-fit: cover; outline: 2px solid var(--s1-blue); outline-offset: -2px; }
body.page .pf-face.bad img, body.page .pf-face.bad .av-fallback { outline-color: var(--s1-red); }
body.page .pf-face span { font: 700 0.72rem/1 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; color: #c9ccd2; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.page .pf-face:hover img { outline-color: var(--s1-white); }
body.page .pf-none { margin: 0; font-size: 0.86rem; color: var(--s1-mute); }
body.page .pf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.page .pf-chips span { padding: 8px 10px; font: 800 0.8rem/1 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-white); background: var(--s1-deck-2); box-shadow: inset 3px 0 0 var(--s1-blue); }
body.page .pf-curve { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-items: end; height: 96px; }
body.page .pf-curve span { position: relative; display: grid; align-content: end; justify-items: center; height: var(--h); padding-bottom: 8px; font: 700 0.8rem/1 var(--s1-cast); letter-spacing: 0.06em; color: var(--s1-mute); background: var(--s1-deck-2); }
body.page .pf-curve span.on { color: #fff; background: linear-gradient(180deg, var(--s1-blue), #1f5fd0); }
body.page .pf-curve i { display: none; }
body.page .pf-tip { margin: 0; font: 600 1.2rem/1.3 var(--s1-cast); color: var(--s1-white); }
body.page .pf-tip em { font-style: normal; color: var(--s1-hot); }
body.page .pf-pistes { margin: 0; font-size: 0.9rem; color: var(--s1-mute); }
body.page .pf-pistes .link-btn { color: #c9ccd2; }
body.page .pf-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; padding: 18px 40px 40px; }
body.page .pf-more > .a-section, body.page .pf-more > div { min-width: 0; }
body.page .pl-explore { padding: 18px 22px; display: grid; gap: 12px; }
body.page .pl-explore .grid-wrap { max-height: none; }
body.page .pl-under { padding: 0 22px 30px; }
body.page .pl-suggs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
body.page .pl-panel > .a-section, body.page .pl-panel > ol, body.page .pl-panel > p { margin-left: 22px; margin-right: 22px; }
body.page .pl-panel > .a-section:first-of-type { margin-top: 18px; }
@media (max-width: 1100px) {
  body.page .pl-main { grid-template-columns: 1fr; }
  body.page .pl-side { border-right: 0; border-bottom: 1px solid var(--s1-line); padding: 18px 16px; }
  body.page .pf-hero { padding: 22px 18px; min-height: 300px; }
  body.page .pf-nums { position: static; justify-content: flex-start; margin-top: 10px; }
  body.page .pf-nums > div { justify-items: start; }
  body.page .pf-bar, body.page .pf-more { padding-left: 18px; padding-right: 18px; }
  body.page .pf-cols { grid-template-columns: 1fr; }
  body.page .pf-col { border-right: 0; border-bottom: 1px solid var(--s1-line); }
  body.page .pf-more { grid-template-columns: 1fr; }
}

/* ============================================================================
   #57 — DASHBOARD COACH comme la maquette : boutons dans l'en-tête, cartes joueurs (illustration, type en jaune,
   fort / à travailler, barre), puis « Cette semaine » + « Plan d'entraînement ».
============================================================================ */
body.page .co-main { width: min(1440px, 100%); margin: 0 auto; padding: 8px 22px 40px; display: grid; gap: 18px; }
body.page .co-tabs { justify-self: start; }
body.page .co-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; align-items: start; }
body.page .co-card { gap: 10px; padding: 18px 20px 20px; background: var(--s1-deck); border: 0; border-radius: 0; }
body.page .co-card.open { grid-column: 1 / -1; }
body.page .co-art { height: 120px; display: grid; place-items: center; color: var(--s1-mute); background: var(--art, none) var(--sp-pos, 50% 20%) / cover no-repeat, var(--s1-deck-2); }
body.page .co-art svg { width: 40px; height: 40px; }
body.page .co-card.open .co-art { height: 160px; }
body.page .co-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
body.page .co-card-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 1.05rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-white); }
body.page .co-card-head h3::before { content: ""; width: 12px; height: 12px; background: var(--s1-white); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
body.page .co-card-head h3 small { font: 600 0.9rem/1 var(--s1-cast); letter-spacing: 0.08em; color: var(--s1-mute); }
body.page .co-card-head p { margin: 4px 0 0 22px; font-size: 0.8rem; color: var(--s1-mute); }
body.page .co-types { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
body.page .co-types .tag { color: var(--s1-ink); background: var(--s1-hot); padding: 6px 10px; }
body.page .co-line { margin: 0; font-size: 0.88rem; line-height: 1.45; color: #c9ccd2; }
body.page .co-bar { display: block; height: 6px; background: var(--s1-deck-3); }
body.page .co-bar i { display: block; height: 100%; background: var(--s1-blue); }
body.page .co-bar.bad i { background: var(--s1-red); } body.page .co-bar.mid i { background: var(--s1-hot); }
body.page .co-card:not(.open) :is(.co-sw, .ana-scores, .co-last, .co-meta) { display: none; }
body.page .co-nodata { margin: 0; font-size: 0.86rem; color: var(--s1-mute); }
body.page .co-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; align-items: start; }
body.page .co-box { display: grid; gap: 14px; padding: 20px 22px 22px; background: var(--s1-deck); }
body.page .co-h { display: flex; align-items: center; margin: 0; font: 800 0.95rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .co-h::before { content: ""; width: 12px; height: 12px; margin-right: 10px; background: var(--s1-white); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
body.page .co-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0; }
body.page .co-day { display: grid; gap: 6px; align-content: start; min-height: 86px; padding: 10px; background: var(--s1-deck-2); border: 0; border-radius: 0; }
body.page .co-day b { font: 700 0.86rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .co-day.today { box-shadow: inset 0 3px 0 var(--s1-hot); }
body.page .co-ev { font-size: 0.82rem; line-height: 1.3; color: #d6d8dd; background: none; padding: 0; border: 0; }
body.page .co-ev.none { color: var(--s1-mute); }
body.page .co-ev.plan { color: var(--s1-hot); }
body.page .co-psum { list-style: none; margin: 0; padding: 0; display: grid; }
body.page .co-psum li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--s1-line); font-size: 0.92rem; color: #d6d8dd; }
body.page .co-psum b { font: 800 1.3rem/1 var(--s1-cast); color: var(--s1-white); white-space: nowrap; }
body.page .co-psum li.late, body.page .co-psum li.late b { color: var(--s1-red); }
@media (max-width: 900px) { body.page .co-two { grid-template-columns: 1fr; } body.page .co-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* #57 Review comme la maquette : une game ouverte prend la page ; « Voir mes games / Ouvrir un .rofl » en barre compacte */
body.page.rv-has-match #tabReview > .rv-intro { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; padding: 0; margin-bottom: 14px; background: none; box-shadow: none; }
body.page.rv-has-match #tabReview > .rv-intro > .a-intro, body.page.rv-has-match #rvKey { display: none; }
body.page.rv-has-match .rv-form { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
body.page.rv-has-match .rv-form input#rvRiot { width: 220px; }
body.page.rv-has-match .rv-list { width: 100%; }
/* #57 Stats comme la maquette : les filtres sur le fond, sous le grand titre (pas de panneau) */
body.page .st-main > .rv-intro:first-child { background: none; box-shadow: none; padding: 0 0 6px; }
body.page .co-card-head > div { min-width: 0; }
body.page .co-card-head h3 { white-space: nowrap; }
body.page .co-card-head h3 small { overflow: hidden; text-overflow: ellipsis; }
/* #57 Progresser en SoloQ comme la maquette : emblèmes autour de ton palier + 3 cartes tirées de tes games */
body.page .rg-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 18px; }
body.page .rg-emb { display: grid; justify-items: center; gap: 6px; padding: 16px 8px 14px; border: 1px solid transparent; opacity: 0.7; }
body.page .rg-emb img { width: 84px; height: 64px; object-fit: contain; }
body.page .rg-emb b { font: 700 1rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .rg-emb small { min-height: 1em; font-size: 0.78rem; color: var(--s1-mute); }
body.page .rg-emb.on { opacity: 1; border-color: var(--s1-white); background: var(--s1-ink); }
body.page .rg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-bottom: 26px; }
body.page .rg-card { display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; background: var(--s1-deck); }
body.page .rg-h { display: flex; align-items: center; margin: 0; font: 800 0.95rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .rg-h::before { content: ""; width: 12px; height: 12px; margin-right: 10px; background: var(--s1-white); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
body.page .rg-h.red::before { background: var(--s1-red); } body.page .rg-h.hot::before { background: var(--s1-hot); } body.page .rg-h.blue::before { background: var(--s1-blue); }
body.page .rg-big { margin: 0; display: flex; align-items: baseline; gap: 8px; }
body.page .rg-big b { font: 800 3.6rem/0.9 var(--s1-cast); color: var(--s1-white); }
body.page .rg-big small { font: 700 1.5rem/1 var(--s1-cast); color: var(--s1-mute); }
body.page .rg-sub { font: 700 0.76rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .rg-bar { display: block; height: 6px; background: var(--s1-deck-3); }
body.page .rg-bar i { display: block; height: 100%; background: var(--s1-red); }
body.page .rg-ex { margin: 0; font: 600 1.1rem/1.35 var(--s1-cast); color: var(--s1-white); }
body.page .rg-rows { list-style: none; margin: 0; padding: 0; display: grid; }
body.page .rg-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--s1-line); font-size: 0.92rem; color: #d6d8dd; }
body.page .rg-rows b { font: 800 1.3rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .rg-rows li.bad, body.page .rg-rows li.bad b { color: var(--s1-red); }
body.page .rg-note { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--s1-mute); }
body.page .rg-types { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
body.page .rg-types span { padding: 7px 10px; font: 800 0.78rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: var(--s1-deck-2); box-shadow: inset 3px 0 0 var(--s1-blue); }
@media (max-width: 900px) { body.page .rg-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } body.page .rg-row .rg-emb:nth-child(n+4) { display: none; } body.page .rg-cards { grid-template-columns: 1fr; } }

/* ---------- #57 (2e retour) : fiche sans onglets, classe + atouts en haut à gauche, grille flottante, « Commencer » ---------- */
body.page .pf-hero { min-height: 420px; }
body.page .pf-id { position: absolute; top: 24px; left: 40px; display: grid; gap: 8px; max-width: 46%; }
body.page .pf-class { display: flex; gap: 6px; flex-wrap: wrap; }
body.page .pf-class span { padding: 7px 12px; font: 800 0.86rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-ink); background: var(--s1-white); clip-path: var(--s1-bevel-s); }
body.page .pf-traits { display: flex; gap: 4px; flex-wrap: wrap; }
body.page .pf-traits span { padding: 6px 9px; font: 700 0.76rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: rgba(10, 11, 14, 0.72); box-shadow: inset 2px 0 0 var(--s1-hot); }
body.page .pf-h.green::before { background: #3fcf8e; }
body.page .pf-face.same img, body.page .pf-face.same .av-fallback { outline-color: #3fcf8e; }
body.page .pf-chips.bad span { box-shadow: inset 3px 0 0 var(--s1-red); }
body.page .pf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.page .pf-list li { position: relative; padding-left: 16px; font-size: 0.88rem; line-height: 1.45; color: #d6d8dd; }
body.page .pf-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; background: var(--s1-hot); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
body.page .pf-list b { color: var(--s1-white); }
body.page .pf-src { margin: 6px 0 0; font-size: 0.76rem; color: var(--s1-mute); }
body.page .pf-more:empty, body.page .pf-more:not(:has(*)) { display: none; }
/* colonne de gauche : Commencer */
body.page .pl-start { background: var(--s1-deck); }
body.page .pl-start > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; list-style: none;
  font: 800 1rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .pl-start > summary::-webkit-details-marker { display: none; }
body.page .pl-start > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; translate: 0 -3px; transition: rotate 0.2s; }
body.page .pl-start[open] > summary::after { rotate: 225deg; translate: 0 3px; }
body.page .pl-start[open] > summary { box-shadow: inset 0 -1px 0 var(--s1-line); }
body.page .pl-start > :not(summary) { margin-left: 16px; margin-right: 16px; }
body.page .pl-start > :last-child { margin-bottom: 16px; }
body.page .pl-sh { margin: 14px 16px 8px; font: 800 0.8rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pl-suggs { display: grid; gap: 4px; }
body.page .pl-sugg { display: grid; grid-template-columns: minmax(0, 1fr) 40px; background: var(--s1-deck-2); }
body.page .pl-sg-main { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 6px 8px; text-align: left; color: inherit; background: none; border: 0; cursor: pointer; }
body.page .pl-sg-main img, body.page .pl-sg-main .av-fallback { width: 40px; height: 40px; object-fit: cover; }
body.page .pl-sg-main b { display: block; font: 800 1rem/1.1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .pl-sg-main small { display: block; font-size: 0.76rem; line-height: 1.3; color: var(--s1-mute); }
body.page .pl-sg-main:hover b { color: var(--s1-hot); }
body.page .pl-sg-add { font: 800 1.4rem/1 var(--s1-cast); color: var(--s1-ink); background: var(--s1-white); border: 0; cursor: pointer; }
body.page .pl-sg-add:hover { background: var(--s1-hot); }
body.page .pl-none { font-size: 0.84rem; color: var(--s1-mute); }
body.page .pl-start .a-section { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--s1-line); }
body.page .pl-start .riot-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
body.page .pl-start .riot-form button { grid-column: 1 / -1; justify-self: start; }
/* fenêtre flottante « Ajouter un champion » */
.pl-gwin { position: fixed; z-index: 60; display: grid; grid-template-rows: auto minmax(0, 1fr); min-width: 220px; min-height: 220px; max-width: calc(100vw - 8px); resize: both; overflow: hidden;
  background: #0f1115; border-top: 3px solid #f4f2ee; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65); }
.pl-gwin[hidden] { display: none; }
.pl-gw-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; cursor: move; user-select: none; touch-action: none; background: #0a0b0e; border-bottom: 1px solid #2a2e38; }
.pl-gw-head b { font: 800 italic 1rem/1 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; color: #f4f2ee; white-space: nowrap; }
.pl-gw-head small { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.74rem; color: #9aa0ab; }
.pl-gw-x { width: 30px; height: 30px; font-size: 1.1rem; color: #f4f2ee; background: #121419; border: 1px solid #2a2e38; cursor: pointer; }
.pl-gw-body { min-height: 0; overflow: auto; }
.pl-gw-body .pl-explore { padding: 10px; gap: 8px; }
.pl-gw-body .pool-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-gw-body .pool-tools .search { flex: 1 1 160px; }
.pl-gw-body .handle-filter { display: flex; flex-wrap: wrap; gap: 4px; }
.pl-gw-body .champ-grid { grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; padding: 6px; }
.pl-gw-body .tile-img { width: 50px; height: 50px; }
.pl-gw-body .tile-name { font-size: 0.7rem; }
.pl-gw-body .grid-wrap { border: 0; background: #0a0b0e; }
@media (max-width: 1100px) { body.page .pf-id { position: static; max-width: none; margin-bottom: 8px; } }
/* #57 Vérifier les données : barre « Enregistrer » (plus de sauvegarde automatique) + aperçu du splash */
body.page .dv-save { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 10px 14px; margin: 0 0 12px;
  background: var(--s1-deck-2); box-shadow: inset 3px 0 0 var(--s1-hot), 0 10px 24px rgba(0, 0, 0, 0.4); }
body.page .dv-save[hidden] { display: none; }
body.page .dv-save span { margin-right: auto; font: 700 0.9rem/1 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-white); }
body.page .dv-save b { color: var(--s1-hot); }
body.page .dv-splash { aspect-ratio: 16 / 9; background: var(--art) var(--sp-pos, 60% 20%) / cover no-repeat, var(--s1-deck-2); outline: 1px solid var(--s1-line); }
body.page .dv-display { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* #57 Review : la barre de chargement n'a plus de cadre (avant : un rectangle vide sous le titre) */
body.page.rv-has-match #tabReview > .rv-intro { border: 0; }
body.page .rv-rofl-note { flex-basis: 100%; text-align: right; font-size: 0.78rem; color: var(--s1-mute); }
body.page:not(.rv-has-match) .rv-rofl-note { text-align: left; }
body.page.rv-has-match .rv-form input#rvRiot { flex: 0 0 240px; width: 240px; }
body.page .rg-row.all { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
body.page .rg-row.all .rg-emb img { width: 64px; height: 50px; }
body.page button.rg-emb { font: inherit; color: inherit; background: none; cursor: pointer; }
body.page button.rg-emb:hover { opacity: 1; border-color: var(--s1-line); background: var(--s1-ink); }
body.page .rg-cards.empty .rg-card { min-height: 150px; }
body.page .rg-cards.empty .hx-btn { justify-self: start; }
@media (max-width: 900px) { body.page .rg-row.all { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
body.page #tabGuide .rv-guide { background: none; border: 0; padding: 0; box-shadow: none; }

/* ---------- #57 (2e retour) : dashboard coach refait — chiffres clés, effectif par poste, fiche joueur en panneau ---------- */
body.page .co-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
body.page .co-kpi { display: grid; gap: 6px; align-content: start; padding: 18px 20px; background: var(--s1-deck); box-shadow: inset 0 3px 0 var(--s1-line); }
body.page .co-kpi > b { font: 800 2.4rem/0.9 var(--s1-cast); color: var(--s1-white); font-variant-numeric: tabular-nums; }
body.page .co-kpi > b small { font-size: 0.5em; color: var(--s1-mute); }
body.page .co-kpi > span { font: 700 0.78rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .co-kpi > small { font-size: 0.84rem; color: #c9ccd2; }
body.page .co-kpi.warn { box-shadow: inset 0 3px 0 var(--s1-hot); }
body.page .co-roster { gap: 16px; }
body.page .co-rhead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
body.page .co-team { display: flex; align-items: center; gap: 10px; }
body.page .co-team span { font: 700 0.76rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .co-team input { width: 220px; }
body.page .co-cards.co-slots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.page .co-card { cursor: pointer; background: var(--s1-deck-2); outline: 1px solid transparent; transition: outline-color 0.15s; }
body.page .co-card:hover, body.page .co-card:focus-visible { outline-color: #4a5060; }
body.page .co-card.on { outline: 2px solid var(--s1-white); outline-offset: -2px; }
body.page .co-slot-add { display: grid; place-items: center; align-content: center; gap: 8px; min-height: 260px; padding: 16px; color: var(--s1-mute); background: transparent; border: 1px dashed var(--s1-line); cursor: pointer; }
body.page .co-slot-add svg { width: 34px; height: 34px; }
body.page .co-slot-add b { font: 800 1rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-white); }
body.page .co-slot-add span { font: 700 0.8rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; }
body.page .co-slot-add:hover { border-color: var(--s1-white); color: var(--s1-white); }
body.page .co-sub-h { margin: 6px 0 0; font: 800 0.8rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .co-hint { margin: 0; font-size: 0.82rem; color: var(--s1-mute); }
body.page .co-day { cursor: pointer; }
body.page .co-day:hover { box-shadow: inset 0 0 0 1px var(--s1-white); }
body.page .co-day.today:hover { box-shadow: inset 0 3px 0 var(--s1-hot), inset 0 0 0 1px var(--s1-white); }
/* la fiche d'un joueur */
body.page .co-veil { position: fixed; inset: 0; z-index: 900; background: rgba(5, 6, 8, 0.6); backdrop-filter: blur(3px); }
body.page .co-drawer { position: fixed; z-index: 901; top: 0; right: 0; bottom: 0; width: min(640px, 100vw); display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: #0f1115; border-left: 3px solid var(--s1-white); box-shadow: -30px 0 60px rgba(0, 0, 0, 0.5); animation: co-in 0.22s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes co-in { from { transform: translateX(40px); opacity: 0; } }
body.page .co-dhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-height: 180px; padding: 20px 24px;
  background: linear-gradient(0deg, #0f1115 8%, rgba(15, 17, 21, 0.3) 70%), var(--art, none) var(--sp-pos, 50% 20%) / cover no-repeat, var(--s1-deck-2); }
body.page .co-dk { display: inline-flex; align-items: center; gap: 6px; font: 700 0.8rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: #c9ccd2; }
body.page .co-dk svg { width: 18px; height: 18px; }
body.page .co-dhead h2 { margin: 6px 0 8px; font: 800 italic 2.6rem/0.9 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .co-dx { align-self: flex-start; width: 40px; height: 40px; font-size: 1.4rem; color: var(--s1-white); background: rgba(10, 11, 14, 0.8); border: 1px solid var(--s1-line); cursor: pointer; }
body.page .co-dbody { overflow-y: auto; padding: 18px 24px 30px; display: grid; gap: 14px; align-content: start; }
body.page .co-dbody .co-detail { display: grid; gap: 12px; border: 0; padding: 0; }
body.page .co-dbody h4 { margin: 8px 0 0; font: 800 0.86rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .co-dbody .co-row2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.page .co-dbody .co-row2 .field { display: grid; gap: 6px; }
body.page .co-dbody .co-row2 .field > span { font: 700 0.72rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
@media (max-width: 1100px) { body.page .co-cards.co-slots { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } body.page .co-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================================
   #57 — News et Tutoriel (help.js) + pages légales
============================================================================ */
body.page .hp-btns { display: inline-flex; gap: 6px; }
body.page .hp-btn { position: relative; cursor: pointer; font: inherit; }
body.page .hp-dot { position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--s1-hot); box-shadow: 0 0 0 2px var(--s1-ink); }
body.page .home-tools { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: flex; gap: 6px; align-items: center; }
body.page .home-tools .home-acc { position: static; }
body.page .home-tools .hp-btn { background: rgba(10, 11, 14, 0.7); }
body.page .hp-modal { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 8, 0.72); backdrop-filter: blur(5px); }
body.page .hp-box { width: min(1100px, 100%); max-height: calc(100vh - 32px); display: grid; grid-template-rows: auto minmax(0, 1fr); background: #0f1115;
  border-top: 3px solid var(--s1-hot); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
body.page .hp-newsbox .hp-box { width: min(880px, 100%); }
body.page .hp-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--s1-line); }
body.page .hp-head h2 { margin: 0; font: 800 italic 2rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .hp-x { width: 40px; height: 40px; font-size: 1.4rem; color: var(--s1-white); background: var(--s1-ink); border: 1px solid var(--s1-line); cursor: pointer; }
body.page .hp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 20px 24px 26px; overflow-y: auto; }
body.page .hp-cols h3 { display: flex; align-items: center; margin: 0 0 10px; font: 800 0.95rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .hp-cols h3::before { content: ""; width: 12px; height: 12px; margin-right: 10px; background: var(--s1-hot); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
body.page .hp-cols section:last-child h3::before { background: var(--s1-blue); }
body.page .hp-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
body.page .hp-news { padding: 12px 14px; background: var(--s1-deck); }
body.page .hp-news.new { box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .hp-date { font: 700 0.74rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-mute); }
body.page .hp-news b { display: block; margin: 6px 0 4px; font: 800 1.1rem/1.1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .hp-news p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: #c9ccd2; }
body.page .hp-tuto { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 0; }
body.page .hp-map { overflow-y: auto; padding: 16px 0; background: var(--s1-ink); border-right: 1px solid var(--s1-line); }
body.page .hp-cat { display: grid; margin-bottom: 12px; }
body.page .hp-cat > span { padding: 4px 18px 6px; font: 700 0.74rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
body.page .hp-cat button { padding: 8px 18px; text-align: left; font: 700 0.95rem/1.2 var(--s1-cast); color: #c9ccd2; background: none; border: 0; cursor: pointer; }
body.page .hp-cat button:hover { color: var(--s1-white); background: var(--s1-deck); }
body.page .hp-cat button[aria-current="true"] { color: var(--s1-ink); background: var(--s1-white); }
body.page .hp-page { overflow-y: auto; padding: 20px 26px 30px; display: grid; gap: 12px; align-content: start; }
body.page .hp-kick { font: 700 0.76rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-hot); }
body.page .hp-page h3 { margin: 0; font: 800 italic 2.2rem/0.9 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .hp-intro { margin: 0; font-size: 1rem; line-height: 1.5; color: #d6d8dd; }
body.page .hp-shot { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--s1-deck); outline: 1px solid var(--s1-line); }
body.page .hp-items { margin: 0; display: grid; gap: 2px; }
body.page .hp-items > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; padding: 10px 12px; background: var(--s1-deck); }
body.page .hp-items dt { font: 800 0.92rem/1.25 var(--s1-cast); text-transform: uppercase; letter-spacing: 0.04em; color: var(--s1-white); }
body.page .hp-items dd { margin: 0; font-size: 0.9rem; line-height: 1.45; color: #c9ccd2; }
@media (max-width: 800px) {
  body.page .hp-tuto { grid-template-columns: 1fr; } body.page .hp-map { max-height: 30vh; }
  body.page .hp-items > div { grid-template-columns: 1fr; gap: 4px; } body.page .hp-cols { grid-template-columns: 1fr; }
}
/* pages légales */
body.page .legal-pages { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
body.page .legal-pages a { padding: 9px 14px; font: 800 0.84rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-mute); background: var(--s1-deck); text-decoration: none; }
body.page .legal-pages a[aria-current="page"] { color: var(--s1-ink); background: var(--s1-white); clip-path: var(--s1-bevel-s); }
body.page .legal-todo { display: block; margin-top: 6px; padding: 8px 10px; font-size: 0.86rem; color: var(--s1-hot); background: rgba(255, 210, 63, 0.08); box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .hp-btn { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font: 700 0.8rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: transparent; border: 1px solid var(--s1-line); border-radius: 0; }
body.page .hp-btn:hover { border-color: var(--s1-white); }

/* ============================================================================
   #57 (2e retour) — Préparer un match : les deux équipes côte à côte, la fiche du joueur adverse à droite (radar),
   la suite de son analyse sous « Préparer la draft ».
============================================================================ */
body.page .pm-left { display: grid; gap: 16px; align-content: start; min-width: 0; }
body.page .pm-teams.pm-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
body.page .pm-duo > .pm-editbar, body.page .pm-duo > .pm-foot { grid-column: 1 / -1; }
body.page .pm-duo .pm-player { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 10px; }
body.page .pm-duo .pm-player .pm-pool { grid-column: 2; }
body.page .pm-duo .pm-head { flex-wrap: wrap; }
body.page .pm-duo .pm-sels { display: flex; flex-wrap: wrap; gap: 8px; }
body.page .pm-foot { font-size: 0.82rem; color: var(--s1-mute); }
/* fiche du joueur adverse */
body.page .fv { display: grid; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--s1-line); }
body.page .fv-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
body.page .fv-tabs button { display: grid; justify-items: center; gap: 4px; padding: 8px 2px; color: var(--s1-mute); background: var(--s1-ink); border: 0; cursor: pointer; min-width: 0; }
body.page .fv-tabs button svg { width: 18px; height: 18px; }
body.page .fv-tabs button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 0.72rem/1 var(--s1-cast); letter-spacing: 0.04em; text-transform: uppercase; }
body.page .fv-tabs button[aria-selected="true"] { color: var(--s1-ink); background: var(--s1-white); }
body.page .fv-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; }
body.page .fv-photo { position: relative; width: 76px; height: 76px; display: grid; place-items: center; overflow: hidden; color: var(--s1-mute); background: var(--s1-ink); border: 1px dashed var(--s1-line); cursor: pointer; }
body.page .fv-photo img { width: 100%; height: 100%; object-fit: cover; }
body.page .fv-photo svg { width: 30px; height: 30px; }
body.page .fv-photo span { position: absolute; bottom: 0; left: 0; right: 0; padding: 2px 0; text-align: center; font: 700 0.62rem/1.2 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-white); background: rgba(10, 11, 14, 0.75); opacity: 0; }
body.page .fv-photo:hover span { opacity: 1; }
body.page .fv-k { font: 700 0.74rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-red); }
body.page .fv-head h2 { margin: 4px 0 2px; font: 800 italic 2rem/0.95 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .fv-head small { font-size: 0.8rem; color: var(--s1-mute); }
body.page .fv-empty { margin: 0; padding: 12px 14px; font-size: 0.88rem; color: #c9ccd2; background: var(--s1-ink); }
body.page .fv-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
body.page .fv-tiles > div, body.page .fv-t { display: grid; gap: 4px; padding: 10px 12px; background: var(--s1-ink); }
body.page .fv-tiles b, body.page .fv-t b { font: 800 1.6rem/1 var(--s1-cast); color: var(--s1-white); font-variant-numeric: tabular-nums; }
body.page .fv-tiles span, body.page .fv-t span { font: 700 0.68rem/1.2 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-mute); }
body.page .fv-t.good b { color: var(--s1-blue); } body.page .fv-t.bad b { color: var(--s1-red); }
body.page .radar { width: 100%; max-width: 380px; justify-self: center; overflow: visible; }
body.page .rd-ring { fill: none; stroke: #2a2e38; stroke-width: 1; }
body.page .rd-axis { stroke: #2a2e38; stroke-width: 1; }
body.page .rd-them { fill: rgba(240, 48, 74, 0.28); stroke: #f0304a; stroke-width: 2; stroke-linejoin: round; }
body.page .rd-ours { fill: none; stroke: #ffd23f; stroke-width: 2; stroke-dasharray: 5 4; }
body.page .rd-l { fill: #f4f2ee; font: 700 11px "Barlow Semi Condensed", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
body.page .rd-v { fill: #9aa0ab; font: 600 11px "Barlow Semi Condensed", sans-serif; }
body.page .fv-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 0.8rem; color: #c9ccd2; }
body.page .fv-legend i { display: inline-block; width: 18px; height: 3px; }
body.page .fv-legend i.them { background: var(--s1-red); } body.page .fv-legend i.ours { background: repeating-linear-gradient(90deg, var(--s1-hot) 0 5px, transparent 5px 9px); }
body.page .fv-legend small { flex-basis: 100%; color: var(--s1-mute); }
body.page .fv-lab { display: block; font: 800 0.78rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .fv-lab small { margin-left: 6px; color: var(--s1-mute); letter-spacing: 0.04em; }
body.page .fv-pool { display: flex; flex-wrap: wrap; gap: 4px; }
body.page .fv-pool img, body.page .fv-pool .av-fallback { width: 34px; height: 34px; }
body.page .fv-champs { display: grid; gap: 4px; }
body.page .fv-ch { display: grid; grid-template-columns: 32px 96px minmax(0, 1fr) 72px; gap: 8px; align-items: center; }
body.page .fv-ci img, body.page .fv-ci .av-fallback { width: 32px; height: 32px; display: block; }
body.page .fv-ch > b { font: 800 0.92rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.page .fv-ch > i { display: block; height: 8px; background: var(--s1-deck-3); }
body.page .fv-ch > i > b { display: block; height: 100%; background: var(--s1-white); }
body.page .fv-ch > i > b.good { background: var(--s1-blue); } body.page .fv-ch > i > b.bad { background: var(--s1-red); }
body.page .fv-ch > em { font: 700 0.8rem/1 var(--s1-cast); font-style: normal; text-align: right; color: var(--s1-mute); }
/* la suite de l'analyse (sous la barre de lancement) */
body.page .fv-more { padding: 20px 22px 22px; background: var(--s1-deck); }
body.page .fv-h { display: flex; align-items: baseline; gap: 10px; margin: 0 0 14px; font: 800 italic 1.5rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .fv-h small { font: 700 0.78rem/1 var(--s1-cast); font-style: normal; letter-spacing: 0.1em; color: var(--s1-mute); }
body.page .fv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
body.page .fv-block { display: grid; gap: 8px; align-content: start; padding: 14px; background: var(--s1-ink); }
body.page .fv-ts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
body.page .fv-ts .fv-t { background: var(--s1-deck-2); }
body.page .fv-bar { display: grid; grid-template-columns: 120px minmax(0, 1fr) 46px; gap: 8px; align-items: center; font-size: 0.82rem; color: #c9ccd2; }
body.page .fv-bar > i { display: block; height: 8px; background: var(--s1-deck-3); }
body.page .fv-bar > i > b { display: block; height: 100%; background: var(--s1-white); }
body.page .fv-bar.good > i > b { background: var(--s1-blue); } body.page .fv-bar.bad > i > b { background: var(--s1-red); }
body.page .fv-bar > em { font: 700 0.8rem/1 var(--s1-cast); font-style: normal; text-align: right; color: var(--s1-white); }
@media (max-width: 1100px) { body.page .pm-teams.pm-duo { grid-template-columns: 1fr; } }
body.page .pm-duo .pm-id { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
body.page .pm-duo .pm-id .pm-acct { grid-column: 1 / -1; }
body.page .pm-duo .pm-player { padding: 8px 0; }

/* #57 (3e retour) — Mon pool : « Comment le jouer » + « Ses combos » sous les 3 colonnes ; combos en cartes ; compte Riot
   (bouton sur la ligne du serveur). */
body.page .pf-cols.pf-cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
body.page .pfc-list { display: grid; gap: 8px; }
body.page .pfc { display: grid; gap: 8px; padding: 12px 14px; background: var(--s1-deck-2); box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .pfc > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.page .pfc-tag { padding: 4px 8px; font: 800 0.72rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-ink); background: var(--s1-hot); }
body.page .pfc-tag.lane { background: var(--s1-blue); color: #fff; }
body.page .pfc-force { display: flex; gap: 3px; }
body.page .pfc-force i { width: 14px; height: 6px; background: var(--s1-deck-3); }
body.page .pfc-force i.on { background: var(--s1-hot); }
body.page .pfc-why { margin: 0; font-size: 0.92rem; line-height: 1.4; color: var(--s1-white); }
body.page .pfc-with { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.page .pfc-face { display: grid; justify-items: center; gap: 4px; padding: 0; background: none; border: 0; cursor: pointer; }
body.page .pfc-face img, body.page .pfc-face .av-fallback { width: 40px; height: 40px; object-fit: cover; }
body.page .pfc-face span { max-width: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 0.66rem/1 var(--s1-cast); letter-spacing: 0.04em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pfc-face:hover span { color: var(--s1-white); }
body.page .pfc-more { font: 700 0.8rem/1 var(--s1-cast); color: var(--s1-mute); }
body.page .pl-start .riot-form { grid-template-columns: minmax(0, 1fr) auto; }
body.page .pl-start .riot-form input { grid-column: 1 / -1; }
body.page .pl-start .riot-form button { grid-column: auto; justify-self: stretch; }
body.page .pl-start .a-section:first-of-type { border-top: 0; margin-top: 4px; }
@media (max-width: 1100px) { body.page .pf-cols.pf-cols2 { grid-template-columns: 1fr; } }

/* #57 (3e retour) — Vérifier les données : barre toujours là (« Passer au suivant »), « validé » dans l'en-tête,
   cadrage du splash PAR FORMAT (illustration entière cliquable + un aperçu par endroit où elle s'affiche). */
body.page .dv-save { box-shadow: inset 3px 0 0 var(--s1-line), 0 10px 24px rgba(0, 0, 0, 0.4); }
body.page .dv-save.dirty { box-shadow: inset 3px 0 0 var(--s1-hot), 0 10px 24px rgba(0, 0, 0, 0.4); }
body.page .dv-save:not(.dirty) span { color: var(--s1-mute); }
body.page .dv-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
body.page .dv-state span { font-size: 0.84rem; color: var(--s1-mute); }
body.page .dv-ok { padding: 6px 10px; font: 800 0.78rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); background: transparent; border: 1px solid var(--s1-line); cursor: pointer; }
body.page .dv-ok[aria-pressed="true"] { color: var(--s1-ink); background: #3fd68a; border-color: #3fd68a; }
body.page .dv-ok:hover { border-color: var(--s1-white); }
body.page .dv-display { grid-template-columns: 170px minmax(0, 1fr) 250px; gap: 22px; }
body.page .dv-frames-col { align-items: stretch; }
body.page .dv-full { position: relative; width: 100%; cursor: crosshair; line-height: 0; background: var(--s1-ink); outline: 1px solid var(--s1-line); }
body.page .dv-full img { width: 100%; height: auto; display: block; user-select: none; }
body.page .dv-pt { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2px solid var(--s1-hot); border-radius: 50%; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6), inset 0 0 0 2px rgba(0, 0, 0, 0.6); pointer-events: none; }
body.page .dv-pt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: var(--s1-hot); border-radius: 50%; }
body.page .dv-fmts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
body.page .dv-fp { display: grid; gap: 6px; padding: 6px; text-align: left; color: var(--s1-mute); background: var(--s1-deck-2); border: 1px solid transparent; cursor: pointer; }
body.page .dv-fp[aria-pressed="true"] { border-color: var(--s1-hot); color: var(--s1-white); }
body.page .dv-fp:hover { border-color: var(--s1-white); }
body.page .dv-fp-art { display: block; width: 100%; background-repeat: no-repeat; background-color: var(--s1-ink); }
body.page .dv-fp small { font: 700 0.72rem/1.2 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 1300px) { body.page .dv-display { grid-template-columns: 170px minmax(0, 1fr); } body.page .dv-display > .dv-disp-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { body.page .dv-display { grid-template-columns: 1fr; } }

/* ============================================================================
   #57 (3e retour) — DASHBOARD COACH : notes modifiables (fenêtre flottante, fiche, overlay), note du joueur sur 99,
   carte de l'équipe (liens entre joueurs), historique, recherche de scrims.
============================================================================ */
body.page .co-art { position: relative; }
body.page .co-rate { position: absolute; left: 10px; top: 8px; min-width: 2.4em; padding: 4px 6px; text-align: center; font: 800 1.5rem/1 var(--s1-cast); color: var(--s1-white); background: rgba(10, 11, 14, 0.82); box-shadow: inset 0 -3px 0 #4a5060; }
body.page .co-rate.gold { box-shadow: inset 0 -3px 0 var(--s1-hot); color: var(--s1-hot); }
body.page .co-rate.silver { box-shadow: inset 0 -3px 0 #c9ccd2; }
body.page .co-mini { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
body.page .co-mini span { display: grid; justify-items: center; padding: 4px 0; font: 700 0.62rem/1.1 var(--s1-cast); letter-spacing: 0.06em; color: var(--s1-mute); background: var(--s1-ink); }
body.page .co-mini b { font: 800 1rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .co-mini .good b { color: var(--s1-blue); } body.page .co-mini .bad b { color: var(--s1-red); }
body.page .co-rhead { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; }
body.page .co-rhead .co-team { margin-right: auto; }
body.page .co-stack { display: grid; gap: 16px; align-content: start; }
body.page .co-h .link-btn { margin-left: 10px; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: none; }
/* notes */
body.page .co-notes { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.page .co-note { display: grid; gap: 6px; padding: 10px 12px; background: var(--s1-deck-2); box-shadow: inset 3px 0 0 var(--s1-line); }
body.page .co-note.good { box-shadow: inset 3px 0 0 #3fd68a; } body.page .co-note.bad { box-shadow: inset 3px 0 0 var(--s1-red); }
body.page .co-note.editing { box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .co-note p { margin: 0; font-size: 0.9rem; line-height: 1.4; color: var(--s1-white); white-space: pre-wrap; }
body.page .cn-head { display: flex; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--s1-mute); }
body.page .cn-head time { font: 800 0.86rem/1 var(--s1-cast); color: var(--s1-hot); }
body.page .cn-acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
body.page .co-tags { display: flex; flex-wrap: wrap; gap: 4px; }
body.page .co-tags .tag { font-size: 0.7rem; }
body.page .co-tags .tag.team { color: var(--s1-ink); background: var(--s1-hot); }
body.page .co-tags .tag.mood.good { color: #0a0b0e; background: #3fd68a; } body.page .co-tags .tag.mood.bad { color: #fff; background: var(--s1-red); }
body.page .co-notes.compact .co-note p { font-size: 0.84rem; }
body.page .ne { display: grid; gap: 6px; }
body.page .ne textarea { width: 100%; min-height: 54px; }
body.page .ne-tags, body.page .ne-row { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
body.page .ne-tags button, body.page .ne-mood button { padding: 5px 9px; font: 700 0.78rem/1 var(--s1-cast); letter-spacing: 0.04em; text-transform: uppercase; color: var(--s1-white); background: var(--s1-ink); border: 1px solid var(--s1-line); cursor: pointer; }
body.page .ne-tags button[aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); border-color: var(--s1-white); }
body.page .ne-tags button.team { border-color: var(--s1-hot); }
body.page .ne-mood button.good[aria-pressed="true"] { color: var(--s1-ink); background: #3fd68a; border-color: #3fd68a; }
body.page .ne-mood button.bad[aria-pressed="true"] { color: #fff; background: var(--s1-red); border-color: var(--s1-red); }
body.page .ne-mood { display: flex; gap: 4px; }
body.page .ne-time { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--s1-mute); }
body.page .ne-time input { width: 4.6em; padding: 5px 6px; }
body.page .ne-row select { flex: 1 1 160px; min-width: 0; padding: 6px 8px; color: var(--s1-white); background: var(--s1-ink); border: 1px solid var(--s1-line); }
body.page .ne-acts { display: flex; gap: 6px; }
body.page .co-npanel { position: fixed; right: 18px; top: 120px; z-index: 880; width: 420px; height: min(70vh, 640px); min-width: 300px; min-height: 260px; max-width: calc(100vw - 16px);
  display: grid; grid-template-rows: auto minmax(0, 1fr); resize: both; overflow: hidden; background: #0f1115; box-shadow: inset 0 3px 0 var(--s1-hot), 0 24px 60px rgba(0, 0, 0, 0.65); }
body.page .co-nhead { display: flex; align-items: center; gap: 8px; padding: 10px 10px 8px 14px; cursor: move; user-select: none; touch-action: none; border-bottom: 1px solid var(--s1-line); }
body.page .co-nhead b { font: 800 italic 1.1rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .co-nhead small { margin-right: auto; color: var(--s1-mute); }
body.page .co-nx { width: 30px; height: 30px; font-size: 1.1rem; color: var(--s1-white); background: var(--s1-deck); border: 1px solid var(--s1-line); cursor: pointer; }
body.page .co-nbody { min-height: 0; overflow: auto; padding: 10px; display: grid; gap: 10px; align-content: start; }
body.page .co-ntools { display: flex; gap: 6px; }
body.page .co-ntools select { flex: 1; min-width: 0; padding: 6px 8px; color: var(--s1-white); background: var(--s1-ink); border: 1px solid var(--s1-line); }
/* carte de l'équipe */
body.page .co-veil.map { z-index: 905; }
body.page .co-map-win { position: fixed; inset: 3vh 3vw; z-index: 906; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 10px; padding: 14px 18px; background: #0f1115; box-shadow: inset 0 3px 0 var(--s1-hot), 0 30px 80px rgba(0, 0, 0, 0.7); }
body.page .co-map-win > header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.page .co-map-win h3 { margin: 0 auto 0 0; font: 800 italic 1.4rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .cm-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 0.78rem; color: #cfd2d8; }
body.page .cm-legend i { display: inline-block; width: 18px; height: 5px; margin-right: 6px; vertical-align: middle; }
body.page .cm-body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; overflow: auto; }
body.page .co-map { position: relative; align-self: start; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--s1-ink); }
body.page .co-map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
body.page .co-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
body.page .co-map line { stroke-linecap: round; pointer-events: stroke; cursor: default; }
body.page .fut { position: absolute; width: 9.4%; min-width: 92px; translate: -50% -50%; display: grid; justify-items: center; gap: 3px; padding: 6px 6px 8px; text-align: center;
  background: linear-gradient(180deg, #2a2d33, #121419); box-shadow: inset 0 0 0 2px #4a5060, 0 10px 24px rgba(0, 0, 0, 0.6); }
body.page .fut.gold { background: linear-gradient(180deg, #4a3c14, #1d1708); box-shadow: inset 0 0 0 2px var(--s1-hot), 0 10px 24px rgba(0, 0, 0, 0.6); }
body.page .fut.silver { box-shadow: inset 0 0 0 2px #c9ccd2, 0 10px 24px rgba(0, 0, 0, 0.6); }
body.page .fut.empty { color: var(--s1-mute); background: rgba(18, 20, 25, 0.85); box-shadow: inset 0 0 0 1px var(--s1-line); }
body.page .fut.empty svg { width: 26px; height: 26px; }
body.page .fut-r { position: absolute; left: 6px; top: 4px; font: 800 1.3rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .fut.gold .fut-r { color: var(--s1-hot); }
body.page .fut-p { position: absolute; left: 7px; top: 28px; width: 16px; height: 16px; color: var(--s1-mute); }
body.page .fut-img img { width: 52px; height: 52px; display: block; object-fit: cover; margin-left: 18px; }
body.page .fut-img svg { width: 40px; height: 40px; }
body.page .fut > b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 italic 0.95rem/1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .fut small { font-size: 0.66rem; color: var(--s1-mute); }
body.page .fut-st { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 8px; }
body.page .fut-st i { font: 700 0.62rem/1.25 var(--s1-cast); font-style: normal; letter-spacing: 0.04em; color: var(--s1-mute); text-align: left; }
body.page .fut-st em { font-style: normal; color: var(--s1-white); margin-right: 3px; }
body.page .cm-cfg { width: 290px; display: grid; gap: 8px; align-content: start; padding: 12px; background: var(--s1-deck); }
body.page .cm-cfg h4 { margin: 6px 0 0; font: 800 0.8rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .cm-cfg .field { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; align-items: center; gap: 6px; }
body.page .cm-cfg .field input, body.page .cm-cfg .field select { width: 100%; }
@media (max-width: 900px) { body.page .cm-body { grid-template-columns: 1fr; } body.page .cm-cfg { width: auto; } body.page .co-map-win { inset: 0; } }
/* scrims, plans, historique */
body.page .co-scrim-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 18px; }
body.page .co-exp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.page .co-exp select, body.page .co-exp input[type="date"] { padding: 6px 8px; color: var(--s1-white); background: var(--s1-ink); border: 1px solid var(--s1-line); }
body.page .co-plan.done { opacity: 0.75; }
body.page .co-plan header .hx-btn { flex: none; }
body.page .co-hfilter { margin-bottom: 14px; }
body.page .cs-res { font: 800 1rem/1 var(--s1-cast); color: var(--s1-white); }
/* trouver un scrim */
body.page .sb { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--s1-line); display: grid; gap: 12px; position: relative; }
body.page .sb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
body.page .sb-head .co-h { margin: 0; }
body.page .sb-err { margin: 0; padding: 8px 12px; font-size: 0.86rem; color: #fff; background: rgba(240, 48, 74, 0.25); box-shadow: inset 3px 0 0 var(--s1-red); }
body.page .sb-fmts { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; border: 0; padding: 0; margin: 0; }
body.page .sb-h { margin: 10px 0 6px; font: 800 0.82rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); }
body.page .sb-h small { color: var(--s1-mute); margin-left: 6px; }
body.page .sb-list, body.page .sb-threads, body.page .sb-msgs { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
body.page .sb-item { display: grid; grid-template-columns: 7rem minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--s1-deck-2); }
body.page .sb-item.st-accepted { box-shadow: inset 3px 0 0 #3fd68a; } body.page .sb-item.st-declined, body.page .sb-item.st-cancelled { opacity: 0.6; }
body.page .sb-when b, body.page .sb-who b { display: block; font: 800 0.95rem/1.2 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .sb-when small, body.page .sb-who small { display: block; font-size: 0.78rem; line-height: 1.35; color: var(--s1-mute); }
body.page .sb-list > .sb-item:not(:has(.sb-when)) { grid-template-columns: minmax(0, 1fr) auto; }
body.page .sb-acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
body.page .sb-inbox { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
body.page .sb-threads button { width: 100%; display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; color: var(--s1-white); background: var(--s1-deck-2); border: 0; cursor: pointer; text-align: left; }
body.page .sb-threads button[aria-pressed="true"] { box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .sb-threads small { color: var(--s1-mute); }
body.page .sb-chat { display: grid; gap: 8px; align-content: start; padding: 12px; background: var(--s1-deck); }
body.page .sb-msgs { max-height: 340px; overflow: auto; }
body.page .sb-msgs li { max-width: 85%; padding: 8px 10px; background: var(--s1-deck-2); }
body.page .sb-msgs li.me { justify-self: end; background: #18325c; }
body.page .sb-msgs p { margin: 0; font-size: 0.9rem; color: var(--s1-white); white-space: pre-wrap; }
body.page .sb-msgs small { font-size: 0.7rem; color: var(--s1-mute); }
body.page .sb-send { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: end; }
body.page .sb-pop { position: absolute; inset: 0; z-index: 5; display: grid; place-items: start center; padding-top: 50px; background: rgba(10, 11, 14, 0.75); }
body.page .sb-pop > form { width: min(640px, 100%); padding: 16px; background: #0f1115; box-shadow: inset 0 3px 0 var(--s1-hot), 0 24px 60px rgba(0, 0, 0, 0.6); }
@media (max-width: 900px) { body.page .sb-inbox { grid-template-columns: 1fr; } body.page .sb-item { grid-template-columns: 1fr; } body.page .sb-acts { justify-content: flex-start; } }

/* #57 (3e retour) — Review : vidéo de la game (fichier du PC ou YouTube) synchronisée avec la carte, moments clés,
   « Envoyer au dashboard coach » dans l'en-tête. */
body.page .rv-vbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 8px 10px; margin-bottom: 8px; background: var(--s1-deck); }
body.page .rv-vbar > b { font: 800 0.82rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-white); margin-right: 4px; }
body.page .rv-vbar small { flex-basis: 100%; font-size: 0.76rem; color: var(--s1-mute); }
body.page .rv-vfile { cursor: pointer; }
body.page .rv-vlay button { padding: 5px 8px; font-size: 0.74rem; }
body.page .rv-video { margin-bottom: 8px; background: #000; }
body.page .rv-video[hidden] { display: none; }
body.page .rv-video video, body.page .rv-yt, body.page .rv-yt iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
body.page .rv-left[data-vlay="video"] .rv-mapbox { display: none; }
body.page .rv-left[data-vlay="map"] .rv-video { display: none; }
body.page .rv-coach { display: flex; flex-wrap: wrap; gap: 6px; }
body.page .rv-tocoach { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; }
body.page .rv-tocoach small { font-size: 0.78rem; color: var(--s1-mute); }
body.page .rv-moments { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
body.page .rv-moments button { width: 100%; display: grid; grid-template-columns: 3.2rem 28px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 10px; text-align: left; color: var(--s1-white); background: var(--s1-deck-2); border: 0; box-shadow: inset 3px 0 0 var(--s1-line); cursor: pointer; }
body.page .rv-moments li.b button { box-shadow: inset 3px 0 0 var(--s1-blue); } body.page .rv-moments li.r button { box-shadow: inset 3px 0 0 var(--s1-red); }
body.page .rv-moments button:hover { background: var(--s1-deck-3); }
body.page .rv-moments time { font: 800 0.9rem/1 var(--s1-cast); color: var(--s1-hot); }
body.page .rv-moments i { display: grid; place-items: center; width: 26px; height: 26px; font: 800 0.8rem/1 var(--s1-cast); font-style: normal; color: var(--s1-ink); background: var(--s1-white); }
body.page .rv-moments b { display: block; font: 800 0.92rem/1.2 var(--s1-cast); text-transform: uppercase; }
body.page .rv-moments small { display: block; font-size: 0.76rem; color: var(--s1-mute); }
body.page .dv-fp { min-width: 0; overflow: hidden; }
body.page .dv-fp-art { min-width: 0; max-width: 100%; }
body.page .dv-display > .dv-disp-col:first-child .dv-slide { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
body.page .dv-display > .dv-disp-col:first-child .dv-slide input { grid-column: 1 / -1; grid-row: 2; width: 100%; }
body.page .dv-display > .dv-disp-col:first-child .dv-slide output { grid-row: 1; grid-column: 2; }
body.page .co-map-win > header { padding-right: 48px; }
body.page .co-map-win > header .co-dx { position: absolute; right: 12px; top: 12px; }
body.page .co-map-win [data-act="mapCfg"][aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); }
body.page .co-nbody, body.page .co-notes { grid-template-columns: minmax(0, 1fr); }
body.page .co-nbody > *, body.page .co-note, body.page .ne, body.page .ne-row > * { min-width: 0; }
body.page .co-ntools .hx-btn { flex: none; }
body.page .ne textarea { box-sizing: border-box; }
body.page .co-scrim.hist { grid-template-columns: 8em minmax(0, 1fr) auto 4em auto auto; }
body.page .co-scrim.hist .tag { justify-self: start; }
body.page .co-plan header { grid-template-columns: minmax(0, 1fr) 80px auto auto auto; }
body.page .co-h small { margin-left: 8px; color: var(--s1-mute); font-size: 0.8em; }
@media (max-width: 800px) { body.page .co-scrim.hist { grid-template-columns: 1fr 1fr; } body.page .co-plan header { grid-template-columns: 1fr auto; } }

/* #57 (4e retour) — Mon pool : synergies, type dans « Comment le jouer », meilleurs duos en doré */
body.page .pf-h.gold::before { background: #d9b25c; }
body.page .pf-face.gold img, body.page .pf-face.gold .av-fallback { outline-color: #d9b25c; }
body.page .pf-col .pf-h.pf-gap { margin-top: 22px; }
body.page .pf-curve-txt { margin: 2px 0 0; font-size: 0.86rem; line-height: 1.45; color: var(--s1-mute); }
body.page .pfs-group { display: grid; gap: 10px; }
body.page .pfs-group + .pfs-group { margin-top: 12px; }
body.page .pfs-h { margin: 0; font: 800 0.78rem/1 var(--s1-cast); letter-spacing: 0.14em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pfs-h small { margin-left: 4px; color: var(--s1-white); }
body.page .pfs-faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 12px 8px; }
body.page .pfs-face, body.page .pfs-more { display: grid; justify-items: center; gap: 5px; padding: 0; background: none; border: 0; cursor: pointer; color: inherit; }
body.page .pfs-face[hidden] { display: none; }
body.page .pfs-force { display: flex; gap: 3px; height: 5px; }
body.page .pfs-force i { width: 10px; height: 5px; background: var(--s1-deck-3); }
body.page .pfs-force i.on { background: var(--s1-hot); }
body.page .pfs-face img, body.page .pfs-face .av-fallback { width: 46px; height: 46px; object-fit: cover; }
body.page .pfs-name { max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 0.66rem/1 var(--s1-cast); letter-spacing: 0.04em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pfs-face:hover .pfs-name, body.page .pfs-face:focus-visible .pfs-name { color: var(--s1-white); }
body.page .pfs-face:hover img { filter: brightness(1.15); }
body.page .pfs-more { align-content: center; }
body.page .pfs-more b { display: grid; place-items: center; width: 46px; height: 46px; margin-top: 10px; font: 800 1.3rem/1 var(--s1-cast); color: var(--s1-white); background: var(--s1-deck-2); }
body.page .pfs-more span { font: 700 0.62rem/1 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-mute); }
body.page .pfs-more:hover b { background: var(--s1-deck-3); }
.pfs-tip { position: fixed; z-index: 90; padding: 10px 12px; background: #1a1d24; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 30px rgba(0,0,0,.5); pointer-events: none; }
.pfs-tip b { display: block; margin-bottom: 4px; font: 800 0.72rem/1.2 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: #ffd23f; }
.pfs-tip p { margin: 0; font-size: 0.86rem; line-height: 1.4; color: #f4f2ee; }
.pfs-tip[hidden] { display: none; }
body.page .pf-arch { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; background: var(--s1-deck-2); }
body.page .pf-arch > svg, body.page .pf-arch > .role-ic { width: 20px; height: 20px; color: var(--s1-hot); }
body.page .pf-arch b { font: 800 0.86rem/1.3 var(--s1-cast); letter-spacing: 0.04em; text-transform: uppercase; color: var(--s1-white); }
body.page .pf-arch span, body.page .pf-arch p { font-size: 0.86rem; line-height: 1.45; color: var(--s1-mute); }
body.page .pf-arch p { margin: 4px 0 0; }

/* #57 (4e retour) — Préparer un match : un seul champ par joueur (pseudo ou Riot ID), « C'est moi » sur la même ligne,
   le pool dessous ; en-tête adverse sur une ligne avec une petite croix pour supprimer l'équipe */
body.page .pm-duo .pm-id { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
body.page .pm-duo .pm-id .pm-name { flex: 1 1 160px; min-width: 0; }
body.page .pm-duo .pm-id .pm-acct { flex-basis: 100%; }
body.page .pm-duo .pm-id .pm-me { margin: 0; height: 34px; padding: 0 12px; }
body.page .pm-duo .pm-id .pm-imp { height: 34px; }
body.page .pm-duo .pm-head { flex-wrap: nowrap; align-items: flex-end; }
body.page .pm-duo .pm-head .pm-sels { flex-wrap: nowrap; align-items: flex-end; min-width: 0; }
body.page .pm-duo .pm-head .pm-sels > * { min-width: 0; }
body.page .pm-delteam { flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin: 0 0 4px auto; padding: 0; font: 400 1.3rem/1 var(--s1-cast); text-decoration: none; color: var(--s1-mute); background: none; border: 1px solid var(--s1-line); cursor: pointer; }
body.page .pm-delteam:hover, body.page .pm-delteam:focus-visible { color: #fff; background: var(--s1-red); border-color: var(--s1-red); }

/* #57 — outils de capture (dessin, captures, clips) : capture-tools.js */
.sk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.sk-bar button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; cursor: pointer; color: #f4f2ee; background: #1a1d24; border: 1px solid #2a2e38; font: 800 0.76rem/1 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.sk-bar button:hover { border-color: #f4f2ee; }
.sk-bar button[aria-pressed="true"] { color: #0a0b0e; background: #f4f2ee; border-color: #f4f2ee; }
.sk-bar .sk-col { width: 26px; min-height: 26px; padding: 0; background: var(--c); border: 2px solid #0a0b0e; outline: 1px solid #2a2e38; }
.sk-bar .sk-col[aria-pressed="true"] { outline: 2px solid #f4f2ee; background: var(--c); }
.sk-bar .sk-dot { display: block; width: var(--s); height: var(--s); border-radius: 50%; background: currentColor; }
.sk-sep { width: 1px; height: 22px; margin: 0 4px; background: #2a2e38; }
.sk-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 8, 0.85); }
.sk-win { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 10px; width: min(1400px, 100%); max-height: calc(100vh - 32px); padding: 14px 16px; background: #0f1115; border: 1px solid rgba(244, 242, 238, 0.7); border-top: 3px solid #ffd23f; color: #f4f2ee; }
.sk-win header { display: flex; align-items: center; gap: 12px; }
.sk-win header b { font: 800 italic 1.4rem/1 "Barlow Semi Condensed", sans-serif; text-transform: uppercase; }
.sk-hint { color: #9aa0ab; font-size: 0.85rem; }
.sk-x { margin-left: auto; width: 36px; height: 36px; cursor: pointer; color: #f4f2ee; background: none; border: 1px solid #2a2e38; font-size: 1.3rem; }
.sk-stage { position: relative; display: grid; place-items: center; min-height: 0; overflow: hidden; }
.sk-stage img { display: block; max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; }
.sk-frame { position: relative; display: inline-block; line-height: 0; }
.sk-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.sk-win footer { display: flex; justify-content: flex-end; gap: 8px; }
.sk-win footer button { min-height: 40px; padding: 0 16px; cursor: pointer; color: #f4f2ee; background: none; border: 1px solid #2a2e38; font: 800 0.85rem/1 "Barlow Semi Condensed", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.sk-win footer .main { color: #0a0b0e; background: #f4f2ee; border-color: #f4f2ee; }
.sk-win footer .main:hover { background: #ffd23f; border-color: #ffd23f; }

/* #57 (4e retour) — dashboard coach : une carte « Équipe » ; la carte de l'équipe tient dans l'écran (pas de défilement) */
body.page .co-teamcard { display: grid; gap: 12px; }
body.page .co-tc-head { display: flex; align-items: center; gap: 14px; }
body.page .co-tc-logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; cursor: pointer; background: var(--s1-ink); border: 1px dashed var(--s1-line); }
body.page .co-tc-logo:hover { border-color: var(--s1-white); }
body.page .co-tc-logo img { width: 56px; height: 56px; object-fit: contain; }
body.page .co-tc-logo span { font: 800 0.72rem/1.1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-mute); text-align: center; }
body.page .co-tc-id { flex: 1; min-width: 0; display: grid; gap: 4px; }
body.page .co-tc-name { width: 100%; padding: 4px 0; font: 800 italic 1.6rem/1.1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); background: transparent; border: 0; border-bottom: 1px solid transparent; }
body.page .co-tc-name:hover, body.page .co-tc-name:focus { border-bottom-color: var(--s1-line); outline: none; }
body.page .co-tc-map { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer; background: var(--s1-ink); border: 0; }
body.page .co-tc-map img, body.page .co-tc-map svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.page .co-tc-map img { filter: brightness(0.5); transition: filter 0.2s; }
body.page .co-tc-map:hover img { filter: brightness(0.65); }
body.page .co-tc-map span { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; font: 800 0.78rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; color: var(--s1-ink); background: var(--s1-white); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
body.page .co-tc-notes { display: grid; gap: 8px; }
body.page .co-tc-notes .co-sub-h { display: flex; justify-content: space-between; align-items: center; margin: 0; }
body.page .tag.dom { color: #8cc4ff; border-color: rgba(42, 125, 255, 0.5); }
body.page .tag.clip { color: var(--s1-hot); border-color: rgba(255, 210, 63, 0.5); }
body.page .ne-mkplan { min-height: 34px; padding: 0 10px; cursor: pointer; color: var(--s1-hot); background: none; border: 1px solid var(--s1-hot); font: 800 0.76rem/1 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; }
body.page .ne-plan { font-size: 0.8rem; color: var(--s1-hot); }
/* carte de l'équipe en grand : l'image tient dans la fenêtre */
body.page .co-map-win { grid-template-rows: auto minmax(0, 1fr); }
body.page .co-map-win .cm-body { overflow: hidden; align-items: center; }
body.page .co-map-win .co-map { align-self: center; justify-self: center; width: auto; height: auto; max-width: 100%; max-height: calc(94vh - 90px); aspect-ratio: 16 / 9; }
body.page .co-map-win .cm-body:has(.cm-cfg) { overflow: auto; }
@supports (width: 1cqh) {
  body.page .co-map-win .cm-body { container-type: size; }
  body.page .co-map-win .co-map { width: min(100cqw, calc(100cqh * 16 / 9)); }
  body.page .co-map-win .cm-body:has(.cm-cfg) .co-map { width: min(100cqw - 304px, calc(100cqh * 16 / 9)); }
}

/* #57 (4e retour) — Trouver un scrim : être trouvé et passer une annonce mis en avant */
body.page .sb-feat { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
body.page .sb-feat li { display: grid; gap: 4px; padding: 12px 14px; font-size: 0.86rem; line-height: 1.4; color: #cfd2d8; background: var(--s1-deck-2); box-shadow: inset 0 3px 0 var(--s1-blue); }
body.page .sb-feat b { font: 800 0.9rem/1.1 var(--s1-cast); letter-spacing: 0.06em; text-transform: uppercase; color: var(--s1-white); }
body.page .sb-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 12px; padding: 10px 14px; background: var(--s1-deck-2); }
body.page .sb-band > span { font-size: 0.86rem; color: var(--s1-mute); }
body.page .sb-vis { font-weight: 800; color: var(--s1-red) !important; }
body.page .sb-vis.on { color: #3fd68a !important; }
body.page .sb-band .hx-btn.primary { margin-left: auto; }
@media (max-width: 800px) { body.page .sb-feat { grid-template-columns: 1fr; } }
body.page .co-teamcard input.co-tc-name { padding: 4px 0; min-height: 0; background: transparent; border: 0; border-bottom: 1px solid transparent; box-shadow: none; font: 800 italic 1.6rem/1.1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); } body.page .co-teamcard input.co-tc-name:focus { border-bottom-color: var(--s1-white); }

/* #57 (20/11) — Préparer un match : logo d'abord, corbeille dans les sélecteurs, ✓ = analyser, fenêtre du logo, carte de l'équipe */
body.page .pm-duo .pm-team.them .pm-head { flex-wrap: wrap; }
body.page .pm-team.them .pm-head .pm-kicker { flex-basis: 100%; }
body.page .pm-duo .pm-team.them .pm-head .pm-sels { flex: 1 1 100%; }
body.page .pm-duo .pm-team.them .pm-head .pm-sels { flex-wrap: nowrap; align-items: flex-end; gap: 10px; }
body.page .pm-team.them .pm-head .pm-logo { width: 46px; height: 46px; align-self: flex-end; }
body.page .pm-sel { min-width: 0; flex: 1 1 140px; }
body.page .pm-selrow { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--s1-line); background: var(--s1-ink); }
body.page .pm-selrow select, body.page .pm-selrow .rrw-sel { flex: 1; min-width: 0; border: 0 !important; background: transparent; }
body.page .pm-trash { flex: none; display: grid; place-items: center; width: 34px; padding: 0; color: var(--s1-mute); background: none; border: 0; border-left: 1px solid var(--s1-line); cursor: pointer; }
body.page .pm-trash svg { width: 17px; height: 17px; }
body.page .pm-trash:hover, body.page .pm-trash:focus-visible { color: #fff; background: var(--s1-red); }
body.page .pm-loadw { flex: none; min-width: 0; }
body.page .pm-load { display: grid; place-items: center; width: 46px; height: 38px; padding: 0; color: var(--s1-ink); background: var(--s1-white); border: 0; cursor: pointer; clip-path: var(--s1-bevel-s, none); }
body.page .pm-load svg { width: 22px; height: 22px; }
body.page .pm-load:hover:not(:disabled), body.page .pm-load:focus-visible { background: var(--s1-hot); }
body.page .pm-load:disabled { color: var(--s1-mute); background: #1a1d24; cursor: not-allowed; }
body.page .pm-load.busy svg { animation: pmSpin 1s linear infinite; }
@keyframes pmSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { body.page .pm-load.busy svg { animation: none; } }

#logoPop .pm-veil { position: fixed; inset: 0; z-index: 940; background: rgba(4, 5, 8, 0.72); }
#logoPop .pm-logopop { position: fixed; z-index: 941; left: 50%; top: 50%; translate: -50% -50%; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto;
  display: grid; gap: 14px; padding: 18px 22px 22px; color: var(--s1-white); background: #121419; box-shadow: inset 0 3px 0 var(--s1-hot), 0 30px 80px rgba(0, 0, 0, 0.7); }
#logoPop header { display: flex; align-items: center; gap: 12px; }
#logoPop h3 { margin: 0 auto 0 0; font: 800 italic 1.35rem/1 var(--s1-cast); text-transform: uppercase; }
#logoPop .pm-popx { width: 34px; height: 34px; font-size: 1.4rem; line-height: 1; color: var(--s1-mute); background: none; border: 1px solid var(--s1-line); cursor: pointer; }
#logoPop .pm-popx:hover { color: #fff; border-color: #fff; }
#logoPop .pm-pophint { margin: 0; color: var(--s1-mute); font-size: 0.9rem; }
#logoPop .pm-prologos { margin: 0; }
#logoPop .pm-plgrid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
#logoPop .pm-plgrid button { padding: 10px 4px 8px; background: #1a1d24; border: 1px solid transparent; color: var(--s1-white); }
#logoPop .pm-plgrid button:hover, #logoPop .pm-plgrid button:focus-visible { border-color: var(--s1-white); }
#logoPop .pm-plgrid button.on { border-color: var(--s1-hot); box-shadow: inset 0 0 0 1px var(--s1-hot); }
#logoPop .pm-plgrid img { width: 44px; height: 44px; }
#logoPop .pm-pltabs button { padding: 6px 14px; font: 700 0.85rem/1 var(--s1-cast); color: var(--s1-mute); background: none; border: 1px solid var(--s1-line); }
#logoPop .pm-pltabs button[aria-pressed="true"] { color: var(--s1-ink); background: var(--s1-white); border-color: var(--s1-white); }
#logoPop .pm-logoown { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--s1-line); }
#logoPop .pm-popsub { flex-basis: 100%; font: 800 0.75rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; color: var(--s1-mute); }
#logoPop .pm-logoown input[type="url"] { flex: 1; min-width: 200px; padding: 8px 10px; color: var(--s1-white); background: var(--s1-ink); border: 1px solid var(--s1-line); }
#logoPop .hx-btn.danger:hover { background: var(--s1-red); border-color: var(--s1-red); color: #fff; }

body.page .tm-wrap .co-map.tm-map { margin-top: 6px; }
body.page .tm-map .fut { min-width: 86px; width: 11%; }
body.page .tm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; font-size: 0.82rem; color: var(--s1-mute); }
body.page .tm-legend i, body.page .tm-why i { display: inline-block; width: 14px; height: 4px; margin-right: 6px; vertical-align: middle; }
body.page .tm-why { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 0.86rem; color: var(--s1-mute); }
body.page .tm-why li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
body.page .tm-why b { color: var(--s1-white); font: 700 0.86rem/1.2 var(--s1-cast); text-transform: uppercase; letter-spacing: 0.04em; }
body.page .tm-hint { margin: 10px 0 0; font-size: 0.88rem; color: var(--s1-mute); }

/* #57 (20/11) : champions d'un compte importé (Préparer un match) : classes pmp-* (les pf-* sont celles de la fiche de Mon pool) */
body.page .pmp-head .back-link { color: var(--s1-white); background: none; border: 1px solid var(--s1-line); font: 700 0.85rem/1 var(--s1-cast); text-transform: uppercase; padding: 8px 12px; }
body.page .pmp-head .back-link:hover { background: var(--s1-white); color: var(--s1-ink); }
body.page .pmp-id .role-ico { color: var(--s1-mute); }
body.page .pmp-id h2 { font: 800 italic 1.6rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .pmp-id small { color: var(--s1-mute); }
body.page .pmp-row { background: #121419; padding: 6px 8px; }
body.page .pmp-row.in { box-shadow: inset 3px 0 0 var(--s1-hot); }
body.page .pmp-name b { font: 700 1rem/1.1 var(--s1-cast); text-transform: uppercase; color: var(--s1-white); }
body.page .pmp-name small, body.page .pmp-games { color: var(--s1-mute); }
body.page .pmp-wr { background: #1a1d24; }
body.page .pmp-wr.good i { background: rgba(42, 125, 255, 0.55); }
body.page .pmp-wr.bad i { background: rgba(240, 48, 74, 0.5); }
body.page .pmp-add { color: var(--s1-ink); background: var(--s1-white); border: 0; }
body.page .pmp-add:hover:not(:disabled) { background: var(--s1-hot); }
body.page .pmp-add:disabled { color: var(--s1-mute); background: none; }

/* #57 (20/11) — carte de l'équipe adverse : cliquable (Agrandir), et en grand dans une fenêtre avec la fiche du joueur */
body.page .tm-map[data-act="tmOpen"] { cursor: zoom-in; }
body.page .tm-map[data-act="tmOpen"]:hover, body.page .tm-map[data-act="tmOpen"]:focus-visible { outline: 2px solid var(--s1-white); outline-offset: 2px; }
body.page .tm-zoom { position: absolute; right: 10px; bottom: 10px; padding: 6px 10px; font: 800 0.75rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-ink); background: var(--s1-white); clip-path: var(--s1-bevel-s, none); }
body.page .fut-img img { border-radius: 0; }
body.page .fut.empty .fut-img img { width: 52px; height: 52px; display: block; object-fit: cover; margin: 0; }
#tmPop .tm-veil { position: fixed; inset: 0; z-index: 930; background: rgba(4, 5, 8, 0.78); }
#tmPop .tm-pop { position: fixed; z-index: 931; inset: 2.5vh 2.5vw; overflow: auto; display: grid; align-content: start; gap: 18px; padding: 18px 22px 26px;
  color: var(--s1-white); background: #0f1115; box-shadow: inset 0 3px 0 var(--s1-hot), 0 30px 80px rgba(0, 0, 0, 0.7); }
#tmPop .tm-phead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-right: 46px; }
#tmPop .tm-phead h2 { margin: 0; font: 800 italic 1.6rem/1 var(--s1-cast); text-transform: uppercase; }
#tmPop .tm-phead .tm-legend { margin: 0; }
#tmPop .tm-px { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; font-size: 1.5rem; line-height: 1; color: var(--s1-mute); background: none; border: 1px solid var(--s1-line); cursor: pointer; }
#tmPop .tm-px:hover { color: #fff; border-color: #fff; }
#tmPop .tm-ptop { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr); gap: 22px; align-items: start; }
#tmPop .tm-pmap .co-map { width: 100%; }
#tmPop .tm-pmap .fut { width: 10.5%; min-width: 96px; font: inherit; cursor: pointer; border: 0; }
#tmPop .tm-pmap .fut:hover { outline: 2px solid rgba(255, 255, 255, 0.6); }
#tmPop .tm-pmap .fut.sel { outline: 3px solid var(--s1-hot); outline-offset: 2px; z-index: 2; }
#tmPop .tm-phint { margin: 8px 0 0; font-size: 0.85rem; color: var(--s1-mute); }
#tmPop .tm-pfiche .fv { margin: 0; padding: 14px; background: #121419; border: 0; }
#tmPop .tm-pmore { display: grid; gap: 18px; }
#tmPop .tm-pmore .fv-more, #tmPop .tm-pstats { padding: 16px; background: #121419; }
@media (max-width: 1000px) { #tmPop .tm-ptop { grid-template-columns: 1fr; } #tmPop .tm-pop { inset: 0; } }

/* #57 (20/11) : fiche d'un joueur : identité (toutes ses games) contre forme du moment (5 dernières), et d'où viennent ses games. */
body.page .fv-form { display: grid; gap: 8px; margin-top: 3px; padding: 12px; background: var(--s1-ink); }
body.page .fv-fgrid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 18px; align-items: baseline; }
body.page .fv-fgrid em { font: 700 0.72rem/1.2 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-white); font-style: normal; text-align: right; }
body.page .fv-fgrid em small { display: block; color: var(--s1-mute); letter-spacing: 0.04em; text-transform: none; font-weight: 600; }
body.page .fv-fgrid > span { color: var(--s1-mute); font-size: 0.85rem; }
body.page .fv-fgrid > b { font: 700 1.05rem/1.2 var(--s1-cast); color: var(--s1-white); text-align: right; font-variant-numeric: tabular-nums; }
body.page .fv-fgrid i { font-style: normal; font-size: 0.7rem; }
body.page .fv-fgrid i.up { color: #4fd18b; }
body.page .fv-fgrid i.down { color: var(--s1-red); }
body.page .fv-fnow { display: flex; align-items: center; gap: 6px; }
body.page .fv-fnow > span { font: 700 0.72rem/1 var(--s1-cast); letter-spacing: 0.08em; text-transform: uppercase; color: var(--s1-mute); margin-right: 4px; }
body.page .fv-fc { width: 30px; height: 30px; overflow: hidden; }
body.page .fv-fc img { width: 100%; height: 100%; object-fit: cover; }
body.page .fv-fsrc { margin: 0; font-size: 0.8rem; color: var(--s1-mute); }

/* ---------------- #57 (20/11) : page Compte, MON PROFIL (Riot ID, photo) et AMIS ---------------- */
body.page .ap-form { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: start; }
body.page .ap-photo { position: relative; width: 112px; height: 112px; display: grid; place-items: center; cursor: pointer; overflow: hidden; border-radius: 50%;
  background: var(--s1-ink); border: 2px solid var(--s1-line); font: 800 2.6rem/1 var(--s1-cast); color: var(--s1-mute); }
body.page .ap-photo img { width: 100%; height: 100%; object-fit: cover; }
body.page .ap-photo em { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 0 8px; font: 700 0.7rem/1 var(--s1-cast); font-style: normal; letter-spacing: 0.12em;
  text-transform: uppercase; text-align: center; color: var(--s1-white); background: rgba(10, 11, 14, 0.75); opacity: 0; transition: opacity 0.14s; }
body.page .ap-photo:hover em, body.page .ap-photo:focus-within em { opacity: 1; }
body.page .ap-photo:hover { border-color: var(--s1-blue); }
body.page .ap-fields { display: grid; gap: 12px; min-width: 0; }
body.page .ap-line { display: flex; gap: 8px; margin-top: 6px; }
body.page .ap-line input { flex: 1; min-width: 0; }
body.page .ap-st { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--s1-mute); }
body.page .ap-st.ok { color: #3fd68a; } body.page .ap-st.ko { color: #ff6b7d; }
body.page .ap-st img { width: 28px; height: 28px; border-radius: 50%; }
body.page .acc-friends h2 small { margin-left: 6px; font-size: 0.9rem; color: var(--s1-mute); }
body.page .af-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
body.page .af-form input { flex: 1 1 220px; min-width: 0; }
body.page .af-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
body.page .af-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 4px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
body.page .af-list li.gone { opacity: 0.55; }
body.page .af-list li.af-empty { display: block; color: var(--s1-mute); line-height: 1.5; border: 0; }
body.page .af-face { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--s1-deck-3); font: 800 1rem/1 var(--s1-cast); color: var(--s1-white); }
body.page .af-face img { width: 100%; height: 100%; object-fit: cover; }
body.page .af-who { display: grid; gap: 2px; min-width: 0; }
body.page .af-who b { font: 700 1rem/1.1 var(--s1-cast); color: var(--s1-white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.page .af-who small { font-size: 0.78rem; color: var(--s1-mute); }
body.page .af-x { width: 32px; height: 32px; cursor: pointer; font-size: 1.2rem; color: var(--s1-mute); background: none; border: 0; }
body.page .af-x:hover { color: var(--s1-red); }

/* #57 (23/11, audit) : page « Méta pro » */
body.page .mt-leagues { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
body.page .mt-leagues button { min-height: 34px; padding: 0 12px; }
body.page .mt-leagues button small { color: var(--s1-mute); margin-left: 4px; }
body.page .mt-leagues button[aria-pressed="true"] small { color: inherit; }
body.page .mt-table td:first-child { display: flex; align-items: center; gap: 10px; }
body.page .mt-av img { width: 32px; height: 32px; border-radius: 50%; display: block; }
body.page .mt-bar { display: inline-block; width: 70px; height: 6px; margin-right: 8px; vertical-align: middle; background: rgba(255, 255, 255, 0.08); }
body.page .mt-bar i { display: block; height: 100%; background: var(--s1-hot); }

/* #57 (23/11, audit) : code de secours (page Compte) */
body.page .acc-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
body.page .acc-code code { font: 700 1.25rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: 0.08em; padding: 10px 14px; background: #0a0b0e; border: 1px dashed var(--s1-hot); color: var(--s1-white); user-select: all; }
body.page .acc-linkbtn { background: none; border: 0; padding: 0; color: var(--s1-white); text-decoration: underline; cursor: pointer; font: inherit; }
body.page .acc-linkbtn:hover { color: var(--s1-hot); }

/* #57 (23/11) : accueil qui défile → section « Jouer » (défi du jour, carrière de coach) */
body.page .home-more { margin: 0 auto 8px; color: var(--s1-mute); text-decoration: none; font: 700 0.82rem/1 var(--s1-cast); letter-spacing: 0.1em; text-transform: uppercase; display: inline-flex; gap: 8px; align-items: center; }
body.page .home-more:hover { color: var(--s1-white); }
body.page .home-more span { animation: hpBob 1.6s ease-in-out infinite; }
@keyframes hpBob { 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { body.page .home-more span { animation: none; } }
body.page .home-play { position: relative; z-index: 1; padding: 64px 1.5rem 28px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: linear-gradient(transparent, rgba(8, 9, 11, 0.92) 120px); }
body.page .hj-title { margin: 0; font: italic 800 clamp(2rem, 4vw, 2.8rem)/1 var(--s1-cast); text-transform: uppercase; }
body.page .hj-sub { margin: 0 0 10px; color: var(--s1-mute); }
body.page .hj-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); gap: 24px; width: 100%; justify-content: center; margin-bottom: 40px; }
body.page .hj-card { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px; min-height: 230px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 20, 25, 0.9); color: var(--s1-white); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
body.page .hj-card:hover { border-color: var(--s1-white); transform: translateY(-2px); }
body.page .hj-k { align-self: flex-start; font: 700 0.72rem/1 var(--s1-cast); letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; background: var(--s1-hot); color: #111; }
body.page #hpCareer .hj-k { background: #3ecf7a; }
body.page .hj-t { font: italic 800 1.8rem/1 var(--s1-cast); text-transform: uppercase; }
body.page .hj-x { color: #cfd2d8; line-height: 1.45; }
body.page .hj-live { color: var(--s1-mute); font-size: 0.9rem; min-height: 1.2em; }
body.page .hj-live b { color: var(--s1-white); }
body.page .hj-card .mode-cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { body.page .hj-cards { grid-template-columns: minmax(0, 1fr); } }

/* #57 (23/11, retour) : section Jouer = 2 cartes animées comme celles du haut, fond « stade des Worlds » fondu avec celui du haut */
body.page .home-play { background: none; isolation: isolate; }
body.page .hj-bg { position: absolute; inset: 0; z-index: -1; background: url("img/home/worlds.webp") center 40% / cover no-repeat;
  filter: brightness(0.5) saturate(0.95); -webkit-mask-image: linear-gradient(transparent, #000 220px); mask-image: linear-gradient(transparent, #000 220px); }
body.page .hj-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 35%, rgba(5, 6, 8, 0.75)); }
body.page .hj-modes { grid-template-columns: repeat(2, minmax(0, 300px)); margin: 0 0 40px; }
@media (max-width: 760px) { body.page .hj-modes { grid-template-columns: minmax(0, 1fr); } }
body.page .hj-live { color: #cfd2d8; font-size: 0.82rem; min-height: 1.1em; position: relative; }
body.page .hj-live b { color: #fff; }
body.page .home-more { padding: 8px 14px; color: var(--s1-white); animation: hjPulse 2.4s ease-in-out infinite; }
@keyframes hjPulse { 0%, 100% { text-shadow: 0 0 0 transparent; opacity: 0.8; } 50% { text-shadow: 0 0 14px rgba(255, 255, 255, 0.9); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body.page .home-more { animation: none; } }

/* #57 (23/11, retour 2) : les fonds défilent avec leur section (plus de fond fixe) : la Faille s'efface vers le noir en bas du
   1er écran, le stade des Worlds part du noir ; on ne voit plus la carte derrière le stade. */
body.page:has(.home-play) { background: #050608; }
/* overflow : l'image de fond (agrandie ×1,08) dépassait à droite et élargissait la page (bande noire) depuis que le fond défile (24/11). */
body.page:has(.home-play) .backdrop.home-bg { position: absolute; inset: 0 0 auto 0; height: 100vh; min-height: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
body.page .hj-bg { -webkit-mask-image: linear-gradient(transparent, #000 260px); mask-image: linear-gradient(transparent, #000 260px); }
body.page .home-play { padding-top: 110px; min-height: 100vh; justify-content: center; }
body.page .home-more.up { margin: 0 0 22px; }
/* 24/11 : « Jouer » tout en bas du 1er écran (les cartes ne bougent pas). */
body.page .home-more:not(.up) { position: relative; top: 24px; }
body.page .hj-title { margin-bottom: 30px; }
/* Carrière : le yordle est collé au bord droit de l'image (visage au-dessus du texte). */
body.page #hpCareer { background-position: right 0; }
body.page #hpCareer .mode-vid { object-position: right 0; }
body.page .hj-ctarow { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
body.page .hj-ctarow .mode-cta { margin-top: 0; }
body.page .hj-score { font: italic 800 1.5rem/1 var(--s1-cast); color: var(--s1-white); position: relative; }

/* 25/11 (audit) : contraste du blanc sur le bleu (4,5 pour 1 au moins), textes de 12 px au moins */
body.page .legal-toc a:first-child, body.page .pf-tag { background: #1f6be6; }
body.page .pf-tags + small, body.page .pl-roles small { font-size: 0.75rem; }
