/* Pegasus — the website. One stylesheet for the landing page, the download page, the launcher bridge and the wiki.
   Palette: Pegasus night — deep night and ocean blues for the ground, parchment-white text, brass for the accent
   (buttons, numbers, the mark) and a sky blue for links and the rain. Never purple or violet.
   No gradient text, no glow blobs, no frosted cards everywhere: panels are solid night-blue with a hairline.
   The only artwork is the game's own map (img/hero-scene.jpg); everything else is CSS, SVG or canvas.
   The launcher (lane-launcher2) mirrors these tokens: keep lane-scratch/site-shots/PALETTE.md in step. */
:root {
  color-scheme: dark;
  /* ground: night and ocean blues */
  --void: #050a14;
  --void-2: #0a1426;
  --void-3: #0f1d35;
  --panel: rgba(10, 20, 38, 0.78);
  --panel-2: rgba(7, 14, 28, 0.82);
  --panel-solid: #0c182c;
  --panel-hi: rgba(20, 38, 66, 0.8);
  --line: rgba(150, 190, 240, 0.13);
  --line-strong: rgba(150, 190, 240, 0.26);
  /* text */
  --text: #eaf1fb;
  --text-2: #d3deed;
  --muted: #a3b4cc;
  --faint: #7486a3;
  /* brass, the accent */
  --accent: #d4a24c;
  --accent-2: #ecc97f;
  --accent-3: #9c7131;
  --gold: #d9b064;
  --gold-2: #f0d9a0;
  --on-accent: #1a1206;
  /* Pegasus blue: links, kickers, the rain */
  --blue: #5aa9ff;
  --blue-2: #9fd0ff;
  --blue-3: #1d5fb8;
  --rain: #8cc4ff;
  --teal: var(--blue-2);   /* old name, still read by the wiki callouts */
  --cyan: var(--blue);
  --ok: #7fd19b;
  --bad: #ec8573;
  /* the five item ranks: these mean something in game, so they keep the game's colours */
  --r0: #bcb6ab; --r1: #6fd6a0; --r2: #62a8ff; --r3: #c07bff; --r4: #ffb24d;
  --radius: 10px;
  --radius-lg: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --head-h: 64px;
  --veil: .8;
  --serif: "Cinzel", Georgia, "Times New Roman", serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; background: var(--void); }
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--blue-2); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: #fff; }
::selection { background: rgba(90, 169, 255, .32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.skip:focus { top: 12px; }

/* ================================================= the sky: the game's map at night, drifting, under the rain =================================================
   .sky::before  the scene, graded to night blue; Ken Burns drift (CSS) + parallax (rain.js sets --par-x/--par-y)
   .sky::after   the veil that keeps text readable; thin over the hero, thick under the content (--veil)
   canvas.rain   the Pegasus rain, added by rain.js right after .sky */
.sky {
  position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 60% at 50% 0%, #10284a 0%, transparent 70%), linear-gradient(180deg, var(--void-2), var(--void));
}
.sky::before {
  content: ""; position: absolute; inset: -7%;
  background:
    linear-gradient(180deg, rgba(40, 90, 170, .5), rgba(14, 40, 92, .66)),
    url("/img/hero-scene.jpg") center 42% / cover no-repeat;
  background-blend-mode: multiply, normal;
  filter: saturate(.85) brightness(.9);
  translate: var(--par-x, 0px) var(--par-y, 0px);
  transform-origin: 58% 45%;
  animation: kenburns 70s ease-in-out infinite alternate;
  will-change: transform;
}
.sky::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 38%, transparent 25%, rgba(3, 7, 15, .75) 100%),
    linear-gradient(180deg, rgba(5, 10, 20, .35) 0%, rgba(5, 10, 20, 0) 30%, rgba(5, 10, 20, .6) 100%),
    rgba(5, 10, 20, var(--veil));
  transition: background-color .2s linear;
}
@keyframes kenburns {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  50%  { transform: scale(1.1) translate3d(-1.6%, -1%, 0); }
  100% { transform: scale(1.16) translate3d(1.2%, -2.2%, 0); }
}
.rain { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.sky--hero { --veil: .3; }
.no-js .sky--hero { --veil: .62; }
.sky--dim::after { --veil: .86; }
.sky--dim::before { filter: saturate(.7) brightness(.8) blur(1.5px); }
body[data-rain="soft"] .sky::after { --veil: .88; }

/* ================================================= header ================================================= */
.top {
  position: sticky; top: 0; z-index: 50;
  height: var(--head-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(5, 10, 20, .7), rgba(5, 10, 20, .35));
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.top.is-scrolled { border-bottom-color: var(--line); background: rgba(5, 10, 20, .86); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: 0; transition: opacity .3s;
  background: linear-gradient(90deg, transparent, rgba(212, 162, 76, .55) 30%, rgba(90, 169, 255, .45) 70%, transparent); }
.top.is-scrolled::after { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; flex: none; }
.brand-mark { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-name { font: 700 19px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.brand:hover { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 13px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s, background .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--text); }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(10, 20, 38, .6); color: var(--text); cursor: pointer; }
.menu-btn svg { margin: auto; }

/* ================================================= buttons ================================================= */
.btn {
  --b: var(--line-strong);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 8px;
  border: 1px solid var(--b); background: rgba(12, 26, 48, .72);
  color: var(--text); font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), border-color .2s, background .2s, color .2s;
}
.btn::after {   /* a sheen that crosses the button on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: #fff; border-color: var(--blue-2); background: rgba(22, 48, 86, .8); transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { border-color: var(--accent); color: var(--on-accent); font-weight: 600; background: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .45), inset 0 -2px 0 rgba(90, 60, 20, .35), 0 6px 18px rgba(0, 0, 0, .35); }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
/* Le bandeau d'offre (site.js, cfg.promo) : une ligne, laiton sur fond sombre, sans halo ni dégradé. */
.promo-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; padding: 9px 16px; background: rgba(60, 44, 18, .92); border-bottom: 1px solid rgba(212, 162, 76, .45); color: var(--gold-2); font-size: .92rem; line-height: 1.35; text-align: center; }
.promo-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.promo-bar a:hover { color: var(--gold-2); }
.btn-gold { border-color: rgba(212, 162, 76, .55); color: var(--gold-2); }
.btn-gold:hover { border-color: var(--gold-2); color: #fff; background: rgba(60, 44, 18, .55); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn[aria-disabled="true"]::after, .btn[disabled]::after { display: none; }
/* Discord: the community's door, in Pegasus blue (nav + hero) */
.btn-discord { border-color: rgba(90, 169, 255, .6); background: rgba(29, 95, 184, .42); color: #fff; }
.btn-discord:hover { border-color: var(--blue-2); background: rgba(40, 115, 210, .6); }
.nav .nav-discord { display: inline-flex; align-items: center; gap: 7px; margin: 0 6px 0 4px; padding: 7px 13px; border: 1px solid rgba(90, 169, 255, .5); border-radius: 8px; background: rgba(29, 95, 184, .3); color: var(--text); }
.nav .nav-discord svg { width: 16px; height: 16px; color: var(--blue-2); }
.nav a.nav-discord::after { display: none; }
.nav .nav-discord:hover { border-color: var(--blue-2); background: rgba(40, 115, 210, .5); color: #fff; }
.nav .nav-discord[aria-disabled="true"] { opacity: .6; }

/* ================================================= layout helpers ================================================= */
main { position: relative; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--blue-2); font-size: 12.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; }
.kicker::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--accent); background: rgba(212, 162, 76, .25); }
.center .kicker::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--accent); background: rgba(212, 162, 76, .25); }
h1, h2, h3 { text-wrap: balance; }
h2 { margin: 0; font: 700 clamp(30px, 4.6vw, 48px)/1.12 var(--serif); letter-spacing: .02em; color: var(--text); }
h2 .glow { color: var(--gold-2); }
.lede { margin: 16px 0 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 18px); }
.muted { color: var(--muted); }

