/* ==========================================================================
   ZeroPvP polish (2026-11-13). Loaded after lux.css on every page (tools/nx/build.js).
   The owner: "I don't like the borders around boxes. Fill it in better with shadows, make it look less
   flat and the overall site less cheap", our own simple line icons, premium scroll motion on the
   leaderboard, and "yes, a new nav" like frostyh.com and zerobot.eu.
   - Depth instead of hairlines: boxes keep their purple fill (var(--zp-box), raised var(--zp-raise)) and lose the 1px
     rim; a faint top inner light, a tight contact shadow and one large soft ambient shadow, all tinted
     deep purple. No gradients, no glow. Boxes still never react on hover.
   - The nav: a floating rounded bar, wordmark left, three links + More, one solid pill gliding under
     the current or hovered link (polish.js), Discord, Store, a filled "Play now" pill; a sheet on phones.
   - Motion: reveals rise 16px without the springy overshoot, the leaderboard builds itself row by row,
     pages cross-fade with a 8px rise (view transitions). Transform and opacity only; still under
     reduced motion.
   ========================================================================== */
:root {
  --zd-hi: inset 0 1px 0 rgba(246, 241, 255, 0.06);
  --zd-1: inset 0 1px 0 rgba(246, 241, 255, 0.06), 0 1px 2px rgba(6, 2, 14, 0.55), 0 16px 36px -18px rgba(6, 2, 14, 0.85);
  --zd-2: inset 0 1px 0 rgba(246, 241, 255, 0.075), 0 1px 2px rgba(6, 2, 14, 0.55), 0 26px 56px -22px rgba(6, 2, 14, 0.9);
  --zd-row: inset 0 1px 0 rgba(246, 241, 255, 0.05), 0 1px 2px rgba(6, 2, 14, 0.5), 0 8px 18px -10px rgba(6, 2, 14, 0.7);
  --zd-sunk: inset 0 1px 3px rgba(6, 2, 14, 0.6), inset 0 0 0 100vmax rgba(6, 2, 14, 0.12);
  --zl-rim: var(--zd-hi); --zl-rim-hi: var(--zd-hi); --zl-drop: 0 16px 36px -18px rgba(6, 2, 14, 0.85);
  --zi: var(--zp-grey-2); --zi-on: var(--zp-white);
  --zn-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nx-bar-h: 58px; --top-h: 70px;
}
html { scroll-padding-top: 92px; }

/* ---------- the line icons ---------- */
.zi { display: block; flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; stroke-miterlimit: 4; color: var(--zi); transition: color 180ms var(--zn-ease); }
a:hover > .zi, button:hover > .zi, a:focus-visible > .zi, [aria-current="page"] > .zi { color: var(--zi-on); }
.nx-find .zi { width: 17px; height: 17px; margin-right: 2px; }
.nx-foot-col a { display: inline-flex; align-items: center; gap: 9px; }
.nx-foot-col a .zi { width: 16px; height: 16px; }
.nx-btn .zi { width: 18px; height: 18px; color: inherit; }

/* ==========================================================================
   Depth, not borders
   ========================================================================== */
