@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=Rubik:wght@400;500;600&display=swap');

:root {
  --bg: #0b0e14;
  --surface: #121821;
  --surface-2: #1a222e;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: #2a3344;
  --cta: #f97316;
  --cta-hover: #ea580c;
  --accent: #38bdf8;
  --ok: #22c55e;
  --danger: #ef4444;
  --featured: #fbbf24;
  --radius: 14px;
  --font: "Rubik", sans-serif;
  --display: "Chakra Petch", sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --max: 1180px;
  --motion: 220ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.25rem; }
.guide-section, [id^="sec-"], #sommaire, #donner-avis {
  scroll-margin-top: 6.25rem;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  /* hidden (pas clip) + overflow-y explicite : clip sur html/body tuait le scroll vertical */
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(249, 115, 22, .12), transparent 55%),
    radial-gradient(700px 420px at 92% 0%, rgba(56, 189, 248, .08), transparent 50%),
    var(--bg);
}
a { color: var(--muted); text-decoration: none; transition: color var(--motion); }
a:hover { color: var(--cta); }
img { max-width: 100%; height: auto; display: block; }
.icon { display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--cta); color: #fff;
  padding: .6rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.topbar,
.vs-topbar {
  position: sticky; top: 0; z-index: 50;
  display: block;
  padding: 0;
  border-bottom: none;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: none;
}
.vs-topbar-inner {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  column-gap: .85rem;
  row-gap: .65rem;
  padding: .65rem 1.25rem .6rem;
  max-width: 1400px;
  margin: 0 auto;
}
.vs-topbar-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--cta) 18%, #fdba74 50%, var(--cta) 82%, transparent 100%);
  opacity: .95;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo-lockup {
  gap: .7rem;
  line-height: 1.15;
  min-width: 0;
}
.logo-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.logo-wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .02em;
  color: var(--text);
  line-height: 1.05;
}
.logo-full {
  display: block;
  height: 42px;
  width: 42px;
  max-width: none;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  box-shadow: 0 0 0 2px rgba(249,115,22,.4), 0 0 0 4px rgba(249,115,22,.12);
}
.logo-full--footer {
  height: 52px;
  width: 52px;
  max-width: none;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: contain; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(249,115,22,.35), 0 4px 12px rgba(0,0,0,.4);
}
.logo:hover { text-decoration: none; opacity: .95; }
.logo:hover .logo-wordmark { color: #fdba74; }
.vs-topnav {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  flex-shrink: 0;
  gap: .2rem;
  padding: .22rem;
  border-radius: 999px;
  background: rgba(18, 24, 33, .9);
  border: 1px solid rgba(42, 51, 68, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  z-index: 1;
}
.vs-topnav a,
.topbar nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: .84rem;
  padding: .4rem .72rem;
  border-radius: 999px;
  border-bottom: none;
  white-space: nowrap;
  transition: color var(--motion), background var(--motion);
}
.vs-topnav a:hover,
.topbar nav a:hover {
  color: var(--text);
  background: rgba(249,115,22,.12);
  text-decoration: none;
}
.vs-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }
.vs-topnav a.active,
.topbar nav a.active {
  color: #fff;
  background: rgba(249,115,22,.22);
  box-shadow: inset 0 0 0 1px rgba(249,115,22,.45);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}
.vs-topsearch {
  display: none;
  align-items: center;
  gap: .4rem;
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: 11.5rem;
  padding: .38rem .55rem .38rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 51, 68, .95);
  background: rgba(18, 24, 33, .88);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--motion), background var(--motion), color var(--motion);
}
.vs-topsearch:hover {
  border-color: rgba(249,115,22,.55);
  color: var(--text);
  background: rgba(26, 34, 46, .95);
}
.vs-topsearch .icon { width: 16px; height: 16px; flex-shrink: 0; }
.vs-topsearch-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .84rem;
}
.vs-topsearch-kbd {
  font-size: .65rem;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: .02em;
  color: #64748b;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(42,51,68,.9);
  border-radius: 6px;
  padding: .12rem .35rem;
  flex-shrink: 0;
}
.vs-topsearch-icon { display: inline-flex; }
.topbar-login, .topbar-api {
  color: var(--muted); font-weight: 500; font-size: .88rem;
}
.topbar-login.btn.ghost {
  padding: .4rem .85rem;
  border-radius: 999px;
  border-color: transparent;
}
.topbar-login:hover, .topbar-api:hover { color: var(--text); text-decoration: none; }
.topbar-cta {
  padding: .5rem 1rem;
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  border-radius: 10px;
  margin-left: .1rem;
  box-shadow: 0 6px 18px rgba(249,115,22,.28);
  flex-shrink: 0;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  cursor: pointer; transition: border-color var(--motion), background var(--motion), box-shadow var(--motion);
  flex-shrink: 0;
}
.icon-btn:hover { border-color: var(--cta); background: var(--surface-2); text-decoration: none; color: var(--text); box-shadow: 0 0 0 1px rgba(249,115,22,.2); }
/* After .icon-btn so display:none wins over .icon-btn { display:inline-flex } */
@media (min-width: 980px) {
  .vs-topsearch { display: inline-flex; }
  .topbar-actions > .icon-btn.vs-topsearch-icon { display: none; }
}
@media (min-width: 980px) and (max-width: 1180px) {
  .vs-topsearch-kbd { display: none; }
  .vs-topsearch { max-width: 8.5rem; }
  .topbar-cta-label { display: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  cursor: pointer; font: inherit; font-weight: 500;
  transition: background var(--motion), border-color var(--motion), color var(--motion), box-shadow var(--motion);
}
.btn:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.btn.accent, .btn.vote {
  background: var(--cta); border-color: transparent; color: #fff; font-weight: 600;
}
.btn.accent:hover, .btn.vote:hover { background: var(--cta-hover); color: #fff; }
.btn.outline-cta {
  background: transparent; border-color: var(--cta); color: var(--cta); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; font-size: .82rem;
}
.btn.outline-cta:hover { background: rgba(249, 115, 22, .12); color: #fdba74; }
.btn.ghost { background: transparent; }
.btn:focus-visible, .icon-btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

main { flex: 1 0 auto; width: 100%; max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; }
main.wide { max-width: none; padding: 0; }
main.wide > .wrap { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; }

.hero-home {
  padding: 2.25rem 0 1.5rem;
}
.hero-home h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .75rem;
  max-width: 18ch;
}
.hero-home .lead {
  color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 42rem; margin: 0 0 1.5rem;
}
.section-title {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 600; margin: 2rem 0 1rem;
  display: flex; align-items: center; gap: .5rem;
}
.muted { color: var(--muted); }
.user { color: var(--muted); font-size: .9rem; }

.moment-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (max-width: 720px) { .moment-grid { grid-template-columns: 1fr; } }
.moment-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  min-height: 220px; border: 1px solid var(--line); box-shadow: var(--shadow);
  cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.moment-card:hover { border-color: var(--cta); text-decoration: none; box-shadow: 0 20px 48px rgba(249,115,22,.15); }
.moment-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.moment-card .overlay {
  position: relative; z-index: 1; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.15rem;
  background: linear-gradient(180deg, transparent 20%, rgba(11,14,20,.92) 85%);
}
.moment-card .badge {
  position: absolute; top: .85rem; right: .85rem; z-index: 2;
  background: var(--cta); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 6px;
}
.moment-card h3 { margin: 0 0 .35rem; color: #fff; font-family: var(--display); font-size: 1.35rem; }
.moment-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.grid-games {
  display: none; /* legacy TS portrait catalog — replaced by .games-rail */
}
.grid-games-sm { max-width: 480px; margin: 0 auto; }
.section-center { justify-content: center; text-align: center; }

/* Games index — asymmetric rail (NOT portrait 6-col) */
.games-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem .85rem;
}
@media (max-width: 860px) {
  .games-rail { grid-template-columns: 1fr; }
}
.game-rail-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: .9rem;
  align-items: stretch;
  padding: 0 .85rem 0 0;
  min-height: 120px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--motion), background var(--motion), transform var(--motion);
}
.game-rail-item:nth-child(odd) {
  background: var(--surface);
}
.game-rail-item:nth-child(even) {
  background: var(--surface);
}
.game-rail-item:hover {
  border-color: rgba(249,115,22,.45);
  background: var(--surface-2);
  text-decoration: none;
  transform: translateX(3px);
}
.game-rail-thumb {
  display: block;
  width: 120px;
  min-height: 120px;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
  align-self: stretch;
}
.game-rail-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.game-rail-copy {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: .3rem; min-width: 0; padding: .65rem 0;
}
.game-rail-title {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.game-rail-meta {
  font-size: .82rem;
  color: var(--muted);
}
.game-rail-chev {
  color: var(--cta);
  font-size: 1.45rem;
  font-weight: 700;
  padding-right: .25rem;
  align-self: center;
}
@media (max-width: 520px) {
  .game-rail-item { grid-template-columns: 96px minmax(0, 1fr) auto; min-height: 96px; }
  .game-rail-thumb { width: 96px; min-height: 96px; }
  .game-rail-title { font-size: 1rem; }
}

.pill {
  position: static;
  display: inline-flex; align-items: center;
  font-size: .62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .22rem .45rem; border-radius: 5px; color: #fff;
  width: fit-content; max-width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.pill-hot { background: var(--cta); }
.pill-new { background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%); }

/* Legacy game-card portrait (unused on home) */
.game-card {
  display: none;
}
.game-card-body, .game-card-title, .game-card-meta, .game-card .label { display: none; }
.chev { color: var(--cta); font-weight: 700; font-size: .85rem; }

.layout-game { display: block; }
.side {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; height: fit-content;
}
.side h3 {
  margin: 0 0 .75rem; font-size: .72rem; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase; font-weight: 600;
}
.side a {
  display: flex; justify-content: space-between; gap: .5rem;
  padding: .5rem .45rem; color: var(--text); border-radius: 8px;
  transition: background .2s;
}
.side a.active, .side a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.side .count { color: var(--muted); font-size: .85rem; }
.side-stat {
  margin-top: 1rem; padding: .85rem; border-radius: 10px;
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.25);
  color: var(--cta); font-weight: 600; font-size: .95rem;
}

.rank-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; }
.rank-switch a {
  padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: .85rem; font-weight: 500; background: var(--surface);
  transition: border-color .2s, color .2s, background .2s;
}
.rank-switch a.active, .rank-switch a:hover {
  border-color: var(--cta); color: var(--text); background: rgba(249,115,22,.12); text-decoration: none;
}

.server-row {
  display: grid;
  grid-template-columns: 3.25rem 11rem minmax(0, 1fr) auto;
  gap: .65rem .9rem;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .55rem .25rem;
  min-height: 4.75rem;
  margin-bottom: 0;
  transition: background var(--motion), border-color var(--motion);
}
.server-row:hover { background: rgba(26, 34, 46, .4); }
.server-rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  text-align: center;
  line-height: 1.1;
  min-height: 2.25rem;
}
.server-rank-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: rgba(249, 115, 22, .85);
  font-variant-numeric: tabular-nums;
}
.server-premium {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #f59e0b;
  line-height: 1;
}
.server-row-featured {
  background: transparent;
  border: 0;
  border-left: 2px solid #f59e0b;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-left: .75rem;
  margin-bottom: 0;
  box-shadow: none;
}
.server-row-featured:hover {
  background: rgba(251, 191, 36, .05);
}
.srv-banner {
  display: block;
  width: 11rem;
  height: 5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(26, 34, 46, .95), rgba(13, 17, 24, .9) 55%, rgba(26, 21, 32, .85)),
    #121820;
  flex-shrink: 0;
  text-decoration: none;
}
.srv-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.srv-banner.is-placeholder {
  position: relative;
}
.srv-banner.is-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 20, 28, .35), rgba(249, 115, 22, .12) 70%, rgba(15, 20, 28, .45));
  pointer-events: none;
}
.srv-banner.is-placeholder img {
  opacity: .55;
  filter: saturate(.7);
}
.server-row .thumb { display: none; }
.server-row h3 {
  margin: 0;
  font-size: .98rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.server-row h3 a { color: var(--text); }
.server-row h3 a:hover { color: var(--cta); }
.server-row .desc {
  color: var(--muted); font-size: .88rem; margin: 0 0 .4rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.server-players {
  margin: .2rem 0 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.3;
}
.server-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .35rem;
  margin-top: .35rem;
}
.server-tags .tag {
  font-size: .65rem;
  padding: .12rem .4rem;
  border-radius: 4px;
  background: transparent;
  border-color: rgba(42, 51, 68, .9);
  color: #7c8aa0;
  letter-spacing: .02em;
}
.server-tags .tag-more {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: .12rem .2rem;
  font-weight: 600;
}
.server-meta-inline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .55rem;
  font-size: .8rem; color: var(--muted);
}
.server-stats {
  display: flex; flex-direction: column; gap: .45rem; align-items: flex-end;
  min-width: 140px; color: var(--muted); font-size: .85rem;
}
.server-stats strong { color: var(--text); }
.featured-label { display: none; }
@media (max-width: 800px) {
  .server-row {
    grid-template-columns: 2.5rem 7.5rem minmax(0, 1fr);
    gap: .5rem .65rem;
    padding: .5rem .15rem;
    min-height: 0;
  }
  .srv-banner {
    width: 7.5rem;
    height: 3.4rem;
  }
  .server-row .srv-metrics {
    grid-column: 2 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    gap: .5rem .75rem;
    padding-bottom: .15rem;
  }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem; margin-bottom: .9rem;
}
.card h1, .card h2, .card h3 { font-family: var(--display); }
.card h2, .card h3 { margin: 0 0 .45rem; font-size: 1.05rem; }
.meta { display: flex; flex-wrap: wrap; gap: .75rem; color: var(--muted); font-size: .9rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
.tag {
  font-size: .72rem; padding: .22rem .55rem; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
  text-transform: uppercase; letter-spacing: .03em; font-weight: 500;
}
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.flash-ok { background: #10261a; color: var(--ok); padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid #1e3f2c; }
.flash-err { background: #2a1414; color: var(--danger); padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid #4a2222; }

.banner {
  position: relative; height: 200px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 1rem;
  display: flex; align-items: flex-end; padding: 1.15rem;
  background-color: var(--bg);
  background-size: cover;
  background-position: center;
}
.banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,20,.25), rgba(11,14,20,.88));
}
.banner > * { position: relative; z-index: 1; }
.server-nav {
  display: flex; flex-wrap: wrap; gap: .25rem 1.1rem;
  border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: .15rem;
}
.server-nav a {
  color: var(--muted); padding: .55rem 0; border-bottom: 2px solid transparent; font-weight: 500;
}
.server-nav a.active { color: var(--cta); border-bottom-color: var(--cta); text-decoration: none; }
.server-nav a:hover { color: var(--text); text-decoration: none; }

.review-criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; margin: .75rem 0; color: var(--muted); font-size: .85rem; }
.reactions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.reaction {
  border: 1px solid var(--line); border-radius: 999px; padding: .25rem .6rem; background: var(--surface-2); color: var(--text); cursor: pointer;
}
.back-top {
  /* Au-dessus du badge reCAPTCHA (~60px + marge), pas par-dessus */
  --back-top-bottom: max(5.5rem, calc(4.75rem + env(safe-area-inset-bottom, 0px)));
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: var(--back-top-bottom);
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: var(--cta); color: #fff; font-size: 1.2rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, bottom .2s ease, transform .2s ease;
  box-shadow: var(--shadow); z-index: 40;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); }
.back-top:focus-visible {
  outline: 2px solid #fdba74; outline-offset: 3px;
}
.inline { display: inline; }

