/* Like City (@serveurvide) — site V9 (15/11). Encre bleu-pétrole chaude, Bungee (display d'enseigne) + Bricolage Grotesque.
   Tout est dimensionné sur la largeur ET la hauteur de la fenêtre : min(vw, vh) dans des clamp. */
:root {
  --ink: #ffffff;
  --ink-rgb: 255, 255, 255;
  --ink-2: #f3f3f0;
  --text: #121517;
  --muted: #5b6365;
  --faint: #8c9395;
  --line: rgba(17, 20, 22, .09);
  --line-2: rgba(17, 20, 22, .17);
  --accent: #ff4f1a;
  --pink: #FF3D7A;
  --orange: #FF8A3D;
  --teal: #3fe0c5;
  --grad: linear-gradient(92deg, #FFD23F 0%, #FF8A3D 48%, #FF3D7A 100%);
  --display: 'Bungee', 'Arial Black', Impact, sans-serif;
  --font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gut: clamp(16px, 5vw, 72px);
  --r: 3px;
  --bar: 60px;
  /* échelles fluides : bornées par la largeur et la hauteur */
  --fs-hero: clamp(30px, min(5.3vw, 9.4vh), 92px);
  --fs-h2: clamp(24px, min(3.3vw, 6vh), 54px);
  --fs-h3: clamp(20px, min(2.2vw, 4vh), 36px);
  --fs-big: clamp(56px, min(8vw, 13vh), 140px);
  --sp-sec: clamp(64px, 13vh, 150px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body {
  margin: 0; color: var(--text); font-family: var(--font); font-size: clamp(15px, min(1.2vw, 2.2vh), 17px); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--ink);
  /* un seul fond continu : encre bleu-pétrole qui se réchauffe vers le bas, sans rupture entre sections */
  background-image:
    radial-gradient(120% 60% at 50% 0%, #12262c 0%, transparent 70%),
    #ffffff;
}
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { width: min(var(--w), 100% - 2 * var(--gut)); margin-inline: auto; position: relative; }
.narrow { width: min(760px, 100% - 2 * var(--gut)); }
.heart { display: inline-block; width: .85em; height: .85em; vertical-align: -.08em; fill: currentColor; }

/* titres : Bungee, la signature du site */
h2 { font-family: var(--display); font-size: var(--fs-h2); line-height: 1.02; letter-spacing: .005em; text-wrap: balance; }
h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .02em .04em; margin: -.1em -.02em -.04em; }
h2 .wi { display: inline-block; will-change: transform; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.out { color: transparent; -webkit-text-stroke: 1.5px currentColor; }

/* halos : disques flous jamais coupés */
.halo { position: absolute; left: var(--x); top: var(--y); width: min(1100px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; z-index: -1; opacity: .9; }
.h-pink { background: radial-gradient(closest-side, rgba(255, 61, 122, .1), rgba(255, 61, 122, .03) 55%, transparent); }
.h-teal { background: radial-gradient(closest-side, rgba(63, 224, 197, .09), rgba(63, 224, 197, .025) 55%, transparent); }
.h-gold { background: radial-gradient(closest-side, rgba(255, 170, 60, .1), rgba(255, 170, 60, .03) 55%, transparent); }

/* ---------- barre du haut : toujours un fond, plus dense au défilement ---------- */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar); display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); padding: 0 var(--gut);
  background: linear-gradient(180deg, rgba(var(--ink-rgb), .72), rgba(var(--ink-rgb), .38)); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); transition: background .4s var(--ease), box-shadow .4s; }
.topbar.scrolled { background: rgba(var(--ink-rgb), .9); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(0, 0, 0, .7); }
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; white-space: nowrap; }
.logo-txt { font-family: var(--display); font-size: 21px; line-height: 1; letter-spacing: .01em; }
.logo-txt i { font-style: normal; margin-left: .1em; color: var(--accent); }
.logo-by { font-size: 12px; color: rgba(17, 20, 22, .6); }
.nav { display: flex; gap: clamp(16px, 2vw, 28px); margin-left: auto; }
.nav a { text-decoration: none; color: rgba(17, 20, 22, .78); font-size: 14px; font-weight: 500; transition: color .25s; }
.nav a:hover { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0; font-weight: 700; font-size: 15px; padding: clamp(11px, 1.8vh, 15px) clamp(18px, 2vw, 26px); border-radius: 2px; transition: transform .35s var(--ease), background .3s, box-shadow .35s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #17150c; box-shadow: 0 14px 40px -14px rgba(255, 210, 63, .55); }
.btn-primary:hover { transform: translateY(-2px); background: #ffdb5c; }
.btn-light { background: var(--text); color: #17150c; }
.btn-light:hover { background: var(--accent); }
.btn-ghost { background: rgba(17, 20, 22, .08); color: var(--text); }
.btn-ghost:hover { background: rgba(17, 20, 22, .15); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- accueil : tient en entier dans l'écran à toutes les tailles ---------- */
.hero { position: relative; height: 100svh; min-height: 440px; max-height: 1000px; display: flex; flex-direction: column; justify-content: flex-end; overflow: clip; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0,0,0,.55) 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, rgba(0,0,0,.55) 82%, transparent 100%); }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.on { opacity: 1; }
.slide picture, .slide img { width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: 60% 50%; }
.slide.on img { animation: kb var(--dur, 7s) linear both; }
@keyframes kb { from { transform: scale(1.0); } to { transform: scale(1.06) translateX(-1%); } }
/* voile : sombre à gauche (zone du texte) et en bas ; la scène reste visible à droite */
.hero-veil { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--ink-rgb), .9) 0%, rgba(var(--ink-rgb), .66) 30%, rgba(var(--ink-rgb), .12) 56%, rgba(var(--ink-rgb), 0) 70%),
    linear-gradient(0deg, rgba(var(--ink-rgb), .7) 0%, rgba(var(--ink-rgb), 0) 45%); }
.hero-inner { position: relative; z-index: 2; width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; padding: calc(var(--bar) + 2vh) 0 clamp(64px, 14vh, 150px); display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(20px, 3vw, 40px); }
.hero-text { max-width: min(680px, 62vw); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(12px, min(1vw, 2vh), 14px); font-weight: 600; letter-spacing: .02em; color: rgba(17, 20, 22, .88); margin-bottom: clamp(10px, 2vh, 18px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 61, 122, .7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(255, 61, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 122, 0); } }
.hero-title { font-family: var(--display); font-size: var(--fs-hero); line-height: 1.0; letter-spacing: .005em; text-shadow: 0 6px 40px rgba(6, 14, 17, .5); }
.ht-l { display: block; overflow: hidden; padding: .08em 0 .02em; margin-top: -.08em; }
.ht-l > span { display: block; animation: monte 1.1s var(--ease) both; }
.ht-l:nth-child(2) > span { animation-delay: .12s; }
.hero-title em { text-shadow: none; }
@keyframes monte { from { transform: translateY(105%); } to { transform: none; } }
.hero-lead { margin-top: clamp(10px, 2.2vh, 20px); max-width: 36em; font-size: clamp(15px, min(1.3vw, 2.5vh), 18px); line-height: 1.5; color: rgba(17, 20, 22, .92); text-shadow: 0 1px 14px rgba(6, 14, 17, .7); }
.hero-lead b { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: clamp(14px, 3vh, 28px); flex-wrap: wrap; }
.link-play { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 15px; padding: 0; }
.link-play .play { width: 44px; height: 44px; border-radius: 50%; background: rgba(17, 20, 22, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; transition: background .3s, transform .35s var(--ease); }
.link-play .play::after { content: ""; border-left: 11px solid var(--text); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.link-play:hover .play { background: var(--pink); transform: scale(1.08); }
.slide-index { display: flex; gap: clamp(10px, 1.4vw, 18px); flex: none; }
.si { position: relative; background: none; border: 0; padding: 0 0 10px; cursor: pointer; color: rgba(17, 20, 22, .55); font-size: 12.5px; font-weight: 600; text-align: left; width: clamp(64px, 6.4vw, 92px); transition: color .3s; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.si-n { display: block; font-family: var(--display); font-size: 11px; opacity: .75; margin-bottom: 2px; }
.si:hover, .si.on { color: var(--text); }
.si-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(17, 20, 22, .2); border-radius: 2px; overflow: hidden; }
.si-bar i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--grad); }
.si.on .si-bar i { animation: prog var(--dur, 7s) linear both; }
.slide-index.paused .si.on .si-bar i { animation-play-state: paused; }
@keyframes prog { to { transform: scaleX(1); } }