: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-card > a, .h-news, .h-newslist > li > a,
  .pf-figure, .nx-close-slab, .nw-item, .zp-kit, .kit-card, .g-card, .faq-group details, .zp-acc details
) { box-shadow: var(--zd-1) !important; border-color: transparent !important; }
/* rows and the smaller pieces: the same recipe, quieter */
:root body :is(.lb-row, .h-lb-rows > li > a, .zp-lrow, .mu-row) { box-shadow: var(--zd-row) !important; border-color: transparent !important; }
/* a box inside a box: one step up and its own small shadow */
: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; box-shadow: var(--zd-row) !important; }
:root body :is(.page-hero, .ph-main) :is(.zp-stat, .stat-tile) { background: none !important; box-shadow: none !important; }
/* callouts keep their accent edge, no rim */
:root body :is(.zp-callout, .callout, .zp-next) { box-shadow: inset 3px 0 0 var(--zp-main), var(--zd-1) !important; }
/* panel heads and feet: a step in the fill, not a line */
.zp-panel-head, .zp-panel-foot, .ph-cap { border-color: transparent !important; }
.zp-panel-foot { background: var(--zp-ground); }
/* the podium: the medal colour as one light along the top edge, plus the depth */
:root body .h-lb-card.is-1 > a, :root body .lb-pod-card.is-1 .lb-pod-block { box-shadow: inset 0 2px 0 rgba(245, 197, 66, 0.75), var(--zd-2) !important; }
:root body .h-lb-card.is-2 > a, :root body .lb-pod-card.is-2 .lb-pod-block { box-shadow: inset 0 2px 0 rgba(214, 219, 230, 0.6), var(--zd-1) !important; }
:root body .h-lb-card.is-3 > a, :root body .lb-pod-card.is-3 .lb-pod-block { box-shadow: inset 0 2px 0 rgba(224, 154, 98, 0.7), var(--zd-1) !important; }
:root body .lb-pod-block { border-color: transparent !important; }
/* media cards and banners */
:root body :is(.h-fcard, .h-banner, .h-kits-shot, .h-join-shot, .nx-banner) { box-shadow: var(--zd-2) !important; }
:root body :is(.ms-figure, .inv-figure) { box-shadow: var(--zd-sunk) !important; }
/* grids that drew their dividers with a 1px gap on a line colour: separate cells with space instead */
:root body :is(.lb-kings, .ph-kits, .kit-facts, .mx-records) { background: none !important; border-color: transparent !important; gap: 6px !important; overflow: visible !important; }
:root body :is(.lb-kings, .ph-kits, .kit-facts, .mx-records) > * { background-color: var(--zp-raise); border-radius: 10px; box-shadow: var(--zd-row); }
/* fields and rails sit in the surface (sunken), they are not outlined */
.nx-find, .nx-find.is-wide, .nx-search .nx-ip { border-color: transparent !important; }
.nx-find, .nx-find.is-wide, .nx-search .nx-ip { background: var(--zp-band) !important; box-shadow: var(--zd-sunk) !important; }
.nx-find:focus-within { box-shadow: var(--zd-sunk), 0 0 0 2px color-mix(in srgb, var(--zp-red-hi) 55%, transparent) !important; }
.h-lb-tabs { background: var(--zp-band) !important; box-shadow: var(--zd-sunk) !important; border-color: transparent !important; }
:root body .h-lb-tabs button[aria-selected="true"] { background: var(--zp-raise) !important; box-shadow: var(--zd-row) !important; }
/* buttons: no outline, a small lift of shadow; the fill step on hover stays (lux.css) */
.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 { border-color: transparent !important; box-shadow: var(--zd-row) !important; }
.nx-btn.is-primary, .zp-btn.is-primary, .nx-ipbtn, .zp-ipbox-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(6, 2, 14, 0.5), 0 10px 22px -12px rgba(6, 2, 14, 0.85) !important; }
.zp-panel-head .zp-sec-link, .zp-panel-foot .zp-sec-link, .ph-cap .zp-sec-link { box-shadow: none !important; }
.nx-ipbig, .zp-ipbox { box-shadow: var(--zd-1) !important; }
/* chips and tags: tinted fill, no outline */
.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 { border-color: transparent !important; }
/* the footer panel and the closing banner */
.nx-foot-panel { box-shadow: none !important; }
/* the green "online" dot is gone from the chrome (owner rule): plain text */
body:not([data-page="status"]) .zp-dot { display: none !important; }

/* ==========================================================================
   The nav (v6)
   ========================================================================== */
