/* Polices auto-hébergées (Fraunces, Nunito), sous-ensembles latin et latin étendu */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 800; font-display: swap; src: url(/polices/fraunces-latin-ext-013a968c.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 800; font-display: swap; src: url(/polices/fraunces-latin-6298a11a.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 900; font-display: swap; src: url(/polices/fraunces-latin-ext-013a968c.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 900; font-display: swap; src: url(/polices/fraunces-latin-6298a11a.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/nunito-latin-ext-d95b7307.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url(/polices/nunito-latin-dbc43460.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url(/polices/nunito-latin-ext-d95b7307.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url(/polices/nunito-latin-dbc43460.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/polices/nunito-latin-ext-d95b7307.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/polices/nunito-latin-dbc43460.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url(/polices/nunito-latin-ext-d95b7307.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap; src: url(/polices/nunito-latin-dbc43460.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* serveur-prive-dofus.fr, direction « Forêt et parchemin » */
:root {
  --forest: #143A2B;
  --forest-deep: #0B2219;
  --forest-mid: #1F4F39;
  --moss: #2F6B3F;
  --parchment: #F3E7CC;
  --paper: #FBF5E6;
  --sand: #E8D9B5;
  --line: #E2CFA5;
  --tag: #EFE2C4;
  --ink: #2A1E14;
  --ink-soft: #5A4630;
  --muted: #6B5A45;
  --gold: #F2B53C;
  --gold-dark: #A8650C;
  --link: #8A4E06;
  --mint: #C9D8C6;
  --mint-dim: #9FB8A5;
  --danger: #8C2F22;
  --ok: #1B5E3D;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--parchment); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img, svg { max-width: 100%; }
a { color: var(--link); }
a:hover { color: #5E3504; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; line-height: 1.1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.report { margin-top: 8px; font-size: 13px; }
.report summary { cursor: pointer; color: var(--muted); font-weight: 700; display: inline-block; }
.report summary:hover { color: var(--danger); }
.report-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.report-form select { min-height: 36px; border: 2px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Boutons, pastilles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 14px; font-family: var(--body); font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; line-height: 1.1; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-dark); }
.btn-gold:hover { background: #FFC650; color: var(--ink); }
.btn-gold:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--parchment); }
.btn-dark { background: var(--ink); color: var(--parchment); }
.btn-dark:hover { background: var(--forest); color: var(--parchment); }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 var(--forest-deep); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-small { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; }
.chip-sm { min-height: 0; padding: 3px 10px; font-size: 12px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--tag); color: var(--ink-soft); font-size: 13px; font-weight: 700; text-decoration: none; }
a.tag:hover { background: var(--sand); color: var(--ink); }
.tag.is-on { background: var(--ink); color: var(--parchment); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- En-tête ---------- */
.site-header { background: var(--forest); border-bottom: 4px solid var(--forest-deep); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-text { font-family: var(--display); font-weight: 900; font-size: 22px; color: var(--parchment); line-height: 1; }
.brand-text span { color: var(--gold); }
.nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--parchment); text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.header-actions { display: flex; gap: 14px; align-items: center; }
.header-actions .link { color: var(--parchment); font-weight: 700; text-decoration: none; }
.header-actions .link:hover { color: var(--gold); }
.header-actions form { margin: 0; }
.header-actions button.link { background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 0; }

/* ---------- Bannières (forêt + collines) ---------- */
.hero { background: var(--forest); position: relative; overflow: hidden; }
.hero .hills { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; display: block; }
.hero .spark { position: absolute; }
.hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 150px; }
.hero-text { flex: 1 1 520px; min-width: 0; }
.hero-surtitre { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(242, 181, 60, .14); color: var(--gold); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(40px, 6vw, 68px); line-height: .98; letter-spacing: -0.02em; color: var(--parchment); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lead { margin: 22px 0 30px; font-size: 19px; line-height: 1.55; color: var(--mint); max-width: 560px; }
.search { display: flex; gap: 10px; flex-wrap: wrap; background: var(--paper); padding: 8px; border-radius: 18px; box-shadow: 0 6px 0 var(--forest-deep); max-width: 600px; }
.search input { flex: 1 1 220px; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 14px; font-family: var(--body); font-size: 16px; color: var(--ink); outline: none; }
.search .btn { min-height: 48px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.podium-wrap { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.podium { display: flex; align-items: flex-end; gap: 18px; }
.podium-step { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 128px; text-decoration: none; }
.podium-name { margin: 0; text-align: center; color: var(--parchment); font-weight: 800; font-size: 15px; line-height: 1.2; }
.podium-step:hover .podium-name { color: var(--gold); }
.plinth { width: 100%; background: var(--forest-deep); border-radius: 14px 14px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-top: 4px solid; }
.plinth b { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--parchment); }
.plinth small { font-size: 12px; font-weight: 700; color: var(--mint-dim); text-transform: uppercase; letter-spacing: .08em; }

/* Bannière courte (pages intérieures) */
.hero-short .hero-inner { padding-top: 28px; padding-bottom: 110px; display: block; }
.hero-short .hills { height: 140px; }
.crumbs { font-size: 14px; color: var(--mint-dim); margin-bottom: 24px; }
.crumbs a { color: var(--mint); }
.crumbs span[aria-current] { color: var(--parchment); }

/* ---------- Mise en page principale ---------- */
.layout { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; padding-top: 24px; padding-bottom: 80px; }
.layout-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.layout-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.surtitre { margin: 0 0 12px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-dark); }

.card { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 5px 0 var(--line); }
.card h2 { margin: 0 0 16px; font-weight: 900; font-size: 28px; }
.side-card { background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 22px; }
.side-card h2 { margin: 0 0 14px; font-weight: 800; font-size: 22px; }
.side-card a { color: var(--ink); text-decoration: none; }
.side-card a:hover { color: var(--link); }
.side-dark { background: var(--forest); border-radius: 20px; padding: 26px; color: var(--parchment); position: relative; overflow: hidden; }
.side-dark h2 { margin: 0 0 10px; font-weight: 900; font-size: 26px; position: relative; }
.side-dark p { margin: 0 0 18px; color: var(--mint); position: relative; }
.side-dark .deco { position: absolute; right: -20px; bottom: -26px; opacity: .25; }

/* Filtres (tags / jeux / versions) */
.filter-group + .filter-group { margin-top: 20px; padding-top: 18px; border-top: 2px dashed var(--line); }
.filter-group h3 { margin: 0 0 10px; font-family: var(--body); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-list a { display: inline-flex; gap: 6px; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; background: var(--tag); color: var(--ink-soft); font-weight: 700; font-size: 14px; text-decoration: none; }
.filter-list a:hover { background: var(--sand); color: var(--ink); }
.filter-list a.is-on { background: var(--ink); color: var(--parchment); }
.filter-list small { color: var(--muted); font-weight: 600; }
.filter-list a.is-on small { color: var(--mint-dim); }

/* ---------- Lignes du classement ---------- */
.ranking { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 5px 0 var(--line); transition: transform .15s, box-shadow .15s; }
.row:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #D8C49A; }
.row .egg { flex: none; }
.logo { flex: none; width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--paper); border: 2px solid var(--ink); }
.logo-sm { width: 42px; height: 42px; border-radius: 12px; font-size: 16px; }
.logo-lg { width: 116px; height: 116px; border-radius: 28px; font-size: 44px; border: 4px solid var(--gold); box-shadow: 0 6px 0 var(--forest-deep); }
.row-body { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.row-meta { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.row h3 { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.2; overflow-wrap: anywhere; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--link); }
.row-desc { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.row-url { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.row-side { flex: none; display: flex; align-items: center; gap: 18px; margin-left: auto; align-self: center; }
.votes-count { text-align: right; }
.votes-count b { display: block; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; }
.votes-count small { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* Bannières 300 × 150 */
.banner { display: block; width: 300px; max-width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 14px; border: 2px solid var(--ink); background: var(--sand); object-fit: cover; }
.banner-link { flex: none; display: block; line-height: 0; }
.row.has-banner { display: grid; grid-template-columns: 44px 300px minmax(0, 1fr) auto; align-items: center; column-gap: 20px; padding: 16px 20px; }
.row.has-banner .row-body { gap: 6px; }
.row.has-banner .row-side { flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.row.has-banner .votes-count { text-align: center; }
.row h3 a, .row-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.banner-feat { width: 100%; }
.banner-head { flex: none; box-shadow: 0 6px 0 var(--forest-deep); border: 4px solid var(--gold); }

/* ---------- À la une (3 places) ---------- */
@keyframes spd-spin { to { transform: rotate(360deg); } }
@keyframes spd-sweep { 0% { transform: translateX(-120%) skewX(-20deg); } 55%, 100% { transform: translateX(420%) skewX(-20deg); } }
@keyframes spd-glow {
  0%, 100% { box-shadow: 0 0 0 3px #F2B53C, 0 0 26px 4px rgba(242, 181, 60, .45), 0 10px 0 var(--forest-deep); }
  50% { box-shadow: 0 0 0 3px #FFD978, 0 0 42px 10px rgba(242, 181, 60, .7), 0 10px 0 var(--forest-deep); }
}
@keyframes spd-proglow {
  0%, 100% { box-shadow: 0 0 0 2px #F2B53C, 0 0 18px 2px rgba(242, 181, 60, .35), 0 5px 0 var(--gold-dark); }
  50% { box-shadow: 0 0 0 2px #FFD978, 0 0 30px 6px rgba(242, 181, 60, .6), 0 5px 0 var(--gold-dark); }
}
.rays { position: absolute; left: 50%; top: 35%; width: 1600px; height: 1600px; margin-left: -800px; background: repeating-conic-gradient(from 0deg, rgba(242, 181, 60, .07) 0deg 8deg, transparent 8deg 22deg); animation: spd-spin 90s linear infinite; pointer-events: none; }
.hero.has-une .hero-inner { padding-bottom: 28px; }
.hero-center { justify-content: center; text-align: center; padding-top: 48px; }
.hero-center .hero-text { flex: 0 1 820px; display: flex; flex-direction: column; align-items: center; }
.hero-center .hero-lead { margin-left: auto; margin-right: auto; }
.hero-center .search { width: 100%; }
.hero-center .hero-chips { justify-content: center; }
.une-wrap { position: relative; padding-bottom: 150px; }
.une-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.une-head h2 { margin: 0; font-weight: 900; font-size: clamp(32px, 4vw, 44px); color: var(--parchment); }
.une-note { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--mint-dim); text-transform: uppercase; letter-spacing: .1em; }
.une-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.une { position: relative; overflow: hidden; border-radius: 26px; background: #1A4433; padding: 22px; display: flex; flex-direction: column; gap: 12px; animation: spd-glow 3s ease-in-out infinite; }
.une .shine, .row-pro .shine { position: absolute; top: 0; bottom: 0; left: 0; width: 26%; pointer-events: none; animation: spd-sweep 4.5s ease-in-out infinite; }
.une .shine { background: linear-gradient(90deg, transparent, rgba(255, 240, 190, .28), transparent); }
.une-visual { display: flex; justify-content: center; padding: 4px 0 2px; text-decoration: none; }
.banner-une { border: 3px solid var(--gold); box-shadow: 0 6px 0 var(--forest-deep); }
.une-noimg { width: 300px; max-width: 100%; aspect-ratio: 2 / 1; display: flex; align-items: center; justify-content: center; border-radius: 14px; border: 3px solid var(--gold); background: var(--moss); color: var(--parchment); font-family: var(--display); font-weight: 900; font-size: 28px; box-shadow: 0 6px 0 var(--forest-deep); }
.une-meta { margin: 4px 0 0; font-size: 13px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.une h3 { margin: 0; font-weight: 900; font-size: 23px; line-height: 1.12; color: #fff; }
.une h3 a { color: #fff; text-decoration: none; }
.une h3 a:hover { color: var(--gold); }
.une .tag { background: rgba(243, 231, 204, .14); color: var(--parchment); }
.une .tag:hover { background: rgba(243, 231, 204, .26); color: #fff; }
.une-desc { margin: 0; color: var(--mint); line-height: 1.5; font-size: 15px; flex: 1; }
.une-actions { display: flex; gap: 10px; margin-top: 6px; }
.une-actions .btn-gold { flex: 1; }
.btn-outline-light { background: transparent; color: var(--parchment); border: 2px solid var(--parchment); }
.btn-outline-light:hover { background: var(--parchment); color: var(--ink); }
.une-empty { background: rgba(11, 34, 25, .55); border: 3px dashed rgba(242, 181, 60, .7); animation: none; box-shadow: none; }
.une-slot { width: 300px; max-width: 100%; aspect-ratio: 2 / 1; border-radius: 14px; border: 2px dashed rgba(243, 231, 204, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--mint-dim); font-weight: 800; font-size: 14px; letter-spacing: .08em; }

/* ---------- Option Pro : la ligne brille ---------- */
.row-pro { position: relative; overflow: hidden; border-color: transparent; background: linear-gradient(100deg, #FFF6DA, var(--paper) 40%, #FFF1C9); animation: spd-proglow 2.6s ease-in-out infinite; }
.row-pro:hover { box-shadow: 0 0 0 2px #FFD978, 0 0 34px 8px rgba(242, 181, 60, .6), 0 8px 0 var(--gold-dark); }
.row-pro .shine { width: 20%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent); animation-duration: 3.2s; }
.row-pro > :not(.shine) { position: relative; }
.pro-badge { display: inline-block; background: var(--ink); color: var(--gold); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
@media (prefers-reduced-motion: reduce) {
  .une, .row-pro, .shine, .rays { animation: none !important; }
}

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.pagination .btn { min-width: 44px; padding: 0 14px; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }

/* ---------- Fiche serveur ---------- */
.server-head { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.server-head-text { flex: 1 1 420px; min-width: 0; }
.server-head h1 { margin: 0; font-weight: 900; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; letter-spacing: -0.02em; color: var(--parchment); overflow-wrap: anywhere; }
.server-head .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.server-head .by { margin: 12px 0 0; color: var(--mint-dim); }
.server-head .by a { color: var(--gold); font-weight: 700; }
.server-head .tags { margin-top: 14px; }
.server-head .tag { background: rgba(243, 231, 204, .14); color: var(--parchment); }
.server-head .tag:hover { background: rgba(243, 231, 204, .26); color: #fff; }
.server-links { display: flex; gap: 12px; flex-wrap: wrap; }
/* Appel à l'action au-dessus de la ligne de flottaison */
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.btn-play { min-height: 54px; padding: 0 26px; font-size: 18px; border-radius: 16px; }
.btn-play svg { flex: none; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.stat { background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 18px 20px; box-shadow: 0 5px 0 var(--line); }
.stat p { margin: 0; }
.stat .l { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stat .v { margin-top: 8px; font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; }

.prose { font-size: 17px; line-height: 1.7; color: #3D2E20; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose h3 { font-size: 22px; margin: 22px 0 10px; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }

.chart { display: flex; align-items: flex-end; gap: 5px; height: 200px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.chart .bar { flex: 1; min-height: 3px; background: var(--moss); border-radius: 6px 6px 2px 2px; position: relative; }
.chart .bar:hover, .chart .bar:focus-visible { background: var(--gold); outline: none; }
/* Bulle au survol (CSS seul) */
.chart .tip { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 5; white-space: nowrap; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); pointer-events: none; }
.chart .tip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
.chart .bar:hover .tip, .chart .bar:focus-visible .tip { display: block; }
.chart .bar:nth-child(-n+3) .tip { left: 0; transform: none; }
.chart .bar:nth-child(-n+3) .tip::after { left: 12px; margin-left: 0; }
.chart .bar:nth-last-child(-n+3) .tip { left: auto; right: 0; transform: none; }
.chart .bar:nth-last-child(-n+3) .tip::after { left: auto; right: 12px; margin-left: 0; }
.chart-axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 700; }

.reviews { display: flex; flex-direction: column; gap: 16px; }
.review { background: var(--parchment); border-radius: 18px; padding: 18px 20px; }
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.review-head b { color: var(--ink); font-size: 16px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.review-body { margin: 10px 0 0; line-height: 1.6; color: #3D2E20; white-space: pre-line; overflow-wrap: anywhere; }
.reply { margin-top: 14px; background: var(--paper); border-left: 4px solid var(--gold); border-radius: 4px 14px 14px 4px; padding: 14px 16px; }
.reply .review-body { margin-top: 6px; }
.reply-form { margin-top: 12px; }
.own-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-size: 13px; }
.own-actions summary { cursor: pointer; font-weight: 800; color: var(--link); }
.own-actions .own-delete summary { color: var(--danger); }
.own-actions details[open] { flex-basis: 100%; }
.reply-form summary { cursor: pointer; font-weight: 800; color: var(--link); }

.vote-box { background: var(--forest); border-radius: 24px; padding: 28px; color: var(--parchment); box-shadow: 0 6px 0 var(--forest-deep); position: relative; overflow: hidden; }
.vote-box h2 { margin: 0; font-weight: 900; font-size: 30px; line-height: 1.05; position: relative; }
.vote-box p { position: relative; }
.vote-box .lead { margin: 10px 0 20px; color: var(--mint); }
.vote-box label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; position: relative; }
.vote-box input { width: 100%; min-height: 48px; border-radius: 14px; border: 2px solid var(--moss); background: var(--forest-deep); color: var(--parchment); padding: 0 14px; font-family: var(--body); font-size: 16px; position: relative; }
.vote-box .btn { margin-top: 14px; min-height: 56px; font-size: 18px; position: relative; }
.vote-box .note { margin: 14px 0 0; font-size: 14px; color: var(--mint-dim); text-align: center; }
.vote-box .note strong { color: var(--gold); }
.vote-box .deco { position: absolute; right: -36px; top: -30px; opacity: .18; }

.join-card { background: var(--paper); border: 2px solid var(--gold); border-radius: 22px; padding: 22px; box-shadow: 0 5px 0 var(--gold-dark); scroll-margin-top: 20px; }
.join-card h2 { margin: 0 0 6px; font-weight: 900; font-size: 22px; overflow-wrap: anywhere; }
.join-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15px; }
.join-card.just-voted { animation: spd-proglow 2.6s ease-in-out 3; }
.join-links { display: flex; flex-direction: column; gap: 10px; }
.join-btn { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px; border-radius: 16px; text-decoration: none; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); transition: transform .1s; }
.join-btn:hover { transform: translateY(-2px); }
.join-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.join-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.join-btn b { font-size: 17px; }
.join-btn small { font-size: 13px; font-weight: 700; opacity: .8; }
.join-site { background: var(--forest); color: var(--parchment); }
.join-site:hover { color: #fff; }
.join-discord { background: #8E80E6; color: #1C1440; }
.join-discord:hover { color: #000; }
@media (prefers-reduced-motion: reduce) { .join-card.just-voted { animation: none; } }
.infos { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; font-size: 15px; align-items: start; }
.infos dt { color: var(--muted); font-weight: 700; }
.infos dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mini-list li { display: flex; align-items: center; gap: 12px; }
.mini-list p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.mini-list a { font-weight: 800; }

/* ---------- Page jeu (version) ---------- */
.game-hero { position: relative; overflow: hidden; background: #1A1A1A; border-bottom: 4px solid var(--ink); }
.game-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero-inner { position: relative; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; min-height: 440px; padding-top: 64px; padding-bottom: 64px; }
.game-hero-text { flex: 1 1 520px; min-width: 0; color: #F6EAD0; }
.game-hero .crumbs, .game-hero .crumbs a { color: rgba(246, 234, 208, .8); font-weight: 700; }
.game-hero .crumbs span[aria-current] { color: #fff; }
.game-hero h1 { margin: 0; font-weight: 900; font-size: clamp(44px, 6vw, 72px); line-height: .95; letter-spacing: -0.025em; color: #F6EAD0; text-shadow: 0 3px 18px rgba(0, 0, 0, .45); }
.game-hero .lead { margin: 20px 0 0; font-size: 18px; line-height: 1.6; max-width: 560px; color: #EDE2CC; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.facts { flex: 1 1 320px; max-width: 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-left: auto; }
.fact { background: rgba(10, 16, 14, .55); border: 1px solid rgba(255, 255, 255, .22); border-radius: 18px; padding: 16px 18px; color: #F6EAD0; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fact b { display: block; font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; }
.fact span { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: rgba(246, 234, 208, .82); }
.game-tabs { background: var(--ink); }
.game-tabs .wrap { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.game-tabs a { min-height: 40px; background: transparent; color: var(--parchment); }
.game-tabs a[aria-current="page"] { background: var(--gold); color: var(--ink); }


.seo h2 { margin: 30px 0 12px; font-weight: 900; font-size: 26px; color: var(--ink); }
.seo h2:first-child { margin-top: 0; }
.faq-title { margin: 0 0 18px; font-weight: 900; font-size: clamp(28px, 3.4vw, 36px); }
.faq { max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; min-height: 60px; display: flex; align-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; padding-left: 16px; font-size: 26px; color: var(--gold-dark); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 20px; line-height: 1.7; color: #3D2E20; }

/* ---------- Formulaires ---------- */
.form-page { padding-top: 40px; padding-bottom: 80px; }
.form-card { max-width: 560px; margin: 0 auto; }
.form-card.wide { max-width: 860px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 800; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 10px 14px; font-family: var(--body); font-size: 16px; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--moss); outline: none; box-shadow: 0 0 0 3px rgba(47, 107, 63, .2); }
.field fieldset { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--tag); font-weight: 700; font-size: 14px; cursor: pointer; }
.checks input { width: 18px; height: 18px; min-height: 0; accent-color: var(--moss); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.flash { border-radius: 14px; padding: 14px 18px; font-weight: 700; margin-bottom: 20px; }
.flash-ok { background: #D5EEDD; color: var(--ok); }
.flash-err { background: #F6D5CF; color: var(--danger); }
.flash-info { background: #FBE3B5; color: #6E3F05; }

/* Tableau de bord propriétaire */
.dash .stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.v-unit { font-size: 18px; color: var(--muted); margin-left: 2px; }
.stat .s { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.trend.up { color: var(--ok); }
.trend.down { color: var(--danger); }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.dash-grid .card h2 { margin-bottom: 14px; }
.chart-sm { height: 120px; gap: 3px; }
.chart-stack .bar { background: transparent; display: flex; flex-direction: column; }
.chart-stack .bar:hover, .chart-stack .bar:focus-visible { background: transparent; box-shadow: 0 0 0 2px var(--gold); border-radius: 6px 6px 2px 2px; }
.chart-stack .seg { display: block; flex-basis: 0; min-height: 0; }
.chart-stack .seg:first-child { border-radius: 6px 6px 0 0; }
.chart-stack .seg:last-child { border-radius: 0 0 2px 2px; }
.chart-stack .seg:only-child, .chart-stack .seg-discord[style*="flex-grow: 0"] + .seg-site { border-radius: 6px 6px 2px 2px; }
.seg-site, .dot-site { background: #2E6F8E; }
.seg-discord, .dot-discord { background: #8E80E6; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.legend { display: flex; gap: 18px; margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.split-site { box-shadow: inset 4px 0 0 #2E6F8E; }
.split-discord { box-shadow: inset 4px 0 0 #8E80E6; }
.chart-axis.months { gap: 3px; }
.chart-axis.months span { flex: 1; text-align: center; font-size: 11px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.split div { background: var(--parchment); border-radius: 14px; padding: 12px 14px; }
.split b { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; }
.split span { font-size: 13px; font-weight: 700; color: var(--muted); }
.voters { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.voters li { display: flex; align-items: center; gap: 10px; }
.voters .pos { width: 26px; height: 26px; border-radius: 50%; background: var(--tag); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: none; }
.voters li:first-child .pos { background: var(--gold); }
.voters .who { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.recent li { display: flex; flex-direction: column; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.recent li:last-child { border-bottom: 0; padding-bottom: 0; }
.recent small { color: var(--muted); }
.copy code { display: block; padding: 10px 12px; user-select: all; }

/* Espace compte : cartes des serveurs */
.owned { display: flex; flex-direction: column; gap: 20px; }
.owned-card { background: var(--paper); border: 2px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 5px 0 var(--line); display: flex; flex-direction: column; gap: 16px; }
.owned-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.owned-head h3 { margin: 0; font-weight: 900; font-size: 26px; }
.owned-head h3 a { color: var(--ink); text-decoration: none; }
.owned-head p { margin: 6px 0 0; color: var(--muted); font-weight: 700; font-size: 14px; }
.owned-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.owned-stats div { background: var(--parchment); border-radius: 14px; padding: 12px 14px; }
.owned-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; }
.owned-stats span { font-size: 13px; font-weight: 700; color: var(--muted); }
.owned-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Page d'achat */
.offers-old { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.offer { margin: 0; display: flex; flex-direction: column; }
.offer-une { border-color: var(--gold); box-shadow: 0 5px 0 var(--gold-dark); }
.buy { display: flex; flex-direction: column; margin-top: auto; }
.buy fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.options { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 700; }
.option input { width: 18px; height: 18px; min-height: 0; accent-color: var(--moss); }
.option .o-label { flex: 1; }
.option .o-price { font-family: var(--display); font-weight: 900; font-size: 20px; }
.option:has(input:checked) { border-color: var(--moss); background: #EEF6EE; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin: 0 0 16px; cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--moss); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.pay-note { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.mini-title { margin: 18px 0 10px; font-family: var(--body); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Calendrier des places À la une (un mois à la fois) */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; scroll-margin-top: 20px; }
.cal-title { margin: 0; font-weight: 900; font-size: 24px; text-transform: capitalize; }
.cal-nav { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 26px; font-weight: 800; text-decoration: none; line-height: 1; }
.cal-nav:hover { background: var(--ink); color: var(--parchment); }
.cal-nav.disabled { opacity: .25; }
.cal-box { overflow-x: auto; border: 2px solid var(--line); border-radius: 16px; background: #fff; padding: 12px 14px 14px; }
.cal { min-width: 720px; display: flex; flex-direction: column; gap: 4px; }
.cal-row { display: grid; grid-template-columns: 92px repeat(var(--days), minmax(0, 1fr)); gap: 3px; align-items: stretch; }
.cal-name { font-size: 13px; font-weight: 800; align-self: center; white-space: nowrap; }
.cal-num { text-align: center; font-size: 12px; font-weight: 800; color: var(--ink-soft); line-height: 1.1; padding-bottom: 2px; }
.cal-num small { display: block; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.cal-num.we { color: var(--gold-dark); }
.cal-day { position: relative; display: block; height: 34px; border-radius: 6px; background: #CDEEDC; }
a.cal-day.free { cursor: pointer; }
a.cal-day.free:hover, a.cal-day.free:focus-visible { background: #7ED3A6; outline: 2px solid var(--ink); z-index: 2; }
.cal-day.taken { background: repeating-linear-gradient(135deg, #D8C49A 0 3px, #E8D9B5 3px 6px); }
.cal-day.mine { background: var(--gold); }
.cal-day.past, .cal-day.out { background: #F1ECE0; }
.cal-day.sel { background: var(--moss); outline: 2px solid var(--ink); }
.cal-day:hover:not(a), .cal-day:focus-visible:not(a) { outline: 2px solid var(--ink); z-index: 2; }
.cal-day .tip { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 5; white-space: nowrap; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; padding: 5px 9px; border-radius: 8px; pointer-events: none; }
.cal-day:hover .tip, .cal-day:focus-visible .tip { display: block; }
.cal-row .cal-day:nth-child(-n+5) .tip { left: 0; transform: none; }
.cal-row .cal-day:nth-last-child(-n+5) .tip { left: auto; right: 0; transform: none; }
#reserver { scroll-margin-top: 20px; }
.cal-help { margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
.cal-day.sel { background: var(--moss); }
.cal-day.sel.edge { background: #1F4F39; outline: 2px solid var(--ink); }
.cal-day.sel-bad { outline: 2px solid var(--danger); }
.dot-sel { background: var(--moss); }
.booking-step { margin-top: 26px; padding-top: 22px; border-top: 2px dashed var(--line); }
.quote { margin-top: 18px; background: var(--parchment); border: 2px solid var(--gold); border-radius: 18px; padding: 20px 22px; }
.quote-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; font-size: 16px; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 6px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 800; }
.quote-total b { font-family: var(--display); font-weight: 900; font-size: 34px; }
.seg-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.seg-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #EEF6EE; border: 2px solid var(--moss); border-radius: 12px; padding: 10px 14px; }
.seg-list a { font-weight: 800; font-size: 14px; }
.add-seg { margin-bottom: 6px; }
.add-seg summary { cursor: pointer; font-weight: 800; color: var(--link); margin-bottom: 12px; }
.quote-detail { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.quote-detail li { display: flex; justify-content: space-between; gap: 12px; }
.quote-note { margin: 0 0 14px; font-size: 13px; color: var(--ok); font-weight: 700; }
.quote form { margin-top: 16px; }
.dot-free { background: #CDEEDC; border: 1px solid #9FD3B4; }
.dot-taken { background: repeating-linear-gradient(135deg, #D8C49A 0 3px, #E8D9B5 3px 6px); }
.dot-mine { background: var(--gold); }
table.data.price-table { min-width: 560px; table-layout: fixed; font-variant-numeric: tabular-nums; }
table.data.price-table th, table.data.price-table td { text-align: right; padding: 12px 18px; white-space: nowrap; }
table.data.price-table thead th:first-child, table.data.price-table tbody th { width: 120px; text-align: left; }
/* Les noms de places ont le même style et les mêmes bordures que les cellules de prix */
table.data.price-table tbody th { font-size: 15px; font-weight: 800; color: var(--ink); text-transform: none; letter-spacing: 0; border-bottom: 0; border-top: 1px solid var(--line); }
table.data.price-table tbody tr:first-child th, table.data.price-table tbody tr:first-child td { border-top: 0; }
table.data.price-table tbody tr:nth-child(odd) { background: rgba(232, 217, 181, .25); }
.slots .option small, .option .o-price small { display: block; font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--muted); }
.slots .o-label { display: flex; flex-direction: column; }
.offer-une .buy, .offer-pro .buy { margin-top: 0; }
.booking-line { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.booking-add select { min-height: 36px; border: 2px solid var(--line); border-radius: 10px; font: inherit; padding: 0 6px; }
.booking-add input[type="date"] { min-height: 36px; border: 2px solid var(--line); border-radius: 10px; font: inherit; padding: 0 6px; }

.verify-box { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #FBE3B5; border: 2px solid var(--gold); border-radius: 16px; padding: 16px 20px; }
.danger-card summary { cursor: pointer; font-weight: 800; color: var(--danger); }

/* Logo image, galerie de captures (agrandissement en CSS pur) */
.logo-img { object-fit: cover; background: var(--paper); padding: 0; }
/* Carrousel de captures : 3 visibles, pages commandées par des boutons radio (CSS seul) */
.carousel { position: relative; }
.car-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.car-view { overflow: hidden; border-radius: 12px; }
.car-track { display: flex; gap: 12px; transition: transform .35s ease; }
.car-track .shot { flex: 0 0 calc((100% - 24px) / 3); }
.car-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.car-ctl { display: none; align-items: center; gap: 12px; }
.car-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); font-size: 26px; font-weight: 800; cursor: pointer; user-select: none; line-height: 1; }
.car-arrow:hover { background: var(--ink); color: var(--parchment); }
.car-arrow.off { opacity: .25; cursor: default; }
.car-arrow.off:hover { background: var(--paper); color: var(--ink); }
.car-count { font-weight: 800; font-size: 15px; min-width: 48px; text-align: center; border-radius: 8px; }
.car-dots { display: flex; gap: 8px; }
.car-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sand); border: 2px solid var(--ink); cursor: pointer; }
#car-0:checked ~ .car-view .car-track { transform: translateX(calc(-0 * (100% + 12px))); }
#car-0:checked ~ .car-nav .car-ctl-0 { display: flex; }
#car-0:checked ~ .car-nav .car-dot-0 { background: var(--ink); }
#car-0:focus-visible ~ .car-nav .car-ctl-0 .car-count { outline: 3px solid var(--gold); outline-offset: 2px; }
#car-1:checked ~ .car-view .car-track { transform: translateX(calc(-1 * (100% + 12px))); }
#car-1:checked ~ .car-nav .car-ctl-1 { display: flex; }
#car-1:checked ~ .car-nav .car-dot-1 { background: var(--ink); }
#car-1:focus-visible ~ .car-nav .car-ctl-1 .car-count { outline: 3px solid var(--gold); outline-offset: 2px; }
#car-2:checked ~ .car-view .car-track { transform: translateX(calc(-2 * (100% + 12px))); }
#car-2:checked ~ .car-nav .car-ctl-2 { display: flex; }
#car-2:checked ~ .car-nav .car-dot-2 { background: var(--ink); }
#car-2:focus-visible ~ .car-nav .car-ctl-2 .car-count { outline: 3px solid var(--gold); outline-offset: 2px; }
#car-3:checked ~ .car-view .car-track { transform: translateX(calc(-3 * (100% + 12px))); }
#car-3:checked ~ .car-nav .car-ctl-3 { display: flex; }
#car-3:checked ~ .car-nav .car-dot-3 { background: var(--ink); }
#car-3:focus-visible ~ .car-nav .car-ctl-3 .car-count { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .car-track { transition: none; } }
@media (max-width: 760px) {
  /* Sur mobile : on fait glisser du doigt, 1,3 capture visible */
  .car-view { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .car-track { transform: none !important; }
  .car-track .shot { flex-basis: 75%; scroll-snap-align: start; }
  .car-nav { display: none; }
}
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; max-height: 100%; }
.lightbox figcaption { color: var(--parchment); font-weight: 800; }
.lightbox figure img { max-height: calc(100vh - 120px); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; text-decoration: none; z-index: 2; }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.shot { display: block; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); aspect-ratio: 16 / 10; background: var(--sand); }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.04); }
.lightbox { display: none; position: fixed; inset: 0; z-index: 50; background: rgba(11, 34, 25, .92); align-items: center; justify-content: center; padding: 24px; }
.lightbox:target { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 30px; font-weight: 800; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.shots-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.shot-edit { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; cursor: pointer; }
.shot-edit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); }
.shot-edit span { display: flex; gap: 6px; align-items: center; }

.explore h2 { margin: 0 0 16px; font-size: 24px; }
.explore { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 28px; }
.explore h2 { grid-column: 1 / -1; }
.explore h3 { margin: 0 0 8px; font-family: var(--body); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.explore ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.explore a { font-weight: 700; }

/* Étoiles : affichage et sélecteur (CSS seul) */
.stars-show { display: inline-flex; gap: 1px; font-size: 18px; line-height: 1; vertical-align: -2px; }
.stars-sm { font-size: 14px; }
.st-full { color: #E9A23B; }
.st-empty { color: #D8C49A; }
.st-half { background: linear-gradient(90deg, #E9A23B 50%, #D8C49A 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars-input { border: 0; padding: 0; margin: 0 0 12px; }
.stars-input legend { font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.stars-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-pick label { font-size: 34px; line-height: 1; color: #D8C49A; cursor: pointer; padding: 2px; transition: transform .1s; }
.stars-pick label:hover { transform: scale(1.12); }
.stars-pick input:checked ~ label, .stars-pick label:hover, .stars-pick label:hover ~ label { color: #E9A23B; }
.stars-pick input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink); text-decoration: none; }
a.rating-line:hover { color: var(--link); text-decoration: underline; }
.stat-link { display: block; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.stat-link:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--line); border-color: var(--gold); color: var(--ink); }
.stat-go { color: var(--link); font-weight: 900; }
#xp, section[aria-labelledby="xp"] { scroll-margin-top: 16px; }

/* Tableaux (espace compte, admin) */
.table-box { overflow-x: auto; border: 2px solid var(--line); border-radius: 18px; background: var(--paper); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
table.data th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 16px; border-bottom: 2px solid var(--line); }
table.data td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
table.data form { display: inline; margin: 0; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #6E2419; color: #fff; }
.danger-zone { display: inline-block; vertical-align: middle; }
.danger-zone summary { cursor: pointer; font-weight: 800; color: var(--danger); font-size: 14px; padding: 0 6px; }
table.data form.timed { display: inline-flex; align-items: center; gap: 6px; }
table.data form.timed input { width: 64px; min-height: 36px; border: 2px solid var(--line); border-radius: 10px; padding: 0 8px; font: inherit; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.status-approved { background: #CDEEDC; color: var(--ok); }
.status-pending { background: #FBE3B5; color: #6E3F05; }
.status-rejected { background: #F6D5CF; color: var(--danger); }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; background: var(--tag); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
pre.code { display: block; padding: 14px 16px; overflow-x: auto; white-space: pre; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest-deep); color: var(--mint); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 48px; padding-bottom: 40px; }
.site-footer .brand-text { font-size: 24px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav p { margin: 0 0 4px; font-weight: 800; color: var(--parchment); }
.site-footer a { color: var(--mint); }
.site-footer a:hover { color: var(--gold); }
/* Barre du bas : droits à gauche, liens légaux à droite, mention Ankama dessous */
.footer-bottom { border-top: 1px solid var(--forest-mid); background: #091C14; padding: 18px 0 22px; font-size: 13px; color: var(--mint-dim); }
.footer-bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-copy { margin: 0; font-weight: 700; color: var(--parchment); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; }
.footer-legal li { display: flex; align-items: center; }
.footer-legal li + li::before { content: '·'; margin: 0 10px; color: var(--forest-mid); font-weight: 900; }
.site-footer .footer-legal a { color: var(--mint); text-decoration: none; }
.site-footer .footer-legal a:hover { color: var(--gold); text-decoration: underline; }
.footer-note { margin: 12px auto 0; font-size: 12px; opacity: .75; }
/* Pages courtes : la couleur du bas de page continue jusqu'au bas de l'écran (pas de bande claire dessous) */
.site-footer { box-shadow: 0 50vh 0 50vh #091C14; }
@media (max-width: 640px) {
  .footer-bottom-row { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 8px 18px; }
  .footer-legal li + li::before { display: none; }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .row.has-banner { grid-template-columns: 44px 220px minmax(0, 1fr) auto; }
}

@media (max-width: 760px) {
  .game-hero::before { content: ''; position: absolute; inset: 0; background: rgba(8, 12, 10, .45); }
  .game-hero-inner { min-height: 0; padding-top: 40px; padding-bottom: 40px; }
  .facts { margin-left: 0; max-width: none; }
  .wrap { padding: 0 16px; }
  .hide-sm { display: none !important; }
  .site-header .wrap { gap: 10px 16px; padding-top: 10px; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; padding-bottom: 6px; scrollbar-width: none; }
  .nav a { white-space: nowrap; }
  .hero-inner { padding-top: 40px; padding-bottom: 120px; gap: 32px; }
  .podium { gap: 10px; }
  .podium-step { width: 96px; }
  .row { padding: 16px; gap: 14px; }
  .btn-play { flex: 1 1 100%; }
  .server-head { gap: 16px; }
  .server-head .banner-head, .server-head .logo-lg { width: 200px; height: auto; }
  .server-head .logo-lg { width: 84px; height: 84px; font-size: 32px; }
  .server-head h1 { font-size: 28px; }
  .hero-cta { margin-top: 14px; }
  .row .logo { width: 52px; height: 52px; font-size: 20px; }
  .row-side { width: 100%; justify-content: space-between; margin-left: 0; }
  .banner-link, .banner-link .banner { width: 100%; }
  .row.has-banner { grid-template-columns: 44px minmax(0, 1fr); row-gap: 14px; column-gap: 14px; }
  .row.has-banner .banner-link { grid-column: 2; }
  .row.has-banner .row-body, .row.has-banner .row-side { grid-column: 1 / -1; }
  .row.has-banner .row-side { flex-direction: row; justify-content: space-between; }
  .row.has-banner .votes-count { text-align: left; }
  .votes-count { text-align: left; }
  .card { padding: 20px; }
}

/* Trailer vidéo (option Pro) */
.trailer-card { margin-bottom: 22px; }
.trailer-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0b2219; border: 2px solid var(--line, #E2CFA5); }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Champ réservé au Pro dans le formulaire */
.field-locked input { opacity: .55; cursor: not-allowed; }
.pro-only { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--gold, #F2B53C); color: #2A1E14; font-size: 11px; font-weight: 900; letter-spacing: .06em; vertical-align: middle; }

/* Bannière par défaut (serveurs sans bannière) : même fond pour tous, logo et nom du serveur par-dessus */
.banner-default { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; overflow: hidden;
  background: var(--forest) url('/banniere-defaut.svg') center / cover no-repeat; color: var(--parchment); text-decoration: none; line-height: 1.1; }
.banner-default .bd-logo { flex: none; width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--gold); object-fit: cover; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.banner-default .bd-name { font-family: var(--display); font-weight: 900; font-size: 26px; text-align: center; overflow-wrap: anywhere; text-shadow: 0 2px 0 var(--forest-deep), 0 0 14px rgba(0,0,0,.55); }
.banner-default .bd-logo + .bd-name { text-align: left; font-size: 22px; }
.banner-head.banner-default .bd-name { font-size: 28px; }

/* Encart site / Discord sous chaque serveur : le lien mène à la fiche, le lien complet se sélectionne d'un clic */
.banner-link, .banner-link:hover { text-decoration: none; }
.row-link { align-self: flex-start; display: inline-flex; align-items: stretch; max-width: 100%; border: 2px solid var(--line); border-radius: 10px; background: var(--parchment); overflow: hidden; font-size: 13px; font-weight: 700; }
.row-link-go { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; color: var(--ink); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-link-go:hover { background: #fff; text-decoration: underline; }
.row-link-copy { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 34px; padding: 5px 9px; border: 0; border-left: 2px solid var(--line); background: var(--sand); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.row-link-copy:hover { background: var(--gold); }
.row-link-copy[hidden] { display: none; }
.row-link-copy.is-ok, .row-link-copy.is-err { background: var(--moss); color: #fff; }
.row-link-copy.is-err { background: #A33; }
.row-link-copy.is-ok .ico-copier, .row-link-copy.is-err .ico-copier { display: none; }
.row-link-copy.is-ok::after { content: '✓'; font-weight: 900; }
.row-link-copy.is-err::after { content: '!'; font-weight: 900; }
/* Vérification anti-robot (Turnstile) dans l'encart de vote */
.vote-check { display: flex; justify-content: center; }
.vote-check:has(iframe) { margin: 4px 0 14px; }

/* Pastilles de jeu (couleurs propres à chaque jeu) */
.chip-retro { background: #FBE3B5; color: #6E3F05; }
.chip-dofus2 { background: #CFE6F0; color: #1D4E66; }
.chip-dofus3 { background: #E2D8F5; color: #4A3290; }
.chip-touch { background: #CDEEDC; color: #1B5E3D; }
.ico-copier { display: block; width: 15px; height: 15px; background: currentColor; -webkit-mask: url('/icones/copier.svg') center / 15px 15px no-repeat; mask: url('/icones/copier.svg') center / 15px 15px no-repeat; }
.egg text { text-anchor: middle; font-family: Fraunces, Georgia, serif; font-weight: 900; fill: #2A1E14; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Avis : 20 votes avec son compte avant de pouvoir publier */
.review-gate { margin: 0 0 22px; padding: 16px 18px; border: 2px dashed var(--line); border-radius: 14px; background: var(--parchment); }
.review-gate p { margin: 0 0 10px; }
.review-gate-bar { height: 12px; border-radius: 999px; background: var(--sand); overflow: hidden; border: 2px solid var(--line); }
.review-gate-bar span { display: block; height: 100%; background: var(--gold); }
.review-gate-count { margin: 10px 0 0 !important; font-weight: 700; font-size: 14px; }
.vote-login { margin: -6px 0 14px; font-size: 14px; color: var(--parchment); opacity: .9; }
.vote-login a { color: var(--gold); font-weight: 800; }
.admin-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
