/* Identité « boutique 2018 » (style 4 choisi le 2026-10-05) : chargé en DERNIER sur toutes les pages, par-dessus style.css,
   dashboard.css et store.css. Oswald + Open Sans, orange, panneaux à barre de titre, boutons à dégradé brillant, coins à 4 px. */
:root {
  --bg: #191b1e;
  --surface: #202327;
  --surface-2: #25282d;
  --border: #2c3036;
  --border-strong: #444a52;
  --text: #e8e8e8;
  --muted: #9ba1a8;
  --primary: #ff8a1e;
  --primary-hover: #ffa047;
  --primary-muted: #ffc18a;
  --primary-deep: #a94e05;
  --primary-rgb: 255 138 30;
  --on-primary: #1f0e00;
  --font-sans: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Oswald", "Open Sans", sans-serif;
  --bar-grad: linear-gradient(180deg, #2a2e33, #23262a);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 6L6 0' stroke='%23ffffff0a'/%3E%3C/svg%3E");
}

body { background: #0e0f10 var(--pattern); }
::selection { background: rgb(var(--primary-rgb) / .35); }

/* plus de halos ni de points flottants */
.bg-fx, .orb, .dots, .hero-line { display: none !important; }
.glow { animation: none; }

/* titres : Oswald en majuscules, sans resserrement « moderne » */
h1, h2, h3, .page-head h1, .card h2, .modal h3, .section h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--primary); text-shadow: 0 0 30px rgb(var(--primary-rgb) / .35); }
.kicker { font: 600 12px var(--font-sans); letter-spacing: .14em; color: var(--muted); }