/* ---------- compteur : monte sur le bas de l'accueil sans toucher au texte ---------- */
.counter-sec { position: relative; z-index: 4; margin-top: calc(-1 * clamp(30px, 7vh, 80px)); }
.counter { width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; }
.c-top { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 30px); flex-wrap: wrap; }
.c-num { font-family: var(--display); font-size: var(--fs-big); line-height: .9; font-variant-numeric: tabular-nums; }
.odo { display: inline-flex; }
.od { display: inline-block; height: .9em; overflow: hidden; position: relative; }
.od > span { display: flex; flex-direction: column; transition: transform 2.2s cubic-bezier(.16, 1, .3, 1); }
.od > span > b { display: block; height: .9em; line-height: .9; font-weight: inherit; }
/* chiffres en contour (les zéros) et en dégradé (le vrai nombre) */
.od.z { color: transparent; -webkit-text-stroke: 1.5px rgba(17, 20, 22, .3); }
.od.n > span > b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.od.sep { width: .16em; }
.c-txt { padding-bottom: .4em; }
.c-lbl { font-family: var(--display); font-size: clamp(18px, min(2vw, 3.6vh), 30px); line-height: 1; }
.c-lbl span { color: rgba(17, 20, 22, .4); }
.c-goal { color: var(--muted); font-size: 15px; margin-top: 8px; }
.c-goal b { color: var(--text); }
.meter { position: relative; margin-top: clamp(14px, 2.6vh, 24px); }
.m-bars { display: flex; align-items: flex-end; gap: clamp(2px, .35vw, 5px); height: clamp(40px, 8vh, 70px); }
.m-bars i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(17, 20, 22, .1); transform-origin: bottom; transform: scaleY(var(--s, 1)); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 14ms); }
.m-bars i.on { background: linear-gradient(0deg, var(--c1), var(--c2)); box-shadow: 0 0 18px -2px color-mix(in srgb, var(--c2) 60%, transparent); }
.meter.vivant .m-bars i.on { animation: vu 1.6s ease-in-out infinite alternate; animation-delay: var(--d); }
.m-bars i.cur { background: #fff; box-shadow: 0 0 24px 2px rgba(255, 210, 63, .8); animation: none; }
.meter.pre i { --s: .05; }
@keyframes vu { from { transform: scaleY(1); } to { transform: scaleY(.72); } }
.m-marks { position: relative; height: 36px; margin-top: 8px; }
.m-mark { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; color: var(--faint); white-space: nowrap; text-align: center; line-height: 1.3; }
.m-mark b { display: block; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.m-mark.end { transform: translateX(-100%); text-align: right; }
.m-mark.end b { color: var(--accent); }
.m-mark.here { color: var(--text); transform: none; }
.m-mark.here b { color: var(--text); }

/* ---------- sections ---------- */
.section { position: relative; padding: var(--sp-sec) 0 0; overflow-x: clip; }
.head { margin-bottom: clamp(24px, 5vh, 48px); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px 50px; flex-wrap: wrap; }
.idx { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 12px; letter-spacing: .08em; color: var(--accent); margin-bottom: clamp(8px, 1.6vh, 14px); }
.idx span { font-family: var(--font); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; font-size: 12px; order: 2; }
.idx::after { content: ""; width: 40px; height: 1px; background: var(--line-2); order: 1; }
.head-sub { color: var(--muted); font-size: clamp(15px, min(1.25vw, 2.4vh), 17px); max-width: 28em; line-height: 1.5; padding-bottom: 4px; }
.sub-title { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.08; }

/* ---------- 01 les plus likés : compact ---------- */
.likes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(24px, 4vw, 64px); align-items: center; }
.podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: end; }
.pod { position: relative; cursor: pointer; outline: none; padding-top: 14px; min-width: 0; }
.pod-art { position: relative; height: clamp(120px, min(14vw, 24vh), 200px); }
.pod-rank { position: absolute; left: -4px; bottom: -10px; font-family: var(--display); font-size: clamp(110px, min(13vw, 23vh), 200px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(17, 20, 22, .24); z-index: 0; transition: -webkit-text-stroke-color .4s; user-select: none; }
.pod.p1 .pod-rank { -webkit-text-stroke-color: var(--accent); }
.pod-vis { position: absolute; right: 0; bottom: 0; width: 76%; height: 100%; z-index: 1; display: flex; align-items: flex-end; justify-content: center; }
.pod-vis img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; transition: transform .7s var(--ease); filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .45)); }
.pod:hover .pod-vis img, .pod:focus-visible .pod-vis img { transform: translateY(-8px) scale(1.05); }
.pod:hover .pod-rank { -webkit-text-stroke-color: var(--pink); }
.pod h3 { position: relative; z-index: 1; margin-top: 14px; font-size: clamp(16px, 1.35vw, 20px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; text-wrap: balance; min-height: 2.4em; }
.pod.p1 h3 { font-size: clamp(18px, 1.6vw, 23px); }
.pod-by { margin-top: 4px; font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.pod-by b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.lk { color: var(--pink); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rest { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rest li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 14.5px; cursor: pointer; transition: transform .35s var(--ease); }
.rest li + li { border-top: 1px solid var(--line); }
.rest li:hover, .rest li:focus-visible { transform: translateX(6px); outline: none; }
.rest .r-n { font-family: var(--display); font-size: 16px; color: transparent; -webkit-text-stroke: 1px rgba(17, 20, 22, .45); }
.rest .r-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.rest .r-t small { font-size: 12.5px; color: var(--faint); font-weight: 500; margin-left: 8px; }

/* ---------- avatars générés (initiales + couleur tirée du pseudo) ---------- */
.av { --c: #3fe0c5; flex: none; display: inline-grid; place-items: center; width: var(--s, 40px); height: var(--s, 40px); border-radius: 50%; background: var(--c); color: #0e1c21; font-family: var(--display); font-size: calc(var(--s, 40px) * .38); line-height: 1; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18); }

/* ---------- 02 hier : la communauté ---------- */
.commu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.crowd-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px clamp(18px, 2.6vw, 36px); margin: 0 0 clamp(16px, 3vh, 26px); }
.crowd-stats div { min-width: 0; }
.crowd-stats dt { order: 2; color: var(--muted); font-size: 13px; }
.crowd-stats dd { margin: 0; font-family: var(--display); font-size: clamp(34px, min(4.2vw, 7.4vh), 64px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.crowd-stats div:first-child dd { -webkit-text-stroke-color: var(--accent); }
.crowd-wall { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0; }
.crowd-wall .av { --s: clamp(30px, min(2.6vw, 4.6vh), 40px); cursor: default; transition: translate .35s var(--ease), scale .35s var(--ease); position: relative; }
.crowd-wall .av:hover, .crowd-wall .av:focus-visible { translate: 0 -4px; scale: 1.12; z-index: 2; outline: none; }
.crowd-wall .av.win { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--accent); }
.crowd-wall .tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: var(--text); color: var(--ink); font-family: var(--font); font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 10px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.crowd-wall .av:hover .tip, .crowd-wall .av:focus-visible .tip { opacity: 1; }
.pop-heart { position: absolute; width: 18px; height: 18px; color: var(--pink); pointer-events: none; animation: pop 1.6s var(--ease) forwards; }
@keyframes pop { 0% { transform: translate(-50%, 0) scale(.4); opacity: 0; } 15% { opacity: 1; transform: translate(-50%, -6px) scale(1.1); } 100% { transform: translate(calc(-50% + var(--dx, 0px)), -70px) scale(.8); opacity: 0; } }
.crowd-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 2vh, 18px); }
.cmt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: clamp(14px, 2.2vh, 20px) clamp(14px, 1.6vw, 22px); border-radius: 18px; background: rgba(17, 20, 22, .045); cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.cmt:hover, .cmt:focus-visible { background: rgba(17, 20, 22, .075); transform: translateX(4px); outline: none; }
.cmt .av { --s: 44px; }
.cmt-who { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.cmt-who b { font-weight: 700; }
.cmt-who span { color: var(--faint); font-size: 12.5px; }
.cmt-txt { margin-top: 4px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.4; }
.cmt-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.cmt-like { display: inline-flex; align-items: center; gap: 6px; color: var(--pink); font-weight: 700; font-size: 14px; }
.cmt-like .heart { width: 1.05em; height: 1.05em; }
.cmt.liked .cmt-like .heart { animation: bat .5s var(--ease); }
@keyframes bat { 40% { transform: scale(1.45); } }
.cmt-in { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 650; }
.cmt-in::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cmt-rank { position: absolute; right: clamp(14px, 1.6vw, 22px); top: 10px; font-family: var(--display); font-size: 13px; color: var(--faint); }
.cmt-vis { width: clamp(70px, 7vw, 96px); height: clamp(56px, 5.6vw, 76px); align-self: center; margin-top: 10px; }
.cmt-vis img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .4)); }
/* flux : deux rangées de commentaires qui défilent en sens inverse */
.flux { margin-top: clamp(30px, 6vh, 60px); display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.flux-row { overflow: hidden; }
.flux-track { display: flex; gap: 12px; width: max-content; animation: defile 120s linear infinite; }
.flux-row.r2 .flux-track { animation-direction: reverse; animation-duration: 140s; }
.flux:hover .flux-track { animation-play-state: paused; }
.fx { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 2px; background: rgba(17, 20, 22, .05); font-size: 13.5px; white-space: nowrap; }
.fx .av { --s: 28px; }
.fx b { font-weight: 650; }
.fx q { color: var(--muted); quotes: "« " " »"; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- 03 trois vies ---------- */
.modes-wrap { display: grid; grid-template-columns: clamp(170px, 17vw, 230px) 1fr; gap: clamp(18px, 3vw, 44px); align-items: start; }
.guide { position: relative; display: flex; flex-direction: column; align-items: center; }
.guide-stage { position: relative; width: 100%; height: clamp(230px, 40vh, 330px); }
.guide-stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.bubble { position: relative; margin-top: -4px; padding: 12px 15px; border-radius: 16px; background: rgba(17, 20, 22, .08); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; line-height: 1.45; transition: opacity .3s; min-height: 62px; }
.bubble::before { content: ""; position: absolute; left: 50%; top: -8px; margin-left: -8px; border: 8px solid transparent; border-top: 0; border-bottom-color: rgba(17, 20, 22, .08); }
.bubble b { color: var(--accent); font-weight: 650; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 26px); }
.mode { min-width: 0; outline: none; position: relative; }
.mode:nth-child(2) { margin-top: clamp(20px, 5vh, 50px); }
.mode:nth-child(3) { margin-top: clamp(40px, 10vh, 100px); }
.mode-media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; max-height: 52vh; width: 100%; background: #f1f1ee; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.mode-vid { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1s var(--ease), filter .6s; }
.mode:hover .mode-vid, .mode:focus-visible .mode-vid { transform: scale(1.09); filter: saturate(1.15); }
.m-n { position: absolute; top: 14px; left: 16px; font-family: var(--display); font-size: 12px; color: rgba(17, 20, 22, .85); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.mode h3 { margin-top: 14px; font-family: var(--display); font-size: var(--fs-h3); line-height: 1; transition: transform .5s var(--ease), color .3s; }
.mode:hover h3, .mode:focus-visible h3 { transform: translateX(6px); color: var(--accent); }
.mode-sub { color: var(--muted); margin-top: 6px; font-size: 14.5px; max-width: 22em; }
/* biomes : mosaïque de tailles différentes, le monde paraît vaste */
.biomes-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin: clamp(60px, 12vh, 120px) 0 clamp(18px, 3.4vh, 30px); }
.biomes { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(110px, min(13vw, 22vh), 220px); gap: clamp(8px, 1vw, 14px); }
.biome { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: #f1f1ee; outline: none; cursor: default; }
.biome img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.biome:hover img, .biome:focus-visible img { transform: scale(1.06); filter: saturate(1.12); }
.biome figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(0deg, rgba(8, 16, 19, .82), rgba(8, 16, 19, 0)); display: grid; gap: 2px; }
.biome b { font-family: var(--display); font-weight: 400; font-size: clamp(15px, min(1.4vw, 2.6vh), 22px); line-height: 1.05; }
.biome span { font-size: 13px; color: rgba(17, 20, 22, .78); }
.b-arct { grid-column: 1 / 7; }
.b-des { grid-column: 7 / 13; }
.b-for { grid-column: 1 / 7; }
.b-cote { grid-column: 7 / 13; }
.b-ville { grid-column: 1 / 8; grid-row: span 2; }

/* ---------- bandeaux croisés : plus riches, plus graphiques, et de l'air après ---------- */
.bands { overflow-x: clip; position: relative; height: clamp(220px, 34vh, 320px); margin: clamp(40px, 8vh, 90px) 0 0; z-index: 3; pointer-events: none; }
.band { position: absolute; left: -10vw; right: -10vw; top: 50%; white-space: nowrap; overflow: hidden; }
.band.b1 { transform: translateY(-150%) rotate(-3.4deg); background: var(--accent); color: #17150c; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); z-index: 3; padding: clamp(10px, 1.8vh, 16px) 0; }
.band.b2 { transform: translateY(40%) rotate(2.6deg); background: var(--pink); color: #fff; z-index: 2; padding: clamp(8px, 1.4vh, 13px) 0; }
.band.b3 { transform: translateY(330%) rotate(-1.2deg); background: #0a1518; color: var(--teal); z-index: 1; padding: 9px 0; box-shadow: inset 0 1px 0 rgba(63, 224, 197, .25), inset 0 -1px 0 rgba(63, 224, 197, .25); }
.band-track { display: inline-flex; align-items: center; font-family: var(--display); font-size: clamp(20px, min(2.4vw, 4.4vh), 38px); line-height: 1; will-change: transform; }
.band.b3 .band-track { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bt { display: inline-flex; align-items: center; gap: .45em; padding-right: .7em; }
.bt .o { color: transparent; -webkit-text-stroke: 1.6px currentColor; }
.bt svg { width: .8em; height: .8em; fill: currentColor; flex: none; }
.bchip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; margin-right: .7em; border-radius: 2px; background: rgba(23, 21, 12, .12); font-family: var(--font); font-size: clamp(13px, 1.1vw, 16px); font-weight: 700; letter-spacing: 0; }
.b2 .bchip { background: rgba(255, 255, 255, .16); }
.bchip .av { --s: 26px; box-shadow: none; }
.bchip i { font-style: normal; opacity: .75; }
.b3 .bt { gap: 12px; padding-right: 34px; }
.b3 .bt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* ---------- 04 la ville : rangées, toutes du même design ---------- */
.sec-ville { padding-top: clamp(80px, 16vh, 170px); }
.rows { display: grid; gap: clamp(56px, 12vh, 120px); }
.row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4.4vw, 70px); align-items: center; outline: none; }
.row.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.row.flip .row-media { order: 2; }
.row-media { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9.4; max-height: 64vh; background: #f1f1ee; isolation: isolate; }
.row-media img { width: 100%; height: 116%; object-fit: cover; margin-top: -8%; transform: translateY(var(--py, 0%)) scale(var(--sc, 1.02)); transition: transform 1.2s var(--ease), filter .7s; will-change: transform; }
.row-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .14) 50%, transparent 60%); transform: translateX(-120%); transition: transform 1.1s var(--ease); pointer-events: none; }
.row:hover .row-media img, .row:focus-visible .row-media img { --sc: 1.07; filter: saturate(1.12); }
.row:hover .row-media::after, .row:focus-visible .row-media::after { transform: translateX(120%); }
.row-copy { position: relative; }
.row-n { font-family: var(--display); font-size: clamp(56px, min(7vw, 12vh), 120px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: clamp(8px, 1.6vh, 16px); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.row:hover .row-n, .row:focus-visible .row-n { -webkit-text-stroke-color: var(--pink); transform: translateX(6px); }
.row h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.08; text-wrap: balance; }
.row-txt { color: rgba(17, 20, 22, .78); font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55; margin-top: 12px; max-width: 26em; }
.row-ex { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.row-ex li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.row-ex .av { --s: 30px; }
.row-ex b { font-weight: 650; }
.row-ex span { color: var(--muted); }
.steam { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); margin-top: clamp(56px, 12vh, 120px); outline: none; }
.steam-zero { font-family: var(--display); font-size: clamp(90px, min(12vw, 20vh), 200px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--accent); transition: transform .9s var(--ease), -webkit-text-stroke-color .5s; }
.steam:hover .steam-zero, .steam:focus-visible .steam-zero { transform: rotate(-4deg) translateY(-6px); -webkit-text-stroke-color: var(--pink); }
.steam h3 { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.05; }

/* ---------- 05 skins : des persos côte à côte, un skin chacun ---------- */
.skin-steps { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 10px 26px; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); }
.skin-steps li { display: inline-flex; align-items: center; gap: 10px; }
.skin-steps b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(17, 20, 22, .08); color: var(--accent); font-family: var(--display); font-weight: 400; font-size: 13px; }
.skins { position: relative; }
.skins-stage { position: relative; height: clamp(260px, 48vh, 470px); }
.skins-stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent); mask-image: linear-gradient(180deg, #000 86%, transparent); }
.skin-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.skin-list li { display: grid; gap: 4px; justify-items: center; padding: 8px 4px; cursor: default; outline: none; border-radius: 14px; transition: background .3s; }
.skin-list li:hover, .skin-list li:focus-visible, .skin-list li.on { background: rgba(17, 20, 22, .05); }
.skin-list b { font-family: var(--display); font-weight: 400; font-size: clamp(14px, min(1.5vw, 2.8vh), 22px); line-height: 1.1; }
.rar { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.r-leg { color: #ffb21e; } .r-epi { color: #ff5fa0; } .r-rare { color: #4fb3ff; }

/* ---------- vitrine des objets ---------- */
.vitrine { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.vitrine > * { min-width: 0; }
.v-stage { position: relative; height: clamp(300px, 58vh, 540px); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.v-stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 74%, transparent 100%); }
.v-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-family: var(--display); font-size: clamp(180px, min(24vw, 44vh), 400px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(17, 20, 22, .09); pointer-events: none; z-index: 0; transition: opacity .4s; }
.v-info { transition: opacity .35s var(--ease), transform .45s var(--ease); min-height: 250px; }
.v-info.swap { opacity: 0; transform: translateY(10px); }
.vi-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.vi-chip { color: var(--accent); }
.vi-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--faint); }
.v-info h3 { font-family: var(--display); font-size: clamp(24px, min(2.8vw, 5vh), 44px); line-height: 1.04; text-wrap: balance; }
.vi-sign { margin-top: 12px; font-size: 15px; color: var(--muted); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.vi-sign b { color: var(--text); font-weight: 650; }
.vi-sign .av { --s: 28px; }
.vi-desc { color: rgba(17, 20, 22, .78); margin-top: 14px; max-width: 30em; font-size: 15.5px; line-height: 1.55; }
.vi-gp { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.vi-gp li { font-size: 13px; padding: 7px 13px; border-radius: 2px; background: rgba(17, 20, 22, .07); }
.v-thumbs { display: flex; gap: 6px; margin-top: 22px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.v-thumbs::-webkit-scrollbar { display: none; }
.vt { flex: none; width: 68px; height: 54px; border: 0; padding: 0; cursor: pointer; background: none; position: relative; opacity: .45; transition: opacity .3s, transform .35s var(--ease); }
.vt img { width: 100%; height: 100%; object-fit: contain; }
.vt::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .4s var(--ease); }
.vt:hover { opacity: .85; transform: translateY(-2px); }
.vt.on { opacity: 1; }
.vt.on::after { transform: scaleX(1); }
.vt span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 18px; color: var(--muted); }
.vt img + span { display: none; }
.view.no3d::after { content: "La 3D n'a pas pu démarrer sur cet appareil."; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.labels > * { position: absolute; left: 0; top: 0; will-change: transform; }

/* ---------- contributeurs ---------- */
.ct-tools { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
#ct-search { flex: 1 1 320px; background: rgba(17, 20, 22, .06); border: 0; border-radius: 2px; padding: 13px 22px; outline: none; transition: background .25s; }
#ct-search:focus { background: rgba(17, 20, 22, .11); }
#ct-search::placeholder { color: var(--faint); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 2px; background: rgba(17, 20, 22, .06); }
.seg-btn { border: 0; background: none; padding: 8px 15px; border-radius: 2px; cursor: pointer; color: var(--muted); font-size: 14px; transition: background .25s, color .25s; }
.seg-btn.on { background: rgba(17, 20, 22, .14); color: var(--text); }
.ct-count { font-size: 13px; color: var(--faint); margin: 10px 0 8px; }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; }
.ct { display: grid; grid-template-columns: auto minmax(0, 160px) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ct .av { --s: 30px; }
.ct-p { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-t { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-r { display: flex; align-items: baseline; gap: 12px; }
.st { font-size: 12px; white-space: nowrap; }
.st-in { border: 0; background: none; padding: 0; cursor: pointer; color: var(--accent); font-weight: 650; }
.st-in:hover { text-decoration: underline; }
.st-wait { color: var(--faint); }
.ct-empty { color: var(--muted); padding: 20px 0; }
.ct-more { margin-top: 22px; }

/* ---------- carte ---------- */
.map-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 4px; }
.stage { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-map { height: clamp(420px, 82vh, 820px); margin-top: -20px; }
.stage-map canvas.gl { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, transparent 100%); }
.pin { pointer-events: auto; cursor: pointer; background: none; border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; }
.pin .p-card { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; color: rgba(17, 20, 22, .94); text-shadow: 0 1px 6px rgba(0, 0, 0, .95), 0 0 14px rgba(0, 0, 0, .6); transition: color .25s; }
.pin .p-stem { width: 1px; height: 12px; background: linear-gradient(rgba(17, 20, 22, .7), rgba(17, 20, 22, .1)); margin-top: 3px; }
.pin .p-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text); }
.pin:hover .p-card, .pin:focus-visible .p-card { color: var(--accent); }
.zone-lbl { display: flex; flex-direction: column; align-items: center; gap: 3px; white-space: nowrap; pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .9), 0 0 20px rgba(0, 0, 0, .5); }
.zone-lbl b { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(17, 20, 22, .92); }
.zone-lbl span { font-size: 11px; letter-spacing: .04em; color: var(--c, var(--muted)); }
.zone-lbl span::before { content: ""; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 7px; opacity: .7; }
.zone-abo b { font-family: var(--display); font-weight: 400; letter-spacing: .04em; font-size: 14px; color: var(--accent); }
.zone-lock[data-k=cote] > * { transform: translate(70px, 34px); }
.zone-abo span { color: var(--text); }
.qmark { display: block; }
.qmark i { display: block; font-style: normal; font-weight: 700; font-size: 13px; line-height: 1; color: var(--c); opacity: .55; text-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent), 0 1px 4px rgba(0, 0, 0, .8); animation: flotte 5s ease-in-out infinite; animation-delay: calc(var(--ph) * -1); }
@keyframes flotte { 50% { transform: translateY(-4px); opacity: .85; } }
.map-lead { color: var(--muted); max-width: 40em; margin: 0 0 22px; font-size: 15.5px; }
.paliers { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.paliers::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: linear-gradient(90deg, var(--accent) 0 12%, var(--line-2) 12%); }
.paliers li { position: relative; padding: 22px 16px 0 0; display: grid; gap: 2px; }
.paliers li::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--faint); }
.paliers li.pa-on::before { background: var(--accent); box-shadow: 0 0 14px rgba(255, 210, 63, .8); }
.paliers b { font-size: 15px; font-weight: 650; }
.paliers span { color: var(--muted); font-size: 13.5px; }
.map-help { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 13px; color: var(--muted); background: rgba(var(--ink-rgb), .7); padding: 8px 16px; border-radius: 2px; white-space: nowrap; }
.map-full { position: absolute; inset: 0; }

