@import '_content/Roster.Ui/Roster.Ui.0lgj523ttv.bundle.scp.css';

/* /Components/Participant/LeaderboardRow.razor.rz.scp.css */
.row[b-71now4qq68] {
    display: grid;
    grid-template-columns: 30px auto var(--ds-avatar-s) minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-2);
    min-height: 54px;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    background: var(--color-surface);
    color: var(--color-ink);
}

.row--plain[b-71now4qq68] {
    grid-template-columns: 30px var(--ds-avatar-s) minmax(0, 1fr) auto;
}

.row--me[b-71now4qq68] {
    border: 2px solid var(--color-primary);
    background: var(--color-primary-tint);
}

.row__rank[b-71now4qq68],
.row__score[b-71now4qq68] {
    font: var(--text-h3);
    font-weight: 800;
}

.row__change[b-71now4qq68] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 30px;
    height: 24px;
    padding: 0 var(--space-1);
    border-radius: 6px;
    color: var(--color-ink-2);
    font: var(--text-micro);
    font-weight: 800;
}

.row__change--up[b-71now4qq68] {
    background: var(--color-lime);
    color: var(--color-on-lime);
}

.row__change--down[b-71now4qq68] {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.row__name[b-71now4qq68] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.row__nickname[b-71now4qq68] {
    overflow: hidden;
    font: var(--text-body);
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Mockup 04: a participant who climbs lifts for a moment (single animation, skipped with reduced motion). */
.row--lifted[b-71now4qq68] {
    animation: row-lift-b-71now4qq68 var(--dur-shuffle) var(--ease-lift);
}

@keyframes row-lift-b-71now4qq68 {
    0% { transform: none; box-shadow: none; }
    40% { transform: translateX(-6px) scale(1.03) rotate(-1deg); box-shadow: var(--shadow-lift); }
    100% { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
    .row--lifted[b-71now4qq68] {
        animation: none;
    }
}
/* /Components/Participant/LineupSummary.razor.rz.scp.css */
.summary[b-cx2f9fssho] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

/* Hand of cards: last card (the captain) sits in the middle, the others fan out. */
.summary__hand[b-cx2f9fssho] {
    position: relative;
    height: 250px;
}

.summary__card[b-cx2f9fssho] {
    position: absolute;
    top: 40px;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 132px;
    height: 184px;
    padding: var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-l);
    background: var(--color-surface);
}

.summary__card:nth-child(1)[b-cx2f9fssho] {
    margin-left: -150px;
    transform: rotate(-12deg);
}

.summary__card:nth-child(2)[b-cx2f9fssho] {
    margin-left: 18px;
    transform: rotate(12deg);
}

.summary__card:last-child[b-cx2f9fssho] {
    top: 0;
    z-index: 1;
    margin-left: -66px;
    transform: none;
}

.summary__card--captain[b-cx2f9fssho] {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lift);
}

.summary__card-name[b-cx2f9fssho] {
    font: var(--text-small);
    font-weight: 700;
    line-height: 1.25;
}

.summary__status[b-cx2f9fssho] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    text-align: center;
}

.summary__body[b-cx2f9fssho] {
    max-width: 320px;
    margin: 0 auto;
    font: var(--text-body);
}

.summary__saved[b-cx2f9fssho] {
    border-color: transparent;
    background: var(--color-success-bg);
    color: var(--color-success);
}

.summary__picks[b-cx2f9fssho] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.summary__picks li[b-cx2f9fssho] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 32px;
    padding: 0 var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background: var(--color-surface);
    font: var(--text-small);
    font-weight: 600;
}

.summary__captain[b-cx2f9fssho] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 0 var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--color-lime);
    color: var(--color-on-lime);
    font: var(--text-micro);
    font-weight: 800;
}

.summary__rules[b-cx2f9fssho] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
}

.summary__rules-title[b-cx2f9fssho] {
    margin: 0;
    font: var(--text-body);
    font-weight: 700;
}

.summary__rule[b-cx2f9fssho] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    font: var(--text-small);
}

.summary__actions[b-cx2f9fssho] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* /Components/Participant/ParticipantShell.razor.rz.scp.css */
/* Mobile first: app bar on top, four fixed tabs at the bottom (mockup 06, section 3). */
.pshell[b-vf68fmxdu7] {
    min-height: 100dvh;
    padding-bottom: calc(var(--ds-tabbar-height) + env(safe-area-inset-bottom));
}

.pshell__bar[b-vf68fmxdu7] {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: var(--ds-appbar-height);
    padding: max(var(--space-2), env(safe-area-inset-top)) max(var(--space-3), env(safe-area-inset-right)) var(--space-2) max(var(--space-5), env(safe-area-inset-left));
    background: var(--color-bg);
}

.pshell__titles[b-vf68fmxdu7] {
    flex: 1;
    min-width: 0;
}

.pshell__game[b-vf68fmxdu7] {
    display: block;
    overflow: hidden;
    color: var(--color-ink-2);
    font: var(--text-micro);
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pshell__title-row[b-vf68fmxdu7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
}

.pshell__title[b-vf68fmxdu7] {
    margin: 0;
    font: var(--text-h2);
    font-weight: 800;
    letter-spacing: var(--tracking-h2);
}

.pshell__title:focus[b-vf68fmxdu7] {
    outline: none;
}

.pshell__avatar[b-vf68fmxdu7] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-width: var(--target-min);
    min-height: var(--target-min);
    padding: 0;
    border: 0;
    border-radius: var(--radius-m);
    background: transparent;
    color: var(--color-ink);
    cursor: pointer;
}

.pshell__nickname[b-vf68fmxdu7] {
    display: none;
}

.pshell__tabs[b-vf68fmxdu7] {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    height: calc(var(--ds-tabbar-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--color-line);
    background: var(--color-surface);
}

.pshell__tab[b-vf68fmxdu7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: var(--target-min);
    color: var(--color-ink-2);
    font: var(--text-micro);
    font-weight: 600;
    text-decoration: none;
}

.pshell__tab:hover[b-vf68fmxdu7] {
    color: var(--color-ink);
}

.pshell__tab[aria-current="page"][b-vf68fmxdu7] {
    color: var(--color-link);
    font-weight: 700;
}

.pshell__tab-icon[b-vf68fmxdu7] {
    position: relative;
    font-size: 1.375rem;
    line-height: 1;
}

.pshell__dot[b-vf68fmxdu7] {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--color-surface);
    border-radius: 50%;
    background: var(--color-lime);
}

