/* Rebirth Pokémon — design system
   Kanit (self-hosted) · line icons · green "open world" palette · light surface with forest accents */
@font-face { font-family: "Kanit"; font-weight: 400; font-display: swap; src: url(/fonts/kanit-thai-400-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Kanit"; font-weight: 500; font-display: swap; src: url(/fonts/kanit-thai-500-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Kanit"; font-weight: 600; font-display: swap; src: url(/fonts/kanit-thai-600-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Kanit"; font-weight: 700; font-display: swap; src: url(/fonts/kanit-thai-700-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Kanit"; font-weight: 400; font-display: swap; src: url(/fonts/kanit-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanit"; font-weight: 500; font-display: swap; src: url(/fonts/kanit-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanit"; font-weight: 600; font-display: swap; src: url(/fonts/kanit-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Kanit"; font-weight: 700; font-display: swap; src: url(/fonts/kanit-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f1f5ee;
  --band: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f8f1;
  --ink: #142019;
  --ink-2: #56665b;
  --ink-3: #7d8b81;
  --line: #dfe8da;
  --line-2: #e9efe5;
  --brand: #2a8a45;
  --brand-2: #1d6b34;
  --brand-soft: #def0dc;
  --forest: #0f2117;
  --forest-2: #183526;
  --sun: #e8ad34;
  --sun-2: #f5c85e;
  --sun-soft: #fbefd2;
  --sky: #2f7fb8;
  --sky-soft: #dcebf7;
  --berry: #c2410c;
  --berry-soft: #fde4d6;
  --violet: #7a4fc0;
  --violet-soft: #ece3fb;
  --danger: #c0262d;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 33, 23, .06);
  --shadow: 0 1px 2px rgba(15, 33, 23, .05), 0 8px 24px -8px rgba(15, 33, 23, .12);
  --shadow-lg: 0 2px 4px rgba(15, 33, 23, .06), 0 24px 48px -16px rgba(15, 33, 23, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Kanit", "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
img { max-width: 100%; }
a { color: var(--brand-2); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .86em;
  background: var(--surface-2); border: 1px solid var(--line); padding: 1px 7px; border-radius: 7px; color: var(--brand-2);
  white-space: nowrap;
}
::selection { background: var(--sun-2); color: var(--forest); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.muted { color: var(--ink-2); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--forest); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: rgba(15, 33, 23, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand .logo { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.brand small { font-weight: 400; opacity: .6; font-size: 14px; margin-left: 1px; }
.nav { display: flex; gap: 2px; margin-left: 14px; }
.nav a { color: rgba(255, 255, 255, .72); text-decoration: none; padding: 8px 12px; border-radius: 9px; font-size: 15px; transition: color .15s, background .15s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 255, 255, .08); }
.spacer { flex: 1; }
.net-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 13.5px; color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap;
}
.net-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa; }
.net-pill.on::before { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2.2s infinite; }
.net-pill.off::before { background: #ff6b5a; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.tb-cta {
  display: inline-flex; align-items: center; gap: 7px; color: var(--forest); background: var(--sun);
  text-decoration: none; padding: 8px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .15s, transform .1s;
}
.tb-cta:hover { background: var(--sun-2); color: var(--forest); }
.tb-cta:active { transform: scale(.97); }
.menu-btn { display: none; color: #fff; background: rgba(255, 255, 255, .08); border: 0; border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 20px; border-radius: 13px;
  font: inherit; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); cursor: pointer;
  transition: transform .12s var(--ease), background .15s, box-shadow .2s, border-color .15s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn.lg { min-height: 58px; padding: 0 24px; }
.btn.primary { background: var(--brand); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(42, 138, 69, .9), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.primary:hover { background: var(--brand-2); color: #fff; }
.btn.sun { background: var(--sun); color: var(--forest); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(232, 173, 52, .9); }
.btn.sun:hover { background: var(--sun-2); color: var(--forest); }
.btn.glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn.glass:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn small { display: block; font-weight: 400; font-size: 13px; opacity: .82; line-height: 1.25; }
.btn .ic { width: 21px; height: 21px; }
.copy {
  display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  color: #fff; background: var(--brand); padding: 8px 13px; border-radius: 10px; white-space: nowrap; transition: background .15s;
}
.copy:hover { background: var(--brand-2); }
.copy.done { background: var(--forest-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(160deg, var(--forest-2), var(--forest));
}
.hero-bg { position: absolute; top: 0; left: 0; width: 125%; height: 100%; object-fit: cover; object-position: left 40%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 22, 14, .9) 0%, rgba(9, 22, 14, .66) 34%, rgba(9, 22, 14, .1) 64%, rgba(9, 22, 14, .2) 100%),
    linear-gradient(180deg, rgba(9, 22, 14, .45) 0%, transparent 26%, transparent 70%, rgba(9, 22, 14, .35) 100%);
}
.hero .wrap { position: relative; min-height: min(660px, 82vh); display: flex; align-items: center; padding-top: 64px; padding-bottom: 170px; }
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 14px; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .86); backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.hero h1 { font-size: clamp(40px, 6vw, 70px); font-weight: 700; margin: 20px 0 16px; letter-spacing: -.02em; line-height: 1.08; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: normal; color: var(--sun-2); }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 18.5px; max-width: 540px; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; font-size: 15px; color: rgba(255, 255, 255, .78); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ic { color: var(--sun-2); }
.hero-mon {
  position: absolute; z-index: 0; right: max(2vw, calc(50% - 640px)); top: 13%; width: min(30vw, 400px);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); animation: hover 7s ease-in-out infinite; pointer-events: none;
}
@keyframes hover { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(1deg); } }
.hero-tag {
  position: absolute; z-index: 1; right: 24px; bottom: 120px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: rgba(255, 255, 255, .85); background: rgba(9, 22, 14, .45); padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero .hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 110px; color: var(--bg); z-index: 1; }

/* ---------- server bar ---------- */
.ipbar-wrap { position: relative; z-index: 5; margin-top: -118px; }
.ipcard {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  background: var(--surface); border-radius: var(--r-lg); padding: 18px 20px 18px 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
}
.ipcard .head { display: flex; align-items: center; gap: 12px; }
.ipcard .head .logo { width: 50px; height: 50px; border-radius: 14px; }
.ipcard .head h2 { font-size: 20px; }
.label { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }
.ip {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 10px 10px 18px; border-radius: 14px; background: var(--surface-2); border: 1px dashed #cdd9c7;
  font-weight: 600; font-size: 19px; letter-spacing: .005em;
}
.stats { display: grid; grid-template-columns: repeat(2, 104px); gap: 8px; text-align: center; }
.stats div { background: var(--surface-2); border-radius: 12px; padding: 8px 6px; }
.stats b { display: block; font-size: 20px; font-weight: 600; line-height: 1.3; }
.stats span { font-size: 12.5px; color: var(--ink-2); }
.highlights { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.highlights li { display: flex; align-items: baseline; gap: 10px; padding: 14px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .55); border: 1px solid var(--line-2); }
.highlights b { font-size: 26px; font-weight: 700; color: var(--brand-2); letter-spacing: -.02em; }
.highlights span { font-size: 14.5px; color: var(--ink-2); }

/* ---------- sections ---------- */
section { padding: 96px 0; position: relative; }
section.band { background: var(--band); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
section.band.dark { background: radial-gradient(900px 420px at 50% 110%, rgba(42, 138, 69, .35), transparent 70%), linear-gradient(180deg, var(--forest-2), var(--forest)); color: #fff; border: 0; }
.sec-head { margin-bottom: 44px; position: relative; }
.sec-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.sec-head.split > p { color: var(--ink-2); font-size: 17.5px; max-width: 460px; justify-self: end; }
.sec-head.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sec-head.center p { color: rgba(255, 255, 255, .72); margin-top: 12px; }
.kicker { display: inline-block; color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .06em; margin-bottom: 10px; }
.kicker.light { color: var(--sun-2); }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.peek { position: absolute; width: 120px; right: 0; top: -70px; filter: drop-shadow(0 10px 14px rgba(15, 33, 23, .18)); pointer-events: none; }
.peek.right { width: 104px; top: -96px; }

.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: var(--shadow); }

.badge {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-2);
}
.badge .ic { width: 23px; height: 23px; }
.badge.sun { background: var(--sun-soft); color: #9a6a08; }
.badge.sky { background: var(--sky-soft); color: var(--sky); }
.badge.berry { background: var(--berry-soft); color: var(--berry); }
.badge.violet { background: var(--violet-soft); color: var(--violet); }

/* steps — timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li { position: relative; }
.steps .n {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand-2); font-size: 22px; font-weight: 700; box-shadow: 0 0 0 6px var(--bg);
}
.steps li:last-child .n { background: var(--brand); color: #fff; }
.steps h3 { font-size: 19px; margin: 18px 0 6px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* worlds */
.world { overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.world:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.world-media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.world-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.world:hover .world-media img { transform: scale(1.04); }
.world-media.art { display: grid; place-items: center; color: rgba(255, 255, 255, .22); }
.world-media.art > .ic { width: 96px; height: 96px; stroke-width: 1.2; }
.world.build .world-media.art { background: radial-gradient(120% 120% at 20% 0%, #3fae5c, #1d6b34 70%); }
.world.res .world-media.art { background: radial-gradient(120% 120% at 20% 0%, #d39232, #8c520f 70%); }
.world-chip {
  position: absolute; left: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(9, 22, 14, .55); padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.world .body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.world h3 { font-size: 21px; }
.world .muted { margin-top: -8px; font-size: 14.5px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.ticks li .ic { color: var(--brand); margin-top: 4px; }
.ticks li.no .ic { color: var(--danger); }
.cmdline {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 7px 7px 7px 14px;
}
.cmdline code { background: none; border: 0; padding: 0; font-size: 15px; }
.cmdline .copy { padding: 6px 11px; font-size: 13px; }
.note { margin-top: 18px; font-size: 15px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.note.center { justify-content: center; text-align: center; margin-top: 28px; }

/* legendary showcase */
.legend {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px;
  border-radius: 28px; color: #fff; padding: 46px 0 46px 48px; margin-top: 70px;
  background:
    radial-gradient(520px 380px at 76% 54%, rgba(94, 200, 222, .35), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgba(42, 138, 69, .45), transparent 70%),
    linear-gradient(140deg, #183a2a, #0c1c13);
  box-shadow: var(--shadow-lg);
}
.legend::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.legend-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--forest); background: var(--sun); padding: 4px 12px; border-radius: 999px; }
.legend h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin: 14px 0 10px; letter-spacing: -.02em; }
.legend-body > p { color: rgba(255, 255, 255, .78); }
.legend-facts { display: grid; grid-template-columns: repeat(4, auto); gap: 10px; margin: 24px 0 0; justify-content: start; }
.legend-facts div { padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.legend-facts dt { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.legend-facts dd { margin: 0; font-size: 18px; font-weight: 600; color: var(--sun-2); white-space: nowrap; }
.fine { margin-top: 12px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.legend-body { position: relative; z-index: 1; }
.legend-mon { width: 108%; max-width: none; margin: -110px -4% -60px 0; justify-self: end; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.events-row { margin-top: 18px; }
.event { padding: 26px; }
.event h3 { font-size: 21px; margin: 16px 0 8px; }
.event p { color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fact { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.fact .ic { color: var(--brand); }

/* roster */
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: end; }
.roster li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 20px; }
.roster li::after { content: ""; position: absolute; bottom: 38px; width: 70%; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); z-index: 0; }
.roster img { position: relative; z-index: 1; height: 240px; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.roster li:nth-child(1) img { height: 200px; }
.roster li:nth-child(2) img { height: 150px; }
.roster li:nth-child(4) img { height: 170px; }
.roster li:hover img { transform: translateY(-8px); }
.roster span { position: relative; z-index: 1; font-weight: 600; font-size: 15px; letter-spacing: .02em; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }

/* features */
.feat { padding: 22px; transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.feat:hover { transform: translateY(-3px); border-color: #c8dcc1; box-shadow: var(--shadow-lg); }
.feat h3 { font-size: 17.5px; margin: 16px 0 6px; }
.feat p { color: var(--ink-2); font-size: 15px; }

/* screenshots */
.shot { margin: 0; overflow: hidden; display: flex; flex-direction: column; border-radius: var(--r); }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--forest); transition: transform .6s var(--ease); }
.card.shot figcaption { padding: 13px 18px; font-size: 14.5px; color: var(--ink-2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.gallery .shot { position: relative; box-shadow: var(--shadow); }
.gallery .big { grid-row: span 2; }
.gallery .big img { height: 100%; aspect-ratio: auto; }
.gallery .wide { grid-column: span 2; }
.gallery .wide img { aspect-ratio: 21 / 8; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px; font-size: 13.5px; color: #fff; padding: 5px 12px; border-radius: 999px;
  background: rgba(9, 22, 14, .55); backdrop-filter: blur(6px);
}
.gallery .shot:hover img { transform: scale(1.035); }

/* ranks */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.tab { border: 0; cursor: pointer; font: inherit; font-size: 15.5px; font-weight: 500; padding: 9px 18px; border-radius: 10px; background: none; color: var(--ink-2); transition: background .15s, color .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--forest); color: #fff; }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow); background: var(--surface); border: 1px solid var(--line-2); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 780px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
th { background: var(--surface-2); font-weight: 500; font-size: 13.5px; color: var(--ink-3); white-space: nowrap; letter-spacing: .02em; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #f8fbf6; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rk {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; font-size: 14.5px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); padding: 3px 11px 3px 9px; border-radius: 999px;
}
.rk::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.vip { padding: 24px; border-top: 4px solid var(--c); }
.vip .tag { display: inline-block; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; padding: 3px 10px; border-radius: 7px; color: #fff; background: var(--c); }
.vip h3 { font-size: 21px; margin: 12px 0 8px; }
.vip p { color: var(--ink-2); font-size: 15px; }

/* login */
.login .box { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.login h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; flex-wrap: wrap; }
.login p { color: var(--ink-2); }
.login .sub { font-size: 14.5px; margin-top: 4px; }
.pill { font-size: 12.5px; padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.pill.ok { background: var(--brand-soft); color: var(--brand-2); }
.pill.warn { background: var(--sun-soft); color: #8a5d05; }

/* rules */
.rules { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rules li {
  counter-increment: r; position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 22px 20px 20px; transition: transform .25s var(--ease), box-shadow .25s;
}
.rules li:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.rules li::after { content: counter(r, decimal-leading-zero); position: absolute; right: 18px; top: 16px; font-weight: 700; font-size: 28px; color: var(--line); letter-spacing: -.02em; }
.ri { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); }
.ri .ic { width: 22px; height: 22px; }
.rules h3 { font-size: 17.5px; margin-top: 16px; }
.rules p { color: var(--ink-2); font-size: 14.5px; margin-top: 4px; }

/* faq */
.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 100px; margin: 0; }
.faq-head p { color: var(--ink-2); margin-top: 12px; }
.faq-mon { display: block; width: 150px; margin-top: 28px; filter: drop-shadow(0 12px 16px rgba(15, 33, 23, .18)); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 19px 4px; font-weight: 500; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; transition: color .15s; }
summary:hover { color: var(--brand-2); }
summary::-webkit-details-marker { display: none; }
summary .ic { color: var(--ink-3); transition: transform .25s var(--ease); flex: none; }
details[open] summary .ic { transform: rotate(90deg); color: var(--brand); }
details p { color: var(--ink-2); padding: 0 4px 20px; font-size: 15.5px; max-width: 70ch; }

/* closing */
.closing { padding: 110px 0 96px; }
.store {
  position: relative; display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: center;
  padding: 48px 0 48px 52px; border-radius: 28px; color: #fff; overflow: visible;
  background:
    radial-gradient(500px 340px at 85% 30%, rgba(232, 173, 52, .38), transparent 70%),
    linear-gradient(135deg, var(--forest-2), var(--forest));
  box-shadow: var(--shadow-lg);
}
.store h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; margin: 14px 0 10px; letter-spacing: -.02em; }
.store p { color: rgba(255, 255, 255, .78); max-width: 560px; }
.store-mon { width: 380px; max-width: none; margin: -150px 0 -40px -40px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }

/* footer */
.footer { background: var(--forest); color: rgba(255, 255, 255, .7); padding: 64px 0 34px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 14px; max-width: 360px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.footer a:hover { color: #fff; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--sun-2); cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140px); z-index: 99;
  background: var(--forest); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px; transition: transform .3s var(--ease);
}
.toast .ic { color: #3ddc84; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- multi-page components ---------- */
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 -2px 0 var(--sun); }
.sec-title { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 28px; }
.sec-title.light { color: #fff; text-align: center; }
.wrap.narrow { max-width: 820px; }
.center-cta { display: flex; justify-content: center; margin-top: 48px; }
main > section:first-child { padding-top: 72px; }

/* page banner */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--forest); }
.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 22, 14, .88) 0%, rgba(9, 22, 14, .6) 45%, rgba(9, 22, 14, .2) 100%); }
.page-hero .wrap { min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 48px; }
.ph-kicker { display: inline-flex; align-self: flex-start; font-size: 13.5px; font-weight: 600; color: var(--forest); background: var(--sun); padding: 3px 12px; border-radius: 999px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.02em; margin: 14px 0 6px; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.page-hero p { color: rgba(255, 255, 255, .8); font-size: 18px; }
.ph-mon { position: absolute; right: max(3vw, calc(50% - 600px)); bottom: -6px; height: 280px; width: auto; max-width: 46vw; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }

/* home tiles */
.explore { padding-top: 64px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 18px; }
.tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  border-radius: 20px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.tile h3 { position: relative; z-index: 1; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.tile-k { position: relative; z-index: 1; font-size: 13.5px; color: var(--ink-2); margin-bottom: 2px; }
.tile-go { position: absolute; z-index: 1; left: 22px; top: 20px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); transition: transform .3s var(--ease), background .2s; }
.tile:hover .tile-go { transform: translateX(4px); background: var(--brand); color: #fff; }
.tile-mon { position: absolute; right: 14px; bottom: 10px; height: 78%; width: auto; max-width: 55%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(15, 33, 23, .22)); transition: transform .4s var(--ease); }
.tile-mon.big { right: -6%; height: 95%; max-width: 75%; }
.tile:hover .tile-mon { transform: translateY(-6px) scale(1.03); }
.tile.photo, .tile.dark { color: #fff; border: 0; }
.tile.photo .tile-k, .tile.dark .tile-k { color: rgba(255, 255, 255, .8); }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(9, 22, 14, .8), transparent 65%); }
.tile.photo:hover .tile-bg { transform: scale(1.05); }
.tile.photo:hover, .tile.dark:hover { color: #fff; }
.tile.dark { background: radial-gradient(300px 200px at 75% 50%, rgba(94, 200, 222, .35), transparent 70%), linear-gradient(140deg, #183a2a, #0c1c13); }
.tile.photo .tile-go, .tile.dark .tile-go { background: rgba(255, 255, 255, .14); color: #fff; }
.t-start { background: linear-gradient(140deg, #fff8d6, #fff); }
.t-ranks { background: linear-gradient(140deg, #dcebf7, #fff); }
.t-faq { background: linear-gradient(140deg, #f3e7d7, #fff); }
.tiles { grid-auto-flow: row dense; }
.t-events { grid-column: 3; grid-row: 1 / span 3; }
.t-rules { background: linear-gradient(140deg, #def0dc, #fff); }
.tile-ico { position: absolute; right: 22px; bottom: 22px; width: 92px; height: 92px; border-radius: 26px; display: grid; place-items: center; background: rgba(42, 138, 69, .12); color: var(--brand); }
.tile-ico .ic { width: 46px; height: 46px; stroke-width: 1.6; }
.t-events .tile-mon.big { top: 18%; bottom: auto; height: auto; width: 130%; max-width: none; right: -22%; }

/* roster band (home) */
.roster-band { background: radial-gradient(900px 420px at 50% 115%, rgba(42, 138, 69, .4), transparent 70%), linear-gradient(180deg, var(--forest-2), var(--forest)); color: #fff; }

/* pokedex carousel (home) */
.dex-band .wrap { position: relative; }
.dex-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.dex-head .sec-title { margin: 0; text-align: left; }
.dex-tools { display: flex; align-items: center; gap: 10px; }
.dex-filter { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); margin-right: 6px; }
.chip-btn { border: 0; cursor: pointer; font: inherit; font-size: 14.5px; padding: 7px 14px; border-radius: 9px; color: rgba(255, 255, 255, .75); background: none; transition: background .15s, color .15s; }
.chip-btn:hover { color: #fff; }
.chip-btn[aria-pressed="true"] { background: var(--sun); color: var(--forest); font-weight: 600; }
.dex-nav {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .15s, opacity .2s, transform .1s;
}
.dex-nav:hover:not(:disabled) { background: var(--sun); color: var(--forest); border-color: var(--sun); }
.dex-nav:active:not(:disabled) { transform: scale(.94); }
.dex-nav:disabled { opacity: .3; cursor: default; }
.dex-nav .ic { width: 22px; height: 22px; }
.dex {
  list-style: none; margin: 0 -24px; padding: 6px 24px 10px; display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.dex::-webkit-scrollbar { display: none; }
.mon {
  flex: 0 0 210px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 14px 16px; border-radius: 20px; text-align: center;
  background: radial-gradient(160px 120px at 50% 42%, rgba(255, 255, 255, .13), transparent 70%), rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09); transition: transform .3s var(--ease), border-color .2s, background .2s;
}
.mon:hover { transform: translateY(-6px); border-color: rgba(245, 200, 94, .55); }
.mon[hidden] { display: none !important; }
.mon figure { margin: 0; height: 190px; width: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative; }
.mon figure::after { content: ""; position: absolute; bottom: -4px; width: 64%; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); }
.mon img { position: relative; z-index: 1; max-height: 180px; max-width: 100%; width: auto; object-fit: contain; transition: transform .35s var(--ease); }
.mon:hover img { transform: scale(1.06); }
.mon b { margin-top: 8px; font-size: 16.5px; font-weight: 600; color: #fff; }
.dex { align-items: stretch; }
.mon .tags { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; align-items: center; }
.mon em { line-height: 1.5; }
.mon em { font-style: normal; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.mon .gen { color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .08); }
.f.mega { color: #1b1300; background: linear-gradient(90deg, #f5c85e, #ffde8a); }
.f.alola { color: #06263b; background: #8fd3ff; }
.f.galar { color: #2a0f3d; background: #d6b2ff; }
.f.hisui { color: #3b0a14; background: #ff9fb0; }
.f.paldea { color: #3a1500; background: #ffb27a; }
.f.myth { color: #062915; background: #7ff0b0; }
.dex-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 18px; overflow: hidden; }
.dex-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--sun); transition: transform .2s linear, width .2s; transform-origin: left; }

/* commands */
.cmds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cmd {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; text-align: left; cursor: pointer;
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.cmd:hover { border-color: var(--brand); transform: translateY(-2px); }
.cmd code { background: none; border: 0; padding: 0; font-size: 15px; }
.cmd span { font-size: 14px; color: var(--ink-2); }
.cmd.done { border-color: var(--brand); background: var(--brand-soft); }
.cmd-l { font-size: 13px; color: var(--ink-3); margin-left: auto; }
.login .cmdline { margin-top: 0; }
.login .cmdline .copy { padding: 6px 9px; }

.shot.feature { position: relative; margin-top: 18px; box-shadow: var(--shadow); }
.shot.feature img { aspect-ratio: 21 / 9; }
.shot.feature figcaption { position: absolute; left: 14px; bottom: 14px; font-size: 14px; color: #fff; padding: 6px 14px; border-radius: 999px; background: rgba(9, 22, 14, .55); backdrop-filter: blur(6px); }

/* pager + footer bits */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 8px; padding-bottom: 72px; }
.pg { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .2s; }
.pg:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); }
.pg small { color: var(--ink-3); font-size: 13px; }
.pg b { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; }
.pg.next { text-align: right; align-items: flex-end; }
.ip-mini { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14.5px; color: var(--sun-2); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: 7px 12px; border-radius: 10px; cursor: pointer; }
.ip-mini:hover { background: rgba(255, 255, 255, .1); }
.foot-grid { grid-template-columns: 2fr 1fr 1fr; }

/* reveal on scroll (only when JS marks the page) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--forest); padding: 8px 14px 16px; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 16px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 980px) {
  section { padding: 76px 0; }
  .hero-mon { width: 36vw; top: 10%; right: -4vw; opacity: .9; }
  .hero-bg { width: 100%; object-position: 58% 40%; }
  .hero::before { background: linear-gradient(180deg, rgba(9, 22, 14, .78) 0%, rgba(9, 22, 14, .55) 55%, rgba(9, 22, 14, .72) 100%); }
  .hero-tag { display: none; }
  .ipcard { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .sec-head.split { grid-template-columns: 1fr; gap: 14px; }
  .sec-head.split > p { justify-self: start; }
  .peek { display: none; }
  .g4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 30px; }
  .steps::before { display: none; }
  .g3 { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr; padding: 36px 28px 0; margin-top: 30px; }
  .legend-facts { grid-template-columns: repeat(2, auto); }
  .legend-mon { width: 100%; margin: 0 auto -20px; max-width: 560px; }
  .roster { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .rules, .cmds { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .t-events { grid-column: auto; grid-row: span 2; }
  .ph-mon { height: 200px; opacity: .95; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-head { position: static; }
  .faq-mon { display: none; }
  .store { grid-template-columns: 1fr; padding: 40px 28px 0; }
  .store-mon { width: 300px; margin: 0 auto -10px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { gap: 8px; }
  .brand small, .tb-cta span { display: none; }
  .net-pill { padding: 6px 10px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 150px; min-height: 0; }
  .hero-mon { display: none; }
  .btn.lg { width: 100%; }
  .ipbar-wrap { margin-top: -100px; }
  .ip { font-size: 16px; padding-left: 14px; }
  .highlights li { flex-direction: column; gap: 0; padding: 12px 14px; }
  .highlights b { font-size: 22px; }
  .g4, .g2, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .big { grid-row: auto; }
  .gallery .big img { aspect-ratio: 16 / 9; }
  .gallery .wide { grid-column: auto; }
  .gallery .wide img { aspect-ratio: 16 / 9; }
  .legend { padding: 28px 20px 0; border-radius: 22px; }
  .roster img, .roster li:nth-child(n) img { height: 140px; }
  .roster li:nth-child(2) img { height: 100px; }
  .store { padding: 32px 20px 0; border-radius: 22px; }
  .store-mon { width: 240px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-base { flex-direction: column; }
  .hero h1 { font-size: 33px; }
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .t-events { grid-column: auto; grid-row: span 1; }
  .t-events .tile-mon.big { top: 4%; width: 70%; right: -6%; }
  .rules { grid-template-columns: 1fr; }
  .cmds { grid-template-columns: 1fr 1fr; }
  .page-hero .wrap { min-height: 230px; }
  .ph-mon { height: 130px; right: 8px; }
  .page-hero h1 { font-size: 34px; }
  .pager { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pg { padding: 14px 16px; }
  .pg b { font-size: 16px; }
  .legend { overflow: hidden; }
  .legend-mon { margin-bottom: -4px; }
  section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