.zn { position: sticky; top: 0; z-index: 100; padding: 12px var(--gutter, 16px) 0; pointer-events: none; view-transition-name: zn-bar; }
.zn-bar {
  position: relative; pointer-events: auto; display: flex; align-items: center; gap: 6px;
  width: 100%; max-width: 1320px; height: 58px; margin: 0 auto; padding: 0 7px 0 20px; border-radius: 999px;
  background: rgba(18, 18, 21, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(246, 241, 255, 0.08), 0 1px 2px rgba(6, 2, 14, 0.55), 0 18px 44px -20px rgba(6, 2, 14, 0.95);
}
html[data-nx="low"] .zn-bar, html[data-nx="still"] .zn-bar { background: var(--zp-box); -webkit-backdrop-filter: none; backdrop-filter: none; }
.zn-brand { display: flex; align-items: center; flex: none; height: 40px; padding: 0 4px; border-radius: 10px; }
.zn-brand img { display: block; width: auto; height: 22px; }
.zn-links { position: relative; display: flex; align-items: center; gap: 2px; margin-left: 22px; min-width: 0; }
.zn-l {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 15px; border: 0; border-radius: 999px;
  background: none; color: var(--zp-grey); font: 500 15px/1 var(--nx-body); letter-spacing: 0; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: color 180ms var(--zn-ease);
}
.zn-l:hover, .zn-l:focus-visible, .zn-l[aria-current="page"], .zn-more.has-current > .zn-l, .zn-more.is-open > .zn-l { color: #fff; }
.zn-l svg:not(.zi) { width: 14px; height: 14px; margin-right: -4px; color: var(--zp-muted); transition: transform 220ms var(--zn-ease); }
.zn-more.is-open > .zn-l svg:not(.zi) { transform: rotate(180deg); }
.zn-l:focus-visible { outline: 2px solid var(--zp-red-hi); outline-offset: 0; }
/* the gliding pill: two caps and a middle, all moved by transform (polish.js sets --x, --w, --wn) */
.zn-mark { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 200ms var(--zn-ease); }
.zn-mark.is-on { opacity: 1; }
.zn-mark i { position: absolute; top: 50%; left: 0; height: 38px; margin-top: -19px; background: var(--zp-raise-2); transition: transform 200ms var(--zn-ease); }
.zn-mark i:nth-child(1) { width: 19.5px; border-radius: 19px 0 0 19px; transform: translateX(var(--x, 0px)); }
.zn-mark i:nth-child(2) { width: 1px; transform-origin: 0 50%; transform: translateX(calc(var(--x, 0px) + 19px)) scaleX(var(--wn, 0)); }
.zn-mark i:nth-child(3) { width: 19.5px; border-radius: 0 19px 19px 0; transform: translateX(calc(var(--x, 0px) + var(--w, 38px) - 19.5px)); }
.zn-mark.no-t i { transition: none; }
/* More: a menu that fades and settles 6px */
.zn-more { position: static; }
.zn-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px;
  width: min(780px, calc(100vw - 2 * var(--gutter, 16px) - 200px)); padding: 14px; border-radius: 22px; background: var(--zp-box); box-shadow: var(--zd-2);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 160ms ease-out, transform 220ms var(--zn-ease), visibility 0s 220ms;
}
.zn-more.is-open .zn-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease-out, transform 220ms var(--zn-ease), visibility 0s; }
.zn-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.zn-menu-col { display: grid; align-content: start; gap: 2px; }
.zn-k { margin: 4px 10px 8px; color: var(--zp-muted); font: 500 12px/1.2 var(--nx-body); }
.zn-menu-col a, .zn-menu-foot a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--zp-white); text-decoration: none; }
.zn-menu-col a .zi { width: 20px; height: 20px; }
.zn-menu-col b { display: block; font: 500 15px/1.3 var(--nx-body); transition: color 180ms var(--zn-ease); }
.zn-menu-col small { display: block; color: var(--zp-muted); font-size: 13px; line-height: 1.35; }
.zn-menu-col a:hover b, .zn-menu-col a:focus-visible b { color: var(--zp-white); }
.zn-menu-col a[aria-current="page"] { background: var(--zp-raise); }
.zn-menu-foot { grid-column: 1 / -1; display: flex; gap: 4px; margin-top: 6px; padding: 10px 0 0; background: none; }
.zn-menu-foot a { padding: 8px 12px; color: var(--zp-grey); font-size: 14px; }
.zn-menu-foot a:hover { color: #fff; }
.zn-menu-foot .zp-signin span { display: inline; }
.zn-menu-foot img { width: 20px; height: 20px; border-radius: 4px; image-rendering: pixelated; }
/* the right end */
.zn-end { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.zn-x { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px; border-radius: 999px; color: var(--zp-grey); font: 500 15px/1 var(--nx-body); text-decoration: none; transition: color 180ms var(--zn-ease); }
.zn-x:hover, .zn-x:focus-visible { color: #fff; }
.zn-cta {
  display: inline-flex; align-items: center; gap: 12px; height: 44px; margin-left: 8px; padding: 0 5px 0 20px; border: 0; border-radius: 999px;
  background: var(--zp-main); color: #fff; font: 600 15px/1 var(--nx-body); white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 1px 2px rgba(6, 2, 14, 0.55), 0 10px 22px -12px rgba(6, 2, 14, 0.9);
  transition: background-color 180ms var(--zn-ease);
}
.zn-cta:hover, .zn-cta:focus-visible { background: var(--zp-main-h); }
.zn-cta:focus-visible { outline: 2px solid var(--zp-red-hi); outline-offset: 2px; }
.zn-cta-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--zp-white); }
.zn-cta-dot .zi { width: 16px; height: 16px; color: var(--zp-main-h) !important; transition: transform 200ms var(--zn-ease); }
@media (hover: hover) { .zn-cta:hover .zn-cta-dot .zi { transform: translateX(1px); } }
.zn-burger { display: none; place-items: center; width: 44px; height: 44px; margin-left: 6px; padding: 0; border: 0; border-radius: 50%; background: var(--zp-raise); cursor: pointer; box-shadow: var(--zd-hi); }
.zn-burger span, .zn-close span { display: block; grid-area: 1 / 1; width: 18px; height: 2px; border-radius: 2px; background: var(--zp-white); }
.zn-burger span:first-child { transform: translateY(-3.5px); }
.zn-burger span:last-child { transform: translateY(3.5px); }
@media (max-width: 1099px) { .zn-links { margin-left: 10px; } .zn-l { padding: 0 12px; } .zn-x { padding: 0 10px; } .zn-x span { display: none; } }
@media (max-width: 899px) {
  .zn-links, .zn-x { display: none; }
  .zn-burger { display: grid; }
  .zn-bar { padding-left: 18px; }
}
@media (max-width: 599px) {
  .zn { padding: 8px 8px 0; }
  .zn-bar { height: 54px; padding: 0 5px 0 16px; }
  .zn-brand img { height: 19px; }
  .zn-cta { height: 42px; gap: 8px; padding-left: 16px; font-size: 14px; }
  .zn-cta-dot { width: 32px; height: 32px; }
  .zn-burger { width: 42px; height: 42px; margin-left: 4px; }
}
@media (max-width: 359px) { .zn-cta .zp-ip-hint { display: none; } .zn-cta { padding-left: 5px; } }
/* the phone sheet: full height, slides in from the right, the page dims behind it */
.zn-sheet { position: fixed; inset: 0; z-index: 300; background: rgba(6, 2, 14, 0.6); opacity: 0; transition: opacity 260ms ease-out; }
.zn-sheet[hidden] { display: none !important; }
.zn-sheet.is-open { opacity: 1; }
.zn-sheet-in {
  position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 22px; width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--zp-base);
  box-shadow: -30px 0 60px -30px rgba(6, 2, 14, 0.9); transform: translateX(100%); transition: transform 340ms var(--zn-ease);
}
.zn-sheet.is-open .zn-sheet-in { transform: none; }
.zn-sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.zn-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--zp-raise); cursor: pointer; }
.zn-close span:first-child { transform: rotate(45deg); }
.zn-close span:last-child { transform: rotate(-45deg); }
.zn-sheet-main { display: grid; gap: 2px; }
.zn-sheet-main a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border-radius: 14px; color: var(--zp-white); font: 500 20px/1 var(--nx-body); text-decoration: none; }
.zn-sheet-main a .zi { width: 20px; height: 20px; }
.zn-sheet-main a[aria-current="page"] { background: var(--zp-raise); box-shadow: var(--zd-row); }
.zn-sheet-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding: 18px 4px 0; }
.zn-sheet-group { display: grid; align-content: start; gap: 2px; }
.zn-sheet-group .zn-k { margin: 0 0 6px; }
.zn-sheet-group a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--zp-grey); font-size: 15px; text-decoration: none; }
.zn-sheet-group a .zi { width: 17px; height: 17px; }
.zn-sheet-group a[aria-current="page"] { color: #fff; }
.zn-sheet-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 10px; }
.zn-sheet-foot .nx-btn { width: 100%; min-height: 50px; gap: 8px; }
.zn-sheet-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.zn-sheet-row .nx-btn { min-height: 46px; padding: 0 8px; font-size: 14px; }
@media (min-width: 900px) { .zn-sheet { display: none !important; } }
.nx-search { margin-top: 12px; }

