@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);
  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(--accent); text-decoration: none; transition: color var(--motion); }
a:hover { color: #7dd3fc; }
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: rgba(10, 12, 16, .96);
  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: 1rem;
  row-gap: .65rem;
  padding: .7rem 1.35rem .65rem;
  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: .86rem;
  padding: .42rem .9rem;
  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: .45rem .55rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}
.vs-topsearch {
  display: none;
  align-items: center;
  gap: .45rem;
  flex: 0 1 12.5rem;
  width: 12.5rem;
  min-width: 0;
  max-width: 12.5rem;
  padding: .42rem .7rem .42rem .65rem;
  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: .82rem;
}
.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: .52rem 1.05rem;
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  border-radius: 10px;
  margin-left: .15rem;
  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);
}
.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: 1100px) {
  .vs-topsearch { display: inline-flex; }
  .topbar-actions > .icon-btn.vs-topsearch-icon { display: none; }
}
@media (min-width: 1100px) and (max-width: 1320px) {
  .vs-topsearch-kbd { display: none; }
  .vs-topsearch { flex-basis: 10.5rem; width: 10.5rem; max-width: 10.5rem; }
  .lang-name { display: none; }
  .vs-topnav a { padding: .4rem .72rem; font-size: .82rem; }
}

.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: .55rem .75rem;
}
@media (max-width: 860px) {
  .games-rail { grid-template-columns: 1fr; }
}
.game-rail-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: .85rem;
  align-items: center;
  padding: .55rem .75rem .55rem .55rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--motion), background var(--motion), transform var(--motion);
}
.game-rail-item:nth-child(odd) {
  background: #121821;
}
.game-rail-item:nth-child(even) {
  background: #0e131b;
}
.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: 96px; height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  flex-shrink: 0;
}
.game-rail-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.game-rail-copy {
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; min-width: 0;
}
.game-rail-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.game-rail-meta {
  font-size: .8rem;
  color: var(--muted);
}
.game-rail-chev {
  color: var(--cta);
  font-size: 1.35rem;
  font-weight: 700;
  padding-right: .15rem;
}

.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: #0b0e14;
  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: #12161e; color: var(--text); cursor: pointer;
}
.back-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; 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; box-shadow: var(--shadow); z-index: 30;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.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: .7rem .8rem; border-radius: 10px; border: 1px solid var(--line);
  background: #0f131a; color: var(--text); font: inherit;
}
.form .hint { font-size: .8rem; color: #64748b; }
.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: #151a24;
  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-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: #0f131a; 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: #161b24;
  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: #12161e;
}
.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: #07090c; 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 .65rem; color: var(--text); font-size: .95rem; font-weight: 600;
  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: 320px; width: 100%; border: 1px solid rgba(249,115,22,.28); border-radius: 10px;
  overflow: hidden; background: #0f131a;
}
.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: #0f131a; 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-social { display: flex; gap: .55rem; flex-wrap: wrap; }
.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 rgba(42,51,68,.55); background: #06080c;
  padding: .75rem 1.5rem; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .65rem 1.5rem;
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; }
.footer-legal a { color: var(--muted); font-size: .82rem; }
.footer-legal a:hover { color: var(--cta); text-decoration: none; }
.footer-copy { margin: 0 0 0 auto; font-size: .78rem; color: #64748b; }
@media (max-width: 1100px) {
  .vs-topbar-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo actions"
      "nav nav";
    gap: .65rem .85rem;
  }
  .logo-lockup { grid-area: logo; }
  .vs-topnav { grid-area: nav; justify-self: stretch; overflow-x: auto; max-width: 100%; }
  .topbar-actions { grid-area: actions; }
}
@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 .7rem; font-size: .8rem; }
  .topbar-cta { padding: .45rem .75rem; font-size: .78rem; }
  .lang-name { 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 */
.vs-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 420px;
  width: calc(100% - 2rem);
}
.vs-modal::backdrop { background: rgba(0,0,0,.65); }
.vs-modal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.vs-modal-card h2 { font-family: var(--display); margin: 0 0 .75rem; }
.vs-modal-card p { color: var(--muted); line-height: 1.45; }
.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%; }
.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); }
.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: #0a0c10; 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,.05), transparent 160px),
    #0a0c10;
}
.vs-footer-main {
  width: 100%;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: minmax(14rem, 0.95fr) minmax(0, 1.8fr);
  gap: 2.25rem 2.5rem;
  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: .15rem;
}
.vs-footer-link-group .footer-list a {
  font-size: .88rem;
  line-height: 1.55;
}
.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 rgba(42,51,68,.55);
  border-bottom: 1px solid rgba(42,51,68,.55);
  background: rgba(249,115,22,.04);
}
.vs-footer-news-inner {
  width: 100%;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.75rem;
  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.15rem auto 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(249,115,22,.28);
  border-radius: 12px;
  background: rgba(249,115,22,.06);
  box-sizing: border-box;
}
.social-btn {
  width: 2.65rem; height: 2.65rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.28);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  color: #e8eef7;
  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 v16n (clean density, not TS marketplace) —— */
