@import '_content/ArchiView.SportsNinja.Web/ArchiView.SportsNinja.Web.85c8t2yunr.bundle.scp.css';

/* /Components/Layout/TrophyCase.razor.rz.scp.css */
/* The trophy case — ADR-042, row S4.4. Tokens only (css-tokens.md), no literal colour and no
   literal font-size.

   Scoped, per css-tokens.md's "the right home for a self-contained shell component". The TILES
   inside are NOT styled here and cannot be: .gn-trophy-tile is a child component with its own
   scope, so it lives in app.css §3 beside the rest of the ADR-045 set. What this file owns is
   the case AROUND them — the filter chips, the group heads, and the <li> the case itself emits.

   The whole thing replaces the old .gn-trophy-* grid, which was a hand-painted stand-in for
   TrophyTile written before TrophyTile existed. */

.gn-case[b-s48gkltp4a] {
    display: flex;
    flex-direction: column;
    gap: var(--gn-space-4);
}

/* ── The summary ───────────────────────────────────────────────────────────
   Progression graphic · the count · the next logical step. A card, not a strip: it is the one
   thing on the page that is about the whole case rather than about a trophy.

   Wraps below sm rather than shrinking the ring — a dial small enough to sit beside two lines of
   text on a phone is a dial nobody can read the number out of. */
.gn-case-summary[b-s48gkltp4a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gn-space-3);
    padding: var(--gn-space-3);
    border: 1px solid var(--gn-border);
    border-radius: var(--gn-radius);
    background: var(--gn-surface);
}

/* The number sits over the ring, and ONLY the number is positioned — the wrapper shrink-wraps
   the <svg> and the caption is laid over the box it makes. The obvious version (both children
   in one grid cell via `.gn-case-dial > *`) does not work: the <svg> is ProgressRing's markup
   and never carries this file's scope attribute, so the rule matches the caption alone and the
   two land in different rows. Same trap the .gn-case-item comment below describes, and the
   reason the ring's own SIZE is set in app.css — look for `.gn-case-dial .gn-ring` there.

   `absolute`, not `fixed`: this stays in document coordinate space (ADR-042 §7). */
.gn-case-dial[b-s48gkltp4a] {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    margin: 0;
}

.gn-case-dial-n[b-s48gkltp4a] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: var(--gn-fs-sm);
    font-variant-numeric: tabular-nums;
    color: var(--gn-text-muted);
}

/* Takes the rest of the row, and 16rem is a floor rather than a width — below it the flex line
   breaks and the body drops under the dial. */
.gn-case-summary-body[b-s48gkltp4a] {
    flex: 1 1 16rem;
    display: flex;
    flex-direction: column;
    gap: var(--gn-space-2);
}

.gn-case-summary-line[b-s48gkltp4a] {
    margin: 0;
    color: var(--gn-text-muted);
}

.gn-case-summary-line strong[b-s48gkltp4a] {
    color: var(--gn-text);
}

/* Inset on the quiet surface, so the hint reads as a callout inside the card without needing a
   second border. The icon stays on its own line-start while the text wraps under itself. */
.gn-case-next[b-s48gkltp4a] {
    display: flex;
    align-items: baseline;
    gap: var(--gn-space-2);
    margin: 0;
    padding: var(--gn-space-2) var(--gn-space-3);
    border-radius: var(--gn-radius);
    background: var(--gn-surface-2);
    font-size: var(--gn-fs-sm);
}

.gn-case-next strong[b-s48gkltp4a] {
    color: var(--gn-accent);
}

.gn-case-next-n[b-s48gkltp4a] {
    margin-inline-start: var(--gn-space-1);
    color: var(--gn-text-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ── The filter ────────────────────────────────────────────────────────────
   Four radios and :has(). No script, no render mode, no navigation — the whole
   mechanism is one checked pseudo-class, which is also why it survives a dead
   circuit and a slow network.

   The inputs are .visually-hidden, NOT display:none — hidden that way they keep
   focus, keep the arrow-key roving the radio group gives us for free, and keep
   being announced. The chip is the label, so clicking it is clicking the input. */
.gn-case-filters[b-s48gkltp4a] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gn-touch-gap);
}

.gn-case-chip[b-s48gkltp4a] {
    display: inline-flex;
    align-items: center;
    gap: var(--gn-space-1);
    min-height: var(--gn-touch);
    padding-inline: var(--gn-space-3);
    border: 1px solid var(--gn-border-strong);
    border-radius: var(--gn-radius);
    background: var(--gn-surface);
    color: var(--gn-text);
    font-size: var(--gn-fs-sm);
    cursor: pointer;
}

