/* wwwroot/app.css - minimal residual styles Tailwind can't do.
   Everything else is handled by Tailwind (via CDN in App.razor).
   Kept:
     - .blazor-error-boundary  → Blazor built-in unhandled-error surface
     - .valid.modified / .invalid / .validation-message
                               → Blazor's built-in <EditForm> validation surface,
                                 used by the login + register modals.
*/

/* Scrollbars in the season's accent (--brand-500, re-tinted by seasons.css) on a transparent track - the page's
   and every inner scroll area's, since scrollbar-color inherits (the /boosts-in-game mock-up keeps its own
   game-client colours). Chrome / Edge / Firefox use scrollbar-color; Safari the ::-webkit-scrollbar rules. */
html {
    scrollbar-color: rgb(var(--brand-500)) transparent;
}

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 9999px;
    background: rgb(var(--brand-500)) padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgb(var(--brand-400)) padding-box; }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

/* Blazor <EditForm> validation surface - used by login/register modals.
   Blazor toggles these classes automatically on <input> elements bound to a validated model. */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid rgb(74 222 128 / 0.75);
}

.invalid {
    outline: 1px solid rgb(239 68 68 / 0.9);
}

.validation-message {
    color: rgb(248 113 113);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Blazor's <FocusOnNavigate Selector="h1"> in Routes.razor programmatically
   sets tabindex="-1" on the target and calls .focus() after every route
   change so screen readers announce the new page. Browsers paint the default
   focus ring around the h1 for sighted users, which reads as a rendered
   border artifact (visible for a few seconds after every navigation).
   Suppress the outline specifically for programmatically-focused elements
   - [tabindex="-1"] can't receive keyboard focus anyway, so this doesn't
   hide any real focus indicator.

   Cover :focus AND :focus-visible (some Chromium builds paint the ring via
   :focus-visible even for programmatic .focus() when the initiating gesture
   was a keyboard-activated link). Also zero box-shadow in case a future
   UA / stylesheet paints the ring via shadow instead of outline. !important
   is defensive against any Tailwind utility that could get authored onto a
   focused heading later (e.g. focus:ring-*). */
[tabindex="-1"]:focus,
[tabindex="-1"]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


/* ============================================================================
   Blazored.Modal - dark-theme override for the `.warzone-modal` variant.
   Applied by NavMenu.OpenAuthCycleAsync via ModalOptions.Class.

   Blazored REPLACES its default `blazored-modal size-medium` classes with
   whatever we pass in Options.Class, so the box DOM ends up with just
   `.warzone-modal` (verified via DOM inspection). That means all box sizing,
   padding, and background must be declared here - Blazored's scoped defaults
   never fire for the box.

   HOWEVER, Blazored's scoped CSS DOES fire on the header/title/close children
   (`.bm-header[b-<hash>]` etc.) at 0,2,0 specificity, and its stylesheet
   loads AFTER app.css. So we need `!important` on the properties Blazored
   sets or its `padding: 0 0 2rem 0` header and `margin: -1rem -1rem -1rem auto`
   close-button win, clipping the × above the modal's `overflow: hidden` edge.
   ============================================================================ */

.bm-container:has(.warzone-modal) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: rgba(10, 10, 10, 0.75) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.warzone-modal {
    display: flex;
    flex-direction: column;
    background-color: rgb(23 23 23);
    color: rgb(245 245 245);
    border: 1px solid rgb(64 64 64);
    border-radius: 12px;
    /* Responsive cap - mobile stays phone-sized; tablets + desktop get
       progressively more breathing room. The boost/add-server/mint-key
       modals carry the most content and were the ones bumping into 440px. */
    width: min(94vw, 480px);
    max-height: calc(100vh - 3rem);
    margin: 1.5rem;
    overflow: hidden;
    /* 2px inset top ribbon in brand-orange + tighter outer glow so it doesn't feel like a floating grey box. */
    box-shadow:
        inset 0 2px 0 0 rgb(var(--brand-500)),
        0 24px 48px -12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgb(var(--brand-500) / 0.06);
}

/* sm - tablet portrait (Tailwind sm breakpoint) */
@media (min-width: 640px) {
    .warzone-modal { width: min(90vw, 560px); }
}
/* md - tablet landscape */
@media (min-width: 768px) {
    .warzone-modal { width: min(85vw, 640px); }
}
/* lg - desktop */
@media (min-width: 1024px) {
    .warzone-modal { width: min(80vw, 720px); }
}

.warzone-modal .bm-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem;
    padding: 1.125rem 1.5rem !important;
    margin: 0 !important;
    border-bottom: 1px solid rgb(38 38 38);
}