.pshell__content[b-vf68fmxdu7] {
    width: 100%;
    max-width: var(--ds-content-max);
    margin-inline: auto;
    padding: var(--space-2) max(var(--space-5), env(safe-area-inset-right)) var(--space-6) max(var(--space-5), env(safe-area-inset-left));
}

.pshell__menu-head[b-vf68fmxdu7] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0 var(--space-2) var(--space-4);
}

.pshell__menu-name[b-vf68fmxdu7] {
    font: var(--text-body-l);
    font-weight: 800;
}

.pshell__menu-sub[b-vf68fmxdu7] {
    font: var(--text-small);
}

.pshell__loading[b-vf68fmxdu7],
.pshell__message[b-vf68fmxdu7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: var(--ds-content-max);
    margin-inline: auto;
    padding: var(--space-16) var(--space-5) var(--space-6);
}

.pshell__message[b-vf68fmxdu7] {
    gap: var(--space-4);
}

.pshell__skeleton-row[b-vf68fmxdu7] {
    height: var(--ds-control-l);
}

/* Desktop: tabs move into the top bar, the menu opens as a dropdown. */
@media (min-width: 1024px) {
    .pshell[b-vf68fmxdu7] {
        padding-bottom: 0;
    }

    .pshell__bar[b-vf68fmxdu7] {
        min-height: 72px;
        padding-inline: var(--space-10);
        border-bottom: 1px solid var(--color-line);
        background: var(--color-surface);
    }

    .pshell__titles[b-vf68fmxdu7] {
        flex: 0 1 auto;
    }

    .pshell__game[b-vf68fmxdu7] {
        font: var(--text-small);
        font-weight: 700;
    }

    .pshell__title[b-vf68fmxdu7] {
        font: var(--text-h3);
        font-weight: 800;
    }

    .pshell__tabs[b-vf68fmxdu7] {
        position: static;
        display: flex;
        gap: var(--space-6);
        height: auto;
        margin-inline: var(--space-6) auto;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .pshell__tab[b-vf68fmxdu7] {
        flex-direction: row;
        gap: var(--space-2);
        min-height: 72px;
        border-bottom: 3px solid transparent;
        font: var(--text-body);
        font-weight: 600;
    }

    .pshell__tab[aria-current="page"][b-vf68fmxdu7] {
        border-bottom-color: var(--color-primary);
        font-weight: 700;
    }

    .pshell__tab-icon[b-vf68fmxdu7] {
        font-size: 1.125rem;
    }

    .pshell__avatar[b-vf68fmxdu7] {
        padding: 0 var(--space-1) 0 var(--space-3);
        border: 1.5px solid var(--color-line-strong);
    }

    .pshell__nickname[b-vf68fmxdu7] {
        display: inline;
        font: var(--text-small);
        font-weight: 700;
    }

    .pshell__content[b-vf68fmxdu7] {
        padding-top: var(--space-8);
    }

    .pshell__menu[b-vf68fmxdu7] {
        inset: 68px var(--space-10) auto auto;
        width: 300px;
        padding: var(--space-2);
        border: 1px solid var(--color-line);
        border-radius: var(--radius-l);
        animation: none;
    }

    .pshell__menu .ds-sheet__grabber[b-vf68fmxdu7] {
        display: none;
    }
}
/* /Components/Participant/PointNotice.razor.rz.scp.css */
.notice[b-2hprnxvgme] {
    align-items: center;
    text-align: center;
}

.notice__art[b-2hprnxvgme] {
    position: relative;
    width: 180px;
    height: 200px;
}

.notice__backdrop[b-2hprnxvgme] {
    position: absolute;
    top: 20px;
    left: 10px;
    width: 150px;
    height: 180px;
    border-radius: var(--radius-l);
    background: var(--color-lime);
    transform: rotate(-6deg);
}

.notice__card[b-2hprnxvgme] {
    position: absolute;
    top: 0;
    left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 150px;
    height: 186px;
    padding: var(--space-4);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-l);
    background: var(--color-surface);
    box-shadow: var(--shadow-lift);
    text-align: start;
    transform: rotate(4deg);
}

.notice__card-name[b-2hprnxvgme] {
    font: var(--text-body);
    font-weight: 700;
    line-height: 1.25;
}

.notice__points[b-2hprnxvgme] {
    position: absolute;
    top: -10px;
    right: -18px;
    display: flex;
    align-items: center;
    height: var(--ds-control-m);
    padding: 0 var(--space-4);
    border: 2px solid var(--color-on-lime);
    border-radius: var(--radius-m);
    background: var(--color-lime);
    color: var(--color-on-lime);
    font: var(--text-h2);
    font-weight: 800;
    transform: rotate(8deg);
}

.notice__title:focus[b-2hprnxvgme] {
    outline: none;
}

.notice__body[b-2hprnxvgme] {
    margin: 0;
    font: var(--text-body);
}

.notice-banner[b-2hprnxvgme] {
    position: fixed;
    top: max(var(--space-3), env(safe-area-inset-top));
    inset-inline: var(--space-4);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    max-width: 480px;
    margin-inline: auto;
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-l);
    background: var(--color-surface);
    color: var(--color-ink);
    box-shadow: var(--shadow-overlay);
    animation: notice-drop-b-2hprnxvgme var(--dur-slow) var(--ease-standard);
}

.notice-banner__text[b-2hprnxvgme] {
    flex: 1;
    min-width: 0;
}

.notice-banner__title[b-2hprnxvgme] {
    font: var(--text-body);
    font-weight: 700;
}

.notice-banner__sub[b-2hprnxvgme] {
    font: var(--text-small);
}