.form { max-width: 420px; display: grid; gap: .85rem; }
.form label { display: grid; gap: .35rem; color: var(--muted); font-size: .9rem; font-weight: 500; }
.form input, .form textarea, .form select {
  width: 100%; padding: .65rem 0; border-radius: 0; border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent; color: var(--text); font: inherit;
}
/* Options natives : contraste lisible (tous les selects du site) */
select option {
  color: #0b0e14;
  background: #fff;
}
.form select option,
.sf-form select option {
  color: #0b0e14;
  background: #fff;
}
.form select,
.sf-form select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .8rem;
  color: var(--text);
  color-scheme: dark;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-bottom-color: var(--cta);
}
.form select:focus, .sf-form select:focus {
  outline: none;
  border-color: var(--cta);
}
.form .hint, .hint { font-size: .8rem; color: var(--muted); }
.grecaptcha-badge { z-index: 35 !important; }
.auth-panel {
  max-width: 440px; margin: 1.5rem auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.5rem 1.35rem; box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.auth-panel h1 { font-family: var(--display); margin: 0 0 .75rem; font-size: 1.6rem; }
.auth-links { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 1rem; font-size: .9rem; }
.oauth-grid { display: grid; gap: .65rem; margin: 1rem 0; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .8rem 1rem; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 1px solid #2a3140; color: #f3f4f6; background: var(--surface-2);
  transition: border-color .15s, transform .15s, background .15s;
}
.oauth-btn:hover { border-color: var(--cta); transform: translateY(-1px); color: #fff; }
.oauth-ico { width: 20px; height: 20px; flex-shrink: 0; }
.oauth-google { border-color: #3c4043; background: #fff; color: #1f1f1f; }
.oauth-google:hover { border-color: #dadce0; background: #f8f9fa; color: #1f1f1f; }
.oauth-discord { background: #5865F2; border-color: #5865F2; color: #fff; }
.oauth-discord:hover { background: #4752c4; border-color: #4752c4; }
.oauth-steam { background: #1b2838; border-color: #66c0f4; color: #fff; }
.oauth-steam:hover { background: #2a475e; }
.oauth-twitch { background: #9146FF; border-color: #9146FF; color: #fff; }
.oauth-youtube { background: #FF0000; border-color: #FF0000; color: #fff; }
.oauth-youtube:hover { background: #cc0000; border-color: #cc0000; }
.oauth-github { background: #24292f; border-color: #30363d; color: #fff; }
.auth-divider {
  display: flex; align-items: center; gap: .75rem; color: #8b93a7; font-size: .85rem; margin: 1.1rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: #2a3140;
}

.legal-page { max-width: 720px; }
.legal-page h1 { margin: 0 0 .5rem; font-size: 1.65rem; font-family: var(--display); }
.legal-page h2 { margin: 1.5rem 0 .55rem; font-size: 1.05rem; }
.legal-page p, .legal-page li { line-height: 1.55; color: var(--muted); }
.code-block {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  padding: .85rem 1rem; overflow-x: auto; color: var(--accent); font-size: .9rem;
  user-select: text; -webkit-user-select: text;
}
.code-block code, .guide-code code {
  user-select: text; -webkit-user-select: text;
}
.code-copy-wrap {
  position: relative;
  margin: .75rem 0;
}
.code-copy-wrap > .code-block,
.code-copy-wrap > .guide-code {
  margin: 0;
  padding-right: 5.5rem;
}
.btn-copy {
  position: absolute;
  top: .45rem;
  right: .45rem;
  z-index: 2;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: #e2e8f0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .28rem .55rem;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.2;
  pointer-events: auto;
}
.btn-copy:hover { border-color: var(--cta); color: #fdba74; }
.btn-copy.is-copied {
  border-color: rgba(34,197,94,.55);
  color: #86efac;
  background: rgba(22,101,52,.35);
}

/* API documentation */
.api-docs {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  min-height: calc(100vh - 8rem);
}
.api-nav {
  position: sticky; top: 4.25rem; align-self: start;
  max-height: calc(100vh - 4.5rem); overflow: auto;
  padding: 1.25rem 1rem 2rem;
  border-right: 1px solid var(--line);
  background: rgba(11, 14, 20, .55);
}
.api-nav-brand {
  display: flex; flex-direction: column; gap: .35rem;
  margin-bottom: 1.1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line);
}
.api-nav-brand img { height: 36px; width: auto; }
.api-nav-ver {
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cta); font-weight: 700;
}
.api-nav a {
  display: block; padding: .38rem .55rem; border-radius: 8px;
  color: var(--muted); font-size: .9rem; text-decoration: none;
}
.api-nav a:hover { color: var(--text); background: rgba(255,255,255,.04); text-decoration: none; }
.api-nav a.is-active { color: #fdba74; background: rgba(249,115,22,.12); }
.api-nav-group {
  margin: .95rem 0 .35rem; padding: 0 .55rem;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: #6b7280; font-weight: 700;
}
.api-main { padding: 1.5rem 1.5rem 3rem; }
.api-hero h1 {
  margin: .2rem 0 .75rem; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.api-eyebrow {
  margin: 0; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cta); font-weight: 700;
}
.api-lead { color: var(--muted); line-height: 1.6; max-width: 46rem; margin: 0 0 1.1rem; }
.api-base {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  padding: .75rem 1rem; border-radius: 12px;
  border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.08);
  margin-bottom: 1rem;
}
.api-base code { color: #fdba74; font-size: .95rem; word-break: break-all; user-select: text; -webkit-user-select: text; }
.api-method {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 3.2rem; padding: .2rem .45rem; border-radius: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
}
.api-method.get { background: #0f766e; color: #ccfbf1; }
.api-bullets { margin: 0; padding-left: 1.15rem; color: var(--muted); line-height: 1.55; }
.api-bullets code { color: #fdba74; }
.api-section { margin-top: 2.25rem; scroll-margin-top: 5rem; }
.api-section > h2 {
  margin: 0 0 .65rem; font-family: var(--display); font-size: 1.35rem;
  padding-bottom: .45rem; border-bottom: 1px solid var(--line);
}
.api-ep {
  margin: 1.25rem 0 1.75rem; padding: 1.15rem 1.2rem;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(15,19,26,.65);
  scroll-margin-top: 5rem;
}
.api-ep h3 { margin: 0 0 .65rem; font-size: 1.05rem; }
.api-url {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  margin-bottom: .85rem;
}
.api-url code { color: #93c5fd; font-size: .88rem; word-break: break-all; user-select: text; -webkit-user-select: text; }
.api-table {
  width: 100%; border-collapse: collapse; margin: .75rem 0 1rem; font-size: .9rem;
}
.api-table th, .api-table td {
  text-align: left; padding: .55rem .65rem; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.api-table th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.api-table code { color: #fdba74; }
.api-codes { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.5; }
.api-codes code { color: #fdba74; }
.api-games {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .75rem;
}
.api-game-chip {
  display: inline-flex; padding: .35rem .65rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); font-size: .82rem; text-decoration: none;
}
.api-game-chip:hover { border-color: var(--cta); color: #fdba74; text-decoration: none; }
@media (max-width: 900px) {
  .api-docs { grid-template-columns: 1fr; }
  .api-nav {
    position: relative; top: 0; max-height: none;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .api-nav nav {
    display: flex; flex-wrap: wrap; gap: .25rem .35rem;
  }
  .api-nav-group { width: 100%; margin: .55rem 0 .15rem; }
}

/* Captcha — compact 3×3 (~88px tiles, touch-friendly on mobile) */
.captcha-prompt { margin: .15rem 0 .55rem; color: var(--text); font-size: .95rem; }
.captcha-grid {
  --captcha-tile: 88px;
  display: grid;
  grid-template-columns: repeat(3, var(--captcha-tile));
  gap: .35rem;
  width: max-content;
  max-width: 100%;
  margin-bottom: .65rem;
  user-select: none;
}
.captcha-tile {
  position: relative; display: block; cursor: pointer;
  width: var(--captcha-tile); height: var(--captcha-tile);
  border: 2px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--surface-2);
}
.captcha-tile input { position: absolute; opacity: 0; pointer-events: none; }
.captcha-tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.captcha-check {
  position: absolute; top: .25rem; right: .25rem; width: 1.15rem; height: 1.15rem;
  border-radius: 50%; background: var(--cta); color: #fff; font-size: .7rem;
  display: none; align-items: center; justify-content: center; font-weight: 700;
}
.captcha-tile:has(input:checked) { border-color: var(--cta); box-shadow: 0 0 0 2px rgba(249,115,22,.35); }
.captcha-tile:has(input:checked) .captcha-check { display: flex; }
.captcha-tile:hover { border-color: #4a5568; }
@media (max-width: 420px) {
  .captcha-grid { --captcha-tile: 78px; gap: .3rem; }
}

/* Footer */
.site-footer {
  margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); color: var(--muted);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 2.25rem 1.5rem 1.75rem;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem 2.5rem;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand {
  display: inline-flex; align-items: center; gap: .85rem;
  line-height: 1.15; margin-bottom: 1rem;
  text-decoration: none;
}
.footer-brand:hover { text-decoration: none; opacity: .92; }
.footer-brand .logo-mark { width: 32px; height: 32px; border-radius: 50%; }
.footer-brand-text {
  display: flex; flex-direction: column; gap: .15rem;
}
.footer-brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--text);
}
.footer-brand-sub {
  font-size: .78rem; color: var(--muted); letter-spacing: .02em;
}
.footer-block { margin-bottom: 1.35rem; }
.footer-heading {
  margin: 0 0 .85rem; color: var(--text); font-size: .98rem; font-weight: 700;
  display: flex; align-items: center; gap: .45rem; font-family: var(--display);
}
.footer-text { margin: 0 0 .75rem; font-size: .9rem; line-height: 1.45; max-width: 28rem; }
.newsletter-form {
  display: flex; max-width: 340px; width: 100%; border: 1px solid rgba(249,115,22,.35); border-radius: 10px;
  overflow: hidden; background: var(--surface-2);
}
.newsletter-form input[type="email"] {
  flex: 1; border: 0; background: transparent; color: var(--text); padding: .7rem .85rem; font: inherit; min-width: 0;
}
.newsletter-submit {
  border: 0; background: var(--cta); color: #fff; padding: 0 1rem; cursor: pointer; font-weight: 600;
}
.newsletter-submit:hover { background: var(--cta-hover); }
.discover-chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .7rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: .85rem;
}
.discover-chip:hover { border-color: var(--cta); text-decoration: none; color: var(--text); }
.discover-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.6rem; height: 1.6rem; border-radius: 4px; background: var(--cta); color: #fff;
  font-size: .65rem; font-weight: 700;
}
.footer-types { display: grid; grid-template-columns: 1fr 1fr; gap: .15rem 1.5rem; }
.footer-types ul, .footer-list, .footer-langs ul { list-style: none; margin: 0; padding: 0; }
.footer-types a, .footer-list a, .footer-langs a { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.footer-types a:hover, .footer-list a:hover, .footer-langs a:hover { color: var(--cta); text-decoration: none; }
.footer-subhead {
  margin: 1rem 0 .35rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-social { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.footer-langs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; max-width: 16rem; }
.footer-bar {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  padding: 1.05rem 1.5rem 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .85rem 1.5rem;
  /* Laisse la place à la flèche « remonter » à droite */
  padding-right: max(4.75rem, calc(1.5rem + 44px + 1rem));
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.15rem; }
.footer-legal a { color: var(--muted); font-size: .84rem; }
.footer-legal a:hover { color: var(--cta); text-decoration: none; }
.footer-copy {
  margin: 0 0 0 auto; font-size: .8rem; color: var(--muted);
  max-width: min(36rem, 100%);
  line-height: 1.4;
}
@media (max-width: 980px) {
  .vs-topbar-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo actions"
      "nav nav";
    gap: .55rem .75rem;
  }
  .logo-lockup { grid-area: logo; }
  .vs-topnav { grid-area: nav; justify-self: stretch; overflow-x: auto; max-width: 100%; }
  .topbar-actions { grid-area: actions; }
  .panel-side { top: 6.5rem; }
}
@media (max-width: 720px) {
  .footer-bar { flex-direction: column; align-items: flex-start; }
  .footer-copy { margin-left: 0; }
  .vs-topbar-inner { padding: .55rem .9rem .5rem; }
  .logo-wordmark { font-size: 1.05rem; }
  .vs-topnav a { padding: .38rem .65rem; font-size: .8rem; }
  .topbar-cta { padding: .45rem .65rem; font-size: .78rem; }
  .topbar-cta-label { display: none; }
  .lang-code { display: none; }
  .topbar-api { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Moderation / tickets / admin / flash */
.vs-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 2rem);
  margin: auto;
  position: fixed;
  inset: 0;
  z-index: 80;
}
.vs-modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(2px); }
.vs-modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: .85rem;
}
.vs-modal-card h2 { font-family: var(--display); margin: 0; font-size: 1.25rem; color: var(--text); }
.vs-modal-card p { color: var(--muted); line-height: 1.45; margin: 0; }
.vs-modal-card .btn { justify-self: end; min-width: 6.5rem; }
.vs-modal--ok .vs-modal-card { border-color: rgba(34, 197, 94, .45); }
.vs-modal--ok .vs-modal-card h2 { color: var(--ok); }
.vs-modal--err .vs-modal-card { border-color: rgba(239, 68, 68, .5); }
.vs-modal--err .vs-modal-card h2 { color: var(--danger); }
.vs-modal-extra { margin-top: .15rem; }
.vs-modal-extra .flash-passport-link { color: var(--cta); font-weight: 600; }
.page-warn {
  border-radius: 10px;
  padding: .85rem 1rem;
  margin-bottom: .85rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.page-warn-info { border-color: var(--accent); }
.page-warn-warn { border-color: var(--cta); background: rgba(249,115,22,.12); }
.page-warn-critical { border-color: var(--danger); background: rgba(239,68,68,.12); }
.ticket-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticket-list li {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  padding: .75rem 0; border-bottom: 1px solid var(--line);
}
.ticket-card-list { display: grid; gap: .75rem; }
.ticket-card {
  display: block; padding: 1rem 1.1rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  color: inherit; text-decoration: none;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.ticket-card:hover {
  border-color: rgba(249,115,22,.55); color: inherit; text-decoration: none;
  transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.ticket-card.status-closed { opacity: .88; }
.ticket-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; flex-wrap: wrap; margin-bottom: .4rem;
}
.ticket-card-head strong { font-size: 1.02rem; }
.ticket-card-preview {
  margin: 0 0 .55rem; color: var(--muted); font-size: .92rem; line-height: 1.45;
}
.ticket-card-meta {
  display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.ticket-badge {
  display: inline-flex; align-items: center; padding: .2rem .55rem;
  border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; border: 1px solid transparent;
}
.ticket-badge--open {
  background: rgba(34,197,94,.14); color: var(--ok); border-color: rgba(34,197,94,.35);
}
.ticket-badge--pending {
  background: rgba(249,115,22,.16); color: #fdba74; border-color: rgba(249,115,22,.4);
}
.ticket-badge--closed {
  background: rgba(148,163,184,.12); color: var(--muted); border-color: rgba(148,163,184,.3);
}
.ticket-detail-meta { margin: .45rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.ticket-thread-card h2, .ticket-compose h2 { margin-bottom: .85rem; }
.ticket-thread { display: flex; flex-direction: column; gap: .75rem; margin: 0; }
.ticket-msg {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1rem;
}
.ticket-msg.staff {
  border-color: rgba(249,115,22,.45);
  background: rgba(249,115,22,.08);
}
.ticket-msg.user { border-left: 3px solid rgba(56,189,248,.45); }
.ticket-msg header {
  display: flex; gap: .5rem; align-items: center; margin-bottom: .4rem; flex-wrap: wrap;
}
.ticket-msg-body { margin: 0; line-height: 1.5; word-break: break-word; }
.ticket-compose textarea { width: 100%; }
.ticket-compose-card { max-width: 44rem; }
.panel-lead { margin: -.35rem 0 1.1rem; line-height: 1.5; max-width: 40rem; }

/* Ticket form — champs lisibles (plus de soulignement moche) */
.ticket-form {
  display: grid;
  gap: 1.15rem;
  max-width: 40rem;
}
.ticket-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) {
  .ticket-form-grid { grid-template-columns: 1fr; }
}
.ticket-field {
  display: grid;
  gap: .4rem;
  margin: 0;
}
.ticket-field-label {
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .01em;
  color: var(--text);
}
.ticket-field-label em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.ticket-form input[type="text"],
.ticket-form input[name="game"],
.ticket-form input:not([type="file"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.ticket-form select,
.ticket-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.ticket-form textarea {
  min-height: 10rem;
  resize: vertical;
}
.ticket-form input:focus,
.ticket-form select:focus,
.ticket-form textarea:focus {
  outline: none;
  border-color: rgba(249,115,22,.65);
  box-shadow: 0 0 0 3px rgba(249,115,22,.18);
  background: var(--surface);
}
.ticket-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
  color-scheme: dark;
}
html[data-theme="light"] .ticket-form select { color-scheme: light; }
.ticket-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  padding-top: .25rem;
}

.ticket-dropzone {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .35rem;
  padding: 1.25rem 1rem;
  border-radius: 14px;
  border: 1.5px dashed rgba(249,115,22,.45);
  background: rgba(249,115,22,.06);
  cursor: pointer;
  text-align: center;
  transition: border-color .15s, background .15s;
}
.ticket-dropzone:hover,
.ticket-dropzone:focus-within {
  border-color: var(--cta);
  background: rgba(249,115,22,.1);
}
.ticket-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.ticket-dropzone-ico { font-size: 1.35rem; line-height: 1; }
.ticket-dropzone-title {
  font-weight: 700;
  color: var(--text);
  font-size: .95rem;
}
.ticket-dropzone-hint {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.35;
}
.ticket-dropzone--compact {
  grid-template-columns: auto 1fr;
  grid-auto-flow: column;
  justify-items: start;
  align-items: center;
  text-align: left;
  padding: .7rem 1rem;
  gap: .35rem 1rem;
}
.ticket-dropzone--compact .ticket-dropzone-title { grid-column: 1; }
.ticket-dropzone--compact .ticket-dropzone-hint { grid-column: 2; }
.ticket-upload-names {
  margin: .45rem 0 0;
  font-size: .82rem;
  word-break: break-word;
}

.ticket-att-list {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}
.ticket-att {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
  font-size: .88rem;
}
.ticket-att:hover {
  border-color: rgba(249,115,22,.5);
  color: var(--text);
  text-decoration: none;
}
.ticket-att-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-att-meta { flex-shrink: 0; font-size: .75rem; }
.ticket-reply-form { margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line); }

html[data-theme="light"] .ticket-form input:not([type="file"]):not([type="hidden"]),
html[data-theme="light"] .ticket-form select,
html[data-theme="light"] .ticket-form textarea {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .ticket-dropzone {
  background: #fff7ed;
  border-color: rgba(249,115,22,.4);
}
html[data-theme="light"] .ticket-att {
  background: #fff;
}

.contact-page { max-width: 520px; }
.contact-hero { margin-bottom: 1.35rem; }
.contact-hero h1 { margin: 0 0 .45rem; }
.contact-lead {
  margin: 0; line-height: 1.55; color: var(--muted); font-size: 1.02rem;
}
.contact-lead strong { color: var(--text); font-weight: 600; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.35rem 1.3rem 1.4rem;
}
.contact-card h2 {
  margin: 0 0 .55rem; font-family: var(--display); font-size: 1.15rem; color: var(--text);
}
.contact-card .muted { margin: 0 0 1rem; }
.contact-card .oauth-grid { margin: 0 0 .35rem; }
.contact-alt-login {
  margin: 1rem 0 0; font-size: .9rem; text-align: center;
}
.contact-alt-login a { color: var(--cta); font-weight: 600; }
.contact-mailto {
  margin: 1.5rem 0 0; font-size: .82rem; text-align: center; opacity: .75;
}
.contact-mailto a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.contact-page .ticket-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.badge.status-open { color: var(--ok); }
.badge.status-pending { color: var(--featured); }
.badge.status-closed { color: var(--muted); }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.admin-tile {
  display: flex; flex-direction: column; gap: .5rem;
  color: inherit; text-decoration: none;
  transition: border-color .2s, transform .15s;
}
.admin-tile:hover { border-color: var(--cta); transform: translateY(-2px); color: inherit; text-decoration: none; }
.admin-count { font-family: var(--display); font-size: 1.8rem; color: var(--cta); font-weight: 700; }
.footer-list a[href*="tickets"] { color: var(--cta); font-weight: 600; }

/* —— Blog & Guides —— */
.blog-tabs {
  display: flex; flex-wrap: wrap; gap: .25rem 1.25rem;
  border-bottom: 1px solid var(--line);
  margin: 0 0 1.5rem; padding-bottom: .15rem;
}
.blog-tabs a {
  color: var(--muted); font-weight: 500; padding: .55rem 0;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.blog-tabs a:hover, .blog-tabs a.active {
  color: var(--text); border-bottom-color: var(--cta); text-decoration: none;
}
.blog-hero { margin: 0 0 1.75rem; padding: .35rem 0 .15rem; }
.blog-hero h1 {
  font-family: var(--display); font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin: 0 0 .45rem; letter-spacing: -.02em;
}
.blog-hero p { color: var(--muted); margin: 0; max-width: 40rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit; text-decoration: none;
  transition: border-color .2s, transform .15s;
}
.blog-card:hover { border-color: var(--cta); transform: translateY(-3px); color: inherit; text-decoration: none; }
.blog-card-cover {
  position: relative; min-height: 160px;
  background: #1a1028 center/cover no-repeat;
  padding: 1rem;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.blog-card-cover::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,20,.15), rgba(11,14,20,.88));
}
.blog-card-label {
  position: relative; z-index: 1;
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #fb7185;
  margin-bottom: .45rem;
}
.blog-card-cover-title {
  position: relative; z-index: 1;
  font-family: var(--display); font-size: 1.05rem; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-brand {
  position: absolute; right: .75rem; bottom: .65rem; z-index: 1;
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .04em;
}
.blog-card-body { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.blog-card-body h2 {
  font-family: var(--display); font-size: 1rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-body p {
  margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.blog-card-meta { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
.blog-card-meta .author { color: var(--cta); font-weight: 600; }
.blog-pager {
  display: flex; justify-content: flex-end; gap: .4rem; margin: 1.75rem 0 0; flex-wrap: wrap;
}
.blog-pager a, .blog-pager .current {
  min-width: 2.2rem; height: 2.2rem; padding: 0 .55rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}
.blog-pager .current { background: var(--cta); border-color: var(--cta); color: #fff; font-weight: 600; }
.blog-pager a:hover { color: var(--text); border-color: var(--cta); text-decoration: none; }
.blog-article-hero {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 200px; padding: 1.5rem; margin: 0 0 1.25rem;
  background: #1a1028 center/cover;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.blog-article-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,14,20,.2), rgba(11,14,20,.92));
}
.blog-article-hero > * { position: relative; z-index: 1; }
.blog-article-hero h1 { font-family: var(--display); margin: .35rem 0 .5rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.blog-article-content { line-height: 1.55; }
.blog-article-content h2 { margin-top: 1.25rem; }
.footer-blog li { margin-bottom: .45rem; font-size: .88rem; }

.guides-hero, .guide-page-hero {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.5rem;
  align-items: center;
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(249,115,22,.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 800px) {
  .guides-hero, .guide-page-hero { grid-template-columns: 1fr; }
}
.guides-hero h1, .guide-page-hero h1 {
  font-family: var(--display); margin: 0 0 .5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}
.guides-hero-feats {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.guides-hero-feats li {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: .7rem 1rem; font-weight: 500;
}
.guides-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 980px) { .guides-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem;
  display: flex; flex-direction: column; gap: .45rem;
}
.guide-card-cover {
  width: 3.25rem; height: 3.25rem; border-radius: 8px;
  object-fit: cover; border: 1px solid var(--line);
}
.guide-card-icon {
  width: 2.2rem; height: 2.2rem; border-radius: 8px;
  background: rgba(249,115,22,.15); color: var(--cta);
  display: grid; place-items: center; font-weight: 700;
}
.guide-card h3 { font-family: var(--display); margin: 0; font-size: 1.05rem; }
.guide-sub { margin: 0; color: var(--muted); font-size: .88rem; }
.tag-accent { background: rgba(249,115,22,.18); color: var(--cta); border: none; }
.guide-cta { margin-top: auto; width: 100%; text-align: center; }
.guides-suggest { text-align: center; padding: 1.5rem; margin-top: .5rem; }
.guides-suggest h2 { font-family: var(--display); }

.guide-layout {
  display: grid; grid-template-columns: 1.65fr .7fr; gap: 1.25rem; align-items: start;
}
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; } }
.guide-side { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 4.5rem; }
.guide-toc { margin: 0; padding-left: 1.2rem; }
.guide-toc a { color: var(--cta); }
.plugin-guide-card { border-color: rgba(249,115,22,.35); }
.plugin-guide-steps {
  margin: .75rem 0 0; padding-left: 0; list-style: none; counter-reset: plugin-step;
}
.plugin-guide-steps > li {
  counter-increment: plugin-step; position: relative;
  padding: .85rem 0 .85rem 2.75rem; border-bottom: 1px solid var(--line);
}
.plugin-guide-steps > li:last-child { border-bottom: 0; }
.plugin-guide-steps > li::before {
  content: counter(plugin-step); position: absolute; left: 0; top: .85rem;
  width: 1.75rem; height: 1.75rem; border-radius: 999px;
  background: rgba(249,115,22,.2); color: var(--cta);
  display: grid; place-items: center; font-size: .85rem; font-weight: 700;
}
.plugin-guide-steps > li p { margin: .35rem 0 0; font-size: .92rem; color: var(--muted); }
.plugin-guide-steps > li strong { display: block; font-size: 1rem; }
.guide-info-list { margin: 0; }
.guide-info-list > div {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .4rem 0; border-bottom: 1px solid var(--line); font-size: .9rem;
}
.guide-info-list dt { color: var(--cta); font-weight: 600; }
.guide-info-list dd { margin: 0; text-align: right; }
.guide-checklist { list-style: none; margin: 0; padding: 0; }
.guide-checklist li {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .45rem 0; font-size: .9rem; border-bottom: 1px solid var(--line);
}
.guide-checklist .n {
  flex-shrink: 0; width: 1.4rem; height: 1.4rem; border-radius: 999px;
  background: rgba(249,115,22,.2); color: var(--cta);
  display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}
.guide-checks { list-style: none; padding: 0; }
.guide-checks li { padding: .35rem 0 .35rem 1.4rem; position: relative; }
.guide-checks li::before {
  content: "✓"; position: absolute; left: 0; color: var(--cta); font-weight: 700;
}
.guide-code {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 1rem; overflow-x: auto; position: relative; margin: .75rem 0;
  user-select: text; -webkit-user-select: text;
}
.guide-code::before {
  content: attr(data-label); position: absolute; top: .4rem; right: .65rem;
  font-size: .7rem; color: var(--muted); text-transform: uppercase;
  pointer-events: none;
}
.code-copy-wrap > .guide-code::before {
  right: 4.6rem;
}
.guide-code code { font-family: ui-monospace, monospace; font-size: .82rem; white-space: pre; color: #e2e8f0; }
.guide-tip, .guide-info {
  border-radius: 10px; padding: .85rem 1rem; margin: .85rem 0;
  border: 1px solid var(--line); background: var(--surface-2); font-size: .92rem;
}
.guide-tip { border-color: rgba(56,189,248,.4); }
.guide-faq {
  border: 1px solid var(--line); border-radius: 10px; padding: .65rem .85rem;
  margin: .45rem 0; background: var(--surface-2);
}
.guide-faq summary { cursor: pointer; font-weight: 500; }
.breadcrumb a { color: var(--cta); }

/* —— VS footer v3 chrome (asymmetric, not TS 4-col) —— */
.vs-footer {
  width: 100%;
  margin-top: auto;
  border-top: 2px solid var(--cta);
  background:
    linear-gradient(180deg, rgba(249,115,22,.06), transparent 160px),
    var(--surface);
  color: var(--text);
}
.vs-footer-main {
  width: 100%;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 3rem 1.35rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(14rem, 0.95fr) minmax(0, 1.8fr);
  gap: 2.5rem 3rem;
  align-items: start;
  box-sizing: border-box;
}
.vs-footer-brand,
.vs-footer-links {
  min-width: 0;
  width: 100%;
}
@media (max-width: 900px) {
  .vs-footer-main { grid-template-columns: 1fr; gap: 1.75rem; }
}
.vs-footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 2.2fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .vs-footer-top { grid-template-columns: 1fr; }
}
.vs-footer-tagline {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 24rem;
  margin: 0 0 1.15rem;
}
.vs-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem 1.75rem;
  justify-items: stretch;
}
@media (max-width: 720px) {
  .vs-footer-links { grid-template-columns: 1fr 1fr; }
  .vs-footer-link-group--wide { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .vs-footer-links { grid-template-columns: 1fr; }
}
.vs-footer-link-group .footer-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.vs-footer-link-group .footer-list a {
  font-size: .9rem;
  line-height: 1.45;
  display: inline-block;
  padding: .12rem 0;
}
.vs-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .vs-footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .vs-footer-cols { grid-template-columns: 1fr; }
}
.vs-footer-news {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(249,115,22,.05);
}
.vs-footer-news-inner {
  width: 100%;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 1.65rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem 2rem;
  box-sizing: border-box;
}
.vs-footer-news-copy .footer-heading { margin-bottom: .35rem; }
.vs-footer-news-copy .footer-text { margin: 0; max-width: 34rem; color: var(--muted); }
.vs-footer-news-form .newsletter-form { max-width: 22rem; }
.vs-footer-plug {
  width: calc(100% - 2.5rem);
  max-width: min(1400px, calc(100% - 2.5rem));
  margin: 1.35rem auto 1.25rem;
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 12px;
  background: rgba(249,115,22,.08);
  box-sizing: border-box;
}
.vs-footer-plug strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--text);
}
.vs-footer-plug .muted {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.social-btn {
  width: 2.75rem; height: 2.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color .2s, color .2s, background .2s, transform .15s;
}
.social-btn:hover {
  border-color: var(--cta);
  color: #fff;
  background: rgba(249,115,22,.16);
  text-decoration: none;
  transform: translateY(-2px);
}
.social-btn[aria-label="Discord"]:hover { border-color: #5865F2; background: rgba(88,101,242,.18); color: #c5caff; }
.social-btn[aria-label="X"]:hover { border-color: #e7e9ea; background: rgba(231,233,234,.12); }
.social-btn[aria-label="GitHub"]:hover { border-color: #fb923c; background: rgba(249,115,22,.14); color: #fdba74; }
.social-btn[aria-label="Facebook"]:hover { border-color: #1877F2; background: rgba(24,119,242,.18); color: #9ec1ff; }
.social-icon { width: 18px; height: 18px; display: block; }
.tier-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .45rem; }
.tier-list li {
  display: flex; flex-wrap: wrap; gap: .45rem .75rem; align-items: baseline;
  padding: .55rem .7rem; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2);
  font-size: .9rem;
}
.tier-list code { font-size: .78rem; color: var(--muted); }

.plugins-hero {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(145deg, var(--surface) 0%, #151c28 100%);
  border: 1px solid rgba(249,115,22,.22);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.plugin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: .55rem;
  transition: border-color var(--motion), box-shadow var(--motion);
}
.plugin-card:hover {
  border-color: rgba(249,115,22,.4);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.plugins-hero h1 { font-family: var(--display); margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.plugin-hero-cover { border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.plugin-card-head { display: flex; gap: .85rem; align-items: center; }
.plugin-card-head img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line);
}
.plugin-card-head h2 { font-family: var(--display); font-size: 1.05rem; margin: 0 0 .25rem; }
.plugin-card-head h2 a { color: var(--text); }
.plugin-card-head h2 a:hover { color: var(--cta); text-decoration: none; }
.plugin-install { font-size: .85rem; color: var(--muted); margin: 0; }
.plugin-dl { display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; }
.plugin-dl select {
  width: 100%; background: var(--surface-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: .45rem .55rem;
}

/* —— Page jeu — hero premium + classement —— */
body:has(.game-page) main {
  max-width: none;
  padding: 0 0 2.5rem;
}
.game-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.game-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border-bottom: 1px solid rgba(249,115,22,.22);
  background: var(--surface);
}
.game-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(11,14,20,.94) 0%, rgba(11,14,20,.72) 48%, rgba(11,14,20,.55) 100%),
    linear-gradient(180deg, rgba(249,115,22,.18) 0%, transparent 55%),
    var(--game-cover) center / cover no-repeat;
  transform: scale(1.04);
  filter: saturate(1.05);
}
.game-hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(11,14,20,.75));
}
.game-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.game-hero-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.25rem;
}
.game-hero-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 36px rgba(0,0,0,.5), 0 0 0 1px rgba(249,115,22,.28);
  flex-shrink: 0;
}
.game-hero-copy {
  flex: 1 1 16rem;
  min-width: 0;
}
.game-hero-kicker {
  margin: 0 0 .25rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fdba74;
}
.game-hero-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.game-hero-lead {
  margin: .5rem 0 0;
  max-width: 38rem;
  color: #cbd5e1;
  font-size: .95rem;
  line-height: 1.5;
}
.game-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: .95rem;
}
.game-hero-cta .btn {
  border-radius: 10px;
  padding: .52rem 1.05rem;
  font-size: .9rem;
}
.game-hero-cta .btn.ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: #e2e8f0;
}
.game-hero-cta .btn.ghost:hover {
  border-color: rgba(249,115,22,.55);
  color: #fff;
}
.game-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.game-kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  padding: 1.15rem 1.2rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(165deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,.02) 42%, rgba(18,24,33,.88) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 18px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.game-kpi::before {
  content: "";
  position: absolute;
  top: 0; left: 1rem; right: 1rem;
  height: 2px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,.85), transparent);
  opacity: .75;
}
.game-kpi--hot {
  border-color: rgba(249,115,22,.42);
  background:
    linear-gradient(165deg, rgba(249,115,22,.22) 0%, rgba(249,115,22,.06) 40%, rgba(18,24,33,.9) 100%);
  box-shadow:
    0 1px 0 rgba(253,186,116,.2) inset,
    0 20px 44px rgba(249,115,22,.18),
    0 18px 40px rgba(0,0,0,.35);
}
.game-kpi--hot::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(249,115,22,.2), #fb923c, rgba(249,115,22,.2));
}
.game-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,.1) inset,
    0 24px 48px rgba(0,0,0,.4),
    0 0 0 1px rgba(249,115,22,.15);
}
.game-kpi-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: .55rem;
  border-radius: 14px;
  background: rgba(249,115,22,.16);
  color: #fdba74;
  border: 1px solid rgba(249,115,22,.28);
  box-shadow: 0 8px 18px rgba(249,115,22,.12);
}
.game-kpi-ico .icon { width: 20px; height: 20px; }
.game-kpi-value {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.game-kpi--hot .game-kpi-value { color: #fdba74; }
.game-kpi-label {
  margin: .35rem 0 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #e2e8f0;
}
.game-kpi-hint {
  margin: .15rem 0 0;
  font-size: .78rem;
  color: #94a3b8;
  line-height: 1.35;
}
.game-page-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
}

/* Classement catégorie = vraies cards premium (bannière dominante) */
.game-page .game-rank {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1.25rem;
}
.game-page .game-rank .server-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "banner banner"
    "main metrics";
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(42, 51, 68, .95);
  background: rgba(18,24,33,.98);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 18px 42px rgba(0,0,0,.32);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game-page .game-rank .server-row:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,.5);
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 26px 52px rgba(0,0,0,.4),
    0 0 0 1px rgba(249,115,22,.14);
}
.game-page .game-rank .server-row-featured {
  border-color: rgba(251,191,36,.5);
  box-shadow:
    0 1px 0 rgba(251,191,36,.14) inset,
    0 20px 44px rgba(251,191,36,.12),
    0 18px 42px rgba(0,0,0,.32);
}
.game-page .game-rank .srv-banner {
  grid-area: banner;
  position: relative;
  width: 100%;
  height: 168px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(42,51,68,.75);
}
.game-page .game-rank .srv-banner img {
  object-fit: cover;
  object-position: center;
}
.game-page .game-rank .server-rank {
  position: absolute;
  z-index: 2;
  top: .7rem;
  left: .7rem;
  padding: .35rem .55rem;
  border-radius: 10px;
  background: rgba(11,14,20,.82);
  border: 1px solid rgba(249,115,22,.45);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  min-height: 0;
}
.game-page .game-rank .server-row {
  position: relative;
}
.game-page .game-rank .server-rank-num {
  font-size: 1.05rem;
  color: #fdba74;
}
.game-page .game-rank .server-premium {
  color: #fbbf24;
}
.game-page .game-rank .server-main {
  grid-area: main;
  padding: .95rem 1rem;
  min-width: 0;
}
.game-page .game-rank .server-row h3 {
  font-size: 1.12rem;
}
.game-page .game-rank .srv-metrics {
  grid-area: metrics;
  padding: .95rem 1.1rem;
  min-width: 10rem;
  align-items: flex-end;
}
.game-page .game-rank .srv-metric strong {
  font-family: var(--display);
  font-size: 1.25rem;
  color: #fdba74;
}

@media (max-width: 720px) {
  .game-hero-stats { grid-template-columns: 1fr; }
  .game-hero-thumb { width: 64px; height: 64px; border-radius: 14px; }
  .game-page .game-rank .server-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "banner"
      "main"
      "metrics";
  }
  .game-page .game-rank .srv-metrics {
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    padding-top: 0;
  }
  .game-page .game-rank .srv-banner { height: 128px; }
}

.game-toolbar {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin: 0 0 1rem;
}
.game-periods {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .15rem 1.15rem;
  border-bottom: 1px solid var(--line);
  padding: 0 0 .05rem;
}
.game-period {
  position: relative;
  padding: .45rem 0 .55rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.game-period:hover {
  color: var(--text);
  text-decoration: none;
}
.game-period.is-active {
  color: var(--cta);
  border-bottom-color: var(--cta);
  font-weight: 600;
}
.game-types {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .55rem;
  align-items: center;
  padding: .1rem 0 0;
}
.game-type {
  padding: .25rem .1rem .35rem;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.game-type:hover {
  color: var(--text);
  text-decoration: none;
}
.game-type.is-active {
  color: var(--cta);
  border-bottom-color: var(--cta);
  font-weight: 600;
}

/* Legacy pill-bar classes — inert if old HTML flashes */
.game-filters,
.game-filter-rail,
.game-chip,
.game-chip-type,
.game-filter-sep { display: none !important; }

.game-rank {
  border-top: 0;
}
.game-rank-empty {
  padding: 1.25rem .25rem;
}
.game-foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .65rem;
  margin: 1.25rem 0 0;
  padding: .75rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}
.game-foot-links a {
  color: var(--muted);
}
.game-foot-links a:hover {
  color: var(--cta);
}

/* Ancien chrome TS (classes mortes) — ne pas toucher .game-hero */
.gh-hero, .gh-stats, .gh-feed, .gh-seo { display: none !important; }

.featured-pin { display: none; }

.rank-num {
  color: var(--cta); font-weight: 700; margin-right: .25rem;
}

.server-main { min-width: 0; }
.server-slots { margin: .45rem 0 0; font-size: .82rem; }
.srv-metrics {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .35rem;
  min-width: 10.5rem;
  justify-content: center;
}
.srv-metric {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  color: var(--muted);
  font-size: .82rem;
  white-space: nowrap;
  line-height: 1.2;
}
.srv-metric strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

/* Kill stacked orange/grey stat pills */
.stat-pill { display: none !important; }

.stat-stars {
  display: flex;
  align-items: center;
  gap: .05rem;
  padding: 0;
  font-size: .78rem;
  line-height: 1;
  opacity: .9;
}
.stat-stars .star { color: #334155; }
.stat-stars .star.on { color: #d97706; }
.stat-rev { color: var(--muted); font-size: .72rem; margin-left: .2rem; }
.srv-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: .45rem;
  align-items: center;
  justify-content: flex-end;
  margin-top: .1rem;
}
.btn-discord {
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  flex-shrink: 0;
}
.btn-discord:hover {
  border-color: var(--line);
  color: #5865f2;
  background: rgba(88, 101, 242, .08);
  text-decoration: none;
}
.btn-fiche {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  padding: .2rem .15rem;
  white-space: nowrap;
}
.btn-fiche:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-see {
  background: transparent !important;
  border: 0 !important;
  color: var(--muted) !important;
  font-size: .82rem !important;
  padding: .2rem .15rem !important;
  font-weight: 500 !important;
}
.btn-see:hover { color: var(--text) !important; text-decoration: underline !important; }
.srv-actions .btn.vote,
.srv-vote {
  font-size: .82rem;
  padding: .4rem .85rem;
  text-transform: none;
  letter-spacing: 0;
  border-radius: 8px;
  min-width: 4.5rem;
  text-align: center;
}
@media (max-width: 800px) {
  .srv-metrics { min-width: 0; width: auto; align-items: flex-start; }
  .srv-actions { justify-content: flex-start; flex-wrap: wrap; }
}

/* —— Formulaire serveur (propre, centré) —— */
.sf-wrap {
  max-width: 640px;
  margin: 0 auto 2rem;
}
.sf-head {
  text-align: center;
  margin: 0 0 1.25rem;
}
.sf-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cta);
  font-weight: 700;
}
.sf-head h1 {
  margin: 0 0 .5rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -.02em;
}
.sf-lead {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.sf-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  justify-content: center;
  margin: 0 0 1.25rem;
}
.sf-step {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: .4rem .65rem;
  border-radius: 999px;
  cursor: pointer;
}
.sf-step span {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: .75rem;
}
.sf-step.is-active { color: var(--text); }
.sf-step.is-active span,
.sf-step.is-done span {
  border-color: transparent;
  background: var(--cta);
  color: #fff;
}
.sf-step.is-done { color: #fdba74; }
.sf-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-height: 18rem;
}
.sf-pane[hidden] { display: none !important; }
.sf-pane { animation: sfFade .2s ease; }
@keyframes sfFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.sf-block {
  padding: 0 0 1.25rem;
  margin: 0 0 1.15rem;
  border-bottom: 1px solid var(--line);
}
.sf-block:last-of-type { border-bottom: 0; margin-bottom: .5rem; padding-bottom: .5rem; }
.sf-block-title {
  margin: 0 0 .85rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.sf-hint {
  font-size: .72rem;
  letter-spacing: .04em;
  font-weight: 600;
  color: rgba(249,115,22,.9);
  text-transform: none;
}
.sf-hint-text {
  margin: -.35rem 0 .75rem;
  color: var(--muted);
  font-size: .85rem;
}
.sf-meta { margin: 0 0 1rem; font-size: .92rem; }
.sf-label {
  display: grid;
  gap: .4rem;
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 500;
}
.sf-label:last-child { margin-bottom: 0; }
.sf-form input[type=text],
.sf-form input[type=url],
.sf-form input[type=number],
.sf-form input[type=search],
.sf-form select,
.sf-form textarea {
  width: 100%;
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .65rem 0;
  font-size: .95rem;
  transition: border-color .15s;
}
.sf-form select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .65rem .8rem;
}
.sf-game-filter { margin: .35rem 0 .75rem; }
.sf-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: .75rem;
  padding: .15rem .1rem .5rem;
  margin: .5rem 0 .85rem;
}
.sf-game-grid--hub { margin-top: .35rem; }
.sf-game-empty {
  margin: .5rem 0; font-size: .9rem; color: var(--muted);
}
.sf-game-card {
  display: flex; flex-direction: column; gap: .35rem;
  padding: .35rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2);
  color: var(--text); cursor: pointer; text-align: left;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.sf-game-card img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 8px; background: var(--bg); display: block;
}
.sf-game-card span {
  font-size: .75rem; font-weight: 600; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sf-game-card:hover { border-color: rgba(249,115,22,.55); transform: translateY(-1px); }
.sf-game-card.is-selected {
  border-color: var(--cta);
  box-shadow: 0 0 0 2px rgba(249,115,22,.28);
}
.sf-game-card[hidden] { display: none !important; }

.vs-editor {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface-2);
}
.vs-editor-toolbar {
  display: flex; flex-wrap: wrap; gap: .3rem;
  padding: .45rem .55rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.2);
}
.vs-editor-toolbar button {
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  border-radius: 8px; padding: .28rem .5rem; font-size: .8rem; cursor: pointer;
}
.vs-editor-toolbar button:hover { border-color: var(--cta); color: #fdba74; }
.vs-editor-body {
  min-height: 14rem; padding: .9rem 1rem; color: var(--text);
  line-height: 1.55; outline: none;
}
.vs-editor-body:empty:before {
  content: attr(data-placeholder); color: var(--muted);
}
.vs-editor-body img,
.srv-desc-rich img {
  max-width: 100%; height: auto; border-radius: 10px; margin: .5rem 0;
}
.vs-editor-body iframe,
.srv-desc-rich iframe {
  max-width: 100%; width: 100%; aspect-ratio: 16/9; height: auto;
  border: 0; border-radius: 12px; margin: .65rem 0;
}
.srv-desc-rich { color: var(--text); line-height: 1.6; }
.srv-desc-rich h2, .srv-desc-rich h3 { font-family: var(--display); margin: 1rem 0 .5rem; }
.srv-desc-rich a { color: var(--cta); }

.mgr-banner-list {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: grid; gap: .75rem;
}
.mgr-banner-item {
  display: grid; grid-template-columns: 140px 1fr; gap: .75rem;
  align-items: center; padding: .55rem 0;
  border-bottom: 1px solid rgba(42,51,68,.45);
}
.mgr-banner-item img {
  width: 140px; height: 42px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg);
}
@media (max-width: 560px) {
  .mgr-banner-item { grid-template-columns: 1fr; }
}
.sf-form input:focus,
.sf-form select:focus,
.sf-form textarea:focus {
  outline: none;
  border-bottom-color: var(--cta);
  box-shadow: none;
}
.sf-form textarea { resize: vertical; min-height: 4.5rem; line-height: 1.45; }
.sf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
@media (max-width: 560px) {
  .sf-grid-2 { grid-template-columns: 1fr; }
  .sf-step { font-size: .75rem; padding: .35rem .5rem; }
}
.htag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.htag-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.htag-chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.htag-chip span {
  display: inline-flex;
  padding: .42rem .78rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.3);
  background: transparent;
  color: #94a3b8;
  font-size: .86rem;
  font-weight: 600;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
}
.htag-chip:hover span {
  border-color: rgba(249,115,22,.45);
  color: var(--text);
}
.htag-chip.on span,
.htag-chip:has(input:checked) span {
  border-color: rgba(249,115,22,.7);
  background: rgba(249,115,22,.16);
  color: #ffd4b0;
  transform: translateY(-1px);
}
.sf-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
  padding-top: 1.1rem;
  margin-top: .5rem;
  border-top: 1px solid rgba(42, 51, 68, .55);
}
.sf-submit {
  min-width: 11rem;
  padding: .7rem 1.25rem !important;
  font-size: .95rem !important;
}
.sf-link {
  color: var(--cta);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.sf-link:hover { text-decoration: underline; }
.sf-preview {
  border-top: 1px solid rgba(249,115,22,.25);
  padding-top: .25rem;
}
.sf-preview-hero {
  padding: 1.15rem 0 1rem;
  background:
    radial-gradient(420px 160px at 10% 0%, rgba(249,115,22,.16), transparent 65%);
}
.sf-preview-kicker {
  margin: 0 0 .35rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cta);
  font-weight: 700;
}
.sf-preview-hero h3 {
  margin: 0 0 .65rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
.sf-preview-meta,
.sf-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0 0 .75rem;
}
.sf-preview-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}
.sf-preview-cta .btn { pointer-events: none; }
.sf-preview-body { padding: .85rem 0 0; }
.sf-preview-facts {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.sf-preview-facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(42, 51, 68, .45);
  font-size: .9rem;
}
.sf-preview-facts span { color: var(--muted); }
.tag-htag {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
}
a.tag-htag:hover { text-decoration: none; border-color: var(--cta); color: var(--cta); }

/* —— Recherche globale —— */
.vs-search[hidden] { display: none !important; }
.vs-search {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 4.5rem 1rem 2rem;
}
.vs-search-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 8, 14, .72);
  backdrop-filter: blur(8px);
}
.vs-search-panel {
  position: relative; z-index: 1;
  width: min(720px, 100%);
  background: var(--surface);
  border: 1px solid rgba(249,115,22,.22);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 1px rgba(249,115,22,.08);
  padding: .65rem 1.1rem 1rem;
}
.vs-search-head {
  display: flex; justify-content: flex-end; align-items: center;
  margin: 0 -.35rem .15rem 0;
}
.vs-search-x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-width: 36px; min-height: 36px;
  border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); font-size: 1.45rem; line-height: 1;
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.vs-search-x:hover { color: #fff; background: rgba(255,255,255,.06); }
.vs-search-x:focus-visible {
  outline: 2px solid var(--cta); outline-offset: 2px; color: var(--cta);
}
.vs-search-bar {
  display: flex; gap: .55rem; align-items: stretch;
}
.vs-search-bar input[type="search"] {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--text);
  padding: .75rem 1rem; font: inherit; font-size: 1.05rem;
}
.vs-search-bar input:focus {
  outline: none; border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(249,115,22,.2);
}
.vs-search-bar .btn { border-radius: 10px; padding: .75rem 1.15rem; }
.vs-search-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; margin: .55rem 0 .35rem; flex-wrap: wrap;
}
.vs-search-meta a { color: var(--cta); font-size: .88rem; font-weight: 600; text-decoration: none; }
.vs-search-meta a:hover { text-decoration: underline; }
.vs-search-hint { color: var(--muted); font-size: .8rem; }
.vs-search-hint kbd {
  display: inline-block; padding: .1rem .35rem; border-radius: 4px;
  border: 1px solid var(--line); background: var(--bg); font-size: .72rem;
}
.vs-search-results {
  list-style: none; margin: .5rem 0 0; padding: 0;
  max-height: min(52vh, 420px); overflow: auto;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg);
}
.vs-search-results:empty { display: none; }
.vs-search-results li a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .7rem .9rem; color: var(--text); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.vs-search-results li:last-child a { border-bottom: 0; }
.vs-search-results li a:hover,
.vs-search-results li a.is-active {
  background: rgba(249,115,22,.12);
  color: #fff;
}
.vs-search-results .sr-title { font-weight: 600; font-size: .95rem; }
.vs-search-results .sr-label { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.vs-search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .1rem .75rem;
}
.vs-search-results .sr-sub {
  grid-column: 1 / -1;
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs-search-empty { text-align: center; margin: .85rem 0 .25rem; }
.vs-search-more {
  display: block; text-align: center; margin-top: .65rem;
  color: var(--cta); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.vs-search-more:hover { text-decoration: underline; }
.search-page-form {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  margin: 0 0 1.25rem;
}
.search-page-form input[type="search"] {
  flex: 1 1 220px; min-width: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text);
  padding: .7rem .9rem; font: inherit;
}
.search-page-form select {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--text);
  padding: .65rem .75rem; font: inherit;
}
.search-result-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.search-result-list li a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem .75rem;
  padding: .85rem 1rem; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