/* ---------- feuille de route ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding-top: 18px; }
.step::before { content: ""; position: absolute; left: 0; right: -28px; top: 0; height: 1px; background: var(--line-2); }
.step:last-child::before { right: 0; }
.step.now::before { background: var(--grad); height: 2px; }
.step-num { display: block; font-family: var(--display); font-size: clamp(26px, min(3vw, 5.4vh), 48px); line-height: 1; color: transparent; -webkit-text-stroke: 1.3px rgba(17, 20, 22, .42); white-space: nowrap; }
.step.now .step-num { color: var(--accent); -webkit-text-stroke: 0; }
.step h3 { margin-top: 12px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }

/* ---------- préviens-moi ---------- */
.cta { padding: clamp(100px, 18vh, 200px) 0 clamp(90px, 16vh, 170px); margin-top: clamp(30px, 6vh, 80px); }
.cta-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 48% 42% at 50% 50%, #000 25%, transparent 100%); mask-image: radial-gradient(ellipse 48% 42% at 50% 50%, #000 25%, transparent 100%); opacity: .42; }
.cta-art img { width: 100%; height: 120%; object-fit: cover; object-position: 60% 40%; margin-top: -10%; }
.cta-inner { text-align: center; }
.cta h2 { font-size: clamp(28px, min(4.4vw, 8vh), 72px); }
.cta .head-sub { margin: 16px auto 0; }
.notify { display: flex; gap: 8px; margin: 30px auto 0; max-width: 520px; padding: 6px; border-radius: 2px; background: rgba(var(--ink-rgb), .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.notify input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 18px; font-size: 16px; }
.notify input::placeholder { color: var(--faint); }
.notify-msg { min-height: 1.6em; margin-top: 18px; font-size: 15px; }
.notify-msg.err { color: #ff8a7a; }
.demo-note { color: var(--muted); font-size: 13px; margin-top: 4px; text-shadow: 0 1px 8px rgba(6, 14, 17, .9); }
.footer { padding: 40px 0 60px; }
.foot-grid { display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap; }
.socials { display: flex; gap: 24px; font-size: 14px; }
.socials a { color: var(--text); text-decoration: none; }
.socials .off { color: var(--faint); }
.fine { color: var(--faint); font-size: 13px; margin-left: auto; max-width: 44em; }

/* ---------- surimpressions ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8, 16, 19, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.overlay[hidden] { display: none; }
.overlay video { width: min(1100px, 100%); max-height: 86vh; border-radius: 18px; background: #081013; }
.overlay-close { position: absolute; top: 18px; right: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(17, 20, 22, .1); display: grid; place-items: center; }
.overlay-close svg { width: 20px; height: 20px; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; fill: none; }

/* ---------- fenêtres basses (MacBook, peu de hauteur) ---------- */
@media (max-height: 640px) and (min-width: 900px) {
  :root { --bar: 52px; }
  .logo-txt { font-size: 18px; }
  .si { padding-bottom: 8px; }
  .meter { margin-top: 10px; }
}
/* ---------- tablette ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .topbar .btn-sm { margin-left: auto; }
  .likes { grid-template-columns: 1fr; }
  .hero-inner { flex-direction: column; align-items: stretch; gap: clamp(14px, 3vh, 26px); }
  .hero-text { max-width: min(680px, 100%); }
  .slide-index { max-width: 520px; }
  .si { flex: 1; width: auto; }
  .commu { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .modes-wrap { grid-template-columns: 1fr; }
  .guide { flex-direction: row; gap: 14px; }
  .guide-stage { width: 150px; height: 210px; flex: none; }
  .bubble { margin: 0; flex: 1; max-width: 420px; }
  .bubble::before { left: -8px; top: 50%; margin: -8px 0 0; border: 8px solid transparent; border-left: 0; border-right-color: rgba(17, 20, 22, .08); }
  .vitrine { grid-template-columns: 1fr; gap: 0; }
  .v-stage { height: min(380px, 92vw); }
  .v-info { min-height: 0; }
  .modes { grid-template-columns: 1fr; gap: 36px; }
  .mode:nth-child(2), .mode:nth-child(3) { margin-top: 0; }
  .mode-media { aspect-ratio: 16 / 10; max-height: none; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 18px; }
  .row.flip .row-media { order: 0; }
  .row-n { font-size: 54px; margin-bottom: 6px; }
  .biomes { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .b-arct, .b-des, .b-for, .b-cote { grid-column: auto; grid-row: auto; }
  .b-ville { grid-column: 1 / -1; grid-row: auto; }
  .ct-list { grid-template-columns: 1fr; }
  .road { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .step::before { right: 0; }
  .paliers { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .paliers::before { display: none; }
}
/* ---------- téléphone ---------- */
@media (max-width: 640px) {
  :root { --r: 18px; --bar: 56px; }
  body { font-size: 15.5px; }
  .topbar { padding: 0 16px; gap: 12px; }
  .logo-txt { font-size: 18px; }
  .logo-by { font-size: 11px; }
  .wrap, .narrow, .counter, .hero-inner { width: calc(100% - 32px); }
  .hero { min-height: 600px; max-height: none; }
  .slide img { object-position: 50% 30%; }
  .hero-veil { background: linear-gradient(0deg, var(--ink) 0%, rgba(var(--ink-rgb), .92) 32%, rgba(var(--ink-rgb), .5) 52%, rgba(var(--ink-rgb), 0) 68%); }
  .hero-inner { padding-bottom: 92px; }
  .hero-title { font-size: clamp(34px, 10.4vw, 46px); }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-wrap: nowrap; gap: 16px; }
  .hero-actions .link-play { font-size: 0; gap: 0; }
  .si { font-size: 0 !important; padding-bottom: 8px; }
  .si-n { font-size: 10.5px; margin: 0; }
  .slide-index { gap: 8px; }
  .counter-sec { margin-top: -60px; }
  .c-num { font-size: 64px; }
  .c-top { gap: 8px 14px; }
  .m-bars { height: 46px; }
  .m-mark { font-size: 10.5px; }
  .m-mark.mid { display: none; }
  h2 { font-size: clamp(25px, 7.6vw, 32px); }
  .podium { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .pod.p1 { grid-column: 1 / -1; }
  .pod-art { height: 120px; }
  .pod.p1 .pod-art { height: 160px; }
  .pod-rank { font-size: 110px; }
  .pod.p1 .pod-rank { font-size: 150px; }
  .pod h3 { min-height: 0; font-size: 15px; } .pod.p1 h3 { font-size: 18px; }
  .pod-by { font-size: 12.5px; gap: 8px; }
  .crowd-stats dd { font-size: 36px; }
  .cmt { grid-template-columns: auto minmax(0, 1fr); }
  .cmt-vis { display: none; }
  .cmt .av { --s: 36px; }
  .v-big { font-size: 220px; }
  .bands { height: 200px; margin-top: 50px; }
  .biomes { grid-auto-rows: 120px; }
  .biome figcaption { padding: 30px 12px 10px; }
  .biome span { display: none; }
  .skins-stage { height: 240px; }
  .skin-list b { font-size: 12.5px; }
  .rar { font-size: 9.5px; letter-spacing: .06em; }
  .skin-steps { font-size: 13.5px; }
  .ct { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ct-t { grid-column: 2 / -1; grid-row: 2; font-size: 13.5px; }
  .ct-r { grid-row: 1; grid-column: 3; }
  .stage-map { height: min(520px, 132vw); margin-top: 0; }
  .zone-lbl b { font-size: 10.5px; letter-spacing: .14em; } .zone-lbl span { font-size: 10px; }
  .zone-lock[data-k=cote] > * { transform: translate(-40px, 20px); }
  .pin .p-card { font-size: 10.5px; }
  .map-help { font-size: 11px; }
  .road { grid-template-columns: 1fr; gap: 28px; }
  .steam { flex-direction: column; align-items: flex-start; gap: 12px; }
  .notify { flex-direction: column; border-radius: 22px; padding: 8px; }
  .notify input { padding: 14px; }
  .fine { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ht-l > span, .slide.on img, .si.on .si-bar i, .m-bars i.on, .qmark i, .live, .pop-heart, .cmt.liked .cmt-like .heart { animation: none !important; }
  .si.on .si-bar i { transform: scaleX(1); }
  .flux-track { animation-duration: 600s; }
  .od > span { transition: none; }
  .row-media img, .mode-vid, .biome img { transition: none; }
}

/* =================== V11 : la V9 épurée, plus anguleuse =================== */
.halo { display: none; }
/* barre : transparente sur l'accueil, aucun bandeau flou ; fond seulement au défilement */
.topbar { background: linear-gradient(180deg, rgba(var(--ink-rgb), .55), rgba(var(--ink-rgb), 0)); backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar.scrolled { background: rgba(var(--ink-rgb), .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav a { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
/* boutons : coin coupé, plus de pilules ni d'ombres colorées */
.btn { border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% 66%, calc(100% - 11px) 100%, 0 100%); box-shadow: none !important; }
.btn-primary:hover { transform: none; }
/* accueil : images légèrement désaturées, titre plein (pas de dégradé), voile plus sobre */
.slide img { filter: saturate(.82) contrast(1.06); }
.hero-title { text-shadow: 0 4px 30px rgba(6, 14, 17, .45); }
.hero-title em { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--accent); }
.si-bar { border-radius: 0; }
.si-bar i { background: var(--accent); }
.kicker .live { border-radius: 0; transform: rotate(45deg); width: 7px; height: 7px; }
/* compteur : barres en biais */
.m-bars i { border-radius: 0 !important; transform: skewX(-14deg); }
/* carte : paliers = feuille de route, 5 étapes */
.paliers { grid-template-columns: repeat(5, 1fr); }
.paliers::before { background: linear-gradient(90deg, var(--accent) 0 8%, var(--line-2) 8%); }
.paliers li::before { border-radius: 0; transform: rotate(45deg); }
.paliers b { font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.5vw, 20px); }
.paliers li.pa-big b { color: var(--accent); }
/* le monde : trois vies en une ligne */
.vies { list-style: none; margin: clamp(18px, 3vh, 30px) 0 clamp(20px, 3.4vh, 32px); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 36px); counter-reset: v; }
.vies li { counter-increment: v; border-top: 1px solid var(--line-2); padding-top: 14px; display: grid; gap: 4px; }
.vies b { font-family: var(--display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.05; }
.vies b::before { content: "0" counter(v) " "; font-size: .45em; color: var(--accent); vertical-align: .55em; margin-right: .3em; }
.vies span { color: var(--muted); font-size: 15px; }
#regles .rows { margin-top: clamp(64px, 12vh, 120px); }
/* skins : une image forte + 3 étapes */
.skins2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4.4vw, 70px); align-items: center; }
.skins-art { margin: 0; aspect-ratio: 16 / 9.4; max-height: 64vh; overflow: hidden; border-radius: var(--r); background: #f1f1ee; }
.skins-art img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.skins-copy h2 { font-family: var(--display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.04; margin: 8px 0 22px; }
.skins-copy .skin-steps { flex-direction: column; gap: 14px; font-size: 16px; }
.skin-steps b { border-radius: 0 !important; clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
@media (max-width: 900px) {
  .paliers { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .vies { grid-template-columns: 1fr; gap: 14px; }
  .skins2 { grid-template-columns: 1fr; }
}
.biomes { grid-auto-rows: clamp(120px, min(15vw, 25vh), 240px); }
.av { border-radius: 0 !important; clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%); }

/* =================== V12 : fond blanc classique =================== */
html, body { background: #fff; color: var(--text); }
.grain { display: none; }
.hero-title, .hero-lead, .kicker, .si, .demo-note { text-shadow: none !important; }
.hero-title { color: var(--text); }
.hero-lead { color: #2b3133; }
.btn-primary { color: #fff; }
.btn-light { background: var(--text); color: #fff; }
.btn-light:hover { background: var(--accent); color: #fff; }
.topbar.scrolled { box-shadow: 0 1px 0 var(--line); }
/* images : légendes lisibles, voile qui finit en blanc */
.biome figcaption { color: #fff; }
.biome figcaption span { color: rgba(255, 255, 255, .85); }
/* carte : étiquettes sombres sur halo blanc */
.pin .p-card, .zone-lbl { text-shadow: 0 0 6px #fff, 0 0 14px rgba(255, 255, 255, .9) !important; }
/* rangées : objets 3D en studio, sans cadre */
.row-vis { background: none !important; aspect-ratio: 16 / 10.5; display: grid; place-items: center; }
.row-vis img { width: 100%; height: 100%; object-fit: contain; margin: 0; transform: none; }
.row-vis::after { display: none; }
/* skins : arme 3D + liste */
.skins-copy .skin-list { grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 22px; text-align: left; }
.skins-copy .skin-list li { justify-items: start; padding: 10px 12px; border-radius: 0; border-left: 2px solid var(--line-2); cursor: pointer; }
.skins-copy .skin-list li.on { background: #f3f3f0; border-left-color: var(--accent); }
.skins-stage canvas.gl { -webkit-mask-image: none; mask-image: none; }
.r-leg { color: #c98a00; } .r-epi { color: #d81b66; } .r-rare { color: #1d6fd1; }
/* surcouches : fond sombre gardé pour la vidéo et la carte plein écran */
.overlay { background: rgba(12, 14, 15, .94); }
.overlay-close { background: #fff; }
/* carte : étiquettes claires sur la mer et l'île (lisibles sur la scène, pas sur le blanc) */
.stage-map .pin .p-card, .map-full .pin .p-card, .stage-map .zone-lbl b, .map-full .zone-lbl b { color: #fff; }
.stage-map .pin .p-card, .stage-map .zone-lbl, .map-full .pin .p-card, .map-full .zone-lbl { text-shadow: 0 1px 6px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .55) !important; }
.stage-map .zone-lbl span, .map-full .zone-lbl span { color: #e8eef0; }

/* ===================== V13 (15/11) : nom à voter, participer, armurerie, à venir, économie ===================== */
.logo { align-items: center; }
.logo-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px dashed rgba(255, 79, 26, .55); padding: 3px 7px 2px; line-height: 1.2; }
@media (max-width: 900px) { .logo-tag { display: none; } }
.r-myth { color: #7a3cf0; } .r-uni { color: #8a6a2a; } .r-vote { color: var(--accent); }

/* --- participer --- */
.qg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(22px, 4vw, 64px); align-items: start; }
.compose { position: relative; display: grid; gap: 10px; padding: clamp(14px, 2vw, 20px); background: var(--ink-2); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); transition: background .3s; }
.compose.err { background: #fff1ec; }
.compose-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cp-pseudo { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; }
.cp-pseudo span { color: var(--accent); }
.cp-pseudo input { border: 0; background: transparent; font-weight: 700; width: 14em; max-width: 52vw; padding: 4px 0; outline: none; border-bottom: 1px solid var(--line-2); }
.cp-pseudo input:focus { border-bottom-color: var(--accent); }
.cp-gain, .mi-g { position: relative; font-family: var(--display); font-size: 12px; color: var(--accent); letter-spacing: .04em; }
.compose textarea { resize: none; border: 0; background: transparent; font: inherit; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.4; outline: none; color: var(--text); }
.compose-bot { display: flex; align-items: center; justify-content: space-between; }
.cp-count { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.feed-tabs { margin: clamp(18px, 3vh, 26px) 0 6px; }
.feed { list-style: none; margin: 0; padding: 0; }
.fi { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fi .av { --s: 36px; }
.fi-c b { font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.fi-c p { color: var(--muted); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.toi { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 6px; }
.fi.mine { background: linear-gradient(90deg, rgba(255, 79, 26, .07), transparent 60%); }
.fi-lk { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(17, 20, 22, .05); padding: 8px 12px; cursor: pointer; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 8px) 100%, 0 100%); transition: background .2s, color .2s; overflow: visible; }
.fi-lk:hover { background: rgba(255, 61, 122, .1); color: var(--pink); }
.fi-lk.on { color: #fff; background: var(--pink); }
.fi-lk.bump .heart { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.feed-vide { padding: 18px 0; color: var(--muted); }
.pop-pts { position: absolute; right: 0; top: -6px; font-family: var(--display); font-size: 14px; color: var(--accent); pointer-events: none; animation: popPts 1.1s var(--ease) forwards; white-space: nowrap; }
@keyframes popPts { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-26px); } }
.qg-side { position: sticky; top: calc(var(--bar) + 16px); }
.me { padding: 18px; background: #121517; color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.me-top { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.me-top b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.me-top div span { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.me-pts { text-align: right; font-size: 12px; color: rgba(255, 255, 255, .6); }
.me-pts b { display: block; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--accent); font-weight: 400; }
.me-bar { height: 6px; background: rgba(255, 255, 255, .12); margin: 16px 0 8px; overflow: hidden; }
.me-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .8s var(--ease); }
.me-next { font-size: 13px; color: rgba(255, 255, 255, .7); }
.qg-lbl { margin: 22px 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gains li { display: grid; grid-template-columns: 46px 1fr 16px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); opacity: .62; transition: opacity .4s; }
.gains li.ok { opacity: 1; }
.gains b { font-family: var(--display); font-weight: 400; font-size: 15px; color: var(--accent); }
.gains strong { display: block; font-size: 14px; }
.gains span { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.gains i { width: 14px; height: 14px; border: 1.5px solid var(--line-2); }
.gains li.ok i { background: var(--accent); border-color: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.mission { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 600; font-size: 14.5px; }
.mi-n { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 700; }
.mi-ok { color: #1a9a5a; font-size: 13px; font-weight: 700; }
.nom { margin-top: clamp(40px, 8vh, 80px); }
.nom-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 18px; }
.nom-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.no { text-align: left; border: 0; cursor: pointer; padding: 18px 18px 16px; background: var(--ink-2); display: grid; gap: 4px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); transition: background .25s, transform .35s var(--ease); position: relative; }
.no:hover { transform: translateY(-3px); }
.no b { font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; }
.no span { font-size: 13.5px; color: var(--muted); }
.no i { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.no.on { background: var(--accent); color: #fff; }
.no.on span, .no.on i { color: rgba(255, 255, 255, .85); }
.nom-prop { display: flex; gap: 10px; margin-top: 12px; max-width: 460px; }
.nom-prop input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; padding: 8px 0; outline: none; }
.nom-prop input:focus { border-bottom-color: var(--accent); }
#participer .demo-note { margin-top: 18px; }
@media (max-width: 860px) { .qg { grid-template-columns: 1fr; } .qg-side { position: static; } }

/* --- armurerie --- */
.arm { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.arm-stage { position: relative; aspect-ratio: 16 / 10; min-height: 260px; touch-action: pan-y; cursor: grab; }
.arm-stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.arm-n { position: absolute; left: 0; top: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--faint); z-index: 1; }
.arm-n b { font-family: var(--display); font-weight: 400; color: var(--accent); font-size: 14px; }
.arm-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-size: clamp(54px, 9vw, 150px); line-height: .9; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px rgba(17, 20, 22, .08); pointer-events: none; z-index: 0; }
.arm-stage canvas.gl { z-index: 1; }
.arm-tabs { display: grid; gap: 0; }
.arm-tab { display: flex; align-items: baseline; gap: 12px; border: 0; background: none; cursor: pointer; text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(16px, 1.5vw, 21px); text-transform: uppercase; color: var(--faint); transition: color .25s, padding .35s var(--ease); }
.arm-tab span { font-size: 11px; color: var(--faint); }
.arm-tab:hover { color: var(--text); }
.arm-tab.on { color: var(--text); padding-left: 10px; box-shadow: inset 3px 0 0 var(--accent); }
.arm-tab.on span { color: var(--accent); }
.arm-info { margin: 16px 0 6px; }
.arm-typ { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.arm-st { margin: 0; display: grid; gap: 6px; }
.arm-st div { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 10px; }
.arm-st dt { font-size: 12.5px; color: var(--muted); }
.arm-st dd { margin: 0; height: 6px; background: rgba(17, 20, 22, .07); position: relative; overflow: hidden; }
.arm-st dd i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--v)); background: var(--text); transition: transform .6s var(--ease); }
.arm-lbl { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 10px; font-size: 13px; color: var(--muted); }
.arm-lbl b { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--text); }
.arm-skins { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; transition: opacity .3s; }
.arm-skins.lock { opacity: .3; pointer-events: none; }
.sw { aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; position: relative; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); transition: transform .3s var(--ease); background: #ddd; }
.sw canvas { width: 100%; height: 100%; display: block; }
.sw:hover { transform: translateY(-3px); }
.sw.on { outline: 0; box-shadow: inset 0 0 0 3px var(--accent); }
.sw.on::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--accent); }
.avenir { margin-top: clamp(40px, 8vh, 84px); }
.avenir-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin-bottom: 18px; }
.avenir-rail { overflow: hidden; margin-inline: calc(-1 * var(--gut)); padding: 6px var(--gut) 10px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.avenir-track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; animation: rail 70s linear infinite; }
.avenir-rail:hover .avenir-track { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .avenir-track { animation: none; } .avenir-rail { overflow-x: auto; } }
.av-sk { display: grid; gap: 2px; width: clamp(150px, 15vw, 210px); }
.av-gun { display: block; aspect-ratio: 2 / 1; position: relative;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><path d='M4 40 L60 34 L66 28 L132 28 L134 22 L150 22 L150 30 L196 32 L196 40 L150 41 L148 50 L104 52 L96 74 L84 76 L80 70 L74 54 L62 56 L54 84 L34 86 L40 56 L6 58 Z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><path d='M4 40 L60 34 L66 28 L132 28 L134 22 L150 22 L150 30 L196 32 L196 40 L150 41 L148 50 L104 52 L96 74 L84 76 L80 70 L74 54 L62 56 L54 84 L34 86 L40 56 L6 58 Z'/></svg>") center / contain no-repeat;
  transition: transform .5s var(--ease); }
.av-gun canvas { width: 100%; height: 100%; display: block; }
.av-sk:hover .av-gun { transform: rotate(-4deg) translateY(-4px); }
.av-sk b { font-family: var(--display); font-weight: 400; font-size: 15px; line-height: 1.1; margin-top: 4px; }
.av-sk .rar { font-size: 10.5px; }
.avenir .skin-steps { margin-top: 18px; }

/* --- économie --- */
.eco-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 30px); padding-top: 34px; margin-bottom: clamp(30px, 6vh, 60px); }
.eco-line { position: absolute; left: 6px; right: 6px; top: 12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.eco-line i { position: absolute; top: -4px; width: 10px; height: 10px; background: var(--accent); clip-path: polygon(0 0, 100% 50%, 0 100%); animation: flow 6s linear infinite; }
.eco-line i:nth-child(2) { animation-delay: -2s; } .eco-line i:nth-child(3) { animation-delay: -4s; }
@keyframes flow { from { left: 0; } to { left: calc(100% - 10px); } }
.eco-n { position: relative; display: grid; gap: 4px; }
.eco-n::before { content: ""; position: absolute; top: -28px; left: 0; width: 12px; height: 12px; background: #fff; border: 2px solid var(--accent); transform: rotate(45deg); }
.eco-n b { font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.05; }
.eco-n span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.eco { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2vw, 30px); }
.eco li { display: grid; gap: 8px; align-content: start; border-top: 1px solid var(--line-2); padding-top: 14px; }
.eco-k { font-family: var(--display); font-size: clamp(28px, min(3.2vw, 6vh), 52px); line-height: .95; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.eco h3 { font-family: var(--display); font-weight: 400; font-size: 16px; }
.eco li p:not(.eco-k) { font-size: 14px; color: var(--muted); line-height: 1.45; }
.eco li:last-child .eco-k { -webkit-text-stroke-color: var(--pink); }
.eco-note { margin-top: 20px; font-size: 13px; color: var(--faint); }
@media (max-width: 980px) { .eco { grid-template-columns: repeat(2, 1fr); } .arm { grid-template-columns: minmax(0, 1fr); } }
.arm-side, .qg-main, .qg-side { min-width: 0; }
@media (max-width: 700px) {
  .eco-flow { grid-template-columns: 1fr 1fr; row-gap: 40px; } .eco-line { display: none; }
  .eco { grid-template-columns: 1fr; } .eco li { grid-template-columns: 110px 1fr; }
  .arm-skins { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .nom-opts { grid-template-columns: 1fr; }
}

/* ===================== V14 (15/11) : sans dégradés, centré, plus clair ===================== */
:root { --w: 1200px; --grad: var(--accent); --side: max(var(--gut), calc((100% - var(--w)) / 2)); }
/* plus aucun dégradé : texte et barres en couleur pleine */
em { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.od.n > span > b { background: none; color: var(--accent); }
.m-bars i.on { background: var(--accent); box-shadow: none; }
.fi.mine { background: rgba(255, 79, 26, .06); }
.row-media::after { display: none; }
/* barre du haut : blanche, alignée sur la colonne du contenu */
.topbar, .topbar.scrolled { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0 var(--side); }
.topbar.scrolled { box-shadow: 0 1px 0 var(--line); }
/* accueil : texte sur blanc à gauche, image nette à droite, aucun voile */
.hero { height: auto; min-height: 0; max-height: none; display: block; overflow: visible; padding: calc(var(--bar) + clamp(28px, 7vh, 80px)) 0 0; }
.hero-inner { width: min(var(--w), 100% - 2 * var(--gut)); margin: 0 auto; padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-text { max-width: none; }
.hero-title { font-size: clamp(40px, min(5vw, 9vh), 84px); }
.hero-lead { max-width: 30em; color: #2b3133; }
.hero-vis { min-width: 0; }
.hero-media { position: relative; inset: auto; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r); background: #eceeea; }
.slide img { filter: none; object-position: 50% 50%; }
.slide.on img { animation: none; }
.slide-index { margin-top: 16px; justify-content: space-between; }
.si { width: auto; flex: 1; text-shadow: none; color: var(--faint); }
.counter-sec { margin-top: clamp(48px, 9vh, 100px); }
/* en-têtes de section centrés : titre puis phrase, au milieu */
.head-row { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 12px; }
.head-row .idx { justify-content: center; }
.idx::after { display: none; }
.idx span { order: 0; }
.idx::before { content: ""; width: 28px; height: 1px; background: var(--line-2); order: 1; }
.idx span { order: 2; }
.head-sub { max-width: 36em; margin-inline: auto; }
.biomes-head, .nom-head, .avenir-head { flex-direction: column; align-items: center; text-align: center; }
.map-lead { margin-inline: auto; text-align: center; }
/* 01 le principe */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); counter-reset: e; }
.etapes li { counter-increment: e; border-top: 2px solid var(--text); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.etapes li::before { content: counter(e, decimal-leading-zero); font-family: var(--display); font-size: clamp(32px, 3.2vw, 50px); line-height: 1; color: var(--accent); }
.etapes b { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.1; }
.etapes span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.fiche { margin: clamp(44px, 8vh, 80px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.fiche div { padding: 20px clamp(12px, 1.8vw, 26px); text-align: center; }
.fiche div + div { border-left: 1px solid var(--line-2); }
.fiche dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fiche dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(15px, 1.4vw, 20px); line-height: 1.15; }
/* images du monde : légende sur une étiquette blanche, plus de fondu sombre */
.biome figcaption { left: 12px; right: auto; bottom: 12px; padding: 8px 12px 7px; background: #fff; color: var(--text); }
.biome figcaption span { color: var(--muted); }
/* carte : plus de fondu sur les bords */
.stage-map canvas.gl { -webkit-mask-image: none; mask-image: none; }
.stage-map { width: min(var(--w), 100% - 2 * var(--gut)); margin-inline: auto; }
/* fil des commentaires et skins à venir : dans la colonne, sans fondu */
.flux { width: min(var(--w), 100% - 2 * var(--gut)); margin-inline: auto; -webkit-mask-image: none; mask-image: none; overflow: hidden; }
.avenir-rail { margin-inline: 0; padding: 6px 0 10px; -webkit-mask-image: none; mask-image: none; }
.v-thumbs { -webkit-mask-image: none; mask-image: none; }
/* lancement : centré, sans image fondue */
.cta { padding: clamp(90px, 16vh, 170px) 0; }
@media (max-width: 1100px) {
  .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 900px) {
  .hero { padding-top: calc(var(--bar) + 24px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fiche { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche div:nth-child(3) { border-left: 0; }
  .fiche div:nth-child(n+3) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 640px) {
  .hero-media { aspect-ratio: 4 / 5; }
  .etapes { grid-template-columns: minmax(0, 1fr); }
  .hero-veil { display: none; }
}
/* V14 retouches : titre sur 2 lignes, carte en bloc net couleur mer */
.hero-inner { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); }
.hero-title { font-size: clamp(34px, min(5.1vw, 9vh), 70px); }
.ht-l { white-space: nowrap; }
.stage-map { background: #86b8cf; border-radius: var(--r); overflow: hidden; margin-top: 0; }
@media (max-width: 900px) { .hero-title { font-size: clamp(34px, 10vw, 64px); } }
.notify { background: #fff; border: 1px solid var(--line-2); }
/* carte V14 : étiquettes sombres sur halo blanc, lisibles sur la maquette claire */
.stage-map .pin .p-card, .stage-map .zone-lbl b, .map-full .pin .p-card, .map-full .zone-lbl b { color: var(--text); }
.stage-map .zone-lbl span, .map-full .zone-lbl span { color: #3c4446; }
.stage-map .pin .p-card, .stage-map .zone-lbl, .map-full .pin .p-card, .map-full .zone-lbl { text-shadow: 0 0 4px #fff, 0 0 10px #fff, 0 0 18px rgba(255, 255, 255, .9) !important; }
@media (max-width: 640px) { .hero-media { aspect-ratio: 16 / 10; } }

/* ===================== V15 (15/11) : affiche plein écran, titre posé dans le ciel du jeu ===================== */
.topbar { background: transparent; }
.topbar.scrolled { background: #fff; box-shadow: 0 1px 0 var(--line); }
.logo-tag { border: 0; padding: 0; color: var(--muted); letter-spacing: .08em; }
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1200px; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.hero-art { position: absolute; inset: 0; margin: 0; }
.hero-art picture, .hero-art img { width: 100%; height: 100%; display: block; }
.hero-art img { object-fit: cover; object-position: 50% 100%; }
.hero-text { position: relative; z-index: 2; max-width: none; text-align: center; padding: calc(var(--bar) + clamp(20px, 6vh, 80px)) var(--gut) 0; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(40px, min(6vw, 9.5vh), 112px); line-height: .96; color: var(--text); max-width: 11em; }
.hero-lead { max-width: 32em; margin: clamp(12px, 2.2vh, 22px) auto 0; color: #1b2022; font-weight: 500; font-size: clamp(15px, min(1.3vw, 2.3vh), 19px); }
.hero-actions { justify-content: center; margin-top: clamp(16px, 3vh, 30px); }
.link-play .play { background: rgba(255, 255, 255, .75); }
.counter-sec { margin-top: clamp(48px, 9vh, 100px); }
/* écran en hauteur (téléphone) : titre sur blanc, puis l'affiche sur toute la largeur, d'un bord à l'autre */
@media (max-aspect-ratio: 4/5) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero-text { padding: calc(var(--bar) + 28px) 16px 26px; }
  .hero-title { font-size: clamp(36px, 11vw, 64px); }
  .hero-art { position: relative; inset: auto; order: 2; aspect-ratio: 16 / 10; }
  .hero-art img { object-position: 50% 80%; }
}
.hero { justify-content: flex-start; }
.hero-text { margin: 0; flex: none; }
.hero-title { max-width: none; }
.hero-title > span { display: block; white-space: nowrap; }
.hero-text { padding-top: calc(var(--bar) + clamp(14px, 4vh, 64px)); }
.hero-title { font-size: clamp(38px, min(6vw, 8.6vh), 112px); }
.hero-lead { margin-top: clamp(10px, 1.8vh, 20px); }
.hero-actions { margin-top: clamp(14px, 2.4vh, 26px); gap: 12px; }
.hero .link-play { background: #fff; padding: 6px 18px 6px 6px; clip-path: polygon(0 0, 100% 0, 100% 66%, calc(100% - 11px) 100%, 0 100%); }
.hero .link-play .play { width: 36px; height: 36px; background: var(--text); }
.hero .link-play .play::after { border-left-color: #fff; }
/* V15b : le texte n'est jamais posé sur l'image (quel que soit le format d'écran) : texte sur blanc, affiche dessous d'un bord à l'autre */
.topbar, .topbar.scrolled { background: #fff; }
.hero { height: 100svh; min-height: 620px; max-height: 1100px; }
.hero-text { padding: calc(var(--bar) + clamp(18px, 4.5vh, 56px)) var(--gut) clamp(18px, 3.6vh, 40px); }
.hero-art { position: relative; inset: auto; order: 2; flex: 1; min-height: 300px; }
.hero-art img { object-position: 50% 78%; }
.hero .link-play { background: #f1f1ee; }
@media (max-aspect-ratio: 4/5) { .hero { height: auto; min-height: 0; } .hero-art { flex: none; min-height: 0; } }
/* V15c : texte dans le ciel, lisible sur tous les écrans. L'accueil garde le format exact de l'affiche (16:9) et le texte
   est dimensionné en largeur d'écran : il reste toujours dans la même zone de ciel calme (entre les toits et le poteau). */
@media (min-width: 1100px) and (min-aspect-ratio: 4/5) {
  .hero { height: auto; min-height: 0; max-height: none; margin-top: var(--bar); aspect-ratio: 16 / 9; display: block; }
  .hero-art { position: absolute; inset: 0; min-height: 0; }
  .hero-art img { object-position: 50% 50%; }
  .hero-text { position: absolute; left: 50%; top: 3.2%; transform: translateX(-50%); width: 34vw; padding: 0; }
  .hero-title { font-size: 4.5vw; line-height: .96; }
  .hero-lead { font-size: max(14px, 1.02vw); max-width: none; margin-top: 1.1vw; line-height: 1.45; }
  .hero-actions { margin-top: 1.4vw; }
  .hero .link-play { background: #fff; }
}
@media (min-width: 1100px) and (min-aspect-ratio: 4/5) { .hero-text { left: 45.5%; } }
/* V15d : texte au centre exact ; c'est l'image qui se décale (agrandie 110 %, poussée à droite) pour sortir le poteau de la zone du texte */
@media (min-width: 1100px) and (min-aspect-ratio: 4/5) {
  .hero-text { left: 50%; }
  .hero-art { overflow: hidden; }
  .hero-art img { width: 110%; height: 110%; max-width: none; margin: -5% 0 0 -2%; }
}

/* ===================== V16 (16/11) : retours d'Hugo sur la V15 ===================== */
/* Le jeu : trois façons de jouer, images d'un bord à l'autre (sans cadre ni écart), textes sur blanc dessous */
.genres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(8px, 2vh, 20px); }
.genre { margin: 0; text-align: center; padding-bottom: 6px; }
.genre figure { margin: 0 0 clamp(18px, 3vh, 28px); aspect-ratio: 4 / 5; overflow: hidden; background: #eceeea; }
.genre img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.genre:hover img { transform: scale(1.04); }
.genre:nth-child(1) img { object-position: 52% 50%; }
.genre:nth-child(2) img { object-position: 38% 50%; }
.genre:nth-child(3) img { object-position: 62% 50%; }
.g-k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.genre h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, min(2.4vw, 4.4vh), 38px); line-height: 1.05; margin: 8px 0 10px; }
.genre > p:last-child { max-width: 23em; margin: 0 auto; padding: 0 16px; color: var(--muted); line-height: 1.5; font-size: clamp(15px, 1.15vw, 17px); }
.g-plus { max-width: 34em; margin: clamp(40px, 8vh, 80px) auto 0; text-align: center; font-size: clamp(18px, min(1.7vw, 3vh), 24px); line-height: 1.45; }
.g-plus b { color: var(--accent); font-weight: 700; }
/* biomes : quatre images collées d'un bord à l'autre, nom en grand dessous (plus d'étiquette posée sur l'image) */
#regles .biomes-head { margin: clamp(70px, 13vh, 130px) 0 clamp(20px, 4vh, 36px); }
#regles .biomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 0; }
#regles .biome { border-radius: 0; background: none; text-align: center; grid-column: auto !important; grid-row: auto !important; }
#regles .biome img { aspect-ratio: 3 / 4; height: auto; display: block; }
#regles .biome:hover img { transform: none; filter: saturate(1.1); }
#regles .biome figcaption { position: static; padding: 16px 10px 0; background: none; color: var(--text); display: grid; gap: 4px; }
#regles .biome figcaption b { font-size: clamp(18px, min(1.8vw, 3.2vh), 28px); }
#regles .biome figcaption span { color: var(--muted); font-size: 14px; }
.f2p { margin: clamp(56px, 10vh, 100px) auto 0; text-align: center; font-size: clamp(17px, min(1.5vw, 2.8vh), 21px); color: var(--muted); }
.f2p b { display: block; font-family: var(--display); font-weight: 400; color: var(--text); font-size: clamp(28px, min(3.4vw, 6vh), 54px); line-height: 1.05; margin-bottom: 8px; }
/* Participer : le barème en une ligne, les récompenses en piste */
.bareme { list-style: none; padding: 0; margin: 0 0 clamp(36px, 6vh, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bareme li { padding: clamp(18px, 3vh, 28px) 12px; }
.bareme li + li { border-left: 1px solid var(--line); }
.bareme b { font-family: var(--display); font-weight: 400; font-size: clamp(30px, min(3.2vw, 5.6vh), 50px); line-height: 1; color: var(--accent); }
.bareme span { font-family: var(--display); font-size: 15px; margin-left: 4px; color: var(--accent); }
.bareme p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.bareme .bx b { color: var(--text); font-size: clamp(22px, min(2.2vw, 4vh), 34px); display: block; padding-top: clamp(4px, .8vw, 10px); }
.recomp { margin-top: clamp(56px, 10vh, 96px); text-align: center; }
.recomp .sub-title { margin-bottom: clamp(22px, 4vh, 36px); }
.recomp .gains { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: g; }
.recomp .gains::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px; background: var(--line); }
.recomp .gains li { display: block; padding: 0 14px; border: 0; position: relative; text-align: center; }
.recomp .gains i { display: block; width: 20px; height: 20px; margin: 0 auto 16px; background: #fff; border: 2px solid var(--line-2); position: relative; }
.recomp .gains b { display: block; font-size: clamp(22px, 2vw, 30px); margin-bottom: 6px; }
.recomp .gains b::after { content: " pts"; font-size: .5em; }
.recomp .gains strong { font-size: 17px; margin-bottom: 4px; }
.recomp .gains span { font-size: 14px; max-width: 17em; margin: 0 auto; }
.recomp .gains li { display: flex; flex-direction: column; }
.recomp .gains li > i { order: -1; }
.nom-opts { display: none; }
/* Boutique : quatre rayons, centrés */
.shop { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; border-top: 1px solid var(--line); }
.shop li { padding: clamp(26px, 4.6vh, 44px) clamp(12px, 1.6vw, 24px) 0; }
.shop li + li { border-left: 1px solid var(--line); }
.shop b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(22px, min(2.1vw, 3.8vh), 32px); line-height: 1.08; margin-bottom: 12px; }
.shop li:nth-child(odd) b { color: var(--accent); }
.shop p { color: var(--muted); line-height: 1.5; font-size: 15.5px; max-width: 19em; margin: 0 auto; }
#economie .eco-note { text-align: center; margin: clamp(40px, 7vh, 70px) auto 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--text); max-width: 34em; }
/* photos de profil réelles */
.av.ph { background: #e4e4e0; overflow: hidden; }
.av.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Hier : tout centré, sur ordi comme sur téléphone */
#hier .crowd { text-align: center; }
#hier .crowd-stats { justify-content: center; }
#hier .crowd-wall { justify-content: center; max-width: 1000px; margin: 0 auto; }
#hier .crowd-wall .av { --s: clamp(40px, min(3.6vw, 6vh), 56px); }
@media (max-width: 760px) {
  .genres { grid-template-columns: 1fr; gap: 44px; }
  .genre figure { aspect-ratio: 16 / 11; }
  #regles .biomes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .bareme { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bareme li:nth-child(3) { border-left: 0; }
  .bareme li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .recomp .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
  .recomp .gains::before { display: none; }
  .shop { grid-template-columns: 1fr; }
  .shop li + li { border-left: 0; border-top: 1px solid var(--line); }
  .shop li { padding-bottom: 26px; }
  #hier .crowd-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
  #hier .crowd-wall .av { --s: 40px; }
}
/* V16 accueil : nouvelle affiche « tout le jeu », plus de décalage de l'image (V15d) ; écrans larges et bas : affiche extra-large dédiée */
@media (min-width: 1100px) and (min-aspect-ratio: 4/5) {
  .hero-art img { width: 100%; height: 100%; margin: 0; object-position: 50% 50%; }
}
@media (min-width: 1100px) and (min-aspect-ratio: 19/10) {
  .hero { aspect-ratio: 2560 / 1000; }
  .hero-text { top: 4%; width: 30vw; }
  .hero-title { font-size: 3.5vw; }
  .hero-lead { font-size: max(13px, .86vw); margin-top: .8vw; }
  .hero-actions { margin-top: 1vw; }
}
/* V16 b : images moins hautes (le texte reste à l'écran), gagnants du mur marqués d'un liseré orange */
.genre figure { aspect-ratio: 4 / 3; max-height: 56vh; }
#regles .biome img { aspect-ratio: 1 / 1; max-height: 50vh; object-fit: cover; }
#hier .crowd-wall .av.win { padding: 3px; background: var(--accent); }
#hier .crowd-wall .av.win img { clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%); }
@media (max-width: 760px) { .genre figure { aspect-ratio: 16 / 11; max-height: none; } #regles .biome img { max-height: none; } }
.arm-n { display: none; }

/* ===================== V17 (16/11) : retours d'Hugo sur la V16 ===================== */
/* Accueil : deux boutons de jeu vidéo (touche en relief qui s'enfonce), même hauteur, même typo d'enseigne */
.hero-actions { gap: clamp(10px, 1vw, 16px); }
.hb { --b: #b8320c; display: inline-flex; align-items: center; gap: 12px; height: clamp(44px, min(3.6vw, 7.4vh), 58px); padding: 0 clamp(18px, 1.8vw, 28px); border: 0; border-radius: 10px; cursor: pointer; text-decoration: none;
  font-family: var(--display); font-weight: 400; font-size: clamp(13px, min(1.05vw, 2.2vh), 17px); letter-spacing: .02em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  box-shadow: 0 5px 0 var(--b), 0 14px 26px -10px rgba(0, 0, 0, .45); transform: translateY(0); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s; }
.hb:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--b), 0 18px 30px -10px rgba(0, 0, 0, .45); }
.hb:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--b), 0 6px 12px -6px rgba(0, 0, 0, .4); }
.hb-main { background: var(--accent); color: #fff; }
.hb-main svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.hb-main:hover svg { transform: translateY(3px); }
.hb-play { --b: #000; background: #15171a; color: #fff; padding-left: 8px; }
.hb-play .play { width: clamp(30px, min(2.5vw, 5vh), 40px); height: clamp(30px, min(2.5vw, 5vh), 40px); border-radius: 7px; background: var(--accent); display: grid; place-items: center; flex: none; }
.hb-play .play::after { content: ""; border-left: 10px solid #fff; border-top: 6.5px solid transparent; border-bottom: 6.5px solid transparent; margin-left: 3px; }
@media (max-width: 640px) { .hero-actions { flex-wrap: wrap; justify-content: center; } .hb { height: 46px; font-size: 13px; padding: 0 16px; } .hb-play { padding-left: 7px; } }

/* Nom du jeu : champ et bouton centrés */
.nom { text-align: center; }
.nom-prop { margin: 14px auto 0; justify-content: center; max-width: 460px; }
.nom-prop input { text-align: center; }

/* Armes : la liste de ce qui arrive, en typo, centrée */
.arm-plus { text-align: center; margin: clamp(56px, 10vh, 96px) auto 0; max-width: 900px; }
.arm-plus .sub-title { margin-bottom: clamp(16px, 3vh, 26px); }
.ap-list { font-family: var(--display); font-size: clamp(17px, min(1.7vw, 3.2vh), 26px); line-height: 1.55; color: var(--text); text-wrap: balance; }
.ap-list i { display: inline-block; width: 7px; height: 7px; background: var(--accent); margin: 0 .55em; vertical-align: .22em; transform: rotate(45deg); }
.arm-plus .head-sub { margin: clamp(14px, 2.4vh, 22px) auto 0; }

/* Avatar : le perso au centre, les réglages dessous, centrés */
.ava { text-align: center; }
.ava-stage { position: relative; height: clamp(320px, 52vh, 520px); max-width: 720px; margin: 0 auto; touch-action: pan-y; cursor: grab; }
.ava-tag { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); font-family: var(--display); font-size: 14px; color: var(--accent); pointer-events: none; }
.ava-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vh, 26px) clamp(14px, 2vw, 30px); margin: clamp(16px, 3vh, 28px) auto 0; max-width: 1100px; }
.ao p { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.ao-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ao-b button { border: 1px solid var(--line-2); background: #fff; color: var(--text); font: 600 13.5px/1 var(--font); padding: 9px 12px; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ao-b button:hover { border-color: var(--text); }
.ao-b button.on { background: var(--text); color: #fff; border-color: var(--text); }
.ao-c { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.aoc { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); transition: transform .2s var(--ease); }
.aoc:hover { transform: scale(1.12); }
.aoc.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
.ava-bot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: clamp(20px, 3.4vh, 32px); flex-wrap: wrap; }
.ava-note { font-size: 13px; color: var(--faint); }
@media (max-width: 900px) { .ava-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ava-opts { grid-template-columns: 1fr; } .ava-stage { height: 340px; } }

/* Boutique : une petite devanture (store rayé) au-dessus de quatre vitrines */
#economie .shop-front { max-width: 1200px; margin: 0 auto; }
.shop-store { height: 34px; background: repeating-linear-gradient(90deg, var(--accent) 0 60px, #fff 60px 120px); border: 2px solid #15171a; border-bottom: 0; position: relative; }
.shop-store::after { content: ""; position: absolute; left: -2px; right: -2px; top: 100%; height: 16px;
  background: radial-gradient(circle at 30px 0, var(--accent) 0 29px, transparent 30px) 0 0 / 120px 16px repeat-x, radial-gradient(circle at 90px 0, #fff 0 29px, transparent 30px) 0 0 / 120px 16px repeat-x;
  filter: drop-shadow(0 2px 0 #15171a); }
.shop { border: 2px solid #15171a; border-top: 0; background: #15171a; gap: 2px; padding: 26px 0 0; }
.shop li { background: #fff; padding: clamp(28px, 4.6vh, 44px) clamp(14px, 1.6vw, 24px) clamp(24px, 4vh, 36px); display: flex; flex-direction: column; align-items: center; }
.shop li + li { border-left: 0; }
.shop b { font-size: clamp(19px, min(1.75vw, 3.4vh), 28px); overflow-wrap: anywhere; hyphens: auto; text-wrap: balance; max-width: 100%; }
.sh-ic { display: grid; place-items: center; width: 84px; height: 58px; margin-bottom: 16px; border-radius: 10px; background: #f4f2ec; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .06); }
.sh-ic svg { width: 52px; height: 34px; fill: none; stroke: #15171a; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.shop li:nth-child(odd) .sh-ic svg { stroke: var(--accent); }
@media (max-width: 760px) { .shop { grid-template-columns: 1fr 1fr; } .shop li:nth-child(n+3) { border-top: 0; } }
@media (max-width: 480px) { .shop { grid-template-columns: 1fr; } .shop li + li { border-top: 0; } }
/* Île V17 : coucher de soleil sur une mer sombre, étiquettes claires */
.stage-map { background: #24425a; }
.stage-map .pin .p-card, .stage-map .zone-lbl b, .map-full .pin .p-card, .map-full .zone-lbl b { color: #fff; }
.stage-map .zone-lbl span, .map-full .zone-lbl span { color: var(--c, #e8eef0); }
.stage-map .zone-abo span, .map-full .zone-abo span { color: #ffd9b8; }
.stage-map .pin .p-card, .stage-map .zone-lbl, .map-full .pin .p-card, .map-full .zone-lbl { text-shadow: 0 1px 6px rgba(0, 0, 0, .9), 0 0 14px rgba(0, 0, 0, .55) !important; }
.map-overlay { background: #24425a; }
@media (min-width: 641px) { .hero .hero-actions { flex-wrap: nowrap; } }
.ava-tag { top: auto; bottom: 1%; }
.shop { padding: 0; }
.shop-store { z-index: 1; }
.shop li { padding-top: clamp(40px, 6vh, 56px); }
.shop-store::after { height: 18px; }
.genre:nth-child(1) img, .genre:nth-child(2) img { object-position: 50% 50%; }
.aoc { width: 25px; height: 25px; } .ao-c { gap: 7px; }
/* 8 armes : onglets sur deux colonnes pour garder les skins à l'écran sur les formats bas */
.arm-tabs { grid-template-columns: 1fr 1fr; column-gap: 18px; }
.arm-tab { font-size: clamp(14px, 1.25vw, 18px); padding: 8px 0; }
/* V18 : avatar = scène 3D à gauche (grande), réglages à droite ; espèces en tuiles */
.ava { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 48px); align-items: center; text-align: left; max-width: 1180px; margin: 0 auto; }
.ava-stage { height: clamp(420px, 72vh, 680px); max-width: none; width: 100%; margin: 0; background: radial-gradient(ellipse at 50% 92%, #ece8de 0 30%, transparent 62%); }
.ava-tag { top: auto; bottom: 2%; }
.ava-esp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: clamp(14px, 2.4vh, 22px); }
.ava-esp button { border: 2px solid #15171a; background: #fff; color: #15171a; font: 400 clamp(11px, .95vw, 14px)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; padding: 12px 2px; cursor: pointer; transition: background .2s, color .2s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.ava-esp button:hover { background: #f4f2ec; }
.ava-esp button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.ava-opts { display: flex; flex-direction: column; gap: clamp(9px, 1.5vh, 14px); margin: 0; max-width: none; }
.ao { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 10px; }
.ao[hidden] { display: none; }
.ao p { margin: 0; font-size: 11px; }
.ao-b, .ao-c { justify-content: flex-start; }
.ao-b button { padding: 8px 10px; font-size: 13px; }
.ao-b button[hidden] { display: none; }
.ava-bot { justify-content: flex-start; margin-top: clamp(14px, 2.4vh, 24px); }
@media (max-width: 900px) {
  .ava { grid-template-columns: 1fr; }
  .ava-stage { height: clamp(360px, 56vh, 480px); }
  .ava-esp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ava-opts { grid-template-columns: none; }
}
@media (max-width: 480px) { .ao { grid-template-columns: 1fr; gap: 6px; } .ava-stage { height: 380px; } }
.ava-opts { gap: 8px; }
.ao { grid-template-columns: 96px minmax(0, 1fr); }
.ao-b { gap: 5px; }
.ao-b button { padding: 7px 9px; font-size: 12.5px; }
.aoc { width: 23px; height: 23px; } .ao-c { gap: 6px; }
.ava-esp button { padding: 10px 2px; }
.ava-stage { height: clamp(420px, 76vh, 680px); }

/* ---------- V18 : check-up (petits bugs) ---------- */
/* menu replié sous 1100 px */
.nav-btn { display: none; width: 44px; height: 40px; margin-left: 10px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-btn i { display: block; width: 20px; height: 2px; background: #15171a; transition: transform .25s, opacity .25s; }
.nav-ouvert .nav-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ouvert .nav-btn i:nth-child(2) { opacity: 0; }
.nav-ouvert .nav-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) {
  .nav-btn { display: flex; }
  .topbar .btn-sm { margin-left: auto; }
  .nav-ouvert .nav { display: flex; flex-direction: column; gap: 0; position: fixed; top: var(--bar, 60px); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 18px 30px rgba(0, 0, 0, .08); padding: 6px var(--gut) 14px; z-index: 60; }
  .nav-ouvert .nav a { padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav-ouvert .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .topbar .btn-sm { padding-inline: 12px; font-size: 13px; } .logo-tag { display: none; } }
/* nom de l'arme derrière l'arme : reste dans sa zone */
.arm-stage { overflow: hidden; }
.arm-big { font-size: clamp(40px, 6.4vw, 112px); max-width: 100%; }
/* armes à venir : un nom n'est jamais coupé */
.ap-list span { white-space: nowrap; }
.nw { white-space: nowrap; }
/* notes « Démo » centrées comme leur bloc */
#participer .demo-note { text-align: center; }
/* titres : pas de mot seul en fin de ligne */
h2, h3, .sub-title { text-wrap: balance; }
/* skins à venir : fondu sur les bords au lieu d'une coupe nette */
.avenir-rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
/* boutique : 8 bandes, calées sur les 4 vitrines */
.shop-store { background: repeating-linear-gradient(90deg, var(--accent) 0 12.5%, #fff 12.5% 25%); }
.shop-store::after { background: radial-gradient(ellipse 25% 100% at 25% 0, var(--accent) 0 96%, transparent 100%) 0 0 / 25% 18px repeat-x, radial-gradient(ellipse 25% 100% at 75% 0, #fff 0 96%, transparent 100%) 0 0 / 25% 18px repeat-x; }
/* légende sous la carte : de l'air */
.paliers { margin-top: clamp(22px, 3.4vh, 34px); }
/* formulaire e-mail : mêmes coins que le reste */
@media (max-width: 640px) { .notify { border-radius: 2px; } }
/* étiquettes de zones de l'île : pastille sombre, lisibles sur la ville comme sur la montagne */
.stage-map .zone-lbl, .map-full .zone-lbl { background: rgba(12, 16, 22, .62); padding: 7px 11px 6px; border-radius: 3px; }
/* téléphone : logo + menu seulement (Participer est dans le menu) */
@media (max-width: 480px) { .topbar .btn-sm { display: none; } .nav-btn { margin-left: auto; } }

/* 17/11 : le canvas de l'avatar n'avait pas de taille CSS : sur écran Retina il s'affichait 1,75x trop grand et débordait */
.ava-stage canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* vitrine en ligne */
.vt-liens { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: clamp(18px, 3vh, 28px) 0; }
.vt-bareme { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .vt-bareme { grid-template-columns: 1fr; } .vt-bareme li + li { border-left: 0; border-top: 1px solid var(--line); } }
.legal { margin-top: 10px; } .legal summary { cursor: pointer; } .legal p { margin-top: 8px; max-width: 70ch; }