.notice-banner__close[b-2hprnxvgme] {
    border: 0;
    color: var(--color-ink-2);
}

@keyframes notice-drop-b-2hprnxvgme {
    from { transform: translateY(-120%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .notice-banner[b-2hprnxvgme] {
        animation: none;
    }
}
/* /Layout/ParticipantLayout.razor.rz.scp.css */
.participant-surface[b-1fsg9ux81t] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    color: var(--color-ink);
}

/* Each participant page owns its spacing: the shell has full-width bars. */
.participant-main[b-1fsg9ux81t] {
    flex: 1;
    width: 100%;
}
/* /Layout/RefereeLayout.razor.rz.scp.css */
.referee-surface[b-ax7u74qm1o] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg);
    color: var(--color-ink);
}

.referee-main[b-ax7u74qm1o] {
    flex: 1;
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    padding-block: max(var(--space-4), env(safe-area-inset-top)) max(var(--space-4), env(safe-area-inset-bottom));
    padding-inline: max(var(--space-4), env(safe-area-inset-left)) max(var(--space-4), env(safe-area-inset-right));
}
/* /Layout/StageLayout.razor.rz.scp.css */
/* Letterbox: the stage keeps 16:9 and the rest of the screen stays the stage color. */
.stage-surface[b-lsao7ycbn1] {
    display: grid;
    place-items: center;
    height: 100dvh;
    overflow: hidden;
    background: var(--stage-bg);
    color: var(--stage-on-bg);
}
/* /Pages/BigScreen/BigScreen.razor.rz.scp.css */
/* Big screen, theme "stage". Designed at 1920x1080 and scaled with --u (one design pixel), so every
   16:9 display (720p, 1080p, 4K) shows the same layout; other ratios are letterboxed.
   Text is never below 32 design pixels. Colors come from the stage tokens. */
.stage[b-au3rbchu1a] {
    --u: min(calc(100vw / 1920), calc(100dvh / 1080));
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(520 * var(--u));
    grid-template-rows: calc(120 * var(--u)) minmax(0, 1fr) calc(120 * var(--u));
    width: calc(1920 * var(--u));
    height: calc(1080 * var(--u));
    overflow: hidden;
    background: var(--stage-bg);
    color: var(--stage-on-bg);
    font-family: var(--font-family);
    font-size: calc(32 * var(--u));
    outline: none;
}

.stage--idle[b-au3rbchu1a] {
    cursor: none;
}

.stage__message[b-au3rbchu1a] {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    display: grid;
    place-items: center;
    margin: 0;
    color: var(--stage-on-bg-2);
    font-size: calc(48 * var(--u));
    font-weight: 700;
}

/* Header */
.stage__bar[b-au3rbchu1a] {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    gap: calc(24 * var(--u));
    padding: 0 calc(72 * var(--u));
}

.stage__brand[b-au3rbchu1a] {
    display: flex;
    align-items: center;
    gap: calc(20 * var(--u));
    font-size: calc(44 * var(--u));
}

.stage__brand img[b-au3rbchu1a] {
    width: calc(60 * var(--u));
    height: calc(60 * var(--u));
    object-fit: contain;
}