.gn-case-chip:hover[b-s48gkltp4a] {
    border-color: var(--gn-accent);
}

/* The count rides the chip rather than taking a line of its own, and tabular figures stop the
   chip re-measuring as a number goes from one digit to two. */
.gn-case-chip-n[b-s48gkltp4a] {
    color: var(--gn-text-muted);
    font-variant-numeric: tabular-nums;
}

/* Selected: the accent plate, plus weight — §2 rule 11, never colour alone. --gn-on-accent is
   the token held to 4.5:1 against every fill by palette-contrast.py. */
.gn-case-radio:checked + .gn-case-chip[b-s48gkltp4a] {
    background: var(--gn-accent);
    border-color: var(--gn-accent);
    color: var(--gn-on-accent);
    font-weight: 600;
}

.gn-case-radio:checked + .gn-case-chip .gn-case-chip-n[b-s48gkltp4a] {
    color: inherit;
}

/* The input is off-screen, so the ring has to be drawn on the label it controls. */
.gn-case-radio:focus-visible + .gn-case-chip[b-s48gkltp4a] {
    outline: 2px solid var(--gn-focus-ring);
    outline-offset: 2px;
}

/* ── Groups ────────────────────────────────────────────────────────────────── */
.gn-case-group[b-s48gkltp4a] {
    margin-block-end: var(--gn-space-4);
}

.gn-case-head[b-s48gkltp4a] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gn-space-3);
    margin-block: 0 var(--gn-space-2);
    padding-block-end: var(--gn-space-1);
    border-block-end: 2px solid var(--gn-accent);
    font-size: var(--gn-fs-lg);
}