.search-result-list li:last-child a { border-bottom: 0; }
.search-result-list li a:hover { background: var(--surface-2); }
.search-result-title { font-weight: 600; }
.search-result-label { color: var(--muted); font-size: .9rem; }
.search-result-sub { font-size: .8rem; color: var(--muted); grid-column: 1 / -1; }
.srv-owner-tag {
  text-decoration: none;
  border-color: rgba(249,115,22,.45) !important;
  color: #fdba74 !important;
}
.srv-owner-tag:hover { text-decoration: underline; }

/* —— Langue —— */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); border-radius: 8px; padding: .35rem .55rem;
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  flex-shrink: 0;
}
.lang-btn:hover { border-color: var(--cta); }
.lang-btn--compact {
  gap: .3rem;
  padding: .35rem .45rem;
  border-radius: 10px;
  min-width: 2.35rem;
  min-height: 2.35rem;
  justify-content: center;
}
.lang-code {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--muted);
}
.lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.5rem; height: 1.25rem; padding: 0 .25rem;
  border-radius: 4px; background: rgba(249,115,22,.15); color: var(--cta);
  font-size: .65rem; font-weight: 800; letter-spacing: .04em;
}
.lang-name { display: none; }
.lang-caret { color: var(--muted); font-size: .7rem; }
.lang-menu {
  position: absolute; top: calc(100% + .35rem); right: 0; z-index: 80;
  list-style: none; margin: 0; padding: .35rem;
  min-width: 11rem; max-height: 70vh; overflow: auto;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  display: grid; grid-template-columns: 1fr 1fr; gap: .15rem;
}
.lang-menu[hidden] { display: none !important; }
.lang-option {
  display: flex; align-items: center; gap: .45rem;
  padding: .45rem .55rem; border-radius: 7px; color: var(--text);
  text-decoration: none; font-size: .85rem; font-weight: 500;
}
.lang-option:hover, .lang-option.is-active {
  background: rgba(249,115,22,.14); color: #fff; text-decoration: none;
}
@media (max-width: 980px) {
  .lang-code { display: none; }
}