/* ==========================================================================
   Motion
   ========================================================================== */
/* reveals: a calm 16px rise, no springy overshoot (owner: nothing bounces) */
html.nx-js .nx-r:not(.is-in) { opacity: 0; transform: translateY(16px); }
html.nx-js .nx-r, html.nx-js:is([data-nx="high"], [data-nx="mid"]) .nx-r { transition: opacity 620ms ease-out, transform 820ms var(--zl-rise); 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; }

/* 2026-11-30: the leaderboard rows, their tier chips and the podium cards no longer fade in on scroll (owner: not everything animates in) */

/* page to page: the page fades and rises 8px, the bar stays put */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: zv-out 150ms ease-out both; }
::view-transition-new(root) { animation: zv-in 300ms var(--zn-ease) both; }
::view-transition-group(zn-bar) { animation-duration: 0s; }
@keyframes zv-out { to { opacity: 0; } }
@keyframes zv-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .zn-sheet-in, .zn-sheet, .zn-menu { transition-duration: 120ms; }
  .zn-sheet-in { transform: none; }
  html.nx-js .nx-r:not(.is-in) { opacity: 1; transform: none; }
}

/* the game-frame borders (border-image) some page boxes still carried: gone, the box gets the depth instead */
:root body :is(.lb-kings, .lb-toggle, .lb-legend, .lb-lp, .kit-facts, .g-steps, .mx-records, .pf-hero, .pf-ladder, .re-sum, .re-plot, .champ, .runner, .tr-ladder,
  .hof-cup-icon, .hof-kit, .hof-past, .g-status-row, .g-addsrv, .ph-search, .zp-search, .zp-select, .lb-find, .zp-tab, .lb-tab, .kc-nums, .kc-open, .pc-scroll,
  .match-list, .badge, .badge-icon, .act-row, .skin-card, .champ-figure, .lo-preview, .md-back, .zp-cmd, .ph-kits, .kit-links),