.warzone-modal .bm-title {
    color: rgb(250 250 250);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0 !important;
}

.warzone-modal .bm-close {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0 !important;
    margin: 0 !important;
    color: rgb(163 163 163);
    background-color: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}

.warzone-modal .bm-close:hover {
    color: rgb(245 245 245);
    background-color: rgba(255, 255, 255, 0.06);
}


/* ============================================================================
   Range-toggle pills + <AreaChart> - absolutely-positioned tick/tooltip layering
   Tailwind can't express without a wall of arbitrary values.
   ========================================================================= */

.wz-pill {
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
    border-radius: 9999px;
    background: rgb(var(--brand-500) / 0.08);
    border: 1px solid rgb(var(--brand-500) / 0.3);
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wz-pill:hover:not(:disabled) {
    background: rgb(var(--brand-500) / 0.16);
    border-color: rgb(var(--brand-500) / 0.5);
    color: #fff;
}

.wz-pill.active {
    background: rgb(var(--brand-500) / 0.22);
    border-color: rgb(var(--brand-500));
    color: rgb(var(--brand-400));
}

.wz-pill:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Bootstrap 5.3 .form-switch reproduced for the brand palette - Bootstrap isn't
   loaded here. Same geometry (2em x 1em pill) and the same mechanic: the knob is
   an SVG background slid by background-position rather than a child element. */
.wz-switch {
    --wz-switch-knob: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255,255,255,0.25%29'/%3e%3c/svg%3e");
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    font-size: 1rem;
    width: 2em;
    height: 1em;
    margin: 0;
    background-color: transparent;
    background-image: var(--wz-switch-knob);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    border: 1px solid rgb(82 82 82);
    border-radius: 2em;
    cursor: pointer;
    print-color-adjust: exact;
    transition: background-position 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.wz-switch:checked {
    --wz-switch-knob: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-color: rgb(var(--brand-500));
    background-position: right center;
    border-color: rgb(var(--brand-500));
}

.wz-switch:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(var(--brand-500) / 0.25);
}

.wz-switch:disabled {
    opacity: 0.5;
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    .wz-switch { transition: none; }
}

/* `type="search"` keeps the searchbox role for screen readers, but its UA clear
   button would sit next to our own - suppress the native one. */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

/* Back-to-top button - hidden until site.js adds `.wz-to-top-show` past the hero.
   `visibility` (not `display`) so the fade can run both ways. */
.wz-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms;
}

.wz-to-top-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .wz-to-top { transition: none; transform: none; }
    .wz-to-top-show { transform: none; }
}

/* ── Tooltips ────────────────────────────────────────────────────────────
   One hover-tooltip look for the whole site; `Components/Integrations/Tooltip.razor`
   renders it. Put `wz-tip-anchor` on the element the hint belongs to and make
   the tooltip a DIRECT child.

   The tooltip in the markup never shows itself: site.js (which adds `wz-tip-js` to
   <html>) copies it into one shared `.wz-tip-float` in the browser's top layer on
   hover / keyboard focus, so no scroll container, overflow-hidden card, sticky
   header or modal can clip or cover it. The in-place copy is display:none, so it
   doesn't stretch a scroll container either. The `wz-tip-start` / `-end` / `-below`
   classes say where the floating copy goes; without JS they position the plain
   in-place fallback below.

   Plain CSS rather than Tailwind `group-hover/<name>` variants: those need every
   scope name to exist as a literal somewhere in scan scope, which made each new
   call site a two-file change and silently rendered nothing when forgotten. */
.wz-tip-anchor {
    position: relative;
}

.wz-tip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    margin-bottom: 0.5rem;
    width: max-content;
    max-width: 16rem;
    padding: 0.375rem 0.625rem;
    border: 1px solid rgb(64 64 64);
    border-radius: 0.375rem;
    background: rgb(10 10 10);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 400;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
    color: rgb(245 245 245);
    display: none;
    pointer-events: none;
}

.wz-tip-start {
    left: 0;
    transform: none;
}

.wz-tip-end {
    left: auto;
    right: 0;
    transform: none;
}