/* ===== Fiche serveur (style listing premium) ===== */
.srv-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -1.5rem;
  color: #fff;
  overflow: hidden;
}
.srv-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8,10,16,.92) 0%, rgba(8,10,16,.55) 45%, rgba(8,10,16,.75) 100%),
    var(--srv-cover) center/cover no-repeat;
  transform: scale(1.04);
  filter: saturate(1.05);
}
.srv-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.75rem;
}
.srv-hero-fav { display: flex; justify-content: flex-end; margin-bottom: .35rem; }
.srv-heart {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12);
  color: #fff; font-size: 1.15rem; cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s, color .2s;
}
.srv-heart:hover { background: rgba(255,255,255,.22); color: #fff; text-decoration: none; transform: scale(1.05); }
.srv-heart.is-on { background: var(--cta); border-color: transparent; color: #fff; }
.srv-hero-row {
  display: grid; grid-template-columns: 168px 1fr; gap: 1.25rem 1.5rem; align-items: end;
}
@media (max-width: 720px) {
  .srv-hero-row { grid-template-columns: 1fr; }
}
.srv-hero-thumb {
  border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  background: var(--bg);
}
.srv-hero-thumb img { width: 100%; height: 94px; object-fit: cover; }
.srv-kicker {
  margin: 0 0 .35rem; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: #fdba74; font-weight: 600;
}
.srv-hero-copy h1 {
  margin: 0 0 .65rem; font-family: var(--display); font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 700; line-height: 1.2; text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.srv-hero-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; margin-bottom: 1rem;
}
.srv-rank {
  font-weight: 700; color: #fdba74; background: rgba(249,115,22,.18);
  border: 1px solid rgba(249,115,22,.35); padding: .15rem .55rem; border-radius: 999px; font-size: .85rem;
}
.srv-hero .tag {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #e2e8f0;
  text-transform: uppercase; font-size: .68rem;
}
.srv-hero-cta { display: flex; flex-wrap: wrap; gap: .55rem; }
.srv-cta-lg { min-width: 8.5rem; padding: .7rem 1.35rem; font-size: 1rem; }
.srv-hero-wave {
  position: relative; z-index: 1; margin-top: -1px; color: var(--bg); line-height: 0;
}
.srv-hero-wave svg { width: 100%; height: 36px; display: block; }

.server-nav {
  display: flex; flex-wrap: wrap; gap: .15rem 1.35rem;
  border-bottom: 1px solid var(--line); margin: .25rem 0 1rem; padding: 0;
}
.server-nav a {
  color: var(--muted); padding: .7rem 0; border-bottom: 3px solid transparent; font-weight: 500;
}
.server-nav a.active { color: var(--cta); border-bottom-color: var(--cta); text-decoration: none; }
.server-nav a:hover { color: var(--text); text-decoration: none; }

.srv-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  flex-wrap: wrap; margin-bottom: 1rem; font-size: .88rem;
}
.srv-crumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .2rem .55rem;
  min-width: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
}
.srv-crumbs > * { flex-shrink: 0; }
/* Keep "/" glued to the preceding crumb so it never sits alone on a line */
.srv-crumbs > *:not(:last-child)::after {
  content: "/";
  margin-left: .55rem;
  opacity: .5;
  font-weight: 400;
  pointer-events: none;
}
.srv-crumbs a { color: var(--muted); text-decoration: none; }
.srv-crumbs a:hover { color: var(--cta); }
.srv-crumbs [aria-current="page"] { color: var(--text); font-weight: 500; }
@media (max-width: 640px) {
  .srv-crumbs {
    flex-wrap: wrap;
    white-space: normal;
    overflow-x: visible;
    row-gap: .1rem;
  }
}
.srv-toolbar-actions { display: flex; gap: .85rem; align-items: center; }
.srv-tool {
  background: none; border: none; color: var(--muted); cursor: pointer; font: inherit;
  padding: 0; text-decoration: none;
}
.srv-tool:hover { color: var(--cta); text-decoration: none; }
.srv-report { position: relative; }
.srv-report-form {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 60;
  min-width: 280px; padding: .85rem; box-shadow: var(--shadow);
}

.srv-sheet { padding: 1.25rem 1.35rem 1.1rem; }
.srv-sheet-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(249,115,22,.2);
}
.srv-sheet-head h2, .srv-sheet-title {
  margin: 0; font-family: var(--display); font-size: 1.2rem;
  color: var(--text);
}
.srv-sheet-grid {
  display: grid; grid-template-columns: 1.15fr .95fr; gap: 1.25rem 1.5rem;
}
@media (max-width: 860px) {
  .srv-sheet-grid { grid-template-columns: 1fr; }
}
.srv-banner-lg {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  margin-bottom: .85rem; background: var(--bg);
}
.srv-banner-lg img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.srv-socials { display: flex; gap: .45rem; margin-top: .85rem; }
.srv-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.35rem; height: 2.35rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  cursor: pointer; text-decoration: none; font-size: 1rem;
}
.srv-social:hover { border-color: var(--cta); color: var(--cta); text-decoration: none; }

.srv-kpi { display: grid; gap: .65rem; }
.srv-kpi-item {
  display: flex; flex-direction: column; gap: .2rem;
  padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2);
}
.srv-kpi-item strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.srv-kpi-ico { color: var(--cta); margin-bottom: .15rem; }
.srv-kpi-votes {
  background: linear-gradient(135deg, #9a3412 0%, #ea580c 55%, #f59e0b 100%);
  border-color: transparent; color: #fff;
}
.srv-kpi-votes .muted { color: rgba(255,255,255,.75); }
.srv-kpi-clicks { background: var(--surface-2); }
.srv-kpi-top {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  min-width: 0;
}
.srv-kpi-top strong {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.spark { flex-shrink: 0; }
.srv-sheet-cta { display: grid; gap: .55rem; margin-top: 1rem; }
.srv-wide { width: 100%; border-radius: 12px; padding: .85rem 1rem; font-weight: 700; }
.srv-added { margin: .85rem 0 0; font-size: .85rem; text-align: right; }
.srv-permalink { margin: 1rem 0 0; font-size: .82rem; word-break: break-all; }

.srv-desc h2, .srv-section-head h2 { font-family: var(--display); }
.srv-desc-body { color: var(--muted); line-height: 1.6; }
.srv-desc-body p { color: var(--text); }
.srv-ip code {
  background: var(--surface-2); border: 1px solid var(--line); padding: .2rem .5rem;
  border-radius: 6px; color: var(--accent);
}
.srv-section-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; margin: 1.25rem 0 .85rem;
}
.srv-section-head h2 { margin: 0; font-size: 1.25rem; }

.srv-reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (max-width: 780px) {
  .srv-reviews-grid { grid-template-columns: 1fr; }
}
.srv-review { padding: 1.1rem 1.15rem; }
.srv-review-head {
  display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem;
}
.srv-avatar {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.srv-criteria {
  display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .75rem;
  margin: .65rem 0 .85rem; font-size: .82rem; color: var(--muted);
}
.srv-criteria > div {
  display: flex; justify-content: space-between; align-items: center; gap: .35rem;
  padding: .35rem .45rem; border-radius: 8px; background: rgba(255,255,255,.03);
}
.srv-review blockquote {
  margin: 0; padding: .15rem 0 .15rem .75rem;
  border-left: 3px solid var(--cta); color: var(--text);
  font-style: italic; line-height: 1.5;
}
.srv-react-label { margin: .85rem 0 .35rem; text-align: center; font-size: .9rem; }
.reactions { justify-content: center; }
.reaction {
  display: inline-flex; flex-direction: column; align-items: center; gap: .15rem;
  min-width: 3rem; border-radius: 12px; padding: .4rem .55rem;
  background: var(--surface-2); font-size: 1.15rem;
}
.reaction span { font-size: .75rem; color: var(--muted); }

.stars { letter-spacing: .02em; }
.star { color: #334155; }
.star.on { color: #fbbf24; }

.srv-charts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem;
  overflow: visible; align-items: stretch;
}
.srv-charts > .srv-stats-toolbar {
  grid-column: 1 / -1;
  margin: 0;
}
@media (max-width: 860px) {
  .srv-charts { grid-template-columns: 1fr; }
}
.srv-stats-toolbar-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: .75rem 1rem;
}
.srv-stats-filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .55rem .75rem;
}
.srv-stats-field {
  display: flex; flex-direction: column; gap: .25rem;
  font-size: .78rem; color: var(--muted); font-weight: 600;
}
.srv-stats-field select,
.srv-stats-field input[type="date"],
.srv-stats-field input[type="month"] {
  min-width: 8.5rem;
  padding: .45rem .55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: .88rem;
  font-weight: 500;
}
.srv-stats-apply { align-self: flex-end; }
.srv-stats-export {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.srv-charts h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.srv-chart-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: .35rem 1rem; margin-bottom: .65rem; flex: 0 0 auto;
}
.srv-chart-range { font-size: .82rem; }
.srv-charts .card {
  overflow: visible; position: relative;
  display: flex; flex-direction: column;
  min-height: 320px; height: 100%;
}
.srv-chart-wrap {
  flex: 1 1 auto;
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.bars-chart {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  flex: 1 1 auto;
}
.bars-hit { cursor: pointer; }
.bars-hit:hover rect[fill="transparent"] { fill: rgba(255,255,255,.03); }
.bars-tip {
  position: absolute; z-index: 30; pointer-events: none;
  padding: .45rem .65rem; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--text); font-size: .82rem; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap;
  transform: translate(-50%, -110%);
  opacity: 0; transition: opacity .12s ease;
}
.bars-tip.is-on { opacity: 1; }
.srv-chart-legend {
  display: flex; gap: 1rem; margin-top: .55rem; font-size: .82rem; color: var(--muted);
  flex: 0 0 auto;
}
.leg-v::before, .leg-c::before {
  content: ""; display: inline-block; width: .7rem; height: .7rem;
  border-radius: 2px; margin-right: .35rem; vertical-align: -.05rem;
}
.leg-v::before { background: #f97316; }
.leg-c::before { background: #38bdf8; }
.srv-meta-row { gap: 1rem 1.5rem; }
.srv-meta-row strong { color: var(--text); font-size: 1.05rem; }

.srv-stats-note {
  display: flex; gap: .85rem; align-items: flex-start;
  margin: 0 0 1rem; padding: .9rem 1rem;
  border-radius: 12px; border: 1px solid rgba(249, 115, 22, .35);
  background: rgba(249, 115, 22, .08);
}
.srv-stats-note-ico { font-size: 1.25rem; line-height: 1.2; }
.srv-stats-note p { margin: 0; color: var(--muted); font-size: .92rem; }
.srv-stats-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem;
}
@media (max-width: 860px) {
  .srv-stats-kpis { grid-template-columns: 1fr; }
}
.srv-stats-kpi h3 { margin: 0 0 .5rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.srv-stats-kpi-main { margin: 0; font-size: 1.25rem; font-weight: 700; }
.srv-stats-kpi-sub { margin: .35rem 0 0; font-size: .92rem; color: var(--muted); }

.srv-reviews-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.srv-review-actions { margin-top: .75rem; }
.srv-reply-toggle, .srv-reply-login {
  background: none; border: none; color: var(--cta); font: inherit; cursor: pointer;
  padding: 0; text-decoration: none; font-size: .92rem; font-weight: 600;
}
.srv-reply-login:hover, .srv-reply-toggle:hover { text-decoration: underline; }
.srv-reply-form { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.srv-review-replies {
  margin-top: 1rem; padding-left: 1.25rem;
  border-left: 2px solid rgba(249, 115, 22, .45);
  display: flex; flex-direction: column; gap: .85rem;
}
.srv-reply { padding: .35rem 0; }
.srv-reply-body { margin: .4rem 0 0; color: var(--text); line-height: 1.45; }
.srv-avatar-sm { width: 2rem; height: 2rem; font-size: .85rem; }

.srv-vote-card .form { max-width: 520px; }
.srv-vote-fields { display: grid; gap: .85rem; }
.srv-token {
  margin-top: 1.25rem; padding: 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2);
}
.srv-token summary { cursor: pointer; font-weight: 600; }

/* ===== Page de vote (onglet /voter) — dark orange, compact, centrée ===== */
.vote-page {
  max-width: 640px;
  width: 100%;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: .85rem;
  justify-items: stretch;
}
.vote-recaptcha-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 78px;
  margin: .35rem 0 .15rem;
}
.vote-turnstile-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 65px;
  margin: .35rem 0 .15rem;
}
.vote-submit-wrap { display: flex; justify-content: center; }
.vote-captcha-refresh { display: block; margin: .35rem auto 0; }
.vote-intro { text-align: center; padding: 0 0 .15rem; }
.vote-intro-title {
  margin: 0 0 .35rem;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  font-weight: 700;
  color: var(--cta);
  letter-spacing: -.02em;
}
.vote-intro-lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.45;
  font-size: .9rem;
}
.vote-intro-lead strong { color: var(--text); }