.stage__game[b-au3rbchu1a] {
    margin-left: calc(16 * var(--u));
    overflow: hidden;
    color: var(--stage-on-bg-2);
    font-size: calc(36 * var(--u));
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pill[b-au3rbchu1a] {
    display: inline-flex;
    align-items: center;
    gap: calc(12 * var(--u));
    height: calc(60 * var(--u));
    padding: 0 calc(24 * var(--u));
    border-radius: 999px;
    font-size: calc(32 * var(--u));
    font-weight: 800;
    white-space: nowrap;
}

.pill--white[b-au3rbchu1a] {
    background: var(--stage-surface);
    color: var(--stage-ink);
}

.pill--lime[b-au3rbchu1a] {
    background: var(--stage-lime);
    color: var(--stage-ink);
}

.stage__live[b-au3rbchu1a] {
    margin-left: auto;
}

.stage__dot[b-au3rbchu1a] {
    width: calc(18 * var(--u));
    height: calc(18 * var(--u));
    border-radius: 50%;
}

.stage__dot--live[b-au3rbchu1a] { background: var(--color-success); }
.stage__dot--idle[b-au3rbchu1a] { background: var(--stage-ink-2); }

/* Leaderboard: rows are positioned by rank so they slide when ranks change.
   Eight rows of 88 with a 100 pitch fit the 808 available between header and ticker. */
.board[b-au3rbchu1a] {
    position: relative;
    padding: calc(8 * var(--u)) calc(48 * var(--u)) calc(24 * var(--u)) calc(72 * var(--u));
}

.board__rows[b-au3rbchu1a] {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.board__empty[b-au3rbchu1a] {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    margin: 0;
    color: var(--stage-on-bg-2);
    font-size: calc(48 * var(--u));
    font-weight: 700;
}

.board__moment[b-au3rbchu1a] {
    position: absolute;
    top: calc(-4 * var(--u));
    left: calc(72 * var(--u));
    z-index: 20;
    display: flex;
    align-items: center;
    gap: calc(12 * var(--u));
    height: calc(72 * var(--u));
    padding: 0 calc(24 * var(--u));
    border-radius: calc(16 * var(--u));
    background: var(--stage-lime);
    color: var(--stage-ink);
    font-size: calc(40 * var(--u));
    font-weight: 800;
    box-shadow: calc(8 * var(--u)) calc(8 * var(--u)) 0 0 var(--color-brand-shadow);
}

.row[b-au3rbchu1a] {
    position: absolute;
    inset-inline: 0;
    display: grid;
    grid-template-columns: calc(96 * var(--u)) calc(120 * var(--u)) calc(72 * var(--u)) minmax(0, 1fr) calc(160 * var(--u));
    gap: calc(24 * var(--u));
    align-items: center;
    height: calc(88 * var(--u));
    padding: 0 calc(32 * var(--u));
    border-radius: calc(20 * var(--u));
    background: var(--stage-surface);
    color: var(--stage-ink);
    transition: top 900ms cubic-bezier(.2, 0, 0, 1), transform 450ms cubic-bezier(.34, 1.4, .64, 1), box-shadow 300ms;
}

.row--0[b-au3rbchu1a] { top: 0; }
.row--1[b-au3rbchu1a] { top: calc(100 * var(--u)); }
.row--2[b-au3rbchu1a] { top: calc(200 * var(--u)); }
.row--3[b-au3rbchu1a] { top: calc(300 * var(--u)); }
.row--4[b-au3rbchu1a] { top: calc(400 * var(--u)); }
.row--5[b-au3rbchu1a] { top: calc(500 * var(--u)); }
.row--6[b-au3rbchu1a] { top: calc(600 * var(--u)); }
.row--7[b-au3rbchu1a] { top: calc(700 * var(--u)); }

/* The climber lifts: scale 1.04, lime outline, diagonal shadow. */
.row--lift[b-au3rbchu1a] {
    z-index: 5;
    transform: scale(1.04);
    outline: calc(4 * var(--u)) solid var(--stage-lime);
    box-shadow: calc(12 * var(--u)) calc(12 * var(--u)) 0 0 var(--color-brand-shadow);
}

.row__rank[b-au3rbchu1a] {
    font-size: calc(56 * var(--u));
    font-weight: 800;
    letter-spacing: -0.03em;
}

.row__change[b-au3rbchu1a] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(4 * var(--u));
    height: calc(52 * var(--u));
    border-radius: calc(12 * var(--u));
    font-size: calc(32 * var(--u));
    font-weight: 800;
}

.row__change--up[b-au3rbchu1a] {
    background: var(--stage-lime);
    color: var(--stage-ink);
}

.row__change--down[b-au3rbchu1a] {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.row__avatar[b-au3rbchu1a] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(72 * var(--u));
    height: calc(72 * var(--u));
    border-radius: calc(14 * var(--u));
    font-size: calc(28 * var(--u));
    font-weight: 800;
}

.avatar-1[b-au3rbchu1a] { background: var(--color-avatar-1); color: var(--color-on-avatar-1); }
.avatar-2[b-au3rbchu1a] { background: var(--color-avatar-2); color: var(--color-on-avatar-2); }
.avatar-3[b-au3rbchu1a] { background: var(--color-avatar-3); color: var(--color-on-avatar-3); }
.avatar-4[b-au3rbchu1a] { background: var(--color-avatar-4); color: var(--color-on-avatar-4); }
.avatar-5[b-au3rbchu1a] { background: var(--color-avatar-5); color: var(--color-on-avatar-5); }

.row__name[b-au3rbchu1a] {
    overflow: hidden;
    font-size: calc(48 * var(--u));
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.row__score[b-au3rbchu1a] {
    font-size: calc(64 * var(--u));
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: right;
}

/* Right column: join card and head count */
.side[b-au3rbchu1a] {
    display: flex;
    flex-direction: column;
    gap: calc(24 * var(--u));
    padding: calc(8 * var(--u)) calc(72 * var(--u)) calc(24 * var(--u)) 0;
}

.side__join[b-au3rbchu1a] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(16 * var(--u));
    padding: calc(32 * var(--u));
    border-radius: calc(24 * var(--u));
    background: var(--stage-surface);
    color: var(--stage-ink);
}

.side__title[b-au3rbchu1a] {
    font-size: calc(36 * var(--u));
    font-weight: 800;
}

.side__join[b-au3rbchu1a]  .qr-container,
.join__card[b-au3rbchu1a]  .qr-container {
    display: block;
    line-height: 0;
}

.side__join[b-au3rbchu1a]  svg {
    width: calc(300 * var(--u));
    height: calc(300 * var(--u));
}

.side__host[b-au3rbchu1a] {
    font-size: calc(32 * var(--u));
    font-weight: 600;
}

.side__code[b-au3rbchu1a] {
    font-size: calc(56 * var(--u));
    font-weight: 800;
    letter-spacing: 0.1em;
}

.side__count[b-au3rbchu1a] {
    display: flex;
    flex-direction: column;
    gap: calc(6 * var(--u));
    padding: calc(24 * var(--u)) calc(28 * var(--u));
    border: calc(3 * var(--u)) solid var(--stage-surface);
    border-radius: calc(24 * var(--u));
}

.side__count-label[b-au3rbchu1a] {
    color: var(--stage-on-bg-2);
    font-size: calc(32 * var(--u));
    font-weight: 600;
}

.side__count-value[b-au3rbchu1a] {
    font-size: calc(72 * var(--u));
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* Ticker */
.ticker[b-au3rbchu1a] {
    grid-column: 1 / 3;
    display: flex;
    align-items: center;
    gap: calc(56 * var(--u));
    padding: 0 calc(72 * var(--u));
    overflow: hidden;
    background: var(--color-brand-night);
    white-space: nowrap;
}

.ticker__tag[b-au3rbchu1a] {
    display: flex;
    flex: none;
    align-items: center;
    height: calc(64 * var(--u));
    padding: 0 calc(20 * var(--u));
    border-radius: calc(14 * var(--u));
    background: var(--stage-cyan);
    color: var(--stage-ink);
    font-size: calc(32 * var(--u));
    font-weight: 800;
}

.ticker__item[b-au3rbchu1a] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    min-width: 0;
    gap: calc(16 * var(--u));
    color: var(--stage-on-bg);
    font-size: calc(36 * var(--u));
    font-weight: 700;
}

.ticker__who[b-au3rbchu1a] {
    flex: none;
}

.ticker__rule[b-au3rbchu1a] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker__points[b-au3rbchu1a] {
    display: flex;
    flex: none;
    align-items: center;
    height: calc(56 * var(--u));
    padding: 0 calc(14 * var(--u));
    border-radius: calc(12 * var(--u));
    background: var(--stage-lime);
    color: var(--stage-ink);
    font-weight: 800;
}

.ticker__item--penalty .ticker__points[b-au3rbchu1a] {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.ticker__rule[b-au3rbchu1a] {
    color: var(--stage-on-bg-2);
    font-weight: 500;
}

.ticker__tag[b-au3rbchu1a] {
    flex: none;
}

/* "Join now" screen */
.join[b-au3rbchu1a] {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(760 * var(--u));
    gap: calc(80 * var(--u));
    align-items: center;
    padding: calc(96 * var(--u)) calc(120 * var(--u));
}

.join__text[b-au3rbchu1a] {
    display: flex;
    flex-direction: column;
    gap: calc(40 * var(--u));
}

.join__headline[b-au3rbchu1a] {
    margin: 0;
    font-size: calc(150 * var(--u));
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: .92;
}

.join__body[b-au3rbchu1a] {
    max-width: calc(900 * var(--u));
    margin: 0;
    font-size: calc(44 * var(--u));
    font-weight: 600;
    line-height: 1.3;
}

.join__pills[b-au3rbchu1a] {
    display: flex;
    gap: calc(20 * var(--u));
}

.join__pills .pill[b-au3rbchu1a] {
    height: calc(80 * var(--u));
    padding: 0 calc(28 * var(--u));
    border-radius: calc(18 * var(--u));
    font-size: calc(36 * var(--u));
}

.join__qr[b-au3rbchu1a] {
    position: relative;
    height: calc(860 * var(--u));
}

.join__card[b-au3rbchu1a] {
    position: absolute;
    border-radius: calc(40 * var(--u));
}

.join__card--cyan[b-au3rbchu1a] {
    left: calc(40 * var(--u));
    top: calc(120 * var(--u));
    width: calc(560 * var(--u));
    height: calc(700 * var(--u));
    background: var(--stage-cyan);
    transform: rotate(-10deg);
}

.join__card--blue[b-au3rbchu1a] {
    left: calc(150 * var(--u));
    top: calc(110 * var(--u));
    width: calc(560 * var(--u));
    height: calc(700 * var(--u));
    background: var(--color-brand-secondary);
    transform: rotate(6deg);
}

.join__card--main[b-au3rbchu1a] {
    left: calc(100 * var(--u));
    top: calc(60 * var(--u));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(24 * var(--u));
    width: calc(580 * var(--u));
    height: calc(740 * var(--u));
    background: var(--stage-surface);
    color: var(--stage-ink);
    box-shadow: calc(24 * var(--u)) calc(24 * var(--u)) 0 0 var(--color-brand-shadow);
}

.join__card--main[b-au3rbchu1a]  svg {
    width: calc(440 * var(--u));
    height: calc(440 * var(--u));
}

.join__host[b-au3rbchu1a] {
    font-size: calc(40 * var(--u));
    font-weight: 600;
}

.join__code[b-au3rbchu1a] {
    font-size: calc(80 * var(--u));
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1;
}

/* Controls: only while the mouse moves or a key is pressed */
.controls[b-au3rbchu1a] {
    position: absolute;
    left: 50%;
    bottom: calc(144 * var(--u));
    z-index: 30;
    display: flex;
    align-items: center;
    gap: calc(12 * var(--u));
    padding: calc(12 * var(--u));
    border-radius: calc(20 * var(--u));
    background: var(--color-brand-night);
    white-space: nowrap;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-standard);
}

.controls--visible[b-au3rbchu1a] {
    opacity: 1;
    pointer-events: auto;
}

.controls__btn[b-au3rbchu1a] {
    min-height: calc(64 * var(--u));
    padding: 0 calc(24 * var(--u));
    border: 0;
    border-radius: calc(14 * var(--u));
    background: transparent;
    color: var(--stage-on-bg);
    font: inherit;
    font-size: calc(32 * var(--u));
    font-weight: 700;
    cursor: pointer;
}

.controls__btn--on[b-au3rbchu1a] {
    background: var(--stage-lime);
    color: var(--stage-ink);
}

.controls__hint[b-au3rbchu1a] {
    white-space: nowrap;
    padding: 0 calc(16 * var(--u));
    color: var(--stage-on-bg-2);
    font-size: calc(32 * var(--u));
}

@media (prefers-reduced-motion: reduce) {
    .row[b-au3rbchu1a] {
        transition: none;
    }

    .row--lift[b-au3rbchu1a] {
        transform: none;
    }
}
/* /Pages/Participant/ActivityFeed.razor.rz.scp.css */
.feed[b-v55ehtqoli] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feed__list[b-v55ehtqoli] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.feed__item[b-v55ehtqoli] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    background: var(--color-surface);
}