.game-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: .15rem 0 2rem;
}
.game-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  padding: .15rem 0 .85rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: .85rem;
}
.game-head-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.game-head-copy {
  flex: 1 1 12rem;
  min-width: 0;
}
.game-head-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  letter-spacing: -.02em;
  line-height: 1.15;
}
.game-head-meta {
  margin: .2rem 0 0;
  color: var(--muted);
  font-size: .85rem;
}
.game-head-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}
.game-head-cta .btn {
  border-radius: 8px;
  padding: .45rem .9rem;
  font-size: .88rem;
}

.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);
}

/* Dropped TS chrome — keep inert so old caches don't break */
.gh-hero, .gh-stats, .gh-feed, .gh-seo, .game-hero { 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; }
  .game-head-cta { margin-left: 0; width: 100%; }
}

/* —— Formulaire serveur (propre, centré) —— */
.sf-wrap {
  max-width: 640px;
  margin: 0 auto 2rem;
}
.sf-head {
  text-align: center;
  margin: 0 0 1.5rem;
}
.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-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.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 select,
.sf-form textarea {
  width: 100%;
  background: #0b0e14;
  color: var(--text);
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 10px;
  padding: .7rem .85rem;
  font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.sf-form input:focus,
.sf-form select:focus,
.sf-form textarea:focus {
  outline: none;
  border-color: rgba(249,115,22,.65);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.sf-form textarea { resize: vertical; min-height: 6rem; 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-form { padding: 1.1rem 1rem; }
}
.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: #0b0e14;
  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: .35rem;
}
.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; }
.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: #0b0e14; 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: #0b0e14; 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: #0b0e14;
}
.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-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: flex; justify-content: space-between; gap: 1rem;
  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; }

/* —— 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;
}
.lang-btn:hover { border-color: var(--cta); }
.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 { max-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.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: #12171f; 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-name { display: none; }
}

/* ===== Fiche serveur (style listing premium) ===== */
.srv-hero {
  position: relative;
  width: 100vw;
  margin: -1.5rem 0 0 calc(50% - 50vw);
  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: #0b0e14;
}
.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: 20;
  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: #0b0e14;
}
.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: #12161e; }
.srv-kpi-top {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.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: #0f131a; 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;
}
@media (max-width: 860px) {
  .srv-charts { grid-template-columns: 1fr; }
}
.srv-charts h3 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 600; }
.bars-chart { width: 100%; height: auto; max-height: 200px; }
.srv-chart-legend {
  display: flex; gap: 1rem; margin-top: .5rem; font-size: .82rem; color: var(--muted);
}
.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: .85rem;
  padding: .7rem .9rem;
  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);
}
.vote-banner-main {
  display: flex; align-items: center; gap: .75rem; 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: 80px; height: 80px; flex-shrink: 0;
}
.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: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; line-height: 1.1; padding: .35rem;
}
.vote-ring-label strong {
  font-family: var(--display); font-size: .95rem; font-weight: 700;
}
.vote-ring-label span {
  font-size: .55rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); margin-top: .1rem;
}

