/* ==========================================================================
   ZeroPvP "lux" layer (v5, 2026-11-09). Loaded LAST on every page (tools/nx/build.js).
   The owner: "the font from my portfolio sometimes, mixed with the Minecraft font, a little cleaner
   but more motion like my portfolio, the black and white and some transparent glass, more premium".
   - Ground: deep purple since 2026-11-12 evening (see the PURPLE block at the end; Deep Rouge and the black ground are history).
     The coloured ambient lights are gone; one still white light sits at the top of the page.
   - Glass: frostyh.com's smoked glass (assets/css/glass.css there): a smoke fill a little lighter than
     the ground, a crisp 1px edge brighter on top, an inner top light and an inner bottom shade.
     Backdrop blur only on the bar and its menus (speed); panes are fill + rim.
   - Type: Anton (the portfolio's display face) for page titles and section titles; the Minecraft
     pixel font stays on labels, names, numbers, the nav and buttons; Archivo for reading.
   - Motion like the portfolio: titles rise out of a mask word by word, blocks rise 24px with a fade,
     media open with a short wipe and settle from a slight zoom, banners drift slower than the page.
     All once, all tied to arrival; nothing loops; still under reduced motion and on weak devices.
   - Skins: the server's anti-aliased renders are drawn smooth, never pixelated when scaled.
   ========================================================================== */

:root {
  --nx-ground: var(--zp-base);
  --nx-ink: #f4f3f1;
  --nx-ink-2: #b6b4b8;
  --nx-ink-3: #85838a;
  --nx-hair: rgba(255, 255, 255, 0.08);
  --nx-panel: rgba(20, 20, 23, 0.5);
  --nx-panel-solid: #141417;
  --nx-card: #141417;
  --surface: #141417; --surface-2: #19191c; --surface-3: #202024; --surface-4: #2a2a2f; --sunken: #08080a;
  --line: #1d1d21; --line-2: #2a2a2f; --line-3: #3b3b41;
  --zl-display: 'Hoover', Impact, 'Arial Narrow', sans-serif;
  --zl-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --zl-rise: cubic-bezier(0.16, 1, 0.3, 1);
  /* the pane edge (frostyh.com --lg-rimset, neutral) */
  --zl-rim: inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.075),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    inset 0 22px 30px -26px rgba(255, 255, 255, 0.12),
    inset 0 -26px 34px -30px rgba(0, 0, 0, 0.55);
  --zl-rim-hi: inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    inset 0 22px 30px -26px rgba(255, 255, 255, 0.16),
    inset 0 -26px 34px -30px rgba(0, 0, 0, 0.55);
  --zl-pane: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 38%, rgba(255, 255, 255, 0.015)), rgba(22, 22, 25, 0.62);
  --zl-pane-2: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04) 36%, rgba(255, 255, 255, 0.03)), rgba(26, 26, 30, 0.7);
  --zl-drop: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
  --zl-r: 20px; --zl-r-2: 14px; --zl-r-3: 10px;
  scrollbar-color: #2c2c31 var(--nx-ground);
  /* B/W (2026-11-11): the owner wants zeropvp.xyz as black and white as frostyh.com, colour only inside
     the real imagery (armoured skins, item textures, banners, clips) and the game data (tier, win/loss,
     the medal places). The lavender chrome accent becomes white; tokens remap so every var(--nx-acc*) in
     nx.css / home.css turns neutral in one move, and the few bright purple literals are overridden below. */
  /* Deep Rouge (2026-11-12, owner's rebrand): the chrome stays black and white, the one accent is rouge, flat.
     (history; the colours are the crimson tokens of zp.css since 2026-11-15, see the CRIMSON block below) */
  --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);
  --accent: var(--zp-red-hi); --accent-mid: var(--zp-white); --accent-hi: var(--zp-white); --accent-lo: var(--zp-main); --accent-ink: var(--zp-base);
  /* the portfolio's spring settle (frostyh.com edge.css), transform-only so it stays on the compositor */
  --zl-spring: linear(0, .2 5%, .56 11%, .86 18%, 1.05 25%, 1.09 31%, 1.07 38%, 1.02 47%, .99 58%, .997 74%, 1);
}

/* ---------- ground: black, one still white light at the top, no coloured ambient ---------- */
html, body { background: var(--nx-ground); }
body { background: radial-gradient(1100px 520px at 50% -180px, rgba(255, 255, 255, 0.065), transparent 70%) no-repeat, var(--nx-ground); }
.nx-amb { display: none !important; }
::selection { background: rgba(255, 255, 255, 0.24); color: #fff; }

/* ---------- type ---------- */
/* page titles: Anton, uppercase, large, tight */
.page-hero h1, .zp-h1, .md-head h1, .h-lb-title, main h1:not([class*="sr"]):not(.pf-name) {
  font-family: var(--zl-display) !important; font-weight: 400 !important; font-stretch: 100% !important;
  text-transform: uppercase; letter-spacing: 0.004em; line-height: 0.9 !important;
  font-size: clamp(3rem, 1.6rem + 5.2vw, 6.6rem) !important; text-shadow: none !important;
  -webkit-font-smoothing: antialiased; color: var(--nx-ink); max-width: 16ch;
}
/* section titles: Anton in sentence case, one size down */
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .doc h2, .h-h2, .nx-banner-t {
  font-family: var(--zl-display) !important; font-weight: 400 !important; font-stretch: 100% !important;
  letter-spacing: 0.005em; line-height: 0.98 !important; text-shadow: none !important; -webkit-font-smoothing: antialiased;
  text-transform: none;
}
.zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .h-h2 { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.6rem) !important; }
.nx-banner-t { font-size: clamp(2.8rem, 1.4rem + 4vw, 5.2rem) !important; text-transform: uppercase; max-width: 12ch; }
.doc h2 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem) !important; }
@media (max-width: 599px) {
  .page-hero h1, .zp-h1, .md-head h1, .h-lb-title, main h1:not([class*="sr"]):not(.pf-name) { font-size: clamp(2.6rem, 13vw, 3.6rem) !important; }
  .zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .h-h2 { font-size: 2.15rem !important; }
  .nx-banner-t { font-size: 2.7rem !important; }
}
/* kickers and labels stay in the game's font, quiet white instead of lavender */
.zp-kicker, .eyebrow-pill, .nx-k { color: var(--nx-ink-2) !important; }
.page-hero > p, .ph-main > p, .page-hero .hero-sub, .zp-sec-head p, .section-head p, .zp-lede, .lede, .h-sub { color: var(--nx-ink-2); }
a { text-underline-offset: 3px; }

/* ---------- the bar: smoked glass, the new wordmark in a clean glass box, a white play button ---------- */
.nx-bar-in, .nx-bar.is-scrolled .nx-bar-in {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), rgba(16, 16, 18, 0.58) !important;
  box-shadow: var(--zl-rim), 0 20px 44px -28px rgba(0, 0, 0, 0.95) !important;
  -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px);
  border-radius: 18px;
}
.nx-bar.is-scrolled .nx-bar-in { background-color: rgba(12, 12, 14, 0.78) !important; }
/* the liquid-glass SVG displacement lens is retired (2026-11-11): it re-sampled the backdrop every
   scroll frame on desktop and was the main cause of the mild stutter. The bar stays glass, just blurred. */