.feed__item--voided[b-v55ehtqoli] {
    border-style: dashed;
    border-color: var(--color-line-strong);
    opacity: .7;
}

.feed__text[b-v55ehtqoli] {
    flex: 1;
    min-width: 0;
}

.feed__who[b-v55ehtqoli] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font: var(--text-small);
    font-weight: 700;
}

.feed__mine[b-v55ehtqoli] {
    color: var(--color-link);
}

.feed__rule[b-v55ehtqoli] {
    color: var(--color-ink-2);
    font: var(--text-small);
}

.feed__time[b-v55ehtqoli] {
    flex: none;
    color: var(--color-ink-2);
    font: var(--text-micro);
}

.feed__empty[b-v55ehtqoli] {
    margin: var(--space-6) 0;
    text-align: center;
}
/* /Pages/Participant/EnterJoinCode.razor.rz.scp.css */
.code[b-53baqletu6] {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    width: 100%;
    max-width: 440px;
    min-height: 100dvh;
    margin-inline: auto;
    padding: max(var(--space-6), env(safe-area-inset-top)) var(--space-6) max(var(--space-6), env(safe-area-inset-bottom));
}

.code__logo[b-53baqletu6] {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.code__intro[b-53baqletu6] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.code__intro p[b-53baqletu6] {
    margin: 0;
    font: var(--text-body);
}

.code__icon[b-53baqletu6] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ds-avatar-l);
    height: var(--ds-avatar-l);
    margin-bottom: var(--space-2);
    border-radius: var(--radius-m);
    background: var(--color-primary-tint);
    color: var(--color-link);
    font-size: 1.75rem;
}