.gn-case-count[b-s48gkltp4a] {
    color: var(--gn-text-muted);
    font-size: var(--gn-fs-sm);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gn-case-note[b-s48gkltp4a] {
    margin-block: 0 var(--gn-space-3);
    color: var(--gn-text-muted);
    font-size: var(--gn-fs-sm);
}

/* ADR-042 §7's asymmetric gap: the row gap is ~1.4× the column gap, so a tile's own text sits
   closer to itself than to the tile below it. No fixed pixel width anywhere — auto-fill with a
   min in `rem` is what keeps this off the narrow-viewport list. */
.gn-case-list[b-s48gkltp4a] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    column-gap: var(--gn-space-3);
    row-gap: calc(var(--gn-space-3) * 1.4);   /* the 1.4 is ADR-042 §7's ratio, spelled out —
                                                 the spacing scale doubles and has no 1.4 step */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The tile fills its cell so a long condition does not leave a short tile floating. */
.gn-case-item[b-s48gkltp4a] {
    display: grid;
}

/* ── The filter's four rules ───────────────────────────────────────────────────
   Two halves each: hide the items that do not match, then hide any group left with
   nothing in it, because a heading over an empty grid reads as a loading failure.

   :has() is load-bearing here rather than a shortcut — the alternative is the sibling
   combinator, which would force the radios to be siblings of .gn-case-body and split the
   chips away from the inputs they label. Where :has() is unsupported the case simply shows
   everything, which is the pre-filter page and not a broken one. */
.gn-case:has(#gn-cf-earned:checked) .gn-case-item:not([data-gn-state="earned"])[b-s48gkltp4a],
.gn-case:has(#gn-cf-next:checked) .gn-case-item:not([data-gn-state="revealed"])[b-s48gkltp4a],
.gn-case:has(#gn-cf-hidden:checked) .gn-case-item:not([data-gn-state="hidden"])[b-s48gkltp4a] {
    display: none;
}

.gn-case:has(#gn-cf-earned:checked) .gn-case-group:not(:has([data-gn-state="earned"]))[b-s48gkltp4a],
.gn-case:has(#gn-cf-next:checked) .gn-case-group:not(:has([data-gn-state="revealed"]))[b-s48gkltp4a],
.gn-case:has(#gn-cf-hidden:checked) .gn-case-group:not(:has([data-gn-state="hidden"]))[b-s48gkltp4a] {
    display: none;
}

/* Empty states: rendered only for a filter that IS empty, then shown only while that filter is
   the one chosen. Default hidden, so "All" — which can never be empty — never shows one. */
.gn-case-empty[b-s48gkltp4a] {
    display: none;
    margin: 0;
    color: var(--gn-text-muted);
}

.gn-case:has(#gn-cf-earned:checked) .gn-case-empty[data-gn-for="gn-cf-earned"][b-s48gkltp4a],
.gn-case:has(#gn-cf-next:checked) .gn-case-empty[data-gn-for="gn-cf-next"][b-s48gkltp4a],
.gn-case:has(#gn-cf-hidden:checked) .gn-case-empty[data-gn-for="gn-cf-hidden"][b-s48gkltp4a] {
    display: block;
}

/* The hidden pool's note is about the pool, so it goes with it — and only with it. */
.gn-case:has(#gn-cf-earned:checked) .gn-case-note[b-s48gkltp4a],
.gn-case:has(#gn-cf-next:checked) .gn-case-note[b-s48gkltp4a] {
    display: none;
}
/* /Components/Pages/Contact.razor.rz.scp.css */
/* The /contact gauntlet (2026-07-22). Tokens only — no hard-coded colors (CONVENTIONS.md). */

/* Row S4.5: the three sizes below were literals (1.35rem, a clamp of two literals, .8rem),
   so the gauntlet was the one part of the site that ignored the reader's type-scale step.
   Every one is a --gn-fs-* now; the shout keeps its fluid middle term because it was fluid
   before, and both clamp BOUNDS are scale tokens — the same shape as the global h1/h2 rules.
   Papyrus stays. That is not a token problem, it is a joke. */
.gn-gauntlet-fun[b-7l1dflwtbq] {
    font-family: Papyrus, "Segoe Print", fantasy;
    font-size: var(--gn-fs-xl);
    color: var(--gn-warning);
}

.gn-gauntlet-shout[b-7l1dflwtbq] {
    font-family: Papyrus, "Segoe Print", fantasy;
    font-size: clamp(var(--gn-fs-3xl), 1.375rem + 3vw, calc(var(--gn-fs-4xl) * 1.4));
    font-weight: 800;
    line-height: var(--gn-lh-tight);
    color: var(--gn-danger);
}

/* The essay answer: pinned narrow on purpose so the wall of text becomes an absurd tower. */
.gn-gauntlet-essay[b-7l1dflwtbq] {
    width: 100px;
    text-align: left;
    white-space: normal;
    font-size: var(--gn-fs-xs);
    line-height: 1.35;
}

/* Final boss. The arena is the button's world — fleeing is clamped to these bounds, but it is
   deliberately invisible: the button should look like it's loose on the page. */
.gn-boss-arena[b-7l1dflwtbq] {
    position: relative;
    height: min(60vh, 30rem);
    margin-top: var(--gn-space-3);
    overflow: hidden;
}

.gn-boss[b-7l1dflwtbq] {
    position: absolute;
    left: 50%;
    top: 50%;
    /* No CSS transition: contact-gauntlet.js tweens left/top itself so the travel rate can track
       the cursor's own speed, which a fixed-duration transition can't do. */
}

.gn-boss.caught[b-7l1dflwtbq] {
    box-shadow: 0 0 0 .35rem var(--gn-focus-ring);
}

/* Confetti particles are created by contact-gauntlet.js; it copies this component's scope
   attribute onto them so these scoped rules still apply. */
.gn-confetti[b-7l1dflwtbq] {
    position: absolute;
    width: .5rem;
    height: .75rem;
    pointer-events: none;
    border-radius: var(--gn-radius-sm);
    animation: gn-confetti-burst-b-7l1dflwtbq 1.2s ease-out forwards;
}

@keyframes gn-confetti-burst-b-7l1dflwtbq {
    from {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    to {
        transform: translate(var(--dx), calc(var(--dy) + 40px)) rotate(540deg);
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Landing page. Tokens only — must survive all twelve palettes on either ground (ADR-044). */

.hero[b-092pmhms0g] {
    position: relative;
    overflow: hidden;
}

.hero-spark[b-092pmhms0g] {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 60%;
    opacity: .15;
    pointer-events: none;
}

.hero > :not(.hero-spark)[b-092pmhms0g] {
    position: relative; /* keep text above the sparkline */
}

/* Row S4.5: was `.display-4`, which is Bootstrap's own ladder and sits outside
   --gn-fs-root — so the reader's type step moved the whole page except the site's name.
   A multiple of the top step keeps the same weight on screen and answers the dial. */
.hero-title[b-092pmhms0g] {
    font-size: calc(var(--gn-fs-4xl) * 1.4);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: var(--gn-lh-tight);
    margin-bottom: var(--gn-space-2);
}

.viz[b-092pmhms0g] {
    width: 100%;
    height: auto;
    margin-bottom: var(--gn-space-2);
}

/* .viz-title is gone — the demo captions are .gn-card-cap now, shared with What's
   Happening, so both pages label an inline chart in the same micro-cap voice.

   font-size INSIDE the two SVGs below stays a bare number on purpose and is not a
   css-tokens violation: it is user-space units inside a viewBox, so it scales with the
   drawing rather than with the root, and a rem there would break the picture. */
.viz-label[b-092pmhms0g] {
    font-size: 10px;
    fill: var(--gn-text-muted);
}

.viz-gauge[b-092pmhms0g] {
    width: 4rem;
    flex-shrink: 0;
    margin-bottom: var(--gn-space-3);
}

.viz-gauge-text[b-092pmhms0g] {
    font-size: 13px;
    font-weight: 700;
    fill: var(--gn-text);
}

.lb-table[b-092pmhms0g] {
    width: 100%;
    font-size: var(--gn-fs-xs);
    color: var(--gn-text-muted);
    margin-bottom: var(--gn-space-2);
}

.lb-table th[b-092pmhms0g] {
    color: var(--gn-text);
    font-weight: 600;
    border-bottom: 1px solid var(--gn-border);
}

.lb-table th[b-092pmhms0g],
.lb-table td[b-092pmhms0g] {
    padding: var(--gn-space-1) var(--gn-space-2) var(--gn-space-1) 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 9rem;
}

.lb-num[b-092pmhms0g] {
    text-align: right;
    padding-right: 0;
}

/* Tease: top 3 crisp, the rest fades into "sign in to find out". */
.lb-table tbody tr:nth-child(4)[b-092pmhms0g] { filter: blur(1px); opacity: .75; }
.lb-table tbody tr:nth-child(5)[b-092pmhms0g] { filter: blur(2px); opacity: .55; }
.lb-table tbody tr:nth-child(6)[b-092pmhms0g] { filter: blur(3px); opacity: .4; }
.lb-table tbody tr:nth-child(7)[b-092pmhms0g] { filter: blur(4px); opacity: .25; }

.blog-teasers[b-092pmhms0g] {
    margin-top: var(--gn-space-5);
    margin-bottom: var(--gn-space-4);
}

/* A row feed, not three more cards (ADR-042 §7): title and date on one line, standfirst
   under it, hairline rules between. Three teasers in three bordered boxes read as three
   objects competing with the project cards above them; a list reads as a list. */
.teaser[b-092pmhms0g] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .2rem var(--gn-space-3);
    align-items: baseline;
    padding: var(--gn-space-3) 0;
    border-block-start: 1px solid var(--gn-border);
}

.teaser:last-of-type[b-092pmhms0g] {
    border-block-end: 1px solid var(--gn-border);
    margin-bottom: var(--gn-space-3);
}

.teaser-link[b-092pmhms0g] {
    font-weight: 700;
    text-decoration: none;
}

.teaser-link:hover[b-092pmhms0g] {
    text-decoration: underline;
}

/* Tabular so three dates stack into a column even when the titles do not. */
.teaser-when[b-092pmhms0g] {
    font-size: var(--gn-fs-2xs);
    letter-spacing: .16em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    color: var(--gn-text-muted);
    white-space: nowrap;
}

.teaser-dek[b-092pmhms0g] {
    grid-column: 1 / -1;
    margin: 0;
    font-size: var(--gn-fs-sm);
    color: var(--gn-text-muted);
}
/* /Components/Pages/Styleguide.razor.rz.scp.css */
/* Layout only — colors come from the shell tokens (ADR-001). */

/* ── The customization preview (row S4.5, ADR-044) ──────────────────────────
   TWELVE PALETTE SPECIMENS AND EIGHT FONT SPECIMENS, AND NOT ONE COLOUR OR FONT NAME
   BELOW. Every value here is var(--gn-*), which inside a [data-gn-palette] or
   [data-gn-font] subtree resolves against THAT choice's block in app.css §1b/§1c — so a
   retuned palette retunes its own specimen and this file never has to hear about it.

   `background: var(--gn-bg)` on a card is the deliberate part: a specimen has to show the
   PAGE ground, not the surface, because "can I read this" is a question about the ground.
   The hairline around it is --gn-border-strong for the same reason the swatch chips use
   it — it separates two grounds that may be nearly the same colour, and WCAG 1.4.11's 3:1
   is the only floor that guarantees the boundary survives all twelve.

   Asymmetric gap, per ADR-042 §7: this is a card feed like any other. */
.sg-palettes[b-sk80si4xsf],
.sg-fonts[b-sk80si4xsf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    column-gap: var(--gn-space-3);
    row-gap: calc(var(--gn-space-3) * 1.4);
    margin-top: var(--gn-space-3);
}

.sg-palette[b-sk80si4xsf],
.sg-font[b-sk80si4xsf] {
    display: flex;
    flex-direction: column;
    gap: var(--gn-space-2);
    padding: var(--gn-space-3);
    background: var(--gn-bg);
    color: var(--gn-text);
    border: 1px solid var(--gn-border-strong);
    border-radius: var(--gn-radius);
}

.sg-palette-head[b-sk80si4xsf] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--gn-space-2);
}

.sg-palette-desc[b-sk80si4xsf],
.sg-font-note[b-sk80si4xsf] {
    margin: 0;
    font-size: var(--gn-fs-xs);
    color: var(--gn-text-muted);
}

.sg-palette-body[b-sk80si4xsf] {
    margin: 0;
    font-size: var(--gn-fs-sm);
}

.sg-palette-muted[b-sk80si4xsf] {
    color: var(--gn-text-muted);
}

.sg-palette-controls[b-sk80si4xsf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--gn-space-2);
}

/* The key is the contract between the database row, the CSS block and the claim, so it is
   on screen — this page is where somebody goes to find out which one they are looking at. */
.sg-palette-key[b-sk80si4xsf] {
    margin-top: auto;
    font-size: var(--gn-fs-2xs);
    color: var(--gn-text-muted);
}

/* Big enough that the letterforms are legible as letterforms. Il1/O0 lead the string
   because telling those apart is Atkinson's whole design rationale. */
.sg-font-specimen[b-sk80si4xsf] {
    margin: 0;
    font-size: var(--gn-fs-xl);
    line-height: 1.3;
}

/* The scale ladder. A two-column grid rather than a stack: the token names line up in a
   column, so the ratio between the steps is visible as a shape. */
.sg-scale[b-sk80si4xsf] {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: var(--gn-space-2) var(--gn-space-3);
    margin: var(--gn-space-3) 0;
}

.sg-scale dt[b-sk80si4xsf] {
    font-size: var(--gn-fs-2xs);
    font-weight: 400;
    color: var(--gn-text-muted);
    white-space: nowrap;
}

.sg-scale dd[b-sk80si4xsf] {
    margin: 0;
    line-height: 1.1;
}

/* Ruled on both edges so the 68ch cap is a thing you can SEE rather than a claim. */
.sg-measure[b-sk80si4xsf] {
    padding-inline: var(--gn-space-3);
    border-inline: 2px solid var(--gn-accent);
}

.sg-swatch[b-sk80si4xsf] {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: var(--gn-radius-sm);
    border: 1px solid var(--gn-border);
    flex-shrink: 0;
}

.sg-token-grid[b-sk80si4xsf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: .75rem;
}

.sg-token-label[b-sk80si4xsf] {
    min-width: 8rem;
}

.sg-space-bar[b-sk80si4xsf] {
    height: 1rem;
    background: var(--gn-accent);
}

.sg-radius-box[b-sk80si4xsf] {
    width: 6rem;
    height: 4rem;
    background: var(--gn-surface);
    border: 1px solid var(--gn-border);
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Components/Pages/WhatsHappening.razor.rz.scp.css */
/* Layout only — colors come from the shell tokens (ADR-001). */

/* Row S4.5: .wh-stamp is gone — the "Updated …" line moved into the page head's kicker,
   which already sets the micro-cap size off the scale. Its 0.875rem literal went with it. */

/* The vote board: hairline rules between rows, none around the set. Same separator logic
   as .gn-statuslist and the comment tree — it was `.gn-card` per row, which made eight
   suggestions read as eight boxed objects rather than as one list. */
.wh-board[b-tnqz6tdlq9] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wh-board li[b-tnqz6tdlq9] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--gn-space-3);
    padding: var(--gn-space-3) 0;
    border-block-start: 1px solid var(--gn-border);
}

.wh-board li:last-child[b-tnqz6tdlq9] {
    border-block-end: 1px solid var(--gn-border);
}

.wh-progress[b-tnqz6tdlq9] {
    height: 0.5rem;
    background-color: var(--gn-surface-2);
    border-radius: var(--gn-radius-sm);
    margin-bottom: var(--gn-space-1);
}

.wh-progress-bar[b-tnqz6tdlq9] {
    background-color: var(--gn-accent);
}

.wh-board-text[b-tnqz6tdlq9] {
    flex: 1 1 12rem;
    min-width: 0;
}

/* 44px floor on a coarse pointer (ADR-028) — the vote button is the only target in the row. */
.wh-vote-btn[b-tnqz6tdlq9] {
    min-width: 3rem;
    min-height: 3rem;
    line-height: 1.1;
}

.wh-vote-count[b-tnqz6tdlq9] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}