/* the one card surface: solid night-blue, a hairline, a brass catch-light on top */
.glass, .tile, .rung, .stat, .cat, .steps li, .spec, .cta {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 28, 52, .86), rgba(7, 15, 30, .86));
  box-shadow: inset 0 1px 0 rgba(236, 201, 127, .09), 0 18px 50px rgba(0, 0, 0, .3);
}
.glass { position: relative; border-radius: var(--radius-lg); }

/* reveal on scroll. Content is visible by default: only once fx.js / wiki.js have their observer running do they put
   .reveal-on on <html>, and only then does an element wait (hidden) until it scrolls in and gets .is-in.
   No JS, an old cached script, a script error, or reduced motion: everything simply shows. */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(24px); }

/* ================================================= hero ================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--head-h));
  display: grid; place-items: center;
  padding: clamp(48px, 8vh, 96px) var(--gutter) clamp(90px, 12vh, 130px);
  text-align: center; overflow: hidden;
}
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 42% at 50% 46%, rgba(4, 9, 18, .62), transparent 100%), linear-gradient(180deg, transparent 72%, rgba(5, 10, 20, .8) 100%); }
.hero-inner { position: relative; max-width: 900px; }
.ring { position: absolute; left: 50%; top: 50%; width: min(760px, 118vw); aspect-ratio: 1; transform: translate(-50%, -54%); z-index: -1; pointer-events: none; opacity: .85; }
.ring .spin { transform-origin: 50% 50%; animation: spin 120s linear infinite; }
.ring .spin-rev { transform-origin: 50% 50%; animation: spin 180s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-mark { width: 64px; height: 64px; margin: 0 auto 18px; animation: mark-in 1.4s var(--ease) both; }
@keyframes mark-in { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(212, 162, 76, .45); background: rgba(8, 16, 32, .7); color: var(--gold-2); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); }
.wordmark {
  margin: 0; font: 700 clamp(58px, 14vw, 164px)/.95 var(--serif); letter-spacing: .09em; text-transform: uppercase;
  color: #f2f6fc; padding-left: .09em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .5), 0 8px 40px rgba(2, 6, 14, .85);
  animation: rise 1.2s var(--ease) .1s both;
}
.wordmark-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px auto 0; max-width: 460px; color: var(--accent); animation: rise 1.2s var(--ease) .25s both; }
.wordmark-rule::before, .wordmark-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 162, 76, .8)); }
.wordmark-rule::after { background: linear-gradient(270deg, transparent, rgba(212, 162, 76, .8)); }
.wordmark-rule svg { width: 14px; height: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.tagline { margin: 18px auto 0; max-width: 640px; color: var(--text-2); font-size: clamp(17px, 2.2vw, 21px); line-height: 1.55; text-shadow: 0 2px 16px rgba(2, 6, 14, .9); animation: rise 1.2s var(--ease) .35s both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.hero .hero-actions { animation: rise 1.2s var(--ease) .45s both; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(5, 10, 20, .7); color: var(--muted); font-size: 14px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s ease-in-out infinite; }
.status[data-state="online"] .dot { background: var(--ok); }
.status[data-state="offline"] .dot { background: var(--bad); animation: none; }
@keyframes pulse { 50% { opacity: .35; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; }
.scroll-cue span { width: 1px; height: 38px; background: linear-gradient(var(--blue-2), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ================================================= marquee ================================================= */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(5, 11, 22, .82);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll-x 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; margin: 0; padding: 18px 0; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 14px; padding: 0 26px; white-space: nowrap; color: var(--muted); font-size: 15px; }
.marquee li b { color: var(--gold-2); font: 700 17px/1 var(--serif); letter-spacing: .04em; }
.marquee li::after { content: "✦"; margin-left: 26px; color: var(--blue); opacity: .8; font-size: 11px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ================================================= feature bento ================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; grid-column: span 2;
  padding: 26px 24px 24px; border-radius: var(--radius-lg);
  transition: border-color .3s, transform .35s var(--ease), opacity .9s var(--ease);
}
.tile::before {   /* a little moonlight follows the cursor */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(90, 169, 255, .09), transparent 45%);
}
.tile:hover { border-color: rgba(159, 208, 255, .35); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile.wide { grid-column: span 3; }
.tile.hero-tile { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px;
  background: radial-gradient(80% 70% at 85% 5%, rgba(29, 95, 184, .35), transparent 60%), linear-gradient(180deg, rgba(14, 28, 52, .9), rgba(7, 15, 30, .9)); }
.tile-icon { width: 46px; height: 46px; margin-bottom: 18px; padding: 10px; border-radius: 12px; border: 1px solid rgba(212, 162, 76, .35); background: rgba(212, 162, 76, .07); color: var(--accent-2); transition: transform .4s var(--ease), border-color .3s; }
.tile:hover .tile-icon { transform: rotate(-6deg) scale(1.06); border-color: var(--accent); }
.tile h3 { margin: 0 0 8px; font: 600 19px/1.3 var(--sans); }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-size: 14px; text-decoration: none; }
.tile .more::after { content: "→"; transition: transform .2s; }
.tile .more:hover::after { transform: translateX(3px); }
.hero-tile h3 { font: 700 clamp(26px, 3vw, 34px)/1.15 var(--serif); letter-spacing: .02em; }
.hero-tile p { font-size: 16px; max-width: 520px; }
.hero-tile .orbit { position: absolute; right: -60px; top: -60px; width: 340px; opacity: .8; animation: spin 90s linear infinite; }