.code__form[b-53baqletu6] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.code__input[b-53baqletu6] {
    min-height: var(--ds-control-l);
    font: var(--text-h2);
    font-weight: 800;
    letter-spacing: .3em;
    text-align: center;
    text-transform: uppercase;
}

.code__error[b-53baqletu6] {
    margin-top: var(--space-2);
}
/* /Pages/Participant/JoinGame.razor.rz.scp.css */
.join[b-xj9v0ptu7r] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    width: 100%;
    max-width: 440px;
    min-height: 100dvh;
    margin-inline: auto;
    padding: max(var(--space-6), env(safe-area-inset-top)) var(--space-6) max(var(--space-6), env(safe-area-inset-bottom));
}

.join__logo[b-xj9v0ptu7r] {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Three fanned cards with the first elements in play (decorative). */
.join__fan[b-xj9v0ptu7r] {
    position: relative;
    height: 160px;
}

.join__fan-card[b-xj9v0ptu7r] {
    position: absolute;
    top: 16px;
    left: 50%;
    display: flex;
    align-items: flex-end;
    width: 96px;
    height: 128px;
    padding: var(--space-3);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    background: var(--color-surface);
}

.join__fan-card:nth-child(1)[b-xj9v0ptu7r] {
    margin-left: -124px;
    transform: rotate(-12deg);
}

.join__fan-card:nth-child(2)[b-xj9v0ptu7r] {
    top: 0;
    z-index: 1;
    width: 104px;
    height: 140px;
    margin-left: -52px;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lift);
}

.join__fan-card:nth-child(3)[b-xj9v0ptu7r] {
    margin-left: 28px;
    transform: rotate(12deg);
}

.join__intro[b-xj9v0ptu7r] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.join__game[b-xj9v0ptu7r] {
    margin: 0;
    font: var(--text-h1);
    font-weight: 800;
    letter-spacing: var(--tracking-h1);
    text-wrap: balance;
}

.join__desc[b-xj9v0ptu7r] {
    margin: 0;
    font: var(--text-body);
}

.join__form[b-xj9v0ptu7r] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: auto;
}

.join__legal[b-xj9v0ptu7r] {
    margin: 0;
    color: var(--color-ink-2);
    font: var(--text-micro);
    text-align: center;
}

.join__skeleton[b-xj9v0ptu7r] {
    height: 320px;
    border-radius: var(--radius-l);
    background: var(--color-surface-2);
}
/* /Pages/Participant/Leaderboard.razor.rz.scp.css */
/* Pinned card with my position (mockup 02, screen 04). */
.me-card[b-21ch5bqoue] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding: var(--space-4);
    border-radius: var(--radius-l);
    background: var(--color-primary);
    color: var(--color-on-primary);
}

.me-card--final[b-21ch5bqoue] {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: 0;
}

.me-card__head[b-21ch5bqoue] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.me-card__rank[b-21ch5bqoue] {
    font: var(--text-h1);
    font-weight: 800;
    letter-spacing: var(--tracking-h1);
    line-height: 1;
}

.me-card__who[b-21ch5bqoue] {
    flex: 1;
    min-width: 0;
}

.me-card__name[b-21ch5bqoue] {
    overflow: hidden;
    font: var(--text-body);
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.me-card__line[b-21ch5bqoue] {
    margin: 0;
    font: var(--text-small);
}

.me-card__score[b-21ch5bqoue] {
    font: var(--text-h2);
    font-weight: 800;
}

.me-card__picks[b-21ch5bqoue] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.me-card__pick[b-21ch5bqoue] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-s);
    background: color-mix(in srgb, currentColor 14%, transparent);
}

.me-card__pick-name[b-21ch5bqoue] {
    overflow: hidden;
    font: var(--text-micro);
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.me-card__pick-score[b-21ch5bqoue] {
    font: var(--text-body-l);
    font-weight: 800;
}

.board__heading[b-21ch5bqoue] {
    margin: 0 0 var(--space-3);
    font: var(--text-body);
    font-weight: 700;
}

.board[b-21ch5bqoue] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.board__empty[b-21ch5bqoue] {
    margin: 0 0 var(--space-4);
}

.board__skeleton[b-21ch5bqoue] {
    height: 50dvh;
    border-radius: var(--radius-l);
    background: var(--color-surface-2);
}

/* Final results (mockup 02, screen 07). */
.final[b-21ch5bqoue] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.final__title[b-21ch5bqoue] {
    margin: 0;
    font: var(--text-h2);
    font-weight: 800;
    letter-spacing: var(--tracking-h2);
}

.podium[b-21ch5bqoue] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: var(--space-2);
    min-height: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.podium__step[b-21ch5bqoue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    min-width: 0;
}

.podium__name[b-21ch5bqoue] {
    max-width: 100%;
    overflow: hidden;
    font: var(--text-small);
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.podium__block[b-21ch5bqoue] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--color-line);
    border-bottom: 0;
    border-radius: var(--radius-m) var(--radius-m) 0 0;
    background: var(--color-surface);
    font-weight: 800;
}

.podium__step--1 .podium__block[b-21ch5bqoue] {
    height: 124px;
    border-color: var(--color-lime);
    background: var(--color-lime);
    color: var(--color-on-lime);
}

.podium__step--2 .podium__block[b-21ch5bqoue] {
    height: 90px;
}

.podium__step--3 .podium__block[b-21ch5bqoue] {
    height: 70px;
}

.podium__rank[b-21ch5bqoue] {
    font: var(--text-h3);
    font-weight: 800;
}

.podium__score[b-21ch5bqoue] {
    font: var(--text-micro);
    font-weight: 700;
}

.podium__step--2 .podium__score[b-21ch5bqoue],
.podium__step--3 .podium__score[b-21ch5bqoue] {
    color: var(--color-ink-2);
}
/* /Pages/Participant/LineupBuilder.razor.rz.scp.css */
.lineup[b-c8rys2tg00] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.lineup__filters[b-c8rys2tg00] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.lineup__list[b-c8rys2tg00] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lineup__empty[b-c8rys2tg00] {
    margin: var(--space-6) 0;
    text-align: center;
}