html[data-nx="low"] .nx-bar-in, html[data-nx="still"] .nx-bar-in { background: rgba(14, 14, 16, 0.97) !important; }
.nx-l { color: #b4b3b8; }
.nx-l:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nx-l[aria-current="page"], .nx-more.has-current > button.nx-l { color: #fff; }
.nx-l[aria-current="page"]::after, .nx-more.has-current > button.nx-l::after { background: var(--nx-acc); height: 2px; }
.nx-badge {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)), #111113 !important;
  box-shadow: var(--zl-rim), 0 16px 34px -14px rgba(0, 0, 0, 0.95) !important; border-radius: 16px;
}
.nx-badge img { height: 26px; width: auto; }
.nx-bar.is-scrolled .nx-badge img { height: 22px; }
@media (max-width: 899px) { .nx-badge img { height: 20px; } .nx-bar.is-scrolled .nx-badge img { height: 18px; } }
.nx-play {
  background: var(--nx-acc-fill); color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28);
}
.nx-play:hover { background: var(--nx-acc-fill-h); color: #fff; }
.nx-more-menu, .nx-sheet { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.nx-more-menu { background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), rgba(16, 16, 18, 0.86) !important; box-shadow: var(--zl-rim), 0 30px 60px -24px rgba(0, 0, 0, 0.9) !important; border-radius: 18px; }
.nx-sheet { background: rgba(10, 10, 11, 0.94); }
html[data-nx="low"] :is(.nx-more-menu, .nx-sheet), html[data-nx="still"] :is(.nx-more-menu, .nx-sheet) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.nx-find.is-wide, .nx-search .nx-ip { background: var(--zl-pane) !important; box-shadow: var(--zl-rim); border-color: transparent !important; border-radius: 14px; }
.nx-find.is-wide:focus-within { box-shadow: var(--zl-rim), 0 0 0 1px rgba(255, 255, 255, 0.55); }

/* ---------- buttons: the one call to action in flat wine with white text, glass secondary ---------- */
.nx-btn.is-primary, .zp-btn.is-primary, .btn-primary, .zp-ipbox-btn, .nx-ipbig .zp-ip-hint, .nx-ipbtn {
  background: var(--nx-acc-fill) !important; color: #fff !important; border-color: transparent !important; border-image: none !important;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.28) !important; text-shadow: none !important;
}
.nx-btn.is-primary:hover, .zp-btn.is-primary:hover, .zp-ipbox-btn:hover, .nx-ipbig:hover .zp-ip-hint { background: var(--nx-acc-fill-h) !important; }
.nx-btn:not(.is-primary):not(.is-discord), .zp-btn:not(.is-primary):not(.is-discord) {
  background: var(--zl-pane-2); box-shadow: var(--zl-rim) !important; border-color: transparent;
}
/* hover removed (purple pass 2026-11-12) */

.nx-btn, .zp-btn { transition: background-color 180ms ease-out, box-shadow 180ms ease-out, transform 220ms var(--zl-ease); }
.nx-btn:active, .zp-btn:active { transform: translateY(1px); }
.nx-ipbig, .zp-ipbox { background: var(--zl-pane) !important; box-shadow: var(--zl-rim) !important; border-radius: 16px; }

/* ---------- the page: no outer frame any more, sections breathe on the black ---------- */
body > main:not(.h-main) { background: none !important; box-shadow: none !important; border-radius: 0; }
.h-frame { background: none !important; box-shadow: none !important; }
.h-sec { border-top-color: var(--nx-hair); padding-block: clamp(56px, 6.5vw, 96px); }
.page-hero { padding-top: clamp(44px, 6vw, 88px); padding-bottom: clamp(20px, 3vw, 36px); }

/* ---------- glass panes ---------- */
.zp-panel, .zp-card, .ph-aside, .stat-tile, .zp-stat, .kcard, .inv-panel, .doc-toc, .zp-callout, .callout, .zp-next, .nx-foot-panel,
.h-mt, .h-rank-table, .h-fx, .h-steps li, .h-report, .h-kit > a, .h-lb-rows > li > a, .h-lb-card > a, .lb-row, .h-news, .h-newslist > li > a, .h-lb-tabs, .lb-pod-block {
  background: radial-gradient(300px circle at var(--mx, 30%) var(--my, -60%), rgba(255, 255, 255, 0.06), transparent 70%),
    var(--zl-pane) !important;
  box-shadow: var(--zl-rim), var(--zl-drop) !important;
  border-color: transparent !important;
}
.zp-panel, .h-mt, .h-rank-table, .h-fx, .nx-foot-panel, .inv-panel, .doc-toc { border-radius: var(--zl-r) !important; }
.zp-card, .kcard, .h-kit > a, .h-report, .h-steps li, .h-lb-card > a { border-radius: 18px !important; }
.lb-row, .h-lb-rows > li > a { border-radius: var(--zl-r-2) !important; }
/* hover removed (purple pass 2026-11-12) */

html[data-nx="low"] :is(.zp-panel, .zp-card, .ph-aside, .stat-tile, .zp-stat, .kcard, .lb-row) { background: #151518 !important; }
/* tabs: a glass rail, the picked one a white-edged pane with a rouge foot */
.h-lb-tabs { border-radius: 16px !important; box-shadow: var(--zl-rim) !important; }
.h-lb-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), inset 0 -2px 0 var(--nx-acc); }
.h-lb-tabs button img { background: rgba(255, 255, 255, 0.05); }

/* the podium: glass cards, the place colours only as a thin rim and the number */
.h-lb-card > a::before { opacity: 0.55; }
.h-lb-card.is-1 > a { box-shadow: inset 0 1px 0 rgba(255, 228, 150, 0.45), inset 0 0 0 1px rgba(245, 197, 66, 0.32), inset 0 22px 30px -26px rgba(255, 230, 160, 0.2), var(--zl-drop) !important; }
.h-lb-card.is-2 > a { box-shadow: inset 0 1px 0 rgba(235, 238, 245, 0.36), inset 0 0 0 1px rgba(214, 219, 230, 0.2), inset 0 22px 30px -26px rgba(255, 255, 255, 0.14), var(--zl-drop) !important; }
.h-lb-card.is-3 > a { box-shadow: inset 0 1px 0 rgba(240, 190, 150, 0.4), inset 0 0 0 1px rgba(224, 154, 98, 0.26), inset 0 22px 30px -26px rgba(255, 210, 170, 0.14), var(--zl-drop) !important; }
.h-lb-place, .lb-pod-place { font-family: var(--zl-display) !important; -webkit-font-smoothing: antialiased; text-shadow: none !important; }
.h-lb-card .h-lb-place { font-size: 64px; line-height: 0.9; }
.h-lb-card.is-1 .h-lb-place { font-size: 88px; }
.lb-pod-card .lb-pod-place { font-size: 72px !important; line-height: 0.9; }
/* the figures: taller, smooth, standing on their own soft shadow (drawn into the render) */
.h-lb-fig { height: 220px; }
.h-lb-card.is-1 .h-lb-fig { height: 270px; }
.h-lb-fig img, img.is-skin-render, .zs-render, .zp-skin img { image-rendering: auto !important; }
.h-lb-fig img { filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55)); }
/* hover removed (purple pass 2026-11-12) */