.wz-tip-below {
    bottom: auto;
    top: 100%;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

/* No-JS fallback: the in-place tooltip, clipped by scroll containers as before.
   `:focus-visible` (and `:has()` for wrappers around a focusable control) keeps it
   off after a mouse click but on for keyboard users - site.js does the same. */
html:not(.wz-tip-js) .wz-tip-anchor:hover > .wz-tip,
html:not(.wz-tip-js) .wz-tip-anchor:focus-visible > .wz-tip,
html:not(.wz-tip-js) .wz-tip-anchor:has(:focus-visible) > .wz-tip {
    display: block;
}

/* The floating copy. `inset` / `margin` undo the UA popover centring; site.js
   sets top / left. The z-index only matters where popovers aren't supported. */
.wz-tip-float {
    position: fixed;
    inset: auto;
    margin: 0;
    transform: none;
    overflow: visible;
    z-index: 2147483000;
    opacity: 0;
    transition: opacity 0.15s ease 0.075s;
}

.wz-tip-float.is-open {
    display: block;
}

.wz-tip-float.is-on {
    opacity: 1;
}

.wz-tip-title {
    display: block;
    margin-bottom: 0.125rem;
    font-weight: 600;
    color: #fff;
}

.wz-tip-body {
    display: block;
    color: rgb(212 212 212);
}

@media (prefers-reduced-motion: reduce) {
    .wz-tip-float { transition: none; }
}

/* The curve is SVG but every label stays DOM text - text inside the stretched
   viewBox distorts. */
.wz-chart {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    gap: 0.5rem;
    /* Top-aligned so the axis tracks the plot; end-aligned it would follow the
       x-axis labels and scrollbar instead, dropping the 0 tick below baseline. */
    align-items: start;
}

.wz-chart-yaxis {
    position: relative;
    height: 220px;
}

.wz-chart-ytick {
    position: absolute;
    right: 0;
    transform: translateY(50%);
    white-space: nowrap;
    font-size: 0.6875rem;
    font-variant-numeric: tabular-nums;
    color: rgb(115 115 115);
}

.wz-chart-plot {
    position: relative;
    height: 220px;
}

.wz-chart-grid {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

/* The curve is stretched to the plot box, so the stroke opts out of scaling via
   vector-effect or it renders thick horizontally and thin vertically. */
.wz-chart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.wz-chart-line {
    fill: none;
    stroke: rgb(var(--brand-400));
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wz-chart-line-sub {
    stroke: rgb(163 163 163);
    stroke-width: 1.5;
}

.wz-chart-points {
    position: absolute;
    inset: 0;
    /* A dot or tooltip at the very edge must not widen the scroll area. */
    overflow: hidden;
}

/* Full-height hover target, already clamped inside the plot by the component. */
.wz-chart-hit {
    position: absolute;
    top: 0;
    bottom: 0;
}

.wz-chart-dot {
    position: absolute;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgb(var(--brand-500) / 0.3);
    transform: translate(-50%, 50%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wz-chart-hit:hover .wz-chart-dot {
    opacity: 1;
}

.wz-chart-dot-sub {
    width: 0.4rem;
    height: 0.4rem;
    background: rgb(212 212 212);
    box-shadow: 0 0 0 3px rgba(163, 163, 163, 0.25);
}

/* Spans both grid columns so it lines up with the plot, not the y-axis gutter. */
.wz-chart-legend {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1rem;
    margin-top: 0.75rem;
}

.wz-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.6875rem;
    color: rgb(163 163 163);
}

/* `translate` carries the offsets rather than `transform` so the edge and below
   variants can each override one axis without restating both. Visual properties
   deliberately match `.wz-tip` - one tooltip look site-wide. */
.wz-chart-tip {
    --tip-x: -50%;
    --tip-y: 0;
    position: absolute;
    left: 50%;
    z-index: 2;
    min-width: 8.5rem;
    margin-bottom: 0.9rem;
    padding: 0.375rem 0.625rem;
    translate: var(--tip-x) var(--tip-y);
    background: rgb(10 10 10);
    border: 1px solid rgb(64 64 64);
    border-radius: 0.375rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease 0.075s;
}

.wz-chart-hit:hover .wz-chart-tip {
    opacity: 1;
}

.wz-chart-tip-below {
    --tip-y: calc(100% + 1.8rem);
}

.wz-chart-tip-start {
    --tip-x: 0;
    left: 0;
}

.wz-chart-tip-end {
    --tip-x: 0;
    left: auto;
    right: 0;
}

.wz-chart-tip-title {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    white-space: nowrap;
}

.wz-chart-tip-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.125rem;
    font-size: 11px;
    line-height: 1.35;
    color: rgb(212 212 212);
    white-space: nowrap;
}

.wz-chart-tip-swatch {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 2px;
    background: rgb(var(--brand-400));
    flex: 0 0 auto;
}

.wz-chart-tip-swatch-muted {
    background: rgb(115 115 115);
}

.wz-chart-xaxis {
    display: flex;
    gap: 2px;
    margin-top: 0.4rem;
}

.wz-chart-xtick {
    flex: 1 1 0;
    text-align: center;
    white-space: nowrap;
    font-size: 0.6875rem;
    color: rgb(115 115 115);
}

/* The plot scrolls sideways rather than crushing labels together - on phones for
   any bucket count, on desktop only once a long range outgrows the container. */
.wz-chart-scroll {
    overflow-x: auto;
    /* A dot sitting on the baseline hangs half below it; clip rather than scroll. */
    overflow-y: hidden;
    overscroll-behavior-x: contain;
}

/* The plot never grows past this, so any container at least this wide shows the
   whole range and only phones scroll. Long ranges thin their axis labels. */
.wz-chart-plot,
.wz-chart-xaxis {
    min-width: 620px;
}

/* Opens on the newest bucket when it does scroll. `rtl` on the scroller alone
   flips the initial scroll position; the content restores `ltr`. */
.wz-chart-scroll-end {
    direction: rtl;
}

.wz-chart-scroll-end > * {
    direction: ltr;
}

.warzone-modal .bm-close:focus-visible {
    outline: 2px solid rgb(var(--brand-500));
    outline-offset: 2px;
}

.warzone-modal .bm-content {
    padding: 1.5rem;
    overflow-y: auto;
}

/* ============================================================================
   Cards and panels: 20 points less see-through.
   Every card/panel is a translucent dark neutral (bg-neutral-800/900/950 with
   an opacity). The ambient background and the seasonal artwork show through
   them and wash out their text, so each keeps its own opacity plus
   --wz-panel-boost (capped at fully opaque): /40 becomes 60%, /60 becomes 80%.
   Set it to 0 for Tailwind's own values. `:root` outranks tailwind.output.css,
   which loads after this file; hover and other variants are left as they are.
   ============================================================================ */
:root {
    --wz-panel-boost: 0.2;
}

:root .bg-neutral-800\/5 { background-color: rgb(38 38 38 / min(1, calc(0.05 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/10 { background-color: rgb(38 38 38 / min(1, calc(0.1 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/15 { background-color: rgb(38 38 38 / min(1, calc(0.15 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/20 { background-color: rgb(38 38 38 / min(1, calc(0.2 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/25 { background-color: rgb(38 38 38 / min(1, calc(0.25 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/30 { background-color: rgb(38 38 38 / min(1, calc(0.3 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/40 { background-color: rgb(38 38 38 / min(1, calc(0.4 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/50 { background-color: rgb(38 38 38 / min(1, calc(0.5 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/60 { background-color: rgb(38 38 38 / min(1, calc(0.6 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/70 { background-color: rgb(38 38 38 / min(1, calc(0.7 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/75 { background-color: rgb(38 38 38 / min(1, calc(0.75 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/80 { background-color: rgb(38 38 38 / min(1, calc(0.8 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/90 { background-color: rgb(38 38 38 / min(1, calc(0.9 + var(--wz-panel-boost)))); }
:root .bg-neutral-800\/95 { background-color: rgb(38 38 38 / min(1, calc(0.95 + var(--wz-panel-boost)))); }

:root .bg-neutral-900\/5 { background-color: rgb(23 23 23 / min(1, calc(0.05 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/10 { background-color: rgb(23 23 23 / min(1, calc(0.1 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/15 { background-color: rgb(23 23 23 / min(1, calc(0.15 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/20 { background-color: rgb(23 23 23 / min(1, calc(0.2 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/25 { background-color: rgb(23 23 23 / min(1, calc(0.25 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/30 { background-color: rgb(23 23 23 / min(1, calc(0.3 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/40 { background-color: rgb(23 23 23 / min(1, calc(0.4 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/50 { background-color: rgb(23 23 23 / min(1, calc(0.5 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/60 { background-color: rgb(23 23 23 / min(1, calc(0.6 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/70 { background-color: rgb(23 23 23 / min(1, calc(0.7 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/75 { background-color: rgb(23 23 23 / min(1, calc(0.75 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/80 { background-color: rgb(23 23 23 / min(1, calc(0.8 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/90 { background-color: rgb(23 23 23 / min(1, calc(0.9 + var(--wz-panel-boost)))); }
:root .bg-neutral-900\/95 { background-color: rgb(23 23 23 / min(1, calc(0.95 + var(--wz-panel-boost)))); }

:root .bg-neutral-950\/5 { background-color: rgb(10 10 10 / min(1, calc(0.05 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/10 { background-color: rgb(10 10 10 / min(1, calc(0.1 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/15 { background-color: rgb(10 10 10 / min(1, calc(0.15 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/20 { background-color: rgb(10 10 10 / min(1, calc(0.2 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/25 { background-color: rgb(10 10 10 / min(1, calc(0.25 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/30 { background-color: rgb(10 10 10 / min(1, calc(0.3 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/40 { background-color: rgb(10 10 10 / min(1, calc(0.4 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/50 { background-color: rgb(10 10 10 / min(1, calc(0.5 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/60 { background-color: rgb(10 10 10 / min(1, calc(0.6 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/70 { background-color: rgb(10 10 10 / min(1, calc(0.7 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/75 { background-color: rgb(10 10 10 / min(1, calc(0.75 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/80 { background-color: rgb(10 10 10 / min(1, calc(0.8 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/90 { background-color: rgb(10 10 10 / min(1, calc(0.9 + var(--wz-panel-boost)))); }
:root .bg-neutral-950\/95 { background-color: rgb(10 10 10 / min(1, calc(0.95 + var(--wz-panel-boost)))); }

/* ============================================================================
   WarzoneCS-vs-other panels (Components/Dashboards: /{lang}/stats #joins,
   /{lang}/servers/{id}/stats, /{lang}/api, Profile → API tokens). The owner
   dashboard demo's component classes on the site's tokens: a 24-column grid of
   30 px rows, panels like the /stats cards, collapsible section rows, buttons
   and fields, the join-stats tables, the server picker listbox and the boost chips.
   ============================================================================ */
.wzd-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    grid-auto-rows: 30px;
    gap: 12px;
}

.wzd-panel {
    grid-column: span var(--w, 24);
    grid-row: span var(--h, 4);
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border: 1px solid rgb(38 38 38);
    border-radius: 1rem;
    background: rgb(23 23 23 / min(1, calc(0.6 + var(--wz-panel-boost, 0))));
}

/* Narrow screens: one panel per line, each as tall as its grid rows say. */
@media (max-width: 1023px) {
    .wzd-panel { grid-column: 1 / -1; }
    /* /admin/overview: its stat tiles two to a line, so the headline numbers fit on a phone screen. */
    .wzo .wzd-panel:has(> .wzd-panel-b.stat) { grid-column: span 12; }
}

/* A row of five equal stat tiles (/admin/overview's download → player steps): 24 columns don't split in five,
   so the tiles sit in their own five-column grid; two to a line on narrow screens, like the other tiles. */
.wzd-steps {
    grid-column: 1 / -1;
    grid-row: span 4;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 30px;
    gap: 12px;
}
@media (max-width: 1023px) {
    .wzd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-row: span 12; }
    .wzo .wzd-steps > .wzd-panel:has(> .wzd-panel-b.stat) { grid-column: span 1; }
}

.wzd-panel-h {
    flex: none;
    min-height: 44px;
    padding: 12px 16px 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.wzd-panel-b {
    flex: 1;
    min-height: 0;
    padding: 0 16px 14px;
    position: relative;
    overflow: hidden;
}

/* DashPanel Bar: a row of controls under the title that doesn't scroll with the body. */
.wzd-panel-bar {
    flex: none;
    padding: 2px 16px 10px;
}

/* StatsFrameBar: the stats pages' sticky time bar, right under the 4rem navbar (z-50) and its seasonal
   garland (--wz-season-edge-h, seasons.css), edge to edge of the page column (which pads 1rem / 1.5rem / 2rem). */
.wz-frame-bar {
    position: sticky;
    top: calc(4rem + var(--wz-season-edge-h, 0px));
    z-index: 30;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid rgb(38 38 38);
    background: rgb(10 10 10 / 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
    .wz-frame-bar { margin-left: -1.5rem; margin-right: -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
    .wz-frame-bar { margin-left: -2rem; margin-right: -2rem; padding-left: 2rem; padding-right: 2rem; }
}

/* At its sticky top (data-stuck, site.js) the bar's background reaches up to the navbar under the seasonal
   garland - the header (z-50) draws the bulbs over it - instead of leaving the garland's strip of page open.
   The controls keep their place, below the bulbs; seasons without a garland (height 0) draw nothing. */
.wz-frame-bar[data-stuck]::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: var(--wz-season-edge-h, 0px);
    /* A touch more opaque than the bar: its backdrop blur can't reach outside the bar, so this keeps the page behind as faint. */
    background: rgb(10 10 10 / 0.95);
    pointer-events: none;
}

/* The API docs (/{lang}/api): one content column, centered on the page wherever the left nav still fits
   beside it - from ~1540 px wide (the side tracks share the spare width; the left one never under 15rem);
   one column under lg. */
.wz-docs { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 2rem; }
.wz-docs-main { min-width: 0; }

@media (min-width: 1024px) {
    .wz-docs { grid-template-columns: minmax(15rem, 1fr) minmax(0, 56rem) minmax(0, 1fr); }
    .wz-docs-main { grid-column: 2; grid-row: 1; }
}

/* The left nav sticks under the navbar and its garland; sections scroll clear of them. Its panel is the
   endpoint cards' own (rounded-2xl border-neutral-800 bg-neutral-900/60). */
.wz-docs-nav {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    width: 15rem;
    position: sticky;
    top: calc(4rem + var(--wz-season-edge-h, 0px) + 1.5rem);
    max-height: calc(100vh - 4rem - var(--wz-season-edge-h, 0px) - 3rem);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgb(38 38 38);
    border-radius: 1rem;
    background: rgb(23 23 23 / .6);
    font-size: 15px;
}
.wz-docs-nav-h { padding: 0 10px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgb(115 115 115); }
.wz-docs-nav-sep { height: 1px; margin: 8px 10px; background: rgb(38 38 38); }
.wz-docs-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: .5rem;
    color: rgb(163 163 163);
    transition: color .15s, background-color .15s;
}
/* Text labels wrap (translations run long); endpoint paths stay on one line. */
.wz-docs-link-t { min-width: 0; line-height: 1.35; }
.wz-docs-link-t.wzd-mono { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* The info sections' ? (theme colour - an icon, not data text) and the endpoints' method label (the cards' GET). */
.wz-docs-ico { flex: none; width: 17px; height: 17px; color: rgb(var(--brand-400)); }
.wz-docs-method {
    flex: none;
    padding: 0 4px;
    border-radius: 2px;
    background: #34d399;
    color: #000;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: .02em;
}
.wz-docs-link:hover { color: #fff; background: rgb(26 26 26); }
.wz-docs-link[aria-current] { color: #fff; background: rgb(38 38 38); }
.wz-docs-anchor { scroll-margin-top: calc(4rem + var(--wz-season-edge-h, 0px) + 1rem); }
/* A heavy export's label beside its token label: a fixed orange, not the season's theme colour. */
.wzd-chip-heavy { border-color: rgb(251 146 60 / .6); color: rgb(253 186 116); }

.wzd-panel-b.scroll { overflow: auto; }
.wzd-panel-b.flush { padding: 0; }
.wzd-panel-b.chart { padding: 0 10px 8px; }
.wzd-panel-b.stat { padding-top: 14px; }

.wzd-stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgb(115 115 115);
}

.wzd-stat-v {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}

/* A stat card's mini bars: dimmed, full colour on the hovered day. */
.wzd-spark-bar { opacity: .7; transition: opacity .15s; }
.wzd-spark { cursor: default; }
.wzd-spark:hover > .wzd-spark-bar { opacity: 1; }
.wzd-spark:hover > span:first-child:not(.wzd-spark-bar) { background: #404040 !important; }

/* A section title spanning the grid: chevron, title, "N panels hidden". */
.wzd-row-h {
    grid-column: 1 / -1;
    grid-row: span 2;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
    border-top: 1px solid rgb(38 38 38);
    padding: 0 0 2px;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.2;
    color: #fff;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.wzd-row-h.first {
    grid-row: span 1;
    border-top: 0;
    align-items: center;
    padding-bottom: 0;
}

.wzd-row-h .n { color: rgb(115 115 115); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.wzd-row-h .chev { display: inline-block; width: 14px; color: rgb(115 115 115); font-size: 14px; transition: transform .15s; }
.wzd-row-h:focus-visible { outline: 2px solid rgb(var(--brand-500)); outline-offset: 4px; border-radius: 4px; }

.wzd-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgb(38 38 38);
    border-radius: .5rem;
    color: rgb(212 212 212);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}

.wzd-btn:hover:not(:disabled) { border-color: rgb(64 64 64); color: #fff; }
.wzd-btn-ico { flex: none; width: 14px; height: 14px; }

/* A copy button that just copied (CopyButton; the promo code and the embed monitor do the same in their own CSS):
   success border - an outline over the border, so a borderless button doesn't shift - and a success check
   at the start of its content; the text colour stays. Reverts after 3 s. */
.wz-copied { border-color: rgb(52 211 153) !important; outline: 1px solid rgb(52 211 153) !important; outline-offset: -1px !important; }
.wz-copy-check { width: 14px; height: 14px; }
.wz-copy-check-c { flex: none; color: rgb(52 211 153); }
.wzd-btn:disabled { opacity: .4; cursor: default; }

.wzd-var { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.wzd-var > label { color: rgb(115 115 115); }

.wzd-var > input,
.wzd-field {
    border: 1px solid rgb(38 38 38);
    background: rgb(23 23 23);
    border-radius: .5rem;
    color: rgb(212 212 212);
    padding: 6px 8px;
    font-size: 12px;
    color-scheme: dark;
    outline: none;
}

.wzd-var > input:focus,
.wzd-field:focus { border-color: rgb(64 64 64); }

/* ⓘ beside a panel title. */
.wzd-info { display: inline-flex; color: rgb(115 115 115); cursor: help; }
.wzd-info:hover, .wzd-info:focus-visible { color: rgb(212 212 212); }

/* ⤓ CSV JSON */
.wzd-exp {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    border: 1px solid rgb(38 38 38);
    border-radius: .375rem;
    padding-left: 6px;
    font-size: 10px;
    font-weight: 500;
    color: rgb(115 115 115);
}

.wzd-exp > button { border-radius: .25rem; padding: 2px 4px; color: rgb(163 163 163); transition: color .2s, background-color .2s; }
.wzd-exp > button:hover { background: rgb(38 38 38); color: #fff; }

.wzd-chip {
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-radius: .25rem;
    padding: 0 4px;
    font-size: 9px;
    font-weight: 600;
    line-height: 14px;
    white-space: nowrap;
    vertical-align: middle;
}

/* Tables: the join-stats look, sticky header, sortable columns. */
table.wzd-table { width: 100%; border-collapse: collapse; font-size: 13px; }

table.wzd-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #141414;
    text-align: left;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgb(115 115 115);
    padding: 8px 12px;
    white-space: nowrap;
}

table.wzd-table th.s { cursor: pointer; }
table.wzd-table th.s:hover { color: #fff; }
table.wzd-table th.r, table.wzd-table td.r { text-align: right; }
table.wzd-table td { padding: 9px 12px; border-top: 1px solid rgb(38 38 38 / .6); white-space: nowrap; color: rgb(229 229 229); }
table.wzd-table td.wrap, table.wzd-table th.wrap { white-space: normal; }
table.wzd-table td.mono { color: #fff; }
table.wzd-table th:first-child, table.wzd-table td:first-child { padding-left: 16px; }
table.wzd-table th:last-child, table.wzd-table td:last-child { padding-right: 16px; }
table.wzd-table tbody tr { background: transparent; }
table.wzd-table tbody tr:hover { background: rgb(23 23 23 / .5); }
table.wzd-table tr.sel { background: rgb(var(--brand-500) / .10); }

.wzd-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-variant-numeric: tabular-nums; }

/* Server picker: the tables' server cell as a listbox. */
.wzd-pick-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 15rem;
    max-width: 20rem;
    text-align: left;
    border: 1px solid rgb(38 38 38);
    background: rgb(23 23 23);
    border-radius: .5rem;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.35;
    outline: none;
}

.wzd-pick-btn:hover, .wzd-pick-btn:focus-visible, .wzd-pick-btn[aria-expanded="true"] { border-color: rgb(64 64 64); }
.wzd-pick-btn > svg { flex: none; width: 14px; height: 14px; color: rgb(163 163 163); transition: transform .15s; }
.wzd-pick-btn[aria-expanded="true"] > svg { transform: rotate(180deg); }

.wzd-pick-pop {
    position: absolute;
    z-index: 60;
    top: calc(100% + 6px);
    left: 0;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    padding: 8px;
    background: #0a0a0a;
    border: 1px solid rgb(64 64 64);
    border-radius: .75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
}

.wzd-pick-list { max-height: 22rem; overflow-y: auto; margin-top: 8px; }

.wzd-pick-grp {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #0a0a0a;
    padding: 6px 8px 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: rgb(115 115 115);
}

.wzd-pick-opt { padding: 6px 8px; border-radius: .5rem; cursor: pointer; font-size: 12px; line-height: 1.35; }
.wzd-pick-opt.on, .wzd-pick-opt:hover { background: #1f1f1f; }
.wzd-pick-opt.sel { background: rgb(var(--brand-500) / .12); }
.wzd-pick-opt.sel.on, .wzd-pick-opt.sel:hover { background: rgb(var(--brand-500) / .18); }
.wzd-pick-more { padding: 8px; font-size: 11px; color: rgb(115 115 115); }

/* SourcePicker: the connection log's source filter, a narrower button and popover with no search box. */
.wzd-pick-btn.compact { min-width: 10rem; max-width: 16rem; padding-top: 5px; padding-bottom: 5px; }
.wzd-pick-pop.compact { width: 15rem; padding: 4px; }
.wzd-pick-list.flush { margin-top: 0; }

.wzd-pre {
    overflow-x: auto;
    border: 1px solid rgb(38 38 38 / .6);
    border-radius: .25rem;
    background: #0a0a0a;
    padding: 12px;
    font-size: 12px;
    line-height: 1.375;
}

/* Syntax-coloured JSON (DashboardView.JsonHtml, the API docs' example responses): keys, strings, numbers,
   true / false and null each in their own colour; punctuation dimmed so the values stand out. */
.wzj { color: rgb(115 115 115); }
.wzj-k { color: rgb(156 220 254); }
.wzj-s { color: rgb(206 145 120); }
.wzj-n { color: rgb(181 206 168); }
.wzj-b, .wzj-z { color: rgb(86 156 214); }

/* ============================================================================
   Phones (under Tailwind's sm, 640 px). Everything here is scoped to that width (or to touch pointers), so
   tablets and desktops keep exactly the layout above.
   ============================================================================ */

/* A table marked .wz-stack shows each row as a card instead of scrolling sideways: no header row, each cell
   its column's name above its value (data-label), cells side by side, wrapping. .wz-stack-full takes a whole
   line, .wz-stack-grow the rest of its line (a short cell like a rank number can sit before it), .wz-stack-end
   sits at the end of its line. */
@media (max-width: 639.98px) {
    table.wz-stack, table.wz-stack > tbody { display: block; width: 100%; }
    table.wz-stack > thead { display: none; }
    table.wz-stack > tbody > tr {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        column-gap: 1.25rem;
        row-gap: .625rem;
        padding: .875rem 1rem;
    }
    table.wz-stack > tbody > tr > td { display: block; width: auto; max-width: 100%; padding: 0; white-space: normal; }
    table.wz-stack > tbody > tr > td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .25rem;
        font: 500 10px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: rgb(115 115 115);
    }
    table.wz-stack > tbody > tr > td.wz-stack-full { flex-basis: 100%; }
    table.wz-stack > tbody > tr > td.wz-stack-grow { flex: 1 1 calc(100% - 3rem); min-width: 0; }
    table.wz-stack > tbody > tr > td.wz-stack-end { margin-left: auto; }
}

@media (max-width: 639.98px) {
    /* iOS Safari zooms the page in on a focused text field under 16 px, and doesn't zoom back out. Date / time
       pickers open the native picker instead of a keyboard, so they keep the period presets' 12 px (the stats
       time bar puts them side by side). */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="color"]):not([type="date"]):not([type="datetime-local"]):not([type="time"]):not([type="month"]):not([type="week"]),
    select,
    textarea { font-size: 16px !important; }

    /* The stats pages' time bar wraps to three or four rows here - sticky, it would cover a quarter of the
       screen, so it scrolls away with the page (site.js only marks a sticky bar data-stuck). */
    .wz-frame-bar { position: relative; top: auto; }

    /* Its rows (StatsFrameBar's own and the timeline's controls, both display: contents here) flow as one wrapping
       row, ordered: presets, From, To, then "Updated … Refresh" (order 2), then Zoom out / Reset (order 3). */
    .wz-frame-bar { display: flex; flex-wrap: wrap; align-items: center; column-gap: .75rem; row-gap: .5rem; }
    /* A line break after "Updated … Refresh" (last of order 2), so Zoom out / Reset start their own line; the
       negative margin cancels the extra row gap of this empty line. */
    .wz-frame-bar:has(.max-sm\:order-2)::after { content: ""; order: 2; flex-basis: 100%; height: 0; margin-top: -.5rem; }

    /* Charts' date axis (.wz-xticks): every other label when there are five or more, so they don't run together. */
    .wz-xticks:has(> :nth-child(5)) > :nth-child(2n) { display: none; }

    /* API docs: text tables wrap instead of scrolling; the example request wraps so its path and query show. */
    .wz-docs-main table.wzd-table td { white-space: normal; }
    .wz-docs-main .wzd-pre:not(.wzj) { white-space: pre-wrap; overflow-wrap: anywhere; }
}

/* Touch: small icon buttons and links (.wz-hit - the copy-address icon, the tier "?") get a bigger invisible
   tap area; what's drawn doesn't change. */
.wz-hit { position: relative; }
@media (pointer: coarse) {
    .wz-hit::after { content: ""; position: absolute; inset: -10px; }
}