/* Stays above the tab bar while the list scrolls (mockup 02, screen 02). */
.lineup__savebar[b-c8rys2tg00] {
    position: sticky;
    bottom: calc(var(--ds-tabbar-height) + env(safe-area-inset-bottom));
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: var(--space-2) calc(var(--space-5) * -1) calc(var(--space-6) * -1);
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--color-line);
    background: var(--color-surface);
}

.lineup__hint[b-c8rys2tg00] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    color: var(--color-ink-2);
    font: var(--text-small);
    font-weight: 600;
}

.lineup__hint i[b-c8rys2tg00] {
    color: var(--color-link);
}

.lineup__skeleton[b-c8rys2tg00] {
    height: 50dvh;
    border-radius: var(--radius-l);
    background: var(--color-surface-2);
}

@media (min-width: 1024px) {
    .lineup__savebar[b-c8rys2tg00] {
        bottom: 0;
        margin-inline: 0;
        border: 1px solid var(--color-line);
        border-radius: var(--radius-l) var(--radius-l) 0 0;
    }
}
/* /Pages/Participant/Rules.razor.rz.scp.css */
.rules[b-fuu9x1ekl0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.rules__intro[b-fuu9x1ekl0] {
    margin: 0;
    font: var(--text-body);
}

.rules__captain[b-fuu9x1ekl0] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    font: var(--text-small);
    font-weight: 600;
}

.rules__captain-badge[b-fuu9x1ekl0] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    flex: none;
    min-height: 30px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--color-lime);
    color: var(--color-on-lime);
    font-weight: 800;
}

.rules__heading[b-fuu9x1ekl0] {
    margin: 0 0 var(--space-3);
    font: var(--text-body);
    font-weight: 700;
}

.rules__list[b-fuu9x1ekl0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
}

.rules__item[b-fuu9x1ekl0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    min-height: var(--ds-control-m);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-m);
    background: var(--color-surface);
    font: var(--text-small);
    font-weight: 600;
}
/* /Pages/Referee/Console.razor.rz.scp.css */
/* Referee console (mockup 03, screens 08 and 09): one task, huge targets, one hand, dark by default. */
.ref-bar[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: var(--target-referee);
}

.ref-titles[b-w3mfd2ycm8] {
    flex: 1;
    min-width: 0;
}

.ref-sub[b-w3mfd2ycm8] {
    overflow: hidden;
    color: var(--color-ink-2);
    font: var(--text-small);
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ref-title[b-w3mfd2ycm8] {
    margin: 0;
    font: var(--text-h2);
    font-weight: 800;
    letter-spacing: var(--tracking-h2);
}

.ref-title:focus[b-w3mfd2ycm8] {
    outline: none;
}

.ref-back[b-w3mfd2ycm8],
.ref-menu-btn[b-w3mfd2ycm8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--target-referee);
    height: var(--target-referee);
    border: 1.5px solid var(--color-line-strong);
    border-radius: var(--radius-l);
    background: transparent;
    color: var(--color-ink);
    font-size: 1.625rem;
    cursor: pointer;
}

.ref-dot--idle[b-w3mfd2ycm8] {
    background: var(--color-warning);
}

.ref-steps[b-w3mfd2ycm8] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin: var(--space-3) 0;
}

.ref-step[b-w3mfd2ycm8] {
    height: 6px;
    border-radius: 3px;
    background: var(--color-line);
}

.ref-step--on[b-w3mfd2ycm8] {
    background: var(--color-primary);
}

.ref-notice[b-w3mfd2ycm8] {
    margin: 0 0 var(--space-3);
}

.ref-offline[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0 0 var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-m);
    background: var(--color-warning-bg);
    color: var(--color-warning);
    font: var(--text-small);
    font-weight: 700;
}

.ref-body[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    /* Room for the undo toast so it never hides the last row. */
    padding-bottom: calc(var(--target-referee) + var(--space-8));
}

/* Step 1: two columns of big tiles. */
.ref-grid[b-w3mfd2ycm8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ref-tile[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3);
    width: 100%;
    min-height: 132px;
    padding: var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-l);
    background: var(--color-surface);
    color: var(--color-ink);
    text-align: start;
    cursor: pointer;
}

.ref-tile:disabled[b-w3mfd2ycm8] {
    opacity: .5;
    cursor: not-allowed;
}

.ref-tile__name[b-w3mfd2ycm8] {
    font: var(--text-body);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* Step 2: the element and its rules. */
.ref-chip[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-m);
    background: var(--color-surface-2);
}

.ref-chip__name[b-w3mfd2ycm8] {
    font: var(--text-body);
    font-weight: 700;
}

.ref-rules[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ref-rule[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
    min-height: var(--target-referee);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-l);
    background: var(--color-surface);
    color: var(--color-ink);
    text-align: start;
    cursor: pointer;
}

.ref-rule--static[b-w3mfd2ycm8] {
    cursor: default;
}

.ref-rule__label[b-w3mfd2ycm8] {
    flex: 1;
    font: var(--text-body);
    font-weight: 700;
    line-height: 1.3;
}

.ref-pts[b-w3mfd2ycm8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 60px;
    height: var(--target-min);
    padding: 0 var(--space-3);
    border-radius: var(--radius-m);
    background: var(--color-lime);
    color: var(--color-on-lime);
    font: var(--text-h3);
    font-weight: 800;
}

.ref-pts--penalty[b-w3mfd2ycm8] {
    background: var(--color-danger-bg);
    color: var(--color-danger);
}

.ref-pts--small[b-w3mfd2ycm8] {
    min-width: 52px;
    height: 36px;
    font: var(--text-body-l);
    font-weight: 800;
}

.ref-pts--voided[b-w3mfd2ycm8] {
    border: 1px dashed var(--color-line-strong);
    background: transparent;
    color: var(--color-ink-2);
    text-decoration: line-through;
}

.ref-pts--big[b-w3mfd2ycm8] {
    min-width: 110px;
    height: var(--target-referee);
    padding: 0 var(--space-5);
    border-radius: var(--radius-l);
    font: var(--text-display);
    font-size: 2.5rem;
    letter-spacing: 0;
}