.vote-panel {
  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-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-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-field-steam { margin-top: .55rem; }
.vote-field-steam > span {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; font-weight: 600; color: var(--muted);
}
.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: 720px) {
  .vote-banner { flex-direction: column; align-items: stretch; padding: .65rem .75rem; }
  .vote-ring { margin: 0 auto; width: 72px; height: 72px; }
  .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: min(72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 3.25rem;
  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%);
  /* visible: live-search dropdown must paint over .home-spotlight */
  overflow: visible;
  text-align: center;
}
.home-hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 35%, rgba(249,115,22,.14), transparent 45%);
}
.home-hero-inner {
  position: relative; z-index: 1;
  max-width: 40rem; margin: 0 auto; width: 100%;
}
.home-hero-logo {
  width: 112px; height: 112px; border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: contain;
  box-shadow: 0 0 0 3px rgba(249,115,22,.45), 0 16px 40px rgba(0,0,0,.5);
  animation: home-logo-in .7s ease both;
}
.home-wordmark {
  margin: 0 0 .85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.05;
  max-width: none;
}
.home-hero h1.home-wordmark {
  font-size: clamp(1.85rem, 5vw, 2.65rem);
  color: #fff;
  font-weight: 700;
}
.home-hero .lead {
  color: var(--muted); font-size: 1.05rem; line-height: 1.55; max-width: 32rem;
  margin: 0 auto 1.35rem;
}
.home-hero-actions {
  display: flex; flex-wrap: wrap; gap: .85rem 1.25rem;
  justify-content: center; align-items: center; margin-bottom: 1.5rem;
}
.home-cta-primary { padding: .7rem 1.35rem; font-size: 1rem; }
.home-hero-secondary {
  color: var(--muted); font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid transparent;
}
.home-hero-secondary:hover {
  color: #fdba74; 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: rgba(18, 24, 33, .92);
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  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: #121821;
  border: 1px solid rgba(249,115,22,.3);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.55);
  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-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: #121821;
  padding: 1.75rem 0;
}
.home-spotlight-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem;
}
.home-spotlight-head {
  margin-bottom: 1rem;
}
.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-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}
@media (max-width: 960px) {
  .home-spotlight-rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .home-spotlight-rail { grid-template-columns: 1fr; }
}
.home-spot-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0B0E14;
  transition: border-color var(--motion), transform var(--motion), background var(--motion);
}
.home-spot-card:hover {
  border-color: rgba(249,115,22,.5);
  background: #141a24;
  text-decoration: none;
  transform: translateY(-2px);
}
.home-spot-rank {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--cta);
  min-width: 2rem;
}
.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: 1rem;
}
.home-spot-meta {
  font-size: .75rem;
  color: var(--muted);
}
.home-spot-chev {
  color: var(--cta);
  font-size: 1.1rem;
  opacity: .7;
}

.home-body { max-width: var(--max); margin: 0 auto; padding: 2rem 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; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
}
@media (max-width: 860px) { .panel-side { position: static; } }
.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-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: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.15rem 1.2rem; margin-bottom: 1rem;
}
.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;
}
.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; }
.account-menu-btn { gap: .45rem; padding: .35rem .7rem; }
.account-menu-drop {
  position: absolute; right: 0; top: calc(100% + .4rem); z-index: 90;
  min-width: 12rem; padding: .4rem;
  background: #12171f; 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: .65rem .75rem; margin: .35rem 0;
  border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  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: #0f131a;
}
.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; border-radius: 12px;
  border: 1px solid rgba(249,115,22,.35); background: rgba(249,115,22,.08);
}
.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: #0f131a; 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: #0b0e14;
}
.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: var(--surface);
}
.footer-heading {
  font-family: var(--display);
  letter-spacing: .02em;
}

/* —— Passeport joueur —— */
.passport-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}
.passport-hero {
  background:
    radial-gradient(520px 220px at 12% 0%, rgba(249, 115, 22, .18), transparent 60%),
    linear-gradient(160deg, #121821 0%, #0B0E14 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  margin-bottom: 1.25rem;
}
.passport-kicker {
  margin: 0 0 .75rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cta);
  font-weight: 600;
}
.passport-identity {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.passport-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(249, 115, 22, .45);
}
.passport-avatar.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;
}
.passport-avatar--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
}
.passport-pseudo {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: .02em;
}
.passport-display { margin: .35rem 0 0; }
.passport-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .passport-kpis { grid-template-columns: 1fr; }
}
.passport-kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-align: center;
}
.passport-kpi strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--cta);
}
.passport-kpi span {
  color: var(--muted);
  font-size: .88rem;
}
.passport-badges { margin-bottom: 1.25rem; }
.passport-badges h2,
.passport-card h2 {
  margin: 0 0 .85rem;
  font-family: var(--display);
  font-size: 1.15rem;
}
.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: .35rem .85rem;
  font-size: .86rem;
  font-weight: 600;
}
.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-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.passport-list li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.passport-list li:last-child { border-bottom: 0; }
.passport-list a { color: var(--text); font-weight: 500; }
.passport-list a:hover { color: var(--cta); }
.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-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; }