/* ---------- en-tête du site ---------- */
.site-header, .site-header.solid, .site-header.scrolled {
  background: linear-gradient(180deg, #26292e, #1d1f23); border-bottom: 1px solid #0c0d0f;
  box-shadow: 0 2px 8px rgb(0 0 0 / .5); backdrop-filter: none; -webkit-backdrop-filter: none;
}
.logo { font: 500 21px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { gap: 0; }
.nav-links a { border-radius: 0; border-left: 1px solid var(--border); font: 400 14px var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.nav-links a:last-child { border-right: 1px solid var(--border); }
.nav-links a.active { color: var(--primary); background: rgb(0 0 0 / .25); }

/* ---------- boutons ---------- */
button, .btn {
  border-radius: 4px; border: 1px solid #14161a; color: #ddd;
  background: linear-gradient(180deg, #3a3e45, #2a2d32);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 2px 4px rgb(0 0 0 / .4);
  font: 500 14px var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 -1px 0 #000;
}
button:hover, .btn:hover { border-color: #14161a; filter: brightness(1.12); }
.btn-primary, button.primary {
  background: linear-gradient(180deg, #ffb052, #e06a0c); border-color: #a94e05; color: var(--on-primary);
  text-shadow: 0 1px 0 rgb(255 255 255 / .3); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 2px 4px rgb(0 0 0 / .4);
}
.btn-primary:hover, button.primary:hover { background: linear-gradient(180deg, #ffbe6b, #ec7716); border-color: #a94e05; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 2px 4px rgb(0 0 0 / .4); }
.btn-ghost, button.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; text-shadow: none; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgb(255 255 255 / .04); filter: none; }
.btn-outline { background: linear-gradient(180deg, #3a3e45, #2a2d32); }
.btn-lg, .btn-xl, button.small, .btn.small { border-radius: 4px; }
button.danger, .btn-danger { color: #ff8b8d; }
.tabs { border-radius: 4px; background: #15171a; padding: 3px; }
.tabs button { border-radius: 3px; background: transparent; box-shadow: none; text-shadow: none; }
.tabs button.active { background: var(--bar-grad); color: var(--primary); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }

/* ---------- champs ---------- */
input, select, textarea { border-radius: 3px; background: #15171a; border-color: #34383f; box-shadow: inset 0 1px 3px rgb(0 0 0 / .5); }
input:focus, select:focus, textarea:focus { box-shadow: inset 0 1px 3px rgb(0 0 0 / .5), 0 0 0 2px rgb(var(--primary-rgb) / .25); }
label { font-weight: 600; }

/* ---------- panneaux ---------- */
.card, .stat, .modal, .pmodal, .pcard, .plan, .ov-strip, .callout, .announcement, .toast, .auth-card, .recovery-codes, .feature,
.loader-icon, .ov-ico, .avatar, .qr-box, .dc-seg, .dc-seg-cards > button, .dc-preview-wrap, .dc-send, .badge, .chip {
  border-radius: 4px;
}
.card, .stat, .pcard, .auth-card, .modal { box-shadow: 0 2px 6px rgb(0 0 0 / .4); }
.auth-card { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 0; overflow: hidden; }
.auth-card h1 { margin: 0 -32px 0; padding: 14px 32px; background: var(--bar-grad); border-bottom: 1px solid #121315; font-size: 20px; text-align: left; }
.auth-card .sub { text-align: left; margin-top: 16px; }
.card { padding: 0 24px 24px; overflow: hidden; }
.card > h2:first-child, .card > .card-head:first-child {
  margin: 0 -24px 18px; padding: 12px 24px; background: var(--bar-grad); border-bottom: 1px solid #121315; font-size: 15px;
}
.card > .card-head:first-child h2 { font-size: 15px; }
.card > :first-child:not(h2):not(.card-head) { margin-top: 24px; }
.stat { border-top: 3px solid var(--primary); }
.stat-value { font-weight: 500; letter-spacing: .02em; }
th { background: #1b1d21; font: 600 12px var(--font-display); letter-spacing: .1em; }
.badge { font-family: var(--font-sans); font-weight: 600; }
.pcard:hover { border-color: var(--primary-deep); }

/* ---------- dashboard ---------- */
body.app { background-color: #15171a; }
.sidebar { background: linear-gradient(180deg, #202327, #191b1e); border-right: 1px solid #0c0d0f; box-shadow: 2px 0 8px rgb(0 0 0 / .4); }
.nav-title { font: 500 12px var(--font-display); letter-spacing: .14em; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 6px; margin-bottom: 4px; }
.side-nav a { border-radius: 3px; }
.side-nav a.active { background: var(--bar-grad); color: var(--primary); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.side-nav a.active::before { border-radius: 0; }
.main > .topbar { background: linear-gradient(180deg, #26292e, #1d1f23); border-bottom: 1px solid #0c0d0f; }
.crumb { font: 400 14px var(--font-display); text-transform: uppercase; letter-spacing: .1em; }

/* ===== Passe « 2021 nette » (2026-10-05) : style jeu compétitif, angles nets, blocs pleins, filets orange.
   Volontairement : aucun dégradé, aucune lueur, aucune pastille arrondie. ===== */
:root {
  --bg: #0e0f11; --surface: #15171a; --surface-2: #1b1e22; --border: #25282d; --border-strong: #3a3f46;
  --primary: #ff7a1a; --primary-hover: #ff8f3d; --primary-rgb: 255 122 26; --on-primary: #0e0f11;
  --font-sans: "Open Sans", ui-sans-serif, system-ui, sans-serif;
  --bar-grad: #1b1e22; --pattern: none;
}
body, body.app { background: var(--bg); }
h1, h2, h3, .page-head h1, .card h2, .modal h3, .section h2 { font-weight: 600; letter-spacing: .01em; }
.grad { text-shadow: none; }
.site-header, .site-header.solid, .site-header.scrolled { background: #0b0c0e; border-bottom: 1px solid var(--border); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-links a, .nav-links a:last-child { border: 0; border-radius: 0; }
.nav-links a.active { background: none; color: var(--text); box-shadow: inset 0 -2px 0 var(--primary); }
button, .btn { border-radius: 2px; border: 1px solid var(--border-strong); background: transparent; color: var(--text); box-shadow: none; text-shadow: none; font-weight: 600; letter-spacing: .08em; }
button:hover, .btn:hover { filter: none; border-color: var(--text); }
.btn-primary, button.primary { background: var(--primary); border-color: var(--primary); color: var(--on-primary); box-shadow: none; text-shadow: none; }
.btn-primary:hover, button.primary:hover { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: none; }
.btn-ghost, button.btn-ghost { border-color: transparent; }
.btn-lg, .btn-xl, button.small, .btn.small, .tabs, .tabs button, input, select, textarea { border-radius: 2px; }
.tabs { background: var(--surface-2); }
.tabs button.active { background: var(--primary); color: var(--on-primary); box-shadow: none; }
input, select, textarea { background: #0b0c0e; border-color: var(--border-strong); box-shadow: none; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: none; }
.card, .stat, .modal, .pmodal, .pcard, .plan, .ov-strip, .callout, .announcement, .toast, .auth-card, .recovery-codes, .feature,
.loader-icon, .ov-ico, .avatar, .qr-box, .dc-seg, .dc-seg-cards > button, .dc-preview-wrap, .dc-send, .badge, .chip { border-radius: 2px; }
.card, .stat, .pcard, .auth-card, .modal { box-shadow: none; }
.card > h2:first-child, .card > .card-head:first-child, .auth-card h1 { background: transparent; border-bottom: 1px solid var(--border); box-shadow: inset 3px 0 0 var(--primary); }
.stat { border-top: 0; border-left: 3px solid var(--primary); }
.stat-value { font-family: var(--font-display); font-weight: 600; }
th { background: transparent; }
.sidebar { background: #0b0c0e; border-right: 1px solid var(--border); box-shadow: none; }
.nav-title { border: 0; }
.side-nav a { border-radius: 0; }
.side-nav a.active { background: var(--surface-2); color: var(--text); box-shadow: none; }
.main > .topbar { background: #0b0c0e; border-bottom: 1px solid var(--border); }

/* logo KX (2026-10-05) */
.logo-mark { width: 32px; height: 32px; }

/* Lien « Full product page » dans la popup du store (vers /games/<slug>). */
.pmodal-more { margin: -6px 0 14px; font-size: 13px; }
.pmodal-more a { color: var(--primary); text-decoration: none; font-weight: 600; }
.pmodal-more a:hover { text-decoration: underline; }

/* Étoiles des avis clients (★☆ en texte), partout : accueil, pages produit, dashboard. */
.stars { font-size: 15px; letter-spacing: 1px; color: var(--primary); white-space: nowrap; }