.vote-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, .35);
  background:
    linear-gradient(115deg, rgba(249, 115, 22, .88) 0%, rgba(194, 65, 12, .92) 42%, rgba(67, 32, 14, .95) 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
  overflow: hidden;
}
.vote-banner-main {
  display: flex; align-items: center; gap: .75rem; min-width: 0; flex: 1;
}
.vote-banner-copy { min-width: 0; flex: 1; }
.vote-banner-thumb {
  width: 84px; height: 47px; object-fit: cover; border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, .35); flex-shrink: 0;
  background: #1a1210;
}
.vote-banner-kicker {
  margin: 0 0 .12rem; font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .78);
}
.vote-banner-name {
  margin: 0 0 .35rem; font-family: var(--display); font-weight: 700;
  font-size: clamp(.95rem, 2vw, 1.1rem); color: #fff; line-height: 1.2;
}
.vote-banner-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.vote-tag {
  display: inline-flex; align-items: center;
  padding: .15rem .45rem; border-radius: 999px;
  font-size: .68rem; font-weight: 600;
  background: rgba(0, 0, 0, .28); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
}
.vote-tag-game { background: rgba(11, 14, 20, .55); }

.vote-ring {
  --p: 40;
  position: relative; width: 118px; height: 118px; flex-shrink: 0;
}
.vote-ring.vote-ring--d5,
.vote-ring.vote-ring--d6,
.vote-ring.vote-ring--d7 {
  width: 132px; height: 132px;
}
.vote-ring svg {
  width: 100%; height: 100%; transform: rotate(-90deg);
}
.vote-ring-bg {
  fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 7;
}
.vote-ring-fg {
  fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: calc(326.7 - (326.7 * var(--p) / 100));
}
.vote-ring-label {
  position: absolute; inset: 14%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; line-height: 1.05;
  padding: .1rem; overflow: hidden; box-sizing: border-box;
  gap: .08rem;
}
.vote-ring-label strong {
  font-family: var(--display); font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 1.12rem;
  letter-spacing: -.03em;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1;
}
.vote-ring--d5 .vote-ring-label strong { font-size: .95rem; letter-spacing: -.04em; }
.vote-ring--d6 .vote-ring-label strong { font-size: .8rem; letter-spacing: -.045em; }
.vote-ring--d7 .vote-ring-label strong { font-size: .68rem; letter-spacing: -.05em; }
.vote-ring-label span {
  font-size: .55rem; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255, 255, 255, .88); line-height: 1.1; margin: 0;
}
.vote-ring-label .vote-ring-sub {
  font-size: .48rem; letter-spacing: .05em;
  color: rgba(255, 255, 255, .7); text-transform: uppercase; margin: 0;
}

.vote-panel {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 1.1rem;
  box-shadow: var(--shadow);
}
.vote-cooldown {
  text-align: center;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(249, 115, 22, .4);
  background: rgba(249, 115, 22, .08);
  margin-bottom: .85rem;
}
.vote-cooldown-label {
  margin: 0 0 .35rem;
  font-size: .9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.vote-cooldown-time {
  margin: 0 0 .65rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 700;
  color: #fdba74;
  letter-spacing: .02em;
  line-height: 1.1;
}
.vote-cooldown .muted { margin: 0; font-size: .88rem; }
.vote-form { display: grid; gap: .95rem; max-width: none; width: 100%; margin: 0 auto; }
.vote-step {
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.vote-step:has(+ .vote-legal) {
  border-bottom: none;
  padding-bottom: .2rem;
}
.vote-step-head {
  display: flex; align-items: flex-start; gap: .55rem;
  margin-bottom: .55rem;
}
.vote-step-head h3 {
  margin: 0; font-family: var(--display); font-size: .98rem; font-weight: 650;
  display: inline; margin-right: .4rem;
}
.vote-step-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; }
.vote-step-ico {
  width: 1.75rem; height: 1.75rem; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: .85rem; color: #fff;
  background: linear-gradient(145deg, #fb923c, #ea580c);
  box-shadow: 0 4px 10px rgba(249, 115, 22, .3);
}
.vote-step-ico-check {
  background: linear-gradient(145deg, #f97316, #c2410c);
}
.vote-step-ico-why {
  background: linear-gradient(145deg, #fb923c, #9a3412);
}
.vote-pill {
  display: inline-flex; align-items: center;
  padding: .12rem .4rem; border-radius: 999px;
  font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.vote-pill-req {
  background: rgba(249, 115, 22, .15); color: #fdba74; border-color: rgba(249, 115, 22, .35);
}
.vote-pill-opt {
  background: rgba(56, 189, 248, .12); color: #7dd3fc; border-color: rgba(56, 189, 248, .3);
}
.vote-rewards-opt {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: 0 0 .75rem; padding: .7rem .85rem; border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, .35);
  background: rgba(249, 115, 22, .08);
  cursor: pointer; font-size: .9rem; line-height: 1.35;
}
.vote-rewards-opt input {
  margin-top: .2rem; width: 1.1rem; height: 1.1rem; accent-color: var(--cta, #f97316); flex-shrink: 0;
}
.vote-rewards-opt strong { color: var(--text); }
.vote-identity-fields { display: grid; gap: .65rem; transition: opacity .2s ease; }
.vote-field { display: grid; gap: .3rem; margin: 0; }
.vote-field input {
  width: 100%; padding: .6rem .8rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: inherit; font-size: .92rem;
}
.vote-field input:focus {
  outline: none; border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .2);
}
.vote-info-box {
  margin: 0 0 .55rem; padding: .55rem .7rem; border-radius: 10px;
  background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .25);
  color: #bae6fd; font-size: .84rem; line-height: 1.4;
}
.vote-page .captcha-grid {
  --captcha-tile: 88px;
  margin-left: auto;
  margin-right: auto;
}
.vote-page .hint { margin: .35rem 0 0; font-size: .8rem; }
.vote-captcha-refresh { margin-top: .25rem; font-size: .85rem; padding: .35rem .7rem; }

.vote-benefits {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem;
}
.vote-benefits li {
  display: grid; grid-template-columns: auto 1fr; gap: .45rem;
  padding: .6rem .65rem; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.vote-benefits strong { display: block; margin-bottom: .15rem; font-size: .84rem; }
.vote-benefits p { margin: 0; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.vote-ben-ico {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: var(--c); font-weight: 700; font-size: .85rem;
}

.vote-legal {
  display: flex; gap: .55rem; align-items: flex-start;
  padding: .65rem .75rem; border-radius: 10px;
  background: rgba(249, 115, 22, .1); border: 1px solid rgba(249, 115, 22, .28);
}
.vote-legal-ico { flex-shrink: 0; font-size: .95rem; line-height: 1.35; }
.vote-legal p { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.vote-legal a { color: var(--cta); font-weight: 600; }

.vote-submit-wrap { display: flex; justify-content: center; padding-top: .1rem; }
.vote-submit {
  min-width: min(100%, 220px);
  height: 48px;
  padding: 0 1.35rem;
  border-radius: 10px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: linear-gradient(135deg, #fb923c 0%, #ea580c 55%, #c2410c 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(249, 115, 22, .28);
  line-height: 1;
}
.vote-submit:hover {
  background: linear-gradient(135deg, #fdba74 0%, #f97316 50%, #ea580c 100%);
  color: #fff;
}

.vote-back { text-align: center; margin: .1rem 0 0; }
.vote-back a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.vote-back a:hover { color: var(--cta); }

.vote-aside {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}
.vote-aside-card {
  padding: .85rem .9rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.vote-aside-card h3 {
  margin: 0 0 .45rem; font-family: var(--display); font-size: .92rem;
  display: flex; align-items: center; gap: .4rem; color: var(--cta);
}
.vote-aside-card p {
  margin: 0 0 .6rem; font-size: .84rem; color: var(--muted); line-height: 1.45;
}
.vote-aside-card a { color: var(--cta); font-weight: 600; }
.vote-aside-meta, .vote-tips {
  list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem;
  font-size: .8rem; color: var(--muted);
}
.vote-aside-meta li::before {
  content: "•"; color: var(--cta); margin-right: .35rem; font-weight: 700;
}
.vote-tips li {
  padding: .4rem 0; border-top: 1px solid var(--line); line-height: 1.4;
}
.vote-tips li:first-child { border-top: none; padding-top: 0; }
.vote-tips strong { color: var(--text); }
.vote-owner-hint { margin: 0; text-align: center; }

@media (max-width: 900px) {
  .vote-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .vote-banner { flex-direction: column; align-items: stretch; padding: .65rem .75rem; }
  .vote-ring { margin: 0 auto; width: 112px; height: 112px; }
  .vote-ring.vote-ring--d5,
  .vote-ring.vote-ring--d6,
  .vote-ring.vote-ring--d7 { width: 124px; height: 124px; }
  .vote-ring-label strong { font-size: .98rem; }
  .vote-ring--d5 .vote-ring-label strong { font-size: .88rem; }
  .vote-ring--d6 .vote-ring-label strong { font-size: .74rem; }
  .vote-ring--d7 .vote-ring-label strong { font-size: .64rem; }
  .vote-benefits { grid-template-columns: 1fr; }
  .vote-aside { grid-template-columns: 1fr; }
  .vote-banner-thumb { width: 72px; height: 40px; }
  .vote-page .captcha-grid { --captcha-tile: 84px; }
}

.srv-premium-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1rem;
}
@media (max-width: 640px) {
  .srv-premium-grid { grid-template-columns: 1fr; }
}
.srv-premium-card {
  padding: 1.1rem; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface-2); display: grid; gap: .35rem;
}
.srv-premium-card strong { color: var(--cta); font-size: 1.05rem; }
.srv-premium-card span { color: var(--muted); font-size: .9rem; }

.srv-seo-blurb { margin: 1.5rem 0; line-height: 1.55; font-size: .95rem; }
.srv-seo-blurb a { color: var(--cta); font-weight: 600; }
.srv-back { text-align: center; margin: 1.5rem 0 .5rem; }
.srv-back a { color: var(--cta); font-weight: 600; }
.srv-votes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.srv-votes-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .45rem .55rem; border-radius: 8px; background: rgba(255,255,255,.03);
}

/* ===== Accueil — brand-first, anti-marketplace IA ===== */
body:has(.home) main {
  max-width: none;
  padding: 0 0 2.5rem;
}
.home-hero {
  position: relative;
  z-index: 5;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 1.25rem 1.5rem;
  background:
    radial-gradient(560px 280px at 50% -8%, rgba(249,115,22,.24), transparent 58%),
    radial-gradient(420px 240px at 12% 90%, rgba(249,115,22,.06), transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 85%, var(--bg) 100%);
  /* visible: live-search dropdown must paint over .home-spotlight */
  overflow: visible;
  text-align: center;
  color: var(--text);
}
.home-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(249,115,22,.1), transparent 42%);
}
.home-hero-inner {
  position: relative; z-index: 1;
  max-width: 36rem; margin: 0 auto; width: 100%;
}
.home-hero-logo {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto .65rem;
  object-fit: contain;
  box-shadow: 0 0 0 2px rgba(249,115,22,.4), 0 10px 28px rgba(0,0,0,.45);
  animation: home-logo-in .7s ease both;
}
.home-wordmark {
  margin: 0 0 .45rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  letter-spacing: .02em;
  color: var(--text);
  line-height: 1.05;
  max-width: none;
}
.home-hero h1.home-wordmark {
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  color: var(--text);
  font-weight: 700;
}
.home-hero .lead {
  color: var(--muted); font-size: .92rem; line-height: 1.45; max-width: 30rem;
  margin: 0 auto .9rem;
}
.home-hero-actions {
  display: flex; flex-wrap: wrap; gap: .55rem 1rem;
  justify-content: center; align-items: center; margin-bottom: 0;
}
.home-cta-primary { padding: .55rem 1.1rem; font-size: .92rem; }
.home-hero-secondary {
  color: var(--muted); font-weight: 500; font-size: .88rem;
  border-bottom: 1px solid transparent;
}
.home-hero-secondary:hover {
  color: var(--cta); border-bottom-color: rgba(249,115,22,.5); text-decoration: none;
}

.home-search {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .55rem .5rem .95rem;
  background: var(--surface);
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 999px;
  box-shadow: var(--shadow);
  max-width: 28rem;
  margin: 0 auto;
}
.home-search--in-hero { position: relative; z-index: 50; }
.home-search-ico { color: var(--muted); display: flex; }
.home-search input {
  flex: 1; border: none; background: transparent; color: var(--text);
  font: inherit; font-size: .95rem; outline: none; min-width: 0;
}
.home-search-hint { display: none; }
.home-search-drop {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + .5rem);
  background: var(--surface);
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: min(22rem, 55vh);
  overflow: auto;
  text-align: left;
  z-index: 60;
  padding: .25rem 0 .35rem;
}
.home-search-drop[hidden] { display: none !important; }
.home-search-results {
  list-style: none; margin: 0; padding: 0;
}
.home-search-results:empty { display: none; }
.home-search-results li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .7rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.home-search-results li:last-child a { border-bottom: 0; }
.home-search-results li a:hover,
.home-search-results li a.is-active {
  background: rgba(249,115,22,.14);
  color: #fdba74;
}
.home-search-results .sr-title { font-weight: 600; font-size: .92rem; }
.home-search-results .sr-label { color: var(--muted); font-size: .82rem; white-space: nowrap; flex-shrink: 0; }
.home-search-results a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .1rem .65rem;
}
.home-search-results .sr-sub {
  grid-column: 1 / -1;
  font-size: .75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-search-empty { text-align: center; margin: .75rem .5rem .35rem; font-size: .9rem; }
.home-search-more {
  display: block; text-align: center;
  padding: .55rem 1rem .7rem;
  color: var(--cta); font-size: .88rem; font-weight: 600; text-decoration: none;
}
.home-search-more:hover { text-decoration: underline; color: #fdba74; }

/* Spotlight — horizontal ranking cards */
.home-spotlight {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(249,115,22,.15);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 1.15rem 0;
}
.home-spotlight-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem;
}
.home-spotlight-head {
  margin-bottom: 1.15rem;
}
.home-spotlight-head h2 {
  margin: 0 0 .25rem;
  font-family: var(--display);
  font-size: 1.2rem;
}
.home-spotlight-head p { margin: 0; font-size: .9rem; }
.home-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) {
  .home-spotlight-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.home-spot-block-title {
  margin: 0 0 .65rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.home-spotlight-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
}
.home-spotlight-rail--3 { grid-template-columns: 1fr; }
.home-spot-empty {
  margin: 0;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: var(--bg);
  font-size: .85rem;
  color: var(--muted);
}
.home-spot-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color var(--motion), transform var(--motion), background var(--motion);
  color: var(--text);
  text-decoration: none;
}
.home-spot-card:hover {
  border-color: rgba(249,115,22,.5);
  background: var(--surface-2);
  text-decoration: none;
  transform: translateY(-2px);
}
.home-spot-card--static {
  cursor: default;
}
.home-spot-card--static:hover {
  transform: none;
  border-color: var(--line);
  background: var(--bg);
}
.home-spot-rank {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cta);
  min-width: 1.75rem;
}
.home-spot-thumb {
  width: 40px; height: 56px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line);
  background: #1a1028;
}
.home-spot-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.home-spot-avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(249,115,22,.15);
  color: var(--cta);
  font-weight: 700;
  font-family: var(--display);
  border: 1px solid rgba(249,115,22,.35);
}
.home-spot-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: .15rem;
}
.home-spot-body strong {
  color: var(--text);
  font-family: var(--display);
  font-size: .95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-spot-meta {
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-spot-chev {
  color: var(--cta);
  font-size: 1.1rem;
  opacity: .7;
}

.home-body { max-width: var(--max); margin: 0 auto; padding: 1.35rem 1.25rem 0; }
.home-games-head { margin-bottom: 1rem; }
.home-games-head .section-title { margin: 0 0 .35rem; }
.home-sub { margin: 0 0 1.15rem; font-size: .9rem; }

.home-stats-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  margin: 2.25rem 0 1.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.home-stats-bar-item {
  flex: 1 1 8rem;
  display: flex; align-items: baseline; justify-content: center; gap: .45rem;
  padding: .7rem 1.15rem;
  border-right: 1px solid var(--line);
}
.home-stats-bar-item:last-child { border-right: none; }
.home-stats-bar-item strong {
  font-family: var(--display);
  font-size: 1.15rem;
  color: #fdba74;
}
.home-stats-bar-item span {
  font-size: .78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}

.home-cta-band {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem;
  margin: 0 0 1rem;
  border-radius: 14px;
  border: 1px solid rgba(249,115,22,.3);
  background:
    linear-gradient(110deg, rgba(249,115,22,.16), rgba(18,24,33,.4) 45%, var(--surface));
}
.home-cta-band h2 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: 1.2rem;
}
.home-cta-band p { margin: 0; color: var(--muted); font-size: .92rem; }

@keyframes home-logo-in {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-logo { animation: none; }
  .game-rail-item:hover, .home-spot-card:hover { transform: none; }
}

/* Legacy home blocks removed from markup */
.home-kicker, .home-featured, .home-featured-label, .home-featured-grid,
.home-feat-card, .home-feat-badge, .home-feat-copy, .home-feat-cta,
.home-blurb, .home-steps, .home-stats-grid, .home-search-wrap { display: none; }

/* ===== Panel compte ===== */
.panel {
  display: grid; grid-template-columns: 240px 1fr; gap: 1.25rem; align-items: start;
}
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; }
}
.panel-side {
  position: sticky; top: 4.75rem;
  padding: 1.15rem 1.15rem 1.15rem 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(42, 51, 68, .55);
}
@media (max-width: 860px) {
  .panel-side {
    position: static;
    padding: 0 0 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(42, 51, 68, .55);
  }
}
.panel-profile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .35rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.panel-profile-link {
  color: inherit; text-decoration: none; border-radius: 12px;
  padding: .35rem .25rem .85rem; transition: background .15s ease, color .15s ease;
}
.panel-profile-link:hover {
  background: rgba(249, 115, 22, .08); text-decoration: none; color: inherit;
}
.panel-passport-cta {
  margin-top: .25rem; font-size: .78rem; font-weight: 700; color: var(--cta);
}
.panel-profile-link:hover .panel-passport-cta { color: #fdba74; }
.panel-actions-row {
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
}
.panel-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(249,115,22,.35);
  flex-shrink: 0;
}
.panel-avatar--letter,
.avatar-letter {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  letter-spacing: 0;
  padding: 0;
}
.panel-avatar--lg { width: 96px; height: 96px; font-size: 1.75rem; }
.panel-avatar--lg.avatar-letter { font-size: 1.75rem; }
.panel-avatar--sm { width: 28px; height: 28px; font-size: .7rem; border-width: 1px; }
.panel-avatar--sm.avatar-letter { font-size: .7rem; }
.panel-avatar-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.panel-avatar-actions input[type="file"] {
  max-width: 16rem; font-size: .85rem; color: var(--muted);
}
.panel-name { color: #fdba74; font-size: 1.05rem; }
.panel-role {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.panel-nav { display: grid; gap: .3rem; margin-bottom: 1rem; }
.panel-nav-link {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .7rem; border-radius: 10px; color: var(--muted); font-weight: 500;
}
.panel-nav-link:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.panel-nav-link.is-active {
  background: var(--cta); color: #fff; text-decoration: none;
}
.panel-nav-ico { width: 1.1rem; text-align: center; opacity: .9; }
.panel-add { width: 100%; }
.panel-main { min-width: 0; }
.panel-crumbs {
  display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
  font-size: .85rem; color: var(--muted); margin-bottom: .75rem;
}
.panel-crumbs a { color: var(--muted); }
.panel-crumbs a:hover { color: var(--cta); }
.panel-title { font-family: var(--display); font-size: 1.65rem; margin: 0 0 1rem; }
.panel-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(42, 51, 68, .55);
}
.panel-card:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.panel-card h2 { margin: 0 0 .85rem; font-size: 1.05rem; font-family: var(--display); }
.panel-dl { display: grid; gap: .65rem; margin: 0 0 1rem; }
.panel-dl div { display: flex; gap: .75rem; flex-wrap: wrap; }
.panel-dl dt { color: var(--muted); min-width: 5rem; }
.panel-dl dd { margin: 0; font-weight: 600; }
.panel-empty {
  padding: 1.15rem 1.2rem; border-radius: 12px; border: 1px dashed var(--line);
  background: rgba(255,255,255,.02); color: var(--muted); line-height: 1.5;
}
.panel-empty a { color: var(--cta); font-weight: 600; }
.panel-section-head {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 1rem;
}
.panel-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-top: .5rem;
}
@media (max-width: 640px) {
  .panel-stats { grid-template-columns: 1fr; }
}
.panel-stat {
  text-align: center; padding: .9rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.panel-stat strong { display: block; font-size: 1.35rem; font-family: var(--display); }
.panel-stat span { font-size: .8rem; color: var(--muted); }
.panel-mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.panel-mini-list li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .45rem .55rem; border-radius: 8px; background: rgba(255,255,255,.03);
}
.panel-form { max-width: 420px; }
.panel-avatar-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.panel-toggles { display: grid; gap: .65rem; }
.panel-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem .75rem; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--line); cursor: pointer; color: var(--text);
}
.panel-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.panel-switch {
  width: 2.6rem; height: 1.4rem; border-radius: 999px; background: #334155;
  position: relative; flex-shrink: 0; transition: background .2s;
}
.panel-switch::after {
  content: ""; position: absolute; top: .15rem; left: .15rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.panel-toggle input:checked + .panel-switch { background: var(--cta); }
.panel-toggle input:checked + .panel-switch::after { transform: translateX(1.2rem); }
.panel-tabs {
  display: flex; gap: 1.25rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.panel-tabs a {
  padding: .55rem 0; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent;
}
.panel-tabs a.is-active { color: var(--text); border-bottom-color: var(--cta); text-decoration: none; }
.panel-tabs a:hover { color: var(--text); text-decoration: none; }
.panel-server-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .85rem;
}
.panel-server-card h2 { margin: 0 0 .35rem; font-size: 1.05rem; }
.panel-fav-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.panel-fav-row h2 { margin: 0 0 .25rem; font-size: 1.05rem; }
.panel-list-head {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .5rem;
}

/* Account dropdown topbar */
.account-menu { position: relative; flex-shrink: 0; }
.account-menu-btn { gap: .45rem; padding: .35rem .7rem; }
.account-menu-btn--avatar {
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  justify-content: center;
  overflow: hidden;
}
.account-menu-btn--avatar .panel-avatar,
.account-menu-btn--avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}
.account-menu-drop {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 90;
  min-width: 12rem; padding: .4rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  display: grid; gap: .15rem;
}
.account-menu-drop[hidden] { display: none !important; }
.account-menu-drop a, .account-logout {
  display: block; padding: .55rem .7rem; border-radius: 8px; color: var(--text);
  text-align: left; background: none; border: none; font: inherit; cursor: pointer; width: 100%;
}
.account-menu-drop a:hover, .account-logout:hover {
  background: rgba(249,115,22,.14); color: #fff; text-decoration: none;
}
.account-logout { color: var(--danger); }