@media (max-width: 899px) { .h-lb-fig, .h-lb-card.is-1 .h-lb-fig { height: 130px; } .h-lb-card.is-1 .h-lb-fig { height: 150px; } .h-lb-card .h-lb-place { font-size: 44px; } .h-lb-card.is-1 .h-lb-place { font-size: 56px; } }

/* ---------- media: banners and clips get the glass edge ---------- */
.h-banner, .nx-banner, .h-fcard, .h-kits-shot, .h-join-shot { border-radius: var(--zl-r) !important; box-shadow: var(--zl-rim), var(--zl-drop) !important; }
.h-banner::before { background: linear-gradient(90deg, rgba(8, 8, 9, 0.94) 0%, rgba(8, 8, 9, 0.66) 45%, rgba(8, 8, 9, 0.1) 100%) !important; }
.nx-banner::before { background: linear-gradient(90deg, rgba(8, 8, 9, 0.94) 0%, rgba(8, 8, 9, 0.62) 50%, rgba(8, 8, 9, 0.2) 100%), linear-gradient(0deg, rgba(8, 8, 9, 0.7), transparent 60%) !important; }
.h-banner-copy .nx-px, .nx-banner .nx-px { color: var(--nx-ink-2) !important; }
.h-banner-copy b { font-family: var(--zl-display); font-weight: 400; font-stretch: 100%; letter-spacing: 0.005em; font-size: clamp(30px, 1.2rem + 2vw, 46px); text-transform: uppercase; line-height: 0.95; }

/* ---------- the footer: glass panel, and the wordmark large at the very foot ---------- */
.nx-foot-logo img { height: 24px !important; }
.zl-giant { display: block; width: min(100% - 2 * var(--gutter, 16px), 1320px); margin: 6px auto 0; padding: 0 0 clamp(16px, 2.4vw, 32px); overflow: hidden; pointer-events: none; user-select: none; }
.zl-giant img { display: block; width: 100%; height: auto; opacity: 0.075; }
@media (max-width: 699px) { .zl-giant { width: calc(100% - 16px); } }

/* ==========================================================================
   Motion, the portfolio's way (once, on arrival)
   ========================================================================== */
/* page and section titles rise word by word out of a mask (nx.js splits them) */
.nx-w { padding-bottom: 0.1em; margin-bottom: -0.1em; }
html.nx-js:not([data-nx="still"]):not([data-nx="low"]) :is(h1, h2, .h-h2)[data-nx-words]:not(.is-in) .nx-w > span { transform: translateY(108%); }
html.nx-js [data-nx-words] .nx-w > span { transition: transform 1000ms var(--zl-rise); transition-delay: calc(var(--i, 0) * 70ms); }
/* blocks: rise 24px with a fade, a touch slower than before */
html.nx-js .nx-r:not(.is-in) { opacity: 0; transform: translateY(28px) scale(0.988); }
html.nx-js .nx-r { transition: opacity 760ms ease-out, transform 980ms var(--zl-rise); transition-delay: var(--nx-d, 0ms); }
/* high and mid devices get the springy settle from the portfolio (transform only, stays on the GPU) */
html.nx-js:is([data-nx="high"], [data-nx="mid"]) .nx-r { transition: opacity 640ms ease-out, transform 1100ms var(--zl-spring); }
html[data-nx="low"] .nx-r:not(.is-in) { transform: none; }
html[data-nx="still"] .nx-r:not(.is-in) { opacity: 1; transform: none; }
/* media inside a pane settle from a slight zoom as they come into view, and drift slower than the page
   (scroll-driven, compositor only; plays backwards when scrolling up) */
@keyframes zl-settle { from { scale: 1.12; } to { scale: 1; } }
@keyframes zl-drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
@keyframes zl-lift { from { opacity: 0; translate: 0 36px; } to { opacity: 0.075; translate: 0 0; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:is([data-nx="high"], [data-nx="mid"]) .h-banner-media { animation: zl-drift linear both; animation-timeline: view(); animation-range: cover; }
    html:is([data-nx="high"], [data-nx="mid"]) .zl-giant img { animation: zl-lift linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
/* the podium figures step up one after another when a board is drawn */
@keyframes zl-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
html:is([data-nx="high"], [data-nx="mid"]) .h-lb-card .h-lb-fig img { animation: zl-up 700ms var(--zl-rise) both; }
html:is([data-nx="high"], [data-nx="mid"]) .h-lb-card.is-1 .h-lb-fig img { animation-delay: 80ms; }
html:is([data-nx="high"], [data-nx="mid"]) .h-lb-card.is-3 .h-lb-fig img { animation-delay: 160ms; }
@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; }
  .h-lb-card .h-lb-fig img { animation: none !important; }
}

/* ---------- no layout shift while the ladder loads: hold the podium's and the rows' room ---------- */
.h-lb-pod:empty { min-height: 459px; }
.h-lb-rows:has(> li.zp-empty:only-child) { min-height: 490px; }
@media (max-width: 899px) { .h-lb-pod:empty { min-height: 288px; } .h-lb-rows:has(> li.zp-empty:only-child) { min-height: 376px; } }

/* the leaderboard's board title (Overall, Sword...): Anton, a size under the section titles */
.lb-title { font-family: var(--zl-display) !important; font-weight: 400 !important; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem) !important; line-height: 1 !important; text-shadow: none !important; -webkit-font-smoothing: antialiased; letter-spacing: 0.005em; }
/* the profile's figure: a glass pane with the armoured render standing in it (was the game's black inventory box) */
.pf-figure { background: radial-gradient(70% 55% at 50% 100%, rgba(255, 255, 255, 0.07), transparent 70%), var(--zl-pane) !important; border: 0 !important; border-radius: 18px !important; box-shadow: var(--zl-rim) !important; overflow: hidden; }
.pf-figure .zp-skin { display: flex; align-items: flex-end; justify-content: center; padding: 10px 6px 4px; }
.pf-figure .zp-skin img { width: auto; height: 100%; max-width: 100%; object-fit: contain; }
/* a raised weapon makes the victory render taller: give it the extra height, so the body keeps its size */
.h-lb-fig img[data-pose="victory"] { height: 126%; }
.h-lb-card.is-1 > a { padding-top: 84px !important; }
.h-lb-card.is-1 .h-lb-fig { height: 240px; }
.h-lb-card.is-1 .h-lb-place { position: absolute; top: 16px; left: 18px; }
@media (max-width: 899px) { .h-lb-card.is-1 > a { padding-top: 52px !important; } .h-lb-card.is-1 .h-lb-fig { height: 150px; } .h-lb-card.is-1 .h-lb-place { top: 10px; left: 12px; } }

