/* ES Guyancourt — Joueur du Mois : variables de la charte Sport Premium (copie de var/charte/charte-variables.css).
   Thème Jour par défaut, Nuit si le téléphone est en mode sombre ; data-theme="jour|nuit" sur <html> force un thème. */
@font-face { font-family: 'Barlow Condensed'; src: url('polices/BarlowCondensed-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('polices/BarlowCondensed-ExtraBold.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('polices/BarlowCondensed-ExtraBoldItalic.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter Variable'; src: url('polices/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --tap-target: 48px;
  --content-max: 1120px;
  --glass-blur: 20px;
  --hairline: 1px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-sans: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root, [data-theme="jour"] {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-raised: #fbfbfd;
  --glass: rgba(255,255,255,0.72);
  --ink: #1d1d1f;
  --ink-muted: #6e6e73;
  --line: #e5e5ea;
  --line-strong: #8e8e93;
  --invert: #0a0a0b;
  --on-invert: #ffffff;
  --accent: #d4ff3f;
  --on-accent: #0a0a0b;
  --accent-ink: #4d6600;
  --gold: #b8945a;
  --gold-ink: #8a6a2c;
  --gold-soft: #f6efe2;
  --club: #242d4a;
  --club-2: #842f27;
  --club-ink: #242d4a;
  --on-club: #ffffff;
  --on-club-muted: #c7cbd6;
  --on-club-gold: #c9a96e;
  --success: #1d7a35;
  --success-soft: #e8f6ec;
  --warning: #a24a00;
  --warning-soft: #fdf0e0;
  --danger: #c4170c;
  --danger-soft: #fdeceb;
  --focus: var(--accent-ink);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-float: 0 16px 48px rgba(0,0,0,0.14);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="jour"]) {
  --bg: #0a0a0b;
  --surface: #161618;
  --surface-raised: #1f1f22;
  --glass: rgba(22,22,24,0.72);
  --ink: #f5f5f7;
  --ink-muted: #a1a1a6;
  --line: #2a2a2e;
  --line-strong: #6e6e73;
  --invert: #ffffff;
  --on-invert: #0a0a0b;
  --accent: #d4ff3f;
  --on-accent: #0a0a0b;
  --accent-ink: #d4ff3f;
  --gold: #c9a96e;
  --gold-ink: #c9a96e;
  --gold-soft: #1f1a10;
  --club: #2b3760;
  --club-2: #9b3a30;
  --club-ink: #9fb0e8;
  --on-club: #ffffff;
  --on-club-muted: #c7cbd6;
  --on-club-gold: #c9a96e;
  --success: #30d158;
  --success-soft: #10291a;
  --warning: #ff9f0a;
  --warning-soft: #2e2008;
  --danger: #ff453a;
  --danger-soft: #2e1210;
  --focus: var(--accent-ink);
  --shadow-card: none;
  --shadow-float: 0 16px 48px rgba(0,0,0,0.6);
  }
}
[data-theme="nuit"] {
  --bg: #0a0a0b;
  --surface: #161618;
  --surface-raised: #1f1f22;
  --glass: rgba(22,22,24,0.72);
  --ink: #f5f5f7;
  --ink-muted: #a1a1a6;
  --line: #2a2a2e;
  --line-strong: #6e6e73;
  --invert: #ffffff;
  --on-invert: #0a0a0b;
  --accent: #d4ff3f;
  --on-accent: #0a0a0b;
  --accent-ink: #d4ff3f;
  --gold: #c9a96e;
  --gold-ink: #c9a96e;
  --gold-soft: #1f1a10;
  --club: #2b3760;
  --club-2: #9b3a30;
  --club-ink: #9fb0e8;
  --on-club: #ffffff;
  --on-club-muted: #c7cbd6;
  --on-club-gold: #c9a96e;
  --success: #30d158;
  --success-soft: #10291a;
  --warning: #ff9f0a;
  --warning-soft: #2e2008;
  --danger: #ff453a;
  --danger-soft: #2e1210;
  --focus: var(--accent-ink);
  --shadow-card: none;
  --shadow-float: 0 16px 48px rgba(0,0,0,0.6);
}