/* ===== Formulaire serveur + gestion ===== */
.sf-toggle {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem 0; margin: .2rem 0;
  border-radius: 0; background: transparent; border: 0;
  border-bottom: 1px solid rgba(42, 51, 68, .35);
  cursor: pointer; color: var(--text); font-weight: 500;
}
.sf-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.sf-switch {
  width: 2.6rem; height: 1.4rem; border-radius: 999px; background: #334155;
  position: relative; flex-shrink: 0; transition: background .2s;
}
.sf-switch::after {
  content: ""; position: absolute; top: .15rem; left: .15rem;
  width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff;
  transition: transform .2s;
}
.sf-toggle input:checked + .sf-switch { background: var(--cta); }
.sf-toggle input:checked + .sf-switch::after { transform: translateX(1.2rem); }
.sf-toggle-field { margin: .25rem 0 .85rem; }
.sf-toggle-row { display: grid; gap: .45rem; margin-bottom: 1rem; }
.sf-prefix-input {
  display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--surface-2);
}
.sf-prefix-input span {
  display: flex; align-items: center; padding: 0 .75rem; background: var(--surface-2);
  color: var(--muted); font-size: .85rem; white-space: nowrap; border-right: 1px solid var(--line);
}
.sf-prefix-input input { border: none !important; border-radius: 0 !important; background: transparent !important; }
.sf-plugin-box {
  margin-top: .5rem; padding: 1rem 0 0;
  border: none; border-top: 1px solid var(--line);
  background: transparent;
}
.sf-plugin-box h3 { margin: 0 0 .65rem; font-size: 1rem; font-family: var(--display); }

.mgr-vote h2 { margin-top: 0; }
.mgr-url-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: .75rem 0; }
.mgr-url-row input {
  flex: 1; min-width: 200px; padding: .7rem .85rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--accent); font: inherit;
}
.mgr-tip {
  margin: .75rem 0 0; padding: .75rem .9rem; border-radius: 10px;
  background: rgba(56,189,248,.1); border: 1px solid rgba(56,189,248,.25);
  color: var(--muted); font-size: .9rem; line-height: 1.45;
}
.mgr-tip strong {
  display: inline-block; margin-right: .35rem; padding: .1rem .45rem;
  border-radius: 6px; background: #0ea5e9; color: #fff; font-size: .75rem;
}
.mgr-tip code { color: var(--accent); font-size: .82rem; word-break: break-all; }
.mgr-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem;
}
@media (max-width: 720px) { .mgr-info-grid { grid-template-columns: 1fr; } }
.mgr-info-grid dl { margin: 0; display: grid; gap: .55rem; }
.mgr-info-grid div { display: grid; gap: .15rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.mgr-info-grid dt { color: var(--muted); font-size: .82rem; }
.mgr-info-grid dd { margin: 0; font-weight: 500; word-break: break-word; }
.mgr-warn {
  padding: 1rem 1.1rem; border-radius: 12px; margin-bottom: .85rem;
  background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.35); color: #fdba74;
}
.mgr-warn strong { display: block; margin-bottom: .35rem; color: #fb923c; }
.mgr-warn p { margin: 0; color: #e2e8f0; font-size: .92rem; }
.mgr-ok-box {
  padding: 1rem 1.1rem; border-radius: 12px; margin-bottom: .85rem;
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3);
}
.mgr-ok-box strong { color: #4ade80; }
.mgr-ok { color: #4ade80; font-weight: 600; }
.mgr-details summary { list-style: none; display: inline-flex; cursor: pointer; margin-top: .25rem; }
.mgr-details summary::-webkit-details-marker { display: none; }
.mgr-media-preview {
  margin-bottom: .85rem; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); max-width: 440px; background: var(--bg);
}
.mgr-media-preview img { width: 100%; height: auto; display: block; max-height: 130px; object-fit: cover; }
.mgr-media-preview--wide { max-width: 100%; }
.mgr-media-preview--wide img { max-height: 220px; }

/* Premium */
.prem-form { max-width: 480px; }
.prem-unit-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: .5rem 0 .85rem; }
.prem-unit-tab {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .75rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); cursor: pointer; font-weight: 600; font-size: .9rem;
}
.prem-unit-tab:has(input:checked) { border-color: var(--cta); background: rgba(249,115,22,.15); color: #fdba74; }
.prem-unit-tab input { accent-color: var(--cta); }
.prem-price-box {
  margin: 1rem 0; padding: 1rem 1.1rem; border-radius: 14px;
  border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.08);
}
.prem-price-main { font-family: var(--display); font-size: 1.85rem; font-weight: 700; color: #fdba74; }
.prem-slots { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.prem-rates { list-style: none; margin: .75rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.prem-rates strong { color: var(--text); }

/* Status page (SteamDB-inspired, VoteServeur orange) */
.status-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.status-hero { margin-bottom: 1.25rem; }
.status-kicker {
  margin: 0 0 .35rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cta);
}
.status-hero h1 {
  margin: 0 0 .5rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}
.status-lead { margin: 0; max-width: 40rem; line-height: 1.5; }

.status-banner {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.35rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.status-banner.is-ok {
  border-color: rgba(34, 197, 94, .4);
  background: rgba(34, 197, 94, .08);
}
.status-banner.is-degraded {
  border-color: rgba(249, 115, 22, .45);
  background: rgba(249, 115, 22, .1);
}
.status-banner.is-outage {
  border-color: rgba(239, 68, 68, .45);
  background: rgba(239, 68, 68, .1);
}
.status-live {
  flex-shrink: 0;
  width: .65rem;
  height: .65rem;
  margin-top: .4rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: status-pulse 2s ease-out infinite;
}
.status-banner.is-degraded .status-live {
  background: var(--cta);
  box-shadow: 0 0 0 0 rgba(249, 115, 22, .5);
}
.status-banner.is-outage .status-live {
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .5);
  animation: none;
}
@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.status-banner-text { display: grid; gap: .25rem; min-width: 0; }
.status-banner-text strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}
.status-banner.is-ok .status-banner-text strong { color: #4ade80; }
.status-banner.is-degraded .status-banner-text strong { color: #fdba74; }
.status-banner.is-outage .status-banner-text strong { color: #fca5a5; }
.status-meta { font-size: .88rem; color: var(--muted); }

.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
}
.status-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: .85rem 1rem 0.35rem;
}
.status-panel h2 {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--line);
}
.status-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(42, 51, 68, .75);
}
.status-row:last-child { border-bottom: 0; }
.status-row-main {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.status-name { font-weight: 550; color: var(--text); }
.status-detail { font-size: .8rem; line-height: 1.35; }
.status-row-side {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.status-latency { font-size: .78rem; font-variant-numeric: tabular-nums; }
.status-badge {
  font-size: .82rem;
  font-weight: 650;
  white-space: nowrap;
}
.status-badge.ok { color: #4ade80; }
.status-badge.warn { color: #fb923c; }
.status-badge.bad { color: #f87171; }
.status-badge.info { color: var(--muted); }

.status-footnote {
  margin: 1.35rem 0 0;
  font-size: .88rem;
  line-height: 1.5;
  max-width: 46rem;
}

@media (max-width: 860px) {
  .status-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .status-row { flex-wrap: wrap; }
  .status-row-side { width: 100%; justify-content: flex-end; }
}

/* —— Motion / reduced motion (VS) —— */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .game-card:hover img,
  .home-feat-card:hover,
  .blog-card:hover,
  .social-btn:hover,
  .oauth-btn:hover,
  .admin-tile:hover {
    transform: none !important;
  }
}

.guides-hero {
  background: linear-gradient(145deg, var(--surface) 0%, #151c28 100%);
  border: 1px solid rgba(249,115,22,.2);
}
.panel-side, .panel-card {
  background: transparent;
}
.panel-side {
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(42, 51, 68, .55);
  border-radius: 0;
  box-shadow: none;
}
.form input, .form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: .65rem 0;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-bottom-color: var(--cta);
  box-shadow: none;
}
.vs-pick-input {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: .65rem 0 !important;
}
.vs-pick-input:focus {
  border-bottom-color: var(--cta) !important;
  box-shadow: none !important;
}
.vs-pick-results {
  background: var(--bg);
  border: 1px solid rgba(249, 115, 22, .25);
  border-radius: 12px;
}
.vs-pick-item {
  border-bottom-color: rgba(42, 51, 68, .45);
}
.panel-stat {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(42, 51, 68, .45);
  border-radius: 0;
  text-align: left;
  padding: .65rem 0;
}
.panel-empty {
  background: transparent;
  border-style: solid;
  border-color: rgba(42, 51, 68, .55);
}
.footer-heading {
  font-family: var(--display);
  letter-spacing: .02em;
}

/* —— Passeport joueur —— */
.passport-page {
  --pp-orange: #f97316;
  --pp-amber: #fdba74;
  --pp-glow: rgba(249, 115, 22, .28);
  max-width: min(1040px, var(--max));
  margin: 0 auto;
  padding: 1.25rem 1.15rem 3.5rem;
  animation: passportIn .55s cubic-bezier(.22, 1, .36, 1) both;
}
.panel-main .passport-page {
  max-width: none;
  margin: 0;
  padding: 0 0 1.25rem;
}
@keyframes passportIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .passport-page, .passport-kpi, .passport-hero, .passport-fav-highlight, .passport-card {
    animation: none !important;
    transition: none !important;
  }
}

.passport-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(249, 115, 22, .28);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.85rem 1.6rem 1.7rem;
  margin-bottom: 1.35rem;
  background:
    linear-gradient(155deg, color-mix(in srgb, var(--surface-2) 96%, transparent) 0%, color-mix(in srgb, var(--surface) 98%, transparent) 55%, var(--bg) 100%);
  color: var(--text);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent) inset,
    0 24px 60px color-mix(in srgb, #000 35%, transparent),
    0 0 80px rgba(249, 115, 22, .08);
}
.passport-hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(11, 14, 20, .92) 18%, rgba(11, 14, 20, .55) 55%, rgba(11, 14, 20, .35) 100%),
    var(--pp-banner) center / cover no-repeat;
  pointer-events: none;
}
.passport-hero--custom {
  min-height: 200px;
  border-color: rgba(249, 115, 22, .4);
}
.passport-hero--custom .passport-identity,
.passport-hero--custom .passport-kicker {
  position: relative;
  z-index: 1;
}
.passport-edit-link {
  margin: .75rem 0 0;
  font-size: .88rem;
}
.passport-edit-link a {
  color: var(--pp-amber, #fdba74);
  font-weight: 600;
  text-decoration: none;
}
.passport-edit-link a:hover { color: #fff; }
.panel-passport-banner-preview {
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-height: 100px;
}
.panel-passport-banner-preview img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.panel-passport-banner-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
@keyframes passportGlow {
  from { opacity: .75; transform: translate(0, 0) scale(1); }
  to { opacity: 1; transform: translate(-4%, 3%) scale(1.05); }
}
.passport-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
  pointer-events: none;
}
.passport-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .28rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pp-amber);
  background: rgba(249, 115, 22, .12);
  border: 1px solid rgba(249, 115, 22, .28);
}
.passport-kicker-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--pp-orange);
  box-shadow: 0 0 10px var(--pp-glow);
  animation: passportPulse 1.8s ease-in-out infinite;
}
@keyframes passportPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
.passport-identity {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.passport-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 92px;
  height: 92px;
}
.passport-avatar {
  width: 92px !important;
  height: 92px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(249, 115, 22, .55) !important;
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, .12),
    0 12px 28px rgba(0, 0, 0, .4);
  position: relative;
  z-index: 1;
}
.passport-avatar.avatar-letter,
.passport-avatar--letter {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.65rem;
  color: #fff;
  line-height: 1;
  background: linear-gradient(145deg, #ea580c, #c2410c 60%, #7c2d12) !important;
}
.passport-avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px dashed rgba(253, 186, 116, .45);
  animation: passportSpin 18s linear infinite;
  pointer-events: none;
}
@keyframes passportSpin {
  to { transform: rotate(360deg); }
}
.passport-identity-copy { min-width: 0; }
.passport-pseudo {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
  background: linear-gradient(105deg, #fff 20%, var(--pp-amber) 55%, #fff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: passportShimmer 6s ease-in-out infinite;
}
@keyframes passportShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.passport-display {
  margin: .4rem 0 0;
  color: var(--muted);
  font-size: .95rem;
}
.passport-tagline {
  margin: .65rem 0 0;
  max-width: 36rem;
  color: rgba(226, 232, 240, .72);
  font-size: .92rem;
  line-height: 1.45;
}

.passport-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1.35rem;
}
@media (max-width: 960px) {
  .passport-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .passport-kpis { grid-template-columns: 1fr 1fr; }
}
.passport-kpi {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(26, 34, 46, .9), rgba(18, 24, 33, .95));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.05rem .9rem .95rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: passportKpiIn .5s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc(var(--i, 0) * .06s + .12s);
}
@keyframes passportKpiIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.passport-kpi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, .55), transparent);
  opacity: .7;
}
.passport-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, .35);
  box-shadow: 0 16px 36px rgba(249, 115, 22, .12);
}
.passport-kpi--hot {
  border-color: rgba(249, 115, 22, .4);
  background:
    linear-gradient(165deg, rgba(249, 115, 22, .16), rgba(18, 24, 33, .95) 55%);
}
.passport-kpi-ico {
  display: block;
  margin: 0 auto .35rem;
  font-size: .7rem;
  color: var(--pp-amber);
  opacity: .85;
  letter-spacing: .05em;
}
.passport-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(249, 115, 22, .25);
}
.passport-kpi--hot strong { color: var(--pp-amber); }
.passport-kpi span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.passport-fav-highlight {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(249, 115, 22, .4);
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(249, 115, 22, .22), transparent 60%),
    linear-gradient(135deg, #1a222e 0%, #121821 50%, #0f141c 100%);
  box-shadow: 0 18px 48px rgba(249, 115, 22, .12);
  animation: passportIn .6s .2s cubic-bezier(.22, 1, .36, 1) both;
}
.passport-fav-badge {
  display: inline-flex;
  margin-bottom: .85rem;
  padding: .22rem .65rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #1a0f08;
  background: linear-gradient(90deg, var(--pp-amber), var(--pp-orange));
}
.passport-fav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.passport-fav-link:hover .passport-fav-body strong { color: var(--pp-amber); }
.passport-fav-link:hover .passport-fav-chev {
  transform: translateX(4px);
  color: var(--pp-amber);
}
.passport-fav-cover {
  flex-shrink: 0;
  width: 64px;
  height: 86px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.passport-fav-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.passport-fav-body {
  display: grid;
  gap: .3rem;
  min-width: 0;
  flex: 1;
}
.passport-fav-body strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  transition: color .2s ease;
}
.passport-fav-meta {
  color: var(--muted);
  font-size: .88rem;
}
.passport-fav-chev {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pp-orange);
  transition: transform .25s ease, color .2s ease;
}

.passport-badges { margin-bottom: 1.25rem; }
.passport-badges h2,
.passport-card h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.passport-card-ico {
  color: var(--pp-orange);
  font-size: .9rem;
}
.passport-badge-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.passport-badge {
  border: 1px solid rgba(249, 115, 22, .35);
  background: rgba(249, 115, 22, .1);
  border-radius: 999px;
  padding: .4rem .95rem;
  font-size: .84rem;
  font-weight: 650;
  transition: transform .2s ease, box-shadow .2s ease;
}
.passport-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, .15);
}
.passport-badge--early { border-color: rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .1); }
.passport-badge--fidele { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); }
.passport-badge--explorateur { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .1); }
.passport-badge--veteran { border-color: rgba(249, 115, 22, .55); background: rgba(249, 115, 22, .16); }