/* ================================================= showcase (demos) ================================================= */
.show { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.show.flip > :first-child { order: 2; }
.show-copy ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.show-copy li { display: flex; gap: 12px; color: var(--muted); }
.show-copy li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 1px; transform: rotate(45deg); background: var(--accent); }
.show-copy li b { color: var(--text); font-weight: 500; }
.demo { padding: clamp(18px, 3vw, 28px); }
.demo-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; color: var(--faint); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* rarity picker + tooltip */
.ranks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.rank-btn { --c: var(--r0); padding: 11px 6px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
  background: color-mix(in srgb, var(--c) 7%, transparent); color: var(--c); font: 500 12.5px/1.2 var(--sans); cursor: pointer; transition: all .2s; }
.rank-btn span { display: block; margin-top: 4px; color: var(--muted); font-size: 11.5px; }
.rank-btn:hover { background: color-mix(in srgb, var(--c) 14%, transparent); transform: translateY(-1px); }
.rank-btn[aria-pressed="true"] { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, transparent); }
.tip { --c: var(--r0); border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: linear-gradient(180deg, #0f1d33, #081223);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 18px 50px rgba(0, 0, 0, .45); overflow: hidden; transition: border-color .3s; }
.tip-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), transparent); }
.tip-slot { width: 52px; height: 52px; flex: none; border-radius: 10px; display: grid; place-items: center; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: rgba(0, 0, 0, .3); color: var(--c); }
.tip-name { font-weight: 600; font-size: 17px; }
.tip-rank { color: var(--c); font-size: 13px; letter-spacing: .04em; }
.tip-lines { margin: 0; padding: 12px 18px 16px; list-style: none; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.tip-lines li { display: flex; justify-content: space-between; gap: 12px; }
.tip-lines li b { font-weight: 600; transition: color .3s; }
.tip-lines li.up b { color: var(--c); }
.tip-lines li em { color: var(--faint); font-style: normal; font-size: 13px; }
.tip-foot { padding: 10px 18px 14px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.odds { display: flex; height: 10px; margin-top: 16px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.odds i { display: block; height: 100%; }
.odds-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.odds-legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--c); }

/* brisage chart */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: rgba(150, 190, 240, .08); }
.chart .axis-label { fill: var(--faint); font: 13px var(--sans); }
.chart .curve { fill: none; stroke: url(#curveGrad); stroke-width: 2.5; stroke-linecap: round; }
.chart .area { fill: url(#areaGrad); }
.chart .knob { fill: #fff; stroke: var(--accent); stroke-width: 3; transition: cx .25s var(--ease), cy .25s var(--ease); }
.chart .floor { stroke: var(--bad); stroke-dasharray: 4 5; opacity: .6; }
.chart .hundred { stroke: var(--gold); stroke-dasharray: 3 6; opacity: .55; }
.readout { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 6px 0 16px; }
.readout-big { font: 700 clamp(38px, 6vw, 56px)/1 var(--serif); letter-spacing: .02em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.readout-small { color: var(--muted); font-size: 14px; text-align: right; }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 10px 0 2px; background: transparent; cursor: pointer; }
.slider::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent) 40%, var(--blue-3)); }
.slider::-moz-range-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent) 40%, var(--blue-3)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.slider-scale { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; }

/* forge odds */
.runes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rune { padding: 16px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(90, 169, 255, .03); text-align: center; transition: transform .3s var(--ease), border-color .3s; }
.rune:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.rune-gem { width: 44px; height: 44px; margin: 0 auto 10px; }
.rune b { display: block; font-weight: 600; }
.rune span { color: var(--muted); font-size: 13px; }
.bars { display: grid; gap: 14px; margin-top: 20px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr 76px; align-items: center; gap: 12px; font-size: 14px; }
.bar-row > span:first-child { color: var(--muted); }
.bar-row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.bar { position: relative; height: 10px; border-radius: 999px; background: rgba(150, 190, 240, .08); overflow: hidden; }
.bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--blue-3), var(--blue)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.is-in .bar i { transform: scaleX(1); }
.bar.gold i { background: linear-gradient(90deg, var(--accent-3), var(--accent-2)); }
.bar.cyan i { background: linear-gradient(90deg, #2f6fb0, var(--blue-2)); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(127, 209, 155, .35); background: rgba(127, 209, 155, .08); color: var(--ok); font-size: 13px; }
.ateliers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ateliers span { padding: 6px 11px; border-radius: 8px; border: 1px solid var(--line); background: rgba(8, 16, 32, .7); color: var(--muted); font-size: 13px; }

/* prestige ladder */
.ladder { mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); scrollbar-color: var(--line-strong) transparent;
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 14px; overflow-x: auto; padding: 8px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ladder::-webkit-scrollbar { height: 8px; } .ladder::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
.rung { scroll-snap-align: start; position: relative; padding: 20px 18px 18px; border-radius: var(--radius-lg); transition: border-color .3s, transform .3s var(--ease); }
.rung:hover { border-color: rgba(212, 162, 76, .45); transform: translateY(-3px); }
.rung-num { font: 700 30px/1 var(--serif); color: var(--gold-2); }
.rung h4 { margin: 10px 0 10px; font-size: 15.5px; font-weight: 600; line-height: 1.35; min-height: 42px; }
.rung dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; margin: 0; font-size: 13px; }
.rung dt { color: var(--faint); } .rung dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.rung .bonus { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ok); font-size: 13px; }