:root body :is(.ph-kits, .kit-links, .g-steps, .zp-tabs, .lb-tabs, .mx-tabs, .g-sec nav) > *,
:root body :is(.nx-btn.is-discord) { border-image: none !important; border-color: transparent !important; }
:root body :is(.pf-hero, .champ, .tr-ladder, .hof-past, .lb-legend, .g-addsrv) { background-color: var(--zp-box) !important; border-radius: 20px; box-shadow: var(--zd-1) !important; }
:root body :is(.pf-ladder, .runner, .hof-kit, .lb-lp, .g-status-row, .skin-card, .badge.earned, .match-list.is-boxed, .re-plot, .re-sum) { background-color: var(--zp-raise) !important; border-radius: 14px; box-shadow: var(--zd-row) !important; }
:root body .pf-hero .pf-ladder { background-color: var(--zp-raise) !important; }
:root body :is(.ph-search, .zp-search, .zp-select, .lb-find) { background-color: var(--zp-band) !important; box-shadow: var(--zd-sunk) !important; }
:root body :is(.ph-kits > a, .kit-links a) { box-shadow: var(--zd-row) !important; }
:root body :is(.h-kits-shot, .h-join-shot) video { box-shadow: none !important; }:root body .kit-links a { background-color: var(--zp-raise) !important; }
:root body .zp-seg > * { border-color: transparent !important; }
:root body .zp-seg > :is([aria-pressed="true"], [aria-checked="true"], .is-on, .active, .is-active) { background: var(--zp-raise) !important; box-shadow: var(--zd-row) !important; }

/* ==========================================================================
   ALIVE (2026-11-14). The owner: "the page feels really flat ... make it alive and feel like a good
   Minecraft page. Also I see many of the AI things: buttons."
   1. No coloured outlines on dark fills: every badge, chip, tag, result square and secondary button is a
      soft solid tint of its colour with the strong shade as text. Focus rings stay.
   2. Real Minecraft layers: the arena at night behind every page head (sky with pixel stars, the graded
      arena, a block skyline in front, each on its own parallax), deepslate under the page, obsidian
      under the footer, an enchant glint over kit cards once, XP orbs on kickers, a sparkle on Play now,
      sections arrive with a short pixel dissolve. Loops run only while on screen (polish.js .is-vis).
   ========================================================================== */