.passport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 800px) {
  .passport-grid { grid-template-columns: 1fr; }
}
.passport-card {
  background:
    linear-gradient(165deg, rgba(26, 34, 46, .88), rgba(15, 20, 28, .95));
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.15rem 1.15rem 1rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .28);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.passport-card:hover {
  border-color: rgba(249, 115, 22, .28);
  box-shadow: 0 18px 44px rgba(249, 115, 22, .08);
}
.passport-empty {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
  padding: .35rem 0 .15rem;
}
.passport-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.passport-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  padding: .65rem .35rem;
  margin: 0 -.35rem;
  border-radius: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  transition: background .2s ease;
}
.passport-list li:last-child { border-bottom: 0; }
.passport-list li:hover {
  background: rgba(249, 115, 22, .06);
}
.passport-list-top {
  background: rgba(249, 115, 22, .07);
  border: 1px solid rgba(249, 115, 22, .18) !important;
  border-bottom: 1px solid rgba(249, 115, 22, .18) !important;
  margin-bottom: .35rem;
}
.passport-list-main {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.passport-list-thumb {
  width: 36px;
  height: 48px;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .08);
  flex-shrink: 0;
  background: var(--surface-2);
}
.passport-list-copy {
  display: grid;
  gap: .15rem;
  min-width: 0;
}
.passport-list-title {
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.passport-list-main:hover .passport-list-title { color: var(--pp-amber); }
.passport-list-sub {
  font-size: .78rem;
  color: var(--muted);
}
.passport-list-stats {
  flex-shrink: 0;
  font-size: .78rem;
  color: var(--muted);
  text-align: right;
  line-height: 1.35;
}
.passport-list-stats em {
  font-style: normal;
  font-weight: 700;
  font-family: var(--display);
  color: var(--pp-amber);
  font-size: .9rem;
}
.passport-star {
  color: var(--pp-orange);
  margin-right: .2rem;
  filter: drop-shadow(0 0 6px rgba(249, 115, 22, .5));
}
.passport-favs { margin-top: .25rem; }
.flash-passport-link {
  display: inline-block;
  margin-left: .65rem;
  color: var(--cta);
  font-weight: 600;
  font-size: .92rem;
}
.flash-passport-link:hover { color: var(--cta-hover); }

/* —— Radar anti-fraude (owner) —— */
.fraud-radar { margin-top: 1.25rem; }
.fraud-radar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: 1rem;
}
.fraud-radar-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}
.fraud-radar-note { margin: 0; font-size: .85rem; }
.fraud-radar-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
}
@media (max-width: 720px) {
  .fraud-radar-body { grid-template-columns: 1fr; }
}
.fraud-health {
  text-align: center;
  padding: 1rem .75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.fraud-health-score {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.fraud-health-label {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 600;
}
.fraud-health-sub { display: block; margin-top: .25rem; font-size: .78rem; }
.fraud-health--good .fraud-health-score { color: var(--ok); }
.fraud-health--warn .fraud-health-score { color: #fbbf24; }
.fraud-health--bad .fraud-health-score { color: var(--danger); }
.fraud-alerts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.fraud-alert {
  padding: .55rem .75rem;
  border-radius: 8px;
  font-size: .9rem;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.fraud-alert--alert { border-color: rgba(239, 68, 68, .45); background: rgba(239, 68, 68, .1); }
.fraud-alert--mild { border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
.fraud-alert--info { border-color: rgba(56, 189, 248, .3); background: rgba(56, 189, 248, .06); }
.fraud-mini-chart h3,
.fraud-top-ips h3 {
  margin: 0 0 .5rem;
  font-size: .92rem;
  color: var(--muted);
  font-weight: 600;
}
.fraud-top-ips { margin-top: .85rem; }
.fraud-top-ips code {
  font-size: .82rem;
  color: var(--cta);
}

/* —— Admin panel —— */
.admin-panel .panel-role { color: var(--cta); }
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin: 0 0 1rem;
}
.admin-filters input[type="search"],
.admin-filters select {
  min-width: 12rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: .65rem .5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-table tr.is-muted { opacity: .55; }
.admin-table code { font-size: .82rem; color: var(--cta); }
.admin-badge {
  display: inline-block;
  padding: .15rem .45rem;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
}
.admin-badge.status-open { color: var(--ok); border-color: rgba(34, 197, 94, .35); }
.admin-badge.status-pending { color: var(--featured); border-color: rgba(251, 191, 36, .35); }
.admin-badge.status-closed { color: var(--muted); }
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.admin-inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.admin-inline-form select,
.admin-inline-form input[type="number"] {
  max-width: 8rem;
}
.admin-game-form {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  align-items: center;
}
.admin-game-form input[name="name"] { min-width: 10rem; flex: 1; }
.admin-game-form label {
  display: inline-flex;
  gap: .3rem;
  align-items: center;
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}
.admin-user-cell {
  display: flex;
  gap: .55rem;
  align-items: center;
}
.admin-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
  max-width: 28rem;
}
.admin-alert-list .fraud-alert { margin: 0; font-size: .82rem; }


/* —— Pages erreur (layout site) —— */
.error-page {
  max-width: 28rem;
  margin: 2.5rem auto 3rem;
  padding: 1.85rem 1.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.error-page::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta), #fdba74, var(--cta));
}
.error-page h1 {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  letter-spacing: .01em;
  line-height: 1.2;
}
.error-page .muted { margin: 0 0 .85rem; line-height: 1.55; }
.error-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}
.error-badge {
  display: inline-block;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .32rem .7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, .45);
  background: rgba(249, 115, 22, .12);
}
.error-badge--danger {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, .45);
  background: rgba(239, 68, 68, .12);
}
.error-badge--info {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, .4);
  background: rgba(56, 189, 248, .1);
}
.error-foot {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
}
.error-foot a { color: var(--cta); font-weight: 600; }

/* —— Connexions OAuth (paramètres) —— */
.oauth-linked-list {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.oauth-linked-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: .65rem;
  padding: .7rem .9rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface-2);
}
.oauth-linked-ico { display: inline-flex; flex-shrink: 0; }
.oauth-linked-ico .oauth-ico { width: 18px; height: 18px; }
.oauth-linked-name { font-weight: 600; flex: 1 1 auto; }
.oauth-linked-badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fdba74; background: rgba(249,115,22,.12);
  border: 1px solid rgba(249,115,22,.35); border-radius: 999px; padding: .2rem .55rem;
}
.oauth-grid--link { margin-top: .35rem; }
.btn-sm { padding: .35rem .75rem; font-size: .85rem; }

/* —— Supporters auto-vote —— */
.srv-supporters .srv-section-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: .65rem;
}
.srv-supporter-list {
  list-style: none; margin: .75rem 0 0; padding: 0;
  display: flex; flex-direction: column; gap: .45rem;
}
.srv-supporter-list li {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline;
  padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface-2);
}
.srv-supporter-list a { color: var(--cta); font-weight: 600; text-decoration: none; }

/* Auto-vote server picker */
.vs-pick { position: relative; }
.vs-pick-input {
  width: 100%;
  box-sizing: border-box;
}
.vs-pick-results {
  list-style: none;
  margin: .35rem 0 0;
  padding: 0;
  position: absolute;
  z-index: 40;
  left: 0; right: 0;
  max-height: 16rem;
  overflow: auto;
  background: var(--surface, #15171c);
  border: 1px solid var(--line, #2a2e36);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.vs-pick-results[hidden],
.vs-pick-empty[hidden],
.vs-pick-selected[hidden] { display: none !important; }
.vs-pick-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  width: 100%;
  text-align: left;
  padding: .7rem .9rem;
  border: 0;
  border-bottom: 1px solid var(--line, #2a2e36);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.vs-pick-item:last-child { border-bottom: 0; }
.vs-pick-item:hover,
.vs-pick-item.is-active {
  background: rgba(249, 115, 22, .12);
}
.vs-pick-item .sr-title { font-weight: 600; font-size: .95rem; }
.vs-pick-item .sr-label { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.vs-pick-empty { margin: .45rem 0 0; font-size: .88rem; }
.vs-pick-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .65rem;
  margin: -.25rem 0 .85rem;
  font-size: .88rem;
}
.vs-pick-selected strong { color: var(--text, #e8e6e3); }
.vs-pick-clear {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--cta, #f97316);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.panel-form .vs-pick { max-width: 100%; }

/* —— Clash de serveurs —— */
.clash-page { max-width: 920px; margin: 0 auto; padding: 1.5rem 1.15rem 3rem; }
.clash-hero, .clash-duel-hero {
  background: linear-gradient(145deg, rgba(249,115,22,.16), rgba(18,24,33,.95));
  border: 1px solid rgba(249,115,22,.35);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.25rem;
}
.clash-kicker {
  margin: 0 0 .5rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #fdba74;
}
.clash-hero h1, .clash-duel-hero h1 {
  margin: 0 0 .75rem; font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.clash-vs-sep { color: var(--cta); margin: 0 .35rem; font-weight: 800; }
.clash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.clash-card a {
  display: grid; gap: .25rem; padding: .9rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit;
}
.clash-card a:hover { border-color: rgba(249,115,22,.4); }
.clash-card--live a { border-color: rgba(249,115,22,.45); background: rgba(249,115,22,.08); }
.clash-live-pill, .home-clash-live-dot, .srv-clash-live {
  display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: .08em;
  padding: .15rem .45rem; border-radius: 999px; background: var(--cta); color: #fff;
}
.clash-score { font-family: var(--display); font-weight: 700; color: #fdba74; }
.clash-scoreboard {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem;
}
.clash-side {
  text-align: center; padding: 1rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
}
.clash-side strong { display: block; font-family: var(--display); font-size: 2rem; color: var(--cta); }
.clash-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.clash-result--win { color: #fdba74; font-size: 1.15rem; font-weight: 700; }
.clash-champ-badge, .home-clash-pill {
  display: inline-block; font-size: .7rem; font-weight: 800; color: #1a0f08;
  background: linear-gradient(90deg, #fdba74, #f97316); padding: .2rem .55rem; border-radius: 999px;
}
.home-clash { margin: 0 0 1.5rem; }
.home-clash-inner { max-width: var(--max); margin: 0 auto; padding: 0 1.15rem; }
.home-clash-champs, .home-clash-live {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin-top: .75rem;
}
.home-clash-champ, .home-clash-card {
  display: grid; gap: .3rem; padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.08);
  text-decoration: none; color: inherit;
}
.home-clash-champ:hover, .home-clash-card:hover { border-color: var(--cta); }
.srv-clash-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem;
  margin-top: .85rem; padding: .55rem .8rem; border-radius: 10px;
  background: rgba(249,115,22,.12); border: 1px solid rgba(249,115,22,.4);
  text-decoration: none; color: inherit; font-size: .9rem;
}
.srv-clash-banner em { font-style: normal; font-weight: 800; color: #fdba74; }
.srv-clash-champ-tag {
  margin: .75rem 0 0; color: #fdba74; font-weight: 700; font-size: .9rem;
}

/* —— Pulse Live (premium) —— */
.live-page {
  max-width: var(--max, 1120px);
  margin: 0 auto;
  padding: 0 0 3.5rem;
}
.live-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 0 1.15rem;
  border-bottom: 1px solid rgba(249,115,22,.22);
  background: #0b0e14;
}
.live-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%, rgba(249,115,22,.28), transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 10%, rgba(251,146,60,.16), transparent 50%),
    linear-gradient(180deg, #121822 0%, #0b0e14 100%);
}
.live-hero-bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent 0 18px,
      rgba(249,115,22,.035) 18px 19px
    );
  animation: live-scan 18s linear infinite;
  pointer-events: none;
}
@keyframes live-scan {
  from { transform: translateY(0); }
  to { transform: translateY(40px); }
}
.live-hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max, 1120px);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 1.55rem;
}
.live-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fdba74;
}
.live-kicker-dot,
.live-pulse-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 0 0 rgba(249,115,22,.55);
  animation: live-pulse-dot 1.6s ease-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,.55); }
  70% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.live-hero h1 {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.live-hero .lead {
  margin: 0 0 1.1rem;
  max-width: 42rem;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.55;
}
.live-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.live-hero-cta .btn.ghost {
  border-color: rgba(255,255,255,.18);
  color: #e2e8f0;
  background: rgba(255,255,255,.04);
}
.live-hero-cta .btn.ghost:hover {
  border-color: rgba(249,115,22,.45);
  color: #fdba74;
}
.live-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 auto 1.25rem;
  padding: 0 1.25rem;
  max-width: var(--max, 1120px);
}
.live-stat {
  position: relative;
  overflow: hidden;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(18,24,33,.88);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  display: grid;
  gap: .2rem;
  backdrop-filter: blur(10px);
}
.live-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,.55), transparent);
  opacity: .7;
}
.live-stat--hot {
  border-color: rgba(249,115,22,.35);
  background:
    linear-gradient(160deg, rgba(249,115,22,.16), rgba(255,255,255,.02)),
    rgba(18,24,33,.92);
}
.live-stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.live-stat-value {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  color: #fff;
  line-height: 1.1;
}
.live-stat--hot .live-stat-value { color: #fdba74; }
.live-stat-value--sm {
  font-size: 1.05rem !important;
  color: #fdba74 !important;
}
.live-stat-hint {
  font-size: .8rem;
  color: #64748b;
}
.live-stat--pulse {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.live-feed-wrap {
  margin: 0 auto;
  padding: 0 1.25rem;
  max-width: var(--max, 1120px);
}
.live-feed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1rem;
  margin-bottom: .75rem;
}
.live-feed-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}
.live-feed-head .muted { margin: 0; font-size: .85rem; }
.live-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.live-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .65rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(18,24,33,.75);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  animation: live-row-in .35s ease-out;
}
@keyframes live-row-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.live-row--clash {
  border-color: rgba(249,115,22,.42);
  background:
    linear-gradient(145deg, rgba(249,115,22,.14), rgba(255,255,255,.02)),
    rgba(18,24,33,.85);
}
.live-row time {
  font-variant-numeric: tabular-nums;
  font-size: .8rem;
  color: #94a3b8;
  min-width: 4.2rem;
}
.live-player,
.live-server {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}
.live-player:hover,
.live-server:hover { color: var(--cta, #f97316); }
.live-arrow { color: #64748b; }
.live-clash-pill {
  margin-left: auto;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249,115,22,.35);
}
.live-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,.12);
  background: rgba(18,24,33,.5);
}
@media (max-width: 720px) {
  .live-stats { grid-template-columns: 1fr; }
  .live-clash-pill { margin-left: 0; }
}