/* songes intensities */
.dream { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-top: 24px; }
.dream div { position: relative; height: 150px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: rgba(90, 169, 255, .03); }
.dream div::before { content: ""; position: absolute; inset: auto 0 0; height: var(--h); background: linear-gradient(180deg, var(--c1), var(--c2)); opacity: .85; transition: height 1.2s var(--ease); }
.dream div span { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 11.5px; color: #fff; text-shadow: 0 1px 6px #000; }
.dream-fam { margin: 4px 0 0; padding-top: 6px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; }
.dream div span { font-family: var(--serif); font-size: 13px; }
.rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rooms span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 16, 32, .7); font-size: 14px; }
.rooms span i { font-style: normal; color: var(--gold-2); }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 26px 22px; border-radius: var(--radius-lg); text-align: center; }
.stat b { display: block; font: 700 clamp(34px, 5vw, 50px)/1 var(--serif); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* wiki teaser */
.wiki-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 30px; padding: 6px 6px 6px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(5, 11, 22, .85); transition: border-color .2s; }
.wiki-search:focus-within { border-color: var(--blue-2); }
.wiki-search svg { width: 18px; height: 18px; color: var(--faint); flex: none; }
.wiki-search input { flex: 1; min-width: 0; padding: 10px 0; border: 0; background: transparent; color: var(--text); font: 400 16px var(--sans); outline: none; }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-lg); text-decoration: none; color: var(--text); transition: border-color .25s, transform .3s var(--ease), opacity .9s var(--ease); }
.cat:hover { border-color: rgba(159, 208, 255, .38); transform: translateY(-3px); color: var(--text); }
.cat svg { width: 36px; height: 36px; flex: none; padding: 7px; border-radius: 10px; border: 1px solid rgba(212, 162, 76, .3); background: rgba(212, 162, 76, .07); color: var(--accent-2); }
.cat b { display: block; font-weight: 600; }
.cat span { display: block; margin-top: 3px; color: var(--muted); font-size: 14px; }

/* changelog */
.timeline { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--blue-3) 60%, transparent); }
.timeline li { position: relative; padding: 0 0 22px; }
.timeline li::before { content: ""; position: absolute; left: -26px; top: 8px; width: 12px; height: 12px; transform: rotate(45deg); border: 2px solid var(--accent-2); background: var(--void); }
.timeline .when { color: var(--gold); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 600; }
.timeline p { margin: 0; color: var(--muted); }
.tag { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold-2); font-size: 11.5px; letter-spacing: .06em; vertical-align: 2px; }
.tag.new { border-color: rgba(127, 209, 155, .4); color: var(--ok); }
.tag.fix { border-color: rgba(98, 168, 255, .45); color: var(--r2); }

/* how to play */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); counter-increment: s; transition: border-color .3s, transform .35s var(--ease), opacity .9s var(--ease); }
.steps li:hover { border-color: rgba(212, 162, 76, .4); }
.steps li::before { content: counter(s, upper-roman); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; border: 1px solid var(--accent); background: rgba(212, 162, 76, .08); color: var(--gold-2); font: 700 17px/1 var(--serif); }
.steps h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* call to action */
.cta { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 70px); border-radius: var(--radius-lg); text-align: center;
  border-color: rgba(212, 162, 76, .35);
  background: radial-gradient(70% 90% at 50% 0%, rgba(29, 95, 184, .4), transparent 70%), linear-gradient(180deg, rgba(12, 26, 50, .92), rgba(6, 12, 26, .92)); }
.cta h2 { font-size: clamp(28px, 4vw, 42px); }
.cta p { max-width: 560px; margin: 14px auto 0; color: var(--muted); }
.cta .hero-actions { margin-top: 28px; }

/* ================================================= footer ================================================= */
.foot { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 10, 20, .9), rgba(3, 6, 13, .97)); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(212, 162, 76, .5) 30%, rgba(90, 169, 255, .4) 70%, transparent); }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 12px; color: var(--gold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot a:hover { color: var(--text); }
.foot p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 320px; }
.foot .legal { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter) 30px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }

/* ================================================= account dialog ================================================= */
.auth {
  width: min(430px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-x: hidden; overflow-y: auto;
  padding: 32px 28px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #10203a, #081223); color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(236, 201, 127, .12);
}
.auth[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.auth::backdrop { background: rgba(2, 5, 12, .74); backdrop-filter: blur(4px); }
.auth h2 { font-size: 26px; margin-bottom: 18px; }
.auth-close { position: absolute; top: 10px; right: 10px; margin: 0; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.icon-btn:hover { color: var(--text); background: rgba(150, 190, 240, .1); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: rgba(150, 190, 240, .07); }
.tab { padding: 10px 0; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px/1 var(--sans); cursor: pointer; transition: color .2s, background .2s; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(5, 11, 22, .7); color: var(--text); font: 400 15px/1.2 var(--sans); transition: border-color .2s, box-shadow .2s; }
.form input:focus { border-color: var(--blue-2); outline: none; box-shadow: 0 0 0 3px rgba(90, 169, 255, .2); }
.linkish { justify-self: center; border: 0; background: none; color: var(--blue-2); font: 400 14px/1 var(--sans); cursor: pointer; text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* the word « ou » (2 letters) is below the dictionary's 3-letter floor: the translated word comes from the page language */
:root[lang="en"] .divider span, :root[lang="es"] .divider span { font-size: 0; }
:root[lang="en"] .divider span::after { content: "or"; font-size: 13px; }
:root[lang="es"] .divider span::after { content: "o"; font-size: 13px; }
.msg { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; text-align: center; color: var(--muted); }
.msg[data-tone="error"] { color: var(--bad); }
.msg[data-tone="ok"] { color: var(--ok); }
/* the optional e-mail verification and its Ogrines (app.js renderVerify) */
.verify { margin: 4px 0 18px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(5, 11, 22, .55); }
.verify-state { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.verify-state strong { color: var(--accent-2); font-weight: 600; }
.verify[data-state="done"] .verify-state { color: var(--ok); }
.verify-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.verify-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 12px; }
.verify-actions .linkish { justify-self: start; }

/* ================================================= responsive ================================================= */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.hero-tile { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .show, .show.flip { grid-template-columns: 1fr; }
  .show.flip > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; top: var(--head-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 18px;
    background: rgba(5, 10, 20, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s var(--ease); }
  .nav.is-open { transform: none; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav a:not(.btn)::after { left: 14px; right: auto; width: 24px; bottom: 6px; }
  .nav .btn { margin-top: 8px; }
  .nav .nav-discord { margin: 6px 0 0; padding: 12px 14px; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .dream { grid-template-columns: repeat(5, 1fr); }
  .dream div { height: 110px; }
  .ranks { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .rank-btn { font-size: 11px; padding: 9px 2px; }
  .rank-btn span { font-size: 10.5px; }
  /* phones: no drift, no parallax, a lighter scene */
  .sky::before { animation: none; transform: scale(1.04); translate: none; inset: 0; background-position: 38% 40%; }
  .wordmark { letter-spacing: .06em; padding-left: .06em; }
  .ring { opacity: .6; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile.hero-tile { grid-column: span 1; }
  .cats { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat { padding: 20px 12px; }
  .runes { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 78px 1fr 64px; }
  .foot-inner { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .sky::before { animation: none !important; transform: scale(1.04); translate: none; }
  .rain { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ================================================= download page (/telecharger) ================================================= */
.dl-hero { min-height: auto; padding-top: clamp(56px, 9vh, 104px); padding-bottom: clamp(48px, 7vh, 84px); }
.dl-mark { width: 76px; height: 76px; margin: 0 auto 22px; }
.dl-icon { display: block; width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 8px 28px rgba(2, 6, 14, .6); }
.dl-started { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; gap: 14px; align-items: flex-start; width: min(380px, calc(100vw - 32px)); padding: 16px 40px 16px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: #0a1426; color: var(--text); text-align: left; box-shadow: 0 12px 40px rgba(2, 6, 14, .7); opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.dl-started[hidden] { display: none; }
.dl-started.on { opacity: 1; transform: none; }
.dl-started img { flex: none; width: 56px; height: 56px; border-radius: 13px; }
.dl-started p { margin: 0; }
.dl-started-title { font: 700 16px/1.2 var(--serif); letter-spacing: .04em; color: #f2f6fc; }
.dl-started-file { margin-top: 4px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.dl-started ol { margin: 10px 0 0; padding-left: 18px; font-size: 14px; }
.dl-started li + li { margin-top: 3px; }
.dl-started-warn { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.dl-started-x { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.dl-started-x:hover, .dl-started-x:focus-visible { color: #f2f6fc; background: rgba(150, 190, 240, .12); }
@media (prefers-reduced-motion: reduce) { .dl-started { transition: none; transform: none; } }
.dl-title { margin: 0; font: 700 clamp(38px, 7vw, 72px)/1.02 var(--serif); letter-spacing: .06em; color: #f2f6fc; text-shadow: 0 6px 30px rgba(2, 6, 14, .85); }
.dl-meta { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.dl-note { max-width: 620px; margin: 14px auto 0; color: var(--muted); font-size: 13.5px; }
.dl-panel { padding: clamp(8px, 2vw, 16px) clamp(12px, 3vw, 28px); border-radius: var(--radius-lg); }
.sizes { width: 100%; border-collapse: collapse; font-size: 15px; }
.sizes th, .sizes td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.sizes th { color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.sizes tbody tr { transition: background .2s; }
.sizes tbody tr:hover { background: rgba(90, 169, 255, .04); }
.sizes td.num { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--gold-2); text-align: right; width: 1%; }
.sizes td small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.sizes tr:last-child td { border-bottom: 0; }
.sizes .szbar { width: 34%; }
.sizes .szbar span { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-3), var(--blue)); min-width: 3px; }
.sizes tr.opt .szbar span { background: transparent; border: 1px solid var(--accent-2); }
.sizes tr.total td { border-bottom: 0; color: var(--text); font-weight: 600; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.spec { padding: 24px; border-radius: var(--radius-lg); }
.spec h3 { margin: 0 0 12px; font: 600 17px/1.3 var(--sans); color: var(--gold-2); }
.spec dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: 14.5px; }
.spec dt { color: var(--faint); }
.spec dd { margin: 0; color: var(--text-2); }
.dl-grid { display: grid; gap: 28px; }
@media (max-width: 760px) {
  .specs { grid-template-columns: 1fr; }
  .spec dl { grid-template-columns: 1fr; gap: 2px; }
  .spec dd { margin-bottom: 8px; }
  .sizes .szbar { display: none; }
  .sizes th, .sizes td { padding: 12px 6px; }
}
/* the launcher sign-in bridge (/launcher-login) */
.bridge { display: grid; place-items: center; min-height: 100svh; padding: 32px var(--gutter); }
.bridge-card { width: min(430px, 100%); padding: 32px 28px 26px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 32, 58, .94), rgba(8, 18, 35, .94)); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(236, 201, 127, .12); animation: pop .5s var(--ease); }
.bridge-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bridge-brand svg, .bridge-brand img { width: 40px; height: 40px; }
.bridge-brand span { font: 700 17px/1 var(--serif); letter-spacing: .2em; text-transform: uppercase; }
.bridge-card h1 { margin: 0 0 6px; font: 700 25px/1.2 var(--serif); letter-spacing: .02em; }
.bridge-card .muted { color: var(--muted); margin: 0 0 20px; font-size: 14.5px; }

/* ================================================= the menu folds earlier =================================================
   Eight links (Plumes, Voter, Plinko, Crash joined the header): below 1080px they go into the burger menu, which scrolls
   when a short phone screen cannot show them all. */
@media (max-width: 1080px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; top: var(--head-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 18px;
    background: rgba(5, 10, 20, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s var(--ease);
    max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .nav.is-open { transform: none; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .nav a:not(.btn)::after { left: 14px; right: auto; width: 24px; bottom: 6px; }
  .nav .btn { margin-top: 8px; }
  .nav .nav-discord { margin: 6px 0 0; padding: 12px 14px; justify-content: center; }
}
@media (min-width: 1081px) and (max-width: 1240px) { .nav a { padding: 8px 9px; font-size: 14.5px; } .nav .nav-discord { padding: 7px 10px; } }

/* ================================================= parrainage (home, under the hero) ================================================= */
.section.tight { padding: clamp(52px, 7vw, 92px) 0; }
.hero-actions.start { justify-content: flex-start; margin-top: 28px; }
.par-code { padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(212, 162, 76, .45); background: rgba(212, 162, 76, .1); color: var(--gold-2); font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.paliers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.paliers th, .paliers td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.paliers thead th { padding-top: 0; color: var(--faint); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.paliers tbody th { color: var(--text); font-weight: 500; }
.paliers td { color: var(--gold-2); font: 700 17px/1.3 var(--serif); letter-spacing: .02em; white-space: nowrap; }
.paliers td .bonus { display: block; margin-top: 4px; color: var(--muted); font: 400 13px/1.4 var(--sans); letter-spacing: 0; white-space: normal; }
.paliers tfoot th, .paliers tfoot td { border-bottom: 0; padding-bottom: 0; }
.paliers tfoot th { color: var(--muted); font-weight: 400; }
.paliers tfoot td { color: var(--text); }
.paliers th:first-child, .paliers td:first-child { padding-left: 0; }
.paliers-note { margin: 16px 0 0; font-size: 14px; }
@media (max-width: 560px) {
  .hero-actions.start .btn { flex: 1 1 100%; }
  .paliers th, .paliers td { padding: 11px 6px; }
  .paliers td { font-size: 16px; }
}

/* Language selector (Français · English · Español), drawn into the header nav by site-i18n.js. Plain links, no frame:
   the current language is brass, the others muted. */
.nav .lang-sw { display: inline-flex; align-items: center; gap: 0; margin: 0 8px 0 4px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.nav .lang-sw a { padding: 6px 9px; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; border-radius: 0; color: var(--muted); }
.nav .lang-sw a + a { border-left: 1px solid var(--line); }
.nav .lang-sw a::after { display: none; }
.nav .lang-sw a:hover { color: var(--text); background: rgba(150, 190, 240, .08); }
.nav .lang-sw a[aria-current="true"] { color: var(--on-accent); background: var(--accent); }
.nav .lang-sw a:focus-visible { outline: 2px solid var(--blue-2); outline-offset: -2px; }
@media (max-width: 1080px) { .nav .lang-sw { align-self: flex-start; margin: 10px 14px 0; } .nav .lang-sw a { padding: 9px 14px; font-size: 14px; } }

/* ================================================= guide page (/guide) =================================================
   Same tokens as the rest of the site: solid night-blue panels, brass for numbers and rules, sky blue for kickers.
   No gradient text, no glow. Motion: chapters reveal on scroll, a brass line fills down the route as you read, the XP
   bars and the P10 track draw in, one step of the prestige loop lights after another, III pulses on the Dazak gauge.
   Everything is switched off by the prefers-reduced-motion block at the end of this section. */
.g-hero { min-height: auto; }
.g-title { font-size: clamp(32px, 5.8vw, 62px); letter-spacing: .04em; }

/* ---- the method on one page */
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.method li:nth-child(7) { grid-column: span 2; }
.method a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 22px 22px; overflow: hidden; color: var(--text); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(14, 28, 52, .86), rgba(7, 15, 30, .86)); box-shadow: inset 0 1px 0 rgba(236, 201, 127, .09), 0 18px 50px rgba(0, 0, 0, .3);
  transition: transform .35s var(--ease), border-color .35s; }
.method a:hover { transform: translateY(-4px); border-color: rgba(212, 162, 76, .55); }
.method a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width .55s var(--ease); }
.method a:hover::after, .method a:focus-visible::after { width: 100%; }
.method a:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.m-n { font: 700 13px var(--serif); letter-spacing: .22em; color: var(--accent); }
.method svg { position: absolute; right: 18px; top: 18px; width: 28px; height: 28px; color: var(--blue-2); opacity: .75; transition: transform .5s var(--ease), opacity .3s; }
.method a:hover svg { opacity: 1; transform: rotate(-8deg) scale(1.08); }
.method b { font: 600 17px/1.25 var(--sans); }
.method a > span:last-child { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ---- route (left) + chapters (right) */
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.guide-route { position: sticky; top: calc(var(--head-h) + 28px); padding-left: 24px; }
.guide-route .rail { position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--line-strong); --gp: 0; }
.rail-fill { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--gp, 0) * 100%); border-radius: 2px; background: var(--accent); transition: height .25s linear; }
.guide-route ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.guide-route li { position: relative; }
.guide-route li::before { content: ""; position: absolute; left: -21px; top: 18px; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--accent-3); background: var(--void-2); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.guide-route li.is-done::before { background: var(--accent); border-color: var(--accent); }
.guide-route li.is-now::before { background: var(--accent-2); border-color: var(--accent-2); transform: rotate(45deg) scale(1.4); }
.guide-route a { display: flex; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14.5px; transition: color .25s, background .25s; }
.guide-route a i { font: normal 700 12px var(--serif); letter-spacing: .14em; color: var(--faint); transition: color .25s; }
.guide-route a:hover { color: var(--text); background: rgba(150, 190, 240, .06); }
.guide-route a[aria-current="step"] { color: var(--text); background: rgba(212, 162, 76, .1); }
.guide-route a[aria-current="step"] i { color: var(--accent-2); }
.guide-route a:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.gch { position: relative; margin: 0 0 24px; padding: clamp(22px, 3.2vw, 38px); scroll-margin-top: calc(var(--head-h) + 20px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(14, 28, 52, .86), rgba(7, 15, 30, .86)); box-shadow: inset 0 1px 0 rgba(236, 201, 127, .09), 0 18px 50px rgba(0, 0, 0, .3); }
.gch::before { content: ""; position: absolute; left: -1px; top: 30px; width: 3px; height: 0; background: var(--accent); transition: height .8s var(--ease) .15s; }
.gch.is-lit::before { height: 64px; }
.gch-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; margin-bottom: 22px; }
.gch-num { font: 700 clamp(44px, 6vw, 68px)/.9 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.gch-tag { margin: 0 0 6px; color: var(--blue-2); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.gch h2 { margin: 0; font: 600 clamp(24px, 3.2vw, 34px)/1.15 var(--serif); letter-spacing: .02em; color: #f2f6fc; }
.gch-goal { margin: 10px 0 0; max-width: 62ch; color: var(--text-2); font-size: 16.5px; line-height: 1.6; }
.gch-ico { width: 38px; height: 38px; color: var(--blue); opacity: .55; transition: transform .7s var(--ease), opacity .5s; }
.gch.is-lit .gch-ico { opacity: 1; transform: rotate(-6deg); }

.gch-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gch-steps li { position: relative; counter-increment: s; padding-left: 44px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.gch-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(212, 162, 76, .5); border-radius: 8px; background: rgba(212, 162, 76, .08); color: var(--accent-2); font: 600 13px var(--sans); }
.gch.is-in .gch-steps li { animation: gStep .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 80ms + .2s); }
.gch-steps li:nth-child(1) { --k: 0; } .gch-steps li:nth-child(2) { --k: 1; } .gch-steps li:nth-child(3) { --k: 2; } .gch-steps li:nth-child(4) { --k: 3; } .gch-steps li:nth-child(5) { --k: 4; }
@keyframes gStep { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.gch code, .mini code, .gch-more code { padding: 1px 7px; border: 1px solid rgba(90, 169, 255, .35); border-radius: 6px; background: rgba(90, 169, 255, .08); color: var(--blue-2); font-size: .92em; white-space: nowrap; }

.gch-rule { margin: 22px 0 0; padding: 14px 18px; border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: rgba(212, 162, 76, .06); color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.gch-rule b { display: block; margin-bottom: 3px; color: var(--accent-2); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }

/* ---- 01: XP coefficient bars (the .bars / .bar machinery of the landing page) */
.xpg { margin: 24px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 12, 24, .55); }
.xpg-title { margin: 0 0 6px; color: var(--gold-2); font-size: 14px; font-weight: 600; }
.xpg .bar-row { grid-template-columns: minmax(130px, 290px) 1fr 54px; }
.xpg .bar-row > span:first-child { color: var(--text-2); }
.xpg .bar-row:nth-child(3) .bar i { transition-delay: .1s; } .xpg .bar-row:nth-child(4) .bar i { transition-delay: .2s; } .xpg .bar-row:nth-child(5) .bar i { transition-delay: .3s; } .xpg .bar-row:nth-child(6) .bar i { transition-delay: .4s; }
.xpg-foot { margin: 6px 0 0; color: var(--faint); font-size: 13px; }

/* ---- 02: the two traps */
.traps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.trap { padding: 20px 22px; border: 1px solid rgba(236, 133, 115, .3); border-radius: var(--radius); background: rgba(236, 133, 115, .05); }
.trap p { margin: 0; }
.trap-k { color: var(--bad); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.trap-big { margin: 6px 0 4px !important; font: 700 clamp(30px, 4vw, 42px)/1 var(--serif); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.trap p:last-child { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ---- 03: the three numbers */
.g3 { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 14px; margin-top: 24px; }
.g3-i { padding: 20px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 12, 24, .55); text-align: center; }
.g3-i b { display: block; font: 700 clamp(24px, 3.4vw, 36px)/1.1 var(--serif); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.g3-i b em { padding: 0 .15em; color: var(--blue-2); font-style: normal; }
.g3-i span { display: block; margin-top: 8px; color: var(--muted); font-size: 13.5px; }

/* ---- 04: the prestige loop: one step lights after another */
.loop { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.loop li { position: relative; padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 12, 24, .55); animation: gLoop 10s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 2s); }
.loop li::after { content: ""; position: absolute; right: -11px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--accent-3); border-right: 2px solid var(--accent-3); transform: translateY(-50%) rotate(45deg); }
.loop li:last-child::after { content: "↺"; right: 10px; top: 8px; width: auto; height: auto; border: 0; transform: none; color: var(--accent); font-size: 17px; line-height: 1; }
.loop b { display: block; color: var(--text); font-size: 14.5px; font-weight: 600; }
.loop span { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
@keyframes gLoop { 0%, 18% { border-color: var(--accent); background: rgba(212, 162, 76, .13); transform: translateY(-3px); } 26%, 100% { border-color: var(--line); background: rgba(5, 12, 24, .55); transform: none; } }

/* ---- small cards, used by 05, 06 and 07 */
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px; margin-top: 22px; }
.mini { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 12, 24, .55); transition: border-color .3s, transform .3s var(--ease); }
.mini:hover { border-color: rgba(212, 162, 76, .45); transform: translateY(-2px); }
.mini h3 { margin: 0 0 8px; font: 600 16.5px/1.3 var(--sans); color: var(--gold-2); }
.mini p { margin: 0 0 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.mini p:last-child { margin-bottom: 0; }

/* ---- 05: the Dazak gauge */
.dz-wrap { display: flex; gap: 20px; align-items: center; margin-top: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(5, 12, 24, .55); }
.dz-wrap p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.dz { display: flex; gap: 8px; flex: none; }
.dz span { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--faint); font: 700 15px var(--serif); }
.dz span.on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); animation: gPulse 1.8s ease-in-out infinite; }
@keyframes gPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

/* ---- 07 */
.donne { padding: 20px 22px; border: 1px solid rgba(212, 162, 76, .35); border-radius: var(--radius); background: rgba(212, 162, 76, .06); }
.donne h3 { margin: 0 0 8px; font: 600 18px/1.3 var(--sans); color: var(--gold-2); }
.donne p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.statlist { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 8px; }
.statlist li { display: grid; grid-template-columns: 210px 1fr; gap: 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(5, 12, 24, .45); }
.statlist b { color: var(--text); font-size: 15px; font-weight: 600; }
.statlist span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.statlist li.top1 { border-color: rgba(212, 162, 76, .5); background: rgba(212, 162, 76, .07); }
.statlist li.top1 b { color: var(--gold-2); }

/* ---- "Le détail": native <details>, no script */
.gch-more { margin-top: 22px; border-top: 1px solid var(--line); }
.gch-more summary { display: flex; align-items: center; gap: 10px; padding: 14px 0 6px; list-style: none; cursor: pointer; color: var(--blue-2); font-size: 15px; font-weight: 500; }
.gch-more summary::-webkit-details-marker { display: none; }
.gch-more summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); transition: transform .3s var(--ease); }
.gch-more[open] summary::before { transform: rotate(45deg); }
.gch-more summary:hover { color: #fff; }
.gch-more summary:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 4px; border-radius: 6px; }
.gch-more-in { padding: 8px 0 4px; animation: gMore .45s var(--ease) both; }
.gch-more-in h3 { margin: 14px 0 6px; font: 600 15.5px/1.3 var(--sans); color: var(--gold-2); }
.gch-more-in p, .gch-more-in ol { color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.gch-more-in p { margin: 0 0 8px; }
.gch-more-in ol { margin: 6px 0 8px 1.2em; padding: 0; }
.gch-more-in li { margin: 4px 0; }
@keyframes gMore { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- the road after Prestige 10 */
.soon { padding: clamp(28px, 4vw, 52px); }
.soon .lede { max-width: 62ch; }
.soon .hero-actions { justify-content: flex-start; margin-top: 8px; }
.track { position: relative; height: 8px; margin: 84px 34px 100px; }
.track-bar { position: absolute; inset: 0; border-radius: 8px; background: rgba(150, 190, 240, .09); overflow: hidden; }
.track-done { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; border-radius: 8px; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .25s; }
.is-in .track-done { transform: scaleX(1); }
.track-next { position: absolute; left: 20%; right: 0; top: 3px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px); opacity: .85; animation: gDash 1.4s linear infinite; }
@keyframes gDash { to { background-position: 20px 0; } }
.track-ticks { list-style: none; margin: 0; padding: 0; }
.track-ticks li { position: absolute; left: var(--x); top: -6px; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.track-ticks li::before { content: ""; display: block; width: 2px; height: 20px; margin: 0 auto 8px; background: var(--line-strong); }
.track-ticks b { color: var(--muted); font: 600 13px var(--sans); letter-spacing: .06em; }
.track-ticks small { display: block; margin-top: 3px; color: var(--faint); font-size: 12px; }
.track-ticks .here::before { height: 30px; margin-top: -5px; background: var(--accent); }
.track-ticks .here b { color: var(--gold-2); }
.track-flag { position: absolute; left: 60%; top: -58px; transform: translateX(-50%); padding: 6px 16px; border: 1px solid rgba(212, 162, 76, .55); border-radius: 999px; background: rgba(212, 162, 76, .08); color: var(--gold-2); font-size: 13px; white-space: nowrap; animation: gFlag 2.6s ease-in-out infinite; }
@keyframes gFlag { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

/* ---- thanks */
.thanks { position: relative; padding: clamp(36px, 6vw, 72px) 20px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(14, 28, 52, .86), rgba(7, 15, 30, .86)); box-shadow: inset 0 1px 0 rgba(236, 201, 127, .09); }
.thanks-mark { width: 52px; height: 52px; margin: 0 auto 10px; color: var(--accent); animation: gTurn 70s linear infinite; }
.thanks .kicker { justify-content: center; }
.thanks h2 { margin: 6px 0 0; font: 700 clamp(28px, 5vw, 48px)/1.1 var(--serif); }
.thanks-line { margin: 12px 0 0; color: var(--muted); font-size: 18px; }
.thanks-rule { display: block; width: 0; height: 1px; margin: 24px auto 0; background: var(--accent); transition: width 1.4s var(--ease) .3s; }
.thanks.is-in .thanks-rule { width: min(320px, 70%); }
@keyframes gTurn { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .method { grid-template-columns: repeat(2, 1fr); }
  .guide-layout { grid-template-columns: 1fr; gap: 0; }
  .guide-route { position: sticky; top: var(--head-h); z-index: 20; margin: 0 calc(var(--gutter) * -1) 18px; padding: 8px var(--gutter); background: rgba(5, 10, 20, .94); border-bottom: 1px solid var(--line); }
  .guide-route .rail, .guide-route li::before { display: none; }
  .guide-route ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .guide-route ol::-webkit-scrollbar { display: none; }
  .guide-route li { flex: none; }
  .guide-route a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
  .gch { scroll-margin-top: calc(var(--head-h) + 76px); }
  .gch-head { grid-template-columns: auto 1fr; }
  .gch-ico { display: none; }
  .traps, .g3, .minis { grid-template-columns: 1fr; }
  .loop { grid-template-columns: 1fr; }
  .loop li::after { display: none; }
  .statlist li { grid-template-columns: 1fr; gap: 4px; }
  .dz-wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .method { grid-template-columns: 1fr; }
  .method li:nth-child(7) { grid-column: auto; }
  .xpg .bar-row { grid-template-columns: 1fr auto; row-gap: 6px; }
  .xpg .bar-row .bar { grid-column: 1 / -1; order: 3; }
  .track { margin: 84px 18px 90px; }
  .track-ticks li:nth-child(3) b, .track-ticks li:nth-child(5) b { visibility: hidden; }
  .track-ticks .here small { white-space: normal; width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .loop li, .dz span.on, .track-flag, .thanks-mark, .track-next { animation: none !important; }
  .gch.is-in .gch-steps li { animation: none; }
  .rail-fill { transition: none; }
}
