/* ==========================================================================
   ZeroPvP nx (2026-11-04): the ZeroBot look for a Minecraft PvP server
   ==========================================================================
   Loaded LAST on every page (tools/nx/build.js), after zp.css, the page's own sheet and
   mc-art.css. mc.css (the full Minecraft skin) is no longer linked.

   The owner: "not the minecraft style anymore but something better looking ... similar to the
   zerobot home page ... still having some minecraft aspects, a way different layout and nav bar".
   - zerobot.eu's look: a dark ground with still light at the top, glass slabs (thin white fill,
     a bright rim, an inner top light), Unbounded uppercase display titles, Kanit for reading,
     Barlow Condensed for small labels, a sticky bar that condenses into a floating slab, a close
     slab and a giant name at the foot of every page.
   - ZeroPvP purple (2026-11-12 evening, Deep Rouge reversed) is the one accent: var(--zp-red-hi) for text, 600 var(--zp-main) fills with white text; final tokens in lux.css. Tier, win and loss colours keep their meaning.
   - Minecraft only where it carries meaning: the real item icons, the inventory of a match (the
     game's slots, items, counts, durability, glint and tooltip), the hotbar kit pickers, hearts.
   - No pills, no gradient text, no glow around boxes, no numbered labels, no endless loops.
   Pages still use their zp.css classes; this layer re-tokens them and re-skins the shared parts.
   The game's sprite variables (mc-art.css) are pointed at our own glass frames, so every page
   sheet that drew a Minecraft frame now draws a rounded glass one with no page edits.
   ========================================================================== */

/* v3 (2026-11-04, evening): one family, Archivo (variable width 62 to 125, weight 100 to 900): narrow
   and confident for headings, normal width for reading. Anton only for the fitted name at the foot. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('fonts/archivo-var.woff2') format('woff2'); }
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/anton.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --nx-display: 'Hoover', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nx-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nx-label: 'Public Sans', 'Arial Narrow', sans-serif;
  --nx-code: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --nx-mc: 'McVanilla', 'ZeroCraft', ui-monospace, monospace;

  /* v3: neutral greys, so lavender is the accent and not the air */
  --nx-ground: #0b0a0e;
  --nx-ink: #f3f1f6;
  --nx-ink-2: #b9b5c1;
  --nx-ink-3: #878391;
  --nx-acc: var(--zp-red-hi);
  --nx-acc-hi: var(--zp-white);
  --nx-acc-lo: var(--zp-main);
  --nx-acc-ink: var(--zp-base);
  --nx-acc-fill: var(--zp-main);
  --nx-acc-fill-h: var(--zp-main);
  --nx-glass: linear-gradient(#131217, #131217);
  --nx-glass-flat: #131217;
  --nx-rim: rgba(255, 255, 255, 0.08);
  --nx-rim-2: rgba(255, 255, 255, 0.16);
  --nx-top-light: inset 0 0 0 transparent;
  --nx-drop: 0 0 0 transparent;
  --nx-r: 14px; --nx-r-2: 12px; --nx-r-3: 9px; --nx-r-4: 6px;
  --nx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nx-bar-h: 64px;

  /* zp.css tokens, re-pointed */
  --bg-deep: #050409; --bg: var(--nx-ground); --bg-band: #0b0913;
  --surface: #131217; --surface-2: #19181e; --surface-3: #201e26; --surface-4: #2a2731; --sunken: #08080b;
  --line: #1e1d23; --line-2: #2b2932; --line-3: #3e3b46;
  --text: var(--nx-ink); --text-2: var(--nx-ink-2); --text-3: var(--nx-ink-3);
  --accent: var(--nx-acc); --accent-mid: var(--zp-white); --accent-hi: var(--nx-acc-hi); --accent-lo: var(--nx-acc-lo); --accent-ink: var(--nx-acc-ink);
  --win: #4fd98f; --loss: #f2667a; --live: #ff5468; --gold: #f5c542;
  --f-display: var(--nx-body); --f-body: var(--nx-body); --f-mono: var(--nx-label); --f-pixel: var(--nx-body);
  --font-display: var(--nx-body); --font-body: var(--nx-body); --font-mono: var(--nx-label); --font-pixel: var(--nx-body);
  --fs-hero: clamp(2.4rem, 1.1rem + 4.6vw, 5.2rem);
  --fs-3xl: clamp(2rem, 1.1rem + 3vw, 3.6rem);
  --fs-2xl: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  --r-1: 5px; --r-2: 9px; --r-3: 14px; --r-4: 20px;
  --lip: var(--nx-top-light); --raise: var(--nx-drop); --raise-hi: var(--nx-drop); --well: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  --top-h: var(--nx-bar-h);

  /* the Minecraft layer's tokens, re-pointed so the page sheets read in the new type */
  --mc-font: var(--nx-body); --mc-code: var(--nx-code);
  --mc-s1: 15px; --mc-s2: 20px; --mc-s3: 28px; --mc-s4: 36px; --mc-s5: 44px; --mc-s6: 52px; --mc-s7: 60px;
  --mc-h2r: 24px; --mc-h1r: 34px; --mc-hero: 44px;
  --px-2: 15px; --px-3: 22px; --px-4: 30px; --px-5: 40px; --px-6: 48px; --px-7: 56px; --px-8: 64px;
  --mc-shadow: none; --mc-shadow-b: none;
  --mc-white: #fff; --mc-gray: var(--nx-ink-3); --mc-dgray: #555; --mc-yellow: var(--nx-acc-hi); --mc-gold: var(--gold);
  --mc-green: var(--win); --mc-dgreen: #2f9c63; --mc-red: var(--loss); --mc-aqua: #6fd8e8; --mc-blue: #7d8cff; --mc-hover: #fff;
  --mc-page: var(--nx-ground); --mc-gui-face: var(--surface); --mc-gui-ink: var(--nx-ink); --mc-gui-ink-2: var(--nx-ink-2);
  --mc-well-bg: var(--sunken); --mc-line: var(--line); --mc-tip-bg: rgba(18, 7, 42, 0.94);
  --mc-obsidian: linear-gradient(transparent, transparent); --mc-obsidian-veil: linear-gradient(transparent, transparent);
  --mc-crying-obsidian: linear-gradient(transparent, transparent);

  /* The game's frames, as our glass: 9-slice SVGs that the page sheets' border-image rules pick up.
     gui: 12 x 12 with 4-unit edges drawn at 8px = a 7px radius, a hairline rim, a thin white fill. */
  --mc-gui: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='.25' y='.25' width='11.5' height='11.5' rx='3.5' fill='%23ffffff' fill-opacity='.04' stroke='%23ffffff' stroke-opacity='.1' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-gui-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='.25' y='.25' width='11.5' height='11.5' rx='3.5' fill='%23ffffff' fill-opacity='.028' stroke='%23ffffff' stroke-opacity='.08' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-gui-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Crect x='.25' y='.25' width='11.5' height='11.5' rx='3.5' fill='%23ffffff' fill-opacity='.055' stroke='%23ffffff' stroke-opacity='.3' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-gui-lit: var(--mc-gui-hover);
  /* wells and fields: 3 x 3 with 1-unit edges at 2px */
  --mc-well: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='3' height='3' fill='%23000000' fill-opacity='.22'/%3E%3Crect x='.25' y='.25' width='2.5' height='2.5' fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='3' height='3' fill='%23000000' fill-opacity='.3'/%3E%3Crect x='.25' y='.25' width='2.5' height='2.5' fill='none' stroke='%23ffffff' stroke-opacity='.14' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-field-focus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='3'%3E%3Crect width='3' height='3' fill='%23000000' fill-opacity='.3'/%3E%3Crect x='.25' y='.25' width='2.5' height='2.5' fill='none' stroke='%23b67e7d' stroke-opacity='.8' stroke-width='.5'/%3E%3C/svg%3E");
  /* buttons the page sheets draw (tabs, small game buttons): 9 x 9 with 3-unit edges at 6px */
  --mc-btn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%23ffffff' fill-opacity='.05' stroke='%23ffffff' stroke-opacity='.12' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-btn-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%23ffffff' fill-opacity='.09' stroke='%23ffffff' stroke-opacity='.2' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-btn-down: var(--mc-btn);
  --mc-btn-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%23ffffff' fill-opacity='.02' stroke='%23ffffff' stroke-opacity='.06' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-btn-primary: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%23640000'/%3E%3C/svg%3E");
  --mc-btn-primary-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%2380322c'/%3E%3C/svg%3E");
  --mc-btn-discord: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect width='9' height='9' rx='2.6' fill='%235865f2'/%3E%3C/svg%3E");
  --mc-btn-discord-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect width='9' height='9' rx='2.6' fill='%236a76f5'/%3E%3C/svg%3E");
  --mc-btn-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%23f5c542' fill-opacity='.18' stroke='%23f5c542' stroke-opacity='.6' stroke-width='.5'/%3E%3C/svg%3E");
  --mc-btn-gold-hover: var(--mc-btn-gold);
  --mc-btn-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9'%3E%3Crect x='.25' y='.25' width='8.5' height='8.5' rx='2.6' fill='%234fd98f' fill-opacity='.2' stroke='%234fd98f' stroke-opacity='.7' stroke-width='.5'/%3E%3C/svg%3E");
  /* bars: a plain track and a lavender fill instead of the XP bar */
  --mc-xp-track: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  --mc-xp-fill: linear-gradient(var(--nx-acc), var(--nx-acc));
  /* kept from the game: --mc-slot, --mc-slot-light, --mc-hotbar-slot, --mc-hotbar-select, --mc-tooltip */
}