/* ---------- v5.1: real Minecraft items as the UI icons, grey; their own colours on hover and on the current page ---------- */
.nx-i {
  display: block; flex: none; width: 16px; height: 16px;
  background: url("icons.png?v=1") no-repeat; background-size: calc(var(--c) * 16px) 32px;
  background-position: calc(var(--n) * -16px) 0; image-rendering: pixelated;
}
:is(a, button):hover > .nx-i, :is(a, button):focus-visible > .nx-i, [aria-current="page"] > .nx-i, .nx-more.is-open > button > .nx-i, .nx-more.has-current > button > .nx-i { background-position-y: -16px; }
.nx-l .nx-i { transition: transform 240ms var(--zl-ease); }
/* hover removed (purple pass 2026-11-12) */

.nx-play .nx-i { background-position-y: -16px; }
.nx-find .nx-i { margin-right: 2px; opacity: 0.9; }
.nx-foot-col a .nx-i { opacity: 0.85; }
.nx-foot-col a:hover .nx-i, .nx-foot-col a[aria-current="page"] .nx-i { opacity: 1; }
/* the More menu and the phone sheet already show item pictures: grey too, colour on hover */
.nx-mi img { filter: grayscale(1) brightness(1.15) contrast(0.95); image-rendering: pixelated; transition: filter 160ms ease-out; }
a[aria-current="page"] .nx-mi img { filter: none; }


/* ==========================================================================
   B/W pass (2026-11-11): the remaining bright lavender literals in nx.css / home.css turn white, so the
   chrome is pure black and white. Colour survives only where it is real data: the tier badges and bands
   (page JS), win/loss green and red, the gold/silver/bronze medal places, and the game item textures.
   ========================================================================== */