/* ---------- 1. tints, not outlines ---------- */
:root { --zt-ground: var(--zp-base); }
:root body :is(.zp-tier, .tier-pill, .zp-kchip, .kchip, .ph-chip, .tier-chip, .lb-more-kits, .g-item) {
  background: color-mix(in srgb, var(--tc, var(--zp-muted)) 18%, var(--zt-ground)) !important; color: var(--tc, var(--zp-white)) !important;
  box-shadow: none !important; border: 0 !important; border-image: none !important; text-shadow: none !important;
}
:root body :is(.zp-kchip, .kchip):not([data-tier]):not([style*="--tc"]), :root body .lb-more-kits { background: var(--zp-raise) !important; color: var(--zp-white) !important; }
:root body .zp-tier.is-none { background: var(--zp-raise) !important; color: var(--zp-muted) !important; }
:root body .zp-tier.is-solid { background: var(--tc) !important; color: var(--zp-base) !important; }
:root body .zp-tier::after, :root body .tier-pill::after { display: none !important; }
/* recent results: a tinted square, a bright letter */
:root body .zp-res { border: 0 !important; box-shadow: none !important; text-shadow: none !important; }
:root body .zp-res.is-w { background: color-mix(in srgb, #3fd48a 22%, var(--zt-ground)) !important; color: #5ff0a2 !important; }
:root body .zp-res.is-l { background: color-mix(in srgb, #f2566b 22%, var(--zt-ground)) !important; color: #ff7a8a !important; }
/* tags: wins, losses, accents, the No. 1 crown, the store ranks */
:root body .zp-tag { border: 0 !important; box-shadow: none !important; text-shadow: none !important; }
:root body .zp-tag.is-win { background: color-mix(in srgb, #3fd48a 20%, var(--zt-ground)) !important; color: #5ff0a2 !important; }
:root body .zp-tag.is-loss { background: color-mix(in srgb, #f2566b 20%, var(--zt-ground)) !important; color: #ff7a8a !important; }
:root body .zp-tag.kc-crown { background: color-mix(in srgb, #f5c542 20%, var(--zt-ground)) !important; color: #ffd866 !important; }
:root body .zp-tag.kc-crown svg { fill: currentColor; stroke: none; }
:root body :is(.rk, .rk-zero, .rk-plus, .zp-tag.chip-rank) { background: var(--zp-main) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important; filter: none !important; }
:root body .lb-move.is-new { background: color-mix(in srgb, #ffd866 18%, var(--zt-ground)) !important; color: #ffd866 !important; box-shadow: none !important; border: 0 !important; }
:root body .zp-score.mx-sc { background: var(--zp-raise) !important; box-shadow: none !important; border: 0 !important; }
:root body :is(.chip, .chip-ok, .chip-no, .chip-mono) { border: 0 !important; box-shadow: none !important; }
:root body .chip.chip-ok { background: color-mix(in srgb, #3fd48a 18%, var(--zt-ground)) !important; color: #5ff0a2 !important; }
:root body .chip.chip-no { background: color-mix(in srgb, #f2566b 18%, var(--zt-ground)) !important; color: #ff7a8a !important; }
:root body .chip.chip-mono { background: var(--zp-raise) !important; color: var(--zp-white) !important; }
/* keys, commands, back links, filter buttons, segments, page tabs: solid raised fills */
:root body :is(kbd, .kbd, .zp-cmd, .mono-cmd, .nw-back, .md-back, .mc-btn, .zp-btn.is-discord, .zp-btn.is-ghost, .btn-ghost, .si-logo) { border: 0 !important; border-image: none !important; box-shadow: none !important; }
:root body :is(kbd, .kbd, .zp-cmd, .mono-cmd) { background: var(--zp-raise) !important; color: var(--zp-white) !important; }
:root body :is(.nw-back, .md-back, .mc-btn:not(.is-primary), .zp-btn.is-ghost, .btn-ghost) { background: var(--zp-raise) !important; color: var(--zp-white) !important; }
:root body :is(.nw-back, .md-back, .mc-btn:not(.is-primary), .zp-btn.is-ghost, .btn-ghost):hover { background: var(--zp-hair) !important; }
:root body :is(.zp-tabs:not(#tabs):not(.lb-tabs), .mx-tabs, .zp-seg, .tr-filter, .tiers-filter, .lb-filters) > :is(button, a) { border: 0 !important; border-image: none !important; box-shadow: none !important; }
:root body :is(.zp-tabs:not(#tabs):not(.lb-tabs), .mx-tabs) > :is(button, a):is([aria-selected="true"], .active, .is-on) { background: color-mix(in srgb, var(--zp-main) 24%, var(--zt-ground)) !important; color: var(--zp-white) !important; }
/* every leftover game frame on page parts (not on inventory slots or the hotbars) */
:root body :is(main, .page-hero, .md-head) :not(.zp-slot, .inv-slot, .mc-slot, .slot, .zp-kit-ico, .kp-ico, .lv-r-kit, img, .mc-hotbar > *, .ph-hotbar > *, #tabs > *, .zg-ghost, .zp-tier) { border-image-source: none !important; }
/* fields and the filter checkbox: sunken fills */
:root body :is(select.zp-select, .zp-select) { border: 0 !important; background-color: var(--zp-band) !important; box-shadow: var(--zd-sunk) !important; }
:root body .lb-toggle { border: 0 !important; box-shadow: none !important; }
:root body .lb-toggle i { border: 0 !important; background: var(--zp-raise) !important; border-radius: 4px; box-shadow: var(--zd-sunk) !important; }
:root body .lb-toggle[aria-pressed="true"] i { background: var(--zp-main) !important; }
/* the copy chip and the search key hint */
.nx-search kbd, .nx-find kbd { border: 0 !important; background: var(--zp-raise) !important; }

/* ---------- 2. page heads and bands: plain crimson-dark grounds (2026-11-15) ----------
   The night scene (sky with pixel stars, the arena at night, the block skyline) and the deepslate, obsidian and
   amethyst textures under the page, the footer and the closing band are gone (owner, crimson rebrand): flat
   tokens only. The heads keep their room, so nothing shifts. */
html, body { overflow-x: clip; }
.zs { display: none !important; }
:root body :is(.page-hero, .md-head, .h-lb) { position: relative; isolation: isolate; background: var(--zp-ground) !important; box-shadow: 0 0 0 100vmax var(--zp-ground) !important; clip-path: inset(0 -100vmax); }
html body { background: var(--zp-base) !important; }
:root body .h-sec:nth-of-type(even) { background: var(--zp-ground) !important; box-shadow: 0 0 0 100vmax var(--zp-ground) !important; }
:root body .nx-foot { background: var(--zp-band) !important; }
:root body .nx-close { background: none; }

/* the top players stand and breathe: one calm bob, looping only while the podium is on screen */
@keyframes zs-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-5px) rotate(-0.6deg); } }
@media (prefers-reduced-motion: no-preference) {
  html:is([data-nx="high"], [data-nx="mid"]) :is(.lb-podium, .h-lb-pod).is-vis :is(.lb-pod-fig, .h-lb-fig) { animation: zs-bob 5.6s ease-in-out infinite; transform-origin: 50% 100%; }
  html:is([data-nx="high"], [data-nx="mid"]) :is(.lb-podium, .h-lb-pod).is-vis :is(.lb-pod-card.is-1 .lb-pod-fig, .h-lb-card.is-1 .h-lb-fig) { animation-delay: -1.8s; }
  html:is([data-nx="high"], [data-nx="mid"]) :is(.lb-podium, .h-lb-pod).is-vis :is(.lb-pod-card.is-3 .lb-pod-fig, .h-lb-card.is-3 .h-lb-fig) { animation-delay: -3.6s; }
}


/* the enchant glint sweeps a kit card once as it arrives */
.zglint {
  position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: url("alive/enchanted_glint_item.png") 0 0 / 180px 180px; mix-blend-mode: screen; opacity: 0.32;
  -webkit-mask-image: linear-gradient(110deg, transparent 38%, #000 50%, transparent 62%); mask-image: linear-gradient(110deg, transparent 38%, #000 50%, transparent 62%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: zglint 1500ms cubic-bezier(0.45, 0, 0.25, 1) both;
}
@keyframes zglint { from { -webkit-mask-position: 105% 0; mask-position: 105% 0; } to { -webkit-mask-position: -5% 0; mask-position: -5% 0; } }

/* XP orbs mark the small labels over sections */
:is(.zp-kicker, .nx-banner .nx-px, .h-banner-copy .nx-px)::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px;
  background: url("alive/xp-orb.png") 0 0 / 12px 12px no-repeat; image-rendering: pixelated;
}

/* Play now: a few game sparks follow the pointer (polish.js), nothing else */
.zspark {
  position: fixed; z-index: 400; width: 10px; height: 10px; margin: -5px 0 0 -5px; pointer-events: none;
  background: var(--zp-white); -webkit-mask: url("alive/spark.png") 0 0 / 10px 10px; mask: url("alive/spark.png") 0 0 / 10px 10px; image-rendering: pixelated;
  animation: zspark 560ms ease-out both;
}
@keyframes zspark { from { opacity: 0.95; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--dx, 0px), -16px) scale(0.6); } }

/* sections arrive with a short pixel dissolve, like a block breaking in reverse */
@keyframes zbreak {
  0% { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAMUlEQVR42mNggID/UEw0QNbwHwcfRTE2if9oNAOprqAjINuN2IL2P6UuGOCAwBZxDAAcHhfp9xWdHwAAAABJRU5ErkJggg=="); mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAMUlEQVR42mNggID/UEw0QNbwHwcfRTE2if9oNAOprqAjINuN2IL2P6UuGOCAwBZxDAAcHhfp9xWdHwAAAABJRU5ErkJggg=="); }
  16% { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAN0lEQVR42mNgYGD4jwMz4BBDkWAgYABcAQMRpmNoHEQAlxuxuRlnSGFT8B+rLiJsocwvVA8IBgAgBi/R23jLPwAAAABJRU5ErkJggg=="); mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAN0lEQVR42mNgYGD4jwMz4BBDkWAgYABcAQMRpmNoHEQAlxuxuRlnSGFT8B+rLiJsocwvVA8IBgAgBi/R23jLPwAAAABJRU5ErkJggg=="); }
  33% { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAOElEQVR42mNgYGD4TyImXiGpGlBsoC/4j4eP0w8M2DyL7gd8oYNiEzYn4DKEoD9w0QwUBy9OpwAAmBdHuTrlFxoAAAAASUVORK5CYII="); mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAOElEQVR42mNgYGD4TyImXiGpGlBsoC/4j4eP0w8M2DyL7gd8oYNiEzYn4DKEoD9w0QwUBy9OpwAAmBdHuTrlFxoAAAAASUVORK5CYII="); }
  50% { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAQElEQVR42p2QSQ4AMAgC5/+fptduWqiJF4EIAChcn5gKlg/z6HI7eCpAFXjtdyNbGUhD09WKIeYrj5qmXrfeygC3O1+hbym4FAAAAABJRU5ErkJggg=="); mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAQElEQVR42p2QSQ4AMAgC5/+fptduWqiJF4EIAChcn5gKlg/z6HI7eCpAFXjtdyNbGUhD09WKIeYrj5qmXrfeygC3O1+hbym4FAAAAABJRU5ErkJggg=="); }
  66% { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAOUlEQVR42mNgYGD4TyImXiGpGrDagIvPgCaGYBCjmRh3U88PFHsarwYGcm1gwBKcDNg8zYDHFjgAAHHEd4ltL2WPAAAAAElFTkSuQmCC"); mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAOUlEQVR42mNgYGD4TyImXiGpGrDagIvPgCaGYBCjmRh3U88PFHsarwYGcm1gwBKcDNg8zYDHFjgAAHHEd4ltL2WPAAAAAElFTkSuQmCC"); }
  83% { -webkit-mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAFUlEQVR42mNgYGD4TyIe1TCqARsGAO9Rj3FyHT2RAAAAAElFTkSuQmCC"); mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAFUlEQVR42mNgYGD4TyIe1TCqARsGAO9Rj3FyHT2RAAAAAElFTkSuQmCC"); }
  100% { -webkit-mask-image: none; mask-image: none; }
}
html.zpm :is(main > section, .h-frame > section, .h-sec).nx-r.is-in {
  -webkit-mask-size: 288px 288px; mask-size: 288px 288px; image-rendering: auto;
  animation: zbreak 380ms steps(1, end) both;
}

@media (prefers-reduced-motion: reduce) {
  :is(.lb-pod-fig, .h-lb-fig), .zglint, .zspark { animation: none !important; }
  .zglint, .zspark { display: none !important; }
  html.zpm .zk > * { opacity: 1 !important; transform: none !important; }
  html.zpm :is(main > section, .h-frame > section, .h-sec).nx-r.is-in { animation: none !important; }
}

/* ---------- perf + consistency (2026-11-14 follow-up) ---------- */
/* sections far below the first screen skip their rendering until they come near */
:root body :is(.h-sec ~ .h-sec, .lb-legend-sec, .nx-foot-panel, main > section ~ section:not(:has(.lb-head, [style*="sticky"], .re-root))) {
  content-visibility: auto; contain-intrinsic-size: auto 900px;
}
/* ==========================================================================
   The mark (owner 2026-11-30): his own transparent Z (assets/brand/zeropvp-z-mark-240.png, scaled from
   zeropvp-z-2026-11-30.png) replaces the crimson-era Piglin Brute head (2026-11-15) at the same spots, as a SMALL
   accent in a few places only: the home hero corner, the 404 page, an empty leaderboard. Never on every card.
   The class names stayed (.zp-brute, .h-brute, .err-brute) so nothing else breaks.
   ========================================================================== */
.zp-brute { display: block; height: auto; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 8px 10px rgba(6, 2, 14, 0.5)); }
.h-lb-head { position: relative; }
.h-brute { position: absolute; top: -2px; right: 8px; width: 52px; }
@media (max-width: 899px) { .h-brute { width: 38px; top: 0; right: 0; } }
body[data-page="error"] .err-brute { width: 70px; margin: 0 auto 18px; }
@media (max-width: 640px) { body[data-page="error"] .err-brute { width: 54px; } }
.lb-empty::before { content: ""; display: block; width: 38px; height: 52px; margin-bottom: 4px; background: url("../brand/zeropvp-z-mark-240.png?v=zp8") center / contain no-repeat; filter: drop-shadow(0 6px 8px rgba(6, 2, 14, 0.5)); }
/* he arrives once with the page, a short rise; still under reduced motion */
@keyframes zp-brute-in { from { opacity: 0; translate: 0 10px; } }
@media (prefers-reduced-motion: no-preference) {
  html:is([data-nx="high"], [data-nx="mid"]) :is(.h-brute, .err-brute) { animation: zp-brute-in 620ms var(--zl-rise, cubic-bezier(0.16, 1, 0.3, 1)) 380ms both; }
}