/* ---------- base ---------- */
html { background: var(--nx-ground); scroll-padding-top: calc(var(--nx-bar-h) + 16px); scrollbar-color: #2c2c31 var(--nx-ground); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--nx-body); font-weight: 400; font-stretch: 100%; font-size: 16px; line-height: 1.6; color: var(--nx-ink);
  /* v3: a plain ground; no coloured light */
  background: var(--nx-ground);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-shadow: none;
}
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: var(--nx-ground); }
::-webkit-scrollbar-thumb { background: #2c2c31; border: 3px solid var(--nx-ground); border-radius: 8px; }
::selection { background: color-mix(in srgb, var(--zp-red-hi) 35%, transparent); color: #fff; text-shadow: none; }
:focus-visible { outline: 2px solid var(--nx-acc); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--nx-body); font-weight: 500; letter-spacing: 0; text-shadow: none; color: var(--nx-ink); }
h1, h2 { font-family: var(--nx-display); font-weight: 600; font-stretch: 78%; text-transform: none; letter-spacing: 0; line-height: 1; }
h3 { font-weight: 500; text-transform: none; }
b, strong { font-weight: 500; }
p { text-wrap: pretty; }
a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
code, kbd, samp, .zp-cmd, .mono-cmd, .cmd { font-family: var(--nx-code); }
small { font-size: 0.86em; }
img[src*="assets/mc/"], img[src*="mch.php"], img[src*="/skins/"], img[src*="kit-"], img[src*="items/"] { image-rendering: pixelated; }
.zp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nx-shell { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.nx-k, .zp-kicker, .kicker, .eyebrow-pill, .g-label {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; border: 0; background: none;
  font-family: var(--nx-label); font-weight: 500; font-stretch: 100%; font-size: 14px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--nx-ink-3);
}
.nx-k img, .zp-kicker img, .eyebrow-pill img { width: 18px; height: 18px; image-rendering: pixelated; flex: none; }
/* v3: no icon labels stacked over every heading; a heading says it by itself */
:is(.nx-k, .zp-kicker, .kicker, .eyebrow-pill):has(+ :is(h1, h2)) { display: none; }
:is(.nx-k, .zp-kicker, .kicker, .eyebrow-pill) img { display: none; }
.zp-kicker::before, .kicker::before, .zp-sec-head .zp-kicker::after, .page-hero .zp-kicker::after, .page-hero .kicker::after, .page-hero .eyebrow-pill::after { display: none; }
.eyebrow-pill .dot, .eyebrow-pill .zp-dot { width: 7px; height: 7px; border-radius: 50%; clip-path: none; }
.zp-label, .zp-stat-k, .stat-label, .ph-cap, .zp-sheet-k, .zp-ipbox-k, .md-cap, .zp-panel-head .zp-label {
  font-family: var(--nx-label); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; color: var(--nx-ink-3); text-shadow: none;
}

/* ---------- buttons: rounded slabs, the primary in lavender ---------- */
.nx-btn, .zp-btn, .btn, .play-btn, .mc-btn, button.copy {
  --b-bg: rgba(255, 255, 255, 0.06); --b-bg-h: rgba(255, 255, 255, 0.1); --b-fg: var(--nx-ink); --b-rim: rgba(255, 255, 255, 0.13);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 18px; margin: 0;
  border: 1px solid var(--b-rim); border-image: none; border-radius: 12px;
  background: var(--b-bg); color: var(--b-fg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 24px -14px rgba(0, 0, 0, 0.8) !important;
  font-family: var(--nx-body); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; text-shadow: none;
  text-decoration: none; white-space: nowrap; cursor: pointer; user-select: none; transform: none;
  transition: background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out, transform 160ms var(--nx-ease);
}
.nx-btn svg, .zp-btn svg, .btn svg, .play-btn svg { width: 18px; height: 18px; flex: none; filter: none; }
.nx-btn img, .zp-btn img { width: 18px; height: 18px; image-rendering: pixelated; }
.nx-btn:hover, .zp-btn:hover, .btn:hover, .play-btn:hover, .mc-btn:hover, button.copy:hover { background: var(--b-bg-h); border-color: var(--b-rim); border-image: none; color: var(--b-fg); }
.nx-btn:active, .zp-btn:active, .btn:active, .play-btn:active, .mc-btn:active { transform: translateY(1px); border-image: none; }
.zp-btn:active > *, .mc-btn:active > * { translate: none; }
.nx-btn.is-primary, .zp-btn.is-primary, .btn-primary, .btn.btn-primary, .play-btn.primary, .play-btn.ip, .mc-btn.is-primary {
  --b-bg: var(--nx-acc-fill); --b-bg-h: var(--nx-acc-fill-h); --b-fg: #fff; --b-rim: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(66, 0, 1, 0.35), 0 14px 30px -16px rgba(0, 0, 0, 0.9) !important;
}
.nx-btn.is-discord, .zp-btn.is-discord, .play-btn.discord { --b-bg: #5865f2; --b-bg-h: #6a76f5; --b-fg: #fff; --b-rim: rgba(255, 255, 255, 0.22); }
.zp-btn.is-gold, .btn.gold { --b-bg: rgba(245, 197, 66, 0.16); --b-bg-h: rgba(245, 197, 66, 0.24); --b-fg: #ffe08a; --b-rim: rgba(245, 197, 66, 0.5); }
.zp-btn.is-ghost, .btn-ghost { --b-bg: transparent; --b-bg-h: rgba(255, 255, 255, 0.06); box-shadow: none !important; }
.nx-btn.is-lg, .zp-btn.is-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.nx-btn.is-sm, .zp-btn.is-sm { min-height: 36px; padding: 0 13px; font-size: 14px; border-radius: 10px; margin: 0; }
.zp-btn.is-sm:active { transform: translateY(1px); }
.zp-icon-btn { width: 44px; padding: 0; }
.zp-icon-btn.is-sm { width: 36px; padding: 0; }
.zp-btn[disabled], .zp-btn[aria-disabled="true"], .mc-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.zp-btn.is-arrow::after, .zp-sec-link::after { border-color: currentColor; border-width: 1.6px; width: 6px; height: 6px; }
.zp-ip { padding: 0; gap: 0; overflow: hidden; }
.zp-ip .zp-ip-text { padding: 0 16px; font-family: var(--nx-body); font-size: 15px; font-weight: 500; text-transform: none; }
.zp-ip .zp-ip-hint { align-self: stretch; display: inline-flex; align-items: center; padding: 0 14px; border-left: 1px solid rgba(6, 6, 7, 0.2); background: rgba(6, 6, 7, 0.08); font-size: 14px; }
.zp-ip.is-copied, .nx-ipbtn.is-copied { --b-bg: var(--win); --b-bg-h: var(--win); --b-fg: #05170d; }
.zp-sec-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-image: none; border-radius: 11px; background: rgba(255, 255, 255, 0.04);
  font-family: var(--nx-body); font-size: 14px; font-weight: 500; text-transform: none; color: var(--nx-ink); box-shadow: none; text-decoration: none; text-shadow: none;
}
.zp-sec-link:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.zp-sec-link::after { border-color: var(--nx-acc); }
.zp-panel-head .zp-sec-link, .zp-panel-foot .zp-sec-link, .ph-cap .zp-sec-link {
  min-height: 0; padding: 2px 0; border: 0; border-radius: 0; background: none; font-family: var(--nx-body); font-size: 14px; font-weight: 500;
  text-transform: none; letter-spacing: 0; color: var(--nx-acc-hi); text-decoration: none;
}
.zp-panel-head .zp-sec-link:hover, .zp-panel-foot .zp-sec-link:hover { color: #fff; background: none; }

/* the big address button (home hero, the close) */
.nx-ipbig, .zp-ipbox {
  display: inline-grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 18px;
  min-width: min(100%, 340px); padding: 12px 12px 12px 20px; text-align: left; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14); border-image: none; border-radius: 16px;
  background: rgba(0, 0, 0, 0.32); color: var(--nx-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font: inherit; transition: border-color 160ms ease-out, background-color 160ms ease-out;
}
.zp-ipbox:hover { border-color: color-mix(in srgb, var(--zp-red-hi) 60%, transparent); background: color-mix(in srgb, var(--zp-red-hi) 6%, transparent); }

.nx-ipbig-k { grid-column: 1; font-family: var(--nx-label); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; color: var(--nx-ink-3); }
.nx-ipbig .zp-ip-text { grid-column: 1; grid-row: 2; font-size: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-ipbig .zp-ip-hint {
  grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 11px;
  background: var(--nx-acc-fill); color: #fff; font-weight: 500; font-size: 15px; box-shadow: none;
}
.nx-ipbig.is-copied { border-color: var(--win); }
.nx-ipbig.is-copied .zp-ip-hint { background: var(--win); color: #05170d; }
.zp-ipbox { display: grid; max-width: 480px; }
.zp-ipbox-main { display: grid; gap: 2px; padding: 0; border: 0; border-image: none; background: none; }
.zp-ipbox .zp-ip-text { font-family: var(--nx-body); font-size: 18px; color: var(--nx-ink); text-shadow: none; }
.zp-ipbox-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-image: none; border-radius: 11px; background: var(--nx-acc-fill); color: #fff; font-family: var(--nx-body); font-weight: 500; font-size: 15px; text-transform: none; text-shadow: none; box-shadow: none; }
.zp-ipbox:hover .zp-ipbox-btn { border-image: none; background: var(--nx-acc-fill-h); }
.zp-ipbox.is-copied .zp-ipbox-btn { border-image: none; background: var(--win); color: #05170d; }

/* ---------- fields ---------- */
.zp-search, .search, .ph-search, .zp-input, .zp-select, .zp-field input, .zp-field select, .zp-field textarea, .mc-field,
:where(input[type="search"], input[type="text"], input[type="email"], textarea) {
  border: 1px solid rgba(255, 255, 255, 0.13); border-image: none; border-radius: 12px; background-color: rgba(0, 0, 0, 0.3);
  color: var(--nx-ink); font-family: var(--nx-body); font-size: 15px; text-shadow: none; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
:is(.zp-search, .search, .ph-search, .h-find, .nx-find) input { border-radius: 0; }
.zp-search input, .search input, .ph-search input { border: 0; border-image: none; background: none; box-shadow: none; font-family: var(--nx-body); font-size: 15px; color: var(--nx-ink); }
.zp-search:focus-within, .search:focus-within, .ph-search:focus-within, .zp-input:focus, .zp-select:focus, textarea:focus, input[type="text"]:focus { border-color: color-mix(in srgb, var(--zp-red-hi) 70%, transparent); border-image: none; outline: none; }
input::placeholder, textarea::placeholder { color: var(--nx-ink-3); text-shadow: none; opacity: 1; }
.zp-search, .search { min-height: 44px; padding: 0 6px 0 12px; }
.mc-caret { display: none !important; }

/* ==========================================================================
   The bar: sticky, see-through at the top, a floating glass slab once the page moves
   ========================================================================== */
.nx-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; visibility: hidden; }
.nx-bar { position: sticky; top: 0; z-index: 100; height: var(--nx-bar-h); padding: 0; }
.nx-bar-in {
  position: relative; display: flex; align-items: center; gap: 22px;
  width: min(100% - 2 * var(--gutter), 1320px); height: 100%; margin: 0 auto; padding: 0 2px;
  border: 1px solid transparent; border-radius: 0;
  transition: width 420ms var(--nx-ease), height 420ms var(--nx-ease), margin 420ms var(--nx-ease), padding 420ms var(--nx-ease), background-color 300ms ease-out, border-color 300ms ease-out, border-radius 420ms var(--nx-ease), box-shadow 300ms ease-out;
}
.nx-bar.is-scrolled .nx-bar-in {
  width: min(100% - 24px, 1340px); height: calc(100% - 12px); margin-top: 6px; padding: 0 10px 0 16px; border-radius: 16px;
  background-color: rgba(14, 11, 24, 0.72); border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 18px 40px -20px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
html[data-nx="low"] .nx-bar.is-scrolled .nx-bar-in, html[data-nx="still"] .nx-bar.is-scrolled .nx-bar-in { -webkit-backdrop-filter: none; backdrop-filter: none; background-color: rgba(14, 11, 24, 0.97); }
html[data-nx="still"] .nx-bar-in { transition: none; }
.nx-brand { display: flex; align-items: center; flex: none; padding: 6px 0; border-radius: 8px; }
.nx-brand img { display: block; width: auto; height: 26px; transition: height 420ms var(--nx-ease); }
.nx-bar.is-scrolled .nx-brand img { height: 22px; }
.nx-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nx-nav > a, .nx-more > button {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: none;
  font-family: var(--nx-body); font-size: 15px; font-weight: 400; color: var(--nx-ink-2); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color 140ms ease-out, background-color 140ms ease-out;
}
.nx-nav > a:hover, .nx-more > button:hover, .nx-more.is-open > button { color: var(--nx-ink); background: rgba(255, 255, 255, 0.06); }
.nx-nav > a[aria-current="page"], .nx-more.has-current > button { color: var(--nx-ink); }
.nx-nav > a[aria-current="page"]::after, .nx-more.has-current > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--nx-acc);
}
.nx-more > button svg { width: 14px; height: 14px; transition: transform 200ms var(--nx-ease); }
.nx-more.is-open > button svg { transform: rotate(180deg); }
.nx-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(255, 84, 104, 0.18); }
.nx-more { position: relative; }
.nx-more-menu {
  position: absolute; top: calc(100% + 12px); left: -160px; z-index: 5;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: min(760px, calc(100vw - 40px)); padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 18px; background: rgba(16, 13, 27, 0.97);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 180ms ease-out, transform 220ms var(--nx-ease), visibility 0s 220ms;
}
.nx-more.is-open .nx-more-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease-out, transform 220ms var(--nx-ease), visibility 0s; }
.nx-more-col { display: grid; align-content: start; gap: 2px; }
.nx-more-col .nx-k { margin: 2px 10px 8px; font-size: 12px; color: var(--nx-ink-3); }
.nx-more-col a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--nx-ink); }
.nx-more-col a:hover, .nx-more-col a:focus-visible { background: rgba(255, 255, 255, 0.06); }
.nx-more-col a[aria-current="page"] { background: color-mix(in srgb, var(--zp-red-hi) 10%, transparent); }
.nx-more-col b { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.nx-more-col small { display: block; color: var(--nx-ink-3); font-size: 13px; line-height: 1.35; }
.nx-mi { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 255, 255, 0.07); }
.nx-mi img { width: 20px; height: 20px; image-rendering: pixelated; }

.nx-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.nx-find {
  position: relative; display: flex; align-items: center; gap: 8px; width: 210px; height: 40px; padding: 0 10px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--nx-ink-3);
  transition: border-color 160ms ease-out, background-color 160ms ease-out, width 300ms var(--nx-ease);
}
.nx-find:focus-within { border-color: color-mix(in srgb, var(--zp-red-hi) 70%, transparent); background: rgba(0, 0, 0, 0.3); width: 250px; }
.nx-find svg { width: 17px; height: 17px; flex: none; }
.nx-find input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; outline: none; color: var(--nx-ink); font: 400 15px var(--nx-body); }
.nx-find input::-webkit-search-cancel-button { display: none; }
.nx-find kbd { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; background: none; color: var(--nx-ink-3); font: 500 12px var(--nx-body); }
.nx-find:focus-within kbd { display: none; }
.nx-ip {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 12px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 12px; background: rgba(255, 255, 255, 0.04); color: var(--nx-ink); font: 500 14px var(--nx-body);
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}
.nx-ip:hover { border-color: color-mix(in srgb, var(--zp-red-hi) 55%, transparent); background: color-mix(in srgb, var(--zp-red-hi) 7%, transparent); }
.nx-ip-state { display: inline-flex; align-items: center; gap: 6px; color: var(--nx-ink-3); font-size: 13px; }
.nx-ip-state [data-zp-status-text]:empty { display: none; }
.nx-ip .zp-ip-hint { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); color: var(--nx-ink-2); font-size: 13px; }
.nx-ip.is-copied { border-color: var(--win); }
.nx-ip.is-copied .zp-ip-hint { background: var(--win); color: #05170d; }
.nx-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--nx-ink-2); border: 1px solid transparent; text-decoration: none; }
.nx-icon:hover { color: var(--nx-ink); background: rgba(255, 255, 255, 0.06); }
.nx-icon svg { width: 20px; height: 20px; }
.nx-icon img { width: 22px; height: 22px; border-radius: 5px; }
.nx-bar-discord { height: 40px; min-height: 40px; }
.nx-burger { display: none; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; background: rgba(255, 255, 255, 0.05); cursor: pointer; }
.nx-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--nx-ink); transition: transform 240ms var(--nx-ease); grid-area: 1 / 1; }
.nx-burger span:first-child { transform: translateY(-4px); }
.nx-burger span:last-child { transform: translateY(4px); }
.nx-burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nx-burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.zp-dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-ink-3); box-shadow: none !important; }
.zp-dot.is-on { background: var(--win); box-shadow: 0 0 0 3px rgba(79, 217, 143, 0.16) !important; }
.zp-dot.is-off { background: var(--loss); }