html[data-theme="light"] .live-hero { background: #0b0e14; }
html[data-theme="light"] .live-hero h1 { color: #fff; }
html[data-theme="light"] .live-hero .lead { color: #cbd5e1; }
html[data-theme="light"] .live-stat,
html[data-theme="dark"] .live-stat {
  border-color: rgba(255,255,255,.1);
  background:
    linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(18,24,33,.88);
}
html[data-theme="light"] .live-stat-value,
html[data-theme="dark"] .live-stat-value { color: #fff; }
html[data-theme="light"] .live-stat--hot .live-stat-value,
html[data-theme="dark"] .live-stat--hot .live-stat-value { color: #fdba74; }
html[data-theme="light"] .live-row,
html[data-theme="dark"] .live-row {
  border-color: rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    rgba(18,24,33,.75);
  color: #e2e8f0;
}

/* —— Claim code (modal vote) —— */
.vote-claim-code-box {
  margin: .75rem 0 0; padding: .85rem 1rem; border-radius: 12px;
  border: 1px dashed rgba(249,115,22,.5); background: rgba(249,115,22,.1);
  text-align: center;
}
.vote-claim-code-label {
  margin: 0; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #fdba74;
}
.vote-claim-code-value {
  margin: .35rem 0; font-family: var(--display);
  font-size: 1.85rem; letter-spacing: .18em; color: #fff; font-weight: 800;
}
.vote-claim-code-hint { margin: 0 0 .55rem; font-size: .88rem; }
.vote-claim-copy { margin-top: .15rem; }

/* —— Season Cards (passeport) —— */
.passport-season-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem;
  align-items: center; margin: 1.15rem 0 1.35rem;
  padding: 1.1rem 1.15rem; border-radius: 16px;
  border: 1px solid rgba(249,115,22,.35);
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(18,24,33,.9));
}
.passport-season-kicker {
  margin: 0 0 .35rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #fdba74;
}
.passport-season-copy h2 {
  margin: 0 0 .4rem; font-family: var(--display); font-size: 1.35rem;
}
.passport-season-actions {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem;
}
.passport-season-preview {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(249,115,22,.35); box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.passport-season-preview img {
  display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover;
}
@media (max-width: 800px) {
  .passport-season-card { grid-template-columns: 1fr; }
}

/* —— Theme jour / nuit —— */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --surface-2: #eef1f6;
  --text: #0f172a;
  --muted: #475569;
  --line: #d5dbe6;
  --shadow: 0 14px 32px rgba(15, 23, 42, .08);
}
html[data-theme="light"] body {
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(249, 115, 22, .09), transparent 55%),
    radial-gradient(700px 420px at 92% 0%, rgba(56, 189, 248, .07), transparent 50%),
    var(--bg);
  color: var(--text);
}
html[data-theme="light"] .vs-topbar,
html[data-theme="light"] .topbar {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}
html[data-theme="light"] a { color: #475569; }
html[data-theme="light"] a:hover { color: var(--cta); }
html[data-theme="light"] .logo-wordmark,
html[data-theme="light"] .vs-topnav a,
html[data-theme="light"] .account-menu-btn,
html[data-theme="light"] .lang-btn { color: var(--text); }
html[data-theme="light"] .vs-topnav a:hover { color: var(--cta); }
html[data-theme="light"] .vs-topsearch,
html[data-theme="light"] .lang-menu,
html[data-theme="light"] .account-menu-drop {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .account-menu-drop a,
html[data-theme="light"] .lang-option { color: var(--text); }
html[data-theme="light"] .muted { color: var(--muted); }

/* Footer light */
html[data-theme="light"] .vs-footer {
  background:
    linear-gradient(180deg, rgba(249,115,22,.07), transparent 140px),
    #f8fafc;
  border-top-color: var(--cta);
}
html[data-theme="light"] .footer-heading,
html[data-theme="light"] .footer-brand-name,
html[data-theme="light"] .vs-footer-plug strong { color: var(--text); }
html[data-theme="light"] .footer-brand-sub,
html[data-theme="light"] .vs-footer-tagline,
html[data-theme="light"] .footer-text,
html[data-theme="light"] .footer-copy,
html[data-theme="light"] .footer-list a,
html[data-theme="light"] .footer-legal a { color: var(--muted); }
html[data-theme="light"] .footer-list a:hover,
html[data-theme="light"] .footer-legal a:hover { color: var(--cta); }
html[data-theme="light"] .footer-bar {
  background: #eef2f7;
  border-top-color: var(--line);
}
html[data-theme="light"] .vs-footer-news {
  background: rgba(249,115,22,.06);
  border-color: var(--line);
}
html[data-theme="light"] .newsletter-form {
  background: #fff;
  border-color: rgba(249,115,22,.4);
}
html[data-theme="light"] .newsletter-form input { color: var(--text); }
html[data-theme="light"] .social-btn {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .vs-footer-plug {
  background: #fff7ed;
  border-color: rgba(249,115,22,.4);
}

/* Cards / panels / forms light */
html[data-theme="light"] .home-spotlight,
html[data-theme="light"] .seo-section,
html[data-theme="light"] .clash-page,
html[data-theme="light"] .passport-card,
html[data-theme="light"] .plugin-card,
html[data-theme="light"] .status-panel,
html[data-theme="light"] .panel-main,
html[data-theme="light"] .srv-hero-copy,
html[data-theme="light"] .game-seo-block {
  color: var(--text);
}
html[data-theme="light"] .home-spot-card,
html[data-theme="light"] .home-spot-empty,
html[data-theme="light"] .seo-rank-list a,
html[data-theme="light"] .seo-game-grid a,
html[data-theme="light"] .clash-card a {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .home-spot-meta,
html[data-theme="light"] .seo-game-grid .muted { color: var(--muted); }
html[data-theme="light"] .seo-hero {
  background: linear-gradient(145deg, rgba(249,115,22,.12), #fff);
  border-color: rgba(249,115,22,.35);
  color: var(--text);
}
html[data-theme="light"] .seo-convert {
  background: #fff7ed;
  border-color: rgba(249,115,22,.4);
}
html[data-theme="light"] .seo-kicker { color: #c2410c; }

html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .form input,
html[data-theme="light"] .form select,
html[data-theme="light"] .form textarea {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
html[data-theme="light"] .btn.ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}
html[data-theme="light"] .discover-chip {
  background: #fff;
  color: var(--text);
}
html[data-theme="light"] .plugins-hero {
  background: linear-gradient(145deg, #fff 0%, #f8fafc 100%);
}
html[data-theme="light"] .game-period,
html[data-theme="light"] .game-type {
  color: var(--text);
}
html[data-theme="light"] .game-hero {
  background: #0f141c;
  border-bottom-color: rgba(249,115,22,.28);
}
html[data-theme="light"] .game-hero-bg {
  background:
    linear-gradient(105deg, rgba(11,14,20,.88) 0%, rgba(11,14,20,.62) 48%, rgba(11,14,20,.45) 100%),
    linear-gradient(180deg, rgba(249,115,22,.22) 0%, transparent 55%),
    var(--game-cover) center / cover no-repeat;
}
html[data-theme="light"] .game-hero-bg::after {
  background: linear-gradient(180deg, transparent, rgba(11,14,20,.72));
}
html[data-theme="light"] .game-hero-copy h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
html[data-theme="light"] .game-hero-lead { color: #cbd5e1; }
html[data-theme="light"] .game-kpi {
  background:
    linear-gradient(165deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 40%, rgba(18,24,33,.92) 100%);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  color: #fff;
}
html[data-theme="light"] .game-kpi--hot {
  background:
    linear-gradient(165deg, rgba(249,115,22,.28) 0%, rgba(249,115,22,.08) 40%, rgba(18,24,33,.92) 100%);
  border-color: rgba(249,115,22,.45);
}
html[data-theme="light"] .game-kpi-value { color: #fff; }
html[data-theme="light"] .game-kpi--hot .game-kpi-value { color: #fdba74; }
html[data-theme="light"] .game-kpi-label { color: #e2e8f0; }
html[data-theme="light"] .game-kpi-hint { color: #94a3b8; }
html[data-theme="light"] .game-hero-cta .btn.ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: #e2e8f0;
}
html[data-theme="light"] .game-page .game-rank .server-row {
  background: #121821;
  border-color: rgba(42,51,68,.9);
  box-shadow: 0 18px 42px rgba(15,23,42,.18);
  color: #f1f5f9;
}
html[data-theme="light"] .game-page .game-rank .server-row:hover {
  border-color: rgba(234,88,12,.45);
  box-shadow: 0 24px 48px rgba(15,23,42,.22);
  background: #151c27;
}
html[data-theme="light"] .game-page .game-rank .server-row h3 a { color: #f1f5f9; }
html[data-theme="light"] .game-page .game-rank .server-players,
html[data-theme="light"] .game-page .game-rank .server-tags .tag { color: #94a3b8; }
html[data-theme="light"] .game-page .game-rank .srv-metric strong { color: #fdba74; }
html[data-theme="light"] .game-page .game-rank .btn-fiche { color: #e2e8f0; }
html[data-theme="light"] .game-hero-stat {
  background: rgba(255,255,255,.88);
  border-color: var(--line);
  box-shadow: 0 8px 22px rgba(15,23,42,.08);
}
html[data-theme="light"] .game-hero-stat strong { color: var(--text); }
html[data-theme="light"] .game-hero-cta .btn.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .game-period,
html[data-theme="light"] .game-type {
  background: #fff;
  border-color: var(--line);
}
html[data-theme="light"] .srv-row,
html[data-theme="light"] .server-row,
html[data-theme="light"] [class*="srv-card"] {
  background: var(--surface);
  color: var(--text);
}

/* Hardcoded dark leftovers → follow theme */
html[data-theme="light"] .home-hero,
html[data-theme="light"] .clash-hero,
html[data-theme="light"] .passport-hero:not(.passport-hero--custom) {
  color: var(--text);
}

html[data-theme="dark"] { color-scheme: dark; }

.vs-theme-toggle {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.vs-theme-toggle:hover { border-color: rgba(249,115,22,.45); color: var(--cta); }
.vs-theme-ico { font-size: 1.05rem; line-height: 1; }
html[data-theme="dark"] .vs-theme-ico--sun { display: none; }
html[data-theme="dark"] .vs-theme-ico--moon { display: inline; }
html[data-theme="light"] .vs-theme-ico--sun { display: inline; }
html[data-theme="light"] .vs-theme-ico--moon { display: none; }
.vs-theme-toggle[data-pref="auto"]::after {
  content: '';
  position: absolute;
  right: 3px; bottom: 3px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 2px var(--surface);
}

/* —— SEO landings —— */
.seo-landing { max-width: 920px; margin: 0 auto; padding: 1.5rem 1.15rem 3rem; }
.seo-hero {
  background: linear-gradient(145deg, rgba(249,115,22,.14), var(--surface));
  border: 1px solid rgba(249,115,22,.32);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.4rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}
html[data-theme="light"] .seo-hero {
  background: linear-gradient(145deg, rgba(249,115,22,.12), #fff);
}
.seo-kicker {
  margin: 0 0 .5rem; font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #fdba74;
}
.seo-hero h1 {
  margin: 0 0 .75rem; font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
}
.seo-cta-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.seo-section { margin: 1.5rem 0; }
.seo-section h2 { font-family: var(--display); font-size: 1.25rem; margin: 0 0 .65rem; }
.seo-bullets, .seo-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; }
.seo-rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.seo-rank-list a {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .65rem;
  padding: .7rem .9rem; border-radius: 11px; border: 1px solid var(--line);
  background: var(--surface); text-decoration: none; color: inherit;
}
.seo-rank-n { font-weight: 800; color: var(--cta); min-width: 2rem; }
.seo-game-grid {
  list-style: none; margin: .75rem 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .5rem;
}
.seo-game-grid a {
  display: grid; gap: .25rem; padding: .85rem .9rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit;
  min-height: 4.25rem;
}
.seo-game-grid a:hover, .seo-rank-list a:hover { border-color: rgba(249,115,22,.45); }
.seo-convert {
  padding: 1.1rem 1.2rem; border-radius: 14px;
  border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.08);
}
.game-seo-lead { margin: .45rem 0 0; color: var(--muted); max-width: 42rem; }
.game-seo-block {
  margin: 1.5rem 0 0; padding: 1.1rem 1.2rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface);
}
.game-seo-block h2 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 .5rem; }
.game-seo-block .btn { margin: .35rem .35rem 0 0; }

/* Light mode — leftover hardcoded dark surfaces */
html[data-theme="light"] .home-search,
html[data-theme="light"] .vs-search-panel,
html[data-theme="light"] .code-block,
html[data-theme="light"] pre.code-block,
html[data-theme="light"] .guide-code,
html[data-theme="light"] .panel-side,
html[data-theme="light"] .panel-card,
html[data-theme="light"] .vs-modal-card,
html[data-theme="light"] .flash-passport-link,
html[data-theme="light"] .status-banner,
html[data-theme="light"] .legal-page,
html[data-theme="light"] .blog-card {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
html[data-theme="light"] .home-search input,
html[data-theme="light"] .vs-topsearch {
  background: var(--surface-2);
  color: var(--text);
}
html[data-theme="light"] .home-search-drop,
html[data-theme="light"] .vs-search-results {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .home-spot-card,
html[data-theme="light"] .seo-rank-list a,
html[data-theme="light"] .seo-game-grid a {
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
html[data-theme="light"] .vs-status-pill {
  color: var(--text);
}


/* ===== Theme enforcement v4 — every surface follows data-theme ===== */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f2f4f8;
  --surface: #ffffff;
  --surface-2: #e8edf5;
  --text: #0f172a;
  --muted: #475569;
  --line: #cfd6e3;
  --shadow: 0 12px 28px rgba(15, 23, 42, .08);
  --topbar-bg: rgba(255,255,255,.95);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0e14;
  --surface: #121821;
  --surface-2: #1a222e;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --line: #2a3344;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --topbar-bg: rgba(10, 12, 16, .96);
}
html[data-theme] body {
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(249, 115, 22, .10), transparent 55%),
    radial-gradient(700px 420px at 92% 0%, rgba(56, 189, 248, .07), transparent 50%),
    var(--bg);
  color: var(--text);
}
html[data-theme] .vs-topbar,
html[data-theme] .topbar {
  background: var(--topbar-bg, var(--bg));
  backdrop-filter: blur(18px) saturate(1.15);
}
html[data-theme="light"] .vs-topbar,
html[data-theme="light"] .topbar {
  border-bottom: 1px solid var(--line);
}

/* Force common chrome */
html[data-theme] .vs-footer,
html[data-theme] .footer-bar,
html[data-theme] .vs-footer-news,
html[data-theme] .newsletter-form,
html[data-theme] .home-spotlight,
html[data-theme] .home-spot-card,
html[data-theme] .home-spot-empty,
html[data-theme] .home-search,
html[data-theme] .home-search-drop,
html[data-theme] .seo-rank-list a,
html[data-theme] .seo-game-grid a,
html[data-theme] .seo-hero,
html[data-theme] .seo-convert,
html[data-theme] .clash-hero,
html[data-theme] .clash-card a,
html[data-theme] .clash-side,
html[data-theme] .plugin-card,
html[data-theme] .plugins-hero,
html[data-theme] .panel-main,
html[data-theme] .panel-side,
html[data-theme] .panel-card,
html[data-theme] .account-menu-drop,
html[data-theme] .lang-menu,
html[data-theme] .vs-modal-card,
html[data-theme] .code-block,
html[data-theme] pre.code-block,
html[data-theme] .status-panel,
html[data-theme] .status-banner,
html[data-theme] .passport-card,
html[data-theme] .game-seo-block,
html[data-theme] .srv-metrics,
html[data-theme] .btn.ghost,
html[data-theme] .discover-chip,
html[data-theme] .social-btn,
html[data-theme] .vs-theme-toggle,
html[data-theme] .lang-btn,
html[data-theme] .icon-btn,
html[data-theme] .vs-topsearch,
html[data-theme] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme] select,
html[data-theme] textarea {
  color: var(--text);
}

html[data-theme] .muted,
html[data-theme] .footer-text,
html[data-theme] .footer-copy,
html[data-theme] .footer-brand-sub,
html[data-theme] .vs-footer-tagline,
html[data-theme] .home-spot-meta,
html[data-theme] .footer-list a,
html[data-theme] .footer-legal a {
  color: var(--muted);
}
html[data-theme] .footer-heading,
html[data-theme] .footer-brand-name,
html[data-theme] .logo-wordmark,
html[data-theme] .vs-topnav a,
html[data-theme] .home-spot-body strong {
  color: var(--text);
}
html[data-theme] .footer-list a:hover,
html[data-theme] .footer-legal a:hover,
html[data-theme] .vs-topnav a:hover {
  color: var(--cta);
}

html[data-theme="light"] .vs-footer {
  background: linear-gradient(180deg, rgba(249,115,22,.06), transparent 140px), #f8fafc;
}
html[data-theme="dark"] .vs-footer {
  background: linear-gradient(180deg, rgba(249,115,22,.05), transparent 160px), var(--surface);
}
html[data-theme="light"] .footer-bar { background: var(--surface-2); }
html[data-theme="dark"] .footer-bar { background: color-mix(in srgb, var(--bg) 85%, #000); }
html[data-theme="light"] .vs-footer-plug {
  background: #fff7ed;
  border-color: rgba(249,115,22,.4);
}
html[data-theme="light"] .seo-hero,
html[data-theme="light"] .clash-hero {
  background: linear-gradient(145deg, rgba(249,115,22,.12), #fff) !important;
  color: var(--text);
}
html[data-theme="dark"] .seo-hero,
html[data-theme="dark"] .clash-hero {
  background: linear-gradient(145deg, rgba(249,115,22,.14), var(--surface)) !important;
  color: var(--text);
}
html[data-theme="light"] .home-spot-card,
html[data-theme="light"] .seo-game-grid a,
html[data-theme="light"] .seo-rank-list a,
html[data-theme="light"] .plugin-card {
  background: #fff !important;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}
html[data-theme="dark"] .home-spot-card,
html[data-theme="dark"] .seo-game-grid a,
html[data-theme="dark"] .seo-rank-list a {
  background: var(--bg) !important;
  border-color: var(--line);
}
html[data-theme="light"] .social-btn {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="dark"] .social-btn {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
html[data-theme="light"] .newsletter-form { background: #fff; }
html[data-theme="dark"] .newsletter-form { background: var(--surface-2); }

/* Forms readable both modes */
html[data-theme] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme] select,
html[data-theme] textarea {
  background: var(--surface-2);
  border: 1px solid var(--line);
}
html[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  background: #fff;
}

/* Server / game leftovers */
html[data-theme] .code-copy-wrap,
html[data-theme] .guide-section,
html[data-theme] .blog-card,
html[data-theme] .ticket-card,
html[data-theme] .panel-stat,
html[data-theme] .srv-premium-card {
  color: var(--text);
}
html[data-theme="light"] a:not(.btn):not(.vote):not(.social-btn) {
  color: #475569;
}
html[data-theme="light"] a:not(.btn):not(.vote):not(.social-btn):hover {
  color: #c2410c;
}
html[data-theme="dark"] a:not(.btn):not(.vote):not(.social-btn) {
  color: #cbd5e1;
}
html[data-theme="dark"] a:not(.btn):not(.vote):not(.social-btn):hover {
  color: #fdba74;
}

/* Ensure main text never invisible */
html[data-theme="light"] .vs-topnav {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="dark"] .vs-topnav {
  background: rgba(18, 24, 33, .9);
  border-color: rgba(42, 51, 68, .95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
html[data-theme="light"] .vs-topnav a { color: #475569 !important; }
html[data-theme="light"] .vs-topnav a:hover { color: #0f172a !important; background: rgba(249,115,22,.1); }
html[data-theme="light"] .vs-topnav a.active {
  color: #9a3412 !important;
  background: rgba(249,115,22,.16);
  box-shadow: inset 0 0 0 1px rgba(249,115,22,.4);
}
html[data-theme="dark"] .vs-topnav a { color: #94a3b8; }
html[data-theme="dark"] .vs-topnav a:hover { color: #f1f5f9; }
html[data-theme="dark"] .vs-topnav a.active {
  color: #fff;
  background: rgba(249,115,22,.22);
}

html[data-theme="light"] .vs-footer .footer-heading { color: #0f172a !important; }
html[data-theme="light"] .vs-footer .footer-list a { color: #475569 !important; }
html[data-theme="dark"] .vs-footer .footer-heading { color: #f1f5f9 !important; }
html[data-theme="dark"] .vs-footer .footer-list a { color: #94a3b8 !important; }

/* Home hero must fully match theme (was hardcoded dark) */
html[data-theme="light"] .home-hero {
  background:
    radial-gradient(780px 420px at 50% -5%, rgba(249,115,22,.18), transparent 58%),
    radial-gradient(520px 320px at 12% 80%, rgba(249,115,22,.06), transparent 55%),
    radial-gradient(480px 280px at 90% 60%, rgba(56,189,248,.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f2f4f8 55%, var(--bg) 100%) !important;
  color: var(--text) !important;
}
html[data-theme="dark"] .home-hero {
  background:
    radial-gradient(780px 420px at 50% -5%, rgba(249,115,22,.28), transparent 58%),
    radial-gradient(520px 320px at 12% 80%, rgba(249,115,22,.08), transparent 55%),
    radial-gradient(480px 280px at 90% 60%, rgba(56,189,248,.05), transparent 50%),
    linear-gradient(180deg, #121821 0%, #0B0E14 70%, #0B0E14 100%) !important;
  color: var(--text) !important;
}
html[data-theme="light"] .home-wordmark,
html[data-theme="light"] .home-hero h1.home-wordmark {
  color: #0f172a !important;
}
html[data-theme="dark"] .home-wordmark,
html[data-theme="dark"] .home-hero h1.home-wordmark {
  color: #f8fafc !important;
}
html[data-theme="light"] .home-hero .lead,
html[data-theme="light"] .home-hero-secondary { color: #475569 !important; }
html[data-theme="dark"] .home-hero .lead,
html[data-theme="dark"] .home-hero-secondary { color: #94a3b8 !important; }
html[data-theme="light"] .passport-hero:not(.passport-hero--custom) {
  background: linear-gradient(155deg, #ffffff 0%, #f2f4f8 55%, #e8edf5 100%) !important;
  color: var(--text) !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.08);
}
html[data-theme="dark"] .passport-hero:not(.passport-hero--custom) {
  background: linear-gradient(155deg, rgba(26, 34, 46, .96) 0%, rgba(11, 14, 20, .98) 55%, #0b0e14 100%) !important;
  color: var(--text) !important;
}

/* —— Meilleures fiches du mois (premium showcase) —— */
.seo-premium-head { margin-bottom: .85rem; }
.seo-premium-head p { margin: .35rem 0 0; max-width: 40rem; }
.seo-premium-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.seo-premium-card {
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.seo-premium-card:hover {
  border-color: rgba(249,115,22,.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.seo-premium-card--gold {
  border-color: rgba(249,115,22,.5);
  box-shadow: 0 0 0 1px rgba(249,115,22,.2), 0 10px 30px rgba(249,115,22,.12);
}
.seo-premium-card--featured {
  border-color: rgba(251,191,36,.55);
}
.seo-premium-banner {
  position: relative; display: block; aspect-ratio: 16 / 6;
  background: #0b0e14 center/cover no-repeat;
  background-image: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)), var(--seo-banner);
  overflow: hidden;
}
.seo-premium-banner > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .92;
}
.seo-premium-rank {
  position: absolute; top: .55rem; left: .55rem; z-index: 2;
  font-weight: 800; font-size: .8rem; letter-spacing: .04em;
  padding: .28rem .55rem; border-radius: 8px;
  background: rgba(0,0,0,.72); color: #fdba74;
  border: 1px solid rgba(249,115,22,.45);
}
.seo-premium-badge {
  position: absolute; top: .55rem; right: .55rem; z-index: 2;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  padding: .28rem .5rem; border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1c1917;
}
.seo-premium-live {
  position: absolute; left: .55rem; bottom: .55rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700;
  padding: .3rem .55rem; border-radius: 999px;
  background: rgba(0,0,0,.78); color: #ecfdf5;
  border: 1px solid rgba(52,211,153,.45);
}
.seo-premium-live--off {
  color: #cbd5e1; border-color: rgba(148,163,184,.35); font-weight: 600;
}
.seo-premium-live-dot {
  width: .45rem; height: .45rem; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25);
  animation: seo-live-pulse 1.6s ease-in-out infinite;
}
.seo-premium-live-max { opacity: .7; font-weight: 600; }
.seo-premium-live-label { opacity: .85; font-weight: 600; }
@keyframes seo-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}
.seo-premium-body {
  display: grid; gap: .4rem; padding: .75rem .85rem .9rem;
}
.seo-premium-game {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .75rem; color: var(--muted); font-weight: 600;
}
.seo-premium-game img {
  width: 28px; height: 28px; border-radius: 7px; object-fit: cover;
  border: 1px solid var(--line);
}
.seo-premium-name {
  font-family: var(--display); font-size: 1.05rem; line-height: 1.25;
}
.seo-premium-stats {
  display: flex; flex-wrap: wrap; gap: .55rem .9rem;
  font-size: .8rem; color: var(--muted);
}
.seo-premium-stats b { color: var(--text); font-weight: 800; }

.seo-game-grid--covers a {
  grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  align-items: center; column-gap: .65rem; row-gap: .15rem;
}
.seo-game-cover {
  grid-row: 1 / span 2;
  width: 52px; height: 52px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #0b0e14;
}
.seo-game-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.seo-game-grid--covers a strong { grid-column: 2; }
.seo-game-grid--covers a .muted { grid-column: 2; }

.home-spot-card--server {
  flex-wrap: wrap;
  align-items: center;
  row-gap: .55rem;
}
.home-spot-card--banner-only {
  display: block;
  padding: 0;
  overflow: hidden;
}
.home-spot-card--banner-only .home-spot-banner {
  flex: none;
  width: 100%;
  height: 88px;
  border: none;
  border-radius: 0;
  order: 0;
}
.home-spot-card--banner-only:hover {
  border-color: rgba(249,115,22,.55);
  transform: translateY(-2px);
}
.home-spot-banner {
  flex: 1 0 100%;
  display: block; height: 52px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); order: -1;
}
.home-spot-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-spot-live {
  display: inline-flex; align-items: center; gap: .3rem;
  margin-top: .2rem; font-size: .72rem; font-weight: 700; color: #34d399;
}
.home-spot-live-dot {
  width: .4rem; height: .4rem; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.2);
}
.home-spot-card--featured { border-color: rgba(251,191,36,.45); }
html[data-theme="light"] .seo-premium-banner > img { opacity: 1; }
html[data-theme="light"] .seo-premium-rank {
  background: rgba(255,255,255,.92); color: #c2410c;
}

/* —— Admin fields (contraste lisible, plus de gris mort) —— */
.admin-panel .admin-field,
.admin-panel input[type="search"],
.admin-panel input[type="text"],
.admin-panel input[type="number"],
.admin-panel input[type="email"],
.admin-panel input[type="url"],
.admin-panel input[type="datetime-local"],
.admin-panel input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.admin-panel select,
.admin-panel textarea {
  background: var(--surface-2) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  padding: .55rem .75rem !important;
  font: inherit;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--text);
  color-scheme: dark;
}
html[data-theme="light"] .admin-panel .admin-field,
html[data-theme="light"] .admin-panel input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html[data-theme="light"] .admin-panel select,
html[data-theme="light"] .admin-panel textarea {
  background: #fff !important;
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a;
  border-color: #cbd5e1 !important;
  color-scheme: light;
}
.admin-panel .admin-field::placeholder,
.admin-panel input::placeholder {
  color: var(--muted) !important;
  opacity: .85 !important;
  -webkit-text-fill-color: var(--muted);
}
.admin-panel .admin-field:focus,
.admin-panel input:focus,
.admin-panel select:focus,
.admin-panel textarea:focus {
  outline: none !important;
  border-color: rgba(249,115,22,.65) !important;
  box-shadow: 0 0 0 3px rgba(249,115,22,.18);
}
.admin-filters .admin-field { min-width: min(100%, 22rem); flex: 1; }
.admin-field--pick { min-width: 11rem; width: 12.5rem; }
.admin-user-pick {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}
.admin-suggest {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 4px);
  z-index: 40;
  margin: 0; padding: .35rem;
  list-style: none;
  max-height: 14rem; overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.admin-suggest li {
  margin: 0;
}
.admin-suggest button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  padding: .5rem .55rem;
  border-radius: 8px;
  cursor: pointer;
}
.admin-suggest button:hover,
.admin-suggest button.is-active {
  background: rgba(249,115,22,.14);
}
.admin-suggest .muted { font-size: .78rem; }
.admin-inline-form select.admin-field { max-width: 8rem; }