/* Step 3: confirm. */
.ref-confirm__card[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-6);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    background: var(--color-surface);
    text-align: center;
}

.ref-confirm__who[b-w3mfd2ycm8] {
    font: var(--text-h2);
    font-weight: 800;
}

.ref-confirm__btn[b-w3mfd2ycm8] {
    min-height: 72px;
    border: 0;
    border-radius: var(--radius-l);
    background: var(--color-primary);
    color: var(--color-on-primary);
    font: var(--text-h3);
    font-weight: 800;
    cursor: pointer;
}

.ref-confirm__btn[aria-busy="true"][b-w3mfd2ycm8]::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-inline-end: var(--space-2);
    border: 3px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -0.125em;
    animation: ref-spin-b-w3mfd2ycm8 0.7s linear infinite;
}

.ref-confirm__btn[aria-busy="true"]:disabled[b-w3mfd2ycm8] {
    background: var(--color-primary);
    color: var(--color-on-primary);
    opacity: 0.85;
}

.ref-confirm__btn:disabled[b-w3mfd2ycm8] {
    background: var(--color-line);
    color: var(--color-ink-2);
}

/* Undo toast: ten seconds, with a countdown bar. */
.ref-undo[b-w3mfd2ycm8] {
    position: fixed;
    inset-inline: var(--space-3);
    /* Above the offline bar of the layout, which sits at the very bottom. */
    bottom: calc(max(var(--space-6), env(safe-area-inset-bottom)) + var(--space-12));
    z-index: calc(var(--z-toast) + 1);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    max-width: 616px;
    margin-inline: auto;
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
    overflow: hidden;
    border-radius: var(--radius-l);
    background: var(--color-ink);
    color: var(--color-bg);
    box-shadow: var(--shadow-overlay);
}

.ref-undo__bar[b-w3mfd2ycm8] {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 100%;
    background: var(--color-cyan);
    transform-origin: left;
    animation: ref-countdown-b-w3mfd2ycm8 10s linear forwards;
}

.ref-undo__text[b-w3mfd2ycm8] {
    flex: 1;
    min-width: 0;
    font: var(--text-body);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.ref-undo__btn[b-w3mfd2ycm8] {
    flex: none;
    min-height: var(--target-referee);
    padding: 0 var(--space-4);
    border: 2px solid var(--color-bg);
    border-radius: var(--radius-m);
    background: transparent;
    color: inherit;
    font: var(--text-body);
    font-weight: 800;
    cursor: pointer;
}

@keyframes ref-countdown-b-w3mfd2ycm8 {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* Recent points (screen 09). */
.ref-banner[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    padding: var(--space-4);
    border-radius: var(--radius-m);
    background: var(--color-warning-bg);
    color: var(--color-warning);
    font-size: 1.5rem;
}

.ref-banner__title[b-w3mfd2ycm8] {
    font: var(--text-body);
    font-weight: 800;
}

.ref-banner__sub[b-w3mfd2ycm8] {
    font: var(--text-small);
    font-weight: 600;
}

.ref-recent[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: var(--space-3) 0 0;
    padding: 0 0 var(--space-6);
    list-style: none;
}

.ref-point[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 72px;
    padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-l);
    background: var(--color-surface);
}

.ref-point--voided[b-w3mfd2ycm8] {
    border-style: dashed;
    border-color: var(--color-line-strong);
    opacity: .7;
}

.ref-point__text[b-w3mfd2ycm8] {
    flex: 1;
    min-width: 0;
}

.ref-point__who[b-w3mfd2ycm8] {
    font: var(--text-body);
    font-weight: 700;
}

.ref-point__status[b-w3mfd2ycm8] {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-ink-2);
    font: var(--text-small);
}

.ref-point__void[b-w3mfd2ycm8] {
    flex: none;
    min-height: var(--target-referee);
    padding: 0 var(--space-4);
    border: 1.5px solid var(--color-line-strong);
    border-radius: var(--radius-m);
    background: transparent;
    color: var(--color-danger);
    font: var(--text-small);
    font-weight: 800;
    cursor: pointer;
}

.ref-empty[b-w3mfd2ycm8] {
    text-align: center;
}

/* Menu and dialogs: bigger rows than elsewhere. */
.ref-menu-item[b-w3mfd2ycm8] {
    min-height: var(--target-referee);
}

.ref-dialog-btn[b-w3mfd2ycm8] {
    min-height: var(--target-referee);
}

.ref-help[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding-inline-start: var(--space-5);
    font: var(--text-body);
}

.ref-message[b-w3mfd2ycm8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-16) var(--space-2) var(--space-6);
}

@media (prefers-reduced-motion: reduce) {
    .ref-undo__bar[b-w3mfd2ycm8] {
        animation: none;
    }
}

.ref-menu-head[b-w3mfd2ycm8] {
    padding: 0 var(--space-3) var(--space-3);
}

.ref-menu-game[b-w3mfd2ycm8] {
    font: var(--text-body-l);
    font-weight: 800;
}

.ref-menu-referee[b-w3mfd2ycm8] {
    font: var(--text-small);
}

@keyframes ref-spin-b-w3mfd2ycm8 {
    to {
        transform: rotate(360deg);
    }
}
/* /Shared/ConnectionStatus.razor.rz.scp.css */
.connection-status[b-b2iyksne8a] {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: var(--z-toast);
    padding: var(--space-3) var(--space-4);
    padding-bottom: max(var(--space-3), env(safe-area-inset-bottom));
    text-align: center;
    font: var(--text-small);
    font-weight: 700;
    color: var(--color-danger);
    background-color: var(--color-danger-bg);
    box-shadow: var(--shadow-overlay);
    animation: slideUp-b-b2iyksne8a var(--dur-slow) var(--ease-standard);
}

@keyframes slideUp-b-b2iyksne8a {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
/* /Shared/Wordmark.razor.rz.scp.css */
.wordmark[b-8klfa9zsr2] {
    font-weight: 500;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.wordmark b[b-8klfa9zsr2] {
    font-weight: 800;
}