@media (max-width: 1279px) { .nx-find { display: none; } .nx-nav > a, .nx-more > button { padding: 0 10px; } }
@media (max-width: 899px) {
  .nx-nav, .zp-signin.nx-icon { display: none; }
  .nx-burger { display: grid; }
}
@media (max-width: 599px) {
  .nx-bar-discord, .nx-ip-state { display: none; }
  .nx-ip { padding: 0 5px 0 10px; }
  .nx-brand img { height: 22px; }
  .nx-bar-in { gap: 10px; }
}
@media (max-width: 379px) { .nx-ip .zp-ip-text { display: none; } .nx-ip { padding-left: 5px; } }

/* the phone sheet */
.nx-sheet {
  position: fixed; inset: 0; z-index: 99; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--nx-bar-h) + 8px) var(--gutter) 32px; background: rgba(7, 6, 12, 0.98);
}
.nx-sheet[hidden] { display: none !important; }
.nx-sheet-in { display: grid; gap: 22px; width: min(100%, 640px); margin: 0 auto; }
.nx-find.is-sheet { display: flex; width: 100%; height: 48px; }
.nx-sheet-main { display: grid; gap: 4px; }
.nx-sheet-main a { display: flex; align-items: center; gap: 14px; padding: 8px 6px; border-radius: 14px; text-decoration: none; font-family: var(--nx-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; color: var(--nx-ink); }
.nx-sheet-main a[aria-current="page"] { color: var(--nx-acc); }
.nx-sheet-main a:active { background: rgba(255, 255, 255, 0.05); }
.nx-sheet-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nx-sheet-group { display: grid; align-content: start; gap: 2px; }
.nx-sheet-group .nx-k { margin: 0 0 6px; font-size: 12px; color: var(--nx-ink-3); }
.nx-sheet-group a { display: flex; align-items: center; gap: 10px; padding: 6px 2px; text-decoration: none; color: var(--nx-ink-2); font-size: 15px; }
.nx-sheet-group a .nx-mi { width: 30px; height: 30px; border-radius: 8px; }
.nx-sheet-group a .nx-mi img { width: 16px; height: 16px; }
.nx-sheet-group a[aria-current="page"] { color: var(--nx-ink); }
.nx-sheet-foot { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nx-sheet-foot .nx-btn { width: 100%; min-height: 50px; }
.nx-ipbtn .zp-ip-hint { margin-left: auto; padding-left: 12px; opacity: 0.75; }
.nx-ipbtn { justify-content: flex-start; }
.nx-status { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--nx-ink-2); font-size: 14px; text-decoration: none; }
html.zp-lock, html.nx-lock { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-nx="still"]) .nx-sheet:not([hidden]) .nx-sheet-in > * { animation: nx-up 420ms var(--nx-ease) both; }
  html:not([data-nx="still"]) .nx-sheet:not([hidden]) .nx-sheet-in > :nth-child(2) { animation-delay: 40ms; }
  html:not([data-nx="still"]) .nx-sheet:not([hidden]) .nx-sheet-in > :nth-child(3) { animation-delay: 80ms; }
  html:not([data-nx="still"]) .nx-sheet:not([hidden]) .nx-sheet-in > :nth-child(4) { animation-delay: 120ms; }
}
@keyframes nx-up { from { opacity: 0; transform: translateY(14px); } }

/* skip link */
.zp-skip { border-radius: 10px; border: 1px solid var(--nx-acc); background: var(--nx-ground); color: #fff; font-weight: 500; }

/* ==========================================================================
   Page heads and section heads
   ========================================================================== */
body > main:not(.zp-bleed) { padding-top: 28px; }
.page-hero { padding: 56px 0 36px; }
.page-hero::before { display: none; }
@media (min-width: 980px) { .page-hero { padding: 72px 0 48px; } }
.page-hero h1, .zp-h1, .lb-title {
  font-family: var(--nx-display); font-weight: 800; font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4rem); line-height: 0.98; letter-spacing: 0;
  text-transform: uppercase; max-width: 16ch; color: var(--nx-ink);
}
.page-hero > p, .ph-main > p, .page-hero .hero-sub { font-size: 17px; font-weight: 300; color: var(--nx-ink-2); max-width: 56ch; }
.page-hero .hero-meta, .ph-main .hero-meta, .page-hero .updated { font-family: var(--nx-label); font-size: 13px; letter-spacing: 0.08em; color: var(--nx-ink-3); }
.zp-sec-head, .section-head { margin-bottom: 28px; }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]) {
  font-family: var(--nx-display); font-weight: 800; font-size: clamp(1.5rem, 1rem + 1.7vw, 2.4rem); line-height: 1.04; text-transform: uppercase; letter-spacing: 0;
}
.zp-sec-head p, .section-head p, .zp-lede, .lede { color: var(--nx-ink-2); font-weight: 300; font-size: 17px; }
.zp-band, .zp-deep { background: none; border-block: 0; }
:is(.pf-sec, .st-sec, .uhc-sec, .hof-sec):nth-of-type(even)::before, .zp-alt::before { background: none; border: 0; }

/* the summary card beside a page title */
.ph-aside {
  padding: 18px; border: 1px solid var(--nx-rim); border-image: none; border-radius: var(--nx-r);
  background: var(--nx-glass); box-shadow: var(--nx-top-light), var(--nx-drop);
}
.ph-cap a { border-bottom: 0; color: var(--nx-acc-hi); text-decoration: none; }
.ph-rows { border-top: 0; }
.ph-rows > li > a, .ph-rows > li > .ph-row, .ph-row { border-bottom: 1px solid rgba(255, 255, 255, 0.06); border-radius: 0; }
.ph-rows > li:last-child > * { border-bottom: 0; }
/* hover removed (purple pass 2026-11-12) */

.ph-rows .lead img { border-radius: 6px; }
.ph-rows .who b { font-weight: 500; }
.ph-rows .n, .ph-rows .end { font-family: var(--nx-body); font-weight: 500; }
.ph-kits { gap: 6px; background: none; border: 0; border-radius: 0; }
.ph-kits a { border: 1px solid rgba(255, 255, 255, 0.07); border-image: none; border-radius: 12px; background: rgba(255, 255, 255, 0.025); }
/* hover removed (purple pass 2026-11-12) */

.ph-kits b { font-family: var(--nx-body); font-weight: 500; text-transform: none; font-size: 15px; }
.ph-nums { gap: 8px; border: 0; border-radius: 0; overflow: visible; }
.ph-nums > div { margin: 0; border: 1px solid rgba(255, 255, 255, 0.07); border-image: none; border-radius: 12px; background: rgba(0, 0, 0, 0.18); }
.ph-nums dd { font-family: var(--nx-display); font-weight: 800; font-size: 22px; }
.ph-links { border-top: 0; }
.ph-links a { border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-weight: 400; }
.ph-hotbar { border-radius: 0; }

/* ==========================================================================
   Panels, cards and stat strips: glass slabs
   ========================================================================== */