:focus-visible { outline-color: #fff !important; }
.zp-skip { border-color: #fff !important; }
/* inputs, chips and rows: white focus/hover instead of purple */
.zp-search:focus-within, .search:focus-within, .ph-search:focus-within, .nx-find:focus-within, .nx-ip:hover,
.zp-input:focus, .zp-select:focus, textarea:focus, input[type="text"]:focus, input[type="search"]:focus {
  border-color: rgba(255, 255, 255, 0.6) !important; background: rgba(255, 255, 255, 0.05) !important;
}
.zp-ipbox:hover { border-color: rgba(255, 255, 255, 0.45) !important; background: rgba(255, 255, 255, 0.05) !important; }

.nx-more-col a[aria-current="page"], .mu-row.is-this { background: rgba(255, 255, 255, 0.08) !important; }

/* hover removed (purple pass 2026-11-12) */

.mu-row.is-this { box-shadow: inset 3px 0 0 #fff !important; }
.zp-tag.is-accent { color: #fff !important; border-color: rgba(255, 255, 255, 0.3) !important; background: rgba(255, 255, 255, 0.08) !important; }
/* hover removed (purple pass 2026-11-12) */

/* tabs selected: white-edged pane with a thin rouge foot */
.h-lb-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.08) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 -2px 0 var(--nx-acc) !important; }
/* skin and item figures: the faint purple halo behind them becomes a soft white light */
.ms-figure { background: radial-gradient(70% 55% at 50% 100%, rgba(255, 255, 255, 0.1), transparent 70%), rgba(0, 0, 0, 0.45) !important; }
body[data-page="match-detail"] .inv-panel { background: radial-gradient(65% 45% at 50% 100%, rgba(255, 255, 255, 0.07), transparent 72%), rgba(0, 0, 0, 0.5) !important; }
/* progress and xp fills stay neutral white (they are chrome, not data) */
.mc-xp > i, .mc-xp > span,
:is(.pf-track, .kc-track, .rival-bar, .duel-bar, .act-bar, .pc-track, .kr-bar, .lb-wrbar, .mc-bar) > i { background: #ededea !important; }
/* the footer giant Z keeps no purple */
.nx-giant .z { color: inherit !important; }

/* ==========================================================================
   2026-11-12: the owner's TikTok pass (Downloads\Frostyh\site-features-2026-11-12.md: videos 1, 3, 6)
   and the tonal colour rule (Downloads\Colours\tonal-tokens.md). Deep Rouge stays the one hue.
   ========================================================================== */
:root {
  /* tonal: greys and hairlines carry a trace of the rouge hue; tinted surfaces use rouge steps, never #fff/#000 */
  --nx-ink: color-mix(in oklch, var(--zp-white) 7%, #f5f5f7);
  --nx-ink-2: color-mix(in oklch, var(--zp-red-hi) 22%, #b4b2b8);
  --nx-ink-3: color-mix(in oklch, var(--zp-red-hi) 24%, #8d8b92);
  --nx-hair: color-mix(in srgb, var(--zp-red-hi) 12%, rgba(255, 255, 255, 0.06));
  --zl-tint-bg: color-mix(in srgb, var(--zp-red-hi) 16%, transparent);
  --zl-tint-bg-h: color-mix(in srgb, var(--zp-red-hi) 24%, transparent);
  --zl-tint-fg: var(--zp-white);   /* rouge 200 on the tint: 8.9:1 over the panel */
  --zl-tint-line: color-mix(in srgb, var(--zp-red-hi) 32%, transparent);
}
body { color: var(--nx-ink); }

/* chips, tags and "on" states: a light rouge tint, rouge 200 text, a rouge hairline (never a neutral grey chip).
   Data colours keep their own: tiers, win/loss, rank chips. */
.zp-tag:not(.is-win):not(.is-loss):not(.chip-rank):not([data-tier]):not(.kc-crown), .zp-chip:not([data-tier]), .zp-tag.is-accent,
body[data-page="uhc"] .page-hero .eyebrow-pill {
  background: var(--zl-tint-bg) !important; color: var(--zl-tint-fg) !important;
  border: 1px solid var(--zl-tint-line) !important; border-image: none !important; box-shadow: none !important; text-shadow: none !important;
}
.nx-more-col a[aria-current="page"], .mu-row.is-this { background: var(--zl-tint-bg) !important; color: var(--zl-tint-fg) !important; }

/* ---------- video 1: slop out ---------- */
/* no eyebrows in capitals, no tracking squeezed into the headings */
.zp-kicker, .kicker, .eyebrow-pill, .g-label, .nx-k, .zp-label, .zp-stat-k, .stat-label, .ph-cap, .hero-meta { text-transform: none !important; }
h1, h2, h3 { letter-spacing: 0; }
/* icons sit on the surface, not in their own rounded tiles */
.nx-mi { background: none !important; border: 0 !important; box-shadow: none !important; }
.nx-mi img { width: 20px; height: 20px; }
/* no divider under every row: rows are separated by space; tables stripe instead */
.ph-rows, .ph-links, .g-list, .faq-group { border-top: 0 !important; }
.ph-rows > li > a, .ph-rows > li > .ph-row, .ph-row, .ph-links a, .ph-prizes li, .zp-lrow, .h-fx-list li, .h-mt-row,
.g-steps li, .g-list li, .faq-group details, .zp-acc details { border-top-color: transparent !important; border-bottom-color: transparent !important; }
.zp-table td, .h-table td, .doc-table td { border-bottom-color: transparent !important; }
.zp-table tbody tr:nth-child(even), .h-table tbody tr:nth-child(even), .doc-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.h-mt-row:nth-child(even), .zp-lrow:nth-child(even) { background: rgba(255, 255, 255, 0.02); }
.faq-group summary, .zp-acc summary { border-radius: 12px; }
/* hover removed (purple pass 2026-11-12) */

/* the kit page crumb is a plain way back, quiet, not an accent */
.kp-crumb a { color: var(--nx-ink-2) !important; }
.kp-crumb a:hover { color: var(--nx-ink) !important; }

/* ---------- video 6: one accent per hero, on what the headline promises ---------- */
/* home, "The ladder": the rouge sits on the ladder you are looking at (the picked tab); the copy chip goes quiet */
body[data-page="index"] .h-lb-head .nx-ipbig .zp-ip-hint { background: rgba(255, 255, 255, 0.1) !important; color: var(--nx-ink) !important; box-shadow: none !important; }
body[data-page="index"] .h-lb-head .nx-ipbig:hover .zp-ip-hint { background: rgba(255, 255, 255, 0.16) !important; }
/* the number each page's title is about */
body[data-page="leaderboard"] #statPlayers,
body[data-page="matches"] #statMatches,
body[data-page="live"] #sMatches,
body[data-page="stats"] #sNow,
body[data-page="tiers"] #statPlaced,
body[data-page="uhc"] #heroEyebrowText { color: var(--nx-acc) !important; }
/* kit pages, "Sword": the kit itself, its slot in a rouge tint */
body[data-page="kit"] .kp-title .kp-ico { background: var(--zl-tint-bg) !important; box-shadow: inset 0 0 0 1px var(--zl-tint-line) !important; border-image: none !important; }
/* join ("Join ZeroPvP") keeps the wine copy button, modes ("Kits and modes") its "The kits" button: those are the promise */
.page-hero .eyebrow-pill .dot { background: var(--nx-ink-3) !important; }

/* ---------- video 3: behaviours ---------- */
/* menus open out of the thing you pressed */
.nx-more-menu { transform-origin: 200px -12px; transform: scale(0.96) translateY(-4px); }
.nx-more.is-open .nx-more-menu { transform: none; }
@keyframes zl-sheet { from { clip-path: circle(24px at calc(var(--gutter, 16px) + 22px) 32px); } to { clip-path: circle(150% at calc(var(--gutter, 16px) + 22px) 32px); } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-nx="still"]) .nx-sheet:not([hidden]) { animation: zl-sheet 420ms cubic-bezier(0.65, 0, 0.35, 1) both; }
}
/* 44px touch targets on touch screens */
@media (pointer: coarse) {
  .nx-l, .nx-more > button, .nx-foot-col a, .nx-foot-legal a, .nx-more-col a, .nx-sheet-group a, .nx-status,
  .zp-btn.is-sm, .nx-btn, .zp-tab, .h-lb-tabs button, .h-link, .kp-crumb a, .ph-links a, summary { min-height: 44px; }
  .nx-foot-col a, .nx-foot-legal a, .kp-crumb a, .h-link, .nx-status { display: inline-flex; align-items: center; }
}
/* tabular numbers wherever figures line up */
.zp-stat-v, .stat-value, .zp-table, .h-table, .doc-table, .lb-row, .h-lb-rows, .h-lb-pod, .lb-pod, .zp-lrow, .h-mt-row,
.pf-stats, .kc-track, .elo-sum, .re-tip, .hof-stats, time, .zp-ip-text, .nx-status, [data-zp-status-text] { font-variant-numeric: tabular-nums; }
/* no layout shift: stat rows that wait for data keep their room instead of popping in */
#lvStats[hidden], #heroStats[hidden] { display: grid !important; visibility: hidden; }

/* ==========================================================================
   ZeroPvP CRIMSON (2026-11-15, owner's final palette; was purple 2026-11-12). Every colour here is a
   var(--zp-*) token from the ONE block at the top of assets/css/zp.css (--zp-main is the only main red).
   - Grounds are warm near-black, never purple: base var(--zp-base), deeper bands var(--zp-ground), boxes var(--zp-box),
     raised var(--zp-raise), hairline var(--zp-hair). Every box is FLAT: one fill and one hairline, no gradient, no
     inner light, no drop glow.
   - Text var(--zp-white), secondary var(--zp-grey); small text is never red. var(--zp-red-hi) is for lines,
     rings, bars and big numbers only.
   - The one filled button: var(--zp-main) with white text (6:1), hover a deeper var(--zp-main-h).
   - Hover: nothing happens on boxes, cards, rows or pictures. Links keep an underline, buttons a colour step.
   ========================================================================== */
:root {
  --zp-g0: var(--zp-base); --zp-g1: var(--zp-ground);
  --nx-ground: var(--zp-base);
  --nx-ink: var(--zp-white); --nx-ink-2: var(--zp-grey); --nx-ink-3: var(--zp-muted);
  --nx-hair: var(--zp-hair);
  --nx-panel: var(--zp-box); --nx-panel-solid: var(--zp-box); --nx-card: var(--zp-box);
  --nx-glass: var(--zp-box); --nx-glass-flat: var(--zp-box); --nx-rim: var(--zp-hair); --nx-rim-2: var(--zp-hair);
  --surface: var(--zp-box); --surface-2: var(--zp-box-2); --surface-3: var(--zp-raise); --surface-4: var(--zp-hair); --sunken: var(--zp-ground);
  --bg-deep: var(--zp-ground); --bg: var(--zp-base); --bg-band: var(--zp-ground);
  --line: var(--zp-raise); --line-2: var(--zp-hair); --line-3: var(--zp-hair-2);
  --text: var(--zp-white); --text-2: var(--zp-grey); --text-3: var(--zp-muted);
  --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-h);
  --accent: var(--zp-light); --accent-mid: var(--zp-white); --accent-hi: var(--zp-white); --accent-lo: var(--zp-main); --accent-ink: var(--zp-base);
  --accent-wash: color-mix(in srgb, var(--zp-main) 16%, transparent); --accent-line: color-mix(in srgb, var(--zp-main) 42%, transparent);
  --zl-pane: var(--zp-box); --zl-pane-2: var(--zp-raise);
  --zl-rim: inset 0 0 0 1px var(--zp-hair); --zl-rim-hi: inset 0 0 0 1px var(--zp-hair); --zl-drop: 0 0 0 transparent;
  --zl-tint-bg: color-mix(in srgb, var(--zp-main) 16%, transparent); --zl-tint-bg-h: color-mix(in srgb, var(--zp-main) 16%, transparent);
  --zl-tint-fg: var(--zp-white); --zl-tint-line: color-mix(in srgb, var(--zp-main) 42%, transparent);
  --mc-page: var(--zp-base); --mc-gui-face: var(--zp-box);
  scrollbar-color: var(--zp-hair) var(--zp-base);
}
html, body { background: var(--zp-base); }
body { background: var(--zp-base) !important; color: var(--zp-white); }
::selection { background: var(--zp-main-h); color: #fff; }
:focus-visible { outline-color: var(--zp-red-hi) !important; }

/* ---------- grounds in shades: page heads and alternate home sections sit on the deeper band ---------- */
.page-hero, .md-head, .h-lb {
  background: var(--zp-ground); box-shadow: 0 0 0 100vmax var(--zp-ground); clip-path: inset(0 -100vmax);
}
.h-sec { border-top: 0 !important; }
.h-sec:nth-of-type(even) { background: var(--zp-ground); box-shadow: 0 0 0 100vmax var(--zp-ground); clip-path: inset(0 -100vmax); }
.nx-foot { background: var(--zp-ground); }
main { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- the bar: a flat purple slab (blur kept for legibility over content, no grey gradient) ---------- */
.nx-bar-in, .nx-bar.is-scrolled .nx-bar-in {
  background: rgba(18, 18, 21, 0.94) !important; box-shadow: inset 0 0 0 1px var(--zp-hair) !important;
}
html[data-nx="low"] .nx-bar-in, html[data-nx="still"] .nx-bar-in { background: var(--zp-box) !important; }
.nx-badge { background: var(--zp-raise) !important; box-shadow: inset 0 0 0 1px var(--zp-hair) !important; }
.nx-more-menu { background: var(--zp-box) !important; box-shadow: inset 0 0 0 1px var(--zp-hair), 0 24px 48px -24px rgba(6, 2, 14, 0.9) !important; }
.nx-sheet { background: var(--zp-base) !important; }
.nx-find.is-wide, .nx-search .nx-ip, .nx-find { background: var(--zp-base) !important; box-shadow: inset 0 0 0 1px var(--zp-hair) !important; }
.nx-l, .nx-nav > a, .nx-more > button, .nx-icon { color: var(--zp-grey); }
.nx-l:hover, .nx-nav > a:hover, .nx-more > button:hover, .nx-icon:hover, .nx-more-col a:hover, .nx-more-col a:focus-visible { background: none !important; color: #fff; }
.nx-l[aria-current="page"], .nx-more.has-current > button.nx-l { color: #fff; }

/* ---------- buttons: one filled purple, the rest flat raised purple; hover = a deeper step, nothing moves ---------- */
.nx-btn.is-primary, .zp-btn.is-primary, .btn-primary, .zp-ipbox-btn, .nx-ipbig .zp-ip-hint, .nx-ipbtn, .nx-play,
.btn.btn-primary, .play-btn.primary, .play-btn.ip, .mc-btn.is-primary {
  --b-bg: var(--zp-main); --b-bg-h: var(--zp-main-h); --b-rim: transparent;
  background: var(--zp-main) !important; color: #fff !important; border-color: transparent !important; box-shadow: none !important;
}
.nx-btn.is-primary:hover, .zp-btn.is-primary:hover, .btn-primary:hover, .zp-ipbox-btn:hover, .nx-ipbig:hover .zp-ip-hint, .nx-ipbtn:hover, .nx-play:hover,
.zp-ipbox:hover .zp-ipbox-btn { background: var(--zp-main-h) !important; color: #fff !important; }
.nx-btn:not(.is-primary):not(.is-discord), .zp-btn:not(.is-primary):not(.is-discord):not(.is-gold), .btn:not(.btn-primary), .zp-sec-link {
  --b-bg: var(--zp-raise); --b-bg-h: var(--zp-hair); --b-rim: var(--zp-hair);
  background: var(--zp-raise) !important; border-color: var(--zp-hair) !important; box-shadow: none !important; color: var(--zp-white);
}
.nx-btn:not(.is-primary):not(.is-discord):hover, .zp-btn:not(.is-primary):not(.is-discord):not(.is-gold):hover, .btn:not(.btn-primary):hover, .zp-sec-link:hover { background: var(--zp-hair) !important; }

.zp-btn.is-ghost, .btn-ghost { background: transparent !important; }
.zp-btn.is-ghost:hover, .btn-ghost:hover { background: var(--zp-raise) !important; }
.nx-btn.is-discord, .zp-btn.is-discord { box-shadow: none !important; }
.zp-panel-head .zp-sec-link, .zp-panel-foot .zp-sec-link, .ph-cap .zp-sec-link { background: none !important; border: 0 !important; color: var(--zp-white); }
.zp-panel-head .zp-sec-link:hover, .zp-panel-foot .zp-sec-link:hover, .ph-cap .zp-sec-link:hover { background: none !important; color: #fff; text-decoration: underline; }
/* hover removed (purple pass 2026-11-12) */

/* hover removed (purple pass 2026-11-12) */

.nx-ipbig, .zp-ipbox { background: var(--zp-box) !important; box-shadow: inset 0 0 0 1px var(--zp-hair) !important; border-color: transparent !important; }
.zp-ipbox:hover { background: var(--zp-box) !important; border-color: transparent !important; }


/* ---------- boxes, cards and rows: flat purple, a hairline, no gradient, and the same on hover ---------- */
:root body :is(
  .zp-panel, .zp-card, a.zp-card, .mc-card, .ph-aside, .stat-tile, .zp-stat, .kcard, .inv-panel, .doc-toc, .zp-callout, .callout, .zp-next,
  .h-mt, .h-rank-table, .h-fx, .h-steps li, .h-report, .h-kit > a, .h-lb-rows > li > a, .h-lb-card > a, .lb-row, .h-news, .h-newslist > li > a,
  .h-lb-tabs, .pf-figure, .nx-close-slab, .nw-item, .zp-kit
) { background-image: none !important; background-color: var(--zp-box) !important; box-shadow: inset 0 0 0 1px var(--zp-hair) !important; border-color: transparent !important; border-image: none !important; transform: none !important; translate: none !important; scale: none !important; }

/* boxes that sit inside a box are one step up, so they stay apart without a gradient */
:root body :is(.zp-panel, .zp-card, .ph-aside, .kcard, .doc-toc) :is(.zp-card, .stat-tile, .zp-stat, .kcard, .zp-callout, .callout) { background-color: var(--zp-raise) !important; }

:root body .lb-pod-card { transform: none !important; translate: none !important; }

:root body .lb-pod-block { background-image: none !important; background-color: var(--zp-box) !important; }
:root body :is(.zp-callout, .callout, .zp-next) { box-shadow: inset 3px 0 0 var(--zp-main), inset 0 0 0 1px var(--zp-hair) !important; }
:root body :is(.page-hero, .ph-main) :is(.zp-stat, .stat-tile) { background: none !important; box-shadow: none !important; }

.zp-panel-foot { background: var(--zp-ground); border-top-color: var(--zp-hair); }
.nx-foot-panel { background: none !important; box-shadow: none !important; }
.nx-close-slab { border: 0 !important; }
/* the podium keeps its medal colours (that is data): a flat 1px rim in gold, silver, bronze; no glow */
:root body .h-lb-card.is-1 > a, :root body .lb-pod-card.is-1 .lb-pod-block { box-shadow: inset 0 0 0 1px rgba(245, 197, 66, 0.6) !important; }

:root body .h-lb-card.is-2 > a, :root body .lb-pod-card.is-2 .lb-pod-block { box-shadow: inset 0 0 0 1px rgba(214, 219, 230, 0.45) !important; }

:root body .h-lb-card.is-3 > a, :root body .lb-pod-card.is-3 .lb-pod-block { box-shadow: inset 0 0 0 1px rgba(224, 154, 98, 0.55) !important; }

.h-lb-card > a::before { display: none !important; }
/* the media cards had coloured rims light up on hover: one quiet hairline now, always */
:root body :is(.h-fcard, .h-banner, .h-kits-shot, .h-join-shot, .nx-banner) { box-shadow: inset 0 0 0 1px var(--zp-hair) !important; transform: none !important; }

/* nothing inside a box moves on hover either */
/* hover removed (purple pass 2026-11-12) */

/* hover removed (purple pass 2026-11-12) */

/* hover removed (purple pass 2026-11-12) */

/* item icons stay grey on hover; only the current page shows its colours */
:is(a, button):hover > .nx-i, :is(a, button):focus-visible > .nx-i { background-position-y: 0; }
[aria-current="page"] > .nx-i, .nx-more.has-current > button > .nx-i, .nx-play .nx-i { background-position-y: -16px; }
/* hover removed (purple pass 2026-11-12) */

a[aria-current="page"] .nx-mi img { filter: none; }
/* rows, tabs, chips, slots: their hover rules are removed at the source (page sheets); the item glint that
   lit up under the pointer stays off */
.kg.is-on { opacity: 0 !important; animation: none !important; }
:root body .h-lb-tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--zp-main) 16%, transparent) !important; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--zp-main) 42%, transparent) !important; color: var(--zp-white); }
:root body .h-lb-tabs button[aria-selected="true"]:hover { background: color-mix(in srgb, var(--zp-main) 16%, transparent) !important; color: var(--zp-white); }

.h-lb-tabs button img { background: none; }
/* striped rows: a faint red step instead of white mist */
.zp-table tbody tr:nth-child(even), .h-table tbody tr:nth-child(even), .doc-table tbody tr:nth-child(even), .h-mt-row:nth-child(even), .zp-lrow:nth-child(even) { background: color-mix(in srgb, var(--zp-main) 6%, transparent); }
/* links: an underline is the affordance */
/* (2026-11-13 hover language: box links are left out, their title alone gets the drawn line at the end of this file) */
main a:not([class]):not(:is(.h-kit, .h-lb-card, .ph-kits, .h-mt-r, .kit-links) > a):not(.h-lb-rows > li > a):hover, .doc a:hover, .h-link:hover, .h-sub a:hover { text-decoration: underline; color: #fff; }

/* ---------- media scrims and figures: deep purple, not black ---------- */
.h-banner::before { background: linear-gradient(90deg, rgba(11, 11, 13, 0.94) 0%, rgba(11, 11, 13, 0.68) 45%, rgba(11, 11, 13, 0.12) 100%) !important; }
.nx-banner::before { background: linear-gradient(90deg, rgba(11, 11, 13, 0.94) 0%, rgba(11, 11, 13, 0.64) 50%, rgba(11, 11, 13, 0.22) 100%), linear-gradient(0deg, rgba(11, 11, 13, 0.7), transparent 60%) !important; }
.h-fcard::before { background: linear-gradient(0deg, rgba(11, 11, 13, 0.95) 0%, rgba(11, 11, 13, 0.72) 42%, rgba(11, 11, 13, 0.05) 100%) !important; }
.h-fcard.is-plain { background: var(--zp-box) !important; }
:root body :is(.ms-figure, .inv-figure, .pf-figure) { background: var(--zp-ground) !important; box-shadow: inset 0 0 0 1px var(--zp-hair) !important; }


/* ==========================================================================
   TYPE (2026-12-01, the owner's font pick, assets/nx/tk/fonts.css; was Tanker/Satoshi/Tabular/Telma)
   Hoover for display (--zl-display above), Public Sans for everything you read, Array for
   numbers, Sharpie for the home hero line, which writes itself on load (write-on.js). Section and page
   titles draw their Hoover outline once as they arrive. The game's pixel font stays on labels, names,
   the nav and buttons.
   ========================================================================== */
:root {
  --nx-body: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nx-display: 'Hoover', Impact, 'Arial Narrow', sans-serif;
  --nx-label: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --zl-num: 'Array', 'Public Sans', system-ui, sans-serif;
}
body { font-family: var(--nx-body); font-stretch: 100%; }
/* the display face ships one weight (Hoover Bold): never let the browser fake a bolder one */
:is(.page-hero h1, .zp-h1, .md-head h1, .h-lb-title, main h1, .zp-sec-head h2, .section-head h2, .zp-h2, main h2:not([class]), .doc h2, .h-h2, .nx-banner-t, .lb-title, .h-lb-place, .lb-pod-place, .h-banner-copy b) { font-synthesis: none; }

/* the home hero line: Sharpie, written on load */
.h-lb-title .h-write { display: inline-block; font-family: var(--font-write) !important; font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.04; padding: 0.04em 0.12em 0.08em 0; }
.h-lb-title:has(.h-write) { text-transform: none; max-width: none; }

/* numbers line up in Array (stats, ladder places and points, ELO, counts, timers) */
.zp-stat-v, .stat-value, .ph-nums dd, .h-lb-rows .n, .h-lb-rows .pts, .h-lb-pts, .h-lb-line b, .zp-num, .zp-score, .zp-delta, .zp-rank,
.lb-c-rank, .lb-c-rank *, .lb-c-score, .lb-c-score *, .lb-pod-score, .lb-pod-score *, .h-mt-t, .ms-mid .ms-score, .h2h-val, time, [data-nx-count] {
  font-family: var(--zl-num) !important; font-weight: 500 !important; letter-spacing: 0 !important; font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased !important;
}
.zp-stat-v, .stat-value, .ph-nums dd { font-size: 26px; line-height: 1.1; }
.lb-c-rank, .lb-c-rank * { font-size: 24px !important; }
.h-lb-pts small, .h-lb-rows .pts small { font-family: var(--nx-body); font-weight: 500; }

/* ---------- nothing teleports, nothing bounces (owner rule 2026-11-13; script: the end of nx.js) ---------- */
/* the bar's current-page line is ONE element that glides between items; the per-link line stays only without scripts */
.nx-nav.is-l { position: relative; }
html.nx-js .nx-nav.is-l .nx-l[aria-current="page"]::after, html.nx-js .nx-nav.is-l .nx-more.has-current > button.nx-l::after { content: none; }
.nx-ink {
  position: absolute; left: 0; top: -12px; z-index: 1; width: 0; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--nx-acc); opacity: 0; pointer-events: none; transition: top 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nx-bar.is-scrolled .nx-ink { top: -6px; }
/* a hotbar slot hands its selection frame to the gliding copy until it lands */
.zg-hold-frame::after { visibility: hidden !important; }
/* the fading copy of a board keeps still */
.zg-old, .zg-old * { animation: none !important; transition: none !important; }
/* pressing never moves or scales anything: colour only */
:is(.nx-btn, .zp-btn, .btn, .play-btn, .mc-btn, .nx-play, .zp-sec-link, .zp-ipbox, .zp-ipchip, .si-cta, .zp-tab, .zp-seg > *):active { transform: none !important; }
:is(.zp-btn, .mc-btn):active > * { translate: none !important; }

/* ==========================================================================
   HOVER LANGUAGE (owner 2026-11-13: "visual feedback when hovering over important things").
   ZeroPvP rule stays: NO hover on boxes (no fill, rim, lift or zoom). Instead the title inside a box link
   and every text link get an underline that draws in left to right (2px, the accent var(--zp-red-hi), 180 ms) and
   the text takes the light accent; buttons keep their one-step fill and slide their arrow 3px; the bar's
   line previews under a hovered item at low opacity (nx.js). Hover only where a mouse can hover;
   keyboard focus gets the same plus the ring.
   ========================================================================== */
:root { --hv: var(--zp-red-hi); --hv-ink: var(--zp-white); --hv-w: 2px; --hv-t: 180ms; --hv-ease: cubic-bezier(0.22, 1, 0.36, 1); }
:where(a[href], button:not(:disabled), summary, [role="button"], [role="tab"], label[for], select) { cursor: pointer; }
:where(a[href], button, summary, [role="button"], [role="tab"], [tabindex]:not([tabindex="-1"])):focus-visible { outline: 2px solid var(--zp-red-hi); outline-offset: 3px; }
.nx-ink { transition: top 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity var(--hv-t) var(--hv-ease); }

/* text links and the titles inside box links: the drawn underline */
:is(p, dd, td, .doc li, .h-sub, .ph-cap, .kit-bar-cap, .h-mt-p, .h-mt-r, .kp-crumb) a:not([class]),
.h-link, .lb-name, .nw-rss, .nx-foot a:not(.nx-foot-logo):not(.nx-btn):not(.nx-ipbig),
.h-kit > a > b, .h-lb-rows > li > a .who, .h-lb-card > a .h-lb-name, .h-report-top b, .h-fcard-copy b, .h-banner-copy b,
.h-news b, .ph-kits a b, a.kit-top h3, .nw-item .nw-title, a.lb-pod-card .lb-pod-name {
  text-decoration: none !important;
  background-image: linear-gradient(var(--hv), var(--hv)); background-repeat: no-repeat; background-position: 0 100%;
  background-origin: content-box; background-clip: content-box; background-size: 0 var(--hv-w);
  transition: background-size var(--hv-t) var(--hv-ease), color var(--hv-t) var(--hv-ease);
}
.h-kit > a > b, .h-lb-rows > li > a .who, .h-lb-card > a .h-lb-name, .h-report-top b, .h-fcard-copy b, .h-banner-copy b,
.h-news b, .ph-kits a b, a.kit-top h3, .nw-item .nw-title, a.lb-pod-card .lb-pod-name { width: fit-content; max-width: 100%; }
@media (hover: hover) {
  :is(p, dd, td, .doc li, .h-sub, .ph-cap, .kit-bar-cap, .h-mt-p, .h-mt-r, .kp-crumb) a:not([class]):hover,
  .h-link:hover, .lb-name:hover, .nw-rss:hover, .nx-foot a:not(.nx-foot-logo):not(.nx-btn):not(.nx-ipbig):hover { background-size: 100% var(--hv-w); color: var(--hv-ink) !important; }
  .h-kit > a:hover > b, .h-lb-rows > li > a:hover .who, .h-lb-card > a:hover .h-lb-name, .h-report:hover .h-report-top b, .h-fcard:hover .h-fcard-copy b,
  .h-banner:hover .h-banner-copy b, .h-news:hover b, .ph-kits a:hover b, a.kit-top:hover h3, .nw-item:hover .nw-title, a.lb-pod-card:hover .lb-pod-name { background-size: 100% var(--hv-w); }
  .h-link:hover::after { transform: translateX(3px); }
  /* tabs and the bar react with their text, never with a box */
  :is(.zp-tab, .h-lb-tabs button, .lb-sort):not([aria-selected="true"]):not(.is-on):hover { color: #fff !important; }
}
:is(p, dd, td, .doc li, .h-sub, .ph-cap, .kit-bar-cap, .h-mt-p, .h-mt-r, .kp-crumb) a:not([class]):focus-visible,
.h-link:focus-visible, .lb-name:focus-visible, .nw-rss:focus-visible, .nx-foot a:not(.nx-foot-logo):not(.nx-btn):not(.nx-ipbig):focus-visible { background-size: 100% var(--hv-w); color: var(--hv-ink) !important; }
.h-kit > a:focus-visible > b, .h-lb-rows > li > a:focus-visible .who, .h-lb-card > a:focus-visible .h-lb-name, .h-report:focus-visible .h-report-top b, .h-fcard:focus-visible .h-fcard-copy b,
.h-banner:focus-visible .h-banner-copy b, .h-news:focus-visible b, .ph-kits a:focus-visible b, a.kit-top:focus-visible h3, .nw-item:focus-visible .nw-title, a.lb-pod-card:focus-visible .lb-pod-name { background-size: 100% var(--hv-w); }
.h-link:focus-visible::after { transform: translateX(3px); }

/* buttons: the fill step stays (above); an arrow or icon at the end slides 3px right */
:is(.nx-btn, .zp-btn, .btn, .play-btn, .nx-play) svg:last-child { transition: transform var(--hv-t) var(--hv-ease); }
@media (hover: hover) { :is(.nx-btn, .zp-btn, .btn, .play-btn, .nx-play):hover svg:last-child { transform: translateX(3px); } }
:is(.nx-btn, .zp-btn, .btn, .play-btn, .nx-play):focus-visible svg:last-child { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .h-link:hover::after, :is(.nx-btn, .zp-btn, .btn, .play-btn, .nx-play):hover svg:last-child { transform: none; } }
/* the kit card's Kit page / Ladder / Matches row are buttons: one fill step, like the other buttons */
.g-sec .kit-card .kit-links a { transition: background-color var(--hv-t) var(--hv-ease), color var(--hv-t) var(--hv-ease); }
@media (hover: hover) { .g-sec .kit-card .kit-links a:hover { background: var(--zp-hair) !important; color: #fff; } }
.g-sec .kit-card .kit-links a:focus-visible { background: var(--zp-hair) !important; color: #fff; outline: 2px solid var(--zp-red-hi); outline-offset: 2px; }