.zp-panel, .zp-card, .panel, .doc-toc, .zp-step, .zp-next, .zp-callout, .callout, .mc-dark, .stat-tile {
  border: 1px solid var(--nx-rim); border-image: none; border-radius: var(--nx-r);
  background: var(--nx-glass); box-shadow: var(--nx-top-light), var(--nx-drop); color: var(--nx-ink);
}
.zp-panel { overflow: hidden; }
.zp-panel::before, .zp-panel::after { display: none; }
.zp-panel-head {
  min-height: 54px; padding: 12px 18px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0;
  background: none; box-shadow: none; text-shadow: none;
}
.zp-panel-title { font-family: var(--nx-body); font-size: 16px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--nx-ink); text-shadow: none; gap: 10px; }
.zp-panel-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; clip-path: none; background: var(--pa, var(--nx-acc)); box-shadow: none; }
.zp-panel-title small { color: var(--nx-ink-3); font-size: 13px; }
.zp-panel-foot { padding: 12px 18px; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0; background: rgba(0, 0, 0, 0.12); box-shadow: none; color: var(--nx-ink-3); font-size: 14px; text-shadow: none; }
.zp-panel-foot b, .zp-panel-head b { color: var(--nx-ink); }
.zp-panel-foot a:not(.zp-btn), .zp-panel-head a:not(.zp-btn):not(.zp-tag) { color: var(--nx-acc-hi); }
.zp-card { padding: 18px; }
a.zp-card, a.mc-card, .zp-kit { transition: transform 260ms var(--nx-ease), border-color 200ms ease-out, background-color 200ms ease-out; }
/* hover removed (purple pass 2026-11-12) */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* hover removed (purple pass 2026-11-12) */

}
.zp-callout, .callout, .zp-next { border-left: 3px solid var(--nx-acc); }
.zp-stats, .hero-stats { gap: 10px; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.zp-stat, .hero-stats .stat-tile, .stat-tile {
  margin: 0; padding: 16px 18px; border: 1px solid var(--nx-rim); border-image: none; border-radius: 16px; background: var(--nx-glass); box-shadow: var(--nx-top-light);
}
.zp-stat-v, .stat-value { font-family: var(--nx-display); font-weight: 800; font-size: clamp(22px, 1.2rem + 0.8vw, 30px); letter-spacing: -0.01em; color: var(--nx-ink); }
.zp-stat-v small { font-family: var(--nx-body); font-size: 13px; }
.zp-stat-k img { width: 16px; height: 16px; image-rendering: pixelated; }

/* rows, ladders, tables */
.zp-lrow { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.zp-lrow:nth-child(even):not(.is-head) { background: none; }
button.zp-lrow:hover { background: rgba(255, 255, 255, 0.04); }

.zp-lrow.is-head { background: rgba(0, 0, 0, 0.15); font-family: var(--nx-label); font-size: 13px; letter-spacing: 0.1em; color: var(--nx-ink-3); }
.zp-lrow.is-top-1 { box-shadow: inset 3px 0 0 var(--gold); background: rgba(245, 197, 66, 0.05); }
.zp-lrow.is-top-2 { box-shadow: inset 3px 0 0 var(--silver); }
.zp-lrow.is-top-3 { box-shadow: inset 3px 0 0 var(--bronze); }
.zp-table { font-size: 15px; }
.zp-table th, .zp-table td { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.zp-table thead th { font-family: var(--nx-label); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--nx-ink-3); background: rgba(0, 0, 0, 0.15); }
.zp-table tbody tr:nth-child(even) { background: none; }
/* hover removed (purple pass 2026-11-12) */

.zp-table tbody th { font-weight: 400; }
.zp-rank { font-family: var(--nx-body); font-weight: 500; color: var(--nx-ink-3); }
.zp-rank.is-1 { color: var(--gold); } .zp-rank.is-2 { color: var(--silver); } .zp-rank.is-3 { color: var(--bronze); }
.zp-rank.is-box { border-radius: 9px; clip-path: none; box-shadow: none; }
.zp-num, .zp-score { font-family: var(--nx-body); font-weight: 500; }
.zp-head { border-radius: 7px; box-shadow: none; }
.zp-who b, .zp-who-name { font-weight: 500; }
.zp-res { border-radius: 6px; font-family: var(--nx-label); font-weight: 600; font-size: 13px; }
.zp-res.is-w { background: rgba(79, 217, 143, 0.12); color: var(--win); box-shadow: inset 0 0 0 1px rgba(79, 217, 143, 0.35); }
.zp-res.is-l { background: rgba(242, 102, 122, 0.12); color: var(--loss); box-shadow: inset 0 0 0 1px rgba(242, 102, 122, 0.35); }
.zp-delta { font-family: var(--nx-body); font-weight: 500; }
.zp-delta.is-up { color: var(--win); } .zp-delta.is-down { color: var(--loss); }

/* tags and tier marks: small rounded rectangles, never capsules */
.zp-tag, .zp-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px;
  background: rgba(255, 255, 255, 0.04); color: var(--nx-ink-2); box-shadow: none; font-family: var(--nx-body); font-size: 13px; font-weight: 400; text-shadow: none;
}
.zp-tag img, .zp-chip img { width: 16px; height: 16px; image-rendering: pixelated; }
.zp-tag.is-accent { color: var(--nx-acc-hi); border-color: color-mix(in srgb, var(--zp-red-hi) 40%, transparent); background: color-mix(in srgb, var(--zp-red-hi) 8%, transparent); }
.zp-tag.is-win { color: var(--win); border-color: rgba(79, 217, 143, 0.35); background: rgba(79, 217, 143, 0.07); }
.zp-tag.is-loss, .zp-tag.is-hot, .zp-tag.is-live { color: var(--loss); border-color: rgba(242, 102, 122, 0.35); background: rgba(242, 102, 122, 0.07); }
.zp-panel-head .zp-tag { background: rgba(255, 255, 255, 0.04); }
.zp-tier, .tier-pill {
  display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 46px; padding: 0 8px; clip-path: none; border-radius: 7px;
  font-family: var(--nx-label); font-weight: 600; font-size: 15px; letter-spacing: 0.04em; line-height: 1; text-shadow: none;
  color: var(--tc, var(--nx-ink-3)); background: color-mix(in srgb, var(--tc, var(--zp-muted)) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc, var(--zp-muted)) 45%, transparent);
}
.zp-tier.is-lg { height: 34px; min-width: 62px; font-size: 19px; border-radius: 9px; }
.zp-tier.is-xl { height: 50px; min-width: 86px; font-size: 26px; border-radius: 12px; }
.zp-tier.is-solid { background: var(--tc); color: #0b0812; box-shadow: none; }
.zp-tier.is-none { color: var(--nx-ink-3); background: rgba(255, 255, 255, 0.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.zp-kchip, .kchip, .ph-chip, .tier-chip {
  border-radius: 7px; clip-path: none; font-family: var(--nx-label); font-weight: 600; letter-spacing: 0.03em; text-shadow: none;
  background: color-mix(in srgb, var(--tc, var(--zp-muted)) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tc, #45424f) 40%, transparent);
}
.zp-kchip img, .kchip img { image-rendering: pixelated; }
.zp-live-tag { border-radius: 6px; font-family: var(--nx-label); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; background: rgba(255, 84, 104, 0.12); color: var(--live); padding: 3px 8px; }
.zp-live-tag::before { border-radius: 50%; }
.zp-cmd, .mono-cmd, .cmd { padding: 1px 7px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; background: rgba(0, 0, 0, 0.35); color: var(--nx-acc-hi); font-size: 0.92em; font-weight: 500; text-shadow: none; }
kbd, .kbd { border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(0, 0, 0, 0.3); color: var(--nx-ink-2); }

/* tabs and segments: a quiet row, the open one lit */
.zp-tabs { gap: 6px; border-bottom: 0; }
.zp-tab, .zp-seg > button, .zp-seg > a {
  min-height: 38px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-image: none; border-radius: 11px;
  background: rgba(255, 255, 255, 0.03); color: var(--nx-ink-2); font-family: var(--nx-body); font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; text-shadow: none; box-shadow: none;
}
.zp-tab::after { display: none; }
.zp-seg > button:hover { background: rgba(255, 255, 255, 0.07); border-image: none; color: var(--nx-ink); }
.zp-seg > a:hover { color: var(--nx-ink); }

.zp-tab[aria-selected="true"], .zp-tab.is-active, .zp-tab.active, .zp-seg > [aria-pressed="true"], .zp-seg > [aria-selected="true"], .zp-seg > .is-active, .zp-seg > .active {
  border-image: none; border-color: color-mix(in srgb, var(--zp-red-hi) 60%, transparent); background: color-mix(in srgb, var(--zp-red-hi) 14%, transparent); color: #fff;
}
.zp-tab .zp-count { font-family: var(--nx-body); color: var(--nx-ink-3); }
.zp-tab img { width: 18px; height: 18px; image-rendering: pixelated; }
.zp-seg { gap: 6px; padding: 0; background: none; border: 0; }

/* accordions */
.zp-acc { gap: 10px; border-top: 0; }
.zp-acc details { border: 1px solid var(--nx-rim); border-image: none; border-radius: 16px; background: var(--nx-glass-flat); }
.zp-acc summary { padding: 14px 18px; font-weight: 500; }
.zp-acc details > div { padding: 0 18px 16px; }

/* long documents */
.doc h2 { font-family: var(--nx-display); font-weight: 800; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); text-transform: uppercase; }
.doc h3 { font-family: var(--nx-body); font-weight: 500; font-size: 17px; color: var(--nx-acc-hi); }
.doc p, .doc li { color: var(--nx-ink-2); font-weight: 300; font-size: 16px; }
.doc a { color: var(--nx-acc-hi); }
.doc-table { border: 1px solid var(--nx-rim); border-image: none; border-radius: 16px; overflow: hidden; }
.doc-toc a { border-radius: 8px; }

/* empty and loading */
.zp-empty, .empty { color: var(--nx-ink-3); }
.zp-skel { border-radius: 8px; background: rgba(255, 255, 255, 0.05); }

/* ==========================================================================
   The Minecraft parts that stay: slots, items, the hotbar, tooltips, hearts, banners
   ========================================================================== */
.zp-slot, .mc-slot {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-image: none; border-radius: 7px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.07);
}
.zp-slot img, .mc-slot img { width: 32px; height: 32px; image-rendering: pixelated; }
.zp-slot.filled { cursor: default; transition: background-color 140ms ease-out, box-shadow 140ms ease-out; }
/* hover removed (purple pass 2026-11-12) */

/* the stack count in the game's own font with its drop shadow: one of the few pixel-font spots left */
.zp-slot .ct { position: absolute; right: 3px; bottom: 0; z-index: 2; font-family: var(--nx-mc); font-size: 18px; line-height: 1; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; }
.zp-slot .mi-img { image-rendering: pixelated; }
.zp-slot .mi-glint {
  position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); pointer-events: none;
  background: url(../mc/glint.png?v=3) 0 0 / 64px 64px repeat; mix-blend-mode: screen; opacity: 0.32; image-rendering: auto;
  -webkit-mask: var(--mi) center / 100% 100% no-repeat; mask: var(--mi) center / 100% 100% no-repeat;
}
.zp-slot.is-glint:focus-visible .mi-glint { animation: mi-glint 3s linear infinite; }

@keyframes mi-glint { to { background-position: 64px -64px; } }
@media (prefers-reduced-motion: reduce) { /* hover removed (purple pass 2026-11-12) */
 }
.zp-slot .mi-q { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--nx-mc); font-size: 18px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; pointer-events: none; }
.zp-slot .mi-img.is-unknown { opacity: 0.55; }
.zp-slot .mi-dur { position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; }
.zp-slot .mi-dur::before { content: ""; position: absolute; left: 12.5%; top: 81.25%; width: 81.25%; height: 12.5%; background: #000; }
.zp-slot .mi-dur i { position: absolute; left: 12.5%; top: 81.25%; height: 6.25%; }
.zp-slot:focus-visible { outline: 2px solid var(--nx-acc); outline-offset: 1px; }
/* the hotbar: the game's own nine slots, kept as the kit picker */
.ph-hotbar, .mc-hotbar { display: flex; gap: 0; width: max-content; max-width: 100%; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.ph-hotbar span, .mc-hotbar > * {
  position: relative; display: grid; place-items: center; flex: 0 1 44px; width: 44px; height: 44px; aspect-ratio: 1; min-width: 0;
  border: 6px solid transparent; border-radius: 0; background: none; box-shadow: none;
  border-image: var(--mc-hotbar-slot) 3 fill / 6px / 0 stretch; margin-left: -4px;
}
.ph-hotbar span:first-child, .mc-hotbar > :first-child { margin-left: 0; }
.ph-hotbar span.is-on::after, .mc-hotbar > .is-on::after { content: ""; position: absolute; inset: -8px; z-index: 1; border: 8px solid transparent; border-image: var(--mc-hotbar-select) 4 / 8px / 0 stretch; pointer-events: none; }
.ph-hotbar img, .mc-hotbar img { width: 32px; height: 32px; max-width: none; image-rendering: pixelated; }
@media (max-width: 479px) { .ph-hotbar span, .mc-hotbar > * { width: 38px; height: 38px; flex-basis: 38px; } .ph-hotbar img, .mc-hotbar img { width: 24px; height: 24px; } }
/* bars */
.mc-xp { position: relative; display: block; height: 6px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.mc-xp > i, .mc-xp > span { display: block; height: 100%; border-radius: 6px; background: var(--nx-acc); }
:is(.pf-track, .kc-track, .rival-bar, .duel-bar, .act-bar, .pc-track, .kr-bar, .lb-wrbar, .mc-bar) { height: 6px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, 0.08); box-shadow: none; }
:is(.pf-track, .kc-track, .rival-bar, .duel-bar, .act-bar, .pc-track, .kr-bar, .lb-wrbar, .mc-bar) > i { height: 100%; border-radius: 6px; background: var(--nx-acc); }
/* item tooltips (mc.js): the game's own tooltip, in the game's font */
.mc-tip {
  position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; visibility: hidden;
  max-width: min(360px, calc(100vw - 24px)); padding: 4px 8px;
  border: 4px solid transparent; border-image: var(--mc-tooltip) 2 fill / 4px / 0 stretch; background: none;
  color: #fff; font-family: var(--nx-mc); font-size: 18px; line-height: 1.45; text-align: left; white-space: normal; overflow-wrap: anywhere;
  text-shadow: 2px 2px 0 #3f3f3f; -webkit-font-smoothing: none;
}
.mc-tip.is-on { visibility: visible; }
.mc-tip .t1 { display: block; color: #fff; }
.mc-tip .t2 { display: block; color: #aaaaaa; }
.mc-tip .t2.is-accent { color: var(--zp-white); }
/* hearts, tier banners, the kit glint (mc.js) */
.mc-hearts { display: inline-flex; }
.mc-hearts i { width: 18px; height: 18px; margin-left: -2px; background: url(../mc/icons.png) no-repeat 0 0 / 256px 64px; image-rendering: pixelated; }
.mc-hearts i:first-child { margin-left: 0; }
.mc-hearts .h-half { background-position: -32px 0; }
.mc-hearts .h-empty { background-position: -64px 0; }
.zp-banner { display: inline-block; flex: none; width: 20px; height: 42px; image-rendering: pixelated; vertical-align: middle; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.45)); }
.zp-banner.is-x2 { width: 40px; height: 84px; }
.zp-banner.is-x3 { width: 60px; height: 126px; }
.zp-banner.is-none { width: 20px; height: 42px; border-radius: 3px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); filter: none; }
.kg-host { position: relative; }
.kg {
  position: absolute; z-index: 1; pointer-events: none; display: block;
  background: url(../mc/glint-item.png?v=1) 0 0 / var(--kg-s, 64px) var(--kg-s, 64px) repeat;
  mix-blend-mode: screen; opacity: 0; image-rendering: auto;
  -webkit-mask: var(--kg-m) center / 100% 100% no-repeat; mask: var(--kg-m) center / 100% 100% no-repeat;
  transition: opacity 160ms ease-out;
}
.kg.is-on { opacity: 0.7; animation: kg-drift 2.4s linear infinite; }
@supports (mix-blend-mode: plus-lighter) { .kg { mix-blend-mode: plus-lighter; } .kg.is-on { opacity: 0.55; } }
@keyframes kg-drift { to { background-position: var(--kg-s, 64px) calc(-1 * var(--kg-s, 64px)); } }
@media (prefers-reduced-motion: reduce) { .kg.is-on { animation: none; } }
.mc-splash, .mc-sound { display: none !important; }

/* ==========================================================================
   Match report: the inventory screen, clean
   The game's layout is kept (armour column, the player in the preview box, the offhand at its
   foot, 27 storage slots, the hotbar under a gap) with the real items, counts, durability,
   glint and tooltip; the frame around it is a glass slab instead of the grey container.
   ========================================================================== */
.md-back { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px 0 8px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; font-family: var(--nx-body); font-size: 14px; color: var(--nx-ink-2); text-decoration: none; }
/* hover removed (purple pass 2026-11-12) */

.md-head { border: 0; box-shadow: none; padding: 18px 0 8px; }
.md-head h1 { font-family: var(--nx-display); font-weight: 800; font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem); line-height: 1.02; text-transform: uppercase; }
.md-head h1 .vs { font-family: var(--nx-label); font-weight: 600; font-size: 0.5em; letter-spacing: 0.12em; color: var(--nx-acc); vertical-align: 0.22em; }
body[data-page="match-detail"] .md-meta .zp-tag img { width: 16px; height: 16px; }
.md-cap { font-size: 12px; }
.ms-figure { width: 150px; height: 170px; border: 0; border-radius: 18px; overflow: hidden; background: radial-gradient(70% 55% at 50% 100%, color-mix(in srgb, var(--zp-red-hi) 22%, transparent), color-mix(in srgb, var(--zp-red-hi) 0%, transparent) 70%), rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.ms-res { font-family: var(--nx-label); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; }
.ms-name { font-family: var(--nx-display); font-weight: 800; font-size: clamp(1.05rem, 0.8rem + 0.9vw, 1.5rem); text-transform: uppercase; color: var(--nx-ink); }
.ms-mid .ms-score { font-family: var(--nx-display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.6rem); gap: 14px; letter-spacing: -0.02em; }
.ms-score i { font-family: var(--nx-body); font-weight: 300; font-size: 0.5em; color: var(--nx-ink-3); }
.ms-score .is-l { color: var(--nx-ink-3); }
.verdict { font-size: 16px; font-weight: 300; color: var(--nx-ink-2); text-align: center; }
.verdict b { font-weight: 500; color: var(--nx-ink); }
.edge { border-radius: 14px; background: rgba(0, 0, 0, 0.22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.edge-side b { font-family: var(--nx-display); font-weight: 800; font-size: 22px; color: var(--nx-ink-3); }
.edge-side b.lead { color: var(--win); }
.edge-bar, .h2h-bar { height: 6px; gap: 3px; background: none; box-shadow: none; margin: 4px 0; }
.edge-bar i, .h2h-bar i { border-radius: 6px; background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.edge-bar i.lead, .h2h-bar i.lead { background: var(--win); }
.h2h-group { font-family: var(--nx-label); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--nx-acc); box-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.h2h-row { border-radius: 10px; }
.h2h-row:nth-child(even) { background: none; }
/* hover removed (purple pass 2026-11-12) */

.h2h-val { font-family: var(--nx-body); font-weight: 500; font-size: 17px; color: var(--nx-ink-3); }
.h2h-val.lead { color: var(--win); }
.h2h-label { color: var(--nx-ink-2); font-size: 14px; }
.h2h-note { font-size: 14px; color: var(--nx-ink-3); }
.mu-rec { font-family: var(--nx-display); font-weight: 800; }
.mu-row { border-radius: 10px; }
.mu-row:nth-child(even) { background: none; }
/* hover removed (purple pass 2026-11-12) */

.mu-row.is-this { background: color-mix(in srgb, var(--zp-red-hi) 10%, transparent); box-shadow: inset 3px 0 0 var(--nx-acc); }
.mu-row .w-name small, .mu-row .t { font-family: var(--nx-body); color: var(--nx-ink-3); }

.inv-pair { gap: 26px; }
.inv-col-head { gap: 10px; margin-bottom: 12px; }
.inv-col-head b { font-family: var(--nx-body); font-weight: 500; font-size: 16px; color: var(--nx-ink); }
.inv-col-head b.loss { color: var(--nx-ink-2); font-weight: 400; }
.inv-panel {
  position: relative; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.09); border-image: none; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.inv-armor-row, .inv-grid, .inv-hotbar { gap: 5px; }
.inv-armor-row { margin-bottom: 14px; row-gap: 5px; }
.inv-figure {
  margin: 0 6px; border: 0; border-radius: 14px;
  background: radial-gradient(65% 45% at 50% 100%, color-mix(in srgb, var(--zp-red-hi) 20%, transparent), color-mix(in srgb, var(--zp-red-hi) 0%, transparent) 72%), rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 2px 0 rgba(0, 0, 0, 0.5);
}
.inv-hotbar { position: relative; margin-top: 16px; padding-top: 0; }
.inv-hotbar::before { content: "Hotbar"; position: absolute; left: 2px; top: -15px; font-family: var(--nx-label); font-weight: 600; font-size: 11px; letter-spacing: 0.14em; color: var(--nx-ink-3); line-height: 1; }
body[data-page="match-detail"] .inv-panel .zp-slot { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 8px; }
body[data-page="match-detail"] .inv-panel .zp-slot > img { width: 72%; height: 72%; }
body[data-page="match-detail"] .inv-panel .zp-slot .mi-glint, body[data-page="match-detail"] .inv-panel .zp-slot .mi-dur { width: 72%; height: 72%; }
body[data-page="match-detail"] .inv-panel .zp-slot .ct { right: 3px; bottom: 1px; font-size: 18px; }
/* hover removed (purple pass 2026-11-12) */

.inv-hotbar .zp-slot { background: rgba(0, 0, 0, 0.55); }
.inv-empty, .inv-abbr { font-family: var(--nx-body); text-shadow: none; color: var(--nx-ink-3); }
@media (max-width: 479px) {
  body[data-page="match-detail"] .inv-panel .zp-slot .ct { font-size: 12px; text-shadow: 1px 1px 0 #3f3f3f; }
  .inv-armor-row, .inv-grid, .inv-hotbar { gap: 3px; }
  .inv-panel { padding: 8px; border-radius: 14px; }
}
.md-empty b { font-family: var(--nx-display); font-weight: 800; text-transform: uppercase; color: var(--nx-ink); }

/* ==========================================================================
   Footer: the close slab, the link columns, the giant name
   ========================================================================== */
.nx-foot { position: relative; margin-top: 96px; overflow: hidden; }
.nx-close { padding: 0 0 80px; }
.nx-close-slab {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 40px;
  padding: clamp(28px, 4vw, 56px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--zp-red-hi) 20%, transparent), color-mix(in srgb, var(--zp-red-hi) 0%, transparent) 60%),
    radial-gradient(60% 100% at 0% 100%, color-mix(in srgb, var(--zp-main) 22%, transparent), color-mix(in srgb, var(--zp-main) 0%, transparent) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.nx-close-item { position: absolute; right: clamp(16px, 4vw, 60px); top: -30px; width: clamp(110px, 12vw, 180px); height: auto; opacity: 0.16; transform: rotate(12deg); image-rendering: pixelated; pointer-events: none; }
.nx-close-copy { position: relative; }
.nx-close-t { margin: 0; font-family: var(--nx-display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.4vw, 4.4rem); line-height: 0.98; text-transform: uppercase; letter-spacing: -0.02em; max-width: 12ch; }
.nx-close-p { margin: 16px 0 0; max-width: 46ch; color: var(--nx-ink-2); font-weight: 300; font-size: 17px; }
.nx-close-cta { position: relative; display: grid; gap: 10px; justify-items: stretch; min-width: 320px; }
@media (max-width: 899px) { .nx-close-slab { grid-template-columns: minmax(0, 1fr); } .nx-close-cta { min-width: 0; } }

.nx-foot-grid { display: grid; grid-template-columns: minmax(240px, 1.1fr) 3fr; gap: 48px; padding: 48px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.nx-foot-brand { display: grid; align-content: start; gap: 14px; }
.nx-foot-logo img { display: block; width: auto; height: 30px; }
.nx-foot-brand p { margin: 0; max-width: 32ch; color: var(--nx-ink-3); font-weight: 300; font-size: 15px; }
.nx-foot-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.nx-foot-col .nx-k { margin-bottom: 14px; font-size: 13px; color: var(--nx-ink); letter-spacing: 0.14em; }
.nx-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.nx-foot-col a { color: var(--nx-ink-3); text-decoration: none; font-size: 15px; transition: color 140ms ease-out; }
.nx-foot-col a:hover, .nx-foot-col a[aria-current="page"] { color: var(--nx-ink); }
.nx-foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.nx-foot-bar p { margin: 0; color: var(--nx-ink-3); font-size: 13px; }
@media (max-width: 999px) { .nx-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .nx-foot-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .nx-foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; } .nx-close { padding-bottom: 56px; } }
/* the giant name, half sunk into the bottom of the page, rising once when it arrives */
.nx-giant {
  display: flex; justify-content: center; margin: 0 auto -0.24em; padding: 0 12px; user-select: none; pointer-events: none;
  font-family: var(--nx-display); font-weight: 800; font-size: clamp(64px, 17.5vw, 290px); line-height: 0.9; letter-spacing: -0.04em; white-space: nowrap;
}
.nx-giant .z { color: var(--nx-acc); }
.nx-giant .p { color: var(--nx-ink); opacity: 0.92; }
html.nx-js:not([data-nx="still"]) .nx-giant span { display: inline-block; transform: translateY(42%); opacity: 0; transition: transform 1100ms var(--nx-ease), opacity 700ms ease-out; }
html.nx-js:not([data-nx="still"]) .nx-giant span.p { transition-delay: 90ms; }
html.nx-js:not([data-nx="still"]) .nx-giant.is-in span { transform: none; opacity: 1; }

/* ==========================================================================
   Motion: once, on arrival. Nothing loops; still under reduced motion; fades only on low.
   Only elements that start below the fold are ever hidden (nx.js), so a failed script or a
   jump link never leaves content invisible.
   ========================================================================== */
html.nx-js .nx-r:not(.is-in) { opacity: 0; transform: translateY(14px); }
html.nx-js .nx-r { transition: opacity 600ms ease-out, transform 760ms var(--nx-ease); transition-delay: var(--nx-d, 0ms); }
html[data-nx="low"] .nx-r:not(.is-in) { transform: none; }
html[data-nx="still"] .nx-r:not(.is-in) { opacity: 1; transform: none; }
.nx-w { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.nx-w > span { display: inline-block; }
/* v3: only a page's own title rises in, once; section headings simply stand there */
html.nx-js:not([data-nx="still"]):not([data-nx="low"]) h1[data-nx-words]:not(.is-in) .nx-w > span { transform: translateY(105%); }
html.nx-js [data-nx-words] .nx-w > span { transition: transform 760ms var(--nx-ease); transition-delay: calc(var(--i, 0) * 55ms); }
@media (prefers-reduced-motion: reduce) {
  html.nx-js .nx-r:not(.is-in), html.nx-js [data-nx-words] .nx-w > span { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   v3 (2026-11-04, evening). The owner: "now the zeropvp site looks AI". Taken out: the drifting
   light fields, the particle canvas, glass on every card, blur-in words on every heading, icon
   eyebrows, pointer light and tilt, uppercase display type. What is left: a plain dark ground,
   flat surfaces with hairlines, sentence-case headings in a narrow Archivo, lavender only where
   something is the accent, and one calm glass bar.
   ========================================================================== */
html[data-glide] { scroll-behavior: auto !important; }
:root { --top-h: calc(var(--nx-bar-h) + 10px); }
.nx-filters { position: absolute; width: 0; height: 0; overflow: hidden; }

/* headings everywhere: narrow, sentence case, never shouting */
.page-hero h1, .zp-h1, .lb-title, .md-head h1 { font-weight: 600; font-stretch: 76%; text-transform: none; letter-spacing: 0; line-height: 0.96; font-size: clamp(2.6rem, 1.4rem + 4vw, 5rem); max-width: 18ch; }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .doc h2 { font-weight: 600; font-stretch: 80%; text-transform: none; letter-spacing: 0; line-height: 1.02; }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]) { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.9rem); }
.ms-name, .md-empty b, .nx-sheet-main a { text-transform: none; font-weight: 600; font-stretch: 85%; letter-spacing: -0.01em; }
.zp-stat-v, .stat-value, .ph-nums dd { font-weight: 600; font-stretch: 85%; letter-spacing: -0.01em; }
.zp-label, .zp-stat-k, .stat-label, .ph-cap, .zp-sheet-k, .zp-ipbox-k, .md-cap, .zp-panel-head .zp-label, .zp-lrow.is-head, .zp-table thead th, .nx-ipbig-k, .page-hero .hero-meta, .ph-main .hero-meta, .page-hero .updated, .ms-res, .h2h-group, .inv-hotbar::before {
  font-weight: 500; font-stretch: 100%; font-size: 12px; letter-spacing: 0.06em;
}
.page-hero > p, .ph-main > p, .page-hero .hero-sub, .zp-sec-head p, .section-head p, .zp-lede, .lede, .nx-close-p, .nx-foot-brand p { font-weight: 400; }

/* buttons: flat, one hairline, the primary solid lavender */
.nx-btn, .zp-btn, .btn, .play-btn, .mc-btn, button.copy { box-shadow: none !important; border-radius: 10px; }
.nx-btn.is-lg, .zp-btn.is-lg { border-radius: 12px; }
.nx-ipbig, .zp-ipbox { border-radius: 12px; background: #0f0e13; box-shadow: none; }
.nx-ipbig .zp-ip-hint, .zp-ipbox-btn { border-radius: 8px; box-shadow: none; }

/* ==========================================================================
   v4 (2026-11-05). The owner: "a different layout ... like mcpvp.com ... the motion, the feel, the
   smoothness, the Minecraft font on some parts, the background, the slight Minecraft feel ... and the
   background changing its ambient light depending on where you are."
   - the ground is a deep night blue; one fixed ambient layer (fx.js) glows in the colour of the
     section you are reading, and a faint field of pixel specks sits on top of it, still;
   - ZeroCraft (our OFL pixel font, 9 px to the em) on the nav, labels, names and numbers only;
     Archivo stays for headings and reading;
   - mcpvp's bar: icon links left, the logo in its own raised box, links and a filled button right,
     a calm glass pane that condenses on scroll, and a full-width player search under it;
   - every page's content sits in one framed panel; the footer opens with a banner on a loop of the hub.
   ========================================================================== */
@font-face { font-family: 'NxPixel'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/zerocraft/zerocraft.woff') format('woff'); }
:root {
  --nx-ground: #090a12;
  --nx-px-font: 'NxPixel', 'ZeroCraft', ui-monospace, monospace;
  --nx-panel: rgba(15, 16, 27, 0.72);
  --nx-panel-solid: #0f101b;
  --nx-card: #131423;
  --nx-hair: rgba(255, 255, 255, 0.075);
  --surface: #131423; --surface-2: #181a2b; --surface-3: #1f2134; --surface-4: #292b40; --sunken: #07080e;
  --line: #1c1e2e; --line-2: #2a2c40; --line-3: #3c3f57;
}
.nx-px { font-family: var(--nx-px-font); font-weight: 400; font-stretch: 100%; letter-spacing: 0; -webkit-font-smoothing: none; font-smooth: never; }

/* ---------- the ground and the ambient light ---------- */
html { background: var(--nx-ground); }
body { background: transparent; }
.nx-amb { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.nx-amb i { position: absolute; inset: -10%; opacity: 0; transition: opacity 1600ms cubic-bezier(0.4, 0, 0.2, 1); will-change: opacity; }
.nx-amb i.is-on { opacity: 1; }
.nx-amb i[data-c="lav"] { background: radial-gradient(48% 42% at 18% 6%, color-mix(in srgb, var(--zp-red-hi) 17%, transparent), transparent 70%), radial-gradient(40% 40% at 88% 78%, color-mix(in srgb, var(--zp-main) 16%, transparent), transparent 70%); }
.nx-amb i[data-c="gold"] { background: radial-gradient(46% 40% at 50% 10%, rgba(245, 197, 66, 0.14), transparent 70%), radial-gradient(40% 40% at 10% 80%, rgba(214, 120, 40, 0.1), transparent 70%); }
.nx-amb i[data-c="red"] { background: radial-gradient(46% 42% at 84% 14%, rgba(242, 92, 112, 0.14), transparent 70%), radial-gradient(42% 40% at 12% 82%, color-mix(in srgb, var(--zp-main) 14%, transparent), transparent 70%); }
.nx-amb i[data-c="green"] { background: radial-gradient(46% 42% at 16% 18%, rgba(79, 217, 143, 0.12), transparent 70%), radial-gradient(42% 40% at 88% 84%, rgba(40, 140, 120, 0.13), transparent 70%); }
.nx-amb i[data-c="blue"] { background: radial-gradient(46% 42% at 80% 12%, rgba(111, 182, 255, 0.13), transparent 70%), radial-gradient(42% 40% at 14% 84%, rgba(60, 80, 200, 0.15), transparent 70%); }
.nx-amb i[data-c="orchid"] { background: radial-gradient(46% 42% at 30% 10%, color-mix(in srgb, var(--zp-red-hi) 15%, transparent), transparent 70%), radial-gradient(42% 40% at 86% 80%, color-mix(in srgb, var(--zp-main) 14%, transparent), transparent 70%); }
/* a still field of pixel specks, like stars over the void */
.nx-amb::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' shape-rendering='crispEdges'%3E%3Cg fill='%23ffffff'%3E%3Crect x='14' y='30' width='2' height='2' opacity='.35'/%3E%3Crect x='96' y='12' width='2' height='2' opacity='.2'/%3E%3Crect x='170' y='58' width='2' height='2' opacity='.3'/%3E%3Crect x='60' y='120' width='2' height='2' opacity='.18'/%3E%3Crect x='140' y='150' width='2' height='2' opacity='.28'/%3E%3Crect x='200' y='196' width='2' height='2' opacity='.2'/%3E%3Crect x='30' y='186' width='2' height='2' opacity='.25'/%3E%3Crect x='112' y='86' width='2' height='2' opacity='.15'/%3E%3C/g%3E%3C/svg%3E");
}
html:is([data-nx="low"], [data-nx="still"]) .nx-amb i { transition-duration: 400ms; }

/* ---------- headings, buttons, fields (from v3, kept) ---------- */
.page-hero h1, .zp-h1, .lb-title, .md-head h1 { font-weight: 600; font-stretch: 76%; text-transform: none; letter-spacing: 0; line-height: 0.96; font-size: clamp(2.6rem, 1.4rem + 4vw, 5rem); max-width: 18ch; }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .doc h2 { font-weight: 600; font-stretch: 80%; text-transform: none; letter-spacing: 0; line-height: 1.02; }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]) { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.9rem); }
.ms-name, .md-empty b, .nx-sheet-main a { text-transform: none; font-weight: 600; font-stretch: 85%; letter-spacing: -0.01em; }
.zp-stat-v, .stat-value, .ph-nums dd { font-family: var(--nx-px-font); font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: 27px; line-height: 1.1; }
.zp-label, .zp-stat-k, .stat-label, .ph-cap, .zp-sheet-k, .zp-ipbox-k, .md-cap, .zp-panel-head .zp-label, .zp-lrow.is-head, .zp-table thead th, .nx-ipbig-k, .page-hero .hero-meta, .ph-main .hero-meta, .page-hero .updated, .ms-res, .h2h-group, .inv-hotbar::before {
  font-weight: 500; font-stretch: 100%; font-size: 12px; letter-spacing: 0.06em;
}
.page-hero > p, .ph-main > p, .page-hero .hero-sub, .zp-sec-head p, .section-head p, .zp-lede, .lede, .nx-foot-brand p { font-weight: 400; }
.nx-btn, .zp-btn, .btn, .play-btn, .mc-btn, button.copy { box-shadow: none !important; border-radius: 10px; }
.nx-btn.is-lg, .zp-btn.is-lg { border-radius: 12px; }
.nx-btn.is-primary, .zp-btn.is-primary { box-shadow: inset 0 -3px 0 rgba(66, 0, 1, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important; }
.nx-ipbig, .zp-ipbox { border-radius: 12px; background: rgba(6, 7, 12, 0.6); box-shadow: none; }
.nx-ipbig .zp-ip-text { font-family: var(--nx-px-font); font-size: 18px; font-weight: 400; }
.nx-ipbig .zp-ip-hint, .zp-ipbox-btn { border-radius: 8px; box-shadow: inset 0 -3px 0 rgba(66, 0, 1, 0.45); }
.zp-panel, .zp-card, .panel, .doc-toc, .zp-step, .zp-next, .zp-callout, .callout, .mc-dark, .stat-tile, .ph-aside { background: var(--nx-card); border-color: var(--nx-hair); }

/* ---------- the bar ---------- */
:root { --nx-bar-h: 66px; --top-h: calc(var(--nx-bar-h) + 14px); }
.nx-bar { position: sticky; top: 0; z-index: 100; height: calc(var(--nx-bar-h) + 14px); padding: 0; }
.nx-bar-in, .nx-bar.is-scrolled .nx-bar-in {
  --lg-r: 14px;
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  width: min(100% - 2 * var(--gutter), 1320px); height: var(--nx-bar-h); margin: 14px auto 0; padding: 0 10px 0 14px;
  border: 0; border-radius: var(--lg-r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)), rgba(10, 11, 19, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 18px 40px -26px rgba(0, 0, 0, 0.9);
  transition: height 420ms var(--nx-ease), margin 420ms var(--nx-ease), width 420ms var(--nx-ease), background-color 300ms ease-out;
}
/* the sticky box keeps one height: only the pane inside condenses (a changing height made Chrome's scroll anchoring pull the page back up) */
.nx-bar.is-scrolled .nx-bar-in { height: 54px; margin-top: 8px; width: min(100% - 24px, 1340px); background-color: rgba(9, 10, 17, 0.8); }
.nx-bar-in.is-liquid, .nx-bar.is-scrolled .nx-bar-in.is-liquid { backdrop-filter: var(--lg-url) blur(12px) saturate(140%); }
html[data-nx="low"] .nx-bar-in, html[data-nx="still"] .nx-bar-in { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(12, 13, 22, 0.97); }
.nx-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nx-nav.is-l { justify-self: start; }
.nx-right { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 8px; }
.nx-l, .nx-nav > a.nx-l, .nx-more > button.nx-l {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 9px; border: 0; border-radius: 9px; background: none;
  font-family: var(--nx-px-font); font-size: 18px; font-weight: 400; line-height: 1; letter-spacing: 0; color: var(--nx-ink-2); text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-font-smoothing: none; transition: color 160ms ease-out, background-color 160ms ease-out;
}
.nx-l img { width: 18px; height: 18px; image-rendering: pixelated; flex: none; transition: transform 260ms var(--nx-ease); }
.nx-l svg { width: 18px; height: 18px; flex: none; }
.nx-l:hover, .nx-more.is-open > button.nx-l { color: var(--nx-ink); background: rgba(255, 255, 255, 0.05); }
/* hover removed (purple pass 2026-11-12) */

.nx-l[aria-current="page"], .nx-more.has-current > button.nx-l { color: var(--nx-acc); }
.nx-l[aria-current="page"]::after, .nx-more.has-current > button.nx-l::after { content: ""; position: absolute; left: 12px; right: 12px; top: -12px; height: 2px; border-radius: 0 0 2px 2px; background: var(--nx-acc); }
.nx-bar.is-scrolled .nx-l[aria-current="page"]::after { top: -6px; }
.nx-more > button.nx-l svg:last-child { width: 13px; height: 13px; margin-left: -2px; }
.nx-more > button.nx-l span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nx-signin { padding: 0 10px; }
/* the logo in its own raised box, standing out of the bar like mcpvp's */
.nx-badge {
  grid-column: 2; grid-row: 1; display: grid; place-items: center; height: calc(var(--nx-bar-h) + 16px); padding: 0 26px; margin-block: -8px;
  border-radius: 12px; background: linear-gradient(180deg, #151627, #0c0d16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 14px 30px -12px rgba(0, 0, 0, 0.9);
  transition: height 420ms var(--nx-ease), margin 420ms var(--nx-ease), padding 420ms var(--nx-ease);
}
.nx-badge img { display: block; width: auto; height: 32px; transition: height 420ms var(--nx-ease), transform 300ms var(--nx-ease); }
/* hover removed (purple pass 2026-11-12) */

.nx-bar.is-scrolled .nx-badge { height: 62px; margin-block: -4px; padding: 0 20px; }
.nx-bar.is-scrolled .nx-badge img { height: 26px; }
.nx-play {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border: 0; border-radius: 9px; cursor: pointer;
  background: var(--nx-acc-fill); color: #fff; font-family: var(--nx-px-font); font-size: 18px; -webkit-font-smoothing: none;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.28);
  transition: background-color 160ms ease-out, transform 160ms var(--nx-ease);
}
.nx-play svg { width: 18px; height: 18px; }
.nx-play:hover { background: var(--nx-acc-fill-h); }
.nx-play:active { transform: translateY(1px); }
.nx-play.is-copied { background: var(--win); color: #05170d; }
.nx-burger { grid-column: 1; grid-row: 1; justify-self: start; display: none; }
@media (max-width: 1239px) { .nx-nav.is-r .nx-l span { display: none; } .nx-nav.is-r .nx-l { padding: 0 10px; } }
@media (max-width: 1099px) { .nx-nav.is-l .nx-l span { display: none; } .nx-nav.is-l .nx-l { padding: 0 11px; } .nx-l[aria-current="page"]::after { left: 8px; right: 8px; } }
@media (max-width: 899px) {
  .nx-nav { display: none; }
  .nx-burger { display: grid; }
  .nx-bar-in, .nx-bar.is-scrolled .nx-bar-in { padding: 0 8px; width: calc(100% - 16px); }
  .nx-badge { padding: 0 16px; }
  .nx-badge img { height: 24px; }
  .nx-bar.is-scrolled .nx-badge img { height: 22px; }
  .nx-play { padding: 0 12px; }
}
@media (max-width: 420px) { .nx-play .zp-ip-hint { display: none; } .nx-play { padding: 0 11px; } .nx-badge { padding: 0 12px; } }

/* the player search under the bar (mcpvp's search row) */
.nx-search { display: flex; gap: 10px; width: min(100% - 2 * var(--gutter), 1320px); margin: 14px auto 0; }
.nx-find.is-wide { flex: 1; width: auto; height: 46px; padding: 0 12px 0 14px; border-radius: 12px; border-color: var(--nx-hair); background: var(--nx-panel); }
.nx-find.is-wide:focus-within { width: auto; border-color: color-mix(in srgb, var(--zp-red-hi) 70%, transparent); }
.nx-find.is-wide input { font-size: 16px; }
.nx-search .nx-ip { height: 46px; border-radius: 12px; border-color: var(--nx-hair); background: var(--nx-panel); }
.nx-search .nx-ip .zp-ip-text { font-family: var(--nx-px-font); font-size: 18px; -webkit-font-smoothing: none; }
.nx-ip-state { padding-right: 10px; margin-right: 2px; border-right: 1px solid rgba(255, 255, 255, 0.1); color: var(--nx-ink-2); }
.nx-ip-state [data-zp-status-text]:empty + * { display: none; }
@media (max-width: 1279px) { .nx-find { display: flex; } }
@media (max-width: 699px) { .nx-search { width: calc(100% - 16px); margin-top: 10px; } .nx-search .nx-ip { display: none; } .nx-find.is-wide { height: 44px; } }
.nx-sheet { padding-top: calc(var(--nx-bar-h) + 26px); background: rgba(8, 9, 15, 0.98); }
.nx-sheet-main a { font-family: var(--nx-px-font); font-size: 27px; font-weight: 400; -webkit-font-smoothing: none; }
.nx-sheet-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nx-sheet-row .nx-btn { min-height: 46px; padding: 0 10px; font-size: 14px; }
.nx-sheet-row .nx-btn img { width: 18px; height: 18px; image-rendering: pixelated; }
.nx-bar.is-sheet .nx-bar-in { background: rgba(12, 13, 22, 0.98); }

/* ---------- every page's content in one framed panel ---------- */
body > main:not(.h-main) {
  width: min(100% - 2 * var(--gutter), 1320px); margin: 14px auto 0; padding-top: 0; padding-bottom: 40px;
  border-radius: 16px; background: var(--nx-panel); box-shadow: inset 0 0 0 1px var(--nx-hair);
}
body > main:not(.h-main) .zp-shell, body > main:not(.h-main) .nx-shell { width: min(100% - 2 * clamp(16px, 3vw, 40px), 1240px); }
@media (max-width: 699px) { body > main:not(.h-main) { width: calc(100% - 16px); margin-top: 10px; border-radius: 14px; } }
.page-hero { padding-top: clamp(36px, 5vw, 64px); }
.zp-kicker, .eyebrow-pill, .nx-k { font-family: var(--nx-px-font); font-size: 18px; color: var(--nx-acc-hi); -webkit-font-smoothing: none; }

/* ---------- the footer: the banner on a loop of the hub, then one panel like the bar ---------- */
.nx-foot { position: relative; margin-top: 18px; overflow: hidden; }
.nx-close { padding: 0 0 18px; }
.nx-close .nx-shell { width: min(100% - 2 * var(--gutter), 1320px); }
.nx-banner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 40px;
  min-height: 300px; padding: clamp(26px, 4vw, 52px); border-radius: 16px; overflow: hidden; isolation: isolate;
  background: #10111c; box-shadow: inset 0 0 0 1px var(--nx-hair);
}
.nx-banner-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.nx-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 10, 18, 0.92) 0%, rgba(9, 10, 18, 0.66) 46%, rgba(9, 10, 18, 0.25) 100%), linear-gradient(0deg, rgba(9, 10, 18, 0.7), transparent 60%); }
.nx-banner .nx-px { margin: 0 0 12px; color: var(--nx-acc-hi); font-size: 18px; }
.nx-banner-t { margin: 0; font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.6rem); font-weight: 600; font-stretch: 74%; line-height: 0.95; letter-spacing: -0.03em; max-width: 12ch; }
.nx-banner-p { margin: 14px 0 0; max-width: 44ch; color: var(--nx-ink-2); font-size: 16px; }
.nx-banner-cta { display: grid; gap: 10px; min-width: 320px; }
@media (max-width: 899px) { .nx-banner { grid-template-columns: minmax(0, 1fr); } .nx-banner-cta { min-width: 0; } }
@media (max-width: 699px) { .nx-close .nx-shell { width: calc(100% - 16px); } }
.nx-foot-panel { width: min(100% - 2 * var(--gutter), 1320px); margin: 0 auto 18px; border-radius: 16px; background: rgba(10, 11, 19, 0.82); box-shadow: inset 0 0 0 1px var(--nx-hair); }
.nx-foot-panel .nx-shell { width: auto; padding-inline: clamp(18px, 3vw, 36px); }
.nx-foot-grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2.4fr; gap: 40px; padding-block: 34px 26px; border-top: 0; }
.nx-foot-brand { display: grid; align-content: start; gap: 14px; }
.nx-foot-logo img { display: block; width: auto; height: 30px; }
.nx-foot-brand p { margin: 0; max-width: 32ch; color: var(--nx-ink-3); font-size: 15px; }
.nx-foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nx-foot-col .nx-k { display: block; margin: 0 0 12px; font-size: 18px; color: var(--nx-ink); }
.nx-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nx-foot-col a { display: inline-flex; align-items: center; gap: 9px; padding: 3px 0; color: var(--nx-ink-3); text-decoration: none; font-size: 15px; transition: color 140ms ease-out; }
.nx-foot-col a img { width: 16px; height: 16px; image-rendering: pixelated; opacity: 0.75; transition: opacity 140ms ease-out, transform 240ms var(--nx-ease); }
.nx-foot-col a:hover, .nx-foot-col a[aria-current="page"] { color: var(--nx-ink); }
.nx-foot-col a:hover img { opacity: 1; }

.nx-foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px 20px; border-top: 1px solid var(--nx-hair); }
.nx-foot-bar p { margin: 0; color: var(--nx-ink-3); font-size: 13px; }
.nx-foot-legal { display: flex; gap: 18px; }
.nx-foot-legal a { color: var(--nx-ink-2); text-decoration: none; }
.nx-foot-legal a:hover { color: var(--nx-ink); }
@media (max-width: 999px) { .nx-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 699px) { .nx-foot-panel { width: calc(100% - 16px); } .nx-foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
.nx-giant, .nx-close-slab { display: none; }

/* ==========================================================================
   v4.1 (2026-11-05, later). The owner: "no stars in the background, the menus look kinda boring, take
   stuff from zerobot's page, more Minecraft font, nav icons single grey like the screenshot".
   - no specks: the ambient light is only a soft glow per section;
   - one-colour pixel glyphs in the bar and the footer (build.js GLYPH), grey, lavender when active;
   - zerobot.eu's glass pane (.lg in unified.css: top-lit rim, inner light, pointer light) on cards and
     panels, without the backdrop blur (zerobot.eu's own rule for panels, for speed);
   - ZeroCraft on page and section titles, card titles, buttons, tabs, stats, tier badges, table heads;
   - motion tied to the scroll where the browser can do it on the compositor (view timelines): card
     grids rise in and media drift slower than the page; both play backwards when scrolling up.
   ========================================================================== */
.nx-amb::after { display: none; }
.nx-amb i { inset: -25%; }
/* the glyphs */
.nx-g { display: block; flex: none; width: 18px; height: 18px; }
.nx-l { color: #b9b9c4; }
.nx-l:hover { color: #fff; }
.nx-l[aria-current="page"], .nx-more.has-current > button.nx-l { color: var(--nx-acc); }
/* hover removed (purple pass 2026-11-12) */

.nx-l .nx-g { transition: transform 240ms var(--nx-ease); }
.nx-play .nx-g, .nx-play svg { width: 18px; height: 18px; }
.nx-foot-col a .nx-g { width: 16px; height: 16px; color: #8d8d99; transition: color 160ms ease-out, transform 240ms var(--nx-ease); }
.nx-foot-col a[aria-current="page"] .nx-g { color: var(--nx-acc); transform: translateY(-1px); }
.nx-foot-col a:hover .nx-g { color: var(--nx-acc); }

.nx-foot-col a:hover { color: var(--nx-ink); }
/* zerobot.eu's pane */
.zp-panel, .zp-card, .ph-aside, .stat-tile, .zp-stat, .kcard, .inv-panel, .doc-toc, .zp-callout, .callout, .zp-next, .nx-foot-panel, .nx-more-menu {
  background: radial-gradient(260px circle at var(--mx, 24%) var(--my, -40%), rgba(255, 255, 255, 0.075), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 46%, rgba(255, 255, 255, 0.03)),
    rgba(17, 18, 31, 0.78);
  border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 1px 0 0 rgba(255, 255, 255, 0.05), inset -1px 0 0 rgba(255, 255, 255, 0.05),
    inset 0 22px 34px -28px rgba(255, 255, 255, 0.2), 0 24px 50px -32px rgba(0, 0, 0, 0.8);
}
html[data-nx="low"] :is(.zp-panel, .zp-card, .ph-aside, .stat-tile, .zp-stat, .kcard) { background: #121320; }
/* the pixel font, on more of the page */
.page-hero h1, .zp-h1, .lb-title, .md-head h1 { font-family: var(--nx-px-font); font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: 54px; line-height: 1.05; -webkit-font-smoothing: none; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.35); }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .doc h2, .nx-banner-t, .h-h2 { font-family: var(--nx-px-font); font-weight: 400; font-stretch: 100%; letter-spacing: 0; -webkit-font-smoothing: none; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35); }
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]) { font-size: 36px; line-height: 1.1; }
.nx-banner-t { font-size: 54px; line-height: 1.05; max-width: 14ch; }
.zp-panel-title, .ms-name, .h-fx-head h3, .zp-card h3 { font-family: var(--nx-px-font); font-weight: 400; font-size: 18px; letter-spacing: 0; -webkit-font-smoothing: none; }
.nx-btn, .zp-btn, .btn, .play-btn, .zp-tab, .zp-sec-link, .nx-ipbig .zp-ip-hint, .zp-ipbox-btn { font-family: var(--nx-px-font); font-weight: 400; font-size: 18px; letter-spacing: 0; -webkit-font-smoothing: none; }
.nx-btn.is-sm, .zp-btn.is-sm { font-size: 18px; }
.zp-tier { font-family: var(--nx-px-font); font-weight: 400; font-size: 18px; line-height: 1; letter-spacing: 0; padding: 2px 6px 3px; -webkit-font-smoothing: none; }
.zp-table thead th, .zp-lrow.is-head, .h-mt-head { font-family: var(--nx-px-font); font-weight: 400; font-size: 18px; letter-spacing: 0; text-transform: none; -webkit-font-smoothing: none; }
.zp-stat-k, .stat-label { font-family: var(--nx-px-font); font-weight: 400; font-size: 18px; letter-spacing: 0; text-transform: none; -webkit-font-smoothing: none; }
@media (max-width: 599px) {
  .page-hero h1, .zp-h1, .lb-title, .md-head h1, .nx-banner-t { font-size: 36px; }
  .zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]) { font-size: 27px; }
}
/* section titles rise word by word once (nx.js splits them); page titles too */
html.nx-js:not([data-nx="still"]):not([data-nx="low"]) :is(h2, .h-h2)[data-nx-words]:not(.is-in) .nx-w > span { transform: translateY(105%); }
/* scroll-tied, compositor only: cards rise in, media drift (individual translate/scale, so hover transforms still work) */
@keyframes nx-v-rise { from { opacity: 0.001; translate: 0 48px; scale: 0.96; } }
@keyframes nx-v-drift { from { translate: 0 -7%; } to { translate: 0 7%; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* 2026-11-30: cards and stat tiles no longer rise in on scroll */
    html:is([data-nx="high"], [data-nx="mid"]) .nx-banner-media { scale: 1.16; animation: nx-v-drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}
/* ---------- v4.1: the leaderboard page, the same ladder treatment as the home page ---------- */
.lb-rows { display: grid; gap: 6px; border: 0; background: none; }
.lb-row { border-radius: 12px; border: 0 !important;
  background: radial-gradient(260px circle at var(--mx, 24%) var(--my, -40%), rgba(255, 255, 255, 0.07), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 46%, rgba(255, 255, 255, 0.025)), rgba(17, 18, 31, 0.78) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 40px -30px rgba(0, 0, 0, 0.8) !important;
  transition: transform 260ms var(--nx-ease), box-shadow 200ms ease-out;
}
/* hover removed (purple pass 2026-11-12) */

.lb-c-rank, .lb-c-rank * { font-family: var(--nx-px-font) !important; font-weight: 400 !important; font-size: 27px !important; letter-spacing: 0; -webkit-font-smoothing: none; font-variant-numeric: tabular-nums; }
.lb-name, .lb-pod-name { font-family: var(--nx-px-font) !important; font-weight: 400 !important; font-size: 18px !important; letter-spacing: 0; -webkit-font-smoothing: none; }
.lb-c-score, .lb-c-score *, .lb-pod-score, .lb-pod-score * { font-family: var(--nx-px-font) !important; font-weight: 400 !important; letter-spacing: 0; -webkit-font-smoothing: none; font-variant-numeric: tabular-nums; }
.lb-c-score { font-size: 18px; }
.lb-pod-place { font-family: var(--nx-px-font) !important; font-weight: 400 !important; -webkit-font-smoothing: none; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.4); }
/* the podium: panes with a gold, silver and bronze rim instead of block textures */
.lb-pod-block { background-image: none !important; border: 0 !important; border-radius: 16px 16px 0 0 !important;
  background-color: rgba(17, 18, 31, 0.82) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px var(--pod-rim, rgba(255, 255, 255, 0.1)), inset 0 -80px 80px -60px var(--pod-glow, transparent) !important;
}
.lb-pod-card.is-1 { --pod-rim: rgba(245, 197, 66, 0.5); --pod-glow: rgba(245, 197, 66, 0.3); }
.lb-pod-card.is-2 { --pod-rim: rgba(214, 219, 230, 0.35); --pod-glow: rgba(210, 218, 232, 0.14); }
.lb-pod-card.is-3 { --pod-rim: rgba(224, 154, 98, 0.45); --pod-glow: rgba(205, 122, 62, 0.22); }
.lb-pod-card.is-1 .lb-pod-place { color: #ffd34d !important; }
.lb-pod-card.is-2 .lb-pod-place { color: #d9dee8 !important; }
.lb-pod-card.is-3 .lb-pod-place { color: #e6a06a !important; }
.lb-pod-card { transition: transform 320ms var(--nx-ease); }
/* hover removed (purple pass 2026-11-12) */

/* v4.1 AI-tells pass: the page heads' stat tiles read as one hairline row, not a bento of boxes */
.page-hero :is(.zp-stats, .hero-stats), .ph-main :is(.zp-stats, .hero-stats) { gap: 0; }
.page-hero :is(.zp-stat, .stat-tile), .ph-main :is(.zp-stat, .stat-tile) { background: none !important; box-shadow: none !important; border: 0; border-left: 1px solid var(--nx-hair); border-radius: 0; padding: 4px 18px; animation: none !important; }
.page-hero :is(.zp-stat, .stat-tile):first-child, .ph-main :is(.zp-stat, .stat-tile):first-child { border-left: 0; padding-left: 0; }
.nx-ipbig-k { text-transform: none; letter-spacing: 0; font-size: 13px; }
/* leaderboard: overflow hidden made the board its own scroll box, so the sticky head (top: --top-h) sat 80px down inside it, over row 1. clip keeps the rounded corners and lets the head stick to the page. */
.zp-panel { overflow: clip; }

/* v4.1 country flags (assets/nx/flags, the same 8 x 8 flags as in game) */
.nx-flag { display: inline-block; width: 16px; height: 16px; margin: 0 7px 0 0; vertical-align: -2px; border-radius: 2px; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35); flex: none; }
.h-lb-card .nx-flag { width: 18px; height: 18px; vertical-align: -1px; }
.h-lb-from { display: flex; align-items: center; color: var(--nx-ink-3); font-size: 13px; }
.h-lb-pop-h { flex-wrap: wrap; }
.h-lb-pop-h .h-lb-from { flex-basis: 100%; padding-left: 0; }
.lb-pod-name .nx-flag, .lb-d-name .nx-flag { width: 18px; height: 18px; }
