/* /Components/Account/StatAllocationPanel.razor.rz.scp.css */
/* StatAllocationPanel — ability-scores card + batch stat-allocation stepper.
   Extracted from CharacterSheet.razor.css so the surface renders identically whether
   hosted by the /game/character route or the tavern hub drawer. */

/* Card chrome (shared look with the other sheet cards) */
.sheet-card[b-qdr60eqfa6] {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6)) !important;
    border: 1px solid var(--color-border-base) !important;
    border-radius: 10px !important;
}

.card-icon[b-qdr60eqfa6] {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.card-title[b-qdr60eqfa6] {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: var(--gt-xl);
    color: var(--color-text-light);
}

/* ========================================
   Ability Scores (Detailed Grid)
   ======================================== */

.abilities-grid-detailed[b-qdr60eqfa6] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ability-card-detailed[b-qdr60eqfa6] {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--color-border-subtle);
    border-radius: 8px;
    padding: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.ability-card-detailed.primary[b-qdr60eqfa6] {
    border-color: var(--color-border-active);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.02));
}

.ability-card-detailed:hover[b-qdr60eqfa6] {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.ability-header[b-qdr60eqfa6] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.ability-name-group[b-qdr60eqfa6] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.ability-abbr[b-qdr60eqfa6] {
    font-size: var(--gt-base);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    font-family: var(--font-primary);
}

.ability-name[b-qdr60eqfa6] {
    font-size: var(--gt-lg);
    color: var(--color-text-light);
    font-weight: 600;
}

.ability-value-group[b-qdr60eqfa6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ability-value-group .total[b-qdr60eqfa6] {
    font-size: var(--gt-5xl);
    font-weight: 700;
    color: var(--color-primary);
    font-family: 'Cinzel', serif;
    line-height: 1;
}

.ability-value-group .modifier[b-qdr60eqfa6] {
    font-size: var(--gt-xl);
    font-weight: 600;
    font-family: monospace;
}

.ability-value-group .modifier.positive[b-qdr60eqfa6] { color: var(--color-success); }
.ability-value-group .modifier.negative[b-qdr60eqfa6] { color: var(--color-danger); }

.ability-description[b-qdr60eqfa6] {
    font-size: var(--gt-md);
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 4px;
}

.ability-breakdown[b-qdr60eqfa6] {
    display: flex;
    justify-content: space-between;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.ability-breakdown .equipment.positive[b-qdr60eqfa6] { color: var(--color-success); }
.ability-breakdown .equipment.negative[b-qdr60eqfa6] { color: var(--color-danger); }

/* Staged stat-allocation stepper (per ability card) */
.allocate-stepper[b-qdr60eqfa6] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.allocate-step[b-qdr60eqfa6] {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--color-success);
}

.allocate-step.minus[b-qdr60eqfa6] {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.05));
    border-color: rgba(148, 163, 184, 0.35);
    color: var(--color-text-secondary);
}

.allocate-step:hover:not(:disabled)[b-qdr60eqfa6] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.allocate-step.minus:hover:not(:disabled)[b-qdr60eqfa6] {
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.25);
}

.allocate-step:disabled[b-qdr60eqfa6] {
    opacity: 0.4;
    cursor: not-allowed;
}

.allocate-pending[b-qdr60eqfa6] {
    min-width: 2.25rem;
    text-align: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: calc(var(--gt-px) * 15);
    color: var(--color-text-secondary);
}

.allocate-pending.active[b-qdr60eqfa6] {
    color: var(--color-success);
}

/* Confirm / Reset action bar below the ability grid */
.allocate-actionbar[b-qdr60eqfa6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-subtle);
}

.allocate-summary[b-qdr60eqfa6] {
    color: var(--color-text-secondary);
    font-size: var(--gt-base);
    font-weight: 600;
}

.allocate-actions[b-qdr60eqfa6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Single column on mobile */
@media (max-width: 768px) {
    .abilities-grid-detailed[b-qdr60eqfa6] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Account/TextSizeSetting.razor.rz.scp.css */
/* Account Settings' Text size (readable game text, 14 Nov 2026). Tokens only; the page's own sizes are game text
   tokens, so this card grows with the choice it offers. */
.tss[b-s2b4jo37uz] {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.tss-title[b-s2b4jo37uz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 var(--space-md);
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: 600;
    color: var(--color-text-primary);
}

.tss-title[b-s2b4jo37uz]  .tss-title-icon {
    font-size: var(--gt-3xl);
    color: var(--color-primary);
}

.tss-field[b-s2b4jo37uz] {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.tss-legend[b-s2b4jo37uz] {
    padding: 0;
    margin-bottom: var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
    color: var(--color-text-primary);
}

.tss-options[b-s2b4jo37uz] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-sm);
}

.tss-option[b-s2b4jo37uz] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-xs);
    min-height: 88px;
    padding: var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    cursor: pointer;
    color: var(--color-text-primary);
}

.tss-option:hover[b-s2b4jo37uz] {
    border-color: var(--color-primary-dark);
}

.tss-option.is-selected[b-s2b4jo37uz] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg-base));
}

.tss-option:has(.tss-radio:focus-visible)[b-s2b4jo37uz] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The native radio stays in the tab order and the accessibility tree; the card is its label. */
.tss-radio[b-s2b4jo37uz] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.tss-sample[b-s2b4jo37uz] {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1;
}

.tss-option-label[b-s2b4jo37uz] {
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    text-align: center;
}

.tss-option.is-selected .tss-option-label[b-s2b4jo37uz] {
    color: var(--color-primary-light);
    font-weight: 600;
}

.tss-help[b-s2b4jo37uz] {
    margin: var(--space-md) 0 0;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

.tss-status[b-s2b4jo37uz] {
    margin: var(--space-xs) 0 0;
    min-height: 1.4em;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

@media (max-width: 480px) {
    .tss-options[b-s2b4jo37uz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (pointer: coarse) {
    .tss-option[b-s2b4jo37uz] {
        min-height: 88px;
    }
}

@media (forced-colors: active) {
    .tss-option.is-selected[b-s2b4jo37uz] {
        border: 2px solid Highlight;
    }
}
/* /Components/Admin/Inbox/PersonaInbox.razor.rz.scp.css */
/* His inbox on the admin page (Docs/LRPG_LETTERS.md 13.10). Tokens only; canonical breakpoints (1024 for the two
   columns, 768 for touch sizes, 480 for the phone's padding). */
.pi[b-qezh3gtxnp],
.pi-denied[b-qezh3gtxnp] {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--color-bg-elevated-alt);
    border: 1px solid var(--color-border-base);
    color: var(--color-text-primary);
}

.pi-head[b-qezh3gtxnp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md) var(--space-lg);
}

.pi-headtext[b-qezh3gtxnp] {
    flex: 1 1 320px;
    min-width: 0;
}

.pi-h2[b-qezh3gtxnp] {
    margin: 0;
    font: 700 var(--font-size-xl) / 1.25 var(--font-display);
    color: var(--fd-cream-2);
}

.pi-h3[b-qezh3gtxnp] {
    margin: 0;
    font: 700 var(--font-size-lg) / 1.25 var(--font-display);
    color: var(--color-primary);
}

.pi-note[b-qezh3gtxnp],
.pi-help[b-qezh3gtxnp],
.pi-meta[b-qezh3gtxnp],
.pi-count[b-qezh3gtxnp] {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.pi-meta[b-qezh3gtxnp] {
    display: block;
    margin: 0;
}

.pi-unread[b-qezh3gtxnp] {
    margin: 0;
    font-weight: 600;
    color: var(--color-text-lighter);
}

.pi-unread.has-unread[b-qezh3gtxnp] {
    color: var(--fd-gold-text);
}

.pi-status[b-qezh3gtxnp] {
    min-height: 1.5em;
    margin: var(--space-md) 0;
    color: var(--fd-gold-text);
}

.pi-label[b-qezh3gtxnp] {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.pi-input[b-qezh3gtxnp] {
    min-height: 40px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-hover);
    background: var(--fd-well);
    color: var(--color-text-primary);
    font: inherit;
}

.pi-draft[b-qezh3gtxnp] {
    width: 100%;
    min-height: 110px;
    resize: vertical;
}

.pi-btn[b-qezh3gtxnp] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 40px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    background: transparent;
    color: var(--color-text-lighter);
    font: 600 var(--font-size-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.pi-btn:disabled[b-qezh3gtxnp] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Busy while it writes: still focusable (a disabled button drops keyboard focus to the page) */
.pi-btn[aria-disabled="true"][b-qezh3gtxnp] {
    opacity: 0.7;
    cursor: progress;
}

.pi-btn.gold[b-qezh3gtxnp] {
    border-color: var(--color-primary-dark);
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--fd-gold-soft);
}

.pi-btn.quiet[b-qezh3gtxnp] {
    border-color: var(--color-border-subtle);
    color: var(--color-text-light);
}

.pi-btn .material-icons[b-qezh3gtxnp] {
    font-size: 18px;
}

.pi-input:focus-visible[b-qezh3gtxnp],
.pi-btn:focus-visible[b-qezh3gtxnp],
.pi-rowbtn:focus-visible[b-qezh3gtxnp],
.pi-result:focus-visible[b-qezh3gtxnp],
.pi-h3:focus-visible[b-qezh3gtxnp],
.pi-status:focus-visible[b-qezh3gtxnp] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.pi-find[b-qezh3gtxnp] {
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-surface);
}

.pi-findrow[b-qezh3gtxnp] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.pi-findrow .pi-input[b-qezh3gtxnp] {
    flex: 1 1 240px;
    min-width: 0;
}

.pi-results[b-qezh3gtxnp],
.pi-rows[b-qezh3gtxnp],
.pi-messages[b-qezh3gtxnp] {
    list-style: none;
    margin: var(--space-md) 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pi-result[b-qezh3gtxnp],
.pi-rowbtn[b-qezh3gtxnp] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    width: 100%;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-base);
    background: var(--fd-surface);
    color: var(--color-text-primary);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.pi-rowbtn[aria-current="true"][b-qezh3gtxnp] {
    border-color: var(--color-primary-dark);
}

.is-unread .pi-rowbtn[b-qezh3gtxnp] {
    border-color: var(--fd-line-gold-strong);
}

.pi-rowtop[b-qezh3gtxnp],
.pi-threadtitle[b-qezh3gtxnp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    width: 100%;
}

.pi-name[b-qezh3gtxnp] {
    font-weight: 700;
    color: var(--fd-cream);
    overflow-wrap: anywhere;
}

.is-unread .pi-name[b-qezh3gtxnp] {
    color: var(--color-primary);
}

.pi-snippet[b-qezh3gtxnp] {
    color: var(--color-text-lighter);
    overflow-wrap: anywhere;
}

/* A player at the cap waits on the team (Docs/LRPG_LETTERS.md 13.10): words with a decorative icon, never colour alone */
.pi-cap[b-qezh3gtxnp] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--fd-gold-text);
}

.pi-cap .material-icons[b-qezh3gtxnp] {
    font-size: 1rem;
}

.pi-capnote[b-qezh3gtxnp] {
    margin: var(--space-xs) 0 0;
    padding: var(--space-xs) var(--space-sm);
    border-left: 3px solid var(--fd-line-gold-strong);
    font-size: var(--font-size-sm);
    color: var(--fd-cream);
}

.pi-chip[b-qezh3gtxnp] {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-hover);
    font: 700 var(--font-size-xs) / 1 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-lighter);
}

.pi-chip.is-unread[b-qezh3gtxnp] {
    border-color: var(--color-primary-dark);
    color: var(--fd-gold-soft);
}

.pi-chip.is-waiting[b-qezh3gtxnp] {
    border-color: var(--color-info);
    color: var(--color-info-light);
}

.pi-chip.is-handled[b-qezh3gtxnp] {
    color: var(--color-text-light);
}

.pi-grid[b-qezh3gtxnp] {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-md);
}

.pi-list[b-qezh3gtxnp],
.pi-thread[b-qezh3gtxnp] {
    min-width: 0;
}

.pi-thread[b-qezh3gtxnp] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.pi-threadhead[b-qezh3gtxnp] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

.pi-composer[b-qezh3gtxnp] {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-surface-strong);
}

.pi-actions[b-qezh3gtxnp] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.pi-problem[b-qezh3gtxnp] {
    margin: var(--space-xs) 0 0;
    color: var(--color-danger-lighter);
}

.pi-msg[b-qezh3gtxnp] {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-base);
    background: var(--fd-surface);
}

.pi-msg.from-him[b-qezh3gtxnp] {
    border-color: var(--fd-line-gold);
    background: color-mix(in srgb, var(--color-primary-dark) 8%, var(--fd-surface));
}

.pi-who[b-qezh3gtxnp] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-sm);
    margin: 0;
    font-weight: 700;
    color: var(--fd-cream);
}

.pi-who .pi-meta[b-qezh3gtxnp] {
    display: inline;
    font-weight: 400;
}

.pi-text[b-qezh3gtxnp] {
    margin: var(--space-xs) 0 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.pi-letter[b-qezh3gtxnp] {
    margin: var(--space-xs) 0 0;
    font-style: italic;
    color: var(--fd-gold-text);
}

.pi-author[b-qezh3gtxnp] {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-size-sm);
    color: var(--fd-gold-text);
}

/* Below 1024 the list and the conversation take turns; All conversations goes back */
.pi-grid.is-open .pi-list[b-qezh3gtxnp],
.pi-pick[b-qezh3gtxnp] {
    display: none;
}

@media (min-width: 1024px) {
    .pi-grid[b-qezh3gtxnp] {
        grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    }

    .pi-grid.is-open .pi-list[b-qezh3gtxnp],
    .pi-pick[b-qezh3gtxnp] {
        display: block;
    }

    .pi-back[b-qezh3gtxnp] {
        display: none;
    }
}

@media (max-width: 768px) {
    .pi-btn[b-qezh3gtxnp],
    .pi-input[b-qezh3gtxnp] {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .pi[b-qezh3gtxnp],
    .pi-denied[b-qezh3gtxnp] {
        padding: var(--space-md);
    }

    .pi-find[b-qezh3gtxnp],
    .pi-composer[b-qezh3gtxnp] {
        padding: var(--space-md);
    }
}

@media (forced-colors: active) {
    .pi-chip[b-qezh3gtxnp],
    .pi-btn[b-qezh3gtxnp],
    .pi-rowbtn[b-qezh3gtxnp],
    .pi-result[b-qezh3gtxnp],
    .pi-msg[b-qezh3gtxnp],
    .pi-composer[b-qezh3gtxnp],
    .pi-find[b-qezh3gtxnp],
    .pi-capnote[b-qezh3gtxnp] {
        border-color: CanvasText;
    }

    .pi-rowbtn[aria-current="true"][b-qezh3gtxnp] {
        border-color: Highlight;
    }
}
/* /Components/Admin/Insights/HeroInsights.razor.rz.scp.css */
/* Hero Insights on /admin/dashboard (Admin-Insights comp). Tokens only (translucent shades via color-mix), canonical
   breakpoints only, no animation. */

.hero-insights[b-4umzdhcn6b] {
    --hi-card-bg: var(--color-gray-900);
    --hi-line: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    --hi-line-soft: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
    --hi-gap: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: var(--space-xl) 0;
    color: var(--color-text-primary);
}

/* ---- Header ---- */

.hi-header[b-4umzdhcn6b] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

[b-4umzdhcn6b] .hi-header-icon {
    font-size: 30px;
    color: var(--color-primary);
}

.hi-title[b-4umzdhcn6b] {
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-text-primary);
}

.hi-spacer[b-4umzdhcn6b] {
    flex: 1;
}

.hi-chip[b-4umzdhcn6b] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.hi-chip--warn[b-4umzdhcn6b] {
    border: 1px solid color-mix(in srgb, var(--color-warning-bright) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 30%, transparent);
    color: var(--color-warning-lightest);
}

[b-4umzdhcn6b] .hi-chip-icon {
    font-size: 16px;
}

.hi-period[b-4umzdhcn6b] {
    display: flex;
    padding: 3px;
    border-radius: var(--radius-xl);
    background: var(--hi-card-bg);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
}

.hi-period-btn[b-4umzdhcn6b] {
    min-height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-secondary);
    font: inherit;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.hi-period-btn.is-selected[b-4umzdhcn6b] {
    background: var(--color-gray-800);
    color: var(--color-text-primary);
}

.hi-period-btn:hover[b-4umzdhcn6b] {
    color: var(--color-text-primary);
}

.hi-period-btn:focus-visible[b-4umzdhcn6b] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .hi-period-btn[b-4umzdhcn6b] {
        min-height: 44px;
    }
}

.hi-sub[b-4umzdhcn6b] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.hi-status[b-4umzdhcn6b] {
    margin: 0;
    color: var(--color-text-secondary);
}

.hi-status--error[b-4umzdhcn6b] {
    color: var(--color-danger-lighter);
}

/* ---- KPI tiles ---- */

.hi-kpis[b-4umzdhcn6b] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--hi-gap);
}

.hi-kpi[b-4umzdhcn6b] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-lg) 18px;
    min-width: 0;
    border-radius: var(--radius-3xl);
    background: var(--hi-card-bg);
    border: 1px solid var(--hi-line);
}

.hi-kpi-label[b-4umzdhcn6b] {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.hi-kpi-value[b-4umzdhcn6b] {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

.hi-kpi-note[b-4umzdhcn6b] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.hi-kpi-note.is-good[b-4umzdhcn6b] {
    color: var(--color-success-lighter);
}

.hi-kpi-note.is-bad[b-4umzdhcn6b] {
    color: var(--color-danger-lighter);
}

/* ---- Rows and cards ---- */

.hi-row[b-4umzdhcn6b] {
    display: grid;
    gap: var(--hi-gap);
}

.hi-row--wide[b-4umzdhcn6b] {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.hi-row--three[b-4umzdhcn6b] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hi-card[b-4umzdhcn6b] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
    padding: 18px 20px;
    border-radius: var(--radius-3xl);
    background: var(--hi-card-bg);
    border: 1px solid var(--hi-line);
}

.hi-card-title[b-4umzdhcn6b] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.hi-card-title--sub[b-4umzdhcn6b] {
    margin-top: 6px;
}

[b-4umzdhcn6b] .hi-card-icon {
    font-size: 19px;
    color: var(--color-primary);
}

.hi-note[b-4umzdhcn6b] {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ---- Forge funnel ---- */

/* Three rows shared by every column (subgrid): the track (count riding on its bar), the step label, the change. A
   label that wraps grows its row for every column, so bars and labels stay level. */
.hi-funnel[b-4umzdhcn6b] {
    --hi-funnel-max: 160px;
    list-style: none;
    margin: 0;
    padding: var(--space-sm) 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: calc(var(--hi-funnel-max) + 26px) auto auto;
    column-gap: 14px;
    row-gap: 6px;
}

.hi-funnel-col[b-4umzdhcn6b] {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    justify-items: center;
    min-width: 0;
}

.hi-funnel-track[b-4umzdhcn6b] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.hi-funnel-count[b-4umzdhcn6b] {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
}

/* Bar height: --hi-bar percent (0 to 100) of the tallest column. */
.hi-funnel-bar[b-4umzdhcn6b] {
    flex: none;
    width: 100%;
    height: calc(var(--hi-funnel-max) * var(--hi-bar, 0) / 100);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-darker));
}

.hi-funnel-label[b-4umzdhcn6b] {
    align-self: start;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    text-align: center;
}

.hi-funnel-drop[b-4umzdhcn6b] {
    align-self: start;
    min-height: 1.4em;
    line-height: 1.4;
    font-style: normal;
    font-size: 11.5px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-danger-lighter);
}

/* ---- Tables ---- */

.hi-table-wrap[b-4umzdhcn6b] {
    overflow-x: auto;
}

.hi-table[b-4umzdhcn6b] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.hi-table th[b-4umzdhcn6b] {
    text-align: left;
    padding: 0 10px var(--space-sm) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.hi-table td[b-4umzdhcn6b] {
    padding: 9px 10px 9px 0;
    border-bottom: 1px solid var(--hi-line-soft);
    color: var(--color-text-lighter);
    font-variant-numeric: tabular-nums;
}

/* ---- Stat tiles ---- */

.hi-tiles[b-4umzdhcn6b] {
    display: grid;
    gap: 10px;
    margin-top: var(--space-xs);
}

.hi-tiles--two[b-4umzdhcn6b] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hi-tiles--three[b-4umzdhcn6b] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
}

.hi-stat[b-4umzdhcn6b] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: var(--space-md) 14px;
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

.hi-stat b[b-4umzdhcn6b] {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The label wraps rather than clip ("Not allowed" cut to "Not allow..." in the dashboard's 1366 column). */
.hi-stat span[b-4umzdhcn6b] {
    font-size: 11.5px;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    overflow-wrap: break-word;
}

/* ---- Hero switches ---- */

.hi-spark[b-4umzdhcn6b],
.hi-spark-axis[b-4umzdhcn6b] {
    display: grid;
    grid-template-columns: repeat(var(--hi-days, 7), minmax(0, 1fr));
    gap: 6px;
}

.hi-spark[b-4umzdhcn6b] {
    align-items: end;
    height: 90px;
}

.hi-spark-bar[b-4umzdhcn6b] {
    display: block;
    min-height: 2px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: linear-gradient(180deg, var(--color-info-light), var(--color-info-dark));
}

.hi-spark-axis[b-4umzdhcn6b] {
    font-size: 11.5px;
    color: var(--color-text-secondary);
}

/* Each label is as wide as its text and centered on its bar; the first and last hug the chart's edges so a label
   wider than a 30-day bar never leaves the card. */
.hi-spark-axis span[b-4umzdhcn6b] {
    justify-self: center;
    width: max-content;
    white-space: nowrap;
}

.hi-spark-axis span:first-child[b-4umzdhcn6b] {
    justify-self: start;
}

.hi-spark-axis span:last-child[b-4umzdhcn6b] {
    justify-self: end;
}

/* ---- Tiers (canonical breakpoints) ---- */

@media (max-width: 1280px) {
    .hi-kpis[b-4umzdhcn6b] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hi-row--three[b-4umzdhcn6b] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hi-row--wide[b-4umzdhcn6b] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .hi-kpis[b-4umzdhcn6b] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Two by two: an odd last tile (the fifth KPI) takes the whole row instead of standing alone in half of it. */
    .hi-kpi:last-child:nth-child(odd)[b-4umzdhcn6b] {
        grid-column: 1 / -1;
    }

    .hi-row--three[b-4umzdhcn6b] {
        grid-template-columns: minmax(0, 1fr);
    }

    .hi-funnel[b-4umzdhcn6b] {
        --hi-funnel-max: 116px;
        column-gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hi-kpis[b-4umzdhcn6b] {
        grid-template-columns: minmax(0, 1fr);
    }

    .hi-tiles--three[b-4umzdhcn6b] {
        grid-template-columns: minmax(0, 1fr);
    }

    .hi-stat span[b-4umzdhcn6b] {
        white-space: normal;
    }
}
/* /Components/Admin/Insights/InsightBarRows.razor.rz.scp.css */
/* Share bars for Hero Insights (Admin-Insights comp). Tokens only. */

.ibr-list[b-wc2syki0nb] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ibr-row[b-wc2syki0nb] {
    display: grid;
    grid-template-columns: minmax(96px, 150px) minmax(0, 1fr) 48px;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.8125rem;
}

.ibr-label[b-wc2syki0nb] {
    color: var(--color-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ibr-track[b-wc2syki0nb] {
    position: relative;
    height: 14px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    overflow: hidden;
}

.ibr-fill[b-wc2syki0nb] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--color-primary-darker), var(--color-primary));
}

/* Where visits come from (the sheet block): blue, as the comp draws it. */
.ibr-list--info .ibr-fill[b-wc2syki0nb] {
    background: linear-gradient(90deg, var(--color-info-dark), var(--color-info-light));
}

/* Premium classes: striped, so the difference never rests on color alone. */
.ibr-fill--premium[b-wc2syki0nb] {
    background: repeating-linear-gradient(135deg, var(--color-primary-darker) 0 6px, var(--color-primary) 6px 12px);
}

.ibr-value[b-wc2syki0nb] {
    text-align: right;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    .ibr-row[b-wc2syki0nb] {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 40px;
        gap: var(--space-sm);
    }
}
/* /Components/Admin/Insights/LoadoutInsights.razor.rz.scp.css */
/* The Loadout block of Hero Insights: the sheet block's look (cards, KPI tiles, stat tiles) on tokens only, canonical
   breakpoints only, no animation. */

.loadout-insights[b-7ssmh5qqrz] {
    --li-card-bg: var(--color-gray-900);
    --li-line: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    --li-gap: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--li-line);
    color: var(--color-text-primary);
}

.li-header[b-7ssmh5qqrz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-lg);
    row-gap: var(--space-xs);
}

.li-title[b-7ssmh5qqrz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
}

[b-7ssmh5qqrz] .li-title-icon {
    font-size: 26px;
    color: var(--color-primary);
}

.li-chip[b-7ssmh5qqrz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-warning-bright) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 30%, transparent);
    color: var(--color-warning-lightest);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

[b-7ssmh5qqrz] .li-chip-icon {
    font-size: 16px;
}

.li-sub[b-7ssmh5qqrz] {
    margin-left: auto;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.li-kpis[b-7ssmh5qqrz] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--li-gap);
}

.li-kpi[b-7ssmh5qqrz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
    padding: var(--space-lg) 18px;
    border-radius: var(--radius-3xl);
    background: var(--li-card-bg);
    border: 1px solid var(--li-line);
}

.li-kpi-label[b-7ssmh5qqrz] {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.li-kpi-value[b-7ssmh5qqrz] {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
}

.li-kpi-note[b-7ssmh5qqrz] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.li-kpi-note.is-good[b-7ssmh5qqrz] {
    color: var(--color-success-lighter);
}

.li-kpi-note.is-bad[b-7ssmh5qqrz] {
    color: var(--color-danger-lighter);
}

.li-row[b-7ssmh5qqrz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--li-gap);
}

.li-card[b-7ssmh5qqrz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
    padding: 18px 20px;
    border-radius: var(--radius-3xl);
    background: var(--li-card-bg);
    border: 1px solid var(--li-line);
}

.li-card-title[b-7ssmh5qqrz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
}

[b-7ssmh5qqrz] .li-card-icon {
    font-size: 19px;
    color: var(--color-primary);
}

.li-tiles[b-7ssmh5qqrz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
}

.li-stat[b-7ssmh5qqrz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 10px var(--space-md);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

.li-stat b[b-7ssmh5qqrz] {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
}

.li-stat span[b-7ssmh5qqrz] {
    font-size: 11.5px;
    color: var(--color-text-secondary);
    overflow-wrap: break-word;
}

.li-note[b-7ssmh5qqrz] {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

@media (max-width: 1280px) {
    .li-kpis[b-7ssmh5qqrz] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .li-row[b-7ssmh5qqrz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .li-kpis[b-7ssmh5qqrz] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .li-kpi:last-child:nth-child(odd)[b-7ssmh5qqrz] {
        grid-column: 1 / -1;
    }

    .li-row[b-7ssmh5qqrz] {
        grid-template-columns: minmax(0, 1fr);
    }

    .li-sub[b-7ssmh5qqrz] {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .li-kpis[b-7ssmh5qqrz] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Admin/Insights/NavigationCounterRows.razor.rz.scp.css */
/* The Navigation block's counter lines (Hero Insights). The look of InsightBarRows, on tokens only; a line nothing
   writes yet reads "Not collected yet" across the bar and the numbers. Canonical breakpoints only, no animation. */

.ncr-list[b-o58o97uqo9] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ncr-row[b-o58o97uqo9] {
    display: grid;
    grid-template-columns: minmax(96px, 1.2fr) minmax(40px, 1fr) minmax(3ch, auto);
    align-items: center;
    gap: var(--space-md);
    min-height: 22px;
    font-size: 0.8125rem;
}

.ncr-list--shares .ncr-row[b-o58o97uqo9] {
    grid-template-columns: minmax(96px, 1.2fr) minmax(40px, 1fr) minmax(3ch, auto) 40px;
}

.ncr-label[b-o58o97uqo9] {
    min-width: 0;
    color: var(--color-text-light);
    overflow-wrap: anywhere;
}

.ncr-track[b-o58o97uqo9] {
    position: relative;
    height: 14px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    overflow: hidden;
}

.ncr-fill[b-o58o97uqo9] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, var(--color-primary-darker), var(--color-primary));
}

.ncr-count[b-o58o97uqo9] {
    text-align: right;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ncr-share[b-o58o97uqo9] {
    text-align: right;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Where visits come from: blue, as the Character sheet block draws it. */
.ncr-list--info .ncr-fill[b-o58o97uqo9] {
    background: linear-gradient(90deg, var(--color-info-dark), var(--color-info-light));
}

/* Not collected yet: the words take the bar's and the numbers' columns, in the quiet tone, never as a zero. */
.ncr-pending[b-o58o97uqo9] {
    grid-column: 2 / -1;
    padding: 1px var(--space-sm);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-style: italic;
}

@media (max-width: 480px) {
    .ncr-row[b-o58o97uqo9] {
        grid-template-columns: minmax(0, 1.3fr) minmax(32px, 1fr) minmax(3ch, auto);
        gap: var(--space-sm);
    }

    .ncr-list--shares .ncr-row[b-o58o97uqo9] {
        grid-template-columns: minmax(0, 1.3fr) minmax(32px, 1fr) minmax(3ch, auto) 36px;
    }
}

@media (forced-colors: active) {
    .ncr-fill[b-o58o97uqo9] {
        background: CanvasText;
    }

    .ncr-track[b-o58o97uqo9],
    .ncr-pending[b-o58o97uqo9] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Admin/Insights/NavigationInsights.razor.rz.scp.css */
/* The Navigation block of Hero Insights (Docs/LRPG_GAME_MENU.md section 11, phase N). The Hero Insights kit's look
   (cards, KPI tiles, tables, the Character sheet block's header), on tokens only (translucent shades via color-mix),
   canonical breakpoints only, no animation. */

.nav-insights[b-zkaqgov9fp] {
    --ni-card-bg: var(--color-gray-900);
    --ni-line: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    --ni-line-soft: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
    --ni-gap: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--ni-line);
    color: var(--color-text-primary);
}

/* ---- Header ---- */

.ni-header[b-zkaqgov9fp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-lg);
    row-gap: var(--space-xs);
}

.ni-kicker[b-zkaqgov9fp] {
    flex-basis: 100%;
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.ni-title[b-zkaqgov9fp] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

[b-zkaqgov9fp] .ni-title-icon {
    font-size: 26px;
    color: var(--color-primary);
}

.ni-chip[b-zkaqgov9fp] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-warning-bright) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 30%, transparent);
    color: var(--color-warning-lightest);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

[b-zkaqgov9fp] .ni-chip-icon {
    font-size: 16px;
}

.ni-sub[b-zkaqgov9fp] {
    margin-left: auto;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.ni-status[b-zkaqgov9fp] {
    margin: 0;
    padding: var(--space-lg);
    border-radius: var(--radius-3xl);
    background: var(--ni-card-bg);
    border: 1px solid var(--ni-line);
    color: var(--color-text-secondary);
}

.ni-status--error[b-zkaqgov9fp] {
    color: var(--color-danger-lighter);
    border-color: color-mix(in srgb, var(--color-danger) 45%, transparent);
}

/* ---- KPI tiles ---- */

.ni-kpis[b-zkaqgov9fp] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--ni-gap);
}

.ni-kpi[b-zkaqgov9fp] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
    padding: var(--space-lg) 18px;
    border-radius: var(--radius-3xl);
    background: var(--ni-card-bg);
    border: 1px solid var(--ni-line);
}

.ni-kpi-label[b-zkaqgov9fp] {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.ni-kpi-value[b-zkaqgov9fp] {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

.ni-kpi-note[b-zkaqgov9fp] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ---- Rows and cards ---- */

.ni-row[b-zkaqgov9fp] {
    display: grid;
    gap: var(--ni-gap);
}

.ni-row--three[b-zkaqgov9fp] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ni-row--wide[b-zkaqgov9fp] {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.ni-card[b-zkaqgov9fp] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
    padding: 18px 20px;
    border-radius: var(--radius-3xl);
    background: var(--ni-card-bg);
    border: 1px solid var(--ni-line);
}

.ni-card-title[b-zkaqgov9fp] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.ni-card-title--sub[b-zkaqgov9fp] {
    margin-top: var(--space-sm);
}

[b-zkaqgov9fp] .ni-card-icon {
    font-size: 19px;
    color: var(--color-primary);
}

.ni-list-title[b-zkaqgov9fp] {
    margin: var(--space-xs) 0 -4px;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.ni-note[b-zkaqgov9fp] {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* A whole list not collected yet: the same dashed, quiet line as a pending counter line. */
.ni-pending[b-zkaqgov9fp] {
    margin: 0;
    padding: 1px var(--space-sm);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-style: italic;
}

/* ---- Places chosen ---- */

.ni-split[b-zkaqgov9fp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
}

.ni-split-col[b-zkaqgov9fp] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
}

.ni-details[b-zkaqgov9fp] {
    border-top: 1px solid var(--ni-line-soft);
    padding-top: var(--space-sm);
}

.ni-summary[b-zkaqgov9fp] {
    min-height: 32px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-light);
}

/* A touch screen gets the house's 44px target. */
@media (pointer: coarse) {
    .ni-summary[b-zkaqgov9fp] {
        min-height: 44px;
    }
}

.ni-summary:focus-visible[b-zkaqgov9fp],
.ni-table-wrap:focus-visible[b-zkaqgov9fp] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* The table scrolls in its own box; the box's bottom rule marks where its rows go on. */
.ni-table-wrap[b-zkaqgov9fp] {
    max-width: 100%;
    max-height: 420px;
    overflow: auto;
    margin-top: var(--space-sm);
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
}

.ni-table[b-zkaqgov9fp] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.ni-table th[b-zkaqgov9fp],
.ni-table td[b-zkaqgov9fp] {
    padding: 7px 10px 7px 0;
    border-bottom: 1px solid var(--ni-line-soft);
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ni-table thead th[b-zkaqgov9fp] {
    position: sticky;
    top: 0;
    background: var(--ni-card-bg);
    border-bottom-color: color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.ni-table th:first-child[b-zkaqgov9fp] {
    text-align: left;
}

.ni-table tbody th[b-zkaqgov9fp] {
    font-weight: var(--font-weight-normal);
    color: var(--color-text-light);
}

.ni-table td[b-zkaqgov9fp] {
    color: var(--color-text-lighter);
}

.ni-table .is-pending[b-zkaqgov9fp] {
    color: var(--color-text-secondary);
    font-style: italic;
}

/* ---- Tiers (canonical breakpoints) ---- */

@media (max-width: 1280px) {
    .ni-kpis[b-zkaqgov9fp] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ni-row--three[b-zkaqgov9fp] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ni-row--three > .ni-card:last-child:nth-child(odd)[b-zkaqgov9fp] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1024px) {
    .ni-row--wide[b-zkaqgov9fp] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .ni-kpis[b-zkaqgov9fp] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Two by two: the fifth KPI takes the whole row instead of standing alone in half of it. */
    .ni-kpi:last-child:nth-child(odd)[b-zkaqgov9fp] {
        grid-column: 1 / -1;
    }

    .ni-row--three[b-zkaqgov9fp],
    .ni-split[b-zkaqgov9fp] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ni-sub[b-zkaqgov9fp] {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .ni-kpis[b-zkaqgov9fp] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ni-card[b-zkaqgov9fp] {
        padding: var(--space-lg) var(--space-md);
    }
}

@media (forced-colors: active) {
    .ni-card[b-zkaqgov9fp],
    .ni-kpi[b-zkaqgov9fp],
    .ni-chip[b-zkaqgov9fp],
    .ni-pending[b-zkaqgov9fp] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Admin/Insights/SheetInsights.razor.rz.scp.css */
/* The Character sheet block of Hero Insights (comp Admin-Sheet). The Hero Insights kit's look (cards, KPI tiles,
   funnel, stat tiles, table), on tokens only (translucent shades via color-mix), canonical breakpoints only, no
   animation. */

.sheet-insights[b-bticjf7uzc] {
    --si-card-bg: var(--color-gray-900);
    --si-line: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    --si-line-soft: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
    --si-gap: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--si-line);
    color: var(--color-text-primary);
}

/* ---- Header ---- */

.si-header[b-bticjf7uzc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-lg);
    row-gap: var(--space-xs);
}

.si-kicker[b-bticjf7uzc] {
    flex-basis: 100%;
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.si-title[b-bticjf7uzc] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

[b-bticjf7uzc] .si-title-icon {
    font-size: 26px;
    color: var(--color-primary);
}

.si-chip[b-bticjf7uzc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-warning-bright) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 30%, transparent);
    color: var(--color-warning-lightest);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

[b-bticjf7uzc] .si-chip-icon {
    font-size: 16px;
}

.si-sub[b-bticjf7uzc] {
    margin-left: auto;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ---- KPI tiles ---- */

.si-kpis[b-bticjf7uzc] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--si-gap);
}

.si-kpi[b-bticjf7uzc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
    padding: var(--space-lg) 18px;
    border-radius: var(--radius-3xl);
    background: var(--si-card-bg);
    border: 1px solid var(--si-line);
}

.si-kpi-label[b-bticjf7uzc] {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.si-kpi-value[b-bticjf7uzc] {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

.si-kpi-note[b-bticjf7uzc] {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.si-kpi-note.is-good[b-bticjf7uzc] {
    color: var(--color-success-lighter);
}

.si-kpi-note.is-bad[b-bticjf7uzc] {
    color: var(--color-danger-lighter);
}

/* ---- Rows and cards ---- */

.si-row[b-bticjf7uzc] {
    display: grid;
    gap: var(--si-gap);
}

.si-row--funnels[b-bticjf7uzc] {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
}

.si-row--three[b-bticjf7uzc] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.si-row--wide[b-bticjf7uzc] {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

.si-card[b-bticjf7uzc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
    padding: 18px 20px;
    border-radius: var(--radius-3xl);
    background: var(--si-card-bg);
    border: 1px solid var(--si-line);
}

.si-card-title[b-bticjf7uzc] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

[b-bticjf7uzc] .si-card-icon {
    font-size: 19px;
    color: var(--color-primary);
}

.si-note[b-bticjf7uzc] {
    margin: 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

/* ---- Funnels ---- */

/* Three rows shared by every column (subgrid): the track (count riding on its bar), the step label, the change. */
.si-funnel[b-bticjf7uzc] {
    --si-funnel-max: 150px;
    list-style: none;
    margin: 0;
    padding: var(--space-sm) 0 0;
    display: grid;
    grid-template-columns: repeat(var(--si-cols, 4), minmax(0, 1fr));
    grid-template-rows: calc(var(--si-funnel-max) + 26px) auto auto;
    column-gap: 14px;
    row-gap: 6px;
}

.si-funnel-col[b-bticjf7uzc] {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    justify-items: center;
    min-width: 0;
}

.si-funnel-track[b-bticjf7uzc] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.si-funnel-count[b-bticjf7uzc] {
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
}

/* Bar height: --si-bar percent (0 to 100) of the tallest column. */
.si-funnel-bar[b-bticjf7uzc] {
    flex: none;
    width: 100%;
    height: calc(var(--si-funnel-max) * var(--si-bar, 0) / 100);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-darker));
}

.si-funnel-label[b-bticjf7uzc] {
    align-self: start;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    text-align: center;
}

.si-funnel-drop[b-bticjf7uzc] {
    align-self: start;
    min-height: 1.4em;
    line-height: 1.4;
    font-style: normal;
    font-size: 11.5px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-danger-lighter);
}

/* ---- Table ---- */

.si-table-wrap[b-bticjf7uzc] {
    overflow-x: auto;
}

.si-table[b-bticjf7uzc] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}

.si-table th[b-bticjf7uzc] {
    text-align: left;
    padding: 0 10px var(--space-sm) 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.si-table td[b-bticjf7uzc] {
    padding: 9px 10px 9px 0;
    border-bottom: 1px solid var(--si-line-soft);
    color: var(--color-text-lighter);
    font-variant-numeric: tabular-nums;
}

/* ---- Stat tiles ---- */

.si-tiles[b-bticjf7uzc] {
    display: grid;
    gap: var(--space-sm);
}

.si-tiles--two[b-bticjf7uzc] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.si-tiles--three[b-bticjf7uzc] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.si-stat[b-bticjf7uzc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 10px var(--space-md);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

.si-stat b[b-bticjf7uzc] {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.si-stat span[b-bticjf7uzc] {
    font-size: 11.5px;
    color: var(--color-text-secondary);
    overflow-wrap: break-word;
}

/* ---- Tiers (canonical breakpoints) ---- */

@media (max-width: 1280px) {
    .si-kpis[b-bticjf7uzc] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .si-row--funnels[b-bticjf7uzc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .si-row--funnels > .si-card:last-child[b-bticjf7uzc] {
        grid-column: 1 / -1;
    }

    .si-row--three[b-bticjf7uzc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .si-row--wide[b-bticjf7uzc] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .si-kpis[b-bticjf7uzc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Two by two: the fifth KPI takes the whole row instead of standing alone in half of it. */
    .si-kpi:last-child:nth-child(odd)[b-bticjf7uzc] {
        grid-column: 1 / -1;
    }

    .si-row--funnels[b-bticjf7uzc],
    .si-row--three[b-bticjf7uzc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .si-funnel[b-bticjf7uzc] {
        --si-funnel-max: 110px;
        column-gap: var(--space-sm);
    }

    .si-sub[b-bticjf7uzc] {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .si-kpis[b-bticjf7uzc] {
        grid-template-columns: minmax(0, 1fr);
    }

    .si-tiles--three[b-bticjf7uzc] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Admin/Reports/HallTableAdminBox.razor.rz.scp.css */
/* The hall's table box on /admin/reports (W4): the desk's slate and moderation red, never gold. Tokens only. */

.htb[b-cp0k4xj9qe] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    border: 1px solid var(--sc-mod-line);
    border-radius: var(--radius-lg);
}

.htb-title[b-cp0k4xj9qe] {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font: 700 var(--font-size-base) / 1.2 var(--font-display);
    color: var(--color-text-primary);
}

.htb-note[b-cp0k4xj9qe],
.htb-label[b-cp0k4xj9qe] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.htb-set[b-cp0k4xj9qe] {
    margin: 0;
    padding: 0;
    border: 0;
}

.htb-row[b-cp0k4xj9qe] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.htb-btn[b-cp0k4xj9qe] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
}

.htb-btn[aria-pressed="true"][b-cp0k4xj9qe] {
    border-color: var(--sc-mod);
    background: var(--sc-mod-soft);
}

.htb-btn--danger[b-cp0k4xj9qe] {
    border-color: var(--sc-mod-line);
    color: var(--sc-mod-ink);
}

.htb-btn:disabled[b-cp0k4xj9qe] {
    opacity: 0.55;
    cursor: not-allowed;
}

.htb-btn:focus-visible[b-cp0k4xj9qe] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.htb-done[b-cp0k4xj9qe] {
    margin: 0;
    color: var(--color-text-primary);
}

.htb-error[b-cp0k4xj9qe] {
    margin: 0;
    color: var(--sc-mod-ink);
}

@media (pointer: coarse) {
    .htb-btn[b-cp0k4xj9qe] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .htb[b-cp0k4xj9qe],
    .htb-btn[b-cp0k4xj9qe] {
        border: 1px solid CanvasText;
    }
}
/* /Components/AdventureEditor/AdventureEditorFormView.razor.rz.scp.css */
/* Adventure Editor Form View - Pure HTML/CSS with Design System Tokens */

.adventure-form[b-sdrctgwcm2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Tabbed Form Navigation */
.form-tabs-nav[b-sdrctgwcm2] {
    display: flex;
    gap: var(--space-sm);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-base);
    flex-wrap: wrap;
}

.tab-btn[b-sdrctgwcm2] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.tab-btn:hover[b-sdrctgwcm2] {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-btn.active[b-sdrctgwcm2] {
    background: var(--color-primary);
    color: var(--color-bg-base);
    border-color: var(--color-primary);
}

.icon-sm[b-sdrctgwcm2] {
    width: 1rem;
    height: 1rem;
}

/* Form Groups */
.form-group[b-sdrctgwcm2] {
    margin-bottom: var(--space-lg);
}

.form-row[b-sdrctgwcm2] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.form-label[b-sdrctgwcm2] {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.form-control[b-sdrctgwcm2] {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-border-subtle);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-control:focus[b-sdrctgwcm2] {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-border-subtle);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-control[b-sdrctgwcm2]::placeholder {
    color: var(--color-text-muted);
}

.form-control:read-only[b-sdrctgwcm2] {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-text-tertiary);
    cursor: not-allowed;
}

.form-hint[b-sdrctgwcm2] {
    margin-top: var(--space-xs);
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
}

/* Form Checkboxes */
.form-checkbox[b-sdrctgwcm2] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-checkbox:hover[b-sdrctgwcm2] {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--color-primary);
}

.form-checkbox input[type="checkbox"][b-sdrctgwcm2] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.form-checkbox span[b-sdrctgwcm2] {
    font-weight: 500;
    color: var(--color-text-primary);
}

/* Waypoints List */
.waypoints-list[b-sdrctgwcm2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.waypoint-card[b-sdrctgwcm2] {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-fast);
}

.waypoint-card:hover[b-sdrctgwcm2] {
    border-color: var(--color-primary);
    background: rgba(255, 215, 0, 0.08);
}

.waypoint-header[b-sdrctgwcm2] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.waypoint-position[b-sdrctgwcm2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-primary);
    color: var(--color-bg-base);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.waypoint-name[b-sdrctgwcm2] {
    flex: 1;
    padding: var(--space-md);
    background: var(--color-border-subtle);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.waypoint-name:focus[b-sdrctgwcm2] {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-border-subtle);
}

.waypoint-content[b-sdrctgwcm2] {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-base);
}

/* Reward Items Grid */
.reward-items-grid[b-sdrctgwcm2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.reward-item[b-sdrctgwcm2] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.reward-item:hover[b-sdrctgwcm2] {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--color-primary);
}

.reward-item input[type="checkbox"][b-sdrctgwcm2] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: var(--color-primary);
    flex-shrink: 0;
}

.reward-item-info[b-sdrctgwcm2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    flex: 1;
}

.reward-item-name[b-sdrctgwcm2] {
    font-weight: 600;
    color: var(--color-text-primary);
}

.reward-item-type[b-sdrctgwcm2] {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-tabs-nav[b-sdrctgwcm2] {
        flex-direction: column;
    }

    .tab-btn[b-sdrctgwcm2] {
        width: 100%;
        justify-content: center;
    }

    .form-row[b-sdrctgwcm2] {
        grid-template-columns: 1fr;
    }

    .waypoint-header[b-sdrctgwcm2] {
        flex-direction: column;
        align-items: flex-start;
    }

    .waypoint-name[b-sdrctgwcm2] {
        width: 100%;
    }

    .reward-items-grid[b-sdrctgwcm2] {
        grid-template-columns: 1fr;
    }

    .card-footer[b-sdrctgwcm2] {
        flex-direction: column;
    }

    .btn[b-sdrctgwcm2] {
        width: 100%;
    }
}
/* /Components/AdventureEditor/AdventureEditorListView.razor.rz.scp.css */
/* Adventure Editor List View - Pure HTML/CSS with Design System Tokens */

.table-wrapper[b-8no1c87c1b] {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), rgba(255, 215, 0, 0.01));
}

.adventure-table[b-8no1c87c1b] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.adventure-table thead[b-8no1c87c1b] {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.04));
    border-bottom: 2px solid var(--color-border-hover);
}

.adventure-table th[b-8no1c87c1b] {
    padding: var(--space-lg);
    text-align: left;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.adventure-table tbody tr[b-8no1c87c1b] {
    border-bottom: 1px solid var(--color-border-base);
    transition: background-color var(--transition-fast);
}

.adventure-table tbody tr:hover[b-8no1c87c1b] {
    background: rgba(255, 215, 0, 0.05);
}

.adventure-table td[b-8no1c87c1b] {
    padding: var(--space-lg);
    color: var(--color-text-primary);
}

.adventure-table code[b-8no1c87c1b] {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--color-primary);
}

.badge[b-8no1c87c1b] {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-default[b-8no1c87c1b] {
    background: var(--color-border-base);
    border: 1px solid var(--color-border-active);
    color: var(--color-primary);
}

.badge-success[b-8no1c87c1b] {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--color-success-lighter);
}

.badge-warning[b-8no1c87c1b] {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--color-warning-light);
}

.badge-info[b-8no1c87c1b] {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-info-lighter);
}

.badge-secondary[b-8no1c87c1b] {
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--color-text-light);
}

.icon-xs[b-8no1c87c1b] {
    width: 0.875rem;
    height: 0.875rem;
}

.font-semibold[b-8no1c87c1b] {
    font-weight: 600;
}

.text-sm[b-8no1c87c1b] {
    font-size: 0.875rem;
}

.btn-sm[b-8no1c87c1b] {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
}

.btn-text[b-8no1c87c1b] {
    background: transparent;
    color: var(--color-primary);
    border: none;
    padding: 0.25rem 0.5rem;
}

.btn-text:hover:not(:disabled)[b-8no1c87c1b] {
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary-light);
}

.btn-danger[b-8no1c87c1b] {
    color: var(--color-danger);
}

.btn-danger:hover:not(:disabled)[b-8no1c87c1b] {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger-lighter);
}

hr[b-8no1c87c1b] {
    border: none;
    height: 1px;
    background: var(--color-border-base);
    margin: var(--space-xl) 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .adventure-table[b-8no1c87c1b] {
        font-size: 0.875rem;
    }

    .adventure-table th[b-8no1c87c1b],
    .adventure-table td[b-8no1c87c1b] {
        padding: var(--space-md);
    }
}

@media (max-width: 768px) {
    .table-wrapper[b-8no1c87c1b] {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .adventure-table[b-8no1c87c1b] {
        min-width: 600px;
        font-size: 0.8rem;
    }

    .adventure-table th[b-8no1c87c1b],
    .adventure-table td[b-8no1c87c1b] {
        padding: var(--space-sm) var(--space-md);
    }

    .btn-sm[b-8no1c87c1b] {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }

    .badge[b-8no1c87c1b] {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}
/* /Components/AdventureEditor/AdventureMapEditor.razor.rz.scp.css */
/* The adventure editor's War table group (Docs/LRPG_WAR_TABLE.md 6.1): the realm preview keeps the realm's aspect. */
.ame-spread[b-ewy96bfc5y] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    height: 100%;
}

.ame-preview[b-ewy96bfc5y] {
    margin: 0;
    max-width: 760px;
}

.ame-preview svg[b-ewy96bfc5y] {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 660;
    border: 1px solid var(--color-border-base);
    border-radius: 8px;
    background: var(--color-bg-base);
}

.ame-preview figcaption[b-ewy96bfc5y] {
    margin-top: 6px;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.ame-region[b-ewy96bfc5y] {
    fill: color-mix(in srgb, var(--color-primary) 14%, transparent);
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-dasharray: 6 4;
}

.ame-other[b-ewy96bfc5y] {
    fill: var(--color-text-secondary);
    opacity: 0.7;
}

.ame-pin[b-ewy96bfc5y] {
    fill: var(--color-warning-bright);
    stroke: var(--color-bg-base);
    stroke-width: 2;
}

.ame-pin-ring[b-ewy96bfc5y] {
    fill: none;
    stroke: var(--color-warning-bright);
    stroke-width: 2;
}
/* /Components/AdventureEditor/RestEventSelectionDialog.razor.rz.scp.css */
/* Rest Event Selection Dialog Styles */

.rest-event-dialog-overlay[b-77fb9njh7i] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.rest-event-dialog[b-77fb9njh7i] {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Header */
.dialog-header[b-77fb9njh7i] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.dialog-header h3[b-77fb9njh7i] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-lightest);
}

.close-button[b-77fb9njh7i] {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.close-button:hover[b-77fb9njh7i] {
    background-color: rgba(148, 163, 184, 0.1);
    color: var(--color-text-lightest);
}

/* Content */
.dialog-content[b-77fb9njh7i] {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* Alerts */
.alert[b-77fb9njh7i] {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.alert-info[b-77fb9njh7i] {
    background-color: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-info-lighter);
}

.alert-warning[b-77fb9njh7i] {
    background-color: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--color-warning-lighter);
}

.alert-success[b-77fb9njh7i] {
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: var(--color-success-lighter);
}

.alert .material-icons[b-77fb9njh7i] {
    font-size: 20px;
}

/* Filters */
.filter-grid[b-77fb9njh7i] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.filter-item[b-77fb9njh7i] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-item label[b-77fb9njh7i] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
}

.form-select[b-77fb9njh7i] {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--color-text-lightest);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.form-select:hover[b-77fb9njh7i] {
    border-color: rgba(148, 163, 184, 0.5);
}

.form-select:focus[b-77fb9njh7i] {
    outline: none;
    border-color: var(--color-info);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Event Count */
.event-count[b-77fb9njh7i] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

/* Event List */
.event-list[b-77fb9njh7i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.event-item[b-77fb9njh7i] {
    display: flex;
    gap: 12px;
    padding: 16px;
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    transition: all 0.2s;
}

.event-item:hover[b-77fb9njh7i] {
    background-color: rgba(30, 41, 59, 0.8);
    border-color: rgba(148, 163, 184, 0.4);
}

.event-checkbox[b-77fb9njh7i] {
    flex-shrink: 0;
}

.event-checkbox input[type="checkbox"][b-77fb9njh7i] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--color-info);
}

.event-details[b-77fb9njh7i] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-header[b-77fb9njh7i] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.event-title[b-77fb9njh7i] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-lightest);
    cursor: pointer;
    margin: 0;
}

.event-chip[b-77fb9njh7i] {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Event Type Chips */
.event-type-story[b-77fb9njh7i] {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--color-info-lighter);
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.event-type-choice[b-77fb9njh7i] {
    background-color: rgba(251, 191, 36, 0.2);
    color: var(--color-warning-lighter);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.event-type-ambush[b-77fb9njh7i] {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--color-success-lighter);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.event-type-environmental[b-77fb9njh7i] {
    background-color: rgba(168, 85, 247, 0.2);
    color: var(--color-monk-light);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Difficulty Chips */
.difficulty-easy[b-77fb9njh7i] {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--color-success-lighter);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.difficulty-medium[b-77fb9njh7i] {
    background-color: rgba(251, 191, 36, 0.2);
    color: var(--color-warning-lighter);
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.difficulty-hard[b-77fb9njh7i] {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--color-danger-lighter);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.difficulty-veryhard[b-77fb9njh7i] {
    background-color: rgba(220, 38, 38, 0.2);
    color: var(--color-danger-light);
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.difficulty-legendary[b-77fb9njh7i] {
    background-color: rgba(168, 85, 247, 0.2);
    color: var(--color-monk-light);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.event-description[b-77fb9njh7i] {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Footer */
.dialog-footer[b-77fb9njh7i] {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

/* Buttons */
.btn[b-77fb9njh7i] {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary[b-77fb9njh7i] {
    background-color: var(--color-info);
    color: white;
}

.btn-primary:hover:not(:disabled)[b-77fb9njh7i] {
    background-color: var(--color-info-dark);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-secondary[b-77fb9njh7i] {
    background-color: rgba(148, 163, 184, 0.2);
    color: var(--color-text-light);
}

.btn-secondary:hover:not(:disabled)[b-77fb9njh7i] {
    background-color: rgba(148, 163, 184, 0.3);
}

.btn:disabled[b-77fb9njh7i] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Scrollbar Styling */
.dialog-content[b-77fb9njh7i]::-webkit-scrollbar {
    width: 8px;
}

.dialog-content[b-77fb9njh7i]::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 4px;
}

.dialog-content[b-77fb9njh7i]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 4px;
}

.dialog-content[b-77fb9njh7i]::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .rest-event-dialog[b-77fb9njh7i] {
        max-height: 95vh;
    }

    .filter-grid[b-77fb9njh7i] {
        grid-template-columns: 1fr;
    }

    .dialog-header h3[b-77fb9njh7i] {
        font-size: 1.25rem;
    }

    .dialog-footer[b-77fb9njh7i] {
        flex-direction: column;
    }

    .btn[b-77fb9njh7i] {
        width: 100%;
        justify-content: center;
    }
}
/* /Components/Bestiary/BestiaryCard.razor.rz.scp.css */
.bestiary-card[b-mdgdtfkfg5] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bestiary-card:hover[b-mdgdtfkfg5],
.bestiary-card:focus-visible[b-mdgdtfkfg5] {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    border-color: var(--mud-palette-primary);
    outline: none;
}

.bestiary-card.undiscovered[b-mdgdtfkfg5] {
    opacity: 0.7;
}

.bestiary-card.undiscovered .card-portrait img[b-mdgdtfkfg5],
.bestiary-card.undiscovered .portrait-silhouette[b-mdgdtfkfg5] {
    filter: brightness(0) saturate(0);
}

.card-portrait[b-mdgdtfkfg5] {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-base));
}

.card-portrait img[b-mdgdtfkfg5] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portrait-silhouette[b-mdgdtfkfg5] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-text-disabled);
    background: linear-gradient(135deg, #2a2a3a, #1a1a2a);
}

.boss-badge[b-mdgdtfkfg5] {
    position: absolute;
    top: 6px;
    right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px 6px;
    background: rgba(245, 158, 11, 0.9);
    color: #1a1a2e;
    font-size: var(--gt-sm);
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body[b-mdgdtfkfg5] {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.card-name[b-mdgdtfkfg5] {
    font-weight: 600;
    font-size: calc(var(--gt-px) * 15.2);
    color: var(--mud-palette-text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unknown-name[b-mdgdtfkfg5] {
    color: var(--mud-palette-text-disabled);
    letter-spacing: 0.1em;
}

.card-meta[b-mdgdtfkfg5] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--mud-palette-text-secondary);
    font-size: calc(var(--gt-px) * 12.8);
}

.card-defeats[b-mdgdtfkfg5] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
/* /Components/Bestiary/BestiaryDetailDrawer.razor.rz.scp.css */
[b-6zvz4agatr] .bestiary-drawer {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.bestiary-detail[b-6zvz4agatr] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.detail-header[b-6zvz4agatr] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}

.detail-portrait[b-6zvz4agatr] {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-base));
    flex-shrink: 0;
}

.detail-portrait img[b-6zvz4agatr] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portrait-silhouette[b-6zvz4agatr] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mud-palette-text-disabled);
}

.detail-headline[b-6zvz4agatr] {
    flex-grow: 1;
    min-width: 0;
}

.detail-name[b-6zvz4agatr] {
    font-size: var(--gt-3xl);
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin-bottom: 4px;
}

.detail-tagline[b-6zvz4agatr] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: calc(var(--gt-px) * 14.4);
    flex-wrap: wrap;
}

.boss-tag[b-6zvz4agatr] {
    background: rgba(245, 158, 11, 0.9);
    color: #1a1a2e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.archetype-tag[b-6zvz4agatr] {
    background: var(--mud-palette-primary);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.close-btn[b-6zvz4agatr] {
    flex-shrink: 0;
    align-self: flex-start;
}

.detail-body[b-6zvz4agatr] {
    padding: 16px 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.detail-section[b-6zvz4agatr] {
    margin-bottom: 20px;
}

.section-title[b-6zvz4agatr] {
    font-size: calc(var(--gt-px) * 13.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    padding-bottom: 4px;
}

.section-text[b-6zvz4agatr] {
    color: var(--mud-palette-text-primary);
    line-height: 1.6;
    font-size: calc(var(--gt-px) * 15.2);
}

.stat-grid[b-6zvz4agatr],
.encounter-grid[b-6zvz4agatr] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
}

.stat-grid > div[b-6zvz4agatr],
.encounter-grid > div[b-6zvz4agatr] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(var(--gt-px) * 14.4);
}

.encounter-full[b-6zvz4agatr] {
    grid-column: 1 / -1;
}

.stat-label[b-6zvz4agatr] {
    color: var(--mud-palette-text-secondary);
    font-size: calc(var(--gt-px) * 12.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.undiscovered-text[b-6zvz4agatr] {
    text-align: center;
    color: var(--mud-palette-text-secondary);
    font-style: italic;
    padding: 32px 16px;
}
/* /Components/Bestiary/BestiaryFiltersBar.razor.rz.scp.css */
.bestiary-filters[b-g11n9xqymn] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.filter-row[b-g11n9xqymn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.search-input[b-g11n9xqymn] {
    flex: 1 1 220px;
    min-width: 180px;
}

.filter-select[b-g11n9xqymn] {
    flex: 0 1 200px;
    min-width: 160px;
}

@media (max-width: 600px) {
    .filter-row[b-g11n9xqymn] {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input[b-g11n9xqymn],
    .filter-select[b-g11n9xqymn] {
        flex: 1 1 100%;
    }
}
/* /Components/Characters/Portrait/CharacterPortraitEditor.razor.rz.scp.css */
/* ── Dialog content wrapper ─────────────────────────────────────────────── */

.portrait-editor[b-aa6694ge8c] {
    min-width: 320px;
    max-width: 480px;
}

/* ── Section labels ─────────────────────────────────────────────────────── */

.section-label[b-aa6694ge8c] {
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 0.75rem;
}

/* ── Portrait grid ──────────────────────────────────────────────────────── */

.portrait-grid[b-aa6694ge8c] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.625rem;
}

.portrait-tile[b-aa6694ge8c] {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--color-border-subtle);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    user-select: none;
}

.portrait-tile:hover:not(.locked)[b-aa6694ge8c] {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.25);
}

.portrait-tile.locked[b-aa6694ge8c] {
    cursor: default;
}

/* ── Badges ─────────────────────────────────────────────────────────────── */

.portrait-badge[b-aa6694ge8c] {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 1.64em;
    height: 1.64em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--gt-sm);
}

.badge-premium[b-aa6694ge8c] {
    background: rgba(0, 0, 0, 0.65);
    color: var(--color-primary);
}

.badge-locked[b-aa6694ge8c] {
    background: rgba(0, 0, 0, 0.65);
    color: color-mix(in srgb, var(--color-primary) 80%, transparent);
}

/* ── Lock overlay ───────────────────────────────────────────────────────── */

.lock-overlay[b-aa6694ge8c] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── Selected checkmark ─────────────────────────────────────────────────── */

.selected-check[b-aa6694ge8c] {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Variant label ──────────────────────────────────────────────────────── */

.variant-label[b-aa6694ge8c] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
    font-size: var(--gt-sm);
    font-weight: 600;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 2px 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Premium upgrade hint ───────────────────────────────────────────────── */

.premium-hint[b-aa6694ge8c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid var(--color-border-hover);
    border-radius: 8px;
    font-size: calc(var(--gt-px) * 12.48);
    color: var(--mud-palette-text-secondary);
}

/* ── Description field spacing ──────────────────────────────────────────── */

.description-field[b-aa6694ge8c] {
    margin-top: 0.25rem;
}
/* /Components/Combat/AdventureWaypointInfo.razor.rz.scp.css */
/* ============================================================
   ADVENTURE WAYPOINT INFO — Fantasy RPG Design
   Displays current adventure and waypoint in combat
   ============================================================ */

.adventure-waypoint-info[b-uwhaqyzxcm] {
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, rgba(18, 24, 42, 0.97) 0%, rgba(8, 12, 24, 0.99) 100%);
    border-radius: 10px;
    border: 1px solid var(--color-border-hover);
    border-top: 2px solid var(--color-border-active);
    padding: 10px 16px 14px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 215, 0, 0.08);
    min-height: 50px;
    width: 100%;
}

.adventure-waypoint-header[b-uwhaqyzxcm] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.adventure-icon[b-uwhaqyzxcm] {
    color: rgba(255, 215, 0, 0.7);
    flex-shrink: 0;
}

.adventure-waypoint-content[b-uwhaqyzxcm] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.adventure-name[b-uwhaqyzxcm] {
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: 700;
    color: rgba(255, 215, 0, 0.9);
    letter-spacing: 0.03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.waypoint-divider[b-uwhaqyzxcm] {
    color: var(--color-border-active);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.waypoint-name[b-uwhaqyzxcm] {
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    font-weight: 600;
    color: rgba(203, 213, 225, 0.85);
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive design: the tablet HUD only. The Desktop / Wide board keeps its 1280 look in any window (WP12c floor). */
@media (max-width: 768px) {
    :where(.tablet-hud) .adventure-waypoint-info[b-uwhaqyzxcm] {
        padding: 8px 12px;
        min-height: 42px;
        min-width: unset;
        max-width: unset;
        width: 100%;
    }

    :where(.tablet-hud) .adventure-waypoint-header[b-uwhaqyzxcm] {
        gap: 8px;
    }

    :where(.tablet-hud) .adventure-name[b-uwhaqyzxcm] {
        font-size: var(--ct-md);
    }

    :where(.tablet-hud) .waypoint-name[b-uwhaqyzxcm] {
        font-size: var(--ct-sm);
    }
}

@media (max-width: 599px) {
    :where(.tablet-hud) .adventure-waypoint-info[b-uwhaqyzxcm] {
        padding: 6px 10px;
        min-height: 38px;
    }

    :where(.tablet-hud) .adventure-waypoint-content[b-uwhaqyzxcm] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    :where(.tablet-hud) .waypoint-divider[b-uwhaqyzxcm] {
        display: none;
    }

    :where(.tablet-hud) .adventure-name[b-uwhaqyzxcm] {
        font-size: var(--ct-sm);
    }

    :where(.tablet-hud) .waypoint-name[b-uwhaqyzxcm] {
        font-size: var(--ct-sm);
    }
}
/* /Components/Combat/Aiming/AimBannerStrip.razor.rz.scp.css */
/* Board aiming (HUD decision D10): the pending-target banner. Its accent is the aimed action's turn slot
   (--color-eco-action circle, --color-eco-bonus triangle, design skill "Action economy tokens"), so the
   banner, the card and the glowing targets on the board all wear one color. Its text follows the combat text size
   (WP12g, the --ct-* tokens); the slot marker and the touch buttons' 44px floor do not. */

/* A grid, not a row (WP12g): the title shares the first line with Confirm / Cancel, and the preview card and the meta
   line run the banner's full width under them. Side by side with the buttons the text column was a third of the
   banner, so at Extra large every line wrapped and the dock grew until the board had no height left. */
.aim-banner[b-5oy4yswn7q] {
    --aim-eco: var(--color-eco-action);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: 1px;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--aim-eco) 16%, var(--color-bg-base)),
        var(--color-bg-elevated));
    border: 1px solid color-mix(in srgb, var(--aim-eco) 65%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--aim-eco) 28%, transparent);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    line-height: 1.35;
    min-width: 0;
}

.aim-banner.aim-eco-bonus[b-5oy4yswn7q] {
    --aim-eco: var(--color-eco-bonus);
}

.aim-banner.aim-eco-free[b-5oy4yswn7q] {
    --aim-eco: var(--color-eco-free);
}

/* Turn-slot marker: the same shapes as the dock rail (circle = Action, triangle = Bonus, hollow ring = Free). */
.aim-banner-eco[b-5oy4yswn7q] {
    grid-column: 1;
    grid-row: 1;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--aim-eco);
}

.aim-banner.aim-eco-bonus .aim-banner-eco[b-5oy4yswn7q] {
    width: 12px;
    height: 11px;
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.aim-banner.aim-eco-free .aim-banner-eco[b-5oy4yswn7q] {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--aim-eco);
}

/* The text column's lines are the banner's grid rows. */
.aim-banner-text[b-5oy4yswn7q] {
    display: contents;
}

.aim-banner-title[b-5oy4yswn7q] {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
    min-width: 0;
}

.aim-banner-preview[b-5oy4yswn7q],
.aim-banner-strike[b-5oy4yswn7q],
.aim-banner-meta[b-5oy4yswn7q],
.aim-banner-text[b-5oy4yswn7q]  .preview-card {
    grid-column: 2 / -1;
}

.aim-banner-action[b-5oy4yswn7q] {
    color: var(--aim-eco);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.aim-banner-arrow[b-5oy4yswn7q] {
    font-size: var(--ct-base);
    color: var(--color-text-secondary);
}

.aim-banner-target[b-5oy4yswn7q] {
    font-weight: var(--font-weight-semibold);
    min-width: 0;
    overflow-wrap: break-word;
}

.aim-banner-preview[b-5oy4yswn7q] {
    font-weight: var(--font-weight-semibold);
}

.aim-banner-strike[b-5oy4yswn7q] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-aoe-footprint);
}

.aim-banner-strike .material-icons[b-5oy4yswn7q],
.aim-banner-range .material-icons[b-5oy4yswn7q] {
    font-size: var(--ct-md);
}

.aim-banner-meta[b-5oy4yswn7q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-sm);
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.aim-banner-range[b-5oy4yswn7q] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.aim-banner-buttons[b-5oy4yswn7q] {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 6px;
}

.aim-strip-btn[b-5oy4yswn7q] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--aim-eco) 55%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.aim-strip-btn .material-icons[b-5oy4yswn7q] {
    font-size: var(--ct-base);
}

.aim-strip-btn:hover[b-5oy4yswn7q],
.aim-strip-btn:focus-visible[b-5oy4yswn7q] {
    background: color-mix(in srgb, var(--aim-eco) 25%, var(--color-bg-base));
}

.aim-banner-confirm[b-5oy4yswn7q] {
    background: color-mix(in srgb, var(--aim-eco) 85%, var(--color-bg-base));
    color: var(--color-bg-base);
    border-color: var(--aim-eco);
}

.aim-banner-confirm:hover[b-5oy4yswn7q],
.aim-banner-confirm:focus-visible[b-5oy4yswn7q] {
    background: var(--aim-eco);
}

/* Touch strip over the board (the tablet's Aim surface): tighter text, finger-sized (44px) Confirm and Cancel. */
.aim-banner.compact[b-5oy4yswn7q] {
    padding: 6px 8px;
    box-shadow: var(--shadow-md);
}

.aim-banner.compact .aim-strip-btn[b-5oy4yswn7q] {
    min-height: 44px;
    min-width: 88px;
    justify-content: center;
    padding: 4px 12px;
    font-size: var(--ct-sm);
}

.aim-banner.compact .aim-strip-btn .material-icons[b-5oy4yswn7q] {
    font-size: var(--ct-xl);
}

@media (max-width: 480px) {
    .aim-banner.compact .aim-banner-buttons[b-5oy4yswn7q] {
        grid-column: 1 / -1;
        grid-row: auto;
        justify-content: flex-end;
    }
}
/* /Components/Combat/Aiming/BoardAimOverlay.razor.rz.scp.css */
/* The aim bar over the board stage (Desktop / Wide; owner 14 Nov 2026, "make it an overlay on top of the map").
   Absolutely placed inside the battle cell (.combat-zone-col, position: relative), so it takes no row of the layout and
   the board stage keeps its size whatever is aimed. By default it lies over the stage's bottom edge, above the movement
   hint's lane (the hint pill: 22px at 3px from the bottom, --board-hint-lane 26px); boardAimBar.js (the camera's
   companion) sets data-place="top" while a combatant, or an edge cue, would be hidden under it there and the top band is
   freer, so a foe on the bottom row is not covered. Centred, and narrow enough to clear the zoom controls on the right
   (12px from the edge, 32px wide). Its height is capped at about half the cell and its contents scroll past that, so a
   long strike list can never run off the stage. The box carries room around the banner for its glow and shadow (an
   overflow-y of auto would clip them at the banner's own edge); that room takes no pointer, so a click there still
   reaches the board. Tokens only, no breakpoints (the cell's width sets the bar's), ASCII only. Its text follows the
   combat text size through AimBannerStrip's own --ct-* sizes. Nothing here animates. */

.board-aim-overlay[b-3ww2gflrg6] {
    --aim-room-x: 14px;
    --aim-room-top: 12px;
    --aim-room-bottom: 18px;
    /* The banner's distance from the stage's edge in each band (boardAimBar.js reads both to judge the other band). */
    --aim-edge-top: 8px;
    --aim-edge-bottom: 30px;
    position: absolute;
    left: 50%;
    bottom: calc(var(--aim-edge-bottom) - var(--aim-room-bottom));
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    box-sizing: border-box;
    width: min(calc(760px + 2 * var(--aim-room-x)), calc(100% - 120px + 2 * var(--aim-room-x)));
    max-height: calc(50% - 12px);
    padding: var(--aim-room-top) var(--aim-room-x) var(--aim-room-bottom);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
}

/* The top band (boardAimBar.js): the same distance from the stage's top edge as the default is from its bottom. */
.board-aim-overlay[data-place="top"][b-3ww2gflrg6] {
    top: calc(var(--aim-edge-top) - var(--aim-room-top));
    bottom: auto;
}

/* The banner's own frame, made fully readable over the painted map: an opaque base under its tint and a deeper shadow.
   The banner and the warning take the pointer (the box around them does not). */
.board-aim-overlay[b-3ww2gflrg6]  .aim-banner {
    pointer-events: auto;
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--aim-eco) 16%, var(--color-bg-base)),
            var(--color-bg-base));
    box-shadow:
        0 0 12px color-mix(in srgb, var(--aim-eco) 28%, transparent),
        var(--shadow-md);
}

/* The concentration warning (D11): casting this spell drops the caster's current concentration. Shown from the arm to
   the commit, on top of the banner. */
.board-aim-warning[b-3ww2gflrg6] {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 2px var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-warning);
    background: color-mix(in srgb, var(--color-warning) 22%, var(--color-bg-base));
    color: var(--color-warning-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    box-shadow: var(--shadow-md);
}

.board-aim-warning .material-icons[b-3ww2gflrg6] {
    font-size: var(--ct-base);
}

@media (forced-colors: active) {
    .board-aim-overlay[b-3ww2gflrg6]  .aim-banner,
    .board-aim-warning[b-3ww2gflrg6] {
        border: 1px solid CanvasText;
        background: Canvas;
    }
}
/* /Components/Combat/Board/BoardDiorama.razor.rz.scp.css */
/* The living board's static layers (board bible 5.1). The diorama sits under the plane (.board-hex-wrapper is a later
   sibling), grown by 0.75 hex on every side; it may be cropped by the viewport and never changes the plane's size or its
   percent geometry. Decorative: no pointer events. Only the ambient canvas moves (boardGround.js), and only when motion
   is allowed. */

.board-diorama[b-vxpbm1bgsg] {
    position: absolute;
    pointer-events: none;
    /* The plane's frame moved here (bible 9): the diorama carries the soft outer shadow. */
    border-radius: 14px;
    contain: layout paint;
}

.board-ground[b-vxpbm1bgsg] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Low-frequency variation against visible tiling (bible 12: macro.webp, multiplied at about a third). */
.bd-macro[b-vxpbm1bgsg] {
    mix-blend-mode: multiply;
    opacity: 0.38;
}

/* Board art round 2: the biome's painted battle map, one static HTML layer under the diorama (its box, picture, mirror
   and flip are inline, from BoardMap.FramePct and the waypoint's BoardMapVariant). Its own isolated group, so the detail
   tile's blend and the hue shift reach only the map. Its outer edge melts into the backdrop. */
.board-map-frame[b-vxpbm1bgsg] {
    position: absolute;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    isolation: isolate;
    -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent),
                        linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent),
                linear-gradient(to bottom, transparent, black 6%, black 94%, transparent);
    mask-composite: intersect;
}

.board-map-frame > div[b-vxpbm1bgsg] {
    position: absolute;
    inset: 0;
}

/* Board art round 3: the map's living spots, in map space inside the frame (so the variant's mirror and flip and the
   camera's zoom place them with the map), under the detail tile and the washes. One canvas (boardMapLife.js, half device
   resolution, drawn on boardGround's loop) and the sway cut-outs the script adds: a plate (the hole behind the object)
   and the cut-out over it, turned or sheared about its pivot by a CSS keyframe on the compositor, two nested layers
   (the sway and a slow gust 2.7 times longer). At rest (reduced motion, data-life-state="still") no transform at all:
   plate + cut-out is the map. Paused with the ambient loop (a hidden tab, the board off screen, an end screen). */
.bd-map-life[b-vxpbm1bgsg] {
    pointer-events: none;
}

.board-map-life[b-vxpbm1bgsg] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.bd-map-life[b-vxpbm1bgsg]  .bd-life-sways,
.bd-map-life[b-vxpbm1bgsg]  .bd-life-plate,
.bd-map-life[b-vxpbm1bgsg]  .bd-life-gust,
.bd-map-life[b-vxpbm1bgsg]  .bd-life-cut {
    position: absolute;
    inset: 0;
}

.bd-map-life[b-vxpbm1bgsg]  .bd-life-sway {
    position: absolute;
}

.bd-map-life[b-vxpbm1bgsg]  .bd-life-plate,
.bd-map-life[b-vxpbm1bgsg]  .bd-life-cut {
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.bd-map-life[b-vxpbm1bgsg]  .bd-life-gust,
.bd-map-life[b-vxpbm1bgsg]  .bd-life-cut {
    animation-duration: var(--period, 4s);
    animation-delay: var(--delay, 0s);
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
}

.bd-map-life[b-vxpbm1bgsg]  .mode-rotate {
    animation-name: bd-life-rotate-b-vxpbm1bgsg;
}

.bd-map-life[b-vxpbm1bgsg]  .mode-skewX {
    animation-name: bd-life-skew-x-b-vxpbm1bgsg;
}

.bd-map-life[b-vxpbm1bgsg]  .mode-skewY {
    animation-name: bd-life-skew-y-b-vxpbm1bgsg;
}

.bd-map-life[b-vxpbm1bgsg]  [data-life-state="paused"] .bd-life-gust,
.bd-map-life[b-vxpbm1bgsg]  [data-life-state="paused"] .bd-life-cut {
    animation-play-state: paused;
}

.bd-map-life[b-vxpbm1bgsg]  [data-life-state="still"] .bd-life-gust,
.bd-map-life[b-vxpbm1bgsg]  [data-life-state="still"] .bd-life-cut {
    animation: none;
}

/* Half a period from one extreme to the other, alternating: an eased sine of amplitude --amp. */
@keyframes bd-life-rotate-b-vxpbm1bgsg {
    from { transform: rotate(calc(var(--amp, 1deg) * -1)); }
    to { transform: rotate(var(--amp, 1deg)); }
}

@keyframes bd-life-skew-x-b-vxpbm1bgsg {
    from { transform: skewX(calc(var(--amp, 1deg) * -1)); }
    to { transform: skewX(var(--amp, 1deg)); }
}

@keyframes bd-life-skew-y-b-vxpbm1bgsg {
    from { transform: skewY(calc(var(--amp, 1deg) * -1)); }
    to { transform: skewY(var(--amp, 1deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .bd-map-life[b-vxpbm1bgsg]  .bd-life-gust,
    .bd-map-life[b-vxpbm1bgsg]  .bd-life-cut {
        animation: none;
    }
}

/* The detail tile repeats at its board scale; its blend (overlay: a mean-grey tile keeps the value band) and opacity are
   the manifest's (inline). */
.bd-map-detail[b-vxpbm1bgsg] {
    background-repeat: repeat;
}

/* The per-waypoint hue shift: the "color" blend takes the tint's hue and keeps the map's luminance, so the value band
   never moves. */
.bd-map-tint[b-vxpbm1bgsg] {
    mix-blend-mode: color;
}

/* The rim's biome tint multiplies, so it colours the rim without lifting it. */
.bd-rim-tint[b-vxpbm1bgsg] {
    mix-blend-mode: multiply;
}

/* Ground scars (boardGround.stamp): one node each, placed in plane percents; the blend mode is set per kind. */
.board-ground-decals[b-vxpbm1bgsg] {
    position: absolute;
    overflow: hidden;
}

.board-ground-decals[b-vxpbm1bgsg]  .board-scar {
    position: absolute;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Ambient life: half CSS resolution, upscaled by the browser (bible 11.2). */
.board-ambient[b-vxpbm1bgsg] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@media (forced-colors: active) {
    .board-ambient[b-vxpbm1bgsg],
    .board-map-life[b-vxpbm1bgsg],
    .board-ground-decals[b-vxpbm1bgsg] {
        display: none;
    }

    .bd-map-life[b-vxpbm1bgsg]  .bd-life-gust,
    .bd-map-life[b-vxpbm1bgsg]  .bd-life-cut {
        animation: none;
    }
}
/* /Components/Combat/Board/TokenDisc.razor.rz.scp.css */
/* ==========================================================================
   TokenDisc: one board token, a flat pointy-top hexagon inside its hex (hex disc spec 3.1-3.11)
   The anchor (board markup) is the disc's box: --disc-w wide, 1.1547 x that tall (ZoneBattlefieldHex.razor.css).
   Layers, outside in: the hit area (a foe's ::before, the whole hex), the halo, the aim ticks, the HP rim (one conic
   gradient on --hp), the 1px separator, the side ring, the face, the badges. CSS only: no per-frame script.
   Density (spec 3.3) is the viewport's data-token-density, written by boardSizing.js from the drawn disc x zoom; the
   builder emits every mark and the rules at the end of this sheet hide what a density does not show.
   Tokens only (design-system.css); no glyph in content.
   ========================================================================== */

.disc[b-yvjsp0bsgk] {
    /* --disc-w is set on the anchor (a boss's is 1.15 discs). Everything below is sized from it. */
    --hex-clip: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    /* The user zoom (boardSizing.js publishes --board-zoom with the density): every px floor, cap, line and gap below is
       divided by it, so a drawn badge is the same size at any zoom and the layout depends on the drawn disc alone. */
    --bz: var(--board-zoom, 1);
    --rim-t: max(calc(2px / var(--bz)), calc(var(--disc-w, 39px) * 0.085));
    --ring-t: max(calc(1px / var(--bz)), calc(var(--disc-w, 39px) * 0.04));
    --halo-w: max(1.5px, min(4px, calc((var(--hex-px, 44px) - var(--disc-w, 39px)) / 2)));
    /* The badge geometry (spec 3.3-3.4): the badge height, the side inset of the rows, the gap and the line width.
       Standard density's values are the default (before boardSizing writes a density); the full and compact blocks
       after the badge rules override them. HexDiscs/DiscBadgeGeometryTests reads these numbers and computes every slot's
       rect from them. */
    --bh: clamp(calc(8.5px / var(--bz)), calc(var(--disc-w, 39px) * 0.27), calc(10px / var(--bz)));
    --badge-in: calc(var(--disc-w, 39px) * 0.02);
    --badge-gap: calc(1px / var(--bz));
    --badge-line: calc(1px / var(--bz));
    --rim: var(--combat-hp-high);
    --rim-empty: color-mix(in srgb, var(--color-bg-base) 90%, transparent);
    --side-ring: var(--combat-enemy);
    --halo: transparent;
    --ticks: transparent;

    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: none;
    color: var(--color-text-primary);
    font: inherit;
    /* The disc's box is a rectangle whose corners lie in the neighbouring hexes, so it takes no pointer events itself;
       the hex-clipped ::before below is its hit area (a pseudo-element's hits go to its element: the button stays the
       target and :hover still applies). */
    pointer-events: none;
    cursor: default;
    transition: transform 0.12s ease, filter 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

.disc.player-token[b-yvjsp0bsgk] {
    --side-ring: var(--combat-ally);
}

.disc.enemy-token[b-yvjsp0bsgk] {
    cursor: pointer;
}

/* A boss's presence (W1d): its disc is capped so two bosses never touch (the anchor's --boss-gap, board sheet), so it is
   only a little bigger than a normal disc; the presence makes up the rest: a side ring more than twice a normal one
   (9% of the disc, at least 2 drawn px), the inverted boss mark at the top (kept at every density), and a dark
   contact shadow under it at rest. Its halo is never wider than half the gap (at least 1px), so two bosses' halos meet
   at most and never cross. */
.disc.token-boss[b-yvjsp0bsgk] {
    --ring-t: max(calc(2px / var(--bz)), calc(var(--disc-w, 39px) * 0.09));
    --halo-w: max(calc(1px / var(--bz)), min(4px, calc((var(--hex-px, 44px) - var(--disc-w, 39px)) / 2)));
}

.disc.token-boss:not(.token-defeated)[b-yvjsp0bsgk] {
    filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--color-bg-base) 95%, transparent));
}

/* ---- Lh: the hit area. A foe's whole hex is its click and tap target: ::before reaches the hex's edge (a negative
   inset of (hex - disc) / 2 sideways, 1.1547 x that up and down) and is clipped to the hexagon, which clips hit testing
   too. The button has no clip-path and no overflow, or the pseudo would be cut, and takes no pointer events of its own
   (its rectangle's corners lie in the neighbouring hexes). The ally aim's button takes the whole hex the same way. A
   hero's span takes hits only inside its own disc hexagon (the lift card's hover), so a click beside it reaches the
   hex polygons under it. ---- */
.disc.enemy-token[b-yvjsp0bsgk]::before,
.disc .token-ally-aim-hit[b-yvjsp0bsgk]::before {
    content: "";
    position: absolute;
    left: calc((var(--disc-w, 39px) - var(--hex-px, 44px)) / 2);
    right: calc((var(--disc-w, 39px) - var(--hex-px, 44px)) / 2);
    top: calc((var(--disc-w, 39px) - var(--hex-px, 44px)) * 1.1547 / 2);
    bottom: calc((var(--disc-w, 39px) - var(--hex-px, 44px)) * 1.1547 / 2);
    clip-path: var(--hex-clip);
    background: transparent;
    pointer-events: auto;
}

.disc.player-token[b-yvjsp0bsgk]::before {
    content: "";
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: transparent;
    pointer-events: auto;
}

.disc.token-defeated[b-yvjsp0bsgk]::before {
    pointer-events: none;
}

/* ---- L0: the halo, always in the DOM (the reaction ring animates it), transparent when no state applies. Its inner
   1px gap (::after, the base colour) keeps a halo off the rim, so a gold turn halo never touches an amber rim. ---- */
.disc-halo[b-yvjsp0bsgk],
.disc-ticks[b-yvjsp0bsgk] {
    position: absolute;
    left: calc(-1 * var(--halo-w));
    right: calc(-1 * var(--halo-w));
    top: calc(-1.1547 * var(--halo-w));
    bottom: calc(-1.1547 * var(--halo-w));
    clip-path: var(--hex-clip);
    pointer-events: none;
}

.disc-halo[b-yvjsp0bsgk] {
    background: var(--halo);
}

.disc-halo[b-yvjsp0bsgk]::after {
    content: "";
    position: absolute;
    left: calc(var(--halo-w) - 1px);
    right: calc(var(--halo-w) - 1px);
    top: calc(1.1547 * var(--halo-w) - 1px);
    bottom: calc(1.1547 * var(--halo-w) - 1px);
    clip-path: var(--hex-clip);
    background: var(--color-bg-base);
    opacity: 0;
}

.disc.halo-down .disc-halo[b-yvjsp0bsgk]::after,
.disc.halo-armed .disc-halo[b-yvjsp0bsgk]::after,
.disc.halo-turn .disc-halo[b-yvjsp0bsgk]::after,
.disc.halo-selected .disc-halo[b-yvjsp0bsgk]::after {
    opacity: 1;
}

.disc.halo-down[b-yvjsp0bsgk] { --halo: var(--combat-bad); }
.disc.halo-armed[b-yvjsp0bsgk] { --halo: var(--aim-eco, var(--color-eco-action)); }
.disc.halo-turn[b-yvjsp0bsgk] { --halo: var(--color-warning-bright); }
.disc.halo-selected[b-yvjsp0bsgk] { --halo: var(--color-target); }

/* Hover and keyboard focus: a thin halo, only where nothing stronger shows. Hover inside (hover: hover), so a tap on a
   touch screen never leaves it stuck. */
@media (hover: hover) {
    .disc.halo-none:not(.token-defeated):hover .disc-halo[b-yvjsp0bsgk] {
        left: -1px;
        right: -1px;
        top: -1px;
        bottom: -1px;
        background: color-mix(in srgb, var(--color-text-primary) 75%, transparent);
    }
}

.disc.halo-none:focus-visible .disc-halo[b-yvjsp0bsgk] {
    left: -1px;
    right: -1px;
    top: -1px;
    bottom: -1px;
    background: color-mix(in srgb, var(--color-text-primary) 75%, transparent);
}

/* Focus: a 2px hexagonal ring on the face, never outside the disc (that would cross into the gap). It is a layer of
   its own above the portrait (an inset box-shadow on the clip paints under the <img>, so it could not be seen), and it
   shows whatever the halo says: a selected, armed, turn or Down foe gets it too. */
.disc:focus-visible[b-yvjsp0bsgk] {
    outline: none;
}

.disc-face-clip[b-yvjsp0bsgk]::before {
    --focus-t: calc(2px / var(--bz));
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--color-text-primary);
    clip-path: polygon(evenodd,
        50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%, 50% 0,
        50% calc(var(--focus-t) * 1.1547),
        calc(100% - var(--focus-t)) calc(25% + var(--focus-t) * 0.5774),
        calc(100% - var(--focus-t)) calc(75% - var(--focus-t) * 0.5774),
        50% calc(100% - var(--focus-t) * 1.1547),
        var(--focus-t) calc(75% - var(--focus-t) * 0.5774),
        var(--focus-t) calc(25% + var(--focus-t) * 0.5774),
        50% calc(var(--focus-t) * 1.1547));
    opacity: 0;
    pointer-events: none;
}

.disc:focus-visible .disc-face-clip[b-yvjsp0bsgk]::before,
.disc:has(.token-ally-aim-hit:focus-visible) .disc-face-clip[b-yvjsp0bsgk]::before {
    opacity: 1;
}

/* ---- L0b: the aim ticks, the halo band masked to six short wedges at the six points (a shape, not a colour). ---- */
.disc-ticks[b-yvjsp0bsgk] {
    background: var(--ticks);
    -webkit-mask: repeating-conic-gradient(from -12deg, var(--color-bg-base) 0 24deg, transparent 24deg 60deg);
    mask: repeating-conic-gradient(from -12deg, var(--color-bg-base) 0 24deg, transparent 24deg 60deg);
}

.disc.ticks-reach[b-yvjsp0bsgk] { --ticks: color-mix(in srgb, var(--color-eco-action) 55%, transparent); }
.disc.ticks-valid[b-yvjsp0bsgk] { --ticks: color-mix(in srgb, var(--aim-eco, var(--color-eco-action)) 55%, transparent); }
.disc.ticks-struck[b-yvjsp0bsgk] { --ticks: var(--color-aoe-footprint); }

/* The 7A hover footprint boardTouch.js puts on the anchor: full fuchsia ticks. */
.board-zoom-viewport.aoe-footprint-mode .hex-token-anchor.spell-aoe-footprint .disc-ticks[b-yvjsp0bsgk] {
    background: var(--color-aoe-footprint);
}

/* ---- L1: the HP rim, one conic gradient from the top point, clockwise, on the game's HP steps. ----
   Motion bible 6.4.1: Blazor writes the model's HP as --hp-model; the arc (--hp) and the ghost chunk (--hp-ghost, the
   arc just lost, white) are derived from it, unless the effects script holds them at the impact through --hp-live /
   --hp-ghost-live on the disc (impact-synced: the rim drops when the blow lands, not when the event is sent). The arc
   drops in 120ms; the ghost holds 400ms, then drains in 450ms. One gradient, no extra layer. */
.disc-rim[b-yvjsp0bsgk] {
    --hp: var(--hp-live, var(--hp-model, 1));
    --hp-ghost: var(--hp-ghost-live, var(--hp-model, 1));
    --ghost: color-mix(in srgb, var(--color-text-primary) 85%, transparent);
    position: absolute;
    inset: 0;
    clip-path: var(--hex-clip);
    background: conic-gradient(var(--rim) calc(var(--hp) * 1turn), var(--ghost) 0 calc(var(--hp-ghost) * 1turn),
        var(--rim-empty) 0);
    transition: --hp 120ms cubic-bezier(0.33, 1, 0.68, 1), --hp-ghost 450ms cubic-bezier(0.55, 0, 1, 0.45) 400ms;
    pointer-events: none;
}

/* A heal (the script sets data-hp-dir="heal" on the disc for 900ms): the ghost jumps to the new value at once as a light
   "incoming" arc and the rim fills behind it in 520ms. */
.disc[data-hp-dir="heal"] .disc-rim[b-yvjsp0bsgk] {
    --ghost: color-mix(in srgb, var(--combat-heal-light) 60%, transparent);
    transition: --hp 520ms cubic-bezier(0.22, 1, 0.36, 1), --hp-ghost 0ms;
}

.disc-rim.hp-high[b-yvjsp0bsgk] { --rim: var(--combat-hp-high); }
.disc-rim.hp-mid[b-yvjsp0bsgk] { --rim: var(--combat-hp-mid); }
.disc-rim.hp-low[b-yvjsp0bsgk] { --rim: var(--combat-hp-low); }

/* The rim flourishes (index.js flashHudHp: the crit flash, the damage streak, the heal bloom), a brief inner glow. The
   script puts its class on .disc-sep, whose class attribute Blazor never rewrites (.disc-rim's carries the HP step, so
   a render that crossed 50% or 25% would wipe a class added there). */
.disc-sep.hp-flash-crit[b-yvjsp0bsgk] { box-shadow: inset 0 0 0 2px var(--color-text-primary); }
.disc-sep.hp-streak-active[b-yvjsp0bsgk] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-text-primary) 70%, transparent); }
.disc-sep.hp-heal-bloom[b-yvjsp0bsgk] { box-shadow: inset 0 0 0 2px var(--combat-heal); }

/* ---- L1b: the separator, 1px of base colour inside the rim, so a red foe ring never touches a red low arc. ---- */
.disc-sep[b-yvjsp0bsgk] {
    position: absolute;
    left: var(--rim-t);
    right: var(--rim-t);
    top: calc(var(--rim-t) * 1.1547);
    bottom: calc(var(--rim-t) * 1.1547);
    clip-path: var(--hex-clip);
    background: var(--color-bg-base);
}

/* ---- L2: the side ring, ally or foe (side only, never class: owner). ---- */
.disc-ring[b-yvjsp0bsgk] {
    position: absolute;
    left: 1px;
    right: 1px;
    top: 1px;
    bottom: 1px;
    clip-path: var(--hex-clip);
    background: var(--side-ring);
}

/* ---- L3: the face, clipped to the inner hexagon. The square portrait covers the taller box (only the sides crop), so
   it is scaled inside its clip to pull a head that sits above centre into the face (no object-position: it did
   nothing here). ---- */
.disc-face-clip[b-yvjsp0bsgk] {
    position: absolute;
    left: var(--ring-t);
    right: var(--ring-t);
    top: calc(var(--ring-t) * 1.1547);
    bottom: calc(var(--ring-t) * 1.1547);
    clip-path: var(--hex-clip);
    overflow: hidden;
    background: var(--color-bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.disc-face[b-yvjsp0bsgk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transform-origin: 50% 30%;
    pointer-events: none;
    user-select: none;
}

.disc-face-icon[b-yvjsp0bsgk] {
    font-size: calc(var(--disc-w, 39px) * 0.45);
    line-height: 1;
    color: var(--color-text-secondary);
    pointer-events: none;
}

/* ---- Down: a dark red face tint and the heart; the disc stays fully opaque, so allies find the one to save. ---- */
.disc.token-downed .disc-face-clip[b-yvjsp0bsgk]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--combat-bad-deep) 55%, transparent);
}

.disc-down-heart[b-yvjsp0bsgk] {
    position: absolute;
    z-index: 1;
    font-size: calc(var(--disc-w, 39px) * 0.4);
    line-height: 1;
    color: var(--combat-bad-lighter);
    pointer-events: none;
}

/* ---- Down (motion bible 6.12): the cracked face, one stage per failed death save (the crack-overlay sheet, white on
   transparent, three cells); a static state, so it stays under reduced motion. ---- */
.disc-crack[b-yvjsp0bsgk] {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url("/images/vfx/crack-overlay-v1.webp");
    background-size: 300% 100%;
    background-repeat: no-repeat;
    opacity: 0.8;
    pointer-events: none;
}

.disc-crack[b-yvjsp0bsgk] { animation: discCrackIn-b-yvjsp0bsgk 160ms ease-out; }

@keyframes discCrackIn-b-yvjsp0bsgk {
    from { opacity: 0; }
    to { opacity: 0.8; }
}

.disc-crack.crack-stage-1[b-yvjsp0bsgk] { background-position: 0% 0; }
.disc-crack.crack-stage-2[b-yvjsp0bsgk] { background-position: 50% 0; }
.disc-crack.crack-stage-3[b-yvjsp0bsgk] { background-position: 100% 0; }

/* The heartbeat (motion bible 6.12, the one looping disc animation): two quick beats of the red halo every 1.6s while
   down, one soft beat every 3s once stable. A transform on the halo only; still while its own lift card is open. */
.disc.token-downed:not(.token-defeated) .disc-halo[b-yvjsp0bsgk] {
    animation: discHeartbeat-b-yvjsp0bsgk 1.6s ease-in-out infinite;
}

.disc.token-downed.down-stable[b-yvjsp0bsgk] { --halo: color-mix(in srgb, var(--combat-ally) 45%, var(--color-text-secondary)); }

.disc.token-downed.down-stable:not(.token-defeated) .disc-halo[b-yvjsp0bsgk] {
    animation: discHeartbeatStable-b-yvjsp0bsgk 3s ease-in-out infinite;
}

.disc.token-downed.is-lift-open .disc-halo[b-yvjsp0bsgk] {
    animation: none;
}

@keyframes discHeartbeat-b-yvjsp0bsgk {
    0%, 44%, 100% { transform: scale(1); }
    11% { transform: scale(1.08); }
    22% { transform: scale(1); }
    33% { transform: scale(1.05); }
}

@keyframes discHeartbeatStable-b-yvjsp0bsgk {
    0%, 30%, 100% { transform: scale(1); }
    15% { transform: scale(1.04); }
}

/* ---- The effects script's overlays (motion bible 6.4, 6.3.3): the white hit flash on the portrait and the necrotic
   shade. Static markup at opacity 0; the script animates opacity only (WAAPI), so nothing shows without it. ---- */
.disc-hitflash[b-yvjsp0bsgk],
.disc-shade[b-yvjsp0bsgk] {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.disc-hitflash[b-yvjsp0bsgk] { background: var(--color-text-primary); }
.disc-shade[b-yvjsp0bsgk] { background: var(--color-bg-base); }

/* ---- Out of reach (the weapon's or an aim's refusal): the face at 42%, grey; the reason is in the name. ---- */
.disc.hex-out-of-range .disc-face-clip[b-yvjsp0bsgk] {
    opacity: 0.42;
    filter: grayscale(0.8);
}

.disc.hex-out-of-range[b-yvjsp0bsgk] {
    cursor: not-allowed;
}

/* ---- Away: the whole disc at 70%. ---- */
.disc.is-away[b-yvjsp0bsgk] {
    opacity: 0.7;
}

/* ---- Defeated (decision D4): a faint grey disc, no badges, no rim arc, not clickable, while the engine lists it.
   The death fade plays first on the anchor (token-death-fade, forwards). ---- */
.disc.token-defeated[b-yvjsp0bsgk] {
    opacity: 0.25;
    filter: grayscale(1);
    pointer-events: none;
    cursor: default;
}

.disc.token-defeated .disc-rim[b-yvjsp0bsgk] {
    background: var(--color-text-tertiary);
}

/* ---- The turn rise (spec 3.9): steady, never pulsing; on the disc, never the anchor (whose transform belongs to the
   lunge, recoil and death keyframes). A state, so it stays under reduced motion; only the transition goes. ---- */
.disc.token-active:not(.token-defeated)[b-yvjsp0bsgk] {
    transform: translateY(-2px);
    filter: drop-shadow(0 3px 6px color-mix(in srgb, var(--color-bg-base) 80%, transparent));
}

.board-zoom-viewport[data-token-density="compact"] .disc.token-active:not(.token-defeated)[b-yvjsp0bsgk] {
    transform: translateY(-1px);
}

/* ---- The reaction mark's ring (index.js fireReactionMark adds token-reaction-mark to the anchor): it animates the
   halo, which is always in the DOM. ---- */
.hex-token-anchor.token-reaction-mark .disc-halo[b-yvjsp0bsgk] {
    animation: discReactionRing-b-yvjsp0bsgk 0.42s ease-out;
}

@keyframes discReactionRing-b-yvjsp0bsgk {
    0%   { background: color-mix(in srgb, var(--color-eco-reaction) 90%, transparent); }
    100% { background: var(--halo); }
}

/* ---- The ally aim's hit button: transparent, over the whole disc; its ::before is the hex (above). ---- */
.token-ally-aim-hit[b-yvjsp0bsgk] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: none;
    z-index: 3;
}

.disc.aim-invalid .token-ally-aim-hit[b-yvjsp0bsgk] {
    cursor: not-allowed;
}

/* ==========================================================================
   L4: badges (spec 3.3-3.4, one job per slot). The slots are two rows round the disc's middle (upper: ul ur; lower:
   ll, lr2, lr), the top point and the bottom point; compact density folds the side slots into one middle row. Every
   badge stays inside its own disc: no negative offset, a row's badges grow inward from the side, and each slot is
   sized from --bh, so no two applicable badges meet (HexDiscs/DiscBadgeGeometryTests computes their rects for drawn
   discs from 18 to 80px, a boss's too). At full density the side slots sit inboard of the HP rim; standard and compact
   discs are too small for that with a legible badge, so their side badges may cover the rim band (never the disc's
   outline). The top and bottom pills sit on the rim, at the points.
   ========================================================================== */
.disc-badge[b-yvjsp0bsgk] {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--badge-gap);
    box-sizing: border-box;
    height: var(--bh);
    min-width: var(--bh);
    max-width: calc(100% - 2 * var(--badge-in));
    padding: 0 var(--badge-line);
    overflow: hidden;
    border: var(--badge-line) solid color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-bg-base) 92%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--bh) * 0.68);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.disc-badge .material-icons[b-yvjsp0bsgk] {
    font-size: calc(var(--bh) * 0.75);
    line-height: 1;
}

/* An icon-only badge is a circle exactly --bh wide (the icon is 0.75 of it). */
.disc-badge.is-icon[b-yvjsp0bsgk] {
    width: var(--bh);
    padding: 0;
}

/* The rows: the upper row's bottom and the lower row's top sit half a gap either side of the disc's middle. */
.disc-badge.slot-ul[b-yvjsp0bsgk],
.disc-badge.slot-ur[b-yvjsp0bsgk] {
    top: calc(50% - var(--bh) - var(--badge-gap) / 2);
}

.disc-badge.slot-ll[b-yvjsp0bsgk],
.disc-badge.slot-lr2[b-yvjsp0bsgk],
.disc-badge.slot-lr[b-yvjsp0bsgk] {
    bottom: calc(50% - var(--bh) - var(--badge-gap) / 2);
}

.disc-badge.slot-ul[b-yvjsp0bsgk],
.disc-badge.slot-ll[b-yvjsp0bsgk] {
    left: var(--badge-in);
}

.disc-badge.slot-ur[b-yvjsp0bsgk],
.disc-badge.slot-lr[b-yvjsp0bsgk] {
    right: var(--badge-in);
}

.disc-badge.slot-lr2[b-yvjsp0bsgk] {
    right: calc(var(--badge-in) + var(--bh) + var(--badge-gap));
}

.disc-badge.slot-top[b-yvjsp0bsgk] {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.disc-badge.slot-bottom[b-yvjsp0bsgk] {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* The boss mark, drawn inverted (a filled pill, the icon in the base colour) so it never reads as the Recharge
   intent's plain orange flame. */
.disc-boss-mark[b-yvjsp0bsgk] {
    background: var(--color-warning-bright);
    border-color: var(--color-warning-bright);
    color: var(--color-bg-base);
}

/* Your own hero (party battles): the person icon in a gold ring at every density. A word would not fit the top point
   (it is wider than the hex there) and would hide more of the rim than the spec's 8%. */
.disc-you-mark[b-yvjsp0bsgk] {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* One of Garrick's house heroes (house heroes W3, call 7): the seal, a shield in a filled teal medallion, on the top point. */
.disc-house-mark[b-yvjsp0bsgk] {
    background: var(--sc-house);
    border-color: var(--sc-house);
    color: var(--color-bg-base);
}

.disc-ordinal[b-yvjsp0bsgk] {
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
}

.disc-away[b-yvjsp0bsgk] {
    color: var(--color-text-secondary);
}

/* Call for a Potion (16 Nov 2026): the Down hero's potion mark, in the warning amber, beating slowly; still under reduced
   motion (the mark itself is the state). */
.disc-potion-call[b-yvjsp0bsgk] {
    color: var(--color-warning-bright);
    border-color: var(--color-warning-bright);
    animation: disc-potion-call-beat-b-yvjsp0bsgk 1.4s ease-in-out infinite;
}

@keyframes disc-potion-call-beat-b-yvjsp0bsgk {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-warning-bright) 0%, transparent); }
    50% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-warning-bright) 55%, transparent); }
}

/* Barbarian 5e pass W2: Reckless Attack is on. Outlined in the Barbarian's red; filled once the hero attacked recklessly
   this turn (attacks against them have advantage). A state, so no animation. */
.disc-reckless[b-yvjsp0bsgk] {
    color: var(--class-barbarian);
    border-color: var(--class-barbarian);
}

.disc-reckless.is-exposed[b-yvjsp0bsgk] {
    color: var(--color-text-primary);
    background: var(--class-barbarian);
}

/* The intent: the roster's EnemyIntentBadge icons; the kind tints follow its palette. */
.disc-intent.intent-attack[b-yvjsp0bsgk] { color: var(--combat-enemy-lighter); }
.disc-intent.intent-spell[b-yvjsp0bsgk] { color: var(--color-status-control); }
.disc-intent.intent-heal[b-yvjsp0bsgk] { color: var(--combat-heal); }
.disc-intent.intent-buff[b-yvjsp0bsgk],
.disc-intent.intent-defend[b-yvjsp0bsgk] { color: var(--color-info-light); }
.disc-intent.intent-move[b-yvjsp0bsgk] { color: var(--color-text-secondary); }
.disc-intent.intent-recharge[b-yvjsp0bsgk] { color: var(--combat-breath); }

/* The range ("7-14") widens the intent pill inward; it shows at full density only, and never beside a foe's number
   (the two do not fit one row at any disc size). The pill is then a stadium, its icon on the left. */
.disc-intent.has-range[b-yvjsp0bsgk] {
    justify-content: flex-start;
    padding: 0 calc(var(--bh) * 0.12) 0 0;
}

.disc-intent-range[b-yvjsp0bsgk] {
    font-size: calc(var(--bh) * 0.62);
    font-variant-numeric: tabular-nums;
}

.disc[data-has-ordinal] .disc-intent-range[b-yvjsp0bsgk] {
    display: none;
}

.disc[data-has-ordinal] .disc-intent.has-range[b-yvjsp0bsgk] {
    width: var(--bh);
    padding: 0;
    justify-content: center;
}

/* Conditions: harmful squares, round buffs; a dashed rim in the last round. */
.disc-cond[b-yvjsp0bsgk] {
    width: var(--bh);
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
}

.disc-cond .token-hud-status-icon[b-yvjsp0bsgk] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--bh);
    height: var(--bh);
    box-sizing: border-box;
    border: var(--badge-line) solid currentColor;
    background: color-mix(in srgb, var(--color-bg-base) 92%, transparent);
}

.disc-cond.is-harmful .token-hud-status-icon[b-yvjsp0bsgk] { border-radius: 2px; }
.disc-cond.is-beneficial .token-hud-status-icon[b-yvjsp0bsgk] { border-radius: 999px; }

.disc-cond .token-hud-status-icon.is-last-round[b-yvjsp0bsgk] { border-style: dashed; }

.token-hud-status-icon.status-pip-buff[b-yvjsp0bsgk] { color: var(--color-status-buff); }
.token-hud-status-icon.status-pip-debuff[b-yvjsp0bsgk] { color: var(--color-status-debuff); }
.token-hud-status-icon.status-pip-dot[b-yvjsp0bsgk] { color: var(--color-status-dot); }
.token-hud-status-icon.status-pip-cc[b-yvjsp0bsgk] { color: var(--color-status-control); }

/* The rounds and the "+N" overprint the icon's corners, inside its square. */
.disc-cond-rounds[b-yvjsp0bsgk],
.disc-cond-more[b-yvjsp0bsgk] {
    position: absolute;
    font-size: max(calc(6px / var(--bz)), calc(var(--bh) * 0.55));
    line-height: 1;
    color: var(--color-text-primary);
    background: var(--color-bg-base);
    border-radius: 2px;
    padding: 0 var(--badge-line);
}

.disc-cond-rounds[b-yvjsp0bsgk] { right: 0; bottom: 0; }
.disc-cond-more[b-yvjsp0bsgk] { left: 0; top: 0; }

/* The index.js pop / expire hooks (fireTokenHudStatusPop) on the badge itself, whose class attribute Blazor never
   rewrites (the icon's carries its last-round mark). */
.disc-cond.icon-pop[b-yvjsp0bsgk] { animation: discIconPop-b-yvjsp0bsgk 0.32s ease-out; }
.disc-cond.icon-expire[b-yvjsp0bsgk] { animation: discIconExpire-b-yvjsp0bsgk 0.32s ease-in forwards; }

@keyframes discIconPop-b-yvjsp0bsgk {
    0%   { transform: scale(0.4); opacity: 0; }
    70%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); }
}

@keyframes discIconExpire-b-yvjsp0bsgk {
    to { transform: scale(0.4); opacity: 0; }
}

/* The folded conditions: a square harmful count lower right, a round buff count lower left (standard / compact). */
.disc-count[b-yvjsp0bsgk] { display: none; }
.disc-count-harm[b-yvjsp0bsgk] { border-radius: 2px; }
.disc-count-harm.status-pip-cc[b-yvjsp0bsgk] { color: var(--color-status-control); }
.disc-count-harm.status-pip-dot[b-yvjsp0bsgk] { color: var(--color-status-dot); }
.disc-count-harm.status-pip-debuff[b-yvjsp0bsgk] { color: var(--color-status-debuff); }
.disc-count-boon[b-yvjsp0bsgk] { color: var(--color-status-buff); }

/* The companion (heroes: upper left, where a foe's intent goes): the pet's image in a rarity ring at full density, the
   paw icon at standard, hidden at compact. */
.disc-companion[b-yvjsp0bsgk] {
    padding: 0;
    overflow: hidden;
}

.disc-companion-img[b-yvjsp0bsgk] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 999px;
}

.disc-companion-icon[b-yvjsp0bsgk] { display: none; }
.disc-companion.rarity-common[b-yvjsp0bsgk] { border-color: var(--color-rarity-common); }
.disc-companion.rarity-uncommon[b-yvjsp0bsgk] { border-color: var(--color-rarity-uncommon); }
.disc-companion.rarity-rare[b-yvjsp0bsgk] { border-color: var(--color-rarity-rare); }
.disc-companion.rarity-epic[b-yvjsp0bsgk] { border-color: var(--color-rarity-epic); }
.disc-companion.rarity-legendary[b-yvjsp0bsgk] { border-color: var(--color-rarity-legendary); }

/* Pips, sized from --bh and never shrunk (flex: none), so a filled pip and an empty one stay apart at every size:
   death saves are two rows of three (successes over failures) filling the pill's height; legendary actions are one row
   of three. An empty pip is a dim one (a hollow ring would have no inside at these sizes). */
.disc-pips[b-yvjsp0bsgk] {
    --pip: calc(var(--bh) * 0.45);
    gap: var(--badge-gap);
    padding: 0 var(--badge-line);
}

.disc-death-pips[b-yvjsp0bsgk] {
    --pip: calc((var(--bh) - 2 * var(--badge-line) - var(--badge-gap)) / 2);
    display: inline-grid;
    grid-template-columns: repeat(3, var(--pip));
    grid-auto-rows: var(--pip);
    align-content: center;
    border-radius: calc(var(--bh) * 0.3);
}

.disc-pip[b-yvjsp0bsgk] {
    flex: none;
    width: var(--pip);
    height: var(--pip);
    border-radius: 50%;
    background: color-mix(in srgb, currentColor 30%, transparent);
}

.disc-pip.is-filled[b-yvjsp0bsgk] { background: currentColor; }
.disc-pip.pip-success[b-yvjsp0bsgk] { color: var(--combat-good-light); }
.disc-pip.pip-failure[b-yvjsp0bsgk] { color: var(--combat-bad-light); }
.disc-pip.pip-legendary[b-yvjsp0bsgk] { color: var(--color-warning-bright); }

/* Standard and compact death saves: the two counts (successes, then failures after a rule), where six pips would be
   specks of 3px or less. */
.disc-death-count[b-yvjsp0bsgk] {
    display: none;
    font-variant-numeric: tabular-nums;
}

.disc-death-count .is-success[b-yvjsp0bsgk] { color: var(--combat-good-light); }
.disc-death-count .is-failure[b-yvjsp0bsgk] {
    color: var(--combat-bad-light);
    border-left: var(--badge-line) solid color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    padding-left: var(--badge-gap);
}

.disc-odds[b-yvjsp0bsgk] {
    color: var(--aim-eco, var(--color-eco-action));
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Densities (spec 3.3), keyed on the viewport's data-token-density (boardSizing.js, from the drawn disc x zoom).
   full (44px+): every slot, inboard of the rim: condition icons (two harmful squares lower right, a buff lower left),
     the intent with its range (without a number), the companion's picture.
   standard (30-43px): icon-only badges; the conditions fold into two count chips; the paw as an icon.
   compact (under 30px): one middle row: the intent icon on the left, the foe's number on the right (or, without one,
     the harmful count); the boss mark and your own mark at the top; a Down hero's death-save counts at the bottom, and
     no harmful count beside them (W1 live check: on a 16px disc, a 1024 touch raid, the two met; Downed is itself the
     harmful effect, and the heart says it).
   ========================================================================== */
.board-zoom-viewport[data-token-density="full"] .disc[b-yvjsp0bsgk] {
    --bh: min(calc(var(--disc-w, 39px) * 0.23), calc(14px / var(--bz)));
    --badge-in: calc(var(--disc-w, 39px) * 0.13);
}

.board-zoom-viewport[data-token-density="compact"] .disc[b-yvjsp0bsgk] {
    --bh: clamp(calc(7px / var(--bz)), calc(var(--disc-w, 39px) * 0.38), calc(10px / var(--bz)));
    --badge-in: 0px;
}

.board-zoom-viewport[data-token-density="compact"] .disc-badge.slot-ul[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-badge.slot-ur[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-badge.slot-lr[b-yvjsp0bsgk] {
    top: calc(50% - var(--bh) / 2);
    bottom: auto;
}

.board-zoom-viewport[data-token-density="standard"] .disc-intent-range[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-intent-range[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="standard"] .disc-cond[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-cond[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="standard"] .disc-companion-img[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-companion[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-count-boon[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-legendary-pips[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="standard"] .disc-death-pips[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-death-pips[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-odds[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-away[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc[data-has-ordinal] .disc-count-harm[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc.token-downed .disc-count-harm[b-yvjsp0bsgk] {
    display: none;
}

.board-zoom-viewport[data-token-density="standard"] .disc-count[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-count-harm[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="standard"] .disc-companion-icon[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="standard"] .disc-death-count[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-death-count[b-yvjsp0bsgk] {
    display: inline-flex;
}

/* Outside full density the intent is an icon: its pill closes back to a circle. */
.board-zoom-viewport[data-token-density="standard"] .disc-intent.has-range[b-yvjsp0bsgk],
.board-zoom-viewport[data-token-density="compact"] .disc-intent.has-range[b-yvjsp0bsgk] {
    width: var(--bh);
    padding: 0;
    justify-content: center;
}

/* ==========================================================================
   Reduced motion: every state is static. The rim transition, the rise transition, the icon pops and the reaction ring
   are off; the states themselves stay.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .disc-potion-call[b-yvjsp0bsgk] {
        animation: none;
    }

    .disc[b-yvjsp0bsgk],
    .disc-rim[b-yvjsp0bsgk],
    .disc[data-hp-dir="heal"] .disc-rim[b-yvjsp0bsgk] {
        transition: none;
    }

    /* No ghost chunk: the rim jumps to the new value (the state stays, the motion goes). */
    .disc-rim[b-yvjsp0bsgk] {
        --ghost: transparent;
    }

    .disc-crack[b-yvjsp0bsgk],
    .disc.token-downed:not(.token-defeated) .disc-halo[b-yvjsp0bsgk],
    .disc.token-downed.down-stable:not(.token-defeated) .disc-halo[b-yvjsp0bsgk] {
        animation: none;
    }

    .hex-token-anchor.token-reaction-mark .disc-halo[b-yvjsp0bsgk],
    .disc-cond.icon-pop[b-yvjsp0bsgk],
    .disc-cond.icon-expire[b-yvjsp0bsgk] {
        animation: none;
    }
}
/* /Components/Combat/Board/TokenLiftCard.razor.rz.scp.css */
/* ==========================================================================
   TokenLiftCard: the lift card beside a disc (hex disc spec 3.8)
   It lives in the token's anchor (the disc's box, ZoneBattlefieldHex.razor.css). Hidden by default; shown on hover
   (inside (hover: hover), so a tap never leaves it stuck), on keyboard focus, and always for the one token the board
   keeps open (is-open: the armed target, else the selected foe; W1d, one card at a time, below). The anchor of a shown
   card rises to z-index 4 in the board's sheet, above the front VFX wrapper
   (z-index 1): the token layer and the overlay create no stacking context, so the anchor competes with the wrapper
   directly. pointer-events: none, so a card over a neighbour never takes that neighbour's click or the board's pan.
   On phones (compact density and a coarse pointer) the card is not used: the target panels show the selected target.
   Tokens only (design-system.css); no glyph in content; no Unicode.
   ========================================================================== */

.lift-card[b-nb86tqyjen] {
    display: none;
    position: absolute;
    z-index: 6;
    top: 50%;
    left: calc(100% + 6px);
    transform: translateY(-50%);
    box-sizing: border-box;
    width: clamp(140px, 11rem, 200px);
    max-height: calc(var(--board-h-px, 320px) * 0.66);
    overflow: hidden;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    /* Fully opaque (W1d): nothing under the card, a token or the board, shows through its text. */
    background: var(--color-bg-base);
    box-shadow: var(--shadow-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: normal;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    animation: liftCardFade-b-nb86tqyjen 120ms ease-out;
}

/* ---- Placement (spec 3.8): toward the board's centre; down from the top third, up from the bottom third. The card
   never covers its own disc. The placement classes have their own prefix (lift-place-): no line class may share a
   name with them, or a line's rule would style the whole card (TokenDiscCssTests checks it). ---- */
.lift-card.lift-place-left[b-nb86tqyjen] {
    left: auto;
    right: calc(100% + 6px);
}

.lift-card.lift-place-down[b-nb86tqyjen] {
    top: 0;
    transform: none;
}

.lift-card.lift-place-up[b-nb86tqyjen] {
    top: auto;
    bottom: 0;
    transform: none;
}

/* The fight camera (hex disc W1d) and the lift card. The card lives in the zoomed box, so at a 2.5x camera it would be
   drawn 2.5 times its size: it counter-scales by the zoom (--board-zoom, boardSizing.js) and keeps its on-screen size,
   as the disc's badges keep theirs. The individual scale property composes after the card's own transform (translate,
   rotate, scale, then transform), so the origin is the card's edge at the disc: the anchor's centre line for a centred
   card, its top or bottom for a card that opens down or up, its left or right side by the side it opens to. The card's
   placement classes (lift-place-*) place it by the token's spot on the BOARD; under a zoomed camera the board's left
   half can be the screen's right, so the camera writes the side for the SCREEN on the anchor (data-lift-x / -y,
   boardCamera.js placeLift: as the pointer or focus reaches a token, and for open cards when a move settles). Blazor
   never renders those attributes, so a re-render keeps them. */
.lift-card[b-nb86tqyjen] {
    scale: calc(1 / var(--board-zoom, 1));
    transform-origin: var(--lift-ox, 0%) var(--lift-oy, 0%);
}

.lift-card.lift-place-left[b-nb86tqyjen] {
    --lift-ox: 100%;
}

.lift-card.lift-place-up[b-nb86tqyjen] {
    --lift-oy: 100%;
}

.hex-token-anchor[data-lift-x="right"] .lift-card[b-nb86tqyjen] {
    left: calc(100% + 6px);
    right: auto;
    --lift-ox: 0%;
}

.hex-token-anchor[data-lift-x="left"] .lift-card[b-nb86tqyjen] {
    left: auto;
    right: calc(100% + 6px);
    --lift-ox: 100%;
}

.hex-token-anchor[data-lift-y="mid"] .lift-card[b-nb86tqyjen] {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    --lift-oy: 0%;
}

.hex-token-anchor[data-lift-y="down"] .lift-card[b-nb86tqyjen] {
    top: 0;
    bottom: auto;
    transform: none;
    --lift-oy: 0%;
}

.hex-token-anchor[data-lift-y="up"] .lift-card[b-nb86tqyjen] {
    top: auto;
    bottom: 0;
    transform: none;
    --lift-oy: 100%;
}

/* ---- When it shows ---- */
.lift-card.is-open[b-nb86tqyjen] {
    display: block;
}

@media (hover: hover) {
    .hex-token-anchor:hover .lift-card[b-nb86tqyjen] {
        display: block;
    }
}

.hex-token-anchor:has(:focus-visible) .lift-card[b-nb86tqyjen] {
    display: block;
}

/* ---- One card at a time (W1d). The board keeps at most one card open (TokenDiscModelBuilder.LiftOwnerFor: the armed
   target, else the selected foe). The token being pointed at outranks it: while any anchor that has a card is
   keyboard-focused, every other anchor's card hides; while one is hovered (a mouse only), every other card hides, the
   focused one's too, and the hovered card shows. :has() on the token layer, no script, no round trip. Only a token
   that has a card can take focus (a defeated foe's button is disabled) and only an anchor with a card counts for
   hover, so pointing at a corpse hides nothing. ---- */
.board-token-layer:has(.hex-token-anchor :focus-visible) .hex-token-anchor:not(:has(:focus-visible)) .lift-card[b-nb86tqyjen] {
    display: none;
}

@media (hover: hover) {
    .board-token-layer:has(.hex-token-anchor:not([data-lift-still]):hover .lift-card) .hex-token-anchor:not(:hover) .lift-card[b-nb86tqyjen] {
        display: none;
    }

    .board-token-layer:has(.hex-token-anchor:not([data-lift-still]):hover .lift-card) .hex-token-anchor:hover .lift-card[b-nb86tqyjen] {
        display: block;
    }
}

/* ---- Closing an open card (hex disc W1g, the owner's playtest: "an 'x' to close them or toggle closed when I click
   on them again"). The open card (is-open) has a close control in its top right corner, the only part of the card that
   takes a pointer. The board closes the card (LiftCardDismissal), and a click on the selected foe's disc toggles it.
   While the pointer still rests on the token its hover rule would show the card again at once, so boardCamera.js marks
   the anchor data-lift-hush for that click (the close control, or a click on a token whose card is open) and drops the
   mark when the pointer or focus leaves the token: a hushed anchor shows only an open card. Blazor never renders the
   attribute. ---- */
.lift-card.is-open[b-nb86tqyjen] {
    padding-right: 26px;
}

.lift-close[b-nb86tqyjen] {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    pointer-events: auto;
    touch-action: manipulation;
}

.lift-close .material-icons[b-nb86tqyjen] {
    font-size: var(--ct-lg);
    line-height: 1;
}

@media (hover: hover) {
    .lift-close:hover[b-nb86tqyjen] {
        color: var(--color-text-primary);
        border-color: var(--color-border-base);
        background: var(--color-bg-elevated);
    }
}

.lift-close:focus-visible[b-nb86tqyjen] {
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
    color: var(--color-text-primary);
}

@media (pointer: coarse) {
    .lift-card.is-open[b-nb86tqyjen] {
        padding-right: 46px;
    }

    .lift-close[b-nb86tqyjen] {
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
    }

    .lift-close .material-icons[b-nb86tqyjen] {
        font-size: var(--ct-2xl);
    }
}

.hex-token-anchor[data-lift-hush] .lift-card:not(.is-open)[b-nb86tqyjen] {
    display: none;
}

@media (hover: hover) {
    .board-token-layer:has(.hex-token-anchor:hover .lift-card) .hex-token-anchor[data-lift-hush]:hover .lift-card:not(.is-open)[b-nb86tqyjen] {
        display: none;
    }
}

/* ---- A hover card only for a token the pointer moved onto (hotfix 15 Nov 2026, the tester's "the creature info
   hovers kept opening on their own"). A token that slides under a pointer at rest (the camera framing a turn, a monster
   walking its route) gets the browser's hover all the same; boardCamera.js marks its anchor data-lift-still (a
   mouseover at the pointer's last position) until the pointer moves or leaves the token. A still anchor shows only an
   OPEN card, and it does not hide the open card of another token (the :has rules above skip it). It never hides the card
   of a token that holds keyboard focus. Blazor never renders the attribute. ---- */
.hex-token-anchor[data-lift-still]:not(:has(:focus-visible)) .lift-card:not(.is-open)[b-nb86tqyjen] {
    display: none;
}

@media (hover: hover) {
    .board-token-layer:has(.hex-token-anchor:hover .lift-card) .hex-token-anchor[data-lift-still]:not(:has(:focus-visible)):hover .lift-card:not(.is-open)[b-nb86tqyjen] {
        display: none;
    }
}

/* While an effect plays on the token the card is faded out; its close control takes no pointer then. */
.hex-token-anchor[data-fx-busy] .lift-close[b-nb86tqyjen] {
    pointer-events: none;
}

@media (forced-colors: active) {
    .lift-close[b-nb86tqyjen] {
        border-color: ButtonText;
        color: ButtonText;
    }
}

/* ---- The card steps aside while an effect plays on its token (hex disc W1g): combat/index.js marks the anchor
   data-fx-busy for the event's timeline (vfx/fxLiftAside.js), so a Fireball's blast, its number and a shatter are not
   played under the card of the target the cursor rests on. Opacity only (the card keeps its place and the one-card
   rule above still decides which card may show); it fades out in 120ms and back in when the attribute goes. Blazor
   never renders the attribute. ---- */
.lift-card[b-nb86tqyjen] {
    transition: opacity 120ms ease-out;
}

.hex-token-anchor[data-fx-busy] .lift-card[b-nb86tqyjen] {
    opacity: 0;
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .lift-card[b-nb86tqyjen] {
        transition: none;
    }
}

/* Phones: compact density with a coarse pointer never shows it (the phone and tablet target panels do). */
@media (pointer: coarse) {
    .board-zoom-viewport[data-token-density="compact"] .hex-token-anchor .lift-card[b-nb86tqyjen] {
        display: none;
    }
}

/* ---- Lines ---- */
.lift-card.has-class[b-nb86tqyjen] {
    border-left: 3px solid var(--lift-class, var(--color-border-base));
}

.lift-revive[b-nb86tqyjen] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: 2px;
    color: var(--aim-eco, var(--combat-heal));
    font-weight: var(--font-weight-bold);
}

.lift-name[b-nb86tqyjen] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-light);
    overflow-wrap: anywhere;
}

.lift-class-icon[b-nb86tqyjen] {
    color: color-mix(in srgb, var(--lift-class, var(--color-text-secondary)) 70%, var(--color-text-primary));
}

.lift-boss-icon[b-nb86tqyjen] {
    color: var(--color-warning-bright);
}

.lift-kind[b-nb86tqyjen],
.lift-condition-source[b-nb86tqyjen],
.lift-hint[b-nb86tqyjen] {
    color: var(--color-text-secondary);
}

/* Garrick's house hero (house heroes W3): the card names the house, in its teal. */
.lift-house[b-nb86tqyjen] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--sc-house-ink);
}

.lift-house .material-icons[b-nb86tqyjen] {
    font-size: 1.1em;
}

.lift-hp[b-nb86tqyjen] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    font-variant-numeric: tabular-nums;
}

.lift-hp.hp-high .lift-hp-numbers[b-nb86tqyjen] { color: var(--combat-hp-high); }
.lift-hp.hp-mid .lift-hp-numbers[b-nb86tqyjen] { color: var(--combat-hp-mid); }
.lift-hp.hp-low .lift-hp-numbers[b-nb86tqyjen] { color: var(--combat-hp-low); }

.lift-hp-word[b-nb86tqyjen] {
    color: var(--color-text-secondary);
}

.lift-line[b-nb86tqyjen],
.lift-reason[b-nb86tqyjen] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    overflow-wrap: anywhere;
}

.lift-reason[b-nb86tqyjen] {
    color: var(--combat-bad-light);
}

.lift-card .material-icons[b-nb86tqyjen] {
    flex: 0 0 auto;
    font-size: var(--ct-base);
    line-height: 1.2;
}

.lift-intent.intent-attack .material-icons[b-nb86tqyjen] { color: var(--combat-enemy-lighter); }
.lift-intent.intent-spell .material-icons[b-nb86tqyjen] { color: var(--color-status-control); }
.lift-intent.intent-heal .material-icons[b-nb86tqyjen] { color: var(--combat-heal); }
.lift-intent.intent-buff .material-icons[b-nb86tqyjen],
.lift-intent.intent-defend .material-icons[b-nb86tqyjen] { color: var(--color-info-light); }
.lift-intent.intent-recharge .material-icons[b-nb86tqyjen] { color: var(--combat-breath); }

.lift-death .material-icons[b-nb86tqyjen] { color: var(--combat-bad-lighter); }
.lift-away .material-icons[b-nb86tqyjen] { color: var(--color-text-secondary); }

.lift-conditions[b-nb86tqyjen] {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.lift-condition + .lift-condition[b-nb86tqyjen] {
    margin-top: 2px;
}

.lift-condition-head[b-nb86tqyjen] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.lift-condition-icon[b-nb86tqyjen] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: 1px solid currentColor;
}

.lift-condition-icon .material-icons[b-nb86tqyjen] {
    font-size: var(--ct-sm);
}

.lift-condition-icon.is-harmful[b-nb86tqyjen] { border-radius: 2px; }
.lift-condition-icon.is-beneficial[b-nb86tqyjen] { border-radius: 999px; }
.lift-condition-icon.status-pip-buff[b-nb86tqyjen] { color: var(--color-status-buff); }
.lift-condition-icon.status-pip-debuff[b-nb86tqyjen] { color: var(--color-status-debuff); }
.lift-condition-icon.status-pip-dot[b-nb86tqyjen] { color: var(--color-status-dot); }
.lift-condition-icon.status-pip-cc[b-nb86tqyjen] { color: var(--color-status-control); }

.lift-condition-name[b-nb86tqyjen] {
    font-weight: var(--font-weight-semibold);
}

.lift-condition-duration[b-nb86tqyjen] {
    margin-left: auto;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.lift-condition-desc[b-nb86tqyjen] {
    padding-left: 18px;
    overflow-wrap: anywhere;
}

.lift-condition-source[b-nb86tqyjen] {
    padding-left: 18px;
}

.lift-hint[b-nb86tqyjen] {
    margin-top: 2px;
    font-style: italic;
}

@keyframes liftCardFade-b-nb86tqyjen {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Reduced motion: the card shows at once (no fade). */
@media (prefers-reduced-motion: reduce) {
    .lift-card[b-nb86tqyjen] {
        animation: none;
    }
}

/* Forced colours: a plain framed card. */
@media (forced-colors: active) {
    .lift-card[b-nb86tqyjen] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/Combat/Coaching/CoachCard.razor.rz.scp.css */
/* The instructor card (the guided first adventure, owner 16 Nov 2026). A small card at the board's bottom-left, just
   above the action bar. Two boxes: the SLOT is the one live region the screen reader hears (it is always in the page, so
   its status role exists before a line arrives; it has no size while it is empty) and carries the tier and the lift; the
   CARD inside it is what a line draws, keyed on the line so a new one replays the entrance.

   The slot is absolutely placed in the board's cell (desktop .combat-zone-col, tablet .tablet-hud-board, phone
   .phone-hud-board, each position: relative), so it takes no row of the layout and the board never resizes when a line
   comes and goes. It takes no pointer anywhere (pointer-events: none): the hexes and tokens under it still take every
   click and tap. Above the board's movement hint pill (desktop: --board-hint-lane, declared on the cell so the slot
   inherits it) and the touch tiers' corner controls. The fight camera keeps the strip it covers out of its free area, so
   the hero's token and the lit hexes a line points at are never under it: each tier's layout declares that lane
   (--board-coach-lane, px, while the battle is coached; boardCamera.js laneFor) as the card's distance from the bottom
   plus two lines of its height. The lane is declared for the whole battle, not measured per line, so the board never
   moves as lines come and go. Tokens only, no width query (each tier has its own class), ASCII only; a new line slides in
   and its frame glows twice, none under reduced motion. Its words follow the combat text size (--ct-*). */

.coach-card-slot[b-cxgdp8yg2s] {
    position: absolute;
    z-index: 38;
    left: 10px;
    /* the hint pill and its lane grow with the text size (22px * --ct-box; boardCamera.js laneFor), so the card
       keeps its 8px above the pill at every size */
    bottom: calc(var(--board-hint-lane, 26px) * var(--ct-box) + 8px);
    max-width: min(440px, calc(100% - 80px));
    pointer-events: none;
}

.coach-card[b-cxgdp8yg2s] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-sizing: border-box;
    padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-sm);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg,
            color-mix(in srgb, var(--color-primary) 12%, var(--color-bg-base)),
            var(--color-bg-base));
    box-shadow:
        0 0 14px color-mix(in srgb, var(--color-primary) 22%, transparent),
        var(--shadow-md);
    pointer-events: none;
    /* A new line slides in, then the frame glows twice so the eye finds it (the owner missed the old hint text). */
    animation:
        coach-card-in-b-cxgdp8yg2s 260ms ease-out both,
        coach-card-glow-b-cxgdp8yg2s 1100ms ease-in-out 260ms 2;
}

/* The portrait: the instructor's art in a gold ring, a Material icon behind it while it loads (or if it is missing). */
.coach-card-portrait[b-cxgdp8yg2s] {
    position: relative;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: var(--color-bg-base);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.coach-card-portrait-fallback[b-cxgdp8yg2s] {
    color: var(--color-primary-light);
    font-size: calc(var(--ct-md) * 2);
}

.coach-card-portrait-img[b-cxgdp8yg2s] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.coach-card-body[b-cxgdp8yg2s] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.coach-card-head[b-cxgdp8yg2s] {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.coach-card-name[b-cxgdp8yg2s] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
}

.coach-card-bout[b-cxgdp8yg2s] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.coach-card-line[b-cxgdp8yg2s] {
    font-size: var(--ct-base);
    line-height: 1.35;
    color: var(--color-text-primary);
}

/* Tablet: above the board's touch controls (44px buttons at the bottom-left corner). */
.coach-card-slot.coach-card--tablet[b-cxgdp8yg2s] {
    bottom: 62px;
    max-width: min(420px, calc(100% - 24px));
}

/* A move bar waits at the board's bottom (ZoneBattlefieldHex .board-move-confirm, 60px from the board's bottom and
   about 85px tall): a picked hex's confirm, or, on the confirm-to-move tiers, the Undo that holds its spot after a move.
   The card rises above it instead of hiding its "Disengage first" or its Undo. The phone's bar is at the top of the
   board, so the phone's card stays put. */
.coach-card-slot.is-lifted[b-cxgdp8yg2s] {
    /* the bar's 60px offset, then its height and 8px of air: the height grows with the text size (its words are --ct-*
       tokens), so 156px at Medium */
    bottom: calc(68px + 88px * var(--ct-box));
}

/* Phone held sideways: smaller, above the board's bottom edge, at most two lines of words. The bout is kept for the screen
   reader, drawn to no one. */
.coach-card-slot.coach-card--phone[b-cxgdp8yg2s] {
    left: 6px;
    bottom: 34px;
    max-width: min(360px, calc(100% - 12px));
}

.coach-card--phone .coach-card[b-cxgdp8yg2s] {
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-xs);
}

.coach-card--phone .coach-card-portrait[b-cxgdp8yg2s] {
    width: 32px;
    height: 32px;
}

.coach-card--phone .coach-card-portrait-fallback[b-cxgdp8yg2s] {
    font-size: var(--ct-xl);
}

.coach-card--phone .coach-card-bout[b-cxgdp8yg2s] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.coach-card--phone .coach-card-line[b-cxgdp8yg2s] {
    font-size: var(--ct-sm);
    line-height: 1.3;
}

/* Grown text (readable game text, Large and Extra large) on the phone held sideways. The board is about 210px tall there and
   the words are 14 to 17px, so the card above (his name on a row of its own, 360px wide, three to four lines) was 80px
   tall at Extra large and sat over the lowest rows of the lit hexes, the very hexes a line like "Tap a lit hex" points at
   (the camera never leaves less than 40% of the stage free, so its coach lane gives way on a stage this short). The same
   words, laid out flat: his name runs into the line instead of heading it, the card is wider (every line is two lines at
   most, 46px tall at Extra large; it stays clear of the board's touch controls at the right) and the portrait is smaller.
   The bout stays drawn to no one, as above, and the screen reader still hears name, bout and line in order. */
:root.game-text-grown .coach-card-slot.coach-card--phone[b-cxgdp8yg2s] {
    max-width: min(520px, calc(100% - 160px));
}

:root.game-text-grown .coach-card--phone .coach-card[b-cxgdp8yg2s] {
    gap: 6px;
    padding: 2px var(--space-sm) 2px 2px;
}

:root.game-text-grown .coach-card--phone .coach-card-portrait[b-cxgdp8yg2s] {
    width: 28px;
    height: 28px;
}

:root.game-text-grown .coach-card--phone .coach-card-body[b-cxgdp8yg2s] {
    display: block;
    line-height: 1.25;
}

:root.game-text-grown .coach-card--phone .coach-card-head[b-cxgdp8yg2s] {
    display: inline;
}

:root.game-text-grown .coach-card--phone .coach-card-name[b-cxgdp8yg2s] {
    margin-right: var(--space-sm);
}

:root.game-text-grown .coach-card--phone .coach-card-line[b-cxgdp8yg2s] {
    line-height: 1.25;
}

@keyframes coach-card-in-b-cxgdp8yg2s {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes coach-card-glow-b-cxgdp8yg2s {
    0%, 100% {
        box-shadow:
            0 0 14px color-mix(in srgb, var(--color-primary) 22%, transparent),
            var(--shadow-md);
    }

    50% {
        box-shadow:
            0 0 26px color-mix(in srgb, var(--color-primary) 60%, transparent),
            var(--shadow-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .coach-card[b-cxgdp8yg2s] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .coach-card[b-cxgdp8yg2s] {
        border: 1px solid CanvasText;
        background: Canvas;
        forced-color-adjust: auto;
    }

    .coach-card-portrait[b-cxgdp8yg2s] {
        border-color: CanvasText;
    }
}
/* /Components/Combat/CombatActionBanner.razor.rz.scp.css */
/* ===== COMBAT ACTION BANNER =====
 *
 * Polish item 6 — Positioning verification (Cluster 2 / Phase 8b follow-up).
 *
 * The banner uses position:fixed relative to the viewport (NOT to the combat
 * grid), so the new map-anchored geometry (Wide / Desktop / Tablet / Mobile)
 * does not affect its placement. It floats above ALL layout tiers.
 *
 * Vertical anchor: `top: 80px` clears the global MudAppBar (Dense=false ≈ 64px
 * tall, fixed at viewport top), leaving ~16px breathing room. The 599px
 * media-query bump to 120px clears the taller mobile header stack which can
 * grow when secondary controls wrap onto a second row.
 *
 * Horizontal: centered via `left: 50%; translateX(-50%)`. Transient, so
 * z-index: 1500 sits above layout content but below modal overlays (≥2000).
 *
 * VERIFIED on Wide (1920+), Desktop (1280-1919), Tablet, and Mobile — banner
 * appears at the same viewport-relative spot in all four tiers, never overlaps
 * the log column or the bottom action row.
 */

.combat-action-banner[b-7pxstjwh39] {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    pointer-events: none;
    animation: banner-enter-b-7pxstjwh39 0.3s ease-out, banner-exit-b-7pxstjwh39 0.4s ease-in 1.6s forwards;
    max-width: 90vw;
    width: max-content;
}

.banner-content[b-7pxstjwh39] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--ct-lg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Variants */
.banner-player .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, color-mix(in srgb, var(--combat-good) 90%, transparent), color-mix(in srgb, var(--combat-good-deep) 85%, transparent));
    border: 2px solid color-mix(in srgb, var(--combat-good-light) 60%, transparent);
    color: #ffffff;
}

.banner-enemy .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, color-mix(in srgb, var(--combat-bad) 90%, transparent), color-mix(in srgb, var(--combat-bad-darker) 85%, transparent));
    border: 2px solid color-mix(in srgb, var(--combat-bad-light) 60%, transparent);
    color: #ffffff;
}

.banner-healing-type .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, color-mix(in srgb, var(--combat-heal-dark) 90%, transparent), color-mix(in srgb, var(--combat-good-deep) 85%, transparent));
    border: 2px solid color-mix(in srgb, var(--combat-heal-light) 60%, transparent);
    color: #ffffff;
}

.banner-miss .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.85), rgba(71, 85, 105, 0.8));
    border: 2px solid rgba(148, 163, 184, 0.4);
    color: #cbd5e1;
}

.banner-crit .banner-content[b-7pxstjwh39],
.combat-action-banner.is-critical .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(217, 119, 6, 0.9));
    border: 2px solid rgba(251, 191, 36, 0.8);
    color: #ffffff;
    animation: banner-crit-glow-b-7pxstjwh39 0.6s ease-in-out 2;
}

.banner-item .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.9), rgba(8, 145, 178, 0.85));
    border: 2px solid rgba(103, 232, 249, 0.6);
    color: #ffffff;
}

.banner-status .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.85));
    border: 2px solid rgba(167, 139, 250, 0.6);
    color: #ffffff;
}

.banner-ability .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.9), rgba(219, 39, 119, 0.85));
    border: 2px solid rgba(244, 114, 182, 0.6);
    color: #ffffff;
}

/* Multiplayer: the local player's turn (gold, the theme accent). */
.banner-your-turn .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.95), rgba(184, 134, 11, 0.92));
    border: 2px solid var(--color-primary);
    color: var(--color-bg-base);
    text-shadow: none;
    font-size: var(--ct-xl);
    letter-spacing: 0.06em;
}

/* Multiplayer: an ally acted (quiet, so it never competes with your own actions). */
.banner-ally .banner-content[b-7pxstjwh39] {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--ct-base);
    padding: 6px 16px;
}

.banner-info .banner-content[b-7pxstjwh39] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.85));
    border: 2px solid rgba(96, 165, 250, 0.6);
    color: #ffffff;
}

/* Labels */
.banner-crit-label[b-7pxstjwh39] {
    color: #fef3c7;
    font-size: var(--ct-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.banner-miss-label[b-7pxstjwh39] {
    color: #e2e8f0;
    font-size: var(--ct-base);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.banner-message[b-7pxstjwh39] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-damage[b-7pxstjwh39] {
    color: var(--combat-bad-lighter);
    font-weight: 700;
    font-size: var(--ct-xl);
}

.banner-healing[b-7pxstjwh39] {
    color: var(--combat-good-lighter);
    font-weight: 700;
    font-size: var(--ct-xl);
}

/* Animations */
@keyframes banner-enter-b-7pxstjwh39 {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes banner-exit-b-7pxstjwh39 {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes banner-crit-glow-b-7pxstjwh39 {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.6);
    }
}

/* Mobile adjustments */
@media (max-width: 599px) {
    .combat-action-banner[b-7pxstjwh39] {
        top: 120px;
        max-width: 95vw;
    }

    .banner-content[b-7pxstjwh39] {
        font-size: var(--ct-base);
        padding: 8px 16px;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .combat-action-banner[b-7pxstjwh39] {
        animation: none;
        opacity: 1;
    }
    .banner-crit .banner-content[b-7pxstjwh39],
    .combat-action-banner.is-critical .banner-content[b-7pxstjwh39] {
        animation: none;
    }
}
/* /Components/Combat/CombatActionsPanel.razor.rz.scp.css */
/* ============================================================
   COMBAT ACTIONS PANEL — Fantasy RPG Design
   BG3-inspired action bar with gold accents & class theming
   ============================================================ */

/* ===== PANEL CONTAINER ===== */
.combat-actions-panel[b-x875gdys2p] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(160deg, rgba(18, 24, 42, 0.97) 0%, rgba(8, 12, 24, 0.99) 100%);
    border-radius: 12px;
    border: 1px solid var(--color-border-hover);
    border-top: 3px solid rgba(255, 215, 0, 0.5);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 215, 0, 0.08);
}

/* ===== PLAYER TURN GLOW (active state) ===== */
.combat-actions-panel:not(.locked)[b-x875gdys2p] {
    border-top-color: rgba(255, 215, 0, 0.75);
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.6),
        0 0 18px rgba(255, 215, 0, 0.15),
        inset 0 1px 0 rgba(255, 215, 0, 0.12);
    animation: panelTurnGlow-b-x875gdys2p 2.5s ease-in-out infinite;
}

@keyframes panelTurnGlow-b-x875gdys2p {
    0%, 100% {
        box-shadow:
            0 6px 24px rgba(0, 0, 0, 0.6),
            0 0 12px rgba(255, 215, 0, 0.1),
            inset 0 1px 0 rgba(255, 215, 0, 0.08);
    }
    50% {
        box-shadow:
            0 6px 24px rgba(0, 0, 0, 0.6),
            0 0 28px rgba(255, 215, 0, 0.22),
            inset 0 1px 0 rgba(255, 215, 0, 0.15);
    }
}

/* ===== LOCKED STATE (not player's turn) ===== */
.combat-actions-panel.locked[b-x875gdys2p] {
    border-top-color: rgba(148, 163, 184, 0.25);
    border-color: var(--color-border-subtle);
    animation: none;
}

.combat-actions-panel.locked .action-section-header[b-x875gdys2p] {
    color: var(--color-text-secondary);
}

.combat-actions-panel.locked .action-section-header[b-x875gdys2p]::after {
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.15), transparent);
}

.combat-actions-panel.locked .actions-panel-header[b-x875gdys2p]::before,
.combat-actions-panel.locked .actions-panel-header[b-x875gdys2p]::after {
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.combat-actions-panel.locked .actions-panel-title[b-x875gdys2p] {
    color: var(--color-text-secondary);
    letter-spacing: 0.12em;
}

/* ===== PANEL HEADER ===== */
.actions-panel-header[b-x875gdys2p] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}

.actions-panel-header[b-x875gdys2p]::before,
.actions-panel-header[b-x875gdys2p]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border-active), transparent);
}

.actions-panel-title[b-x875gdys2p] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    color: rgba(255, 215, 0, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

/* ===== SECTION CONTAINER ===== */
.action-section[b-x875gdys2p] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ===== SECTION HEADERS ===== */
.action-section-header[b-x875gdys2p] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    color: rgba(255, 215, 0, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-bottom: 4px;
}

.action-section-header[b-x875gdys2p]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-border-hover), transparent);
}

/* ===== BUTTON GRID ===== */
.action-buttons[b-x875gdys2p] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Phase 5/8b fix: the legacy desktop grid stretch
   (`.combat-actions-panel.desktop .basic-actions .action-buttons` with
   `grid-template-columns: repeat(auto-fit, minmax(88px, 1fr))`) has 4-class
   specificity. Earlier Phase 5 override had only 2 — it lost the cascade.
   These selectors match or exceed the legacy specificity so the override
   actually wins, AND the !important on display protects against any future
   selector resurrecting the grid stretch.

   Without this fix, in Phase 8b's wider middle column, the AbilityCard cells
   stretched to 1fr (~250px each), the panel grew very tall, and the auto-sized
   bottom row crushed the hex grid down to almost nothing. */
.combat-actions-panel.desktop .basic-actions .action-buttons.ability-card-row[b-x875gdys2p],
.combat-actions-panel.desktop .class-features .action-buttons.ability-card-row[b-x875gdys2p],
.combat-actions-panel.desktop .spell-row .action-buttons.spell-card-row[b-x875gdys2p],
.combat-actions-panel .action-section .action-buttons.ability-card-row[b-x875gdys2p],
.combat-actions-panel .action-section .action-buttons.spell-card-row[b-x875gdys2p] {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    grid-template-columns: none !important;
    gap: 8px;
}

.combat-actions-panel .action-buttons.ability-card-row > .ability-card[b-x875gdys2p],
.combat-actions-panel .action-buttons.spell-card-row > .spell-card-mini[b-x875gdys2p],
.combat-actions-panel .action-buttons.spell-card-row > .spell-card[b-x875gdys2p] {
    flex: 0 0 auto !important;
    align-self: flex-start !important;
}

/* Phase 8b fix: cap the action panel's height inside the bottom row so it
   can't grow tall enough to crush the hex grid. Internal scroll is fine —
   the spell row may have many cards but they wrap. */
.combat-bottom-row .combat-actions-panel.desktop[b-x875gdys2p] {
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
}

/* Horizontal-scroll variant — used by the merged Actions + Class Features row
   so the row stays one line tall and overflow scrolls horizontally instead of
   wrapping into multiple rows (which would push the spell row + the hex grid
   below it down). Spell row keeps the wrapping behavior. */
.action-buttons.ability-card-row.ability-card-row--scroll[b-x875gdys2p],
.combat-actions-panel .action-section .action-buttons.ability-card-row.ability-card-row--scroll[b-x875gdys2p] {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;          /* let card hover popovers escape vertically */
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.4) transparent;
    padding-bottom: 4px;          /* breathing room for scrollbar */
}

.action-buttons.ability-card-row--scroll > .ability-card[b-x875gdys2p] {
    scroll-snap-align: start;
}

.action-buttons.ability-card-row--scroll[b-x875gdys2p]::-webkit-scrollbar { height: 6px; }
.action-buttons.ability-card-row--scroll[b-x875gdys2p]::-webkit-scrollbar-track { background: transparent; }
.action-buttons.ability-card-row--scroll[b-x875gdys2p]::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.35);
    border-radius: 3px;
}
.action-buttons.ability-card-row--scroll[b-x875gdys2p]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.55);
}

/* Vertical-rule divider chip between Basic Actions and Class Features */
.ability-row-divider[b-x875gdys2p] {
    flex: 0 0 auto;
    width: 1px;
    align-self: stretch;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 215, 0, 0.35) 30%,
        rgba(255, 215, 0, 0.35) 70%,
        transparent 100%
    );
    margin: 4px 6px;
    pointer-events: none;
}

/* ===== BASE ACTION BUTTON ===== */
.action-btn[b-x875gdys2p] {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    min-width: 80px;
    min-height: unset;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: linear-gradient(160deg, rgba(25, 33, 55, 0.9), rgba(12, 16, 32, 0.95));
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
}

.action-btn:hover:not(:disabled)[b-x875gdys2p] {
    transform: translateY(-3px);
    color: #fff;
}

.action-btn:active:not(:disabled)[b-x875gdys2p] {
    transform: translateY(0) scale(0.97);
}

.action-btn:disabled[b-x875gdys2p] {
    opacity: 0.32;
    cursor: not-allowed;
    filter: grayscale(50%);
}

/* ===== ICON SIZING ===== */
.action-btn :deep(.mud-icon-root)[b-x875gdys2p] {
    font-size: var(--ct-xl);
    transition: transform 0.18s ease;
}

.action-btn:hover:not(:disabled) :deep(.mud-icon-root)[b-x875gdys2p] {
    transform: scale(1.12);
}

/* ===== PRIMARY ACTIONS — Attack / Spell / Item ===== */

.action-btn.primary.attack[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(160, 28, 28, 0.45), rgba(90, 10, 10, 0.55));
    border-color: rgba(239, 68, 68, 0.45);
    color: var(--color-danger-lighter);
}

.action-btn.primary.attack:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(210, 40, 40, 0.6), rgba(130, 15, 15, 0.65));
    border-color: rgba(239, 68, 68, 0.9);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.4), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-danger-lightest);
}

.action-btn.primary.spell[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(28, 58, 170, 0.45), rgba(10, 30, 110, 0.55));
    border-color: rgba(59, 130, 246, 0.45);
    color: var(--color-info-lighter);
}

.action-btn.primary.spell:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(45, 90, 215, 0.6), rgba(20, 50, 155, 0.65));
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.4), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-info-lightest);
}

.action-btn.primary.item[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(12, 90, 62, 0.45), rgba(5, 55, 38, 0.55));
    border-color: rgba(16, 185, 129, 0.45);
    color: var(--color-cleric-light);
}

.action-btn.primary.item:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(18, 130, 88, 0.6), rgba(8, 80, 55, 0.65));
    border-color: rgba(16, 185, 129, 0.9);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.4), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-cleric-lighter);
}

/* ===== CLASS FEATURE BUTTONS ===== */

/* Paladin — Holy Gold */
.action-btn.feature.paladin[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(110, 75, 8, 0.38), rgba(65, 42, 3, 0.48));
    border-color: rgba(245, 158, 11, 0.45);
    color: var(--color-warning-light);
}

.action-btn.feature.paladin:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(155, 105, 12, 0.55), rgba(95, 60, 5, 0.62));
    border-color: rgba(245, 158, 11, 0.9);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-warning-lightest);
}

/* Bard — Vibrant Pink */
.action-btn.feature.bard[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(115, 28, 78, 0.38), rgba(70, 14, 48, 0.48));
    border-color: rgba(236, 72, 153, 0.45);
    color: var(--color-bard-light);
}

.action-btn.feature.bard:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(160, 40, 108, 0.55), rgba(100, 20, 65, 0.62));
    border-color: rgba(236, 72, 153, 0.9);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-bard-lighter);
}

/* Barbarian — Primal Red */
.action-btn.feature.barbarian[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(105, 12, 12, 0.38), rgba(65, 6, 6, 0.48));
    border-color: rgba(220, 38, 38, 0.45);
    color: var(--color-danger-lighter);
}

.action-btn.feature.barbarian:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(148, 18, 18, 0.55), rgba(92, 8, 8, 0.62));
    border-color: rgba(220, 38, 38, 0.9);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-danger-lightest);
}

.action-btn.feature.barbarian.active[b-x875gdys2p] {
    border-color: rgba(251, 191, 36, 0.8);
    box-shadow: 0 0 28px rgba(251, 191, 36, 0.55), inset 0 0 14px rgba(251, 191, 36, 0.1);
    animation: rage-pulse-b-x875gdys2p 1.5s ease-in-out infinite;
}

@keyframes rage-pulse-b-x875gdys2p {
    0%, 100% { box-shadow: 0 0 18px rgba(251, 191, 36, 0.4), inset 0 0 8px rgba(251, 191, 36, 0.08); }
    50%       { box-shadow: 0 0 36px rgba(251, 191, 36, 0.8), inset 0 0 18px rgba(251, 191, 36, 0.18); }
}

/* Monk — Arcane Violet */
.action-btn.feature.monk[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(58, 22, 125, 0.38), rgba(35, 12, 80, 0.48));
    border-color: rgba(139, 92, 246, 0.45);
    color: var(--color-monk-lighter);
}

.action-btn.feature.monk:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(82, 32, 168, 0.55), rgba(50, 18, 110, 0.62));
    border-color: rgba(139, 92, 246, 0.9);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-monk-lightest);
}

/* Pirate — Ocean Cyan */
.action-btn.feature.pirate[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(4, 82, 105, 0.38), rgba(2, 52, 70, 0.48));
    border-color: rgba(6, 182, 212, 0.45);
    color: var(--color-pirate-light);
}

.action-btn.feature.pirate:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(6, 120, 152, 0.55), rgba(4, 78, 102, 0.62));
    border-color: rgba(6, 182, 212, 0.9);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-pirate-lighter);
}

/* Rogue — Shadow Indigo */
.action-btn.feature.rogue[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(38, 38, 125, 0.38), rgba(22, 22, 80, 0.48));
    border-color: rgba(99, 102, 241, 0.45);
    color: var(--color-rogue-light);
}

.action-btn.feature.rogue:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(55, 55, 170, 0.55), rgba(32, 32, 115, 0.62));
    border-color: rgba(99, 102, 241, 0.9);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-rogue-lighter);
}

/* Cleric — Emerald / Divine Teal */
.action-btn.feature.cleric[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(8, 90, 60, 0.38), rgba(4, 55, 38, 0.48));
    border-color: rgba(16, 185, 129, 0.45);
    color: var(--color-cleric-light);
}

.action-btn.feature.cleric:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(12, 130, 88, 0.55), rgba(8, 80, 55, 0.62));
    border-color: rgba(16, 185, 129, 0.9);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.38), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: var(--color-cleric-lighter);
}

/* ===== RANGER ===== */
.action-btn.feature.ranger[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(10, 80, 20, 0.38), rgba(5, 50, 12, 0.48));
    border-color: rgba(74, 222, 128, 0.4);
    color: #86efac;
}

.action-btn.feature.ranger:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(15, 110, 30, 0.55), rgba(8, 72, 18, 0.62));
    border-color: rgba(74, 222, 128, 0.85);
    box-shadow: 0 0 18px rgba(74, 222, 128, 0.32), 0 6px 14px rgba(0, 0, 0, 0.45);
    color: #bbf7d0;
}

/* ===== UTILITY — FLEE ===== */
.action-btn.utility.flee[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(75, 50, 4, 0.4), rgba(45, 28, 2, 0.5));
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--color-warning-bright);
}

.action-btn.utility.flee:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(115, 75, 6, 0.55), rgba(72, 45, 3, 0.62));
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
    color: var(--color-warning-lightest);
}

/* ===== UTILITY — END TURN ===== */
.action-btn.utility.end-turn[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(30, 55, 80, 0.4), rgba(15, 30, 50, 0.5));
    border-color: rgba(100, 181, 246, 0.35);
    color: rgba(100, 181, 246, 0.85);
}

.action-btn.utility.end-turn:hover:not(:disabled)[b-x875gdys2p] {
    background: linear-gradient(160deg, rgba(45, 80, 115, 0.55), rgba(25, 50, 80, 0.62));
    border-color: rgba(100, 181, 246, 0.65);
    box-shadow: 0 0 14px rgba(100, 181, 246, 0.22);
    color: rgba(144, 202, 249, 1);
}

/* ===== ACTION BADGES ===== */
.action-badge[b-x875gdys2p] {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 2.22em;
    height: 2.22em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 99px;
    font-family: sans-serif;
    font-size: var(--ct-sm);
    font-weight: 700;
    line-height: 1;
    border: 2px solid var(--color-bg-base);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Item count — small green quantity pill */
.action-badge.count[b-x875gdys2p] {
    background: linear-gradient(135deg, var(--combat-good), var(--combat-good-dark));
    color: white;
}

/* Mana cost — static blue teardrop with subtle inner glow.
   Reads as "resource cost" — always present, informational. */
.action-badge.mana[b-x875gdys2p] {
    background: linear-gradient(135deg, var(--color-info), var(--color-info-dark));
    color: white;
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.6),
        inset 0 1px 3px rgba(147, 197, 253, 0.25);
}

/* Cooldown countdown — amber-to-red animated timer badge.
   The spinning ring + pulse convey "ticking down, unavailable". */
.action-badge.cooldown[b-x875gdys2p] {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.95), rgba(153, 27, 27, 0.95));
    color: var(--color-warning-lightest);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.6),
        0 0 8px rgba(245, 158, 11, 0.35);
    animation: cooldown-tick-b-x875gdys2p 2s ease-in-out infinite;
}

@keyframes cooldown-tick-b-x875gdys2p {
    0%, 100% {
        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 6px rgba(245, 158, 11, 0.25);
        border-color: rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 14px rgba(239, 68, 68, 0.55);
        border-color: rgba(239, 68, 68, 0.7);
    }
}

/* Ready — green glow beacon that says "use me now!" */
.action-badge.ready[b-x875gdys2p] {
    background: linear-gradient(135deg, var(--combat-good), var(--combat-good-dark));
    color: white;
    border-color: color-mix(in srgb, var(--combat-good) 60%, transparent);
    animation: ready-beacon-b-x875gdys2p 1.8s ease-in-out infinite;
}

@keyframes ready-beacon-b-x875gdys2p {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 6px color-mix(in srgb, var(--combat-good) 40%, transparent);
    }
    50% {
        transform: scale(1.15);
        box-shadow:
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 16px color-mix(in srgb, var(--combat-good) 80%, transparent);
    }
}

/* =========================================================
   DESKTOP VARIANT
   ========================================================= */
.combat-actions-panel.desktop .basic-actions .action-buttons[b-x875gdys2p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 10px;
}

.combat-actions-panel.desktop .class-features .action-buttons[b-x875gdys2p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.combat-actions-panel.desktop .action-btn[b-x875gdys2p] {
    padding: 9px 12px;
    font-size: var(--ct-sm);
}

/* =========================================================
   MOBILE VARIANT
   ========================================================= */
.combat-actions-panel.mobile[b-x875gdys2p] {
    padding: 8px;
    gap: 6px;
}

.combat-actions-panel.mobile .actions-panel-title[b-x875gdys2p] {
    font-size: var(--ct-sm);
}

.combat-actions-panel.mobile .action-section-header[b-x875gdys2p] {
    font-size: var(--ct-sm);
    padding-bottom: 6px;
}

.combat-actions-panel.mobile .action-buttons[b-x875gdys2p] {
    gap: 6px;
}

.combat-actions-panel.mobile .action-btn[b-x875gdys2p] {
    padding: 7px 10px;
    font-size: var(--ct-sm);
    min-width: 68px;
    min-height: unset;
}

.combat-actions-panel.mobile .action-btn :deep(.mud-icon-root)[b-x875gdys2p] {
    font-size: var(--ct-lg);
}

.combat-actions-panel.mobile .action-badge[b-x875gdys2p] {
    top: -5px;
    right: -5px;
    min-width: 1.94em;
    height: 1.94em;
    font-size: var(--ct-sm);
}

@media (max-width: 380px) {
    .combat-actions-panel.mobile .basic-actions .action-buttons[b-x875gdys2p] {
        flex-direction: column;
    }

    .combat-actions-panel.mobile .action-btn[b-x875gdys2p] {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        min-height: unset;
        padding: 10px 14px;
        justify-content: flex-start;
        gap: 10px;
    }

    .combat-actions-panel.mobile .action-btn :deep(.mud-icon-root)[b-x875gdys2p] {
        font-size: var(--ct-2xl);
    }
}

/* ===== PASSIVES ROW ===== */
.passives-row[b-x875gdys2p] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 2px;
}

.passives-row .passive-indicator[b-x875gdys2p] {
    flex: 1;
    min-width: 120px;
    padding: 6px 10px;
}

.combat-actions-panel.desktop .class-features .passives-row[b-x875gdys2p] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
}

.combat-actions-panel.mobile .passives-row[b-x875gdys2p] {
    gap: 5px;
}

.combat-actions-panel.mobile .passives-row .passive-indicator[b-x875gdys2p] {
    padding: 5px 8px;
    min-width: 100px;
}

/* ===== PASSIVE ABILITY INDICATORS ===== */
.passive-indicator[b-x875gdys2p] {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: default;
}

.passive-indicator.active[b-x875gdys2p] {
    background: linear-gradient(135deg, color-mix(in srgb, var(--combat-good) 15%, transparent) 0%, color-mix(in srgb, var(--combat-good-dark) 10%, transparent) 100%);
    border-color: color-mix(in srgb, var(--combat-good) 40%, transparent);
    box-shadow: 
        0 2px 8px color-mix(in srgb, var(--combat-good) 20%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--combat-good) 10%, transparent);
}

/* An inactive passive ("Shield Wall INACTIVE", "Battle Anthem SELF ONLY") is information, not a disabled control: its
   words keep --color-text-secondary (7:1 on the dock) and the panel is not faded (opacity .7 over a .5-.6 alpha ink read
   2.0-2.3:1). Inactive is the grey words against the active green. */
.passive-indicator.inactive[b-x875gdys2p] {
    background: rgba(15, 20, 35, 0.4);
    border-color: rgba(148, 163, 184, 0.15);
}

.passive-indicator.info[b-x875gdys2p] {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 2px 8px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(59, 130, 246, 0.08);
}

.passive-content[b-x875gdys2p] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    color: rgba(226, 232, 240, 0.9);
    font-size: var(--ct-md);
    font-weight: 500;
}

.passive-indicator.active .passive-content[b-x875gdys2p] {
    color: var(--combat-good);
}

.passive-indicator.inactive .passive-content[b-x875gdys2p] {
    color: var(--color-text-secondary);
}

.passive-indicator.info .passive-content[b-x875gdys2p] {
    color: rgba(96, 165, 250, 1);
}

.passive-content :deep(.mud-icon-root)[b-x875gdys2p] {
    font-size: var(--ct-xl);
}

.passive-status[b-x875gdys2p] {
    margin-left: auto;
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.passive-indicator.active .passive-status[b-x875gdys2p] {
    background: color-mix(in srgb, var(--combat-good) 20%, transparent);
    color: var(--combat-good);
}

.passive-indicator.inactive .passive-status[b-x875gdys2p] {
    background: rgba(148, 163, 184, 0.1);
    color: var(--color-text-secondary);
}

.passive-indicator.info .passive-status[b-x875gdys2p] {
    background: rgba(59, 130, 246, 0.2);
    color: rgba(96, 165, 250, 1);
}

/* Passive indicator hover effect */
.passive-indicator:hover[b-x875gdys2p] {
    border-color: var(--color-border-active);
}

.passive-indicator.active:hover[b-x875gdys2p] {
    border-color: color-mix(in srgb, var(--combat-good) 60%, transparent);
    box-shadow: 
        0 4px 12px color-mix(in srgb, var(--combat-good) 30%, transparent),
        inset 0 1px 0 color-mix(in srgb, var(--combat-good) 15%, transparent);
}

.passive-indicator.info:hover[b-x875gdys2p] {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow:
        0 4px 12px rgba(59, 130, 246, 0.25),
        inset 0 1px 0 rgba(59, 130, 246, 0.12);
}

/* =================================================================
   Phase 11: targeting strip + pending-target banner
   ================================================================= */

[b-x875gdys2p] .actions-panel-targeting-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 6px;
    font-size: var(--ct-sm);
    color: #cbd5e1;
}

/* While an action is aimed the strip keeps its slot but shows nothing (the aim bar lies over the board stage). */
[b-x875gdys2p] .actions-panel-targeting-strip.is-aiming {
    visibility: hidden;
}

[b-x875gdys2p] .actions-panel-targeting-strip.no-target {
    border-color: color-mix(in srgb, var(--combat-bad-light) 35%, transparent);
    background: color-mix(in srgb, var(--combat-bad-deep) 18%, transparent);
    color: var(--combat-bad-lighter);
}

[b-x875gdys2p] .targeting-strip-icon {
    color: rgba(255, 215, 0, 0.7);
}

[b-x875gdys2p] .actions-panel-targeting-strip.no-target .targeting-strip-icon {
    color: var(--combat-bad-lighter);
}

[b-x875gdys2p] .targeting-strip-empty {
    font-size: var(--ct-sm);
    font-style: italic;
}
/* /Components/Combat/CombatLogDrawer.razor.rz.scp.css */
/* The phone's combat log bottom sheet (combat log W4, solo 7 and review-mp M12, adapted to the phone held sideways).
   The side drawer's global rules (combat-responsive.css, "Full log drawer overlay" and the rf-phone-hud block) still
   give it its z-index and its slim log header; these turn it into a sheet along the bottom edge, tall enough for the
   cards and short enough that the top strip and the party caption under it stay in view (about 60 to 70% of a 375 to
   390px tall screen). Opaque surface, tokens only, no new breakpoint (the page passes AsSheet on the phone tier). */

.combat-log-drawer.is-sheet[b-bybzv9wiyy] {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-width: none;
    height: max(60vh, calc(100vh - 112px));
    /* The visible height when the browser's bar shows (the page sizes the same way, combat-responsive.css): 100vh is the
       screen without the bar, so the sheet would rise over the top strip and the party caption it leaves in view. */
    height: max(60dvh, calc(100dvh - 112px));
    box-sizing: border-box;
    padding:
        0
        max(8px, env(safe-area-inset-right, 0px))
        env(safe-area-inset-bottom, 0px)
        max(8px, env(safe-area-inset-left, 0px));
    border-left: none;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    box-shadow: var(--shadow-md);
    transform: translateY(var(--sheet-drag, 0px));
    transition: transform 160ms ease-out;
    animation: cld-rise-b-bybzv9wiyy 220ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.combat-log-drawer.is-sheet.is-dragging[b-bybzv9wiyy] {
    transition: none;
}

.combat-log-drawer.is-sheet:focus[b-bybzv9wiyy] {
    outline: none;
}

/* The grab bar: a slim strip whose handle is a 44px target reaching down over the middle of the log's own header row
   (its controls sit at the row's right end), so the sheet spends its height on cards. The title is for screen readers.
   A swipe down here closes. */
.cld-grab[b-bybzv9wiyy] {
    position: relative;
    z-index: 2;
    height: 16px;
    touch-action: none;
}

.cld-handle[b-bybzv9wiyy] {
    position: absolute;
    left: 50%;
    top: -2px;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    width: 96px;
    height: 44px;
    padding: 8px 0 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transform: translateX(-50%);
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

/* The 44px target reaches over what lies under the strip, so the focus ring is drawn round the grip, not the box. */
.cld-handle:focus-visible[b-bybzv9wiyy] {
    outline: none;
}

.cld-handle:focus-visible .cld-handle-bar[b-bybzv9wiyy] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.cld-handle-bar[b-bybzv9wiyy] {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--color-text-secondary) 70%, transparent);
}

/* Pinned above the cards in a party: one 36px line per downed hero, then the catch-up brief. */
.cld-pinned[b-bybzv9wiyy] {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 4px 4px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.cld-down[b-bybzv9wiyy] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cld-down-line[b-bybzv9wiyy] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
}

.cld-down-line.is-self .cld-down-name[b-bybzv9wiyy] {
    color: var(--color-primary-light);
}

.cld-down-icon[b-bybzv9wiyy] {
    color: var(--combat-bad-light);
    font-size: var(--ct-md);
}

.cld-down-name[b-bybzv9wiyy] {
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.cld-down-text[b-bybzv9wiyy] {
    min-width: 0;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cld-brief[b-bybzv9wiyy] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    min-height: 36px;
    font-size: var(--ct-sm);
}

.cld-brief-title[b-bybzv9wiyy] {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

.cld-brief-lines[b-bybzv9wiyy] {
    min-width: 0;
    color: var(--color-text-primary);
}

@keyframes cld-rise-b-bybzv9wiyy {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .combat-log-drawer.is-sheet[b-bybzv9wiyy] {
        animation: none;
        transition: none;
    }
}

@media (forced-colors: active) {
    .combat-log-drawer.is-sheet[b-bybzv9wiyy] {
        border-top: 1px solid CanvasText;
        background: Canvas;
    }

    .cld-handle-bar[b-bybzv9wiyy] {
        background: CanvasText;
    }
}
/* /Components/Combat/CombatLogEntry.razor.rz.scp.css */
.combat-entry[b-lwrf5705g3] {
    padding: 6px 10px;
    margin: 3px 0;
    border-radius: 4px;
    border-left: 3px solid #6b7280;
    transition: background 0.2s ease;
}

.combat-entry.player-action[b-lwrf5705g3] {
    background: color-mix(in srgb, var(--combat-ally) 10%, transparent);
}

.combat-entry.enemy-action[b-lwrf5705g3] {
    background: color-mix(in srgb, var(--combat-enemy) 10%, transparent);
}

.combat-entry.system-action[b-lwrf5705g3] {
    background: rgba(107, 114, 128, 0.05);
}

.combat-entry.zone-move-entry[b-lwrf5705g3] {
    background: rgba(6, 182, 212, 0.07);
}

.combat-entry.critical-entry[b-lwrf5705g3] {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 191, 36, 0.05) 100%) !important;
    border-left-color: var(--color-warning-bright) !important;
}

.combat-entry.entry-new[b-lwrf5705g3] {
    animation: slideIn-b-lwrf5705g3 0.3s ease-out;
}

@keyframes slideIn-b-lwrf5705g3 {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 1; transform: translateX(0); }
}

.entry-row[b-lwrf5705g3] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 10px;
    width: 100%;
}

.entry-icon[b-lwrf5705g3] {
    padding-top: 2px;
    flex-shrink: 0;
}

/* The message keeps at least 11em of the row (WP12g): when the chips would squeeze it below that (two chips in the
   320px docked log, or any chip at a large combat text size) they wrap onto a line of their own under it instead of
   leaving one word per line or running past the log's edge. */
.entry-message[b-lwrf5705g3] {
    flex: 1 1 11em;
    min-width: 0;
    word-wrap: break-word;
    line-height: 1.5;
    padding-top: 2px;
}

.entry-badges[b-lwrf5705g3] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    max-width: 100%;
    margin-left: auto;
}

/* The row's chips (damage, healing, reductions, the roll, the turn summary's totals) are MudBlazor's small chips: a
   12px label in a 24px box. Combat text size (WP12g): the label takes the token and the box follows it in em, so a
   chip never clips its text at Extra large. */
[b-lwrf5705g3] .mud-chip.mud-chip-size-small {
    font-size: var(--ct-sm);
    height: auto;
    min-height: 2em;
    padding: 0 0.67em;
    border-radius: 1em;
}

[b-lwrf5705g3] .mud-chip.mud-chip-size-small .mud-icon-root {
    font-size: 1.5em;
}

.turn-marker[b-lwrf5705g3] {
    margin: 6px 0;
    padding: 4px 10px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.2) 0%, rgba(99, 102, 241, 0) 100%);
    border-left: 3px solid #6366f1;
    color: #a5b4fc;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 3px;
}

.turn-summary[b-lwrf5705g3] {
    margin: 6px 0;
    padding: 6px 10px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 4px;
    color: #c4b5fd;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.critical-flash[b-lwrf5705g3] {
    animation: critFlash-b-lwrf5705g3 0.5s ease-in-out 2;
}

@keyframes critFlash-b-lwrf5705g3 {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.3; }
}

.dice-breakdown[b-lwrf5705g3] {
    margin-top: 6px;
    margin-left: 32px;
    padding-left: 10px;
    font-size: var(--ct-sm);
    color: #9ca3af;
    line-height: 1.6;
    border-left: 2px solid rgba(255, 215, 0, 0.25);
    width: calc(100% - 32px);
}

.breakdown-line[b-lwrf5705g3] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.breakdown-label[b-lwrf5705g3] {
    font-weight: 600;
    color: #94a3b8;
    min-width: 5.3em;
}

.dice-notation[b-lwrf5705g3] {
    color: #60a5fa;
    font-weight: 500;
}

.dice-rolls[b-lwrf5705g3] {
    color: var(--color-warning-bright);
    font-weight: 600;
}

.modifier[b-lwrf5705g3] {
    color: var(--combat-hit);
    font-weight: 600;
}

.modifier-source[b-lwrf5705g3] {
    color: #9ca3af;
    font-style: italic;
    font-size: var(--ct-sm);
}

.roll-success[b-lwrf5705g3] {
    color: var(--combat-hit);
    font-weight: 600;
}

.roll-fail[b-lwrf5705g3] {
    color: var(--combat-miss);
    font-weight: 600;
}

.damage-bonus[b-lwrf5705g3] {
    color: #a78bfa;
    font-weight: 600;
}

.damage-total[b-lwrf5705g3] {
    color: var(--combat-hit);
    font-weight: 700;
}

.damage-final[b-lwrf5705g3] {
    color: var(--combat-damage);
    font-weight: 700;
}

.reduction-hardened[b-lwrf5705g3] {
    color: #a855f7;
    font-weight: 600;
}

.reduction-rage[b-lwrf5705g3] {
    color: #f59e0b;
    font-weight: 700;
}

.reduction-mana[b-lwrf5705g3] {
    color: #60a5fa;
    font-weight: 600;
}

.text-player[b-lwrf5705g3]    { color: var(--combat-good-light); }
.text-enemy[b-lwrf5705g3]     { color: var(--combat-bad-light); }
.text-critical[b-lwrf5705g3]  { color: var(--color-warning-bright); font-weight: bold; }
.text-victory[b-lwrf5705g3]   { color: var(--color-warning-bright); font-weight: bold; }
.text-defeat[b-lwrf5705g3]    { color: var(--combat-bad-light); font-weight: bold; }
.text-info[b-lwrf5705g3]      { color: #e5e7eb; }
.text-movement[b-lwrf5705g3]  { color: #06b6d4; font-style: italic; }

.icon-attack[b-lwrf5705g3]    { color: var(--combat-hit-icon) !important; }
.icon-damage[b-lwrf5705g3]    { color: var(--combat-damage-soft) !important; }
.icon-heal[b-lwrf5705g3]      { color: var(--combat-hit-icon) !important; }
.icon-special[b-lwrf5705g3]   { color: #ffd43b !important; }
.icon-info[b-lwrf5705g3]      { color: #4dabf7 !important; }
.icon-error[b-lwrf5705g3]     { color: var(--color-text-secondary) !important; }
.icon-victory[b-lwrf5705g3]   { color: #ffd43b !important; }
.icon-movement[b-lwrf5705g3]  { color: #06b6d4 !important; }

[b-lwrf5705g3] .damage-badge-crit {
    animation: pop-b-lwrf5705g3 0.3s ease-out;
}

@keyframes pop-b-lwrf5705g3 {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

[b-lwrf5705g3] .crit-badge {
    animation: pulse-b-lwrf5705g3 1.5s ease-in-out infinite;
}

@keyframes pulse-b-lwrf5705g3 {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

[b-lwrf5705g3] .damage-reduction-badge {
    background: rgba(168, 85, 247, 0.15) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    font-weight: 600 !important;
    animation: fadeIn-b-lwrf5705g3 0.3s ease-out;
}

[b-lwrf5705g3] .damage-reduction-badge .mud-icon-root {
    font-size: 1.17em !important;
}

@keyframes fadeIn-b-lwrf5705g3 {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Phase 12.1 — Timeline sync highlight.
   The combat log subscribes to CombatAnimationBridge.PlaybackStarted and flags
   the row whose VFX is currently dispatching. A soft left-border pulse + subtle
   backdrop tint draws the eye to the narrative event that matches what just
   moved on the battlefield. Pulse is purely decorative — reduced-motion users
   still get the static border/background so they see the sync. */
.combat-entry.log-entry-playing[b-lwrf5705g3] {
    background: linear-gradient(90deg,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(59, 130, 246, 0.04) 40%,
        transparent 100%);
    box-shadow: inset 3px 0 0 rgba(147, 197, 253, 0.9);
    animation: logEntryPlayingPulse-b-lwrf5705g3 900ms ease-out;
}

@keyframes logEntryPlayingPulse-b-lwrf5705g3 {
    0%   { box-shadow: inset 3px 0 0 rgba(147, 197, 253, 0.9),
                       0 0 0 0 rgba(59, 130, 246, 0.45); }
    60%  { box-shadow: inset 3px 0 0 rgba(147, 197, 253, 0.9),
                       0 0 0 6px rgba(59, 130, 246, 0.0); }
    100% { box-shadow: inset 3px 0 0 rgba(147, 197, 253, 0.9); }
}

@media (prefers-reduced-motion: reduce) {
    .combat-entry.entry-new[b-lwrf5705g3],
    .critical-flash[b-lwrf5705g3],
    .combat-entry.log-entry-playing[b-lwrf5705g3],
    [b-lwrf5705g3] .damage-badge-crit,
    [b-lwrf5705g3] .crit-badge,
    [b-lwrf5705g3] .damage-reduction-badge {
        animation: none;
    }
}

/* H1 PR 2 — Item lore surfacing in combat. Visually subdued treatment so
   lore reveals sit between the kinetic combat events without competing for
   attention. Gold border-left matches the design system primary accent; the
   Cinzel item-name keeps the tabletop tone. */
.log-lore-reveal[b-lwrf5705g3] {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-sm) var(--space-md);
    margin: var(--space-xs) 0;
    border-left: 2px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.04);
    border-radius: 4px;
}

.log-lore-icon[b-lwrf5705g3] {
    color: var(--color-primary);
    opacity: 0.75;
    flex-shrink: 0;
    margin-top: 2px;
}

.log-lore-body[b-lwrf5705g3] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}

.log-lore-item-name[b-lwrf5705g3] {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: var(--ct-base);
    letter-spacing: 0.03em;
}

.log-lore-text[b-lwrf5705g3] {
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: 1.4;
    font-size: var(--ct-base);
}
/* /Components/Combat/CombatLogHeader.razor.rz.scp.css */
[b-g221qwgd2w] .combat-log-header {
    padding: 8px 12px !important;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

.header-title-row[b-g221qwgd2w] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.header-icon[b-g221qwgd2w] {
    color: #ffd700;
}

/* MudText: its element carries no scope attribute, hence ::deep. The title keeps MudText's subtitle1 face (the Cinzel
   rule written here before never matched: it lacked ::deep) and takes the combat text size (WP12g). */
[b-g221qwgd2w] .header-title {
    font-size: var(--ct-lg);
}

/* The actions sit tight (4px): the count chip now says what it counts ("4 cards"), so the row has to stay short enough
   for the title and the view switch to share the first row of a 320px dock. */
.header-actions[b-g221qwgd2w] {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* .mud-chip too: MudBlazor's small-chip rule (12px) has the same weight and loads after the scoped bundle. */
[b-g221qwgd2w] .mud-chip.entry-count-chip {
    height: auto !important;
    min-height: 2em;
    font-size: var(--ct-sm);
    background: rgba(0, 0, 0, 0.3) !important;
    color: #94a3b8 !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    padding: 0 8px !important;
    white-space: nowrap;
}
/* /Components/Combat/CombatSettingsDrawer.razor.rz.scp.css */
/* ===== Combat Settings Drawer (polish item 1) =====
   The drawer, its header and its selects are MudBlazor components, whose elements never carry this file's isolation
   scope: their styles live in combat-header.css. Only the drawer's own markup (.csd-*) is styled here. */

.csd-header-row[b-909uin77u1] {
    display: flex;
    align-items: center;
    width: 100%;
    color: #ffd700;
    font-family: var(--font-primary);
}

/* The drawer content is a flex column (MudBlazor), so the settings fill what the header leaves and scroll on their own. */
.csd-content[b-909uin77u1] {
    padding: 12px 16px 24px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.csd-section[b-909uin77u1] {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.csd-section:last-of-type[b-909uin77u1] {
    border-bottom: none;
}

.csd-section-title[b-909uin77u1] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--ct-md);
    font-weight: 700;
    color: var(--color-text-secondary, #cbd5e1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.csd-help-text[b-909uin77u1] {
    margin-top: 6px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    line-height: 1.35;
}
/* /Components/Combat/EnemyRoster.razor.rz.scp.css */
/* EnemyRoster component — --mp-* var() calls fall back to literal values inline (FocusMonsterPanel removed). */

.enemy-roster[b-ge04umde3e] {
    padding: 12px 0 4px;
}

.roster-header[b-ge04umde3e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    margin-bottom: 10px;
}

.roster-title[b-ge04umde3e] {
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.roster-count[b-ge04umde3e] {
    font-size: var(--ct-sm);
    color: var(--mp-text-secondary, #9a9590);
}

.roster-grid[b-ge04umde3e] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Individual enemy card */
.roster-enemy[b-ge04umde3e] {
    flex-shrink: 0;
    width: 80px;
    background: var(--mp-bg-card, #1a1e28);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.roster-enemy:hover:not(.defeated)[b-ge04umde3e] {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.roster-enemy.selected[b-ge04umde3e] {
    border-color: var(--color-primary, #ffd700);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.roster-enemy.defeated[b-ge04umde3e] {
    opacity: 0.45;
    filter: grayscale(70%);
    cursor: default;
}

/* Image container */
.roster-enemy-img-container[b-ge04umde3e] {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.roster-enemy-img[b-ge04umde3e] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.roster-defeated-overlay[b-ge04umde3e] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--combat-bad);
    z-index: 2;
}

.roster-turn-indicator[b-ge04umde3e] {
    position: absolute;
    inset: 0;
    border: 2px solid var(--color-warning-bright);
    border-radius: 0;
    animation: rosterTurnPulse-b-ge04umde3e 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes rosterTurnPulse-b-ge04umde3e {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* HP bar — below image, not overlaid */
.roster-enemy-hp[b-ge04umde3e] {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.roster-enemy-hp-fill[b-ge04umde3e] {
    height: 100%;
    background: var(--combat-hp-high-light);
    transition: width 0.35s ease;
}

.roster-enemy-hp-fill.warning[b-ge04umde3e] {
    background: var(--combat-hp-mid-yellow-light);
}

.roster-enemy-hp-fill.danger[b-ge04umde3e] {
    background: var(--combat-hp-danger);
}

.roster-enemy-hp-fill.critical[b-ge04umde3e] {
    background: var(--combat-hp-low);
    animation: critRosterPulse-b-ge04umde3e 1s ease-in-out infinite;
}

@keyframes critRosterPulse-b-ge04umde3e {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

/* Name + zone label */
.roster-enemy-info[b-ge04umde3e] {
    padding: 5px 6px;
    text-align: center;
}

.roster-enemy-name[b-ge04umde3e] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    color: var(--mp-text-primary, #e8e6e1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roster-zone-label[b-ge04umde3e] {
    font-size: var(--ct-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.roster-zone-label.zone-vanguard[b-ge04umde3e] { color: #ef4444; }
.roster-zone-label.zone-flankleft[b-ge04umde3e] { color: #f59e0b; }
.roster-zone-label.zone-flankright[b-ge04umde3e] { color: #f59e0b; }
.roster-zone-label.zone-rear[b-ge04umde3e] { color: var(--color-text-secondary); }
/* /Components/Combat/FormationZoneCard.razor.rz.scp.css */
/* FormationZoneCard scoped styles */

.formation-zone-card[b-6cgvfcqnxc] {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: var(--space-md);
    border: 2px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
}

.formation-zone-card:hover[b-6cgvfcqnxc] {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.formation-zone-card.selected[b-6cgvfcqnxc] {
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.3);
}

/* ===== COMPACT MODE (portrait tablet / small screens) ===== */
.formation-zone-compact[b-6cgvfcqnxc] {
    padding: var(--space-sm) var(--space-md) !important;
    min-height: 52px;
}

.fzc-compact-row[b-6cgvfcqnxc] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.fzc-compact-info[b-6cgvfcqnxc] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.fzc-compact-name[b-6cgvfcqnxc] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fzc-compact-bonus[b-6cgvfcqnxc] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== CAPACITY INDICATOR ===== */
.fzc-capacity[b-6cgvfcqnxc] {
    display: inline-flex;
    align-items: center;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    background: rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
    margin-top: 2px;
}

.fzc-capacity-full[b-6cgvfcqnxc] {
    color: var(--combat-bad-light);
    background: rgba(244, 67, 54, 0.15);
}

.fzc-capacity-label[b-6cgvfcqnxc] {
    font-weight: var(--font-weight-semibold);
}

/* ===== INVADED STATE (monsters physically present in zone) ===== */
.formation-zone-card.zone-invaded[b-6cgvfcqnxc] {
    border-color: rgba(244, 67, 54, 0.6);
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.2);
}

/* ===== FULL STATE (zone at capacity) ===== */
.formation-zone-card.zone-full[b-6cgvfcqnxc] {
    opacity: 0.75;
}

/* ===== OCCUPANT CHIPS ===== */
.fzc-occupant[b-6cgvfcqnxc] {
    margin: 1px 0;
    max-width: 120px;
}

.fzc-occupant-player[b-6cgvfcqnxc] {
    /* Success color handled by MudChip Color.Success */
}

.fzc-occupant-monster[b-6cgvfcqnxc] {
    /* Error color handled by MudChip Color.Error */
}
/* /Components/Combat/HUD/CompactPlayerHud.razor.rz.scp.css */
/* CompactPlayerHud.razor.css — scoped styles for the new compact player HUD.
   Three variants share the same base; modifier classes tweak dimensions, layout
   density, and which sub-elements show. Visual language matches Phase 4/5
   (slate gradient, gold accent, Cinzel name typography). */

/* ===== Base ===== */
.compact-player-hud[b-upyuwl3rz4] {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 12px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 215, 0, 0.20);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    color: #f1f5f9;
}

.compact-player-hud:hover[b-upyuwl3rz4] {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 215, 0, 0.25);
}

.compact-player-hud.is-turn[b-upyuwl3rz4] {
    border-color: rgba(255, 193, 7, 0.6);
    animation: cph-turn-pulse-b-upyuwl3rz4 2s ease-in-out infinite;
}

@keyframes cph-turn-pulse-b-upyuwl3rz4 {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 193, 7, 0.4); }
    50% { box-shadow: 0 0 25px rgba(255, 193, 7, 0.8), 0 0 40px rgba(255, 193, 7, 0.3); }
}

/* Class-colored left border accent (mirrors PlayerCard) */
.compact-player-hud.warrior[b-upyuwl3rz4]   { border-left: 3px solid var(--color-danger); }
.compact-player-hud.wizard[b-upyuwl3rz4]    { border-left: 3px solid var(--color-info); }
.compact-player-hud.ranger[b-upyuwl3rz4]    { border-left: 3px solid var(--color-ranger); }
.compact-player-hud.rogue[b-upyuwl3rz4]     { border-left: 3px solid var(--color-rogue); }
.compact-player-hud.paladin[b-upyuwl3rz4]   { border-left: 3px solid var(--color-paladin); }
.compact-player-hud.bard[b-upyuwl3rz4]      { border-left: 3px solid var(--color-bard); }
.compact-player-hud.monk[b-upyuwl3rz4]      { border-left: 3px solid var(--color-monk); }
.compact-player-hud.barbarian[b-upyuwl3rz4] { border-left: 3px solid var(--color-barbarian); }
.compact-player-hud.cleric[b-upyuwl3rz4]    { border-left: 3px solid var(--color-cleric); }
.compact-player-hud.pirate[b-upyuwl3rz4]    { border-left: 3px solid var(--color-pirate); }

/* Damage / heal animations */
.compact-player-hud.taking-damage[b-upyuwl3rz4] {
    animation: cph-damage-flash-b-upyuwl3rz4 0.5s ease-out, cph-shake-b-upyuwl3rz4 0.4s ease-out;
}
.compact-player-hud.healing[b-upyuwl3rz4] { animation: cph-heal-flash-b-upyuwl3rz4 0.6s ease-out; }
.compact-player-hud.critical-hit[b-upyuwl3rz4] { animation: cph-critical-flash-b-upyuwl3rz4 0.7s ease-out; }

@keyframes cph-damage-flash-b-upyuwl3rz4 {
    0% { filter: brightness(1); }
    25% { filter: brightness(1.3) saturate(1.5); box-shadow: 0 0 20px color-mix(in srgb, var(--combat-damage) 80%, transparent), inset 0 0 30px color-mix(in srgb, var(--combat-damage) 30%, transparent); }
    50% { filter: brightness(0.8); }
    100% { filter: brightness(1); }
}
@keyframes cph-heal-flash-b-upyuwl3rz4 {
    0% { filter: brightness(1); }
    25% { filter: brightness(1.3); box-shadow: 0 0 25px color-mix(in srgb, var(--combat-good) 80%, transparent); }
    100% { filter: brightness(1); }
}
@keyframes cph-critical-flash-b-upyuwl3rz4 {
    0% { transform: scale(1); }
    15% { transform: scale(1.05); filter: brightness(1.5); box-shadow: 0 0 30px rgba(245, 158, 11, 1); }
    30% { transform: scale(0.98); }
    100% { transform: scale(1); }
}
@keyframes cph-shake-b-upyuwl3rz4 {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

/* ===== Portrait column ===== */
.cph-portrait-wrap[b-upyuwl3rz4] {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.cph-portrait-level[b-upyuwl3rz4] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--color-warning-light);
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.28);
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.cph-portrait[b-upyuwl3rz4] {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.cph-portrait-fallback[b-upyuwl3rz4] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.6);
}

.cph-portrait-img[b-upyuwl3rz4] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cph-turn-dot[b-upyuwl3rz4] {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-warning-bright);
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
    animation: cph-pulse-b-upyuwl3rz4 1.2s ease-in-out infinite;
}

@keyframes cph-pulse-b-upyuwl3rz4 {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ===== Body (right column) ===== */
.cph-body[b-upyuwl3rz4] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* Top name row */
.cph-name-row[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.cph-name[b-upyuwl3rz4] {
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cph-spacer[b-upyuwl3rz4] { flex: 1; }

.cph-class[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* The class colour is the markup's class-text utility (components-combat.css): the raw colour is under 4.5:1 for six
   classes, so combat mixes it halfway to --color-text-primary. Pirate had no rule here and drew in the default ink. */

.cph-you-badge[b-upyuwl3rz4] {
    background: linear-gradient(135deg, var(--color-info), var(--color-info-dark));
    color: white;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* ===== Resource bars ===== */
.cph-bars[b-upyuwl3rz4] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cph-bar-row[b-upyuwl3rz4] {
    display: grid;
    grid-template-columns: calc(var(--ct-sm) * 2) 1fr auto; /* the label column grows with its text */
    align-items: center;
    gap: 6px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.cph-bar-label[b-upyuwl3rz4] {
    font-weight: 700;
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    text-align: left;
}

.cph-bar[b-upyuwl3rz4] {
    position: relative;
    height: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.cph-bar-drain[b-upyuwl3rz4] {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 3px;
    z-index: 1;
    transition: width 1.6s ease-in 0.3s;
}

.cph-bar-drain.hp[b-upyuwl3rz4] {
    background: linear-gradient(90deg, color-mix(in srgb, var(--combat-damage) 45%, transparent), color-mix(in srgb, var(--combat-bad-light) 35%, transparent));
}

.cph-bar-fill[b-upyuwl3rz4] {
    position: relative;
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
    z-index: 2;
}

.cph-bar-fill.hp[b-upyuwl3rz4] {
    background: linear-gradient(90deg, var(--combat-hp-high), var(--combat-hp-high-light));
}
.cph-bar-fill.hp.low[b-upyuwl3rz4] {
    background: linear-gradient(90deg, var(--combat-hp-mid), var(--combat-hp-mid-light));
}
.cph-bar-fill.hp.critical[b-upyuwl3rz4] {
    background: linear-gradient(90deg, var(--combat-hp-low), var(--combat-hp-low-light));
    animation: cph-hp-pulse-b-upyuwl3rz4 1.5s ease-in-out infinite;
}
.cph-bar-fill.mana[b-upyuwl3rz4] {
    background: linear-gradient(90deg, var(--color-info), var(--color-info-light));
}
/* Ki and Swagger wear their own resource tokens, so neither reads as the low-HP amber above. */
.cph-bar-fill.ki[b-upyuwl3rz4] {
    background: linear-gradient(90deg, var(--color-monk), var(--color-ki));
}
.cph-bar-fill.swagger[b-upyuwl3rz4] {
    background: linear-gradient(90deg, var(--color-swagger), var(--color-pirate-light));
}

@keyframes cph-hp-pulse-b-upyuwl3rz4 {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); box-shadow: 0 0 6px color-mix(in srgb, var(--combat-hp-low) 50%, transparent); }
}

/* Predicted incoming damage (translucent red sliver on right edge of HP bar) */
.cph-bar-incoming[b-upyuwl3rz4] {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    background: repeating-linear-gradient(
        135deg,
        color-mix(in srgb, var(--combat-damage) 55%, transparent),
        color-mix(in srgb, var(--combat-damage) 55%, transparent) 4px,
        color-mix(in srgb, var(--combat-bad-deep) 45%, transparent) 4px,
        color-mix(in srgb, var(--combat-bad-deep) 45%, transparent) 8px
    );
    border-left: 1px solid color-mix(in srgb, var(--combat-damage) 85%, transparent);
    pointer-events: none;
}

/* Mana bar cost ticks */
.cph-bar-tick[b-upyuwl3rz4] {
    position: absolute;
    top: -1px;
    bottom: -1px;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 4;
    pointer-events: none;
}

.cph-bar-value[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* ===== AC + weapon row ===== */
.cph-ac-weapon-row[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--ct-sm);
}

.cph-ac[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cph-ac-label[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.cph-ac-value[b-upyuwl3rz4] {
    font-size: var(--ct-base);
    font-weight: 700;
    color: var(--color-warning-light);
}

.cph-ac-line[b-upyuwl3rz4] {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: var(--ct-sm);
    padding: 1px 0;
}

.cph-ac-total[b-upyuwl3rz4] {
    font-weight: 700;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    padding-top: 4px;
    margin-top: 2px;
}

.cph-weapon[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.cph-weapon:hover[b-upyuwl3rz4] {
    background: rgba(255, 255, 255, 0.06);
}

.cph-weapon.swappable[b-upyuwl3rz4] {
    color: var(--color-info-light);
}

.cph-weapon-name[b-upyuwl3rz4] {
    font-weight: 600;
    color: var(--color-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.cph-weapon-dice[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ===== Bottom row (pips, pet, status, more) ===== */
.cph-bottom-row[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.cph-pet[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(251, 191, 36, 0.07);
    flex-shrink: 0;
}

.cph-pet.clickable[b-upyuwl3rz4] { cursor: pointer; }
.cph-pet.clickable:hover[b-upyuwl3rz4] { border-color: rgba(251, 191, 36, 0.75); }

.cph-pet-portrait[b-upyuwl3rz4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cph-pet-icon[b-upyuwl3rz4] {
    font-size: var(--ct-base);
    color: var(--color-warning-bright);
    margin: auto;
}

.cph-status-strip[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}

.cph-status-pip[b-upyuwl3rz4] {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: transform 0.15s ease;
}

.cph-status-pip:hover[b-upyuwl3rz4] {
    transform: translateY(-1px) scale(1.05);
}

.cph-status-pip[b-upyuwl3rz4]  .mud-icon-root {
    font-size: var(--ct-base);
    color: white;
}

.cph-status-pip.se-more[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
    font-weight: 700;
    color: white;
}

.cph-status-duration[b-upyuwl3rz4] {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: var(--ct-sm);
    font-weight: 700;
    padding: 0 2px;
    border-radius: 2px;
    line-height: 1.2;
    min-width: 1.12em;
    text-align: center;
}

.cph-more-btn[b-upyuwl3rz4] {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    padding: 0;
    margin-left: auto;
}

.cph-more-btn:hover[b-upyuwl3rz4] {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--color-warning-light);
}

.cph-more-btn .material-icons[b-upyuwl3rz4] { font-size: var(--ct-lg); }

/* ===== "More" popover ===== */
.cph-more-popover[b-upyuwl3rz4] {
    max-width: 360px;
    min-width: 280px;
    z-index: 2000;
}

.cph-more-content[b-upyuwl3rz4] {
    padding: 8px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #f1f5f9;
}

.cph-more-header[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 6px;
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    color: #ffd700;
}

.cph-more-section[b-upyuwl3rz4] {
    margin-bottom: 8px;
}

.cph-more-section-title[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
    padding: 0 4px;
}

.cph-more-row[b-upyuwl3rz4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 8px;
    font-size: var(--ct-sm);
    border-radius: 4px;
    transition: background 0.12s ease;
}

.cph-more-row.clickable[b-upyuwl3rz4] {
    cursor: pointer;
}

.cph-more-row.clickable:hover[b-upyuwl3rz4] {
    background: rgba(255, 255, 255, 0.06);
}

.cph-more-row-label[b-upyuwl3rz4] {
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.cph-more-row-value[b-upyuwl3rz4] {
    color: var(--color-text-primary);
    font-weight: 500;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cph-more-empty[b-upyuwl3rz4] {
    color: var(--color-warning-bright);
    font-style: italic;
    text-align: center;
}

.cph-conn-dot[b-upyuwl3rz4] {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}
.cph-conn-dot.connected[b-upyuwl3rz4] { background: var(--combat-good); box-shadow: 0 0 6px color-mix(in srgb, var(--combat-good) 50%, transparent); }
.cph-conn-dot.disconnected[b-upyuwl3rz4] { background: var(--combat-bad); }

/* ===== Damage / healing overlays ===== */
.cph-damage-overlay[b-upyuwl3rz4],
.cph-healing-overlay[b-upyuwl3rz4] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 20;
    pointer-events: none;
    border-radius: 10px;
    animation: cph-overlay-in-b-upyuwl3rz4 0.25s ease-out, cph-overlay-out-b-upyuwl3rz4 0.35s ease-in 0.85s forwards;
}

.cph-damage-overlay[b-upyuwl3rz4] {
    background: color-mix(in srgb, var(--combat-bad-deep) 85%, transparent);
    border: 2px solid color-mix(in srgb, var(--combat-damage) 60%, transparent);
}

.cph-damage-overlay.crit[b-upyuwl3rz4] {
    background: rgba(120, 53, 15, 0.9);
    border: 2px solid rgba(245, 158, 11, 0.8);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.4);
}

.cph-healing-overlay[b-upyuwl3rz4] {
    background: color-mix(in srgb, var(--combat-heal-deep) 85%, transparent);
    border: 2px solid color-mix(in srgb, var(--combat-good) 60%, transparent);
}

.cph-overlay-crit[b-upyuwl3rz4] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    color: #fcd34d;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.cph-overlay-amount[b-upyuwl3rz4] {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    animation: cph-overlay-bounce-b-upyuwl3rz4 0.4s ease-out;
}

.cph-overlay-amount.damage[b-upyuwl3rz4] { font-size: var(--ct-3xl); color: var(--combat-damage-soft); }
.cph-damage-overlay.crit .cph-overlay-amount.damage[b-upyuwl3rz4] { font-size: var(--ct-5xl); color: var(--color-warning-bright); }
.cph-overlay-amount.healing[b-upyuwl3rz4] { font-size: var(--ct-3xl); color: var(--combat-heal); }

.cph-overlay-source[b-upyuwl3rz4] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    color: #94a3b8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes cph-overlay-in-b-upyuwl3rz4 {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes cph-overlay-out-b-upyuwl3rz4 {
    from { opacity: 1; }
    to { opacity: 0; }
}
@keyframes cph-overlay-bounce-b-upyuwl3rz4 {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ===== Variant: BottomSlot (default — desktop / wide bottom row) ===== */
.compact-player-hud--bottom-slot[b-upyuwl3rz4] {
    width: 100%;
    max-width: 320px;
}

/* ===== Variant: StickyTop (mobile / tablet sticky bar at top) ===== */
.compact-player-hud--sticky-top[b-upyuwl3rz4] {
    border-radius: 0 0 8px 8px;
    border-top: none;
    padding: 6px 10px;
    margin-bottom: 0;
    backdrop-filter: blur(10px);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
}

.compact-player-hud--sticky-top .cph-portrait[b-upyuwl3rz4] {
    width: 44px;
    height: 44px;
}

.compact-player-hud--sticky-top .cph-portrait-level[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
    padding: 0 4px;
}

.compact-player-hud--sticky-top .cph-name[b-upyuwl3rz4] {
    font-size: var(--ct-base);
}

.compact-player-hud--sticky-top .cph-bars[b-upyuwl3rz4] {
    gap: 2px;
}

.compact-player-hud--sticky-top .cph-bar[b-upyuwl3rz4] {
    height: 8px;
}

/* StickyTop pip strip — drop the rounded outline + background plate so the pips
   sit flush below the HP/AC row. Vertical space is at a premium on mobile and
   the pips already self-identify via colored borders. The dashed-underline
   feel of the rounded plate above the HP bar was the cluttered surface the
   wireframe spec called out — keep the pips themselves but ditch the chrome. */
.compact-player-hud--sticky-top .cph-bottom-row[b-upyuwl3rz4] {
    gap: 4px;
    margin-top: 1px;
}

.compact-player-hud--sticky-top .action-economy-pips[b-upyuwl3rz4] {
    padding: 0;
    background: transparent;
    border: none;
    gap: 4px;
}

.compact-player-hud--sticky-top .ae-pip[b-upyuwl3rz4] {
    width: 18px;
    height: 18px;
    border-width: 1px;
}

.compact-player-hud--sticky-top .ae-pip .material-icons[b-upyuwl3rz4] {
    font-size: var(--ct-sm);
}

.compact-player-hud--sticky-top .cph-status-pip[b-upyuwl3rz4] {
    width: 18px;
    height: 18px;
}

/* ===== Variant: PartyTile (multiplayer per-player card) ===== */
.compact-player-hud--party-tile[b-upyuwl3rz4] {
    width: 100%;
    max-width: 360px;
    padding: 12px;
}

.compact-player-hud--party-tile .cph-portrait[b-upyuwl3rz4] {
    width: 64px;
    height: 64px;
}

.compact-player-hud--party-tile .cph-name[b-upyuwl3rz4] {
    font-size: var(--ct-lg);
}
/* /Components/Combat/HUD/HotbarSlotFace.razor.rz.scp.css */
/* HotbarSlotFace.razor.css: the compact face of an economy hotbar slot (combat HUD rethink WP12). The card's button
   is the frame (sized and padded by CombatHotbar.razor.css, position: relative); this file lays out what sits inside
   it. Tokens only. The hotkey is a keyboard keycap (the global .hotkey-keycap look in design-system.css: a neutral slate
   key with a darker bottom lip, owner 13 Nov 2026), never a colored chip, so it can't be read as a cost or a cooldown.
   The icon shares the top row with the two corner chips (hotkey left, cost / cooldown / uses / "!" right) and the name
   takes the two lines under it. Readable combat text (14 Nov 2026): every size here is a --ct-* token and every box an
   em of it (the frame's --slot-w / --slot-h in CombatHotbar.razor.css are too), so the whole face grows with the
   combat text size and nothing on it is under 12px at Medium. */

.slot-face-key[b-fczsndnrt6],
.slot-face-cost[b-fczsndnrt6],
.slot-face-cd[b-fczsndnrt6],
.slot-face-uses[b-fczsndnrt6],
.slot-face-ready[b-fczsndnrt6] {
    position: absolute;
    top: 3px;
    z-index: 1;
    height: 1.4em;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.3em;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* The keycap's face, rim and lip come from .hotkey-keycap; the face only places it. The lip (an inset shadow) takes
   the bottom 2px, so the digit sits a pixel higher than the corner chips' text, as a key's legend does. */
.slot-face-key[b-fczsndnrt6] {
    left: 3px;
    min-width: 1.4em;
    padding: 0 0.25em;
    font-size: var(--ct-sm);
    line-height: 1.2em;
}

/* The cost, outlined in its resource color (never a filled eco token, which would read as a lane tag). */
.slot-face-cost[b-fczsndnrt6] {
    right: 3px;
    min-width: 1.4em;
    padding: 0 0.25em;
    border-radius: 0.7em;
    border: 1px solid var(--color-mana);
    background: color-mix(in srgb, var(--color-bg-base) 88%, transparent);
    color: var(--color-info-lighter);
    font-size: var(--ct-sm);
}

.slot-face-cost.cost-ki[b-fczsndnrt6] {
    border-color: var(--color-ki);
    color: var(--color-ki);
}

.slot-face-cost.cost-swagger[b-fczsndnrt6] {
    border-color: var(--color-swagger);
    color: var(--color-swagger);
}

/* A cost lowered by the caster's active effects (the full card's .cost-reduced). */
.slot-face-cost.is-reduced[b-fczsndnrt6] {
    color: var(--combat-good-lighter);
}

/* The cooldown takes the cost's corner while it runs; it stays bright while the rest of the face dims. */
.slot-face-cd[b-fczsndnrt6] {
    right: 3px;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    padding: 0 0.3em 0 0.15em;
    border-radius: 0.7em;
    border: 1px solid var(--color-warning);
    background: var(--color-bg-base);
    color: var(--color-warning-bright);
    font-size: var(--ct-sm);
}

.slot-face-cd .material-icons[b-fczsndnrt6] {
    font-size: var(--ct-sm);
}

/* A use pool's uses left ("2/3": Channel Divinity's uses, Bardic Inspiration's dice) in the pool's own color, the
   vitals' meter color for that row; outlined like a cost, but the slash and the class color say "uses left". */
.slot-face-uses[b-fczsndnrt6] {
    right: 3px;
    min-width: 1.4em;
    /* "2/3" is wider than a cost: a tighter pad and kerning keep it clear of the icon between the corners. */
    padding: 0 0.15em;
    letter-spacing: -0.03em;
    border-radius: 0.7em;
    border: 1px solid var(--color-cleric);
    background: color-mix(in srgb, var(--color-bg-base) 88%, transparent);
    color: var(--color-cleric-light);
    font-size: var(--ct-sm);
}

.slot-face-uses.uses-inspiration[b-fczsndnrt6] {
    border-color: var(--color-bard);
    color: var(--color-bard-light);
}

/* A once-per-battle card still unused. */
.slot-face-ready[b-fczsndnrt6] {
    right: 3px;
    width: 1.4em;
    border-radius: var(--radius-round);
    background: var(--combat-good-light);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    line-height: 1.4em;
}

.slot-face-icon[b-fczsndnrt6] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: var(--ct-3xl);
    color: var(--color-primary);
}

/* A spell's icon keeps its school color (the global .spell-school-* .mud-icon-root rule on the card). */
.slot-face-icon[b-fczsndnrt6]  .mud-icon-root {
    width: 1em;
    height: 1em;
    font-size: var(--ct-3xl);
}

.slot-face-name[b-fczsndnrt6] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* The slot's full inner width: the name reaches into the frame's 3px side padding (the corner chips are above it). */
    max-width: calc(100% + 4px);
    margin: 4px -2px 0;
    color: var(--color-text-lightest);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.15;
    text-align: center;
    /* The size tier (HotbarSlotFace.NameSizeClass, from the longest word) keeps every word whole; breaking inside one
       is the last resort only, for a word longer than any tier was sized for. */
    overflow-wrap: anywhere;
}

/* 10 to 12 letters ("Disintegrate", "Thunderwave"). The tiers tighten the letters, never the size: 12px is the floor
   (measured in Inter 600 at 12px, Thunderwave is 80px, 77.5px at -0.03em; the slot's name line is --slot-w less 2px). */
.slot-face-name.name-long[b-fczsndnrt6] {
    letter-spacing: -0.03em;
}

/* 13 letters or more ("Mordenkainen's", 90px at 12px, 82px at -0.07em). */
.slot-face-name.name-very-long[b-fczsndnrt6] {
    letter-spacing: -0.07em;
}

/* Greyed (the gate's reason is in the hover zoom): the icon, name, hotkey and cost dim; a cooldown and the uses left
   ("0/2" is often why the card is greyed) stay readable. */
.disabled .slot-face-icon[b-fczsndnrt6],
.disabled .slot-face-name[b-fczsndnrt6],
.disabled .slot-face-key[b-fczsndnrt6],
.disabled .slot-face-cost[b-fczsndnrt6],
.disabled .slot-face-ready[b-fczsndnrt6] {
    opacity: 0.45;
    filter: grayscale(0.6);
}

/* Read once after the name by a screen reader; never drawn. */
.slot-face-sr[b-fczsndnrt6] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* /Components/Combat/HUD/SpellCard.razor.rz.scp.css */
/* Combat HUD rethink WP9c: the spell card face. The card's frame, badges and hover zoom keep their global rules
   (combat-shared.css, .spell-card-mini / .spell-hz-*); this file styles what the face adds: the hex range badge,
   the dice row, the reduced mana cost and the hover zoom's effect / area / save lines. Tokens only; the damage-type
   colors are the global .damage-type-* palette (design-system.css). */

.spell-card-range-badge[b-mfdueihnme] {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.spell-face-hex-glyph[b-mfdueihnme] {
    font-size: var(--ct-sm);
    line-height: 1;
    opacity: 0.85;
}

/* A cost lowered by the caster's active effects (SpellCastRules.GetEffectiveManaCost). */
.spell-card-cost-badge.cost-reduced[b-mfdueihnme] {
    color: var(--combat-good-lighter);
}

/* One fixed-height row under the name, so cards with and without dice stay level in the row. */
.spell-face-dice-row[b-mfdueihnme] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 1.29em;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.29;
    font-variant-numeric: tabular-nums;
}

.spell-face-dice[b-mfdueihnme],
.spell-face-area[b-mfdueihnme] {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    white-space: nowrap;
}

.spell-face-heal[b-mfdueihnme] {
    color: var(--combat-heal);
}

.spell-face-area[b-mfdueihnme] {
    color: var(--color-aoe-footprint);
}

.spell-face-dice-glyph[b-mfdueihnme] {
    font-size: var(--ct-sm);
    line-height: 1;
}

[b-mfdueihnme] .spell-face-dice-icon {
    font-size: var(--ct-sm) !important;
    width: 1em;
    height: 1em;
}

/* Hover zoom: the full face in words. It follows the combat text size (WP12g, the --ct-* tokens); the card face above
   does not. */
.spell-face-base-cost[b-mfdueihnme] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.spell-face-lines[b-mfdueihnme] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0;
    font-size: var(--ct-sm);
    color: var(--color-text-lighter);
}

.spell-face-line[b-mfdueihnme] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.spell-face-line-glyph[b-mfdueihnme] {
    font-size: var(--ct-base);
    color: var(--color-text-secondary);
}

.spell-face-area-line[b-mfdueihnme],
.spell-face-area-line .spell-face-line-glyph[b-mfdueihnme] {
    color: var(--color-aoe-footprint);
}

/* How to pin the zoom (a right-click on the card); the pinned zoom shows the global .hz-esc-hint instead. */
.spell-pin-hint[b-mfdueihnme] {
    margin-top: 6px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    text-align: right;
}

[b-mfdueihnme] .spell-face-line-icon {
    font-size: var(--ct-base) !important;
    width: 1em;
    height: 1em;
}
/* /Components/Combat/InitiativeTracker.razor.rz.scp.css */
/* ===== Phase 8 — Initiative Tracker ===== */
/* Larger portraits (52×52), prominent ROUND pill, sliding active marker, status pip strip. */

.initiative-tracker[b-el113q63ts] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 14px;
    background: var(--color-bg-elevated-alt);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* ---------- Round pill (replaces "Turn N" label) ---------- */
.initiative-round-pill[b-el113q63ts] {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(217, 119, 6, 0.16));
    border: 1px solid rgba(255, 215, 0, 0.45);
    border-radius: 999px;
    color: var(--color-warning-bright);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.18);
    white-space: nowrap;
    align-self: center;
}

.initiative-round-label[b-el113q63ts] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(251, 191, 36, 0.85);
}

.initiative-round-number[b-el113q63ts] {
    font-family: 'Cinzel', serif;
    font-size: var(--ct-xl);
    font-weight: 800;
    line-height: 1;
    color: #fde68a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* ---------- Slot row ---------- */
.initiative-slots[b-el113q63ts] {
    /* The portraits grow with the combat text size (--ct-box: 1 up to Medium), so the NEXT / ON DECK label and the
       badges on them never outgrow the circle (readable combat text, 14 Nov 2026). */
    --slot-size: calc(52px * var(--ct-box));
    --slot-gap: 10px;
    position: relative;
    display: flex;
    gap: var(--slot-gap);
    flex: 1;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* ---------- Sliding active marker (one per tracker, FLIP via transform) ---------- */
.initiative-active-marker[b-el113q63ts] {
    position: absolute;
    top: -3px;
    left: 0;
    width: calc(var(--slot-size) + 6px);
    height: calc(var(--slot-size) + 6px);
    border-radius: 50%;
    border: 2px solid var(--color-warning-bright);
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.55), 0 0 0 2px rgba(0, 0, 0, 0.35) inset;
    /* --active-divider-offset compensates for the 2px-wide player->monster divider
       (plus the row's 10px flex gap = 12px per divider crossed). Without this the
       marker slides only by uniform slot pitch and lands left of the active monster. */
    transform: translateX(calc(var(--active-index, 0) * (var(--slot-size) + var(--slot-gap)) + var(--active-divider-offset, 0px) - 3px));
    transition: transform 200ms ease;
    pointer-events: none;
    z-index: 3;
    animation: activeMarkerPulse-b-el113q63ts 1.6s ease-in-out infinite;
}

@keyframes activeMarkerPulse-b-el113q63ts {
    0%, 100% { box-shadow: 0 0 14px rgba(251, 191, 36, 0.5), 0 0 0 2px rgba(0, 0, 0, 0.35) inset; }
    50%      { box-shadow: 0 0 22px rgba(251, 191, 36, 0.9), 0 0 0 2px rgba(0, 0, 0, 0.35) inset; }
}

/* ---------- Slot button ---------- */
.initiative-slot[b-el113q63ts] {
    position: relative;
    width: var(--slot-size);
    height: var(--slot-size);
    background: rgba(30, 41, 59, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    padding: 0;
    color: inherit;
    /* Subtle gradient frame to match Phase 5 ability cards */
    background-image:
        linear-gradient(rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95)),
        linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 255, 255, 0));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.initiative-slot:hover[b-el113q63ts],
.initiative-slot:focus-visible[b-el113q63ts] {
    transform: scale(1.08);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
    outline: none;
}

.initiative-slot img[b-el113q63ts] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.initiative-slot.player[b-el113q63ts] {
    border-color: color-mix(in srgb, var(--combat-ally) 55%, transparent);
    background: color-mix(in srgb, var(--combat-ally) 16%, transparent);
}

.initiative-slot.enemy[b-el113q63ts] {
    border-color: color-mix(in srgb, var(--combat-enemy) 35%, transparent);
}

.initiative-slot.defeated[b-el113q63ts] {
    opacity: 0.4;
    filter: grayscale(100%);
}

.defeated-marker[b-el113q63ts] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--combat-bad);
}

.initiative-divider[b-el113q63ts] {
    width: 2px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    align-self: center;
}

/* ---------- Party queue (combat log redesign wave 2, M2) ----------
   One row that never wraps. The slots still wrap inside a box exactly one row tall with its overflow hidden, so a
   portrait that does not fit drops out whole (never half a face, never a second row): thirteen combatants used to fold
   into a grid a third of the screen tall. The row starts at the acting combatant, so who acts now and next is always
   in view; the chip after it says how long until you act. The padding leaves room for the marker's glow and the tags
   that sit above a portrait. */
.initiative-tracker.queue[b-el113q63ts] {
    flex: 1 1 0;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.initiative-tracker.queue .initiative-slots[b-el113q63ts] {
    --slot-size: calc(44px * var(--ct-box));
    --slot-gap: 8px;
    --queue-pad-top: 8px;
    flex: 1 1 0;
    /* Now and next always fit (the Verify step's raid, 11 Nov: with the log beside the fight at 1440 the row got no
       width at all, and at 1280 it showed a sliver of one face). The top strip reserves this floor for the queue
       (combat-responsive.css, "Party queue floor"); everything after the second portrait drops out whole. */
    min-width: calc(2 * var(--slot-size) + var(--slot-gap) + 12px);
    flex-wrap: wrap;
    align-content: flex-start;
    row-gap: 48px;
    height: calc(var(--queue-pad-top) + var(--slot-size) + 29px);
    padding: var(--queue-pad-top) 6px 0;
    overflow: hidden;
}

.initiative-tracker.queue .initiative-active-marker[b-el113q63ts] {
    top: calc(var(--queue-pad-top) - 3px);
    left: 6px;
}

.initiative-next-round[b-el113q63ts] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: var(--slot-size);
    padding: 0 4px;
    border-left: 1px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: none;
    color: var(--color-primary-light);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    align-self: flex-start;
}

/* The chips after the row give way before the portraits do, and drop out whole as the portraits do: one row tall,
   wrapping, overflow hidden. A zero-width first item (the ::before) means even the first chip can wrap out of sight
   (a flex line always keeps its first item, however wide). */
.initiative-queue-end[b-el113q63ts] {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    height: 24px;
    row-gap: 40px;
    overflow: hidden;
}

.initiative-queue-end[b-el113q63ts]::before {
    content: "";
    width: 0;
    height: 24px;
}

.initiative-queue-end > :where(:not(:first-child))[b-el113q63ts] {
    margin-left: 6px;
}

.initiative-wait-chip[b-el113q63ts],
.initiative-queue-count[b-el113q63ts] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: var(--ct-sm);
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.initiative-wait-chip[b-el113q63ts] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary-light);
}

.initiative-queue-count[b-el113q63ts] {
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    color: var(--color-text-secondary);
}

.initiative-wait-chip .material-icons[b-el113q63ts],
.initiative-queue-count .material-icons[b-el113q63ts] {
    font-size: var(--ct-base);
}

/* ---------- Mobile variant ---------- */
.initiative-tracker.mobile[b-el113q63ts] {
    padding: 8px 10px;
    margin-bottom: 8px;
    gap: 8px;
}

.initiative-tracker.mobile .initiative-round-pill[b-el113q63ts] {
    padding: 5px 10px;
}

.initiative-tracker.mobile .initiative-round-label[b-el113q63ts] { font-size: var(--ct-sm); }
.initiative-tracker.mobile .initiative-round-number[b-el113q63ts] { font-size: var(--ct-xl); } /* Cinzel's 18px floor */

/* The phone's 32px portraits can't hold a 12px "NEXT" (readable combat text, 14 Nov 2026: it read "NEX"); there the
   next-up slot keeps its border cue (the gray-blue ring; on deck, the gold one) and the label is not drawn. */
.initiative-tracker.mobile .next-up-label[b-el113q63ts] {
    display: none;
}

.initiative-tracker.mobile .initiative-slots[b-el113q63ts] {
    --slot-size: 38px;
    --slot-gap: 6px;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.initiative-tracker.mobile .initiative-slot[b-el113q63ts] {
    min-width: var(--slot-size);
}

/* ---------- Slot wrapper (slot + HP strip + status pips) ---------- */
.initiative-slot-wrapper[b-el113q63ts] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* HP indicator strip below each slot */
.initiative-hp-strip[b-el113q63ts] {
    width: var(--slot-size, 52px);
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hp-strip-fill[b-el113q63ts] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.hp-strip-healthy[b-el113q63ts] { background: linear-gradient(90deg, var(--combat-hp-high-alt), var(--combat-hp-high-alt-dark)); }
.hp-strip-low[b-el113q63ts]     { background: linear-gradient(90deg, var(--combat-hp-mid-light), var(--combat-hp-mid)); }
.hp-strip-critical[b-el113q63ts] {
    background: linear-gradient(90deg, var(--combat-hp-low), var(--combat-hp-low-darker));
    animation: critStripPulse-b-el113q63ts 1s ease-in-out infinite;
}

@keyframes critStripPulse-b-el113q63ts {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

/* "NEXT" label overlay at bottom of slot */
.next-up-label[b-el113q63ts] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.72);
    color: #cbd5e1;
    font-size: var(--ct-sm);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    padding: 2px 0;
    pointer-events: none;
}

/* Next-up slot: subtle gray-blue border */
.initiative-slot.next-up[b-el113q63ts] {
    border-color: rgba(148, 163, 184, 0.55);
    box-shadow: 0 0 8px rgba(148, 163, 184, 0.2);
}

/* ---------- Status pip strip (max 3 + overflow) ---------- */
.initiative-status-strip[b-el113q63ts] {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
    min-height: 16px;
    max-width: calc(var(--slot-size, 52px) + 6px);
}

.initiative-status-pip[b-el113q63ts] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.59em;
    height: 1.59em;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    font-size: var(--ct-sm);
    font-weight: 700;
    color: #f1f5f9;
}

.initiative-status-pip .mud-icon-root[b-el113q63ts] {
    width: 1em !important;
    height: 1em !important;
    font-size: var(--ct-sm) !important;
}

.initiative-status-overflow[b-el113q63ts] {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(148, 163, 184, 0.55);
    color: #cbd5e1;
    padding: 0 3px;
    width: auto;
    min-width: 1.75em;
    font-size: var(--ct-sm);
}

/* W1d polish (director's critique item 14): at 1280 and below a long solo turn order folded into two rows, and with the
   two-row hotbar a 1280 x 720 board was left 238px tall (23px discs). One row there, scrolling sideways, with the
   party queue's smaller portraits; the padding keeps the marker's glow and the tags above a portrait in the box. */
@media (max-width: 1280px) {
    .initiative-tracker:not(.queue):not(.mobile)[b-el113q63ts] {
        min-width: 0;
    }

    .initiative-tracker:not(.queue):not(.mobile) .initiative-slots[b-el113q63ts] {
        --slot-size: calc(44px * var(--ct-box));
        --slot-gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        padding: 8px 6px 2px;
        min-width: 0;
    }
}

/* Mobile: hide HP strips + status pips for density */
.initiative-tracker.mobile .initiative-hp-strip[b-el113q63ts],
.initiative-tracker.mobile .initiative-status-strip[b-el113q63ts] {
    display: none;
}

/* Reduced-motion guard */
@media (prefers-reduced-motion: reduce) {
    .initiative-active-marker[b-el113q63ts] {
        transition: none;
        animation: none;
    }
    .initiative-slot:hover[b-el113q63ts],
    .initiative-slot:focus-visible[b-el113q63ts] {
        transform: none;
    }
}

/* ---------- Party identity (2026-10, audit U4 / U11) ----------
   Player slots show THAT character: class icon under a portrait, class-colored ring
   (--class-accent from the design-system class utilities), a gold "YOU" tag on the local
   player's slot, and a Downed countdown. */
.initiative-slot.player.class-accent[b-el113q63ts] {
    border-color: var(--class-accent);
    background: color-mix(in srgb, var(--class-accent) 16%, rgba(15, 23, 42, 0.95));
}

/* Keep the hover and next-up cues on class-ringed slots (the ring rule above outranks them). */
.initiative-slot.player.class-accent:hover[b-el113q63ts],
.initiative-slot.player.class-accent:focus-visible[b-el113q63ts] {
    border-color: rgba(255, 215, 0, 0.5);
}

.initiative-slot.player.class-accent.next-up[b-el113q63ts] {
    border-color: rgba(148, 163, 184, 0.55);
}

.player-class-icon[b-el113q63ts] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ct-3xl);
    color: var(--class-accent, var(--color-info));
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.initiative-slot img.player-portrait[b-el113q63ts] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* An outline, so the hover / next-up box-shadows still show on the local player's slot. */
.initiative-slot.player.is-self[b-el113q63ts] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.initiative-slot-wrapper[b-el113q63ts] {
    position: relative;
}

/* Sits on the wrapper above the round slot, so the circle's overflow:hidden can't clip it. */
.initiative-you-tag[b-el113q63ts] {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 4px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.4;
    pointer-events: none;
    z-index: 2;
}

.initiative-slot.player.downed[b-el113q63ts] {
    border-color: var(--combat-bad);
}

.downed-marker[b-el113q63ts] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background: color-mix(in srgb, var(--combat-bad-deep) 55%, transparent);
    color: var(--combat-bad-lightest);
    z-index: 1;
}

.downed-marker .material-icons[b-el113q63ts] {
    font-size: var(--ct-lg);
}

.downed-rounds[b-el113q63ts] {
    font-size: var(--ct-base);
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.initiative-tracker.mobile .player-class-icon[b-el113q63ts] {
    font-size: var(--ct-lg);
}

/* Identity (HUD decision D10): a duplicate monster's "#N" ordinal, on the wrapper (top-right of the round slot)
   so the circle's overflow:hidden can't clip it. Same number as the board token's badge. */
.initiative-ordinal-badge[b-el113q63ts] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.46em;
    height: 1.46em;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--color-bg-base);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

/* ---------- Co-op cues (combat HUD rethink WP10) ----------
   On deck (D11): the local player's slot while they act next, a gold ring and an "ON DECK" label in place of NEXT.
   Legendary pip (3A): a boss's legendary actions left this round, top-left of its portrait (the ordinal badge sits
   top-right), positioned on the wrapper so it never widens the slot (the active marker slides by a fixed pitch). */
.initiative-slot.on-deck[b-el113q63ts],
.initiative-slot.player.class-accent.on-deck[b-el113q63ts] {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.next-up-label.on-deck-label[b-el113q63ts] {
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-primary);
}

.initiative-legendary-pip[b-el113q63ts] {
    position: absolute;
    top: -6px;
    left: -6px;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    height: 1.7em;
    padding: 0 4px 0 2px;
    border-radius: 999px;
    background: var(--color-bg-base);
    border: 1px solid var(--combat-enemy-light);
    color: var(--combat-enemy-lighter);
    font-size: var(--ct-sm);
    font-weight: 800;
    line-height: 1.48;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: auto;
    z-index: 3;
}

.initiative-legendary-pip .material-icons[b-el113q63ts] {
    font-size: var(--ct-sm);
}

.initiative-legendary-pip.is-spent[b-el113q63ts] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 60%, transparent);
    color: var(--color-text-secondary);
}

/* Hex disc W1h, a short window (the one height breakpoint, design-system.css: 960px): the top strip's turn order sheds
   its inner padding and the margin under it, and the solo portraits step down to the 1280 tier's 44px (a touch hit
   stays 44px), so the strip is about 34px shorter and the board gets the height. Padding and heights only: every
   portrait, the round pill, the HP strips and the status pips stay. */
@media (max-height: 960px) {
    .combat-topstrip .initiative-tracker:not(.mobile)[b-el113q63ts] {
        padding: 4px 10px;
        margin-bottom: 0;
    }

    .combat-topstrip .initiative-tracker:not(.mobile):not(.queue) .initiative-slots[b-el113q63ts] {
        --slot-size: calc(44px * var(--ct-box));
    }

    .combat-topstrip .initiative-tracker:not(.mobile) .initiative-slot-wrapper[b-el113q63ts] {
        gap: 3px;
    }

    .combat-topstrip .initiative-tracker:not(.mobile) .initiative-round-pill[b-el113q63ts] {
        padding: 5px 12px;
    }
}
/* /Components/Combat/Layouts/CombatBottomDock.razor.rz.scp.css */
/* CombatBottomDock.razor.css: the economy-hotbar dock only (.combat-bottom-dock--hotbar, combat HUD rethink WP12).
   The dock's frame and the older dock (CompactPlayerHud + CombatActionsPanel + economy rail) keep their global rules
   in wwwroot/css/combat-responsive.css; nothing here reaches them. The hotbar gets the room it needs: the vitals
   column is capped (the vitals card restacks to its height, CombatVitals.razor.css), End Turn is a narrow upright button, and the vertical padding is
   trimmed, so the two-row bar is no taller than the old one-row bar with its scrollbar. The caps scale with the
   viewport (clamp) rather than step at a breakpoint, so the hotbar never gets narrower as the screen gets wider.
   Tokens only; no breakpoints. */

.combat-bottom-dock--hotbar[b-7e3cbh5vh2] {
    gap: var(--space-md);
    padding: 4px 10px;
}

/* Vitals: 252px at 1280, growing to 312px by about 1580. The floor is the 1280 width, so a desktop window narrower
   than 1280 (the page keeps 1280 and scrolls, WP12c) does not shrink it. */
.combat-bottom-dock--hotbar.with-hud[b-7e3cbh5vh2] {
    grid-template-columns: clamp(252px, calc(20vw - 4px), 312px) minmax(0, 1fr) auto;
}

.combat-bottom-dock--hotbar .dock-hud-segment[b-7e3cbh5vh2] {
    padding-right: var(--space-md);
}

.combat-bottom-dock--hotbar .dock-endturn-segment[b-7e3cbh5vh2] {
    min-width: 0;
    padding-left: var(--space-md);
}

/* Upright: icon, the two-line label, the Q hint. 78px at 1280, 92px by about 1530. */
.combat-bottom-dock--hotbar .dock-end-turn-btn[b-7e3cbh5vh2] {
    flex-direction: column;
    gap: 3px;
    width: clamp(78px, 6vw, 92px);
    padding: 10px 6px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
}
/* /Components/Combat/Layouts/CombatHotbar.razor.rz.scp.css */
/* CombatHotbar.razor.css: the economy hotbar (combat HUD rethink WP9b, Concept A; density pass WP12).
   Colors are design-system tokens only. The lane header is the turn pip: one eco token and one WP4 shape per lane
   (action circle, bonus triangle, move square, free ring), so a lane reads without color too. A spent lane fades
   as a whole. No breakpoints: the slot size scales with the viewport (clamp), so the bar never steps narrower.
   WP12: the Action lane takes the free width and WRAPS its slots onto up to two rows (row-major: the DOM order is the
   builder's, so the digits read left to right, top to bottom), then scrolls vertically inside itself; it never
   scrolls sideways. Bonus and Free fold into two rows when the bar is short of width and spread to one row (up to
   three columns) when it isn't; the Action lane gets the width first. The slots wear HotbarSlotFace, the compact
   face; the hover zoom keeps the full card. */

.combat-hotbar[b-fngmrzmqby] {
    /* One slot, one gap: the lanes' widths are counted in slots. Readable combat text (14 Nov 2026): the slot is sized
       from the face's 12px text (--ct-sm), so it grows with the combat text size: 82x63 at Medium (a 12px two-line name,
       "Thunderwave" whole on its line, under a 24px icon row), 115x88 at Extra large. It no longer steps with the
       viewport: the lanes fold and wrap (and scroll vertically past two rows) when the bar is short of width. */
    --slot-w: calc(var(--ct-sm) * 6.8);
    --slot-h: calc(var(--ct-sm) * 5.25);
    --slot-gap: clamp(5px, calc(5px + (100vw - 1280px) * 0.005), 6px);
    --lane-pad-x: 3px;
    --move-w: calc(var(--ct-sm) * 6);
    /* The slot box's own padding: room for a slot's hover lift and armed ring inside a scrolling lane. */
    --slots-pad: 2px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
    min-height: 0;
}

/* Hex disc W1h, a short window (the one height breakpoint, design-system.css: 960px): the slots step down (61px at Medium; 56px before the 12px floor)
   (the mouse tiers only: this hotbar is Desktop and Wide; the touch tiers draw TabletHotbar), so the two-row dock gives
   the board about 12px. Every slot, chip and keycap stays, and a two-line name ("Burning Hands") still fits: at 52px
   its second line was cut. */
@media (max-height: 960px) {
    .combat-hotbar[b-fngmrzmqby] {
        --slot-h: calc(var(--ct-sm) * 5.1);
    }
}

/* ----- Target line ----- */

/* The overflow menu (Flee) sits in the top-right corner over the target line, so it keeps its width clear. The aim
   banner and the concentration warning are not rows of the dock any more: they lie over the board stage
   (Aiming/BoardAimOverlay), so an aim never changes the dock's height (owner 14 Nov 2026, the bounce). */
.hotbar-target[b-fngmrzmqby] {
    margin-right: 34px;
}

/* While an action is aimed the target line keeps its slot (and so its height) but shows nothing: the aim bar over the
   board carries the aimed action's preview, and two different odds never show at once. */
.hotbar-target.is-aiming[b-fngmrzmqby] {
    visibility: hidden;
}

.hotbar-target[b-fngmrzmqby] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 1.83em;
    font-size: var(--ct-sm);
    color: var(--color-text-light);
    min-width: 0;
}

.hotbar-target .material-icons[b-fngmrzmqby] {
    font-size: var(--ct-lg);
    color: var(--color-primary);
}

.hotbar-target.no-target .material-icons[b-fngmrzmqby],
.hotbar-target-empty[b-fngmrzmqby] {
    color: var(--color-text-secondary);
}

/* ----- Lanes ----- */

.hotbar-body[b-fngmrzmqby] {
    min-width: 0;
}

/* The lanes sit in one line. Only when even every lane's folded width cannot fit (Move, two Action columns, the side
   lanes in two rows) does a lane drop to a second line: the bar grows taller rather than clipping a lane or scrolling
   sideways. */
.hotbar-lanes[b-fngmrzmqby] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--space-xs) var(--space-sm);
    min-width: 0;
}

.hotbar-lane[b-fngmrzmqby] {
    --eco: var(--color-eco-action);
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 0 0 auto;
    min-width: 0;
    padding: 2px var(--lane-pad-x) 2px;
    border-top: 3px solid var(--eco);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--eco) 6%, transparent);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.hotbar-lane--move[b-fngmrzmqby]     { --eco: var(--color-eco-move); }
.hotbar-lane--action[b-fngmrzmqby]   { --eco: var(--color-eco-action); }
.hotbar-lane--bonus[b-fngmrzmqby]    { --eco: var(--color-eco-bonus); }
.hotbar-lane--free[b-fngmrzmqby]     { --eco: var(--color-eco-free); }
.hotbar-lane--reaction[b-fngmrzmqby] { --eco: var(--color-eco-reaction); }

/* A sized lane (HotbarView.LaneColumns, set inline as --fold-cols / --lane-cols): it starts from its folded width
   (its flex basis, so a lane line breaks only on the folded widths) and grows up to its full width; its slots wrap
   inside it. Width in columns: N slots, N - 1 gaps, the slot box's and the lane's paddings. */
.hotbar-lane.is-sized[b-fngmrzmqby] {
    --fold-w: calc(var(--fold-cols) * var(--slot-w) + (var(--fold-cols) - 1) * var(--slot-gap) + 2 * var(--slots-pad) + 2 * var(--lane-pad-x));
    --full-w: calc(var(--lane-cols) * var(--slot-w) + (var(--lane-cols) - 1) * var(--slot-gap) + 2 * var(--slots-pad) + 2 * var(--lane-pad-x));
    flex: 1 0 var(--fold-w);
    max-width: var(--full-w);
}

/* The Action lane takes the free width first (a flex-grow far above the side lanes', so they gain only what is left
   once every Action slot fits in one row) and is the one lane that shrinks back to its two folded columns. Folding
   Bonus and Free therefore costs no height: they fold only while the Action lane needs its second row anyway. */
.hotbar-lane--action.is-sized[b-fngmrzmqby] {
    flex: 9999 1 var(--fold-w);
    min-width: var(--fold-w);
}

/* A spent lane fades as a whole (its slots grey with the gate's reason too). */
.hotbar-lane.is-spent[b-fngmrzmqby] {
    opacity: 0.45;
    filter: grayscale(0.4);
}

/* The header never sets the lane's width (contain: inline-size), so a one-slot Bonus lane stays one slot wide. It is
   one line tall and wraps: a note too wide for the lane ("Spent" beside a one-slot lane's title) drops to the hidden
   second line rather than showing a stub; the lane still fades, strikes its title and says "spent" to a screen
   reader. */
.hotbar-lane-head[b-fngmrzmqby] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 5px;
    contain: inline-size;
    min-width: 0;
    height: 1.15em;
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--eco);
    white-space: nowrap;
}

.hotbar-lane-title[b-fngmrzmqby] {
    flex: 0 0 auto;
}

.hotbar-lane-note[b-fngmrzmqby] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-text-secondary);
}

.hotbar-lane.is-spent .hotbar-lane-title[b-fngmrzmqby] {
    text-decoration: line-through;
}

/* The lane pip: the WP4 shapes (design-system.css action economy block). */
.eco-pip[b-fngmrzmqby] {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--eco);
    box-shadow: 0 0 6px color-mix(in srgb, var(--eco) 70%, transparent);
}

.hotbar-lane--bonus .eco-pip[b-fngmrzmqby] {
    width: 12px;
    height: 11px;
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    box-shadow: none;
}

.hotbar-lane--move .eco-pip[b-fngmrzmqby] {
    border-radius: 2px;
}

.hotbar-lane--free .eco-pip[b-fngmrzmqby] {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--eco);
}

.hotbar-lane--reaction .eco-pip[b-fngmrzmqby] {
    border-radius: 0;
    transform: rotate(45deg) scale(0.8);
}

.hotbar-lane.is-spent .eco-pip[b-fngmrzmqby] {
    background: var(--color-text-muted);
    box-shadow: none;
}

.hotbar-lane--free.is-spent .eco-pip[b-fngmrzmqby] {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--color-text-muted);
}

/* The slots wrap, row-major, at most two rows tall; a kit that needs a third row scrolls vertically inside its lane
   (never sideways), on a scrollbar in the lane's own color so the overflow is plain to see. */
.hotbar-lane-slots[b-fngmrzmqby] {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    gap: var(--slot-gap);
    max-height: calc(2 * var(--slot-h) + var(--slot-gap) + 2 * var(--slots-pad));
    padding: var(--slots-pad);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--eco) color-mix(in srgb, var(--eco) 12%, transparent);
}

/* ----- Move: a compact status tile (the full lane height); the hexes left are the header's note, on a line of
   its own ----- */

.hotbar-lane--move[b-fngmrzmqby] {
    width: calc(var(--move-w) + 2 * var(--lane-pad-x));
}

.hotbar-lane--move .hotbar-lane-head[b-fngmrzmqby] {
    column-gap: 4px;
    row-gap: 1px;
    height: auto;
    overflow: visible;
    letter-spacing: 0.04em;
    white-space: normal;
}

.hotbar-lane--move .hotbar-lane-note[b-fngmrzmqby] {
    flex: 1 0 100%;
    font-size: var(--ct-sm);
    line-height: 1.15;
    letter-spacing: 0;
    overflow: visible;
}

.hotbar-lane--move .hotbar-lane-slots[b-fngmrzmqby] {
    flex: 1 1 auto;
    padding: var(--slots-pad) 0;
    overflow: visible;
}

.hotbar-move-slot[b-fngmrzmqby] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--move-w);
    height: 100%;
    min-height: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-eco-move) 45%, transparent);
    background: color-mix(in srgb, var(--color-eco-move) 8%, transparent);
    color: var(--color-eco-move);
}

.hotbar-move-slot .material-icons[b-fngmrzmqby] {
    font-size: var(--ct-3xl);
}

.hotbar-move-slot.disabled[b-fngmrzmqby] {
    color: var(--color-text-tertiary);
    border-color: var(--color-border-subtle);
    background: transparent;
}

/* ----- Reaction (Monsters to 5e D3): a read-only status, never a control ----- */

/* Its title sets the lane's width: the head is not contained here (and draws no note: the tile says "Ready" or
   "Spent"), so "REACTION" shows in full beside its diamond. A contained head on a tile-wide lane (52-56px) pushed the
   title onto the head's hidden second line and left the pip alone. The tile is contained instead, so its words wrap
   inside the title's width and never widen the lane. */
.hotbar-lane--reaction[b-fngmrzmqby] {
    min-width: calc(var(--move-w) + 2 * var(--lane-pad-x));
}

.hotbar-lane--reaction .hotbar-lane-head[b-fngmrzmqby] {
    contain: none;
}

.hotbar-lane--reaction .hotbar-lane-slots[b-fngmrzmqby] {
    flex: 1 1 auto;
    padding: var(--slots-pad) 0;
    overflow: visible;
}

/* The tile is words on the lane's own tint: no frame, no fill of its own, no hover and no pointer, so nothing about it
   reads as a button or a drop target. It fades with the lane once the reaction is spent. */
.hotbar-reaction-slot[b-fngmrzmqby] {
    contain: inline-size;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    width: 100%;
    height: 100%;
    min-height: 30px;
    padding: 0 2px;
    color: var(--color-text-light);
    cursor: default;
    user-select: none;
}

.hotbar-reaction-state[b-fngmrzmqby] {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
    color: var(--color-eco-reaction);
}

.hotbar-reaction-state .material-icons[b-fngmrzmqby] {
    font-size: var(--ct-base);
}

.hotbar-reaction-name[b-fngmrzmqby] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.15;
}

.hotbar-reaction-how[b-fngmrzmqby] {
    font-size: var(--ct-sm);
    line-height: 1.12;
    color: var(--color-text-secondary);
}

/* "Spent" / "Back next turn" are words the player reads, not a disabled control: they keep 4.5:1 (the lane's own fade
   marks it spent). */
.hotbar-reaction-slot.is-spent[b-fngmrzmqby],
.hotbar-reaction-slot.is-spent .hotbar-reaction-state[b-fngmrzmqby],
.hotbar-reaction-slot.is-spent .hotbar-reaction-how[b-fngmrzmqby] {
    color: var(--color-text-secondary);
}

/* Undo move (Monsters to 5e D1): the engine's Undo of the last move, in the tile's corner while it can be taken back. */
.hotbar-move-undo[b-fngmrzmqby] {
    position: absolute;
    right: 2px;
    bottom: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-eco-move) 60%, transparent);
    border-radius: var(--radius-sm);
    background: var(--color-bg-elevated);
    color: var(--color-eco-move);
    cursor: pointer;
}

.hotbar-move-undo .material-icons[b-fngmrzmqby] {
    font-size: var(--ct-lg);
}

.hotbar-move-undo:hover[b-fngmrzmqby],
.hotbar-move-undo:focus-visible[b-fngmrzmqby] {
    background: color-mix(in srgb, var(--color-eco-move) 18%, transparent);
    outline: none;
}

/* The tile's line (hexes left, or why moving is closed) for a screen reader; sighted players have the tooltip. */
.hotbar-move-sr[b-fngmrzmqby] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ----- Slots: AbilityCard / SpellCard with the compact face (HotbarSlotFace), in a pinnable wrapper ----- */

.hotbar-slot[b-fngmrzmqby] {
    position: relative;
    flex: 0 0 auto;
    width: var(--slot-w);
    height: var(--slot-h);
}

/* The card's wrappers (its root and MudTooltip's) are inline boxes; as blocks they add no line gap under the slot. */
.hotbar-slot[b-fngmrzmqby]  .ability-card-wrapper,
.hotbar-slot[b-fngmrzmqby]  .spell-card-wrapper,
.hotbar-slot[b-fngmrzmqby]  .mud-tooltip-root {
    display: block;
}

/* The frame. The global card rules (combat-shared.css, class-pages.css) size and pad the full faces with !important,
   so the compact frame answers in kind. A spell keeps its school tint and border (.spell-school-*). */
.combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    box-sizing: border-box;
    width: var(--slot-w) !important;
    height: var(--slot-h);
    min-height: var(--slot-h) !important;
    padding: 3px 3px 2px !important;
    margin: 0;
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
    color: var(--color-text-lighter);
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    transform: none;
    transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Hover: a 1px lift and an inset ring in the lane's turn-slot color, both inside the slot box's padding, so a scrolling
   lane never clips them. Keyboard focus: the global 2px gold ring, drawn inset for the same reason (it survives the
   armed slot's !important pulse, which only sets box-shadow). */
.combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact:hover:not(.disabled) {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px var(--eco);
}

.combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* Greyed: the face dims itself (HotbarSlotFace) so the cooldown badge stays readable; the frame only loses its glow. */
.combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact.disabled {
    opacity: 1;
    filter: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* Monsters to 5e D5: the split attack's "2 of 2" on the Attack slot while a swing is banked after a kill. It takes the
   face's top-right chip corner (the Attack has no cost chip), filled in the Action slot's colour. */
.hotbar-slot-chip[b-fngmrzmqby] {
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 2;
    padding: 0 4px;
    border-radius: var(--radius-sm);
    background: var(--color-eco-action);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.35;
    white-space: nowrap;
    pointer-events: none;
}

/* Call for a Potion (16 Nov 2026): a Down ally this hero can answer is calling, so the Give Potion slot glows in the
   warning amber and its chip says "Called" (the chip's label names who). The glow stays under reduced motion; only the
   pulse goes. */
.hotbar-slot.is-called[b-fngmrzmqby] {
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 2px var(--color-warning-bright), 0 0 10px color-mix(in srgb, var(--color-warning-bright) 45%, transparent);
    animation: hotbar-potion-call-pulse-b-fngmrzmqby 1.4s ease-in-out infinite;
}

.hotbar-slot.is-called .hotbar-slot-chip[b-fngmrzmqby] {
    background: var(--color-warning-bright);
}

/* Barbarian 5e pass W2: a toggle slot (Reckless Attack). OFF is a quiet chip; ON lights the slot in the Barbarian's red
   and the chip reads ON, so the stance is visible at a glance without a hover. No animation: it is a state, not a call. */
.hotbar-slot.is-toggle .hotbar-slot-chip[b-fngmrzmqby] {
    background: var(--color-gray-600);
    color: var(--color-text-primary);
}

.hotbar-slot.is-toggled[b-fngmrzmqby] {
    border-radius: var(--radius-md);
    box-shadow: 0 0 0 2px var(--class-barbarian), 0 0 10px color-mix(in srgb, var(--class-barbarian) 55%, transparent);
}

.hotbar-slot.is-toggled .hotbar-slot-chip[b-fngmrzmqby] {
    background: var(--class-barbarian);
    color: var(--color-text-primary);
}

@keyframes hotbar-potion-call-pulse-b-fngmrzmqby {
    0%, 100% { box-shadow: 0 0 0 2px var(--color-warning-bright), 0 0 4px color-mix(in srgb, var(--color-warning-bright) 30%, transparent); }
    50%      { box-shadow: 0 0 0 2px var(--color-warning-bright), 0 0 14px color-mix(in srgb, var(--color-warning-bright) 70%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
    .hotbar-slot.is-called[b-fngmrzmqby] {
        animation: none;
    }
}

/* Favorites: the star button shows on hover / keyboard focus, and stays lit on a pinned slot. It sits under the
   hotkey, left of the icon, clear of the name. */
.hotbar-pin[b-fngmrzmqby] {
    position: absolute;
    top: 17px;
    left: 3px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-secondary);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.hotbar-pin .material-icons[b-fngmrzmqby] {
    font-size: var(--ct-sm);
}

.hotbar-slot:hover .hotbar-pin[b-fngmrzmqby],
.hotbar-slot:focus-within .hotbar-pin[b-fngmrzmqby],
.hotbar-pin.pinned[b-fngmrzmqby] {
    opacity: 1;
}

.hotbar-pin.pinned[b-fngmrzmqby],
.hotbar-pin:hover[b-fngmrzmqby] {
    color: var(--color-primary);
}

.hotbar-pin:focus-visible[b-fngmrzmqby] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

/* ----- Divine Smite stepper (Free lane) ----- */

.smite-stepper[b-fngmrzmqby] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    box-sizing: border-box;
    height: var(--slot-h);
    padding: 3px var(--space-xs);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: linear-gradient(145deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
}

.smite-stepper.is-offered[b-fngmrzmqby] {
    border-color: var(--color-primary);
    /* Inset, so the lane's slot box (it scrolls) never clips the glow. */
    box-shadow: inset 0 0 12px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.smite-stepper-head[b-fngmrzmqby] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.smite-stepper-head .material-icons[b-fngmrzmqby] {
    font-size: var(--ct-lg);
    color: var(--color-primary);
}

.smite-stepper-crit[b-fngmrzmqby] {
    margin-left: auto;
    padding: 0 4px;
    border-radius: var(--radius-sm);
    background: var(--color-warning-bright);
    color: var(--color-bg-base);
    font-weight: var(--font-weight-bold);
}

.smite-stepper-tiers[b-fngmrzmqby] {
    display: flex;
    gap: 3px;
}

.smite-tier[b-fngmrzmqby] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 30px;
    padding: 2px 4px 1px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-hover);
    background: var(--color-bg-elevated-alt);
    color: var(--color-text-lighter);
    cursor: pointer;
    transition: transform 0.12s ease, border-color 0.15s ease;
}

.smite-tier.is-usable:hover[b-fngmrzmqby] {
    transform: translateY(-2px);
    border-color: var(--color-primary);
}

.smite-tier:disabled[b-fngmrzmqby] {
    opacity: 0.45;
    cursor: not-allowed;
}

.smite-tier:focus-visible[b-fngmrzmqby] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.smite-tier-numeral[b-fngmrzmqby] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.smite-tier-cost[b-fngmrzmqby] {
    font-size: var(--ct-sm);
    line-height: 1.2;
    color: var(--color-mana);
}

/* The tier's key, a keyboard keycap like every hotbar key (.hotkey-keycap on the same element); placed only. */
.smite-tier-hotkey[b-fngmrzmqby] {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 1.48em;
    padding: 0 3px;
    font-size: var(--ct-sm);
    line-height: 1.25;
}

/* ----- Overflow menu (Flee): the top-right corner, so it never takes a lane's width ----- */

/* Inside the bar's box: the dock's actions segment clips its overflow, which would cut the button's ring. */
.hotbar-overflow[b-fngmrzmqby] {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
}

@media (prefers-reduced-motion: reduce) {
    .hotbar-lane[b-fngmrzmqby],
    .smite-tier[b-fngmrzmqby],
    .hotbar-pin[b-fngmrzmqby],
    .combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact {
        transition: none;
    }

    .smite-tier.is-usable:hover[b-fngmrzmqby],
    .combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact:hover:not(.disabled) {
        transform: none;
    }

    /* The armed slot keeps its ring, without the pulse. */
    .combat-hotbar .hotbar-lane-slots[b-fngmrzmqby]  .is-compact.pending-target {
        animation: none;
    }
}
/* /Components/Combat/Layouts/CombatVitals.razor.rz.scp.css */
/* CombatVitals.razor.css: the vitals block of the economy dock (combat HUD rethink WP9b, restacked WP12j).
   Rows that fill the height the host gives (the two-row dock): identity (portrait, name, class and the quick
   buttons), HP, the class resources, AC and the weapon, then the chips. The frame is a size container: the card never
   makes its host taller than its minimum, and a short host (a one-row dock, the tablet tile) gets the compact
   arrangement. Tokens only: the meter colors are set once on .combat-vitals; the chips use their state's meaning
   color. No viewport breakpoints: the layout reads its own height (a container query). */

/* ----- Frame: the card's size container ----- */

/* The host sizes the frame (flex: 1 in the dock segment, the party layout's own-vitals cell or the tablet tile); the
   frame contributes only its minimum to the host's height: what the compact arrangement needs (a second resource
   row adds one row). */
.vitals-frame[b-3z7p4vla93] {
    --vitals-min-h: 122px;
    container: vitals / size;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--vitals-min-h);
}

.vitals-frame.res-2[b-3z7p4vla93] {
    --vitals-min-h: 138px;
}

/* ----- Card ----- */

.combat-vitals[b-3z7p4vla93] {
    --class-color: var(--color-primary);
    /* The meter colors, in one place. */
    --vitals-hp: var(--combat-hp-high);
    --vitals-hp-low: var(--combat-hp-mid);
    --vitals-hp-critical: var(--combat-hp-low);
    --vitals-mana: var(--color-mana);
    --vitals-ki: var(--color-ki);
    --vitals-swagger: var(--color-swagger);
    --vitals-divinity: var(--color-cleric);
    --vitals-inspiration: var(--color-bard);
    --quick-size: 32px;
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: grid;
    /* One column of rows. The identity row grows with the free height (52-60px, the portrait follows it); what is
       left spreads between the rows. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(52px, 60px);
    grid-auto-rows: auto;
    align-content: space-between;
    row-gap: var(--space-xs);
    padding: 2px var(--space-xs) 2px 6px;
    border-left: 3px solid var(--class-color);
    border-radius: var(--radius-lg);
    color: var(--color-text-lightest);
}

.combat-vitals.warrior[b-3z7p4vla93]   { --class-color: var(--color-warrior); }
.combat-vitals.wizard[b-3z7p4vla93]    { --class-color: var(--color-wizard); }
.combat-vitals.ranger[b-3z7p4vla93]    { --class-color: var(--color-ranger); }
.combat-vitals.rogue[b-3z7p4vla93]     { --class-color: var(--color-rogue); }
.combat-vitals.paladin[b-3z7p4vla93]   { --class-color: var(--color-paladin); }
.combat-vitals.bard[b-3z7p4vla93]      { --class-color: var(--color-bard); }
.combat-vitals.monk[b-3z7p4vla93]      { --class-color: var(--color-monk); }
.combat-vitals.barbarian[b-3z7p4vla93] { --class-color: var(--color-barbarian); }
.combat-vitals.cleric[b-3z7p4vla93]    { --class-color: var(--color-cleric); }
.combat-vitals.pirate[b-3z7p4vla93]    { --class-color: var(--color-pirate); }

.combat-vitals.healing[b-3z7p4vla93] {
    animation: vitals-heal-flash-b-3z7p4vla93 0.6s ease-out;
}

@keyframes vitals-heal-flash-b-3z7p4vla93 {
    0% { filter: brightness(1); }
    25% { filter: brightness(1.3); box-shadow: 0 0 20px color-mix(in srgb, var(--combat-good) 70%, transparent); }
    100% { filter: brightness(1); }
}

/* ----- Identity: portrait with the level badge, name, class ----- */

.vitals-identity[b-3z7p4vla93] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
    min-height: 0;
}

/* Square, as tall as the identity row. */
.vitals-portrait-wrap[b-3z7p4vla93] {
    position: relative;
    flex: 0 0 auto;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.vitals-portrait[b-3z7p4vla93] {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-active);
}

.combat-vitals.is-turn .vitals-portrait[b-3z7p4vla93] {
    border-color: var(--color-warning-bright);
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-warning-bright) 55%, transparent);
}

.vitals-portrait-fallback[b-3z7p4vla93] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated-alt);
}

.vitals-portrait-img[b-3z7p4vla93] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The level badge sits on the portrait's bottom edge. */
.vitals-level[b-3z7p4vla93] {
    position: absolute;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    white-space: nowrap;
    color: var(--color-warning-light);
    padding: 0 4px;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--color-warning) 45%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 82%, var(--color-warning));
}

/* Roomy: the name over the heading's width, the class and the quick buttons under it. */
.vitals-heading[b-3z7p4vla93] {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name  name"
        "class quick";
    align-items: center;
    align-content: center;
    column-gap: var(--space-xs);
    row-gap: 2px;
    min-width: 0;
}

/* The name over the heading's width, then an ellipsis (the tooltip has it whole). */
.vitals-name[b-3z7p4vla93] {
    grid-area: name;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
}

.vitals-class[b-3z7p4vla93] {
    grid-area: class;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    line-height: 1.2;
    /* The colour is the markup's class-text utility (components-combat.css), the class colour mixed toward white. */
}

/* ----- Meters: HP and the class resources ----- */

.vitals-meters[b-3z7p4vla93] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.vitals-row[b-3z7p4vla93] {
    --meter: var(--vitals-mana);
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 13px;
}

.vitals-row.kind-ki[b-3z7p4vla93]        { --meter: var(--vitals-ki); }
.vitals-row.kind-swagger[b-3z7p4vla93]   { --meter: var(--vitals-swagger); }
.vitals-row.kind-divinity[b-3z7p4vla93]  { --meter: var(--vitals-divinity); }
.vitals-row.kind-inspiration[b-3z7p4vla93] { --meter: var(--vitals-inspiration); }

.vitals-label[b-3z7p4vla93] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
}

/* A use pool's row (Channel Divinity, inspiration dice) wears its card's icon in the label column, in the row's meter
   color: "CD" read as a cooldown (owner, 13 Nov 2026). The 20px column holds a 14px glyph. */
.vitals-label--icon[b-3z7p4vla93] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--meter);
}

.vitals-label--icon .material-icons[b-3z7p4vla93] {
    font-size: var(--ct-base);
    line-height: 1;
}

.vitals-value[b-3z7p4vla93] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-light);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vitals-bar[b-3z7p4vla93] {
    position: relative;
    height: 9px;
    border-radius: 5px;
    overflow: hidden;
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    border: 1px solid var(--color-border-subtle);
}

.vitals-bar-fill[b-3z7p4vla93] {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--meter);
    transition: width 0.3s ease;
}

.vitals-bar.hp .vitals-bar-fill[b-3z7p4vla93]          { background: var(--vitals-hp); }
.vitals-bar.hp.low .vitals-bar-fill[b-3z7p4vla93]      { background: var(--vitals-hp-low); }
.vitals-bar.hp.critical .vitals-bar-fill[b-3z7p4vla93] { background: var(--vitals-hp-critical); }

/* The incoming-damage forecast: the part of the HP bar the next monster turn is expected to take. */
.vitals-bar-incoming[b-3z7p4vla93] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        135deg,
        color-mix(in srgb, var(--combat-damage) 75%, transparent) 0 3px,
        color-mix(in srgb, var(--combat-damage) 35%, transparent) 3px 6px);
}

/* Mana cost ticks: where each prepared spell's cost falls on the bar. */
.vitals-bar-tick[b-3z7p4vla93] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: color-mix(in srgb, var(--color-text-primary) 55%, transparent);
}

.vitals-pips[b-3z7p4vla93] {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.vitals-pip[b-3z7p4vla93] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--meter);
    background: transparent;
}

.vitals-pip.lit[b-3z7p4vla93] {
    background: var(--meter);
}

/* ----- Gear: AC and the weapon ----- */

.vitals-gear-row[b-3z7p4vla93] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-width: 0;
}

/* The AC badge: the number on a shield, 26px square. */
.vitals-ac[b-3z7p4vla93] {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    cursor: help;
}

.vitals-ac .material-icons[b-3z7p4vla93] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ct-4xl);
    color: var(--color-info-light);
}

.vitals-ac-value[b-3z7p4vla93] {
    position: relative;
    margin-top: -2px;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    color: var(--color-bg-base);
    font-variant-numeric: tabular-nums;
}

/* The weapon takes the rest of its row: the full name and dice, wrapping to a second line before an ellipsis. */
.vitals-weapon[b-3z7p4vla93] {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    min-height: 2em;
    padding: 1px 6px 1px 4px;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--ct-sm);
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.vitals-weapon .material-icons[b-3z7p4vla93] {
    flex: 0 0 auto;
    font-size: var(--ct-lg);
    color: var(--color-warning);
}

.vitals-weapon.swappable[b-3z7p4vla93] {
    border-color: var(--color-border-hover);
}

.vitals-weapon:hover[b-3z7p4vla93],
.vitals-weapon:focus-visible[b-3z7p4vla93] {
    border-color: var(--color-border-active);
}

/* The name and the dice flow as one text, up to two lines, then an ellipsis (no weapon name in the game needs more
   at 1280). */
.vitals-weapon-text[b-3z7p4vla93] {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: break-word;
}

.vitals-weapon-dice[b-3z7p4vla93] {
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.vitals-weapon .vitals-weapon-swap[b-3z7p4vla93] {
    color: var(--color-info-light);
}

/* ----- Quick buttons: worn armor and the pet ----- */

.vitals-quick[b-3z7p4vla93] {
    grid-area: quick;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.vitals-quick[b-3z7p4vla93]  .mud-icon-button,
.vitals-pet[b-3z7p4vla93] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--quick-size);
    height: var(--quick-size);
    padding: 0;
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
    overflow: hidden;
}

.vitals-quick[b-3z7p4vla93]  .mud-icon-button:hover,
.vitals-quick[b-3z7p4vla93]  .mud-icon-button:focus-visible,
.vitals-pet:hover[b-3z7p4vla93],
.vitals-pet:focus-visible[b-3z7p4vla93] {
    border-color: var(--color-border-active);
}

.vitals-quick[b-3z7p4vla93]  .mud-icon-button .mud-icon-root {
    font-size: var(--ct-xl);
}

.vitals-pet .material-icons[b-3z7p4vla93] {
    font-size: var(--ct-xl);
}

.vitals-pet-img[b-3z7p4vla93] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- State chips and status effects ----- */

/* One line over the card's width: a state chip shrinks to its icon (ellipsis; the tooltip has the label) before
   anything wraps, so the row's height is fixed. */
.vitals-chips[b-3z7p4vla93] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
    min-width: 0;
}

.vitals-chip[b-3z7p4vla93] {
    --chip: var(--color-text-light);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 1 auto;
    min-width: 2.12em;
    max-width: 100%;
    padding: 0 6px 0 4px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--chip) 55%, transparent);
    background: color-mix(in srgb, var(--chip) 14%, transparent);
    color: var(--chip);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.73;
    white-space: nowrap;
}

.vitals-chip .material-icons[b-3z7p4vla93] {
    flex: 0 0 auto;
    font-size: var(--ct-md);
}

.vitals-chip-label[b-3z7p4vla93] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* The concentration chip keeps its spell's name longest: the other chips shrink first. */
.vitals-chip[b-3z7p4vla93] {
    flex-shrink: 100;
}

.vitals-chip.kind-concentration[b-3z7p4vla93] {
    flex-shrink: 1;
}

.vitals-chip.kind-rage[b-3z7p4vla93]          { --chip: var(--color-barbarian); }
.vitals-chip.kind-reckless[b-3z7p4vla93]      { --chip: var(--color-barbarian); }
.vitals-chip.kind-hidden[b-3z7p4vla93]        { --chip: var(--color-rogue-light); }
.vitals-chip.kind-inspired[b-3z7p4vla93]      { --chip: var(--color-bard-light); }
.vitals-chip.kind-smite[b-3z7p4vla93]         { --chip: var(--color-primary); }
.vitals-chip.kind-concentration[b-3z7p4vla93] { --chip: var(--color-info-light); }

.vitals-status[b-3z7p4vla93] {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.92em;
    height: 1.92em;
    padding: 0 2px;
    border-radius: var(--radius-sm);
    font-size: var(--ct-sm);
}

.vitals-status[b-3z7p4vla93]  .mud-icon-root {
    font-size: var(--ct-base);
}

.vitals-status-duration[b-3z7p4vla93] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    margin-left: 1px;
}

/* ----- Compact: a short host (a one-row dock, the tablet tile) -----
   The identity row narrows (30-48px), the quick buttons (28px) move to the heading's right edge beside the name and
   class, the level badge to the portrait's corner, and the weapon name keeps one line (its tooltip has it whole; the
   dice stay). The threshold is what the roomy arrangement needs at its fullest: two resource rows and a two-line
   weapon name. */

@container vitals (max-height: 165px) {
    .combat-vitals[b-3z7p4vla93] {
        --quick-size: 28px;
        grid-template-rows: minmax(30px, 48px);
    }

    .vitals-heading[b-3z7p4vla93] {
        grid-template-areas:
            "name  quick"
            "class quick";
        row-gap: 0;
    }

    .vitals-name[b-3z7p4vla93] {
        font-size: var(--ct-base);
    }

    /* One line: the name ellipsizes, the dice stay. */
    .vitals-weapon-text[b-3z7p4vla93] {
        display: flex;
        gap: 0.25em;
    }

    .vitals-weapon-name[b-3z7p4vla93] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vitals-weapon-dice[b-3z7p4vla93] {
        flex: 0 0 auto;
    }

    /* The portrait can be 30px: the level drops its "LV" and sits in the corner. */
    .vitals-level[b-3z7p4vla93] {
        left: auto;
        right: -3px;
        bottom: -3px;
        transform: none;
        padding: 0 3px;
        font-size: var(--ct-sm);
    }

    .vitals-level-prefix[b-3z7p4vla93] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .combat-vitals.healing[b-3z7p4vla93] {
        animation: none;
    }

    .vitals-bar-fill[b-3z7p4vla93] {
        transition: none;
    }
}
/* /Components/Combat/Layouts/CombatWaypointCrumb.razor.rz.scp.css */
/* The waypoint breadcrumb in the top strip (hex disc W1h). Two lines under the strip's title: the Map icon and the
   adventure, then the chevron and the waypoint, each line ellipsising on its own inside the strip's first cell (capped
   in combat-responsive.css, so the turn order keeps its width). Colours are the old row's: gold for the adventure, the
   light slate for the waypoint, the active border token for the chevron. */

.topstrip-crumb[b-35vjh4wwn3] {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    align-items: center;
    column-gap: 4px;
    row-gap: 1px;
    min-width: 0;
    max-width: 100%;
    font-family: var(--font-primary);
    line-height: 1.2;
    white-space: nowrap;
}

.topstrip-crumb[b-35vjh4wwn3]  .topstrip-crumb-icon,
.topstrip-crumb[b-35vjh4wwn3]  .topstrip-crumb-divider {
    width: 15px;
    height: 15px;
}

.topstrip-crumb[b-35vjh4wwn3]  .topstrip-crumb-icon {
    color: color-mix(in srgb, var(--color-primary) 70%, transparent);
}

.topstrip-crumb[b-35vjh4wwn3]  .topstrip-crumb-divider {
    color: var(--color-border-active);
}

.topstrip-crumb-adventure[b-35vjh4wwn3],
.topstrip-crumb-waypoint[b-35vjh4wwn3] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topstrip-crumb-adventure[b-35vjh4wwn3] {
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: color-mix(in srgb, var(--color-primary) 90%, transparent);
}

.topstrip-crumb-waypoint[b-35vjh4wwn3] {
    font-size: var(--ct-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text-light);
}
/* /Components/Combat/LogBeats/BeatQuietRow.razor.rz.scp.css */
/* A tier 3 card: one grey line (combat log redesign 4.2). */

.bq[b-72j2pykypi] {
    margin: 1px 0;
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.bq.is-playing[b-72j2pykypi] {
    outline: 1px solid color-mix(in srgb, var(--color-warning-bright) 60%, transparent);
    outline-offset: -1px;
    border-radius: 4px;
}

.bq-line[b-72j2pykypi] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    width: 100%;
    padding: 2px 8px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

button.bq-line[b-72j2pykypi] {
    cursor: pointer;
}

button.bq-line:hover[b-72j2pykypi] {
    background: color-mix(in srgb, var(--color-text-secondary) 8%, transparent);
}

button.bq-line:focus-visible[b-72j2pykypi] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: -2px;
}

.bq-text[b-72j2pykypi] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* A legendary action that touched no one (the M6 stopgap): its row says so. */
.bq-legendary[b-72j2pykypi] {
    flex: 0 0 auto;
    padding: 0 0.4em;
    border: 1px solid color-mix(in srgb, var(--combat-enemy-light) 55%, transparent);
    border-radius: 0.25em;
    color: var(--combat-enemy-lighter);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bq-more[b-72j2pykypi] {
    flex: 0 0 auto;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.bq-lines[b-72j2pykypi] {
    margin: 0 0 2px;
    padding-left: 2em;
}

@media (pointer: coarse) {
    button.bq-line[b-72j2pykypi] {
        align-items: center;
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .bq.is-playing[b-72j2pykypi] { outline-color: Highlight; }
    .bq-legendary[b-72j2pykypi] { border-color: CanvasText; }
}
/* /Components/Combat/LogBeats/BeatRoundHeader.razor.rz.scp.css */
/* A round's header (combat log redesign 4.3). */

.br[b-yiqyn0dwox] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    width: 100%;
    margin: 6px 0 2px;
    padding: 4px 8px;
    border: none;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--color-bg-elevated) 55%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    text-align: left;
    cursor: pointer;
}

.br.is-closed[b-yiqyn0dwox] {
    margin: 1px 0;
    color: var(--color-text-secondary);
    background: transparent;
}

.br:hover[b-yiqyn0dwox] {
    color: var(--color-warning-bright);
}

.br:focus-visible[b-yiqyn0dwox] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: -2px;
}

/* MudIcon renders an svg with no scope attribute, hence ::deep. */
.br[b-yiqyn0dwox]  .br-chevron {
    font-size: 1.2em;
}

.br-round[b-yiqyn0dwox] {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.br-headline[b-yiqyn0dwox] {
    flex: 1 1 8em;
    min-width: 0;
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.br-matches[b-yiqyn0dwox] {
    color: var(--color-warning-bright);
    font-size: var(--ct-sm);
    font-weight: 600;
}


.br-matches.is-none[b-yiqyn0dwox] {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.br-tally[b-yiqyn0dwox] {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    font-size: var(--ct-sm);
    white-space: nowrap;
}

/* Compact tallies (wave 1, solo 6): a zero is grey, not a bright 0 in the side colour. */
.br-dealt[b-yiqyn0dwox] { color: var(--combat-good-light); }
.br-taken[b-yiqyn0dwox] { color: var(--combat-bad-light); }
.br-dealt.is-zero[b-yiqyn0dwox],
.br-taken.is-zero[b-yiqyn0dwox] { color: var(--color-text-secondary); }
.br-sep[b-yiqyn0dwox] { color: var(--color-text-secondary); }

/* In a party fight the tallies are the party, not yours (A7): your own numbers are in the battle report. */
.br-party[b-yiqyn0dwox] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (pointer: coarse) {
    .br[b-yiqyn0dwox] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .br[b-yiqyn0dwox] { border-top-color: CanvasText; }
}
/* /Components/Combat/LogBeats/SeatRowView.razor.rz.scp.css */
/* Someone else's turn in a party fight: one line (combat log redesign wave 2, M1). Names by side only (you gold,
   allies white, enemies red: no colour per player); the die, the verdict and the number in fixed places. */

.seat-row-wrap[b-387g0awtl5] {
    margin: 1px 0;
    font-family: var(--font-primary);
}

.seat-row-wrap.is-playing > .seat-row[b-387g0awtl5] {
    outline: 1px solid color-mix(in srgb, var(--color-warning-bright) 60%, transparent);
    outline-offset: -1px;
}

.seat-row[b-387g0awtl5] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    min-height: 1.9em;
    padding: 2px 4px 2px 8px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-bg-base) 40%, transparent);
    color: var(--color-text-secondary);
    font: inherit;
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    text-align: left;
    cursor: pointer;
}

.seat-row:hover[b-387g0awtl5] {
    background: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
}

.seat-row:focus-visible[b-387g0awtl5] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: -2px;
}

.seat-who[b-387g0awtl5] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
}

.seat-actor[b-387g0awtl5],
.seat-target[b-387g0awtl5] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seat-actor[b-387g0awtl5] { flex: 0 1 auto; }
.seat-target[b-387g0awtl5] { flex: 0 2 auto; }

.seat-who[b-387g0awtl5]  .seat-arrow {
    flex: 0 0 auto;
    font-size: 1em;
    color: var(--color-text-secondary);
}

.seat-more[b-387g0awtl5] {
    flex: 0 0 auto;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.side-you[b-387g0awtl5] { color: var(--color-primary-light); }
.side-ally[b-387g0awtl5] { color: var(--color-text-primary); }
.side-enemy[b-387g0awtl5] { color: var(--combat-enemy-lighter); }
.side-unknown[b-387g0awtl5] { color: var(--color-text-secondary); }

.seat-text[b-387g0awtl5] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--ct-sm);
}

.seat-legendary[b-387g0awtl5] {
    flex: 0 0 auto;
    padding: 0 0.4em;
    border: 1px solid color-mix(in srgb, var(--combat-enemy-light) 55%, transparent);
    border-radius: 0.25em;
    color: var(--combat-enemy-lighter);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.seat-die[b-387g0awtl5] {
    flex: 0 0 auto;
    min-width: 1.7em;
    padding: 0 0.25em;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 0.25em;
    color: var(--color-text-primary);
    font-weight: 700;
    text-align: center;
}

.seat-verdict[b-387g0awtl5] {
    flex: 0 0 auto;
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.seat-verdict.is-good[b-387g0awtl5] { color: var(--combat-good-light); }
.seat-verdict.is-bad[b-387g0awtl5] { color: var(--combat-bad-light); }

.seat-mark[b-387g0awtl5] {
    flex: 0 0 auto;
    padding: 0 0.4em;
    border-radius: 0.25em;
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    font-size: var(--ct-sm);
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.seat-number[b-387g0awtl5] {
    flex: 0 0 auto;
    min-width: 1.6em;
    font-size: var(--ct-sm);
    font-weight: 800;
    text-align: right;
}

.seat-number.is-damage[b-387g0awtl5] { color: var(--combat-damage); }
.seat-number.is-heal[b-387g0awtl5] { color: var(--combat-heal); }

.seat-row[b-387g0awtl5]  .seat-chevron {
    flex: 0 0 auto;
    font-size: 1.1em;
    color: var(--color-text-secondary);
}

@media (pointer: coarse) {
    .seat-row[b-387g0awtl5] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .seat-row[b-387g0awtl5], .seat-die[b-387g0awtl5], .seat-legendary[b-387g0awtl5] { border-color: CanvasText; }
    .seat-row-wrap.is-playing > .seat-row[b-387g0awtl5] { outline-color: Highlight; }
}
/* /Components/Combat/LogBeats/SeatRunView.razor.rz.scp.css */
/* A run of other people's turns, folded (combat log redesign wave 2, M1). */

.seat-run[b-w428aws52t] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
    margin: 2px 0;
    padding: 3px 8px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    text-align: left;
    cursor: pointer;
}

.seat-run:hover[b-w428aws52t] {
    color: var(--color-text-primary);
}

.seat-run:focus-visible[b-w428aws52t] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 1px;
}

.seat-run[b-w428aws52t]  .seat-run-icon {
    flex: 0 0 auto;
    margin-top: 0.1em;
    font-size: 1.1em;
}

.seat-run-text[b-w428aws52t] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (pointer: coarse) {
    .seat-run[b-w428aws52t] {
        min-height: 44px;
        align-items: center;
    }
}

@media (forced-colors: active) {
    .seat-run[b-w428aws52t] { border-color: CanvasText; }
}
/* /Components/Combat/LogBeats/TurnCardView.razor.rz.scp.css */
/* A turn card (combat log redesign 4.1-4.2). Tiers read by tint, border and the header label, never a left-border
   accent: tier 1 gold (good for you) or red (bad for you), tier 2 plain. Every color is a token (the red-green palette
   redefines the combat ones) and every font size a combat text token (WP12g). */

.tc[b-d7pvj2oexr] {
    margin: 4px 0;
    padding: 6px 8px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    border-radius: 6px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 70%, transparent);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    line-height: 1.4;
    color: var(--color-text-primary);
}

.tc.tier-1.tone-good[b-d7pvj2oexr] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--color-bg-elevated-alt));
}

.tc.tier-1.tone-bad[b-d7pvj2oexr] {
    border-color: color-mix(in srgb, var(--combat-bad) 65%, transparent);
    background: color-mix(in srgb, var(--combat-bad) 12%, var(--color-bg-elevated-alt));
}

/* The replay timeline is playing one of this card's entries (the playing-row highlight). */
.tc.is-playing[b-d7pvj2oexr] {
    outline: 2px solid color-mix(in srgb, var(--color-warning-bright) 70%, transparent);
    outline-offset: -2px;
}

.tc-label[b-d7pvj2oexr] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.tone-good .tc-label[b-d7pvj2oexr] { color: var(--color-primary); }
.tone-bad .tc-label[b-d7pvj2oexr] { color: var(--combat-bad-light); }

/* MudIcon renders an svg with no scope attribute, hence ::deep. */
.tc[b-d7pvj2oexr]  .tc-label-icon {
    font-size: 1.15em;
}

.tc-head[b-d7pvj2oexr] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-who[b-d7pvj2oexr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 600;
}

/* Names by side (wave 1, solo 5): you in light gold ("You"), allies white, enemies the light red token. */
.tc-actor[b-d7pvj2oexr],
.tc-target[b-d7pvj2oexr] {
    color: var(--color-text-primary);
}

.side-you[b-d7pvj2oexr] { color: var(--color-primary-light); }
.side-ally[b-d7pvj2oexr] { color: var(--color-text-primary); }
.side-enemy[b-d7pvj2oexr] { color: var(--combat-enemy-lighter); }
.side-unknown[b-d7pvj2oexr] { color: var(--color-text-secondary); }

.tc-target-sep[b-d7pvj2oexr] {
    color: var(--color-text-secondary);
    font-weight: 400;
    white-space: pre;
}

.tc[b-d7pvj2oexr]  .tc-arrow {
    font-size: 1.1em;
    color: var(--color-text-secondary);
}

/* A legendary action's card (the M6 stopgap): the boss acts out of turn. */
.tc-legendary[b-d7pvj2oexr] {
    display: inline-flex;
    align-items: center;
    padding: 0 0.45em;
    border: 1px solid color-mix(in srgb, var(--combat-enemy-light) 60%, transparent);
    border-radius: 0.3em;
    background: color-mix(in srgb, var(--combat-enemy) 14%, transparent);
    color: var(--combat-enemy-lighter);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* "Details" for a card with notes but no dice: a quiet chevron in the head. */
.tc-details[b-d7pvj2oexr] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 4px;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: inherit;
    font-size: var(--ct-sm);
    cursor: pointer;
}

.tc-details:hover[b-d7pvj2oexr] {
    color: var(--color-text-primary);
}

.tc-icon-btn[b-d7pvj2oexr] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.tc-icon-btn:hover[b-d7pvj2oexr] {
    color: var(--color-warning-bright);
    border-color: color-mix(in srgb, var(--color-warning-bright) 40%, transparent);
}

.tc-icon-btn:focus-visible[b-d7pvj2oexr],
.tc-details:focus-visible[b-d7pvj2oexr],
.tc-roll.is-toggle:focus-visible[b-d7pvj2oexr] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 1px;
}

/* Action-economy chips, one color per turn slot (design skill, "Action economy tokens"). */
.tc-chips[b-d7pvj2oexr] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.tc-chip[b-d7pvj2oexr] {
    --eco: var(--color-eco-action);
    display: inline-flex;
    align-items: center;
    padding: 0 0.5em;
    border: 1px solid color-mix(in srgb, var(--eco) 55%, transparent);
    border-radius: 1em;
    background: color-mix(in srgb, var(--eco) 14%, transparent);
    color: var(--eco);
    font-size: var(--ct-sm);
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}

.tc-chip.eco-bonus[b-d7pvj2oexr] { --eco: var(--color-eco-bonus); }
.tc-chip.eco-move[b-d7pvj2oexr] { --eco: var(--color-eco-move); }
.tc-chip.eco-free[b-d7pvj2oexr] { --eco: var(--color-eco-free); }
.tc-chip.eco-reaction[b-d7pvj2oexr] { --eco: var(--color-eco-reaction); }

.tc-chip-inline[b-d7pvj2oexr] {
    margin-right: 4px;
}

.tc-beat[b-d7pvj2oexr] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 5px;
}

/* A hairline between two beats of the same turn (never under the card's head). */
.tc-beat + .tc-beat[b-d7pvj2oexr] {
    padding-top: 5px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
}

.tc-beat.tier-3 .tc-text[b-d7pvj2oexr] {
    color: var(--color-text-secondary);
}

.tc-beat-body[b-d7pvj2oexr] {
    flex: 1 1 auto;
    min-width: 0;
}

.tc-text[b-d7pvj2oexr] {
    overflow-wrap: anywhere;
}

/* The roll line (wave 1, solo 1): one line of fixed slots, read first: the action, the die face, the modifier and
   total, the AC or DC, the verdict stamp. Inter with tabular figures at the body size of the card, not 11px Courier.
   When the card has math it is the disclosure: the whole line is the button, with a chevron at its end. */
.tc-roll[b-d7pvj2oexr] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* A <button> centres its flex rows by default: a wrapped roll line (a long stamp, a narrow dock) must start at the
       left edge on every row, like the plain-span variant. */
    justify-content: flex-start;
    gap: 2px 6px;
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    text-align: left;
}

.tc-roll.is-toggle[b-d7pvj2oexr] {
    position: relative;
    /* Room for the chevron, which sits in the corner instead of in the wrapping row: a long stamp used to push it onto a
       row of its own and the card grew by that row (wave 1: the disclosure adds no row). */
    padding-right: 1.5em;
    cursor: pointer;
}

.tc-roll.is-toggle:hover[b-d7pvj2oexr] {
    background: color-mix(in srgb, var(--color-text-secondary) 8%, transparent);
}

.tc[b-d7pvj2oexr]  .tc-chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15em;
    color: var(--color-text-secondary);
}

.tc-num[b-d7pvj2oexr] {
    font-variant-numeric: tabular-nums;
}

.tc-action[b-d7pvj2oexr] {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Whose roll it is, in the first slot of a roll line when the card has more than one target (coloured by side). */
.tc-roll-target[b-d7pvj2oexr] {
    font-weight: 700;
}

/* What forced the card's saves, after the targets in the head ("Death Priest -> You - Enfeeble"). */
.tc-cause[b-d7pvj2oexr] {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.tc-d20[b-d7pvj2oexr] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2em;
    height: 2em;
    padding: 0 0.25em;
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    border-radius: 0.35em;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-primary-light);
    font-size: var(--ct-md);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.tc-roll-total[b-d7pvj2oexr] {
    color: var(--color-text-primary);
    font-weight: 700;
}

.tc-roll-reaction[b-d7pvj2oexr] {
    color: var(--color-eco-reaction);
    font-weight: 600;
}

/* The verdict as a stamp. */
.tc-verdict[b-d7pvj2oexr] {
    padding: 0 0.4em;
    border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
    border-radius: 0.25em;
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.tc-verdict.is-good[b-d7pvj2oexr] { color: var(--combat-hit); }
.tc-verdict.is-bad[b-d7pvj2oexr] { color: var(--combat-miss); }

.tc-needed[b-d7pvj2oexr] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* A quiet label on a row: an ally's crit, an add Bloodied, a refreshed condition (never a loud card). */
.tc-mark[b-d7pvj2oexr] {
    padding: 0 0.4em;
    border-radius: 0.25em;
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* A beat with no roll keeps the engine sentence, in grey. */
.tc-line .tc-action[b-d7pvj2oexr] {
    margin-right: 5px;
}

.tc-line .tc-mark[b-d7pvj2oexr] {
    margin-left: 5px;
}

.tc-beat.has-text .tc-text[b-d7pvj2oexr] {
    color: var(--color-text-secondary);
}

/* The result on the right: large, with the target's state under it. */
.tc-result[b-d7pvj2oexr] {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 3em;
    text-align: right;
}

.tc-result-value[b-d7pvj2oexr] {
    font-size: var(--ct-xl);
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* The number before a reaction or a reduction changed it, struck through ahead of the result. */
.tc-result-before[b-d7pvj2oexr] {
    margin-right: 0.25em;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
    font-weight: 600;
}

.tc-result.is-damage .tc-result-value[b-d7pvj2oexr] { color: var(--combat-damage); }
.tc-result.is-heal .tc-result-value[b-d7pvj2oexr] { color: var(--combat-heal); }
.tc-result.is-miss .tc-result-value[b-d7pvj2oexr],
.tc-result.is-save .tc-result-value[b-d7pvj2oexr] {
    font-size: var(--ct-md);
    color: var(--color-text-secondary);
}

.tc-state[b-d7pvj2oexr] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.tc-state.is-loud[b-d7pvj2oexr] {
    color: var(--color-warning-bright);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tc-math[b-d7pvj2oexr] {
    margin-top: 5px;
    padding: 5px 6px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
}

/* The engine sentence the card face no longer repeats. */
.tc-math-said[b-d7pvj2oexr] {
    margin-bottom: 3px;
    color: var(--color-text-secondary);
    font-style: italic;
}

.tc-math-block + .tc-math-block[b-d7pvj2oexr] {
    margin-top: 6px;
}

.tc-math-title[b-d7pvj2oexr] {
    color: var(--color-text-secondary);
    font-weight: 700;
}

.tc-math-row[b-d7pvj2oexr] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--color-text-secondary);
}

.tc-math-label[b-d7pvj2oexr] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tc-math-value[b-d7pvj2oexr] {
    flex: 0 0 auto;
    color: var(--color-text-primary);
}

.tc-math-row.is-subtotal[b-d7pvj2oexr] {
    color: var(--color-text-primary);
    font-weight: 600;
}

.tc-math-row.is-total[b-d7pvj2oexr] {
    margin-top: 2px;
    padding-top: 2px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    color: var(--color-text-primary);
    font-weight: 700;
}

/* A house hero's bark (house heroes W3, call 9): one quiet italic line inside the card. */
.tc-bark[b-d7pvj2oexr] {
    margin: 4px 0 0;
    color: var(--color-text-secondary);
    font: italic 400 var(--ct-sm) / 1.4 var(--font-primary);
}

/* "(house)" after a house hero's name (copy section 5): quiet, in the house teal. */
.tc-house[b-d7pvj2oexr] {
    margin-left: 4px;
    color: var(--sc-house-ink);
    font: 600 var(--ct-sm) / 1 var(--font-primary);
}

.tc-notes[b-d7pvj2oexr] {
    margin: 6px 0 0;
    padding-left: 1.1em;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
}

/* Touch: the replay button, "Details" and the roll line are 44px targets. The roll line is already a row of the
   card, so it grows to 44px without adding one; the extra height of the replay and Details buttons is pulled back
   with a negative margin so the head of the card keeps its height. */
@media (pointer: coarse) {
    .tc-icon-btn[b-d7pvj2oexr] {
        width: 44px;
        height: 44px;
        margin: -9px -6px -9px 0;
    }

    .tc-details[b-d7pvj2oexr] {
        min-height: 44px;
        min-width: 44px;
        margin: -9px 0;
        padding-inline: 8px;
    }

    .tc-roll.is-toggle[b-d7pvj2oexr] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .tc[b-d7pvj2oexr], .tc-chip[b-d7pvj2oexr], .tc-d20[b-d7pvj2oexr], .tc-verdict[b-d7pvj2oexr], .tc-legendary[b-d7pvj2oexr] { border-color: CanvasText; }
    .tc.is-playing[b-d7pvj2oexr] { outline-color: Highlight; }
}
/* /Components/Combat/Loot/LootEquipModal.razor.rz.scp.css */
/* LootEquipModal: combat's "Try your new gear" in the Armory's language (Docs/LRPG_LOADOUT.md, "Try your new gear
   restyled"; the Armory's look is Components/Pages/Account/CharacterSheet.razor.css). The screen's tokens (--lg-*) are set
   on the dialog and read by every piece (custom properties inherit); the shared pieces (headings, buttons, chips, badges,
   the info box, the rarity variable) are styled here once with ::deep, inside :where() so a component's own one-class
   rule always wins. The layer sits over the victory screen (z 9998) and the road moment (9999) at 10000; MudBlazor's
   dialogs and snackbars are raised over it while the victory screen shows (combat-shared.css).
     1281 and up   worn 340px | the list, the panel up to 1180px wide.
     961 to 1280   worn 300px | the list.
     960 and down  one column: the headline over the list, the worn slots behind a fold.
     768 and down  the panel fills the screen.
     480 and down  tighter padding; a row's actions wrap under it.
     sideways phone  landscape and 480 tall or less: the worn gear beside the list again, a slim head and foot.
   Readable text: every size is a --ct-* token, and the px widths above (the worn column, the panel) are times --ct-box,
   so the columns widen with the Text size (476px of worn gear at Extra large) instead of clipping the headline tiles.
   Tokens only, canonical breakpoints only, 44px targets on a coarse pointer, a reduced-motion block, no content: glyphs. */

.lg-layer[b-03y6zln3p4] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lg-scrim[b-03y6zln3p4] {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-bg-base) 74%, transparent);
}

.lg-modal[b-03y6zln3p4] {
    --lg-surface: color-mix(in srgb, var(--color-bg-elevated-alt) 55%, transparent);
    --lg-line: color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    --lg-line-strong: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    --lg-gold-line: color-mix(in srgb, var(--color-primary) 45%, transparent);
    --lg-gold-tint: color-mix(in srgb, var(--color-primary) 8%, transparent);
    --lg-gold-text: var(--color-primary-light);
    --lg-eyebrow: color-mix(in srgb, var(--color-primary) 78%, var(--color-text-secondary));
    --lg-cream: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    --lg-good-bg: color-mix(in srgb, var(--color-success-dark) 42%, transparent);
    --lg-good-line: color-mix(in srgb, var(--color-success-light) 55%, transparent);
    --lg-good-text: var(--color-success-lighter);
    --lg-warn-bg: color-mix(in srgb, var(--color-warning-dark) 32%, transparent);
    --lg-warn-line: color-mix(in srgb, var(--color-warning) 52%, transparent);
    --lg-warn-text: var(--color-warning-lightest);
    --lg-bad-bg: color-mix(in srgb, var(--color-danger-dark) 28%, transparent);
    --lg-bad-line: color-mix(in srgb, var(--color-danger-light) 45%, transparent);
    --lg-bad-text: var(--color-danger-lightest);
    --lg-worn-w: calc(340px * var(--ct-box));
    --lg-pad: 20px;

    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: min(calc(1180px * var(--ct-box)), 100%);
    max-height: 100%;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-primary) 38%, transparent);
    border-radius: var(--radius-2xl);
    /* Opaque (--color-bg-elevated is 95% alpha and would let the victory screen show through the text). */
    background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    box-shadow: 0 28px 70px color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    line-height: 1.45;
    animation: lg-rise-b-03y6zln3p4 0.22s ease-out;
}

.lg-modal:focus[b-03y6zln3p4] {
    outline: none;
}

.lg-modal *[b-03y6zln3p4],
.lg-modal[b-03y6zln3p4]  * {
    box-sizing: border-box;
}

@keyframes lg-rise-b-03y6zln3p4 {
    from { transform: translateY(16px); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}

/* ---- Head: the gold hex, the eyebrow, the title in Cinzel, the line under it ---- */

.lg-head[b-03y6zln3p4] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px var(--lg-pad) 14px;
    border-bottom: 1px solid var(--lg-line);
    background: linear-gradient(180deg, var(--lg-gold-tint), transparent);
}

.lg-hex[b-03y6zln3p4] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 50px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
}

.lg-hex[b-03y6zln3p4]  .mud-icon-root {
    font-size: var(--ct-3xl);
}

.lg-head-text[b-03y6zln3p4] {
    flex: 1;
    min-width: 0;
}

.lg-eyebrow[b-03y6zln3p4] {
    margin: 0;
    color: var(--lg-eyebrow);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lg-title[b-03y6zln3p4] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--ct-3xl);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lg-subtitle[b-03y6zln3p4] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.lg-close[b-03y6zln3p4] {
    align-self: flex-start;
}

/* ---- Body: worn | list, each pane scrolling on its own (the panel is capped to the screen) ---- */

.lg-body[b-03y6zln3p4] {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: var(--lg-worn-w) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
}

.lg-worn-pane[b-03y6zln3p4],
.lg-list-pane[b-03y6zln3p4] {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px var(--lg-pad) 20px;
}

.lg-worn-pane[b-03y6zln3p4] {
    border-right: 1px solid var(--lg-line);
    background: color-mix(in srgb, var(--color-bg-base) 35%, transparent);
}

/* ---- Foot: a quiet line and Done ---- */

.lg-foot[b-03y6zln3p4] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--lg-pad);
    border-top: 1px solid var(--lg-line);
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
}

.lg-foot-note[b-03y6zln3p4] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.lg-done[b-03y6zln3p4] {
    min-width: 120px;
}

/* ---- Shared pieces (::deep, inside :where) ---- */

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-sr-only) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-section-head) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 14px;
    min-height: 32px;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-heading) {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-heading)::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-note) {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* Buttons: quiet by default; primary is the gold gradient (the screen's one gold: the compare's Equip); outline-gold
   for a row's Equip. */
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 65%, transparent);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--ct-base);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button) .mud-icon-root {
    font-size: var(--ct-2xl);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button--sm) {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: var(--ct-md);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button--sm) .mud-icon-root {
    font-size: var(--ct-xl);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button--primary) {
    border-color: transparent;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-bg-base);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button--outline-gold) {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: var(--lg-gold-tint);
    color: var(--lg-gold-text);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button:hover:not(:disabled)) {
    border-color: var(--lg-gold-line);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button:disabled) {
    opacity: 0.55;
    box-shadow: none;
    cursor: progress;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-icon-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-icon-button:hover) {
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button:focus-visible),
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-icon-button:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The counts in the tabs and chips. */
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-count) {
    color: var(--color-text-secondary);
    font-weight: 700;
}

/* Verdict badges: the Armory's kinds (upgrade green, off hand and trade-off amber, can't use red, worn quiet) and this
   screen's two more, since its Equip sits on the row: weaker red ("-2 AC", the old cards' red warning), same as worn quiet. */
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge) {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: var(--ct-sm);
    font-weight: 700;
    white-space: nowrap;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge) .mud-icon-root {
    font-size: var(--ct-base);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--upgrade) {
    border-color: var(--lg-good-line);
    background: var(--lg-good-bg);
    color: var(--lg-good-text);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--offhand),
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--tradeoff) {
    border-color: var(--lg-warn-line);
    background: var(--lg-warn-bg);
    color: var(--lg-warn-text);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--cannot),
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--weaker) {
    border-color: var(--lg-bad-line);
    background: var(--lg-bad-bg);
    color: var(--lg-bad-text);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--worn),
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-badge--same) {
    border-color: var(--lg-line-strong);
    background: color-mix(in srgb, var(--color-bg-elevated) 70%, transparent);
    color: var(--color-text-light);
}

/* The info box (a note, the refusal). */
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-why) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 60%, transparent);
    color: var(--color-text-light);
    font-size: var(--ct-md);
    line-height: 1.4;
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-why) > .mud-icon-root {
    flex: none;
    font-size: var(--ct-xl);
    color: var(--lg-eyebrow);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-why--bad) {
    border-color: var(--lg-bad-line);
    background: var(--lg-bad-bg);
    color: var(--lg-bad-text);
}

:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-why--bad) > .mud-icon-root {
    color: var(--color-danger-light);
}

/* The loading skeleton (no animation: a still placeholder). */
:where(.lg-modal)[b-03y6zln3p4]  :where(.lg-skeleton) {
    display: block;
    height: 30px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

/* Rarity: each item sets --lg-rarity from the design system's rarity tokens. */
.lg-modal[b-03y6zln3p4]  .lg-rarity-common { --lg-rarity: var(--color-rarity-common); }
.lg-modal[b-03y6zln3p4]  .lg-rarity-uncommon { --lg-rarity: var(--color-rarity-uncommon); }
.lg-modal[b-03y6zln3p4]  .lg-rarity-rare { --lg-rarity: var(--color-rarity-rare); }
.lg-modal[b-03y6zln3p4]  .lg-rarity-epic { --lg-rarity: var(--color-rarity-epic); }
.lg-modal[b-03y6zln3p4]  .lg-rarity-legendary { --lg-rarity: var(--color-rarity-legendary); }
.lg-modal[b-03y6zln3p4]  .lg-rarity-none { --lg-rarity: var(--color-text-tertiary); }

/* ---- Touch: every target 44px ---- */

@media (pointer: coarse) {
    :where(.lg-modal)[b-03y6zln3p4]  :where(.lg-button--sm) {
        min-height: 44px;
    }

    :where(.lg-modal)[b-03y6zln3p4]  :where(.lg-icon-button) {
        width: 44px;
        height: 44px;
    }
}

/* ---- Tiers ---- */

@media (max-width: 1280px) {
    .lg-modal[b-03y6zln3p4] {
        --lg-worn-w: calc(300px * var(--ct-box));
        --lg-pad: 18px;
    }
}

@media (max-width: 960px) {
    .lg-body[b-03y6zln3p4] {
        grid-template-columns: minmax(0, 1fr);
        /* The worn fold takes what it needs; the list takes the rest and scrolls (an auto row would grow past the
           panel and clip it: the owner's 11 Nov 2026 "can't scroll or close"). */
        grid-template-rows: auto minmax(0, 1fr);
    }

    .lg-worn-pane[b-03y6zln3p4] {
        max-height: 45vh;
        max-height: 45dvh;
        padding-block: 12px;
        border-right: none;
        border-bottom: 1px solid var(--lg-line);
    }
}

@media (max-width: 768px) {
    .lg-layer[b-03y6zln3p4] {
        padding: 0;
        align-items: stretch;
    }

    .lg-modal[b-03y6zln3p4] {
        width: 100%;
        max-height: none;
        height: 100%;
        border-width: 0;
        border-radius: 0;
        --lg-pad: 16px;
    }

    .lg-foot[b-03y6zln3p4] {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    /* The text beside the hex wraps to three or four lines at a large Text size ("Try your new / gear" and a subtitle), so the
       hex sits with the eyebrow and the title, not beside the third line (review, 14 Nov 2026). */
    .lg-head[b-03y6zln3p4] {
        align-items: flex-start;
        gap: 10px;
        padding-top: 12px;
    }

    .lg-hex[b-03y6zln3p4] {
        width: 36px;
        height: 42px;
    }

    .lg-title[b-03y6zln3p4] {
        font-size: var(--ct-xl);
    }

    .lg-foot-note[b-03y6zln3p4] {
        display: none;
    }

    .lg-done[b-03y6zln3p4] {
        flex: 1;
    }
}

/* A phone held sideways (844 x 390, 915 x 412, 667 x 375: the journal's and the War Table's query, and where combat
   runs). The stacked layout above would leave the list about 30px of the 390: the head, the headline, the fold and the
   foot eat the rest. So the worn gear goes back beside the list, the head and foot slim down, and the screen fills the
   display; each pane still scrolls on its own. This block stays after the 960 and 768 ones: it undoes their stacking. */
@media (orientation: landscape) and (max-height: 480px) {
    .lg-layer[b-03y6zln3p4] {
        padding: 0;
        align-items: stretch;
    }

    .lg-modal[b-03y6zln3p4] {
        --lg-worn-w: calc(252px * var(--ct-box));
        --lg-pad: 14px;
        width: 100%;
        height: 100%;
        max-height: none;
        border-width: 0;
        border-radius: 0;
    }

    .lg-head[b-03y6zln3p4] {
        gap: 10px;
        padding: 6px max(var(--lg-pad), env(safe-area-inset-right)) 6px max(var(--lg-pad), env(safe-area-inset-left));
    }

    .lg-hex[b-03y6zln3p4] {
        width: 30px;
        height: 34px;
    }

    .lg-hex[b-03y6zln3p4]  .mud-icon-root {
        font-size: var(--ct-xl);
    }

    .lg-eyebrow[b-03y6zln3p4],
    .lg-subtitle[b-03y6zln3p4] {
        display: none;
    }

    .lg-title[b-03y6zln3p4] {
        font-size: var(--ct-xl);
    }

    .lg-body[b-03y6zln3p4] {
        grid-template-columns: var(--lg-worn-w) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }

    .lg-worn-pane[b-03y6zln3p4] {
        max-height: none;
        padding-block: 10px;
        border-right: 1px solid var(--lg-line);
        border-bottom: none;
    }

    .lg-list-pane[b-03y6zln3p4] {
        padding-block: 10px 12px;
    }

    .lg-foot[b-03y6zln3p4] {
        padding: 6px max(var(--lg-pad), env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(var(--lg-pad), env(safe-area-inset-left));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lg-modal[b-03y6zln3p4] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .lg-modal[b-03y6zln3p4] {
        border: 1px solid CanvasText;
        background: Canvas;
    }
}
/* /Components/Combat/Loot/LootGearList.razor.rz.scp.css */
/* LootGearList: the tabs and the "Show all my inventory" switch, the pill search, the type / slot chips and the sort
   chips (the Armory pack's pressed pills with counts, SheetPack.razor.css), then the rows and the empty state. Tokens
   only, canonical breakpoints only, 44px targets on a coarse pointer; the switch's knob slides, off under reduced
   motion. */

.lg-list[b-ip0tcgzlhp] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.lg-list-top[b-ip0tcgzlhp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--lg-line);
}

.lg-tabs[b-ip0tcgzlhp] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lg-tab[b-ip0tcgzlhp] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    border-radius: 999px;
    background: var(--lg-surface);
    color: var(--color-text-light);
    font: inherit;
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.lg-tab[b-ip0tcgzlhp]  .mud-icon-root {
    font-size: var(--ct-xl);
}

.lg-tab:hover[b-ip0tcgzlhp] {
    border-color: var(--lg-gold-line);
}

.lg-tab.is-active[b-ip0tcgzlhp] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--lg-gold-tint);
    color: var(--lg-gold-text);
}

.lg-tab .lg-count[b-ip0tcgzlhp] {
    font-family: var(--font-primary);
    letter-spacing: 0;
}

/* The switch: a track and a knob, its words beside it; role="switch" carries the state. */
.lg-switch[b-ip0tcgzlhp] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 4px;
    border: none;
    background: none;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: 600;
    cursor: pointer;
}

.lg-switch-track[b-ip0tcgzlhp] {
    position: relative;
    flex: none;
    width: 38px;
    height: 22px;
    border: 1px solid var(--lg-line-strong);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.lg-switch-knob[b-ip0tcgzlhp] {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-text-secondary);
    transition: transform 0.15s ease-out;
}

.lg-switch.is-on .lg-switch-track[b-ip0tcgzlhp] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: color-mix(in srgb, var(--color-primary) 22%, var(--color-bg-base));
}

.lg-switch.is-on .lg-switch-knob[b-ip0tcgzlhp] {
    transform: translateX(16px);
    background: var(--color-primary);
}

.lg-switch.is-on[b-ip0tcgzlhp] {
    color: var(--lg-gold-text);
}

.lg-tab:focus-visible[b-ip0tcgzlhp],
.lg-switch:focus-visible[b-ip0tcgzlhp],
.lg-chip:focus-visible[b-ip0tcgzlhp],
.lg-search-clear:focus-visible[b-ip0tcgzlhp] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lg-controls[b-ip0tcgzlhp] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lg-search[b-ip0tcgzlhp] {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 420px;
    min-height: 38px;
    padding: 0 6px 0 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    border-radius: 999px;
    background: var(--lg-surface);
}

.lg-search:focus-within[b-ip0tcgzlhp] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lg-search-ic[b-ip0tcgzlhp] {
    display: flex;
    color: var(--color-text-secondary);
}

.lg-search-ic[b-ip0tcgzlhp]  .mud-icon-root,
.lg-search-clear[b-ip0tcgzlhp]  .mud-icon-root {
    font-size: var(--ct-xl);
}

.lg-search-input[b-ip0tcgzlhp] {
    flex: 1 1 auto;
    align-self: stretch;
    min-width: 0;
    padding: 6px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--ct-md);
}

.lg-search-input[b-ip0tcgzlhp]::placeholder {
    color: var(--color-text-secondary);
}

.lg-search-input[b-ip0tcgzlhp]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.lg-search-clear[b-ip0tcgzlhp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.lg-chips[b-ip0tcgzlhp],
.lg-sorts[b-ip0tcgzlhp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.lg-chip[b-ip0tcgzlhp] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    border-radius: 999px;
    background: var(--lg-surface);
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--ct-sm);
    font-weight: 600;
    cursor: pointer;
}

.lg-chip:hover[b-ip0tcgzlhp] {
    border-color: var(--lg-gold-line);
}

.lg-chip.is-active[b-ip0tcgzlhp] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--lg-gold-tint);
    color: var(--lg-gold-text);
}

.lg-chip[b-ip0tcgzlhp]  .mud-icon-root {
    font-size: var(--ct-lg);
}

.lg-sorts-label[b-ip0tcgzlhp] {
    margin-right: 2px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lg-result[b-ip0tcgzlhp] {
    margin-left: auto;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.lg-rows[b-ip0tcgzlhp] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lg-empty[b-ip0tcgzlhp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 16px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 14px;
    text-align: center;
}

.lg-empty[b-ip0tcgzlhp]  .mud-icon-root {
    font-size: var(--ct-4xl);
    color: var(--color-text-secondary);
}

.lg-empty-title[b-ip0tcgzlhp] {
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: 700;
}

.lg-empty-text[b-ip0tcgzlhp] {
    margin: 0 0 6px;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.lg-empty .lg-skeleton--row[b-ip0tcgzlhp] {
    width: 100%;
    height: 56px;
    border-radius: 12px;
}

@media (pointer: coarse) {
    .lg-tab[b-ip0tcgzlhp],
    .lg-switch[b-ip0tcgzlhp],
    .lg-chip[b-ip0tcgzlhp],
    .lg-search[b-ip0tcgzlhp] {
        min-height: 44px;
    }

    .lg-search-clear[b-ip0tcgzlhp] {
        width: 44px;
        height: 44px;
    }

    /* 16px keeps a phone from zooming the page when the field takes focus. */
    .lg-search-input[b-ip0tcgzlhp] {
        font-size: var(--ct-lg);
    }
}

@media (max-width: 480px) {
    .lg-search[b-ip0tcgzlhp] {
        max-width: none;
    }

    .lg-result[b-ip0tcgzlhp] {
        flex-basis: 100%;
        margin-left: 0;
    }
}

/* A phone held sideways (the modal's sideways block): the pane is about 280px tall, so the controls share rows (the
   search beside the chips, the sort under them) and the rows get what is left. */
@media (orientation: landscape) and (max-height: 480px) {
    .lg-list[b-ip0tcgzlhp] {
        gap: 8px;
    }

    .lg-list-top[b-ip0tcgzlhp] {
        padding-bottom: 8px;
    }

    .lg-controls[b-ip0tcgzlhp] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 10px;
    }

    .lg-search[b-ip0tcgzlhp] {
        flex: 1 1 200px;
    }

    .lg-sorts[b-ip0tcgzlhp] {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lg-switch-knob[b-ip0tcgzlhp] {
        transition: none;
    }
}
/* /Components/Combat/Loot/LootItemDetail.razor.rz.scp.css */
/* LootItemDetail: the Armory's compare (SheetCompareBody.razor.css) in place of the list: the head (a rarity-tinted
   icon, the name in Cinzel, what it is, the verdict), the lore in the voice face, the Now / With it table (green up,
   red down, grey same), the notes, then Keep looking, Off hand and Equip. Tokens only, canonical breakpoints only, no
   animation. */

.lg-detail[b-dpgjj7si85] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    max-width: 720px;
}

.lg-back[b-dpgjj7si85] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0;
    border: none;
    background: none;
    color: var(--lg-eyebrow);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: 600;
    cursor: pointer;
}

.lg-back:hover[b-dpgjj7si85] {
    color: var(--lg-gold-text);
}

.lg-back:focus-visible[b-dpgjj7si85] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lg-back[b-dpgjj7si85]  .mud-icon-root {
    font-size: var(--ct-xl);
}

.lg-detail-head[b-dpgjj7si85] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 32%, transparent);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--color-bg-elevated-alt), var(--color-bg-base));
}

.lg-detail-ic[b-dpgjj7si85] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid color-mix(in srgb, var(--lg-rarity) 65%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--lg-rarity) 20%, var(--color-bg-base));
    color: color-mix(in srgb, var(--lg-rarity) 55%, var(--color-text-primary));
}

.lg-detail-ic[b-dpgjj7si85]  .mud-icon-root {
    font-size: var(--ct-4xl);
}

.lg-detail-title[b-dpgjj7si85] {
    flex: 1;
    min-width: 0;
}

.lg-detail-title h3[b-dpgjj7si85] {
    margin: 0;
    color: var(--lg-cream);
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    font-weight: 800;
}

/* Focused by script when the compare opens: no ring on the heading itself (the region is announced by its name). */
.lg-detail-title h3:focus:not(:focus-visible)[b-dpgjj7si85] {
    outline: none;
}

.lg-detail-title p[b-dpgjj7si85] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.lg-detail-lore[b-dpgjj7si85] {
    margin: 0;
    color: color-mix(in srgb, var(--color-primary-light) 25%, var(--color-text-light));
    font-family: var(--fd-font-voice);
    font-size: var(--ct-lg);
    font-style: italic;
    line-height: 1.45;
}

.lg-compare[b-dpgjj7si85] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--ct-md);
}

.lg-compare thead th[b-dpgjj7si85] {
    padding: 0 0 6px 14px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.lg-compare thead .lg-compare-instead[b-dpgjj7si85] {
    padding-left: 0;
    text-align: left;
    white-space: normal;
}

.lg-compare tbody th[b-dpgjj7si85] {
    padding: 4px 0;
    border-top: 1px solid var(--lg-line);
    color: var(--color-text-light);
    font-weight: 400;
    text-align: left;
}

.lg-compare td[b-dpgjj7si85] {
    padding: 4px 0 4px 14px;
    border-top: 1px solid var(--lg-line);
    color: var(--color-text-primary);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.lg-compare-change[b-dpgjj7si85] {
    min-width: 44px;
    font-weight: 800;
}

.lg-compare-change[b-dpgjj7si85]  .mud-icon-root {
    font-size: var(--ct-lg);
    vertical-align: -3px;
}

tr.is-up .lg-compare-change[b-dpgjj7si85] {
    color: var(--color-success-lighter);
}

tr.is-down .lg-compare-change[b-dpgjj7si85] {
    color: var(--color-danger-lighter);
}

tr.is-same .lg-compare-change[b-dpgjj7si85] {
    color: var(--color-text-secondary);
}

.lg-detail-worn[b-dpgjj7si85] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.lg-detail-worn[b-dpgjj7si85]  .mud-icon-root {
    font-size: var(--ct-xl);
    color: var(--color-success-light);
}

.lg-detail-actions[b-dpgjj7si85] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 480px) {
    .lg-detail-head[b-dpgjj7si85] {
        flex-wrap: wrap;
    }

    .lg-detail-actions[b-dpgjj7si85] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .lg-compare td[b-dpgjj7si85],
    .lg-compare thead th[b-dpgjj7si85] {
        padding-left: 10px;
    }
}

@media (pointer: coarse) {
    .lg-back[b-dpgjj7si85] {
        min-height: 44px;
    }
}
/* /Components/Combat/Loot/LootItemRow.razor.rz.scp.css */
/* LootItemRow: the Armory pack's row (SheetPackItem.razor.css): the rarity-tinted icon, the name and one line, the
   verdict chip, a chevron, then the row's Equip (outline gold) and Off hand. An item the hero can't wear dims. Below 480
   the actions wrap under the row. Tokens only, canonical breakpoints only, no animation. */

.lg-item[b-38bhl9rphl] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 8px 6px 6px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 62%, transparent);
}

.lg-item:hover[b-38bhl9rphl] {
    border-color: var(--lg-gold-line);
}

.lg-item-open[b-38bhl9rphl] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 2px 4px;
    border: none;
    border-radius: 9px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lg-item-open:focus-visible[b-38bhl9rphl] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lg-item-ic[b-38bhl9rphl] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--lg-rarity) 60%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--lg-rarity) 18%, var(--color-bg-base));
    color: color-mix(in srgb, var(--lg-rarity) 55%, var(--color-text-primary));
}

.lg-item-ic[b-38bhl9rphl]  .mud-icon-root {
    font-size: var(--ct-2xl);
}

.lg-item.is-dimmed .lg-item-ic[b-38bhl9rphl] {
    filter: grayscale(0.7);
    opacity: 0.7;
}

.lg-item-text[b-38bhl9rphl] {
    flex: 1;
    min-width: 0;
}

.lg-item-name[b-38bhl9rphl],
.lg-item-detail[b-38bhl9rphl] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-item-name[b-38bhl9rphl] {
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: 600;
}

.lg-item.is-dimmed .lg-item-name[b-38bhl9rphl] {
    color: var(--color-text-light);
}

.lg-item-qty[b-38bhl9rphl] {
    margin-left: 4px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.lg-item-detail[b-38bhl9rphl] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.lg-item-more[b-38bhl9rphl] {
    flex: none;
    display: flex;
    color: var(--color-text-secondary);
}

.lg-item-more[b-38bhl9rphl]  .mud-icon-root {
    font-size: var(--ct-2xl);
}

.lg-item-actions[b-38bhl9rphl] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 480px) {
    .lg-item[b-38bhl9rphl] {
        flex-wrap: wrap;
    }

    .lg-item-open[b-38bhl9rphl] {
        flex-basis: 100%;
    }

    .lg-item-actions[b-38bhl9rphl] {
        flex: 1;
        justify-content: flex-end;
        padding-left: 54px;
    }
}
/* /Components/Combat/Loot/LootWornList.razor.rz.scp.css */
/* LootWornList: the worn gear (the Armory's slot language, SheetSlot.razor.css): the engine's headline as three stat
   chips, then one row per slot with the rarity-tinted icon, the uppercase label, the item and its short stats. An empty
   slot is dashed; the open item's slot is gold with its "Replaces" / "Goes here" marker. Below 960 the slots fold under
   the toggle (the headline stays). Tokens only, canonical breakpoints only, no animation. */

.lg-worn[b-zkeiwj3myg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* Three tiles across while each keeps room for its label alone (5.1em of the list's own 12px text at Medium, plus the tile's
   22px of border and padding and 2px over), fewer and wrapping when the text grows past that or the pane narrows: at Extra
   large on a 390px phone three 115px tiles crossed "DAMAGE" over the rim (review, 14 Nov 2026). With three items, auto-fit
   leaves no empty track. */
.lg-stats[b-zkeiwj3myg] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(5.1em + 24px)), 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--ct-sm);
}

/* A headline tile: the icon and the label over the number (the Armory band's numbers, small). It is a container, so a tile
   too narrow for its icon beside its label says so to its own children (below). */
.lg-stat[b-zkeiwj3myg] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 5px;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid var(--lg-line-strong);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 72%, transparent);
    container: lg-stat / inline-size;
}

.lg-stat[b-zkeiwj3myg]  .mud-icon-root {
    font-size: var(--ct-lg);
    color: var(--lg-eyebrow);
}

.lg-stat-label[b-zkeiwj3myg] {
    min-width: 0;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

/* A tile too narrow for the icon beside its label: the icon goes and the label takes the row with a little less tracking; a
   label that still does not fit ends in an ellipsis. What the icon row needs is the tile's 22px of border and padding, the
   5px gap, the icon (1.33em) and "DAMAGE" (5.45em): about 27px + 6.8em, measured live at Extra large (141px, the tile at
   1366 wide) and Medium (108px). The threshold adds 3px of margin. */
@container lg-stat (width < calc(6.8em + 30px)) {
    .lg-stat[b-zkeiwj3myg]  .mud-icon-root {
        display: none;
    }

    .lg-stat-label[b-zkeiwj3myg] {
        grid-column: 1 / -1;
        letter-spacing: 0.06em;
    }
}

.lg-stat-value[b-zkeiwj3myg] {
    grid-column: 1 / -1;
    overflow: hidden;
    color: var(--lg-cream);
    font-size: var(--ct-lg);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-stats--loading .lg-skeleton[b-zkeiwj3myg] {
    height: 48px;
    border-radius: 12px;
}

/* The fold's toggle shows below 960 only. */
.lg-worn-toggle[b-zkeiwj3myg] {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px dashed var(--lg-line-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--lg-eyebrow);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: 600;
    cursor: pointer;
}

.lg-worn-toggle:hover[b-zkeiwj3myg] {
    border-color: var(--lg-gold-line);
    color: var(--lg-gold-text);
}

.lg-worn-toggle:focus-visible[b-zkeiwj3myg] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lg-worn-toggle[b-zkeiwj3myg]  .mud-icon-root {
    font-size: var(--ct-2xl);
}

.lg-slots[b-zkeiwj3myg] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lg-slot[b-zkeiwj3myg] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 50px;
    padding: 6px 9px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 78%, transparent);
}

.lg-slot.is-empty[b-zkeiwj3myg] {
    border-style: dashed;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 35%, transparent);
}

.lg-slot.is-target[b-zkeiwj3myg] {
    border-color: var(--color-primary);
    border-style: solid;
    background: color-mix(in srgb, var(--color-primary) 6%, var(--color-bg-elevated-alt));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.lg-slot-ic[b-zkeiwj3myg] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid color-mix(in srgb, var(--lg-rarity) 60%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--lg-rarity) 18%, var(--color-bg-base));
    color: color-mix(in srgb, var(--lg-rarity) 55%, var(--color-text-primary));
}

.lg-slot-ic[b-zkeiwj3myg]  .mud-icon-root {
    font-size: var(--ct-xl);
}

.lg-slot.is-empty .lg-slot-ic[b-zkeiwj3myg] {
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: transparent;
    color: var(--color-text-secondary);
}

.lg-slot-text[b-zkeiwj3myg] {
    flex: 1;
    min-width: 0;
}

.lg-slot-label[b-zkeiwj3myg],
.lg-slot-name[b-zkeiwj3myg],
.lg-slot-detail[b-zkeiwj3myg] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lg-slot-label[b-zkeiwj3myg] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lg-slot-name[b-zkeiwj3myg] {
    color: var(--color-text-primary);
    font-size: var(--ct-md);
    font-weight: 600;
}

.lg-slot.is-empty .lg-slot-name[b-zkeiwj3myg] {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.lg-slot-detail[b-zkeiwj3myg] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.lg-slot-target[b-zkeiwj3myg] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: 800;
    white-space: nowrap;
}

.lg-slot-target[b-zkeiwj3myg]  .mud-icon-root {
    font-size: var(--ct-base);
}

@media (max-width: 960px) {
    .lg-worn-toggle[b-zkeiwj3myg] {
        display: flex;
    }

    .lg-worn:not(.is-open) .lg-slots[b-zkeiwj3myg] {
        display: none;
    }

    .lg-slots[b-zkeiwj3myg] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .lg-slots[b-zkeiwj3myg] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A phone held sideways: the worn gear sits beside the list (the modal's sideways block), so the fold is not needed and
   the slots show in one column that scrolls with its pane. Kept after the 960 and 480 blocks it undoes. */
@media (orientation: landscape) and (max-height: 480px) {
    .lg-worn-toggle[b-zkeiwj3myg] {
        display: none;
    }

    .lg-worn:not(.is-open) .lg-slots[b-zkeiwj3myg],
    .lg-slots[b-zkeiwj3myg] {
        display: flex;
    }

    /* The column is about 220px, so each tile is 70px: the label alone, over the number (the icon would crowd it). */
    .lg-stat[b-zkeiwj3myg] {
        grid-template-columns: minmax(0, 1fr);
        padding: 4px 8px;
    }

    .lg-stat[b-zkeiwj3myg]  .mud-icon-root {
        display: none;
    }

    .lg-stat-label[b-zkeiwj3myg] {
        letter-spacing: 0.08em;
    }

    .lg-slot[b-zkeiwj3myg] {
        min-height: 46px;
    }
}

@media (pointer: coarse) {
    .lg-worn-toggle[b-zkeiwj3myg] {
        min-height: 44px;
    }
}
/* /Components/Combat/Modals/ConsumableModal.razor.rz.scp.css */
/* ConsumableModal.razor.css - CSS Isolation */
/* Fantasy RPG theme for consumable selection modal */

.consumable-modal-title[b-t8ytr3yszx] {
    display: flex;
    align-items: center;
    font-family: 'Cinzel', serif;
    font-size: var(--ct-2xl);
    font-weight: 600;
    color: var(--color-primary);
}

.consumable-empty-state[b-t8ytr3yszx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: var(--color-text-secondary);
}

.consumable-list[b-t8ytr3yszx] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 55vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem;
    min-height: 150px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.consumable-list.consuming[b-t8ytr3yszx] {
    pointer-events: none;
    opacity: 0.8;
}

.consumable-card[b-t8ytr3yszx] {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
    padding: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0; /* Prevent cards from being compressed */
    min-height: auto;
}

.consumable-card:hover:not(.selected-consume)[b-t8ytr3yszx] {
    transform: translateY(-2px);
    border-color: var(--color-border-active);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

.consumable-card.selected-consume[b-t8ytr3yszx] {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.4), inset 0 0 20px rgba(34, 197, 94, 0.1);
    animation: consume-pulse-b-t8ytr3yszx 0.6s ease-in-out;
}

@keyframes consume-pulse-b-t8ytr3yszx {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 0 50px rgba(34, 197, 94, 0.6);
    }
}

.consume-effect[b-t8ytr3yszx] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.consume-text[b-t8ytr3yszx] {
    color: var(--color-success-light);
    font-family: var(--font-primary);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
    animation: pulse-text-b-t8ytr3yszx 1s ease-in-out infinite;
}

@keyframes pulse-text-b-t8ytr3yszx {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.consume-particles[b-t8ytr3yszx] {
    position: absolute;
    inset: 0;
}

.particle[b-t8ytr3yszx] {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, var(--color-success-light), transparent);
    border-radius: 50%;
    animation: float-particle-b-t8ytr3yszx 1s ease-in-out infinite;
}

.particle:nth-child(1)[b-t8ytr3yszx] {
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2)[b-t8ytr3yszx] {
    left: 40%;
    animation-delay: 0.2s;
}

.particle:nth-child(3)[b-t8ytr3yszx] {
    left: 60%;
    animation-delay: 0.4s;
}

.particle:nth-child(4)[b-t8ytr3yszx] {
    left: 80%;
    animation-delay: 0.6s;
}

.particle:nth-child(5)[b-t8ytr3yszx] {
    left: 50%;
    animation-delay: 0.3s;
}

@keyframes float-particle-b-t8ytr3yszx {
    0% {
        bottom: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* Rarity border colors */
.consumable-card.rarity-common[b-t8ytr3yszx] {
    border-left: 3px solid var(--color-text-secondary);
}

.consumable-card.rarity-uncommon[b-t8ytr3yszx] {
    border-left: 3px solid var(--color-success);
}

.consumable-card.rarity-rare[b-t8ytr3yszx] {
    border-left: 3px solid var(--color-info);
}

.consumable-card.rarity-epic[b-t8ytr3yszx] {
    border-left: 3px solid #a855f7;
}

.consumable-card.rarity-legendary[b-t8ytr3yszx] {
    border-left: 3px solid var(--color-warning);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.consumable-card.rarity-legendary:hover[b-t8ytr3yszx] {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 158, 11, 0.3);
}

.consumable-card-header[b-t8ytr3yszx] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.consumable-name-section[b-t8ytr3yszx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0; /* Allow text truncation */
}

.consumable-name[b-t8ytr3yszx] {
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quantity-badge[b-t8ytr3yszx] {
    background: rgba(0, 0, 0, 0.4);
    color: var(--color-warning-bright);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: var(--ct-sm);
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.consumable-meta[b-t8ytr3yszx] {
    flex-shrink: 0;
}

.consumable-description[b-t8ytr3yszx] {
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    font-size: var(--ct-base);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.consumable-effects[b-t8ytr3yszx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Effect chip styling */
.effect-chip-hp[b-t8ytr3yszx] {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: var(--color-danger-lighter) !important;
}

.effect-chip-mana[b-t8ytr3yszx] {
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    color: var(--color-info-lighter) !important;
}

.effect-chip-buff[b-t8ytr3yszx] {
    background: rgba(245, 158, 11, 0.15) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    color: var(--color-warning-light) !important;
}

.effect-chip-damage[b-t8ytr3yszx] {
    background: rgba(139, 92, 246, 0.15) !important;
    border: 1px solid rgba(139, 92, 246, 0.3) !important;
    color: var(--color-monk-lighter) !important;
}

.effect-chip-full[b-t8ytr3yszx] {
    background: rgba(34, 197, 94, 0.15) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: var(--color-success-lighter) !important;
}

.consumable-type[b-t8ytr3yszx] {
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* Rarity chip styling */
.rarity-chip-common[b-t8ytr3yszx] {
    background: rgba(148, 163, 184, 0.2) !important;
    color: var(--color-text-secondary) !important;
}

.rarity-chip-uncommon[b-t8ytr3yszx] {
    background: rgba(34, 197, 94, 0.2) !important;
    color: var(--color-success-light) !important;
}

.rarity-chip-rare[b-t8ytr3yszx] {
    background: rgba(59, 130, 246, 0.2) !important;
    color: var(--color-info-light) !important;
}

.rarity-chip-epic[b-t8ytr3yszx] {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #a78bfa !important;
}

.rarity-chip-legendary[b-t8ytr3yszx] {
    background: rgba(245, 158, 11, 0.2) !important;
    color: var(--color-warning-bright) !important;
    font-weight: 600 !important;
}

/* Button styling */
.btn-cancel-consumable[b-t8ytr3yszx] {
    color: var(--color-text-secondary) !important;
}

.btn-cancel-consumable:hover:not(:disabled)[b-t8ytr3yszx] {
    background: rgba(255, 215, 0, 0.1) !important;
    color: var(--color-primary) !important;
}

/* Custom scrollbar */
.consumable-list[b-t8ytr3yszx]::-webkit-scrollbar {
    width: 8px;
}

.consumable-list[b-t8ytr3yszx]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.consumable-list[b-t8ytr3yszx]::-webkit-scrollbar-thumb {
    background: var(--color-border-active);
    border-radius: 4px;
}

.consumable-list[b-t8ytr3yszx]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .consumable-list[b-t8ytr3yszx] {
        max-height: none; /* Let the dialog control the height */
        min-height: auto;
        padding: 0.25rem;
        gap: 0.5rem;
        overflow-y: visible; /* Content handled by dialog */
    }

    .consumable-card[b-t8ytr3yszx] {
        padding: 0.75rem;
        flex-shrink: 0;
    }

    .consumable-card-header[b-t8ytr3yszx] {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
    }

    .consumable-name-section[b-t8ytr3yszx] {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .consumable-name[b-t8ytr3yszx] {
        font-size: var(--ct-lg) !important;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .consumable-meta[b-t8ytr3yszx] {
        flex-shrink: 0;
    }

    .consumable-meta[b-t8ytr3yszx]  .mud-chip {
        font-size: var(--ct-sm) !important;
        height: 1.92em !important;
    }

    .consumable-description[b-t8ytr3yszx] {
        display: none; /* Hide description on mobile to save space */
    }

    .consumable-effects[b-t8ytr3yszx] {
        gap: 0.25rem;
        flex-wrap: wrap;
    }

    .consumable-effects[b-t8ytr3yszx]  .mud-chip {
        font-size: var(--ct-sm) !important;
        padding: 0.1rem 0.4rem !important;
        height: auto !important;
        min-height: 2.12em;
    }

    .quantity-badge[b-t8ytr3yszx] {
        font-size: var(--ct-sm);
        padding: 0.15rem 0.4rem;
    }

    .consumable-type[b-t8ytr3yszx] {
        display: none; /* Hide type on mobile */
    }

    .consumable-modal-title[b-t8ytr3yszx] {
        font-size: var(--ct-lg);
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .consumable-card[b-t8ytr3yszx] {
        padding: 0.6rem;
    }

    .consumable-name[b-t8ytr3yszx] {
        font-size: var(--ct-base) !important;
    }

    .consumable-effects[b-t8ytr3yszx]  .mud-chip {
        font-size: var(--ct-sm) !important;
    }

    .quantity-badge[b-t8ytr3yszx] {
        font-size: var(--ct-sm);
    }
}
/* /Components/Combat/Modals/FormationPickerModal.razor.rz.scp.css */
/* ── Formation Picker Modal – Hex Board Styles ── */

/* Title */
.formation-title[b-pc6jqeqxsb] {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.02em;
}

/* ── Hex board container ── */
.formation-hex-board[b-pc6jqeqxsb] {
    --stage-h: 340px;
    --sides-h: 1.9em;
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.12);
}

/* The stage holds the plate and the side labels: as wide as the board, centred, and never taller than --stage-h (the
   plate's height is its width over the viewBox's ratio, so the width is capped to keep that height). Its font size is the
   combat text token, so the em in --sides-h grows with the text size. --vb-w / --vb-h are the viewBox's size, set inline. */
.formation-hex-stage[b-pc6jqeqxsb] {
    font-size: var(--ct-sm);
    width: min(100%, calc((var(--stage-h) - var(--sides-h)) * var(--vb-w) / var(--vb-h)));
    margin-inline: auto;
}

/* The plate keeps the viewBox's exact ratio, so the svg fills it with no letterbox and a label placed by percent
   (a viewBox coordinate over the viewBox's size) sits on its hex. */
.fp-plate[b-pc6jqeqxsb] {
    position: relative;
    width: 100%;
    aspect-ratio: var(--vb-w) / var(--vb-h);
}

.formation-hex-svg[b-pc6jqeqxsb] {
    display: block;
    width: 100%;
    height: 100%;
}

.fp-labels[b-pc6jqeqxsb] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ── Hex cell base ── */
.fp-hex[b-pc6jqeqxsb] {
    fill: rgba(30, 41, 59, 0.6);
    stroke: rgba(148, 163, 184, 0.15);
    stroke-width: 0.5;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

/* ── Player-side zone colours ── */
.fp-player-zone[b-pc6jqeqxsb] {
    stroke: rgba(148, 163, 184, 0.25);
}

.fp-zone-vanguard[b-pc6jqeqxsb] {
    fill: rgba(239, 68, 68, 0.12);
}

.fp-zone-flank[b-pc6jqeqxsb] {
    fill: rgba(245, 158, 11, 0.10);
}

.fp-zone-rear[b-pc6jqeqxsb] {
    fill: rgba(59, 130, 246, 0.10);
}

/* Hover */
.fp-player-zone:hover:not(.fp-full)[b-pc6jqeqxsb] {
    stroke: rgba(255, 215, 0, 0.5);
    stroke-width: 1;
}

.fp-zone-vanguard:hover:not(.fp-full)[b-pc6jqeqxsb] {
    fill: rgba(239, 68, 68, 0.25);
}

.fp-zone-flank:hover:not(.fp-full)[b-pc6jqeqxsb] {
    fill: rgba(245, 158, 11, 0.22);
}

.fp-zone-rear:hover:not(.fp-full)[b-pc6jqeqxsb] {
    fill: rgba(59, 130, 246, 0.22);
}

/* Selected */
.fp-selected[b-pc6jqeqxsb] {
    stroke: rgba(74, 222, 128, 0.7) !important;
    stroke-width: 1.5 !important;
    filter: url(#fp-glow);
}

.fp-zone-vanguard.fp-selected[b-pc6jqeqxsb] {
    fill: rgba(239, 68, 68, 0.35);
}

.fp-zone-flank.fp-selected[b-pc6jqeqxsb] {
    fill: rgba(245, 158, 11, 0.30);
}

.fp-zone-rear.fp-selected[b-pc6jqeqxsb] {
    fill: rgba(59, 130, 246, 0.30);
}

/* Full (disabled) */
.fp-full[b-pc6jqeqxsb] {
    opacity: 0.35;
}

/* Occupied by another player — locked, not clickable */
.fp-occupied[b-pc6jqeqxsb] {
    fill: rgba(100, 116, 139, 0.45) !important;
    stroke: rgba(148, 163, 184, 0.4) !important;
    pointer-events: none;
}

/* Player-claim tokens (rendered on top of polygons) */
.formation-hex-svg[b-pc6jqeqxsb]  .fp-token {
    pointer-events: none;
    stroke-width: 1.5;
}

.formation-hex-svg[b-pc6jqeqxsb]  .fp-token-mine {
    fill: rgba(74, 222, 128, 0.85);
    stroke: rgba(255, 215, 0, 0.95);
    filter: url(#fp-glow);
}

.formation-hex-svg[b-pc6jqeqxsb]  .fp-token-other {
    fill: rgba(59, 130, 246, 0.7);
    stroke: rgba(148, 163, 184, 0.6);
}

/* The one word left in the svg: a player's initial inside the token circle (r = 0.32 hex in viewBox units). It is sized to
   the circle, so it is a viewBox unit like the circle and scales with the board; CombatReadableTextTests lists it. */
.formation-hex-svg[b-pc6jqeqxsb]  .fp-token-label {
    pointer-events: none;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    fill: rgba(15, 23, 42, 0.95);
    text-transform: uppercase;
}

/* ── Barrier hexes ── */
.fp-barrier[b-pc6jqeqxsb] {
    fill: rgba(148, 163, 184, 0.08);
    stroke: rgba(148, 163, 184, 0.12);
    stroke-width: 0.4;
}

/* ── Enemy-side hexes (dimmed, non-interactive) ── */
.fp-enemy[b-pc6jqeqxsb] {
    fill: rgba(239, 68, 68, 0.04);
    stroke: rgba(148, 163, 184, 0.08);
    stroke-width: 0.3;
    pointer-events: none;
}

/* ── Zone labels ──
   HTML over the svg (the plate's .fp-labels), real pixels at the combat text size: the zone's name, centred on the zone's
   middle hex, on one line. The bonus line is not on the board (it cannot fit a three-hex zone once the text grows): it is
   in the zone strip below, and in the help line on a phone. */
.fp-zone-label[b-pc6jqeqxsb] {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    line-height: 1.25;
    color: color-mix(in srgb, var(--color-text-primary) 85%, transparent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    text-shadow: 0 1px 2px var(--color-bg-base);
    pointer-events: none;
}

.fp-zone-label-selected[b-pc6jqeqxsb] {
    color: var(--combat-good-light);
}

/* ── Side labels: a row under the plate, at the sides' centres ── */
.fp-sides[b-pc6jqeqxsb] {
    position: relative;
    height: var(--sides-h);
}

.fp-side-label[b-pc6jqeqxsb] {
    position: absolute;
    top: 0.3em;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    line-height: 1.2;
    color: var(--combat-ally-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.fp-side-label-enemy[b-pc6jqeqxsb] {
    color: var(--combat-enemy-lighter);
}

/* ── Zone detail strip (below the hex board) ── */
.formation-zone-strip[b-pc6jqeqxsb] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fzs-item[b-pc6jqeqxsb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(30, 41, 59, 0.4);
    cursor: default;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 100px;
}

.fzs-selected[b-pc6jqeqxsb] {
    border-color: rgba(74, 222, 128, 0.5);
    background: rgba(74, 222, 128, 0.08);
}

.fzs-full[b-pc6jqeqxsb] {
    opacity: 0.5;
    cursor: not-allowed;
}

.fzs-name[b-pc6jqeqxsb] {
    font-size: var(--ct-md);
    font-weight: 600;
    color: var(--color-text-primary, #f8fafc);
    white-space: nowrap;
}

.fzs-chip[b-pc6jqeqxsb] {
    font-size: var(--ct-sm) !important;
}

/* The zone's bonus line, under its name and players, wrapped inside the tile. */
.fzs-bonus[b-pc6jqeqxsb] {
    flex: 0 0 100%;
    font-size: var(--ct-sm);
    line-height: 1.3;
    color: var(--color-text-secondary);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .formation-hex-board[b-pc6jqeqxsb] {
        --stage-h: 260px;
    }

    .formation-zone-strip[b-pc6jqeqxsb] {
        flex-direction: column;
    }

    .fzs-item[b-pc6jqeqxsb] {
        min-width: unset;
    }
}

/* A sideways phone (phone combat): the dialog is full screen and the board, your side only, takes the height the
   title bar, the help line and the actions leave. It is after the narrow-window block (equal weight), so a phone 568px
   wide still gets the full height. */
.formation-hex-board--phone[b-pc6jqeqxsb] {
    --stage-h: calc(100dvh - 96px - 1em);
    max-height: none;
    margin-bottom: 0;
}

/* The party room's formation step (raid join W4a, spec 5.4a): the same board and actions, drawn in place inside the game
   frame instead of as a dialog. */
.fp-inline[b-pc6jqeqxsb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line);
    background: var(--rm-card);
}

.fp-inline-actions[b-pc6jqeqxsb] {
    padding-top: 10px;
    border-top: 1px solid var(--rm-line);
}

.fp-actions-end[b-pc6jqeqxsb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
/* /Components/Combat/Modals/HexPickerModal.razor.rz.scp.css */
/* ── Hex Picker Modal — Shadow Step / Swift Step target picker ── */

.hp-board[b-lvorl7of51] {
    --stage-h: 340px;
    --sides-h: 1.9em;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.95));
    border: 1px solid rgba(255, 215, 0, 0.12);
}

/* The stage holds the plate and the side labels: as wide as the board, centred, never taller than --stage-h. Its font
   size is the combat text token, so the em in --sides-h grows with the text size. --vb-w / --vb-h are the viewBox's size. */
.hp-stage[b-lvorl7of51] {
    font-size: var(--ct-sm);
    width: min(100%, calc((var(--stage-h) - var(--sides-h)) * var(--vb-w) / var(--vb-h)));
    margin-inline: auto;
}

/* The plate keeps the viewBox's exact ratio, so a label placed by percent sits on its hex. */
.hp-plate[b-lvorl7of51] {
    position: relative;
    width: 100%;
    aspect-ratio: var(--vb-w) / var(--vb-h);
}

.hp-svg[b-lvorl7of51] {
    display: block;
    width: 100%;
    height: 100%;
}

.hp-labels[b-lvorl7of51] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ── Hex base ── */
.hp-hex[b-lvorl7of51] {
    fill: rgba(30, 41, 59, 0.6);
    stroke: rgba(148, 163, 184, 0.15);
    stroke-width: 0.5;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

/* Player-side zone tints */
.hp-player-zone[b-lvorl7of51] {
    stroke: rgba(148, 163, 184, 0.25);
}

.hp-zone-vanguard.hp-player-zone[b-lvorl7of51] {
    fill: rgba(239, 68, 68, 0.12);
}

.hp-zone-flank.hp-player-zone[b-lvorl7of51] {
    fill: rgba(245, 158, 11, 0.10);
}

.hp-zone-rear.hp-player-zone[b-lvorl7of51] {
    fill: rgba(59, 130, 246, 0.10);
}

/* Enemy-side zone tints (slightly redder, dimmer when not selectable) */
.hp-enemy-zone[b-lvorl7of51] {
    fill: color-mix(in srgb, var(--combat-enemy) 6%, transparent);
    stroke: rgba(148, 163, 184, 0.08);
}

.hp-enemy-zone:not(.hp-disallowed):not(.hp-occupied)[b-lvorl7of51] {
    fill: color-mix(in srgb, var(--combat-enemy) 14%, transparent);
}

/* Hover for clickable hexes */
.hp-hex:not(.hp-disallowed):not(.hp-occupied):hover[b-lvorl7of51] {
    stroke: rgba(255, 215, 0, 0.6);
    stroke-width: 1;
    fill: rgba(255, 215, 0, 0.18);
}

/* Selected */
.hp-selected[b-lvorl7of51] {
    stroke: color-mix(in srgb, var(--combat-aim-valid) 85%, transparent) !important;
    stroke-width: 1.8 !important;
    fill: color-mix(in srgb, var(--combat-aim-valid) 35%, transparent) !important;
    filter: url(#hp-glow);
}

/* Disallowed (zone not in AvailableZones, or enemy side when EnemySideSelectable=false) */
.hp-disallowed[b-lvorl7of51] {
    opacity: 0.35;
}

/* Occupied (a combatant is already on this hex) */
.hp-occupied[b-lvorl7of51] {
    fill: rgba(100, 116, 139, 0.5) !important;
    stroke: rgba(148, 163, 184, 0.4) !important;
    opacity: 0.6;
}

/* Barrier */
.hp-barrier[b-lvorl7of51] {
    fill: rgba(148, 163, 184, 0.08);
    stroke: rgba(148, 163, 184, 0.12);
    stroke-width: 0.4;
    pointer-events: none;
}

/* Labels: HTML over the svg, real pixels at the combat text size (an svg <text> size is a viewBox unit). */
.hp-zone-label[b-lvorl7of51] {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    line-height: 1.25;
    color: color-mix(in srgb, var(--color-text-primary) 85%, transparent);
    text-shadow: 0 1px 2px var(--color-bg-base);
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hp-zone-label-enemy[b-lvorl7of51] {
    color: var(--combat-enemy-lighter);
}

/* Side labels: a row under the plate, at the sides' centres. */
.hp-sides[b-lvorl7of51] {
    position: relative;
    height: var(--sides-h);
}

.hp-side-label[b-lvorl7of51] {
    position: absolute;
    top: 0.3em;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    line-height: 1.2;
    color: var(--combat-ally-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.hp-side-label-enemy[b-lvorl7of51] {
    color: var(--combat-enemy-lighter);
}

@media (max-width: 600px) {
    .hp-board[b-lvorl7of51] {
        --stage-h: 260px;
    }
}
/* /Components/Combat/Modals/WeaponSwitcherDialog.razor.rz.scp.css */
/* ============================================================
   WeaponSwitcherDialog — scoped styles
   Evoking: Slay the Spire card hover, Diablo IV item tile,
            Path of Exile inventory grid.
   ============================================================ */

/* ── Dialog shell ─────────────────────────────────────────── */
:global(.weapon-switcher-dialog .mud-dialog)[b-kohgc8g5nn] {
    max-width: 640px;
    width: 100%;
    background: linear-gradient(160deg, rgba(13, 19, 33, 0.98) 0%, rgba(20, 30, 50, 0.98) 100%);
    border: 1px solid rgba(255, 215, 0, 0.18);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 215, 0, 0.06);
}

:global(.weapon-switcher-dialog .mud-dialog-content)[b-kohgc8g5nn] {
    padding: 0 16px 8px;
    overflow-y: auto;
    max-height: 60vh;
}

:global(.weapon-switcher-dialog .mud-dialog-title)[b-kohgc8g5nn] {
    padding: 14px 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

:global(.weapon-switcher-dialog .mud-dialog-actions)[b-kohgc8g5nn] {
    padding: 10px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: flex-start;
}

/* ── Title row ────────────────────────────────────────────── */
.wsd-title-row[b-kohgc8g5nn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wsd-title-left[b-kohgc8g5nn] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.wsd-title-icon[b-kohgc8g5nn] {
    flex-shrink: 0;
}

.wsd-title-text[b-kohgc8g5nn] {
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: 700;
    color: #ffd700;
    white-space: nowrap;
}

.wsd-title-current[b-kohgc8g5nn] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.wsd-subtitle[b-kohgc8g5nn] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    padding-top: 3px;
    letter-spacing: 0.02em;
}

/* ── Card grid ────────────────────────────────────────────── */
.wsd-grid[b-kohgc8g5nn] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 0 4px;
}

@media (max-width: 500px) {
    .wsd-grid[b-kohgc8g5nn] {
        grid-template-columns: 1fr;
    }
}

/* ── Individual weapon card ───────────────────────────────── */
.wsd-card[b-kohgc8g5nn] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 30, 48, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    overflow: hidden;
}

.wsd-card--available[b-kohgc8g5nn] {
    cursor: pointer;
}

.wsd-card--available:hover[b-kohgc8g5nn] {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(99, 102, 241, 0.5);
    border-color: rgba(99, 102, 241, 0.55);
    background: rgba(30, 40, 70, 0.85);
}

.wsd-card--available:active[b-kohgc8g5nn] {
    transform: translateY(-1px);
}

.wsd-card--equipped[b-kohgc8g5nn] {
    border-color: rgba(234, 179, 8, 0.65);
    background: rgba(234, 179, 8, 0.05);
    box-shadow: 0 0 0 1px rgba(234, 179, 8, 0.2), inset 0 0 30px rgba(234, 179, 8, 0.03);
    cursor: default;
}

/* ── Equipped badge ───────────────────────────────────────── */
.wsd-equipped-badge[b-kohgc8g5nn] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-warning-bright);
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 999px;
    padding: 2px 7px;
}

/* ── Magic bonus badge ────────────────────────────────────── */
.wsd-magic-badge[b-kohgc8g5nn] {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: var(--ct-sm);
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 6px;
    border: 1px solid transparent;
}

/* ── Card header: icon + name ─────────────────────────────── */
.wsd-card-header[b-kohgc8g5nn] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 4px; /* clear equipped / magic badges */
    padding-right: 60px; /* avoid overlap with absolute badges */
}

.wsd-weapon-icon-wrap[b-kohgc8g5nn] {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.wsd-name-col[b-kohgc8g5nn] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wsd-name[b-kohgc8g5nn] {
    font-size: var(--ct-base);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsd-level-req[b-kohgc8g5nn] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    letter-spacing: 0.04em;
}

/* ── Damage dice chip ─────────────────────────────────────── */
.wsd-damage-chip[b-kohgc8g5nn] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: var(--ct-lg);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    border-radius: 8px;
    padding: 4px 10px;
    align-self: flex-start;
    border: 1.5px solid transparent;
}

.wsd-dice-icon[b-kohgc8g5nn] {
    opacity: 0.75;
}

/* Rarity tints for damage chip + magic badge */
.rarity-common[b-kohgc8g5nn]   { color: #94a3b8; border-color: rgba(148, 163, 184, 0.25); background: rgba(148, 163, 184, 0.08); }
.rarity-uncommon[b-kohgc8g5nn] { color: #4ade80; border-color: rgba(74, 222, 128, 0.35);  background: rgba(74, 222, 128, 0.07); }
.rarity-rare[b-kohgc8g5nn]     { color: #60a5fa; border-color: rgba(96, 165, 250, 0.35);  background: rgba(96, 165, 250, 0.07); }
.rarity-epic[b-kohgc8g5nn]     { color: #c084fc; border-color: rgba(192, 132, 252, 0.35); background: rgba(192, 132, 252, 0.07); }
.rarity-legendary[b-kohgc8g5nn]{ color: #f59e0b; border-color: rgba(245, 158, 11, 0.5);   background: rgba(245, 158, 11, 0.1); }

/* ── Chips row ────────────────────────────────────────────── */
.wsd-chips-row[b-kohgc8g5nn] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.wsd-chip[b-kohgc8g5nn] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: var(--ct-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}

.wsd-chip--melee[b-kohgc8g5nn]   { color: #94a3b8; background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.2); }
.wsd-chip--ranged[b-kohgc8g5nn]  { color: #60a5fa; background: rgba(96, 165, 250, 0.08);  border-color: rgba(96, 165, 250, 0.25); }
.wsd-chip--dmg-type[b-kohgc8g5nn]{ color: #f87171; background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.22); }
.wsd-chip--prop[b-kohgc8g5nn]    { color: #a8a29e; background: rgba(168, 162, 158, 0.08); border-color: rgba(168, 162, 158, 0.2); }
.wsd-chip--twohanded[b-kohgc8g5nn] { color: #fb923c; background: rgba(251, 146, 60, 0.08); border-color: rgba(251, 146, 60, 0.25); }

/* Elemental type chips */
.wsd-chip--elemental[b-kohgc8g5nn] { font-size: var(--ct-sm); }
.elemental-fire[b-kohgc8g5nn]      { color: #fb923c; background: rgba(251, 146, 60, 0.1);  border-color: rgba(251, 146, 60, 0.3); }
.elemental-frost[b-kohgc8g5nn]     { color: #7dd3fc; background: rgba(125, 211, 252, 0.08);border-color: rgba(125, 211, 252, 0.3); }
.elemental-lightning[b-kohgc8g5nn] { color: #fde047; background: rgba(253, 224, 71, 0.08); border-color: rgba(253, 224, 71, 0.3); }
.elemental-holy[b-kohgc8g5nn]      { color: #fef08a; background: rgba(254, 240, 138, 0.08);border-color: rgba(254, 240, 138, 0.4); }
.elemental-cursed[b-kohgc8g5nn]    { color: #a78bfa; background: rgba(167, 139, 250, 0.08);border-color: rgba(167, 139, 250, 0.3); }
.elemental-nature[b-kohgc8g5nn]    { color: #86efac; background: rgba(134, 239, 172, 0.08);border-color: rgba(134, 239, 172, 0.3); }
.elemental-void[b-kohgc8g5nn]      { color: #818cf8; background: rgba(129, 140, 248, 0.08);border-color: rgba(129, 140, 248, 0.3); }
.elemental-shadow[b-kohgc8g5nn]    { color: #94a3b8; background: rgba(148, 163, 184, 0.06);border-color: rgba(148, 163, 184, 0.2); }

/* ── Stat bonuses ─────────────────────────────────────────── */
.wsd-stat-bonuses[b-kohgc8g5nn] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--ct-sm);
    color: #7dd3fc;
    letter-spacing: 0.01em;
}

/* ── Lore text ────────────────────────────────────────────── */
.wsd-lore[b-kohgc8g5nn] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    font-style: italic;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ── Equip button ─────────────────────────────────────────── */
.wsd-select-btn[b-kohgc8g5nn] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    padding: 7px 0;
    margin-top: 2px;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    font-size: var(--ct-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.wsd-select-btn:hover[b-kohgc8g5nn] {
    background: rgba(99, 102, 241, 0.22);
    border-color: rgba(99, 102, 241, 0.65);
    color: #a5b4fc;
}

.wsd-select-btn:active[b-kohgc8g5nn] {
    background: rgba(99, 102, 241, 0.32);
}

/* ── Empty state ──────────────────────────────────────────── */
.wsd-empty[b-kohgc8g5nn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 16px;
    color: var(--color-text-secondary);
}

/* -- Off hand (party swap extras, 22 Nov 2026): a Light weapon drawn beside a Light main hand -- */
.wsd-offhand-badge[b-kohgc8g5nn] {
    color: var(--color-info-light);
    background: color-mix(in srgb, var(--color-info) 14%, transparent);
    border-color: color-mix(in srgb, var(--color-info) 40%, transparent);
}

.wsd-select-btn--offhand[b-kohgc8g5nn] {
    border-color: color-mix(in srgb, var(--color-info) 40%, transparent);
    background: color-mix(in srgb, var(--color-info) 10%, transparent);
    color: var(--color-info-light);
}

.wsd-select-btn--offhand:hover[b-kohgc8g5nn] {
    border-color: color-mix(in srgb, var(--color-info) 65%, transparent);
    background: color-mix(in srgb, var(--color-info) 22%, transparent);
    color: var(--color-info-lighter);
}

/* -- One swap a turn (owner, 22 Nov 2026): the turn's swap is spent, so the switcher shows it used -- */
.wsd-used-line[b-kohgc8g5nn] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--color-warning) 45%, transparent);
    background: color-mix(in srgb, var(--color-warning) 12%, transparent);
    color: var(--color-warning-bright);
    font-size: var(--ct-sm);
    font-weight: 600;
}

.wsd-card--used[b-kohgc8g5nn] {
    cursor: default;
    opacity: 0.6;
}

.wsd-select-btn:disabled[b-kohgc8g5nn],
.wsd-select-btn:disabled:hover[b-kohgc8g5nn],
.wsd-select-btn:disabled:active[b-kohgc8g5nn] {
    cursor: not-allowed;
    opacity: 0.55;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--color-text-secondary);
}
/* /Components/Combat/Multiplayer/AllySelectionModal.razor.rz.scp.css */
/* AllySelectionModal - multiplayer ally picker (heal / buff spells, Lay on Hands). */

.ally-picker-title[b-3jvf9ggzoi] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-primary);
    color: var(--color-primary);
}

.ally-picker-prompt[b-3jvf9ggzoi],
.ally-picker-empty[b-3jvf9ggzoi] {
    margin: 0 0 var(--space-md);
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.ally-picker-list[b-3jvf9ggzoi] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-height: 55vh;
    overflow-y: auto;
}

.ally-row[b-3jvf9ggzoi] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    min-height: 44px; /* touch target on tablets */
    text-align: left;
    color: var(--color-text-primary);
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.ally-row.selectable:hover[b-3jvf9ggzoi],
.ally-row.selectable:focus-visible[b-3jvf9ggzoi] {
    border-color: var(--color-border-active);
    transform: translateY(-1px);
}

.ally-row.downed.selectable[b-3jvf9ggzoi] {
    border-color: var(--combat-bad);
}

.ally-row.blocked[b-3jvf9ggzoi] {
    cursor: not-allowed;
    opacity: 0.55;
}

.ally-row-head[b-3jvf9ggzoi] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ally-row-name[b-3jvf9ggzoi] {
    font-weight: 600;
}

.ally-row-tag[b-3jvf9ggzoi] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 var(--space-xs);
    font-size: var(--ct-sm);
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-sm);
}

.ally-row-tag.downed[b-3jvf9ggzoi] {
    color: var(--combat-bad);
    border-color: var(--combat-bad);
}

.ally-row-hp[b-3jvf9ggzoi] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ally-hp-bar[b-3jvf9ggzoi] {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.ally-hp-fill[b-3jvf9ggzoi] {
    display: block;
    height: 100%;
}

.ally-hp-fill.hp-high[b-3jvf9ggzoi] {
    background: var(--combat-hp-high);
}

.ally-hp-fill.hp-mid[b-3jvf9ggzoi] {
    background: var(--combat-hp-mid);
}

.ally-hp-fill.hp-low[b-3jvf9ggzoi] {
    background: var(--combat-hp-low);
}

.ally-hp-text[b-3jvf9ggzoi] {
    min-width: 6.5em;
    text-align: right;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.ally-row-reason[b-3jvf9ggzoi] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}
/* /Components/Combat/Multiplayer/CollectVictoryBanner.razor.rz.scp.css */
/* CollectVictoryBanner - pinned to the top of the combat page while a won battle waits to be paid.
   Same layer as the reconnect banner (the page shows one or the other), above the rest-flow overlays. */

.mp-collect-victory[b-uy2442imgk] {
    position: fixed;
    top: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    max-width: calc(100vw - 2 * var(--space-md));
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-md);
    background: var(--color-bg-elevated-alt);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    box-shadow: var(--shadow-lg);
}

.mp-collect-victory-icon[b-uy2442imgk] {
    color: var(--color-primary);
    font-size: var(--ct-3xl);
}

.mp-collect-victory-button[b-uy2442imgk] {
    flex-shrink: 0;
    min-height: 44px;
    min-width: 44px;
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-sm);
    background: var(--color-primary-dark);
    color: var(--color-bg-base);
    font-weight: 600;
    cursor: pointer;
}

.mp-collect-victory-button:hover:not(:disabled)[b-uy2442imgk],
.mp-collect-victory-button:focus-visible[b-uy2442imgk] {
    background: var(--color-primary);
}

.mp-collect-victory-button:disabled[b-uy2442imgk] {
    cursor: progress;
    opacity: 0.7;
}
/* /Components/Combat/Multiplayer/DownPips.razor.rz.scp.css */
/* Down pips (wave 2, M3; B2's death saves): three success slots, then three failure slots. Tokens only; CSS shapes,
   no glyphs. A success slot is round, a failure slot square, filled once rolled, so the two groups differ by shape as
   well as colour; a small gap sets them apart. */
.down-pips[b-3uq45i9xch] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
}

.down-pip[b-3uq45i9xch] {
    width: 0.7em;
    height: 0.7em;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px solid var(--combat-bad-light);
    background: transparent;
}

/* The failure slots: square, after a gap. */
.down-pip:nth-child(n+4)[b-3uq45i9xch] {
    border-radius: 2px;
}

.down-pip:nth-child(4)[b-3uq45i9xch] {
    margin-left: 4px;
}

.down-pip.is-empty[b-3uq45i9xch] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 70%, transparent);
}

.down-pip.is-success[b-3uq45i9xch] {
    border-color: var(--combat-good-light);
    background: var(--combat-good-light);
}

.down-pip.is-failure[b-3uq45i9xch] {
    background: var(--combat-bad-light);
}

@media (forced-colors: active) {
    .down-pip[b-3uq45i9xch] {
        border-color: CanvasText;
    }

    .down-pip.is-success[b-3uq45i9xch],
    .down-pip.is-failure[b-3uq45i9xch] {
        background: CanvasText;
    }
}
/* /Components/Combat/Multiplayer/MultiplayerReconnectBanner.razor.rz.scp.css */
/* MultiplayerReconnectBanner - pinned to the top of the combat page while the hub reconnects.
   Above the rest-flow overlays (z-index 9999 in Combat.razor) so it is never hidden behind a vote. */

.mp-reconnect-banner[b-9o2j89ca23] {
    position: fixed;
    top: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    max-width: calc(100vw - 2 * var(--space-md));
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-warning);
    border-radius: var(--radius-md);
    background: var(--color-bg-elevated-alt);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    box-shadow: var(--shadow-lg);
}

.mp-reconnect-failed[b-9o2j89ca23] {
    border-color: var(--combat-bad);
}

.mp-reconnect-icon[b-9o2j89ca23] {
    color: var(--color-warning);
    font-size: var(--ct-2xl);
}

.mp-reconnect-failed .mp-reconnect-icon[b-9o2j89ca23] {
    color: var(--combat-bad-light);
}

.mp-reconnect-banner:not(.mp-reconnect-failed) .mp-reconnect-icon[b-9o2j89ca23] {
    animation: mp-reconnect-spin-b-9o2j89ca23 1.2s linear infinite;
}

.mp-reconnect-refresh[b-9o2j89ca23] {
    flex-shrink: 0;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-primary);
    cursor: pointer;
}

.mp-reconnect-refresh:hover[b-9o2j89ca23],
.mp-reconnect-refresh:focus-visible[b-9o2j89ca23] {
    background: var(--color-primary-dark);
    color: var(--color-bg-base);
}

@keyframes mp-reconnect-spin-b-9o2j89ca23 {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mp-reconnect-banner .mp-reconnect-icon[b-9o2j89ca23] {
        animation: none;
    }
}
/* /Components/Combat/Multiplayer/OwnDownPanel.razor.rz.scp.css */
/* The downed player's own panel (wave 2, M3). Tokens only, combat text size tokens, no breakpoint of its own: the two
   columns wrap by their own width. */
.own-down[b-ifa0leqduw] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--combat-bad) 60%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--combat-bad) 12%, var(--color-bg-base));
    color: var(--color-text-primary);
}

/* Out of the fight: the same place, quieter (nothing is counting down any more). */
.own-down.is-fallen[b-ifa0leqduw] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    background: color-mix(in srgb, var(--color-text-secondary) 8%, var(--color-bg-base));
}

.od-head[b-ifa0leqduw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.od-icon[b-ifa0leqduw] {
    color: var(--combat-bad-light);
    font-size: var(--ct-3xl);
}

.od-title[b-ifa0leqduw] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--combat-bad-light);
}

.od-progress[b-ifa0leqduw] {
    font-size: var(--ct-base);
    font-weight: 700;
}

/* Call for a Potion (16 Nov 2026): the panel's one button, in the warning amber; 44px on a touch screen. Greyed (not
   disabled, so focus stays) once this round's call is out. */
.od-call[b-ifa0leqduw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    min-height: 36px;
    padding: 4px 12px;
    border: 1px solid var(--color-warning-bright);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-warning-bright) 16%, var(--color-bg-base));
    color: var(--color-warning-bright);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.od-call .material-icons[b-ifa0leqduw] {
    font-size: var(--ct-lg);
}

/* The shared keycap (design-system.css .hotkey-keycap); this only spaces it. */
.od-call-key[b-ifa0leqduw] {
    margin-left: 2px;
}

.od-call:hover:not(.is-spent)[b-ifa0leqduw],
.od-call:focus-visible[b-ifa0leqduw] {
    background: color-mix(in srgb, var(--color-warning-bright) 28%, var(--color-bg-base));
}

.od-call:focus-visible[b-ifa0leqduw] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 2px;
}

.od-call.is-spent[b-ifa0leqduw] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: default;
}

.od-call-help[b-ifa0leqduw] {
    flex-basis: 100%;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    text-align: right;
}

@media (pointer: coarse) {
    .od-call[b-ifa0leqduw] {
        min-height: 44px;
    }
}

.od-body[b-ifa0leqduw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

.od-col[b-ifa0leqduw] {
    flex: 1 1 240px;
    min-width: 0;
}

.od-what[b-ifa0leqduw] {
    margin: 0 0 2px;
    font-size: var(--ct-base);
}

.od-note[b-ifa0leqduw],
.od-none[b-ifa0leqduw] {
    margin: 0;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.od-sub[b-ifa0leqduw] {
    display: block;
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.od-rescuers[b-ifa0leqduw] {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--ct-sm);
}

.od-rescuer[b-ifa0leqduw] {
    font-weight: 700;
}

@media (forced-colors: active) {
    .own-down[b-ifa0leqduw] {
        border-color: CanvasText;
    }

    .od-call[b-ifa0leqduw] {
        border-color: ButtonText;
        color: ButtonText;
    }
}
/* /Components/Combat/Multiplayer/PartyCaption.razor.rz.scp.css */
/* The party caption (wave 2, M5): one line in a fixed place at the board's top edge, replaced in place. Tokens only,
   combat text size tokens, no breakpoint of its own (its width is the smaller of its text, the board cell and the
   window). It takes no pointer events, so the board under it stays usable.
   Owner call of 11 Nov 2026: it sits UNDER the top strip, never over the turn pill, the tracker's portraits or their
   HP bars. The strip's height follows its content and the tier, so js/combat/captionAnchor.js measures it and writes
   --party-caption-top (below the strip and the board cell's top), --party-caption-x (the board cell's centre) and
   --party-caption-max (the board cell's width less the gutters) on the root. The fallbacks, used only when the script
   did not load, keep it under the desktop strip (about 125px tall under the layout's 8px padding; the combat page
   has no frame bar above it). */
.party-caption[b-k3xv6b2yii] {
    position: fixed;
    top: var(--party-caption-top, 152px);
    left: var(--party-caption-x, 50%);
    transform: translateX(-50%);
    z-index: 1500;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 10px;
    box-sizing: border-box;
    max-width: min(92vw, 640px, var(--party-caption-max, 640px));
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 92%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    line-height: 1.3;
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.pcap-label[b-k3xv6b2yii] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pcap-text[b-k3xv6b2yii] {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: center;
}

.pcap-detail[b-k3xv6b2yii] {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

/* Someone else's beat: one dim line. */
.party-caption.is-dim[b-k3xv6b2yii] {
    padding: 3px 12px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    border-color: color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    box-shadow: none;
}

/* A beat that involves you: full size, tinted by whether it is good or bad for you. */
.party-caption.is-full[b-k3xv6b2yii] {
    font-size: var(--ct-lg);
    font-weight: 600;
}

.party-caption.is-full.tone-good[b-k3xv6b2yii],
.party-caption.is-alarm.tone-good[b-k3xv6b2yii] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 14%, var(--color-bg-base));
}

.party-caption.is-full.tone-good .pcap-label[b-k3xv6b2yii],
.party-caption.is-alarm.tone-good .pcap-label[b-k3xv6b2yii] {
    color: var(--color-primary-light);
}

.party-caption.is-full.tone-bad[b-k3xv6b2yii],
.party-caption.is-alarm.tone-bad[b-k3xv6b2yii] {
    border-color: var(--combat-bad);
    background: color-mix(in srgb, var(--combat-bad) 16%, var(--color-bg-base));
}

.party-caption.is-full.tone-bad .pcap-label[b-k3xv6b2yii],
.party-caption.is-alarm.tone-bad .pcap-label[b-k3xv6b2yii] {
    color: var(--combat-bad-light);
}

/* A party alarm: the same on every seat, with a heavier frame. */
.party-caption.is-alarm[b-k3xv6b2yii] {
    font-size: var(--ct-lg);
    font-weight: 700;
    border-width: 2px;
}

.party-caption.is-full.tone-neutral .pcap-label[b-k3xv6b2yii] {
    color: var(--color-primary-light);
}

@media (forced-colors: active) {
    .party-caption[b-k3xv6b2yii] {
        border-color: CanvasText;
        background: Canvas;
    }
}
/* /Components/Combat/Multiplayer/PartyMemberFrame.razor.rz.scp.css */
/* PartyMemberFrame: one ally (audit U6). Row on the desktop party stack, compact chip on the
   tablet strip. Class identity comes from the design-system class utilities: `class-accent`
   (--class-accent for the frame border) and `class-text` (name color). */

.pmf[b-7seqaqxw9j] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid color-mix(in srgb, var(--class-accent, var(--color-primary)) 35%, transparent);
    border-left: 3px solid var(--class-accent, var(--color-primary));
    border-radius: var(--radius-md);
    min-width: 0;
    position: relative;
}

.pmf.is-turn[b-7seqaqxw9j] {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.25);
}

.pmf.is-self[b-7seqaqxw9j] {
    background: rgba(30, 41, 59, 0.9);
}

.pmf.is-downed[b-7seqaqxw9j] {
    border-color: color-mix(in srgb, var(--combat-bad-light) 75%, transparent);
}

.pmf.is-dead[b-7seqaqxw9j],
.pmf.is-fled[b-7seqaqxw9j] {
    opacity: 0.55;
    filter: grayscale(0.6);
}

.pmf.is-offline .pmf-avatar[b-7seqaqxw9j] {
    filter: grayscale(0.8);
}

/* ---------- Avatar ---------- */
.pmf-avatar[b-7seqaqxw9j] {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 6px;
    background: color-mix(in srgb, var(--class-accent, var(--color-primary)) 18%, rgba(0, 0, 0, 0.4));
    border: 1px solid color-mix(in srgb, var(--class-accent, var(--color-primary)) 60%, transparent);
}

.pmf-class-icon[b-7seqaqxw9j] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--ct-2xl);
    color: var(--class-accent, var(--color-primary));
}

.pmf-portrait[b-7seqaqxw9j] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.pmf-turn-dot[b-7seqaqxw9j] {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.8);
}

.pmf-conn[b-7seqaqxw9j] {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.9);
}

.pmf-conn.online[b-7seqaqxw9j]  { background: var(--combat-good); }
.pmf-conn.offline[b-7seqaqxw9j] { background: var(--combat-bad); }

/* ---------- Body ---------- */
.pmf-body[b-7seqaqxw9j] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.pmf-name-row[b-7seqaqxw9j] {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.pmf-name[b-7seqaqxw9j] {
    font-size: var(--ct-sm);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.pmf-you[b-7seqaqxw9j] {
    flex-shrink: 0;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.pmf-level[b-7seqaqxw9j] {
    margin-left: auto;
    flex-shrink: 0;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.pmf-state[b-7seqaqxw9j] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--ct-sm);
    font-weight: 700;
}

.pmf-state .material-icons[b-7seqaqxw9j] { font-size: var(--ct-sm); }

/* The compact chip's Down line: the heart, "Stable" when stable, then the pips; never the words (they wrap in a ~120px chip). */
.pmf-state--pips[b-7seqaqxw9j] {
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
}
.pmf-state.downed[b-7seqaqxw9j] { color: var(--combat-bad-lighter); }
.pmf-state.dead[b-7seqaqxw9j]   { color: var(--color-text-secondary); }
.pmf-state.fled[b-7seqaqxw9j]   { color: var(--color-warning-bright); }

/* ---------- Bars ---------- */
.pmf-bar-row[b-7seqaqxw9j] {
    display: grid;
    grid-template-columns: calc(var(--ct-sm) * 2) 1fr auto; /* the label column grows with its text (18px held a 9px label) */
    align-items: center;
    gap: 4px;
}

.pmf-bar-label[b-7seqaqxw9j] {
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--color-text-secondary);
}

.pmf-bar[b-7seqaqxw9j] {
    height: 5px;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 3px;
    overflow: hidden;
}

.pmf-bar-fill[b-7seqaqxw9j] {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.pmf-bar-fill.hp.healthy[b-7seqaqxw9j]  { background: var(--combat-hp-high); }
.pmf-bar-fill.hp.low[b-7seqaqxw9j]      { background: var(--combat-hp-mid-light); }
.pmf-bar-fill.hp.critical[b-7seqaqxw9j] { background: var(--combat-hp-low); }
.pmf-bar-fill.mana[b-7seqaqxw9j]        { background: var(--color-mana); }
/* Same monk-to-ki gradient as the HUD Ki bar (CompactPlayerHud .cph-bar-fill.ki). */
.pmf-bar-fill.ki[b-7seqaqxw9j]          { background: linear-gradient(90deg, var(--color-monk), var(--color-ki)); }
.pmf-bar-fill.swagger[b-7seqaqxw9j]     { background: var(--color-swagger); }

.pmf-bar-value[b-7seqaqxw9j] {
    font-size: var(--ct-sm);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

/* ---------- Status pips ---------- */
.pmf-status-row[b-7seqaqxw9j] {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    margin-top: 1px;
}

.pmf-status-pip[b-7seqaqxw9j] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--color-text-primary);
}

.pmf-status-pip[b-7seqaqxw9j]  .mud-icon-root {
    width: 1em;
    height: 1em;
    font-size: var(--ct-sm);
}

.pmf-status-duration[b-7seqaqxw9j] {
    position: absolute;
    right: -3px;
    bottom: -3px;
    min-width: 1.25em;
    padding: 0 1px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.8);
    font-size: var(--ct-sm);
    line-height: 1.25;
    text-align: center;
}

.pmf-status-more[b-7seqaqxw9j] {
    width: auto;
    padding: 0 3px;
    background: rgba(15, 23, 42, 0.85);
}

/* The hero's weapons (party swap extras, 22 Nov 2026): one line, the main hand's icon (and the off hand's), the names
   ellipsized so a long name never widens the frame. */
.pmf-hands[b-7seqaqxw9j] {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.pmf-hands[b-7seqaqxw9j]  .pmf-hands-icon {
    flex-shrink: 0;
    font-size: var(--ct-base);
    color: var(--color-text-secondary);
}

.pmf-hands[b-7seqaqxw9j]  .pmf-hands-icon--off {
    color: var(--color-info-light);
}

.pmf-hands-text[b-7seqaqxw9j] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Compact (tablet strip chip) ---------- */
.pmf.pmf--compact[b-7seqaqxw9j] {
    min-width: 132px;
    max-width: 168px;
    flex-shrink: 0;
    padding: 4px 6px;
    gap: 6px;
}

.pmf.pmf--compact .pmf-avatar[b-7seqaqxw9j] {
    width: 30px;
    height: 30px;
}

.pmf.pmf--compact .pmf-class-icon[b-7seqaqxw9j] { font-size: var(--ct-lg); }

/* ---------- Party column additions (combat HUD rethink WP10) ---------- */

/* Tags under the name: who is acting, who is away (presence from the server's presence service). */
.pmf-tags[b-7seqaqxw9j] {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.pmf-tag[b-7seqaqxw9j] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 5px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    font-size: var(--ct-sm);
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    flex-shrink: 0;
}

.pmf-tag .material-icons[b-7seqaqxw9j] { font-size: var(--ct-sm); }

.pmf-tag-acting[b-7seqaqxw9j] {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* House heroes W3 (call 8): the tag beside the name is the house teal, quiet; the seal sits on the avatar's corner. */
.pmf-tag-house[b-7seqaqxw9j] {
    border-color: var(--sc-house-line);
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
}

.pmf-avatar[b-7seqaqxw9j]  .pmf-seal {
    position: absolute;
    right: -3px;
    bottom: -3px;
}

.pmf-tag-away[b-7seqaqxw9j] {
    border-color: color-mix(in srgb, var(--combat-bad-light) 60%, transparent);
    color: var(--combat-bad-lighter);
}

/* Call for a Potion (16 Nov 2026): the Down hero's reminder, in the warning amber; it pulses gently unless the player
   asked for less motion, and the words carry it for colour vision too. */
.pmf-tag-potion[b-7seqaqxw9j] {
    border-color: var(--color-warning-bright);
    background: color-mix(in srgb, var(--color-warning-bright) 16%, transparent);
    color: var(--color-warning-bright);
    animation: pmf-potion-pulse-b-7seqaqxw9j 1.6s ease-in-out infinite;
}

@keyframes pmf-potion-pulse-b-7seqaqxw9j {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-warning-bright) 0%, transparent); }
    50% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-warning-bright) 35%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
    .pmf-tag-potion[b-7seqaqxw9j] {
        animation: none;
    }
}

.pmf-tag-target[b-7seqaqxw9j] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
    color: var(--color-primary);
}

/* Downed: the one state an ally can still fix, so it reads first, with the rounds left large. */
.pmf.is-downed:not(.pmf--compact)[b-7seqaqxw9j] {
    border-left-color: var(--combat-bad);
    background: color-mix(in srgb, var(--combat-bad-dark) 22%, var(--color-bg-elevated-alt));
}

.pmf-downed[b-7seqaqxw9j] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--combat-bad-dark) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--combat-bad-light) 70%, transparent);
    color: var(--combat-bad-lightest);
    font-size: var(--ct-sm);
    font-weight: 800;
}

.pmf-downed-icon[b-7seqaqxw9j] {
    font-size: var(--ct-lg);
    animation: pmfDownedPulse-b-7seqaqxw9j 1.4s ease-in-out infinite;
}

.pmf-downed-rounds[b-7seqaqxw9j] {
    font-size: var(--ct-lg);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pmf-downed-unit[b-7seqaqxw9j] {
    font-weight: 600;
    color: var(--combat-bad-lighter);
}

@keyframes pmfDownedPulse-b-7seqaqxw9j {
    0%, 100% { opacity: 0.7; }
    50%      { opacity: 1; }
}

/* Status chips (the full frame): icon, name, turns left. */
.pmf-status-chip[b-7seqaqxw9j] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    padding: 0 4px 0 2px;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--color-text-primary) 20%, transparent);
    font-size: var(--ct-sm);
    font-weight: 700;
    line-height: 1.82;
    color: var(--color-text-primary);
    min-width: 0;
}

.pmf-status-chip[b-7seqaqxw9j]  .mud-icon-root {
    width: 1em;
    height: 1em;
    font-size: var(--ct-sm);
    flex-shrink: 0;
}

.pmf-status-name[b-7seqaqxw9j] {
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pmf-status-chip-duration[b-7seqaqxw9j] {
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}

/* Ally target (WP10): clickable frames, the selected ally, and the ally aim. The party column sets --aim-eco to the
   aimed action's turn slot (the board's rule), so a frame lights in the same color as the tokens. */
.pmf.is-clickable[b-7seqaqxw9j] {
    cursor: pointer;
}

.pmf.is-clickable:hover[b-7seqaqxw9j] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.pmf.is-clickable:focus-visible[b-7seqaqxw9j] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.pmf.is-selected[b-7seqaqxw9j] {
    outline: 1px dashed var(--color-primary);
    outline-offset: 2px;
}

.pmf.aim-valid[b-7seqaqxw9j] {
    outline: 2px solid var(--aim-eco, var(--color-eco-action));
    outline-offset: 2px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--aim-eco, var(--color-eco-action)) 45%, transparent);
}

.pmf.aim-armed[b-7seqaqxw9j] {
    outline-width: 3px;
    animation: pmfArmedPulse-b-7seqaqxw9j 1.2s ease-in-out infinite;
}

.pmf.aim-invalid[b-7seqaqxw9j] {
    cursor: not-allowed;
    opacity: 0.45;
    filter: grayscale(0.7);
}

@keyframes pmfArmedPulse-b-7seqaqxw9j {
    0%, 100% { outline-offset: 2px; }
    50%      { outline-offset: 4px; }
}

.pmf-target-line[b-7seqaqxw9j] {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: var(--ct-sm);
    font-weight: 700;
    min-width: 0;
}

.pmf-target-line > span:last-child[b-7seqaqxw9j] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.pmf-target-line .material-icons[b-7seqaqxw9j] { font-size: var(--ct-sm); flex-shrink: 0; }
.pmf-target-line.valid[b-7seqaqxw9j],
.pmf-target-line.armed[b-7seqaqxw9j]   { color: var(--aim-eco, var(--color-eco-action)); }
.pmf-target-line.blocked[b-7seqaqxw9j] { color: var(--color-text-secondary); }

@media (prefers-reduced-motion: reduce) {
    .pmf-bar-fill[b-7seqaqxw9j] { transition: none; }
    .pmf-downed-icon[b-7seqaqxw9j],
    .pmf.aim-armed[b-7seqaqxw9j] { animation: none; }
}
/* /Components/Combat/Multiplayer/PartyRecoveryList.razor.rz.scp.css */
.party-recovery-list[b-6cd7xxqjh7] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prl-row[b-6cd7xxqjh7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.prl-row.is-self[b-6cd7xxqjh7] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.prl-name[b-6cd7xxqjh7] {
    flex: 1 1 140px;
    font-weight: 700;
    min-width: 0;
}

.prl-stat[b-6cd7xxqjh7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--ct-base);
    font-variant-numeric: tabular-nums;
}

.prl-icon[b-6cd7xxqjh7] {
    font-size: var(--ct-lg);
}

.prl-icon.hp[b-6cd7xxqjh7]   { color: var(--color-danger-light); }
.prl-icon.mana[b-6cd7xxqjh7] { color: var(--color-mana); }

.prl-change[b-6cd7xxqjh7] {
    font-weight: 700;
    font-size: var(--ct-md);
}

.prl-change.up[b-6cd7xxqjh7]   { color: var(--combat-good); }
.prl-change.down[b-6cd7xxqjh7] { color: var(--combat-bad-light); }

.prl-row.is-away[b-6cd7xxqjh7] {
    opacity: 0.7;
    border-style: dashed;
}

.prl-away[b-6cd7xxqjh7] {
    margin-left: 6px;
    font-size: var(--ct-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
}
/* /Components/Combat/Multiplayer/PartyVoteChips.razor.rz.scp.css */
.party-vote-chips[b-e68fa59oey] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pvc-chip[b-e68fa59oey] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px 3px 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.3);
    font-size: var(--ct-sm);
}

.pvc-chip.voted[b-e68fa59oey] {
    border-color: color-mix(in srgb, var(--combat-good) 60%, transparent);
}

.pvc-chip.is-self[b-e68fa59oey] {
    box-shadow: 0 0 0 1px var(--color-primary);
}

.pvc-chip.away[b-e68fa59oey],
.pvc-chip.sitting-out[b-e68fa59oey] {
    opacity: 0.6;
    border-style: dashed;
}

.pvc-icon[b-e68fa59oey] {
    font-size: var(--ct-lg);
    color: var(--color-text-secondary);
}

.pvc-chip.voted .pvc-icon[b-e68fa59oey] {
    color: var(--combat-good);
}

.pvc-name[b-e68fa59oey] {
    font-weight: 700;
}

.pvc-choice[b-e68fa59oey] {
    color: var(--color-text-secondary);
}

.pvc-chip.voted .pvc-choice[b-e68fa59oey] {
    color: var(--color-text-primary);
    font-weight: 600;
}

.pvc-tally[b-e68fa59oey] {
    margin-top: 4px;
    text-align: center;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}
/* /Components/Combat/Multiplayer/PlayerPartyPanel.razor.rz.scp.css */
/* Desktop / wide party column (combat HUD rethink WP10). The layout's grid cell (.combat-party-col) owns the frame
   and the scroll; this lays out the header, the on-deck pill, the ally frames and the hint. Was an inline
   (unscoped) <style> block that leaked .status-effect-badge and friends into every page; now isolated, with the
   ally frames in PartyMemberFrame.
   While an ally action is aimed the section carries the board's .aim-mode classes, so --aim-eco (the aimed
   action's turn slot: --color-eco-action or --color-eco-bonus) reaches the frames' glow. */

.player-party-panel[b-5m5k1e5g50] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.player-party-panel.aim-mode[b-5m5k1e5g50] {
    --aim-eco: var(--color-eco-action);
}

.player-party-panel.aim-mode.aim-eco-bonus[b-5m5k1e5g50] {
    --aim-eco: var(--color-eco-bonus);
}

.player-party-panel.aim-mode.aim-eco-free[b-5m5k1e5g50] {
    --aim-eco: var(--color-eco-free);
}

.ppp-header[b-5m5k1e5g50] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.ppp-title[b-5m5k1e5g50] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.ppp-count[b-5m5k1e5g50] {
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--combat-good);
    font-variant-numeric: tabular-nums;
}

/* D11: you're next. Gold, like the "Your turn" pill it precedes, but outlined (not filled) so the two never read
   as the same state. */
.ppp-on-deck[b-5m5k1e5g50] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: 800;
}

.ppp-on-deck .material-icons[b-5m5k1e5g50] {
    font-size: var(--ct-lg);
}

.ppp-allies[b-5m5k1e5g50] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* "Clear target": a quiet outlined text button under the hint (a click on the target's own frame keeps them armed). */
.ppp-clear-target[b-5m5k1e5g50] {
    align-self: flex-start;
    margin: 0 4px;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-active);
    background: transparent;
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
}

.ppp-clear-target:hover[b-5m5k1e5g50] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.ppp-clear-target:focus-visible[b-5m5k1e5g50] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ppp-empty[b-5m5k1e5g50],
.ppp-hint[b-5m5k1e5g50] {
    margin: 0;
    padding: 0 4px;
    font-size: var(--ct-sm);
    line-height: 1.35;
    color: var(--color-text-secondary);
}
/* /Components/Combat/Multiplayer/RaidStatusPanel.razor.rz.scp.css */
/* The raid's pinned panel (wave 2, M3 + M4). Tokens only, combat text size tokens, no breakpoint of its own. */
.raid-status[b-c75p93u489] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 0;
}

.raid-status.is-compact[b-c75p93u489] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.raid-status.is-compact > section[b-c75p93u489] {
    flex: 1 1 260px;
}

.rs-down[b-c75p93u489],
.rs-brief[b-c75p93u489] {
    min-width: 0;
    padding: 6px 8px;
    border-radius: var(--radius-lg);
}

.rs-down[b-c75p93u489] {
    border: 1px solid color-mix(in srgb, var(--combat-bad) 55%, transparent);
    background: color-mix(in srgb, var(--combat-bad) 12%, transparent);
}

.rs-brief[b-c75p93u489] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.rs-title[b-c75p93u489] {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rs-down .rs-title[b-c75p93u489] {
    color: var(--combat-bad-light);
}

.rs-brief .rs-title[b-c75p93u489] {
    color: var(--color-primary-light);
}

.rs-title .material-icons[b-c75p93u489] {
    font-size: 1.3em;
}

.rs-down-list[b-c75p93u489],
.rs-brief-lines[b-c75p93u489] {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.rs-down-line[b-c75p93u489] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 6px;
    font-size: var(--ct-sm);
    color: var(--color-text-primary);
}

.rs-down-line + .rs-down-line[b-c75p93u489] {
    margin-top: 2px;
}

.rs-down-name[b-c75p93u489] {
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}

.rs-down-line.is-self .rs-down-name[b-c75p93u489] {
    color: var(--color-primary-light);
}

.rs-down-text[b-c75p93u489] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.rs-hint[b-c75p93u489] {
    margin: 4px 0 0;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.rs-brief-head[b-c75p93u489] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.rs-brief-lines li[b-c75p93u489] {
    font-size: var(--ct-sm);
    line-height: 1.35;
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.rs-brief-lines li + li[b-c75p93u489] {
    margin-top: 3px;
}

.rs-dismiss[b-c75p93u489] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.rs-dismiss:hover[b-c75p93u489] {
    color: var(--color-text-primary);
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.rs-dismiss:focus-visible[b-c75p93u489] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 1px;
}

.rs-dismiss .material-icons[b-c75p93u489] {
    font-size: var(--ct-lg);
}

@media (pointer: coarse) {
    .rs-dismiss[b-c75p93u489] {
        width: 44px;
        height: 44px;
    }
}

@media (forced-colors: active) {
    .rs-down[b-c75p93u489],
    .rs-brief[b-c75p93u489] {
        border-color: CanvasText;
    }
}
/* /Components/Combat/Multiplayer/SeatFeed.razor.rz.scp.css */
/* The seat feed (combat log redesign wave 2, M0): the party column's always-on tail of the fight, under the ally
   frames. Tokens only; text in the combat text size tokens; no breakpoint of its own (the column sets its width). */

.seat-feed[b-skveg51fjj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    min-height: 0;
    padding-top: 6px;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.seat-feed-head[b-skveg51fjj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 0 4px;
}

.seat-feed-title[b-skveg51fjj] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.seat-feed-log[b-skveg51fjj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 2.31em;
    padding: 0 8px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: 999px;
    background: transparent;
    color: var(--color-primary-light);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    cursor: pointer;
}

.seat-feed-log:hover[b-skveg51fjj],
.seat-feed-log[aria-pressed="true"][b-skveg51fjj] {
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
    border-color: var(--color-primary);
}

.seat-feed-log:focus-visible[b-skveg51fjj] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 1px;
}

.seat-feed-log .material-icons[b-skveg51fjj] {
    font-size: 1.3em;
}

.seat-feed-scroll[b-skveg51fjj] {
    display: flex;
    flex-direction: column-reverse;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.seat-feed-items[b-skveg51fjj] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.seat-feed-item[b-skveg51fjj] {
    min-width: 0;
}

.seat-feed-round[b-skveg51fjj] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 2px;
    padding: 0 4px;
    color: var(--color-primary-light);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.seat-feed-rule[b-skveg51fjj] {
    flex: 1 1 auto;
    height: 1px;
    background: color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.seat-feed-empty[b-skveg51fjj] {
    margin: 0;
    padding: 4px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-style: italic;
}

@media (pointer: coarse) {
    .seat-feed-log[b-skveg51fjj] {
        min-height: 44px;
        padding: 0 12px;
    }
}

@media (forced-colors: active) {
    .seat-feed[b-skveg51fjj], .seat-feed-log[b-skveg51fjj] { border-color: CanvasText; }
}
/* /Components/Combat/Multiplayer/TurnCountdown.razor.rz.scp.css */
.turn-countdown[b-02k9201d02] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: var(--ct-sm);
    color: var(--color-text-primary);
}

.tc-ring[b-02k9201d02] {
    width: 20px;
    height: 20px;
    transform: rotate(-90deg);
}

.turn-countdown.compact .tc-ring[b-02k9201d02] {
    width: 16px;
    height: 16px;
}

.turn-countdown.compact[b-02k9201d02] {
    font-size: var(--ct-sm);
}

.tc-track[b-02k9201d02] {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 4;
}

.tc-fill[b-02k9201d02] {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 0.9s linear;
}

.turn-countdown.low .tc-fill[b-02k9201d02]   { stroke: var(--color-warning-bright); }
.turn-countdown.urgent .tc-fill[b-02k9201d02] { stroke: var(--combat-bad); }
.turn-countdown.urgent .tc-text[b-02k9201d02] { color: var(--combat-bad-lighter); }

@media (prefers-reduced-motion: reduce) {
    .tc-fill[b-02k9201d02] { transition: none; }
}
/* /Components/Combat/Multiplayer/TurnStatusPill.razor.rz.scp.css */
.turn-status-pill[b-nzdpcgjt4t] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: var(--ct-md);
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
}

.turn-status-pill.compact[b-nzdpcgjt4t] {
    padding: 2px 8px;
    font-size: var(--ct-sm);
    gap: 4px;
}

.turn-status-pill.is-you[b-nzdpcgjt4t] {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.28), rgba(218, 165, 32, 0.22));
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.turn-status-pill.is-waiting[b-nzdpcgjt4t] {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--color-text-secondary);
}

.tsp-icon[b-nzdpcgjt4t] {
    font-size: var(--ct-lg);
}

.tsp-label[b-nzdpcgjt4t] {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tsp-name[b-nzdpcgjt4t] {
    font-weight: 800;
}

.tsp-offline[b-nzdpcgjt4t] {
    color: var(--combat-bad-light);
    font-weight: 600;
    /* Blazor trims the space between the name and this tag ("Pell Wavesong(offline)" on the raid screen). */
    margin-left: 0.3em;
}

/* D11: "You're on deck" inside the waiting pill. Outlined gold (the filled gold is "Your turn"). */
.tsp-on-deck[b-nzdpcgjt4t] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 7px;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: 800;
    flex-shrink: 0;
}

.tsp-on-deck .material-icons[b-nzdpcgjt4t] {
    font-size: var(--ct-base);
}

.turn-status-pill.compact .tsp-on-deck[b-nzdpcgjt4t] {
    font-size: var(--ct-sm);
    padding: 0 5px;
}
/* /Components/Combat/Panels/Arena/ArenaGate.razor.rz.scp.css */
/* ArenaGate (owner, 9 Nov 2026): the Arena's setup screen in the house style of the Armory and the War Table: gold on
   navy, a Cinzel title, hairline cards, one gold call to action. Combat draws no frame, so the gate fills the page's
   column (the main landmark is a flex column the window's height in combat, combat-responsive.css) and grows past it
   when the window is short. Tokens only, canonical breakpoints only. */

.arena-gate[b-n19e7xaaaf] {
    --arena-line: color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    --arena-gold-line: color-mix(in srgb, var(--color-primary) 45%, transparent);
    --arena-gold-tint: color-mix(in srgb, var(--color-primary) 9%, transparent);
    --arena-surface: color-mix(in srgb, var(--color-bg-elevated-alt) 78%, transparent);
    position: relative;
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 32px 40px;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, color-mix(in srgb, var(--color-danger) 14%, transparent) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% 100%, color-mix(in srgb, var(--color-primary) 6%, transparent) 0%, transparent 70%),
        var(--color-bg-base);
}

.arena-shell[b-n19e7xaaaf] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 1080px;
    min-width: 0;
}

/* ---- The way back ---- */

.arena-top[b-n19e7xaaaf] {
    display: flex;
}

.arena-back[b-n19e7xaaaf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px 0 8px;
    border: 1px solid var(--arena-line);
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-secondary);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: 600;
    cursor: pointer;
}

.arena-back:hover[b-n19e7xaaaf] {
    border-color: var(--arena-gold-line);
    color: var(--color-text-primary);
}

.arena-back[b-n19e7xaaaf]  .mud-icon-root {
    font-size: var(--ct-xl);
}

/* ---- The heading ---- */

.arena-head[b-n19e7xaaaf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.arena-eyebrow[b-n19e7xaaaf] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.arena-title[b-n19e7xaaaf] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-6xl);
    font-weight: 700;
    line-height: 1.1;
    text-wrap: balance;
}

.arena-lede[b-n19e7xaaaf] {
    margin: 0;
    max-width: 68ch;
    color: var(--color-text-secondary);
    font-size: var(--ct-lg);
    line-height: 1.5;
}

.arena-section-title[b-n19e7xaaaf] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.arena-section-note[b-n19e7xaaaf] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

/* ---- The grid: hero and foes left, the bouts right ---- */

.arena-grid[b-n19e7xaaaf] {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    grid-template-areas:
        "hero bouts"
        "foes bouts";
    gap: 20px 28px;
    align-items: start;
}

.arena-hero[b-n19e7xaaaf] { grid-area: hero; }
.arena-bouts[b-n19e7xaaaf] { grid-area: bouts; }
.arena-foes[b-n19e7xaaaf] { grid-area: foes; }

.arena-hero[b-n19e7xaaaf],
.arena-bouts[b-n19e7xaaaf],
.arena-foes[b-n19e7xaaaf] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--arena-line);
    border-radius: 16px;
    background: var(--arena-surface);
}

/* ---- The hero ---- */

.arena-hero-id[b-n19e7xaaaf] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.arena-portrait[b-n19e7xaaaf] {
    flex: none;
    width: 72px;
    height: 72px;
    border: 1px solid var(--arena-gold-line);
    border-radius: 14px;
    object-fit: cover;
    background: var(--color-bg-base);
}

.arena-hero-text[b-n19e7xaaaf] {
    min-width: 0;
}

.arena-hero-name[b-n19e7xaaaf] {
    margin: 0;
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arena-hero-sub[b-n19e7xaaaf] {
    margin: 2px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

/* One label column for every bar, as wide as the longest label ("Divine Power", "Inspiration"). */
.arena-bars[b-n19e7xaaaf] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    gap: 8px 10px;
    align-items: center;
}

.arena-bar[b-n19e7xaaaf] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
    font-size: var(--ct-sm);
}

.arena-bar-label[b-n19e7xaaaf] {
    color: var(--color-text-secondary);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.arena-bar-track[b-n19e7xaaaf] {
    position: relative;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
}

.arena-bar-fill[b-n19e7xaaaf] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
}

.arena-bar--hp .arena-bar-fill[b-n19e7xaaaf] { background: var(--color-success); }
.arena-bar--pool .arena-bar-fill[b-n19e7xaaaf] { background: var(--color-info); }
.arena-bar--xp .arena-bar-fill[b-n19e7xaaaf] { background: var(--color-primary); }

.arena-bar-value[b-n19e7xaaaf] {
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    white-space: nowrap;
}

.arena-record[b-n19e7xaaaf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.arena-stat[b-n19e7xaaaf] {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--arena-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
}

.arena-stat dt[b-n19e7xaaaf] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.arena-stat dd[b-n19e7xaaaf] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.arena-ready[b-n19e7xaaaf] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: var(--ct-md);
    line-height: 1.45;
}

.arena-ready[b-n19e7xaaaf]  .mud-icon-root {
    flex: none;
    font-size: var(--ct-xl);
}

.arena-ready--ready[b-n19e7xaaaf] {
    background: color-mix(in srgb, var(--color-success) 8%, transparent);
    color: var(--color-text-primary);
}

.arena-ready--ready[b-n19e7xaaaf]  .mud-icon-root {
    color: var(--color-success);
}

.arena-ready--wounded[b-n19e7xaaaf] {
    border: 1px solid color-mix(in srgb, var(--color-warning) 40%, transparent);
    background: color-mix(in srgb, var(--color-warning) 10%, transparent);
    color: var(--color-text-primary);
}

.arena-ready--wounded[b-n19e7xaaaf]  .mud-icon-root {
    color: var(--color-warning-bright);
}

.arena-ready-links[b-n19e7xaaaf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 6px;
}

.arena-link[b-n19e7xaaaf] {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--arena-gold-line);
    text-underline-offset: 3px;
    white-space: nowrap;
}

.arena-link:hover[b-n19e7xaaaf] {
    text-decoration-color: currentColor;
}

/* ---- The bouts ---- */

.arena-bout-list[b-n19e7xaaaf] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.arena-bout[b-n19e7xaaaf] {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--arena-line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.arena-bout:hover:not(:disabled)[b-n19e7xaaaf] {
    border-color: var(--arena-gold-line);
}

.arena-bout:focus-visible[b-n19e7xaaaf],
.arena-back:focus-visible[b-n19e7xaaaf],
.arena-fight:focus-visible[b-n19e7xaaaf],
.arena-link:focus-visible[b-n19e7xaaaf] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.arena-bout.is-selected[b-n19e7xaaaf] {
    border-color: var(--color-primary);
    background: var(--arena-gold-tint);
    box-shadow: 0 0 0 1px var(--arena-gold-line);
}

.arena-bout.is-locked[b-n19e7xaaaf] {
    cursor: not-allowed;
}

.arena-bout.is-locked .arena-bout-pips[b-n19e7xaaaf],
.arena-bout.is-locked .arena-bout-name[b-n19e7xaaaf] {
    opacity: 0.55;
}

.arena-bout-pips[b-n19e7xaaaf] {
    flex: none;
    display: flex;
    gap: 5px;
    width: 52px;
}

.arena-pip[b-n19e7xaaaf] {
    width: 12px;
    height: 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    border-radius: 3px;
    transform: rotate(45deg);
}

.arena-pip.is-on[b-n19e7xaaaf] {
    border-color: transparent;
}

.arena-bout--training .arena-pip.is-on[b-n19e7xaaaf] { background: var(--color-success); }
.arena-bout--challenge .arena-pip.is-on[b-n19e7xaaaf] { background: var(--color-warning); }
.arena-bout--gauntlet .arena-pip.is-on[b-n19e7xaaaf] { background: var(--color-danger); }

.arena-bout-text[b-n19e7xaaaf] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.arena-bout-name[b-n19e7xaaaf] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    font-weight: 700;
}

.arena-bout-foes[b-n19e7xaaaf] {
    margin-left: 6px;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    font-weight: 600;
}

.arena-bout-xp[b-n19e7xaaaf] {
    color: var(--color-primary);
    font-size: var(--ct-base);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.arena-bout-pace[b-n19e7xaaaf],
.arena-bout-lock[b-n19e7xaaaf] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.arena-bout-lock[b-n19e7xaaaf] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.arena-bout-lock[b-n19e7xaaaf]  .mud-icon-root {
    font-size: var(--ct-lg);
}

.arena-bout-check[b-n19e7xaaaf] {
    flex: none;
    display: flex;
    width: 24px;
    color: var(--color-primary);
}

.arena-bout-check[b-n19e7xaaaf]  .mud-icon-root {
    font-size: var(--ct-3xl);
}

.arena-fight[b-n19e7xaaaf] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    margin-top: 4px;
    padding: 0 24px;
    border: 1px solid var(--color-primary);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.arena-fight:hover:not(:disabled)[b-n19e7xaaaf] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
}

.arena-fight:disabled[b-n19e7xaaaf] {
    cursor: not-allowed;
    opacity: 0.55;
}

.arena-fight[b-n19e7xaaaf]  .mud-icon-root {
    font-size: var(--ct-3xl);
}

/* ---- The foes ---- */

.arena-foe-list[b-n19e7xaaaf] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.arena-foe[b-n19e7xaaaf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    text-align: center;
}

.arena-foe-img[b-n19e7xaaaf] {
    width: 56px;
    height: 56px;
    border: 1px solid var(--arena-line);
    border-radius: 12px;
    object-fit: cover;
    background: var(--color-bg-base);
}

.arena-foe-name[b-n19e7xaaaf] {
    max-width: 100%;
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.arena-foe-level[b-n19e7xaaaf] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.arena-loading[b-n19e7xaaaf] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.arena-foe-more[b-n19e7xaaaf] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* ---- The footnote ---- */

.arena-foot[b-n19e7xaaaf] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
    text-align: center;
}

.arena-foot[b-n19e7xaaaf]  .mud-icon-root {
    font-size: var(--ct-xl);
}

@media (pointer: coarse) {
    .arena-back[b-n19e7xaaaf] {
        min-height: 44px;
    }

    .arena-ready-links .arena-link[b-n19e7xaaaf] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

/* ---- 1280 and up: three columns, so the whole screen fits a 1366 x 768 or 1280 x 720 window ---- */

@media (min-width: 1280px) {
    .arena-gate[b-n19e7xaaaf] {
        padding: 20px 32px 20px;
    }

    .arena-shell[b-n19e7xaaaf] {
        max-width: 1240px;
    }

    .arena-grid[b-n19e7xaaaf] {
        grid-template-columns: 320px minmax(0, 1fr) 320px;
        grid-template-areas: "hero bouts foes";
        align-items: stretch;
    }
}

/* ---- 1024 and down: one column, the bouts first under the hero ---- */

@media (max-width: 1024px) {
    .arena-gate[b-n19e7xaaaf] {
        align-items: flex-start;
        padding: 24px 24px 32px;
    }

    .arena-grid[b-n19e7xaaaf] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "hero bouts"
            "foes foes";
    }

    .arena-foe-list[b-n19e7xaaaf] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ---- 768 and down (a phone held sideways is the Arena's phone): one column ---- */

@media (max-width: 768px) {
    .arena-gate[b-n19e7xaaaf] {
        padding: 16px 16px 24px;
    }

    .arena-shell[b-n19e7xaaaf] {
        gap: 14px;
    }

    .arena-grid[b-n19e7xaaaf] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "hero"
            "bouts"
            "foes";
        gap: 14px;
    }

    .arena-foe-list[b-n19e7xaaaf] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .arena-bout[b-n19e7xaaaf] {
        gap: 12px;
        padding: 12px;
    }

    .arena-bout-pips[b-n19e7xaaaf] {
        width: 44px;
    }

    .arena-foot[b-n19e7xaaaf] {
        align-items: flex-start;
        text-align: left;
    }
}
/* /Components/Combat/Panels/BattleRecapCard.razor.rz.scp.css */
/* Battle Recap Card — post-combat performance summary.
   Uses design-system tokens; --accent is injected by the parent for class color. */

.battle-recap[b-5isoc62mpz] {
    padding: var(--space-lg);
    border-top: 2px solid var(--accent, var(--color-primary));
    box-shadow: var(--shadow-md);
}

.battle-recap-header[b-5isoc62mpz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border-base);
}

.battle-recap-title[b-5isoc62mpz] {
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
    flex: 1;
}

.battle-recap-boss-badge[b-5isoc62mpz] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* Hero tile — biggest hit highlight, gold glow */
.battle-recap-hero-tile[b-5isoc62mpz] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.10), rgba(255, 215, 0, 0.02));
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
}

.battle-recap-hero-icon[b-5isoc62mpz] {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 215, 0, 0.12);
    border-radius: var(--radius-md);
}

.battle-recap-hero-body[b-5isoc62mpz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.battle-recap-hero-label[b-5isoc62mpz] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.battle-recap-hero-value[b-5isoc62mpz] {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.battle-recap-hero-damage[b-5isoc62mpz] {
    font-family: var(--font-display);
    font-size: var(--ct-3xl);
    color: var(--color-primary);
    line-height: 1;
}

.battle-recap-hero-source[b-5isoc62mpz] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    font-style: italic;
}

/* Stat grid */
.battle-recap-grid[b-5isoc62mpz] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
}

.battle-recap-grid.grid-compact[b-5isoc62mpz] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.battle-recap-tile[b-5isoc62mpz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-sm) var(--space-md);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    text-align: center;
}

.battle-recap-tile .mud-icon-root[b-5isoc62mpz] {
    color: var(--accent, var(--color-primary));
    opacity: 0.85;
}

.battle-recap-tile-label[b-5isoc62mpz] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.battle-recap-tile-value[b-5isoc62mpz] {
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    color: var(--color-text-primary);
    line-height: 1.1;
}

/* Chip rows */
.battle-recap-chips[b-5isoc62mpz] {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.battle-recap-chip-row[b-5isoc62mpz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
}

.battle-recap-chip-label[b-5isoc62mpz] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: var(--space-xs);
}

/* Notable events list */
.battle-recap-notables[b-5isoc62mpz] {
    margin: var(--space-md) 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.battle-recap-notable[b-5isoc62mpz] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 215, 0, 0.04);
    border-left: 2px solid var(--accent, var(--color-primary));
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-style: italic;
}

.battle-recap-notable .mud-icon-root[b-5isoc62mpz] {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Compact mode — used by DefeatPanel */
.battle-recap-compact[b-5isoc62mpz] {
    padding: var(--space-md);
}

.battle-recap-compact .battle-recap-hero-tile[b-5isoc62mpz] {
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
}

.battle-recap-compact .battle-recap-tile-value[b-5isoc62mpz] {
    font-size: var(--ct-xl);
}
/* /Components/Combat/Panels/DefeatPanel.razor.rz.scp.css */
/* Lourdin.Web/Components/Combat/Panels/DefeatPanel.razor.css */
/* Reimagined defeat layout — death header + last stand + recap + tip + footer.
   --class-accent is injected inline by the parent so accents follow class color. */

.defeat-panel[b-zdtpgqkwhj] {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* ═════════ Death header ═════════ */
.defeat-banner[b-zdtpgqkwhj] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.45), rgba(15, 23, 42, 0.7));
    border-bottom: 1px solid rgba(220, 38, 38, 0.35);
    flex-shrink: 0;
}

.defeat-banner[b-zdtpgqkwhj]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.6), transparent);
}

.defeat-portrait[b-zdtpgqkwhj] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1) brightness(0.7);
    border: 2px solid rgba(220, 38, 38, 0.5);
    flex-shrink: 0;
    color: var(--color-text-secondary);
}

.defeat-portrait-fallback[b-zdtpgqkwhj] {
    background: rgba(127, 29, 29, 0.4);
    color: var(--color-danger-light); /* 6.5:1 on the panel (the 85% red-600 was 2.9:1) */
}

.defeat-banner-body[b-zdtpgqkwhj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.defeat-banner-eyebrow[b-zdtpgqkwhj] {
    font-size: var(--ct-sm);
    color: var(--color-danger-light); /* 6.5:1 on the panel (the 85% red-600 was 2.9:1) */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: var(--font-weight-semibold);
}

.defeat-banner-title[b-zdtpgqkwhj] {
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin: 0;
    letter-spacing: 0.05em;
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.defeat-slayer-name[b-zdtpgqkwhj] {
    color: rgba(248, 113, 113, 0.95);
    text-shadow: 0 0 12px rgba(220, 38, 38, 0.35);
}

/* ═════════ Content body ═════════ */
.defeat-content[b-zdtpgqkwhj] {
    padding: var(--space-lg);
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.defeat-content[b-zdtpgqkwhj]::-webkit-scrollbar { width: 8px; }
.defeat-content[b-zdtpgqkwhj]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}
.defeat-content[b-zdtpgqkwhj]::-webkit-scrollbar-thumb {
    background: var(--color-border-active);
    border-radius: 4px;
}

.section-title[b-zdtpgqkwhj] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ═════════ Last stand log ═════════ */
.defeat-last-stand[b-zdtpgqkwhj] {
    padding: var(--space-md);
    background: rgba(127, 29, 29, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: var(--radius-lg);
}

.defeat-log-entries[b-zdtpgqkwhj] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.defeat-log-entry[b-zdtpgqkwhj] {
    display: flex;
    /* A row with an actor wraps its message under it on a narrow panel instead of squeezing it into one word per line. */
    flex-wrap: wrap;
    align-items: baseline;
    text-align: left;
    gap: var(--space-xs) var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(220, 38, 38, 0.45);
    border-radius: var(--radius-sm);
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.defeat-log-turn[b-zdtpgqkwhj] {
    font-family: var(--font-mono);
    color: var(--color-danger-light); /* 6.5:1 on the panel (the 85% red-600 was 2.9:1) */
    font-weight: var(--font-weight-semibold);
    flex-shrink: 0;
    min-width: 4.5em;
    white-space: nowrap;
}

.defeat-log-actor[b-zdtpgqkwhj] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-medium);
    flex-shrink: 0;
}

.defeat-log-message[b-zdtpgqkwhj] {
    color: var(--color-text-secondary);
    flex: 1 1 12em;
    min-width: 0;
}

/* Multiplayer: the failed-adventure line under the party title */
.defeat-party-note[b-zdtpgqkwhj] {
    margin: 0;
    font-size: var(--ct-base);
    line-height: 1.45;
    color: var(--color-text-primary);
}

/* ═════════ Tactical tip ═════════ */
.defeat-tip[b-zdtpgqkwhj] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(255, 215, 0, 0.06);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    line-height: 1.45;
}

.defeat-tip .mud-icon-root[b-zdtpgqkwhj] {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ═════════ Restoration notice: where the hero stands now (first in the panel) ═════════ */
.defeat-restoration[b-zdtpgqkwhj] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(34, 197, 94, 0.06);
    border-left: 2px solid rgba(34, 197, 94, 0.45);
    border-radius: var(--radius-sm);
}

.restoration-line[b-zdtpgqkwhj] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--ct-sm);
    color: var(--color-success-light);
}

.restoration-line .mud-icon-root[b-zdtpgqkwhj] { color: var(--color-success-light); }

/* A solo defeat leaves a tenth of the hero's hit points (21 Oct 2026): the notice says so and points at the inn. */
.defeat-restoration--hurt[b-zdtpgqkwhj] {
    background: color-mix(in srgb, var(--color-danger) 7%, transparent);
    border-left-color: color-mix(in srgb, var(--color-danger-light) 50%, transparent);
}

.defeat-restoration--hurt .restoration-line[b-zdtpgqkwhj] {
    color: var(--color-text-light);
}

.restoration-line--hurt[b-zdtpgqkwhj] {
    color: var(--color-danger-lighter);
}

.defeat-restoration--hurt .restoration-line--hurt[b-zdtpgqkwhj] {
    color: var(--color-danger-lighter);
}

.defeat-restoration--hurt .restoration-line[b-zdtpgqkwhj]  .mud-icon-root {
    color: var(--color-text-secondary);
}

.defeat-restoration--hurt .restoration-line--hurt[b-zdtpgqkwhj]  .mud-icon-root {
    color: var(--color-danger-light);
}

.defeat-restoration--hurt .restoration-line--inn[b-zdtpgqkwhj]  .mud-icon-root {
    color: var(--color-monk-light);
}

.restoration-line--inn[b-zdtpgqkwhj] {
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
}

/* The line beside its icon (it used to wrap under it and centre); the link takes the next row. */
.restoration-line--inn > span[b-zdtpgqkwhj] {
    flex: 1 1 16rem;
    min-width: 0;
}

.defeat-inn-link[b-zdtpgqkwhj] {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary-light);
    font-weight: var(--font-weight-semibold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.defeat-inn-link:hover[b-zdtpgqkwhj] {
    color: var(--color-primary);
}

.defeat-inn-link:focus-visible[b-zdtpgqkwhj] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .defeat-inn-link[b-zdtpgqkwhj] {
        min-height: 44px;
    }
}

/* ═════════ Sticky footer ═════════ */
.defeat-panel-footer[b-zdtpgqkwhj] {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(to top,
        var(--color-bg-base) 0%,
        var(--color-bg-base) 70%,
        transparent 100%);
    border-top: 1px solid var(--color-border-subtle);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.btn-battle-report[b-zdtpgqkwhj] {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 1px solid var(--color-border, rgba(148, 163, 184, 0.35));
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all var(--transition-slow);
}

.btn-battle-report:hover[b-zdtpgqkwhj] {
    background: rgba(148, 163, 184, 0.1);
    color: var(--color-text-primary);
    border-color: rgba(148, 163, 184, 0.6);
}

.btn-road-defeat[b-zdtpgqkwhj] {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-md);
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-road-defeat:hover[b-zdtpgqkwhj] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.btn-road-defeat:focus-visible[b-zdtpgqkwhj] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.btn-return-defeat[b-zdtpgqkwhj] {
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-info), var(--color-info-dark));
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-slow);
}

.btn-return-defeat:hover[b-zdtpgqkwhj] {
    background: linear-gradient(135deg, var(--color-info-dark), #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* A phone held sideways (the combat page's Phone tier: the landscape, height-constrained query combat-responsive.css
   uses): the footer's buttons share one row and the banner tightens, so the first lines (the hit points the hero comes
   to with, where to heal) stay above the sticky footer instead of under it. */
@media (max-height: 500px) and (orientation: landscape) {
    .defeat-banner[b-zdtpgqkwhj] {
        padding: var(--space-sm) var(--space-lg);
    }

    .defeat-panel-footer[b-zdtpgqkwhj] {
        flex-direction: row;
        padding: var(--space-sm) var(--space-md);
    }

    .defeat-panel-footer > *[b-zdtpgqkwhj] {
        flex: 1 1 0;
        min-width: 0;
    }
}
/* /Components/Combat/Phone/InstallAppTip.razor.rz.scp.css */
/* The install tip (phone combat): one compact line, about 44px tall, for a phone's slim top area or a menu sheet.
   Tokens only; every button is a 44px touch target. The host layout places it through the Class parameter. */

.install-app-tip[b-oag2pkjxrw] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    padding-left: var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: var(--radius-lg);
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    line-height: 1.25;
}

.iat-icon[b-oag2pkjxrw] {
    flex: 0 0 auto;
    font-size: var(--ct-2xl);
    color: var(--color-primary);
}

.iat-text[b-oag2pkjxrw] {
    flex: 1 1 auto;
    min-width: 0;
}

.iat-install[b-oag2pkjxrw],
.iat-close[b-oag2pkjxrw] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    cursor: pointer;
    touch-action: manipulation;
}

.iat-install[b-oag2pkjxrw] {
    padding: 0 var(--space-md);
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.iat-install:disabled[b-oag2pkjxrw] {
    opacity: 0.6;
    cursor: default;
}

.iat-close[b-oag2pkjxrw] {
    padding: 0;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
}

.iat-close .material-icons[b-oag2pkjxrw] {
    font-size: var(--ct-2xl);
}

.iat-install:focus-visible[b-oag2pkjxrw],
.iat-close:focus-visible[b-oag2pkjxrw] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

@media (hover: hover) {
    .iat-close:hover[b-oag2pkjxrw] {
        color: var(--color-text-primary);
    }

    .iat-install:hover:not(:disabled)[b-oag2pkjxrw] {
        filter: brightness(1.08);
    }
}
/* /Components/Combat/Phone/PhoneLogPeek.razor.rz.scp.css */
/* The phone's peek row (combat log W4) in the phone HUD's 44px top strip. It takes the width the turn order leaves
   (the turn order gives way first, the row keeps at least its icon and the start of its line) and its line
   ellipsizes, so the vitals, the turn pill and the Battle menu never leave the strip. A 40px tall target (the strip's
   own buttons are 40px; the strip is 44px). Tokens only; you gold, a party alarm red; no new breakpoint. */

.phone-log-peek[b-34t549drku] {
    position: relative;
    flex: 1 1 200px;
    min-width: 96px;
    max-width: 40%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 6px 0 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.phone-log-peek:focus-visible[b-34t549drku] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.phone-log-peek.has-unread[b-34t549drku] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.pp-icon[b-34t549drku] {
    flex: 0 0 auto;
    font-size: var(--ct-xl);
    color: var(--color-text-secondary);
}

.phone-log-peek.has-unread .pp-icon[b-34t549drku] {
    color: var(--color-primary);
}

/* Two short lines in the 40px row (a raid's strip leaves the row little width), then the clamp's ellipsis. */
.pp-line[b-34t549drku] {
    flex: 1 1 auto;
    min-width: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: var(--ct-sm);
    line-height: 1.15;
    overflow-wrap: anywhere;
    color: var(--color-text-primary);
}

.phone-log-peek.is-empty .pp-line[b-34t549drku] {
    color: var(--color-text-secondary);
}

.phone-log-peek.is-about-you .pp-line[b-34t549drku] {
    color: var(--color-primary-light);
}

.phone-log-peek.is-alarm .pp-line[b-34t549drku] {
    color: var(--combat-bad-light);
}

.pp-turn[b-34t549drku] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 6px 0 4px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-hover);
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    white-space: nowrap;
}

.pp-turn-icon[b-34t549drku] {
    font-size: var(--ct-base);
}

.pp-turn.is-now[b-34t549drku] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    color: var(--color-primary);
}

.pp-badge[b-34t549drku] {
    flex: 0 0 auto;
    min-width: 1.81em;
    height: 1.81em;
    padding: 0 4px;
    border-radius: var(--radius-round);
    background: var(--combat-bad-darker); /* white on it 6.5:1 (on --combat-bad 3.8:1) */
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.81;
    text-align: center;
}

@media (forced-colors: active) {
    .phone-log-peek[b-34t549drku],
    .pp-turn[b-34t549drku] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Combat/Phone/PhonePartyPicker.razor.rz.scp.css */
/* PhonePartyPicker.razor.css : the party as tap targets in the phone dock while an ally action is aimed (phone co-op).
   One row of chips the height of the dock's lane tabs (two 34px rows), each a full touch target; it scrolls sideways
   if a party ever outgrows the row. The aimed slot's turn color (--aim-eco) marks the valid members, as on the tablet's
   party strip; HP fills use the combat HP tokens, so the colorblind palette applies. Tokens only. */

.phone-party-picker[b-rwkz2dt7yq] {
    --aim-eco: var(--color-eco-action);
    display: flex;
    align-items: stretch;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.phone-party-picker.aim-eco-bonus[b-rwkz2dt7yq] {
    --aim-eco: var(--color-eco-bonus);
}

.phone-party-picker.aim-eco-free[b-rwkz2dt7yq] {
    --aim-eco: var(--color-eco-free);
}

.phone-party-picker[b-rwkz2dt7yq]::-webkit-scrollbar {
    display: none;
}

.ppp-chip[b-rwkz2dt7yq] {
    flex: 1 1 0;
    min-width: 128px;
    max-width: 320px;
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 8px 4px 6px;
    box-sizing: border-box;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--class-accent, var(--color-primary)) 35%, transparent);
    border-left: 3px solid var(--class-accent, var(--color-primary));
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.ppp-chip:focus-visible[b-rwkz2dt7yq] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Valid: the aimed slot's color, as the board's glowing tokens. Armed: brighter, and its line says "tap again". */
.ppp-chip.aim-valid[b-rwkz2dt7yq] {
    border-color: var(--aim-eco);
    box-shadow: 0 0 0 1px var(--aim-eco), 0 0 10px color-mix(in srgb, var(--aim-eco) 35%, transparent);
}

.ppp-chip.aim-armed[b-rwkz2dt7yq] {
    background: color-mix(in srgb, var(--aim-eco) 18%, var(--color-bg-base));
    box-shadow: 0 0 0 2px var(--aim-eco), 0 0 14px color-mix(in srgb, var(--aim-eco) 55%, transparent);
}

.ppp-chip.aim-invalid[b-rwkz2dt7yq] {
    opacity: 0.55;
    cursor: default;
}

.ppp-avatar[b-rwkz2dt7yq] {
    position: relative;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--class-accent, var(--color-primary));
    background: color-mix(in srgb, var(--class-accent, var(--color-primary)) 18%, var(--color-bg-elevated));
}

.ppp-class-icon[b-rwkz2dt7yq] {
    font-size: var(--ct-xl);
    color: var(--class-accent, var(--color-primary));
}

.ppp-portrait[b-rwkz2dt7yq] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ppp-chip.is-downed .ppp-avatar[b-rwkz2dt7yq] {
    border-color: var(--color-danger);
    filter: grayscale(0.6);
}

/* Call for a Potion (16 Nov 2026): the Down ally's potion mark on their avatar, in the warning amber; the chip's border
   has its colour too. No motion here, so nothing changes under reduced motion. */
.ppp-potion-call[b-rwkz2dt7yq] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: var(--ct-sm);
    font-weight: 700;
    color: var(--color-warning-bright);
}

.ppp-potion-call .material-icons[b-rwkz2dt7yq] {
    font-size: var(--ct-sm);
}

.ppp-chip.is-calling[b-rwkz2dt7yq] {
    border-color: var(--color-warning-bright);
}

.ppp-body[b-rwkz2dt7yq] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.ppp-name[b-rwkz2dt7yq] {
    overflow: hidden;
    /* The colour is the class-text utility's (components-combat.css): this chip's class-accent sets --class-color. */
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ppp-hp[b-rwkz2dt7yq] {
    --ppp-fill: var(--combat-hp-high);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ppp-hp.low[b-rwkz2dt7yq] {
    --ppp-fill: var(--combat-hp-mid);
}

.ppp-hp.critical[b-rwkz2dt7yq] {
    --ppp-fill: var(--combat-hp-low);
}

.ppp-bar[b-rwkz2dt7yq] {
    flex: 1 1 auto;
    height: 6px;
    min-width: 32px;
    border-radius: var(--radius-round);
    overflow: hidden;
    background: color-mix(in srgb, var(--color-bg-base) 70%, var(--color-border));
}

.ppp-fill[b-rwkz2dt7yq] {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--ppp-fill);
    transition: width var(--transition-fast);
}

.ppp-hp-text[b-rwkz2dt7yq] {
    flex: 0 0 auto;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
}

.ppp-line[b-rwkz2dt7yq] {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    line-height: 1.15;
}

.ppp-line .material-icons[b-rwkz2dt7yq] {
    flex: 0 0 auto;
    font-size: var(--ct-base);
}

.ppp-line-text[b-rwkz2dt7yq] {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ppp-chip.aim-valid .ppp-line[b-rwkz2dt7yq] {
    color: var(--aim-eco);
}

.ppp-chip.aim-armed .ppp-line[b-rwkz2dt7yq] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

@media (prefers-reduced-motion: reduce) {
    .ppp-fill[b-rwkz2dt7yq] {
        transition: none;
    }
}
/* /Components/Combat/Phone/PhoneTargetBar.razor.rz.scp.css */
/* PhoneTargetBar.razor.css : the selected enemy as one line over the board's top edge (phone combat). The HP fill uses
   the combat semantic tokens, so the colorblind palette applies; the odds keep the preview card's hit colors. */

.phone-target-bar[b-ctqrfvymls] {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    height: 44px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 2px 0 4px;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-danger) 55%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 92%, transparent);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
    white-space: nowrap;
}

.ptb-portrait[b-ctqrfvymls] {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-danger);
    background: var(--color-bg-elevated);
}

.ptb-portrait img[b-ctqrfvymls] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ptb-name[b-ctqrfvymls] {
    flex: 0 1 auto;
    min-width: 48px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-sm);
}

.ptb-hp[b-ctqrfvymls] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    --ptb-hp: var(--combat-hp-high);
}

.ptb-hp.hp-mid[b-ctqrfvymls] { --ptb-hp: var(--combat-hp-mid); }
.ptb-hp.hp-low[b-ctqrfvymls] { --ptb-hp: var(--combat-hp-low); }

.ptb-bar[b-ctqrfvymls] {
    width: 44px;
    height: 6px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-primary) 12%, transparent);
    overflow: hidden;
}

.ptb-fill[b-ctqrfvymls] {
    display: block;
    height: 100%;
    background: var(--ptb-hp);
}

.ptb-hp-text[b-ctqrfvymls],
.ptb-ac[b-ctqrfvymls] {
    font-variant-numeric: tabular-nums;
    color: var(--color-text-light);
}

/* What can give way on a narrow phone does (odds, damage), with an ellipsis; the name keeps a little room and the
   buttons never shrink, so the info and close buttons stay on the bar. */
.ptb-odds[b-ctqrfvymls],
.ptb-damage[b-ctqrfvymls] {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ptb-lethal[b-ctqrfvymls] {
    flex: 0 0 auto;
}

.ptb-odds[b-ctqrfvymls] {
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-sm);
    color: var(--color-text-lightest);
}

.ptb-odds.hit-high[b-ctqrfvymls] { color: var(--combat-hp-high); }
.ptb-odds.hit-mid[b-ctqrfvymls]  { color: var(--color-warning-bright); }
.ptb-odds.hit-low[b-ctqrfvymls]  { color: var(--color-danger-light); }
.ptb-odds.is-refusal[b-ctqrfvymls] { color: var(--color-text-secondary); font-weight: var(--font-weight-semibold); }

.ptb-damage[b-ctqrfvymls] {
    color: var(--color-text-lighter);
}

.ptb-lethal[b-ctqrfvymls] {
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--color-danger);
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ptb-btn[b-ctqrfvymls] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.ptb-btn .material-icons[b-ctqrfvymls] {
    font-size: var(--ct-2xl);
}

.ptb-btn:focus-visible[b-ctqrfvymls] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}
/* /Components/Combat/Phone/PhoneVitalsChip.razor.rz.scp.css */
/* PhoneVitalsChip.razor.css : your vitals as one line in the phone's top strip (phone combat). The fills use the same
   semantic tokens as the vitals card (CombatVitals.razor.css), so the colorblind palette applies here too. The chip is a
   44px touch target; the full card opens beneath it. */

.phone-vitals[b-65ou4z025b] {
    --pv-hp: var(--combat-hp-high);
    --pv-hp-low: var(--combat-hp-mid);
    --pv-hp-critical: var(--combat-hp-low);
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
}

.pv-chip[b-65ou4z025b] {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    min-height: 40px;
    padding: 0 8px 0 3px;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-info) 55%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 88%, transparent);
    color: var(--color-text-lighter);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.pv-chip:focus-visible[b-65ou4z025b] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.phone-vitals.is-open .pv-chip[b-65ou4z025b] {
    border-color: var(--color-primary);
}

.pv-portrait[b-65ou4z025b] {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-info);
    background: var(--color-bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pv-portrait img[b-65ou4z025b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pv-initial[b-65ou4z025b] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-sm);
}

.pv-bars[b-65ou4z025b] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    width: 104px;
}

.pv-hp-row[b-65ou4z025b],
.pv-res-row[b-65ou4z025b] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pv-bar[b-65ou4z025b] {
    flex: 1 1 auto;
    height: 7px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-text-primary) 12%, transparent);
    overflow: hidden;
}

.pv-bar--thin[b-65ou4z025b] {
    height: 4px;
}

.pv-hp-fill[b-65ou4z025b],
.pv-res-fill[b-65ou4z025b] {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

.pv-hp-fill[b-65ou4z025b] { background: var(--pv-hp); }
.pv-chip.low .pv-hp-fill[b-65ou4z025b] { background: var(--pv-hp-low); }
.pv-chip.critical .pv-hp-fill[b-65ou4z025b] { background: var(--pv-hp-critical); }

.pv-res-fill[b-65ou4z025b] { background: var(--color-mana); }
.pv-res-fill.kind-ki[b-65ou4z025b] { background: var(--color-ki); }
.pv-res-fill.kind-swagger[b-65ou4z025b] { background: var(--color-swagger); }

.pv-hp-text[b-65ou4z025b],
.pv-res-text[b-65ou4z025b] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.pv-res-text[b-65ou4z025b] {
    color: var(--color-text-secondary);
}

.pv-ac[b-65ou4z025b] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 28px;
    color: var(--color-info-light);
}

.pv-ac .material-icons[b-65ou4z025b] {
    font-size: var(--ct-4xl);
    opacity: 0.45;
}

.pv-ac-value[b-65ou4z025b] {
    position: absolute;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.pv-status-count[b-65ou4z025b] {
    min-width: 1.73em;
    height: 1.73em;
    padding: 0 4px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-active);
    background: var(--color-bg-elevated);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.54;
    text-align: center;
}

/* The full vitals card, under the strip, over a transparent backdrop that closes it on a tap outside. */
.pv-backdrop[b-65ou4z025b] {
    position: fixed;
    inset: 0;
    z-index: 59;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: default;
}

.pv-panel[b-65ou4z025b] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 60;
    width: min(340px, calc(100vw - 24px));
    padding: 8px 44px 8px 8px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-active);
    background: color-mix(in srgb, var(--color-bg-base) 96%, transparent);
    box-shadow: var(--shadow-lg);
}

.pv-close[b-65ou4z025b] {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
}

.pv-close .material-icons[b-65ou4z025b] {
    font-size: var(--ct-2xl);
}

/* Under an ally aim: your own target (a heal or buff on yourself), as the tablet's vitals tile. */
.phone-vitals.aim-mode[b-65ou4z025b] { --aim-eco: var(--color-eco-action); }
.phone-vitals.aim-mode.aim-eco-bonus[b-65ou4z025b] { --aim-eco: var(--color-eco-bonus); }
.phone-vitals.aim-mode.aim-eco-free[b-65ou4z025b] { --aim-eco: var(--color-eco-free); }

.phone-vitals.aim-valid .pv-chip[b-65ou4z025b] {
    outline: 2px solid var(--aim-eco);
    outline-offset: 1px;
}

.phone-vitals.aim-armed .pv-chip[b-65ou4z025b] {
    outline-width: 3px;
}

.phone-vitals.aim-invalid .pv-chip[b-65ou4z025b] {
    opacity: 0.6;
}

.pv-aim-label[b-65ou4z025b] {
    display: inline-flex;
    color: var(--aim-eco);
}

.pv-aim-label .material-icons[b-65ou4z025b] {
    font-size: var(--ct-xl);
}

@media (prefers-reduced-motion: reduce) {
    .pv-hp-fill[b-65ou4z025b],
    .pv-res-fill[b-65ou4z025b] {
        transition: none;
    }
}
/* /Components/Combat/Preview/CombatPreviewCard.razor.rz.scp.css */
/* Combat HUD rethink WP9c: the preview card. Tokens only (design-system.css). Two surfaces:
   - surface-aim: wrapping lines under the aim banner's title (the banner owns the frame and the --aim-eco accent;
     the card inherits its font size, the banner's --ct-sm).
   - surface-selection: one wrapping row inside the dock's targeting strip (the strip owns the frame).
   Combat text size (WP12g): every size is a --ct-* token, so the card scales in every host; the Selection surface sets
   its own base (the dock strip's 12px, the tablet target panel's 16px at Medium) instead of inheriting an unscaled
   one. Rows wrap; nothing scrolls sideways. */

.preview-card[b-44d6vpoh8t] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    color: var(--color-text-primary);
}

/* In the aim banner the groups (hit points and AC, the odds, damage type and resistance) share lines as they fit and
   the strike list takes a line of its own (WP12g): stacked one per line, the banner grew taller than the board could
   spare once the text was larger. */
.preview-card.surface-aim[b-44d6vpoh8t] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: 1px;
}

.preview-card.surface-aim .pc-strike[b-44d6vpoh8t] {
    flex-basis: 100%;
}

.preview-card.surface-selection[b-44d6vpoh8t] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: 2px;
    flex: 1 1 auto;
    font-size: var(--ct-sm);
}

.preview-card.surface-selection.compact[b-44d6vpoh8t] {
    font-size: var(--ct-lg);
}

.pc-identity[b-44d6vpoh8t],
.pc-odds[b-44d6vpoh8t],
.pc-type[b-44d6vpoh8t],
.pc-strike[b-44d6vpoh8t] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
    row-gap: 2px;
    min-width: 0;
}

/* --- Identity: name (targeting strip only), hit points, armor class --- */
.pc-label[b-44d6vpoh8t] {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.pc-name[b-44d6vpoh8t] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 16em;
}

.pc-hp[b-44d6vpoh8t] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pc-hp-track[b-44d6vpoh8t] {
    display: inline-block;
    width: 72px;
    height: 6px;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 20%, transparent);
    overflow: hidden;
}

.pc-hp-fill[b-44d6vpoh8t] {
    display: block;
    height: 100%;
    transition: width var(--transition-fast, 0.15s) ease;
}

.pc-hp-fill.hp-high[b-44d6vpoh8t] { background: var(--combat-hp-high); }
.pc-hp-fill.hp-mid[b-44d6vpoh8t]  { background: var(--combat-hp-mid); }
.pc-hp-fill.hp-low[b-44d6vpoh8t]  { background: var(--combat-hp-low); }

.pc-hp-text[b-44d6vpoh8t],
.pc-ac[b-44d6vpoh8t] {
    font-size: var(--ct-sm);
    color: var(--color-text-light);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pc-ac[b-44d6vpoh8t] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.pc-ac .material-icons[b-44d6vpoh8t],
.pc-lethal .material-icons[b-44d6vpoh8t],
.pc-strike .material-icons[b-44d6vpoh8t] {
    font-size: var(--ct-md);
}

/* --- Odds: the engine's numbers --- */
.pc-headline[b-44d6vpoh8t] {
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.pc-headline.hit-high[b-44d6vpoh8t] { color: var(--combat-good-light); }
.pc-headline.hit-mid[b-44d6vpoh8t]  { color: var(--color-warning-light); }
.pc-headline.hit-low[b-44d6vpoh8t]  { color: var(--combat-bad-light); }

.pc-headline.pc-refusal[b-44d6vpoh8t] {
    color: var(--color-text-secondary);
    font-style: italic;
    font-weight: var(--font-weight-normal);
    white-space: normal;
}

.pc-damage[b-44d6vpoh8t] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pc-lethal[b-44d6vpoh8t] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--combat-bad-lighter);
    background: color-mix(in srgb, var(--combat-bad) 22%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--combat-bad) 55%, transparent);
}

/* --- Damage type (the engine's) and the target's resistance --- */
.pc-type[b-44d6vpoh8t] {
    font-size: var(--ct-sm);
}

/* The .damage-type-* palette (design-system.css) sets the text color; the scoped rule only adds layout. */
.pc-type-name[b-44d6vpoh8t] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

[b-44d6vpoh8t] .pc-type-icon {
    font-size: var(--ct-md) !important;
    width: 1em;
    height: 1em;
}

/* An elemental weapon's rider element, after the weapon's physical type (its hint is the rider's alone). */
.pc-rider[b-44d6vpoh8t] {
    margin-left: 2px;
}

.pc-resist[b-44d6vpoh8t] {
    padding: 0 6px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    color: var(--color-text-light);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
}

.pc-resist.tone-vulnerable[b-44d6vpoh8t],
.pc-resist.tone-weak[b-44d6vpoh8t] {
    color: var(--combat-good-lighter);
    background: color-mix(in srgb, var(--combat-good) 18%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--combat-good) 50%, transparent);
}

.pc-resist.tone-resists[b-44d6vpoh8t] {
    color: var(--color-warning-light);
    background: color-mix(in srgb, var(--color-warning) 16%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-warning) 45%, transparent);
}

.pc-resist.tone-immune[b-44d6vpoh8t] {
    color: var(--combat-bad-lighter);
    background: color-mix(in srgb, var(--combat-bad) 18%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--combat-bad) 50%, transparent);
}

/* --- The target's conditions (WP12e, targeting strip only): the board rails' order, kind colors and shapes (harmful
   square, beneficial round), each with its remaining rounds; one in its last round has a dashed rim. The group takes
   the row's leftover width and never pushes the strip onto another line for its names: they ellipsize first, down
   to the icon and the rounds (its minimum width is about that per chip). --- */
.pc-conditions[b-44d6vpoh8t] {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    flex: 1 1 0;
    min-width: calc(var(--pc-conditions, 1) * 2.1rem);
    /* The chips are 14px; the row they share (the damage type) is 11px: the negative margin keeps the strip's height. */
    margin-block: -2px;
    overflow: hidden;
    font-size: var(--ct-sm);
}

.pc-condition[b-44d6vpoh8t] {
    --pc-kind: var(--color-status-debuff);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 1 auto;
    min-width: 0;
    box-sizing: border-box;
    height: 14px;
    padding: 0 5px 0 3px;
    border: 1px solid color-mix(in srgb, var(--pc-kind) 60%, transparent);
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--pc-kind) 12%, transparent);
    color: var(--pc-kind);
    line-height: 12px;
    white-space: nowrap;
}

.pc-condition.is-beneficial[b-44d6vpoh8t] {
    border-radius: 999px;
}

.pc-condition.status-pip-cc[b-44d6vpoh8t]     { --pc-kind: var(--color-status-control); }
.pc-condition.status-pip-dot[b-44d6vpoh8t]    { --pc-kind: var(--color-status-dot); }
.pc-condition.status-pip-debuff[b-44d6vpoh8t] { --pc-kind: var(--color-status-debuff); }
.pc-condition.status-pip-buff[b-44d6vpoh8t]   { --pc-kind: var(--color-status-buff); }

.pc-condition.is-last-round[b-44d6vpoh8t] {
    border-style: dashed;
}

.pc-condition .material-icons[b-44d6vpoh8t] {
    flex-shrink: 0;
    font-size: var(--ct-sm);
}

.pc-condition-name[b-44d6vpoh8t] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-light);
}

.pc-condition-rounds[b-44d6vpoh8t] {
    flex-shrink: 0;
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
    color: var(--color-text-primary);
}

.pc-condition-more[b-44d6vpoh8t] {
    --pc-kind: var(--color-text-secondary);
    flex-shrink: 0;
    padding: 0 5px;
    color: var(--color-text-light);
}

/* --- Who else it strikes: the 7A footprint color, like the board's struck hexes --- */
.pc-strike[b-44d6vpoh8t] {
    color: var(--color-aoe-footprint);
    flex-wrap: nowrap;
    align-items: flex-start;
}

.pc-strike .material-icons[b-44d6vpoh8t] {
    margin-top: 1px;
}

/* --- Touch variant ---
   Only the rows tighten: a gap shorthand here also zeroed the row surfaces' column-gap, so on the touch strips the
   groups ran together ("AC 1175% hit"). */
.preview-card.compact[b-44d6vpoh8t] {
    row-gap: 1px;
}

.preview-card.compact .pc-hp-track[b-44d6vpoh8t] {
    width: 56px;
}

/* Narrower docks get a shorter HP bar; on a phone-width strip the bar goes and the numbers stay. */
@media (max-width: 1280px) {
    .preview-card.surface-selection .pc-hp-track[b-44d6vpoh8t] {
        width: 56px;
    }
}

@media (max-width: 480px) {
    .preview-card.compact .pc-hp-track[b-44d6vpoh8t] {
        display: none;
    }
}
/* /Components/Combat/Report/BattleReportLogView.razor.rz.scp.css */
/* The battle report's Full log tab: the filters and Copy over today's rows (CombatLogEntry keeps its own look). */

.brl[b-ar1dorjwl5] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    flex: 1 1 auto;
    min-height: 0;
}

.brl-tools[b-ar1dorjwl5] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.brl-select[b-ar1dorjwl5],
.brl-toggle[b-ar1dorjwl5],
.brl-copy[b-ar1dorjwl5] {
    min-height: 36px;
    padding: 0 var(--space-md);
    border-radius: 999px;
    border: 1px solid var(--color-border-subtle);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    cursor: pointer;
}

.brl-select[b-ar1dorjwl5] {
    color: var(--color-text-primary);
}

    .brl-select option[b-ar1dorjwl5] {
        background: var(--color-bg-base);
        color: var(--color-text-primary);
    }

.brl-toggle:hover[b-ar1dorjwl5],
.brl-copy:hover[b-ar1dorjwl5] {
    color: var(--color-text-primary);
    border-color: var(--color-text-secondary);
}

.brl-toggle.is-on[b-ar1dorjwl5] {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.brl-copy[b-ar1dorjwl5] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    color: var(--color-primary);
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.brl-select:focus-visible[b-ar1dorjwl5],
.brl-toggle:focus-visible[b-ar1dorjwl5],
.brl-copy:focus-visible[b-ar1dorjwl5] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.brl-rows[b-ar1dorjwl5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brl-round[b-ar1dorjwl5] {
    margin-top: var(--space-sm);
    padding: 4px 0;
    border-bottom: 1px solid var(--color-border-subtle);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brl-empty[b-ar1dorjwl5] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

@media (max-width: 480px) {
    .brl-copy[b-ar1dorjwl5] {
        margin-left: 0;
    }
}

@media (pointer: coarse) {
    .brl-select[b-ar1dorjwl5],
    .brl-toggle[b-ar1dorjwl5],
    .brl-copy[b-ar1dorjwl5] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .brl-toggle.is-on[b-ar1dorjwl5] {
        border-color: Highlight;
    }
}
/* /Components/Combat/Report/BattleReportSheet.razor.rz.scp.css */
/* The battle report sheet (combat log redesign section 5): slides in from the right over the victory screen (z 9998)
   or the defeat takeover, under the Try-Your-New-Gear modal (10000). Full width on a phone. Tokens only.
   The sheet's surface is fully OPAQUE (the dimming belongs to .br-scrim beside it): --color-bg-elevated is 95% alpha, so
   the end screen's text showed faintly through the header and the tabs. Opaque tokens only (--color-gray-800 is the
   same slate at 100%, --color-bg-base is solid); CombatLogQaFixTests.ReportSheet_Surface_UsesOnlyFullyOpaqueTokens reads the tokens' values. */

.br-layer[b-nwb2x4kuer] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
}

.br-scrim[b-nwb2x4kuer] {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-bg-base) 62%, transparent);
    animation: br-fade-in-b-nwb2x4kuer 200ms ease-out both;
}

.br-sheet[b-nwb2x4kuer] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(600px, 100%);
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding: var(--space-lg) var(--space-xl) 0;
    background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    border-left: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    box-shadow: var(--shadow-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    animation: br-slide-in-b-nwb2x4kuer 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

    .br-sheet:focus[b-nwb2x4kuer] {
        outline: none;
    }

.br-head[b-nwb2x4kuer] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
}

.br-head-text[b-nwb2x4kuer] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.br-eyebrow[b-nwb2x4kuer] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.br-title[b-nwb2x4kuer] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    letter-spacing: 0.06em;
}

.br-close[b-nwb2x4kuer] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid var(--color-border-subtle);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

    .br-close:hover[b-nwb2x4kuer] {
        color: var(--color-text-primary);
        border-color: var(--color-text-secondary);
    }

    .br-close:focus-visible[b-nwb2x4kuer],
    .br-tab:focus-visible[b-nwb2x4kuer] {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

    /* The tab row scrolls sideways on a narrow screen, and a scroll container clips what is drawn outside it: the tab's
       ring is drawn inside the button, so it is whole on every side. */
    .br-tab:focus-visible[b-nwb2x4kuer] {
        outline-offset: -2px;
    }

.br-tabs[b-nwb2x4kuer] {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    border-bottom: 1px solid var(--color-border-subtle);
    overflow-x: auto;
    scrollbar-width: none;
    /* A scroll container's automatic minimum height is 0: without this the tabs collapsed on a short phone screen. */
    flex-shrink: 0;
}

.br-head[b-nwb2x4kuer],
.br-foot[b-nwb2x4kuer] {
    flex-shrink: 0;
}

.br-tab[b-nwb2x4kuer] {
    min-height: 40px;
    padding: 0 var(--space-lg);
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    letter-spacing: 0.06em;
    cursor: pointer;
}

    .br-tab:hover[b-nwb2x4kuer] {
        color: var(--color-text-primary);
    }

    .br-tab.is-selected[b-nwb2x4kuer] {
        color: var(--color-primary);
        border-bottom-color: var(--color-primary);
    }

.br-tab[b-nwb2x4kuer] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* The Designer tab's count of flags: a slate pill (staff tooling is never gold). */
.br-tab-count[b-nwb2x4kuer] {
    min-width: 1.6em;
    padding: 0 5px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    text-align: center;
}

/* A phone held sideways (W4, solo 7 Study): the report fills the screen, a slimmer head, and Copy log / Done pinned to
   the foot so the way back is always one tap away. The page passes IsPhone; no new breakpoint. */
.br-layer.is-phone .br-sheet[b-nwb2x4kuer] {
    width: 100%;
    border-left: none;
    padding: var(--space-sm) var(--space-lg) 0;
    padding-left: max(var(--space-lg), env(safe-area-inset-left, 0px));
    padding-right: max(var(--space-lg), env(safe-area-inset-right, 0px));
}

.br-layer.is-phone .br-title[b-nwb2x4kuer] {
    font-size: var(--ct-lg);
}

.br-layer.is-phone .br-tabs[b-nwb2x4kuer] {
    margin-top: var(--space-xs);
}

.br-layer.is-phone .br-body[b-nwb2x4kuer] {
    padding: var(--space-md) 0;
}

.br-foot[b-nwb2x4kuer] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-sm) 0 max(var(--space-sm), env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-border-subtle);
    background: var(--color-bg-base);
}

.br-foot-btn[b-nwb2x4kuer] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    cursor: pointer;
    touch-action: manipulation;
}

    .br-foot-btn.is-primary[b-nwb2x4kuer] {
        border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
        color: var(--color-primary);
    }

    .br-foot-btn:focus-visible[b-nwb2x4kuer] {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

.br-body[b-nwb2x4kuer] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg) 0 var(--space-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
}

@keyframes br-slide-in-b-nwb2x4kuer {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes br-fade-in-b-nwb2x4kuer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .br-sheet[b-nwb2x4kuer] {
        width: 100%;
        border-left: none;
        padding: var(--space-md) var(--space-lg) 0;
    }
}

@media (pointer: coarse) {
    .br-close[b-nwb2x4kuer] {
        width: 44px;
        height: 44px;
    }

    .br-tab[b-nwb2x4kuer] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .br-sheet[b-nwb2x4kuer],
    .br-scrim[b-nwb2x4kuer] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .br-sheet[b-nwb2x4kuer] {
        border-left: 1px solid CanvasText;
        background: Canvas;
    }

    .br-tab.is-selected[b-nwb2x4kuer] {
        border-bottom-color: Highlight;
    }

    .br-foot-btn[b-nwb2x4kuer],
    .br-tab-count[b-nwb2x4kuer] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Combat/Report/BattleReportSummaryView.razor.rz.scp.css */
/* The battle report's Summary tab (wave 1, solo 3). Every colour is a token (the red-green palette redefines the combat
   ones); HP bars are on a fixed max-HP scale with the figures beside them, so colour never says it alone; a hit die is
   filled and a miss is dashed; a fallen enemy is the Material "dangerous" icon, never a glyph. */

.brs[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.brs-tiles[b-uojjx1gcbh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.brs-tile[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

.brs-tile-value[b-uojjx1gcbh] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.brs-tile-label[b-uojjx1gcbh] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}

.brs-section[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.brs-heading[b-uojjx1gcbh] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brs-empty[b-uojjx1gcbh],
.brs-dice-sentence[b-uojjx1gcbh] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.brs-how[b-uojjx1gcbh],
.brs-causes[b-uojjx1gcbh],
.brs-dice[b-uojjx1gcbh],
.brs-fallen[b-uojjx1gcbh] {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* What dropped you (a defeat only): each source, its total on the right, one sentence under it. */
.brs-cause[b-uojjx1gcbh] {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--combat-bad) 35%, transparent);
    background: color-mix(in srgb, var(--combat-bad) 10%, transparent);
}

.brs-causes[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.brs-cause-row[b-uojjx1gcbh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-sm);
    row-gap: 2px;
    align-items: baseline;
    font-size: var(--ct-sm);
}

.brs-cause-source[b-uojjx1gcbh] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    overflow-wrap: anywhere;
}

.brs-cause-total[b-uojjx1gcbh] {
    color: var(--combat-bad-light);
    font-size: var(--ct-xl);
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
}

.brs-cause-detail[b-uojjx1gcbh] {
    grid-column: 1 / -1;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.brs-cause-final[b-uojjx1gcbh] {
    display: inline-block;
    margin-right: 6px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--combat-bad);
    color: var(--combat-bad-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* How it went: the round, its line, and both sides' HP at its end on a fixed max-HP scale (plain markup, no chart). */
.brs-how[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brs-how-head[b-uojjx1gcbh],
.brs-how-row[b-uojjx1gcbh] {
    display: grid;
    grid-template-columns: 3.4em minmax(0, 1fr) minmax(4.5em, 7em) minmax(4.5em, 7em);
    column-gap: var(--space-sm);
    align-items: center;
}

.brs-how-head[b-uojjx1gcbh] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* A long monster name ("Corrupted Scout") wraps to a second line instead of ending in "Corrupte..." over a 7em column. */
.brs-how-col[b-uojjx1gcbh] {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.brs-how-head[b-uojjx1gcbh] {
    align-items: end;
}

.brs-how-col--you[b-uojjx1gcbh] {
    grid-column: 3;
}

.brs-how-col--foe[b-uojjx1gcbh] {
    grid-column: 4;
}

.brs-how-row[b-uojjx1gcbh] {
    font-size: var(--ct-sm);
}

.brs-how-round[b-uojjx1gcbh] {
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.brs-how-story[b-uojjx1gcbh] {
    min-width: 0;
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

    .brs-how-story.is-fall[b-uojjx1gcbh] {
        color: var(--combat-bad-light);
    }

.brs-how-row.is-quiet .brs-how-story[b-uojjx1gcbh] {
    color: var(--color-text-secondary);
}

.brs-hp[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brs-hp-track[b-uojjx1gcbh] {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    overflow: hidden;
}

.brs-hp-fill[b-uojjx1gcbh] {
    display: block;
    height: 100%;
    border-radius: 3px;
}

.brs-hp--you .brs-hp-fill[b-uojjx1gcbh] {
    background: var(--combat-hp-high);
}

.brs-hp--you.is-low .brs-hp-fill[b-uojjx1gcbh] {
    background: var(--combat-hp-low);
}

.brs-hp--foe .brs-hp-fill[b-uojjx1gcbh] {
    background: var(--combat-enemy);
}

.brs-hp-text[b-uojjx1gcbh] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Your dice: a hit is filled, a miss dashed; the sentence under them says what was needed. */
.brs-dice[b-uojjx1gcbh] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.brs-die[b-uojjx1gcbh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2em;
    height: 2em;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-subtle);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
}

    .brs-die.is-hit[b-uojjx1gcbh] {
        color: var(--color-text-primary);
        border-color: var(--color-text-secondary);
        background: color-mix(in srgb, var(--color-text-primary) 12%, transparent);
        font-weight: var(--font-weight-semibold);
    }

    .brs-die.is-miss[b-uojjx1gcbh] {
        color: var(--color-text-secondary);
        border-style: dashed;
        background: transparent;
    }

    .brs-die.is-nat20[b-uojjx1gcbh] {
        color: var(--combat-crit);
        border-color: var(--combat-crit);
        font-weight: var(--font-weight-bold);
    }

    .brs-die.is-nat1[b-uojjx1gcbh] {
        color: var(--combat-bad-light);
        border-color: var(--combat-bad);
        font-weight: var(--font-weight-bold);
    }

.brs-fallen[b-uojjx1gcbh] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brs-fallen-row[b-uojjx1gcbh] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--ct-sm);
}

    .brs-fallen-row.is-enemy[b-uojjx1gcbh]  .mud-icon-root {
        color: var(--combat-bad-light);
    }

    .brs-fallen-row.is-hero[b-uojjx1gcbh]  .mud-icon-root {
        color: var(--combat-bad);
    }

.brs-fallen-name[b-uojjx1gcbh] {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.brs-fallen-round[b-uojjx1gcbh] {
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .brs-tiles[b-uojjx1gcbh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* The line takes its own row; both bars sit under it. */
    .brs-how-head[b-uojjx1gcbh],
    .brs-how-row[b-uojjx1gcbh] {
        grid-template-columns: 3.4em minmax(0, 1fr) minmax(0, 1fr);
        row-gap: 4px;
    }

    .brs-how-story[b-uojjx1gcbh] {
        grid-column: 2 / -1;
    }

    .brs-how-col--you[b-uojjx1gcbh],
    .brs-hp--you[b-uojjx1gcbh] {
        grid-column: 2;
    }

    .brs-how-col--foe[b-uojjx1gcbh],
    .brs-hp--foe[b-uojjx1gcbh] {
        grid-column: 3;
    }
}

@media (forced-colors: active) {
    .brs-hp-fill[b-uojjx1gcbh] {
        background: CanvasText;
    }

    .brs-die.is-hit[b-uojjx1gcbh] {
        border-width: 2px;
    }
}
/* /Components/Combat/Report/DesignerFlagsView.razor.rz.scp.css */
/* The battle report's Designer tab: a slate staff look (never gold, which means play), a question icon per flag (a
   question, not a warning), the evidence as quiet lines. Tokens and combat text size tokens only. */

.brd[b-b9wlivp7f2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.brd-intro[b-b9wlivp7f2],
.brd-empty[b-b9wlivp7f2] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.brd-flags[b-b9wlivp7f2],
.brd-evidence[b-b9wlivp7f2] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.brd-flags[b-b9wlivp7f2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.brd-flag[b-b9wlivp7f2] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    background: color-mix(in srgb, var(--color-text-secondary) 8%, transparent);
}

.brd-flag-icon[b-b9wlivp7f2] {
    color: var(--color-info-light);
    font-size: var(--ct-xl);
}

.brd-flag-body[b-b9wlivp7f2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brd-flag-title[b-b9wlivp7f2] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    letter-spacing: 0.06em;
}

.brd-flag-question[b-b9wlivp7f2] {
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
}

.brd-evidence[b-b9wlivp7f2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    overflow-wrap: anywhere;
}
/* /Components/Combat/Report/PartyReportView.razor.rz.scp.css */
/* The battle report's Party tab (combat log W4, M7). Every colour is a token (the red-green palette redefines the combat
   ones): you gold, allies the primary text colour, enemies red, never a colour per player. HP bars are on each hero's own
   max HP with the figures beside them; a fall is the Material heart_broken mark, a shape as well as a colour. Fonts are
   the combat text size tokens. Canonical breakpoints only (480). */

.brp[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.brp-tiles[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.brp-tile[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

.brp-tile-value[b-2sr5lndqqu] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.brp-tile-label[b-2sr5lndqqu] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
}

.brp-section[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.brp-heading[b-2sr5lndqqu] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brp-empty[b-2sr5lndqqu],
.brp-turning[b-2sr5lndqqu] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.brp-turning[b-2sr5lndqqu] {
    color: var(--color-text-primary);
    font-style: italic;
}

.brp-heroes[b-2sr5lndqqu],
.brp-help[b-2sr5lndqqu],
.brp-how[b-2sr5lndqqu],
.brp-fall-list[b-2sr5lndqqu],
.brp-kind-list[b-2sr5lndqqu] {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---- How the party fell / Who went down ---- */

.brp-falls-section.is-wipe[b-2sr5lndqqu] {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--combat-bad) 35%, transparent);
    background: color-mix(in srgb, var(--combat-bad) 10%, transparent);
}

.brp-fall-list[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brp-fall[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: var(--space-sm);
    align-items: baseline;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
}

.brp-fall.is-me .brp-fall-text[b-2sr5lndqqu] {
    color: var(--color-primary-light);
}

.brp-fall-icon[b-2sr5lndqqu] {
    font-size: var(--ct-md);
    align-self: center;
}

.brp-fall.is-down .brp-fall-icon[b-2sr5lndqqu],
.brp-fall.is-died .brp-fall-icon[b-2sr5lndqqu] {
    color: var(--combat-bad-light);
}

.brp-fall.is-up .brp-fall-icon[b-2sr5lndqqu] {
    color: var(--combat-heal);
}

.brp-fall-text[b-2sr5lndqqu] {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* ---- Where the damage came from (a wipe): by enemy kind, largest first ---- */

.brp-kind-list[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brp-kind[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--space-sm);
    row-gap: 2px;
    align-items: baseline;
    font-size: var(--ct-sm);
}

.brp-kind-name[b-2sr5lndqqu] {
    color: var(--combat-enemy-lighter);
    font-weight: var(--font-weight-semibold);
    overflow-wrap: anywhere;
}

.brp-kind-total[b-2sr5lndqqu] {
    color: var(--combat-bad-light);
    font-size: var(--ct-lg);
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
}

.brp-kind-detail[b-2sr5lndqqu] {
    grid-column: 1 / -1;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* ---- The party: one row per hero, in initiative order ---- */

.brp-heroes[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.brp-hero[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(5em, 1fr) auto;
    grid-template-areas:
        "name hp falls"
        "moment moment moment";
    column-gap: var(--space-sm);
    row-gap: 2px;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: color-mix(in srgb, var(--color-bg-base) 50%, transparent);
    font-size: var(--ct-sm);
}

.brp-hero.is-me[b-2sr5lndqqu] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.brp-hero-name[b-2sr5lndqqu] {
    grid-area: name;
    min-width: 0;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    overflow-wrap: anywhere;
}

.brp-hero.is-me .brp-hero-name[b-2sr5lndqqu] {
    color: var(--color-primary-light);
}

.brp-you[b-2sr5lndqqu] {
    margin-left: 6px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-primary);
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brp-hero-hp[b-2sr5lndqqu] {
    grid-area: hp;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brp-falls[b-2sr5lndqqu] {
    grid-area: falls;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--combat-bad-light);
}

.brp-fall-mark[b-2sr5lndqqu] {
    font-size: var(--ct-md);
}

.brp-fall-more[b-2sr5lndqqu] {
    font-size: var(--ct-sm);
}

.brp-hero-moment[b-2sr5lndqqu] {
    grid-area: moment;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
}

.brp-hero-moment.is-state[b-2sr5lndqqu] {
    color: var(--color-text-secondary);
}

/* ---- Bars (hero rows, How it went) ---- */

.brp-track[b-2sr5lndqqu] {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    overflow: hidden;
}

.brp-fill[b-2sr5lndqqu] {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--combat-hp-high);
}

.is-low > .brp-track .brp-fill[b-2sr5lndqqu] {
    background: var(--combat-hp-low);
}

.brp-bar.is-foe .brp-fill[b-2sr5lndqqu] {
    background: var(--combat-enemy);
}

.brp-hp-text[b-2sr5lndqqu] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---- Help given ---- */

.brp-help[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
}

/* ---- How it went: the round's line, then every hero's slim bar, the boss and the adds ---- */

.brp-how[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.brp-round[b-2sr5lndqqu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: var(--ct-sm);
}

.brp-round-head[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: 3.4em minmax(0, 1fr);
    column-gap: var(--space-sm);
    align-items: baseline;
}

.brp-round-label[b-2sr5lndqqu] {
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.brp-round-text[b-2sr5lndqqu] {
    min-width: 0;
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.brp-round-text.is-fall[b-2sr5lndqqu] {
    color: var(--combat-bad-light);
}

.brp-round.is-quiet .brp-round-text[b-2sr5lndqqu] {
    color: var(--color-text-secondary);
}

.brp-bars[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8em, 1fr));
    gap: 4px var(--space-sm);
    margin-left: calc(3.4em + var(--space-sm));
}

.brp-bar[b-2sr5lndqqu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "name text"
        "track track";
    column-gap: 4px;
    min-width: 0;
}

.brp-bar-name[b-2sr5lndqqu] {
    grid-area: name;
    min-width: 0;
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brp-bar.is-me .brp-bar-name[b-2sr5lndqqu] {
    color: var(--color-primary-light);
}

.brp-bar.is-foe .brp-bar-name[b-2sr5lndqqu] {
    color: var(--combat-enemy-lighter);
}

.brp-bar .brp-track[b-2sr5lndqqu] {
    grid-area: track;
}

.brp-bar .brp-hp-text[b-2sr5lndqqu] {
    grid-area: text;
}

.brp-adds[b-2sr5lndqqu] {
    align-self: end;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

@media (max-width: 480px) {
    .brp-tiles[b-2sr5lndqqu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brp-bars[b-2sr5lndqqu] {
        margin-left: 0;
    }

    .brp-hero[b-2sr5lndqqu] {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "name falls"
            "hp hp"
            "moment moment";
    }
}
/* /Components/Combat/Rest/RestChoiceCard.razor.rz.scp.css */
/* A rest choice on the road moment (Docs/LRPG_WAR_TABLE.md 4.8; board WT-Road-Handback-1366): one button, compact.
   --rd-accent is the choice's color: Press On gold (--color-primary), Short Rest the heal color (--combat-heal,
   palette-aware). Never an eco token: those mean a turn slot and nothing else (design skill, Action economy). */

.rd-choice[b-bsaqbu1qtq] {
    --rd-accent: var(--color-primary);
    --rd-accent-text: var(--color-primary-light);
    appearance: none;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;           /* MudBlazor's button reset centers flex children */
    justify-content: flex-start;
    gap: 7px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 12px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--rd-accent) 50%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-900) 92%, transparent) 0%,
        color-mix(in srgb, var(--color-bg-base) 96%, transparent) 100%);
    color: var(--color-text-light);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.rd-choice--rest[b-bsaqbu1qtq] {
    --rd-accent: var(--combat-heal);
    --rd-accent-text: var(--combat-heal-light);
}

    .rd-choice:hover:not([aria-disabled="true"])[b-bsaqbu1qtq] {
        border-color: var(--rd-accent);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--rd-accent) 14%, transparent);
    }

    .rd-choice:focus[b-bsaqbu1qtq] {
        outline: none;
    }

    /* Keyboard focus only (:focus-visible: a mouse click or tap, or the moment's own initial focus after one, shows
       none), drawn as an offset outline so it never reads as the ringed "Your vote" card. A card you can't choose
       (spent, or your vote is in) shows a quiet dashed outline instead, so focus is still visible on it. */
    .rd-choice:focus-visible:not([aria-disabled="true"])[b-bsaqbu1qtq] {
        border-color: var(--rd-accent);
        outline: 2px solid var(--rd-accent-text);
        outline-offset: 3px;
    }

    .rd-choice[aria-disabled="true"]:focus-visible[b-bsaqbu1qtq] {
        outline: 2px dashed color-mix(in srgb, var(--color-text-secondary) 70%, transparent);
        outline-offset: 3px;
    }

    .rd-choice[aria-busy="true"][b-bsaqbu1qtq] {
        cursor: progress;
    }

/* The stop's rest is spent: greyed, but focusable so its reason can be read. */
.rd-choice.is-unavailable[b-bsaqbu1qtq] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    cursor: not-allowed;
}

    .rd-choice.is-unavailable .rd-choice-medal[b-bsaqbu1qtq],
    .rd-choice.is-unavailable .rd-choice-title[b-bsaqbu1qtq] {
        opacity: 0.55;
        filter: grayscale(0.7);
    }

/* A party: your vote is in. Yours is ringed; the other card steps back. */
.rd-choice.is-your-vote[b-bsaqbu1qtq] {
    border-color: var(--rd-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--rd-accent) 40%, transparent);
    cursor: default;
}

.rd-choice.is-locked[b-bsaqbu1qtq] {
    opacity: 0.6;
    cursor: default;
}

/* ---- Head: icon, title, votes ------------------------------------------------------- */

.rd-choice-head[b-bsaqbu1qtq] {
    display: flex;
    align-items: center;
    gap: 7px;
}

.rd-choice-medal[b-bsaqbu1qtq] {
    flex: none;
    display: inline-flex;
    color: var(--rd-accent);
    font-size: var(--ct-2xl);
}

.rd-choice-heading[b-bsaqbu1qtq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.rd-choice-title[b-bsaqbu1qtq] {
    color: var(--rd-accent-text);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-lg);
    line-height: 1.2;
}

.rd-choice-votes[b-bsaqbu1qtq] {
    flex: none;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--rd-accent) 35%, transparent);
    background: color-mix(in srgb, var(--rd-accent) 10%, transparent);
    line-height: 1.2;
}

.rd-choice-votes-n[b-bsaqbu1qtq] {
    color: var(--rd-accent-text);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-lg);
}

.rd-choice-votes-word[b-bsaqbu1qtq] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* ---- Detail: reason, preview, lines ---------------------------------------------- */

.rd-choice-detail[b-bsaqbu1qtq] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rd-choice-reason[b-bsaqbu1qtq] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.rd-choice-reason-ico[b-bsaqbu1qtq] {
    display: inline-flex;
    font-size: var(--ct-lg);
    color: var(--color-text-secondary);
}

.rd-preview[b-bsaqbu1qtq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 6px 9px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

.rd-preview-heading[b-bsaqbu1qtq] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rd-preview-row[b-bsaqbu1qtq] {
    --rd-bar: var(--combat-hp-high);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .rd-preview-row.kind-hp-mid[b-bsaqbu1qtq] {
        --rd-bar: var(--combat-hp-mid);
    }

    .rd-preview-row.kind-hp-low[b-bsaqbu1qtq] {
        --rd-bar: var(--combat-hp-low);
    }

    .rd-preview-row.kind-mana[b-bsaqbu1qtq] {
        --rd-bar: var(--color-mana);
    }

.rd-preview-head[b-bsaqbu1qtq] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.rd-preview-label[b-bsaqbu1qtq] {
    flex: none;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rd-preview-values[b-bsaqbu1qtq] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rd-preview-arrow[b-bsaqbu1qtq] {
    font-size: var(--ct-base);
    color: var(--color-text-secondary);
}

.rd-preview-after[b-bsaqbu1qtq] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-lg);
}

    .rd-preview-after.is-changed[b-bsaqbu1qtq] {
        color: var(--rd-accent-text);
    }

.rd-preview-max[b-bsaqbu1qtq] {
    color: var(--color-text-light);
}

.rd-preview-note[b-bsaqbu1qtq] {
    min-width: 0;
    margin-left: auto;
    overflow: hidden;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .rd-preview-note.is-gain[b-bsaqbu1qtq] {
        color: var(--rd-accent-text);
        font-weight: 800;
    }

/* A slim bar under the numbers: what the choice adds is hatched in its color past the current fill. */
.rd-preview-bar[b-bsaqbu1qtq] {
    position: relative;
    display: block;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-gray-800);
}

.rd-preview-fill[b-bsaqbu1qtq] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background: var(--rd-bar);
}

.rd-preview-gain[b-bsaqbu1qtq] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(135deg,
        color-mix(in srgb, var(--rd-accent) 85%, transparent) 0 4px,
        color-mix(in srgb, var(--rd-accent) 45%, transparent) 4px 7px);
}

.rd-lines[b-bsaqbu1qtq] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rd-line[b-bsaqbu1qtq] {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    line-height: 1.35;
}

.rd-line-ico[b-bsaqbu1qtq] {
    display: inline-flex;
    margin-top: 1px;
    font-size: var(--ct-lg);
    color: var(--color-text-secondary);
}

.rd-line.tone-good .rd-line-ico[b-bsaqbu1qtq] {
    color: var(--combat-good-light);
}

.rd-line.tone-bad .rd-line-ico[b-bsaqbu1qtq] {
    color: var(--combat-bad-light);
}

.rd-line.tone-bad .rd-line-text[b-bsaqbu1qtq] {
    color: var(--color-text-lighter);
    font-weight: var(--font-weight-semibold);
}

.rd-line.tone-warning .rd-line-ico[b-bsaqbu1qtq] {
    color: var(--color-warning-light);
}

/* ---- The button face: the call to action (the choice's words; a party's vote) ------------------- */

/* A real button look (owner, 15 Nov 2026: the Short Rest "doesn't look like a button"): a filled pill in the
   choice's accent at the card's foot, filled further on hover and keyboard focus. The whole card stays the one
   button; this face only says so. */
.rd-choice-cta[b-bsaqbu1qtq] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    min-height: 36px;
    padding: 7px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--rd-accent) 65%, transparent);
    background: color-mix(in srgb, var(--rd-accent) 20%, transparent);
    color: var(--rd-accent-text);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-md);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease;
}

    .rd-choice:hover:not([aria-disabled="true"]) .rd-choice-cta[b-bsaqbu1qtq],
    .rd-choice:focus-visible:not([aria-disabled="true"]) .rd-choice-cta[b-bsaqbu1qtq] {
        border-color: var(--rd-accent);
        background: color-mix(in srgb, var(--rd-accent) 34%, transparent);
    }

    /* A party's vote that is in: the face reads "Your vote", quiet, never a press. */
    .rd-choice[aria-disabled="true"] .rd-choice-cta[b-bsaqbu1qtq] {
        border-style: dashed;
        background: transparent;
    }

.rd-choice-cta-ico[b-bsaqbu1qtq] {
    font-size: var(--ct-lg);
}

@media (pointer: coarse) {
    .rd-choice-cta[b-bsaqbu1qtq] {
        min-height: 44px;
    }
}

/* ---- The decision-first layout (Direction A): bigger cards, every hero's row, the voters' names -------------------- */

.rd-choice.has-rows[b-bsaqbu1qtq],
.rd-choice.is-compact[b-bsaqbu1qtq] {
    gap: 10px;
    padding: 16px 18px;
}

    .rd-choice.has-rows .rd-choice-title[b-bsaqbu1qtq],
    .rd-choice.is-compact .rd-choice-title[b-bsaqbu1qtq] {
        font-size: var(--ct-2xl);
    }

    .rd-choice.has-rows .rd-choice-cta[b-bsaqbu1qtq] {
        min-height: 48px;
        font-size: var(--ct-base);
    }

    .rd-choice.is-compact .rd-choice-cta[b-bsaqbu1qtq] {
        min-height: 44px;
    }

.rd-choice-voters[b-bsaqbu1qtq] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rd-accent-text);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.rd-choice-voters-ico[b-bsaqbu1qtq] {
    font-size: var(--ct-lg);
}

@media (forced-colors: active) {
    .rd-choice-cta[b-bsaqbu1qtq] {
        border-color: ButtonText;
        background: ButtonFace;
        color: ButtonText;
        forced-color-adjust: none;
    }
}

@media (max-width: 480px) {
    .rd-preview-note[b-bsaqbu1qtq] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rd-choice[b-bsaqbu1qtq],
    .rd-choice-cta[b-bsaqbu1qtq] {
        transition: none;
    }
}
/* /Components/Combat/Rest/RestPartyRows.razor.rz.scp.css */
/* RestPartyRows: every hero's row inside a rest choice card (the decision-first layout, Direction A, boards A1, S3).
   The card's --rd-accent / --rd-accent-text (Press On gold, Short Rest the heal colour) colour the gain; HP steps read
   the combat semantic tokens (palette-aware). Tokens only; canonical breakpoints only. */

.rpr[b-1rj46rtilu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

.rpr-heading[b-1rj46rtilu] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rpr-hero[b-1rj46rtilu] {
    display: grid;
    grid-template-columns: minmax(0, 11em) minmax(0, 1fr);
    align-items: start;
    gap: 2px 12px;
}

    .rpr-hero + .rpr-hero[b-1rj46rtilu] {
        padding-top: 8px;
        border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    }

.rpr-id[b-1rj46rtilu] {
    grid-row: span 3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    min-width: 0;
}

.rpr-name[b-1rj46rtilu] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rpr-you[b-1rj46rtilu] {
    padding: 0 6px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.rpr-class[b-1rj46rtilu] {
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.rpr-tag[b-1rj46rtilu] {
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 70%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.rpr-cond[b-1rj46rtilu] {
    flex-basis: 100%;
    color: var(--combat-hp-high);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
}

    .rpr-cond.kind-hp-mid[b-1rj46rtilu] {
        color: var(--combat-hp-mid-light);
    }

    .rpr-cond.kind-hp-low[b-1rj46rtilu] {
        color: var(--combat-hp-low-light);
    }

/* An away hero reads quieter by its tag's dashed rim and words, never by fading the words (contrast). */
.rpr-hero.is-away .rpr-name[b-1rj46rtilu] {
    color: var(--color-text-lighter);
}

.rpr-line[b-1rj46rtilu] {
    --rpr-bar: var(--combat-hp-high);
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

    .rpr-line.kind-hp-mid[b-1rj46rtilu] {
        --rpr-bar: var(--combat-hp-mid);
    }

    .rpr-line.kind-hp-low[b-1rj46rtilu] {
        --rpr-bar: var(--combat-hp-low);
    }

    .rpr-line.kind-mana[b-1rj46rtilu] {
        --rpr-bar: var(--color-mana);
    }

.rpr-line-head[b-1rj46rtilu] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.rpr-label[b-1rj46rtilu] {
    flex: none;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rpr-values[b-1rj46rtilu] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rpr-arrow[b-1rj46rtilu] {
    color: var(--color-text-secondary);
    font-size: var(--ct-base);
}

.rpr-after[b-1rj46rtilu] {
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-bold);
}

    .rpr-after.is-changed[b-1rj46rtilu] {
        color: var(--rd-accent-text, var(--color-text-primary));
    }

.rpr-note[b-1rj46rtilu] {
    min-width: 0;
    margin-left: auto;
    overflow: hidden;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .rpr-note.is-gain[b-1rj46rtilu] {
        color: var(--rd-accent-text, var(--color-text-primary));
        font-weight: 800;
    }

.rpr-bar[b-1rj46rtilu] {
    position: relative;
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-gray-800);
}

.rpr-fill[b-1rj46rtilu] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background: var(--rpr-bar);
}

.rpr-gain[b-1rj46rtilu] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(135deg,
        color-mix(in srgb, var(--rd-accent, var(--combat-heal)) 85%, transparent) 0 4px,
        color-mix(in srgb, var(--rd-accent, var(--combat-heal)) 45%, transparent) 4px 7px);
}

.rpr-res[b-1rj46rtilu] {
    grid-column: 2;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

/* 1024 and under (two cards side by side in a narrower window): the name over the lines, so the captions keep their
   words. The phone block below then lays a hero out on one line. */
@media (max-width: 1024px) {
    .rpr-hero[b-1rj46rtilu] {
        grid-template-columns: minmax(0, 1fr);
    }

    .rpr-id[b-1rj46rtilu] {
        grid-row: auto;
    }

    .rpr-line[b-1rj46rtilu],
    .rpr-res[b-1rj46rtilu] {
        grid-column: 1;
    }
}

/* A phone (board A2): a hero is one line (name, You, condition, then the HP numbers at the right) over its HP bar;
   a caster's mana is a line of numbers under it. The heading, the class and the mana bar go, so both choices clear a
   390 x 844 phone's fold (spec road-comps 6.2). The HP line's head and bar join the hero's grid (display: contents;
   the bar's colour still inherits from the line). */
@media (max-width: 768px) {
    .rpr[b-1rj46rtilu] {
        gap: 6px;
        padding: 6px 8px;
    }

    .rpr-heading[b-1rj46rtilu],
    .rpr-class[b-1rj46rtilu],
    .rpr-line.kind-mana .rpr-bar[b-1rj46rtilu] {
        display: none;
    }

    /* Seen by a screen reader still, not drawn. */
    .rpr-line:not(.kind-mana) .rpr-label[b-1rj46rtilu] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .rpr-hero[b-1rj46rtilu] {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 2px 8px;
    }

        .rpr-hero + .rpr-hero[b-1rj46rtilu] {
            padding-top: 6px;
        }

    .rpr-id[b-1rj46rtilu] {
        grid-column: 1;
        grid-row: 1;
    }

    .rpr-cond[b-1rj46rtilu] {
        flex-basis: auto;
    }

    .rpr-line[b-1rj46rtilu] {
        display: contents;
    }

        .rpr-line:not(.kind-mana) > .rpr-line-head[b-1rj46rtilu] {
            grid-column: 2;
            grid-row: 1;
        }

    .rpr-bar[b-1rj46rtilu],
    .rpr-line.kind-mana > .rpr-line-head[b-1rj46rtilu],
    .rpr-res[b-1rj46rtilu] {
        grid-column: 1 / -1;
    }

    .rpr-note[b-1rj46rtilu] {
        margin-left: 6px;
    }
}

@media (forced-colors: active) {
    .rpr[b-1rj46rtilu],
    .rpr-you[b-1rj46rtilu],
    .rpr-tag[b-1rj46rtilu] {
        border-color: CanvasText;
    }

    .rpr-fill[b-1rj46rtilu] {
        background: CanvasText;
        forced-color-adjust: none;
    }

    .rpr-gain[b-1rj46rtilu] {
        background: Highlight;
        forced-color-adjust: none;
    }
}
/* /Components/Combat/Rest/RestPartyTable.razor.rz.scp.css */
/* RestPartyTable: the party's table on the decision-first road moment (Direction A, board S1). Press On's column in
   gold, the Short Rest's in the heal colour (palette-aware), HP steps in the combat semantic tokens. Numbers are
   tabular. Tokens only; canonical breakpoints only. */

.rpt-wrap[b-xjs5bjm31n] {
    overflow-x: auto;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-900) 92%, transparent) 0%,
        color-mix(in srgb, var(--color-bg-base) 96%, transparent) 100%);
}

/* A party of 3: the table is the phone's; a wider screen draws the rows in the cards instead. */
.rpt-wrap.is-phone-only[b-xjs5bjm31n] {
    display: none;
}

.rpt[b-xjs5bjm31n] {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

    .rpt th[b-xjs5bjm31n],
    .rpt td[b-xjs5bjm31n] {
        padding: 9px 14px;
        text-align: left;
        vertical-align: top;
    }

    .rpt thead th[b-xjs5bjm31n] {
        color: var(--color-text-secondary);
        font-size: var(--ct-sm);
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        white-space: nowrap;
    }

        .rpt thead th.rpt-col-press[b-xjs5bjm31n] {
            color: var(--color-primary-light);
        }

        .rpt thead th.rpt-col-rest[b-xjs5bjm31n] {
            color: var(--combat-heal-light);
        }

    .rpt tbody tr[b-xjs5bjm31n] {
        border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    }

.rpt-hero[b-xjs5bjm31n] {
    min-width: 9em;
    font-weight: normal;
}

.rpt-name[b-xjs5bjm31n] {
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: 800;
}

.rpt-you[b-xjs5bjm31n] {
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.rpt-class[b-xjs5bjm31n] {
    margin-left: 6px;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.rpt-tag[b-xjs5bjm31n] {
    margin-left: 6px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 70%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
}

.rpt-cond[b-xjs5bjm31n] {
    display: block;
    color: var(--combat-hp-high);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
}

    .rpt-cond.kind-hp-mid[b-xjs5bjm31n] {
        color: var(--combat-hp-mid-light);
    }

    .rpt-cond.kind-hp-low[b-xjs5bjm31n] {
        color: var(--combat-hp-low-light);
    }

.rpt-res[b-xjs5bjm31n] {
    display: block;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.rpt-line[b-xjs5bjm31n] {
    --rpt-bar: var(--combat-hp-high);
    --rpt-accent: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 8em;
}

    .rpt-line + .rpt-line[b-xjs5bjm31n] {
        margin-top: 6px;
    }

    .rpt-line.kind-hp-mid[b-xjs5bjm31n] {
        --rpt-bar: var(--combat-hp-mid);
    }

    .rpt-line.kind-hp-low[b-xjs5bjm31n] {
        --rpt-bar: var(--combat-hp-low);
    }

    .rpt-line.kind-mana[b-xjs5bjm31n] {
        --rpt-bar: var(--color-mana);
    }

.rpt-press .rpt-line[b-xjs5bjm31n] {
    --rpt-accent: var(--color-primary);
    --rpt-accent-text: var(--color-primary-light);
}

.rpt-rest .rpt-line[b-xjs5bjm31n] {
    --rpt-accent: var(--combat-heal);
    --rpt-accent-text: var(--combat-heal-light);
}

.rpt-line-head[b-xjs5bjm31n] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 5px;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.rpt-label[b-xjs5bjm31n] {
    color: var(--color-text-secondary);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rpt-value[b-xjs5bjm31n] {
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-bold);
}

.rpt-note[b-xjs5bjm31n] {
    color: var(--color-text-light);
    font-weight: var(--font-weight-semibold);
}

    .rpt-note.is-gain[b-xjs5bjm31n] {
        color: var(--rpt-accent-text, var(--color-text-primary));
        font-weight: 800;
    }

.rpt-bar[b-xjs5bjm31n] {
    position: relative;
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-gray-800);
}

.rpt-fill[b-xjs5bjm31n] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: inherit;
    background: var(--rpt-bar);
}

.rpt-gain[b-xjs5bjm31n] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: repeating-linear-gradient(135deg,
        color-mix(in srgb, var(--rpt-accent) 85%, transparent) 0 4px,
        color-mix(in srgb, var(--rpt-accent) 45%, transparent) 4px 7px);
}

@media (max-width: 768px) {
    .rpt-wrap.is-phone-only[b-xjs5bjm31n] {
        display: block;
    }

    /* A phone (board S2): numbers only. No bars, no class or condition word, the HP label and a "No change" left out
       (the column heads say when), a caster's mana keeps its label; the heads wrap. */
    .rpt th[b-xjs5bjm31n],
    .rpt td[b-xjs5bjm31n] {
        padding: 6px 5px;
    }

        .rpt thead th[b-xjs5bjm31n] {
            white-space: normal;
            letter-spacing: 0.02em;
        }

    .rpt-hero[b-xjs5bjm31n] {
        min-width: 0;
    }

    .rpt-line[b-xjs5bjm31n] {
        min-width: 0;
    }

    /* Seen by a screen reader still, not drawn. */
    .rpt-cond[b-xjs5bjm31n],
    .rpt-line.kind-hp-high .rpt-label[b-xjs5bjm31n],
    .rpt-line.kind-hp-mid .rpt-label[b-xjs5bjm31n],
    .rpt-line.kind-hp-low .rpt-label[b-xjs5bjm31n] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .rpt-class[b-xjs5bjm31n],
    .rpt-bar[b-xjs5bjm31n],
    .rpt-note:not(.is-gain)[b-xjs5bjm31n],
    .rpt-press .rpt-max[b-xjs5bjm31n],
    .rpt-rest .rpt-max[b-xjs5bjm31n] {
        display: none;
    }

    .rpt-you[b-xjs5bjm31n] {
        margin-left: 4px;
    }
}

/* A phone held sideways: the bars go, the numbers stay, so the cards come up sooner. */
@media (orientation: landscape) and (max-height: 480px) {
    .rpt th[b-xjs5bjm31n],
    .rpt td[b-xjs5bjm31n] {
        padding: 5px 12px;
    }

    .rpt-bar[b-xjs5bjm31n] {
        display: none;
    }

    .rpt-line + .rpt-line[b-xjs5bjm31n] {
        margin-top: 2px;
    }
}

@media (forced-colors: active) {
    .rpt-wrap[b-xjs5bjm31n],
    .rpt-you[b-xjs5bjm31n],
    .rpt-tag[b-xjs5bjm31n] {
        border-color: CanvasText;
    }

    .rpt-fill[b-xjs5bjm31n] {
        background: CanvasText;
        forced-color-adjust: none;
    }

    .rpt-gain[b-xjs5bjm31n] {
        background: Highlight;
        forced-color-adjust: none;
    }
}
/* /Components/Combat/Tablet/TabletHotbar.razor.rz.scp.css */
/* TabletHotbar.razor.css : the tablet action bar (combat HUD rethink WP11, D11 tablet).
   Lane tabs wear the turn-slot tokens and WP4 shapes (action circle, bonus triangle, move square, free ring), the
   same as the desktop hotbar's lane headers, so a lane reads without color too. Every control is a touch target of at
   least 44px; nothing depends on hover. Colors are design-system tokens only. Breakpoints: canonical only (1024). */

.tablet-hotbar[b-tr82qxadk2] {
    --class-color: var(--color-primary);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: var(--space-sm);
    min-width: 0;
}

.tablet-hotbar.warrior[b-tr82qxadk2]   { --class-color: var(--color-warrior); }
.tablet-hotbar.wizard[b-tr82qxadk2]    { --class-color: var(--color-wizard); }
.tablet-hotbar.ranger[b-tr82qxadk2]    { --class-color: var(--color-ranger); }
.tablet-hotbar.rogue[b-tr82qxadk2]     { --class-color: var(--color-rogue); }
.tablet-hotbar.paladin[b-tr82qxadk2]   { --class-color: var(--color-paladin); }
.tablet-hotbar.bard[b-tr82qxadk2]      { --class-color: var(--color-bard); }
.tablet-hotbar.monk[b-tr82qxadk2]      { --class-color: var(--color-monk); }
.tablet-hotbar.barbarian[b-tr82qxadk2] { --class-color: var(--color-barbarian); }
.tablet-hotbar.cleric[b-tr82qxadk2]    { --class-color: var(--color-cleric); }
.tablet-hotbar.pirate[b-tr82qxadk2]    { --class-color: var(--color-pirate); }

.th-main[b-tr82qxadk2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.th-warning[b-tr82qxadk2] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 4px var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-warning);
    background: color-mix(in srgb, var(--color-warning) 14%, transparent);
    color: var(--color-warning-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.th-warning .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-xl);
}

/* ----- Lane tabs ----- */

.th-tabs-row[b-tr82qxadk2] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
}

.th-tabs[b-tr82qxadk2] {
    display: flex;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.th-tabs[b-tr82qxadk2]::-webkit-scrollbar {
    display: none;
}

.th-tab[b-tr82qxadk2] {
    --eco: var(--color-eco-action);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 88px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--eco) 40%, transparent);
    background: color-mix(in srgb, var(--eco) 7%, var(--color-bg-base));
    color: var(--eco);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--transition-fast), opacity 0.2s ease, filter 0.2s ease;
}

.th-tab--move[b-tr82qxadk2]     { --eco: var(--color-eco-move); }
.th-tab--action[b-tr82qxadk2]   { --eco: var(--color-eco-action); }
.th-tab--bonus[b-tr82qxadk2]    { --eco: var(--color-eco-bonus); }
.th-tab--free[b-tr82qxadk2]     { --eco: var(--color-eco-free); }
.th-tab--reaction[b-tr82qxadk2] { --eco: var(--color-eco-reaction); }

.th-tab.is-selected[b-tr82qxadk2] {
    border-color: var(--eco);
    background: color-mix(in srgb, var(--eco) 22%, var(--color-bg-base));
    box-shadow: inset 0 -3px 0 var(--eco);
}

.th-tab:focus-visible[b-tr82qxadk2] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* A spent lane fades as a whole, on its tab and its page. */
.th-tab.is-spent[b-tr82qxadk2] {
    opacity: 0.45;
    filter: grayscale(0.4);
}

.th-tab.is-spent .th-tab-title[b-tr82qxadk2] {
    text-decoration: line-through;
}

/* A Smite offer waits while another tab is shown: the Free tab glows gold, as the desktop stepper does (D7). */
.th-tab.is-calling[b-tr82qxadk2] {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 50%, transparent);
    animation: th-calling-pulse-b-tr82qxadk2 1.4s ease-in-out infinite;
}

@keyframes th-calling-pulse-b-tr82qxadk2 {
    0%, 100% { box-shadow: 0 0 6px color-mix(in srgb, var(--color-primary) 35%, transparent); }
    50%      { box-shadow: 0 0 14px color-mix(in srgb, var(--color-primary) 65%, transparent); }
}

/* Call for a Potion (16 Nov 2026): a Down ally this hero can answer is calling, so the Give Potion slot glows in the
   warning amber and its chip says "Called" (the slot's label names who). Still under reduced motion. */
.th-slot.is-called[b-tr82qxadk2] {
    border-color: var(--color-warning-bright);
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-warning-bright) 50%, transparent);
    animation: th-potion-call-pulse-b-tr82qxadk2 1.4s ease-in-out infinite;
}

.th-slot.is-called .th-slot-split[b-tr82qxadk2] {
    background: var(--color-warning-bright);
    color: var(--color-bg-base);
}

/* Barbarian 5e pass W2: a toggle slot (Reckless Attack): OFF a quiet chip, ON the Barbarian's red border and chip. */
.th-slot.is-toggle .th-slot-split[b-tr82qxadk2] {
    background: var(--color-gray-600);
    color: var(--color-text-primary);
}

.th-slot.is-toggled[b-tr82qxadk2] {
    border-color: var(--class-barbarian);
    box-shadow: 0 0 10px color-mix(in srgb, var(--class-barbarian) 55%, transparent);
}

.th-slot.is-toggled .th-slot-split[b-tr82qxadk2] {
    background: var(--class-barbarian);
    color: var(--color-text-primary);
}

@keyframes th-potion-call-pulse-b-tr82qxadk2 {
    0%, 100% { box-shadow: 0 0 6px color-mix(in srgb, var(--color-warning-bright) 35%, transparent); }
    50%      { box-shadow: 0 0 14px color-mix(in srgb, var(--color-warning-bright) 70%, transparent); }
}

.th-tab-badge[b-tr82qxadk2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.12em;
    height: 2.12em;
    padding: 0 6px;
    border-radius: var(--radius-round);
    background: var(--eco);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    letter-spacing: 0;
}

/* The lane pip: the WP4 shapes (design-system.css action economy block). */
.eco-pip[b-tr82qxadk2] {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--eco);
}

.th-tab--bonus .eco-pip[b-tr82qxadk2],
.th-card--bonus .eco-pip[b-tr82qxadk2] {
    width: 12px;
    height: 11px;
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.th-tab--move .eco-pip[b-tr82qxadk2],
.th-card--move .eco-pip[b-tr82qxadk2] {
    border-radius: 2px;
}

.th-tab--free .eco-pip[b-tr82qxadk2],
.th-card--free .eco-pip[b-tr82qxadk2] {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--eco);
}

.th-tab--reaction .eco-pip[b-tr82qxadk2],
.th-card--reaction .eco-pip[b-tr82qxadk2] {
    border-radius: 0;
    transform: rotate(45deg) scale(0.8);
}

.th-tab.is-spent .eco-pip[b-tr82qxadk2] {
    background: var(--color-text-muted);
}

.th-tab--free.is-spent .eco-pip[b-tr82qxadk2] {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--color-text-muted);
}

/* ----- Tools: full cards, overflow (Flee) ----- */

.th-tools[b-tr82qxadk2] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.th-icon-btn[b-tr82qxadk2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-light);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.th-icon-btn .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-2xl);
}

.th-icon-btn.is-active[b-tr82qxadk2] {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.th-icon-btn:focus-visible[b-tr82qxadk2] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ----- The lane page ----- */

.th-panel[b-tr82qxadk2] {
    --eco: var(--color-eco-action);
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    padding: 6px;
    border-top: 3px solid var(--eco);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--eco) 6%, transparent);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.th-panel--move[b-tr82qxadk2]     { --eco: var(--color-eco-move); }
.th-panel--action[b-tr82qxadk2]   { --eco: var(--color-eco-action); }
.th-panel--bonus[b-tr82qxadk2]    { --eco: var(--color-eco-bonus); }
.th-panel--free[b-tr82qxadk2]     { --eco: var(--color-eco-free); }
.th-panel--reaction[b-tr82qxadk2] { --eco: var(--color-eco-reaction); }

.th-panel.is-spent[b-tr82qxadk2] {
    opacity: 0.5;
    filter: grayscale(0.4);
}

.th-slots[b-tr82qxadk2] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
}

.th-page-btn[b-tr82qxadk2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    min-height: 44px;
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-light);
    cursor: pointer;
    touch-action: manipulation;
}

.th-page-btn .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-3xl);
}

.th-page-btn:disabled[b-tr82qxadk2] {
    opacity: 0.35;
    cursor: default;
}

/* Call for a Potion (16 Nov 2026): the slot an ally's call lights is on another page of the open lane (Give Potion is last
   in the Action lane, so on page 2 of 2 for most heroes). The chevron that leads there, and the page count beside it,
   glow in the slot's own amber (same pulse as .th-slot.is-called, still under reduced motion). The page is never turned
   for the player, and the button keeps its 44px target (the phone arrangement keeps its own narrower box). */
.th-page-btn.is-calling[b-tr82qxadk2] {
    border-color: var(--color-warning-bright);
    color: var(--color-warning-bright);
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-warning-bright) 50%, transparent);
    animation: th-potion-call-pulse-b-tr82qxadk2 1.4s ease-in-out infinite;
}

.th-page-count.is-calling[b-tr82qxadk2] {
    color: var(--color-warning-bright);
    font-weight: var(--font-weight-semibold);
}

.th-panel-foot[b-tr82qxadk2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-basis: 100%;
    min-height: 1.54em;
    padding: 0 2px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.th-lane-note[b-tr82qxadk2] {
    font-weight: var(--font-weight-semibold);
}

.th-page-count[b-tr82qxadk2] {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
}

/* ----- Large slots ----- */

.th-slot[b-tr82qxadk2] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 78px;
    padding: 8px 4px 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    border-left: 3px solid var(--class-color);
    background: linear-gradient(145deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
    color: var(--color-text-lighter);
    text-align: center;
    cursor: pointer;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s ease, opacity 0.2s ease, filter 0.2s ease;
}

/* A spell slot wears its school's tint and border (the global .spell-school-* block, as the SpellCard does). */
.th-slot.is-spell[b-tr82qxadk2] {
    border-left-width: 1px;
}

.th-slot:active[b-tr82qxadk2] {
    transform: scale(0.97);
}

.th-slot:focus-visible[b-tr82qxadk2],
.th-move:focus-visible[b-tr82qxadk2],
.th-smite-tier:focus-visible[b-tr82qxadk2],
.th-end-turn:focus-visible[b-tr82qxadk2] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.th-slot[b-tr82qxadk2]  .th-slot-icon {
    width: 1em;
    height: 1em;
    font-size: var(--ct-4xl);
}

.th-slot-name[b-tr82qxadk2] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.15;
    /* At the larger text sizes a long word ("Disengage") is wider than a phone slot: it breaks inside the word (the
       last resort) rather than being cut off at the slot's edge. */
    overflow-wrap: anywhere;
}

/* Costs are outlined chips in the resource color (never a filled eco token). */
.th-slot-cost[b-tr82qxadk2] {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 1.92em;
    padding: 0 5px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-mana);
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-mana);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.73;
}

/* Monsters to 5e D5: the split attack's "2 of 2" on the Attack slot, filled in the Action slot's colour (the swing it
   spends belongs to the Attack action). */
.th-slot-split[b-tr82qxadk2] {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 1.92em;
    padding: 0 5px;
    border-radius: var(--radius-sm);
    background: var(--color-eco-action);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.73;
    white-space: nowrap;
}

/* A use pool's uses left ("2/3"): placed as the cost, outlined in the pool's class color (the vitals row's). */
.th-slot-uses[b-tr82qxadk2] {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 1.92em;
    padding: 0 5px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-cleric);
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-cleric-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.73;
}

.th-slot-uses.uses-inspiration[b-tr82qxadk2] {
    border-color: var(--color-bard);
    color: var(--color-bard-light);
}

.th-slot-cost.cost-ki[b-tr82qxadk2] {
    border-color: var(--color-ki);
    color: var(--color-ki);
}

.th-slot-cost.cost-swagger[b-tr82qxadk2] {
    border-color: var(--color-swagger);
    color: var(--color-swagger);
}

.th-slot-fav[b-tr82qxadk2] {
    position: absolute;
    top: 4px;
    left: 6px;
    font-size: var(--ct-lg);
    color: var(--color-primary);
}

.th-slot-cd[b-tr82qxadk2] {
    position: absolute;
    bottom: 4px;
    right: 4px;
    min-width: 1.92em;
    padding: 0 5px;
    border-radius: var(--radius-round);
    background: var(--color-bg-base);
    border: 1px solid var(--color-border-active);
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.73;
}

.th-slot-block[b-tr82qxadk2] {
    position: absolute;
    bottom: 4px;
    right: 4px;
    font-size: var(--ct-lg);
    color: var(--color-text-secondary);
}

/* The slot's key for a keyboard on this tier (the hotbar's digits, A, E): a keyboard keycap like the desktop's
   (.hotkey-keycap on the same element), small in the bottom-left corner so touch players can ignore it. Placed only. */
.th-slot-key[b-tr82qxadk2] {
    position: absolute;
    bottom: 4px;
    left: 5px;
    min-width: 1.46em;
    padding: 0 3px;
    font-size: var(--ct-sm);
    line-height: 1.25;
}


/* A greyed slot still answers a tap: the page says the gate's reason. */
.th-slot.is-disabled[b-tr82qxadk2] {
    opacity: 0.5;
    filter: grayscale(0.5);
}

/* The slot an aim came from pulses in the aimed action's turn slot color (the board's glow). */
.th-slot.aim-eco-action[b-tr82qxadk2] { --aim-eco: var(--color-eco-action); }
.th-slot.aim-eco-bonus[b-tr82qxadk2]  { --aim-eco: var(--color-eco-bonus); }
.th-slot.aim-eco-free[b-tr82qxadk2]  { --aim-eco: var(--color-eco-free); }

.th-slot.is-pending[b-tr82qxadk2] {
    outline: 2px solid var(--aim-eco);
    outline-offset: 2px;
    box-shadow: 0 0 12px color-mix(in srgb, var(--aim-eco) 45%, transparent);
    animation: th-pending-pulse-b-tr82qxadk2 1.4s ease-in-out infinite;
}

.th-slot.is-armed[b-tr82qxadk2] {
    outline-width: 3px;
}

@keyframes th-pending-pulse-b-tr82qxadk2 {
    0%, 100% { outline-offset: 2px; }
    50%      { outline-offset: 4px; }
}

.th-slot-confirm[b-tr82qxadk2] {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    padding: 0 6px;
    border-radius: var(--radius-round);
    background: var(--aim-eco);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.04em;
    line-height: 1.61;
    white-space: nowrap;
    text-transform: uppercase;
}

/* ----- Move tile (the board moves you) ----- */

.th-move[b-tr82qxadk2] {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    min-height: 78px;
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-eco-move) 45%, transparent);
    background: color-mix(in srgb, var(--color-eco-move) 8%, transparent);
    color: var(--color-eco-move);
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
}

.th-move .material-icons[b-tr82qxadk2] {
    grid-row: span 2;
    font-size: var(--ct-5xl);
}

.th-move-range[b-tr82qxadk2] {
    grid-row: span 2;
    font-family: var(--font-display);
    font-size: var(--ct-3xl);
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.th-move-unit[b-tr82qxadk2] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.th-move-text[b-tr82qxadk2] {
    font-size: var(--ct-sm);
    color: var(--color-text-light);
}

.th-move.is-disabled[b-tr82qxadk2] {
    color: var(--color-text-tertiary);
    border-color: var(--color-border-subtle);
    background: transparent;
}

/* ----- Divine Smite stepper (Free lane), as on the desktop bar but finger-sized ----- */

.th-smite[b-tr82qxadk2] {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 78px;
    padding: 6px 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: linear-gradient(145deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
}

.th-smite.is-offered[b-tr82qxadk2] {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.th-smite-head[b-tr82qxadk2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 48px;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.th-smite-head .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-2xl);
    color: var(--color-primary);
}

.th-smite-crit[b-tr82qxadk2] {
    padding: 0 5px;
    border-radius: var(--radius-sm);
    background: var(--color-warning-bright);
    color: var(--color-bg-base);
}

.th-smite-tiers[b-tr82qxadk2] {
    display: flex;
    gap: 6px;
    flex: 1 1 auto;
}

.th-smite-tier[b-tr82qxadk2] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 48px;
    min-height: 56px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-hover);
    background: var(--color-bg-elevated-alt);
    color: var(--color-text-lighter);
    cursor: pointer;
    touch-action: manipulation;
}

.th-smite-tier.is-usable[b-tr82qxadk2] {
    border-color: var(--color-primary);
}

.th-smite-tier[aria-disabled="true"][b-tr82qxadk2] {
    opacity: 0.45;
}

.th-smite-numeral[b-tr82qxadk2] {
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: var(--font-weight-bold);
}

.th-smite-cost[b-tr82qxadk2] {
    font-size: var(--ct-sm);
    color: var(--color-mana);
}

/* ----- End Turn ----- */

.th-end-turn[b-tr82qxadk2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 112px;
    min-height: 88px;
    padding: 10px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    touch-action: manipulation;
    box-shadow: var(--shadow-gold);
}

.th-end-turn .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-4xl);
}

.th-end-turn-label[b-tr82qxadk2] {
    font-size: var(--ct-sm);
}

.th-end-turn-state[b-tr82qxadk2] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    letter-spacing: 0;
    text-transform: none;
}

.th-end-turn:disabled[b-tr82qxadk2] {
    cursor: default;
    border-color: var(--color-border-subtle);
    background: var(--color-bg-elevated);
    color: var(--color-text-tertiary);
    box-shadow: none;
}

/* ----- Full cards (the touch stand-in for the desktop hover zoom) ----- */

.th-details[b-tr82qxadk2] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: min(55vh, 440px);
    padding: 8px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-active);
    background: color-mix(in srgb, var(--color-bg-base) 96%, transparent);
    box-shadow: var(--shadow-lg);
}

.th-details-head[b-tr82qxadk2] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
}

.th-details-title[b-tr82qxadk2] {
    flex: 1 1 auto;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}

.th-details-list[b-tr82qxadk2] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.th-card[b-tr82qxadk2] {
    --eco: var(--color-eco-action);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    border-left: 3px solid var(--eco);
    background: var(--color-bg-elevated);
}

.th-card--move[b-tr82qxadk2]     { --eco: var(--color-eco-move); }
.th-card--action[b-tr82qxadk2]   { --eco: var(--color-eco-action); }
.th-card--bonus[b-tr82qxadk2]    { --eco: var(--color-eco-bonus); }
.th-card--free[b-tr82qxadk2]     { --eco: var(--color-eco-free); }
.th-card--reaction[b-tr82qxadk2] { --eco: var(--color-eco-reaction); }

.th-card-head[b-tr82qxadk2] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.th-card[b-tr82qxadk2]  .th-card-icon {
    width: 1em;
    height: 1em;
    font-size: var(--ct-2xl);
    color: var(--color-text-light);
}

.th-card-name[b-tr82qxadk2] {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-lightest);
}

.th-card-lane[b-tr82qxadk2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: var(--ct-sm);
    color: var(--eco);
}

.th-card-line[b-tr82qxadk2] {
    margin: 0;
    font-size: var(--ct-sm);
    color: var(--color-text-light);
    line-height: 1.35;
}

.th-card-reason[b-tr82qxadk2] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    font-size: var(--ct-sm);
    color: var(--color-warning-light);
}

.th-card-reason .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-lg);
}

.th-card-pin[b-tr82qxadk2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    min-height: 44px;
    padding: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-hover);
    background: transparent;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    cursor: pointer;
    touch-action: manipulation;
}

.th-card-pin.is-pinned[b-tr82qxadk2] {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ----- Phone arrangement (phone combat, CombatPhoneLayout: a phone held sideways) -----
   One row under the board: the lane tabs as a 2x2 grid with the two tools stacked beside them, the lane's page of five
   slots, End Turn. The tabs and tools stay at least 34px tall; the slots and End Turn, the thumb's targets, 62px. These
   selectors carry the modifier, so they win over the 1024 block below (which a sideways phone also matches). */

.tablet-hotbar--phone[b-tr82qxadk2] {
    gap: 6px;
}

.tablet-hotbar--phone .th-main[b-tr82qxadk2] {
    position: relative;
    flex-direction: row;
    align-items: stretch;
    gap: 6px;
}

/* The concentration warning floats over the board instead of adding a row the board would pay for: above the board's
   own overlays (the move hint 15, the touch controls 20, the aim strip and move bar 35; the top strip is 40), on an
   opaque ground so it reads over the hexes. */
.tablet-hotbar--phone .th-warning[b-tr82qxadk2] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 4px);
    z-index: 38;
    background: color-mix(in srgb, var(--color-warning) 18%, var(--color-bg-base));
}

/* Phone co-op: the party picker has the row while an ally action is aimed. */
.tablet-hotbar--phone.is-picking-ally .th-tabs-row[b-tr82qxadk2],
.tablet-hotbar--phone.is-picking-ally .th-panel[b-tr82qxadk2] {
    display: none;
}

.tablet-hotbar--phone .th-tabs-row[b-tr82qxadk2] {
    flex: 0 0 auto;
    align-items: stretch;
    gap: 4px;
}

.tablet-hotbar--phone .th-tabs[b-tr82qxadk2] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 4px;
    overflow: visible;
}

.tablet-hotbar--phone .th-tab[b-tr82qxadk2] {
    min-width: 66px;
    min-height: 3.27em;
    padding: 0 6px;
    gap: 4px;
    font-size: var(--ct-sm);
    letter-spacing: 0.04em;
}

.tablet-hotbar--phone .th-tab-badge[b-tr82qxadk2] {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
}

.tablet-hotbar--phone .th-tools[b-tr82qxadk2] {
    flex-direction: column;
    gap: 4px;
}

.tablet-hotbar--phone .th-icon-btn[b-tr82qxadk2] {
    width: 36px;
    height: 34px;
}

.tablet-hotbar--phone .th-panel[b-tr82qxadk2] {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 4px;
    padding: 4px;
    border-top-width: 2px;
}

/* The lane note and page count would add a row; the page buttons already say there is more. */
.tablet-hotbar--phone .th-panel-foot[b-tr82qxadk2] {
    display: none;
}

.tablet-hotbar--phone .th-slots[b-tr82qxadk2] {
    gap: 4px;
}

.tablet-hotbar--phone .th-slot[b-tr82qxadk2],
.tablet-hotbar--phone .th-move[b-tr82qxadk2],
.tablet-hotbar--phone .th-smite[b-tr82qxadk2] {
    min-height: 62px;
}

.tablet-hotbar--phone .th-slot[b-tr82qxadk2] {
    gap: 2px;
    padding: 6px 2px 4px;
}

.tablet-hotbar--phone .th-slot[b-tr82qxadk2]  .th-slot-icon {
    width: 1em;
    height: 1em;
    font-size: var(--ct-3xl);
}

.tablet-hotbar--phone .th-slot-name[b-tr82qxadk2] {
    font-size: var(--ct-sm);
}

/* No keyboard on a phone: the slot keys would only crowd the faces. */
.tablet-hotbar--phone .th-slot-key[b-tr82qxadk2] {
    display: none;
}

.tablet-hotbar--phone .th-slot-split[b-tr82qxadk2] {
    top: 2px;
    right: 2px;
    min-width: 1.67em;
    padding: 0 3px;
    font-size: var(--ct-sm);
    line-height: 1.46;
}

.tablet-hotbar--phone .th-slot-cost[b-tr82qxadk2] {
    top: 2px;
    right: 2px;
    min-width: 1.67em;
    padding: 0 3px;
    font-size: var(--ct-sm);
    line-height: 1.46;
}

.tablet-hotbar--phone .th-slot-uses[b-tr82qxadk2] {
    top: 2px;
    right: 2px;
    min-width: 1.67em;
    padding: 0 3px;
    font-size: var(--ct-sm);
    line-height: 1.46;
}

.tablet-hotbar--phone .th-slot-cd[b-tr82qxadk2] {
    bottom: 2px;
    right: 2px;
    min-width: 16px;
    line-height: 14px;
}

.tablet-hotbar--phone .th-page-btn[b-tr82qxadk2] {
    flex: 0 0 26px;
    min-height: 62px;
}

.tablet-hotbar--phone .th-move[b-tr82qxadk2] {
    column-gap: 6px;
    padding: 4px 8px;
}

.tablet-hotbar--phone .th-move .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-3xl);
}

.tablet-hotbar--phone .th-move-range[b-tr82qxadk2] {
    font-size: var(--ct-2xl);
}

.tablet-hotbar--phone .th-move-text[b-tr82qxadk2] {
    font-size: var(--ct-sm);
}

.tablet-hotbar--phone .th-smite-tier[b-tr82qxadk2] {
    min-width: 40px;
    min-height: 48px;
}

/* The thumb's button keeps one size whatever it says (End Turn, Confirm, Move, "No target"), the height of the 2x2
   lane tabs beside it, so neither the slots nor the board jump when it changes: its words wrap and its second line
   ellipsizes instead. */
.tablet-hotbar--phone .th-end-turn[b-tr82qxadk2] {
    flex: 0 0 auto;
    width: 104px;
    min-width: 104px;
    height: 72px;
    min-height: 0;
    box-sizing: border-box;
    overflow: hidden;
    padding: 6px 6px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.tablet-hotbar--phone .th-end-turn-label[b-tr82qxadk2] {
    white-space: normal;
    line-height: 1.15;
}

.tablet-hotbar--phone .th-end-turn-state[b-tr82qxadk2] {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tablet-hotbar--phone .th-end-turn .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-3xl);
}

.tablet-hotbar--phone .th-end-turn-label[b-tr82qxadk2] {
    font-size: var(--ct-sm);
}

.tablet-hotbar--phone .th-details[b-tr82qxadk2] {
    max-height: min(64vh, 300px);
}

/* While an action is aimed the thumb's button is its Confirm, in the turn slot's color it spends. */
.th-aim-confirm.aim-eco-action[b-tr82qxadk2] { --aim-eco: var(--color-eco-action); }
.th-aim-confirm.aim-eco-bonus[b-tr82qxadk2]  { --aim-eco: var(--color-eco-bonus); }
.th-aim-confirm.aim-eco-free[b-tr82qxadk2]  { --aim-eco: var(--color-eco-free); }

.tablet-hotbar--phone .th-aim-confirm[b-tr82qxadk2] {
    border-color: var(--aim-eco);
    background: color-mix(in srgb, var(--aim-eco) 16%, var(--color-bg-base));
    color: var(--aim-eco);
    box-shadow: none;
}

.tablet-hotbar--phone .th-aim-confirm.is-live[b-tr82qxadk2] {
    background: var(--aim-eco);
    color: var(--color-bg-base);
    box-shadow: 0 0 14px color-mix(in srgb, var(--aim-eco) 55%, transparent);
}

.tablet-hotbar--phone .th-aim-confirm:disabled[b-tr82qxadk2] {
    cursor: default;
}

/* While a tapped hex waits, the thumb's button is Move, in the Move lane's color. */
.tablet-hotbar--phone .th-move-confirm[b-tr82qxadk2] {
    border-color: var(--color-eco-move);
    background: var(--color-eco-move);
    color: var(--color-bg-base);
    box-shadow: 0 0 14px color-mix(in srgb, var(--color-eco-move) 55%, transparent);
}

/* Monsters to 5e D3: the read-only Reaction tab's tile, a status and never a control: words beside the reaction's
   icon, with no frame, fill, press scale or pointer, so nothing about it reads as a slot to tap. It spans three of the
   five slot columns so "Opportunity attack" sits on one line; the panel's foot carries "Ready" or "Spent". */
.th-reaction[b-tr82qxadk2] {
    position: relative;
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 78px;
    padding: 0 8px;
    color: var(--color-text-lighter);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

.th-reaction .material-icons[b-tr82qxadk2] {
    font-size: var(--ct-4xl);
    color: var(--color-eco-reaction);
}

.th-reaction-lines[b-tr82qxadk2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.th-reaction-name[b-tr82qxadk2] {
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

.th-reaction-how[b-tr82qxadk2] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.th-reaction.is-spent[b-tr82qxadk2],
.th-reaction.is-spent .material-icons[b-tr82qxadk2],
.th-reaction.is-spent .th-reaction-how[b-tr82qxadk2] {
    color: var(--color-text-secondary);
}

.th-reaction-sr[b-tr82qxadk2] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* Monsters to 5e D3: a move that provokes an opportunity attack reads "Move (provokes)" in the warning colour. */
.tablet-hotbar--phone .th-move-confirm.is-provoking[b-tr82qxadk2] {
    border-color: var(--color-warning-bright);
    background: var(--color-warning-bright);
    box-shadow: 0 0 14px color-mix(in srgb, var(--color-warning-bright) 55%, transparent);
}

/* ----- Canonical breakpoints ----- */

@media (max-width: 1024px) {
    .th-tab[b-tr82qxadk2] {
        min-width: 76px;
        padding: 0 10px;
    }

    .th-slot[b-tr82qxadk2],
    .th-move[b-tr82qxadk2],
    .th-smite[b-tr82qxadk2],
    .th-reaction[b-tr82qxadk2] {
        min-height: 72px;
    }

    .th-end-turn[b-tr82qxadk2] {
        min-width: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .th-tab[b-tr82qxadk2],
    .th-panel[b-tr82qxadk2],
    .th-slot[b-tr82qxadk2] {
        transition: none;
    }

    .th-slot:active[b-tr82qxadk2] {
        transform: none;
    }

    .th-slot.is-pending[b-tr82qxadk2],
    .th-slot.is-called[b-tr82qxadk2],
    .th-page-btn.is-calling[b-tr82qxadk2],
    .th-tab.is-calling[b-tr82qxadk2] {
        animation: none;
    }
}
/* /Components/Combat/Tablet/TabletPartyStrip.razor.rz.scp.css */
/* TabletPartyStrip.razor.css : the tablet's co-op party strip (combat HUD rethink WP11). A quiet panel framed like
   the desktop party column; the compact ally frames scroll sideways. While an ally action is aimed the section carries
   the board's .aim-mode classes, so --aim-eco (the aimed action's turn slot) reaches the frames' glow. Tokens only. */

.tablet-party-strip[b-bdgp541tz0] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: 2px;
    min-width: 0;
    padding: 6px 8px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}

/* D11: you're next. The strip's frame turns gold (outlined, never filled) beside the "You're on deck" pill. */
.tablet-party-strip.is-on-deck[b-bdgp541tz0] {
    border-color: var(--color-primary);
}

.tablet-party-strip.aim-mode[b-bdgp541tz0] {
    --aim-eco: var(--color-eco-action);
}

.tablet-party-strip.aim-mode.aim-eco-bonus[b-bdgp541tz0] {
    --aim-eco: var(--color-eco-bonus);
}

.tablet-party-strip.aim-mode.aim-eco-free[b-bdgp541tz0] {
    --aim-eco: var(--color-eco-free);
}

.tps-head[b-bdgp541tz0] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 72px;
}

.tps-title[b-bdgp541tz0] {
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.tps-count[b-bdgp541tz0] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    color: var(--combat-good);
    font-variant-numeric: tabular-nums;
}

/* D11: you're next. Outlined gold (never filled), so it can't read as the filled "Your turn" pill. */
.tps-on-deck[b-bdgp541tz0] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.tps-on-deck .material-icons[b-bdgp541tz0] {
    font-size: var(--ct-base);
}

.tps-frames[b-bdgp541tz0] {
    display: flex;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 2px;
    scrollbar-width: none;
}

.tps-frames[b-bdgp541tz0]::-webkit-scrollbar {
    display: none;
}

/* Each ally is a compact PartyMemberFrame: a 44px+ tap target when it is an ally target. */
.tps-frames[b-bdgp541tz0]  .pmf.pmf--compact {
    min-height: 52px;
    max-width: 200px;
    touch-action: manipulation;
}

.tps-empty[b-bdgp541tz0],
.tps-hint[b-bdgp541tz0] {
    margin: 0;
    font-size: var(--ct-sm);
    line-height: 1.35;
    color: var(--color-text-secondary);
}

.tps-hint-row[b-bdgp541tz0] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.tps-hint[b-bdgp541tz0] {
    flex: 1 1 auto;
    min-width: 0;
}

/* "Clear target": a tap on the target's own frame keeps them armed, so this puts one away. A 44px touch target. */
.tps-clear-target[b-bdgp541tz0] {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-active);
    background: transparent;
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    touch-action: manipulation;
}

.tps-clear-target:focus-visible[b-bdgp541tz0] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
/* /Components/Combat/Tablet/TabletTargetPanel.razor.rz.scp.css */
/* TabletTargetPanel.razor.css : the tablet's target panel (combat HUD rethink WP11, D4). One quiet card: the monster's
   header with the info button (44px), the preview card (HP, AC, odds), the intent and status pips, and while an enemy
   action is aimed its aim button in the aimed slot's color (--aim-eco). Tokens only; no hover-only affordance. */

.tablet-target[b-yzu39f44db] {
    --aim-eco: var(--color-eco-action);
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 8px 10px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 78%, transparent);
}

.tablet-target.is-boss[b-yzu39f44db] {
    border-color: color-mix(in srgb, var(--combat-enemy-light) 55%, transparent);
}

.tablet-target.aim-eco-bonus[b-yzu39f44db] {
    --aim-eco: var(--color-eco-bonus);
}

.tablet-target.aim-eco-free[b-yzu39f44db] {
    --aim-eco: var(--color-eco-free);
}

.tt-head[b-yzu39f44db] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.tt-portrait[b-yzu39f44db] {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-active);
    background: var(--color-bg-elevated-alt);
}

.tt-portrait img[b-yzu39f44db] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-boss-pip[b-yzu39f44db] {
    position: absolute;
    top: 2px;
    right: 2px;
    display: inline-flex;
    padding: 1px;
    border-radius: var(--radius-round);
    background: var(--color-bg-base);
    color: var(--combat-enemy-light);
}

.tt-boss-pip .material-icons[b-yzu39f44db] {
    font-size: var(--ct-base);
}

.tt-meta[b-yzu39f44db] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tt-name-row[b-yzu39f44db] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.tt-name[b-yzu39f44db] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.tt-level[b-yzu39f44db] {
    flex-shrink: 0;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.tt-sub[b-yzu39f44db] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.tt-zone[b-yzu39f44db] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 6px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-hover);
    color: var(--color-text-light);
    font-weight: var(--font-weight-bold);
}

.tt-zone.zone-vanguard[b-yzu39f44db] { border-color: var(--color-zone-vanguard-border); color: var(--color-zone-vanguard-light); }
.tt-zone.zone-flankleft[b-yzu39f44db],
.tt-zone.zone-flankright[b-yzu39f44db] { border-color: var(--color-zone-flank-border); color: var(--color-zone-flank-light); }
.tt-zone.zone-rear[b-yzu39f44db] { border-color: var(--color-zone-rear-border); color: var(--color-zone-rear-light); }

.tt-zone[b-yzu39f44db]  .mud-icon-root {
    width: 1em;
    height: 1em;
    font-size: var(--ct-base);
}

/* D4: the info button (the tablet's way to the monster card). */
.tt-info[b-yzu39f44db] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
    cursor: pointer;
    touch-action: manipulation;
}

.tt-info .material-icons[b-yzu39f44db] {
    font-size: var(--ct-3xl);
}

.tt-info:focus-visible[b-yzu39f44db],
.tt-aim:focus-visible[b-yzu39f44db] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tt-intent[b-yzu39f44db] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--ct-sm);
}

.tt-intent-label[b-yzu39f44db] {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-secondary);
}

.tt-status[b-yzu39f44db] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tt-status-pip[b-yzu39f44db] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.31em;
    height: 2.31em;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-hover);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
}

.tt-status-pip[b-yzu39f44db]  .mud-icon-root {
    width: 1em;
    height: 1em;
    font-size: var(--ct-lg);
}

.tt-status-duration[b-yzu39f44db] {
    position: absolute;
    right: -4px;
    bottom: -4px;
    min-width: 1.36em;
    padding: 0 2px;
    border-radius: var(--radius-sm);
    background: var(--color-bg-base);
    font-size: var(--ct-sm);
    line-height: 1.36;
    text-align: center;
}

.tt-status-more[b-yzu39f44db] {
    width: auto;
    padding: 0 6px;
}

/* WP12e: the board rail's kind colors (the status tokens; deuteranopia turns buff blue), shapes (harmful square,
   beneficial round) and the last-round dashed rim. */
.tt-status-pip[b-yzu39f44db] {
    --tt-kind: var(--color-status-debuff);
    border-color: color-mix(in srgb, var(--tt-kind) 65%, transparent);
    background: color-mix(in srgb, var(--tt-kind) 16%, var(--color-bg-base));
    color: var(--tt-kind);
}

.tt-status-pip.status-pip-cc[b-yzu39f44db]     { --tt-kind: var(--color-status-control); }
.tt-status-pip.status-pip-dot[b-yzu39f44db]    { --tt-kind: var(--color-status-dot); }
.tt-status-pip.status-pip-debuff[b-yzu39f44db] { --tt-kind: var(--color-status-debuff); }
.tt-status-pip.status-pip-buff[b-yzu39f44db]   { --tt-kind: var(--color-status-buff); }

.tt-status-pip.tt-status-more[b-yzu39f44db] {
    --tt-kind: var(--color-text-secondary);
    color: var(--color-text-light);
}

.tt-status-duration[b-yzu39f44db] {
    color: var(--color-text-primary);
}

.tt-status-pip.is-beneficial[b-yzu39f44db] {
    border-radius: var(--radius-round);
}

.tt-status-pip.is-last-round[b-yzu39f44db] {
    border-style: dashed;
}

/* While an enemy action is aimed: the panel's aim button, in the aimed slot's color. */
.tt-aim[b-yzu39f44db] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--aim-eco);
    background: color-mix(in srgb, var(--aim-eco) 14%, transparent);
    color: var(--aim-eco);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    touch-action: manipulation;
}

.tt-aim.is-armed[b-yzu39f44db] {
    background: var(--aim-eco);
    color: var(--color-bg-base);
}

.tt-aim:disabled[b-yzu39f44db] {
    opacity: 0.45;
    cursor: not-allowed;
}

.tt-aim-reason[b-yzu39f44db] {
    margin: 0;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.tt-empty[b-yzu39f44db] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
}

.tt-empty .material-icons[b-yzu39f44db] {
    font-size: var(--ct-3xl);
    color: var(--color-text-secondary);
}
/* /Components/Combat/UnifiedCombatLog.razor.rz.scp.css */
.combat-log-card[b-pd6xoww0ax] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 8px;
}

/* Screen-reader only — visually hidden, but announced by assistive tech */
.combat-log-sr-only[b-pd6xoww0ax] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.combat-log-filter-bar[b-pd6xoww0ax] {
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-spacer[b-pd6xoww0ax] {
    flex: 1;
}

[b-pd6xoww0ax] .filter-search {
    max-width: 150px;
    font-size: var(--ct-sm);
}

/* The search field's text and placeholder are MudBlazor's input (1rem); combat text size (WP12g). */
[b-pd6xoww0ax] .filter-search .mud-input {
    font-size: var(--ct-sm);
}

/* The filter toggles are MudBlazor's buttons (their own px size); combat text size (WP12g). */
.combat-log-filter-bar[b-pd6xoww0ax]  .mud-toggle-item {
    font-size: var(--ct-md);
}

/* The Desktop / Wide log column (CombatLogDock, 320px pinned): MudToggleGroup lays its items in equal minmax(0, 1fr)
   grid columns, so in a narrow bar "ALL PLAYER ENEMY" ran into each other. Here the group keeps its natural width
   (each column at least its own label), the labels drop the all-caps tracking, and the search takes what is left,
   wrapping under the filters only if even that is too narrow. The tablet's full-log drawer keeps its own look. */
.combat-log-dock .combat-log-filter-bar[b-pd6xoww0ax] {
    flex-wrap: wrap;
    row-gap: 6px;
    column-gap: 6px;
    /* Tight enough that the three filters and the folded search icon share one row of the 320px dock (they overflowed it
       by a few px and the icon took a row of its own). */
    padding: 6px 8px;
}

.combat-log-dock .combat-log-filter-bar[b-pd6xoww0ax]  .mud-toggle-group {
    flex: 0 0 auto;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
}

.combat-log-dock .combat-log-filter-bar[b-pd6xoww0ax]  .mud-toggle-item {
    min-width: 0;
    padding: 2px 6px;
    font-size: var(--ct-sm);
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.combat-log-dock .filter-spacer[b-pd6xoww0ax] {
    display: none;
}

.combat-log-dock .combat-log-filter-bar[b-pd6xoww0ax]  .filter-search {
    flex: 1 1 104px;
    min-width: 104px;
    max-width: 170px;
    margin-left: auto;
}

/* The full-log drawer (CombatLogDrawer: the tablet's 420px panel, and the phone's, 90vw upright and 72vw held sideways).
   There MudToggleGroup's equal minmax(0, 1fr) columns shrank with the bar until "Everything / Involves me / Big moments"
   were clipped to "ERYTHII / NVOLVE / IOMENT" (about 50px each, in MudBlazor's capitals). Here the group is a wrapping flex
   row: every segment is at least its own label (max-content, never truncated), the segments share the row equally, and
   they wrap onto a second line rather than clip at the largest text size. The search sits beside the group when both fit
   and takes its own row under it when they do not (a phone). Title case at the dock's size; the 36px touch height is the
   coarse-pointer rule at the end of this sheet. */
.combat-log-drawer-body .combat-log-filter-bar[b-pd6xoww0ax] {
    flex-wrap: wrap;
    row-gap: 6px;
}

.combat-log-drawer-body .combat-log-filter-bar[b-pd6xoww0ax]  .mud-toggle-group {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.combat-log-drawer-body .combat-log-filter-bar[b-pd6xoww0ax]  .mud-toggle-item {
    flex: 1 1 0;
    min-width: max-content;
    padding: 2px 8px;
    font-size: var(--ct-sm);
    letter-spacing: 0.02em;
    text-transform: none;
    white-space: nowrap;
}

.combat-log-drawer-body .filter-spacer[b-pd6xoww0ax] {
    display: none;
}

.combat-log-drawer-body .combat-log-filter-bar[b-pd6xoww0ax]  .filter-search {
    flex: 1 1 140px;
    min-width: 140px;
    max-width: none;
}

.combat-log-content[b-pd6xoww0ax] {
    overflow-y: auto;
    background-color: #1e1e1e;
    padding: 8px;
    flex: 1;
    min-height: 0;
    position: relative;
    font-family: 'Courier New', monospace;
    font-size: var(--ct-sm);
    scroll-behavior: smooth;
}

/* MudText: its element carries no scope attribute, hence ::deep. */
[b-pd6xoww0ax] .empty-message {
    color: var(--color-text-secondary);
    padding: 8px;
    font-size: var(--ct-sm);
}

.jump-to-latest[b-pd6xoww0ax] {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
}

/* Narrow-window sizes for the full-log drawer; never the docked log of the floored Desktop / Wide layout (WP12c). */
@media (max-width: 768px) {
    .combat-log-content:where(:not(.combat-floor--desktop *))[b-pd6xoww0ax] { font-size: var(--ct-sm); }
}

@media (max-width: 767px) and (orientation: portrait) {
    .combat-log-content:where(:not(.combat-floor--desktop *))[b-pd6xoww0ax] { min-height: 180px; }
}

@media (max-width: 900px) and (orientation: landscape) {
    .combat-log-content:where(:not(.combat-floor--desktop *))[b-pd6xoww0ax] { font-size: var(--ct-sm); min-height: 80px; }
}

/* ---- Beats / Full log (combat log redesign 4.3) ---- */

/* The view switch on the header's title row (wave 1, solo 11): a small two-state toggle, two buttons with aria-pressed,
   the selected one gold. Its markup is this component's (a fragment passed to CombatLogHeader), so it keeps this scope. */
.log-view-bar[b-pd6xoww0ax] {
    display: inline-flex;
    gap: 2px;
    margin-left: auto;
    padding: 0;
}

.log-view-btn[b-pd6xoww0ax] {
    flex: 0 0 auto;
    min-height: 2em;
    padding: 1px 8px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    cursor: pointer;
}

.log-view-btn:hover[b-pd6xoww0ax] {
    color: var(--color-text-primary);
}

.log-view-btn.is-selected[b-pd6xoww0ax] {
    border-color: color-mix(in srgb, var(--color-primary) 65%, transparent);
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
    color: var(--color-primary);
}

.log-view-btn:focus-visible[b-pd6xoww0ax],
.log-minor-fold:focus-visible[b-pd6xoww0ax] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 1px;
}

/* The turn cards read in the body face, not the Full log's monospace. */
.combat-log-content.is-beats[b-pd6xoww0ax] {
    font-family: var(--font-primary);
}

.log-minor-fold[b-pd6xoww0ax] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px 0;
    padding: 1px 8px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: 1em;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    cursor: pointer;
}

.log-minor-fold:hover[b-pd6xoww0ax] {
    color: var(--color-text-primary);
}

/* The search folded to an icon (wave 1, solo 11): it opens the field and gives it focus. */
.log-search-btn[b-pd6xoww0ax] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: auto;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 4px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.log-search-btn:hover[b-pd6xoww0ax] {
    color: var(--color-text-primary);
}

.log-search-btn:focus-visible[b-pd6xoww0ax] {
    outline: 2px solid var(--color-warning-bright);
    outline-offset: 1px;
}

/* One sentence when a filter leaves nothing, instead of "No matches" on every round. */
.log-filter-empty[b-pd6xoww0ax] {
    margin: 8px 0;
    padding: 8px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.log-hidden-note[b-pd6xoww0ax] {
    margin: 2px 0 4px;
    padding: 0 8px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-style: italic;
}

.log-up-next[b-pd6xoww0ax] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 6px 0 2px;
    padding: 4px 8px;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: 4px;
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
}

/* Touch (the phone and tablet drawer share these controls): filters at least 36px tall, rows at least 44px
   (Docs/LRPG_COMBAT_LOG_REDESIGN.md section 7). */
@media (pointer: coarse) {
    .log-view-btn[b-pd6xoww0ax],
    .combat-log-filter-bar[b-pd6xoww0ax]  .mud-toggle-item {
        min-height: 36px;
    }

    .log-search-btn[b-pd6xoww0ax] {
        width: 44px;
        height: 36px;
    }

    .log-minor-fold[b-pd6xoww0ax] {
        min-height: 44px;
        padding-block: 0;
    }
}

@media (forced-colors: active) {
    .log-view-btn[b-pd6xoww0ax], .log-minor-fold[b-pd6xoww0ax], .log-up-next[b-pd6xoww0ax], .log-search-btn[b-pd6xoww0ax] { border-color: CanvasText; }
    .log-view-btn.is-selected[b-pd6xoww0ax] { border-color: Highlight; }
}
/* /Components/Combat/Victory/VictoryActionBar.razor.rz.scp.css */
.vs-actions[b-e8qqjdczgd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.vs-actions-row[b-e8qqjdczgd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 16px;
    width: 100%;
}

/* ---- Primary: the one obvious next action ------------------------------- */

.vs-btn-primary[b-e8qqjdczgd] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: min(100%, 360px);
    min-height: 60px;
    padding: 8px 18px;
    border: 0;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 10px 30px color-mix(in srgb, var(--color-primary) 28%, transparent);
    cursor: pointer;
    transition: transform 120ms ease, filter 120ms ease;
    animation: vs-cta-in-b-e8qqjdczgd 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 1100ms both;
}

    .vs-btn-primary:hover:not(:disabled)[b-e8qqjdczgd] {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    .vs-btn-primary:active:not(:disabled)[b-e8qqjdczgd] {
        transform: translateY(1px);
    }

    .vs-btn-primary:focus-visible[b-e8qqjdczgd] {
        outline: 3px solid var(--color-text-primary);
        outline-offset: 3px;
    }

    .vs-btn-primary:disabled[b-e8qqjdczgd] {
        cursor: progress;
        filter: saturate(0.6) brightness(0.85);
    }

    /* Waiting on you: a soft ring pulse until you ready up. On a pseudo-element, so it keeps going
       after the reveal freezes the button's own entrance animation. */
    .vs-btn-primary.is-ready-check:not(.is-ready)[b-e8qqjdczgd]::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        animation: vs-cta-pulse-b-e8qqjdczgd 2.2s ease-out 1.6s infinite;
    }

    /* Already ready: quiet outline so it reads as done, still clickable to cancel. */
    .vs-btn-primary.is-ready[b-e8qqjdczgd] {
        background: color-mix(in srgb, var(--color-success) 16%, var(--color-gray-900));
        color: var(--color-success-light);
        box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--color-success) 60%, transparent);
    }

.vs-btn-primary-label[b-e8qqjdczgd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-2xl);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vs-btn-primary-ico[b-e8qqjdczgd] {
    display: inline-flex;
    font-size: var(--ct-3xl);
}

.vs-btn-primary-sub[b-e8qqjdczgd] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    color: color-mix(in srgb, var(--color-bg-base) 80%, var(--color-primary-darker));
}

.vs-btn-primary.is-ready .vs-btn-primary-sub[b-e8qqjdczgd] {
    color: var(--color-text-light);
}

/* ---- Secondary: quiet gold outline -------------------------------------- */

.vs-btn-secondary[b-e8qqjdczgd] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 20px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--ct-lg);
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease;
}

    .vs-btn-secondary:hover:not(:disabled)[b-e8qqjdczgd] {
        background: color-mix(in srgb, var(--color-primary) 12%, transparent);
        border-color: var(--color-primary);
    }

    .vs-btn-secondary:focus-visible[b-e8qqjdczgd] {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

    .vs-btn-secondary:disabled[b-e8qqjdczgd] {
        opacity: 0.6;
        cursor: progress;
    }

.vs-btn-ico[b-e8qqjdczgd] {
    display: inline-flex;
    font-size: var(--ct-2xl);
}

.vs-btn-badge[b-e8qqjdczgd] {
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---- Ready dots and the key hint ---------------------------------------- */

.vs-ready-dots[b-e8qqjdczgd] {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vs-ready-dot[b-e8qqjdczgd] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px dashed var(--color-text-tertiary);
    background: var(--color-bg-base);
}

    .vs-ready-dot + .vs-ready-dot[b-e8qqjdczgd] {
        margin-left: -6px;
    }

    .vs-ready-dot.is-ready[b-e8qqjdczgd] {
        border: 2px solid var(--vs-accent);
    }

    /* Away (or sitting out): not waited for, so the dot fades instead of reading as pending. */
    .vs-ready-dot.is-away[b-e8qqjdczgd] {
        border-style: dotted;
        opacity: 0.45;
    }

.vs-ready-dot-ico[b-e8qqjdczgd] {
    display: inline-flex;
    font-size: var(--ct-lg);
    color: var(--color-success-light);
}

.vs-keyhint[b-e8qqjdczgd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

    .vs-keyhint kbd[b-e8qqjdczgd] {
        padding: 2px 7px;
        border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
        border-bottom-width: 2px;
        border-radius: 5px;
        color: var(--color-text-light);
        font-family: var(--font-primary);
        font-size: var(--ct-sm);
    }

/* ---- Notes ---------------------------------------------------------------- */

.vs-notes[b-e8qqjdczgd] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-note[b-e8qqjdczgd] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vs-note-ico[b-e8qqjdczgd] {
    display: inline-flex;
    font-size: var(--ct-lg);
}

.vs-note--danger .vs-note-ico[b-e8qqjdczgd] {
    color: var(--color-danger-light);
}

@keyframes vs-cta-in-b-e8qqjdczgd {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes vs-cta-pulse-b-e8qqjdczgd {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 45%, transparent);
    }

    70%, 100% {
        box-shadow: 0 0 0 10px transparent;
    }
}

/* ---- Skip to battle: a quiet way straight on, under Continue (the war table's hand-back, WT Q16) ---- */

.vs-primary-stack[b-e8qqjdczgd] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: min(100%, 360px);
}

    .vs-primary-stack .vs-btn-primary[b-e8qqjdczgd] {
        width: 100%;
    }

.vs-btn-skip[b-e8qqjdczgd] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    margin: 0;
    padding: 4px 12px;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

    .vs-btn-skip:hover:not(:disabled)[b-e8qqjdczgd] {
        color: var(--color-primary-light);
    }

    .vs-btn-skip:focus-visible[b-e8qqjdczgd] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

    .vs-btn-skip:disabled[b-e8qqjdczgd] {
        cursor: default;
        opacity: 0.5;
    }

/* Phones: hide the keyboard hint, keep the primary full width. */
@media (max-width: 768px) {
    .vs-keyhint[b-e8qqjdczgd] {
        display: none;
    }

    .vs-btn-primary[b-e8qqjdczgd],
    .vs-primary-stack[b-e8qqjdczgd] {
        width: 100%;
        order: -1;
    }

    .vs-btn-secondary[b-e8qqjdczgd] {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* A short window (960 high and under): the footer is a docked bar over the spoils, so it keeps to what the actions need.
   Continue loses its padding and the quiet Skip its 44px height (a touch screen keeps it). Before the phone block below,
   so a phone's smaller Continue still wins. */
@media (max-height: 960px) {
    .vs-actions[b-e8qqjdczgd] {
        gap: 8px;
    }

    .vs-primary-stack[b-e8qqjdczgd] {
        gap: 0;
    }

    .vs-btn-primary[b-e8qqjdczgd] {
        min-height: 52px;
        padding-block: 4px;
    }

    .vs-btn-skip[b-e8qqjdczgd] {
        min-height: 32px;
        padding-block: 2px;
    }
}

@media (max-height: 960px) and (pointer: coarse) {
    .vs-btn-skip[b-e8qqjdczgd] {
        min-height: 44px;
    }
}

/* A phone (a short window that is also narrow; canonical values only): the sticky footer must not grow over the screen
   when the combat text size grows it (readable combat text, 14 Nov 2026: at Extra large it covered 60% of a phone held
   sideways, 844 x 390). The primary's second line, the key hint and the gaps give way; every action stays. */
@media (max-height: 960px) and (max-width: 960px) {
    .vs-actions[b-e8qqjdczgd] {
        gap: 6px;
    }

    .vs-actions-row[b-e8qqjdczgd] {
        gap: 6px 8px;
    }

    .vs-btn-primary[b-e8qqjdczgd] {
        min-height: 44px;
        padding: 4px 14px;
    }

    .vs-btn-primary-sub[b-e8qqjdczgd],
    .vs-keyhint[b-e8qqjdczgd] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-btn-primary[b-e8qqjdczgd],
    .vs-btn-primary.is-ready-check:not(.is-ready)[b-e8qqjdczgd]::after {
        animation: none;
        transition: none;
    }
}
/* /Components/Combat/Victory/VictoryBar.razor.rz.scp.css */
.vs-bar-block[b-9q1gwu5c6z] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.vs-bar-head[b-9q1gwu5c6z] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
    font-size: var(--ct-sm);
}

.vs-bar-label[b-9q1gwu5c6z] {
    color: var(--color-text-secondary);
}

.vs-bar-value[b-9q1gwu5c6z] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vs-bar[b-9q1gwu5c6z] {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-gray-800);
}

.vs-bar--thin[b-9q1gwu5c6z] {
    height: 7px;
}

.vs-bar--regular[b-9q1gwu5c6z] {
    height: 9px;
}

.vs-bar-fill[b-9q1gwu5c6z] {
    height: 100%;
    border-radius: inherit;
    background: var(--color-hp);
}

    .vs-bar-fill.is-low[b-9q1gwu5c6z] {
        background: var(--color-hp-low);
    }

    .vs-bar-fill.is-critical[b-9q1gwu5c6z] {
        background: var(--color-hp-critical);
    }

    .vs-bar-fill.is-mana[b-9q1gwu5c6z] {
        background: var(--color-mana);
    }
/* /Components/Combat/Victory/VictoryHonors.razor.rz.scp.css */
.vs-honors[b-8nclv3przx] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Companion rarity, from the design-system pet rarity tokens. */
.pet-common[b-8nclv3przx] { --vs-pet: var(--color-pet-common); }
.pet-uncommon[b-8nclv3przx] { --vs-pet: var(--color-pet-uncommon); }
.pet-rare[b-8nclv3przx] { --vs-pet: var(--color-pet-rare); }
.pet-epic[b-8nclv3przx] { --vs-pet: var(--color-pet-epic); }
.pet-legendary[b-8nclv3przx] { --vs-pet: var(--color-pet-legendary); }

.vs-honor[b-8nclv3przx] {
    min-width: 0;
    border-radius: var(--radius-3xl);
    animation: vs-honor-rise-b-8nclv3przx 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 1200ms both;
}

.vs-honor--companion[b-8nclv3przx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px;
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--vs-pet) 60%, transparent);
    background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--vs-pet) 30%, transparent), transparent 65%), var(--color-gray-900);
}

    .vs-honor--companion.is-duplicate[b-8nclv3przx] {
        border-color: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
        background: var(--color-gray-900);
    }

.vs-honor-kicker[b-8nclv3przx] {
    color: color-mix(in srgb, var(--vs-pet, var(--color-primary)) 70%, var(--color-text-primary));
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

    .vs-honor-kicker.is-gold[b-8nclv3przx] {
        color: var(--color-primary);
        letter-spacing: 0.14em;
    }

.vs-honor-portrait[b-8nclv3przx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 80px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(160deg, color-mix(in srgb, var(--vs-pet) 45%, var(--color-text-primary)), var(--vs-pet) 50%, color-mix(in srgb, var(--vs-pet) 40%, var(--color-bg-base)));
}

.vs-honor-portrait-inner[b-8nclv3przx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 72px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-bg-base);
    color: color-mix(in srgb, var(--vs-pet) 60%, var(--color-text-primary));
    font-size: var(--ct-5xl);
}

.vs-honor-name[b-8nclv3przx] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-2xl);
}

.vs-honor-detail[b-8nclv3przx] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-honor--companion .vs-honor-detail[b-8nclv3przx] {
    color: color-mix(in srgb, var(--vs-pet) 70%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.vs-honor-text[b-8nclv3przx] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-style: italic;
    line-height: 1.45;
}

.vs-honor--achievement[b-8nclv3przx] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 12%, transparent), color-mix(in srgb, var(--color-primary) 4%, transparent));
}

.vs-honor-medal[b-8nclv3przx] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-darker));
    color: var(--color-bg-base);
    font-size: var(--ct-4xl);
}

.vs-honor-achievement-body[b-8nclv3przx] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vs-honor-achievement-name[b-8nclv3przx] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-lg);
}

@keyframes vs-honor-rise-b-8nclv3przx {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-honor[b-8nclv3przx] {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryHouseBlock.razor.rz.scp.css */
/* ---- Garrick's house (house heroes W3, call 10): a card each on a desktop, one line on a phone -------------------- */

.vs-house[b-w4tzzbmvss] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.vs-house-cards[b-w4tzzbmvss] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.vs-house-card[b-w4tzzbmvss] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 12px;
    padding: 10px 14px;
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-xl);
    background: var(--sc-house-soft);
    min-width: 0;
}

.vs-house-id[b-w4tzzbmvss] {
    min-width: 0;
}

.vs-house-name[b-w4tzzbmvss] {
    font: 700 var(--gt-base) / 1.25 var(--font-primary);
    color: var(--color-text-primary);
}

.vs-house-tag[b-w4tzzbmvss] {
    margin-left: 4px;
    padding: 0 6px;
    border: 1px solid var(--sc-house-line);
    border-radius: 999px;
    color: var(--sc-house-ink);
    font: 700 var(--gt-sm) / 1.5 var(--font-primary);
}

.vs-house-class[b-w4tzzbmvss] {
    color: var(--color-text-secondary);
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
}

.vs-house-share[b-w4tzzbmvss] {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--color-text-secondary);
    font: italic 400 var(--gt-sm) / 1.4 var(--font-primary);
}

.vs-house-line[b-w4tzzbmvss] {
    display: none;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-xl);
    background: var(--sc-house-soft);
    color: var(--color-text-secondary);
    font: italic 400 var(--gt-sm) / 1.4 var(--font-primary);
}

/* With nobody else in the party the house fills the lineup's right column, stacked like the party's cards on a narrower screen */
.vs-house--beside .vs-house-cards[b-w4tzzbmvss] {
    grid-template-columns: minmax(0, 1fr);
}

/* ---- Phones (768) ------------------------------------------------------------------------------------------------- */

@media (max-width: 768px) {
    /* The house is one line on a phone (house heroes W3, call 10), not a card each */
    .vs-house-cards[b-w4tzzbmvss] {
        display: none;
    }

    .vs-house-line[b-w4tzzbmvss] {
        display: block;
    }
}
/* /Components/Combat/Victory/VictoryIcon.razor.rz.scp.css */
.vs-icon[b-0ji5idaq2m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 1em;
    height: 1em;
    line-height: 1;
}

    .vs-icon[b-0ji5idaq2m]  .mud-icon-root {
        width: 1em;
        height: 1em;
        font-size: inherit;
    }
/* /Components/Combat/Victory/VictoryLevelUpCallout.razor.rz.scp.css */
.vs-levelup[b-zgmc4572eo] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary) 30%, transparent);
    animation: vs-levelup-pop-b-zgmc4572eo 460ms cubic-bezier(0.2, 1.4, 0.4, 1) 1500ms both;
}

/* The breathing glow lives on a pseudo-element, so it outlasts the reveal freezing the pop. */
.vs-levelup[b-zgmc4572eo]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    animation: vs-levelup-glow-b-zgmc4572eo 2.8s ease-in-out 2s infinite;
}

.vs-levelup-hex[b-zgmc4572eo] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 68px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--ct-4xl);
}

.vs-levelup-body[b-zgmc4572eo] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    font-size: var(--ct-md);
    color: var(--color-text-primary);
}

.vs-levelup-title[b-zgmc4572eo] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: var(--ct-lg);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vs-levelup-muted[b-zgmc4572eo] {
    color: var(--color-text-secondary);
}

.vs-levelup-gain[b-zgmc4572eo] {
    color: var(--color-success-light);
    font-weight: var(--font-weight-semibold);
}

.vs-levelup-restored[b-zgmc4572eo] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-success-light);
}

.vs-levelup-restored-ico[b-zgmc4572eo] {
    display: inline-flex;
    font-size: var(--ct-lg);
}

.vs-levelup.is-compact[b-zgmc4572eo] {
    gap: 10px;
    padding: 8px 10px;
}

    .vs-levelup.is-compact .vs-levelup-hex[b-zgmc4572eo] {
        width: 40px;
        height: 46px;
        font-size: var(--ct-2xl);
    }

    .vs-levelup.is-compact .vs-levelup-title[b-zgmc4572eo] {
        font-size: var(--ct-md);
    }

    .vs-levelup.is-compact .vs-levelup-body[b-zgmc4572eo] {
        font-size: var(--ct-sm);
    }

@keyframes vs-levelup-pop-b-zgmc4572eo {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
}

@keyframes vs-levelup-glow-b-zgmc4572eo {
    0%, 100% {
        box-shadow: 0 0 0 transparent;
    }

    50% {
        box-shadow: 0 0 30px color-mix(in srgb, var(--color-primary) 40%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-levelup[b-zgmc4572eo],
    .vs-levelup[b-zgmc4572eo]::after {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryLootCard.razor.rz.scp.css */
/* Rarity drives every loot frame through one custom property, from the design-system rarity tokens. */
.rarity-common[b-uvayhujwcg] { --vs-rarity: var(--color-rarity-common); }
.rarity-uncommon[b-uvayhujwcg] { --vs-rarity: var(--color-rarity-uncommon); }
.rarity-rare[b-uvayhujwcg] { --vs-rarity: var(--color-rarity-rare); }
.rarity-epic[b-uvayhujwcg] { --vs-rarity: var(--color-rarity-epic); }
.rarity-legendary[b-uvayhujwcg] { --vs-rarity: var(--color-rarity-legendary); }

/* ---- Card / Relic ------------------------------------------------------ */

.vs-loot-card[b-uvayhujwcg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    height: 100%;
    padding: 14px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--vs-rarity) 70%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--vs-rarity) 22%, var(--color-gray-900)) 0%, var(--color-gray-900) 55%);
    box-shadow: 0 0 26px color-mix(in srgb, var(--vs-rarity) 26%, transparent);
    animation: vs-loot-deal-b-uvayhujwcg 520ms cubic-bezier(0.2, 0.9, 0.3, 1) var(--vs-delay, 900ms) both;
}

.vs-loot-card.rarity-common[b-uvayhujwcg] {
    box-shadow: none;
}

.vs-loot-head[b-uvayhujwcg] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: var(--ct-sm);
}

.vs-loot-rarity[b-uvayhujwcg] {
    color: color-mix(in srgb, var(--vs-rarity) 75%, var(--color-text-primary));
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: var(--ct-sm);
}

.vs-loot-kind[b-uvayhujwcg] {
    color: var(--color-text-secondary);
}

.vs-loot-tile[b-uvayhujwcg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--vs-rarity) 22%, transparent);
    color: color-mix(in srgb, var(--vs-rarity) 55%, var(--color-text-primary));
    font-size: var(--ct-4xl);
}

.vs-loot-name[b-uvayhujwcg] {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-xl);
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.vs-loot-qty[b-uvayhujwcg] {
    margin-left: 4px;
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
}

.vs-loot-stats[b-uvayhujwcg],
.vs-loot-meta[b-uvayhujwcg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    font-size: var(--ct-sm);
    color: var(--color-text-light);
}

.vs-loot-lore[b-uvayhujwcg] {
    margin: 0;
    font-size: var(--ct-sm);
    font-style: italic;
    line-height: 1.4;
    color: var(--color-text-secondary);
}

/* A small dot drawn in CSS between text parts (no separator glyphs in markup). */
.vs-sep[b-uvayhujwcg] {
    display: inline-block;
    flex: none;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.vs-verdict[b-uvayhujwcg] {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
    padding: 3px 9px;
    border-radius: var(--radius-xl);
    line-height: 1.35;
    border: 1px solid var(--vs-verdict-border);
    background: var(--vs-verdict-bg);
    color: var(--vs-verdict-ink);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.vs-verdict-ico[b-uvayhujwcg] {
    display: inline-flex;
    flex: none;
    margin-top: 1px;
    font-size: var(--ct-lg);
}

.vs-verdict-detail[b-uvayhujwcg] {
    margin-left: 4px;
    font-weight: var(--font-weight-medium);
}

.vs-verdict--upgrade[b-uvayhujwcg] {
    --vs-verdict-ink: var(--color-success-light);
    --vs-verdict-bg: color-mix(in srgb, var(--color-success) 14%, transparent);
    --vs-verdict-border: color-mix(in srgb, var(--color-success) 40%, transparent);
}

.vs-verdict--tradeoff[b-uvayhujwcg],
.vs-verdict--neutral[b-uvayhujwcg] {
    --vs-verdict-ink: var(--color-text-light);
    --vs-verdict-bg: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    --vs-verdict-border: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
}

.vs-verdict--locked[b-uvayhujwcg] {
    --vs-verdict-ink: var(--color-danger-lighter);
    --vs-verdict-bg: color-mix(in srgb, var(--color-danger) 12%, transparent);
    --vs-verdict-border: color-mix(in srgb, var(--color-danger) 35%, transparent);
}

.vs-loot-card.is-relic[b-uvayhujwcg] {
    align-items: center;
    text-align: center;
    padding: 16px;
    border-width: 1.5px;
    background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--vs-rarity) 40%, transparent), transparent 62%), var(--color-gray-900);
    box-shadow: 0 0 38px color-mix(in srgb, var(--vs-rarity) 35%, transparent);
}

    .vs-loot-card.is-relic .vs-loot-head[b-uvayhujwcg] {
        justify-content: center;
    }

    .vs-loot-card.is-relic .vs-loot-tile[b-uvayhujwcg] {
        width: 64px;
        height: 64px;
        font-size: var(--ct-6xl);
        margin: 4px 0;
    }

    .vs-loot-card.is-relic .vs-loot-name[b-uvayhujwcg] {
        font-size: var(--ct-3xl);
        font-weight: 800;
    }

    .vs-loot-card.is-relic .vs-loot-stats[b-uvayhujwcg] {
        justify-content: center;
    }

    .vs-loot-card.is-relic .vs-verdict[b-uvayhujwcg] {
        align-self: center;
    }

/* ---- Row --------------------------------------------------------------- */

.vs-loot-row[b-uvayhujwcg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--vs-rarity) 55%, transparent);
    background: linear-gradient(90deg, color-mix(in srgb, var(--vs-rarity) 18%, transparent), color-mix(in srgb, var(--vs-rarity) 4%, transparent));
    animation: vs-loot-deal-b-uvayhujwcg 520ms cubic-bezier(0.2, 0.9, 0.3, 1) var(--vs-delay, 900ms) both;
}

    .vs-loot-row .vs-loot-tile[b-uvayhujwcg] {
        width: 36px;
        height: 36px;
        font-size: var(--ct-3xl);
        border-radius: var(--radius-lg);
    }

    .vs-loot-row .vs-loot-name[b-uvayhujwcg] {
        font-size: var(--ct-lg);
    }

    .vs-loot-row .vs-loot-rarity[b-uvayhujwcg] {
        letter-spacing: 0;
        text-transform: none;
        font-size: var(--ct-sm);
        font-weight: var(--font-weight-medium);
    }

.vs-loot-row-body[b-uvayhujwcg] {
    flex: 1;
    min-width: 0;
}

.vs-loot-short[b-uvayhujwcg] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--vs-verdict-ink);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
}

.vs-loot-short-ico[b-uvayhujwcg] {
    display: inline-flex;
    font-size: var(--ct-lg);
}

/* ---- Line -------------------------------------------------------------- */

.vs-loot-line[b-uvayhujwcg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    row-gap: 2px;
    min-width: 0;
    font-size: var(--ct-md);
}

.vs-loot-diamond[b-uvayhujwcg] {
    flex: none;
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    background: var(--vs-rarity);
}

.vs-loot-line-name[b-uvayhujwcg] {
    min-width: 0;
    overflow-wrap: anywhere;
    color: color-mix(in srgb, var(--vs-rarity) 65%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.vs-loot-line-kind[b-uvayhujwcg] {
    flex: none;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-sr-only[b-uvayhujwcg] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes vs-loot-deal-b-uvayhujwcg {
    from {
        opacity: 0;
        transform: translateY(18px) rotate(-2deg) scale(0.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-loot-card[b-uvayhujwcg],
    .vs-loot-row[b-uvayhujwcg] {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryMedallion.razor.rz.scp.css */
/* Hex portrait: a class-colored rim around a dark core. clip-path draws the hex, so no glyphs. */
.vs-med[b-44xnkcs4th] {
    --vs-hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: var(--vs-hex);
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--vs-accent) 55%, var(--color-text-primary)),
        var(--vs-accent) 50%,
        color-mix(in srgb, var(--vs-accent) 45%, var(--color-bg-base)));
}

.vs-med-inner[b-44xnkcs4th] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    clip-path: var(--vs-hex);
    background: radial-gradient(circle at 50% 38%, var(--color-gray-800), var(--color-bg-base));
}

.vs-med-glyph[b-44xnkcs4th] {
    display: inline-flex;
    color: color-mix(in srgb, var(--vs-accent) 70%, var(--color-text-primary));
}

.vs-med--small[b-44xnkcs4th] {
    width: 44px;
    height: 50px;
}

    .vs-med--small .vs-med-glyph[b-44xnkcs4th] {
        font-size: var(--ct-2xl);
    }

.vs-med--medium[b-44xnkcs4th] {
    width: 54px;
    height: 60px;
}

    .vs-med--medium .vs-med-glyph[b-44xnkcs4th] {
        font-size: var(--ct-4xl);
    }

.vs-med--large[b-44xnkcs4th] {
    width: 84px;
    height: 94px;
}

    .vs-med--large .vs-med-inner[b-44xnkcs4th] {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }

    .vs-med--large .vs-med-glyph[b-44xnkcs4th] {
        font-size: var(--ct-6xl);
    }

@media (max-width: 768px) {
    .vs-med--large[b-44xnkcs4th] {
        width: 64px;
        height: 72px;
    }

        .vs-med--large .vs-med-glyph[b-44xnkcs4th] {
            font-size: var(--ct-5xl);
        }
}

/* A short window (960 high and under): the band's hex takes the phone's size, so the band is not taller than its text. */
@media (max-height: 960px) {
    .vs-med--large[b-44xnkcs4th] {
        width: 64px;
        height: 72px;
    }

        .vs-med--large .vs-med-glyph[b-44xnkcs4th] {
            font-size: var(--ct-5xl);
        }
}
/* /Components/Combat/Victory/VictoryOutcomeBanner.razor.rz.scp.css */
.vs-outcome[b-2jwoajc9gw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.vs-outcome-emblem[b-2jwoajc9gw] {
    width: 50px;
    height: 50px;
    animation: vs-outcome-rise-b-2jwoajc9gw 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 0ms both;
}

.vs-outcome-kicker[b-2jwoajc9gw] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-lg);
    letter-spacing: 0.34em;
    text-transform: uppercase;
    animation: vs-outcome-rise-b-2jwoajc9gw 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 0ms both;
}

.vs-outcome-kicker-ico[b-2jwoajc9gw] {
    display: inline-flex;
    font-size: var(--ct-3xl);
}

/* The win word: huge, gold-gradient, tracked out. */
.vs-outcome-title[b-2jwoajc9gw] {
    margin: 0;
    padding-left: 0.16em;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 48%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 28px color-mix(in srgb, var(--color-primary) 35%, transparent));
    animation: vs-outcome-slam-b-2jwoajc9gw 620ms cubic-bezier(0.2, 1.3, 0.35, 1) 80ms both;
}

.vs-outcome.is-compact .vs-outcome-title[b-2jwoajc9gw] {
    font-size: clamp(2.4rem, 5.4vw, 4.25rem);
}

.vs-outcome.is-grand .vs-outcome-title[b-2jwoajc9gw] {
    padding-left: 0;
    font-size: clamp(2.2rem, 5.5vw, 3.9rem);
    letter-spacing: 0.04em;
    line-height: 1.05;
    text-transform: none;
}

.vs-outcome.is-spectator .vs-outcome-title[b-2jwoajc9gw] {
    font-size: clamp(2rem, 5vw, 3.6rem);
    letter-spacing: 0.08em;
}

.vs-outcome-subtitle[b-2jwoajc9gw] {
    margin: 2px 0 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    font-size: var(--ct-2xl);
    letter-spacing: 0.04em;
    animation: vs-outcome-rise-b-2jwoajc9gw 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 260ms both;
}

.vs-outcome.is-grand .vs-outcome-subtitle[b-2jwoajc9gw] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    font-size: var(--ct-lg);
    letter-spacing: 0;
    color: var(--color-text-lighter);
}

.vs-outcome-facts[b-2jwoajc9gw] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-light);
    font-size: var(--ct-md);
    animation: vs-outcome-rise-b-2jwoajc9gw 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 360ms both;
}

.vs-outcome.is-grand .vs-outcome-facts[b-2jwoajc9gw] {
    gap: 10px;
}

.vs-fact[b-2jwoajc9gw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vs-outcome.is-grand .vs-fact[b-2jwoajc9gw] {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
}

.vs-fact-ico[b-2jwoajc9gw] {
    display: inline-flex;
    font-size: var(--ct-xl);
    color: var(--color-text-secondary);
}

.vs-fact--gold .vs-fact-ico[b-2jwoajc9gw] {
    color: var(--color-warning-bright);
}

.vs-fact--danger .vs-fact-ico[b-2jwoajc9gw] {
    color: var(--color-danger-light);
}

.vs-fact--success .vs-fact-ico[b-2jwoajc9gw] {
    color: var(--color-success-light);
}

.vs-fact--info .vs-fact-ico[b-2jwoajc9gw] {
    color: var(--color-info-light);
}

/* The battle report's chip (combat log redesign section 5): the last fact, a quiet gold pill that is a button. */
.vs-fact-report[b-2jwoajc9gw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 2px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
    font: inherit;
    cursor: pointer;
}

    .vs-fact-report .vs-fact-ico[b-2jwoajc9gw] {
        color: var(--color-primary);
    }

    .vs-fact-report:hover[b-2jwoajc9gw] {
        background: color-mix(in srgb, var(--color-primary) 12%, transparent);
        border-color: var(--color-primary);
    }

    .vs-fact-report:focus-visible[b-2jwoajc9gw] {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

@media (pointer: coarse) {
    .vs-fact-report[b-2jwoajc9gw] {
        min-height: 44px;
    }
}

.vs-outcome-notice[b-2jwoajc9gw] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 640px;
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 85%, transparent);
    text-align: left;
    animation: vs-outcome-rise-b-2jwoajc9gw 420ms cubic-bezier(0.2, 0.8, 0.2, 1) 420ms both;
}

.vs-outcome-notice-ico[b-2jwoajc9gw] {
    display: inline-flex;
    font-size: var(--ct-3xl);
    color: var(--color-text-secondary);
}

.vs-outcome-notice-main[b-2jwoajc9gw],
.vs-outcome-notice-detail[b-2jwoajc9gw] {
    margin: 0;
}

.vs-outcome-notice-main[b-2jwoajc9gw] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--ct-base);
}

.vs-outcome-notice-detail[b-2jwoajc9gw] {
    margin-top: 2px;
    color: var(--color-text-light);
    font-size: var(--ct-md);
}

@keyframes vs-outcome-slam-b-2jwoajc9gw {
    from {
        opacity: 0;
        transform: scale(1.18);
        letter-spacing: 0.4em;
    }
}

@keyframes vs-outcome-rise-b-2jwoajc9gw {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

@media (max-width: 480px) {
    .vs-outcome-title[b-2jwoajc9gw] {
        letter-spacing: 0.08em;
    }

    .vs-outcome-facts[b-2jwoajc9gw] {
        gap: 6px 12px;
    }
}

/* A short window (960 high and under): the emblem above the word goes, and the word follows the window's height as
   well as its width, so the banner leaves the band and the spoils their room (see VictoryScreen.razor.css). */
@media (max-height: 960px) {
    .vs-outcome-emblem[b-2jwoajc9gw] {
        display: none;
    }

    .vs-outcome-title[b-2jwoajc9gw] {
        font-size: clamp(2.4rem, min(7vw, 10vh), 5.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-outcome-emblem[b-2jwoajc9gw],
    .vs-outcome-kicker[b-2jwoajc9gw],
    .vs-outcome-title[b-2jwoajc9gw],
    .vs-outcome-subtitle[b-2jwoajc9gw],
    .vs-outcome-facts[b-2jwoajc9gw],
    .vs-outcome-notice[b-2jwoajc9gw] {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryOverflowMenu.razor.rz.scp.css */
.vs-menu[b-3ylz5wp313] {
    position: relative;
    flex: none;
}

.vs-menu-toggle[b-3ylz5wp313] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--color-text-light);
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}

    .vs-menu-toggle:hover[b-3ylz5wp313] {
        border-color: var(--color-border-active);
        background: color-mix(in srgb, var(--color-gray-800) 80%, transparent);
    }

    .vs-menu-toggle:focus-visible[b-3ylz5wp313],
    .vs-menu-item:focus-visible[b-3ylz5wp313] {
        outline: 2px solid var(--color-primary);
        outline-offset: 2px;
    }

.vs-menu-toggle-ico[b-3ylz5wp313] {
    display: inline-flex;
    font-size: var(--ct-3xl);
}

.vs-menu-scrim[b-3ylz5wp313] {
    position: fixed;
    inset: 0;
    z-index: 1;
}

.vs-menu-list[b-3ylz5wp313] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 2;
    min-width: 240px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-hover);
    background: var(--color-gray-900);
    box-shadow: var(--shadow-md);
}

.vs-menu-item[b-3ylz5wp313] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--ct-base);
    text-align: left;
    cursor: pointer;
}

    .vs-menu-item:hover[b-3ylz5wp313] {
        background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    }

    .vs-menu-item:disabled[b-3ylz5wp313] {
        opacity: 0.5;
        cursor: progress;
    }

.vs-menu-item-ico[b-3ylz5wp313] {
    display: inline-flex;
    font-size: var(--ct-2xl);
    color: var(--color-text-secondary);
}

.vs-menu-item-text[b-3ylz5wp313] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.vs-menu-item-sub[b-3ylz5wp313] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}
/* /Components/Combat/Victory/VictoryPartyMemberCard.razor.rz.scp.css */
/* Desktop: a portrait column. Tablet (1024 and below): a horizontal row card. */
.vs-member[b-p3vzitn8kl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--vs-accent) 16%, var(--color-gray-900)) 0%, var(--color-gray-900) 30%, color-mix(in srgb, var(--color-gray-900) 85%, var(--color-bg-base)) 100%);
    animation: vs-member-rise-b-p3vzitn8kl 520ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--vs-delay, 520ms) both;
}

.vs-member.is-fled[b-p3vzitn8kl] {
    background: color-mix(in srgb, var(--color-gray-900) 85%, var(--color-bg-base));
}

.vs-member-head[b-p3vzitn8kl] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.vs-member-id[b-p3vzitn8kl] {
    min-width: 0;
}

.vs-member-name[b-p3vzitn8kl] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-xl);
    overflow-wrap: anywhere;
}

.vs-member-class[b-p3vzitn8kl] {
    color: color-mix(in srgb, var(--vs-accent) 55%, var(--color-text-primary));
    font-size: var(--ct-sm);
}

.vs-member-body[b-p3vzitn8kl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.vs-member-vitals[b-p3vzitn8kl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.vs-member-xp-amount[b-p3vzitn8kl] {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-2xl);
}

.vs-member-xp-none[b-p3vzitn8kl] {
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
    font-style: italic;
}

.vs-member-section[b-p3vzitn8kl] {
    margin: 0 0 6px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vs-member-loot-list[b-p3vzitn8kl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vs-member-loot-none[b-p3vzitn8kl] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.vs-member-ready[b-p3vzitn8kl] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
}

    .vs-member-ready.is-ready[b-p3vzitn8kl] {
        color: var(--color-success-light);
    }

    .vs-member-ready.is-away[b-p3vzitn8kl] {
        color: var(--color-text-secondary);
        font-weight: var(--font-weight-normal);
    }

.vs-member-ready-ico[b-p3vzitn8kl] {
    display: inline-flex;
    font-size: var(--ct-xl);
}

.vs-member-ready--foot[b-p3vzitn8kl] {
    margin-top: auto;
}

.vs-member-ready--inline[b-p3vzitn8kl] {
    display: none;
    margin-left: auto;
}

@keyframes vs-member-rise-b-p3vzitn8kl {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

@media (max-width: 1024px) {
    .vs-member[b-p3vzitn8kl] {
        padding: 10px 16px;
        gap: 7px;
        background: linear-gradient(90deg, color-mix(in srgb, var(--vs-accent) 14%, var(--color-gray-900)) 0%, var(--color-gray-900) 40%, color-mix(in srgb, var(--color-gray-900) 85%, var(--color-bg-base)) 100%);
    }

    .vs-member-body[b-p3vzitn8kl] {
        display: grid;
        grid-template-columns: minmax(0, 170px) minmax(0, 130px) minmax(0, 1fr);
        gap: 16px;
        align-items: start;
    }

    .vs-member-vitals[b-p3vzitn8kl] {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .vs-member-xp-amount[b-p3vzitn8kl] {
        font-size: var(--ct-xl);
    }

    .vs-member-ready--inline[b-p3vzitn8kl] {
        display: flex;
    }

    .vs-member-ready--foot[b-p3vzitn8kl] {
        display: none;
    }
}

@media (max-width: 480px) {
    .vs-member-body[b-p3vzitn8kl] {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-member[b-p3vzitn8kl] {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryRewardsBand.razor.rz.scp.css */
.vs-band[b-yhwm8vh8kg] {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 16px 24px;
    border-radius: var(--radius-3xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 70%, var(--color-bg-base)), color-mix(in srgb, var(--color-gray-900) 94%, transparent));
    box-shadow: 0 18px 50px color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    animation: vs-band-rise-b-yhwm8vh8kg 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 360ms both;
}

.vs-band.has-level-up[b-yhwm8vh8kg] {
    grid-template-columns: 170px minmax(0, 1fr) minmax(0, 290px);
}

.vs-band-hero[b-yhwm8vh8kg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    text-align: center;
}

.vs-band-name[b-yhwm8vh8kg] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-lg);
}

.vs-band-class[b-yhwm8vh8kg] {
    margin-top: -4px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-band-xp[b-yhwm8vh8kg] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.vs-band-xp-head[b-yhwm8vh8kg] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}

.vs-band-xp-amount[b-yhwm8vh8kg] {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-5xl);
    line-height: 1;
}

.vs-band-xp-parts[b-yhwm8vh8kg] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

    .vs-band-xp-parts .is-bonus[b-yhwm8vh8kg] {
        color: var(--color-primary-light);
    }

.vs-band-sep[b-yhwm8vh8kg] {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

@keyframes vs-band-rise-b-yhwm8vh8kg {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

@media (max-width: 1024px) {
    .vs-band[b-yhwm8vh8kg] {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 22px;
        padding: 14px 20px;
    }

    .vs-band.has-level-up[b-yhwm8vh8kg] {
        grid-template-columns: 120px minmax(0, 1fr) minmax(0, 246px);
    }
}

@media (max-width: 960px) {
    .vs-band.has-level-up[b-yhwm8vh8kg] {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .vs-band-levelup[b-yhwm8vh8kg] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .vs-band[b-yhwm8vh8kg],
    .vs-band.has-level-up[b-yhwm8vh8kg] {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .vs-band-hero[b-yhwm8vh8kg] {
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }

    .vs-band-class[b-yhwm8vh8kg] {
        margin-top: 0;
    }
}

@media (max-height: 960px) {
    .vs-band[b-yhwm8vh8kg] {
        padding-block: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-band[b-yhwm8vh8kg] {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryScreen.razor.rz.scp.css */
/* ==========================================================================
   Triumph victory screen: a full-screen layer over the battlefield.
   Below the Try-Your-New-Gear modal (z 10000) so that modal opens on top.
   ========================================================================== */

.vs-screen[b-7l9wvt4log] {
    position: fixed;
    inset: 0;
    z-index: 9998;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        radial-gradient(ellipse 58% 46% at 50% 14%, color-mix(in srgb, var(--color-primary) 17%, transparent), transparent 72%),
        radial-gradient(ellipse 120% 90% at 50% 50%, color-mix(in srgb, var(--color-bg-base) 92%, var(--color-gray-800)) 0%, color-mix(in srgb, var(--color-bg-base) 55%, black) 100%);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    animation: vs-screen-in-b-7l9wvt4log 280ms ease-out both;
}

    .vs-screen:focus[b-7l9wvt4log] {
        outline: none;
    }

.vs-screen.vs-kind-complete[b-7l9wvt4log] {
    background:
        radial-gradient(ellipse 70% 52% at 50% 14%, color-mix(in srgb, var(--color-primary) 24%, transparent), transparent 72%),
        radial-gradient(ellipse 120% 90% at 50% 50%, color-mix(in srgb, var(--color-bg-base) 85%, var(--color-gray-800)) 0%, color-mix(in srgb, var(--color-bg-base) 55%, black) 100%);
}

.vs-screen.is-spectator[b-7l9wvt4log] {
    background: radial-gradient(ellipse 120% 90% at 50% 40%, color-mix(in srgb, var(--color-bg-base) 92%, var(--color-gray-800)) 0%, color-mix(in srgb, var(--color-bg-base) 55%, black) 100%);
}

/* Slowly turning sunburst behind the title. Decorative only. */
/* Off-screen but focusable: they only bounce Tab back into the dialog. */
.vs-focus-sentinel[b-7l9wvt4log] {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.vs-backdrop[b-7l9wvt4log] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.vs-rays[b-7l9wvt4log] {
    position: absolute;
    left: 50%;
    top: -560px;
    width: 1400px;
    height: 1400px;
    margin-left: -700px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--color-primary) 9%, transparent) 0deg 5deg, transparent 5deg 15deg);
    -webkit-mask-image: radial-gradient(circle, black 0%, transparent 46%);
    mask-image: radial-gradient(circle, black 0%, transparent 46%);
    animation: vs-rays-b-7l9wvt4log 90s linear infinite;
}

.vs-stage[b-7l9wvt4log] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 32px 0;
}

.vs-topbar[b-7l9wvt4log] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* ---- Section titles: tracked gold caps between two hairlines ------------- */

.vs-section[b-7l9wvt4log] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.vs-section-title[b-7l9wvt4log] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-md);
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

    .vs-section-title[b-7l9wvt4log]::before,
    .vs-section-title[b-7l9wvt4log]::after {
        content: "";
        width: 110px;
        height: 1px;
        background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-primary) 60%, transparent));
    }

    .vs-section-title[b-7l9wvt4log]::after {
        background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 60%, transparent), transparent);
    }

.vs-subhead[b-7l9wvt4log] {
    align-self: stretch;
    margin: 4px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vs-class-closing[b-7l9wvt4log] {
    align-self: stretch;
    margin: 0;
    padding: 10px 14px;
    border-left: 3px solid var(--color-gold);
    border-radius: 0 6px 6px 0;
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.6;
}

.vs-empty[b-7l9wvt4log] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-base);
}

/* ---- Single-player spoils row --------------------------------------------- */

.vs-spoils-row[b-7l9wvt4log] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.vs-spoils-slot[b-7l9wvt4log] {
    flex: 0 1 212px;
    min-width: 0;
    min-height: 178px;
}

    .vs-spoils-slot.is-coin[b-7l9wvt4log] {
        flex-basis: 160px;
    }

.vs-coin[b-7l9wvt4log] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 14px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 14%, var(--color-gray-900)) 0%, var(--color-gray-900) 60%);
    text-align: center;
    animation: vs-screen-deal-b-7l9wvt4log 520ms cubic-bezier(0.2, 0.9, 0.3, 1) var(--vs-delay, 900ms) both;
}

.vs-coin-ico[b-7l9wvt4log] {
    display: inline-flex;
    font-size: var(--ct-6xl);
    color: var(--color-primary);
}

.vs-coin-amount[b-7l9wvt4log] {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-4xl);
}

.vs-coin-label[b-7l9wvt4log] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-companion-line[b-7l9wvt4log] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: -8px 0 0;
    color: var(--color-text-light);
    font-size: var(--ct-md);
}

.vs-companion-ico[b-7l9wvt4log] {
    display: inline-flex;
    font-size: var(--ct-xl);
    color: var(--color-warning-bright);
}

/* ---- Adventure complete: hero | relics | honors ---------------------------- */

.vs-complete[b-7l9wvt4log] {
    display: grid;
    grid-template-columns: minmax(0, 288px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

    .vs-complete.has-honors[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 288px) minmax(0, 1fr) minmax(0, 288px);
    }

.vs-complete-rewards[b-7l9wvt4log] {
    align-items: stretch;
}

    .vs-complete-rewards .vs-section-title[b-7l9wvt4log] {
        align-self: center;
    }

.vs-relics-row[b-7l9wvt4log] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
}

.vs-rows[b-7l9wvt4log] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    width: 100%;
}

/* ---- Multiplayer lineup: you, then the party ------------------------------ */

.vs-lineup[b-7l9wvt4log] {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.vs-party[b-7l9wvt4log] {
    display: grid;
    grid-template-columns: repeat(var(--vs-party-count, 3), minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
}

/* With nobody else in the party the house fills the lineup's right column, stacked like the party's cards on a narrower screen */
.vs-lineup-house[b-7l9wvt4log] {
    display: grid;
    align-content: start;
    min-width: 0;
}

/* ---- Footer: always reachable. Sticky, so on a short screen (a laptop at 768
   high, a tablet, a phone) the one next action never scrolls out of view; it keeps
   its own place in the flow, so scrolling to the end uncovers everything. It is a solid
   dock with a hairline, not a fade: whenever the content outgrows the window (a short
   window, or a big drop on a tall one) the bar covers the cards below it, and a fade let
   their words show through the buttons. ---------------------------------------------- */

.vs-footer[b-7l9wvt4log] {
    position: sticky;
    bottom: 0;
    z-index: 0;
    margin-top: auto;
    padding: 14px 0 18px;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 96%, var(--color-gray-800));
}

/* ---- Reveal control --------------------------------------------------------
   Every staged element animates from hidden to its natural state, so turning
   the animation off (skip, or reduced motion) shows the finished screen. */

.vs-screen.is-revealed[b-7l9wvt4log]  .vs-reveal,
.vs-screen.is-revealed .vs-reveal[b-7l9wvt4log] {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .vs-screen[b-7l9wvt4log],
    .vs-screen[b-7l9wvt4log]  .vs-reveal,
    .vs-screen[b-7l9wvt4log]  .vs-ambient,
    .vs-coin[b-7l9wvt4log] {
        animation: none !important;
    }

    .vs-rays[b-7l9wvt4log] {
        display: none;
    }
}

@keyframes vs-screen-in-b-7l9wvt4log {
    from {
        opacity: 0;
    }
}

@keyframes vs-screen-deal-b-7l9wvt4log {
    from {
        opacity: 0;
        transform: translateY(18px) rotate(-2deg) scale(0.96);
    }
}

@keyframes vs-rays-b-7l9wvt4log {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Tablet (1024) ------------------------------------------------------------ */

@media (max-width: 1024px) {
    .vs-stage[b-7l9wvt4log] {
        gap: 18px;
        padding: 16px 24px 0;
    }

    .vs-lineup[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 388px) minmax(0, 1fr);
    }

    .vs-party[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .vs-complete[b-7l9wvt4log],
    .vs-complete.has-honors[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    }

    .vs-complete-honors[b-7l9wvt4log] {
        grid-column: 1 / -1;
    }

    .vs-spoils-slot[b-7l9wvt4log] {
        flex-basis: 200px;
        min-height: 170px;
    }

        .vs-spoils-slot.is-coin[b-7l9wvt4log] {
            flex-basis: 136px;
        }
}

@media (max-width: 960px) {
    .vs-lineup[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Phones (768 / 480) ------------------------------------------------------- */

@media (max-width: 768px) {
    .vs-stage[b-7l9wvt4log] {
        gap: 16px;
        padding: 14px 16px 0;
    }

    .vs-complete[b-7l9wvt4log],
    .vs-complete.has-honors[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 1fr);
    }

    .vs-spoils-row[b-7l9wvt4log] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vs-spoils-slot[b-7l9wvt4log],
    .vs-spoils-slot.is-coin[b-7l9wvt4log] {
        min-height: 0;
    }

    .vs-section-title[b-7l9wvt4log]::before,
    .vs-section-title[b-7l9wvt4log]::after {
        width: 48px;
    }

    .vs-rays[b-7l9wvt4log] {
        top: -700px;
    }

}

@media (max-width: 480px) {
    .vs-spoils-row[b-7l9wvt4log] {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---- Short windows (960 high and under: the design system's one height breakpoint) ---------------------------------
   The headline block, the rewards band, the spoils and the footer add up to about 890px, so on a laptop window
   (1366x657, 1280x720) the sticky footer sat on the Spoils cards. Here the stage gives back vertical room (tighter
   gaps and a slimmer footer; the banner, band and action bar trim themselves in their own sheets) so the first row
   of spoils clears the bar; what still does not fit is cut cleanly at the dock's edge and scrolls clear above it,
   because the footer keeps its own slot at the end of the flow. ------------------------------------------------- */

@media (max-height: 960px) {
    .vs-stage[b-7l9wvt4log] {
        gap: 10px;
        padding-top: 10px;
    }

    .vs-section[b-7l9wvt4log] {
        gap: 8px;
    }

    .vs-footer[b-7l9wvt4log] {
        padding: 10px 0 12px;
    }
}
/* /Components/Combat/Victory/VictoryTagList.razor.rz.scp.css */
.vs-tags[b-cp4qkd1pfo] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vs-tag[b-cp4qkd1pfo] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--vs-tag-border, var(--color-border-subtle));
    background: var(--vs-tag-bg, transparent);
    color: var(--vs-tag-ink, var(--color-text-light));
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
}

.vs-tag-ico[b-cp4qkd1pfo] {
    display: inline-flex;
    font-size: var(--ct-base);
}

.vs-tag--neutral[b-cp4qkd1pfo] {
    --vs-tag-ink: var(--color-text-light);
    --vs-tag-bg: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    --vs-tag-border: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
}

.vs-tag--gold[b-cp4qkd1pfo] {
    --vs-tag-ink: var(--color-warning-bright);
    --vs-tag-bg: color-mix(in srgb, var(--color-warning) 12%, transparent);
    --vs-tag-border: color-mix(in srgb, var(--color-warning) 40%, transparent);
}

.vs-tag--success[b-cp4qkd1pfo] {
    --vs-tag-ink: var(--color-success-light);
    --vs-tag-bg: color-mix(in srgb, var(--color-success) 14%, transparent);
    --vs-tag-border: color-mix(in srgb, var(--color-success) 40%, transparent);
}

.vs-tag--danger[b-cp4qkd1pfo] {
    --vs-tag-ink: var(--color-danger-light);
    --vs-tag-bg: color-mix(in srgb, var(--color-danger) 12%, transparent);
    --vs-tag-border: color-mix(in srgb, var(--color-danger) 40%, transparent);
}

.vs-tag--info[b-cp4qkd1pfo] {
    --vs-tag-ink: var(--color-info-lightest);
    --vs-tag-bg: color-mix(in srgb, var(--color-rogue) 18%, transparent);
    --vs-tag-border: color-mix(in srgb, var(--color-rogue-light) 45%, transparent);
}

/* Solid pill for the one state that matters most on a card (Revived). Dark ink on a light fill. */
.vs-tag.is-solid[b-cp4qkd1pfo] {
    color: var(--color-bg-base);
    background: var(--vs-tag-ink);
    border-color: transparent;
}
/* /Components/Combat/Victory/VictoryTrail.razor.rz.scp.css */
.vs-trail[b-k4jvvcnq22] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    min-width: 0;
}

.vs-trail-name[b-k4jvvcnq22] {
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: var(--ct-base);
    letter-spacing: 0.06em;
}

.vs-trail-pips[b-k4jvvcnq22] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vs-pip[b-k4jvvcnq22] {
    width: 13px;
    height: 15px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
}

.vs-pip--cleared[b-k4jvvcnq22] {
    background: var(--color-primary-dark);
}

.vs-pip--just[b-k4jvvcnq22] {
    background: var(--color-primary);
}

.vs-trail-label[b-k4jvvcnq22] {
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

@media (max-width: 480px) {
    .vs-trail-name[b-k4jvvcnq22] {
        flex-basis: 100%;
    }
}
/* /Components/Combat/Victory/VictoryXpBar.razor.rz.scp.css */
.vs-xp[b-of0zo67cxj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.vs-xp-row[b-of0zo67cxj] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vs-xp-level[b-of0zo67cxj] {
    flex: none;
    width: 3.2em;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.vs-xp-track[b-of0zo67cxj] {
    position: relative;
    flex: 1;
    height: 16px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border-subtle);
    background: var(--color-gray-850);
}

.vs-xp.is-compact .vs-xp-track[b-of0zo67cxj] {
    height: 10px;
    border-radius: 5px;
}

.vs-xp-before[b-of0zo67cxj] {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(180deg, var(--color-primary-darker), color-mix(in srgb, var(--color-primary-darker) 75%, var(--color-bg-base)));
}

.vs-xp-gain[b-of0zo67cxj] {
    position: absolute;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 55%, var(--color-primary-dark));
    box-shadow: var(--shadow-gold);
    transform-origin: left center;
    animation: vs-xp-fill-b-of0zo67cxj 900ms cubic-bezier(0.25, 0.8, 0.3, 1) 650ms both;
}

.vs-xp-sheen[b-of0zo67cxj] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 22%;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-text-primary) 55%, transparent), transparent);
    animation: vs-xp-sheen-b-of0zo67cxj 2.6s ease-in-out 1.6s infinite;
    opacity: 0;
}

/* The next level's hex badge lights up once the bar has filled. */
.vs-xp-badge[b-of0zo67cxj] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.83em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: var(--ct-sm);
    animation: vs-xp-badge-b-of0zo67cxj 420ms cubic-bezier(0.2, 1.4, 0.4, 1) 1500ms both;
}

.vs-xp-caption[b-of0zo67cxj] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 12px;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-xp:not(.is-compact) .vs-xp-caption[b-of0zo67cxj] {
    padding-left: calc(3.2em + 10px);
}

.vs-xp.is-level-up:not(.is-compact) .vs-xp-caption[b-of0zo67cxj] {
    padding-right: 40px;
}

.vs-xp-caption-main[b-of0zo67cxj] {
    margin-left: auto;
}

.vs-xp-legend[b-of0zo67cxj] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vs-xp-swatch[b-of0zo67cxj] {
    width: 10px;
    height: 8px;
    border-radius: 2px;
}

    .vs-xp-swatch.is-before[b-of0zo67cxj] {
        background: var(--color-primary-darker);
    }

    .vs-xp-swatch.is-gain[b-of0zo67cxj] {
        background: var(--color-primary);
    }

@keyframes vs-xp-fill-b-of0zo67cxj {
    from {
        transform: scaleX(0);
    }
}

@keyframes vs-xp-badge-b-of0zo67cxj {
    from {
        transform: scale(0.4);
        opacity: 0;
    }
}

@keyframes vs-xp-sheen-b-of0zo67cxj {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateX(520%);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-xp-gain[b-of0zo67cxj],
    .vs-xp-badge[b-of0zo67cxj],
    .vs-xp-sheen[b-of0zo67cxj] {
        animation: none;
    }
}
/* /Components/Combat/Victory/VictoryYouCard.razor.rz.scp.css */
.vs-you[b-7xg0dqdozc] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
    padding: 16px 18px;
    border-radius: var(--radius-3xl);
    border: 1.5px solid var(--color-primary);
    background: linear-gradient(180deg, color-mix(in srgb, var(--vs-accent) 20%, var(--color-gray-900)) 0%, var(--color-gray-900) 34%, color-mix(in srgb, var(--color-gray-900) 85%, var(--color-bg-base)) 100%);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 10%, transparent), 0 20px 50px color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    animation: vs-you-rise-b-7xg0dqdozc 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 360ms both;
}

.vs-you.is-summary[b-7xg0dqdozc] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
    box-shadow: none;
}

.vs-you.is-fled[b-7xg0dqdozc] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    box-shadow: none;
}

.vs-you-badge[b-7xg0dqdozc] {
    position: absolute;
    top: -11px;
    left: 18px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vs-you.is-fled .vs-you-badge[b-7xg0dqdozc] {
    background: var(--color-text-light);
}

.vs-you-head[b-7xg0dqdozc] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vs-you-id[b-7xg0dqdozc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.vs-you-name[b-7xg0dqdozc] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-2xl);
    overflow-wrap: anywhere;
}

.vs-you-class[b-7xg0dqdozc] {
    color: color-mix(in srgb, var(--vs-accent) 55%, var(--color-text-primary));
    font-size: var(--ct-sm);
}

.vs-you-vitals[b-7xg0dqdozc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vs-you-rule[b-7xg0dqdozc] {
    height: 1px;
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.vs-you-xp[b-7xg0dqdozc] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
}

.vs-you-xp-amount[b-7xg0dqdozc] {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-5xl);
    line-height: 1;
}

.vs-you.is-summary .vs-you-xp-amount[b-7xg0dqdozc] {
    font-size: var(--ct-6xl);
}

/* A recovered victory: the rewards were granted but aren't listed, so the line is quieter than "+N XP". */
.vs-you-xp-amount.is-unlisted[b-7xg0dqdozc] {
    color: var(--color-text-light);
    font-size: var(--ct-2xl);
}

.vs-you-coin[b-7xg0dqdozc] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    font-size: var(--ct-xl);
}

/* "Your share, split 4 ways" (house heroes W3, call 10): quiet, under the figure's weight. */
.vs-you-coin-split[b-7xg0dqdozc] {
    margin-left: 6px;
    color: var(--color-text-secondary);
    font: 400 var(--ct-sm) / 1.3 var(--font-primary);
}

.vs-you-coin-ico[b-7xg0dqdozc] {
    display: inline-flex;
    font-size: var(--ct-2xl);
}

.vs-you-parts[b-7xg0dqdozc] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    font-size: var(--ct-md);
}

.vs-you-part[b-7xg0dqdozc] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

    .vs-you-part dt[b-7xg0dqdozc] {
        color: var(--color-text-secondary);
    }

    .vs-you-part dd[b-7xg0dqdozc] {
        margin: 0;
        color: var(--color-text-primary);
        font-variant-numeric: tabular-nums;
    }

        .vs-you-part dd.is-bonus[b-7xg0dqdozc] {
            color: var(--color-primary);
            font-weight: var(--font-weight-semibold);
        }

.vs-you-purse[b-7xg0dqdozc] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vs-you-purse-ico[b-7xg0dqdozc] {
    display: inline-flex;
    font-size: var(--ct-5xl);
    color: var(--color-primary);
}

.vs-you-purse-amount[b-7xg0dqdozc] {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--ct-3xl);
}

.vs-you-purse-detail[b-7xg0dqdozc] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

.vs-you-section[b-7xg0dqdozc] {
    margin: 2px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vs-you-loot[b-7xg0dqdozc] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vs-you-empty[b-7xg0dqdozc] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-md);
}

.vs-you-companion[b-7xg0dqdozc] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--color-text-light);
    font-size: var(--ct-md);
}

.vs-you-companion-ico[b-7xg0dqdozc] {
    display: inline-flex;
    font-size: var(--ct-xl);
    color: var(--color-warning-bright);
}

.vs-you-nothing[b-7xg0dqdozc] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: var(--ct-md);
}

.vs-you-nothing-row[b-7xg0dqdozc] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

    .vs-you-nothing-row dt[b-7xg0dqdozc] {
        color: var(--color-text-secondary);
    }

    .vs-you-nothing-row dd[b-7xg0dqdozc] {
        margin: 0;
        color: var(--color-text-secondary);
        font-style: italic;
    }

@keyframes vs-you-rise-b-7xg0dqdozc {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vs-you[b-7xg0dqdozc] {
        animation: none;
    }
}
/* /Components/Combat/ZoneBattlefieldHex.razor.rz.scp.css */
/* ==========================================================================
   ZoneBattlefieldHex — pointy-top hex grid board, the one combat board every layout mounts
   TODO: Add BoardSize.Small layout at 32px hex for landscape phone (M4 milestone)
   ========================================================================== */

/* ---------- Zoom viewport (clips zoomed board, captures wheel) ---------- */

.board-zoom-viewport[b-nog2z1p06p] {
    position: relative;
    width: 100%;
    /* The stage spans the cell's full width (hex disc W1h, owner 13 Nov 2026: "fill the screen better"): the 1600px cap
       this box had since Phase 9 left bars of page colour beside the board on every window wider than about 1630px. The
       hexes still never grow cartoonish: boardSizing.js holds the plane to the width that draws a 60px disc, and the
       painted map and the backdrop fill the stage beyond it. */
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    /* Board geometry (hex disc build): the board is seen from straight above, no tilt and no headroom.
       boardSizing.js fits the plane plus the side labels' band (--board-label-band) into the cell and
       publishes --hex-px (the on-screen hex width), --disc-px (0.89 hex) and --disc-boss-px (1.15 discs)
       here, plus data-token-density from the drawn disc x zoom (full / standard / compact), which the
       disc's sheet (Board/TokenDisc.razor.css) reads. No drawn floor: a foe's whole hex is its target. */
    --board-label-band: 16px;
    /* A thin band over the plane, so a back-row token's halo, its turn rise and a boss disc's overflow are not cut by
       the viewport's top edge (W1 live check: a turn halo on row 0 lost 2px). The layouts pad the viewport's top by it
       and boardSizing.js leaves it out of the height it fits the plane to. */
    --board-top-band: 6px;
    /* The fight camera (hex disc W1d, boardCamera.js) frames inside this box, which clips: it fills the board's cell
       (boardSizing.js publishes the cell's free height), so a width-bound plane leaves the camera the room above and
       below it. The layouts centre the plane in it, so without the camera nothing moves. */
    box-sizing: border-box;
    min-height: var(--board-cell-h-px, auto);
}

/* Hex disc W1b (spec 3.10): the anchor is the disc's box, --disc-w wide and 1.1547 x that tall (a pointy-top
   hexagon). Its centre is the hex centre (its translate), so the VFX lookups land where they did. --disc-w is set on
   the anchor (its rule below), so a boss anchor's disc and every badge inside it scale together.
   A boss (W1d, bosses never touch): 1.15 discs, capped so two bosses side by side keep a gap of --boss-gap, the larger
   of 2 drawn px (divided by the user zoom, as the badges' px are) and 5% of the hex. Neighbouring hexes' centres are
   one hex width apart in every direction and the disc's edges are parallel to the hex's, so the gap between two boss
   discs is the hex width less the boss width: at least 2px at every size and zoom (Stone-Light Bastion fields four
   bosses a waypoint). The cap makes a boss about 1.07 discs on a large board, so its presence carries the rest
   (TokenDisc.razor.css: the heavier side ring, the boss mark, the darker shadow). HexDiscs/DiscBadgeGeometryTests
   computes the gap from these numbers. */
.hex-token-anchor.boss-token-anchor[b-nog2z1p06p] {
    --boss-gap: max(calc(2px / var(--board-zoom, 1)), calc(var(--hex-px, 44px) * 0.05));
    --disc-w: min(var(--disc-boss-px, calc(var(--disc-px, 39px) * 1.15)), calc(var(--hex-px, 44px) - var(--boss-gap)));
}

.board-zoom-viewport.panning[b-nog2z1p06p] {
    cursor: grabbing;
}

/* ---------- Board container (the user zoom's transform; the board is drawn top-down, no perspective) ---------- */

.board-iso-container[b-nog2z1p06p] {
    /* boardSizing.js writes --board-w-px / --board-h-px on .board-zoom-viewport
       (which inherits down to here). Falls back to 100% width + auto height if
       the JS hasn't attached yet (initial render flicker is invisible since
       the SVG inside has its own aspect-ratio guard). */
    width: var(--board-w-px, 100%);
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    transition: transform 0.15s ease-out;
    transform-origin: 50% 50%;
    /* No will-change here (hex disc W1d): a will-change layer keeps the raster scale it was created at, so a board the
       fight camera zooms 2x would be a blurred 1x picture. The camera (boardCamera.js) and a pinch (boardTouch.js) set
       will-change inline only while they move it. */
}

/* VFX cleanup — Camera-pan layer.
   Owned exclusively by combat/index.js panToHex (via GSAP). Composes with the
   user-controlled scale+pan on the parent .board-iso-container so the two
   transforms never race. Default identity transform; GSAP tweens translate(x,y)
   to center the focused hex within .board-zoom-viewport. No transition here —
   GSAP supplies its own ease for snappy/smooth control. */
.board-camera-pan[b-nog2z1p06p] {
    width: 100%;
    height: 100%;
    transform: translate(0px, 0px);
}

@media (prefers-reduced-motion: reduce) {
    .board-camera-pan[b-nog2z1p06p] { transition: none !important; }
}

/* Disable transition during active pan for instant visual feedback */
.board-zoom-viewport.panning .board-iso-container[b-nog2z1p06p] {
    transition: none;
}

/* ---------- Zoom controls ---------- */

.board-zoom-controls[b-nog2z1p06p] {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 20;
}

.zoom-btn[b-nog2z1p06p] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(100, 90, 70, 0.25);
    background: rgba(20, 18, 14, 0.85);
    color: rgba(200, 190, 170, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
    backdrop-filter: blur(6px);
}

.zoom-btn:hover[b-nog2z1p06p] {
    background: rgba(40, 36, 28, 0.9);
    border-color: rgba(140, 130, 100, 0.4);
}

.zoom-btn .material-icons[b-nog2z1p06p] {
    font-size: var(--ct-xl);
    pointer-events: none;
}

/* ---------- The backdrop (the living board, board bible 5.1) ----------
   The place's own painting fills the letterbox around the diorama: the adventure's banner copy (the Arena's training
   yard), blurred, darkened to about a quarter and desaturated, so the real painting sits at the screen's edges and never
   competes with the board. Static: rasterized once (it sits outside the camera's zoomed box, so a camera move never
   repaints it).
   Hex disc W1h: on a painted map the backdrop IS the map (.is-map, the same file the frame draws, so nothing more is
   fetched), mirrored and flipped with the waypoint's variant, blurred and darkened less: where the frame's own melting
   edge ends before the stage does (a wide window, "Fit entire board"), the map's scenery carries on, softened, to the
   stage's edges, and a vignette closes the corners. Never a flat bar of page colour. */

.board-backdrop[b-nog2z1p06p] {
    position: absolute;
    inset: -48px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(24px) brightness(0.25) saturate(0.6);
    pointer-events: none;
}

.board-backdrop.is-map[b-nog2z1p06p] {
    filter: blur(14px) brightness(0.62) saturate(0.85);
}

/* The vignette: a plain layer over the blurred map (never inside the filter, whose blur would smear it outward). */
.board-backdrop-vignette[b-nog2z1p06p] {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 58%, color-mix(in srgb, var(--color-bg-base) 70%, transparent) 100%);
    pointer-events: none;
}

/* ---------- Board outer wrapper (the hex plane, seen from straight above) ---------- */

.board-hex-wrapper[b-nog2z1p06p] {
    position: relative;
    /* The plane is its own stacking context (top-down board: no transform makes it one any more). The back VFX canvas
       inside it has z-index 10, which must stay inside the plane, under the later token layer; without isolation it
       would compete in .board-camera-pan's context and paint its particles over the discs, the lift cards and the
       front canvas. */
    isolation: isolate;
    width: 100%;
    max-height: 100%;
    border-radius: 14px;
    overflow: hidden;
    /* The living board: the plane is see-through. The painted ground, the rim and the light are drawn under it by
       BoardDiorama, which also carries the frame's soft shadow (bible 9). */
    background: transparent;
}

/* ---------- SVG hex grid layer ---------- */

.board-hex-svg[b-nog2z1p06p] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ---- Hex cell base (the living board, bible 5.3) ----
   A cell is a thin wash over the painted ground with an inked grid line (1px, 75% black: 1.4-2.0:1 against the ground's
   mean). Every stroke is a non-scaling CSS-pixel stroke, so it stays crisp and thin at the 2x zoom. Colours are tokens;
   the pattern is the second cue (solid, dashed, dotted), so nothing rests on hue. */

.hex-cell[b-nog2z1p06p] {
    fill: transparent;
    stroke: color-mix(in srgb, black 75%, transparent);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
    shape-rendering: geometricPrecision;
    /* No fill / stroke transition (W1d polish, critique item 5): when a turn locks or opens, a hundred movable or
       attackable hexes change state at once, and a 0.2s transition on each SVG polygon restyled them every frame for
       twelve frames (124 "Animation" invalidations in the 4x Fireball trace), in the middle of the blast. A state on
       the grid snaps; motion lives on the discs and the FX canvas. */
    pointer-events: all;
    cursor: default;
}

/* Side washes (tokens, so the red-green palette reaches every biome board). W1d polish (director's critique item 8):
   at 7-12% the enemy wash turned every enemy half sepia, so forest, undead and fey looked alike on the right; the
   washes are about 4-6% now and the side is carried by the hex edges (a faint tint of the side's colour in the grid
   line) and the seam, so the biome's own ground reads on both halves. Every state class later in this file (movable,
   attackable, aim, threat) sets its own stroke and still wins by source order. */
.hex-cell.player-zone[b-nog2z1p06p] { fill: color-mix(in srgb, var(--combat-ground-ally-edge) 5%, transparent);
                        stroke: color-mix(in srgb, var(--combat-ground-ally-edge) 22%, color-mix(in srgb, black 75%, transparent)); }
.hex-cell.enemy-zone[b-nog2z1p06p]  { fill: color-mix(in srgb, var(--combat-ground-enemy-wash) 5%, transparent);
                        stroke: color-mix(in srgb, var(--combat-ground-enemy-wash) 24%, color-mix(in srgb, black 75%, transparent)); }

/* Zone steps of the wash (Rear darkest of the wash: the terrace lift in BoardDiorama brightens it instead). */
.hex-cell.zone-vanguard.player-zone[b-nog2z1p06p] { fill: color-mix(in srgb, var(--combat-ground-ally-edge) 6%, transparent); }
.hex-cell.zone-vanguard.enemy-zone[b-nog2z1p06p]  { fill: color-mix(in srgb, var(--combat-ground-enemy-wash) 6%, transparent); }
.hex-cell.zone-flank.player-zone[b-nog2z1p06p]    { fill: color-mix(in srgb, var(--combat-ground-ally-edge) 5%, transparent); }
.hex-cell.zone-flank.enemy-zone[b-nog2z1p06p]     { fill: color-mix(in srgb, var(--combat-ground-enemy-wash) 5%, transparent); }
.hex-cell.zone-rear.player-zone[b-nog2z1p06p]     { fill: color-mix(in srgb, var(--combat-ground-ally-edge) 4%, transparent); }
.hex-cell.zone-rear.enemy-zone[b-nog2z1p06p]      { fill: color-mix(in srgb, var(--combat-ground-enemy-wash) 4%, transparent); }

/* ---- Zone states ---- */

.hex-cell.zone-current[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--combat-ground-ally-current-edge) 18%, transparent);
    stroke: var(--combat-ground-ally-current-edge);
    stroke-width: 1.25px;
}

.hex-cell.zone-full[b-nog2z1p06p] {
    opacity: 0.65;
    stroke-dasharray: 3 3;
}

/* ---- Barrier hexes ----
   The passable no-man's-land columns: no fill, the seam decal (BoardDiorama) shows through. The barrier pulse is retired
   (it repainted the whole grid every frame). */

.hex-cell.hex-barrier[b-nog2z1p06p] {
    fill: transparent;
    cursor: default;
    pointer-events: none;
}

/* Barrier hex is reachable this turn: clickable */
.hex-cell.hex-barrier.hex-movable-free[b-nog2z1p06p] {
    pointer-events: all;
    cursor: pointer;
}

/* ---- Hazard hexes: drawn as terrain (bible 8) ----
   The decal (BoardHazardDecals, the shared pack) fills the hex under its wash; the cell carries the hazard's outer edge
   and a thin inner line sits two units in, so the double edge reads on any ground; a corner badge names it. The CSS
   flicker is retired: a hazard breathes only on the back canvas. Hazard colours are identity (the design skill). */

.hex-hazard-decal[b-nog2z1p06p],
.hex-hazard-inner[b-nog2z1p06p],
.hex-difficult-ticks[b-nog2z1p06p] {
    pointer-events: none;
}

.hex-hazard-inner[b-nog2z1p06p] {
    fill: none;
    stroke-width: 0.6px;
    vector-effect: non-scaling-stroke;
    stroke-opacity: 0.8;
}

.hex-difficult-ticks[b-nog2z1p06p] {
    fill: none;
    stroke-width: 1.25px;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
}

.hex-cell.hex-hazard[b-nog2z1p06p] { fill: transparent; stroke-width: 1.25px; }
.hex-cell.hex-hazard-fire[b-nog2z1p06p]    { stroke: rgba(255, 122,  47, 1); }
.hex-cell.hex-hazard-ice[b-nog2z1p06p]     { stroke: rgba(150, 205, 255, 1); }
.hex-cell.hex-hazard-toxic[b-nog2z1p06p]   { stroke: rgba(150, 230,  60, 1); }
.hex-cell.hex-hazard-blessed[b-nog2z1p06p] { stroke: rgba(190, 240, 140, 1); }
.hex-cell.hex-hazard-arcane[b-nog2z1p06p]  { stroke: rgba(190, 150, 255, 1); }
.hex-cell.hex-hazard-rubble[b-nog2z1p06p]  { stroke: rgba(196, 188, 170, 1); }
.hex-cell.hex-hazard-dark[b-nog2z1p06p]    { stroke: rgba(160, 140, 220, 1); }
.hex-hazard-edge-fire[b-nog2z1p06p]    { stroke: rgba(255, 170, 110, 1); }
.hex-hazard-edge-ice[b-nog2z1p06p]     { stroke: rgba(210, 236, 255, 1); }
.hex-hazard-edge-toxic[b-nog2z1p06p]   { stroke: rgba(196, 250, 120, 1); }
.hex-hazard-edge-blessed[b-nog2z1p06p] { stroke: rgba(236, 252, 190, 1); }
.hex-hazard-edge-arcane[b-nog2z1p06p]  { stroke: rgba(222, 200, 255, 1); }
.hex-hazard-edge-rubble[b-nog2z1p06p]  { stroke: rgba(226, 220, 204, 1); }
.hex-hazard-edge-dark[b-nog2z1p06p]    { stroke: rgba(200, 186, 245, 1); }

/* The badge layer: a plain box over the plane, one icon per hazard hex at its upper-right corner. */
.board-hazard-badges[b-nog2z1p06p] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hazard-badge[b-nog2z1p06p] {
    position: absolute;
    transform: translate(-50%, -50%);
    width: clamp(12px, calc(var(--hex-px, 40px) * 0.3), 18px);
    height: clamp(12px, calc(var(--hex-px, 40px) * 0.3), 18px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, black 72%, transparent);
    border: 1px solid currentColor;
}

.hazard-badge .material-icons[b-nog2z1p06p] {
    font-size: clamp(9px, calc(var(--hex-px, 40px) * 0.22), 13px);
    line-height: 1;
}

.hex-hazard-badge-fire[b-nog2z1p06p]    { color: rgba(255, 150, 90, 1); }
.hex-hazard-badge-ice[b-nog2z1p06p]     { color: rgba(180, 220, 255, 1); }
.hex-hazard-badge-toxic[b-nog2z1p06p]   { color: rgba(170, 240, 90, 1); }
.hex-hazard-badge-blessed[b-nog2z1p06p] { color: rgba(220, 248, 160, 1); }
.hex-hazard-badge-arcane[b-nog2z1p06p]  { color: rgba(206, 176, 255, 1); }
.hex-hazard-badge-rubble[b-nog2z1p06p]  { color: rgba(214, 206, 188, 1); }
.hex-hazard-badge-dark[b-nog2z1p06p]    { color: rgba(186, 170, 240, 1); }

/* Hidden at compact density (the hex's tooltip and the lift card keep the words). */
.board-zoom-viewport[data-token-density="compact"] .hazard-badge[b-nog2z1p06p] {
    display: none;
}

/* ---- Movable hex highlights (shown during player's turn) ---- */

/* The Move slot's token (design-system.css): a 42% wash over the ground and a 1.5px edge. Steady here: the breath is the
   .board-state-pulse overlay's (compositor opacity), never a fill or filter animation on the grid. */
.hex-cell.hex-movable-free[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-eco-move) 42%, transparent);
    stroke: var(--color-eco-move);
    stroke-width: 1.5px;
    cursor: pointer;
}

/* A hex the hero could reach but a 5e Frightened forbids (Monsters to 5e B8): the control-status tone, dashed and
   still, so it reads "not here" next to the pulsing reachable hexes; the reason is in the hex's tooltip. */
.hex-cell.hex-feared[b-nog2z1p06p] {
    /* Lifted 25% toward white so the edge holds 3:1 on the brightest ground in both palettes (BoardKitAndAssetTests). */
    stroke: color-mix(in srgb, var(--color-status-control) 75%, white);
    stroke-width: 1.25px;
    stroke-dasharray: 2 1.5;
    cursor: not-allowed;
}

.movement-hint-condition[b-nog2z1p06p] {
    margin-left: 6px;
    color: var(--color-status-control);
}

/* A hex only a Dash reaches (the owner's LAN playtest, 14 Nov 2026: show the full Dash distance): the Move token as a
   faint wash and a dashed edge, still, so it reads as "with a Dash" beside the solid reachable hexes; the dash pattern
   carries it without hue (red-green palette). The edge is the token itself, never faded: it holds the 3:1 the state edges
   hold against the brightest ground (BoardKitAndAssetTests, --color-eco-move), which a 60% edge did not. Not a move target:
   no pointer cursor, a tap says what it needs. */
.hex-cell.hex-dash-reach[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-eco-move) 14%, transparent);
    stroke: var(--color-eco-move);
    stroke-width: 1.25px;
    stroke-dasharray: 3 2;
}

/* The hexes only a second Dash reaches (a Rogue or Monk with the action and the bonus action both free): the same band,
   sparser: a fainter wash and a dotted edge, so the nearer band reads first. */
.hex-cell.hex-dash-reach.hex-dash-reach-far[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-eco-move) 7%, transparent);
    stroke-dasharray: 1.5 2.5;
}

/* ---- Attackable hex highlight (enemy hexes with in-range targets) ----
   The Action slot's token (it was a literal orange and a glow filter). */

.hex-cell.hex-attackable[b-nog2z1p06p] {
    stroke: var(--color-eco-action);
    stroke-width: 1.25px;
}

/* ---- Board side labels (HTML, outside the SVG) ----
   A band of --board-label-band (16px) under the plane's front edge (top: 100% of the plane's box, the board
   container). boardSizing.js takes the band off the height it fits the plane into, and the layouts pad the
   viewport's bottom by it, so the labels stay in view under the board. Decorative. */

.board-side-labels[b-nog2z1p06p] {
    position: absolute;
    top: 100%;
    height: var(--board-label-band, 16px);
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    /* Near the middle of each side, clear of the corner controls (the touch tiers' touch buttons and zoom bar). */
    padding: 0 28%;
    box-sizing: border-box;
    z-index: 5;
}

.board-side-label[b-nog2z1p06p] {
    font-size: var(--ct-sm);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.board-side-label-player[b-nog2z1p06p] { color: var(--combat-ground-ally-label); }
.board-side-label-enemy[b-nog2z1p06p]  { color: rgba(210, 160, 110, 1.0); }

/* ---------- Token layer ---------- */
/* Separate from board-hex-wrapper so the tokens are not clipped by its overflow: hidden. A plain absolutely placed box
   over the plane: no transform and no z-index, so it creates no stacking context and an anchor's z-index competes
   directly with the front VFX wrapper's (top-down board, hex disc build). */

.board-token-layer[b-nog2z1p06p] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* ---------- HTML overlay layer ---------- */

.board-overlay[b-nog2z1p06p] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ---- Per-hex token anchor: positioned at the hex centre, the disc's box (above). Its class attribute and data-token-*
   are the VFX's contract (combat/index.js swaps the motion classes below on it). ---- */

.hex-token-anchor[b-nog2z1p06p] {
    --disc-w: var(--disc-px, 39px);
    position: absolute;
    width: var(--disc-w, 39px);
    height: calc(var(--disc-w, 39px) * 1.1547);
    transform: translate(-50%, -50%);
    pointer-events: none;
    /* Slide animation: Blazor patches left/top when position changes */
    transition: left 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                top  0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Phase A perf: keep the anchor on its own compositor layer so the first
       lunge/recoil/death animation skips the one-frame layer-promotion cost. */
    will-change: transform;
    /* A living token stands over a defeated one: a foe may walk onto a corpse's hex, and the dictionary's order (kept
       for the slide) can put the corpse later in the DOM (W1 live check). The front VFX wrapper (z-index 1, later in
       the tree) still paints over every token. */
    z-index: 1;
}

.hex-token-anchor[data-token-defeated="1"][b-nog2z1p06p] {
    z-index: auto;
}

/* Hex disc W1e (owner item 4): while a move walks its route hex by hex (combat/index.js walkTokenAlongPath, a WAAPI
   animation on left / top), the straight slide is off, so Blazor's render of the landing never cuts across the route. */
.hex-token-anchor[data-path-walk][b-nog2z1p06p] {
    transition: none;
}

/* The selected or armed token's anchor rises over its neighbours and over the front VFX wrapper (z-index 1): the token
   layer and the overlay create no stacking context, so the anchor competes with the wrapper directly (top-down board;
   spec 3.8, the lift card's layer). The hovered or keyboard-focused one rises higher still, so the card being pointed
   at is never under a selected token's open card (W1 live check). A pseudo-class and :has() only: nothing is added to
   the anchor's class attribute. */
.hex-token-anchor:has(.is-lift-open)[b-nog2z1p06p] {
    z-index: 4;
}


.hex-token-anchor:has(:focus-visible)[b-nog2z1p06p] {
    z-index: 5;
}

@media (hover: hover) {
    .hex-token-anchor:hover[b-nog2z1p06p] {
        z-index: 5;
    }

    /* Hotfix 15 Nov 2026 (QA: an open card's close control did nothing). A token that slid under a pointer at rest
       (boardCamera.js marks it data-lift-still: the hero who just stepped onto the hex the player clicked) gets the
       browser's hover all the same, and rose over the open card's anchor (4): its disc then hid the close control and
       took its clicks. A still hover is not the player pointing at the token, so it does not rise (the same rule that
       keeps its hover card shut, TokenLiftCard.razor.css). An anchor with the open card or keyboard focus keeps its rise. */
    .hex-token-anchor[data-lift-still]:not(:has(.is-lift-open)):not(:has(:focus-visible)):hover[b-nog2z1p06p] {
        z-index: 1;
    }
}

/* ---- Token motion animations (lunge / recoil / death) ----
   Applied via JS adding a transient class to the anchor. Each keyframe re-declares
   the static translate(-50%, -50%) so the animation overrides only for its duration.
   WP12b: the sideways travel is a share of the disc's width (--disc-w; 0.43 = the old 18px on a
   42px card), so a lunge on a small board stays within its hex. */

@keyframes tokenLungePlayer-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    35%  { transform: translate(calc(-50% + var(--disc-w, 39px) * 0.43), -55%); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenLungeEnemy-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    35%  { transform: translate(calc(-50% - var(--disc-w, 39px) * 0.43), -55%); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenRecoilPlayer-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    25%  { transform: translate(calc(-50% - var(--disc-w, 39px) * 0.24), -48%); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenRecoilEnemy-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    25%  { transform: translate(calc(-50% + var(--disc-w, 39px) * 0.24), -48%); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenRecoilCritPlayer-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    20%  { transform: translate(calc(-50% - var(--disc-w, 39px) * 0.43), -42%) rotate(-4deg); }
    60%  { transform: translate(calc(-50% - var(--disc-w, 39px) * 0.14), -50%) rotate(2deg); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenRecoilCritEnemy-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    20%  { transform: translate(calc(-50% + var(--disc-w, 39px) * 0.43), -42%) rotate(4deg); }
    60%  { transform: translate(calc(-50% + var(--disc-w, 39px) * 0.14), -50%) rotate(-2deg); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenDeathFade-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    60%  { transform: translate(-50%, -42%) scale(0.92) rotate(8deg); opacity: 0.6; }
    100% { transform: translate(-50%, -38%) scale(0.78) rotate(14deg); opacity: 0.0; }
}

/* Sidestep: target evades a missed swing. Two-phase: hop away, return. */
@keyframes tokenSidestepPlayer-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    30%  { transform: translate(calc(-50% - var(--disc-w, 39px) * 0.33), -54%) rotate(-3deg); }
    70%  { transform: translate(calc(-50% + var(--disc-w, 39px) * 0.07), -48%) rotate(1deg); }
    100% { transform: translate(-50%, -50%); }
}

@keyframes tokenSidestepEnemy-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%); }
    30%  { transform: translate(calc(-50% + var(--disc-w, 39px) * 0.33), -54%) rotate(3deg); }
    70%  { transform: translate(calc(-50% - var(--disc-w, 39px) * 0.07), -48%) rotate(-1deg); }
    100% { transform: translate(-50%, -50%); }
}

/* Buff: gentle upward bob with a slight scale-up, suggesting empowerment. */
@keyframes tokenBuffPulse-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%) scale(1);    }
    40%  { transform: translate(-50%, -58%) scale(1.06); }
    100% { transform: translate(-50%, -50%) scale(1);    }
}

/* Debuff: heavy downward sag with slight scale-down. */
@keyframes tokenDebuffPulse-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%) scale(1);    }
    40%  { transform: translate(-50%, -44%) scale(0.94); }
    100% { transform: translate(-50%, -50%) scale(1);    }
}

.hex-token-anchor.token-lunge-player[b-nog2z1p06p]    { animation: tokenLungePlayer-b-nog2z1p06p    340ms ease-out; }
.hex-token-anchor.token-lunge-enemy[b-nog2z1p06p]     { animation: tokenLungeEnemy-b-nog2z1p06p     340ms ease-out; }
.hex-token-anchor.token-recoil-player[b-nog2z1p06p]   { animation: tokenRecoilPlayer-b-nog2z1p06p   280ms ease-out; }
.hex-token-anchor.token-recoil-enemy[b-nog2z1p06p]    { animation: tokenRecoilEnemy-b-nog2z1p06p    280ms ease-out; }
.hex-token-anchor.token-recoil-crit-player[b-nog2z1p06p] { animation: tokenRecoilCritPlayer-b-nog2z1p06p 480ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.hex-token-anchor.token-recoil-crit-enemy[b-nog2z1p06p]  { animation: tokenRecoilCritEnemy-b-nog2z1p06p  480ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.hex-token-anchor.token-death-fade[b-nog2z1p06p]      { animation: tokenDeathFade-b-nog2z1p06p 700ms cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards; }
.hex-token-anchor.token-sidestep-player[b-nog2z1p06p] { animation: tokenSidestepPlayer-b-nog2z1p06p 360ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.hex-token-anchor.token-sidestep-enemy[b-nog2z1p06p]  { animation: tokenSidestepEnemy-b-nog2z1p06p  360ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.hex-token-anchor.token-buff-pulse[b-nog2z1p06p]      { animation: tokenBuffPulse-b-nog2z1p06p      520ms ease-in-out; }
.hex-token-anchor.token-debuff-pulse[b-nog2z1p06p]    { animation: tokenDebuffPulse-b-nog2z1p06p    520ms ease-in-out; }
/* Monsters to 5e D3 part b: the reaction mark on the token making an opportunity attack (index.js fireReactionMark), a
   short rise with a ring in the Reaction lane's token, before the attack's own lunge. */
.hex-token-anchor.token-reaction-mark[b-nog2z1p06p]   { animation: tokenReactionMark-b-nog2z1p06p   420ms ease-out; }

@keyframes tokenReactionMark-b-nog2z1p06p {
    0%   { transform: translate(-50%, -50%) scale(1);    }
    35%  { transform: translate(-50%, -56%) scale(1.07); }
    100% { transform: translate(-50%, -50%) scale(1);    }
}

@media (prefers-reduced-motion: reduce) {
    .hex-token-anchor.token-lunge-player[b-nog2z1p06p],
    .hex-token-anchor.token-lunge-enemy[b-nog2z1p06p],
    .hex-token-anchor.token-recoil-player[b-nog2z1p06p],
    .hex-token-anchor.token-recoil-enemy[b-nog2z1p06p],
    .hex-token-anchor.token-recoil-crit-player[b-nog2z1p06p],
    .hex-token-anchor.token-recoil-crit-enemy[b-nog2z1p06p],
    .hex-token-anchor.token-sidestep-player[b-nog2z1p06p],
    .hex-token-anchor.token-sidestep-enemy[b-nog2z1p06p],
    .hex-token-anchor.token-buff-pulse[b-nog2z1p06p],
    .hex-token-anchor.token-debuff-pulse[b-nog2z1p06p],
    .hex-token-anchor.token-reaction-mark[b-nog2z1p06p] { animation: none; }
}

/* ---- Zone click overlay (for zone-move selection) ---- */

.hex-zone-click-overlay[b-nog2z1p06p] {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: all;
    cursor: pointer;
    border-radius: 4px;
    background: transparent;
}

.hex-zone-click-overlay.overlay-available[b-nog2z1p06p] {
    background: rgba(200, 170, 60, 0.06);
}

/* ---------- VFX canvas layers ---------- */

/* Back layer — child of .board-hex-wrapper. Its z-index orders it inside the plane only (the wrapper isolates), and the
   plane paints under the token DOM because .board-token-layer is a later sibling of .board-hex-wrapper. Used for
   atmosphere (hazard tiles, ambient biome particles) so characters occlude environmental effects. */
.board-vfx-canvas[b-nog2z1p06p] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Front VFX wrapper — sibling AFTER .board-token-layer, covering the same box as .board-hex-wrapper (the plane), so
   percent-based coordinates land at the same screen positions on both canvases. The board is top-down: nothing is
   transformed, so screen percent equals plane percent exactly. z-index 1 paints it above the token layer, which
   creates no stacking context (an anchor with a raised z-index can still rise above it). */
.board-vfx-front-wrapper[b-nog2z1p06p] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Front canvas itself — fills the wrapper. z-index: 1 on the wrapper above
   keeps both above the auto-stacked token layer; .board-side-labels (z-index: 5)
   still wins above the VFX so YOUR-SIDE / ENEMY-SIDE labels remain readable. */
.board-vfx-canvas-front[b-nog2z1p06p] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ---------- Movement hint below the board ---------- */

/* Inherits .zone-movement-hint from combat-responsive.css */

/* ======================================================
   HEX HOVER STATES — interactive feedback on hex cells
   ====================================================== */

.hex-cell:hover[b-nog2z1p06p] {
    stroke: color-mix(in srgb, var(--color-text-primary) 55%, transparent);
    stroke-width: 1.25px;
}

.hex-cell.hex-movable-free:hover[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-eco-move) 55%, transparent);
    stroke: var(--color-eco-move);
    stroke-width: 2px;
}

.hex-cell.hex-attackable:hover[b-nog2z1p06p] {
    stroke: var(--color-eco-action);
    stroke-width: 2px;
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .hex-cell:hover[b-nog2z1p06p] {
        stroke: color-mix(in srgb, black 75%, transparent);
        stroke-width: 1px;
    }
}

/* ======================================================
   ZONE BOUNDARY LINES — dashed lines between zone regions
   ====================================================== */

.zone-boundary-line[b-nog2z1p06p] {
    stroke: color-mix(in srgb, var(--color-text-primary) 16%, transparent);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 4 5;
    fill: none;
    pointer-events: none;
}

/* ---- The pulse overlay (bible 11.4) ----
   The pulsing states drawn a second time in a small SVG laid exactly over the grid; only its opacity animates, which the
   compositor runs with no repaint. A dark under-stroke goes under the Move edge, so it holds on any ground. Steady 0.85
   under reduced motion. */

.board-state-pulse[b-nog2z1p06p] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    will-change: opacity;
    animation: boardStatePulse-b-nog2z1p06p 1.8s ease-in-out infinite;
}

.board-state-pulse .pulse-under[b-nog2z1p06p] {
    fill: none;
    stroke: color-mix(in srgb, black 60%, transparent);
    stroke-width: 3px;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}

.board-state-pulse .pulse-move[b-nog2z1p06p] {
    fill: none;
    stroke: var(--color-eco-move);
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
    stroke-linejoin: round;
}

.board-state-pulse .active-hex-spotlight[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-warning-bright) 10%, transparent);
    stroke: color-mix(in srgb, var(--color-warning-bright) 30%, transparent);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
}

@keyframes boardStatePulse-b-nog2z1p06p {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .board-state-pulse[b-nog2z1p06p] {
        animation: none;
        opacity: 0.85;
    }
}

/* ======================================================
   ELEVATION — brightness tiers + seam edges (top-down board)
   The stacked-tile drawing (side faces, top faces lifted by elevation) is gone (hex disc build W1a, owner call 3):
   elevation is the top face's brightness step (Rear lightest, Vanguard darkest) and a 1px light edge just inside the
   higher zone at each zone boundary (.zone-elevation-seam). The engine's elevation rules are unchanged.
   ====================================================== */

.zone-elevation-seam[b-nog2z1p06p] {
    stroke: color-mix(in srgb, var(--color-text-primary) 22%, transparent);
    stroke-width: 1px;
    vector-effect: non-scaling-stroke;
    fill: none;
    pointer-events: none;
}

/* Top-face brightness: higher elevation = brighter ground. The living board draws it as a terrace lift under the grid
   (BoardDiorama.TerraceAlpha: 6 / 3 / 0% white for the Rear / flanks / Vanguard, and a soft shadow on each seam's lower
   side); a brightness filter on the see-through cells would only brighten their thin wash. The classes stay as hooks. */

/* ======================================================
   BIOME THEMES: drawn by BoardDiorama (the living board). The old per-biome literal fills, grain patterns, vignettes and
   barrier pulses are gone, so the red-green palette reaches every biome board.
   ====================================================== */

/* ======================================================
   MOBILE & TABLET TOUCH OPTIMIZATIONS
   ====================================================== */

/* Prevent browser default pinch-zoom / scroll on the board */
.board-zoom-viewport[b-nog2z1p06p] {
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    overscroll-behavior: contain;
}

/* ---- Phone-width board (dev ?layout=tablet under 768): the board fills its cell; the side labels shrink. No token
   floor: a foe's whole hex is its target (hex disc spec 3.2). ---- */
@media (max-width: 767px) {
    :where(.tablet-hud) .board-iso-container[b-nog2z1p06p] {
        max-width: 100% !important;
    }

    /* Board side labels: smaller on mobile (still in the band under the plane) */
    :where(.tablet-hud) .board-side-labels[b-nog2z1p06p] {
        padding: 0 6%;
    }

    :where(.tablet-hud) .board-side-label[b-nog2z1p06p] {
        font-size: var(--ct-sm);
        letter-spacing: 0.08em;
    }
}

/* ---- Mobile zoom controls: horizontal bar, larger touch targets ---- */
@media (max-width: 767px) {
    :where(.tablet-hud) .board-zoom-controls[b-nog2z1p06p] {
        flex-direction: row;
        bottom: 8px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        gap: 6px;
        background: rgba(10, 8, 6, 0.85);
        backdrop-filter: blur(8px);
        padding: 4px 8px;
        border-radius: 20px;
        border: 1px solid rgba(100, 90, 70, 0.20);
    }

    :where(.tablet-hud) .zoom-btn[b-nog2z1p06p] {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        min-width: 44px;
        min-height: 44px;
    }

    :where(.tablet-hud) .zoom-btn .material-icons[b-nog2z1p06p] {
        font-size: var(--ct-2xl);
    }
}

/* ---- Mobile zoom level badge ---- */
.board-zoom-badge[b-nog2z1p06p] {
    display: none;
}

@media (max-width: 1279px) {
    :where(.tablet-hud) .board-zoom-badge[b-nog2z1p06p] {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--ct-sm);
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        color: rgba(200, 190, 170, 0.75);
        min-width: 2.91em;
        white-space: nowrap;
        letter-spacing: 0.02em;
    }
}

/* ---- Mobile extra controls (center, fit-all) ---- */
.board-touch-controls[b-nog2z1p06p] {
    display: none;
}

@media (max-width: 1279px) {
    :where(.tablet-hud) .board-touch-controls[b-nog2z1p06p] {
        display: flex;
        position: absolute;
        bottom: 8px;
        left: 12px;
        gap: 6px;
        z-index: 20;
    }

    :where(.tablet-hud) .touch-ctrl-btn[b-nog2z1p06p] {
        width: 40px;
        height: 40px;
        min-width: 44px;
        min-height: 44px;
        border-radius: 50%;
        border: 1px solid rgba(100, 90, 70, 0.25);
        background: rgba(20, 18, 14, 0.85);
        color: rgba(200, 190, 170, 0.85);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        backdrop-filter: blur(6px);
        transition: background 0.15s ease, border-color 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    :where(.tablet-hud) .touch-ctrl-btn:active[b-nog2z1p06p] {
        background: rgba(50, 46, 38, 0.95);
        border-color: rgba(180, 170, 140, 0.4);
    }

    :where(.tablet-hud) .touch-ctrl-btn .material-icons[b-nog2z1p06p] {
        font-size: var(--ct-2xl);
        pointer-events: none;
    }
}

/* ---- Tablet: moderate adjustments ---- */
@media (min-width: 768px) and (max-width: 1279px) {
    :where(.tablet-hud) .board-zoom-controls[b-nog2z1p06p] {
        flex-direction: row;
        bottom: 10px;
        right: 12px;
        gap: 4px;
        background: rgba(10, 8, 6, 0.80);
        backdrop-filter: blur(8px);
        padding: 4px 6px;
        border-radius: 16px;
        border: 1px solid rgba(100, 90, 70, 0.20);
    }

    :where(.tablet-hud) .zoom-btn[b-nog2z1p06p] {
        width: 36px;
        height: 36px;
        min-width: 44px;
        min-height: 44px;
    }

}

/* ---- Movement hint: mobile compact ---- */
@media (max-width: 767px) {
    :where(.tablet-hud) .zone-movement-hint[b-nog2z1p06p] {
        padding: var(--space-xs, 4px) var(--space-sm, 8px);
        gap: var(--space-sm, 8px);
    }

    :where(.tablet-hud) .movement-hint-text[b-nog2z1p06p] {
        font-size: var(--ct-sm);
    }
}

/* ======================================================
   HEX TOUCH OVERLAYS — enlarged tap targets for mobile movement mode
   Invisible buttons positioned over movable hexes, sized for fingers.
   ====================================================== */

.hex-touch-overlay[b-nog2z1p06p] {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    pointer-events: all;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Visual ring inside the touch target — shows the hex is tappable. The default ring marks a
   movable hex (the touch twin of .hex-movable-free), so it wears --color-eco-move too. */
.hex-touch-overlay-ring[b-nog2z1p06p] {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--color-eco-move) 55%, transparent);
    background: color-mix(in srgb, var(--color-eco-move) 8%, transparent);
    pointer-events: none;
    animation: touchOverlayPulse-b-nog2z1p06p 1.4s ease-in-out infinite;
    box-shadow: 0 0 8px color-mix(in srgb, var(--color-eco-move) 20%, transparent);
}

.hex-touch-overlay-ring.ring-attack[b-nog2z1p06p] {
    border-color: color-mix(in srgb, var(--combat-enemy) 60%, transparent);
    background: color-mix(in srgb, var(--combat-enemy) 8%, transparent);
    box-shadow: 0 0 8px color-mix(in srgb, var(--combat-enemy) 25%, transparent);
    animation: touchOverlayPulseAttack-b-nog2z1p06p 1.4s ease-in-out infinite;
}

@keyframes touchOverlayPulse-b-nog2z1p06p {
    0%, 100% {
        transform: scale(1.0);
        border-color: color-mix(in srgb, var(--color-eco-move) 55%, transparent);
        box-shadow: 0 0 8px color-mix(in srgb, var(--color-eco-move) 20%, transparent);
    }
    50% {
        transform: scale(1.12);
        border-color: color-mix(in srgb, var(--color-eco-move) 80%, transparent);
        box-shadow: 0 0 14px color-mix(in srgb, var(--color-eco-move) 35%, transparent);
    }
}

@keyframes touchOverlayPulseAttack-b-nog2z1p06p {
    0%, 100% {
        transform: scale(1.0);
        border-color: color-mix(in srgb, var(--combat-enemy) 60%, transparent);
        box-shadow: 0 0 8px color-mix(in srgb, var(--combat-enemy) 25%, transparent);
    }
    50% {
        transform: scale(1.12);
        border-color: color-mix(in srgb, var(--combat-enemy) 85%, transparent);
        box-shadow: 0 0 14px color-mix(in srgb, var(--combat-enemy) 40%, transparent);
    }
}

/* Active state: brief flash on tap */
.hex-touch-overlay:active .hex-touch-overlay-ring[b-nog2z1p06p] {
    transform: scale(0.90);
    border-color: color-mix(in srgb, var(--color-eco-move) 90%, transparent);
    background: color-mix(in srgb, var(--color-eco-move) 15%, transparent);
    transition: all 0.08s ease-out;
}

.hex-touch-overlay:active .hex-touch-overlay-ring.ring-attack[b-nog2z1p06p] {
    border-color: color-mix(in srgb, var(--combat-enemy-lighter) 90%, transparent);
    background: color-mix(in srgb, var(--combat-enemy-lighter) 15%, transparent);
}

/* Hide overlays on desktop — they are only for touch */
@media (hover: hover) and (pointer: fine) {
    .hex-touch-overlay[b-nog2z1p06p] {
        display: none !important;
    }
}

/* ======================================================
   MOVEMENT MODE — active button state + transition
   ====================================================== */

/* Active state for movement mode toggle button */
.touch-ctrl-btn.touch-ctrl-active[b-nog2z1p06p] {
    background: rgba(200, 170, 60, 0.20);
    border-color: rgba(200, 170, 60, 0.50);
    color: rgba(255, 215, 0, 0.95);
}

.touch-ctrl-btn.touch-ctrl-active:active[b-nog2z1p06p] {
    background: rgba(200, 170, 60, 0.35);
}

/* Smooth zoom transition for movement mode entry/exit */
.board-iso-container.movement-mode-transition[b-nog2z1p06p] {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ======================================================
   MOVEMENT MODE BANNER — "Tap a hex to move" indicator
   ====================================================== */

.movement-mode-banner[b-nog2z1p06p] {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(200, 170, 60, 0.15);
    border: 1px solid rgba(200, 170, 60, 0.40);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 215, 0, 0.90);
    font-size: var(--ct-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    pointer-events: none;
    animation: movementBannerFadeIn-b-nog2z1p06p 0.3s ease-out;
}

.movement-mode-banner .material-icons[b-nog2z1p06p] {
    font-size: var(--ct-lg);
    opacity: 0.85;
}

@keyframes movementBannerFadeIn-b-nog2z1p06p {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- Phase 9: camera focus pulse (panToHex feedback) ----
   Brief glow that fires when JS panToHex highlights a hex via initiative
   click, log click-to-replay, or any future camera-cue path. The class is
   added by combat/index.js and removed after ~950ms. Honors reduced-motion. */
.hex-cell.hex-camera-focus[b-nog2z1p06p] {
    animation: hexCameraFocusPulse-b-nog2z1p06p 0.9s ease-out;
}

@keyframes hexCameraFocusPulse-b-nog2z1p06p {
    0%   { stroke-opacity: 1; stroke: rgba(255, 230, 120, 0.95); stroke-width: 2.4; }
    40%  { stroke-opacity: 0.85; stroke: rgba(255, 200, 80, 0.85); stroke-width: 1.8; }
    100% { stroke-opacity: 0.40; stroke-width: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .hex-cell.hex-camera-focus[b-nog2z1p06p] { animation: none; filter: none; }
}

/* ======================================================
   AOE FOOTPRINT PREVIEW (decision 7A)
   ====================================================== */

/* While an area damage spell with a footprint is aimed, the viewport carries .aoe-footprint-mode.
   Every legal anchor gets a static dashed stroke: box-shadow (the global .spell-target-glow) does not
   paint on an SVG polygon, and its opacity pulse stops under prefers-reduced-motion, so the glow alone
   barely marked them. Hovering or focusing an anchor lights every enemy it would strike with a solid
   fill and stroke in --color-aoe-footprint (fuchsia: its own token, so it never reads as action amber
   or bonus blue). boardTouch.js toggles .spell-aoe-footprint on those hexes and tokens from the
   anchor's data-aoe-footprint. The footprint rule comes after the anchor rule, so a lit anchor reads as
   struck rather than aimable. Gating on the viewport class means a class left behind by a cast never
   shows.
   These rules must stay LAST in this file. They tie the zone tints and biome palettes above at (0,5,0)
   once scoped, and source order breaks the tie. Static (no animation), so nothing to relax for
   reduced motion. */
.board-zoom-viewport.aoe-footprint-mode .hex-cell.spell-target-glow[b-nog2z1p06p] {
    stroke: var(--color-text-primary);
    stroke-width: 1.25px;
    stroke-dasharray: 3 2;
    stroke-opacity: 0.9;
}

.board-zoom-viewport.aoe-footprint-mode .hex-cell.spell-aoe-footprint[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-aoe-footprint) 45%, transparent);
    stroke: var(--color-aoe-footprint);
    stroke-width: 1.75px;
    stroke-dasharray: none;
    stroke-opacity: 1;
}

/* ======================================================
   BOARD AIMING (HUD decision D10) + THREAT OVERLAY (F11)
   ====================================================== */

/* While an action is aimed the viewport carries .aim-mode plus the action's turn slot: --aim-eco is
   --color-eco-action (amber), --color-eco-bonus (blue) or, for a free action (Action Surge), --color-eco-free, the only colors a turn slot wears (design skill
   "Action economy tokens"). Valid targets' base discs fill with it and their cards wear a crisp outline in it, the
   armed one a stronger fill and outline (WP12e: the old drop-shadow glow and pulse spread over the status rail);
   targets the engine refuses dim (their reason shows on hover / focus), the range ring is dashed in it, and whatever
   the armed action would strike (an area spell's footprint, Multi-Shot's zone) wears --color-aoe-footprint, like the
   7A hover preview. Outlines, not box-shadow, each within 3px of the card.
   Like the 7A block above, these rules must stay LAST: the hex rules tie the zone tints and biome palettes
   at (0,5,0) once scoped, and source order breaks the tie. */
.board-zoom-viewport.aim-mode[b-nog2z1p06p] {
    --aim-eco: var(--color-eco-action);
}

.board-zoom-viewport.aim-mode.aim-eco-bonus[b-nog2z1p06p] {
    --aim-eco: var(--color-eco-bonus);
}

.board-zoom-viewport.aim-mode.aim-eco-free[b-nog2z1p06p] {
    --aim-eco: var(--color-eco-free);
}

/* Range ring: the hexes exactly the action's reach from the caster (already board-scaled, decision 5A). */
.board-zoom-viewport.aim-mode .hex-cell.aim-range-edge[b-nog2z1p06p] {
    stroke: var(--aim-eco);
    stroke-width: 1.5px;
    stroke-dasharray: 3 2;
    stroke-opacity: 0.9;
}

/* What the armed action would strike. */
.board-zoom-viewport.aim-mode .hex-cell.aim-strike[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-aoe-footprint) 45%, transparent);
    stroke: var(--color-aoe-footprint);
    stroke-width: 1.75px;
    stroke-dasharray: none;
    stroke-opacity: 1;
}

/* F11 threat overlay: hexes an enemy can reach and hit in melee on its next turn (ZoneHexLayout.GetThreatenedHexes,
   the monster AI's own movement budget, boss +1 included). A stroke, not a fill, so a movable hex keeps its
   Move tint and reads "you can go here, but it is threatened". The stroke is dotted as well as colored (WP12h), so
   "threatened" never rests on hue alone: a Move hex's edge is solid, the aim's range ring dashed (a ring or struck
   hex keeps its own dash pattern). */
.board-zoom-viewport.threat-overlay .hex-cell.hex-threatened[b-nog2z1p06p] {
    stroke: var(--combat-threat);
    stroke-width: 1.5px;
    stroke-opacity: 0.85;
}

.board-zoom-viewport.threat-overlay .hex-cell.hex-threatened:not(.aim-range-edge):not(.aim-strike)[b-nog2z1p06p] {
    stroke-dasharray: 0.01 3;
    stroke-linecap: round;
}

/* The touch tiers' pending banner, laid over the top of the board (the dock shows it on Desktop/Wide). */
.board-aim-strip[b-nog2z1p06p] {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, calc(100% - 16px));
    z-index: 35;
    pointer-events: auto;
}

/* ===== Edge cues (hex disc W1e, owner item 1) =====
   When the fight camera frames what matters now (discs never under 26px) and some combatants are off the frame,
   boardCamera.js draws one small button per side and direction just inside the free area's edge, pointing at them
   (a count when several share it). A tap pans there. The side is a colour AND a shape: an ally's cue is round, a foe's
   square-cornered (the red-green palette redefines both tokens). Under the aim strip (z 35), hidden while the camera
   moves. */
.board-edge-cues[b-nog2z1p06p] {
    position: absolute;
    inset: 0;
    z-index: 34;
    pointer-events: none;
    transition: opacity 0.18s ease-out;
}

.board-edge-cues.is-moving[b-nog2z1p06p] {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .board-edge-cues[b-nog2z1p06p] {
        transition: none;
    }
}

/* The cue buttons themselves are drawn by the camera script (no scope attribute): css/components-combat.css,
   "Board edge cues". */

/* ===== Confirm-to-move on touch (phone combat WP3) ===== */
/* Owner decision Q2: on a touch layout (ZoneBattlefieldHex.ConfirmMoveOnTap) the first tap on a movable hex arms it as
   the pending move (.move-pending), and a second tap on it, or the bar's Move, moves; the mouse layouts keep one-click
   moves. The pending hex wears the Move slot's token (--color-eco-move) at full strength. The bar sits where the touch
   aim strip sits on the tablet (bottom: 60px, above the 44px touch controls); the two never show at once.
   Kept LAST, like the blocks above: the pending hex rule ties the zone tints and biome palettes at (0,5,0) once scoped,
   and source order breaks the tie. Deliberately outside every width query (the bar is the same on every touch layout,
   and CombatDesktopFloorTests reserves the narrow-window blocks for :where(.tablet-hud)). */
.board-zoom-viewport .hex-cell.hex-movable-free.move-pending[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-eco-move) 55%, transparent);
    stroke: var(--color-eco-move);
    stroke-width: 2px;
    stroke-opacity: 1;
    stroke-dasharray: none;
}

/* The threat overlay (F11) keeps its dotted edge on a threatened pending hex: "you are about to move into reach". */
.board-zoom-viewport.threat-overlay .hex-cell.hex-threatened.move-pending[b-nog2z1p06p] {
    stroke: var(--combat-threat);
}

/* The phone's enlarged touch overlay on the pending hex: a steady, fuller ring (the movable rings' pulse animates the
   border, so it would cover this one's). */
.hex-touch-overlay.move-pending .hex-touch-overlay-ring[b-nog2z1p06p] {
    animation: none;
    transform: scale(1.15);
    border: 3px solid var(--color-eco-move);
    background: color-mix(in srgb, var(--color-eco-move) 35%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--color-eco-move) 55%, transparent);
}

.board-move-confirm[b-nog2z1p06p] {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(560px, calc(100% - 16px));
    box-sizing: border-box;
    z-index: 35;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 6px 8px 6px 12px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-eco-move) 16%, var(--color-bg-base)),
        var(--color-bg-elevated));
    border: 1px solid color-mix(in srgb, var(--color-eco-move) 65%, transparent);
    box-shadow: var(--shadow-md);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    line-height: 1.35;
    pointer-events: auto;
    cursor: default;
    animation: moveConfirmFadeIn-b-nog2z1p06p 0.18s ease-out;
}

/* Hotfix 15 Nov 2026 (tester: a far hex took 7 or 8 clicks to move to). On the mouse layouts the bar floats over the
   board: the fight camera does not pan to clear it (data-camera-ignore, boardCamera.js), so the second click on the
   armed hex lands on that hex. It keeps clear of the armed hex, the hero and the provoke badge instead: boardAimBar.js
   moves it to the top band (data-place="top") while it would cover one of them at the bottom and the top covers fewer,
   the desktop aim bar's band choice. The bands' edges are the variables below. The bar stays fully clickable (a click on
   its text never reaches a hex). The touch tiers keep their bar as it was. */
.board-move-confirm[data-camera-ignore][b-nog2z1p06p] {
    --move-bar-edge-top: 8px;
    --move-bar-edge-bottom: 60px;
    bottom: var(--move-bar-edge-bottom);
}

.board-move-confirm[data-camera-ignore][data-place="top"][b-nog2z1p06p] {
    top: var(--move-bar-edge-top);
    bottom: auto;
}

.board-move-confirm-icon[b-nog2z1p06p] {
    font-size: var(--ct-xl);
    color: var(--color-eco-move);
}

.board-move-confirm-text[b-nog2z1p06p] {
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.board-move-confirm-buttons[b-nog2z1p06p] {
    display: flex;
    gap: 6px;
}

.board-move-confirm-btn[b-nog2z1p06p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 44px;
    min-width: 88px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--color-eco-move) 55%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--transition-fast);
}

.board-move-confirm-btn .material-icons[b-nog2z1p06p] {
    font-size: var(--ct-xl);
}

.board-move-confirm-btn:focus-visible[b-nog2z1p06p] {
    background: color-mix(in srgb, var(--color-eco-move) 25%, var(--color-bg-base));
}

/* Hover only where a pointer hovers: on a touch screen :hover sticks to the last button tapped. */
@media (hover: hover) {
    .board-move-confirm-btn:hover[b-nog2z1p06p] {
        background: color-mix(in srgb, var(--color-eco-move) 25%, var(--color-bg-base));
    }
}

.board-move-confirm-btn:focus-visible[b-nog2z1p06p] {
    outline: 2px solid var(--color-eco-move);
    outline-offset: 2px;
}

.board-move-confirm-move[b-nog2z1p06p] {
    background: color-mix(in srgb, var(--color-eco-move) 85%, var(--color-bg-base));
    border-color: var(--color-eco-move);
    color: var(--color-bg-base);
    font-weight: var(--font-weight-bold);
}

.board-move-confirm-move:hover[b-nog2z1p06p],
.board-move-confirm-move:focus-visible[b-nog2z1p06p] {
    background: var(--color-eco-move);
}

@keyframes moveConfirmFadeIn-b-nog2z1p06p {
    from { opacity: 0; transform: translateX(-50%) translateY(6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .board-move-confirm[b-nog2z1p06p] {
        animation: none;
    }

    .board-move-confirm-btn[b-nog2z1p06p] {
        transition: none;
    }
}

/* ----- Opportunity attacks on the board (Monsters to 5e D3 part b) -----
   Inside the confirm-to-move block on purpose: the provoking move's confirm is that same bar. Every colour is a token.
   The red reach edge: a hex inside the reach of an enemy whose reaction is unspent (OpportunityAttackRules
   .HexesInUnspentReach); leaving it for a hex outside that reach provokes. Dashed as well as red (WP12h: never on hue
   alone), so it reads apart from the threat overlay's dotted edge and the Move hexes' solid one. The phone draws it
   along the armed route only (ZoneBattlefieldHex.ComputeReachEdge). */
.board-zoom-viewport .hex-cell.hex-reach-edge[b-nog2z1p06p] {
    stroke: var(--combat-threat);
    stroke-width: 1.5px;
    stroke-opacity: 0.9;
    stroke-dasharray: 2.4 1.6;
}

/* The previewed route (a hovered hex with a mouse, the pending move everywhere): the Move token along the planner's path,
   and the step that provokes in the threat token. */
.board-zoom-viewport .hex-cell.move-route[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--color-eco-move) 34%, transparent);
}

.board-zoom-viewport .hex-cell.move-provoke-step[b-nog2z1p06p] {
    fill: color-mix(in srgb, var(--combat-threat) 32%, transparent);
    stroke: var(--combat-threat);
    stroke-width: 2px;
    stroke-dasharray: none;
}

/* The badge on a provoking step: the attacker and its chance to hit ("Goblin 2, 65%"). */
.move-provoke-badge[b-nog2z1p06p] {
    position: absolute;
    z-index: 30;
    transform: translate(-50%, -140%);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-bg-base) 88%, transparent);
    border: 1px solid var(--combat-threat);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    white-space: nowrap;
    pointer-events: none;
    animation: moveConfirmBadgeIn-b-nog2z1p06p 0.16s ease-out;
}

.move-provoke-badge .material-icons[b-nog2z1p06p] {
    font-size: 0.9em;
    color: var(--combat-threat);
}

@keyframes moveConfirmBadgeIn-b-nog2z1p06p {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* A provoking move's confirm: the warning colour, and room for its longer line and "Disengage first". */
.board-move-confirm.is-provoking[b-nog2z1p06p] {
    border-color: var(--color-warning-bright);
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--color-warning-bright) 14%, var(--color-bg-base)),
        var(--color-bg-elevated));
}

.board-move-confirm.is-provoking .board-move-confirm-icon[b-nog2z1p06p] {
    color: var(--color-warning-bright);
}

.board-move-confirm.is-provoking .board-move-confirm-text[b-nog2z1p06p] {
    white-space: normal;
}

.board-move-confirm.is-provoking .board-move-confirm-move[b-nog2z1p06p] {
    background: var(--color-warning-bright);
    border-color: var(--color-warning-bright);
}

.board-move-confirm-disengage[b-nog2z1p06p] {
    border-color: color-mix(in srgb, var(--color-eco-bonus) 70%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .move-provoke-badge[b-nog2z1p06p] {
        animation: none;
    }
}
/* /Components/Combat/ZoneCard.razor.rz.scp.css */
/* ZoneCard component scoped styles */

/* ===== BASE ZONE CARD ===== */
.zone-card[b-dfw9jzecwk] {
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
    border-radius: 8px;
}

/* ===== COMPACT ZONE CARD (portrait tablet) ===== */
.zone-card-compact[b-dfw9jzecwk] {
    padding: 8px !important;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.zone-compact-header[b-dfw9jzecwk] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.zone-compact-name[b-dfw9jzecwk] {
    font-size: var(--ct-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* The zone names are text: the ally and enemy light tints (the raw 90% alpha reds and blues were 3.4-3.5:1 on the dock). */
.zone-compact-name.player[b-dfw9jzecwk] {
    color: var(--combat-ally-light);
}

.zone-compact-name.enemy[b-dfw9jzecwk] {
    color: var(--combat-enemy-lighter);
}

.zone-compact-full[b-dfw9jzecwk] {
    font-size: var(--ct-base);
    color: rgba(251, 191, 36, 0.9);
    line-height: 1;
}

.zone-compact-you[b-dfw9jzecwk] {
    font-size: var(--ct-sm);
    font-weight: 700;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 3px;
    padding: 1px 4px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.zone-compact-occupants[b-dfw9jzecwk] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

/* Touch-friendly occupant buttons — 40x40 min for tablet */
.zone-occ-btn[b-dfw9jzecwk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.25);
    cursor: default;
    transition: all 0.15s ease;
    padding: 0;
}

.zone-occ-btn.enemy-occ[b-dfw9jzecwk] {
    border-color: rgba(239, 68, 68, 0.4);
    cursor: pointer;
}

.zone-occ-btn.enemy-occ:hover[b-dfw9jzecwk],
.zone-occ-btn.enemy-occ:active[b-dfw9jzecwk] {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.8);
    transform: scale(1.05);
}

.zone-occ-btn.enemy-occ.selected[b-dfw9jzecwk] {
    border-color: #fb923c;
    background: rgba(251, 146, 60, 0.2);
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.4);
}

.zone-occ-btn.player-occ[b-dfw9jzecwk] {
    border-color: rgba(59, 130, 246, 0.4);
}

.zone-occ-more[b-dfw9jzecwk] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    font-weight: 600;
}

.zone-compact-empty[b-dfw9jzecwk] {
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    font-style: italic;
}

.zone-compact-hazards[b-dfw9jzecwk] {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}



/* ===== PLAYER SIDE — blue left border accent only ===== */
.zone-card.player-zone[b-dfw9jzecwk] {
    border-left: 3px solid var(--color-zone-player-accent) !important;
}

/* ===== ENEMY SIDE — red left border accent only ===== */
.zone-card.enemy-zone[b-dfw9jzecwk] {
    border-left: 3px solid var(--color-zone-enemy-accent) !important;
}

/* ===== ZONE TYPE THEMING (from landing page CombatShowcase) ===== */
.zone-card.zone-type-vanguard[b-dfw9jzecwk] {
    background: var(--color-zone-vanguard-bg) !important;
    border-color: var(--color-zone-vanguard-border);
}

.zone-card.zone-type-flank[b-dfw9jzecwk] {
    background: var(--color-zone-flank-bg) !important;
    border-color: var(--color-zone-flank-border);
}

.zone-card.zone-type-rear[b-dfw9jzecwk] {
    background: var(--color-zone-rear-bg) !important;
    border-color: var(--color-zone-rear-border);
}

/* Zone type text glow */
.zone-card.zone-type-vanguard .zone-header .mud-typography[b-dfw9jzecwk] { text-shadow: 0 0 8px rgba(239, 68, 68, 0.35); }
.zone-card.zone-type-flank .zone-header .mud-typography[b-dfw9jzecwk]   { text-shadow: 0 0 8px rgba(245, 158, 11, 0.35); }
.zone-card.zone-type-rear .zone-header .mud-typography[b-dfw9jzecwk]    { text-shadow: 0 0 8px rgba(59, 130, 246, 0.35); }

/* Zone hover lift — only on idle cards (not active/pending states) */
.zone-card:not(.current-player-zone):not(.available-move):not(.pending-move):not(.empty-zone):hover[b-dfw9jzecwk] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ===== EMPTY ZONE — dimmed ===== */
.zone-card.empty-zone[b-dfw9jzecwk] {
    opacity: 0.55;
}

/* ===== ACTIVE MOVE STATES ===== */
.zone-card.current-player-zone[b-dfw9jzecwk] {
    opacity: 1;
}

.zone-card.available-move[b-dfw9jzecwk] {
    opacity: 1;
}
/* /Components/Company/CompanyCharter.razor.rz.scp.css */
/* The charter header (comps A1): warm paper in a double rule, the banner's placeholder at the left, the facts under the name,
   the viewer's standing and the actions at the right. On a phone it folds to the banner and a line. Tokens only. */
.coc[b-37mfz9fhhz] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 17rem);
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl) calc(var(--space-xl) + var(--space-sm));
    border: 1px solid var(--sc-paper-line);
    border-radius: var(--radius-lg);
    background: var(--sc-paper);
    box-shadow: inset 0 0 0 5px var(--fd-bar), inset 0 0 0 6px var(--sc-paper-rule);
    min-width: 0;
}

.coc.is-compact[b-37mfz9fhhz] {
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    box-shadow: none;
}

/* ===== the banner's placeholder: a shield with a wax band and the name's first letter ===== */
.coc-banner[b-37mfz9fhhz] {
    position: relative;
    width: 5.75rem;
    height: 6.9rem;
}

.is-compact .coc-banner[b-37mfz9fhhz] {
    width: 2.25rem;
    height: 2.7rem;
}

.coc-shield[b-37mfz9fhhz] {
    display: block;
    width: 100%;
    height: 100%;
}

.coc-shield-body[b-37mfz9fhhz] {
    fill: var(--color-gray-800);
    stroke: var(--color-primary);
    stroke-width: 3;
}

.coc-shield-band[b-37mfz9fhhz] {
    fill: var(--sc-wax);
}

.coc-mark[b-37mfz9fhhz] {
    position: absolute;
    inset: 38% 0 0;
    display: grid;
    place-items: center;
    font: 700 var(--gt-3xl) / 1 var(--font-display);
    color: var(--color-primary);
}

.is-compact .coc-mark[b-37mfz9fhhz] {
    font-size: var(--gt-xl);
}

.coc-main[b-37mfz9fhhz] {
    min-width: 0;
}

.coc-title[b-37mfz9fhhz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
}

.coc-h1[b-37mfz9fhhz] {
    margin: 0;
    font: 700 var(--gt-4xl) / 1.15 var(--font-display);
    color: var(--fd-cream);
    overflow-wrap: anywhere;
}

.coc-h1:focus[b-37mfz9fhhz] {
    outline: none;
}

.is-compact .coc-h1[b-37mfz9fhhz] {
    font-size: var(--gt-xl);
}

.coc-motto[b-37mfz9fhhz] {
    margin: var(--space-sm) 0 0;
    font: italic 400 var(--gt-xl) / 1.45 var(--fd-font-voice);
    color: var(--fd-cream-2);
    overflow-wrap: anywhere;
}

.coc-facts[b-37mfz9fhhz] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
    margin: var(--space-md) 0 0;
    padding: 0;
    list-style: none;
}

.coc-side[b-37mfz9fhhz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-left: var(--space-xl);
    border-left: 1px solid var(--sc-paper-rule);
    min-width: 0;
}

.coc-you[b-37mfz9fhhz] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.coc-actions[b-37mfz9fhhz] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

@media (max-width: 960px) {
    .coc[b-37mfz9fhhz] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .coc-side[b-37mfz9fhhz] {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-md) 0 0;
        border-left: 0;
        border-top: 1px solid var(--sc-paper-rule);
    }
}

/* the phone: the charter folds to a banner and a line */
@media (max-width: 480px) {
    .coc[b-37mfz9fhhz] {
        gap: var(--space-md);
        padding: var(--space-lg) var(--space-md);
        box-shadow: inset 0 0 0 4px var(--fd-bar), inset 0 0 0 5px var(--sc-paper-rule);
    }

    .coc-banner[b-37mfz9fhhz] {
        width: 3.5rem;
        height: 4.2rem;
    }

    .coc-h1[b-37mfz9fhhz] {
        font-size: var(--gt-3xl);
    }

    .coc-motto[b-37mfz9fhhz] {
        font-size: var(--gt-lg);
    }

    .coc-facts > :nth-child(n + 2)[b-37mfz9fhhz] {
        display: none;
    }

    .coc.is-compact[b-37mfz9fhhz] {
        padding: var(--space-sm) var(--space-md);
    }
}

@media (forced-colors: active) {
    .coc[b-37mfz9fhhz] {
        border-color: CanvasText;
        background: Canvas;
        box-shadow: none;
    }

    .coc-shield-body[b-37mfz9fhhz] {
        fill: Canvas;
        stroke: CanvasText;
    }

    .coc-shield-band[b-37mfz9fhhz] {
        fill: CanvasText;
    }

    .coc-mark[b-37mfz9fhhz] {
        color: CanvasText;
    }
}
/* /Components/Company/CompanyChat.razor.rz.scp.css */
/* The company chat (comps A1): a card with the lines, the box under them. The whole chat anchors to its newest line
   (a column-reverse scroller), so it opens at the bottom without a script. Tokens only. */
.coch[b-blgeb9r4sg] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border: 1px solid var(--fd-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

.coch-head[b-blgeb9r4sg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.coch-scroll[b-blgeb9r4sg] {
    display: flex;
    flex-direction: column-reverse;
    max-height: 26rem;
    min-height: 8rem;
    overflow-y: auto;
}

.is-peek .coch-scroll[b-blgeb9r4sg] {
    min-height: 0;
    max-height: none;
    overflow: visible;
}

.coch-lines[b-blgeb9r4sg] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.coch-line[b-blgeb9r4sg] {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
}

.is-peek .coch-line[b-blgeb9r4sg] {
    grid-template-columns: 6.5rem minmax(0, 1fr);
}

.coch-when[b-blgeb9r4sg] {
    font-size: var(--gt-sm);
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.coch-text[b-blgeb9r4sg] {
    margin: 0;
    font-size: var(--gt-base);
    color: var(--color-text-light);
    overflow-wrap: anywhere;
}

.coch-text strong[b-blgeb9r4sg] {
    color: var(--color-text-primary);
}

.coch-tools[b-blgeb9r4sg] {
    display: inline-flex;
    align-items: center;
}

.coch-empty[b-blgeb9r4sg] {
    margin: auto 0;
    padding: var(--space-md) 0;
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
    text-align: center;
}

.coch-open[b-blgeb9r4sg] {
    align-self: flex-start;
}

@media (max-width: 480px) {
    .coch[b-blgeb9r4sg] {
        padding: var(--space-md);
    }

    .coch-line[b-blgeb9r4sg],
    .is-peek .coch-line[b-blgeb9r4sg] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .coch-when[b-blgeb9r4sg] {
        grid-column: 1 / -1;
        line-height: 1.2;
    }
}

@media (forced-colors: active) {
    .coch[b-blgeb9r4sg] {
        border-color: CanvasText;
        background: Canvas;
    }
}
/* /Components/Company/CompanyDeeds.razor.rz.scp.css */
/* Deeds this week (comps A1): a quiet card, an icon, the sentence with its name in bold, when at the end. Tokens only. */
.cod[b-vtjq60ehfn] {
    padding: var(--space-lg);
    border: 1px solid var(--fd-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

.cod-list[b-vtjq60ehfn] {
    margin: var(--space-sm) 0 0;
    padding: 0;
    list-style: none;
}

.cod-row[b-vtjq60ehfn] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--space-sm) var(--space-md);
    padding: var(--space-sm) 0;
}

.cod-row + .cod-row[b-vtjq60ehfn] {
    border-top: 1px solid var(--fd-line);
}

.cod-icon[b-vtjq60ehfn] {
    font-size: var(--gt-xl);
    color: var(--color-primary);
}

.cod-text[b-vtjq60ehfn] {
    margin: 0;
    font-size: var(--gt-base);
    color: var(--color-text-light);
    overflow-wrap: anywhere;
}

.cod-text strong[b-vtjq60ehfn] {
    color: var(--color-text-primary);
}

.cod-when[b-vtjq60ehfn] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.cod-empty[b-vtjq60ehfn] {
    margin: var(--space-sm) 0 0;
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

@media (max-width: 480px) {
    .cod[b-vtjq60ehfn] {
        padding: var(--space-md);
    }

    .cod-row[b-vtjq60ehfn] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .cod-when[b-vtjq60ehfn] {
        grid-column: 2;
    }
}

@media (forced-colors: active) {
    .cod[b-vtjq60ehfn] {
        border-color: CanvasText;
        background: Canvas;
    }

    .cod-row + .cod-row[b-vtjq60ehfn] {
        border-top-color: CanvasText;
    }
}
/* /Components/Company/CompanyHex.razor.rz.scp.css */
/* The hex avatar (the kit's .hx): a pointy-top hexagon, the class colour as its rim. Tokens only. */
.coh[b-jxltafjzcg] {
    --s: 40px;
    --c: var(--fs-off);
    position: relative;
    display: inline-block;
    flex: none;
    width: var(--s);
    height: calc(var(--s) * 1.1547);
    background: var(--c);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.coh i[b-jxltafjzcg] {
    position: absolute;
    inset: 2px;
    display: grid;
    place-items: center;
    background: var(--color-gray-900);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    font: 700 calc(var(--s) * 0.4) / 1 var(--font-primary);
    font-style: normal;
    color: color-mix(in srgb, var(--c) 50%, var(--color-text-primary));
}

@media (forced-colors: active) {
    .coh[b-jxltafjzcg] {
        background: CanvasText;
    }

    .coh i[b-jxltafjzcg] {
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/Company/CompanyHome.razor.rz.scp.css */
/* The company home's page sheet (comps A1, direction A "The Company Charter"): the layout of Home and the few atoms every
   company piece shares (the eyebrow, the card heading, chips, buttons, the field), styled once here through ::deep inside
   :where() so a piece's own one-class rule always wins. Tokens only; the canonical breakpoints 480 / 768 / 960 / 1024 / 1280. */
.co-page[b-o2i1xkekvd] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

/* ===== Home: orders, the application row and the chat on the left; the roll and the deeds on the right ===== */
.coho[b-o2i1xkekvd] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    min-width: 0;
}

.coho-main[b-o2i1xkekvd],
.coho-side[b-o2i1xkekvd] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

@media (min-width: 960px) {
    .coho[b-o2i1xkekvd] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
        align-items: start;
    }
}

.coho-waiting[b-o2i1xkekvd] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: 44px;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--fd-line-gold-strong);
    border-radius: var(--radius-lg);
    background: var(--fs-you);
    color: var(--fd-cream);
    font: 500 var(--gt-base) / 1.3 var(--font-primary);
    text-align: left;
    cursor: pointer;
}

.coho-waiting:hover[b-o2i1xkekvd] {
    border-color: var(--color-primary);
}

.coho-waiting:focus-visible[b-o2i1xkekvd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.coho-waiting .material-icons[b-o2i1xkekvd] {
    color: var(--color-primary);
}

.coho-waiting-text[b-o2i1xkekvd] {
    flex: 1 1 auto;
    min-width: 0;
}

.coho-waiting-count[b-o2i1xkekvd] {
    color: var(--color-text-light);
    font-weight: 500;
}

.coho-waiting-go[b-o2i1xkekvd] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fd-gold-soft);
    font-weight: 600;
}

/* ===== The roll tab: the roll (and the applications) on the left, the invitations, the deeds and leaving on the right ===== */
.coho-inv[b-o2i1xkekvd] {
    margin: var(--space-sm) 0 0;
    padding-left: var(--space-lg);
    color: var(--color-text-light);
}

.coho-note[b-o2i1xkekvd] {
    margin: var(--space-sm) 0 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

/* ===== atoms, shared by every company piece ===== */
:where(.co-page)[b-o2i1xkekvd]  :where(.co-eyebrow) {
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-h2) {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font: 700 var(--gt-xl) / 1.25 var(--font-display);
    color: var(--color-primary);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-h2 .material-icons) {
    font-size: var(--gt-2xl);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-card) {
    padding: var(--space-lg);
    border: 1px solid var(--fd-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-chip) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-3xl);
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-chip .material-icons) {
    font-size: var(--gt-lg);
    color: var(--color-primary);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-chip--gold) {
    border-color: var(--fd-line-gold-strong);
    background: var(--fs-you);
    color: var(--fd-gold-soft);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-chip--dash) {
    border-style: dashed;
    background: transparent;
    color: var(--color-text-light);
}

/* a rider's standing: Leader gold, Director info blue, Member plain, Recruit plain and dashed (a shape, not colour alone) */
:where(.co-page)[b-o2i1xkekvd]  :where(.co-role) {
    display: inline-flex;
    align-items: center;
    padding: 1px var(--space-sm);
    border: 1px solid var(--fd-line-strong);
    border-radius: var(--radius-md);
    font: 700 var(--gt-sm) / 1.5 var(--font-primary);
    color: var(--color-text-light);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-role--leader) {
    border-color: var(--fd-line-gold-strong);
    background: var(--fs-you);
    color: var(--fd-gold-soft);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-role--director) {
    border-color: var(--color-info);
    background: var(--rm-invite-fill);
    color: var(--fd-info-ink);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-role--recruit) {
    border-style: dashed;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 2.5rem;
    padding: 0 var(--space-lg);
    border: 1px solid var(--fd-line-gold);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    white-space: nowrap;
    cursor: pointer;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn .material-icons) {
    font-size: var(--gt-xl);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn--gold) {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn--quiet) {
    border-color: var(--fd-line-strong);
    color: var(--color-text-light);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn--danger) {
    border-color: var(--sc-mod-line);
    color: var(--sc-mod-ink);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn:disabled) {
    opacity: 0.6;
    cursor: default;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-btn:focus-visible),
:where(.co-page)[b-o2i1xkekvd]  :where(.co-iconbtn:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-iconbtn) {
    display: inline-grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-iconbtn:hover) {
    color: var(--color-text-primary);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-field) {
    width: 100%;
    box-sizing: border-box;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--fd-line-strong);
    border-radius: var(--radius-md);
    background: var(--fd-well);
    color: var(--color-text-primary);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-field:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-error) {
    margin: 0;
    font-size: var(--gt-base);
    color: var(--fd-bad-ink);
}

:where(.co-page)[b-o2i1xkekvd]  :where(.co-sr) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.co-warn[b-o2i1xkekvd] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-warning-dark);
    border-radius: var(--radius-md);
    background: var(--rm-wait-fill);
    color: var(--fd-warn-ink);
    font-size: var(--gt-base);
}

/* 44px targets on a touch screen */
@media (pointer: coarse) {
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-btn),
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-iconbtn) {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (max-width: 480px) {
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-card) {
        padding: var(--space-md);
    }

    .coho-waiting[b-o2i1xkekvd] {
        padding: var(--space-md);
    }
}

@media (forced-colors: active) {
    .coho-waiting[b-o2i1xkekvd],
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-card),
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-chip),
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-role),
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-btn),
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-field),
    .co-warn[b-o2i1xkekvd] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .coho-waiting .material-icons[b-o2i1xkekvd],
    :where(.co-page)[b-o2i1xkekvd]  :where(.co-chip .material-icons) {
        color: CanvasText;
    }
}
/* /Components/Company/CompanyNotice.razor.rz.scp.css */
/* The orders of the day (comps A1): warm paper with a wax seal, the orders in the voice face, who and when under them. Tokens only. */
.con[b-94qsu9gw78] {
    position: relative;
    padding: var(--space-lg) calc(var(--space-xl) - var(--space-xs)) var(--space-lg);
    border: 1px solid var(--sc-paper-line);
    border-radius: var(--radius-lg);
    background: var(--sc-paper);
    color: var(--sc-paper-ink);
    min-width: 0;
}

.con-seal[b-94qsu9gw78] {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid var(--sc-wax-lo);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--sc-wax-hi), var(--sc-wax) 55%, var(--sc-wax-lo));
    color: var(--sc-paper-ink);
}

.con-seal .material-icons[b-94qsu9gw78] {
    font-size: var(--gt-2xl);
}

.con-text[b-94qsu9gw78] {
    margin: var(--space-sm) 0 var(--space-sm);
    padding-right: 3.5rem;
    font: italic 400 var(--gt-2xl) / 1.45 var(--fd-font-voice);
    color: var(--sc-paper-ink);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.con-sig[b-94qsu9gw78] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    font-size: var(--gt-sm);
    color: var(--sc-paper-ink-2);
}

.con-link[b-94qsu9gw78] {
    min-height: 2rem;
    padding: 0 var(--space-xs);
    border: 0;
    background: none;
    color: var(--fd-gold-text);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    text-decoration: underline;
    cursor: pointer;
}

.con-link:focus-visible[b-94qsu9gw78] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.con-report[b-94qsu9gw78] {
    display: inline-flex;
    align-items: center;
    margin-inline-start: auto;
}

.con-empty[b-94qsu9gw78] {
    margin: var(--space-sm) 0;
    padding-right: 3.5rem;
    font: italic 400 var(--gt-lg) / 1.45 var(--fd-font-voice);
    color: var(--sc-paper-ink-2);
}

.con-edit[b-94qsu9gw78] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.con-count[b-94qsu9gw78] {
    margin: 0;
    align-self: flex-end;
    font-size: var(--gt-sm);
    color: var(--sc-paper-ink-2);
}

.con-actions[b-94qsu9gw78] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.con-note[b-94qsu9gw78] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--sc-paper-ink-2);
}

@media (max-width: 480px) {
    .con[b-94qsu9gw78] {
        padding: var(--space-md);
    }

    .con-text[b-94qsu9gw78] {
        padding-right: 3rem;
        font-size: var(--gt-xl);
    }

    .con-seal[b-94qsu9gw78] {
        top: var(--space-md);
        right: var(--space-md);
        width: 2.4rem;
        height: 2.4rem;
    }
}

@media (forced-colors: active) {
    .con[b-94qsu9gw78] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .con-seal[b-94qsu9gw78] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .con-sig[b-94qsu9gw78],
    .con-count[b-94qsu9gw78],
    .con-note[b-94qsu9gw78],
    .con-empty[b-94qsu9gw78] {
        color: CanvasText;
    }
}
/* /Components/Company/CompanyRoll.razor.rz.scp.css */
/* The roll card (comps A1): a quiet panel, one row per rider. The rows are CompanyRollRow's own. Tokens only. */
.cor[b-gmgyjrlboq] {
    padding: var(--space-lg);
    border: 1px solid var(--fd-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

.cor-head[b-gmgyjrlboq] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.cor-here[b-gmgyjrlboq] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.cor-list[b-gmgyjrlboq] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cor-all[b-gmgyjrlboq] {
    width: 100%;
    margin-top: var(--space-sm);
}

@media (max-width: 480px) {
    .cor[b-gmgyjrlboq] {
        padding: var(--space-md);
    }
}

@media (forced-colors: active) {
    .cor[b-gmgyjrlboq] {
        border-color: CanvasText;
        background: Canvas;
    }
}
/* /Components/Company/CompanyRollRow.razor.rz.scp.css */
/* One rider on the roll (comps A1): hex avatar, name, a meta line of standing, class and presence, the menu at the end.
   The presence pip is a shape as well as a colour: here a filled dot, away a ring, busy a square, offline a small dim dot. Tokens only. */
.corr[b-7wpw8fa0o1] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: 4rem;
    padding: var(--space-sm) 0;
    min-width: 0;
}

.corr + .corr[b-7wpw8fa0o1] {
    border-top: 1px solid var(--fd-line);
}

.corr-main[b-7wpw8fa0o1] {
    flex: 1 1 auto;
    min-width: 0;
}

.corr-name[b-7wpw8fa0o1] {
    margin: 0;
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.corr-you[b-7wpw8fa0o1] {
    margin-left: var(--space-xs);
    font-weight: 500;
    color: var(--color-text-secondary);
}

.corr-meta[b-7wpw8fa0o1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    margin: var(--space-xs) 0 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.corr-class[b-7wpw8fa0o1] {
    color: var(--color-text-light);
}

.corr-pres[b-7wpw8fa0o1] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-light);
}

.corr-pip[b-7wpw8fa0o1] {
    display: inline-block;
    flex: none;
    width: 0.6rem;
    height: 0.6rem;
    box-sizing: border-box;
}

.corr-pres--here .corr-pip[b-7wpw8fa0o1] {
    border-radius: 50%;
    background: var(--fs-on);
}

.corr-pres--away .corr-pip[b-7wpw8fa0o1] {
    border-radius: 50%;
    border: 2px solid var(--fs-away);
}

.corr-pres--busy .corr-pip[b-7wpw8fa0o1] {
    border-radius: 2px;
    background: var(--fs-busy);
}

.corr-pres--off .corr-pip[b-7wpw8fa0o1] {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--fs-off);
}

.corr-menu[b-7wpw8fa0o1] {
    flex: none;
}

@media (forced-colors: active) {
    .corr + .corr[b-7wpw8fa0o1] {
        border-top-color: CanvasText;
    }

    .corr-pres--here .corr-pip[b-7wpw8fa0o1],
    .corr-pres--busy .corr-pip[b-7wpw8fa0o1],
    .corr-pres--off .corr-pip[b-7wpw8fa0o1] {
        background: CanvasText;
    }

    .corr-pres--away .corr-pip[b-7wpw8fa0o1] {
        border-color: CanvasText;
    }
}
/* /Components/Company/CompanySettings.razor.rz.scp.css */
/* The Leader's settings: one quiet card, labelled fields, one gold Save. Tokens only. */
.cos[b-omd5legcla] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 1px solid var(--fd-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

.cos-field[b-omd5legcla] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    width: 100%;
}

.cos-label[b-omd5legcla] {
    font: 600 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--color-text-light);
}

.cos-help[b-omd5legcla] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.cos-levels[b-omd5legcla] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 14rem));
    gap: var(--space-lg);
    width: 100%;
}

.cos-check[b-omd5legcla] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 44px;
    font: 600 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--color-text-primary);
    cursor: pointer;
}

.cos-check input[b-omd5legcla] {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--color-primary);
}

.cos-saved[b-omd5legcla] {
    margin: 0;
    font-size: var(--gt-base);
    color: var(--fd-good-ink);
}

@media (max-width: 480px) {
    .cos[b-omd5legcla] {
        padding: var(--space-md);
    }

    .cos-levels[b-omd5legcla] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .cos[b-omd5legcla] {
        border-color: CanvasText;
        background: Canvas;
    }
}
/* /Components/Company/CompanyTabs.razor.rz.scp.css */
/* The company home's tab bar: a nav of buttons that scrolls sideways on a phone, the current one gold with an underline. */
.cot[b-io5qcjct4n] {
    display: flex;
    gap: 2px;
    border-bottom: 1px solid var(--fd-line);
    overflow-x: auto;
    scrollbar-width: none;
}

.cot[b-io5qcjct4n]::-webkit-scrollbar {
    display: none;
}

.cot-tab[b-io5qcjct4n] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    min-height: 44px;
    margin-bottom: -1px;
    padding: 0 var(--space-lg);
    border: 0;
    border-bottom: 2px solid transparent;
    background: none;
    color: var(--color-text-secondary);
    font: 600 var(--gt-base) / 1 var(--font-primary);
    white-space: nowrap;
    cursor: pointer;
}

.cot-tab:hover[b-io5qcjct4n] {
    color: var(--color-text-primary);
}

.cot-tab[aria-current="true"][b-io5qcjct4n] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.cot-tab:focus-visible[b-io5qcjct4n] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.cot-tab .material-icons[b-io5qcjct4n] {
    font-size: var(--gt-xl);
}

.cot-n[b-io5qcjct4n] {
    display: inline-grid;
    place-items: center;
    min-width: 1.5em;
    height: 1.5em;
    padding: 0 0.4em;
    border-radius: var(--radius-3xl);
    background: var(--color-count);
    color: var(--color-text-primary);
    font: 700 var(--gt-sm) / 1 var(--font-primary);
}

.cot-sr[b-io5qcjct4n] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .cot-tab[b-io5qcjct4n] {
        padding: 0 var(--space-md);
    }

    .cot-tab .material-icons[b-io5qcjct4n] {
        display: none;
    }
}

@media (forced-colors: active) {
    .cot-tab[aria-current="true"][b-io5qcjct4n] {
        border-bottom-color: Highlight;
        color: Highlight;
    }

    .cot-n[b-io5qcjct4n] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Fellowship/FsAmongFriends.razor.rz.scp.css */
/* Among friends (Docs/LRPG_FELLOWSHIP.md 5.6, D10): tokens only. */
.fsn[b-281p83nlra] {
    padding: var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
}

.fsn-head[b-281p83nlra] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.fsn-title[b-281p83nlra] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fsn-empty[b-281p83nlra] {
    margin: var(--space-md) 0;
    font: 500 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
    text-align: center;
}

.fsn-pills[b-281p83nlra] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.fsn-pill[b-281p83nlra] {
    min-height: var(--fs-tap);
    padding: 0 var(--space-md);
    border-radius: 999px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text-2);
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    cursor: pointer;
}

.fsn-pill[aria-pressed="true"][b-281p83nlra] {
    border-color: var(--fd-line-gold-strong);
    background: var(--fs-you);
    color: var(--fd-gold-soft);
}

.fsn-pill:focus-visible[b-281p83nlra] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsn-rows[b-281p83nlra] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* One column held to the card: a long name ellipsises inside its row instead of widening the rows past the card
       (they ran past the side card at a large text size, readable game text). */
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xs);
}

.fsn-row[b-281p83nlra] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 48px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-2xl);
    border: 1px solid transparent;
}

.fsn-row.is-you[b-281p83nlra] {
    border-color: var(--fd-line-gold-strong);
    background: var(--fs-you);
}

/* Read before the number ("Place 2"); a label on a plain span is ignored (ARIA 1.2). */
.fsn-sr[b-281p83nlra] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.fsn-place[b-281p83nlra] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2em;
    height: 2.25em;
    clip-path: var(--frame-hex);
    background: var(--fd-slate);
    color: var(--fd-text-2);
    font: 800 var(--gt-sm) / 1 var(--font-primary);
}

.fsn-place--1[b-281p83nlra] {
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
}

.fsn-place--2[b-281p83nlra] {
    background: var(--fs-silver);
    color: var(--fd-on-gold);
}

.fsn-place--3[b-281p83nlra] {
    background: var(--fs-bronze);
    color: var(--fd-on-gold);
}

.fsn-who[b-281p83nlra] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
}

.fsn-who b[b-281p83nlra] {
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fd-cream);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsn-row.is-you .fsn-who b[b-281p83nlra] {
    color: var(--fd-gold-soft);
}

.fsn-class[b-281p83nlra] {
    font-weight: 700;
    color: color-mix(in srgb, var(--cc, var(--fd-text-3)) 50%, var(--color-text-primary));
}

.fsn-score[b-281p83nlra] {
    flex: none;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.fsn-score b[b-281p83nlra] {
    font-size: var(--gt-lg);
    color: var(--fd-cream);
}

.fsn-rivalry[b-281p83nlra] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin: var(--space-sm) 0 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
}

.fsn-rivalry .material-icons[b-281p83nlra] {
    font-size: var(--gt-lg);
    color: var(--fd-gold);
}

.fsn-all[b-281p83nlra] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: var(--fs-tap);
    margin-top: var(--space-xs);
    color: var(--fd-gold-text);
    font: 600 var(--gt-base) / 1.3 var(--font-primary);
    text-decoration: none;
}

.fsn-all .material-icons[b-281p83nlra] {
    font-size: var(--gt-lg);
}

.fsn-all:focus-visible[b-281p83nlra] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

@media (forced-colors: active) {
    .fsn[b-281p83nlra],
    .fsn-pill[b-281p83nlra] {
        border-color: CanvasText;
    }

    .fsn-pill[aria-pressed="true"][b-281p83nlra],
    .fsn-row.is-you[b-281p83nlra] {
        border-color: Highlight;
    }

    .fsn-place[b-281p83nlra] {
        forced-color-adjust: none;
    }
}
/* /Components/Fellowship/FsAvatar.razor.rz.scp.css */
/* The portrait with presence (fs-ava, Docs/LRPG_FELLOWSHIP.md 6.2): tokens only. */
.fsa[b-1r92pkxiy3] {
    --d: 44px;
    position: relative;
    display: inline-block;
    flex: none;
    width: var(--d);
    height: var(--d);
}

.fsa--32[b-1r92pkxiy3] { --d: 32px; }
.fsa--40[b-1r92pkxiy3] { --d: 40px; }
.fsa--44[b-1r92pkxiy3] { --d: 44px; }
.fsa--56[b-1r92pkxiy3] { --d: 56px; }
.fsa--72[b-1r92pkxiy3] { --d: 72px; }

.fsa-av[b-1r92pkxiy3] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cc, var(--fs-off));
    background: var(--fd-art-well);
    box-shadow: 0 0 0 2px var(--fs-ring-bg);
    box-sizing: border-box;
}

.fsa--72 .fsa-av[b-1r92pkxiy3] {
    border-width: 3px;
}

.fsa-av img[b-1r92pkxiy3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

.fsa-init[b-1r92pkxiy3] {
    font: 800 calc(var(--d) * 0.4) / 1 var(--fd-font-display);
    color: var(--fd-text-3);
    background: var(--fd-slate);
    border-color: var(--fd-line-strong);
}

.fsa.is-off .fsa-av img[b-1r92pkxiy3] {
    filter: grayscale(0.75) brightness(0.72);
}

.fsa-lv[b-1r92pkxiy3] {
    position: absolute;
    left: -5px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2.32em;
    clip-path: var(--frame-hex);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    font: 900 var(--gt-sm) / 1 var(--font-primary);
}

.fsa--56 .fsa-lv[b-1r92pkxiy3],
.fsa--72 .fsa-lv[b-1r92pkxiy3] {
    width: 2.1em;
    height: 2.38em;
    font-size: var(--gt-sm);
}

.fsa-pip[b-1r92pkxiy3] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--fs-ring-bg);
    box-sizing: border-box;
}

.fsa--32 .fsa-pip[b-1r92pkxiy3] {
    width: 12px;
    height: 12px;
    border-width: 2px;
}

.fsa-pip--on[b-1r92pkxiy3] {
    background: var(--fs-on);
}

/* Away is a ring (the shape, not the colour, tells it apart) */
.fsa-pip--away[b-1r92pkxiy3] {
    background: var(--fs-ring-bg);
    box-shadow: inset 0 0 0 3px var(--fs-away);
}

/* Busy is a bar across the dot */
.fsa-pip--busy[b-1r92pkxiy3] {
    background: linear-gradient(var(--fs-busy), var(--fs-busy)) center / 70% 3px no-repeat, var(--fs-ring-bg);
    box-shadow: inset 0 0 0 2px var(--fs-busy);
}

@media (forced-colors: active) {
    .fsa-pip[b-1r92pkxiy3] {
        border-color: CanvasText;
        forced-color-adjust: none;
    }

    .fsa-av[b-1r92pkxiy3] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsBlocked.razor.rz.scp.css */
/* Blocked and muted (Docs/LRPG_FELLOWSHIP.md 5.12, Docs/LRPG_MODERATION.md M1): tokens only. */
.fsbl[b-q6oav8mjr6] {
    display: grid;
    gap: var(--space-lg);
}

.fsbl-group[b-q6oav8mjr6] {
    display: grid;
    gap: var(--space-sm);
}

.fsbl-heading[b-q6oav8mjr6] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fd-text-2);
}

.fsbl-heading .material-icons[b-q6oav8mjr6] {
    font-size: calc(var(--gt-px) * 17.5);
}

.fsbl-heading--sub[b-q6oav8mjr6] {
    margin-top: var(--space-sm);
}

.fsbl-note[b-q6oav8mjr6] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsbl-ring--muted[b-q6oav8mjr6] {
    border-style: solid;
    border-color: var(--fs-card-line);
}

.fsbl-list[b-q6oav8mjr6] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-xs);
}

.fsbl-row[b-q6oav8mjr6] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md);
    min-height: var(--fs-row-h);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
}

.fsbl-ring[b-q6oav8mjr6] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px dashed var(--fs-off);
}

.fsbl-who[b-q6oav8mjr6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fsbl-name[b-q6oav8mjr6] {
    font: 600 var(--gt-base) / 1.35 var(--font-primary);
    color: var(--fd-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsbl-since[b-q6oav8mjr6] {
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsbl-error[b-q6oav8mjr6] {
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-bad-text);
}

.fsbl-empty[b-q6oav8mjr6] {
    display: grid;
    justify-items: center;
    gap: var(--space-xs);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    color: var(--fd-text-3);
}

.fsbl-empty-title[b-q6oav8mjr6] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.3 var(--fd-font-display);
    color: var(--fd-text);
}

.fsbl-empty-line[b-q6oav8mjr6] {
    margin: 0;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
}

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

@media (forced-colors: active) {
    .fsbl-ring[b-q6oav8mjr6] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsButton.razor.rz.scp.css */
/* Fellowship's button (Docs/LRPG_FELLOWSHIP.md 5.2): tokens only, 36px on desktop and 44px on touch (--fs-tap). */
.fsb[b-6nb702jwdq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: var(--fs-tap);
    padding: 0 var(--space-lg);
    border-radius: var(--fd-r-btn);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text);
    font: 600 var(--gt-base) / 1.2 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease-out, border-color 0.15s ease-out;
    box-sizing: border-box;
}

.fsb .material-icons[b-6nb702jwdq] {
    font-size: var(--gt-xl);
}

.fsb:hover[b-6nb702jwdq] {
    border-color: var(--fd-line-gold-strong);
    background: var(--fd-surface-strong);
}

.fsb:focus-visible[b-6nb702jwdq] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsb[disabled][b-6nb702jwdq] {
    opacity: 0.55;
    cursor: not-allowed;
}

.fsb--sm[b-6nb702jwdq] {
    min-height: 2.29em;
    padding: 0 var(--space-md);
    font-size: var(--gt-base);
}

.fsb--gold[b-6nb702jwdq] {
    border-color: var(--fd-gold-dark);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    font-weight: 700;
    box-shadow: var(--fd-shadow-gold);
}

.fsb--gold:hover[b-6nb702jwdq] {
    background: var(--fd-gold-grad);
    filter: brightness(1.06);
}

.fsb--ghost[b-6nb702jwdq] {
    border-color: var(--fd-line-gold-strong);
    background: var(--fs-you);
    color: var(--fd-gold-soft);
}

.fsb--ghost:hover[b-6nb702jwdq] {
    background: color-mix(in srgb, var(--fd-gold) 18%, transparent);
}

.fsb--danger[b-6nb702jwdq] {
    border-color: var(--fs-danger-hover);
    background: var(--fs-danger);
    color: var(--color-text-primary);
}

.fsb--danger:hover[b-6nb702jwdq] {
    background: var(--fs-danger-hover);
}

.fsb--icon[b-6nb702jwdq] {
    width: var(--fs-tap);
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: var(--fd-text-3);
}

.fsb--icon:hover[b-6nb702jwdq] {
    background: var(--fd-surface);
    color: var(--fd-text);
}

.fsb--icon[aria-pressed="true"][b-6nb702jwdq] {
    color: var(--fd-gold);
}

.fsb--link[b-6nb702jwdq] {
    min-height: auto;
    padding: var(--space-xs) 0;
    border: none;
    background: none;
    color: var(--fd-gold-text);
}

.fsb--link:hover[b-6nb702jwdq] {
    background: none;
    text-decoration: underline;
}

.fsb-spin[b-6nb702jwdq] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: fsb-spin-b-6nb702jwdq 0.8s linear infinite;
    box-sizing: border-box;
}

@keyframes fsb-spin-b-6nb702jwdq {
    to { transform: rotate(360deg); }
}

@media (pointer: coarse) {
    .fsb--sm[b-6nb702jwdq] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fsb[b-6nb702jwdq] {
        transition: none;
    }

    .fsb-spin[b-6nb702jwdq] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .fsb[b-6nb702jwdq] {
        border: 1px solid ButtonText;
    }

    .fsb:focus-visible[b-6nb702jwdq] {
        outline-color: Highlight;
    }

    .fsb--icon[aria-pressed="true"][b-6nb702jwdq] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Fellowship/FsConfirm.razor.rz.scp.css */
/* The inline confirm (Docs/LRPG_FELLOWSHIP.md 5.12, D14): tokens only; the act red, never gold. */
.fsc[b-4s6jo7dk3o] {
    position: relative;
    z-index: 1;
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-bad-line);
    background: var(--fs-bad-fill);
}

.fsc-question[b-4s6jo7dk3o] {
    margin: 0;
    font: 700 var(--gt-lg) / 1.3 var(--font-primary);
    color: var(--fd-cream);
}

.fsc-line[b-4s6jo7dk3o] {
    margin: 0;
    font: 400 var(--gt-base) / 1.45 var(--font-primary);
    color: var(--fd-text-2);
}

.fsc-actions[b-4s6jo7dk3o] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.fsc-cancel[b-4s6jo7dk3o],
.fsc-act[b-4s6jo7dk3o] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--fs-tap);
    padding: 0 var(--space-lg);
    border-radius: var(--fd-r-btn);
    font: 700 var(--gt-base) / 1.2 var(--font-primary);
    cursor: pointer;
}

.fsc-cancel[b-4s6jo7dk3o] {
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text);
}

.fsc-act[b-4s6jo7dk3o] {
    border: 1px solid var(--fs-danger-hover);
    background: var(--fs-danger);
    color: var(--color-text-primary);
}

.fsc-act:hover[b-4s6jo7dk3o] {
    background: var(--fs-danger-hover);
}

.fsc-act .material-icons[b-4s6jo7dk3o] {
    font-size: var(--gt-xl);
}

.fsc-cancel:focus-visible[b-4s6jo7dk3o],
.fsc-act:focus-visible[b-4s6jo7dk3o] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsc-act[disabled][b-4s6jo7dk3o] {
    opacity: 0.55;
    cursor: not-allowed;
}

@media (forced-colors: active) {
    .fsc[b-4s6jo7dk3o],
    .fsc-cancel[b-4s6jo7dk3o],
    .fsc-act[b-4s6jo7dk3o] {
        border-color: CanvasText;
    }

    .fsc-cancel:focus-visible[b-4s6jo7dk3o],
    .fsc-act:focus-visible[b-4s6jo7dk3o] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsEmpty.razor.rz.scp.css */
/* A new player's Fellowship (Docs/LRPG_FELLOWSHIP.md 5.14): tokens only; Garrick's voice in EB Garamond. */
.fsy0[b-gjzle806wb] {
    display: grid;
    gap: var(--space-lg);
    padding: var(--space-xl);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fd-line-gold);
    background: linear-gradient(180deg, var(--fd-hearth-top), var(--fd-hearth-bottom));
}

.fsy0-garrick[b-gjzle806wb] {
    display: grid;
    justify-items: center;
    gap: var(--space-sm);
    text-align: center;
}

.fsy0-mark[b-gjzle806wb] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--fd-gold-dark);
    background: var(--fd-well);
    color: var(--fd-gold);
    font: 800 var(--gt-3xl) / 1 var(--fd-font-display);
}

.fsy0-speaker[b-gjzle806wb] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fsy0-voice[b-gjzle806wb] {
    margin: 0;
    max-width: 52ch;
    font: italic 400 var(--gt-xl) / 1.5 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.fsy0-actions[b-gjzle806wb] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.fsy0-ways[b-gjzle806wb] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

/* Garrick's Hall beside "Join a guild" (W4, behind the GarricksHall flag) makes four ways in: two by two */
.fsy0-ways:has(> li:nth-child(4))[b-gjzle806wb] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fsy0-ways > li[b-gjzle806wb] {
    display: flex;
}

/* Two ways in are buttons (Find, Invite) and two are links (a guild, Garrick's Hall). MudBlazor's global
   "button { justify-content: center }" centred a button whose line is short (Invite by email), so the tile states its
   own start alignment and its text fills the rest of the row. */
.fsy0-way[b-gjzle806wb] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: var(--space-sm);
    flex: 1;
    padding: var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-surface);
    color: var(--fd-text-3);
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.fsy0-way > span:last-child[b-gjzle806wb] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.fsy0-way b[b-gjzle806wb] {
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fd-cream);
}

.fsy0-way .material-icons[b-gjzle806wb] {
    color: var(--fd-gold-text);
}

.fsy0-way:focus-visible[b-gjzle806wb] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

@media not all and (min-width: 768px) {
    .fsy0[b-gjzle806wb] {
        padding: var(--space-lg) var(--space-md);
    }

    .fsy0-ways[b-gjzle806wb],
    .fsy0-ways:has(> li:nth-child(4))[b-gjzle806wb] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .fsy0[b-gjzle806wb],
    .fsy0-way[b-gjzle806wb] {
        border-color: CanvasText;
    }

    .fsy0-way:focus-visible[b-gjzle806wb] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsEnvelope.razor.rz.scp.css */
/* One person waiting on you (Docs/LRPG_FELLOWSHIP.md 5.3, B's envelope): tokens only. */
.fse[b-9gv4krxafv] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
    padding: var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-surface-strong);
    box-sizing: border-box;
}

.fse-seal[b-9gv4krxafv] {
    position: absolute;
    top: -8px;
    right: -6px;
    min-width: 1.83em;
    height: 1.83em;
    padding: 0 6px;
    border-radius: 999px;
    border: 2px solid var(--fs-ring-bg);
    background: var(--color-count);
    color: var(--color-text-primary);
    font: 800 var(--gt-sm) / 1.5 var(--font-primary);
    text-align: center;
    box-sizing: border-box;
}

.fse-row[b-9gv4krxafv] {
    display: flex;
    gap: var(--space-md);
    min-width: 0;
}

.fse-body[b-9gv4krxafv] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.fse-title[b-9gv4krxafv] {
    margin: 0;
    font: 700 var(--gt-lg) / 1.25 var(--font-primary);
    color: var(--fd-cream);
    overflow-wrap: anywhere;
}

.fse-title--msg[b-9gv4krxafv] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}

/* The name and, for Old Man Lourdin, the "Lourdin team" tag beside it. */
.fse-who[b-9gv4krxafv] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    min-width: 0;
}

.fse-when[b-9gv4krxafv] {
    flex: none;
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fse-note[b-9gv4krxafv] {
    margin: var(--space-xs) 0 0;
    padding-left: var(--space-sm);
    border-left: 2px solid var(--fd-line-gold-strong);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fse-meta[b-9gv4krxafv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-md);
    margin: 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fse-line[b-9gv4krxafv] {
    margin: 0;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.fse-also[b-9gv4krxafv] {
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-2xl);
    background: var(--fd-well);
}

.fse-also-lead[b-9gv4krxafv] {
    margin: 0 0 2px;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fse-lock[b-9gv4krxafv] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    margin: var(--space-xs) 0 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fse-lock .material-icons[b-9gv4krxafv] {
    font-size: calc(var(--gt-px) * 15);
}

.fse-actions[b-9gv4krxafv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.fse-more[b-9gv4krxafv] {
    display: inline-flex;
    margin-left: auto;
}

.fse-reply[b-9gv4krxafv] {
    display: none;
}

.fse-quick[b-9gv4krxafv] {
    display: flex;
    gap: var(--space-sm);
}

.fse-field[b-9gv4krxafv] {
    flex: 1;
    min-width: 0;
    min-height: var(--fs-tap);
    padding: 0 var(--space-md);
    border-radius: var(--fd-r-btn);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-well);
    color: var(--fd-text);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    box-sizing: border-box;
}

.fse-field:focus-visible[b-9gv4krxafv] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 1px;
}

.fse-error[b-9gv4krxafv] {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--fs-bad-line);
    background: var(--fs-bad-fill);
    color: var(--fd-bad-ink);
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
}

.fse-done[b-9gv4krxafv] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-xs) 0 0;
    color: var(--fd-good);
    font: 600 var(--gt-base) / 1.3 var(--font-primary);
}

.fse-done .material-icons[b-9gv4krxafv] {
    font-size: var(--gt-xl);
}

.fse-answered[b-9gv4krxafv] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    font: 500 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

/* An answer's status line takes focus after its button left (a programmatic target, not a control): no ring. */
.fse-status:focus[b-9gv4krxafv] {
    outline: none;
}

.fse.is-accepted[b-9gv4krxafv] {
    border-color: var(--fs-good-line);
    background: var(--fs-good-fill);
}

.fse.is-declined[b-9gv4krxafv],
.fse.is-answered[b-9gv4krxafv] {
    border-style: dashed;
    background: transparent;
}

.fse.is-failed[b-9gv4krxafv] {
    border-color: var(--fs-bad-line);
}

/* The quick reply shows at 1280 and up; on the touch tiers Reply opens it in place */
.fse-touch[b-9gv4krxafv] {
    display: none;
}

@media (min-width: 1280px) {
    .fse-reply[b-9gv4krxafv] {
        display: block;
    }
}

@media not all and (min-width: 1280px) {
    .fse-touch[b-9gv4krxafv] {
        display: inline-flex;
    }

    .fse-reply.is-open[b-9gv4krxafv] {
        display: block;
    }
}

@media (forced-colors: active) {
    .fse[b-9gv4krxafv],
    .fse-field[b-9gv4krxafv] {
        border-color: CanvasText;
    }

    .fse-seal[b-9gv4krxafv] {
        forced-color-adjust: none;
        border-color: CanvasText;
    }

    .fse-field:focus-visible[b-9gv4krxafv] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsFindResults.razor.rz.scp.css */
/* Find's results (Docs/LRPG_FELLOWSHIP.md 5.10): tokens only. */
.fsr-status[b-5tkjjhlxg3] {
    margin: 0 0 var(--space-sm);
    min-height: 1em;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fsr-list[b-5tkjjhlxg3] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-xs);
}

.fsr-row[b-5tkjjhlxg3] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: var(--fs-row-h);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-surface);
}

.fsr-ava[b-5tkjjhlxg3] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fd-slate);
    border: 2px solid var(--fd-line-strong);
    color: var(--fd-text-3);
    font: 800 var(--gt-lg) / 1 var(--font-primary);
}

.fsr-who[b-5tkjjhlxg3] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.fsr-name[b-5tkjjhlxg3] {
    font: 700 var(--gt-lg) / 1.2 var(--font-primary);
    color: var(--fd-cream);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsr-error[b-5tkjjhlxg3] {
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-bad-text);
}

.fsr-tag[b-5tkjjhlxg3] {
    flex: none;
    padding: 2px var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text-3);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
}

.fsr-done[b-5tkjjhlxg3] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    flex: none;
    color: var(--fd-good);
    font: 700 var(--gt-base) / 1.2 var(--font-primary);
}

.fsr-done .material-icons[b-5tkjjhlxg3] {
    font-size: var(--gt-xl);
}

.fsr-none[b-5tkjjhlxg3] {
    display: grid;
    justify-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fd-line-gold);
    text-align: center;
}

.fsr-none-icon[b-5tkjjhlxg3] {
    font-size: var(--gt-4xl);
    color: var(--fd-text-4);
}

.fsr-none-title[b-5tkjjhlxg3] {
    margin: 0;
    font: 700 var(--gt-lg) / 1.3 var(--font-primary);
    color: var(--fd-cream);
    overflow-wrap: anywhere;
}

.fsr-none-line[b-5tkjjhlxg3] {
    margin: 0;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsr-failed[b-5tkjjhlxg3] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--fs-bad-line);
    background: var(--fs-bad-fill);
    color: var(--fd-bad-text);
}

.fsr-failed-text[b-5tkjjhlxg3] {
    display: flex;
    flex-direction: column;
    flex: 1;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
}

.fsr-failed-text b[b-5tkjjhlxg3] {
    color: var(--fd-bad-text);
}

@media (forced-colors: active) {
    .fsr-row[b-5tkjjhlxg3],
    .fsr-tag[b-5tkjjhlxg3],
    .fsr-failed[b-5tkjjhlxg3] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsFriendCode.razor.rz.scp.css */
/* The player's friend code strip (owner, 13 Nov 2026): tokens only. */
.fsc[b-vty4kgv0pv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    margin: 0 0 var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fd-line);
    background: var(--fd-surface);
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
}

.fsc-label[b-vty4kgv0pv] {
    color: var(--fd-text-3);
}

.fsc-code[b-vty4kgv0pv] {
    padding: 2px var(--space-sm);
    border-radius: var(--fd-r-btn);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-well);
    color: var(--fd-cream-2);
    font: 700 var(--gt-base) / 1.4 var(--font-mono);
    letter-spacing: 0.08em;
    user-select: all;
}

.fsc-status[b-vty4kgv0pv] {
    color: var(--fs-t-on);
}

.fsc-status:empty[b-vty4kgv0pv] {
    display: none;
}

.fsc-status.is-error[b-vty4kgv0pv] {
    color: var(--fd-gold-soft);
}

.fsc-confirm[b-vty4kgv0pv] {
    flex-basis: 100%;
    margin-top: var(--space-xs);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--fd-line);
}

.fsc-confirm-q[b-vty4kgv0pv] {
    margin: 0;
    color: var(--fd-cream-2);
    font-weight: 700;
}

.fsc-confirm-line[b-vty4kgv0pv] {
    margin: var(--space-xs) 0 var(--space-sm);
    color: var(--fd-text-3);
    font-weight: 400;
}

.fsc-confirm-acts[b-vty4kgv0pv] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

@media (forced-colors: active) {
    .fsc[b-vty4kgv0pv],
    .fsc-code[b-vty4kgv0pv] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsHead.razor.rz.scp.css */
/* The head (Docs/LRPG_FELLOWSHIP.md 5.2): tokens only; the tools per tier by canonical breakpoints. */
.fsh[b-k3exp74abd] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.fsh-h1[b-k3exp74abd] {
    margin: 0;
    font: 800 var(--gt-5xl) / 1.1 var(--fd-font-display);
    letter-spacing: 0.01em;
    color: var(--fd-cream-2);
}

/* The router focuses the page's h1 on every navigation: a programmatic focus target, not a control, so no ring (the
   front door's and app.css's rule). */
.fsh-h1:focus[b-k3exp74abd],
.fsh-h1:focus-visible[b-k3exp74abd] {
    outline: none;
}

.fsh-lines[b-k3exp74abd] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    margin: var(--space-xs) 0 0;
    font: 600 var(--gt-base) / 1.4 var(--font-primary);
}

.fsh-here[b-k3exp74abd] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fs-t-on);
}

.fsh-dot[b-k3exp74abd] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fs-on);
}

.fsh-waiting[b-k3exp74abd] {
    color: var(--fd-gold-soft);
}

.fsh-tools[b-k3exp74abd] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.fsh-find[b-k3exp74abd] {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
}

.fsh-find-icon[b-k3exp74abd] {
    position: absolute;
    left: var(--space-md);
    font-size: var(--gt-2xl);
    color: var(--fd-text-4);
    pointer-events: none;
}

.fsh-find-field[b-k3exp74abd] {
    width: 100%;
    min-height: var(--fs-tap);
    padding: 0 var(--space-md) 0 40px;
    border-radius: var(--fd-r-btn);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-well);
    color: var(--fd-text);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    box-sizing: border-box;
}

.fsh-find-field:focus-visible[b-k3exp74abd] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 1px;
}

.fsh-drop[b-k3exp74abd] {
    position: absolute;
    top: calc(100% + var(--space-sm));
    right: 0;
    z-index: 20;
    width: 420px;
    max-height: 70vh;
    overflow: auto;
    padding: var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fd-line-gold);
    background: var(--frame-pop-fill);
    box-shadow: var(--frame-pop-shadow);
}

.fsh-sr[b-k3exp74abd] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.fsh-nav[b-k3exp74abd] {
    grid-column: 1 / -1;
    display: none;
    gap: var(--space-xs);
    padding: var(--space-xs);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fd-line);
    background: var(--fd-surface);
}

.fsh-link[b-k3exp74abd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    flex: 1;
    min-height: var(--fs-tap);
    padding: 0 var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid transparent;
    color: var(--fd-text-2);
    font: 600 var(--gt-base) / 1.2 var(--font-primary);
    text-decoration: none;
}

.fsh-link:hover[b-k3exp74abd] {
    color: var(--fd-text);
}

.fsh-link.is-current[b-k3exp74abd] {
    border-color: var(--fd-line-gold-strong);
    background: var(--fs-you);
    color: var(--fd-gold-soft);
}

.fsh-link:focus-visible[b-k3exp74abd] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 1px;
}

.fsh-count[b-k3exp74abd] {
    min-width: 1.67em;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--fd-slate);
    color: var(--fd-text-3);
    font: 700 var(--gt-sm) / 1.4 var(--font-primary);
    text-align: center;
}

.fsh-count.is-alert[b-k3exp74abd] {
    background: var(--color-count);
    color: var(--color-text-primary);
}

/* The tools per tier: the field and labelled buttons at 1280 and up, three icons at 960 to 1279, one below. */
.fsh-wide[b-k3exp74abd],
.fsh-mid[b-k3exp74abd] {
    display: inline-flex;
}

.fsh-mid[b-k3exp74abd] {
    display: none;
}

@media not all and (min-width: 1280px) {
    .fsh-wide[b-k3exp74abd] {
        display: none;
    }

    .fsh-mid[b-k3exp74abd] {
        display: inline-flex;
    }

    .fsh-nav[b-k3exp74abd] {
        display: flex;
    }
}

/* From 1280 the links sit under the title, left-aligned */
@media (min-width: 1280px) {
    .fsh-nav[b-k3exp74abd] {
        display: flex;
        justify-self: start;
    }

    .fsh-link[b-k3exp74abd] {
        flex: none;
    }
}

@media not all and (min-width: 960px) {
    .fsh-mid:not(.fsh-narrow)[b-k3exp74abd] {
        display: none;
    }

    .fsh-h1[b-k3exp74abd] {
        font-size: var(--gt-3xl);
    }
}

@media (max-width: 480px) {
    .fsh[b-k3exp74abd] {
        gap: var(--space-sm);
    }
}

@media (forced-colors: active) {
    .fsh-link.is-current[b-k3exp74abd] {
        text-decoration: underline;
        border-color: Highlight;
    }

    .fsh-find-field:focus-visible[b-k3exp74abd],
    .fsh-link:focus-visible[b-k3exp74abd] {
        outline-color: Highlight;
    }

    .fsh-dot[b-k3exp74abd] {
        background: CanvasText;
        forced-color-adjust: none;
    }
}
/* /Components/Fellowship/FsHeroText.razor.rz.scp.css */
/* The hero line (Docs/LRPG_FELLOWSHIP.md 5.5): tokens only; the class colour through --cc. */
.fsx[b-jytexsymzf] {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    min-width: 0;
    margin: 0;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
    white-space: nowrap;
}

.fsx-name[b-jytexsymzf] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.02em;
    color: var(--fd-cream-2);
}

.fsx-class[b-jytexsymzf] {
    flex: none;
    font-weight: 700;
    color: color-mix(in srgb, var(--cc, var(--fd-text-3)) 50%, var(--color-text-primary));
}

.fsx-hidden[b-jytexsymzf] {
    font-style: italic;
    color: var(--fd-text-4);
}

@media (forced-colors: active) {
    .fsx-class[b-jytexsymzf] {
        color: CanvasText;
    }
}
/* /Components/Fellowship/FsInviteForm.razor.rz.scp.css */
/* Invite by email (Docs/LRPG_FELLOWSHIP.md 5.10): tokens only. */
.fsi[b-0bi5r4mj6x] {
    display: grid;
    gap: var(--space-md);
}

.fsi-head[b-0bi5r4mj6x] {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.fsi-icon[b-0bi5r4mj6x] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-2xl);
    background: var(--fs-you);
    border: 1px solid var(--fd-line-gold-strong);
    color: var(--fd-gold);
}

.fsi-title[b-0bi5r4mj6x] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.2 var(--fd-font-display);
    color: var(--fd-cream);
}

.fsi-lead[b-0bi5r4mj6x] {
    margin: var(--space-xs) 0 0;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsi-form[b-0bi5r4mj6x] {
    display: grid;
    gap: var(--space-xs);
}

.fsi-label[b-0bi5r4mj6x] {
    margin-top: var(--space-sm);
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fd-text);
}

.fsi-field[b-0bi5r4mj6x] {
    width: 100%;
    min-height: 44px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--fd-r-input);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-well);
    color: var(--fd-text);
    font: 400 var(--gt-lg) / 1.4 var(--font-primary);
    box-sizing: border-box;
}

.fsi-field:focus-visible[b-0bi5r4mj6x] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 1px;
}

.fsi-field.is-bad[b-0bi5r4mj6x] {
    border-color: var(--fs-bad-line);
}

.fsi-note[b-0bi5r4mj6x] {
    resize: vertical;
}

.fsi-help[b-0bi5r4mj6x],
.fsi-count[b-0bi5r4mj6x] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fsi-count[b-0bi5r4mj6x] {
    text-align: right;
}

.fsi-bad[b-0bi5r4mj6x] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fd-bad-text);
    font-weight: 600;
}

.fsi-bad .material-icons[b-0bi5r4mj6x] {
    font-size: var(--gt-lg);
}

.fsi-failed[b-0bi5r4mj6x] {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--fs-bad-line);
    background: var(--fs-bad-fill);
    color: var(--fd-text-2);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
}

.fsi-failed p[b-0bi5r4mj6x] {
    margin: 0;
}

.fsi-sent[b-0bi5r4mj6x] {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-good-line);
    background: var(--fs-good-fill);
}

.fsi-sent > .material-icons[b-0bi5r4mj6x] {
    color: var(--fd-good);
}

.fsi-sent-title[b-0bi5r4mj6x] {
    margin: 0;
    font: 700 var(--gt-lg) / 1.3 var(--font-primary);
    color: var(--fd-good-ink);
    overflow-wrap: anywhere;
}

.fsi-sent-line[b-0bi5r4mj6x] {
    margin: var(--space-xs) 0 var(--space-md);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
}

.fsi-actions[b-0bi5r4mj6x] {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

@media (forced-colors: active) {
    .fsi-field[b-0bi5r4mj6x],
    .fsi-sent[b-0bi5r4mj6x],
    .fsi-failed[b-0bi5r4mj6x] {
        border-color: CanvasText;
    }

    .fsi-field:focus-visible[b-0bi5r4mj6x] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsMateCard.razor.rz.scp.css */
/* A friend on the roll (Docs/LRPG_FELLOWSHIP.md 5.5, fs-mate): tokens only; a row on phones and for offline friends. */
.fsm[b-a0otwmvua4] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
    box-sizing: border-box;
}

.fsm.is-new[b-a0otwmvua4] {
    border-color: var(--fs-new);
}

.fsm.is-lit[b-a0otwmvua4] {
    border-color: var(--fd-line-gold-strong);
    box-shadow: var(--fd-shadow-gold);
}

.fsm-tags[b-a0otwmvua4] {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    gap: var(--space-xs);
    margin: 0;
}

.fsm-tag[b-a0otwmvua4] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text-3);
    font: 700 var(--gt-sm) / 1.4 var(--font-primary);
}

.fsm-tag .material-icons[b-a0otwmvua4] {
    font-size: var(--gt-base);
}

.fsm-tag--new[b-a0otwmvua4] {
    border-color: var(--fs-good-line);
    background: var(--fs-good-fill);
    color: var(--fd-good-ink);
}

.fsm-main[b-a0otwmvua4] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    min-width: 0;
}

.fsm-who[b-a0otwmvua4] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
    padding-top: var(--space-sm);
}

.fsm-name-line[b-a0otwmvua4] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    min-width: 0;
}

.fsm-name[b-a0otwmvua4] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: 700 var(--gt-lg) / 1.25 var(--font-primary);
    color: var(--fd-cream);
    text-decoration: none;
}

/* The profile link covers the card; the actions sit above it */
a.fsm-name[b-a0otwmvua4]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--fd-r-band);
}

a.fsm-name:focus-visible[b-a0otwmvua4] {
    outline: none;
}

a.fsm-name:focus-visible[b-a0otwmvua4]::after {
    outline: 2px solid var(--fd-gold);
    outline-offset: -2px;
}

.fsm.is-muted .fsm-name[b-a0otwmvua4] {
    color: var(--fd-text-3);
}

.fsm-fav[b-a0otwmvua4] {
    font-size: var(--gt-lg);
    color: var(--fd-gold);
}

.fsm-mute[b-a0otwmvua4] {
    font-size: var(--gt-lg);
    color: var(--fd-text-4);
}

.fsm-presence[b-a0otwmvua4] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    font: 600 var(--gt-sm) / 1.35 var(--font-primary);
}

.fsm-presence .material-icons[b-a0otwmvua4] {
    font-size: calc(var(--gt-px) * 15);
}

.fsm-tone--on[b-a0otwmvua4] { color: var(--fs-t-on); }
.fsm-tone--tavern[b-a0otwmvua4] { color: var(--fs-t-tavern); }
.fsm-tone--road[b-a0otwmvua4] { color: var(--fs-t-road); }
.fsm-tone--away[b-a0otwmvua4] { color: var(--fs-t-away); }
.fsm-tone--busy[b-a0otwmvua4] { color: var(--fs-t-battle); }
.fsm-tone--off[b-a0otwmvua4] { color: var(--fs-t-off); }

.fsm-news[b-a0otwmvua4] {
    margin: 0;
    font: 500 var(--gt-sm) / 1.35 var(--font-primary);
    color: var(--fd-text-3);
}

.fsm.is-new .fsm-news[b-a0otwmvua4] {
    color: var(--fd-good);
}

.fsm-actions[b-a0otwmvua4] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: auto;
}

.fsm-actions > :first-child[b-a0otwmvua4] {
    margin-right: auto;
}

.fsm-star[b-a0otwmvua4],
.fsm-more[b-a0otwmvua4] {
    display: inline-flex;
}

.fsm-count[b-a0otwmvua4] {
    min-width: 1.5em;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--color-count);
    color: var(--color-text-primary);
    font: 800 var(--gt-sm) / 1.5 var(--font-primary);
    text-align: center;
}

.fsm-wait[b-a0otwmvua4] {
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsm-danger[b-a0otwmvua4] {
    color: var(--fd-bad-text);
}

.fsm-error[b-a0otwmvua4] {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--fs-bad-line);
    background: var(--fs-bad-fill);
    color: var(--fd-bad-ink);
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
}

/* Offline friends: a compact row, the portrait dimmed */
.fsm.is-off[b-a0otwmvua4] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    min-height: var(--fs-row-h);
}

/* The text keeps at least 13rem; past that the action wraps under it (a 390 phone: never "T." for Thorn). */
.fsm.is-off .fsm-main[b-a0otwmvua4] {
    flex: 1 1 13rem;
    min-width: 0;
    align-items: center;
}

.fsm.is-off .fsm-who[b-a0otwmvua4] {
    padding-top: 0;
}

.fsm.is-off .fsm-actions[b-a0otwmvua4] {
    margin-top: 0;
}

.fsm.is-off .fsm-tags[b-a0otwmvua4] {
    position: static;
    order: 2;
}

/* Phones: every friend a row, one action; Favourite lives in More */
@media not all and (min-width: 768px) {
    .fsm[b-a0otwmvua4] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding: var(--space-sm) var(--space-md);
        min-height: var(--fs-row-h);
    }

    .fsm-main[b-a0otwmvua4] {
        flex: 1 1 13rem;
        min-width: 0;
        align-items: center;
    }

    .fsm-actions[b-a0otwmvua4] {
        margin-left: auto;
    }

    .fsm-who[b-a0otwmvua4] {
        padding-top: 0;
    }

    .fsm-tags[b-a0otwmvua4] {
        position: static;
        order: 3;
        width: 100%;
    }

    .fsm-actions[b-a0otwmvua4] {
        margin-top: 0;
    }

    .fsm-star[b-a0otwmvua4] {
        display: none;
    }
}

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

@media (forced-colors: active) {
    .fsm[b-a0otwmvua4],
    .fsm-tag[b-a0otwmvua4] {
        border-color: CanvasText;
    }

    .fsm.is-lit[b-a0otwmvua4] {
        outline: 2px solid Highlight;
    }

    a.fsm-name:focus-visible[b-a0otwmvua4]::after {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsMoreTiles.razor.rz.scp.css */
/* More of Fellowship (Docs/LRPG_FELLOWSHIP.md 5.6): tokens only; four a row, two on phones. */
.fst-title[b-e4lfgwvq95] {
    margin: 0 0 var(--space-sm);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-3);
}

.fst-list[b-e4lfgwvq95] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
}

/* Garrick's Hall's tile (W4, behind the GarricksHall flag) makes five: one row of five from 1280 */
.fst-list:has(> li:nth-child(5))[b-e4lfgwvq95] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fst-list > li[b-e4lfgwvq95] {
    display: flex;
    min-width: 0;
}

.fst-tile[b-e4lfgwvq95] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
    min-width: 0;
    min-height: var(--fs-row-h);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-surface);
    color: var(--fd-text);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.fst-tile:hover[b-e4lfgwvq95] {
    border-color: var(--fd-line-gold-strong);
}

.fst-tile:focus-visible[b-e4lfgwvq95] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fst-icon[b-e4lfgwvq95] {
    color: var(--fd-text-3);
}

.fst-text[b-e4lfgwvq95] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    font: 500 var(--gt-sm) / 1.35 var(--font-primary);
    color: var(--fd-text-3);
}

.fst-text b[b-e4lfgwvq95] {
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fd-cream);
}

.fst-out[b-e4lfgwvq95] {
    font-size: var(--gt-xl);
    color: var(--fd-text-4);
}

@media not all and (min-width: 1280px) {
    .fst-list[b-e4lfgwvq95],
    .fst-list:has(> li:nth-child(5))[b-e4lfgwvq95] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media not all and (min-width: 480px) {
    .fst-list[b-e4lfgwvq95] {
        gap: var(--space-sm);
    }
}

@media (forced-colors: active) {
    .fst-tile[b-e4lfgwvq95] {
        border-color: CanvasText;
    }

    .fst-tile:focus-visible[b-e4lfgwvq95] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsPanel.razor.rz.scp.css */
/* The panel slot (Docs/LRPG_FELLOWSHIP.md 5.1, 5.2): over the view at 1280+, docked at 960 to 1279, a full page below.
   Tokens only. Not modal on desktop (R11): nothing dims the view. */
.fsp[b-ndsu627fhj] {
    position: fixed;
    z-index: 1100;
    top: var(--frame-top);
    right: 0;
    bottom: var(--frame-bottom);
    width: min(var(--fs-panel-w), 100%);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--fd-line-gold);
    background: var(--fd-bg);
    box-shadow: var(--frame-shadow);
    overflow: hidden;
}

.fsp-head[b-ndsu627fhj] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-md) var(--space-sm) var(--space-lg);
    border-bottom: 1px solid var(--fs-card-line);
}

.fsp-title[b-ndsu627fhj] {
    margin: 0;
    flex: 1;
    min-width: 0;
    font: 700 var(--gt-2xl) / 1.2 var(--fd-font-display);
    letter-spacing: 0.04em;
    color: var(--fd-gold-text);
}

/* Focus moves here when the panel opens (a programmatic target, not a control): no ring. */
.fsp-title:focus[b-ndsu627fhj],
.fsp-title:focus-visible[b-ndsu627fhj] {
    outline: none;
}

.fsp-count[b-ndsu627fhj] {
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-4);
}

.fsp-body[b-ndsu627fhj] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: var(--space-lg);
}

/* 960 to 1279: docked beside the view, which narrows to a 400px list (the page's own sheet). */
@media (min-width: 960px) and (max-width: 1279.98px) {
    .fsp[b-ndsu627fhj] {
        left: 400px;
        width: auto;
    }
}

/* Below 960: a full page under the bar (phones: under the 56px top bar, above the dock). */
@media (max-width: 959.98px) {
    .fsp[b-ndsu627fhj] {
        left: 0;
        width: auto;
        border-left: 0;
    }
}

@media (max-width: 767.98px) {
    .fsp[b-ndsu627fhj] {
        top: var(--frame-top);
        bottom: var(--frame-bottom);
        left: var(--frame-left);
    }

    .fsp-body[b-ndsu627fhj] {
        padding: var(--space-md);
    }
}

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

@media (forced-colors: active) {
    .fsp[b-ndsu627fhj] {
        border-left: 1px solid CanvasText;
    }
}
/* /Components/Fellowship/FsPrivacy.razor.rz.scp.css */
/* Privacy (Docs/LRPG_FELLOWSHIP.md 5.11): tokens only. Switches 52 x 32 with a 44px hit on touch. */
.fspr[b-39h3j8qrmc] {
    display: grid;
    gap: var(--space-lg);
}

.fspr-gtitle[b-39h3j8qrmc] {
    margin: 0 0 var(--space-sm);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fspr-list[b-39h3j8qrmc] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-xs);
}

.fspr-row[b-39h3j8qrmc] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md);
    min-height: var(--fs-row-h);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
}

.fspr-icon[b-39h3j8qrmc] {
    color: var(--fd-text-3);
}

.fspr-text[b-39h3j8qrmc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fspr-label[b-39h3j8qrmc] {
    font: 600 var(--gt-base) / 1.35 var(--font-primary);
    color: var(--fd-text);
}

.fspr-line[b-39h3j8qrmc] {
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fspr-save[b-39h3j8qrmc] {
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fspr-save:empty[b-39h3j8qrmc] {
    display: none;
}

.fspr-save--saved[b-39h3j8qrmc] {
    color: var(--fs-t-on);
}

.fspr-save--failed[b-39h3j8qrmc] {
    color: var(--fd-bad-text);
}

.fspr-switch[b-39h3j8qrmc] {
    position: relative;
    flex: none;
    width: 52px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--fs-card-line);
    background: var(--fd-well);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.fspr-switch.is-on[b-39h3j8qrmc] {
    border-color: var(--fd-line-gold);
    background: var(--fs-you);
}

.fspr-knob[b-39h3j8qrmc] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--fd-text-3);
    transition: transform 0.15s ease, background 0.15s ease;
}

.fspr-switch.is-on .fspr-knob[b-39h3j8qrmc] {
    transform: translateX(20px);
    background: var(--fd-gold);
}

.fspr-switch:focus-visible[b-39h3j8qrmc] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fspr-switch:disabled[b-39h3j8qrmc] {
    cursor: progress;
    opacity: 0.6;
}

/* A 44px hit on touch around the 32px track (an empty box, no glyph). */
@media (pointer: coarse) {
    .fspr-switch[b-39h3j8qrmc]::after {
        content: "";
        position: absolute;
        inset: -7px -2px;
    }
}

.fspr-seen[b-39h3j8qrmc] {
    display: grid;
}

.fspr-notes[b-39h3j8qrmc] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--fs-tap);
    color: var(--fd-gold-text);
    font: 600 var(--gt-sm) / 1.3 var(--font-primary);
}

/* The default hero: friends see the hero chosen in the Hall of Heroes (owner, 13 Nov 2026). */
.fspr-hero[b-39h3j8qrmc] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    margin: var(--space-sm) 0 0;
    color: var(--fd-text-3);
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
}

.fspr-hero-link[b-39h3j8qrmc] {
    display: inline-flex;
    align-items: center;
    min-height: var(--fs-tap);
    color: var(--fd-gold-text);
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .fspr-switch[b-39h3j8qrmc],
    .fspr-knob[b-39h3j8qrmc] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .fspr-switch[b-39h3j8qrmc] {
        border-color: CanvasText;
    }

    .fspr-switch.is-on .fspr-knob[b-39h3j8qrmc] {
        background: Highlight;
    }

    .fspr-switch:focus-visible[b-39h3j8qrmc] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsReady.razor.rz.scp.css */
/* Ready to play (Docs/LRPG_FELLOWSHIP.md 5.4): the spotlight over the adventure's art; tokens only. */
.fsy-title[b-oma3qiv73f] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 var(--space-sm);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fsy-count[b-oma3qiv73f] {
    color: var(--fd-text-3);
}

.fsy-list[b-oma3qiv73f],
.fsy-rows[b-oma3qiv73f] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}

.fsy-spot[b-oma3qiv73f] {
    position: relative;
    overflow: hidden;
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-card);
}

.fsy-art[b-oma3qiv73f] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 40%;
}

.fsy-scrim[b-oma3qiv73f] {
    position: absolute;
    inset: 0;
    background: var(--fs-scrim);
}

.fsy-content[b-oma3qiv73f] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
}

.fsy-who[b-oma3qiv73f] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.fsy-eyebrow[b-oma3qiv73f] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: 0;
    font: 600 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fs-t-party);
}

.fsy-eyebrow .material-icons[b-oma3qiv73f] {
    font-size: var(--gt-xl);
}

.fsy-clock[b-oma3qiv73f] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px var(--space-sm);
    border-radius: 999px;
    background: var(--fs-bad-fill);
    border: 1px solid var(--fs-bad-line);
    color: var(--fd-bad-ink);
    font: 700 var(--gt-sm) / 1.4 var(--font-primary);
    font-variant-numeric: tabular-nums;
}

.fsy-clock .material-icons[b-oma3qiv73f] {
    font-size: calc(var(--gt-px) * 15);
}

.fsy-name[b-oma3qiv73f] {
    margin: 0;
    font: 800 var(--gt-2xl) / 1.2 var(--fd-font-display);
    color: var(--fd-cream);
}

.fsy-facts[b-oma3qiv73f] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-md);
    margin: 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
}

.fsy-hosting[b-oma3qiv73f] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fs-t-party);
}

.fsy-hosting .material-icons[b-oma3qiv73f] {
    font-size: calc(var(--gt-px) * 15);
}

.fsy-ranout[b-oma3qiv73f],
.fsy-reason[b-oma3qiv73f] {
    margin: 0;
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsy-actions[b-oma3qiv73f] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-sm);
}

.fsy-more[b-oma3qiv73f] {
    margin: var(--space-md) 0 var(--space-sm);
    font: 600 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsy-row[b-oma3qiv73f] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: var(--fs-row-h);
    padding: 0 var(--space-md);
    border-radius: var(--radius-2xl);
    background: var(--fd-surface);
}

.fsy-row-name[b-oma3qiv73f] {
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fd-cream);
}

.fsy-row-line[b-oma3qiv73f] {
    flex: 1;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

@media not all and (min-width: 768px) {
    .fsy-content[b-oma3qiv73f] {
        flex-wrap: wrap;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .fsy-actions[b-oma3qiv73f] {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (forced-colors: active) {
    .fsy-spot[b-oma3qiv73f],
    .fsy-clock[b-oma3qiv73f] {
        border-color: CanvasText;
    }

    .fsy-scrim[b-oma3qiv73f] {
        background: Canvas;
    }
}
/* /Components/Fellowship/FsRoll.razor.rz.scp.css */
/* The roll (Docs/LRPG_FELLOWSHIP.md 5.5): tokens only; cards three a row, two at 768 to 959, rows on phones. */
.fso-band[b-rtlh7fnb9f] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 var(--space-sm);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-3);
}

.fso-count[b-rtlh7fnb9f] {
    color: var(--fd-text-4);
}

.fso-cards[b-rtlh7fnb9f],
.fso-rows[b-rtlh7fnb9f] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}

.fso-cards[b-rtlh7fnb9f] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fso-cards > li[b-rtlh7fnb9f],
.fso-rows > li[b-rtlh7fnb9f] {
    display: flex;
    min-width: 0;
}

.fso-cards > li[b-rtlh7fnb9f] >  .fsm,
.fso-rows > li[b-rtlh7fnb9f] >  .fsm {
    flex: 1;
}

.fso-none[b-rtlh7fnb9f] {
    padding: var(--space-lg);
    border-radius: var(--fd-r-band);
    border: 1px dashed var(--fd-line-strong);
}

.fso-voice[b-rtlh7fnb9f] {
    margin: 0;
    font: italic 400 var(--gt-lg) / 1.45 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.fso-line[b-rtlh7fnb9f] {
    margin: var(--space-sm) 0 0;
    font: 500 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

@media not all and (min-width: 960px) {
    .fso-cards[b-rtlh7fnb9f] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media not all and (min-width: 768px) {
    .fso-cards[b-rtlh7fnb9f] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-sm);
    }
}

@media (forced-colors: active) {
    .fso-none[b-rtlh7fnb9f] {
        border-color: CanvasText;
    }
}

/* "favourites first", for the heading's spoken name only (the comp's m-sr). */
.fso-sr[b-rtlh7fnb9f] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* /Components/Fellowship/FsSectionError.razor.rz.scp.css */
/* A section's error (Docs/LRPG_FELLOWSHIP.md 5.14): tokens only. */
.fse2[b-qmuqynl1xa] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-bad-line);
    background: var(--fs-bad-fill);
}

.fse2-icon[b-qmuqynl1xa] {
    color: var(--fd-bad);
}

.fse2-text[b-qmuqynl1xa] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
}

.fse2-text b[b-qmuqynl1xa] {
    color: var(--fd-bad-text);
}

@media (forced-colors: active) {
    .fse2[b-qmuqynl1xa] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsSent.razor.rz.scp.css */
/* Requests you sent (Docs/LRPG_FELLOWSHIP.md 5.6): tokens only. */
.fss-title[b-ymqh405fjm] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 var(--space-sm);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-3);
}

.fss-count[b-ymqh405fjm] {
    color: var(--fd-text-4);
}

.fss-list[b-ymqh405fjm] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.fss-row[b-ymqh405fjm] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
    min-height: var(--fs-row-h);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-3xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-surface);
}

.fss-ava[b-ymqh405fjm] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--fd-slate);
    border: 2px solid var(--fd-line-strong);
    color: var(--fd-text-3);
    font: 800 var(--gt-lg) / 1 var(--font-primary);
}

.fss-ava .material-icons[b-ymqh405fjm] {
    font-size: var(--gt-2xl);
}

.fss-who[b-ymqh405fjm] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.fss-lead[b-ymqh405fjm] {
    font: 500 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--fd-text-2);
    overflow-wrap: anywhere;
}

.fss-lead b[b-ymqh405fjm] {
    color: var(--fd-cream);
}

.fss-meta[b-ymqh405fjm] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-md);
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fss-error[b-ymqh405fjm] {
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-bad-text);
}

@media not all and (min-width: 960px) {
    .fss-list[b-ymqh405fjm] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .fss-row[b-ymqh405fjm] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsSkeleton.razor.rz.scp.css */
/* The loading shapes (Docs/LRPG_FELLOWSHIP.md 5.14): tokens only; a slow shimmer, still under reduced motion. */
.fsk[b-pp7hsomy6c] {
    display: grid;
    gap: var(--space-md);
}

.fsk-cards[b-pp7hsomy6c] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.fsk-card[b-pp7hsomy6c],
.fsk-row[b-pp7hsomy6c] {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
}

.fsk-card[b-pp7hsomy6c] {
    flex-direction: column;
    min-height: 180px;
}

.fsk-ava[b-pp7hsomy6c],
.fsk-bar[b-pp7hsomy6c],
.fsk-btn[b-pp7hsomy6c] {
    display: block;
    border-radius: var(--radius-lg);
    background: var(--fd-slate);
    animation: fsk-pulse-b-pp7hsomy6c 1.6s ease-in-out infinite;
}

.fsk-ava[b-pp7hsomy6c] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.fsk-ava--sm[b-pp7hsomy6c] {
    width: 40px;
    height: 40px;
}

.fsk-lines[b-pp7hsomy6c] {
    display: grid;
    gap: var(--space-sm);
    flex: 1;
}

.fsk-bar[b-pp7hsomy6c] {
    height: 12px;
    width: 70%;
}

.fsk-bar--short[b-pp7hsomy6c] {
    width: 45%;
}

.fsk-btn[b-pp7hsomy6c] {
    width: 96px;
    height: 32px;
    margin-top: auto;
}

@keyframes fsk-pulse-b-pp7hsomy6c {
    50% { opacity: 0.55; }
}

@media not all and (min-width: 768px) {
    .fsk-cards[b-pp7hsomy6c] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fsk-ava[b-pp7hsomy6c],
    .fsk-bar[b-pp7hsomy6c],
    .fsk-btn[b-pp7hsomy6c] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .fsk-card[b-pp7hsomy6c],
    .fsk-row[b-pp7hsomy6c] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/FsTidings.razor.rz.scp.css */
/* Tidings (Docs/LRPG_FELLOWSHIP.md 5.6, 5.9): tokens only; bosses in the red family, never the banned amber. */
.fsd[b-rie1dq71vl] {
    padding: var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
}

.fsd-head[b-rie1dq71vl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.fsd-title[b-rie1dq71vl] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fsd-title--view[b-rie1dq71vl] {
    font-size: var(--gt-2xl);
    letter-spacing: 0.06em;
}

.fsd-title:focus[b-rie1dq71vl] {
    outline: none;
}

.fsd-count[b-rie1dq71vl] {
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fsd-viewline[b-rie1dq71vl] {
    margin: var(--space-xs) 0 0;
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsd-day[b-rie1dq71vl] {
    margin: var(--space-md) 0 var(--space-xs);
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fsd-list[b-rie1dq71vl] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-xs);
}

.fsd-item[b-rie1dq71vl] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-xs);
    border-radius: var(--radius-2xl);
}

.fsd-icon[b-rie1dq71vl] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.fsd-icon .material-icons[b-rie1dq71vl] {
    font-size: calc(var(--gt-px) * 17);
}

.fsd-tone--gold .fsd-icon[b-rie1dq71vl] { color: var(--fd-gold); }
.fsd-tone--danger .fsd-icon[b-rie1dq71vl] { color: var(--fd-bad); }
.fsd-tone--epic .fsd-icon[b-rie1dq71vl] { color: var(--frame-locked); }
.fsd-tone--success .fsd-icon[b-rie1dq71vl] { color: var(--fd-good); }
.fsd-tone--info .fsd-icon[b-rie1dq71vl] { color: var(--fd-info); }
.fsd-tone--neutral .fsd-icon[b-rie1dq71vl] { color: var(--fd-text-3); }

.fsd-text[b-rie1dq71vl] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-width: 0;
}

.fsd-deed[b-rie1dq71vl] {
    font: 400 var(--gt-base) / 1.35 var(--font-primary);
    color: var(--fd-text-2);
    overflow-wrap: anywhere;
}

.fsd-deed b[b-rie1dq71vl] {
    color: var(--fd-cream);
}

.fsd-tone--danger .fsd-hl[b-rie1dq71vl] { color: var(--fd-bad-text); }
.fsd-tone--epic .fsd-hl[b-rie1dq71vl] { color: var(--frame-locked); }

.fsd-meta[b-rie1dq71vl] {
    display: flex;
    gap: var(--space-sm);
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-4);
}

.fsd-link[b-rie1dq71vl],
.fsd-all[b-rie1dq71vl] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: none;
    min-height: var(--fs-tap);
    color: var(--fd-gold-text);
    font: 600 var(--gt-base) / 1.3 var(--font-primary);
    text-decoration: none;
}

.fsd-link .material-icons[b-rie1dq71vl],
.fsd-all .material-icons[b-rie1dq71vl] {
    font-size: var(--gt-lg);
}

.fsd-link:hover[b-rie1dq71vl],
.fsd-all:hover[b-rie1dq71vl] {
    text-decoration: underline;
}

.fsd-link:focus-visible[b-rie1dq71vl],
.fsd-all:focus-visible[b-rie1dq71vl] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsd-all[b-rie1dq71vl] {
    margin-top: var(--space-sm);
}

.fsd-empty[b-rie1dq71vl] {
    padding: var(--space-md) 0;
    text-align: center;
}

.fsd-voice[b-rie1dq71vl] {
    margin: 0;
    font: italic 400 var(--gt-lg) / 1.45 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.fsd-line[b-rie1dq71vl] {
    margin: var(--space-sm) 0 0;
    font: 500 var(--gt-base) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

/* The column is the third link below 960 (5.6) */
@media not all and (min-width: 960px) {
    .fsd.is-column[b-rie1dq71vl] {
        display: none;
    }
}

@media (forced-colors: active) {
    .fsd[b-rie1dq71vl],
    .fsd-icon[b-rie1dq71vl] {
        border-color: CanvasText;
    }

    .fsd-link:focus-visible[b-rie1dq71vl],
    .fsd-all:focus-visible[b-rie1dq71vl] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/FsWaiting.razor.rz.scp.css */
/* Waiting on you (Docs/LRPG_FELLOWSHIP.md 5.3): the door's gold-tinted well; tokens only. */
.fsw[b-oz6lodq29v] {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-door-line);
    background: var(--fs-door);
}

.fsw-label[b-oz6lodq29v] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--space-sm);
}

.fsw-title[b-oz6lodq29v] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fsw-title:focus[b-oz6lodq29v] {
    outline: none;
}

.fsw-total[b-oz6lodq29v] {
    margin: var(--space-xs) 0 0;
    font: 800 var(--gt-5xl) / 1 var(--fd-font-display);
    color: var(--fd-cream);
}

.fsw-parts[b-oz6lodq29v] {
    margin: 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsw-list[b-oz6lodq29v] {
    list-style: none;
    margin: 0;
    padding: var(--space-sm) var(--space-xs) var(--space-xs);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.fsw-item[b-oz6lodq29v] {
    min-width: 0;
    display: flex;
}

.fsw-item[b-oz6lodq29v] >  .fse {
    flex: 1;
}

.fsw-item.is-beyond[b-oz6lodq29v] {
    display: none;
}

.fsw-more[b-oz6lodq29v] {
    grid-column: 2;
    justify-self: end;
    color: var(--fd-gold-text);
    font: 600 var(--gt-base) / 1.4 var(--font-primary);
}

.fsw-more:focus-visible[b-oz6lodq29v] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsw.is-expanded[b-oz6lodq29v] {
    grid-template-columns: minmax(0, 1fr);
}

.fsw.is-expanded .fsw-list[b-oz6lodq29v] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fsw.is-expanded .fsw-item.is-beyond[b-oz6lodq29v] {
    display: flex;
}

/* Below 1280: the strip scrolls sideways with a peek of the next envelope */
@media not all and (min-width: 1280px) {
    .fsw[b-oz6lodq29v] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fsw-label[b-oz6lodq29v] {
        flex-direction: row;
        align-items: baseline;
        gap: var(--space-sm);
        padding: 0 var(--space-xs);
    }

    .fsw-total[b-oz6lodq29v] {
        font-size: var(--gt-xl);
    }

    .fsw-list[b-oz6lodq29v] {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-top: var(--space-md);
    }

    .fsw-item[b-oz6lodq29v],
    .fsw-item.is-beyond[b-oz6lodq29v] {
        display: flex;
        flex: 0 0 min(340px, 84%);
        scroll-snap-align: start;
    }

    .fsw-more[b-oz6lodq29v] {
        display: none;
    }

    .fsw.is-expanded .fsw-list[b-oz6lodq29v] {
        display: grid;
        overflow: visible;
    }
}

@media not all and (min-width: 960px) {
    .fsw.is-expanded .fsw-list[b-oz6lodq29v] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .fsw[b-oz6lodq29v] {
        border-color: CanvasText;
    }

    .fsw-more:focus-visible[b-oz6lodq29v] {
        outline-color: Highlight;
    }
}
/* /Components/Fellowship/Messages/FsConversations.razor.rz.scp.css */
/* The Conversations pane (D1). Rows 64px tall, 44px targets on touch, the count red (slate when muted, gold for him). */
.fsx-list[b-eg20pxjnsg] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-height: 0;
    padding: var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
    overflow: hidden;
}

/* Wraps: at a large text size "Conversations" and Write no longer share the 280-340px column (readable game text). */
.fsx-list-head[b-eg20pxjnsg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.fsx-list-title[b-eg20pxjnsg] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.2 var(--fd-font-display);
    color: var(--fd-gold-text);
}

.fsx-search[b-eg20pxjnsg] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0 var(--space-sm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-well);
    color: var(--fd-text-3);
}

.fsx-search:focus-within[b-eg20pxjnsg] {
    border-color: var(--fd-line-gold);
}

.fsx-field[b-eg20pxjnsg] {
    flex: 1;
    min-width: 0;
    min-height: 36px;
    border: 0;
    background: transparent;
    color: var(--fd-text);
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
}

.fsx-field:focus[b-eg20pxjnsg] {
    outline: none;
}

.fsx-write .fsx-field[b-eg20pxjnsg] {
    width: 100%;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-well);
}

.fsx-write[b-eg20pxjnsg] {
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-sm);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-surface);
}

.fsx-write-list[b-eg20pxjnsg] {
    display: grid;
    gap: 2px;
    max-height: 220px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

.fsx-write-row[b-eg20pxjnsg] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-sm);
    width: 100%;
    min-height: 40px;
    padding: 2px var(--space-xs);
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--fd-text);
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    text-align: left;
    cursor: pointer;
}

.fsx-write-row:hover[b-eg20pxjnsg],
.fsx-write-row:focus-visible[b-eg20pxjnsg] {
    background: var(--fs-you);
    outline: none;
}

.fsx-filters[b-eg20pxjnsg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
}

.fsx-chip[b-eg20pxjnsg] {
    min-height: 30px;
    padding: 0 var(--space-sm);
    border-radius: 999px;
    border: 1px solid var(--fs-card-line);
    background: transparent;
    color: var(--fd-text-2);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.fsx-chip.is-on[b-eg20pxjnsg] {
    border-color: var(--fd-line-gold);
    background: var(--fs-you);
    color: var(--fd-gold-text);
}

.fsx-chip:focus-visible[b-eg20pxjnsg],
.fsx-row-open:focus-visible[b-eg20pxjnsg],
.fsx-row-reply:focus-visible[b-eg20pxjnsg] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsx-keys[b-eg20pxjnsg] {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    color: var(--fd-text-4);
}

.fsx-keys .material-icons[b-eg20pxjnsg] {
    font-size: var(--gt-xl);
}

.fsx-keys-text[b-eg20pxjnsg],
.fsx-sr[b-eg20pxjnsg] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.fsx-rows[b-eg20pxjnsg] {
    flex: 1;
    min-height: 0;
    margin: 0 calc(-1 * var(--space-xs));
    padding: 0 var(--space-xs) var(--space-md);
    list-style: none;
    overflow-y: auto;
}

.fsx-row[b-eg20pxjnsg] {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: var(--radius-lg);
}

.fsx-row.is-on[b-eg20pxjnsg] {
    background: var(--fs-you);
    box-shadow: inset 3px 0 0 var(--fd-gold);
}

.fsx-row-open[b-eg20pxjnsg] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
    min-height: 64px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    color: var(--fd-text);
    text-decoration: none;
}

.fsx-row-open:hover[b-eg20pxjnsg] {
    background: var(--fd-surface);
}

.fsx-row-face[b-eg20pxjnsg] {
    display: inline-flex;
    flex: none;
    width: 44px;
    height: 44px;
}

.fsx-row-face[b-eg20pxjnsg]  .ls-seal {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.fsx-row-body[b-eg20pxjnsg] {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.fsx-row-top[b-eg20pxjnsg],
.fsx-row-bottom[b-eg20pxjnsg] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-width: 0;
}

.fsx-row-name[b-eg20pxjnsg] {
    overflow: hidden;
    font: 600 var(--gt-sm) / 1.25 var(--font-primary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsx-row.is-unread .fsx-row-name[b-eg20pxjnsg] {
    font-weight: 800;
    color: var(--fd-cream);
}

.fsx-row-time[b-eg20pxjnsg] {
    flex: none;
    margin-left: auto;
    font: 400 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-row-preview[b-eg20pxjnsg],
.fsx-row-draft[b-eg20pxjnsg] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsx-row.is-unread .fsx-row-preview[b-eg20pxjnsg] {
    color: var(--fd-text-2);
}

.fsx-row-draft[b-eg20pxjnsg] {
    color: var(--color-warning-bright);
}

.fsx-tag[b-eg20pxjnsg] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 2px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid var(--fs-card-line);
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-tag .material-icons[b-eg20pxjnsg] {
    font-size: var(--gt-md);
}

.fsx-count[b-eg20pxjnsg] {
    flex: none;
    min-width: 20px;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--fd-bad);
    color: var(--fd-cream);
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    text-align: center;
}

.fsx-count.is-muted[b-eg20pxjnsg] {
    background: var(--fd-slate);
}

.fsx-count.is-gold[b-eg20pxjnsg] {
    background: var(--fd-gold);
    color: var(--fd-on-gold);
}

.fsx-row-reply[b-eg20pxjnsg] {
    position: absolute;
    right: var(--space-xs);
    bottom: var(--space-xs);
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--fs-card-line);
    border-radius: 50%;
    background: var(--fd-surface);
    color: var(--fd-text-2);
    opacity: 0;
    cursor: pointer;
}

.fsx-row:hover .fsx-row-reply[b-eg20pxjnsg],
.fsx-row:focus-within .fsx-row-reply[b-eg20pxjnsg] {
    opacity: 1;
}

.fsx-quick[b-eg20pxjnsg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    margin: 0 0 var(--space-xs) 52px;
    padding: var(--space-xs);
    border-radius: var(--radius-lg);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-well);
}

.fsx-quick-hint[b-eg20pxjnsg] {
    flex-basis: 100%;
    font-size: var(--gt-sm);
}

.fsx-error[b-eg20pxjnsg] {
    flex-basis: 100%;
    margin: 0;
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-bad-text);
}

.fsx-quiet[b-eg20pxjnsg] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-none[b-eg20pxjnsg] {
    padding: var(--space-md) 0;
    text-align: center;
}

.fsx-empty[b-eg20pxjnsg] {
    display: grid;
    justify-items: center;
    gap: var(--space-xs);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    color: var(--fd-text-3);
}

.fsx-empty .material-icons[b-eg20pxjnsg] {
    font-size: var(--gt-6xl);
    color: var(--fd-gold);
}

.fsx-empty-title[b-eg20pxjnsg] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.25 var(--fd-font-display);
    color: var(--fd-gold-text);
}

.fsx-empty-line[b-eg20pxjnsg] {
    margin: 0;
    font: 400 var(--gt-base) / 1.45 var(--fd-font-voice);
}

.fsx-empty-acts[b-eg20pxjnsg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.fsx-fold[b-eg20pxjnsg] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 36px;
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-fold .material-icons[b-eg20pxjnsg] {
    font-size: var(--gt-lg);
}

@media (pointer: coarse) {
    .fsx-chip[b-eg20pxjnsg],
    .fsx-field[b-eg20pxjnsg] {
        min-height: var(--fs-tap);
    }

    /* The reply button sits in the row's own right-hand gutter, never over the time */
    .fsx-row-open[b-eg20pxjnsg] {
        padding-right: calc(var(--fs-tap) + var(--space-sm));
    }

    .fsx-row-reply[b-eg20pxjnsg] {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        opacity: 1;
        width: var(--fs-tap);
        height: var(--fs-tap);
    }
}

@media (max-width: 959.98px) {
    /* The phone dock never covers the list's end (the blocked fold included) */
    .fsx-list[b-eg20pxjnsg] {
        overflow: visible;
        margin-bottom: var(--frame-bottom, 0px);
    }

    .fsx-rows[b-eg20pxjnsg] {
        overflow: visible;
        padding-bottom: var(--space-2xl);
    }
}

@media (forced-colors: active) {
    .fsx-chip.is-on[b-eg20pxjnsg],
    .fsx-row.is-on[b-eg20pxjnsg] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Fellowship/Messages/FsMessages.razor.rz.scp.css */
/* Messages in the Fellowship shell (social build W2, D1): three panes at 1280+, the list and a docked thread at 960-1279,
   one pane at a time below 960. Canonical breakpoints only (960 / 1280), tokens only. The panes fill the window under the
   head; the thread's log scrolls, the list scrolls, the page does not scroll sideways at 390. */
.fsx[b-1d8cnm4b6e] {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) 300px;
    gap: var(--space-md);
    align-items: stretch;
    min-width: 0;
    height: calc(100dvh - 270px);
    min-height: 480px;
}

.fsx.no-thread[b-1d8cnm4b6e] {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.fsx[b-1d8cnm4b6e]  > .fsx-list,
.fsx[b-1d8cnm4b6e]  > .fsx-thread,
.fsx[b-1d8cnm4b6e]  > .fsxp {
    min-height: 0;
    min-width: 0;
}

.fsx-thread--none[b-1d8cnm4b6e] {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: var(--space-xs);
    border-radius: var(--fd-r-band);
    border: 1px dashed var(--fs-card-line);
    color: var(--fd-text-3);
}

.fsx-thread--none .material-icons[b-1d8cnm4b6e] {
    font-size: var(--gt-6xl);
}

.fsx-quiet[b-1d8cnm4b6e] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

/* 960 to 1279: the list and the docked thread; the plate is the head's More. */
@media (max-width: 1279.98px) {
    .fsx[b-1d8cnm4b6e],
    .fsx.no-thread[b-1d8cnm4b6e] {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    }
}

/* Below 960: one pane at a time; the thread is a full page with Back (the Yield page on phones). */
@media (max-width: 959.98px) {
    .fsx[b-1d8cnm4b6e],
    .fsx.no-thread[b-1d8cnm4b6e] {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: 0;
    }

    /* The Yield page: the thread fills the window between the frame's bars (the panel slot's own rule, FsPanel), so
       the composer sits on the keyboard and the dock never covers the last message; sideways phones (844x390) too. */
    .fsx.has-thread[b-1d8cnm4b6e]  > .fsx-thread {
        position: fixed;
        z-index: 1100;
        top: var(--frame-top, 0px);
        right: 0;
        bottom: var(--frame-bottom, 0px);
        left: var(--frame-left, 0px);
        border: 0;
        border-radius: 0;
        background: var(--fd-bg);
    }
}

@media (forced-colors: active) {
    .fsx-thread--none[b-1d8cnm4b6e] {
        border-color: CanvasText;
    }
}
/* /Components/Fellowship/Messages/FsPlate.razor.rz.scp.css */
/* The plate (B): the arch, facts and Keep the peace, always drawn at 1280+. */
.fsxp[b-f2q6zvb4iy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    min-height: 0;
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
    overflow-y: auto;
    text-align: center;
}

.fsxp-arch[b-f2q6zvb4iy] {
    display: inline-flex;
}

.fsxp-arch[b-f2q6zvb4iy]  .ls-seal {
    width: 72px;
    height: 72px;
    border-radius: 50%;
}

.fsxp-name[b-f2q6zvb4iy] {
    margin: var(--space-xs) 0 0;
    font: 700 var(--gt-2xl) / 1.2 var(--fd-font-display);
    color: var(--fd-cream);
}

.fsxp-hero[b-f2q6zvb4iy],
.fsxp-presence[b-f2q6zvb4iy] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    font: 400 var(--gt-sm) / 1.35 var(--font-primary);
    color: var(--fd-text-2);
}

.fsxp-class[b-f2q6zvb4iy] {
    font-weight: 700;
}

.fsxp-presence .material-icons[b-f2q6zvb4iy] {
    font-size: var(--gt-lg);
}

.fsxp-facts[b-f2q6zvb4iy] {
    display: grid;
    gap: 2px;
    margin: var(--space-xs) 0;
    padding: 0;
    list-style: none;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsxp-others[b-f2q6zvb4iy],
.fsxp-peace[b-f2q6zvb4iy] {
    display: grid;
    gap: var(--space-xs);
    width: 100%;
}

.fsxp-peace[b-f2q6zvb4iy] {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--fs-card-line);
}

.fsxp-peace-title[b-f2q6zvb4iy] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fd-text-3);
}

.fsxp-tool[b-f2q6zvb4iy] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-xs);
    width: 100%;
    min-height: 36px;
    padding: 0 var(--space-sm);
    border-radius: var(--fd-r-btn);
    border: 1px solid var(--fs-card-line);
    background: transparent;
    color: var(--fd-text-2);
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    text-align: left;
    cursor: pointer;
}

.fsxp-tool .material-icons[b-f2q6zvb4iy] {
    font-size: var(--gt-xl);
}

.fsxp-tool:hover[b-f2q6zvb4iy] {
    background: var(--fd-surface);
}

.fsxp-tool.is-pressed[b-f2q6zvb4iy] {
    border-color: var(--fd-line-gold);
    background: var(--fs-you);
    color: var(--fd-gold-text);
}

.fsxp-tool.is-danger[b-f2q6zvb4iy] {
    color: var(--fd-bad-text);
}

.fsxp-tool:focus-visible[b-f2q6zvb4iy] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsxp-tool:disabled[b-f2q6zvb4iy] {
    opacity: 0.6;
    cursor: default;
}

.fsxp-more[b-f2q6zvb4iy] {
    position: relative;
}

.fsxp-menu[b-f2q6zvb4iy] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 5;
    display: grid;
    gap: var(--space-xs);
    width: 240px;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    box-shadow: var(--fd-shadow-gold);
}

.fsx-error[b-f2q6zvb4iy] {
    margin: 0;
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-bad-text);
}

.fsx-quiet[b-f2q6zvb4iy] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

@media (pointer: coarse) {
    .fsxp-tool[b-f2q6zvb4iy] {
        min-height: var(--fs-tap);
    }
}

@media (forced-colors: active) {
    .fsxp-tool.is-pressed[b-f2q6zvb4iy] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Fellowship/Messages/FsThread.razor.rz.scp.css */
/* The open thread: head, the log (scrolls), the composer at the foot. */
.fsx-thread[b-lep27z74ti] {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
    overflow: hidden;
}

.fsx-thread-head[b-lep27z74ti] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--fs-card-line);
}

.fsx-thread-face[b-lep27z74ti] {
    display: inline-flex;
    flex: none;
}

.fsx-thread-face[b-lep27z74ti]  .ls-seal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.fsx-thread-who[b-lep27z74ti] {
    flex: 1;
    min-width: 0;
}

.fsx-thread-name[b-lep27z74ti] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    font: 700 var(--gt-xl) / 1.2 var(--fd-font-display);
    color: var(--fd-cream);
}

.fsx-thread-name:focus[b-lep27z74ti] {
    outline: none;
}

.fsx-thread-line[b-lep27z74ti] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-thread-tools[b-lep27z74ti] {
    flex: none;
}

.fsx-tag[b-lep27z74ti] {
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid var(--fs-card-line);
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-log[b-lep27z74ti] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-height: 0;
    padding: var(--space-md);
    overflow-y: auto;
}

.fsx-log:focus-visible[b-lep27z74ti] {
    outline: 2px solid var(--fd-gold);
    outline-offset: -2px;
}

.fsx-centre[b-lep27z74ti] {
    display: grid;
    justify-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) 0;
    text-align: center;
}

.fsx-quiet[b-lep27z74ti] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-thread-empty[b-lep27z74ti] {
    display: grid;
    justify-items: center;
    gap: var(--space-xs);
    margin: auto 0;
    text-align: center;
    color: var(--fd-text-3);
}

.fsx-thread-empty .material-icons[b-lep27z74ti] {
    font-size: var(--gt-6xl);
    color: var(--fd-gold);
}

.fsx-empty-title[b-lep27z74ti] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.25 var(--fd-font-display);
    color: var(--fd-gold-text);
}

.fsx-day[b-lep27z74ti],
.fsx-new[b-lep27z74ti] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-day[b-lep27z74ti]::before,
.fsx-day[b-lep27z74ti]::after,
.fsx-new[b-lep27z74ti]::before,
.fsx-new[b-lep27z74ti]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--fs-card-line);
}

.fsx-new[b-lep27z74ti] {
    color: var(--fd-bad-text);
}

.fsx-new[b-lep27z74ti]::before,
.fsx-new[b-lep27z74ti]::after {
    background: var(--fs-bad-line);
}

.fsx-msg[b-lep27z74ti] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-xs);
    max-width: 78%;
}

.fsx-msg.mine[b-lep27z74ti] {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.fsx-msg.is-last[b-lep27z74ti] {
    margin-bottom: var(--space-xs);
}

.fsx-msg-face[b-lep27z74ti] {
    display: inline-flex;
    flex: none;
    width: 32px;
}

.fsx-bubble[b-lep27z74ti] {
    position: relative;
    min-width: 0;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 14px 14px 14px 4px;
    border: 1px solid var(--fs-card-line);
    background: var(--fd-surface);
}

.fsx-msg.mine .fsx-bubble[b-lep27z74ti] {
    border-color: var(--fd-line-gold);
    border-radius: 14px 14px 4px 14px;
    background: var(--fs-you);
}

.fsx-bubble:focus-visible[b-lep27z74ti] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsx-bubble-text[b-lep27z74ti] {
    margin: 0;
    font: 400 var(--gt-base) / 1.45 var(--font-primary);
    color: var(--fd-text);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.fsx-bubble-meta[b-lep27z74ti] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-xs);
    margin: 2px 0 0;
    font: 400 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-bubble-status[b-lep27z74ti] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.fsx-bubble-status .material-icons[b-lep27z74ti] {
    font-size: var(--gt-base);
}

.fsx-tools[b-lep27z74ti] {
    position: absolute;
    top: -14px;
    right: -6px;
    display: flex;
    gap: 2px;
    opacity: 0;
    transition: opacity 120ms ease;
}

.fsx-bubble:hover .fsx-tools[b-lep27z74ti],
.fsx-bubble:focus-within .fsx-tools[b-lep27z74ti] {
    opacity: 1;
}

.fsx-tool[b-lep27z74ti] {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--fs-card-line);
    border-radius: 50%;
    background: var(--fd-surface-strong);
    color: var(--fd-text-2);
    cursor: pointer;
}

.fsx-tool .material-icons[b-lep27z74ti] {
    font-size: var(--gt-lg);
}

.fsx-tool--report[b-lep27z74ti] {
    color: var(--fd-bad-text);
}

.fsx-tool:focus-visible[b-lep27z74ti] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 1px;
}

/* His letters: W3's sealed card (SealedLetterCard, its own sheet); the thread only places it. */
.fsx-letter[b-lep27z74ti] {
    align-self: center;
    width: min(100%, 560px);
    margin: var(--space-sm) 0;
}

.fsx-tiding[b-lep27z74ti] {
    display: flex;
    align-items: center;
    align-self: center;
    gap: var(--space-xs);
    margin: var(--space-xs) 0;
    font: italic 400 var(--gt-base) / 1.35 var(--fd-font-voice);
    color: var(--fd-text-2);
    text-align: center;
}

.fsx-tiding .material-icons[b-lep27z74ti] {
    font-size: var(--gt-lg);
    color: var(--fd-gold);
}

.fsx-typing[b-lep27z74ti] {
    display: inline-flex;
    gap: 4px;
    padding: var(--space-xs) var(--space-sm);
    margin-left: 40px;
}

.fsx-typing span[b-lep27z74ti] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fd-text-3);
    animation: fsx-dot-b-lep27z74ti 1.2s infinite ease-in-out;
}

.fsx-typing span:nth-child(2)[b-lep27z74ti] {
    animation-delay: 0.15s;
}

.fsx-typing span:nth-child(3)[b-lep27z74ti] {
    animation-delay: 0.3s;
}

@keyframes fsx-dot-b-lep27z74ti {
    0%, 80%, 100% {
        opacity: 0.3;
    }

    40% {
        opacity: 1;
    }
}

.fsx-foot[b-lep27z74ti] {
    display: grid;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md) var(--space-md);
    border-top: 1px solid var(--fs-card-line);
}

.fsx-note[b-lep27z74ti],
.fsx-closed[b-lep27z74ti] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.fsx-closed[b-lep27z74ti] {
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    background: var(--fd-well);
    text-align: center;
}

.fsx-error[b-lep27z74ti] {
    margin: 0;
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-bad-text);
}

.fsx-composer[b-lep27z74ti] {
    display: flex;
    align-items: flex-end;
    gap: var(--space-xs);
}

.fsx-input[b-lep27z74ti] {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    max-height: 160px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-well);
    color: var(--fd-text);
    font: 400 var(--gt-base) / 1.4 var(--font-primary);
    resize: vertical;
}

.fsx-input:focus[b-lep27z74ti] {
    border-color: var(--fd-line-gold);
    outline: none;
}

.fsx-send[b-lep27z74ti] {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--fs-card-line);
    border-radius: 50%;
    background: var(--fd-surface);
    color: var(--fd-text-3);
    cursor: pointer;
}

.fsx-send.is-ready[b-lep27z74ti] {
    border-color: var(--fd-gold);
    background: var(--fd-gold);
    color: var(--fd-on-gold);
}

.fsx-send:disabled[b-lep27z74ti] {
    cursor: default;
}

.fsx-send:focus-visible[b-lep27z74ti] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fsx-composer-foot[b-lep27z74ti] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
    margin: 0;
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-4);
}

.fsx-counter--amber[b-lep27z74ti] {
    color: var(--color-warning-bright);
}

.fsx-counter--over[b-lep27z74ti] {
    color: var(--fd-bad-text);
    font-weight: 700;
}

/* Touch: a tapped bubble (it takes focus) shows its tools under it; the others stay quiet. */
@media (pointer: coarse) {
    .fsx-tools[b-lep27z74ti] {
        display: none;
        opacity: 1;
        position: static;
        justify-content: flex-end;
        margin-top: 2px;
    }

    .fsx-bubble:focus-within .fsx-tools[b-lep27z74ti] {
        display: flex;
    }

    .fsx-tool[b-lep27z74ti] {
        width: var(--fs-tap);
        height: var(--fs-tap);
    }
}

@media (max-width: 767.98px) {
    .fsx-msg[b-lep27z74ti] {
        max-width: 88%;
    }

    .fsx-composer-foot #fsx-hint[b-lep27z74ti] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fsx-typing span[b-lep27z74ti] {
        animation: none;
        opacity: 0.6;
    }

    .fsx-tools[b-lep27z74ti] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .fsx-msg.mine .fsx-bubble[b-lep27z74ti],
    .fsx-send.is-ready[b-lep27z74ti] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Forge/ForgeClassCard.razor.rz.scp.css */
/* A class card (F-Class list, F-390 rows): the class art in a small arch ringed in the class color, the name in
   Cinzel, the tagline, and the difficulty dots or the PREMIUM lock pill (.locked-overlay, a smoke hook). Tokens only:
   --fcc-class reads --color-{class}. Canonical breakpoints only: 768 and down is the phone list, where the picked
   card squares its lower corners onto its detail below and shows its check. */

.forge-class-card[b-5srn64bifd] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: max(52px, var(--forge-target, 44px));
    padding: 5px 12px 5px 6px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Touch screens keep :hover after a tap, so only a real hover lights a card. */
@media (hover: hover) {
    .forge-class-card:hover[b-5srn64bifd] {
        border-color: color-mix(in srgb, var(--fcc-class) 55%, transparent);
    }
}

.forge-class-card:focus-visible[b-5srn64bifd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.forge-class-card.is-selected[b-5srn64bifd] {
    border-color: var(--fcc-class);
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--color-text-primary) 6%, transparent),
        color-mix(in srgb, var(--color-gray-900) 60%, transparent));
    box-shadow: 0 0 0 1px var(--fcc-class);
}

.fcc-art[b-5srn64bifd] {
    display: block;
    flex: none;
    width: 38px;
    height: 44px;
    overflow: hidden;
    border: 2px solid var(--fcc-class);
    border-radius: 999px 999px 6px 6px;
    background: var(--color-gray-800);
}

.fcc-art img[b-5srn64bifd] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

.fcc-text[b-5srn64bifd] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.fcc-name[b-5srn64bifd] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    line-height: 1.3;
}

.fcc-tagline[b-5srn64bifd] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fcc-meta[b-5srn64bifd] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--space-sm);
}

.fcc-premium[b-5srn64bifd] {
    display: inline-flex;
    color: var(--color-primary);
}

.fcc-premium[b-5srn64bifd]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.fcc-dots[b-5srn64bifd] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.fcc-dots i[b-5srn64bifd] {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
}

.fcc-dots i.is-on[b-5srn64bifd] {
    background: var(--forge-eyebrow, var(--color-primary-dark));
}

/* The PREMIUM lock pill (smoke hook: .locked-overlay inside .premium-locked). */
.locked-overlay[b-5srn64bifd] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 3px;
    height: 2em;
    padding: 0 6px;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.locked-overlay[b-5srn64bifd]  .mud-icon-root {
    width: 12px;
    height: 12px;
}

.forge-class-card.premium-locked .fcc-art img[b-5srn64bifd] {
    filter: saturate(0.75);
}

.fcc-check[b-5srn64bifd] {
    display: none;
    flex: none;
    color: var(--color-primary);
}

.fcc-check[b-5srn64bifd]  .mud-icon-root {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .forge-class-card[b-5srn64bifd] {
        min-height: max(56px, var(--forge-target, 44px));
        padding: 6px 12px 6px 6px;
    }

    .fcc-art[b-5srn64bifd] {
        width: 40px;
        height: 46px;
    }

    .forge-class-card.is-selected .fcc-check[b-5srn64bifd] {
        display: inline-flex;
    }

    .forge-class-card.is-selected .fcc-meta[b-5srn64bifd] {
        display: none;
    }

    /* The picked card and its detail read as one card (F-390). */
    .forge-class-card.has-detail[b-5srn64bifd] {
        border-bottom-color: transparent;
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -1px 0 0 var(--fcc-class), 1px 0 0 0 var(--fcc-class), -1px 0 0 0 var(--fcc-class);
    }
}

@media (prefers-reduced-motion: reduce) {
    .forge-class-card[b-5srn64bifd] {
        transition: none;
    }
}
/* /Components/Forge/ForgeClassStep.razor.rz.scp.css */
/* Step 1, Class (comps F-Class, F-390). Tokens only (--fcs-class reads --color-{class}; the page's --forge-* tokens).
   Canonical breakpoints only:
     default          the class list (420px) beside the detail card: the niche, the facts and the choice
     max-width 1280   a narrower list and niche
     max-width 1024   tablet landscape: smaller niche and name
     max-width 960    the list at 300px, the niche smaller again
     max-width 768    phone and tablet portrait (F-390): one column, the step's title shows, the list wrapper steps
                      aside (display: contents) and every piece takes its flow order, so the picked class's detail
                      sits under its card as one expanded card (no niche, the short pitch, the choice) */

.forge-class-step[b-6dprinpsnf] {
    min-width: 0;
}

/* The step's title is the phone's; wider screens name the step in the header, so it stays for screen readers. */
.fcs-head[b-6dprinpsnf] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fcs-title[b-6dprinpsnf] {
    margin: 0;
    color: var(--forge-cream);
    font-family: var(--font-display);
    font-size: var(--gt-3xl);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.fcs-title:focus[b-6dprinpsnf] {
    outline: none;
}

.fcs-subtitle[b-6dprinpsnf] {
    margin: 6px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

.fcs-layout[b-6dprinpsnf] {
    display: grid;
    grid-template-columns: 420px minmax(0, 1fr);
    grid-template-areas:
        "list detail"
        "note detail";
    grid-template-rows: auto 1fr;
    gap: 12px 28px;
    align-items: start;
}

.fcs-list[b-6dprinpsnf] {
    display: flex;
    grid-area: list;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.fcs-group[b-6dprinpsnf] {
    margin: 2px 0 0;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ---- Offers: a tapped locked class, and the Premium note ---- */

.fcs-locked[b-6dprinpsnf],
.fcs-note[b-6dprinpsnf] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
}

.fcs-locked[b-6dprinpsnf] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.fcs-note[b-6dprinpsnf] {
    grid-area: note;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

.fcs-locked p[b-6dprinpsnf],
.fcs-note p[b-6dprinpsnf] {
    flex: 1;
    margin: 0;
}

.fcs-locked[b-6dprinpsnf]  .mud-icon-root,
.fcs-note[b-6dprinpsnf]  .mud-icon-root {
    flex: none;
    color: var(--color-primary);
}

.fcs-link[b-6dprinpsnf] {
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: var(--forge-target);
    color: var(--forge-eyebrow);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
}

.fcs-link:hover[b-6dprinpsnf] {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.fcs-link:focus-visible[b-6dprinpsnf] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- The picked class ---- */

.fcs-detail[b-6dprinpsnf] {
    position: relative;
    display: grid;
    grid-area: detail;
    grid-template-columns: 250px minmax(0, 1fr);
    align-content: start;
    gap: 28px;
    min-width: 0;
    padding: var(--space-xl);
    overflow: hidden;
    border: 1px solid var(--forge-line-soft);
    border-radius: 14px;
    background: var(--forge-card);
}

/* The detail's phone copy, after its card in the DOM (see ForgeClassStep.razor): shown from 768 down only. */
.fcs-detail--inline[b-6dprinpsnf] {
    display: none;
}

.fcs-glow[b-6dprinpsnf] {
    position: absolute;
    top: -40px;
    left: -60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--fcs-class) 22%, transparent), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

.fcs-niche[b-6dprinpsnf] {
    position: relative;
    width: 250px;
    height: 352px;
    overflow: hidden;
    border: 3px solid var(--fcs-class);
    border-radius: 999px 999px 18px 18px;
    background: var(--color-gray-900);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--fcs-class) 14%, transparent),
        0 30px 60px color-mix(in srgb, var(--color-bg-base) 80%, transparent);
}

.fcs-niche img[b-6dprinpsnf] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.fcs-niche[b-6dprinpsnf]::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-bg-base) 75%, transparent));
    pointer-events: none;
}

.fcs-detail-body[b-6dprinpsnf] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.fcs-eyebrow[b-6dprinpsnf] {
    display: flex;
    align-items: center;
    margin: 0;
    color: color-mix(in srgb, var(--fcs-class) 50%, var(--color-text-primary));
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fcs-sep[b-6dprinpsnf] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.fcs-name[b-6dprinpsnf] {
    margin: 0;
    color: var(--forge-cream);
    font-family: var(--font-display);
    font-size: var(--gt-6xl);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.05;
}

.fcs-description[b-6dprinpsnf] {
    max-width: 560px;
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 14.5);
}

.fcs-short[b-6dprinpsnf] {
    display: none;
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--gt-md);
}

.fcs-facts[b-6dprinpsnf] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0;
}

.fcs-fact[b-6dprinpsnf] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--forge-line-soft);
    border-radius: 10px;
    background: var(--forge-surface);
}

.fcs-fact dt[b-6dprinpsnf] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fcs-fact dd[b-6dprinpsnf] {
    margin: 0;
    color: var(--color-text-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: var(--font-weight-semibold);
}

.fcs-choice-head[b-6dprinpsnf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-top: 6px;
}

.fcs-choice-title[b-6dprinpsnf] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    color: var(--forge-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fcs-choice-title[b-6dprinpsnf]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

.fcs-choice-note[b-6dprinpsnf] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.fcs-options[b-6dprinpsnf] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-sm);
}

.fcs-options--three[b-6dprinpsnf] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fcs-option[b-6dprinpsnf] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: var(--forge-target);
    padding: 14px;
    border: 1px solid var(--forge-line);
    border-radius: 12px;
    background: var(--forge-surface);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

/* Touch screens keep :hover after a tap, so only a real hover lights a card. */
@media (hover: hover) {
    .fcs-option:hover[b-6dprinpsnf] {
        border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}

.fcs-option:focus-visible[b-6dprinpsnf] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fcs-option.is-selected[b-6dprinpsnf] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.fcs-option-label[b-6dprinpsnf] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-sm);
    color: var(--color-text-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-bold);
}

.fcs-option-label[b-6dprinpsnf]  .mud-icon-root {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--forge-eyebrow);
}

.fcs-option-effect[b-6dprinpsnf] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
}

.fcs-empty[b-6dprinpsnf] {
    display: flex;
    grid-area: detail;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    min-height: 360px;
    border: 1px dashed var(--forge-line);
    border-radius: 14px;
    color: var(--color-text-secondary);
    font-size: var(--gt-base);
}

.fcs-empty p[b-6dprinpsnf] {
    margin: 0;
}

.fcs-empty[b-6dprinpsnf]  .mud-icon-root {
    width: 40px;
    height: 40px;
    color: color-mix(in srgb, var(--color-primary) 60%, transparent);
}

/* ---- Narrower screens ---- */

@media (max-width: 1280px) {
    .fcs-layout[b-6dprinpsnf] {
        grid-template-columns: 380px minmax(0, 1fr);
        column-gap: var(--space-xl);
    }

    .fcs-detail[b-6dprinpsnf] {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .fcs-niche[b-6dprinpsnf] {
        width: 220px;
        height: 310px;
    }

    .fcs-name[b-6dprinpsnf] {
        font-size: calc(var(--gt-px) * 34);
    }
}

@media (max-width: 1024px) {
    .fcs-layout[b-6dprinpsnf] {
        grid-template-columns: 340px minmax(0, 1fr);
        column-gap: 20px;
    }

    .fcs-detail[b-6dprinpsnf] {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 20px;
        padding: 20px;
    }

    .fcs-niche[b-6dprinpsnf] {
        width: 180px;
        height: 252px;
    }

    .fcs-name[b-6dprinpsnf] {
        font-size: calc(var(--gt-px) * 30);
    }

    .fcs-options--three[b-6dprinpsnf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .fcs-layout[b-6dprinpsnf] {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .fcs-detail[b-6dprinpsnf] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fcs-niche[b-6dprinpsnf] {
        width: 150px;
        height: 200px;
    }

    .fcs-glow[b-6dprinpsnf] {
        width: 260px;
        height: 260px;
    }
}

/* ---- Phone and tablet portrait (F-390): one flow ---- */

@media (max-width: 768px) {
    .fcs-head[b-6dprinpsnf] {
        position: static;
        width: auto;
        height: auto;
        margin-bottom: var(--space-sm);
        overflow: visible;
        clip: auto;
        white-space: normal;
    }

    .fcs-layout[b-6dprinpsnf] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .fcs-list[b-6dprinpsnf] {
        display: contents;
    }

    .fcs-group[b-6dprinpsnf] {
        margin-top: 6px;
        font-size: var(--gt-sm);
    }

    .fcs-detail[b-6dprinpsnf] {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: -6px;
        padding: 4px 14px 14px;
        border: 1px solid var(--fcs-class);
        border-top: none;
        border-radius: 0 0 14px 14px;
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--color-text-primary) 4%, transparent),
            color-mix(in srgb, var(--color-gray-900) 70%, transparent));
        box-shadow: 0 1px 0 0 var(--fcs-class), 1px 0 0 0 var(--fcs-class), -1px 0 0 0 var(--fcs-class);
    }

    /* The side copy steps aside for the inline one, which sits right after its card in the DOM. */
    .fcs-detail--side[b-6dprinpsnf] {
        display: none;
    }

    .fcs-glow[b-6dprinpsnf],
    .fcs-niche[b-6dprinpsnf],
    .fcs-name[b-6dprinpsnf],
    .fcs-description[b-6dprinpsnf],
    .fcs-facts[b-6dprinpsnf] {
        display: none;
    }

    .fcs-short[b-6dprinpsnf] {
        display: block;
    }

    .fcs-eyebrow[b-6dprinpsnf] {
        font-size: var(--gt-sm);
    }

    .fcs-choice-head[b-6dprinpsnf] {
        margin-top: 0;
    }

    .fcs-choice-title[b-6dprinpsnf] {
        font-size: var(--gt-sm);
    }

    .fcs-choice-note[b-6dprinpsnf] {
        font-size: var(--gt-sm);
    }

    .fcs-options[b-6dprinpsnf],
    .fcs-options--three[b-6dprinpsnf] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fcs-option[b-6dprinpsnf] {
        gap: 3px;
        min-height: 64px;
        padding: 10px;
    }

    .fcs-option-label[b-6dprinpsnf] {
        gap: 6px;
        font-size: var(--gt-md);
    }

    .fcs-option-label[b-6dprinpsnf]  .mud-icon-root {
        width: 17px;
        height: 17px;
    }

    .fcs-option-effect[b-6dprinpsnf] {
        font-size: var(--gt-sm);
        line-height: 1.3;
    }

    .fcs-empty[b-6dprinpsnf] {
        display: none;
    }

    .fcs-note[b-6dprinpsnf] {
        margin-top: var(--space-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fcs-option[b-6dprinpsnf] {
        transition: none;
    }
}
/* /Components/Forge/ForgeDestinyStep.razor.rz.scp.css */
/* Step 3, Name and destiny (comp F-Destiny): the hero panel (niche, name, Garrick's line) beside the name field with
   its check chip, the ideas, the backstory and the destiny card. Tokens only (--fds-class reads --color-{class}; the
   page's --forge-* tokens). Canonical breakpoints only:
     default          hero column (300px) beside the form
     max-width 1280   a narrower hero column
     max-width 1024   tablet landscape: narrower again
     max-width 960    the hero is a row on top (small niche beside the name and Garrick's line), the form full width
     max-width 768    phone and tablet portrait: the step's title shows, the backstory button takes its own line */

.forge-destiny-step[b-6jryitg7uh] {
    min-width: 0;
}

.fds-title[b-6jryitg7uh] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fds-title:focus[b-6jryitg7uh] {
    outline: none;
}

.fds-layout[b-6jryitg7uh] {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* ---- The hero ---- */

.fds-hero[b-6jryitg7uh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.fds-niche[b-6jryitg7uh] {
    position: relative;
    flex: none;
    width: 270px;
    height: 360px;
    overflow: hidden;
    border: 3px solid var(--color-primary-dark);
    border-radius: 999px 999px 18px 18px;
    background: var(--color-gray-900);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--color-primary-dark) 12%, transparent),
        0 30px 60px color-mix(in srgb, var(--color-bg-base) 80%, transparent);
}

.fds-niche img[b-6jryitg7uh] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.fds-niche[b-6jryitg7uh]::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-bg-base) 75%, transparent));
    pointer-events: none;
}

.fds-hero-text[b-6jryitg7uh] {
    min-width: 0;
    text-align: center;
}

.fds-hero-name[b-6jryitg7uh] {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--forge-cream);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 26);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.fds-hero-sub[b-6jryitg7uh] {
    margin: 4px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

.fds-class[b-6jryitg7uh] {
    /* The class color mixed toward the text color: the raw color is under 4.5:1 for small text (Barbarian, Rogue, Monk). */
    color: color-mix(in srgb, var(--fds-class, var(--color-text-light)) 50%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.fds-sep[b-6jryitg7uh] {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
    vertical-align: middle;
}

.fds-voice[b-6jryitg7uh] {
    max-width: 260px;
    margin: 12px auto 0;
    color: var(--color-text-light);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 15);
    font-style: italic;
}

/* ---- The form ---- */

.fds-main[b-6jryitg7uh] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.fds-name[b-6jryitg7uh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fds-label[b-6jryitg7uh] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fds-optional[b-6jryitg7uh] {
    font-weight: var(--font-weight-normal);
    letter-spacing: normal;
    text-transform: none;
}

.fds-input[b-6jryitg7uh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 8px 0 14px;
    border: 1.5px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fds-input:focus-within[b-6jryitg7uh] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.fds-input.is-rejected[b-6jryitg7uh] {
    border-color: color-mix(in srgb, var(--color-danger-light) 70%, transparent);
}

.fds-input-field[b-6jryitg7uh] {
    flex: 1;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: none;
    outline: none;
    background: none;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17);
    font-weight: 700;
}

.fds-input-field[b-6jryitg7uh]::placeholder {
    color: var(--color-text-secondary);
    opacity: 1;
}

.fds-chip[b-6jryitg7uh] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 2.33em;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-gray-900) 72%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.fds-chip[b-6jryitg7uh]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.is-ok .fds-chip[b-6jryitg7uh] {
    border-color: color-mix(in srgb, var(--color-success-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-success-dark) 35%, transparent);
    color: var(--color-success-lighter);
}

.is-rejected .fds-chip[b-6jryitg7uh] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 30%, transparent);
    color: var(--color-danger-lightest);
}

.fds-check-text[b-6jryitg7uh] {
    margin: 0;
    color: var(--color-danger-lighter);
    font-size: calc(var(--gt-px) * 12.5);
}

.fds-check-text:empty[b-6jryitg7uh] {
    display: none;
}

.fds-ideas[b-6jryitg7uh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.fds-ideas-label[b-6jryitg7uh] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.fds-idea-list[b-6jryitg7uh] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fds-idea[b-6jryitg7uh] {
    display: inline-flex;
    align-items: center;
    min-height: max(34px, var(--forge-target));
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--forge-eyebrow) 40%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--forge-eyebrow) 7%, transparent);
    color: var(--forge-cream);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.fds-idea:hover[b-6jryitg7uh] {
    border-color: var(--forge-eyebrow);
}

.fds-more[b-6jryitg7uh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max(34px, var(--forge-target));
    height: max(34px, var(--forge-target));
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: 10px;
    background: none;
    color: var(--color-text-light);
    cursor: pointer;
}

.fds-more[b-6jryitg7uh]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

.fds-more:hover[b-6jryitg7uh] {
    color: var(--color-text-primary);
    border-color: color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
}

.fds-backstory-toggle[b-6jryitg7uh] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: max(36px, var(--forge-target));
    margin-left: auto;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.fds-backstory-toggle[b-6jryitg7uh]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.fds-backstory-toggle:hover[b-6jryitg7uh] {
    color: var(--color-text-primary);
}

.fds-idea:focus-visible[b-6jryitg7uh],
.fds-more:focus-visible[b-6jryitg7uh],
.fds-backstory-toggle:focus-visible[b-6jryitg7uh],
.fds-reroll:focus-visible[b-6jryitg7uh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fds-backstory[b-6jryitg7uh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: var(--space-xs);
}

.fds-textarea[b-6jryitg7uh] {
    min-height: 88px;
    padding: 10px 12px;
    border: 1px solid var(--forge-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--gt-base);
    resize: vertical;
}

.fds-textarea:focus[b-6jryitg7uh] {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.fds-count[b-6jryitg7uh] {
    align-self: flex-end;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ---- Destiny ---- */

.fds-destiny[b-6jryitg7uh] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--forge-line-soft);
    border-radius: 14px;
    background: var(--forge-card);
}

.fds-destiny-head[b-6jryitg7uh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) 14px;
}

.fds-eyebrow[b-6jryitg7uh] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 auto 0 0;
    color: var(--forge-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fds-eyebrow[b-6jryitg7uh]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

.fds-rolls-left[b-6jryitg7uh] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.fds-rolls-left b[b-6jryitg7uh] {
    color: var(--color-text-primary);
}

.fds-reroll[b-6jryitg7uh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: max(36px, var(--forge-target));
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.fds-reroll[b-6jryitg7uh]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.fds-reroll:hover:not(:disabled)[b-6jryitg7uh] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.fds-reroll:disabled[b-6jryitg7uh] {
    border-color: var(--forge-line);
    background: none;
    color: var(--color-text-tertiary);
    cursor: not-allowed;
}

.fds-rolling[b-6jryitg7uh] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

/* ---- Narrower screens ---- */

@media (max-width: 1280px) {
    .fds-layout[b-6jryitg7uh] {
        grid-template-columns: 270px minmax(0, 1fr);
        gap: var(--space-2xl);
    }

    .fds-niche[b-6jryitg7uh] {
        width: 240px;
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .fds-layout[b-6jryitg7uh] {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .fds-niche[b-6jryitg7uh] {
        width: 210px;
        height: 280px;
    }

    .fds-hero-name[b-6jryitg7uh] {
        font-size: calc(var(--gt-px) * 22);
    }
}

/* From 960 down the hero is a row on top, so the form (and the ability cards) keep the full width. */
@media (max-width: 960px) {
    .fds-layout[b-6jryitg7uh] {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .fds-hero[b-6jryitg7uh] {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
    }

    .fds-niche[b-6jryitg7uh] {
        width: 96px;
        height: 128px;
        border-width: 2px;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-dark) 12%, transparent);
    }

    .fds-hero-text[b-6jryitg7uh] {
        text-align: left;
    }

    .fds-hero-name[b-6jryitg7uh] {
        font-size: var(--gt-2xl);
    }

    .fds-voice[b-6jryitg7uh] {
        max-width: none;
        margin: 6px 0 0;
        font-size: var(--gt-base);
    }
}

@media (max-width: 768px) {
    .fds-title[b-6jryitg7uh] {
        position: static;
        width: auto;
        height: auto;
        margin: 0 0 var(--space-md);
        overflow: visible;
        clip: auto;
        color: var(--forge-cream);
        font-family: var(--font-display);
        font-size: var(--gt-3xl);
        font-weight: 800;
        letter-spacing: 0.03em;
        white-space: normal;
    }

    .fds-backstory-toggle[b-6jryitg7uh] {
        margin-left: 0;
    }

    .fds-destiny[b-6jryitg7uh] {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fds-input[b-6jryitg7uh] {
        transition: none;
    }
}
/* /Components/Forge/ForgeLeaveDialog.razor.rz.scp.css */
/* "Leave the forge?" Tokens only. MudDialog renders its own frame outside this scope, so only the content and the two
   buttons are styled here; the danger button is the quiet red of the hall's destructive actions. */

.fld-title[b-kjql8o4n7m] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--gt-xl);
}

.fld-text[b-kjql8o4n7m] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--gt-base);
}

.fld-btn[b-kjql8o4n7m] {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.fld-btn--quiet[b-kjql8o4n7m] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
}

.fld-btn--danger[b-kjql8o4n7m] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 35%, transparent);
    color: var(--color-danger-lightest);
}

.fld-btn:focus-visible[b-kjql8o4n7m] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
/* /Components/Forge/ForgeLookStep.razor.rz.scp.css */
/* Step 2, Look (comp F-Look): the live preview in a gold niche beside the race, gender and portrait swatches.
   Tokens only (--fls-class reads --color-{class}; the page's --forge-* tokens). Canonical breakpoints only:
     default          preview column (340px) beside the options, six swatches a row
     max-width 1280   a narrower preview
     max-width 1024   tablet landscape: narrower again
     max-width 768    phone and tablet portrait: the step's title shows; the preview sits on top as a row (niche
                      beside its caption), three swatches a row */

.forge-look-step[b-eohllj5jld] {
    min-width: 0;
}

.fls-title[b-eohllj5jld] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.fls-title:focus[b-eohllj5jld] {
    outline: none;
}

.fls-layout[b-eohllj5jld] {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* ---- Preview ---- */

.fls-preview[b-eohllj5jld] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.fls-niche[b-eohllj5jld] {
    position: relative;
    flex: none;
    width: 300px;
    height: 400px;
    overflow: hidden;
    border: 3px solid var(--color-primary-dark);
    border-radius: 999px 999px 18px 18px;
    background: var(--color-gray-900);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--color-primary-dark) 12%, transparent),
        0 30px 60px color-mix(in srgb, var(--color-bg-base) 80%, transparent);
}

.fls-niche img[b-eohllj5jld] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.fls-niche[b-eohllj5jld]::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-bg-base) 75%, transparent));
    pointer-events: none;
}

.fls-caption[b-eohllj5jld] {
    min-width: 0;
    text-align: center;
}

.fls-heading[b-eohllj5jld] {
    margin: 0;
    color: var(--color-text-light);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 26);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.fls-sub[b-eohllj5jld] {
    margin: 4px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

.fls-class[b-eohllj5jld] {
    /* The class color mixed toward the text color: the raw color is under 4.5:1 for small text (Barbarian, Rogue, Monk). */
    color: color-mix(in srgb, var(--fls-class, var(--color-text-light)) 50%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.fls-sep[b-eohllj5jld] {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
    vertical-align: middle;
}

/* ---- Options ---- */

.fls-options[b-eohllj5jld] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.fls-section[b-eohllj5jld] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fls-section-head[b-eohllj5jld] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
}

.fls-eyebrow[b-eohllj5jld] {
    margin: 0;
    color: var(--forge-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fls-note[b-eohllj5jld] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.fls-grid[b-eohllj5jld] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.fls-swatch[b-eohllj5jld] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: var(--forge-target);
    padding: 8px 6px 10px;
    border: 1px solid var(--forge-line);
    border-radius: 12px;
    background: var(--forge-surface);
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

/* Touch screens keep :hover after a tap, so only a real hover lights a card. */
@media (hover: hover) {
    .fls-swatch:hover[b-eohllj5jld] {
        border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}

.fls-swatch:focus-visible[b-eohllj5jld] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fls-swatch.is-selected[b-eohllj5jld] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.fls-swatch-art[b-eohllj5jld] {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 999px 999px 8px 8px;
    background: var(--color-gray-900);
}

.fls-swatch-art img[b-eohllj5jld] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.fls-swatch-label[b-eohllj5jld] {
    overflow: hidden;
    max-width: 100%;
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Narrower screens ---- */

@media (max-width: 1280px) {
    .fls-layout[b-eohllj5jld] {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: var(--space-2xl);
    }

    .fls-niche[b-eohllj5jld] {
        width: 270px;
        height: 360px;
    }
}

@media (max-width: 1024px) {
    .fls-layout[b-eohllj5jld] {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: var(--space-xl);
    }

    .fls-niche[b-eohllj5jld] {
        width: 230px;
        height: 306px;
    }

    .fls-heading[b-eohllj5jld] {
        font-size: calc(var(--gt-px) * 22);
    }
}

@media (max-width: 960px) {
    .fls-layout[b-eohllj5jld] {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .fls-niche[b-eohllj5jld] {
        width: 196px;
        height: 262px;
    }

    .fls-grid[b-eohllj5jld] {
        gap: var(--space-sm);
    }
}

@media (max-width: 768px) {
    .fls-title[b-eohllj5jld] {
        position: static;
        width: auto;
        height: auto;
        margin: 0 0 var(--space-md);
        overflow: visible;
        clip: auto;
        color: var(--forge-cream);
        font-family: var(--font-display);
        font-size: var(--gt-3xl);
        font-weight: 800;
        letter-spacing: 0.03em;
        white-space: normal;
    }

    .fls-layout[b-eohllj5jld] {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .fls-preview[b-eohllj5jld] {
        flex-direction: row;
        gap: var(--space-lg);
    }

    .fls-niche[b-eohllj5jld] {
        width: 120px;
        height: 160px;
        border-width: 2px;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-dark) 12%, transparent);
    }

    .fls-caption[b-eohllj5jld] {
        text-align: left;
    }

    .fls-heading[b-eohllj5jld] {
        font-size: var(--gt-2xl);
    }

    .fls-grid[b-eohllj5jld] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .fls-swatch[b-eohllj5jld] {
        transition: none;
    }
}
/* /Components/Forge/ForgePortraitPicker.razor.rz.scp.css */
/* The portrait picker (D8, comp F-Look): six places a row; without Premium five portraits (the free one, four locked
   with a gold lock pin) and the dashed "3 more with Premium" link in the sixth. The radio group spans the portraits'
   columns of the shared grid (subgrid), so every tile is the same width. Tokens only; canonical breakpoints only
   (768 and down: three places a row, the link in the sixth). */

.forge-portrait-picker[b-h8az02umhl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fpp-head[b-h8az02umhl] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
}

.fpp-eyebrow[b-h8az02umhl] {
    margin: 0;
    color: var(--forge-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.fpp-note[b-h8az02umhl] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.fpp-grid[b-h8az02umhl] {
    --fpp-columns: 6;

    display: grid;
    grid-template-columns: repeat(var(--fpp-columns), minmax(0, 1fr));
    gap: 10px;
}

.fpp-radios[b-h8az02umhl] {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    row-gap: 10px;
}

/* With the "more" link the portraits take every place but the last. */
.fpp-grid:has(.fpp-more) .fpp-radios[b-h8az02umhl] {
    grid-column: 1 / -2;
}

.fpp-tile[b-h8az02umhl] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: var(--forge-target);
    padding: 8px 6px 10px;
    border: 1px solid var(--forge-line);
    border-radius: 12px;
    background: var(--forge-surface);
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

/* Touch screens keep :hover after a tap, so only a real hover lights a card. */
@media (hover: hover) {
    .fpp-tile:hover[b-h8az02umhl] {
        border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}

.fpp-tile:focus-visible[b-h8az02umhl] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fpp-tile.is-selected[b-h8az02umhl] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.fpp-art[b-h8az02umhl] {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 999px 999px 8px 8px;
    background: var(--color-gray-900);
}

.fpp-art img[b-h8az02umhl] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.fpp-tile.is-locked .fpp-art img[b-h8az02umhl] {
    filter: grayscale(0.6) brightness(0.55);
}

.fpp-number[b-h8az02umhl] {
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
}

.fpp-lock[b-h8az02umhl] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-primary);
}

.fpp-lock[b-h8az02umhl]  .mud-icon-root {
    width: 15px;
    height: 15px;
}

.fpp-more[b-h8az02umhl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: var(--forge-target);
    padding: 8px 6px 10px;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 50%, transparent);
    border-radius: 12px;
    background: var(--forge-surface);
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    text-decoration: none;
}

.fpp-more[b-h8az02umhl]  .mud-icon-root {
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.fpp-more:hover[b-h8az02umhl] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.fpp-more:focus-visible[b-h8az02umhl] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fpp-locked[b-h8az02umhl] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
}

.fpp-locked p[b-h8az02umhl] {
    flex: 1;
    margin: 0;
}

.fpp-locked[b-h8az02umhl]  .mud-icon-root {
    flex: none;
    color: var(--color-primary);
}

.fpp-link[b-h8az02umhl] {
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: var(--forge-target);
    color: var(--forge-eyebrow);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
}

.fpp-link:hover[b-h8az02umhl] {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.fpp-link:focus-visible[b-h8az02umhl] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .fpp-grid[b-h8az02umhl],
    .fpp-radios[b-h8az02umhl] {
        gap: var(--space-sm);
    }
}

/* Three a row: the portraits take two rows of every column and the "more" link the free sixth place. */
@media (max-width: 768px) {
    .fpp-grid[b-h8az02umhl] {
        --fpp-columns: 3;
    }

    .fpp-grid:has(.fpp-more) .fpp-radios[b-h8az02umhl] {
        grid-column: 1 / -1;
        grid-row: 1 / span 2;
        grid-template-rows: subgrid;
    }

    .fpp-more[b-h8az02umhl] {
        grid-column: 3;
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fpp-tile[b-h8az02umhl] {
        transition: none;
    }
}
/* /Components/Forge/ForgeShell.razor.rz.scp.css */
/* The forge's frame (comps F-Class, F-Look, F-Destiny, F-390): the header row (title, step hexes, Leave the forge), the
   full-hall notice, the step, and the sticky footer bar. Tokens only, the page's --forge-* tokens included; the picked
   class's color arrives as --forge-class. Canonical breakpoints only:
     default          desktop: title, the steps centered with labels, a quiet "Leave the forge" button
     max-width 960    the upcoming and done steps drop their labels (the current one keeps it); a done step's
                      button stays 44px wide
     max-width 480    the phone header (F-390): the close button leads, the title, the hexes alone; the bar's Cancel
                      goes (the close button leaves), and on steps 2 and 3 the summary gives the buttons the room */

.forge-shell[b-w7rcyekcbu] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

/* ---- Header ---- */

.fs-header[b-w7rcyekcbu] {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: 20px;
}

.fs-title[b-w7rcyekcbu] {
    margin: 0;
    color: var(--forge-cream);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 26);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.1;
    white-space: nowrap;
}

.fs-steps[b-w7rcyekcbu] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.fs-step[b-w7rcyekcbu] {
    display: flex;
}

.fs-step-button[b-w7rcyekcbu],
.fs-step-static[b-w7rcyekcbu] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--forge-target);
    padding: 0;
    border: none;
    background: none;
    /* Upcoming steps are static 13px labels: small text reads secondary, never tertiary (contrast). */
    color: var(--color-text-secondary);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.fs-step-button[b-w7rcyekcbu] {
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    cursor: pointer;
}

.fs-step-button:hover .fs-step-label[b-w7rcyekcbu] {
    color: var(--forge-cream);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fs-step-button:focus-visible[b-w7rcyekcbu] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.fs-step--current .fs-step-static[b-w7rcyekcbu] {
    color: var(--color-primary);
}

.fs-hex[b-w7rcyekcbu] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.15em;
    height: 2.46em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-800);
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 900;
}

.fs-hex[b-w7rcyekcbu]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.fs-step--done .fs-hex[b-w7rcyekcbu] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--color-bg-base);
}

.fs-step--current .fs-hex[b-w7rcyekcbu] {
    background: var(--forge-gold-fill);
    color: var(--color-bg-base);
}

.fs-stepline[b-w7rcyekcbu] {
    width: 44px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-gray-700);
}

.fs-stepline.is-done[b-w7rcyekcbu] {
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}

.fs-leave[b-w7rcyekcbu] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--space-sm);
    min-height: max(36px, var(--forge-target));
    padding: 0 var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.fs-leave[b-w7rcyekcbu]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.fs-leave:hover[b-w7rcyekcbu] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    color: var(--color-text-primary);
}

.fs-leave:focus-visible[b-w7rcyekcbu] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Full-hall notice ---- */

.fs-slot-notice[b-w7rcyekcbu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    margin-top: var(--space-lg);
    padding: 10px 14px;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--forge-radius, 12px);
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
    color: var(--color-text-light);
    font-size: var(--gt-md);
}

.fs-slot-notice[b-w7rcyekcbu] >  .mud-icon-root {
    color: var(--color-primary);
}

.fs-slot-notice p[b-w7rcyekcbu] {
    flex: 1;
    min-width: 200px;
    margin: 0;
}

.fs-slot-actions[b-w7rcyekcbu] {
    display: flex;
    gap: var(--space-md);
}

.fs-link[b-w7rcyekcbu] {
    min-height: var(--forge-target);
    padding: 0 var(--space-xs);
    border: none;
    background: none;
    color: var(--forge-eyebrow);
    font: inherit;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.fs-link:hover[b-w7rcyekcbu] {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.fs-link:focus-visible[b-w7rcyekcbu] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Body ---- */

.fs-body[b-w7rcyekcbu] {
    min-width: 0;
    padding-block: 20px var(--space-xl);
}

/* ---- Footer: the failure line, the bar, the primary button's reason ---- */

.fs-footer[b-w7rcyekcbu] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: auto calc(-1 * var(--forge-gutter)) 0;
    padding: 0 var(--forge-gutter);
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 94%, transparent);
    backdrop-filter: blur(8px);
}

.fs-failure[b-w7rcyekcbu] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0 0;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-danger-light) 50%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-danger-dark) 22%, transparent);
    color: var(--color-danger-lightest);
    font-size: var(--gt-md);
}

.fs-failure[b-w7rcyekcbu]  .mud-icon-root {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--color-danger-light);
}

.fs-bar[b-w7rcyekcbu] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
}

.fs-actions[b-w7rcyekcbu] {
    display: flex;
    flex: none;
    gap: var(--space-md);
    margin-left: auto;
}

.fs-btn[b-w7rcyekcbu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    cursor: pointer;
}

.fs-btn[b-w7rcyekcbu]  .mud-icon-root {
    width: 19px;
    height: 19px;
}

.fs-btn--quiet[b-w7rcyekcbu] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
}

.fs-btn--quiet:hover[b-w7rcyekcbu] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    color: var(--color-text-primary);
}

.fs-btn--gold[b-w7rcyekcbu] {
    background: var(--forge-gold-fill);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-bg-base);
}

.fs-btn--gold.is-create[b-w7rcyekcbu] {
    padding: 0 26px;
}

.fs-btn--gold:hover:not(:disabled)[b-w7rcyekcbu] {
    box-shadow: 0 10px 28px color-mix(in srgb, var(--color-primary) 32%, transparent);
}

.fs-btn--gold:disabled[b-w7rcyekcbu] {
    background: var(--color-gray-700);
    box-shadow: none;
    color: var(--color-text-secondary);
    cursor: not-allowed;
}

.fs-btn:focus-visible[b-w7rcyekcbu] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.fs-reason[b-w7rcyekcbu] {
    margin: -10px 0 var(--space-sm);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-align: right;
}

/* ---- 960 and down: only the current step keeps its label ---- */

@media (max-width: 960px) {
    .fs-header[b-w7rcyekcbu] {
        gap: var(--space-lg);
    }

    .fs-step--done .fs-step-label[b-w7rcyekcbu],
    .fs-step--upcoming .fs-step-label[b-w7rcyekcbu] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .fs-stepline[b-w7rcyekcbu] {
        width: 20px;
    }

    /* A done step alone is its hex: keep the button a full touch target. */
    .fs-step--done .fs-step-button[b-w7rcyekcbu] {
        min-width: 44px;
        justify-content: center;
    }
}

/* ---- Phone (F-390) ---- */

@media (max-width: 480px) {
    .fs-header[b-w7rcyekcbu] {
        gap: var(--space-sm);
        padding-top: var(--space-sm);
    }

    .fs-leave[b-w7rcyekcbu] {
        order: -1;
        width: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
        border-color: transparent;
        background: none;
    }

    .fs-leave[b-w7rcyekcbu]  .mud-icon-root {
        width: 22px;
        height: 22px;
    }

    .fs-leave-text[b-w7rcyekcbu] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .fs-title[b-w7rcyekcbu] {
        flex: 1;
        min-width: 0;
        font-size: var(--gt-lg);
        letter-spacing: 0.06em;
        font-family: var(--font-primary);
    }

    .fs-steps[b-w7rcyekcbu] {
        gap: 6px;
        margin: 0;
    }

    .fs-stepline[b-w7rcyekcbu] {
        display: none;
    }

    .fs-step-label[b-w7rcyekcbu] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .fs-step-static[b-w7rcyekcbu] {
        min-width: 32px;
        min-height: 44px;
        justify-content: center;
    }

    .fs-body[b-w7rcyekcbu] {
        padding-block: 14px var(--space-lg);
    }

    .fs-bar[b-w7rcyekcbu] {
        gap: 10px;
        min-height: 0;
        padding-block: 12px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .fs-btn--cancel[b-w7rcyekcbu] {
        display: none;
    }

    .fs-btn--gold[b-w7rcyekcbu] {
        min-height: 52px;
        padding: 0 22px;
    }

    .fs-bar:has(.fs-btn--quiet:not(.fs-btn--cancel))[b-w7rcyekcbu]  .forge-summary {
        display: none;
    }
}
/* /Components/Forge/ForgeStatRoll.razor.rz.scp.css */
/* The roll panel: the source switch (the roll or the standard array), the verdict, the assignment line with Suggested,
   six ability cards (score block beside what the score does for the class and its value picker), the tiles and the
   rules line. Key cards are gold, Minor cards quiet. The cards shake while a reroll is in flight;
   prefers-reduced-motion keeps them still and only dims them. Tokens only; canonical breakpoints only, sized to the
   width the step gives the panel:
     default          two cards a row (below 1280 the panel is about 600 to 870px)
     min-width 1280   three a row (the panel beside the hero column, 870px and up)
     max-width 480    one a row, two tiles a row */

.forge-stat-roll[b-2j07i6spdl] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---- Where the scores come from: the latest roll or the standard array (a radio group) ---- */

.fsr-sources[b-2j07i6spdl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fsr-source[b-2j07i6spdl] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: var(--forge-target);
    padding: 8px 12px;
    border: 1px solid var(--forge-line);
    border-radius: 12px;
    background: var(--forge-surface);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.fsr-source:hover:not(:disabled)[b-2j07i6spdl] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.fsr-source.is-selected[b-2j07i6spdl] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.fsr-source:focus-visible[b-2j07i6spdl],
.fsr-suggested:focus-visible[b-2j07i6spdl],
.fsr-pick-select:focus-visible[b-2j07i6spdl] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fsr-source:disabled[b-2j07i6spdl] {
    cursor: progress;
}

.fsr-source[b-2j07i6spdl]  .fsr-source-icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
}

.fsr-source.is-selected[b-2j07i6spdl]  .fsr-source-icon {
    color: var(--color-primary);
}

.fsr-source-text[b-2j07i6spdl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fsr-source-label[b-2j07i6spdl] {
    color: var(--forge-cream);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: var(--font-weight-bold);
}

.fsr-source-values[b-2j07i6spdl] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-variant-numeric: tabular-nums;
}

/* ---- The assignment line and Suggested ---- */

.fsr-assign[b-2j07i6spdl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm) 14px;
}

.fsr-assign-text[b-2j07i6spdl] {
    flex: 1 1 260px;
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}

.fsr-suggest[b-2j07i6spdl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.fsr-suggested[b-2j07i6spdl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: max(36px, var(--forge-target));
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
}

.fsr-suggested[b-2j07i6spdl]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.fsr-suggested:hover:not(:disabled)[b-2j07i6spdl] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.fsr-suggested:disabled[b-2j07i6spdl] {
    border-color: var(--forge-line);
    background: none;
    color: var(--color-text-tertiary);
    cursor: default;
}

.fsr-suggested-text[b-2j07i6spdl] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ---- The verdict ---- */

.fsr-verdict[b-2j07i6spdl] {
    --fsr-tone: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border: 1px solid color-mix(in srgb, var(--fsr-tone) 38%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--fsr-tone) 8%, transparent);
}

.fsr-verdict--great[b-2j07i6spdl],
.fsr-verdict--strong[b-2j07i6spdl] {
    --fsr-tone: var(--color-primary);
}

.fsr-verdict--weak[b-2j07i6spdl] {
    --fsr-tone: var(--color-warning-bright);
}

.fsr-verdict[b-2j07i6spdl]  .fsr-verdict-icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--fsr-tone);
}

.fsr-verdict-text[b-2j07i6spdl] {
    flex: 1;
    min-width: 0;
}

.fsr-verdict-head[b-2j07i6spdl] {
    margin: 0;
    color: color-mix(in srgb, var(--fsr-tone) 45%, var(--color-text-primary));
    font-family: var(--font-primary);
    font-size: var(--gt-lg);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.fsr-verdict-body[b-2j07i6spdl] {
    margin: 2px 0 0;
    color: var(--color-text-light);
    font-size: var(--gt-md);
    line-height: 1.45;
}

.fsr-total[b-2j07i6spdl] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding-left: 14px;
    border-left: 1px solid var(--forge-line);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fsr-total b[b-2j07i6spdl] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 22);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
}

/* ---- The ability cards ---- */

.fsr-scores[b-2j07i6spdl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fsr-ability[b-2j07i6spdl] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--forge-line);
    border-radius: 12px;
    background: var(--forge-surface);
}

.fsr-ability--key[b-2j07i6spdl] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
}

.fsr-score-block[b-2j07i6spdl] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 52px;
}

.fsr-code[b-2j07i6spdl] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
}

.fsr-ability--key .fsr-code[b-2j07i6spdl] {
    color: var(--color-primary);
}

.fsr-score[b-2j07i6spdl] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 30);
    font-weight: 900;
    line-height: 1;
}

.fsr-mod[b-2j07i6spdl] {
    min-width: 2.83em;
    padding: 1px 6px;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 14%, transparent);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    text-align: center;
}

.fsr-mod--positive[b-2j07i6spdl] { color: var(--color-success-lighter); }
.fsr-mod--zero[b-2j07i6spdl] { color: var(--color-text-light); }
.fsr-mod--negative[b-2j07i6spdl] { color: var(--color-danger-lighter); }

.fsr-about[b-2j07i6spdl] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fsr-head[b-2j07i6spdl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
}

.fsr-pick[b-2j07i6spdl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fsr-pick-select[b-2j07i6spdl] {
    min-width: 64px;
    min-height: var(--forge-target);
    padding: 0 8px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 8px;
    background: var(--color-gray-900);
    color: var(--color-text-primary);
    font: inherit;
    font-size: calc(var(--gt-px) * 15);
    font-weight: var(--font-weight-bold);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    cursor: pointer;
}

.fsr-pick-select:disabled[b-2j07i6spdl] {
    cursor: progress;
    opacity: 0.6;
}

.fsr-array[b-2j07i6spdl] {
    padding: 1px 7px;
    border: 1px dashed var(--forge-line);
    border-radius: 999px;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.fsr-name[b-2j07i6spdl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    color: var(--forge-cream);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-bold);
}

.fsr-tag[b-2j07i6spdl] {
    padding: 1px 8px;
    border: 1px solid var(--forge-line);
    border-radius: 999px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fsr-ability--key .fsr-tag[b-2j07i6spdl] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: color-mix(in srgb, var(--color-primary) 60%, var(--color-text-primary));
}

.fsr-use[b-2j07i6spdl] {
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.4;
}

.fsr-ability--minor .fsr-use[b-2j07i6spdl] {
    color: var(--color-text-secondary);
}

.fsr-dice[b-2j07i6spdl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 2px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.fsr-dice i[b-2j07i6spdl] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.83em;
    height: 1.83em;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    border-radius: 5px;
    background: var(--color-gray-800);
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    font-style: normal;
    font-weight: var(--font-weight-bold);
}

.fsr-dropped[b-2j07i6spdl] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 4px;
}

.fsr-dropped i[b-2j07i6spdl] {
    border-style: dashed;
    background: none;
    color: var(--color-text-secondary);
}

.fsr-bonus[b-2j07i6spdl] {
    margin-left: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
    color: var(--color-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.fsr-gear[b-2j07i6spdl] {
    padding: 1px 7px;
    border: 1px solid var(--forge-line);
    border-radius: 999px;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.forge-stat-roll.is-rolling .fsr-ability[b-2j07i6spdl] {
    animation: fsr-shake-b-2j07i6spdl 0.45s ease-in-out infinite;
}

@keyframes fsr-shake-b-2j07i6spdl {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-1deg) translateY(-1px); }
    75% { transform: rotate(1deg) translateY(1px); }
}

/* ---- Tiles and the rules line ---- */

.fsr-tiles[b-2j07i6spdl] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 0;
}

.fsr-tile[b-2j07i6spdl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--forge-line-soft);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
}

.fsr-tile dt[b-2j07i6spdl] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fsr-tile dd[b-2j07i6spdl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
}

.fsr-tile b[b-2j07i6spdl] {
    color: var(--color-text-primary);
    font-size: var(--gt-xl);
    font-weight: var(--font-weight-bold);
}

.fsr-tile small[b-2j07i6spdl] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.fsr-explainer[b-2j07i6spdl] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

@media (min-width: 1280px) {
    .fsr-scores[b-2j07i6spdl] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .fsr-sources[b-2j07i6spdl] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-sm);
    }

    .fsr-verdict[b-2j07i6spdl] {
        flex-wrap: wrap;
    }

    .fsr-total[b-2j07i6spdl] {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
        width: 100%;
        padding: 8px 0 0;
        border-top: 1px solid var(--forge-line);
        border-left: none;
    }

    .fsr-scores[b-2j07i6spdl] {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-sm);
    }

    .fsr-tiles[b-2j07i6spdl] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .forge-stat-roll.is-rolling .fsr-ability[b-2j07i6spdl] {
        animation: none;
        opacity: 0.6;
    }
}
/* /Components/Forge/ForgeSummary.razor.rz.scp.css */
/* The footer's summary (F-Class / F-Look / F-Destiny bars): a 44px avatar in the class-colored ring, then the line.
   Tokens only (--fsum-class reads --color-{class}); canonical breakpoints only (the phone drops the avatar at 480). */

.forge-summary[b-gmv8twe6wb] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.fsum-avatar[b-gmv8twe6wb] {
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid var(--fsum-class, var(--color-text-tertiary));
    border-radius: 50%;
    background: var(--color-gray-800);
}

.fsum-avatar img[b-gmv8twe6wb] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.fsum-line[b-gmv8twe6wb] {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--color-text-light);
    font-size: var(--gt-base);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fsum-line b[b-gmv8twe6wb] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

@media (max-width: 480px) {
    .fsum-avatar[b-gmv8twe6wb] {
        display: none;
    }

    .fsum-line[b-gmv8twe6wb] {
        font-size: var(--gt-md);
    }
}
/* /Components/Frame/GameFrame.razor.rz.scp.css */
/* The frame's header (Docs/LRPG_GAME_MENU.md 5.1 and 6.3): fixed to the window's top on the bar's layer (MudBlazor's app
   bar layer, so every popover and dialog keeps its old place above or below it), as tall as --frame-top at each tier.
   A visitor (the shell draws a few pages signed out) gets the mark alone. Tokens only. */

.gf-header[b-57dxx5wvkq] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--frame-z-bar);
}

.gf-visitor-bar[b-57dxx5wvkq] {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: var(--frame-top);
    padding: 0 14px 0 10px;
    background: var(--frame-bar-fill);
    border-bottom: 1px solid var(--frame-hairline);
}

/* A phone held sideways (phase M, blend 1.7): the rail replaces the bar (an 844px window is a tablet's width) and the
   phone's top bar. */
@media (orientation: landscape) and (max-height: 480px) {
    .gf-header[b-57dxx5wvkq]  .gf-bar,
    .gf-header[b-57dxx5wvkq]  .gf-phonebar {
        display: none;
    }
}

@media (forced-colors: active) {
    .gf-visitor-bar[b-57dxx5wvkq] {
        border-bottom-color: CanvasText;
    }
}
/* /Components/Frame/GfBar.razor.rz.scp.css */
/* The world bar (blend 1.1; the kit's bl-bar): 64px, a navy fill with a 16% gold hairline and a soft shadow; a
   minmax(0, 1fr) auto minmax(0, 1fr) grid, so the lamps are centred in the window and the zones hold its edges at every
   width (Q9 a: at 1920 too). Past 1920 the page stops at MainLayout's 1920px frame, so the zones hold that frame's
   edges instead and the navy fill still spans the window (owner, 9 Nov 2026: on an ultra-wide window the hero chip
   and More sat far outside the page). The padding is a percentage of the window's width, so it is the plain 10 / 14px
   up to 1920 and grows by half the excess past it. Drawn from 768 up; below, the phone's top bar. Tokens only.
   The bar is a container (gf-bar) with the base text size as its font size (14px times the text size, what its children
   inherit already), so a query on it can say "this much room, at this text size" in em: the road chip asks it
   (GfRoadChip). */

.gf-bar[b-6k7uar2jeb] {
    display: none;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    font-size: var(--gt-base);
    container: gf-bar / inline-size;
    box-sizing: border-box;
    height: var(--frame-bar-height);
    padding: 0 max(14px, calc((100% - 1920px) / 2 + 14px)) 0 max(10px, calc((100% - 1920px) / 2 + 10px));
    background: var(--frame-bar-fill);
    border-bottom: 1px solid var(--frame-hairline);
    box-shadow: var(--frame-shadow);
}

@media (min-width: 768px) {
    .gf-bar[b-6k7uar2jeb] {
        display: grid;
    }
}

/* Grown text (readable game text, 14 Nov 2026: Large and Extra large, js/frame/textSize.js): the crest and the places
   overlapped from 768 to 1366 when the places stayed in the window's true centre (measured: up to 127px at Extra large;
   the gap is 4px at Medium already), so the zones take their content's width and the places centre in what is left.
   What the bar then drops is decided by room, never by a window width (review, 14 Nov 2026: with a run open, Large and
   Extra large still overlapped from 1280 to about 1600, the places over the crest and over the road chip):
     - the places' words go when their own track is too narrow for them (GfLamps, a container query on the track, so a
       long hero name that widens the crest takes the words away too);
     - the road chip is its compact form until the bar is 92em wide (GfRoadChip, a query on this container, at every text
       size: at Medium the full chip overlapped the Fellowship lamp by up to 25px from 1280 to 1305). 92em is the room the
       full chip AND the places' words need together (Large from 1570 wide, Extra large from 1827), so widening the window
       never drops the words to make room for the chip. */
:root.game-text-grown .gf-bar[b-6k7uar2jeb] {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.gf-bar-left[b-6k7uar2jeb] {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    min-width: 0;
    height: 100%;
}

.gf-bar-right[b-6k7uar2jeb] {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-self: end;
    min-width: 0;
    height: 100%;
}

.gf-bar-tools[b-6k7uar2jeb] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

@media (forced-colors: active) {
    .gf-bar[b-6k7uar2jeb] {
        border-bottom-color: CanvasText;
    }
}
/* /Components/Frame/GfBattleMenu.razor.rz.scp.css */
/* The combat HUD's Battle menu (Docs/LRPG_GAME_MENU.md 5.7; the BL kit's bl-battlebtn and bl-battle, BL-Combat):
   a 44px framed button with "menu" in gold and its label (desktop), the icon alone on the touch tiers (.is-compact),
   and a panel under it at its right edge: Settings, Leave battle in the danger tone with "asks first", and the quiet
   foot line. Tokens only (no hex), Material icons only; the host lifts its strip above the board while the menu is
   open (combat-responsive.css, CombatPhoneLayout.razor.css). Canonical breakpoints only: none needed.
   Text follows the combat text size (readable combat text, 14 Nov 2026): the label, the items, the foot line and their icons
   are --ct-* tokens, and the panel's width grows with the text (--ct-box). The menu is drawn on every combat tier, so
   Settings and Leave battle grow with the rest of the screen at Extra large instead of staying 12-14px. */

.gf-battle[b-on704opsre] {
    position: relative;
    display: inline-flex;
    flex: none;
}

.gf-battle-button[b-on704opsre] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    margin: 0;
    padding: 0 12px 0 10px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 86%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-md);
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 10px 26px color-mix(in srgb, black 50%, transparent);
    transition: background-color 0.12s ease, border-color 0.12s ease;
    touch-action: manipulation;
}

.gf-battle-icon[b-on704opsre] {
    font-size: var(--ct-2xl);
    color: var(--color-primary);
}

.is-compact .gf-battle-button[b-on704opsre] {
    width: 44px;
    padding: 0;
    justify-content: center;
}

@media (hover: hover) {
    .gf-battle-button:hover[b-on704opsre] {
        border-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
    }
}

.gf-battle-button[aria-expanded="true"][b-on704opsre] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 22%, var(--color-bg-base));
    color: var(--color-primary-light);
}

.gf-battle-button:focus-visible[b-on704opsre] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ----- The open panel ----- */

.gf-battle-panel[b-on704opsre] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-sizing: border-box;
    width: calc(268px * var(--ct-box));
    padding: 8px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
    background: var(--color-gray-900);
    box-shadow: 0 18px 40px color-mix(in srgb, black 65%, transparent);
    animation: gf-battle-in-b-on704opsre 0.12s ease-out;
}

@keyframes gf-battle-in-b-on704opsre {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.gf-battle-items[b-on704opsre] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-battle-item[b-on704opsre] {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* MudBlazor centres every button's content */
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
}

.gf-battle-item-icon[b-on704opsre] {
    font-size: var(--ct-2xl);
    color: var(--color-text-secondary);
}

.gf-battle-item.is-danger[b-on704opsre],
.gf-battle-item.is-danger .gf-battle-item-icon[b-on704opsre] {
    color: var(--color-danger-lighter);
}

.gf-battle-item-hint[b-on704opsre] {
    margin-left: auto;
    white-space: nowrap;
}

@media (hover: hover) {
    .gf-battle-item:hover[b-on704opsre] {
        background: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
    }
}

.gf-battle-item:focus-visible[b-on704opsre] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

/* Items are 44px tall on touch (the board: "Items are 44px tall on touch"). */
.is-compact .gf-battle-item[b-on704opsre] {
    min-height: 44px;
}

@media (pointer: coarse) {
    .gf-battle-item[b-on704opsre] {
        min-height: 44px;
    }
}

/* What waits on Fellowship: quiet words, not a control. */
.gf-battle-foot[b-on704opsre] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 8px 10px 4px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: 600;
    line-height: 1.3;
}

.gf-battle-foot-icon[b-on704opsre] {
    font-size: var(--ct-lg);
    color: var(--color-text-secondary);
}

@media (prefers-reduced-motion: reduce) {
    .gf-battle-button[b-on704opsre] {
        transition: none;
    }

    .gf-battle-panel[b-on704opsre] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .gf-battle-button[b-on704opsre],
    .gf-battle-panel[b-on704opsre] {
        border-color: CanvasText;
    }

    .gf-battle-button[aria-expanded="true"][b-on704opsre] {
        border-color: Highlight;
    }

    .gf-battle-button:focus-visible[b-on704opsre],
    .gf-battle-item:focus-visible[b-on704opsre] {
        outline-color: Highlight;
    }

    .gf-battle-foot[b-on704opsre] {
        border-top-color: CanvasText;
    }
}
/* /Components/Frame/GfBell.razor.rz.scp.css */
/* The bell (blend 1.4 and 1.5; the kit's m-iconbtn bl-bell and bl-pbtn, BL-Kit sections 3 and 4): 44px on the bar, 52 x 50
   with "Alerts" under the icon on phones. The quiet dot is light (never red, never a number) with a 2px ring in the bar's
   colour. MudBlazor centres every button's content, which this wants. Tokens only. */

.gf-bell[b-jtbxtyckzr] {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
    flex: none;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.gf-bell.is-bar[b-jtbxtyckzr] {
    width: 44px;
    height: 44px;
}

.gf-bell.is-phone[b-jtbxtyckzr] {
    gap: 3px;
    min-width: 52px;
    height: 50px;
    padding: 0 4px;
    border-radius: 11px;
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1;
}

.gf-bell-icon[b-jtbxtyckzr] {
    position: relative;
    display: inline-flex;
}

.gf-bell-icon .material-icons[b-jtbxtyckzr] {
    font-size: var(--gt-3xl);
}

.is-phone .gf-bell-icon .material-icons[b-jtbxtyckzr] {
    font-size: calc(var(--gt-px) * 23);
    color: var(--color-text-light);
}

.gf-qdot[b-jtbxtyckzr] {
    position: absolute;
    top: 0;
    right: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--frame-quiet-dot);
    box-shadow: 0 0 0 2px var(--frame-bar-ink);
}

@media (hover: hover) {
    .gf-bell:hover[b-jtbxtyckzr] {
        background: color-mix(in srgb, var(--color-text-secondary) 10%, transparent);
        color: var(--color-text-primary);
    }
}

.gf-bell[aria-expanded="true"][b-jtbxtyckzr] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--frame-gold-soft);
}

.gf-bell:focus-visible[b-jtbxtyckzr] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .gf-bell[b-jtbxtyckzr] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-bell:focus-visible[b-jtbxtyckzr] {
        outline-color: Highlight;
    }

    .gf-qdot[b-jtbxtyckzr] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Frame/GfCrest.razor.rz.scp.css */
/* The hero crest (Docs/LRPG_GAME_MENU.md 5.2; the kit's bl-crest, BL-Kit section 2, BL-Tavern-1366, BL-Tablet-1024 and -768).
   Mobile first, as the bar is drawn from 768 up: 768-959 the ring and the HP vital (its label over its value over the
   hairline), from 960 the pool's vital too (label and value on one line over the hairline; still no name), from 1280 the
   name (the body face) over two inline vitals. Tokens only; the class colour arrives as --cc (var(--color-{class})).
   It grows with its words, never clips them (owner's report, 16 Nov 2026: at Medium the name and both vitals were cramped
   and POWER ran into its bar, since the 12px floor of readable game text): the frame is a min-height that its content can
   pass (it stays inside the bar: GfCrestFitTests computes the tallest face from this sheet at every text size), the
   vitals' label and value columns are as wide as their words (max-content, shared by the two rows from 1280 through a
   subgrid) and the hairline takes what is left, at least --vw wide in all. The name ends in an ellipsis. The words keep
   11px from the ring at every width (5px clear of the level hex, which overhangs the ring by 6px). */

.gf-crest[b-2uknn5p4ad] {
    --vw: calc(64px * var(--gt-box));
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(50px * var(--gt-box));
    min-width: 0;
    box-sizing: border-box;
    border-radius: 14px;
    border: 1px solid var(--frame-line);
    background: linear-gradient(100deg, color-mix(in srgb, var(--cc, var(--frame-crest-rest)) 14%, var(--frame-crest-base)), var(--frame-crest-end) 70%);
    flex: none;
    transition: border-color 0.14s ease;
}

.gf-crest-go[b-2uknn5p4ad] {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 11px;
    min-width: 0;
    padding: calc(3px * var(--gt-box)) 6px calc(3px * var(--gt-box)) 5px;
    border-radius: 13px;
    color: inherit;
    text-decoration: none;
}

@media (hover: hover) {
    .gf-crest:hover[b-2uknn5p4ad] {
        border-color: var(--frame-line-gold);
    }
}

.gf-crest-go:focus-visible[b-2uknn5p4ad] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

/* Lit on the active hero's own sheet (C4): a gold rim and a 3px inset underline. */
.gf-crest.is-here[b-2uknn5p4ad] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    box-shadow: inset 0 -3px 0 var(--color-primary);
}

/* ---- The ring: the portrait in its class rim, the gold XP arc, the level hex ---- */

.gf-ring[b-2uknn5p4ad] {
    --d: calc(42px * var(--gt-box));
    position: relative;
    display: inline-block;
    flex: none;
    width: var(--d);
    height: var(--d);
    box-sizing: border-box;
    padding: 3px;
    border-radius: 50%;
    background: conic-gradient(var(--color-primary) calc(var(--p, 0) * 1%), var(--frame-ring-track) 0);
}

.gf-ring-av[b-2uknn5p4ad] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cc, var(--frame-crest-rest));
    background: var(--frame-ring-well);
    box-shadow: 0 0 0 2px var(--frame-ring-edge);
}

.gf-ring-icon[b-2uknn5p4ad] {
    font-size: var(--gt-xl);
    color: var(--cc, var(--color-text-secondary));
}

.gf-ring-img[b-2uknn5p4ad] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

.gf-ring-lv[b-2uknn5p4ad],
.gf-ring-lock[b-2uknn5p4ad] {
    position: absolute;
    right: -6px;
    bottom: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9em;
    height: 2.19em;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-gold);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 900;
    line-height: 1;
}

.gf-ring-lock[b-2uknn5p4ad] {
    background: var(--frame-locked);
}

.gf-ring-lock .material-icons[b-2uknn5p4ad] {
    font-size: var(--gt-sm);
}

/* Stat points to spend: a gold pip at the portrait's top left. */
.gf-crest-pip[b-2uknn5p4ad] {
    position: absolute;
    left: -6px;
    top: -6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.71em;
    height: 1.71em;
    padding: 0 5px;
    border-radius: 9px;
    border: 2px solid var(--frame-bar-ink);
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1;
}

/* ---- The words and the hairlines ---- */

.gf-crest-tx[b-2uknn5p4ad] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: calc(3px * var(--gt-box));
    min-width: 0;
}

.gf-crest-name[b-2uknn5p4ad] {
    display: none;
    max-width: calc(150px * var(--gt-box));
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--frame-cream);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gf-crest-line[b-2uknn5p4ad] {
    display: none;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 500;
    line-height: 1.2;
    color: var(--frame-gold-text);
    white-space: nowrap;
}

.gf-vits[b-2uknn5p4ad] {
    display: flex;
    flex-direction: column;
    gap: calc(3px * var(--gt-box));
}

/* 768-959: the label over the value over the hairline, so colour is never the only cue and a three-digit HP takes no more
   width than the hairline's --vw (the crest sits beside the places there, and at Medium the zones are the window's two
   equal sides). At least --vw wide, and wider when the words need it: never a fixed width the words can run over. */
.gf-vit[b-2uknn5p4ad] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "l" "v" "b";
    align-items: center;
    row-gap: calc(2px * var(--gt-box));
    column-gap: calc(3px * var(--gt-box));
    min-width: var(--vw);
}

.gf-vit:not(:first-child)[b-2uknn5p4ad] {
    display: none;
}

.gf-vit-label[b-2uknn5p4ad] {
    grid-area: l;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.gf-vit-value[b-2uknn5p4ad] {
    grid-area: v;
    justify-self: start;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-lighter);
    white-space: nowrap;
}

.gf-vit-bar[b-2uknn5p4ad] {
    grid-area: b;
    position: relative;
    display: block;
    height: 3px;
    min-width: 0;
    overflow: hidden;
    border-radius: 4px;
    background: var(--frame-bar-track);
}

.gf-vit-fill[b-2uknn5p4ad] {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 4px;
    background: var(--frame-hp);
}

.gf-vit-fill.is-low[b-2uknn5p4ad] {
    background: var(--frame-hp-low);
}

.gf-vit-fill.is-critical[b-2uknn5p4ad] {
    background: var(--frame-hp-critical);
}

.gf-vit-fill.is-pool[b-2uknn5p4ad] {
    background: var(--frame-pool);
}

/* ---- No hero, a locked hero, loading ---- */

.gf-crest-empty[b-2uknn5p4ad] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px dashed color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    color: var(--color-text-secondary);
    flex: none;
}

.gf-crest-empty .material-icons[b-2uknn5p4ad] {
    font-size: calc(var(--gt-px) * 22);
}

.gf-crest.is-locked .gf-ring-av[b-2uknn5p4ad] {
    filter: grayscale(1);
}

.gf-crest.is-locked .gf-crest-line[b-2uknn5p4ad] {
    color: var(--color-text-light);
}

.gf-crest.is-loading .gf-ring[b-2uknn5p4ad] {
    background: var(--frame-ring-track);
}

.gf-crest.is-loading .gf-ring-av[b-2uknn5p4ad] {
    border-color: var(--color-gray-700);
}

.gf-skel[b-2uknn5p4ad] {
    display: block;
    border-radius: 7px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.17) 50%, rgba(148, 163, 184, 0.08));
    background-size: 400px 100%;
    animation: gf-shimmer-b-2uknn5p4ad 1.4s linear infinite;
}

.gf-skel-name[b-2uknn5p4ad] {
    display: none;
    width: 110px;
    height: 11px;
}

.gf-skel-bar[b-2uknn5p4ad] {
    width: var(--vw);
    height: 5px;
}

.gf-skel-bar.is-second[b-2uknn5p4ad] {
    display: none;
}

@keyframes gf-shimmer-b-2uknn5p4ad {
    from {
        background-position: -400px 0;
    }

    to {
        background-position: 400px 0;
    }
}

/* ---- The chevron (phase H): the hero menu; not drawn below 960, where More holds the same pieces (blend 1.2) ---- */

.gf-crest-menu[b-2uknn5p4ad] {
    display: none;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 30px;
    margin: 4px 4px 4px 0;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--frame-line);
    border-radius: 0 10px 10px 0;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.gf-crest-menu .material-icons[b-2uknn5p4ad] {
    font-size: var(--gt-2xl);
    transition: transform 0.14s ease;
}

.gf-crest-menu[aria-expanded="true"][b-2uknn5p4ad] {
    color: var(--frame-gold-soft);
}

.gf-crest-menu[aria-expanded="true"] .material-icons[b-2uknn5p4ad] {
    transform: rotate(180deg);
}

.gf-crest-menu:hover[b-2uknn5p4ad] {
    color: var(--color-text-primary);
}

.gf-crest-menu:focus-visible[b-2uknn5p4ad] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

/* ---- 960-1279: the pool joins HP; no hero and a locked hero say why (blend 1.2) ---- */

@media (min-width: 960px) {
    .gf-crest[b-2uknn5p4ad] {
        --vw: calc(96px * var(--gt-box));
    }

    .gf-crest-menu[b-2uknn5p4ad] {
        display: inline-flex;
    }

    /* The label and the value share a line over the hairline; the end padding is slimmer than the full crest's, the
       chevron's rule closing the link (a level 20 Wizard's MANA 315/315 still clears the places at Medium). */
    .gf-crest-go[b-2uknn5p4ad] {
        padding-right: 4px;
    }

    .gf-vit[b-2uknn5p4ad] {
        grid-template-columns: max-content minmax(0, 1fr);
        grid-template-areas: "l v" "b b";
        row-gap: calc(3px * var(--gt-box));
    }

    .gf-vit-value[b-2uknn5p4ad] {
        justify-self: end;
    }

    .gf-vit:not(:first-child)[b-2uknn5p4ad] {
        display: grid;
    }

    .gf-skel-bar.is-second[b-2uknn5p4ad] {
        display: block;
    }

    .gf-crest.is-nohero .gf-crest-name[b-2uknn5p4ad],
    .gf-crest.is-nohero .gf-crest-line[b-2uknn5p4ad],
    .gf-crest.is-locked .gf-crest-name[b-2uknn5p4ad],
    .gf-crest.is-locked .gf-crest-line[b-2uknn5p4ad] {
        display: block;
    }
}

/* ---- 1280 and up: the full crest, the name over two inline vitals ---- */

@media (min-width: 1280px) {
    .gf-crest[b-2uknn5p4ad] {
        --vw: calc(128px * var(--gt-box));
    }

    /* The roomier end padding of the full crest (below 1280 the crest keeps to its column beside the places). */
    .gf-crest-go[b-2uknn5p4ad] {
        padding-right: 12px;
    }

    .gf-crest-name[b-2uknn5p4ad],
    .gf-skel-name[b-2uknn5p4ad] {
        display: block;
    }

    /* One grid for both rows: the labels' column is as wide as the longer label (POWER, FOCUS, FAITH...), the values' as
       the longer value, so the two hairlines start and end together; the hairline takes the rest of --vw, at least
       --vit-bar-min, and the whole grows past --vw rather than squeeze a word. */
    .gf-vits[b-2uknn5p4ad] {
        --vit-bar-min: calc(24px * var(--gt-box));
        display: grid;
        grid-template-columns: max-content minmax(var(--vit-bar-min), 1fr) max-content;
        column-gap: calc(6px * var(--gt-box));
        row-gap: calc(2px * var(--gt-box));
        width: var(--vw);
        min-width: max-content;
    }

    /* A subgrid of .gf-vits: column-gap normal takes the parent's 6px gutters. */
    .gf-vit[b-2uknn5p4ad] {
        grid-column: 1 / -1;
        /* The fallback where subgrid is not supported: the same tracks, per row. */
        grid-template-columns: max-content minmax(var(--vit-bar-min), 1fr) max-content;
        grid-template-columns: subgrid;
        grid-template-areas: "l b v";
        row-gap: 0;
        column-gap: normal;
        min-width: 0;
    }
}

@media (min-width: 960px) and (pointer: coarse) {
    .gf-crest-menu[b-2uknn5p4ad] {
        width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-crest[b-2uknn5p4ad] {
        transition: none;
    }

    .gf-crest-menu .material-icons[b-2uknn5p4ad] {
        transition: none;
    }

    .gf-skel[b-2uknn5p4ad] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .gf-crest[b-2uknn5p4ad] {
        border-color: CanvasText;
    }

    .gf-crest.is-here[b-2uknn5p4ad] {
        border-color: Highlight;
        box-shadow: none;
        border-bottom-width: 3px;
    }

    .gf-crest-go:focus-visible[b-2uknn5p4ad],
    .gf-crest-menu:focus-visible[b-2uknn5p4ad] {
        outline-color: Highlight;
    }

    .gf-crest-pip[b-2uknn5p4ad] {
        border-color: CanvasText;
    }

    .gf-vit-bar[b-2uknn5p4ad] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Frame/GfDock.razor.rz.scp.css */
/* The phone's thumb dock (blend 1.5; the kit's m-dock and bl-dock): fixed to the window's bottom, 72px plus the safe area,
   opaque ink (a 97% fill let the page read through the tavern's old dock), a 22% gold hairline on top, five equal cells.
   Drawn below 768 held upright only; held sideways the rail takes its place. A yield page or moment (the GAME FRAME tokens
   say which) slides it away in 220ms, at once under reduced motion. Tokens only; the canonical breakpoints only. */

.gf-dock[b-7pgoeqndsr] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--frame-z-bar);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    box-sizing: border-box;
    height: calc(var(--frame-dock-height) + env(safe-area-inset-bottom, 0px));
    padding: 0 2px env(safe-area-inset-bottom, 0px);
    background: var(--frame-dock-ink);
    border-top: 1px solid var(--frame-dock-line);
    box-shadow: 0 -12px 30px var(--frame-dock-shadow);
    transition: transform 0.22s ease, visibility 0s linear 0s;
}

@media (min-width: 768px) {
    .gf-dock[b-7pgoeqndsr] {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .gf-dock[b-7pgoeqndsr] {
        display: none;
    }
}

/* Yield (5.5): the page's own bottom action (the route, data-yield), a focused field on touch (frame.js watchKeyboard),
   Garrick's conversation, the sheet's Compare or the Loadout's zoom sheet takes the edge. Hidden after the slide, so it
   leaves the tab order and the accessibility tree too. The same five conditions zero --frame-bottom (design-system.css,
   GAME FRAME). */
.gf-dock[data-yield][b-7pgoeqndsr],
html[data-gf-keyboard] .gf-dock[b-7pgoeqndsr],
html.rf-garrick .gf-dock[b-7pgoeqndsr],
html.rf-sheet-compare .gf-dock[b-7pgoeqndsr],
html.rf-loadout-zoom .gf-dock[b-7pgoeqndsr] {
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.22s ease, visibility 0s linear 0.22s;
}

/* Every yield is instant under reduced motion (8): the yield rules outrank a bare .gf-dock, so each is listed. */
@media (prefers-reduced-motion: reduce) {
    .gf-dock[b-7pgoeqndsr],
    .gf-dock[data-yield][b-7pgoeqndsr],
    html[data-gf-keyboard] .gf-dock[b-7pgoeqndsr],
    html.rf-garrick .gf-dock[b-7pgoeqndsr],
    html.rf-sheet-compare .gf-dock[b-7pgoeqndsr],
    html.rf-loadout-zoom .gf-dock[b-7pgoeqndsr] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-dock[b-7pgoeqndsr] {
        border-top-color: CanvasText;
    }
}
/* /Components/Frame/GfDockCell.razor.rz.scp.css */
/* A dock or rail place cell (blend 1.5 and 1.7; the kit's bl-dock and bl-rail): a 28 x 32 hex (24 x 27 in the rail) over an
   11px label (10px in the rail), the whole cell a link at least 44px tall. Rest slate; lit, a gold hex with an ember, a
   gold label and a 3px gold mark (on the dock's top edge, on the rail's left edge); dim a faded hex. Tokens only.
   In the dock a label too wide for its cell takes a second line, never an ellipsis (owner, 17 Nov 2026: "War T..." at
   Extra large): the hexes sit on one line from the top, where a one-line label leaves them centred, so a two-line label
   grows downward and every hex stays level with the Hero cell's ring (GfDockHero, the same rule). The rail's words keep
   their own rule: they all leave its column together when they do not fit (GfRail.razor.css). */

.gf-cell[b-zuba5llf9d] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    padding: 0 2px;
    border-radius: 10px;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.gf-cell.is-dock[b-zuba5llf9d] {
    justify-content: flex-start;
    padding-top: calc((var(--frame-dock-height) - 37px - 1.2em) / 2);
}

.gf-cell.is-rail[b-zuba5llf9d] {
    gap: 3px;
    font-size: var(--gt-sm);
    line-height: 1;
}

.gf-cell-hex[b-zuba5llf9d] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 28px;
    height: 32px;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-rest);
}

.is-rail .gf-cell-hex[b-zuba5llf9d] {
    width: 24px;
    height: 27px;
}

.gf-cell-hex[b-zuba5llf9d]::before {
    content: '';
    position: absolute;
    inset: 1.5px;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-inner);
}

.gf-cell-ms[b-zuba5llf9d] {
    position: relative;
    font-size: var(--gt-lg);
    color: var(--color-text-light);
}

.is-rail .gf-cell-ms[b-zuba5llf9d] {
    font-size: var(--gt-base);
}

.gf-cell-g[b-zuba5llf9d] {
    position: relative;
    margin-top: 1px;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-light);
}

.is-rail .gf-cell-g[b-zuba5llf9d] {
    font-size: var(--gt-sm);
}

.gf-cell-label[b-zuba5llf9d] {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.is-dock .gf-cell-label[b-zuba5llf9d] {
    overflow: visible;
    white-space: normal;
    text-align: center;
    overflow-wrap: break-word;
}

.gf-cell:focus-visible[b-zuba5llf9d] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

/* The page is this place. */
.gf-cell[aria-current="page"][b-zuba5llf9d] {
    color: var(--frame-gold-soft);
}

.gf-cell[aria-current="page"] .gf-cell-hex[b-zuba5llf9d] {
    background: var(--frame-hex-gold);
}

.gf-cell[aria-current="page"] .gf-cell-hex[b-zuba5llf9d]::before {
    inset: 2px;
    background: var(--frame-hex-ember);
}

.gf-cell[aria-current="page"] .gf-cell-ms[b-zuba5llf9d],
.gf-cell[aria-current="page"] .gf-cell-g[b-zuba5llf9d] {
    color: var(--frame-ember-glyph);
}

.gf-cell[aria-current="page"][b-zuba5llf9d]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28%;
    right: 28%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--color-primary);
}

.gf-cell.is-rail[aria-current="page"][b-zuba5llf9d]::before {
    top: 8px;
    bottom: 8px;
    left: -4px;
    right: auto;
    width: 3px;
    height: auto;
    border-radius: 0 3px 3px 0;
}

/* No hero at the table (D14): still a link, to the hall; the reason is in its name. */
.gf-cell.is-dim[b-zuba5llf9d] {
    color: var(--color-text-secondary);
}

.gf-cell.is-dim .gf-cell-hex[b-zuba5llf9d] {
    background: var(--frame-hex-dim);
}

.gf-cell.is-dim .gf-cell-ms[b-zuba5llf9d],
.gf-cell.is-dim .gf-cell-g[b-zuba5llf9d] {
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .gf-cell:focus-visible[b-zuba5llf9d] {
        outline-color: Highlight;
    }

    /* The lit cell keeps its mark as a shape, not a colour. */
    .gf-cell[aria-current="page"][b-zuba5llf9d]::before {
        background: CanvasText;
    }
}
/* /Components/Frame/GfDockCentre.razor.rz.scp.css */
/* The centre action (blend 1.5 and 1.7; the kit's m-dock .main and bl-rail .orb). On the dock a 58 x 66 gold hex orb raised
   22px over the dock's top edge, its label at the cell's foot; in the rail a 30 x 34 orb over its label (eight
   44px cells fill a 360px window). Quiet: navy with a
   gold rim and a gold icon (one gold per screen, C3), seated flush in the dock's cell. Unknown: an empty quiet ring. Tokens only. */

.gf-centre[b-x4q4y036zi] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    padding: 0 2px 8px;
    border-radius: 10px;
    color: var(--frame-gold-soft);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.gf-orb[b-x4q4y036zi] {
    position: absolute;
    left: 50%;
    top: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 66px;
    margin-left: -29px;
    filter: drop-shadow(0 6px 14px var(--frame-gold-glow));
}

.gf-orb[b-x4q4y036zi]::before {
    content: '';
    position: absolute;
    inset: 0;
    clip-path: var(--frame-hex);
    background: var(--frame-orb-rim);
}

.gf-orb[b-x4q4y036zi]::after {
    content: '';
    position: absolute;
    inset: 4px;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-gold);
}

.gf-orb-ms[b-x4q4y036zi] {
    position: relative;
    z-index: 1;
    font-size: var(--gt-4xl);
    color: var(--frame-on-gold);
}

.gf-centre-label[b-x4q4y036zi] {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Quiet on the dock (a page bar stacked on it, or More's journal over it): the orb seats flush inside the cell (C12), so
   it never covers the page bar's foot or tucks under the journal. A tavern sheet (Bag, Spells, the ready check) or one of
   the frame's panel sheets (the hero menu, Fellowship, the bell; phase H) standing on the dock seats it too, gold: raised,
   its top would be cut flat under the sheet. */
.gf-centre.is-dock.is-quiet .gf-orb[b-x4q4y036zi],
:root.rf-tavern-sheet .gf-centre.is-dock .gf-orb[b-x4q4y036zi],
:root.rf-panel-open .gf-centre.is-dock .gf-orb[b-x4q4y036zi] {
    top: 4px;
    width: 40px;
    height: 46px;
    margin-left: -20px;
}

.gf-centre.is-dock.is-quiet .gf-orb[b-x4q4y036zi]::after,
:root.rf-tavern-sheet .gf-centre.is-dock .gf-orb[b-x4q4y036zi]::after,
:root.rf-panel-open .gf-centre.is-dock .gf-orb[b-x4q4y036zi]::after {
    inset: 3px;
}

.gf-centre.is-dock.is-quiet .gf-orb-ms[b-x4q4y036zi],
:root.rf-tavern-sheet .gf-centre.is-dock .gf-orb-ms[b-x4q4y036zi],
:root.rf-panel-open .gf-centre.is-dock .gf-orb-ms[b-x4q4y036zi] {
    font-size: calc(var(--gt-px) * 22);
}

/* The rail: the orb sits in the column, not raised. */
.gf-centre.is-rail[b-x4q4y036zi] {
    justify-content: center;
    gap: 3px;
    padding: 2px 0;
    font-size: var(--gt-sm);
    line-height: 1;
}

.is-rail .gf-orb[b-x4q4y036zi] {
    position: relative;
    left: auto;
    top: auto;
    width: 30px;
    height: 34px;
    margin: 0;
}

.is-rail .gf-orb[b-x4q4y036zi]::after {
    inset: 3px;
}

.is-rail .gf-orb-ms[b-x4q4y036zi] {
    font-size: var(--gt-xl);
}

/* Quiet: the page (or More) holds the screen's gold. */
.gf-centre.is-quiet[b-x4q4y036zi] {
    color: var(--color-text-lighter);
}

.gf-centre.is-quiet .gf-orb[b-x4q4y036zi] {
    filter: none;
}

.gf-centre.is-quiet .gf-orb[b-x4q4y036zi]::before {
    background: var(--frame-orb-quiet-rim);
}

.gf-centre.is-quiet .gf-orb[b-x4q4y036zi]::after {
    background: var(--frame-orb-quiet-fill);
}

.gf-centre.is-quiet .gf-orb-ms[b-x4q4y036zi] {
    color: var(--color-primary);
}

/* The party chip (raid join W4b, spec 2.4): while the party bar is drawn the centre carries it. Gathering, the orb is the
   party's info blue (the bar's own tint; gold stays the page's), the seat count a small badge on its corner (the link's
   name says it in words); on the road it keeps the gold of Return to the fight. */
.gf-centre.is-party-chip.has-badge:not(.is-quiet) .gf-orb[b-x4q4y036zi]::after {
    background: linear-gradient(180deg, var(--color-info-light), var(--color-info-dark));
}

.gf-centre.is-party-chip.has-badge:not(.is-quiet) .gf-orb-ms[b-x4q4y036zi] {
    color: var(--frame-cream);
}

/* The party join nudge's dot (22 Nov 2026): the Party lamp's quiet dot, on the chip's top corner (the badge holds the
   bottom one). Static: nothing moves, so there is nothing for reduced motion to stop. */
.gf-centre-dot[b-x4q4y036zi] {
    position: absolute;
    top: 2px;
    right: -2px;
    z-index: 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--frame-quiet-dot);
    box-shadow: 0 0 0 2px var(--frame-bar-ink);
}

.gf-centre.is-rail .gf-centre-dot[b-x4q4y036zi] {
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
}

.gf-centre-badge[b-x4q4y036zi] {
    position: absolute;
    right: -6px;
    bottom: 2px;
    z-index: 2;
    min-width: 1.9em;
    padding: 2px 4px;
    border: 1px solid var(--frame-road-party-line);
    border-radius: 999px;
    background: var(--frame-bar-ink);
    color: var(--frame-info-ink);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.gf-centre:focus-visible[b-x4q4y036zi] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

@media (forced-colors: active) {
    .gf-centre:focus-visible[b-x4q4y036zi] {
        outline-color: Highlight;
    }

    .gf-orb[b-x4q4y036zi]::before,
    .gf-orb[b-x4q4y036zi]::after {
        background: CanvasText;
    }

    .gf-orb-ms[b-x4q4y036zi] {
        color: Canvas;
        forced-color-adjust: none;
    }

    .gf-centre-dot[b-x4q4y036zi] {
        background: CanvasText;
    }
}
/* /Components/Frame/GfDockHero.razor.rz.scp.css */
/* The dock's Hero cell and the rail's first cell (blend 1.5 and 1.7; the kit's bl-dock .hero, bl-rail .hero): the crest's
   ring at 32px (30px in the rail, where eight 44px cells fill a 360px window) with its class rim, gold XP arc and level hex, a gold pip for stat points, over the
   label. Lit (C4) the label turns gold with the dock's 3px mark. Tokens only; the class colour arrives as --cc. In the dock
   the ring sits on the place cells' line from the top (GfDockCell.razor.css), so it stays level with their hexes when a
   place's label takes two lines. */

.gf-hcell[b-rriwancdbd] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 0;
    min-height: 44px;
    padding: 0 2px;
    border-radius: 10px;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.gf-hcell.is-dock[b-rriwancdbd] {
    justify-content: flex-start;
    padding-top: calc((var(--frame-dock-height) - 37px - 1.2em) / 2);
}

.gf-hcell.is-rail[b-rriwancdbd] {
    gap: 3px;
    font-size: var(--gt-sm);
    line-height: 1;
}

.gf-hcell-icon[b-rriwancdbd] {
    position: relative;
    display: inline-flex;
    flex: none;
}

.gf-hcell-ring[b-rriwancdbd] {
    --d: 32px;
    position: relative;
    display: inline-block;
    width: var(--d);
    height: var(--d);
    box-sizing: border-box;
    padding: 2px;
    border-radius: 50%;
    background: conic-gradient(var(--color-primary) calc(var(--p, 0) * 1%), var(--frame-ring-track) 0);
}

.is-rail .gf-hcell-ring[b-rriwancdbd] {
    --d: 30px;
}

.gf-hcell-av[b-rriwancdbd] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cc, var(--frame-crest-rest));
    background: var(--frame-ring-well);
}

.gf-hcell-cls[b-rriwancdbd] {
    font-size: var(--gt-base);
    color: color-mix(in srgb, var(--cc, var(--color-text-secondary)) 50%, var(--color-text-primary));
}

.gf-hcell-img[b-rriwancdbd] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

.gf-hcell-lv[b-rriwancdbd] {
    position: absolute;
    right: -6px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.88em;
    height: 2.12em;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-gold);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 900;
    line-height: 1;
}

.gf-hcell-lv.is-lock[b-rriwancdbd] {
    background: var(--frame-locked);
}

.gf-hcell-lv .material-icons[b-rriwancdbd] {
    font-size: var(--gt-sm);
}

.gf-hcell-pip[b-rriwancdbd] {
    position: absolute;
    left: -9px;
    top: -6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.7em;
    height: 1.7em;
    padding: 0 4px;
    border-radius: 9px;
    border: 2px solid var(--frame-bar-ink);
    background: var(--color-primary);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1;
}

/* No hero: a dashed ring with person_off (the crest's). */
.gf-hcell-empty[b-rriwancdbd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px dashed var(--frame-crest-rest);
    color: var(--color-text-secondary);
}

.gf-hcell-empty .material-icons[b-rriwancdbd] {
    font-size: var(--gt-lg);
}

/* A locked or resting hero: greyed (the crest's). */
.gf-hcell.is-locked .gf-hcell-av[b-rriwancdbd] {
    filter: grayscale(1);
}

.gf-hcell.is-loading .gf-hcell-ring[b-rriwancdbd] {
    background: var(--frame-ring-track);
}

.gf-hcell-label[b-rriwancdbd] {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gf-hcell:focus-visible[b-rriwancdbd] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

/* The active hero's own sheet (C4). */
.gf-hcell[aria-current="page"][b-rriwancdbd] {
    color: var(--frame-gold-soft);
}

.gf-hcell[aria-current="page"][b-rriwancdbd]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28%;
    right: 28%;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--color-primary);
}

.gf-hcell.is-rail[aria-current="page"][b-rriwancdbd]::before {
    top: 8px;
    bottom: 8px;
    left: -4px;
    right: auto;
    width: 3px;
    height: auto;
    border-radius: 0 3px 3px 0;
}

@media (forced-colors: active) {
    .gf-hcell:focus-visible[b-rriwancdbd] {
        outline-color: Highlight;
    }

    .gf-hcell[aria-current="page"][b-rriwancdbd]::before {
        background: CanvasText;
    }

    .gf-hcell-pip[b-rriwancdbd] {
        border-color: CanvasText;
    }
}
/* /Components/Frame/GfFellowship.razor.rz.scp.css */
/* Fellowship (blend 1.3 and 1.5; the kit's bl-lamp with m-badge and bl-pbtn, BL-Kit sections 3 and 4): on the bar a lamp
   with the forum hex, on phones a 52 x 50 button with the icon over "Fellowship". One red count (white 11px text on
   --color-count, AA) with a 2px ring in the bar's colour. Tokens only. */

.gf-fellowship[b-ggb90eq13v] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    flex: none;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: color 0.14s ease;
}

.gf-fellowship-icon[b-ggb90eq13v] {
    position: relative;
    display: inline-flex;
    flex: none;
}

/* ---- The bar's lamp ---- */

/* Grown text (readable game text): the lamp keeps its hex and count and drops its word from view when the places' track is
   too narrow for the words, as the places do (GfLamps, the same container and width); the button's name is its aria-label. */
@container gf-lamps (width < 34em) {
    :root.game-text-grown .gf-fellowship.is-lamp .gf-fellowship-label[b-ggb90eq13v] {
        display: none;
    }
}

.gf-fellowship.is-lamp[b-ggb90eq13v] {
    gap: 5px;
    min-width: 64px;
    height: 100%;
    padding: 3px 8px 0;
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gf-hex[b-ggb90eq13v] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(30px * var(--gt-box));
    height: calc(34px * var(--gt-box));
    clip-path: var(--frame-hex);
    background: var(--frame-hex-rest);
    transition: background-color 0.14s ease;
}

.gf-hex[b-ggb90eq13v]::before {
    content: '';
    position: absolute;
    inset: 1.5px;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-inner);
}

.gf-hex-ms[b-ggb90eq13v] {
    position: relative;
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-light);
}

.is-lamp .gf-count[b-ggb90eq13v] {
    position: absolute;
    top: -6px;
    left: 18px;
}

/* Drawn lit on the Fellowship pages (friends, messages, a profile, guilds, the leaderboards). */
.is-lamp.is-lit[b-ggb90eq13v] {
    color: var(--frame-gold-soft);
}

.is-lamp.is-lit .gf-hex[b-ggb90eq13v] {
    background: var(--frame-hex-gold);
}

.is-lamp.is-lit .gf-hex[b-ggb90eq13v]::before {
    inset: 2px;
    background: var(--frame-hex-ember);
}

.is-lamp.is-lit .gf-hex-ms[b-ggb90eq13v] {
    color: var(--frame-ember-glyph);
}

.is-lamp.is-lit[b-ggb90eq13v]::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--color-primary);
}

/* ---- The phone's top bar button ---- */

.gf-fellowship.is-phone[b-ggb90eq13v] {
    gap: 3px;
    min-width: 52px;
    height: 50px;
    padding: 0 4px;
    border-radius: 11px;
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.gf-fellowship-ms[b-ggb90eq13v] {
    font-size: calc(var(--gt-px) * 23);
    color: var(--color-text-light);
}

.is-phone .gf-count[b-ggb90eq13v] {
    position: absolute;
    top: -7px;
    left: 14px;
}

.is-phone.is-lit[b-ggb90eq13v],
.is-phone.is-lit .gf-fellowship-ms[b-ggb90eq13v] {
    color: var(--frame-gold-soft);
}

/* ---- The count ---- */

.gf-count[b-ggb90eq13v] {
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.81em;
    height: 1.81em;
    padding: 0 5px;
    border-radius: 10px;
    border: 2px solid var(--frame-bar-ink);
    background: var(--color-count);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    text-transform: none;
}

@media (hover: hover) {
    .gf-fellowship:hover[b-ggb90eq13v] {
        color: var(--color-text-primary);
    }

    .is-lamp:hover .gf-hex[b-ggb90eq13v] {
        background: var(--frame-hex-hover);
    }
}

.gf-fellowship:focus-visible[b-ggb90eq13v] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
    border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .gf-fellowship[b-ggb90eq13v],
    .gf-hex[b-ggb90eq13v] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-fellowship:focus-visible[b-ggb90eq13v] {
        outline-color: Highlight;
    }

    .gf-count[b-ggb90eq13v] {
        border: 1px solid CanvasText;
    }

    .is-lamp.is-lit[b-ggb90eq13v]::after {
        background: CanvasText;
    }
}
/* /Components/Frame/GfFellowshipPanel.razor.rz.scp.css */
/* Fellowship acting in place (blend 3.2; BL-Panels-1366 "Fellowship" and its states): the waiting rows as the kit's m-wait
   (a request red-tinted with Accept in gold and Decline plain, a message blue-tinted with Reply, his letters with a gold
   seal, an accepted request green), "{n} more on Fellowship", then the four rows. While the circuit rejoins
   (ReconnectModal's html[data-circuit]) the chip and the line show and the actions wait. Tokens only. */

.gf-fp[b-imgl279szd] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 12px 10px;
}

.gf-fp-sr[b-imgl279szd] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gf-fp-waiting[b-imgl279szd] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.gf-fp-chip[b-imgl279szd],
.gf-fp-rejoin[b-imgl279szd] {
    display: none;
}

:root[data-circuit] .gf-fp-chip[b-imgl279szd] {
    display: inline-flex;
    padding: 2px 8px;
    border: 1px solid var(--frame-warn-line);
    border-radius: 999px;
    background: var(--frame-warn-fill);
    color: var(--frame-warn-ink);
    font-size: var(--gt-sm);
    font-weight: 700;
}

:root[data-circuit] .gf-fp-rejoin[b-imgl279szd] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--frame-warn-line);
    border-radius: 10px;
    background: var(--frame-warn-fill);
    color: var(--frame-warn-ink);
    font-size: var(--gt-sm);
}

:root[data-circuit] .gf-fp-btn[b-imgl279szd] {
    pointer-events: none;
    color: var(--color-text-secondary);
}

.gf-fp-rejoin .material-icons[b-imgl279szd] {
    font-size: var(--gt-lg);
}

.gf-fp-list[b-imgl279szd],
.gf-fp-rows[b-imgl279szd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-fp-rows[b-imgl279szd] {
    gap: 2px;
    padding-top: 8px;
    border-top: 1px solid var(--frame-line);
}

.gf-fp-env[b-imgl279szd] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--frame-line);
    border-radius: 10px;
    background: var(--frame-card-fill);
}

.gf-fp-env:focus-visible[b-imgl279szd] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

.gf-fp-env.is-request[b-imgl279szd],
.gf-fp-env.is-failed[b-imgl279szd] {
    border-color: var(--frame-wait-request-line);
    background: var(--frame-wait-request-fill);
}

.gf-fp-env.is-message[b-imgl279szd] {
    background: var(--frame-wait-message-fill);
}

.gf-fp-env.is-done[b-imgl279szd] {
    border-color: var(--frame-good-line);
    background: var(--frame-good-wash);
}

.gf-fp-env.is-empty[b-imgl279szd] {
    gap: 8px;
    font-size: var(--gt-md);
    color: var(--color-text-secondary);
}

.gf-fp-env.is-empty .material-icons[b-imgl279szd] {
    font-size: var(--gt-xl);
}

.gf-fp-av[b-imgl279szd],
.gf-fp-seal[b-imgl279szd] {
    flex: none;
    display: grid;
    place-items: center;
    width: 2.29em;
    height: 2.29em;
    border-radius: 50%;
    background: var(--frame-well);
    border: 1px solid var(--frame-line-strong);
    color: var(--frame-cream);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
}

.gf-fp-seal[b-imgl279szd] {
    border-color: var(--frame-line-gold);
    background: var(--frame-seal-fill);
    color: var(--frame-gold-soft);
}

.gf-fp-av .material-icons[b-imgl279szd],
.gf-fp-seal .material-icons[b-imgl279szd] {
    font-size: var(--gt-xl);
}

.gf-fp-tx[b-imgl279szd] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.gf-fp-tx b[b-imgl279szd] {
    display: -webkit-box;
    overflow: hidden;
    font-size: var(--gt-md);
    font-weight: 600;
    color: var(--color-text-primary);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.gf-fp-tx .gf-fp-quote[b-imgl279szd] {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-fp-tx small[b-imgl279szd] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.gf-fp-env.is-done .gf-fp-tx b[b-imgl279szd] {
    color: var(--frame-good-ink);
}

.gf-fp-env.is-request .gf-fp-tx small[b-imgl279szd],
.gf-fp-env.is-failed .gf-fp-tx small[b-imgl279szd] {
    color: var(--frame-wait-request-ink);
}

.gf-fp-acts[b-imgl279szd] {
    display: flex;
    flex: none;
    gap: 6px;
}

.gf-fp-btn[b-imgl279szd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.67em;
    padding: 0 10px;
    border: 1px solid var(--frame-line-strong);
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--gt-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.gf-fp-btn.is-accept[b-imgl279szd] {
    border-color: var(--frame-line-gold);
    background: var(--frame-accept-fill);
    color: var(--frame-gold-soft);
}

.gf-fp-btn:hover:not(:disabled)[b-imgl279szd] {
    background: var(--frame-row-hover);
}

.gf-fp-btn:disabled[b-imgl279szd] {
    cursor: default;
    color: var(--color-text-secondary);
}

.gf-fp-btn:focus-visible[b-imgl279szd],
.gf-fp-more:focus-visible[b-imgl279szd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-fp-more[b-imgl279szd] {
    align-self: flex-start;
    font-size: var(--gt-sm);
    font-weight: 600;
    color: var(--frame-gold-soft);
    text-decoration: none;
}

.gf-fp-more:hover[b-imgl279szd] {
    text-decoration: underline;
}

.gf-fp-skel[b-imgl279szd] {
    display: block;
    flex: 1 1 auto;
    height: 14px;
    border-radius: 6px;
    background: var(--frame-skeleton);
    background-size: 400px 100%;
    animation: gf-fp-shimmer-b-imgl279szd 1.4s linear infinite;
}

.gf-fp-skel.is-short[b-imgl279szd] {
    flex: 0 0 64px;
}

@keyframes gf-fp-shimmer-b-imgl279szd {
    from { background-position: -400px 0; }
    to { background-position: 400px 0; }
}

@media (pointer: coarse) {
    .gf-fp-btn[b-imgl279szd] {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-fp-skel[b-imgl279szd] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .gf-fp-env[b-imgl279szd],
    .gf-fp-btn[b-imgl279szd],
    .gf-fp-av[b-imgl279szd],
    .gf-fp-seal[b-imgl279szd] {
        border-color: CanvasText;
    }

    .gf-fp-env.is-done[b-imgl279szd] {
        border-left: 3px solid CanvasText;
    }

    .gf-fp-btn:focus-visible[b-imgl279szd],
    .gf-fp-more:focus-visible[b-imgl279szd],
    .gf-fp-env:focus-visible[b-imgl279szd] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfFind.razor.rz.scp.css */
/* Find's field (blend 2.3; the kit's bl-find on m-search): a 44px gold-rimmed field with its key hint ("Ctrl K", or "Cmd K"
   on a Mac, then "Esc Clear" while something is typed); 48px with no key hints and a clear button on touch. The field's
   ring is the frame around it (:focus-within), with a transparent outline kept for forced colours. Tokens only. */

.gf-find[b-88sk2dxjv1] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    min-width: 0;
    height: 44px;
    padding: 0 8px 0 12px;
    border: 1px solid var(--frame-find-line);
    border-radius: 12px;
    background: var(--frame-find-fill);
    color: var(--color-text-secondary);
}

.gf-find:focus-within[b-88sk2dxjv1] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--frame-focus-halo);
}

.gf-find-ic[b-88sk2dxjv1] {
    flex: none;
    font-size: var(--gt-2xl);
    color: var(--frame-gold-text);
}

.gf-find-input[b-88sk2dxjv1] {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 500;
}

.gf-find-input[b-88sk2dxjv1]::placeholder {
    color: var(--color-text-secondary);
    opacity: 1;
}

.gf-find-input:focus-visible[b-88sk2dxjv1] {
    outline: 2px solid transparent;
}

.gf-find-keys[b-88sk2dxjv1] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    white-space: nowrap;
}

.gf-find-keys kbd[b-88sk2dxjv1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.82em;
    height: 1.82em;
    padding: 0 5px;
    border: 1px solid var(--frame-kbd-line);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: var(--frame-well);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
}

.gf-find-keys kbd.is-cmd[b-88sk2dxjv1] {
    display: none;
}

:root[data-platform="mac"] .gf-find-keys kbd.is-cmd[b-88sk2dxjv1] {
    display: inline-flex;
}

:root[data-platform="mac"] .gf-find-keys kbd.is-ctrl[b-88sk2dxjv1] {
    display: none;
}

.gf-find-clear[b-88sk2dxjv1] {
    display: none;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0 -6px 0 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.gf-find-clear .material-icons[b-88sk2dxjv1] {
    font-size: var(--gt-2xl);
}

.gf-find-clear:focus-visible[b-88sk2dxjv1] {
    outline: 2px solid var(--color-primary);
    outline-offset: -4px;
}

/* Touch's "Find a place" button (blend 2.3; the kit's bl-findbtn): the field's own face, a whole 48px target. */
.gf-find-btn[b-88sk2dxjv1] {
    display: none;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.gf-find-btn .material-icons[b-88sk2dxjv1] {
    font-size: calc(var(--gt-px) * 22);
    color: var(--frame-gold-text);
}

.gf-find-btn:focus-visible[b-88sk2dxjv1] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Touch: the button stands in for the field until it is pressed (frame.js sets data-gf-find-shown) or something is typed;
   no key hints (C10, blend 2.3). */
@media (pointer: coarse) {
    .gf-find[b-88sk2dxjv1] {
        height: 48px;
    }

    .gf-find:not(.has-query):not([data-gf-find-shown])[b-88sk2dxjv1] {
        padding: 0;
    }

    .gf-find:not(.has-query):not([data-gf-find-shown]) > :not(.gf-find-btn)[b-88sk2dxjv1] {
        display: none;
    }

    .gf-find:not(.has-query):not([data-gf-find-shown]) > .gf-find-btn[b-88sk2dxjv1] {
        display: flex;
    }

    .gf-find-keys[b-88sk2dxjv1] {
        display: none;
    }

    .gf-find-clear[b-88sk2dxjv1] {
        display: inline-flex;
    }

    .gf-find-input[b-88sk2dxjv1] {
        font-size: var(--gt-lg);
    }
}

@media (forced-colors: active) {
    .gf-find[b-88sk2dxjv1] {
        border-color: CanvasText;
    }

    .gf-find-input:focus-visible[b-88sk2dxjv1],
    .gf-find-clear:focus-visible[b-88sk2dxjv1] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfHeroCard.razor.rz.scp.css */
/* The hero in More (blend 2.2 b; the kit's bl-herocard, bl-herovit, bl-doors, bl-swadd): the arch portrait in the class's
   rim (--cc) with the gold level hex, the gold eyebrow, the Cinzel name, the voice-italic title, race and class, the chips;
   the vitals with values over their bars; the doors in one row; the forge's dashed plus beside Hall of Heroes. From 768 to
   959 (one wide column) the card and the vitals sit side by side (BL-Tablet-768). Loading draws skeletons that do not
   shimmer under reduced motion. Tokens only.
   Its words never clip (owner, 17 Nov 2026, More at Extra large; the same at every size for a long name or a three-digit
   pool): the name, the title, race and class wrap; a vital's value goes under its label when the two do not fit side by
   side; the doors are as many across as their words allow. The card is a size container in the game's small text
   (gf-hero, em of --gt-sm), so the doors' queries follow the Text size: five in a row from 29em (a phone and 768-959 at
   Medium), four over the spell page's own row below that (the 340 and 372px you pages at Medium), two by two under 21em
   (the you pages and a phone at Extra large). */

.gf-herocard[b-ogeh8exj63] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    container: gf-hero / inline-size;
    font-size: var(--gt-sm);
}

/* The words sit beside the portrait while their longest word fits there; a name with a word wider than that (BARTHOLOMEW
   in Cinzel at Extra large) takes the card's full width under the portrait rather than break inside the word. */
.gf-herocard-go[b-ogeh8exj63] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.gf-herocard-go:focus-visible[b-ogeh8exj63] {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.gf-herocard-go[aria-current="page"] .gf-pt-av[b-ogeh8exj63] {
    box-shadow: 0 0 0 3px var(--frame-focus-halo);
}

/* The arch portrait and its level hex */
.gf-pt[b-ogeh8exj63] {
    position: relative;
    flex: none;
    width: 68px;
    height: 80px;
}

.gf-pt-av[b-ogeh8exj63] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--cc, var(--frame-crest-rest));
    border-radius: 999px 999px 10px 10px;
    background: var(--frame-ring-well);
}

.gf-pt-av img[b-ogeh8exj63] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 14%;
}

.gf-pt-icon[b-ogeh8exj63] {
    font-size: calc(var(--gt-px) * 30);
    color: var(--color-text-secondary);
}

.gf-pt-lv[b-ogeh8exj63] {
    position: absolute;
    right: -10px;
    bottom: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2.31em;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-gold);
    color: var(--frame-on-gold);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 900;
}

.gf-pt-lock[b-ogeh8exj63] {
    position: absolute;
    right: -6px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid var(--frame-premium-line);
    border-radius: 50%;
    background: var(--frame-premium-well);
    color: var(--frame-premium-ink);
}

.gf-pt-lock .material-icons[b-ogeh8exj63] {
    font-size: var(--gt-md);
}

.is-locked .gf-pt-av img[b-ogeh8exj63] {
    filter: grayscale(1) brightness(0.7);
}

.gf-pt.is-empty[b-ogeh8exj63] {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--frame-line-strong);
    border-radius: 999px 999px 10px 10px;
    color: var(--color-text-secondary);
}

.gf-pt-none[b-ogeh8exj63] {
    font-size: calc(var(--gt-px) * 26);
}

/* The words */
.gf-herocard-id[b-ogeh8exj63] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 0;
    min-width: min(100%, min-content);
}

.gf-herocard-eye[b-ogeh8exj63] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--frame-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.gf-herocard-eye .material-icons[b-ogeh8exj63] {
    font-size: calc(var(--gt-px) * 15);
}

.gf-herocard-nm[b-ogeh8exj63] {
    color: var(--frame-cream);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 22);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.12;
    overflow-wrap: break-word;
}

@media (hover: hover) {
    .gf-herocard-go:hover .gf-herocard-nm[b-ogeh8exj63] {
        color: var(--frame-gold-soft);
    }
}

.gf-herocard-why[b-ogeh8exj63] {
    color: var(--frame-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
}

.is-locked .gf-herocard-why[b-ogeh8exj63] {
    color: var(--frame-premium-ink);
}

.gf-herocard-ln[b-ogeh8exj63] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 7px;
    min-width: 0;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 500;
}

.gf-herocard-ti[b-ogeh8exj63] {
    color: var(--frame-gold-soft);
    font-family: var(--frame-font-voice);
    font-size: calc(var(--gt-px) * 15);
}

.gf-herocard-dot[b-ogeh8exj63] {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-text-secondary);
}

.gf-herocard-cl[b-ogeh8exj63] {
    color: color-mix(in srgb, var(--cc, var(--color-text-secondary)) 50%, var(--color-text-primary));
    font-weight: 700;
}

.gf-herocard-chips[b-ogeh8exj63] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.gf-grade[b-ogeh8exj63],
.gf-purse[b-ogeh8exj63] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 2.17em;
    padding: 0 9px;
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    white-space: nowrap;
}

.gf-grade .material-icons[b-ogeh8exj63],
.gf-purse .material-icons[b-ogeh8exj63] {
    font-size: calc(var(--gt-px) * 15);
}

.gf-grade[b-ogeh8exj63] {
    border: 1px solid var(--frame-good-line);
    background: var(--frame-good-fill);
    color: var(--frame-good-ink);
}

.gf-grade.is-c[b-ogeh8exj63],
.gf-grade.is-d[b-ogeh8exj63] {
    border-color: var(--frame-warn-line);
    background: var(--frame-warn-fill);
    color: var(--frame-warn-ink);
}

.gf-grade.is-f[b-ogeh8exj63] {
    border-color: var(--frame-bad-line);
    background: var(--frame-bad-fill);
    color: var(--frame-bad-ink);
}

.gf-purse[b-ogeh8exj63] {
    border: 1px solid var(--frame-line-gold);
    background: var(--frame-purse-fill);
    color: var(--frame-gold-soft);
}

.gf-purse .material-icons[b-ogeh8exj63] {
    color: var(--color-primary);
}

/* The vitals: label and value over the bar, three across where three fit their words (each at least 7.5em: "23,000 to Lv
   7"), else two with XP under them across the width (as the 340px page always draws them, C8). A value that does not fit
   beside its label (HEALTH 247 / 247 in a third of the 372px page) goes on a line of its own, at the end, over the bar:
   never over the label; a value wider than its vital wraps between its words. */
.gf-herovit[b-ogeh8exj63] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gf-hv[b-ogeh8exj63],
.gf-herovit > .gf-skel[b-ogeh8exj63] {
    flex: 1 1 7.5em;
}

.gf-hv[b-ogeh8exj63] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 6px;
    min-width: 0;
}

.gf-hv-label[b-ogeh8exj63] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.gf-hv-value[b-ogeh8exj63] {
    margin-left: auto;
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: end;
}

.gf-hv-value.is-xp[b-ogeh8exj63] {
    color: var(--frame-gold-soft);
}

.gf-hv-bar[b-ogeh8exj63] {
    flex: 1 0 100%;
    position: relative;
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--frame-bar-track);
}

.gf-hv-bar i[b-ogeh8exj63] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 4px;
    background: var(--frame-hp);
}

.gf-hv-bar i.is-low[b-ogeh8exj63] { background: var(--frame-hp-low); }
.gf-hv-bar i.is-critical[b-ogeh8exj63] { background: var(--frame-hp-critical); }
.gf-hv-bar i.is-pool[b-ogeh8exj63] { background: var(--frame-pool); }
.gf-hv-bar i.is-xp[b-ogeh8exj63] { background: var(--frame-xp); }

/* The doors, the spell page's new spells in green: four over the spell page's own row (a row: icon, words, the count at
   its end), five in one row where five fit their words, two by two where four do not (the card's container queries). */
.gf-doors[b-ogeh8exj63] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-doors > li.is-spell[b-ogeh8exj63] {
    grid-column: 1 / -1;
}

@container gf-hero (width >= 29em) {
    .gf-doors[b-ogeh8exj63] {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
    }

    .gf-doors > li.is-spell[b-ogeh8exj63] {
        grid-column: auto;
    }
}

@container gf-hero (width < 21em) {
    .gf-doors[b-ogeh8exj63] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.gf-door[b-ogeh8exj63] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 52px;
    padding: 6px 1px;
    border: 1px solid var(--frame-line);
    border-radius: 11px;
    background: var(--frame-well);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.14s ease;
}

.gf-door .material-icons[b-ogeh8exj63] {
    font-size: calc(var(--gt-px) * 19);
    color: var(--color-text-secondary);
}

.gf-door-label[b-ogeh8exj63] {
    max-width: 100%;
    overflow-wrap: break-word;
}

.gf-door-badge[b-ogeh8exj63] {
    position: absolute;
    top: 4px;
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.71em;
    height: 1.71em;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--frame-good-solid);
    color: var(--frame-on-good);
    font-size: var(--gt-sm);
    font-weight: 800;
}

@media (hover: hover) {
    .gf-door:hover[b-ogeh8exj63] {
        border-color: var(--frame-line-gold);
    }
}

.gf-door:focus-visible[b-ogeh8exj63] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-door[aria-current="page"][b-ogeh8exj63] {
    border-color: var(--frame-line-gold);
    color: var(--frame-gold-soft);
}

.gf-door[aria-current="page"] .material-icons[b-ogeh8exj63] {
    color: var(--color-primary);
}

/* The spell page in its own row: the icon, its words, the new spells' count at the row's end. */
.is-spell .gf-door[b-ogeh8exj63] {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    font-size: var(--gt-md);
}

.is-spell .gf-door-badge[b-ogeh8exj63] {
    position: static;
    margin-left: auto;
}

@container gf-hero (width >= 29em) {
    .is-spell .gf-door[b-ogeh8exj63] {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        min-height: 52px;
        padding: 6px 1px;
        font-size: var(--gt-sm);
    }

    .is-spell .gf-door-badge[b-ogeh8exj63] {
        position: absolute;
        margin-left: 0;
    }
}

/* The forge's dashed plus beside Hall of Heroes (the roster's portraits join with phase H) */
.gf-herocard-foot[b-ogeh8exj63] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.gf-forge[b-ogeh8exj63] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    box-sizing: border-box;
    width: 32px;
    height: 37px;
    border: 1px dashed var(--frame-line-gold);
    border-radius: 999px 999px 7px 7px;
    background: var(--frame-well);
    color: var(--frame-gold-text);
    text-decoration: none;
}

.gf-forge .material-icons[b-ogeh8exj63] {
    font-size: var(--gt-xl);
}

.gf-hall[b-ogeh8exj63] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    min-height: 37px;
    padding: 0 8px;
    border-radius: 9px;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.gf-hall .material-icons[b-ogeh8exj63] {
    font-size: var(--gt-xl);
    color: var(--color-text-secondary);
}

.gf-forge:focus-visible[b-ogeh8exj63],
.gf-hall:focus-visible[b-ogeh8exj63] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-hall[aria-current="page"][b-ogeh8exj63],
.gf-forge[aria-current="page"][b-ogeh8exj63] {
    color: var(--frame-gold-soft);
}

.gf-herocard-rows[b-ogeh8exj63] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Loading: the frame is drawn, the numbers wait (never "0 / 0") */
.gf-skel[b-ogeh8exj63] {
    display: block;
    border-radius: 7px;
    background: var(--frame-skeleton);
    background-size: 400px 100%;
    animation: gf-hero-shimmer-b-ogeh8exj63 1.4s linear infinite;
}

.gf-skel.is-name[b-ogeh8exj63] {
    width: 70%;
    height: 18px;
}

.gf-skel.is-line[b-ogeh8exj63] {
    width: 50%;
    height: 11px;
}

.gf-skel.is-bar[b-ogeh8exj63] {
    height: 18px;
}

@keyframes gf-hero-shimmer-b-ogeh8exj63 {
    from { background-position: -400px 0; }
    to { background-position: 400px 0; }
}

/* One wide column (768 to 959): the card and the vitals side by side */
@media (min-width: 768px) {
    .gf-herocard[b-ogeh8exj63] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 18px;
        align-items: center;
    }

    .gf-herocard > .gf-doors[b-ogeh8exj63],
    .gf-herocard > .gf-herocard-foot[b-ogeh8exj63],
    .gf-herocard > .gf-herocard-rows[b-ogeh8exj63],
    .gf-herocard > .gf-herocard-change[b-ogeh8exj63] {
        grid-column: 1 / -1;
    }
}

@media (min-width: 960px) {
    .gf-herocard[b-ogeh8exj63] {
        display: flex;
        align-items: stretch;
    }

    /* The crest's chevron opens the hero menu from here up (the more specific selector outranks the base rule below). */
    .gf-herocard > .gf-herocard-change[b-ogeh8exj63] {
        display: none;
    }

    /* The 340px you page (960 to 1279, BL-Tablet-1024): Health and the pool over a full-width XP (C8); the doors are the
       card's container queries' (four over the spell page's own row at Medium). */
    .gf-hv:nth-child(3)[b-ogeh8exj63] {
        flex-basis: 100%;
    }
}

/* From 1280 the you page is 372px: the three vitals in one row (BL-More-1366). The five doors no longer fit one row of it
   at the 12px floor ("Spellbo..."), so they keep 960's four over the spell page's row. */
@media (min-width: 1280px) {
    .gf-hv:nth-child(3)[b-ogeh8exj63] {
        flex-basis: 7.5em;
    }
}

@media (pointer: coarse) {
    .gf-forge[b-ogeh8exj63] {
        width: 38px;
        height: 44px;
    }

    .gf-hall[b-ogeh8exj63] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-skel[b-ogeh8exj63] {
        animation: none;
    }

    .gf-door[b-ogeh8exj63] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-pt-av[b-ogeh8exj63],
    .gf-door[b-ogeh8exj63],
    .gf-forge[b-ogeh8exj63] {
        border-color: CanvasText;
    }

    .gf-herocard-go:focus-visible[b-ogeh8exj63],
    .gf-door:focus-visible[b-ogeh8exj63],
    .gf-forge:focus-visible[b-ogeh8exj63],
    .gf-hall:focus-visible[b-ogeh8exj63] {
        outline-color: Highlight;
    }

    .gf-door-badge[b-ogeh8exj63] {
        border: 1px solid CanvasText;
    }
}

/* Switch (phase H, BL-More-1366): the other heroes Play can take now, as small round portraits in their class rims. */
.gf-switch[b-ogeh8exj63] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gf-switch-label[b-ogeh8exj63] {
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.gf-switch-hero[b-ogeh8exj63] {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid var(--cc, var(--frame-crest-rest));
    border-radius: 50%;
    background: var(--frame-crest-base);
    color: var(--cc, var(--color-text-secondary));
    overflow: hidden;
    cursor: pointer;
}

.gf-switch-hero img[b-ogeh8exj63] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-switch-hero .material-icons[b-ogeh8exj63] {
    font-size: var(--gt-xl);
}

.gf-switch-hero:focus-visible[b-ogeh8exj63] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-switch-hero:disabled[b-ogeh8exj63] {
    cursor: default;
    filter: grayscale(1);
}

@media (pointer: coarse) {
    .gf-switch-hero[b-ogeh8exj63] {
        width: 44px;
        height: 44px;
    }
}

/* Change hero (phase H, blend 2.2 b): below 960, where the crest has no chevron, More's way to every hero. */
.gf-herocard-change[b-ogeh8exj63] {
    display: flex;
    flex-direction: column;
}
/* /Components/Frame/GfHeroMenu.razor.rz.scp.css */
/* The crest's hero menu (blend 3.1; BL-Panels-1366): the hero card, "Your heroes" as the hall's rows (an arch avatar in
   the class rim, --cc, with the gold level hex; the name in Cinzel; the hall's tag), then the hall and the forge. The hero
   at the table carries a gold check and a gold-tinted row; a locked hero's tag is violet, never gold. Tokens only. */

.gf-hm[b-oj9ym5e528] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 14px 10px;
}

.gf-hm-head[b-oj9ym5e528] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid var(--frame-line);
}

.gf-hm-heading[b-oj9ym5e528] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--frame-gold-text);
}

.gf-hm-chip[b-oj9ym5e528] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px 2px 6px;
    border: 1px solid var(--frame-line-gold);
    border-radius: 999px;
    font-size: var(--gt-sm);
    font-weight: 700;
    color: var(--frame-gold-soft);
}

.gf-hm-chip .material-icons[b-oj9ym5e528] {
    font-size: var(--gt-base);
}

/* The roster read failed (no skeletons then): a short line, the hall's row right below. */
.gf-hm-failed[b-oj9ym5e528] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 4px;
    font-size: var(--gt-md);
    color: var(--color-text-secondary);
}

.gf-hm-failed .material-icons[b-oj9ym5e528] {
    font-size: var(--gt-xl);
    color: var(--color-danger-light);
}

.gf-hm-list[b-oj9ym5e528],
.gf-hm-foot[b-oj9ym5e528] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-hm-foot[b-oj9ym5e528] {
    padding-top: 6px;
    border-top: 1px solid var(--frame-line);
}

.gf-hm-row[b-oj9ym5e528] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.gf-hm-row:hover:not(:disabled)[b-oj9ym5e528] {
    background: var(--frame-row-hover);
}

.gf-hm-row:focus-visible[b-oj9ym5e528] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

.gf-hm-row:disabled[b-oj9ym5e528] {
    cursor: default;
    color: var(--color-text-secondary);
}

.gf-hm-row.is-current[b-oj9ym5e528] {
    cursor: default;
    background: var(--frame-row-current);
    border-color: var(--frame-line-gold-soft);
}

.gf-hm-av[b-oj9ym5e528] {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 42px;
    border: 2px solid var(--cc, var(--frame-crest-rest));
    border-radius: 18px 18px 6px 6px;
    background: var(--frame-crest-base);
    overflow: visible;
}

.gf-hm-av img[b-oj9ym5e528] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 4px 4px;
}

.gf-hm-icon[b-oj9ym5e528] {
    font-size: var(--gt-xl);
    color: var(--cc, var(--color-text-secondary));
}

.gf-hm-lv[b-oj9ym5e528] {
    position: absolute;
    right: -7px;
    bottom: -6px;
    display: grid;
    place-items: center;
    width: 2em;
    height: 2em;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-gold);
    color: var(--frame-on-gold);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.gf-hm-tx[b-oj9ym5e528] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.gf-hm-name[b-oj9ym5e528] {
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    color: var(--frame-cream);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-hm-line[b-oj9ym5e528] {
    overflow: hidden;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-hm-check[b-oj9ym5e528] {
    font-size: var(--gt-2xl);
    color: var(--frame-gold-soft);
}

.gf-hm-tag[b-oj9ym5e528] {
    flex: none;
    padding: 2px 8px;
    border: 1px solid var(--frame-good-line);
    border-radius: 999px;
    background: var(--frame-good-fill);
    color: var(--frame-good-ink);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gf-hm-tag.is-locked[b-oj9ym5e528] {
    border-color: var(--frame-premium-line);
    background: var(--frame-premium-well);
    color: var(--frame-premium-ink);
}

.gf-hm-tag.is-resting[b-oj9ym5e528],
.gf-hm-tag.is-first[b-oj9ym5e528] {
    border-color: var(--frame-line-strong);
    background: var(--frame-well);
    color: var(--color-text-secondary);
}

.gf-hm-tag.is-wounded[b-oj9ym5e528] {
    border-color: var(--frame-bad-line);
    background: var(--frame-bad-fill);
    color: var(--frame-bad-ink);
}

.gf-hm-skel[b-oj9ym5e528] {
    display: block;
    height: 46px;
    border-radius: 10px;
    background: var(--frame-skeleton);
    background-size: 400px 100%;
    animation: gf-hm-shimmer-b-oj9ym5e528 1.4s linear infinite;
}

@keyframes gf-hm-shimmer-b-oj9ym5e528 {
    from { background-position: -400px 0; }
    to { background-position: 400px 0; }
}

@media (pointer: coarse) {
    .gf-hm-row[b-oj9ym5e528] {
        min-height: 56px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-hm-skel[b-oj9ym5e528] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .gf-hm-row.is-current[b-oj9ym5e528] {
        border-left: 3px solid CanvasText;
    }

    .gf-hm-tag[b-oj9ym5e528] {
        border: 1px solid CanvasText;
    }

    .gf-hm-row:focus-visible[b-oj9ym5e528] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfJournal.razor.rz.scp.css */
/* More's journal (blend 2.1 to 2.4; the kit's bl-dlg, bl-journal, bl-sh, bl-tiles, bl-cols, bl-results, m-staff): B's book
   in the world bar's frame. Per tier (C8, Docs/LRPG_GAME_MENU.md 13 row J):
     below 768        a full-screen sheet over the 56px top bar down to the dock's top edge (phase M: the dock stays
                      visible and tappable), one column; its Close where the top bar's More is
     768 to 959       a sheet under the bar, full width and height, one column (the world's lists in two)
     960 to 1279      a panel 16px from the sides and the bottom, two pages that scroll on their own (you 340px)
     1280 and up      a panel centred under the bar, 1240 wide at most, as tall as its content up to the window (you 372px)
     held sideways    a sheet beside the 76px rail, the full height (phase M; BL-Phone-Landscape-844), its Close drawn
                      exactly over the rail's More; the rail stays visible and tappable
   The page behind dims under a 72% scrim, the bar under 50%. The head never scrolls away; each page does on its own from
   960, the whole body below. It fades in with a .98 scale and a 6px drop (rises on phones), at once under reduced motion.
   Tokens only; the canonical breakpoints only. */

/* ---- The layer, the scrim and the Close where More is ---- */

.gf-journal-layer[b-u2qswaqbq4] {
    position: fixed;
    inset: 0;
    /* Beside the phone's dock and the sideways rail, never over them (phase M): 0 on every other tier. */
    bottom: var(--frame-bottom);
    left: var(--frame-left);
    z-index: var(--frame-z-journal);
}

.gf-journal-layer[hidden][b-u2qswaqbq4] {
    display: none;
}

.gf-journal-shade[b-u2qswaqbq4] {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--frame-scrim-bar) 0, var(--frame-scrim-bar) var(--frame-top), var(--frame-scrim-page) var(--frame-top));
}

.gf-journal[b-u2qswaqbq4] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gf-journal-strip[b-u2qswaqbq4] {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: var(--frame-top);
    padding: 0 6px;
    pointer-events: auto;
}

.gf-journal-close[b-u2qswaqbq4] {
    display: inline-flex;
}

.gf-journal-close.is-bar[b-u2qswaqbq4] {
    display: none;
}

@media (min-width: 768px) {
    .gf-journal-strip[b-u2qswaqbq4] {
        padding: 0 14px;
    }

    .gf-journal-close.is-bar[b-u2qswaqbq4] {
        display: inline-flex;
    }

    .gf-journal-close.is-phone[b-u2qswaqbq4] {
        display: none;
    }
}

/* ---- The book ---- */

.gf-journal-book[b-u2qswaqbq4] {
    --gf-head: 72px;
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
    pointer-events: auto;
    background: var(--frame-journal-fill);
    border-bottom: 1px solid var(--frame-journal-rim);
}

.gf-journal-layer.is-open .gf-journal-book[b-u2qswaqbq4] {
    animation: gf-journal-rise-b-u2qswaqbq4 0.26s ease-out;
}

@media (min-width: 768px) {
    .gf-journal-book[b-u2qswaqbq4] {
        top: var(--frame-top);
        border: 1px solid var(--frame-journal-rim);
        border-top: none;
        border-radius: 0 0 18px 18px;
        box-shadow: var(--frame-journal-shadow), var(--frame-journal-inset);
    }

    .gf-journal-layer.is-open .gf-journal-book[b-u2qswaqbq4] {
        animation: gf-journal-open-b-u2qswaqbq4 0.2s ease-out;
    }
}

@media (min-width: 960px) {
    .gf-journal-book[b-u2qswaqbq4] {
        top: calc(var(--frame-top) + 8px);
        right: 16px;
        bottom: 16px;
        left: 16px;
        border-top: 1px solid var(--frame-journal-rim);
        border-radius: 20px;
    }
}

@media (min-width: 1280px) {
    .gf-journal-book[b-u2qswaqbq4] {
        right: 0;
        bottom: auto;
        left: 0;
        width: min(1240px, calc(100% - 48px));
        max-height: calc(100dvh - var(--frame-top) - 16px);
        margin: 0 auto;
    }
}

/* Held sideways: a sheet beside the rail (the layer starts at --frame-left), its Close over the rail's More. The strip is the
   rail's own column (the window's full height, padded as the rail is padded, the Close seated at its foot), so the Close
   takes the rail's More's place exactly and the strip, a size container, answers the same question the rail does: are the
   words too tall for this column (GfRail.razor.css, "grown text"). The column takes no pointer; only the Close does. */
@media (orientation: landscape) and (max-height: 480px) {
    .gf-journal-strip[b-u2qswaqbq4] {
        top: 0;
        right: auto;
        bottom: 0;
        left: calc(4px + env(safe-area-inset-left, 0px) - var(--frame-left));
        width: calc(var(--frame-left) - 8px);
        height: auto;
        padding: 2px 0 max(2px, env(safe-area-inset-bottom, 0px));
        align-items: flex-end;
        pointer-events: none;
        font-size: var(--gt-sm);
        container: gf-rail-close / size;
    }

    .gf-journal-close.is-bar[b-u2qswaqbq4] {
        display: none;
    }

    .gf-journal-close.is-phone[b-u2qswaqbq4] {
        display: flex;
        width: 100%;
        pointer-events: auto;
    }

    .gf-journal-strip[b-u2qswaqbq4]  .gf-more.is-phone {
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 44px;
        gap: 2px;
    }

    /* The rail's words go when its column is under 25em tall at Large and Extra large; the Close goes with them, so it
       covers More exactly (GfRail.razor.css; GrownRailFitTests holds the two thresholds equal). */
    @container gf-rail-close (height < 25em) {
        :root.game-text-grown .gf-journal-strip[b-u2qswaqbq4]  .gf-more-label {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip-path: inset(50%);
            white-space: nowrap;
        }
    }

    .gf-journal-book[b-u2qswaqbq4] {
        inset: 0;
        width: auto;
        max-height: none;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .gf-journal-layer.is-open .gf-journal-book[b-u2qswaqbq4] {
        animation: gf-journal-rise-b-u2qswaqbq4 0.26s ease-out;
    }
}

@keyframes gf-journal-open-b-u2qswaqbq4 {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes gf-journal-rise-b-u2qswaqbq4 {
    from {
        transform: translateY(24px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

/* The four gold corner marks and the ribbon (desktop and tablet panels) */
.gf-corner[b-u2qswaqbq4] {
    position: absolute;
    z-index: 1;
    display: none;
    width: 16px;
    height: 16px;
    border: 0 solid var(--frame-corner);
    pointer-events: none;
}

.gf-corner.is-tl[b-u2qswaqbq4] { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.gf-corner.is-tr[b-u2qswaqbq4] { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.gf-corner.is-bl[b-u2qswaqbq4] { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.gf-corner.is-br[b-u2qswaqbq4] { right: 8px; bottom: 8px; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 4px; }

/* The ribbon hangs from the book's top edge: beside the phone's Close, in the corner of the sheet under the bar (768 to
   959, where the head's first row is Find), and from 960 just before the head's end (the phase chip or the Esc hint, as drawn). */
.gf-ribbon[b-u2qswaqbq4] {
    position: absolute;
    top: -1px;
    right: 74px;
    z-index: 1;
    width: 18px;
    height: 36px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    background: var(--frame-ribbon);
    opacity: 0.9;
    pointer-events: none;
}

.gf-ribbon.is-end[b-u2qswaqbq4] {
    display: none;
    position: relative;
    top: auto;
    right: auto;
    flex: none;
    align-self: flex-start;
    height: 44px;
    margin-top: -13px;
}

/* 768 to 959: the ribbon hangs just left of the phase chip, in the chip's own slot (BL-Tablet-768), not under the bar's Close. */
.gf-ribbon.is-mid[b-u2qswaqbq4] {
    display: none;
    position: relative;
    top: auto;
    right: auto;
    flex: none;
    align-self: flex-start;
    height: 40px;
    margin-top: -13px;
}

@media (min-width: 768px) {
    .gf-ribbon[b-u2qswaqbq4] {
        display: none;
    }

    .gf-ribbon.is-mid[b-u2qswaqbq4] {
        display: block;
    }
}

@media (min-width: 960px) {
    .gf-ribbon.is-mid[b-u2qswaqbq4] {
        display: none;
    }

    .gf-ribbon.is-end[b-u2qswaqbq4] {
        display: block;
    }
}

@media (min-width: 960px) {
    .gf-corner[b-u2qswaqbq4] {
        display: block;
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .gf-corner[b-u2qswaqbq4] {
        display: none;
    }
}

/* ---- The head: Where to?, Find, Recent, the phase chip (below 1280), the Esc hint ----
   A phone: Where to? and the phase chip, Find, Recent (BL-Phone-More-390). 768: Where to?, Find and the phase chip, Recent (BL-Tablet-768).
   From 960 and held sideways: one row, the phase chip last (BL-Tablet-1024). No Recent yet: no empty row. */

.gf-journal-head[b-u2qswaqbq4] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "title phase" "find find" "recent recent";
    align-items: center;
    gap: 8px 12px;
    flex: none;
    box-sizing: border-box;
    padding: 10px 16px;
    border-bottom: 1px solid var(--frame-head-rule);
    background: var(--frame-head-tint);
}

.gf-journal-title[b-u2qswaqbq4] {
    grid-area: title;
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 0;
    color: var(--frame-cream-2);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 21);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
}

.gf-journal-title:focus:not(:focus-visible)[b-u2qswaqbq4] {
    outline: none;
}

.gf-journal-title:focus-visible[b-u2qswaqbq4] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-journal-head:not(:has(.gf-journal-recent))[b-u2qswaqbq4] {
    grid-template-areas: "title phase" "find find";
}

.gf-journal-find[b-u2qswaqbq4] {
    grid-area: find;
    min-width: 0;
}

.gf-journal-phase[b-u2qswaqbq4] {
    grid-area: phase;
    display: none;
    align-items: center;
    min-width: 0;
}

/* Beside the title, clear of the ribbon and the Close; the chip's caps say the phase, its name says the rest. */
.gf-journal-phase.is-top[b-u2qswaqbq4] {
    display: flex;
    padding-right: 84px;
}

.gf-journal-phase.is-top[b-u2qswaqbq4]  .gf-phase-action {
    display: none;
}

.gf-journal-recent[b-u2qswaqbq4] {
    grid-area: recent;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.gf-journal-recent-label[b-u2qswaqbq4] {
    flex: none;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gf-recent-pill[b-u2qswaqbq4] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    box-sizing: border-box;
    min-height: 2.4em;
    padding: 0 10px 0 8px;
    border: 1px solid var(--frame-line-strong);
    border-radius: 999px;
    background: var(--frame-well);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.gf-recent-pill .material-icons[b-u2qswaqbq4] {
    font-size: var(--gt-lg);
    color: var(--color-text-secondary);
}

.gf-recent-pill:focus-visible[b-u2qswaqbq4] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (hover: hover) {
    .gf-recent-pill:hover[b-u2qswaqbq4] {
        border-color: var(--frame-line-gold);
    }
}

.gf-journal-end[b-u2qswaqbq4] {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.gf-journal-esc[b-u2qswaqbq4] {
    display: none;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    white-space: nowrap;
}

.gf-journal-esc kbd[b-u2qswaqbq4],
.gf-keys kbd[b-u2qswaqbq4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 1.82em;
    height: 1.82em;
    padding: 0 5px;
    border: 1px solid var(--frame-kbd-line);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: var(--frame-well);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
}

@media (min-width: 768px) {
    .gf-journal-head[b-u2qswaqbq4] {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "title find phase" "recent recent recent";
        padding: 12px 52px 12px 22px;
    }

    .gf-journal-head:not(:has(.gf-journal-recent))[b-u2qswaqbq4] {
        grid-template-areas: "title find phase";
    }

    .gf-journal-title[b-u2qswaqbq4] {
        font-size: var(--gt-3xl);
    }

    .gf-journal-phase.is-top[b-u2qswaqbq4] {
        display: none;
    }

    .gf-journal-phase.is-mid[b-u2qswaqbq4] {
        display: flex;
    }
}

@media (min-width: 960px) {
    .gf-journal-head[b-u2qswaqbq4] {
        display: flex;
        gap: 14px;
        min-height: var(--gf-head);
        padding: 12px 22px;
    }

    .gf-journal-title[b-u2qswaqbq4] {
        font-size: calc(var(--gt-px) * 26);
    }

    /* Below 1280 Find gives way first (BL-Tablet-1024 draws a narrower Find beside three whole pills): Recent never
       shrinks, so no pill is cut or hidden in a scroller a mouse cannot find. */
    .gf-journal-find[b-u2qswaqbq4] {
        flex: 1 1 160px;
        max-width: 420px;
    }

    .gf-journal-recent[b-u2qswaqbq4] {
        flex: none;
        overflow: visible;
    }

    /* Below 1280 the field keeps its words: the key hints wait for 1280 (as the Esc hint does), and below 1024 the
       RECENT caps go (the strip keeps its name, "Recent places"). */
    .gf-journal-find[b-u2qswaqbq4]  .gf-find-keys,
    .gf-journal-recent-label[b-u2qswaqbq4] {
        display: none;
    }

    .gf-journal-end[b-u2qswaqbq4] {
        display: flex;
        flex: none;
        align-self: stretch;
        margin-left: auto;
    }

    .gf-journal-phase.is-mid[b-u2qswaqbq4] {
        display: none;
    }
}

@media (min-width: 1024px) {
    .gf-journal-recent-label[b-u2qswaqbq4] {
        display: inline;
    }
}

@media (min-width: 1280px) and (pointer: fine) {
    .gf-journal-find[b-u2qswaqbq4]  .gf-find-keys {
        display: inline-flex;
    }
}

@media (min-width: 1280px) {
    .gf-journal-find[b-u2qswaqbq4] {
        flex: 0 1 420px;
    }

    .gf-journal-recent[b-u2qswaqbq4] {
        flex: 1;
        overflow-x: auto;
    }
}

@media (min-width: 1280px) and (pointer: fine) {
    .gf-journal-esc[b-u2qswaqbq4] {
        display: inline-flex;
    }

    /* Typing: the field's own "Esc Clear" says what Escape does first */
    .gf-journal-book.is-searching .gf-journal-esc[b-u2qswaqbq4] {
        display: none;
    }
}

@media (pointer: coarse) {
    .gf-recent-pill[b-u2qswaqbq4] {
        min-height: 44px;
    }
}

/* Held sideways (390px tall): the head is one row (Where to?, Find, Recent, the phase chip); the Close sits over the rail's More. */
@media (orientation: landscape) and (max-height: 480px) {
    .gf-journal-head[b-u2qswaqbq4] {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        min-height: 56px;
        padding: 6px 16px;
    }

    .gf-journal-title[b-u2qswaqbq4] {
        font-size: calc(var(--gt-px) * 21);
    }

    /* 844 x 390 has no room for Find and three pills in one row: Recent takes its own row under them, whole. */
    .gf-journal-find[b-u2qswaqbq4] {
        flex: 1 1 200px;
        max-width: 360px;
    }

    .gf-journal-recent[b-u2qswaqbq4] {
        order: 1;
        flex: 1 0 100%;
        flex-wrap: wrap;
        overflow: visible;
    }

    .gf-journal-phase.is-top[b-u2qswaqbq4],
    .gf-journal-phase.is-mid[b-u2qswaqbq4] {
        display: none;
    }

    .gf-journal-end[b-u2qswaqbq4] {
        display: flex;
        flex: none;
    }

    /* The head runs to the book's right edge (its Close is over the rail's More now): the ribbon hangs in flow just
       before the phase chip, as from 960, never over it. */
    .gf-ribbon[b-u2qswaqbq4] {
        display: none;
    }

    .gf-ribbon.is-end[b-u2qswaqbq4] {
        display: block;
        height: 36px;
        margin-top: -7px;
    }
}

/* ---- The body: the two pages, or Find's results ---- */

.gf-journal-body[b-u2qswaqbq4] {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.gf-pages[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
}

.gf-page[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    min-width: 0;
    padding: 14px 16px;
}

.gf-page.is-world[b-u2qswaqbq4] {
    padding-top: 0;
}

/* The world page (and Find's "Nothing matches", which draws the same tiles) is a size container in the game's small
   text (owner, 17 Nov 2026: at Extra large the four lists ran to "Premi...", "Give feed..." and "Leaderboar...", and
   "Chronicles and codex" ran into "Fellowship"). Its queries are in em of --gt-sm, so they follow the Text size: the
   tiles sit five across while each keeps room for "War Table" (42em), and from 1280 the lists sit four across while the
   narrowest column keeps room for "Leaderboards" beside its icon (52em); otherwise they keep the two halves of 768-1279.
   Medium keeps the boards' layout at every width (the page is 44em or more wherever the tiles were five across, 67em
   at 1280). The tiles' words and every row's label and line wrap rather than end in an ellipsis. */
.gf-page.is-world[b-u2qswaqbq4],
.gf-nomatch[b-u2qswaqbq4] {
    container: gf-world / inline-size;
    font-size: var(--gt-sm);
}

.gf-spine[b-u2qswaqbq4] {
    display: none;
}

@media (min-width: 960px) {
    .gf-journal-book:not(.is-searching) .gf-journal-body[b-u2qswaqbq4] {
        overflow: hidden;
    }

    .gf-pages[b-u2qswaqbq4] {
        display: grid;
        grid-template-columns: 340px 24px minmax(0, 1fr);
        height: 100%;
    }

    .gf-page[b-u2qswaqbq4] {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 16px 14px 16px 22px;
    }

    .gf-page.is-you[b-u2qswaqbq4] {
        background: var(--frame-page-lines);
    }

    .gf-page.is-world[b-u2qswaqbq4] {
        padding: 16px 22px 16px 10px;
    }

    .gf-spine[b-u2qswaqbq4] {
        display: block;
        position: relative;
        background: var(--frame-spine-shade);
    }

    .gf-spine[b-u2qswaqbq4]::before {
        content: "";
        position: absolute;
        top: 14px;
        bottom: 14px;
        left: 50%;
        border-left: 1px dashed var(--frame-spine);
    }
}

@media (min-width: 1280px) {
    .gf-pages[b-u2qswaqbq4] {
        grid-template-columns: 372px 24px minmax(0, 1fr);
        height: auto;
    }

    /* As tall as its content up to the window: each page, and the results, scroll on their own past it. */
    .gf-page[b-u2qswaqbq4],
    .gf-journal-book.is-searching .gf-journal-body[b-u2qswaqbq4] {
        max-height: calc(100dvh - var(--frame-top) - 18px - var(--gf-head));
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .gf-journal-book:not(.is-searching) .gf-journal-body[b-u2qswaqbq4] {
        overflow-y: auto;
    }

    .gf-pages[b-u2qswaqbq4] {
        display: flex;
        height: auto;
    }

    .gf-page[b-u2qswaqbq4] {
        max-height: none;
        overflow: visible;
    }

    .gf-spine[b-u2qswaqbq4] {
        display: none;
    }
}

/* Section heads (B's: Cinzel caps in gold, a fading gold rule after) */
.gf-sec[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.gf-sh[b-u2qswaqbq4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--frame-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

.gf-sh[b-u2qswaqbq4]::after {
    content: "";
    flex: 1;
    min-width: 10px;
    height: 1px;
    background: var(--frame-section-rule);
}

.gf-sh.is-small[b-u2qswaqbq4] {
    font-size: var(--gt-sm);
    letter-spacing: 0.13em;
}

.gf-live[b-u2qswaqbq4] {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 3px var(--frame-focus-halo);
}

.gf-subh[b-u2qswaqbq4] {
    margin: 0;
    padding: 8px 10px 2px;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    overflow-wrap: break-word;
}

/* ---- The world: the five places ---- */

.gf-tiles[b-u2qswaqbq4] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-tiles > li[b-u2qswaqbq4] {
    grid-column: span 2;
    min-width: 0;
}

.gf-tiles > li:nth-child(n + 4)[b-u2qswaqbq4] {
    grid-column: span 3;
}

/* Five across where five fit their words (the boards' 768 and up at Medium); three over two otherwise, as on a phone. */
@container gf-world (width >= 42em) {
    .gf-tiles[b-u2qswaqbq4] {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .gf-tiles > li[b-u2qswaqbq4],
    .gf-tiles > li:nth-child(n + 4)[b-u2qswaqbq4] {
        grid-column: auto;
    }
}

.gf-tile[b-u2qswaqbq4] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    box-sizing: border-box;
    height: 100%;
    min-height: calc(104px * var(--gt-box));
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid var(--frame-line);
    border-radius: 13px;
    background: var(--frame-ring-well);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.14s ease, transform 0.14s ease;
}

@media (min-width: 768px) {
    .gf-tile[b-u2qswaqbq4] {
        min-height: calc(124px * var(--gt-box));
    }
}

.gf-tile[b-u2qswaqbq4]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--frame-tile-scrim);
}

.gf-tile-art[b-u2qswaqbq4] {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.gf-tile.is-chart .gf-tile-art[b-u2qswaqbq4] {
    object-position: 50% 30%;
}

.gf-tile.is-hearth[b-u2qswaqbq4] {
    background: var(--frame-tile-hearth);
}

.gf-tile.is-hearth[b-u2qswaqbq4]::before,
.gf-tile.is-medallion[b-u2qswaqbq4]::before {
    background: var(--frame-tile-scrim-soft);
}

.gf-tile.is-medallion[b-u2qswaqbq4] {
    background: var(--frame-tile-market);
}

/* The Tavern's seal and the Market's medallion sit in the tile's flow, centred in the room its words leave (where the
   boards draw them at Medium, about a third of the way down), so the words never run under them at Large and Extra large
   (they met "Tavern" on a phone); the tile is taller with the text, and grows past that rather than let them meet. */
.gf-tile-seal[b-u2qswaqbq4] {
    position: relative;
    z-index: 2;
    flex: none;
    align-self: center;
    margin-block: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary-dark);
    border-radius: 50%;
    background: var(--frame-seal-fill);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17);
    font-weight: 900;
    box-shadow: 0 0 0 4px var(--frame-seal-halo);
}

.gf-tile-medal[b-u2qswaqbq4] {
    position: relative;
    z-index: 2;
    flex: none;
    align-self: center;
    margin-block: auto;
    width: 46px;
    height: 46px;
    overflow: hidden;
    border: 2px solid var(--color-primary-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--frame-seal-halo);
}

.gf-tile-medal img[b-u2qswaqbq4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-tile-tx[b-u2qswaqbq4] {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gf-tile-tx b[b-u2qswaqbq4] {
    color: var(--frame-cream-2);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
    overflow-wrap: break-word;
    text-shadow: 0 2px 12px var(--frame-text-shadow);
}

.gf-tile-tx small[b-u2qswaqbq4] {
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    line-height: 1.25;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .gf-tile-tx b[b-u2qswaqbq4] {
        font-size: calc(var(--gt-px) * 14.5);
    }

    .gf-tile[b-u2qswaqbq4] {
        padding: 10px;
    }
}

/* 960 to 1023: the world page is at its narrowest beside the you page; "War Table" keeps its whole name. */
@media (min-width: 960px) {
    .gf-tile-tx b[b-u2qswaqbq4] {
        font-size: var(--gt-md);
        letter-spacing: 0.02em;
    }

    .gf-tile[b-u2qswaqbq4] {
        padding: 10px 8px;
    }
}

@media (min-width: 1024px) {
    .gf-tile-tx b[b-u2qswaqbq4] {
        font-size: calc(var(--gt-px) * 14.5);
        letter-spacing: 0.03em;
    }

    .gf-tile[b-u2qswaqbq4] {
        padding: 10px;
    }
}

@media (min-width: 1280px) {
    .gf-tile-tx b[b-u2qswaqbq4] {
        font-size: calc(var(--gt-px) * 15.5);
    }

    .gf-tile[b-u2qswaqbq4] {
        padding: 10px 12px;
    }
}

@media (hover: hover) {
    .gf-tile:hover[b-u2qswaqbq4] {
        border-color: var(--frame-line-gold);
        transform: translateY(-1px);
    }
}

.gf-tile:focus-visible[b-u2qswaqbq4] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* You are here: the gold rim (blend 4) */
.gf-tile.is-here[b-u2qswaqbq4] {
    border-color: var(--frame-tile-here);
    box-shadow: 0 0 0 1px var(--frame-focus-halo), inset 0 0 0 1px var(--frame-hairline);
}

.gf-tile.is-here .gf-tile-tx small[b-u2qswaqbq4] {
    color: var(--frame-gold-soft);
}

/* No hero (D14): the art greyed, the words by colour (C11: never opacity on text) */
.gf-tile.is-dim .gf-tile-art[b-u2qswaqbq4],
.gf-tile.is-dim .gf-tile-medal img[b-u2qswaqbq4] {
    filter: grayscale(1) brightness(0.55);
}

.gf-tile.is-dim .gf-tile-seal[b-u2qswaqbq4] {
    border-color: var(--frame-line-strong);
    background: var(--frame-ring-well);
    color: var(--color-text-secondary);
}

.gf-tile.is-dim .gf-tile-tx b[b-u2qswaqbq4] {
    color: var(--color-text-lighter);
}

.gf-tile.is-dim .gf-tile-tx small[b-u2qswaqbq4] {
    color: var(--color-text-secondary);
}

/* ---- The lists: Companions, Chronicles and codex, Fellowship, Account ---- */

.gf-cols[b-u2qswaqbq4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px 18px;
    min-width: 0;
}

@media (min-width: 768px) {
    .gf-cols[b-u2qswaqbq4] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    @container gf-world (width >= 52em) {
        .gf-cols[b-u2qswaqbq4] {
            grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.16fr) minmax(0, 1fr) minmax(0, 0.92fr);
        }
    }
}

.gf-col[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* The halves: one column each from 768 to 1279, so the lists read down (BL-Tablet-1024, BL-Tablet-768); below 768 and
   from 1280 they step aside and the lists are the grid's own cells, from 1280 only while four columns fit their words
   (52em of the world page: Medium and Large; at Extra large the 1280 and 1920 panels keep the two halves). */
.gf-cols-half[b-u2qswaqbq4] {
    display: contents;
}

@media (min-width: 768px) {
    .gf-cols-half[b-u2qswaqbq4] {
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: 0;
    }
}

@media (min-width: 1280px) {
    @container gf-world (width >= 52em) {
        .gf-cols-half[b-u2qswaqbq4] {
            display: contents;
        }
    }
}

.gf-list[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---- Find's results ---- */

.gf-results[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
}

.gf-results[hidden][b-u2qswaqbq4] {
    display: none;
}

.gf-results-group[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gf-results-grp[b-u2qswaqbq4] {
    padding: 8px 10px 4px;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gf-opt[b-u2qswaqbq4] {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.gf-opt-ic[b-u2qswaqbq4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border: 1px solid var(--frame-line-gold-soft);
    border-radius: 10px;
    background: var(--frame-opt-icon-fill);
    color: var(--frame-gold-text);
    font-size: calc(var(--gt-px) * 19);
}

.gf-opt-tx[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.gf-opt-tx b[b-u2qswaqbq4] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gf-opt-tx small[b-u2qswaqbq4] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.5);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gf-opt mark[b-u2qswaqbq4] {
    background: none;
    color: var(--frame-gold-soft);
    font-weight: 800;
}

.gf-opt-go[b-u2qswaqbq4] {
    flex: none;
    font-size: var(--gt-2xl);
    color: var(--color-text-secondary);
}

.gf-opt.is-active[b-u2qswaqbq4],
.gf-opt[aria-selected="true"][b-u2qswaqbq4] {
    border-color: var(--frame-line-gold);
    background: var(--frame-row-current);
}

.gf-opt.is-active .gf-opt-go[b-u2qswaqbq4] {
    color: var(--color-primary);
}

@media (hover: hover) {
    .gf-opt:hover[b-u2qswaqbq4] {
        background: var(--frame-row-hover);
    }
}

.gf-opt.is-dim .gf-opt-tx b[b-u2qswaqbq4] {
    color: var(--color-text-lighter);
}

.gf-nomatch[b-u2qswaqbq4] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px;
}

.gf-nomatch-line[b-u2qswaqbq4] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
}

.gf-nomatch-line .material-icons[b-u2qswaqbq4] {
    color: var(--color-text-secondary);
}

.gf-keys[b-u2qswaqbq4] {
    position: sticky;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: 10px 22px;
    border-top: 1px solid var(--frame-line);
    background: var(--frame-keys-fill);
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.gf-keys > span[b-u2qswaqbq4] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gf-keys kbd .material-icons[b-u2qswaqbq4] {
    font-size: var(--gt-md);
}

@media (pointer: coarse) {
    .gf-keys[b-u2qswaqbq4] {
        display: none;
    }
}

.gf-sr[b-u2qswaqbq4] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}

/* ---- Motion and high contrast ---- */

@media (prefers-reduced-motion: reduce) {
    .gf-journal-layer.is-open .gf-journal-book[b-u2qswaqbq4] {
        animation: none;
    }

    .gf-tile[b-u2qswaqbq4] {
        transition: none;
    }

    .gf-tile:hover[b-u2qswaqbq4] {
        transform: none;
    }
}

@media (forced-colors: active) {
    /* The book's fill and the scrim are gradients, which forced colours drop: without a system colour the page behind
       showed through the journal's text. */
    .gf-journal-shade[b-u2qswaqbq4],
    .gf-journal-book[b-u2qswaqbq4] {
        background: Canvas;
    }

    .gf-journal-book[b-u2qswaqbq4] {
        border: 1px solid CanvasText;
    }

    .gf-tile[b-u2qswaqbq4],
    .gf-recent-pill[b-u2qswaqbq4] {
        border-color: CanvasText;
    }

    .gf-tile.is-here[b-u2qswaqbq4],
    .gf-opt.is-active[b-u2qswaqbq4] {
        border-color: Highlight;
    }

    .gf-tile:focus-visible[b-u2qswaqbq4],
    .gf-recent-pill:focus-visible[b-u2qswaqbq4],
    .gf-journal-title:focus-visible[b-u2qswaqbq4] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfJournalRow.razor.rz.scp.css */
/* One row of More's journal (blend 2.2; the kit's m-item.sm, bl-link, bl-prem, bl-gated, bl-danger): an icon, the
   label and its line, an end mark. Rows are 52px on phones, 48 at 768-959, 44 at 960-1279 and on any touch screen, 40 on a
   fine pointer from 1280 (C10): floors, so a row grows when its words take a second line. The label and its line wrap
   between words, never end in an ellipsis (owner, 17 Nov 2026: "Premi...", "Give feed..." and "Leaderboar..." at Extra
   large); the lists reflow before a column gets narrower than its longest word (GfJournal.razor.css, "gf-world"). Locks
   never use gold: violet for Premium, a dashed slate rim below level 5; a dim row is coloured, never faded (C11). Tokens
   only. */

.gf-row[b-exg2ecnw5d] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.14s ease, color 0.14s ease;
}

@media (min-width: 768px) {
    .gf-row[b-exg2ecnw5d] {
        min-height: 48px;
    }
}

@media (min-width: 960px) {
    .gf-row[b-exg2ecnw5d] {
        min-height: 44px;
        font-size: var(--gt-md);
    }
}

@media (min-width: 1280px) and (pointer: fine) {
    .gf-row[b-exg2ecnw5d] {
        min-height: 40px;
    }
}

.gf-row-ic[b-exg2ecnw5d] {
    flex: none;
    width: 1.16em;
    font-size: calc(var(--gt-px) * 19);
    color: var(--color-text-secondary);
}

.gf-row-tx[b-exg2ecnw5d] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.gf-row-head[b-exg2ecnw5d] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    min-width: 0;
}

.gf-row-label[b-exg2ecnw5d] {
    min-width: 0;
    overflow-wrap: break-word;
}

.gf-row-line[b-exg2ecnw5d] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.gf-row-tag[b-exg2ecnw5d] {
    display: inline-flex;
    align-items: center;
    height: 1.89em;
    padding: 0 6px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    box-shadow: inset 0 0 0 1px var(--frame-line-gold);
    color: var(--frame-gold-soft);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
}

/* The phase tag (BETA) rides on Give feedback below 1280, where the bar's chip has left (blend 2.2 g). */
@media (min-width: 1280px) {
    .gf-row-tag[b-exg2ecnw5d] {
        display: none;
    }
}

.gf-row-badge[b-exg2ecnw5d] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 1.82em;
    height: 1.82em;
    margin-left: auto;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 10px;
    background: var(--color-count);
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.gf-row-end[b-exg2ecnw5d] {
    flex: none;
    margin-left: auto;
    font-size: var(--gt-lg);
    color: var(--color-text-secondary);
}

.gf-row-badge + .gf-row-end[b-exg2ecnw5d] {
    margin-left: 0;
}

@media (hover: hover) {
    .gf-row:hover[b-exg2ecnw5d] {
        background: var(--frame-row-hover);
        color: var(--color-text-primary);
    }

    .gf-row:hover .gf-row-ic[b-exg2ecnw5d] {
        color: var(--color-text-lighter);
    }
}

.gf-row:focus-visible[b-exg2ecnw5d] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    color: var(--color-text-primary);
}

/* The page you are on: a gold tint and a 3px bar at its left (blend 4). "true" is a row current on a page it does not
   link to (Leaderboards on the Friends board, owner 17 Nov 2026). */
.gf-row:is([aria-current="page"], [aria-current="true"])[b-exg2ecnw5d] {
    background: var(--frame-row-current);
    color: var(--frame-gold-soft);
}

.gf-row:is([aria-current="page"], [aria-current="true"]) .gf-row-ic[b-exg2ecnw5d] {
    color: var(--color-primary);
}

.gf-row:is([aria-current="page"], [aria-current="true"])[b-exg2ecnw5d]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--color-primary);
}

/* The current tool in the Workshop: slate, never gold (blend 3.5; the tray is GfWorkshop's, an ancestor). */
.gf-workshop .gf-row[aria-current="page"][b-exg2ecnw5d] {
    background: var(--frame-row-current-staff);
    color: var(--color-text-lighter);
}

.gf-workshop .gf-row[aria-current="page"] .gf-row-ic[b-exg2ecnw5d] {
    color: var(--color-text-light);
}

.gf-workshop .gf-row[aria-current="page"][b-exg2ecnw5d]::before {
    background: var(--color-text-secondary);
}

/* Level-gated (below 5): a dashed slate rim, the tavern's words, still a link. */
.gf-row.is-gated[b-exg2ecnw5d] {
    border-style: dashed;
    border-color: var(--frame-line-strong);
    color: var(--color-text-secondary);
}

.gf-row.is-gated .gf-row-ic[b-exg2ecnw5d] {
    color: var(--color-text-secondary);
}

.gf-row.is-gated .gf-row-end[b-exg2ecnw5d] {
    color: var(--color-text-secondary);
}

/* Needs Premium: violet, never gold, still a link (the shop explains). */
.gf-row.is-premium .gf-row-line[b-exg2ecnw5d] {
    color: var(--frame-premium-ink);
}

.gf-row.is-premium .gf-row-end[b-exg2ecnw5d] {
    color: var(--frame-locked);
}

/* No hero at the table: dimmed by colour, never by opacity (C11). */
.gf-row.is-dim[b-exg2ecnw5d] {
    color: var(--color-text-secondary);
}

.gf-row.is-dim .gf-row-ic[b-exg2ecnw5d] {
    color: var(--color-text-secondary);
}

.gf-row.is-danger[b-exg2ecnw5d],
.gf-row.is-danger .gf-row-ic[b-exg2ecnw5d] {
    color: var(--color-danger-lighter);
}

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

@media (forced-colors: active) {
    .gf-row:focus-visible[b-exg2ecnw5d] {
        outline-color: Highlight;
    }

    .gf-row:is([aria-current="page"], [aria-current="true"])[b-exg2ecnw5d]::before {
        background: CanvasText;
        forced-color-adjust: none;
    }

    /* The Workshop's slate bar outranks the rule above; high contrast draws it in CanvasText too. */
    .gf-workshop .gf-row[aria-current="page"][b-exg2ecnw5d]::before {
        background: CanvasText;
    }

    .gf-row-badge[b-exg2ecnw5d] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Frame/GfLamps.razor.rz.scp.css */
/* The lamps (Docs/LRPG_GAME_MENU.md 5.1, blend 1.3; the kit's bl-lamp, BL-Kit section 3): a 30 x 34 hex over a caps label,
   the whole cell a link at least 64px wide and the bar's full height. Rest slate, hover gold rim, focus a 2px gold ring
   inside the cell, current a gold hex with an ember, a gold-soft label and a 3px gold underline, dim a faded hex. The
   Arena shows from 1024, the Party from 960 (data-from); tokens only. */

.gf-lamps[b-d8b1pnwzvd] {
    display: flex;
    align-items: stretch;
    height: 100%;
    flex: none;
}

.gf-lamp[b-d8b1pnwzvd] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    min-width: 64px;
    height: 100%;
    padding: 3px 8px 0;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex: none;
    transition: color 0.14s ease;
}

.gf-lamp[data-from="960"][b-d8b1pnwzvd],
.gf-lamp[data-from="1024"][b-d8b1pnwzvd] {
    display: none;
}

@media (min-width: 960px) {
    .gf-lamp[data-from="960"][b-d8b1pnwzvd] {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .gf-lamp[data-from="1024"][b-d8b1pnwzvd] {
        display: flex;
    }
}

/* Grown text (readable game text): the places are the bar's middle track, which holds the room the crest and the road chip
   leave, and they centre in it (GfBar). The track is a container, so the places keep their hexes and drop their words from
   view when the words do not fit it (each lamp's name stays its accessible name; the words are in More's journal at the
   text size). The words need about 33em of the track (the nav's font size is the base text size: 559px at Large, 634px at
   Extra large); 34em leaves a margin. It used to be a window width (below 1280), which let the words overlap the crest and
   the road chip up to 1600 wide with a run open (review, 14 Nov 2026). */
:root.game-text-grown .gf-lamps[b-d8b1pnwzvd] {
    justify-self: stretch;
    justify-content: center;
    min-width: 0;
    container: gf-lamps / inline-size;
}

@container gf-lamps (width < 34em) {
    :root.game-text-grown .gf-lamp-label[b-d8b1pnwzvd] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.gf-lamp-icon[b-d8b1pnwzvd] {
    position: relative;
    display: inline-flex;
    flex: none;
}

/* A quiet dot by the hex (Take a break: a saved run waits for the party); outside the hex, whose clip-path would cut it. */
.gf-lamp-dot[b-d8b1pnwzvd] {
    position: absolute;
    top: -1px;
    right: -3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--frame-quiet-dot);
    box-shadow: 0 0 0 2px var(--frame-bar-ink);
}

.gf-hex[b-d8b1pnwzvd] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(30px * var(--gt-box));
    height: calc(34px * var(--gt-box));
    clip-path: var(--frame-hex);
    background: var(--frame-hex-rest);
    flex: none;
    transition: background-color 0.14s ease;
}

.gf-hex[b-d8b1pnwzvd]::before {
    content: '';
    position: absolute;
    inset: 1.5px;
    clip-path: var(--frame-hex);
    background: var(--frame-hex-inner);
}

.gf-hex-ms[b-d8b1pnwzvd] {
    position: relative;
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-light);
}

.gf-hex-g[b-d8b1pnwzvd] {
    position: relative;
    margin-top: 1px;
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-light);
}

@media (hover: hover) {
    .gf-lamp:hover[b-d8b1pnwzvd] {
        color: var(--color-text-primary);
    }

    .gf-lamp:hover .gf-hex[b-d8b1pnwzvd] {
        background: var(--frame-hex-hover);
    }

    .gf-lamp:hover .gf-hex-ms[b-d8b1pnwzvd],
    .gf-lamp:hover .gf-hex-g[b-d8b1pnwzvd] {
        color: var(--color-text-primary);
    }
}

.gf-lamp:focus-visible[b-d8b1pnwzvd] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
    border-radius: 12px;
    color: var(--color-text-primary);
}

/* The page is this place. */
.gf-lamp[aria-current="page"][b-d8b1pnwzvd] {
    color: var(--frame-gold-soft);
}

.gf-lamp[aria-current="page"] .gf-lamp-icon[b-d8b1pnwzvd] {
    filter: drop-shadow(0 0 7px var(--frame-ember-glow));
}

.gf-lamp[aria-current="page"] .gf-hex[b-d8b1pnwzvd] {
    background: var(--frame-hex-gold);
}

.gf-lamp[aria-current="page"] .gf-hex[b-d8b1pnwzvd]::before {
    inset: 2px;
    background: var(--frame-hex-ember);
}

.gf-lamp[aria-current="page"] .gf-hex-ms[b-d8b1pnwzvd],
.gf-lamp[aria-current="page"] .gf-hex-g[b-d8b1pnwzvd] {
    color: var(--frame-ember-glyph);
}

.gf-lamp[aria-current="page"][b-d8b1pnwzvd]::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--color-primary);
}

/* No hero at the table (D14): still a link, to the hall; the reason is in its name. */
.gf-lamp.is-dim[b-d8b1pnwzvd] {
    color: var(--color-text-secondary);
}

.gf-lamp.is-dim .gf-hex[b-d8b1pnwzvd] {
    background: var(--frame-hex-dim);
}

.gf-lamp.is-dim .gf-hex-ms[b-d8b1pnwzvd],
.gf-lamp.is-dim .gf-hex-g[b-d8b1pnwzvd] {
    color: var(--color-text-secondary);
}

.gf-lamps-div[b-d8b1pnwzvd] {
    width: 1px;
    height: 36px;
    align-self: center;
    margin: 0 4px;
    background: linear-gradient(180deg, transparent, var(--frame-line-strong), transparent);
    flex: none;
}

@media (prefers-reduced-motion: reduce) {
    .gf-lamp[b-d8b1pnwzvd],
    .gf-hex[b-d8b1pnwzvd] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-lamp:focus-visible[b-d8b1pnwzvd] {
        outline-color: Highlight;
    }

    /* The current lamp keeps its underline as a shape, not a colour. */
    .gf-lamp[aria-current="page"][b-d8b1pnwzvd]::after {
        background: CanvasText;
    }

    .gf-lamps-div[b-d8b1pnwzvd] {
        background: CanvasText;
    }

    .gf-lamp-dot[b-d8b1pnwzvd] {
        background: CanvasText;
    }
}
/* /Components/Frame/GfMark.razor.rz.scp.css */
/* The mark (blend 1.1 and 1.5; BL-Kit section 1): the 34px icon on the bar, 30px beside "LOURDIN" (Cinzel) on phones.
   Tokens only; no transition. */

.gf-mark[b-0zmvld3gi9] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 4px;
    border-radius: 10px;
    text-decoration: none;
    flex: none;
}

.gf-mark-icon[b-0zmvld3gi9] {
    display: block;
    width: 34px;
    height: 34px;
}

.has-word .gf-mark-icon[b-0zmvld3gi9] {
    width: 30px;
    height: 30px;
    margin: 7px 0;
}

/* On the phone's top bar the word gives way before the mark reaches Fellowship (at 320 wide it overlapped Fellowship's
   button by 14px), and it goes whole, never cut (owner, 17 Nov 2026: "LOURDI" at Extra large): the mark is a wrapping
   row one 44px line tall, so a word that does not fit beside the icon drops to the hidden second line and the icon
   stays. The word is decorative (aria-hidden; the link is named "Lourdin RPG, the tavern"). At Large and Extra large the
   row's spacing tightens (here and in GfPhoneBar.razor.css) so the whole word keeps its place at 390 wide. */
.gf-mark.has-word[b-0zmvld3gi9] {
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    height: 44px;
    overflow: hidden;
}

.has-word .gf-mark-word[b-0zmvld3gi9] {
    flex: none;
}

:root.game-text-grown .gf-mark.has-word[b-0zmvld3gi9] {
    gap: 6px;
    padding: 0 2px;
}

.gf-mark-word[b-0zmvld3gi9] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    white-space: nowrap;
}

.gf-mark:focus-visible[b-0zmvld3gi9] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

@media (forced-colors: active) {
    .gf-mark:focus-visible[b-0zmvld3gi9] {
        outline-color: Highlight;
    }

    .gf-mark-word[b-0zmvld3gi9] {
        color: LinkText;
    }
}
/* /Components/Frame/GfMoreButton.razor.rz.scp.css */
/* More (blend 1.4 and 1.5; the kit's bl-more and bl-pbtn): a framed 58 x 50 button on the bar, a plain 52 x 50 one on
   phones; open, gold. The journal's own Close (is-close) wears the same open face exactly where More is. Tokens only. */

.gf-more[b-kxgmt410d8] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    font-family: var(--font-primary);
    line-height: 1;
    cursor: pointer;
    flex: none;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.gf-more.is-bar[b-kxgmt410d8] {
    gap: 4px;
    min-width: 58px;
    height: calc(50px * var(--gt-box));
    padding: 0 8px;
    border: 1px solid var(--frame-line-strong);
    border-radius: 12px;
    background: var(--frame-well);
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gf-more.is-phone[b-kxgmt410d8] {
    gap: 3px;
    min-width: 52px;
    height: calc(50px * var(--gt-box));
    padding: 0 4px;
    border: none;
    border-radius: 11px;
    background: transparent;
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.gf-more-icon[b-kxgmt410d8] {
    font-size: var(--gt-2xl);
}

.is-phone .gf-more-icon[b-kxgmt410d8] {
    font-size: calc(var(--gt-px) * 23);
    color: var(--color-text-light);
}

@media (hover: hover) {
    .gf-more.is-bar:hover[b-kxgmt410d8] {
        border-color: var(--frame-line-gold);
        color: var(--color-text-primary);
    }
}

.gf-more[aria-expanded="true"][b-kxgmt410d8],
.gf-more.is-close[b-kxgmt410d8] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--frame-gold-soft);
}

.gf-more.is-bar[aria-expanded="true"][b-kxgmt410d8],
.gf-more.is-bar.is-close[b-kxgmt410d8] {
    border-color: var(--color-primary);
}

.gf-more[aria-expanded="true"] .gf-more-icon[b-kxgmt410d8],
.gf-more.is-close .gf-more-icon[b-kxgmt410d8] {
    color: var(--color-primary);
}

.gf-more:focus-visible[b-kxgmt410d8] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-more.is-phone:focus-visible[b-kxgmt410d8] {
    outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
    .gf-more[b-kxgmt410d8] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-more.is-bar[b-kxgmt410d8] {
        border-color: ButtonText;
    }

    .gf-more[aria-expanded="true"][b-kxgmt410d8],
    .gf-more.is-close[b-kxgmt410d8] {
        border-color: Highlight;
    }

    .gf-more:focus-visible[b-kxgmt410d8] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfNotesPanel.razor.rz.scp.css */
/* The bell's notifications (blend 3.3, the kit's m-notes; BL-Panels-1366): the day's caps, rows with their type's icon in a
   slate well, the title, the message and the time, an unread gold bar on the left edge, a party invite's "Open party" in
   gold, Delete beside each row (32px, 44px on touch); Mark all as read in the head; the empty and failed faces centred.
   Tokens only. */

.gf-notes-live[b-7nfr2tby4o] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gf-notes[b-7nfr2tby4o] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px 12px;
}

.gf-notes-count[b-7nfr2tby4o] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.gf-notes-markall[b-7nfr2tby4o],
.gf-notes-retry[b-7nfr2tby4o] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 2.67em;
    padding: 0 10px;
    border: 1px solid var(--frame-line-strong);
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--gt-sm);
    font-weight: 600;
    cursor: pointer;
}

.gf-notes-markall .material-icons[b-7nfr2tby4o],
.gf-notes-retry .material-icons[b-7nfr2tby4o] {
    font-size: var(--gt-lg);
}

.gf-notes-markall:disabled[b-7nfr2tby4o] {
    cursor: default;
    color: var(--color-text-secondary);
}

.gf-notes-markall:focus-visible[b-7nfr2tby4o],
.gf-notes-retry:focus-visible[b-7nfr2tby4o],
.gf-note-main:focus-visible[b-7nfr2tby4o],
.gf-note-del:focus-visible[b-7nfr2tby4o] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

.gf-notes-state[b-7nfr2tby4o] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 12px;
    text-align: center;
}

.gf-notes-state .material-icons[b-7nfr2tby4o] {
    font-size: calc(var(--gt-px) * 30);
    color: var(--color-text-secondary);
}

.gf-notes-state b[b-7nfr2tby4o] {
    font-size: var(--gt-base);
    color: var(--color-text-primary);
}

.gf-notes-state small[b-7nfr2tby4o] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.gf-notes-state .gf-notes-retry[b-7nfr2tby4o] {
    margin-top: 8px;
}

.gf-notes-day[b-7nfr2tby4o] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gf-notes-dayname[b-7nfr2tby4o] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--frame-panel-day);
}

.gf-notes-list[b-7nfr2tby4o] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-note[b-7nfr2tby4o] {
    position: relative;
    display: flex;
    align-items: flex-start;
    border: 1px solid var(--frame-line);
    border-radius: 10px;
    background: var(--frame-card-fill);
}

.gf-note.is-unread[b-7nfr2tby4o] {
    border-left: 3px solid var(--frame-panel-unread);
}

/* MudBlazor's global button rule centres a plain button's content: rows start at their left edge. */
.gf-note-main[b-7nfr2tby4o] {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 8px 4px 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.gf-note-main:hover:not(:disabled)[b-7nfr2tby4o] {
    background: var(--frame-row-hover);
}

.gf-note-ic[b-7nfr2tby4o] {
    flex: none;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--frame-well);
    color: var(--frame-gold-soft);
}

.gf-note-ic .material-icons[b-7nfr2tby4o] {
    font-size: var(--gt-xl);
}

.gf-note-tx[b-7nfr2tby4o] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gf-note-tx b[b-7nfr2tby4o] {
    font-size: var(--gt-md);
    font-weight: 600;
    color: var(--color-text-primary);
}

.gf-note:not(.is-unread) .gf-note-tx b[b-7nfr2tby4o] {
    font-weight: 500;
    color: var(--color-text-light);
}

.gf-note-msg[b-7nfr2tby4o] {
    font-size: var(--gt-sm);
    color: var(--color-text-light);
    overflow-wrap: anywhere;
}

.gf-note-tx small[b-7nfr2tby4o] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.gf-note-act[b-7nfr2tby4o] {
    align-self: flex-start;
    margin-top: 4px;
    padding: 3px 10px;
    border: 1px solid var(--frame-line-gold);
    border-radius: 8px;
    background: var(--frame-accept-fill);
    color: var(--frame-gold-soft);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.gf-note-del[b-7nfr2tby4o] {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 6px 6px 0 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.gf-note-del:hover:not(:disabled)[b-7nfr2tby4o] {
    background: var(--frame-row-hover);
    color: var(--color-text-primary);
}

.gf-note-del .material-icons[b-7nfr2tby4o] {
    font-size: var(--gt-xl);
}

.gf-notes-skel[b-7nfr2tby4o] {
    display: block;
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: var(--frame-skeleton);
    background-size: 400px 100%;
    animation: gf-notes-shimmer-b-7nfr2tby4o 1.4s linear infinite;
}

@keyframes gf-notes-shimmer-b-7nfr2tby4o {
    from { background-position: -400px 0; }
    to { background-position: 400px 0; }
}

@media (pointer: coarse) {
    .gf-note-del[b-7nfr2tby4o],
    .gf-notes-markall[b-7nfr2tby4o],
    .gf-notes-retry[b-7nfr2tby4o] {
        min-width: 44px;
        min-height: 44px;
    }

    .gf-note-del[b-7nfr2tby4o] {
        width: 44px;
        height: 44px;
        margin: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-notes-skel[b-7nfr2tby4o] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .gf-note[b-7nfr2tby4o],
    .gf-notes-markall[b-7nfr2tby4o],
    .gf-notes-retry[b-7nfr2tby4o] {
        border-color: CanvasText;
    }

    .gf-note.is-unread[b-7nfr2tby4o] {
        border-left: 3px solid CanvasText;
    }

    .gf-notes-markall:focus-visible[b-7nfr2tby4o],
    .gf-notes-retry:focus-visible[b-7nfr2tby4o],
    .gf-note-main:focus-visible[b-7nfr2tby4o],
    .gf-note-del:focus-visible[b-7nfr2tby4o] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfPanel.razor.rz.scp.css */
/* One of the bar's panels (blend 3, the kit's bl-pop and m-sheet.bottom; phase H). Below 768 a bottom sheet over a scrim;
   from 768 up a disclosure under its trigger, placed by frame.js openPanel through --gf-panel-x (the trigger's edge or
   centre, kept 16px inside the window). Phone layers (phase M, Docs/LRPG_GAME_MENU.md 5.5): the sheet and its scrim stop
   at the dock's top edge, so the dock stays visible and tappable (a tap goes, and the page change closes the sheet); held
   sideways the disclosure opens beside the rail, never over it. Tokens only: the GAME FRAME block of design-system.css. */

.gf-panel-layer[b-thwwkk5pxe] {
    position: fixed;
    inset: 0;
    /* Above the phone's dock and beside the sideways rail, never over them (phase M): 0 on every other tier. */
    bottom: var(--frame-bottom);
    left: var(--frame-left);
    z-index: var(--frame-z-panel);
}

.gf-panel-layer[hidden][b-thwwkk5pxe] {
    display: none;
}

.gf-panel-scrim[b-thwwkk5pxe] {
    position: absolute;
    inset: 0;
    background: var(--frame-scrim);
}

.gf-panel[b-thwwkk5pxe] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 82dvh;
    overflow: hidden;
    /* The safe area only at the window's foot: standing on the dock, the dock already holds it. */
    padding-bottom: var(--frame-safe-pad);
    background: var(--frame-pop-fill);
    border: 1px solid var(--frame-panel-rim);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: var(--frame-pop-shadow);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    animation: gf-panel-in-b-thwwkk5pxe 160ms ease-out;
}

.gf-panel-head[b-thwwkk5pxe] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 8px 8px 16px;
    border-bottom: 1px solid var(--frame-head-rule);
    background: var(--frame-head-tint);
}

.gf-panel-title[b-thwwkk5pxe] {
    flex: 1 1 auto;
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--frame-gold-soft);
}

.gf-panel-title:focus:not(:focus-visible)[b-thwwkk5pxe] {
    outline: none;
}

.gf-panel-title:focus-visible[b-thwwkk5pxe] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-panel-head-extra[b-thwwkk5pxe] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.gf-panel-close[b-thwwkk5pxe] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.gf-panel-close:hover[b-thwwkk5pxe] {
    background: var(--frame-row-hover);
    color: var(--color-text-primary);
}

.gf-panel-close:focus-visible[b-thwwkk5pxe] {
    outline: 2px solid var(--color-primary);
    outline-offset: -3px;
}

.gf-panel-body[b-thwwkk5pxe] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* From 768 up: a disclosure under its trigger (no scrim; the page stays live). */
@media (min-width: 768px) {
    .gf-panel-layer[b-thwwkk5pxe] {
        inset: var(--frame-top) 0 auto var(--frame-left);
        height: 0;
    }

    .gf-panel-scrim[b-thwwkk5pxe] {
        display: none;
    }

    .gf-panel[b-thwwkk5pxe] {
        top: 6px;
        right: auto;
        bottom: auto;
        left: var(--gf-panel-x, 16px);
        width: min(400px, calc(100% - 32px));
        max-height: calc(100dvh - var(--frame-top) - 24px);
        padding-bottom: 0;
        border-bottom: 1px solid var(--frame-panel-rim);
        border-radius: 14px;
    }

    .gf-panel.is-hero[b-thwwkk5pxe] {
        width: min(360px, calc(100% - 32px));
    }

    .gf-panel.is-fellowship[b-thwwkk5pxe] {
        width: min(380px, calc(100% - 32px));
    }

    .gf-panel-close[b-thwwkk5pxe] {
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 768px) and (pointer: coarse) {
    .gf-panel-close[b-thwwkk5pxe] {
        width: 44px;
        height: 44px;
    }
}

@keyframes gf-panel-in-b-thwwkk5pxe {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-panel[b-thwwkk5pxe] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .gf-panel[b-thwwkk5pxe] {
        background: Canvas;
        border: 1px solid CanvasText;
    }

    .gf-panel-scrim[b-thwwkk5pxe] {
        background: Canvas;
        opacity: 0.6;
    }

    .gf-panel-close:focus-visible[b-thwwkk5pxe],
    .gf-panel-title:focus-visible[b-thwwkk5pxe] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfPartyBar.razor.rz.scp.css */
/* The party bar (raid join W4b; B-Party 2, B-Tablet "after Join", B-Phone 5; the kit's mb-pbar): a row under the world bar
   (inside the frame's fixed header), as tall as --frame-partybar-height (52px from 768, 60px on a touch screen, one 56px
   line on a phone held upright, each times --gt-box). Gathering wears the party's blue, the road the gold, each with its
   own words, never colour alone. What the bar drops when it is narrow is decided by its own width (a container), never a
   window width: the crier's line first, then the count's words and the way on's long label. Held sideways the rail's
   centre carries the party and the bar is not drawn. Tokens only. */

.gf-partybar[b-qnghpsnln1] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    height: var(--frame-partybar-height);
    min-width: 0;
    padding: 0 12px 0 10px;
    container: gf-partybar / inline-size;
    background: var(--frame-partybar-fill);
    border-bottom: 1px solid var(--frame-road-party-line);
    box-shadow: var(--frame-shadow);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    --pb-ring: var(--frame-partybar-ring);
    --pb-ink: var(--frame-info-ink);
    --pb-live: var(--color-info-light);
}

.gf-partybar.is-road[b-qnghpsnln1] {
    background: var(--frame-partybar-road-fill);
    border-bottom-color: var(--frame-road-line);
    --pb-ink: var(--frame-gold-soft);
    --pb-live: var(--color-primary);
}

/* The muster (raid join W4a met W4b): the count and the formation step wear the road's gold, a held count the warning
   line; each says its state in words ("The party rides in 7", "Held: ...", "The party is choosing formations"). */
.gf-partybar.is-count[b-qnghpsnln1],
.gf-partybar.is-forming[b-qnghpsnln1] {
    border-bottom-color: var(--frame-road-line);
    --pb-ink: var(--frame-gold-soft);
    --pb-live: var(--color-primary);
}

.gf-partybar.is-held[b-qnghpsnln1] {
    border-bottom-color: var(--frame-warn-line);
    --pb-ink: var(--frame-warn-ink);
}

.gf-partybar.is-count .gf-pb-count[b-qnghpsnln1],
.gf-partybar.is-held .gf-pb-count[b-qnghpsnln1],
.gf-partybar.is-forming .gf-pb-count[b-qnghpsnln1] {
    color: var(--pb-ink);
    font-weight: 700;
}

/* The running count's Hold: a quiet pill beside the way on, any hero here may press it. */
.gf-pb-hold[b-qnghpsnln1] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--frame-warn-line);
    border-radius: 999px;
    background: var(--frame-well);
    color: var(--frame-warn-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.gf-pb-hold .material-icons[b-qnghpsnln1] {
    font-size: var(--gt-lg);
}

.gf-pb-hold:disabled[b-qnghpsnln1] {
    cursor: progress;
}

.gf-pb-hold:focus-visible[b-qnghpsnln1] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The identity: the raid's painting, the eyebrow over the name. */
.gf-pb-id[b-qnghpsnln1] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 30%;
    color: inherit;
    text-decoration: none;
}

.gf-pb-thumb[b-qnghpsnln1] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: calc(50px * var(--gt-box));
    height: calc(34px * var(--gt-box));
    overflow: hidden;
    border: 1px solid var(--frame-line-strong);
    border-radius: 8px;
    color: var(--pb-ink);
}

.gf-pb-thumb img[b-qnghpsnln1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-pb-tx[b-qnghpsnln1] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.gf-pb-eyebrow[b-qnghpsnln1] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pb-ink);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.gf-pb-live[b-qnghpsnln1] {
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pb-live);
}

.gf-pb-raid[b-qnghpsnln1] {
    overflow: hidden;
    color: var(--frame-cream);
    font-size: var(--gt-md);
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* The seats and the count. */
.gf-pb-sts[b-qnghpsnln1] {
    display: flex;
    flex: none;
    align-items: center;
    gap: 10px;
    padding-left: 12px;
    border-left: 1px solid var(--frame-line-strong);
}

.gf-pb-tokens[b-qnghpsnln1] {
    display: inline-flex;
    flex: none;
    align-items: center;
}

.gf-pb-token[b-qnghpsnln1] {
    position: relative;
    display: inline-block;
    flex: none;
    width: calc(30px * var(--gt-box));
    height: calc(30px * var(--gt-box));
    --cc: var(--color-text-secondary);
}

.gf-pb-token + .gf-pb-token[b-qnghpsnln1] {
    margin-left: -6px;
}

.gf-pb-av[b-qnghpsnln1] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 2px solid var(--cc);
    border-radius: 50%;
    background: var(--color-bg-base);
    box-shadow: 0 0 0 2px var(--pb-ring);
}

.gf-pb-av img[b-qnghpsnln1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

/* A summoned friend: a dotted ring, no portrait; an open chair: a dashed circle (shapes, not colour alone). */
.gf-pb-token.is-invited .gf-pb-av[b-qnghpsnln1] {
    border: 2px dotted var(--rm-invite);
}

.gf-pb-token.is-open .gf-pb-av[b-qnghpsnln1] {
    border: 1.5px dashed var(--color-text-secondary);
    background: transparent;
}

.gf-pb-token.is-away .gf-pb-av[b-qnghpsnln1] {
    opacity: 0.7;
}

/* The marks at a token's corner: ready a filled dot, away a hollow ring, invited a ringed dot. */
.gf-pb-mark[b-qnghpsnln1] {
    position: absolute;
    right: -2px;
    bottom: -2px;
    box-sizing: border-box;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-bg-base);
    box-shadow: 0 0 0 2px var(--pb-ring);
}

.is-ready .gf-pb-mark[b-qnghpsnln1] {
    background: var(--rm-ready);
}

.is-away .gf-pb-mark[b-qnghpsnln1] {
    border: 2px solid var(--rm-away);
}

.is-invited .gf-pb-mark[b-qnghpsnln1] {
    border: 3px solid var(--color-bg-base);
    background: var(--rm-invite);
}

/* A house hero's token (house heroes W3, call 11): the seal in place of the ready dot, the ring keeps the class colour. */
.gf-pb-seal[b-qnghpsnln1] {
    display: grid;
    place-items: center;
    width: calc(18px * var(--gt-box));
    height: calc(18px * var(--gt-box));
    background: var(--sc-house);
    color: var(--color-bg-base);
}

.gf-pb-seal .material-icons[b-qnghpsnln1] {
    font-size: calc(var(--gt-px) * 12);
    line-height: 1;
}

.gf-pb-count[b-qnghpsnln1] {
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

/* The crier's last line, in the game's voice (game-written, never typed). */
.gf-pb-crier[b-qnghpsnln1] {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: var(--frame-cream-2);
    font-family: var(--frame-font-voice);
    font-size: var(--gt-base);
    font-style: italic;
    line-height: 1.2;
    white-space: nowrap;
}

.gf-pb-crier .material-icons[b-qnghpsnln1] {
    flex: none;
    color: var(--frame-gold-text);
    font-size: var(--gt-lg);
}

.gf-pb-crier-text[b-qnghpsnln1] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.gf-pb-sp[b-qnghpsnln1] {
    flex: 1 1 0;
    min-width: 0;
}

/* The way on: Open the room quiet (an outlined pill), Return to the fight the bar's one gold. */
.gf-pb-go[b-qnghpsnln1] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--frame-road-party-line);
    border-radius: 999px;
    background: var(--frame-well);
    color: var(--frame-info-ink);
    font-size: var(--gt-sm);
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.gf-pb-go .material-icons[b-qnghpsnln1] {
    font-size: var(--gt-lg);
}

.gf-pb-go.is-gold[b-qnghpsnln1] {
    border-color: transparent;
    background: var(--frame-hex-gold);
    color: var(--frame-on-gold);
}

.gf-pb-go-short[b-qnghpsnln1] {
    display: none;
}

.gf-pb-more[b-qnghpsnln1] {
    position: relative;
    flex: none;
}

.gf-pb-more-button[b-qnghpsnln1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--frame-line-strong);
    border-radius: 10px;
    background: var(--frame-well);
    color: var(--color-text-lighter);
    cursor: pointer;
}

.gf-pb-more-button[aria-expanded="true"][b-qnghpsnln1] {
    border-color: var(--frame-road-party-line);
    color: var(--frame-info-ink);
}

/* The menu: a small disclosure under its button. */
.gf-pb-menu[b-qnghpsnln1] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    width: min(calc(320px * var(--gt-box)), calc(100vw - 24px));
    padding: 10px;
    border: 1px solid var(--frame-panel-rim);
    border-radius: 12px;
    background: var(--frame-pop-fill);
    box-shadow: var(--frame-pop-shadow);
    font-size: var(--gt-sm);
}

.gf-pb-hint[b-qnghpsnln1] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--frame-warn-line);
    border-radius: 8px;
    background: var(--frame-warn-fill);
    color: var(--frame-warn-ink);
    line-height: 1.3;
}

.gf-pb-hint .material-icons[b-qnghpsnln1] {
    flex: none;
    font-size: var(--gt-lg);
}

.gf-pb-item[b-qnghpsnln1],
.gf-pb-btn[b-qnghpsnln1] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    box-sizing: border-box;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid var(--frame-line-strong);
    border-radius: 8px;
    background: var(--frame-well);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.gf-pb-item.is-danger[b-qnghpsnln1],
.gf-pb-btn.is-danger[b-qnghpsnln1] {
    border-color: var(--frame-bad-line);
    color: var(--color-danger-lighter);
}

.gf-pb-item-hint[b-qnghpsnln1] {
    margin-left: auto;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.gf-pb-confirm[b-qnghpsnln1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gf-pb-confirm-title[b-qnghpsnln1] {
    margin: 0;
    color: var(--frame-cream);
    font-size: var(--gt-base);
    font-weight: 800;
}

.gf-pb-confirm-body[b-qnghpsnln1] {
    margin: 0;
    color: var(--color-text-lighter);
    line-height: 1.35;
}

.gf-pb-confirm-acts[b-qnghpsnln1] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gf-pb-btn:disabled[b-qnghpsnln1] {
    cursor: progress;
}

.gf-pb-status[b-qnghpsnln1] {
    margin: 0;
    color: var(--frame-warn-ink);
}

.gf-pb-status:empty[b-qnghpsnln1] {
    display: none;
}

.gf-pb-go:focus-visible[b-qnghpsnln1],
.gf-pb-more-button:focus-visible[b-qnghpsnln1],
.gf-pb-item:focus-visible[b-qnghpsnln1],
.gf-pb-btn:focus-visible[b-qnghpsnln1] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Narrower bars give room back by their own width (the bar's em is its text size, so a grown text gives up sooner):
   first the crier's line, then the count's words and the way on's long label (the bar's name still says them all). */
@container gf-partybar (width < 66em) {
    .gf-pb-crier[b-qnghpsnln1] {
        display: none;
    }
}

/* A phone line at a grown text size (about 26em: 437px at Extra large, so a 390px phone): the raid's name steps aside for
   the seats and the way on (the bar's name still says it). */
@container gf-partybar (width < 26em) {
    .gf-pb-tx[b-qnghpsnln1] {
        display: none;
    }

    /* One class more than the phone block below, which grows the identity: the empty identity takes no room. */
    .gf-partybar .gf-pb-id[b-qnghpsnln1] {
        flex: 0 0 auto;
    }
}

@container gf-partybar (width < 46em) {
    .gf-pb-count[b-qnghpsnln1] {
        display: none;
    }

    .gf-pb-go-full[b-qnghpsnln1] {
        display: none;
    }

    .gf-pb-go-short[b-qnghpsnln1] {
        display: inline;
    }
}

/* The phone's one line (below 768 upright, B-Phone 5): the raid's name over the count, the tokens, the way on; a tap on
   the line opens the room. The painting and the eyebrow step aside. */
@media not all and (min-width: 768px) {
    .gf-partybar[b-qnghpsnln1] {
        gap: 8px;
        padding: 0 8px 0 10px;
    }

    .gf-pb-thumb[b-qnghpsnln1],
    .gf-pb-eyebrow[b-qnghpsnln1] {
        display: none;
    }

    .gf-pb-id[b-qnghpsnln1] {
        flex: 1 1 auto;
        max-width: none;
    }

    .gf-pb-sts[b-qnghpsnln1] {
        padding-left: 0;
        border-left: 0;
    }

    .gf-pb-count[b-qnghpsnln1] {
        display: none;
    }
}

/* Touch (B-Tablet "after Join", B-Phone 5): the way on and the menu are 44px. */
@media (pointer: coarse) {
    .gf-pb-go[b-qnghpsnln1],
    .gf-pb-hold[b-qnghpsnln1] {
        min-height: 44px;
    }

    .gf-pb-more-button[b-qnghpsnln1] {
        width: 44px;
        height: 44px;
    }

    .gf-pb-item[b-qnghpsnln1],
    .gf-pb-btn[b-qnghpsnln1] {
        min-height: 44px;
    }
}

/* A phone held sideways: the rail's centre carries the party (the party chip); the bar is not drawn. */
@media (orientation: landscape) and (max-height: 480px) {
    .gf-partybar[b-qnghpsnln1] {
        display: none;
    }
}

@media (forced-colors: active) {
    .gf-partybar[b-qnghpsnln1] {
        border-bottom-color: CanvasText;
        background: Canvas;
    }

    .gf-pb-av[b-qnghpsnln1],
    .gf-pb-go[b-qnghpsnln1],
    .gf-pb-hold[b-qnghpsnln1],
    .gf-pb-more-button[b-qnghpsnln1],
    .gf-pb-menu[b-qnghpsnln1],
    .gf-pb-item[b-qnghpsnln1],
    .gf-pb-btn[b-qnghpsnln1] {
        border-color: CanvasText;
    }

    .gf-pb-go:focus-visible[b-qnghpsnln1],
    .gf-pb-more-button:focus-visible[b-qnghpsnln1],
    .gf-pb-item:focus-visible[b-qnghpsnln1],
    .gf-pb-btn:focus-visible[b-qnghpsnln1] {
        outline-color: Highlight;
    }
}

/* The class rim of each token (the hero's class colour; the word is in the bar's name). */
.gf-pb-token.cc-warrior[b-qnghpsnln1] { --cc: var(--color-warrior); }
.gf-pb-token.cc-wizard[b-qnghpsnln1] { --cc: var(--color-wizard); }
.gf-pb-token.cc-ranger[b-qnghpsnln1] { --cc: var(--color-ranger); }
.gf-pb-token.cc-rogue[b-qnghpsnln1] { --cc: var(--color-rogue); }
.gf-pb-token.cc-paladin[b-qnghpsnln1] { --cc: var(--color-paladin); }
.gf-pb-token.cc-bard[b-qnghpsnln1] { --cc: var(--color-bard); }
.gf-pb-token.cc-cleric[b-qnghpsnln1] { --cc: var(--color-cleric); }
.gf-pb-token.cc-monk[b-qnghpsnln1] { --cc: var(--color-monk); }
.gf-pb-token.cc-barbarian[b-qnghpsnln1] { --cc: var(--color-barbarian); }
.gf-pb-token.cc-pirate[b-qnghpsnln1] { --cc: var(--color-pirate); }
/* /Components/Frame/GfPhaseChip.razor.rz.scp.css */
/* The phase chip (D10; the kit's m-alphachip / bl-alpha): a gold-outlined pill, 28px tall on a fine pointer, a 44px target
   on touch. Tokens only. */

.gf-phase[b-6vlv6sbxgi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.67em;
    margin: 0;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--frame-line-gold);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--frame-gold-soft);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    white-space: nowrap;
    cursor: pointer;
    flex: none;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

@media (hover: hover) {
    .gf-phase:hover[b-6vlv6sbxgi] {
        border-color: var(--color-primary);
        background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    }
}

.gf-phase:focus-visible[b-6vlv6sbxgi] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .gf-phase[b-6vlv6sbxgi] {
        min-height: 44px;
        padding: 0 14px;
    }
}

/* In More's head the chip says what it does (BL-Tablet-1024): the caps label, then its action in plain text. */
.gf-phase-action[b-6vlv6sbxgi] {
    font-size: var(--gt-md);
    font-weight: 600;
    letter-spacing: normal;
}

/* In the bar only from 1280 up (5.1): below, the same words head More's journal. */
.gf-phase.is-bar[b-6vlv6sbxgi] {
    display: none;
}

@media (min-width: 1280px) {
    .gf-phase.is-bar[b-6vlv6sbxgi] {
        display: inline-flex;
    }
}

/* In More's head only below 1280. */
@media (min-width: 1280px) {
    .gf-phase.is-sheet[b-6vlv6sbxgi] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-phase[b-6vlv6sbxgi] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-phase[b-6vlv6sbxgi] {
        border-color: ButtonText;
    }

    .gf-phase:focus-visible[b-6vlv6sbxgi] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfPhoneBar.razor.rz.scp.css */
/* The phone's top bar (blend 1.5; the kit's bl-bar.phone): 56px, the mark and "LOURDIN" at the left, three 52 x 50
   buttons at the right. Drawn below 768 only. Tokens only. At Large and Extra large its start padding tightens (with the
   mark's own spacing, GfMark.razor.css) so the whole word keeps its place beside the three labelled buttons at 390 wide;
   narrower, the word goes whole, never cut. */

.gf-phonebar[b-lu1wft33fu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    box-sizing: border-box;
    height: var(--frame-phonebar-height);
    padding: 0 6px 0 8px;
    background: var(--frame-bar-fill);
    border-bottom: 1px solid var(--frame-hairline);
    box-shadow: 0 6px 18px color-mix(in srgb, black 30%, transparent);
}

:root.game-text-grown .gf-phonebar[b-lu1wft33fu] {
    padding-left: 4px;
}

@media (min-width: 768px) {
    .gf-phonebar[b-lu1wft33fu] {
        display: none;
    }
}

.gf-phonebar-mark[b-lu1wft33fu] {
    display: flex;
    align-items: center;
    min-width: 0;
}

.gf-phonebar-tools[b-lu1wft33fu],
.gf-phonebar-quiet[b-lu1wft33fu] {
    display: flex;
    align-items: center;
    gap: 2px;
}

@media (forced-colors: active) {
    .gf-phonebar[b-lu1wft33fu] {
        border-bottom-color: CanvasText;
    }
}
/* /Components/Frame/GfRail.razor.rz.scp.css */
/* The sideways rail (blend 1.7; the kit's bl-rail): 76px wide, the window's full height, ink with a 16% gold edge on the
   right, eight cells top to bottom spread over the height, every one at least 44px tall. Drawn only for a phone held
   sideways ((orientation: landscape) and (max-height: 480px), the journal's and the War Table's query); the safe area on
   a notched phone's left comes on top. Tokens only. */

.gf-rail[b-0r2yae3fzn] {
    display: none;
}

@media (orientation: landscape) and (max-height: 480px) {
    .gf-rail[b-0r2yae3fzn] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: var(--frame-z-bar);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        box-sizing: border-box;
        width: var(--frame-left);
        padding: 2px 4px max(2px, env(safe-area-inset-bottom, 0px)) calc(4px + env(safe-area-inset-left, 0px));
        overflow-y: auto;
        font-size: var(--gt-sm);
        container: gf-rail / size;
        background: var(--frame-dock-ink);
        border-right: 1px solid var(--frame-hairline);
        box-shadow: 10px 0 30px var(--frame-dock-shadow);
    }
}

.gf-rail > *[b-0r2yae3fzn] {
    flex: none;
}

.gf-rail-div[b-0r2yae3fzn] {
    height: 1px;
    margin: 0 8px;
    background: var(--frame-line-strong);
}

/* Eight cells of at least 44px fill a 360px window (740 x 360) with 8px to spare, so every cell keeps to 44px here: the
   top bar's three buttons (their phone face is 52 x 50) here, the hero's 30px ring and the centre's 30 x 34 orb in their
   own sheets. The buttons are 44px at least, never exactly: at the largest text size the icon, the gap and the word are
   taller than 44px, and a fixed height let the word run over the next button's icon (Fellowship over the bell). */
.gf-rail[b-0r2yae3fzn]  .gf-fellowship.is-phone,
.gf-rail[b-0r2yae3fzn]  .gf-bell.is-phone,
.gf-rail[b-0r2yae3fzn]  .gf-more.is-phone {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 44px;
    gap: 2px;
}

/* Grown text (readable game text, Large and Extra large): the words need about 25em of the rail's height (eight cells of a
   hex, 3px and one line each, the centre's orb and the divider: 358px at Large, 410px at Extra large; the rail's own text
   size is the em), and a phone held sideways has 360 to 390px. When the rail is shorter than that it keeps its icons and
   drops the words from view, as the world bar's places do when their track is too narrow (GfLamps): each control's name
   stays its accessible name (the label's text is still in the page, or the control's aria-label says it), and the cells
   keep their 44px, so eight of them still fit a 360px window. Large fits its words from about 364px of window up, so it
   keeps them there. */
@container gf-rail (height < 25em) {
    :root.game-text-grown .gf-rail[b-0r2yae3fzn]  .gf-cell-label,
    :root.game-text-grown .gf-rail[b-0r2yae3fzn]  .gf-hcell-label,
    :root.game-text-grown .gf-rail[b-0r2yae3fzn]  .gf-centre-label,
    :root.game-text-grown .gf-rail[b-0r2yae3fzn]  .gf-fellowship-label,
    :root.game-text-grown .gf-rail[b-0r2yae3fzn]  .gf-bell-label,
    :root.game-text-grown .gf-rail[b-0r2yae3fzn]  .gf-more-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (forced-colors: active) {
    .gf-rail[b-0r2yae3fzn] {
        border-right-color: CanvasText;
    }

    .gf-rail-div[b-0r2yae3fzn] {
        background: CanvasText;
    }
}
/* /Components/Frame/GfRoadCard.razor.rz.scp.css */
/* The road card (blend 2.2 a; the kit's bl-roadcard): a navy card with a gold rim and a warm wash, the adventure's painting,
   its words, and the gold action under them (the one gold on the screen while More is open, C3). A party session is the
   party's info blue; no hero, the dashed hall. Side by side from 768 to 959, where the journal is one wide column. Tokens
   only. */

.gf-roadcard[b-h4ihb590p4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
    padding: 9px;
    border: 1px solid var(--frame-road-card-line);
    border-radius: 14px;
    background: var(--frame-road-card-fill);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.14s ease;
}

.gf-roadcard-top[b-h4ihb590p4] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gf-roadcard-th[b-h4ihb590p4] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 84px;
    height: 56px;
    overflow: hidden;
    border: 1px solid var(--frame-line);
    border-radius: 9px;
    background: var(--frame-ring-well);
}

.gf-roadcard-th img[b-h4ihb590p4] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-roadcard-th.is-empty[b-h4ihb590p4] {
    border-style: dashed;
    border-color: var(--frame-line-strong);
    color: var(--color-text-secondary);
}

.gf-roadcard-tx[b-h4ihb590p4] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.gf-roadcard-eye[b-h4ihb590p4] {
    color: var(--frame-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.gf-roadcard-title[b-h4ihb590p4] {
    color: var(--frame-cream);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    line-height: 1.15;
}

.gf-roadcard-line[b-h4ihb590p4] {
    color: var(--frame-gold-soft);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    line-height: 1.3;
}

.gf-roadcard-go[b-h4ihb590p4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--frame-hex-gold);
    color: var(--frame-on-gold);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    box-shadow: 0 6px 18px var(--frame-gold-glow);
}

.gf-roadcard-go .material-icons[b-h4ihb590p4] {
    font-size: var(--gt-xl);
}

@media (hover: hover) {
    .gf-roadcard:hover[b-h4ihb590p4] {
        border-color: var(--frame-line-gold);
    }
}

.gf-roadcard:focus-visible[b-h4ihb590p4] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-roadcard.is-return[b-h4ihb590p4] {
    border-color: var(--frame-road-party-line);
    background: var(--frame-road-party-fill);
}

.gf-roadcard.is-return .gf-roadcard-eye[b-h4ihb590p4],
.gf-roadcard.is-return .gf-roadcard-line[b-h4ihb590p4] {
    color: var(--frame-info-ink);
}

/* One wide column (768 to 959): the words and the action side by side (BL-Tablet-768). */
@media (min-width: 768px) {
    .gf-roadcard[b-h4ihb590p4] {
        flex-direction: row;
        align-items: center;
    }

    .gf-roadcard-top[b-h4ihb590p4] {
        flex: 1;
    }
}

@media (min-width: 960px) {
    .gf-roadcard[b-h4ihb590p4] {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (pointer: coarse) {
    .gf-roadcard-go[b-h4ihb590p4] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-roadcard[b-h4ihb590p4] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-roadcard[b-h4ihb590p4] {
        border-color: CanvasText;
    }

    .gf-roadcard:focus-visible[b-h4ihb590p4] {
        outline-color: Highlight;
    }

    .gf-roadcard-go[b-h4ihb590p4] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Frame/GfRoadChip.razor.rz.scp.css */
/* The road chip (blend 1.4; the kit's bl-road, BL-Kit sections 1 and 3, BL-Tablet-1024). Mobile first, as the bar is drawn
   from 768 up: the thumb alone at 768-959, from 960 the compact chip ("Road" over "2 of 15"), from 1280 the full chip (a
   live dot, "Where you left off", the adventure in Cinzel with an ellipsis after 160px, the waypoint, an arrow). A stored
   party draws in info blue. Tokens only. */

.gf-road[b-7n7mehtofy] {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    /* Grows with the text like the bar: at Extra large the full chip's three lines (the eyebrow, the adventure, the waypoint)
       hung out of a fixed 50px box (review, 14 Nov 2026). */
    height: calc(50px * var(--gt-box));
    min-width: 0;
    padding: 0 5px;
    border-radius: 12px;
    border: 1px solid var(--frame-road-line);
    background: var(--frame-road-fill);
    color: inherit;
    text-decoration: none;
    flex: none;
    transition: border-color 0.14s ease;
}

.gf-road-thumb[b-7n7mehtofy] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 38px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--frame-line);
    background: var(--frame-ring-well);
    flex: none;
}

.gf-road-thumb img[b-7n7mehtofy] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gf-road-thumb .material-icons[b-7n7mehtofy] {
    font-size: var(--gt-xl);
    color: var(--frame-gold-text);
}

.gf-road-tx[b-7n7mehtofy] {
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gf-road-eyebrow[b-7n7mehtofy] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--frame-gold-text);
    white-space: nowrap;
}

.gf-road-live[b-7n7mehtofy] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 18%, transparent);
    flex: none;
}

.gf-road-title[b-7n7mehtofy] {
    display: none;
    max-width: 160px;
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 700;
    line-height: 1;
    color: var(--frame-cream);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gf-road-detail[b-7n7mehtofy] {
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1;
    color: var(--frame-gold-soft);
    white-space: nowrap;
}

.gf-road-full[b-7n7mehtofy] {
    display: none;
}

.gf-road-arrow[b-7n7mehtofy] {
    display: none;
    font-size: var(--gt-xl);
    color: var(--color-primary);
}

/* The stored party session: info blue. */
.gf-road.is-party[b-7n7mehtofy] {
    border-color: var(--frame-road-party-line);
    background: var(--frame-road-party-fill);
}

.is-party .gf-road-eyebrow[b-7n7mehtofy],
.is-party .gf-road-detail[b-7n7mehtofy] {
    color: var(--color-info-lightest);
}

.is-party .gf-road-live[b-7n7mehtofy] {
    background: var(--color-info-light);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-info-light) 20%, transparent);
}

.is-party .gf-road-arrow[b-7n7mehtofy] {
    color: var(--color-info-light);
}

/* The party place's chip (Direction A, W2, A2 "In a party"): the hall's teal, a ring when it is the page you are on. */
.gf-road.is-place[b-7n7mehtofy] {
    border-color: var(--sc-house-line);
    background: var(--sc-house-soft);
}

.is-place .gf-road-eyebrow[b-7n7mehtofy],
.is-place .gf-road-detail[b-7n7mehtofy] {
    color: var(--sc-house-ink);
}

.is-place .gf-road-live[b-7n7mehtofy] {
    background: var(--sc-house);
    box-shadow: 0 0 0 2px var(--sc-house-soft);
}

.is-place .gf-road-arrow[b-7n7mehtofy] {
    color: var(--sc-house-ink);
}

.gf-road.is-place[aria-current="page"][b-7n7mehtofy] {
    border-color: var(--sc-house);
}

@media (hover: hover) {
    .gf-road:hover[b-7n7mehtofy] {
        border-color: var(--frame-line-gold);
    }
}

.gf-road:focus-visible[b-7n7mehtofy] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- 960-1279: compact ---- */

@media (min-width: 960px) {
    .gf-road[b-7n7mehtofy] {
        padding: 0 10px 0 5px;
    }

    .gf-road-thumb[b-7n7mehtofy] {
        height: 34px;
    }

    .gf-road-tx[b-7n7mehtofy] {
        display: flex;
    }
}

/* ---- 1280 and up: full ---- */

@media (min-width: 1280px) {
    .gf-road-thumb[b-7n7mehtofy] {
        width: 54px;
        height: 38px;
    }

    .gf-road-title[b-7n7mehtofy],
    .gf-road-arrow[b-7n7mehtofy] {
        display: block;
    }

    .gf-road-full[b-7n7mehtofy] {
        display: inline;
    }

    .gf-road-short[b-7n7mehtofy] {
        display: none;
    }
}

/* ---- The full chip only where the bar has the room ---- */

/* Readable game text, 14 Nov 2026 (review): the full chip is 355px at Extra large and the crest, the places and the chip
   overlapped from 1280 to about 1600 wide with a run open; at Medium the chip overlapped the Fellowship lamp by up to 25px
   from 1280 to 1305. A window width cannot say how much room there is, so below 92em of the bar (GfBar: the bar's em is the
   base text size, 14px times the text size) the chip keeps the compact form the 1280 media rule would have replaced. 92em
   is where the full chip and the places' words both fit (Medium from 1312 wide, Large from 1570, Extra large from 1827),
   so widening the window never drops the words to make room for the chip. The thumb keeps the height that rule gave it. */
@container gf-bar (width < 92em) {
    .gf-road-thumb[b-7n7mehtofy] {
        width: 44px;
    }

    .gf-road-title[b-7n7mehtofy],
    .gf-road-arrow[b-7n7mehtofy],
    .gf-road-full[b-7n7mehtofy] {
        display: none;
    }

    .gf-road-short[b-7n7mehtofy] {
        display: inline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-road[b-7n7mehtofy] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-road[b-7n7mehtofy] {
        border-color: LinkText;
    }

    .gf-road:focus-visible[b-7n7mehtofy] {
        outline-color: Highlight;
    }

    .gf-road-live[b-7n7mehtofy] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Frame/GfSkipLink.razor.rz.scp.css */
/* The skip link (Docs/LRPG_GAME_MENU.md section 8): off screen until it takes focus, then above the app bar at its left.
   Tokens only; no transition (nothing moves under reduced motion either). */
.gf-skip[b-zj1pocyjlc] {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: calc(var(--mud-zindex-appbar, 1300) + 10);
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-primary);
    background: var(--color-bg-base);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.gf-skip:focus[b-zj1pocyjlc],
.gf-skip:focus-visible[b-zj1pocyjlc] {
    transform: none;
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (forced-colors: active) {
    .gf-skip[b-zj1pocyjlc] {
        border-color: CanvasText;
    }

    .gf-skip:focus[b-zj1pocyjlc],
    .gf-skip:focus-visible[b-zj1pocyjlc] {
        outline-color: Highlight;
    }
}
/* /Components/Frame/GfWaiting.razor.rz.scp.css */
/* "Waiting on you" (blend 2.2 a; the kit's bl-sh, bl-wait, bl-link): the head with the one red count and All notifications,
   then the rows. Accept is gold-outlined, Decline quiet; Decline is an icon named for the request in the narrow you page
   (960 to 1279) and on phones, its word where it fits (C15). Touch lifts every action to 44px (C10). One column of rows,
   two side by side from 768 to 959 (BL-Tablet-768). While the circuit rejoins, the actions wait. Tokens only. */

.gf-waiting[b-lcwyzbu9ed] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

/* All notifications takes a line of its own, at the end, when it does not fit beside the heading (the 340 and 372px
   you pages at Extra large): never past the page's edge. */
.gf-waiting-head[b-lcwyzbu9ed] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.gf-waiting-title[b-lcwyzbu9ed] {
    margin: 0;
    color: var(--frame-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.gf-sr[b-lcwyzbu9ed] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
    white-space: nowrap;
}

.gf-waiting-count[b-lcwyzbu9ed] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 1.71em;
    height: 1.71em;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--color-count);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.gf-waiting-rule[b-lcwyzbu9ed] {
    flex: 1;
    min-width: 10px;
    height: 1px;
    background: var(--frame-section-rule);
}

.gf-waiting-all[b-lcwyzbu9ed] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    min-height: 2.24em;
    margin: 0 0 0 auto;
    padding: 0 4px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 600;
    cursor: pointer;
}

.gf-waiting-all-n[b-lcwyzbu9ed] {
    color: var(--color-text-secondary);
}

.gf-waiting-all:focus-visible[b-lcwyzbu9ed] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.gf-wait-list[b-lcwyzbu9ed] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gf-wait[b-lcwyzbu9ed] {
    display: flex;
    align-items: center;
    gap: 11px;
    box-sizing: border-box;
    min-width: 0;
    margin: 0;
    padding: 7px 8px 7px 10px;
    border: 1px solid var(--frame-line);
    border-radius: 12px;
    background: var(--frame-card-fill);
}

.gf-wait.is-empty[b-lcwyzbu9ed],
.gf-wait.is-loading[b-lcwyzbu9ed] {
    gap: 8px;
    min-height: 44px;
    border-style: dashed;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
}

.gf-wait.is-empty .material-icons[b-lcwyzbu9ed] {
    font-size: var(--gt-xl);
}

.gf-wait-skel[b-lcwyzbu9ed] {
    display: block;
    width: 55%;
    height: 10px;
    border-radius: 6px;
    background: var(--frame-skeleton);
}

.gf-wait-skel.is-short[b-lcwyzbu9ed] {
    width: 25%;
}

.gf-wait-ic[b-lcwyzbu9ed] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--frame-wait-request-line);
    background: var(--frame-wait-request-fill);
    color: var(--frame-wait-request-ink);
}

.gf-wait.is-message .gf-wait-ic[b-lcwyzbu9ed] {
    border-color: var(--frame-road-party-line);
    background: var(--frame-wait-message-fill);
    color: var(--frame-info-ink);
}

/* Old Man Lourdin's letters: his gold seal, never the request's red */
.gf-wait.is-letter .gf-wait-ic[b-lcwyzbu9ed] {
    border-color: var(--frame-line-gold);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--frame-gold-soft);
}

.gf-wait-ic .material-icons[b-lcwyzbu9ed] {
    font-size: var(--gt-xl);
}

.gf-wait-tx[b-lcwyzbu9ed] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.gf-wait-tx b[b-lcwyzbu9ed] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

/* The board's rows (BL-More-1366): a message preview on one line, a request or a letter on two at most, so the hero card's
   doors stay above the fold at 1366. The whole text stays in the accessibility tree; only the drawing is cut. */
.gf-wait.is-message .gf-wait-tx b[b-lcwyzbu9ed] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gf-wait.is-request .gf-wait-tx b[b-lcwyzbu9ed],
.gf-wait.is-letter .gf-wait-tx b[b-lcwyzbu9ed] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* Focus lands on the head or a request's row after an answer (frame.js): a ring only from the keyboard. */
.gf-waiting-title:focus:not(:focus-visible)[b-lcwyzbu9ed],
.gf-wait:focus:not(:focus-visible)[b-lcwyzbu9ed] {
    outline: none;
}

.gf-waiting-title:focus-visible[b-lcwyzbu9ed],
.gf-wait:focus-visible[b-lcwyzbu9ed] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gf-wait-tx small[b-lcwyzbu9ed] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
}

.gf-wait.is-failed .gf-wait-tx small[b-lcwyzbu9ed] {
    color: var(--color-danger-lighter);
}

.gf-wait.is-done[b-lcwyzbu9ed] {
    border-color: var(--frame-good-line);
    background: var(--frame-good-wash);
}

.gf-wait.is-done .gf-wait-tx b[b-lcwyzbu9ed] {
    color: var(--frame-good-ink);
}

.gf-wait.is-done .gf-wait-ic[b-lcwyzbu9ed] {
    border-color: var(--frame-good-line);
    background: var(--frame-good-fill);
    color: var(--frame-good-ink);
}

.gf-wait-acts[b-lcwyzbu9ed] {
    display: flex;
    gap: 6px;
    flex: none;
}

.gf-wait-btn[b-lcwyzbu9ed] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    min-height: 2.62em;
    margin: 0;
    padding: 0 11px;
    border: 1px solid var(--frame-line-strong);
    border-radius: 9px;
    background: var(--frame-well);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.gf-wait-btn.is-accept[b-lcwyzbu9ed] {
    border-color: var(--frame-line-gold);
    background: var(--frame-accept-fill);
    color: var(--frame-gold-soft);
}

.gf-wait-btn:disabled[b-lcwyzbu9ed] {
    cursor: progress;
    color: var(--color-text-secondary);
}

.gf-wait-btn:focus-visible[b-lcwyzbu9ed] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Decline: an icon at 960 to 1279 and on phones, the word where it fits (C15). */
.gf-wait-word[b-lcwyzbu9ed] {
    display: none;
}

.gf-wait-x[b-lcwyzbu9ed] {
    font-size: var(--gt-xl);
}

.gf-wait-btn.is-decline[b-lcwyzbu9ed] {
    padding: 0;
    width: 34px;
}

@media (min-width: 768px) {
    .gf-wait-word[b-lcwyzbu9ed] {
        display: inline;
    }

    .gf-wait-x[b-lcwyzbu9ed] {
        display: none;
    }

    .gf-wait-btn.is-decline[b-lcwyzbu9ed] {
        width: auto;
        padding: 0 11px;
    }

    /* One wide column: the rows side by side. */
    .gf-wait-list[b-lcwyzbu9ed] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .gf-wait-word[b-lcwyzbu9ed] {
        display: none;
    }

    .gf-wait-x[b-lcwyzbu9ed] {
        display: inline;
    }

    .gf-wait-btn.is-decline[b-lcwyzbu9ed] {
        width: 34px;
        padding: 0;
    }

    .gf-wait-list[b-lcwyzbu9ed] {
        display: flex;
    }
}

@media (min-width: 1280px) {
    .gf-wait-word[b-lcwyzbu9ed] {
        display: inline;
    }

    .gf-wait-x[b-lcwyzbu9ed] {
        display: none;
    }

    .gf-wait-btn.is-decline[b-lcwyzbu9ed] {
        width: auto;
        padding: 0 11px;
    }
}

@media (pointer: coarse) {
    .gf-wait-btn[b-lcwyzbu9ed],
    .gf-waiting-all[b-lcwyzbu9ed] {
        min-height: 44px;
        min-width: 44px;
    }
}

/* The circuit rejoining (ReconnectModal sets html[data-circuit]): the actions wait with the strip's words. */
:root[data-circuit] .gf-wait-btn[b-lcwyzbu9ed] {
    pointer-events: none;
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .gf-wait[b-lcwyzbu9ed],
    .gf-wait-btn[b-lcwyzbu9ed] {
        border-color: CanvasText;
    }

    .gf-wait-btn:focus-visible[b-lcwyzbu9ed],
    .gf-waiting-all:focus-visible[b-lcwyzbu9ed] {
        outline-color: Highlight;
    }

    .gf-waiting-count[b-lcwyzbu9ed] {
        border: 1px solid CanvasText;
    }
}
/* /Components/Frame/GfWorkshop.razor.rz.scp.css */
/* The Workshop (Docs/LRPG_GAME_MENU.md 6.2, blend 3.5, BL-Workshop-1366; phase W): a slate tray with a dashed rim, never
   gold. Its head is the fold button (44px on touch); folded, the tray is that one row. The tools sit in two columns from
   768; the current tool's slate is the row's own stylesheet (GfJournalRow.razor.css). */

.gf-workshop[b-a6kjnwkhns] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
    border: 1px dashed var(--frame-line-strong);
    border-radius: 12px;
    background: var(--frame-well);
}

.gf-workshop.is-folded[b-a6kjnwkhns] {
    padding: 3px 6px;
}

.gf-workshop-h[b-a6kjnwkhns] {
    margin: 0;
    font: inherit;
}

.gf-workshop-fold[b-a6kjnwkhns] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 6px 0 8px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--color-text-secondary);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 120ms ease;
}

.gf-workshop-fold:hover[b-a6kjnwkhns] {
    background: var(--frame-row-hover);
}

.gf-workshop-fold:focus-visible[b-a6kjnwkhns] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.gf-workshop-ic[b-a6kjnwkhns] {
    font-size: var(--gt-xl);
}

.gf-workshop-title[b-a6kjnwkhns] {
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gf-role[b-a6kjnwkhns] {
    display: inline-flex;
    align-items: center;
    height: 2em;
    padding: 0 7px;
    border-radius: 5px;
    background: var(--frame-role-fill);
    box-shadow: inset 0 0 0 1px var(--frame-line-strong);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gf-workshop-count[b-a6kjnwkhns] {
    flex: 1;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.gf-workshop-chev[b-a6kjnwkhns] {
    font-size: var(--gt-2xl);
    color: var(--color-text-secondary);
}

.gf-workshop-groups[b-a6kjnwkhns] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-workshop-groups[hidden][b-a6kjnwkhns] {
    display: none;
}

.gf-workshop-subh[b-a6kjnwkhns] {
    margin: 0;
    padding: 8px 10px 2px;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.gf-workshop-list[b-a6kjnwkhns] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .gf-workshop-list[b-a6kjnwkhns] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (pointer: coarse) {
    .gf-workshop-fold[b-a6kjnwkhns] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-workshop-fold[b-a6kjnwkhns] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .gf-workshop[b-a6kjnwkhns] {
        border-color: CanvasText;
    }

    .gf-workshop-fold:focus-visible[b-a6kjnwkhns] {
        outline-color: Highlight;
    }

    .gf-role[b-a6kjnwkhns] {
        border: 1px solid CanvasText;
    }
}
/* /Components/FrontDoor/FdAlert.razor.rz.scp.css */
.fd-alert[b-pwbcyira58] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-strong);
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-2);
}

.fd-alert[b-pwbcyira58]  .fd-alert__icon {
    font-size: 20px;
    margin-top: 1px;
    flex: none;
}

.fd-alert__tx[b-pwbcyira58] {
    flex: 1;
    min-width: 0;
}

.fd-alert__end[b-pwbcyira58] {
    flex: none;
    align-self: center;
}

.fd-alert__end[b-pwbcyira58]  a {
    color: var(--fd-gold);
    font-weight: 700;
}

.fd-alert--error[b-pwbcyira58] {
    background: color-mix(in srgb, var(--fd-bad-deep) 35%, transparent);
    border-color: color-mix(in srgb, var(--fd-bad) 50%, transparent);
    color: var(--fd-bad-ink);
}

.fd-alert--error[b-pwbcyira58]  .fd-alert__icon {
    color: var(--fd-bad);
}

.fd-alert--info[b-pwbcyira58] {
    background: color-mix(in srgb, var(--fd-info-deep) 30%, transparent);
    border-color: color-mix(in srgb, var(--fd-info) 45%, transparent);
    color: var(--fd-info-ink);
}

.fd-alert--info[b-pwbcyira58]  .fd-alert__icon {
    color: var(--fd-info);
}

.fd-alert--gold[b-pwbcyira58] {
    background: color-mix(in srgb, var(--fd-gold) 7%, transparent);
    border-color: color-mix(in srgb, var(--fd-gold) 30%, transparent);
    color: var(--fd-text-3);
}

.fd-alert--gold[b-pwbcyira58]  .fd-alert__icon {
    color: var(--fd-gold);
}

.fd-alert--success[b-pwbcyira58] {
    background: color-mix(in srgb, var(--fd-good-deep) 40%, transparent);
    border-color: color-mix(in srgb, var(--fd-good) 50%, transparent);
    color: var(--fd-good-ink);
}

.fd-alert--success[b-pwbcyira58]  .fd-alert__icon {
    color: var(--fd-good);
}
/* /Components/FrontDoor/FdAuthCard.razor.rz.scp.css */
.fd-auth-card[b-xorf54dfdj] {
    width: 100%;
    max-width: 540px;
    min-width: 0;
}

.fd-auth-card__back[b-xorf54dfdj] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--fd-touch);
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-gold-text);
    text-decoration: none;
}

.fd-auth-card__back[b-xorf54dfdj]  .material-icons {
    font-size: 18px;
}

.fd-auth-card__box[b-xorf54dfdj] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
    padding: 28px;
    border-radius: var(--fd-r-band);
    background: linear-gradient(180deg, var(--fd-card-top), var(--fd-art-well));
    border: 1px solid var(--fd-line-gold);
    box-shadow: var(--fd-shadow);
}

.fd-auth-card__box[b-xorf54dfdj]  form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}

.fd-auth-card__hd[b-xorf54dfdj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fd-auth-card__title[b-xorf54dfdj] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 32px;
    line-height: 1.1;
    color: var(--fd-cream-2);
}

.fd-auth-card__sub[b-xorf54dfdj] {
    margin: 0;
    font-size: 14.5px;
    color: var(--fd-text-3);
}

.fd-auth-card__divider[b-xorf54dfdj] {
    height: 1px;
    background: var(--fd-line);
}

.fd-auth-card__foot[b-xorf54dfdj] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: var(--fd-text-4);
}

.fd-auth-card__foot[b-xorf54dfdj]  p {
    margin: 0;
}

.fd-auth-card__foot[b-xorf54dfdj]  a {
    color: var(--fd-gold);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .fd-auth-card__box[b-xorf54dfdj] {
        padding: 20px 16px;
    }

    .fd-auth-card__title[b-xorf54dfdj] {
        font-size: 26px;
    }
}
/* /Components/FrontDoor/FdAuthShell.razor.rz.scp.css */
.fd-auth[b-fid3yuxgjl] {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
    grid-template-areas: "art panel";
    min-height: calc(100vh - var(--fd-bar-h));
}

.fd-auth:not(:has(.fd-auth__art))[b-fid3yuxgjl] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "panel";
}

.fd-auth__panel[b-fid3yuxgjl] {
    grid-area: panel;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 40px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, color-mix(in srgb, var(--fd-gold) 5%, transparent), transparent 70%),
        var(--fd-bg);
    min-width: 0;
}

.fd-auth__art[b-fid3yuxgjl] {
    grid-area: art;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fd-auth__art[b-fid3yuxgjl]  .fd-auth__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-auth__shade[b-fid3yuxgjl] {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--fd-night) 80%, transparent) 0%,
            color-mix(in srgb, var(--fd-night) 35%, transparent) 34%,
            color-mix(in srgb, var(--fd-night) 55%, transparent) 56%,
            color-mix(in srgb, var(--fd-night) 96%, transparent) 100%),
        linear-gradient(270deg, color-mix(in srgb, var(--fd-bg) 90%, transparent), transparent 22%);
}

.fd-auth__art-in[b-fid3yuxgjl] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    flex: 1;
    padding: 34px 40px 36px;
    min-width: 0;
}

@media not all and (min-width: 1280px) {
    .fd-auth[b-fid3yuxgjl] {
        grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    }

    .fd-auth__art-in[b-fid3yuxgjl] {
        padding: 28px 28px 32px;
    }

    .fd-auth__panel[b-fid3yuxgjl] {
        padding: 28px 28px;
    }
}

@media not all and (min-width: 1024px) {
    .fd-auth[b-fid3yuxgjl] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "panel" "art";
        min-height: 0;
    }

    .fd-auth__panel[b-fid3yuxgjl] {
        padding: 20px var(--fd-gutter) 28px;
        justify-content: flex-start;
    }

    .fd-auth__art-in[b-fid3yuxgjl] {
        padding: 24px var(--fd-gutter) 28px;
    }
}
/* /Components/FrontDoor/FdAuthSteps.razor.rz.scp.css */
.fd-steps[b-6f8wyx1lw8] {
    counter-reset: fd-step;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-steps__item[b-6f8wyx1lw8] {
    counter-increment: fd-step;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-text-4);
    white-space: nowrap;
}

/* The line between two steps. */
.fd-steps__item + .fd-steps__item[b-6f8wyx1lw8]::before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-text-dark);
    flex: none;
}

.fd-steps__item.is-done + .fd-steps__item[b-6f8wyx1lw8]::before {
    background: linear-gradient(90deg, var(--fd-gold-dark), var(--fd-gold));
}

.fd-steps__hex[b-6f8wyx1lw8] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 27px;
    flex: none;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-slate);
    color: var(--fd-text-4);
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 12px;
}

.fd-steps__item:not(.is-done) .fd-steps__hex[b-6f8wyx1lw8]::after {
    content: counter(fd-step);
}

.fd-steps__hex[b-6f8wyx1lw8]  .material-icons {
    font-size: 14px;
}

.fd-steps__item.is-done[b-6f8wyx1lw8] {
    color: var(--fd-text-3);
}

.fd-steps__item.is-done .fd-steps__hex[b-6f8wyx1lw8] {
    background: linear-gradient(180deg, var(--fd-gold), var(--fd-gold-darker));
    color: var(--fd-on-gold);
}

.fd-steps__item.is-now[b-6f8wyx1lw8] {
    color: var(--fd-gold);
}

.fd-steps__item.is-now .fd-steps__hex[b-6f8wyx1lw8] {
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
}
/* /Components/FrontDoor/FdBreadcrumb.razor.rz.scp.css */
.fd-crumbs ol[b-nykq80v2iz] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--fd-text-4);
}

.fd-crumbs li[b-nykq80v2iz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fd-crumbs a[b-nykq80v2iz] {
    display: inline-flex;
    align-items: center;
    min-height: var(--fd-touch);
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: none;
}

.fd-crumbs a:hover[b-nykq80v2iz] {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fd-crumbs li[b-nykq80v2iz]  .fd-crumbs__sep {
    font-size: 16px;
    color: var(--fd-text-5);
}

.fd-crumbs [aria-current][b-nykq80v2iz] {
    color: var(--fd-text-2);
    font-weight: 600;
}

/* On touch a short crumb ("Home") is still a 44px target: an empty layer widens the link's hit area past its word
   without moving the trail. */
@media (pointer: coarse) {
    .fd-crumbs a[b-nykq80v2iz] {
        position: relative;
        min-height: 44px;
    }

    .fd-crumbs a[b-nykq80v2iz]::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: -6px;
        right: -6px;
    }
}
/* /Components/FrontDoor/FdCheck.razor.rz.scp.css */
/* The row may carry the legacy smoke hook class "terms-checkbox-container", which auth.css styles for the old sign-up
   card (margins, a flex label): the selectors below are written to win over those. */
.fd-check[b-93by2jlhsq] {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

.fd-check .fd-check__box[b-93by2jlhsq] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    flex: none;
    border-radius: 6px;
    border: 1.5px solid color-mix(in srgb, var(--fd-text-4) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bg) 70%, transparent);
    cursor: pointer;
}

.fd-check__box:checked[b-93by2jlhsq] {
    background: var(--fd-gold-grad);
    border-color: var(--fd-gold);
}

/* The tick: two borders of a rotated box (no glyph). */
.fd-check__box:checked[b-93by2jlhsq]::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--fd-on-gold);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.fd-check.is-bad .fd-check__box[b-93by2jlhsq] {
    border-color: var(--fd-bad);
}

/* The label fills the row (44px tall, to the row's end), so the whole row beside the box is its tap target. */
.fd-check .fd-check__label[b-93by2jlhsq] {
    display: block;
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 44px;
    cursor: pointer;
    padding-top: 1px;
}

.fd-check__label[b-93by2jlhsq]  a {
    color: var(--fd-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fd-check__err[b-93by2jlhsq] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -8px 0 0 34px;
    font-size: 13px;
    color: var(--fd-bad-text);
}

.fd-check__err[b-93by2jlhsq]  .material-icons {
    font-size: 16px;
    color: var(--fd-bad);
}
/* /Components/FrontDoor/FdClassStandee.razor.rz.scp.css */
/* The class color arrives as --fd-cc from the fd-cc-{class} class (css/front-door.css). Rings, tops and glows use
   it raw; text in it is mixed toward white. */
.fd-std[b-j0f81aw8d1] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px 8px 16px;
    border-radius: 999px 999px 16px 16px;
    background: linear-gradient(180deg, var(--fd-card-top), var(--fd-card-bottom));
    border: 1px solid var(--fd-line);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--fd-shadow-ink) 20%, transparent);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out, transform 0.15s ease-out;
}

.fd-std:hover[b-j0f81aw8d1] {
    border-color: color-mix(in srgb, var(--fd-cc) 70%, transparent);
    transform: translateY(-1px);
}

.fd-std.is-selected[b-j0f81aw8d1] {
    border-color: var(--fd-cc);
    box-shadow: 0 0 0 1px var(--fd-cc), 0 16px 36px color-mix(in srgb, var(--fd-shadow-ink) 40%, transparent);
}

.fd-std__art[b-j0f81aw8d1] {
    position: relative;
    display: block;
    aspect-ratio: 10 / 12.5;
    overflow: hidden;
    border-radius: 999px 999px 10px 10px;
    background: var(--fd-art-well);
    border: 2px solid var(--fd-cc);
}

.fd-std__art[b-j0f81aw8d1]  .fd-std__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
}

.fd-std__art[b-j0f81aw8d1]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fd-bg) 80%, transparent));
    pointer-events: none;
}

.fd-std__lock[b-j0f81aw8d1] {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 2;
    transform: translateX(-50%);
}

.fd-std__bd[b-j0f81aw8d1] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 8px 0;
    min-width: 0;
}

.fd-std__ey[b-j0f81aw8d1] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--fd-cc) 70%, var(--fd-text));
}

.fd-std__nm[b-j0f81aw8d1] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 19px;
    line-height: 1.1;
    color: var(--fd-cream);
}

.fd-std__tg[b-j0f81aw8d1] {
    margin: 0;
    min-height: 36px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--fd-text-3);
}

.fd-std__mt[b-j0f81aw8d1] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 10px;
    margin-top: 4px;
    font-size: 11.5px;
}

.fd-std__k[b-j0f81aw8d1] {
    color: var(--fd-text-4);
    font-weight: 600;
}

.fd-std__v[b-j0f81aw8d1] {
    color: var(--fd-text-2);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Row: the phone list and related classes ---------- */
.fd-std--row[b-j0f81aw8d1] {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 8px 12px 8px 8px;
    border-radius: 12px;
}

.fd-std--row:hover[b-j0f81aw8d1] {
    transform: none;
}

.fd-std--row .fd-std__art[b-j0f81aw8d1] {
    width: 52px;
    height: 60px;
    flex: none;
    aspect-ratio: auto;
    border-radius: 999px 999px 7px 7px;
}

.fd-std--row .fd-std__art[b-j0f81aw8d1]::after {
    display: none;
}

/* In a row the lock sits at the row's end (the markup moves it out of the art). */
.fd-std--row .fd-std__lock[b-j0f81aw8d1] {
    position: static;
    transform: none;
    align-self: flex-start;
    margin-top: 4px;
}

.fd-std--row .fd-std__bd[b-j0f81aw8d1] {
    flex: 1;
    padding: 0;
    gap: 3px;
}

.fd-std--row .fd-std__nm[b-j0f81aw8d1] {
    font-size: 16px;
}

.fd-std--row .fd-std__tg[b-j0f81aw8d1] {
    min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
    .fd-std[b-j0f81aw8d1] {
        transition: none;
    }

    .fd-std:hover[b-j0f81aw8d1] {
        transform: none;
    }
}
/* /Components/FrontDoor/FdCta.razor.rz.scp.css */
.fd-cta[b-grjjh7zli8] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 64px;
    padding: 8px 32px;
    border-radius: 12px;
    border: none;
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    box-shadow: var(--fd-shadow-gold);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    flex: none;
    transition: box-shadow 0.15s ease-out;
}

.fd-cta:hover[b-grjjh7zli8] {
    box-shadow: 0 14px 40px color-mix(in srgb, var(--fd-gold) 40%, transparent);
}

.fd-cta__label[b-grjjh7zli8] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.fd-cta__label[b-grjjh7zli8]  .material-icons {
    font-size: 24px;
}

.fd-cta__sub[b-grjjh7zli8] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-on-gold-soft);
}

.fd-cta--block[b-grjjh7zli8] {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .fd-cta[b-grjjh7zli8] {
        padding: 8px 20px;
    }

    .fd-cta__label[b-grjjh7zli8] {
        font-size: 17px;
        white-space: normal;
    }

    .fd-cta__sub[b-grjjh7zli8] {
        font-size: 11.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-cta[b-grjjh7zli8] {
        transition: none;
    }
}
/* /Components/FrontDoor/FdDone.razor.rz.scp.css */
.fd-done[b-tkbw465mtf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 24px;
    text-align: center;
    border-radius: var(--fd-r-band);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-good-deep) 50%, transparent), var(--fd-card-bottom) 70%);
    border: 1px solid color-mix(in srgb, var(--fd-good) 45%, transparent);
    color: var(--fd-text-3);
}

.fd-done[b-tkbw465mtf]  .fd-done__icon {
    font-size: 56px;
    color: var(--fd-good);
}

.fd-done__title[b-tkbw465mtf] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 24px;
    color: var(--fd-cream);
}

.fd-done__body[b-tkbw465mtf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.6;
}

.fd-done__body[b-tkbw465mtf]  p {
    margin: 0;
}

.fd-done__body[b-tkbw465mtf]  strong {
    color: var(--fd-gold-soft);
}

.fd-done--compact[b-tkbw465mtf] {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    text-align: left;
    border-radius: var(--fd-r-card);
}

.fd-done--compact[b-tkbw465mtf]  .fd-done__icon {
    font-size: 22px;
}

.fd-done--compact .fd-done__body[b-tkbw465mtf] {
    align-items: flex-start;
    font-weight: 700;
    color: var(--fd-text);
}
/* /Components/FrontDoor/FdFaq.razor.rz.scp.css */
.fd-faq[b-b3ditaylot] {
    counter-reset: fd-faq;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px 16px;
    align-items: start;
}

.fd-faq--two[b-b3ditaylot] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media not all and (min-width: 1024px) {
    .fd-faq--two[b-b3ditaylot] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.fd-faq__stack[b-b3ditaylot] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.fd-faq__item[b-b3ditaylot] {
    counter-increment: fd-faq;
    border-radius: 12px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.fd-faq__item[open][b-b3ditaylot] {
    border-color: color-mix(in srgb, var(--fd-gold) 32%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 6%, transparent), var(--fd-surface));
}

.fd-faq__q[b-b3ditaylot] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 10px 16px;
    list-style: none;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--fd-text);
}

.fd-faq__q[b-b3ditaylot]::-webkit-details-marker {
    display: none;
}

/* The reply number: a CSS counter, not text. */
.fd-faq__q[b-b3ditaylot]::before {
    content: counter(fd-faq);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 7px;
    border: 1px solid color-mix(in srgb, var(--fd-text-4) 40%, transparent);
    background: color-mix(in srgb, var(--fd-bg) 60%, transparent);
    color: var(--fd-text-2);
    font-size: 12px;
    font-weight: 800;
}

.fd-faq__item[open] > .fd-faq__q[b-b3ditaylot]::before {
    color: var(--fd-on-gold);
    background: linear-gradient(180deg, var(--fd-gold-pale), var(--fd-gold-dark));
    border-color: var(--fd-gold-dark);
}

.fd-faq__qtext[b-b3ditaylot] {
    flex: 1;
    min-width: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: 1.35;
}

.fd-faq__q[b-b3ditaylot]  .fd-faq__chev {
    color: var(--fd-gold-text);
    transition: transform 0.18s ease-out;
}

.fd-faq__item[open] > .fd-faq__q[b-b3ditaylot]  .fd-faq__chev {
    transform: rotate(180deg);
}

.fd-faq__a[b-b3ditaylot] {
    padding: 0 18px 18px 56px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--fd-text-3);
}

.fd-faq__a[b-b3ditaylot]  a {
    color: var(--fd-gold-text);
    font-weight: 600;
}

@media (max-width: 768px) {
    .fd-faq__q[b-b3ditaylot] {
        min-height: 60px;
        padding: 10px 14px;
        font-size: 15px;
    }

    .fd-faq__a[b-b3ditaylot] {
        padding: 0 14px 16px 54px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-faq__q[b-b3ditaylot]  .fd-faq__chev {
        transition: none;
    }
}
/* /Components/FrontDoor/FdField.razor.rz.scp.css */
.fd-field[b-s7ofludara] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.fd-field__label[b-s7ofludara] {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-field__box[b-s7ofludara] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 10px 0 14px;
    border-radius: var(--fd-r-input);
    border: 1px solid color-mix(in srgb, var(--fd-text-4) 35%, transparent);
    background: var(--fd-well);
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.fd-field__box:focus-within[b-s7ofludara] {
    border-color: var(--fd-gold);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fd-gold) 20%, transparent);
}

.fd-field.is-ok .fd-field__box[b-s7ofludara] {
    border-color: color-mix(in srgb, var(--fd-good) 60%, transparent);
}

.fd-field.is-bad .fd-field__box[b-s7ofludara] {
    border-color: var(--fd-bad);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fd-bad) 14%, transparent);
}

.fd-field__input[b-s7ofludara] {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--fd-text);
    font-family: var(--fd-font-ui);
    font-size: 16px;
}

.fd-field__input[b-s7ofludara]::placeholder {
    color: var(--fd-text-5);
}

.fd-field__input:disabled[b-s7ofludara] {
    opacity: 0.55;
}

/* The ring is on the box (:focus-within), so the input itself draws none. */
.fd-field__input:focus-visible[b-s7ofludara] {
    outline: none;
}

.fd-field__box[b-s7ofludara]  .fd-field__ok {
    font-size: 20px;
    color: var(--fd-good);
}

/* The button also carries the legacy smoke hook class "password-toggle", which auth.css positions absolutely for the
   old login card: undo that here so the button sits in the box's row. */
.fd-field__eye[b-s7ofludara] {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -4px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--fd-text-4);
    cursor: pointer;
    flex: none;
}

.fd-field__eye:hover[b-s7ofludara],
.fd-field__eye[aria-pressed="true"][b-s7ofludara] {
    color: var(--fd-text-2);
}

.fd-field__help[b-s7ofludara] {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--fd-text-4);
}

.fd-field__err[b-s7ofludara] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 13px;
    color: var(--fd-bad-text);
}

.fd-field__err[b-s7ofludara]  .material-icons {
    font-size: 16px;
    color: var(--fd-bad);
}

@media (prefers-reduced-motion: reduce) {
    .fd-field__box[b-s7ofludara] {
        transition: none;
    }
}
/* /Components/FrontDoor/FdFigure.razor.rz.scp.css */
.fd-fig[b-uxm5nznbsf] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    min-width: 0;
}

.fd-fig__frame[b-uxm5nznbsf] {
    position: relative;
    overflow: hidden;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-art-well);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--fd-shadow-ink) 45%, transparent);
}

.fd-fig--gold .fd-fig__frame[b-uxm5nznbsf] {
    border-color: color-mix(in srgb, var(--fd-gold) 35%, transparent);
}

.fd-fig__frame[b-uxm5nznbsf]  .fd-fig__img {
    display: block;
    width: 100%;
    height: auto;
}

.fd-fig--crop .fd-fig__frame[b-uxm5nznbsf] {
    height: var(--fd-fig-h, 262px);
}

.fd-fig--crop .fd-fig__frame[b-uxm5nznbsf]  .fd-fig__picture {
    display: block;
    height: 100%;
}

.fd-fig--crop .fd-fig__frame[b-uxm5nznbsf]  .fd-fig__img {
    height: 100%;
    object-fit: cover;
}

.fd-fig__cap[b-uxm5nznbsf] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--fd-text-4);
}

@media (max-width: 768px) {
    .fd-fig--crop .fd-fig__frame[b-uxm5nznbsf] {
        height: var(--fd-fig-h-phone, 186px);
    }

    .fd-fig__cap[b-uxm5nznbsf] {
        font-size: 12.5px;
    }
}
/* /Components/FrontDoor/FdFinalCta.razor.rz.scp.css */
/* The band itself is FdHearth's; these are the copy side's pieces. */
.fd-final__title[b-9pih458fnc] {
    font-size: calc(var(--fd-h2) * 1.1);
}

.fd-final__body[b-9pih458fnc] {
    color: var(--fd-text-2);
    max-width: 62ch;
}

.fd-final__note[b-9pih458fnc] {
    max-width: 62ch;
}

.fd-final__note a[b-9pih458fnc] {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* /Components/FrontDoor/FdFooter.razor.rz.scp.css */
.fd-foot[b-0vvseqqojb] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px 48px;
    /* Edge to edge, its content in the page's 1440px column like .fd-wrap (A-Home-1920). */
    padding: 32px max(var(--fd-gutter), calc((100% - var(--fd-max)) / 2)) 36px;
    background: var(--fd-bar);
    border-top: 1px solid var(--fd-line);
    color: var(--fd-text-4);
}

/* Under the edge-to-edge auth shell the footer spans the width too (A-Signup-1920). */
.fd-root:has(.fd-auth) .fd-foot[b-0vvseqqojb] {
    padding-left: var(--fd-gutter);
    padding-right: var(--fd-gutter);
}

.fd-foot__brand[b-0vvseqqojb] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
    min-width: 0;
}

.fd-foot__logo[b-0vvseqqojb] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fd-foot__logo img[b-0vvseqqojb] {
    width: 34px;
    height: 34px;
}

.fd-foot__word[b-0vvseqqojb] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.12em;
    color: var(--fd-gold);
}

.fd-foot__rpg[b-0vvseqqojb] {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--fd-text-4);
}

.fd-foot__line[b-0vvseqqojb] {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--fd-text-4);
}

.fd-foot__nav[b-0vvseqqojb] {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.fd-foot__group[b-0vvseqqojb] {
    display: flex;
    flex-direction: column;
}

.fd-foot__group a[b-0vvseqqojb] {
    display: inline-flex;
    align-items: center;
    min-height: var(--fd-touch);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--fd-text-3);
    text-decoration: none;
    white-space: nowrap;
}

.fd-foot__group a:hover[b-0vvseqqojb] {
    color: var(--fd-gold-soft);
}

@media (max-width: 768px) {
    .fd-foot[b-0vvseqqojb] {
        flex-direction: column;
        gap: 20px;
        padding: 24px var(--fd-gutter) 28px;
    }

    .fd-foot__nav[b-0vvseqqojb] {
        gap: 24px;
    }
}
/* /Components/FrontDoor/FdHearth.razor.rz.scp.css */
.fd-hearth[b-nigfvyavu3] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--fd-ember) 35%, transparent);
    background:
        radial-gradient(ellipse 60% 90% at 24% 58%, color-mix(in srgb, var(--fd-ember) 26%, transparent), transparent 70%),
        radial-gradient(ellipse 45% 110% at 88% 50%, color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 10%, transparent), transparent 70%),
        linear-gradient(180deg, var(--fd-hearth-top), var(--fd-hearth-bottom) 70%);
}

.fd-hearth__in[b-nigfvyavu3] {
    display: grid;
    grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    padding: 40px 44px 28px;
}

.fd-hearth__in--solo[b-nigfvyavu3] {
    grid-template-columns: minmax(0, 1fr);
}

.fd-hearth__film[b-nigfvyavu3] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--fd-r-glass);
    background: var(--fd-forge-black);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 30%, transparent);
    box-shadow: 0 0 60px color-mix(in srgb, var(--fd-ember) 25%, transparent), var(--fd-shadow);
}

.fd-hearth__film[b-nigfvyavu3]  .fd-hearth__still,
.fd-hearth__video[b-nigfvyavu3] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The forge mark: the hex-framed sword centred on the forge's black, whole (it is square; the panel is wide). */
.fd-hearth__film--mark[b-nigfvyavu3] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fd-hearth__film--mark[b-nigfvyavu3]  .fd-hearth__mark {
    width: auto;
    height: 92%;
    max-width: 100%;
    object-fit: contain;
}

.fd-hearth__video[b-nigfvyavu3] {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.fd-hearth__film.is-playing .fd-hearth__video[b-nigfvyavu3],
.fd-hearth__film.is-done .fd-hearth__video[b-nigfvyavu3] {
    opacity: 1;
}

.fd-hearth__copy[b-nigfvyavu3] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.fd-hearth__after[b-nigfvyavu3] {
    padding: 0 44px 40px;
}

@media not all and (min-width: 1280px) {
    .fd-hearth__in[b-nigfvyavu3] {
        gap: 32px;
        padding: 32px 32px 24px;
    }

    .fd-hearth__after[b-nigfvyavu3] {
        padding: 0 32px 32px;
    }
}

@media (max-width: 1024px) {
    .fd-hearth__in[b-nigfvyavu3] {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fd-hearth[b-nigfvyavu3] {
        border-radius: var(--fd-r-band);
    }

    .fd-hearth__in[b-nigfvyavu3] {
        padding: 18px 16px 20px;
        gap: 14px;
    }

    .fd-hearth__after[b-nigfvyavu3] {
        padding: 0 16px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-hearth__video[b-nigfvyavu3] {
        transition: none;
    }
}
/* /Components/FrontDoor/FdHeroChip.razor.rz.scp.css */
/* The public bar's hero chip and its account menu (board BL-Public, kit bl-fdhero and bl-pop). Above 960 only: at 960
   and below the bar's menu sheet holds the hero row and the account rows (FdSiteBar.razor.css). At rest the chip is
   quiet slate (no gold but the hero's XP ring and level hex); open, its rim turns gold. */
.fd-acct[b-ompiu46crr] {
    position: relative;
    display: flex;
    flex: none;
}

.fd-acct__chip[b-ompiu46crr] {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    margin: 0;
    padding: 0 8px 0 4px;
    border: 1px solid var(--fd-line-strong);
    border-radius: 12px;
    background: var(--fd-surface);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.fd-acct__chip:hover[b-ompiu46crr] {
    border-color: var(--fd-line-gold-strong);
}

.fd-acct__chip.is-open[b-ompiu46crr] {
    border-color: var(--fd-gold);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--fd-gold) 30%, transparent);
}

.fd-acct__nohero[b-ompiu46crr] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: none;
    box-sizing: border-box;
    border-radius: 50%;
    border: 1.5px dashed color-mix(in srgb, var(--fd-text-4) 55%, transparent);
    color: var(--fd-text-4);
}

.fd-acct__nohero[b-ompiu46crr]  .material-icons {
    font-size: 21px;
}

.fd-acct__tx[b-ompiu46crr] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fd-acct__name[b-ompiu46crr] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fd-cream);
    font-family: var(--fd-font-display);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

.fd-acct__line[b-ompiu46crr] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fd-text-4);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.1;
}

.fd-acct__chip[b-ompiu46crr]  .fd-acct__chev {
    font-size: 20px;
    color: var(--fd-text-4);
}

/* ---------- The menu: a disclosure under the chip, its caret on the chip's middle ---------- */
.fd-acct__pop[b-ompiu46crr] {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 45;
}

.fd-acct__pop[hidden][b-ompiu46crr] {
    display: none;
}

.fd-acct__pop[b-ompiu46crr]::before {
    content: "";
    position: absolute;
    top: 11px;
    left: calc(50% - 6px);
    z-index: 1;
    width: 12px;
    height: 12px;
    background: linear-gradient(var(--fd-card-top), var(--fd-card-top)), var(--fd-bar);
    border-left: 1px solid var(--fd-line-gold-strong);
    border-top: 1px solid var(--fd-line-gold-strong);
    transform: rotate(45deg);
}

.fd-acct__panel[b-ompiu46crr] {
    position: absolute;
    top: 17px;
    right: -26px;
    display: flex;
    flex-direction: column;
    width: 290px;
    box-sizing: border-box;
    border: 1px solid var(--fd-line-gold-strong);
    border-radius: var(--fd-r-glass);
    background: var(--fd-card), var(--fd-bar);
    box-shadow: 0 26px 70px color-mix(in srgb, var(--fd-shadow-ink) 62%, transparent);
}

.fd-acct__panel--nohero[b-ompiu46crr] {
    width: 260px;
}

.fd-acct__head[b-ompiu46crr] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 10px;
    border-bottom: 1px solid var(--fd-line);
}

.fd-acct__head-tx[b-ompiu46crr] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fd-acct__head-name[b-ompiu46crr] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fd-cream);
    font-family: var(--fd-font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
}

.fd-acct__head-line[b-ompiu46crr] {
    color: var(--fd-text-4);
    font-size: 12px;
    line-height: 1.3;
}

.fd-acct__head-line em[b-ompiu46crr] {
    color: var(--fd-gold-soft);
    font-family: var(--fd-font-voice);
    font-size: 13.5px;
}

.fd-acct__head--label[b-ompiu46crr] {
    padding: 12px 12px 10px 16px;
    color: var(--fd-gold-text);
    font-family: var(--fd-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.fd-acct__rows[b-ompiu46crr] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
}

.fd-acct__item[b-ompiu46crr] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--fd-text-2);
    font-family: var(--fd-font-ui);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.fd-acct__item:hover[b-ompiu46crr] {
    background: color-mix(in srgb, var(--fd-text-4) 10%, transparent);
}

.fd-acct__item:focus-visible[b-ompiu46crr] {
    outline-offset: -2px;
}

.fd-acct__item[b-ompiu46crr]  .fd-acct__ico {
    font-size: 20px;
    color: var(--fd-text-4);
}

.fd-acct__item--out[b-ompiu46crr],
.fd-acct__item--out[b-ompiu46crr]  .fd-acct__ico {
    color: var(--fd-bad-text);
}

.fd-acct__sep[b-ompiu46crr] {
    height: 1px;
    margin: 6px;
    background: var(--fd-line);
}

@media (pointer: coarse) {
    .fd-acct__item[b-ompiu46crr] {
        min-height: 44px;
    }
}

/* Below 1280 the chip drops its two lines (the game bar's crest does the same, Docs/LRPG_GAME_MENU.md 5.1): with the four
   links, the phase chip and PLAY GAME the full chip ran the bar past its edge from 961 to about 1090. Its name keeps both lines. */
@media (width < 1280px) {
    .fd-acct__tx[b-ompiu46crr] {
        display: none;
    }

    .fd-acct__chip[b-ompiu46crr] {
        gap: 4px;
    }
}

/* At 960 and below the bar's menu sheet carries the hero and the account rows instead (PLAY GAME stays in the bar). */
@media (max-width: 960px) {
    .fd-acct[b-ompiu46crr] {
        display: none;
    }
}

@media (forced-colors: active) {
    .fd-acct__chip[b-ompiu46crr] {
        border-color: ButtonText;
    }

    .fd-acct__chip.is-open[b-ompiu46crr] {
        border-color: Highlight;
    }

    .fd-acct__panel[b-ompiu46crr] {
        border-color: CanvasText;
    }

    .fd-acct__item:hover[b-ompiu46crr] {
        outline: 1px solid Highlight;
    }
}
/* /Components/FrontDoor/FdHeroPortrait.razor.rz.scp.css */
/* The hero's portrait (kit m-ring, board BL-Public): a gold XP ring (--p, percent through the level) around the round
   portrait in its class rim (--fd-cc from the global fd-cc-{class}), the gold level hex at its lower right. */
.fd-hp[b-r1joqf3pfs] {
    --hp-d: 36px;
    position: relative;
    display: inline-block;
    flex: none;
    width: var(--hp-d);
    height: var(--hp-d);
    padding: 2px;
    box-sizing: border-box;
    border-radius: 50%;
    background: conic-gradient(var(--fd-gold) calc(var(--p, 0) * 1%), color-mix(in srgb, var(--fd-text-4) 22%, transparent) 0);
}

.fd-hp--head[b-r1joqf3pfs] {
    --hp-d: 40px;
}

.fd-hp__av[b-r1joqf3pfs] {
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--fd-cc, var(--fd-text-5));
    background: var(--fd-art-well);
    box-shadow: 0 0 0 2px var(--fd-panel);
}

.fd-hp__av img[b-r1joqf3pfs] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

.fd-hp__lv[b-r1joqf3pfs] {
    position: absolute;
    right: -6px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 18px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    font-family: var(--fd-font-display);
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
}

.fd-hp--head .fd-hp__lv[b-r1joqf3pfs] {
    width: 17px;
    height: 19px;
    font-size: 9px;
}

/* Forced colours drop the gradients: the ring becomes a plain CanvasText circle around the portrait. */
@media (forced-colors: active) {
    .fd-hp[b-r1joqf3pfs] {
        background: CanvasText;
    }
}
/* /Components/FrontDoor/FdReqs.razor.rz.scp.css */
.fd-reqs[b-cta5s4qmmk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 12px 14px;
    list-style: none;
    border-radius: 12px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.fd-reqs__item[b-cta5s4qmmk] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fd-text-4);
}

.fd-reqs__item[b-cta5s4qmmk]  .material-icons {
    font-size: 18px;
    color: var(--fd-text-5);
}

.fd-reqs__item.is-ok[b-cta5s4qmmk] {
    color: var(--fd-good-ink);
}

.fd-reqs__item.is-ok[b-cta5s4qmmk]  .material-icons {
    color: var(--fd-good);
}

.fd-reqs--inline[b-cta5s4qmmk] {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0;
    border: none;
    background: none;
}

.fd-reqs--inline .fd-reqs__item[b-cta5s4qmmk] {
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--fd-text-3);
    background: var(--fd-surface);
    border: 1px solid var(--fd-line-strong);
}

.fd-reqs--inline .fd-reqs__item.is-ok[b-cta5s4qmmk] {
    color: var(--fd-good-ink);
    background: color-mix(in srgb, var(--fd-good-deep) 45%, transparent);
    border-color: color-mix(in srgb, var(--fd-good) 50%, transparent);
}

.fd-reqs--inline .fd-reqs__item[b-cta5s4qmmk]  .material-icons {
    font-size: 16px;
}
/* /Components/FrontDoor/FdSceneHero.razor.rz.scp.css */
.fd-scene[b-tk4fcemtyq] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background: var(--fd-night);
}

.fd-scene[b-tk4fcemtyq]  .fd-scene__picture {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.fd-scene[b-tk4fcemtyq]  .fd-scene__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-scene__scrim[b-tk4fcemtyq] {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.fd-scene--left .fd-scene__scrim[b-tk4fcemtyq] {
    background:
        linear-gradient(90deg,
            color-mix(in srgb, var(--fd-night) 97%, transparent) 0%,
            color-mix(in srgb, var(--fd-night) 92%, transparent) 40%,
            color-mix(in srgb, var(--fd-night) 55%, transparent) 62%,
            color-mix(in srgb, var(--fd-night) 25%, transparent) 82%,
            color-mix(in srgb, var(--fd-night) 50%, transparent) 100%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--fd-bg) 70%, transparent) 0%,
            transparent 18%,
            transparent 72%,
            var(--fd-bg) 100%);
}

.fd-scene--street .fd-scene__scrim[b-tk4fcemtyq] {
    background:
        linear-gradient(90deg,
            color-mix(in srgb, var(--fd-night) 95%, transparent) 0%,
            color-mix(in srgb, var(--fd-night) 84%, transparent) 32%,
            color-mix(in srgb, var(--fd-night) 30%, transparent) 56%,
            color-mix(in srgb, var(--fd-night) 5%, transparent) 78%,
            color-mix(in srgb, var(--fd-night) 25%, transparent) 100%),
        linear-gradient(180deg,
            color-mix(in srgb, var(--fd-bg) 70%, transparent) 0%,
            transparent 15%,
            transparent 70%,
            var(--fd-bg) 100%);
}

.fd-scene--bottom .fd-scene__scrim[b-tk4fcemtyq] {
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--fd-bg) 15%, transparent) 0%,
        color-mix(in srgb, var(--fd-bg) 55%, transparent) 45%,
        color-mix(in srgb, var(--fd-bg) 97%, transparent) 100%);
}

.fd-scene--vignette .fd-scene__scrim[b-tk4fcemtyq] {
    background:
        radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--fd-bg) 15%, transparent), color-mix(in srgb, var(--fd-bg) 85%, transparent) 75%),
        linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--fd-bg) 95%, transparent));
}

/* Phones read top to bottom: every scrim becomes a top-down one so the copy over the art always has its contrast. */
@media (max-width: 768px) {
    .fd-scene:is(.fd-scene--left, .fd-scene--street) .fd-scene__scrim[b-tk4fcemtyq] {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--fd-night) 88%, transparent) 0%,
            color-mix(in srgb, var(--fd-night) 82%, transparent) 40%,
            color-mix(in srgb, var(--fd-night) 55%, transparent) 62%,
            color-mix(in srgb, var(--fd-night) 60%, transparent) 80%,
            var(--fd-bg) 100%);
    }
}

.fd-scene__glow[b-tk4fcemtyq] {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
}

.fd-scene__glow--ember[b-tk4fcemtyq] {
    right: 4%;
    top: 36%;
    width: min(620px, 52vw);
    height: min(560px, 70%);
    background: radial-gradient(closest-side,
        color-mix(in srgb, var(--fd-ember) 42%, transparent),
        color-mix(in srgb, var(--fd-ember) 12%, transparent) 55%,
        transparent);
}

.fd-scene__glow--class[b-tk4fcemtyq] {
    right: 2%;
    top: 8%;
    width: min(560px, 46vw);
    height: 90%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 42%, transparent), transparent);
}

.fd-scene__content[b-tk4fcemtyq] {
    position: relative;
    flex: 1;
    min-width: 0;
}

.fd-scene--under-bar .fd-scene__content[b-tk4fcemtyq] {
    padding-top: var(--fd-bar-h);
}

.fd-scene__foot[b-tk4fcemtyq] {
    position: relative;
    z-index: 1;
}
/* /Components/FrontDoor/FdSectionHeader.razor.rz.scp.css */
.fd-sh[b-x40u9jhmlv] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: calc(var(--fd-gap) + 8px);
}

.fd-sh__tx[b-x40u9jhmlv] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: 780px;
}

.fd-sh__end[b-x40u9jhmlv] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    flex: none;
}

.fd-sh--center[b-x40u9jhmlv] {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fd-sh--center .fd-sh__tx[b-x40u9jhmlv] {
    align-items: center;
}

@media (max-width: 768px) {
    .fd-sh[b-x40u9jhmlv] {
        margin-bottom: 16px;
    }

    .fd-sh__end[b-x40u9jhmlv] {
        flex: 1 1 100%;
    }
}
/* /Components/FrontDoor/FdSiteBar.razor.rz.scp.css */
/* The site bar: solid by default; over a scene hero the shared rule in css/front-door.css makes it transparent and
   absolute. Desktop is a row; at 960px and below the nav is the menu sheet under the bar. */
.fd-bar[b-5uuex8qy6a] {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--fd-bar-h);
    /* The bar runs edge to edge; its content lines up with .fd-wrap (the page's 1440px column, A-Home-1920). */
    padding: 0 max(var(--fd-gutter), calc((100% - var(--fd-max)) / 2));
    background: var(--fd-bar);
    border-bottom: 1px solid color-mix(in srgb, var(--fd-gold) 12%, transparent);
}

/* The auth shell runs edge to edge (A-Signup-1920: art from the left edge, the form at the right), so its bar does too. */
.fd-root:has(.fd-auth) .fd-bar[b-5uuex8qy6a] {
    padding: 0 var(--fd-gutter);
}

.fd-bar__logo[b-5uuex8qy6a] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    min-height: 44px;
    text-decoration: none;
}

.fd-bar__logo img[b-5uuex8qy6a] {
    width: 34px;
    height: 34px;
}

.fd-bar__word[b-5uuex8qy6a] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.12em;
    color: var(--fd-gold);
    white-space: nowrap;
}

.fd-bar__rpg[b-5uuex8qy6a] {
    margin-top: 3px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--fd-text-4);
    white-space: nowrap;
}

.fd-bar__nav[b-5uuex8qy6a] {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.fd-bar__link[b-5uuex8qy6a] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--fd-text-3);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease-out;
}

.fd-bar__link:hover[b-5uuex8qy6a] {
    color: var(--fd-text);
}

.fd-bar__link.is-active[b-5uuex8qy6a] {
    color: var(--fd-gold-soft);
}

.fd-bar__link.is-active[b-5uuex8qy6a]::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--fd-gold);
}

.fd-bar__link[b-5uuex8qy6a]  .fd-bar__ico,
.fd-bar__link[b-5uuex8qy6a]  .fd-bar__go {
    display: none;
}

.fd-bar__acts[b-5uuex8qy6a] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex: none;
}

.fd-bar__phase[b-5uuex8qy6a] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid var(--fd-line-gold-strong);
    background: color-mix(in srgb, var(--fd-gold) 8%, transparent);
    color: var(--fd-gold-soft);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    white-space: nowrap;
    flex: none;
}

.fd-bar__end[b-5uuex8qy6a] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.fd-bar__toggle[b-5uuex8qy6a] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -8px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--fd-text-2);
    cursor: pointer;
}

.fd-bar__toggle[b-5uuex8qy6a]  .material-icons {
    font-size: 26px;
}

/* ---------- 960 and below: the menu sheet ---------- */
@media (max-width: 960px) {
    .fd-bar[b-5uuex8qy6a] {
        gap: 10px;
    }

    .fd-bar__end[b-5uuex8qy6a] {
        margin-left: auto;
    }

    .fd-bar__toggle[b-5uuex8qy6a] {
        display: inline-flex;
    }

    .fd-bar__nav[b-5uuex8qy6a] {
        position: absolute;
        top: var(--fd-bar-h);
        left: 0;
        right: 0;
        z-index: 40;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px var(--fd-gutter) 16px;
        background: var(--fd-bar);
        border-bottom: 1px solid var(--fd-line-gold);
        box-shadow: 0 24px 50px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
    }

    .fd-bar__nav.is-open[b-5uuex8qy6a] {
        display: flex;
        animation: fd-sheet-in-b-5uuex8qy6a 0.22s ease-out;
    }

    .fd-bar__link[b-5uuex8qy6a] {
        height: auto;
        min-height: 52px;
        padding: 0;
        border-radius: 0;
        border-bottom: 1px solid var(--fd-line);
        font-size: 15px;
        font-weight: 700;
        color: var(--fd-text-2);
    }

    .fd-bar__link.is-active[b-5uuex8qy6a]::after {
        display: none;
    }

    .fd-bar__link[b-5uuex8qy6a]  .fd-bar__ico {
        display: inline-block;
        font-size: 22px;
        color: var(--fd-gold-text);
    }

    .fd-bar__link[b-5uuex8qy6a]  .fd-bar__go {
        display: inline-block;
        margin-left: auto;
        font-size: 22px;
        color: var(--fd-text-5);
    }

    .fd-bar__acts[b-5uuex8qy6a] {
        margin-left: 0;
        padding-top: 14px;
    }

    .fd-bar__acts .fd-bar__login[b-5uuex8qy6a] {
        flex: 1;
    }
}

/* ---------- Signed in, 960 and below: the hero row heads the sheet, the account rows close it ----------
   (Docs/LRPG_GAME_MENU.md 5.8, board BL-Public section 3). Above 960 the hero chip (FdHeroChip) carries both, so the
   rows never show there, even with the sheet left open across a resize. The bar itself is unchanged. */
.fd-bar__hero[b-5uuex8qy6a],
.fd-bar__account[b-5uuex8qy6a] {
    display: none;
}

@media (max-width: 960px) {
    .fd-bar__hero[b-5uuex8qy6a] {
        display: flex;
        align-items: center;
        gap: 9px;
        min-height: 60px;
        margin: 4px 0 6px;
        padding: 0 12px 0 8px;
        box-sizing: border-box;
        border: 1px solid var(--fd-line-strong);
        border-radius: 12px;
        background: var(--fd-surface);
        text-decoration: none;
    }

    .fd-bar__hero-tx[b-5uuex8qy6a] {
        display: flex;
        flex-direction: column;
        gap: 3px;
        flex: 1;
        min-width: 0;
    }

    .fd-bar__hero-name[b-5uuex8qy6a] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: var(--fd-cream);
        font-family: var(--fd-font-display);
        font-size: 13px;
        font-weight: 700;
        line-height: 1.1;
    }

    .fd-bar__hero-line[b-5uuex8qy6a] {
        color: var(--fd-text-4);
        font-size: 11.5px;
        font-weight: 500;
        line-height: 1.1;
    }

    .fd-bar__hero[b-5uuex8qy6a]  .fd-bar__hero-go {
        font-size: 20px;
        color: var(--fd-text-4);
    }

    /* With no hero the head row is the no-hero chip at full width (board BL-Public 3): the dashed account ring and
       "Your account" / "No hero yet", not a link. */
    .fd-bar__hero-ava[b-5uuex8qy6a] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        flex: none;
        box-sizing: border-box;
        border-radius: 50%;
        border: 1.5px dashed color-mix(in srgb, var(--fd-text-4) 55%, transparent);
        color: var(--fd-text-4);
    }

    .fd-bar__hero-ava[b-5uuex8qy6a]  .material-icons {
        font-size: 21px;
    }

    .fd-bar__account[b-5uuex8qy6a] {
        display: flex;
        flex-direction: column;
        margin-top: 14px;
        border-top: 1px solid color-mix(in srgb, var(--fd-gold) 22%, transparent);
    }

    .fd-bar__account-label[b-5uuex8qy6a] {
        padding: 12px 0 4px;
        color: var(--fd-text-4);
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: 0.14em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .fd-bar__account-row[b-5uuex8qy6a] {
        display: flex;
        align-items: center;
        gap: 14px;
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        border: none;
        border-bottom: 1px solid var(--fd-line);
        background: transparent;
        color: var(--fd-text-2);
        font-family: var(--fd-font-ui);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }

    .fd-bar__account-row[b-5uuex8qy6a]  .fd-bar__account-ico {
        font-size: 22px;
        color: var(--fd-text-4);
    }

    .fd-bar__account-row--out[b-5uuex8qy6a],
    .fd-bar__account-row--out[b-5uuex8qy6a]  .fd-bar__account-ico {
        color: var(--fd-bad-text);
    }

    .fd-bar__hero[hidden][b-5uuex8qy6a],
    .fd-bar__account[hidden][b-5uuex8qy6a] {
        display: none;
    }
}

@media (max-width: 480px) {
    .fd-bar__rpg[b-5uuex8qy6a] {
        display: none;
    }

    .fd-bar__cta[b-5uuex8qy6a] {
        font-size: 12px;
    }
}

@keyframes fd-sheet-in-b-5uuex8qy6a {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-bar__link[b-5uuex8qy6a] {
        transition: none;
    }

    .fd-bar__nav.is-open[b-5uuex8qy6a] {
        animation: none;
    }
}
/* /Components/FrontDoor/FdStickyCta.razor.rz.scp.css */
/* Phones only. Fixed over the safe area; slides in when front-door.js adds .is-shown. */
.fd-sticky[b-j4m4yly8vh] {
    display: none;
}

@media (max-width: 768px) {
    .fd-sticky[b-j4m4yly8vh] {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: var(--fd-sticky-h);
        box-sizing: border-box;
        padding: 10px var(--fd-gutter) calc(14px + env(safe-area-inset-bottom, 0px));
        background: var(--fd-bar);
        border-top: 1px solid var(--fd-line-gold);
        box-shadow: 0 -14px 30px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent);
        transform: translateY(110%);
        visibility: hidden;
        transition: transform 0.22s ease-out, visibility 0s linear 0.22s;
    }

    .fd-sticky.is-shown[b-j4m4yly8vh] {
        transform: none;
        visibility: visible;
        transition: transform 0.22s ease-out, visibility 0s linear 0s;
    }
}

.fd-sticky__lead[b-j4m4yly8vh] {
    display: flex;
    flex: none;
}

.fd-sticky__tx[b-j4m4yly8vh] {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--fd-text-4);
}

.fd-sticky__tx b[b-j4m4yly8vh] {
    display: block;
    overflow: hidden;
    font-size: 13.5px;
    color: var(--fd-text);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* A bar with no line under its name (the guides hub, the blog: the page's h1) lets the name take two lines. */
.fd-sticky__tx b:only-child[b-j4m4yly8vh] {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* The bar keeps its 72px: the line under the name wraps to two lines at most. */
.fd-sticky__sub[b-j4m4yly8vh] {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.fd-sticky__cta[b-j4m4yly8vh] {
    margin-left: auto;
    padding: 0 12px;
    font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .fd-sticky[b-j4m4yly8vh],
    .fd-sticky.is-shown[b-j4m4yly8vh] {
        transition: none;
    }
}
/* /Components/FrontDoor/FdSubmit.razor.rz.scp.css */
.fd-submit[b-ut7kjv2o9s] {
    min-height: 52px;
    font-size: 15px;
}

.fd-submit[disabled][b-ut7kjv2o9s] {
    opacity: 0.75;
}

.fd-submit__spin[b-ut7kjv2o9s] {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    border: 2.5px solid color-mix(in srgb, var(--fd-on-gold) 25%, transparent);
    border-top-color: var(--fd-on-gold);
    animation: fd-spin-b-ut7kjv2o9s 0.8s linear infinite;
}

@keyframes fd-spin-b-ut7kjv2o9s {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-submit__spin[b-ut7kjv2o9s] {
        animation: none;
        border-color: var(--fd-on-gold);
        border-right-color: transparent;
    }
}
/* /Components/FrontDoor/FdSwipeRow.razor.rz.scp.css */
.fd-swipe[b-7u8squreyd] {
    display: grid;
    grid-template-columns: repeat(var(--fd-swipe-cols, 3), minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1024px) {
    .fd-swipe[b-7u8squreyd] {
        grid-template-columns: repeat(var(--fd-swipe-cols-tablet, 2), minmax(0, 1fr));
    }
}

/* Phones: one row, swiped sideways; the row runs to the screen edge so the next card peeks in. */
@media (max-width: 768px) {
    .fd-swipe[b-7u8squreyd] {
        display: flex;
        gap: 10px;
        margin-right: calc(var(--fd-gutter) * -1);
        padding-right: var(--fd-gutter);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0;
        scrollbar-width: none;
    }

    .fd-swipe[b-7u8squreyd]::-webkit-scrollbar {
        display: none;
    }

    .fd-swipe[b-7u8squreyd]  > * {
        flex: 0 0 var(--fd-swipe-w, 78%);
        scroll-snap-align: start;
    }

    .fd-swipe:focus-visible[b-7u8squreyd] {
        outline-offset: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-swipe[b-7u8squreyd] {
        scroll-behavior: auto;
    }
}
/* /Components/FrontDoor/FdToc.razor.rz.scp.css */
.fd-toc[b-tsxgghw6jw] {
    counter-reset: fd-toc;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 8px;
    border-radius: var(--fd-r-card);
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    min-width: 0;
}

.fd-toc__label[b-tsxgghw6jw] {
    padding: 0 10px 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-toc__toggle[b-tsxgghw6jw] {
    display: none;
}

.fd-toc__list[b-tsxgghw6jw] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-toc__list li[b-tsxgghw6jw] {
    counter-increment: fd-toc;
}

.fd-toc__list a[b-tsxgghw6jw] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--fd-text-3);
    text-decoration: none;
}

.fd-toc__list a[b-tsxgghw6jw]::before {
    content: counter(fd-toc);
    min-width: 18px;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 12px;
    color: var(--fd-gold-text);
}

.fd-toc__list a:hover[b-tsxgghw6jw] {
    color: var(--fd-text);
}

.fd-toc__list a.is-current[b-tsxgghw6jw] {
    background: color-mix(in srgb, var(--fd-gold) 8%, transparent);
    color: var(--fd-gold-soft);
    box-shadow: inset 2px 0 0 var(--fd-gold);
}

/* Below 1024: a disclosure. The button is the label; the list shows only when open. */
@media not all and (min-width: 1024px) {
    .fd-toc[b-tsxgghw6jw] {
        padding: 0;
        gap: 0;
    }

    .fd-toc__label[b-tsxgghw6jw] {
        display: none;
    }

    .fd-toc__toggle[b-tsxgghw6jw] {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 52px;
        padding: 0 14px;
        border: none;
        border-radius: var(--fd-r-card);
        background: transparent;
        color: var(--fd-text-2);
        font-family: var(--fd-font-ui);
        font-size: 14px;
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    .fd-toc__toggle[b-tsxgghw6jw]  .material-icons {
        font-size: 20px;
        color: var(--fd-gold-text);
    }

    .fd-toc__toggle-label[b-tsxgghw6jw] {
        flex: 1;
    }

    .fd-toc__count[b-tsxgghw6jw] {
        min-width: 22px;
        padding: 0 7px;
        border-radius: 11px;
        background: color-mix(in srgb, var(--fd-text-4) 18%, transparent);
        color: var(--fd-text-2);
        font-size: 11px;
        font-weight: 800;
        line-height: 22px;
        text-align: center;
    }

    .fd-toc__toggle[b-tsxgghw6jw]  .fd-toc__chev {
        transition: transform 0.18s ease-out;
    }

    .fd-toc.is-open .fd-toc__toggle[b-tsxgghw6jw]  .fd-toc__chev {
        transform: rotate(180deg);
    }

    .fd-toc__list[b-tsxgghw6jw] {
        display: none;
        padding: 0 8px 10px;
    }

    .fd-toc.is-open .fd-toc__list[b-tsxgghw6jw] {
        display: flex;
    }

    .fd-toc__list a[b-tsxgghw6jw] {
        min-height: 44px;
        font-size: 14px;
    }
}

/* A touch tablet at 1024px and up gets the rail too: its links keep the 44px touch target. */
@media (pointer: coarse) {
    .fd-toc__list a[b-tsxgghw6jw] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-toc__toggle[b-tsxgghw6jw]  .fd-toc__chev {
        transition: none;
    }
}
/* /Components/FrontDoor/FdTocLayout.razor.rz.scp.css */
.fd-toc-layout[b-d3mwc115ze] {
    display: grid;
    grid-template-columns: clamp(224px, 17vw, 268px) minmax(0, 1fr);
    gap: clamp(32px, 3.3vw, 64px);
    align-items: start;
}

.fd-toc-layout__rail[b-d3mwc115ze] {
    position: sticky;
    top: 24px;
    align-self: start;
    min-width: 0;
}

.fd-toc-layout__stick[b-d3mwc115ze] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
}

/* The rail never runs past the window: a long sections list scrolls inside its own box (the scroll spy keeps the
   marked entry in view there) and the rail card under it stays whole, its action included (a guide's 15 entries and
   its card are taller than a 1366x768 screen). */
.fd-toc-layout__stick[b-d3mwc115ze]  .fd-toc {
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
}

.fd-toc-layout__extra[b-d3mwc115ze] {
    flex: none;
}

.fd-toc-layout__body[b-d3mwc115ze] {
    min-width: 0;
}

.fd-toc-layout__far[b-d3mwc115ze] {
    display: none;
}

@media (min-width: 1280px) {
    .fd-toc-layout--far[b-d3mwc115ze] {
        grid-template-columns: clamp(224px, 17vw, 268px) minmax(0, 1fr) clamp(224px, 17vw, 268px);
    }

    .fd-toc-layout--far .fd-toc-layout__extra[b-d3mwc115ze] {
        display: none;
    }

    .fd-toc-layout__far[b-d3mwc115ze] {
        display: block;
        position: sticky;
        top: 24px;
        align-self: start;
        min-width: 0;
    }
}

@media not all and (min-width: 1024px) {
    .fd-toc-layout[b-d3mwc115ze] {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .fd-toc-layout__rail[b-d3mwc115ze] {
        position: static;
    }

    .fd-toc-layout__stick[b-d3mwc115ze] {
        max-height: none;
        overflow: visible;
    }

    .fd-toc-layout__stick[b-d3mwc115ze]  .fd-toc {
        overflow: visible;
    }

    .fd-toc-layout__extra[b-d3mwc115ze] {
        display: none;
    }
}
/* /Components/FrontDoor/FdVoice.razor.rz.scp.css */
.fd-voicebox[b-xlzw02jf03] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.fd-voice__seal[b-xlzw02jf03] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--fd-gold-pale), var(--fd-gold-dark) 60%, var(--fd-gold-darker));
    color: var(--fd-on-gold-soft);
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 22px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fd-gold-dark) 25%, transparent), 0 8px 20px color-mix(in srgb, var(--fd-shadow-ink) 45%, transparent);
}

.fd-voice__tx[b-xlzw02jf03] {
    min-width: 0;
}

.fd-voice__q[b-xlzw02jf03] {
    margin: 0;
}

.fd-voice__q p[b-xlzw02jf03] {
    margin: 0;
    font-family: var(--fd-font-voice);
    font-style: italic;
    font-size: 20px;
    line-height: 1.35;
    color: var(--fd-cream-2);
}

.fd-voice__cite[b-xlzw02jf03] {
    margin-top: 4px;
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

@media (max-width: 768px) {
    .fd-voice__q p[b-xlzw02jf03] {
        font-size: 18px;
    }
}
/* /Components/Hall/HallButton.razor.rz.scp.css */
/* HallButton (owner W1): the comps' button family (lourdin.css t-btn, t-btn-gold / -ghost / -quiet / -danger, the
   danger link) on design-system tokens. 44px by default; the small size is 36px with a mouse and 44px on touch.
   Focus is a visible gold ring. Only colors and shadows transition, and not under reduced motion. */

.hb[b-0tdsay0b7l] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.hb[b-0tdsay0b7l]  .mud-icon-root {
    width: 19px;
    height: 19px;
}

.hb:focus-visible[b-0tdsay0b7l] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hb--sm[b-0tdsay0b7l] {
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-lg);
    font-size: var(--gt-md);
}

.hb--sm[b-0tdsay0b7l]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hb--block[b-0tdsay0b7l] {
    display: flex;
    width: 100%;
}

.hb--gold[b-0tdsay0b7l] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.hb--gold:hover[b-0tdsay0b7l] {
    box-shadow: 0 10px 28px color-mix(in srgb, var(--color-primary) 34%, transparent);
}

.hb--ghost[b-0tdsay0b7l] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
}

.hb--ghost:hover[b-0tdsay0b7l] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.hb--quiet[b-0tdsay0b7l] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
}

.hb--quiet:hover[b-0tdsay0b7l] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
}

.hb--danger[b-0tdsay0b7l] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 30%, transparent);
    color: var(--color-danger-lightest);
}

.hb--danger:hover[b-0tdsay0b7l] {
    background: color-mix(in srgb, var(--color-danger-dark) 45%, transparent);
}

.hb--danger-solid[b-0tdsay0b7l] {
    background: var(--color-danger-dark);
    color: var(--color-text-primary);
}

.hb--danger-solid:hover[b-0tdsay0b7l] {
    background: var(--color-danger);
}

.hb--danger-link[b-0tdsay0b7l],
.hb--link[b-0tdsay0b7l] {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    font-size: var(--gt-md);
}

.hb--danger-link[b-0tdsay0b7l] {
    color: var(--color-danger-lighter);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hb--link[b-0tdsay0b7l] {
    gap: var(--space-xs);
    color: var(--color-primary-light);
}

.hb--link[b-0tdsay0b7l]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hb:disabled[b-0tdsay0b7l],
.hb[aria-disabled="true"][b-0tdsay0b7l] {
    opacity: 0.5;
    box-shadow: none;
    cursor: not-allowed;
}

@media (pointer: coarse) {
    .hb--sm[b-0tdsay0b7l] {
        min-height: 44px;
    }

    .hb--danger-link[b-0tdsay0b7l],
    .hb--link[b-0tdsay0b7l] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hb[b-0tdsay0b7l] {
        transition: none;
    }
}
/* /Components/Hall/HallDeleteForeverDialog.razor.rz.scp.css */
/* HallDeleteForeverDialog (owner W1, comp A-Manage panel 5): the red frame and bin, the warning, "Type <name> to
   confirm", a red-rimmed field, Keep and the solid red Delete forever (disabled until the name matches). Tokens only. */

.hdf-message[b-1v3ymqx5fg] {
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 13.5);
    line-height: 1.5;
}

.hdf-form[b-1v3ymqx5fg] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hdf-label[b-1v3ymqx5fg] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.hdf-label strong[b-1v3ymqx5fg] {
    color: var(--color-text-primary);
}

.hdf-input[b-1v3ymqx5fg] {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1.5px solid color-mix(in srgb, var(--color-danger-light) 60%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
}

.hdf-input:focus-visible[b-1v3ymqx5fg] {
    outline: 2px solid var(--color-danger-light);
    outline-offset: 1px;
}

.hdf-actions[b-1v3ymqx5fg] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: var(--space-xs);
}

.hdf-delete[b-1v3ymqx5fg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--color-danger-dark);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.hdf-delete[b-1v3ymqx5fg]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hdf-delete:focus-visible[b-1v3ymqx5fg] {
    outline: 2px solid var(--color-danger-light);
    outline-offset: 2px;
}

.hdf-delete:disabled[b-1v3ymqx5fg] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (pointer: coarse) {
    .hdf-delete[b-1v3ymqx5fg] {
        min-height: 44px;
    }
}
/* /Components/Hall/HallDeparted.razor.rz.scp.css */
/* HallDeparted (owner W1, comp A-Manage panel 4): rows like the phone's hero rows, portrait greyed, the days left in
   amber (red for the last two), Restore in a gold-rimmed square and Delete forever in a red-rimmed one (40px, 44px on
   touch). Tokens only. */

.hall-departed[b-53w7tuus4d] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.hdp-head[b-53w7tuus4d] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.hdp-heading[b-53w7tuus4d] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hdp-rule[b-53w7tuus4d] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hdp-caption[b-53w7tuus4d] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    white-space: nowrap;
}

.hdp-list[b-53w7tuus4d] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hdp-row[b-53w7tuus4d] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 90%, transparent), color-mix(in srgb, var(--color-bg-base) 96%, transparent));
}

.hdp-portrait[b-53w7tuus4d] {
    flex: none;
    width: 56px;
    height: 62px;
    overflow: hidden;
    border-radius: 999px 999px 8px 8px;
    background: var(--color-gray-900);
    box-shadow: inset 0 0 0 2px var(--hdp-class, var(--color-text-tertiary));
    filter: grayscale(0.6);
}

.hdp-portrait img[b-53w7tuus4d] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.hdp-text[b-53w7tuus4d] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.hdp-name[b-53w7tuus4d] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdp-line[b-53w7tuus4d],
.hdp-days[b-53w7tuus4d],
.hdp-reason[b-53w7tuus4d] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdp-line b[b-53w7tuus4d] {
    /* The class color mixed toward the text color: the raw color is under 4.5:1 for small text (Barbarian, Rogue, Monk). */
    color: color-mix(in srgb, var(--hdp-class, var(--color-text-light)) 50%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.hdp-tone--warning[b-53w7tuus4d] { color: var(--color-warning-lightest); }
.hdp-tone--danger[b-53w7tuus4d] { color: var(--color-danger-lighter); }

.hdp-reason[b-53w7tuus4d] {
    color: var(--color-text-light);
    font-style: italic;
}

.hdp-btn[b-53w7tuus4d] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-xl);
    background: transparent;
    cursor: pointer;
}

.hdp-btn[b-53w7tuus4d]  .mud-icon-root {
    width: 20px;
    height: 20px;
}

.hdp-btn:focus-visible[b-53w7tuus4d] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hdp-restore[b-53w7tuus4d] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
}

.hdp-restore[aria-disabled="true"][b-53w7tuus4d] {
    opacity: 0.45;
    cursor: not-allowed;
}

.hdp-delete[b-53w7tuus4d] {
    border: 1px solid color-mix(in srgb, var(--color-danger-light) 45%, transparent);
    color: var(--color-danger-lighter);
}

.hdp-note[b-53w7tuus4d] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

@media (pointer: coarse) {
    .hdp-btn[b-53w7tuus4d] {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Hall/HallDialog.razor.rz.scp.css */
/* HallDialog (owner W1): the hall's modal frame (comp A-Manage panels 2, 3 and 5). Navy panel, a gold rim (a red one
   for delete forever), over a scrim, above MudBlazor's app bar. The content styles itself in its own dialog's sheet.
   Tokens only; the one animation (a short rise) is off under reduced motion. */

.hd-layer[b-bmgqlssrey] {
    position: fixed;
    inset: 0;
    z-index: var(--mud-zindex-dialog, 1400);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.hd-scrim[b-bmgqlssrey] {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: color-mix(in srgb, var(--color-bg-base) 78%, transparent);
    cursor: default;
}

.hd-dialog[b-bmgqlssrey] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: min(100%, 440px);
    max-height: calc(100dvh - 2 * var(--space-lg));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    box-shadow: var(--shadow-xl), 0 30px 80px color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    animation: hd-rise-b-bmgqlssrey 160ms ease-out;
}

.hd-dialog.is-danger[b-bmgqlssrey] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
}

.hd-dialog:focus-visible[b-bmgqlssrey] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@keyframes hd-rise-b-bmgqlssrey {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 480px) {
    .hd-layer[b-bmgqlssrey] {
        align-items: flex-end;
        padding: var(--space-sm);
    }

    .hd-dialog[b-bmgqlssrey] {
        padding: var(--space-lg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hd-dialog[b-bmgqlssrey] {
        animation: none;
    }
}
/* /Components/Hall/HallDialogHead.razor.rz.scp.css */
/* HallDialogHead (owner W1): the small arch portrait in the class color, the Cinzel title, the subtitle. Tokens only. */

.hdh[b-7buods6pyi] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.hdh-portrait[b-7buods6pyi] {
    flex: none;
    width: 54px;
    height: 66px;
    overflow: hidden;
    border: 2px solid var(--hdh-class, var(--color-primary-dark));
    border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
    background: var(--color-gray-900);
}

.hdh-portrait img[b-7buods6pyi] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.hdh[b-7buods6pyi]  .hdh-icon {
    flex: none;
    width: 30px;
    height: 30px;
    color: var(--color-danger-light);
}

.hdh-text[b-7buods6pyi] {
    min-width: 0;
}

.hdh-title[b-7buods6pyi] {
    margin: 0;
    color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

.hdh-sub[b-7buods6pyi] {
    margin: 2px 0 0;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}
/* /Components/Hall/HallFirstVisit.razor.rz.scp.css */
/* HallFirstVisit (owner W1). A new player's hall (D12):
     481 and up (A-New)     a welcome band over the battlefield art (Garrick's gold medal and line, the title), then
                            "Four good places to start" with "See all ten classes", four arch-topped path cards (art, role,
                            name, difficulty dots, three lines, Start; the best first hero in gold with a ribbon), and the
                            empty hall: five dashed arches, the slots and Premium note, See Premium.
     480 and down (A-New-390) the band shortens, each path is one row (art, name, difficulty, a sentence, a chevron) and
                            the whole row is its Start button; "See all ten classes" is a full-width button under them.
   Tokens only, canonical breakpoints only, no animation. */

.hall-first-visit[b-z06egz4knh] {
    --hfv-gold-text: color-mix(in srgb, var(--color-primary-light) 70%, var(--color-warning));
    --hfv-cream: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    /* The Start buttons stay above the fold (A-New: they end 27px above 768). On a window shorter than the 764px they
       need (with a banner above the page, the page's --hall-banner-room more), the difference, up to 90px (1280 x 720
       under the Alpha banner), comes out of the band's padding, the gaps under it and over the paths, then the art; a
       taller window gives nothing. */
    --hfv-give: clamp(0px, var(--hall-banner-room, 0px) + 764px - 100vh, 90px);
    display: flex;
    flex-direction: column;
    gap: calc(22px - clamp(0px, var(--hfv-give) - 22px, 8px));
    min-width: 0;
}

/* ---- Welcome band ---- */

.hfv-band[b-z06egz4knh] {
    position: relative;
    isolation: isolate;
    margin: calc(-1 * var(--hall-bleed-top, 0px)) calc(-1 * var(--hall-bleed, 0px)) 0;
    padding: calc(28px - clamp(0px, var(--hfv-give), 12px)) var(--hall-bleed, 0px) calc(26px - clamp(0px, var(--hfv-give) - 12px, 10px));
    overflow: hidden;
}

.hfv-backdrop[b-z06egz4knh] {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
    opacity: 0.42;
    mask-image: linear-gradient(180deg, var(--color-bg-base) 55%, transparent);
}

.hfv-shade[b-z06egz4knh] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-bg-base) 50%, transparent),
        color-mix(in srgb, var(--color-bg-base) 70%, transparent) 70%,
        transparent);
}

.hfv-band-inner[b-z06egz4knh] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 1270px;
}

.hfv-garrick[b-z06egz4knh] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hfv-medal[b-z06egz4knh] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--color-primary-light), var(--color-primary-dark) 55%, var(--color-primary-darker));
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent),
        0 10px 24px color-mix(in srgb, var(--color-bg-base) 50%, transparent);
    color: var(--color-bg-base);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 30);
    font-weight: 900;
}

.hfv-voice[b-z06egz4knh] {
    margin: 0;
}

.hfv-quote[b-z06egz4knh] {
    margin: 0;
}

.hfv-quote p[b-z06egz4knh] {
    margin: 0;
    color: var(--hfv-cream);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 21);
    font-style: italic;
    line-height: 1.3;
}

.hfv-who[b-z06egz4knh] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hfv-title[b-z06egz4knh] {
    margin: 6px 0 0;
    color: var(--hfv-cream);
    font-family: var(--font-display);
    font-size: calc(clamp(30px, 3.2vw, 44px) * var(--gt-scale));
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.05;
}

.hfv-title:focus[b-z06egz4knh] {
    outline: none;
}

.hfv-sub[b-z06egz4knh] {
    max-width: 760px;
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 15);
}

.hfv-narrow[b-z06egz4knh],
.hfv-see-all-bottom[b-z06egz4knh],
.hfv-best-eyebrow[b-z06egz4knh],
.hfv-short[b-z06egz4knh],
.hfv-meta-role[b-z06egz4knh] {
    display: none;
}

/* ---- Paths ---- */

.hfv-main[b-z06egz4knh] {
    display: flex;
    flex-direction: column;
    gap: calc(18px - clamp(0px, var(--hfv-give) - 30px, 8px));
    min-width: 0;
}

.hfv-paths-head[b-z06egz4knh] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hfv-heading[b-z06egz4knh] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hfv-rule[b-z06egz4knh] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hfv-paths[b-z06egz4knh] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hfv-path[b-z06egz4knh] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    border-radius: 999px 999px 18px 18px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 95%, transparent), color-mix(in srgb, var(--color-bg-base) 98%, transparent));
}

.hfv-path.is-best[b-z06egz4knh] {
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--color-primary) 40%, transparent),
        0 20px 50px color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.hfv-ribbon[b-z06egz4knh] {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 2.26em;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transform: translateX(-50%);
}

.hfv-ribbon[b-z06egz4knh]  .mud-icon-root {
    width: 15px;
    height: 15px;
}

.hfv-art[b-z06egz4knh] {
    position: relative;
    height: calc(206px - clamp(0px, var(--hfv-give) - 38px, 52px));
    overflow: hidden;
}

.hfv-art img[b-z06egz4knh] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.hfv-art[b-z06egz4knh]::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 90px;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-bg-base) 98%, transparent));
}

.hfv-body[b-z06egz4knh] {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    margin-top: -26px;
    padding: 0 20px 20px;
}

.hfv-role[b-z06egz4knh] {
    color: color-mix(in srgb, var(--hfv-class) 50%, var(--color-text-primary));
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hfv-name[b-z06egz4knh] {
    margin: 0;
    color: var(--hfv-cream);
    font-family: var(--font-display);
    font-size: var(--gt-3xl);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.hfv-meta[b-z06egz4knh] {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.hfv-dots[b-z06egz4knh] {
    display: inline-flex;
    gap: 3px;
}

.hfv-dots i[b-z06egz4knh] {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
}

.hfv-dots i.on[b-z06egz4knh] {
    background: var(--hfv-gold-text);
}

.hfv-dot[b-z06egz4knh] {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 6px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
    vertical-align: middle;
}

.hfv-highlights[b-z06egz4knh] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hfv-highlights li[b-z06egz4knh] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--color-text-light);
    font-size: var(--gt-md);
    line-height: 1.35;
}

.hfv-highlights[b-z06egz4knh]  .mud-icon-root {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: var(--hfv-class);
}

.hfv-start[b-z06egz4knh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 6px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.hfv-start.is-gold[b-z06egz4knh] {
    border-color: transparent;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-bg-base);
}

.hfv-start:focus-visible[b-z06egz4knh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hfv-start[b-z06egz4knh]  .hfv-start-chevron {
    display: none;
}

/* ---- The empty hall ---- */

.hfv-hall[b-z06egz4knh] {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 4px;
    padding: 18px 22px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
}

.hfv-arches[b-z06egz4knh] {
    display: flex;
    flex: none;
    gap: 10px;
}

.hfv-arches i[b-z06egz4knh] {
    display: block;
    width: 58px;
    height: 74px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: 999px 999px 14px 14px;
    background: color-mix(in srgb, var(--color-gray-900) 35%, transparent);
}

.hfv-hall-text[b-z06egz4knh] {
    flex: 1;
    min-width: 0;
}

.hfv-hall-title[b-z06egz4knh] {
    margin: 0;
    color: var(--color-text-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: var(--font-weight-bold);
}

.hfv-hall-note[b-z06egz4knh] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

/* ---- 960 to 1279 and 481 to 959: two path columns below 1024 ---- */

@media not all and (min-width: 1024px) {
    .hfv-paths[b-z06egz4knh] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media not all and (min-width: 768px) {
    .hfv-hall[b-z06egz4knh] {
        flex-wrap: wrap;
    }
}

/* ---- 480 and down: path rows (A-New-390) ---- */

@media (max-width: 480px) {
    .hall-first-visit[b-z06egz4knh] {
        gap: 12px;
    }

    .hfv-band[b-z06egz4knh] {
        padding: 20px var(--hall-bleed, 0px) 18px;
    }

    .hfv-backdrop[b-z06egz4knh] {
        opacity: 0.32;
        object-position: 40% 35%;
    }

    .hfv-garrick[b-z06egz4knh] {
        align-items: flex-start;
        gap: 12px;
    }

    .hfv-medal[b-z06egz4knh] {
        width: 48px;
        height: 48px;
        font-size: calc(var(--gt-px) * 23);
    }

    .hfv-quote p[b-z06egz4knh] {
        font-size: calc(var(--gt-px) * 17);
    }

    .hfv-who[b-z06egz4knh] {
        font-size: var(--gt-sm);
    }

    .hfv-title[b-z06egz4knh] {
        font-size: calc(var(--gt-px) * 30);
    }

    .hfv-sub[b-z06egz4knh] {
        font-size: var(--gt-base);
    }

    .hfv-wide[b-z06egz4knh],
    .hfv-see-all-top[b-z06egz4knh],
    .hfv-ribbon[b-z06egz4knh],
    .hfv-role[b-z06egz4knh],
    .hfv-highlights[b-z06egz4knh] {
        display: none;
    }

    .hfv-narrow[b-z06egz4knh],
    .hfv-best-eyebrow[b-z06egz4knh],
    .hfv-short[b-z06egz4knh],
    .hfv-meta-role[b-z06egz4knh] {
        display: inline;
    }

    .hfv-see-all-bottom[b-z06egz4knh] {
        display: block;
    }

    .hfv-main[b-z06egz4knh] {
        gap: 12px;
    }

    .hfv-heading[b-z06egz4knh] {
        font-size: calc(var(--gt-px) * 12.5);
    }

    .hfv-paths[b-z06egz4knh] {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .hfv-path[b-z06egz4knh] {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        min-height: 112px;
        padding: 10px 44px 10px 10px;
        border-radius: 16px;
    }

    .hfv-art[b-z06egz4knh] {
        flex: none;
        width: 72px;
        height: 92px;
        border-radius: 999px 999px 10px 10px;
        box-shadow: inset 0 0 0 2px var(--hfv-class);
    }

    .hfv-art img[b-z06egz4knh] {
        object-position: 50% 8%;
    }

    .hfv-art[b-z06egz4knh]::after {
        display: none;
    }

    /* Static, so the row (not the text column) is the Start button's containing block. */
    .hfv-body[b-z06egz4knh] {
        position: static;
        gap: 3px;
        margin: 0;
        padding: 0;
    }

    .hfv-best-eyebrow[b-z06egz4knh] {
        color: var(--color-primary-light);
        font-family: var(--font-primary);
        font-size: var(--gt-sm);
        font-weight: 700;
        letter-spacing: 0.22em;
        text-transform: uppercase;
    }

    .hfv-name[b-z06egz4knh] {
        font-size: var(--gt-xl);
    }

    .hfv-meta[b-z06egz4knh] {
        font-size: var(--gt-sm);
    }

    .hfv-short[b-z06egz4knh] {
        margin: 0;
        color: var(--color-text-light);
        font-size: calc(var(--gt-px) * 12.5);
        line-height: 1.35;
    }

    /* The whole row is the Start button: it covers the row; its words stay its accessible name. */
    .hfv-start[b-z06egz4knh],
    .hfv-start.is-gold[b-z06egz4knh] {
        position: absolute;
        inset: 0;
        justify-content: flex-end;
        margin: 0;
        padding: 0 12px;
        border: 0;
        border-radius: 16px;
        background: none;
        box-shadow: none;
        color: var(--color-primary-light);
    }

    .hfv-start-label[b-z06egz4knh] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hfv-start[b-z06egz4knh]  .hfv-start-chevron {
        display: block;
        width: 26px;
        height: 26px;
    }

    .hfv-hall[b-z06egz4knh] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .hfv-arches[b-z06egz4knh] {
        gap: 6px;
    }

    .hfv-arches i[b-z06egz4knh] {
        width: 40px;
        height: 50px;
    }
}
/* /Components/Hall/HallForgeTile.razor.rz.scp.css */
/* HallForgeTile (owner W1): the rail's gold arch (comps A-1920 to A-768: a dashed gold arch with the hex plus, "Forge a
   hero", the free slots) and, inside the phone list, a dashed gold row with a chevron (A-390; the page restyles it
   through .hall-phone-forge). A full hall greys it but keeps it pressable, so the page can say why. Tokens only. */

.hall-forge-tile[b-6ja5ua03qn] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: var(--hall-card-w, 168px);
    height: var(--hall-card-h, 251px);
    margin: 0;
    padding: 0;
    border: 1.5px dashed color-mix(in srgb, var(--color-primary) 60%, transparent);
    border-radius: 999px 999px 14px 14px;
    background:
        radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--color-primary) 12%, transparent), transparent 70%),
        color-mix(in srgb, var(--color-gray-900) 50%, transparent);
    color: var(--color-primary);
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: background-color 120ms ease, border-color 120ms ease;
}

.hall-forge-tile:hover[b-6ja5ua03qn] {
    border-color: var(--color-primary);
}

.hall-forge-tile:focus-visible[b-6ja5ua03qn] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.hall-forge-tile.is-full[b-6ja5ua03qn] {
    opacity: 0.55;
    cursor: not-allowed;
}

.hft-hex[b-6ja5ua03qn] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 58px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
}

.hft-hex[b-6ja5ua03qn]  .mud-icon-root {
    width: 28px;
    height: 28px;
}

.hft-text[b-6ja5ua03qn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.hft-label[b-6ja5ua03qn] {
    color: color-mix(in srgb, var(--color-primary-light) 75%, var(--color-warning-lightest));
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hft-free[b-6ja5ua03qn] {
    padding: 0 12px;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
}

.hft-chevron[b-6ja5ua03qn] {
    display: none;
}

.hft-chevron[b-6ja5ua03qn]  .mud-icon-root {
    width: 24px;
    height: 24px;
    color: var(--color-primary-light);
}

.hft-sr[b-6ja5ua03qn] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .hall-forge-tile[b-6ja5ua03qn] {
        transition: none;
    }
}
/* /Components/Hall/HallFullHall.razor.rz.scp.css */
/* HallFullHall (owner W1): the slot cap notice under the rail. Basic gets the gold upsell (15 places with Premium);
   Premium a quiet note to retire a hero. Tokens only. */

.hall-full-hall[b-60e6preznz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 18px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
}

.hall-full-hall.is-upsell[b-60e6preznz] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 18%, var(--color-bg-base));
}

.hall-full-hall[b-60e6preznz]  .hfh-icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.hfh-text[b-60e6preznz] {
    flex: 1 1 260px;
    min-width: 0;
}

.hfh-title[b-60e6preznz] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: var(--font-weight-bold);
}

.hfh-message[b-60e6preznz] {
    margin: 2px 0 0;
    color: var(--color-text-light);
    font-size: var(--gt-md);
    line-height: 1.45;
}
/* /Components/Hall/HallGlance.razor.rz.scp.css */
/* HallGlance (owner W1). "{Name} at a glance": the road ahead (hex milestones), readiness (grade, four tiles, the tips
   as buttons to the page that fixes them), and the record.
     1280 and up (A-1920, A-1366)  a section of three cards in a row.
     960 to 1279 (A-1024)          the section unwraps (display: contents): its heading and cards join the page's
                                   two-column grid with "Your party"; tile labels shorten.
     481 to 959 (A-768)            the same grid; short milestone lines, two readiness tiles, the record's four tablet
                                   tiles (wins, bosses, adventures, purse) instead of the desk ones.
     480 and down (A-390)          one column: two milestones, the tips alone, the record folded behind a disclosure.
   Tokens only, canonical breakpoints only, no animation. */

.hall-glance[b-6nxhenb24v] {
    --hg-gold-text: color-mix(in srgb, var(--color-primary-light) 70%, var(--color-warning));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    min-width: 0;
}

.hg-head[b-6nxhenb24v] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.hg-heading[b-6nxhenb24v] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hg-rule[b-6nxhenb24v] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hg-card[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 92%, transparent), color-mix(in srgb, var(--color-bg-base) 95%, transparent));
}

.hg-card-head[b-6nxhenb24v] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.hg-eyebrow[b-6nxhenb24v] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--hg-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hg-eyebrow[b-6nxhenb24v]  .mud-icon-root {
    flex: none;
    width: 18px;
    height: 18px;
}

/* ---- The road ahead ---- */

.hg-steps[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hg-step[b-6nxhenb24v] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
}

.hg-hex[b-6nxhenb24v] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 41px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-800);
    color: var(--hg-gold-text);
}

.hg-hex[b-6nxhenb24v]  .mud-icon-root {
    width: 19px;
    height: 19px;
}

.is-next .hg-hex[b-6nxhenb24v] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
}

.hg-step-text[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hg-level[b-6nxhenb24v] {
    color: var(--hg-gold-text);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hg-step-text strong[b-6nxhenb24v] {
    color: var(--color-text-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: var(--font-weight-semibold);
}

.hg-step-text small[b-6nxhenb24v] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ---- Readiness ---- */

.hg-grade[b-6nxhenb24v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    height: 2.17em;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--hg-tone) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--hg-tone-bg) 45%, var(--color-bg-base));
    color: var(--hg-tone-text);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.hg-tone--success[b-6nxhenb24v] { --hg-tone: var(--color-success-light); --hg-tone-bg: var(--color-success-dark); --hg-tone-text: var(--color-success-lighter); }
.hg-tone--warning[b-6nxhenb24v] { --hg-tone: var(--color-warning); --hg-tone-bg: var(--color-warning-dark); --hg-tone-text: var(--color-warning-lightest); }
.hg-tone--danger[b-6nxhenb24v] { --hg-tone: var(--color-danger-light); --hg-tone-bg: var(--color-danger-dark); --hg-tone-text: var(--color-danger-lightest); }
.hg-tone--gold[b-6nxhenb24v],
.hg-tone--neutral[b-6nxhenb24v],
.hg-tone--info[b-6nxhenb24v] { --hg-tone: var(--color-primary); --hg-tone-bg: var(--color-primary-darker); --hg-tone-text: var(--color-primary-light); }

.hg-tiles[b-6nxhenb24v] {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hg-tiles--4[b-6nxhenb24v] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hg-tiles--3[b-6nxhenb24v] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hg-tiles--2[b-6nxhenb24v] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hg-tile[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
}

.hg-tile strong[b-6nxhenb24v] {
    color: var(--color-text-primary);
    font-size: var(--gt-lg);
    font-variant-numeric: tabular-nums;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.hg-tile.is-coin strong[b-6nxhenb24v] {
    color: var(--color-primary-light);
}

.hg-tile span[b-6nxhenb24v] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    letter-spacing: 0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hg-tips[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hg-tip[b-6nxhenb24v] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--gt-md);
    text-align: left;
    cursor: pointer;
}

.hg-tip:hover[b-6nxhenb24v] {
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.hg-tip:focus-visible[b-6nxhenb24v] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hg-tip[b-6nxhenb24v]  .hg-tip-icon {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--hg-gold-text);
}

.hg-tip-text[b-6nxhenb24v] {
    flex: 1;
    min-width: 0;
}

.hg-tip-action[b-6nxhenb24v] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 2px;
    color: var(--hg-gold-text);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
}

.hg-tip-action[b-6nxhenb24v]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hg-empty[b-6nxhenb24v] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-success-lighter);
    font-size: var(--gt-md);
}

.hg-empty[b-6nxhenb24v]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

/* ---- The record ---- */

.hg-fold-heading[b-6nxhenb24v] {
    display: none;
    margin: 0;
}

.hg-fold-body[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hg-facts[b-6nxhenb24v] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hg-fact[b-6nxhenb24v] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
}

.hg-fact[b-6nxhenb24v]  .mud-icon-root {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--hg-gold-text);
}

.hg-record-portrait[b-6nxhenb24v],
.hg-short[b-6nxhenb24v],
.hg-tab[b-6nxhenb24v],
.hg-portrait[b-6nxhenb24v],
.hg-sr[b-6nxhenb24v] {
    display: none;
}

.hg-sr[b-6nxhenb24v] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---- Below 1280: the cards join the page's two-by-two grid (A-1024) ---- */

@media not all and (min-width: 1280px) {
    .hall-glance[b-6nxhenb24v] {
        display: contents;
    }

    .hg-desk[b-6nxhenb24v],
    .hg-fact.is-extra[b-6nxhenb24v] {
        display: none;
    }

    .hg-tab[b-6nxhenb24v] {
        display: inline;
    }
}

/* ---- 481 to 959 (A-768) ---- */

@media not all and (min-width: 960px) {
    .hg-heading[b-6nxhenb24v] {
        font-size: var(--gt-md);
    }

    .hg-card[b-6nxhenb24v] {
        gap: 8px;
        padding: 16px 18px;
    }

    .hg-full[b-6nxhenb24v],
    .hg-not-portrait[b-6nxhenb24v],
    .hg-tab[b-6nxhenb24v],
    .hg-tip-label[b-6nxhenb24v],
    .hg-record-stats[b-6nxhenb24v],
    .hg-facts[b-6nxhenb24v] {
        display: none;
    }

    .hg-short[b-6nxhenb24v],
    .hg-portrait[b-6nxhenb24v] {
        display: inline;
    }

    .hg-record-portrait[b-6nxhenb24v] {
        display: grid;
    }

    .hg-ready .hg-tiles--4[b-6nxhenb24v] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hg-ready .hg-tile:nth-child(2)[b-6nxhenb24v],
    .hg-ready .hg-tile:nth-child(4)[b-6nxhenb24v] {
        display: none;
    }
}

/* ---- 480 and down (A-390) ---- */

@media (max-width: 480px) {
    .hg-heading[b-6nxhenb24v] {
        font-size: calc(var(--gt-px) * 12.5);
    }

    .hg-card[b-6nxhenb24v] {
        gap: 6px;
        padding: 14px 16px;
    }

    .hg-eyebrow[b-6nxhenb24v] {
        font-size: var(--gt-sm);
    }

    .hg-not-portrait[b-6nxhenb24v] {
        display: inline;
    }

    .hg-portrait[b-6nxhenb24v] {
        display: none;
    }

    .hg-step:nth-child(n + 3)[b-6nxhenb24v],
    .hg-ready .hg-tiles[b-6nxhenb24v] {
        display: none;
    }

    .hg-ready[b-6nxhenb24v] {
        gap: 8px;
    }

    .hg-record[b-6nxhenb24v] {
        padding: 0;
    }

    .hg-record-title[b-6nxhenb24v] {
        display: none;
    }

    .hg-fold-heading[b-6nxhenb24v] {
        display: block;
    }

    .hg-fold[b-6nxhenb24v] {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 54px;
        padding: 12px 16px;
        border: 0;
        border-radius: 14px;
        background: none;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .hg-fold:focus-visible[b-6nxhenb24v] {
        outline: 2px solid var(--color-primary);
        outline-offset: -2px;
    }

    .hg-fold[b-6nxhenb24v]  .hg-fold-icon,
    .hg-fold[b-6nxhenb24v]  .hg-fold-chevron {
        flex: none;
        width: 20px;
        height: 20px;
        color: var(--hg-gold-text);
    }

    .hg-fold-title[b-6nxhenb24v] {
        color: var(--hg-gold-text);
        font-family: var(--font-primary);
        font-size: var(--gt-md);
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .hg-fold-summary[b-6nxhenb24v] {
        flex: 1;
        overflow: hidden;
        color: var(--color-text-secondary);
        font-size: calc(var(--gt-px) * 12.5);
        text-align: right;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hg-fold-body[b-6nxhenb24v] {
        display: none;
        padding: 0 16px 16px;
    }

    .hg-record.is-open .hg-fold-body[b-6nxhenb24v] {
        display: flex;
    }
}
/* /Components/Hall/HallHeroCard.razor.rz.scp.css */
/* HallHeroCard (owner W1, comps A-1920 to A-768): an arch-topped portrait in the class color, the level hex on its
   corner, the pin, the name in Cinzel, class and title, and the status tag. Selected: a gold rim and a gold diamond
   under the card. Locked: the portrait greys and a lock sits on it. Sized by the rail (--hall-card-w, --hall-card-pt).
   Tokens only; colors and shadows transition (off under reduced motion). */

.hall-hero-card[b-2xuv4rf7yo] {
    --hhc-w: var(--hall-card-w, 168px);
    --hhc-pt: var(--hall-card-pt, calc(var(--hhc-w) * 0.83));
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    width: var(--hhc-w);
    min-width: 0;
    margin: 0;
    padding: 7px 7px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    border-radius: 999px 999px 14px 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 92%, transparent), color-mix(in srgb, var(--color-bg-base) 96%, transparent));
    color: inherit;
    font: inherit;
    text-align: center;
    cursor: pointer;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.hall-hero-card:hover[b-2xuv4rf7yo] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.hall-hero-card:focus-visible[b-2xuv4rf7yo] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.hall-hero-card.is-selected[b-2xuv4rf7yo] {
    border-color: var(--color-primary);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--color-primary) 50%, transparent),
        0 16px 36px color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.hall-hero-card.is-selected[b-2xuv4rf7yo]::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 2px;
    background: var(--color-primary);
    transform: rotate(45deg);
}

.hhc-portrait[b-2xuv4rf7yo] {
    position: relative;
    display: block;
    width: 100%;
    height: var(--hhc-pt);
    overflow: hidden;
    border-radius: 999px 999px 10px 10px;
    background: var(--color-gray-900);
    box-shadow: inset 0 0 0 2px var(--hhc-class, var(--color-text-tertiary));
}

.hhc-portrait img[b-2xuv4rf7yo] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.is-locked .hhc-portrait img[b-2xuv4rf7yo] {
    filter: grayscale(0.85) brightness(0.6);
}

.hhc-level[b-2xuv4rf7yo] {
    position: absolute;
    top: calc(7px + var(--hhc-pt) - 22px);
    left: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.31em;
    height: 2.62em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 900;
    line-height: 1;
}

.hhc-pin[b-2xuv4rf7yo],
.hhc-lock[b-2xuv4rf7yo] {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-primary);
}

.hhc-pin[b-2xuv4rf7yo] {
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 26px;
    height: 26px;
}

.hhc-pin[b-2xuv4rf7yo]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.hhc-lock[b-2xuv4rf7yo] {
    top: calc(7px + var(--hhc-pt) * 0.42 - 15px);
    left: 50%;
    width: 30px;
    height: 30px;
    margin-left: -15px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.hhc-lock[b-2xuv4rf7yo]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hhc-name[b-2xuv4rf7yo] {
    display: block;
    margin-top: 10px;
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hhc-class[b-2xuv4rf7yo] {
    display: block;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hhc-class b[b-2xuv4rf7yo] {
    /* The class color mixed toward the text color: the raw color is under 4.5:1 for small text (Barbarian, Rogue, Monk). */
    color: color-mix(in srgb, var(--hhc-class, var(--color-text-light)) 50%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.hhc-tag[b-2xuv4rf7yo] {
    --hhc-tone: var(--color-text-secondary);
    --hhc-tone-text: var(--color-text-lighter);
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 4px;
    max-width: 100%;
    height: 2em;
    margin-top: 8px;
    padding: 0 8px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--hhc-tone) 50%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: var(--hhc-tone-text);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.hhc-tag[b-2xuv4rf7yo]  .mud-icon-root {
    flex: none;
    width: 14px;
    height: 14px;
}

.hhc-tone--gold[b-2xuv4rf7yo] { --hhc-tone: var(--color-primary); --hhc-tone-text: var(--color-primary-light); }
.hhc-tone--success[b-2xuv4rf7yo] { --hhc-tone: var(--color-success-light); --hhc-tone-text: var(--color-success-lighter); }
.hhc-tone--danger[b-2xuv4rf7yo] { --hhc-tone: var(--color-danger-light); --hhc-tone-text: var(--color-danger-lightest); }
.hhc-tone--warning[b-2xuv4rf7yo] { --hhc-tone: var(--color-warning); --hhc-tone-text: var(--color-warning-lightest); }
.hhc-tone--info[b-2xuv4rf7yo] { --hhc-tone: var(--color-info-light); --hhc-tone-text: var(--color-info-lightest); }

@media (prefers-reduced-motion: reduce) {
    .hall-hero-card[b-2xuv4rf7yo] {
        transition: none;
    }
}
/* /Components/Hall/HallHeroMenu.razor.rz.scp.css */
/* HallHeroMenu (owner W1, comp A-Manage panel 1). The trigger is a bordered square icon button (36px, 44px on touch;
   the compact one 34px on an arch card); the items' text and notes are styled here, the menu's surface is MudBlazor's
   (dark theme). Tokens only. */

.hall-hero-menu[b-npfs9zain1] {
    display: inline-flex;
    flex: none;
}

.hall-hero-menu[b-npfs9zain1]  .mud-icon-button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
}

.hall-hero-menu[b-npfs9zain1]  .mud-icon-button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hall-hero-menu.is-compact[b-npfs9zain1]  .mud-icon-button {
    width: 34px;
    height: 34px;
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-primary);
}

.hhm-item[b-npfs9zain1] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hhm-label[b-npfs9zain1] {
    color: var(--color-text-lighter);
    font-size: calc(var(--gt-px) * 13.5);
    white-space: nowrap;
}

.hhm-item.is-danger .hhm-label[b-npfs9zain1] {
    color: var(--color-danger-lighter);
}

.hhm-note[b-npfs9zain1] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    white-space: nowrap;
}

@media (pointer: coarse) {
    .hall-hero-menu[b-npfs9zain1]  .mud-icon-button,
    .hall-hero-menu.is-compact[b-npfs9zain1]  .mud-icon-button {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Hall/HallPartyRoles.razor.rz.scp.css */
/* HallPartyRoles (owner W1). "Your party".
     1280 and up (A-1366)        a card: the heading row with the caption, five role tiles (covered: the first covering
                                 hero's class color and the names; missing: dashed gold with a suggestion). Tiles are at
                                 least 180px and wrap, so beside the glance at 1920 they fall two by two with Support
                                 across the bottom (A-1920) with no breakpoint.
     960 to 1279, 481 to 959     a glance-sized card in the page's grid: the covered roles as small tiles, then the
     (A-1024, A-768)             missing line, dashed.
     480 and down (A-390)        a disclosure button ("3 of 5 roles") that opens the compact card.
   Tokens only, canonical breakpoints only. */

.hall-party-roles[b-v5w07qj7zl] {
    --hpy-gold-text: color-mix(in srgb, var(--color-primary-light) 70%, var(--color-warning));
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 92%, transparent), color-mix(in srgb, var(--color-bg-base) 95%, transparent));
}

.hpy-head[b-v5w07qj7zl] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.hpy-heading[b-v5w07qj7zl] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hpy-heading[b-v5w07qj7zl]  .hpy-heading-icon {
    display: none;
    width: 18px;
    height: 18px;
}

.hpy-rule[b-v5w07qj7zl] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hpy-caption[b-v5w07qj7zl] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
    white-space: nowrap;
}

.hpy-fold-heading[b-v5w07qj7zl],
.hpy-compact[b-v5w07qj7zl],
.hpy-missing[b-v5w07qj7zl],
.hpy-sr[b-v5w07qj7zl] {
    display: none;
}

.hpy-sr[b-v5w07qj7zl] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.hpy-body[b-v5w07qj7zl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hpy-roles[b-v5w07qj7zl] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hpy-role[b-v5w07qj7zl] {
    display: flex;
    flex: 1 1 180px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 12px 8px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-gray-900) 50%, transparent);
    text-align: center;
}

.hpy-role.is-missing[b-v5w07qj7zl] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

.hpy-role[b-v5w07qj7zl]  .hpy-role-icon {
    width: 22px;
    height: 22px;
    color: var(--hpy-class, var(--hpy-gold-text));
}

.hpy-role.is-missing[b-v5w07qj7zl]  .hpy-role-icon {
    color: var(--hpy-gold-text);
}

.hpy-role strong[b-v5w07qj7zl] {
    color: var(--color-text-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: var(--font-weight-bold);
}

.hpy-role small[b-v5w07qj7zl] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.hpy-missing[b-v5w07qj7zl] {
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
}

.hpy-missing[b-v5w07qj7zl]  .mud-icon-root {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--hpy-gold-text);
}

/* ---- Below 1280: the compact card in the glance grid (A-1024, A-768) ---- */

@media not all and (min-width: 1280px) {
    .hall-party-roles[b-v5w07qj7zl] {
        gap: 8px;
    }

    .hpy-head[b-v5w07qj7zl] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hpy-heading[b-v5w07qj7zl] {
        color: var(--hpy-gold-text);
        font-size: var(--gt-sm);
        letter-spacing: 0.22em;
    }

    .hpy-heading[b-v5w07qj7zl]  .hpy-heading-icon {
        display: block;
    }

    .hpy-rule[b-v5w07qj7zl],
    .hpy-full[b-v5w07qj7zl],
    .hpy-role.is-missing[b-v5w07qj7zl],
    .hpy-role small[b-v5w07qj7zl] {
        display: none;
    }

    .hpy-compact[b-v5w07qj7zl] {
        display: inline;
    }

    .hpy-roles[b-v5w07qj7zl] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .hpy-missing[b-v5w07qj7zl] {
        display: flex;
    }
}

/* ---- 480 and down: a disclosure (A-390) ---- */

@media (max-width: 480px) {
    .hall-party-roles[b-v5w07qj7zl] {
        gap: 0;
        padding: 0;
    }

    .hpy-head[b-v5w07qj7zl] {
        display: none;
    }

    .hpy-fold-heading[b-v5w07qj7zl] {
        display: block;
        margin: 0;
    }

    .hpy-fold[b-v5w07qj7zl] {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 54px;
        padding: 12px 16px;
        border: 0;
        border-radius: 14px;
        background: none;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .hpy-fold:focus-visible[b-v5w07qj7zl] {
        outline: 2px solid var(--color-primary);
        outline-offset: -2px;
    }

    .hpy-fold[b-v5w07qj7zl]  .hpy-fold-icon,
    .hpy-fold[b-v5w07qj7zl]  .hpy-fold-chevron {
        flex: none;
        width: 20px;
        height: 20px;
        color: var(--hpy-gold-text);
    }

    .hpy-fold-title[b-v5w07qj7zl] {
        color: var(--hpy-gold-text);
        font-family: var(--font-primary);
        font-size: var(--gt-md);
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
    }

    .hpy-fold-summary[b-v5w07qj7zl] {
        flex: 1;
        color: var(--color-text-secondary);
        font-size: calc(var(--gt-px) * 12.5);
        text-align: right;
        white-space: nowrap;
    }

    .hpy-body[b-v5w07qj7zl] {
        display: none;
        padding: 0 16px 16px;
    }

    .hall-party-roles.is-open .hpy-body[b-v5w07qj7zl] {
        display: flex;
    }
}
/* /Components/Hall/HallPhoneRow.razor.rz.scp.css */
/* HallPhoneRow (owner W1, comp A-390): one row per hero on the phone: the arch portrait in the class color, the name, class
   and level, the status line in the tag's color, and the row's own gold Play (the showcased hero shows its pin instead;
   a locked or resting hero a lock or moon). The row and Play are separate 44px+ buttons. Tokens only. */

.hall-phone-row[b-uifrgjua1b] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 76px;
    padding: 6px 12px 6px 6px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 90%, transparent), color-mix(in srgb, var(--color-bg-base) 96%, transparent));
}

.hall-phone-row.is-selected[b-uifrgjua1b] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.hpr-select[b-uifrgjua1b] {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 64px;
    margin: 0;
    padding: 4px 6px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.hpr-select:focus-visible[b-uifrgjua1b],
.hpr-play:focus-visible[b-uifrgjua1b] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hpr-portrait[b-uifrgjua1b] {
    flex: none;
    width: 56px;
    height: 62px;
    overflow: hidden;
    border-radius: 999px 999px 8px 8px;
    background: var(--color-gray-900);
    box-shadow: inset 0 0 0 2px var(--hpr-class, var(--color-text-tertiary));
}

.hpr-portrait img[b-uifrgjua1b] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.is-locked .hpr-portrait img[b-uifrgjua1b] {
    filter: grayscale(0.85) brightness(0.6);
}

.hpr-text[b-uifrgjua1b] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.hpr-name[b-uifrgjua1b] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpr-class[b-uifrgjua1b],
.hpr-line[b-uifrgjua1b] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hpr-class b[b-uifrgjua1b] {
    /* The class color mixed toward the text color: the raw color is under 4.5:1 for small text (Barbarian, Rogue, Monk). */
    color: color-mix(in srgb, var(--hpr-class, var(--color-text-light)) 50%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.hpr-tone--gold[b-uifrgjua1b] { color: var(--color-primary-light); }
.hpr-tone--success[b-uifrgjua1b] { color: var(--color-success-lighter); }
.hpr-tone--danger[b-uifrgjua1b] { color: var(--color-danger-lighter); }
.hpr-tone--warning[b-uifrgjua1b] { color: var(--color-warning-lightest); }
.hpr-tone--neutral[b-uifrgjua1b] { color: var(--color-text-light); }

.hpr-play[b-uifrgjua1b] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    cursor: pointer;
}

.hpr-play[b-uifrgjua1b]  .mud-icon-root {
    width: 26px;
    height: 26px;
}

.hpr-pin[b-uifrgjua1b],
.hpr-blocked[b-uifrgjua1b] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-primary);
}

.hpr-blocked[b-uifrgjua1b] {
    color: var(--color-text-secondary);
}

.hpr-pin[b-uifrgjua1b]  .mud-icon-root,
.hpr-blocked[b-uifrgjua1b]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hpr-sr[b-uifrgjua1b] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
/* /Components/Hall/HallPremiumEnded.razor.rz.scp.css */
/* HallPremiumEnded (owner W1, comp A-Manage panel 6): a gold-washed banner with the Premium mark, the title, the message
   and the gold Renew Premium. Tokens only. */

.hall-premium-ended[b-j6ewxqevqw] {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-primary-darker) 22%, var(--color-bg-base));
}

.hall-premium-ended[b-j6ewxqevqw]  .hpe-icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.hpe-text[b-j6ewxqevqw] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.hpe-title[b-j6ewxqevqw] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 14.5);
    font-weight: var(--font-weight-bold);
}

.hpe-message[b-j6ewxqevqw] {
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}
/* /Components/Hall/HallRenameDialog.razor.rz.scp.css */
/* HallRenameDialog (owner W1, comp A-Manage panel 2): the name field in Cinzel, its border green when the check passes
   and red when it fails, the check line under it, the typo note, Cancel and the gold Save name. Tokens only. */

.hrn-form[b-44i3drd2yh] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hrn-label[b-44i3drd2yh] {
    margin-top: var(--space-xs);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hrn-field[b-44i3drd2yh] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 46px;
    padding: 0 12px;
    border: 1.5px solid color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.hrn-field:focus-within[b-44i3drd2yh] {
    border-color: var(--color-primary);
}

.hrn-field.is-ok[b-44i3drd2yh] {
    border-color: color-mix(in srgb, var(--color-success-light) 60%, transparent);
}

.hrn-field.is-bad[b-44i3drd2yh] {
    border-color: color-mix(in srgb, var(--color-danger-light) 60%, transparent);
}

.hrn-input[b-44i3drd2yh] {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-lg);
    font-weight: 700;
}

.hrn-field[b-44i3drd2yh]  .hrn-ok {
    width: 20px;
    height: 20px;
    color: var(--color-success-lighter);
}

.hrn-field[b-44i3drd2yh]  .hrn-bad {
    width: 20px;
    height: 20px;
    color: var(--color-danger-lighter);
}

.hrn-check[b-44i3drd2yh] {
    margin: -2px 0 0;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}

.hrn-check.is-ok[b-44i3drd2yh] {
    color: var(--color-success-lighter);
}

.hrn-check.is-bad[b-44i3drd2yh] {
    color: var(--color-danger-lighter);
}

.hrn-note[b-44i3drd2yh] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}

.hrn-actions[b-44i3drd2yh] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: var(--space-xs);
}

.hrn-save[b-44i3drd2yh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.hrn-save:focus-visible[b-44i3drd2yh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hrn-save:disabled[b-44i3drd2yh] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (pointer: coarse) {
    .hrn-save[b-44i3drd2yh] {
        min-height: 44px;
    }
}
/* /Components/Hall/HallRenameOffer.razor.rz.scp.css */
/* HallRenameOffer (unique names, owner 13 Nov 2026): the free rename banner, in the "Premium has ended" banner's look.
   Tokens only. */

.hall-rename-offer[b-iir1rz7h96] {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-primary-darker) 22%, var(--color-bg-base));
}

.hall-rename-offer[b-iir1rz7h96]  .hro-icon {
    flex: none;
    width: 26px;
    height: 26px;
    color: var(--color-primary);
}

.hro-text[b-iir1rz7h96] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.hro-title[b-iir1rz7h96] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 14.5);
    font-weight: var(--font-weight-bold);
    overflow-wrap: anywhere;
}

.hro-message[b-iir1rz7h96] {
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}

.hro-acts[b-iir1rz7h96] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* /Components/Hall/HallResting.razor.rz.scp.css */
/* HallResting (owner W1, comp A-Manage panel 6): the "Resting" heading row with "No time limit", small greyed arch
   cards (portrait, name, class) with the hero menu on the corner, and the note on who stays awake. Tokens only. */

.hall-resting[b-59mlbs1hni] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.hrs-head[b-59mlbs1hni] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.hrs-heading[b-59mlbs1hni] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hrs-rule[b-59mlbs1hni] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hrs-caption[b-59mlbs1hni] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    white-space: nowrap;
}

.hrs-list[b-59mlbs1hni] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hrs-card[b-59mlbs1hni] {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    width: 120px;
    padding: 7px 7px 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    border-radius: 999px 999px 14px 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 92%, transparent), color-mix(in srgb, var(--color-bg-base) 96%, transparent));
    text-align: center;
}

.hrs-portrait[b-59mlbs1hni] {
    display: block;
    height: 96px;
    overflow: hidden;
    border-radius: 999px 999px 10px 10px;
    background: var(--color-gray-900);
    box-shadow: inset 0 0 0 2px var(--hrs-class, var(--color-text-tertiary));
}

.hrs-portrait img[b-59mlbs1hni] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
    filter: grayscale(0.85) brightness(0.6);
}

.hrs-name[b-59mlbs1hni] {
    margin-top: 8px;
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hrs-class[b-59mlbs1hni] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hrs-class b[b-59mlbs1hni] {
    /* The class color mixed toward the text color: the raw color is under 4.5:1 for small text (Barbarian, Rogue, Monk). */
    color: color-mix(in srgb, var(--hrs-class, var(--color-text-light)) 50%, var(--color-text-primary));
    font-weight: var(--font-weight-semibold);
}

.hrs-lock[b-59mlbs1hni] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-top: 4px;
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
}

.hrs-lock[b-59mlbs1hni]  .mud-icon-root {
    width: 13px;
    height: 13px;
}

.hrs-menu[b-59mlbs1hni] {
    position: absolute;
    top: 4px;
    right: 4px;
}

.hrs-note[b-59mlbs1hni] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}
/* /Components/Hall/HallRetireDialog.razor.rz.scp.css */
/* HallRetireDialog (owner W1, comp A-Manage panel 3): the window in bold, Keep and the soft red Retire on the right, the
   underlined red "Delete forever instead" under them. Tokens only. */

.hrt-message[b-hij0xgczhz] {
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 13.5);
    line-height: 1.5;
}

.hrt-message strong[b-hij0xgczhz] {
    color: var(--color-text-primary);
}

.hrt-actions[b-hij0xgczhz] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.hrt-instead[b-hij0xgczhz] {
    display: flex;
    justify-content: flex-start;
}
/* /Components/Hall/HallRosterRail.razor.rz.scp.css */
/* HallRosterRail (owner W1). "All heroes": the arch cards, the Forge tile, then free-slot placeholders.
     1280 and up (A-1920 to A-1280)  one row; cards 160 to 180px wide with the window. The placeholders sit in a filler
                                     that takes the room left and shows as many as fit (nine places at 1920, one at
                                     1366), so they never push the row into a scroll; many heroes scroll sideways.
     960 to 1279 (A-1024)            the row scrolls sideways with snap points; on touch the caption says so.
     481 to 959 (A-768)              a three-column grid, with just enough placeholders to finish the last row.
   The page hides the rail at 480 and down (one row per hero instead). Tokens only, canonical breakpoints only. */

.hall-roster-rail[b-wd7sesw7h5] {
    --hall-card-w: clamp(160px, 6.25vw + 80px, 180px);
    --hall-card-pt: calc(var(--hall-card-w) * 0.8);
    --hall-card-h: calc(var(--hall-card-pt) + 111px);
    --hrr-gap: clamp(16px, 0.6vw + 8px, 20px);
    display: flex;
    flex-direction: column;
    /* The last 4px of the page's fold squeeze (Characters.razor.css) come from here. */
    gap: calc(12px - clamp(0px, var(--hall-squeeze, 0px) - 16px, 4px));
    min-width: 0;
}

.hrr-header[b-wd7sesw7h5] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.hrr-heading[b-wd7sesw7h5] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hrr-rule[b-wd7sesw7h5] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hrr-caption[b-wd7sesw7h5] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
    white-space: nowrap;
}

.hrr-touch[b-wd7sesw7h5] {
    display: none;
}

.hrr-list[b-wd7sesw7h5] {
    display: flex;
    gap: var(--hrr-gap);
    min-width: 0;
    margin: -4px -4px 0;
    padding: 4px 4px 16px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-color: color-mix(in srgb, var(--color-primary) 40%, transparent) transparent;
    scrollbar-width: thin;
}

.hrr-item[b-wd7sesw7h5] {
    display: flex;
    flex: none;
    scroll-snap-align: start;
}

.hrr-item[b-wd7sesw7h5]  .hall-hero-card {
    min-height: var(--hall-card-h);
}

.hrr-filler[b-wd7sesw7h5] {
    display: flex;
    flex: 1 1 0;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: var(--hrr-gap);
    min-width: 0;
    height: var(--hall-card-h);
    overflow: hidden;
}

.hrr-free[b-wd7sesw7h5] {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: var(--hall-card-w);
    height: var(--hall-card-h);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: 999px 999px 14px 14px;
    background: color-mix(in srgb, var(--color-gray-900) 35%, transparent);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.hrr-free.is-more[b-wd7sesw7h5] {
    opacity: 0.55;
}

.hrr-free[b-wd7sesw7h5]  .mud-icon-root {
    width: 22px;
    height: 22px;
}

/* ---- 960 to 1279: sideways scroll with snap points (A-1024) ---- */

@media not all and (min-width: 1280px) {
    .hall-roster-rail[b-wd7sesw7h5] {
        --hall-card-w: 156px;
        --hall-card-pt: 126px;
        --hrr-gap: 14px;
        gap: 10px;
    }

    .hrr-heading[b-wd7sesw7h5] {
        font-size: var(--gt-md);
    }

    .hrr-caption[b-wd7sesw7h5] {
        font-size: var(--gt-sm);
    }

    /* The row runs to the screen's edge, so a card cut by it says "there is more". */
    .hrr-list[b-wd7sesw7h5] {
        margin-right: calc(-1 * var(--hall-gutter, 0px));
        padding-right: var(--hall-gutter, 0px);
        scroll-padding-left: 4px;
        scroll-snap-type: x mandatory;
    }
}

@media (pointer: coarse) and (max-width: 1280px) {
    .hrr-mouse[b-wd7sesw7h5] {
        display: none;
    }

    .hrr-touch[b-wd7sesw7h5] {
        display: inline;
    }
}

/* ---- 481 to 959: the three-column grid (A-768) ---- */

@media not all and (min-width: 960px) {
    .hall-roster-rail[b-wd7sesw7h5] {
        --hall-card-pt: calc((100vw - 72px) / 3 * 0.81);
        --hall-card-h: calc(var(--hall-card-pt) + 111px);
        --hrr-gap: 16px;
    }

    .hrr-caption[b-wd7sesw7h5] {
        display: none;
    }

    .hrr-list[b-wd7sesw7h5] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 18px;
        margin-right: -4px;
        padding-right: 4px;
        overflow: visible;
    }

    .hrr-item[b-wd7sesw7h5]  .hall-hero-card,
    .hrr-item[b-wd7sesw7h5]  .hall-forge-tile {
        width: 100%;
    }

    .hrr-item[b-wd7sesw7h5]  .hall-forge-tile {
        height: 100%;
        min-height: var(--hall-card-h);
    }

    .hrr-filler[b-wd7sesw7h5] {
        display: contents;
    }

    .hrr-free[b-wd7sesw7h5] {
        width: 100%;
        height: auto;
        min-height: var(--hall-card-h);
    }

    .hrr-free:not(.is-grid)[b-wd7sesw7h5] {
        display: none;
    }
}
/* /Components/Hall/HallShowcase.razor.rz.scp.css */
/* HallShowcase (owner W1). One markup, four looks (Docs/LRPG_HALL_OF_HEROES.md section 3):
     base, 1280 and up (A-1920, A-1366, A-1280)  the stage: the arched niche on the floor at the left, name, chips, Play
                                                 beside "Where you left off", the glass vitals panel on the right with the
                                                 sheet and the hero menu. Its height follows the window (and the width), so
                                                 the roster rail ends above the fold, under a banner too (the page's
                                                 --hall-fold-room; past the floor the page's gaps give way). That height
                                                 is a floor, never a clip: the stage grows when its content needs more
                                                 (a locked hero's Premium panel), and its spacing gives way as it nears
                                                 the floor so the usual hero still fits.
     960 to 1279 (A-1024)                        a smaller niche, the left-off card under the chips, Play / Sheet / menu in
                                                 a row, the panel's tiles two by two.
     481 to 959 (A-768)                          a card: the niche beside the name, three small bars, the left-off card,
                                                 Play full width with Sheet and the menu, the portrait note on touch.
     480 and down (A-390)                        compact: the bars full width, Play full width, then Character sheet.
   The parts are placed with grid areas; wording that changes by tier is in spans the tier shows (hs-desk, hs-tab, ...).
   Tokens only (the class color reads --color-{class} through --hs-class), canonical breakpoints only, no animation. */

.hall-showcase[b-itpi8njqip] {
    /* The page's fold budget (Characters.razor.css: --hall-fold-room, after any banner) down to the floor. */
    --hs-h: max(var(--hall-showcase-floor, 246px), min(var(--hall-fold-room, 100vh - 452px), 15.9vw + 95px, 420px));
    --hs-niche-h: calc(var(--hs-h) - 30px);
    --hs-niche-w: calc(var(--hs-niche-h) * 0.752);
    --hs-niche-inset: clamp(36px, 3.1vw, 64px);
    --hs-niche-gap: 36px;
    --hs-panel-w: clamp(300px, 16.25vw + 92px, 404px);
    --hs-name-size: calc(clamp(2.125rem, 3vw, 3.5rem) * var(--gt-scale));
    --hs-play-h: clamp(68px, 1.56vw + 52px, 84px);
    --hs-cream: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    --hs-eyebrow: color-mix(in srgb, var(--hs-class, var(--color-info)) 55%, var(--color-text-primary));
    --hs-gold-text: color-mix(in srgb, var(--color-primary-light) 70%, var(--color-warning));

    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: calc(var(--hs-niche-w) + var(--hs-niche-inset) + var(--hs-niche-gap)) auto minmax(0, 1fr) var(--hs-panel-w);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "niche id id vitals"
        "niche cta left vitals";
    min-height: var(--hs-h);
    padding: 22px 24px 0 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: 20px;
    background: var(--color-bg-base);
    color: var(--color-text-primary);
}

/* ---- Backdrop: the scene, a shade over it, the class glow behind the niche ---- */

.hs-backdrop[b-itpi8njqip] {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    opacity: 0.32;
}

.hs-shade[b-itpi8njqip] {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--color-bg-base) 55%, transparent) 0%,
        color-mix(in srgb, var(--color-bg-base) 88%, transparent) 30%,
        color-mix(in srgb, var(--color-bg-base) 92%, transparent) 70%,
        color-mix(in srgb, var(--color-bg-base) 80%, transparent) 100%);
}

.hs-glow[b-itpi8njqip] {
    position: absolute;
    top: 13%;
    left: 1%;
    z-index: -1;
    width: calc(var(--hs-niche-w) * 1.4);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--hs-class, var(--color-info)) 35%, transparent), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
}

/* ---- The niche ---- */

.hs-niche-wrap[b-itpi8njqip] {
    position: relative;
    grid-area: niche;
    align-self: end;
    justify-self: start;
    margin-left: var(--hs-niche-inset);
}

.hs-niche[b-itpi8njqip] {
    position: relative;
    width: var(--hs-niche-w);
    height: var(--hs-niche-h);
    margin-bottom: -1px;
    overflow: hidden;
    border: 3px solid var(--color-primary-dark);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    background: var(--color-gray-900);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--color-primary-dark) 12%, transparent),
        0 30px 60px color-mix(in srgb, var(--color-bg-base) 55%, transparent);
}

.hs-niche img[b-itpi8njqip] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.hs-niche[b-itpi8njqip]::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-bg-base) 75%, transparent));
    pointer-events: none;
}

.is-locked .hs-niche img[b-itpi8njqip],
.is-resting .hs-niche img[b-itpi8njqip] {
    filter: grayscale(0.85) brightness(0.6);
}

.hs-niche-badge[b-itpi8njqip] {
    position: absolute;
    top: 42%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-primary);
}

.hs-niche-badge[b-itpi8njqip]  .mud-icon-root {
    width: 22px;
    height: 22px;
}

.hs-pin[b-itpi8njqip] {
    position: absolute;
    top: 6%;
    right: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-primary);
}

.hs-pin[b-itpi8njqip]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.hs-sr[b-itpi8njqip] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Identity ---- */

.hs-id[b-itpi8njqip] {
    grid-area: id;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.hs-eyebrow[b-itpi8njqip] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    color: var(--hs-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hs-dot[b-itpi8njqip] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    margin: 0 8px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
    vertical-align: middle;
}

.hs-name[b-itpi8njqip] {
    margin: 0;
    color: var(--hs-cream);
    font-family: var(--font-display);
    font-size: var(--hs-name-size);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.hs-classline[b-itpi8njqip] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--gt-base);
}

.hs-cls[b-itpi8njqip] {
    /* Mixed toward the text color: the raw class color is under 4.5:1 at 14px for Barbarian, Rogue and Monk. */
    color: color-mix(in srgb, var(--hs-class, var(--color-info)) 50%, var(--color-text-primary));
    font-weight: 700;
}

.hs-chips[b-itpi8njqip] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.hs-chip[b-itpi8njqip] {
    --hs-tone: var(--color-text-secondary);
    --hs-tone-bg: var(--color-gray-900);
    --hs-tone-text: var(--color-text-lighter);
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 2.33em;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--hs-tone) 50%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--hs-tone-bg) 45%, var(--color-bg-base));
    color: var(--hs-tone-text);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.hs-chip[b-itpi8njqip]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.hs-tone--success[b-itpi8njqip] { --hs-tone: var(--color-success-light); --hs-tone-bg: var(--color-success-dark); --hs-tone-text: var(--color-success-lighter); }
.hs-tone--gold[b-itpi8njqip] { --hs-tone: var(--color-primary); --hs-tone-bg: var(--color-primary-darker); --hs-tone-text: var(--color-primary-light); }
.hs-tone--info[b-itpi8njqip] { --hs-tone: var(--color-info-light); --hs-tone-bg: var(--color-info-dark); --hs-tone-text: var(--color-info-lightest); }
.hs-tone--warning[b-itpi8njqip] { --hs-tone: var(--color-warning); --hs-tone-bg: var(--color-warning-dark); --hs-tone-text: var(--color-warning-lightest); }
.hs-tone--danger[b-itpi8njqip] { --hs-tone: var(--color-danger-light); --hs-tone-bg: var(--color-danger-dark); --hs-tone-text: var(--color-danger-lightest); }
.hs-tone--neutral[b-itpi8njqip]  .mud-icon-root { color: var(--color-warning); }

/* ---- Play, or why not ---- */

.hs-cta[b-itpi8njqip] {
    grid-area: cta;
    display: flex;
    align-self: start;
    /* 14px from 276px of stage up, 8px at the floor (246px). */
    margin-top: clamp(8px, calc((var(--hs-h) - 246px) / 5 + 8px), 14px);
}

.hs-play[b-itpi8njqip] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: var(--hs-play-h);
    padding: 0 clamp(26px, 2vw, 40px);
    border: 0;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    box-shadow: 0 12px 34px color-mix(in srgb, var(--color-primary) 30%, transparent);
    color: var(--color-bg-base);
    cursor: pointer;
}

.hs-play:focus-visible[b-itpi8njqip] {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 3px;
}

.hs-play:disabled[b-itpi8njqip] {
    opacity: 0.5;
    box-shadow: none;
    cursor: not-allowed;
}

.hs-play-label[b-itpi8njqip] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: calc(clamp(19px, 0.47vw + 13px, 22px) * var(--gt-scale));
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hs-play-label[b-itpi8njqip]  .mud-icon-root {
    width: 24px;
    height: 24px;
}

.hs-play-sub[b-itpi8njqip] {
    color: color-mix(in srgb, var(--color-primary-darker) 35%, var(--color-bg-base));
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: none;
}

.hs-play-sub--compact[b-itpi8njqip] {
    display: none;
}

/* Compact so it fits the stage's floor: the title and See Premium share the first row, the message runs under both. */
.hs-blocked[b-itpi8njqip] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "icon title action"
        "icon message message";
    gap: 4px 10px;
    align-items: center;
    max-width: 440px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-primary-darker) 18%, var(--color-bg-base));
}

.hs-blocked[b-itpi8njqip]  .hs-blocked-icon {
    grid-area: icon;
    align-self: start;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.hs-blocked-text[b-itpi8njqip] {
    display: contents;
}

.hs-blocked-title[b-itpi8njqip] {
    grid-area: title;
    margin: 0;
    color: var(--color-text-primary);
    font-size: calc(var(--gt-px) * 14.5);
    font-weight: var(--font-weight-bold);
}

.hs-blocked-message[b-itpi8njqip] {
    grid-area: message;
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}

.hs-unlock[b-itpi8njqip] {
    grid-area: action;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.hs-unlock[b-itpi8njqip]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hs-unlock:focus-visible[b-itpi8njqip] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The way to see a resting hero's bar (the Loadout, view only): a quiet outlined link, never the Premium offer's gold. */
.hs-view[b-itpi8njqip] {
    grid-area: action;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.hs-view[b-itpi8njqip]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hs-view:hover[b-itpi8njqip] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.hs-view:focus-visible[b-itpi8njqip] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .hs-unlock[b-itpi8njqip],
    .hs-view[b-itpi8njqip] {
        min-height: 44px;
    }
}

/* ---- Where you left off ---- */

.hs-left[b-itpi8njqip] {
    grid-area: left;
    display: flex;
    align-items: center;
    align-self: start;
    gap: 14px;
    min-width: 0;
    /* Clear of the vitals panel (A-1280 to A-1920: 12 to 16px, at most about 660px wide). */
    max-width: 660px;
    margin: clamp(8px, calc((var(--hs-h) - 246px) / 5 + 8px), 14px) 16px 0 14px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}

.hs-left-art[b-itpi8njqip] {
    position: relative;
    flex: none;
    width: clamp(74px, 3.4vw + 30px, 110px);
    aspect-ratio: 88 / 62;
    overflow: hidden;
    border-radius: 9px;
}

.hs-left-art img[b-itpi8njqip] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-left-text[b-itpi8njqip] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.hs-left-eyebrow[b-itpi8njqip] {
    color: var(--hs-gold-text);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hs-left-name[b-itpi8njqip] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(clamp(14px, 0.47vw + 8px, 17px) * var(--gt-scale));
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-left-line[b-itpi8njqip] {
    display: block;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- The glass vitals panel ---- */

.hs-vitals[b-itpi8njqip] {
    grid-area: vitals;
    display: flex;
    flex-direction: column;
    align-self: start;
    /* 11px gaps and 16px padding from 286px of stage up; 7px and 12px at the floor (246px), where the panel with three
       bars, the XP line, the tiles and the tools must still fit. */
    gap: clamp(7px, calc((var(--hs-h) - 246px) / 10 + 7px), 11px);
    min-width: 0;
    margin-top: 2px;
    padding: clamp(12px, calc((var(--hs-h) - 246px) / 10 + 12px), 16px) 18px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
    border-radius: 16px;
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    box-shadow: 0 20px 50px color-mix(in srgb, var(--color-bg-base) 45%, transparent);
    backdrop-filter: blur(10px);
}

.hs-bars[b-itpi8njqip] {
    display: flex;
    flex-direction: column;
    gap: clamp(7px, calc((var(--hs-h) - 246px) / 10 + 7px), 11px);
    margin: 0;
}

.hs-bar[b-itpi8njqip] {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.hs-bar dt[b-itpi8njqip] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hs-bar dd[b-itpi8njqip] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.hs-track[b-itpi8njqip] {
    position: relative;
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.hs-track i[b-itpi8njqip] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    border-radius: 5px;
}

.hs-bar--hp .hs-track i[b-itpi8njqip] { background: linear-gradient(90deg, var(--color-success-dark), var(--color-success-light)); }
.hs-bar--hp-low .hs-track i[b-itpi8njqip] { background: linear-gradient(90deg, var(--color-danger-dark), var(--color-danger-light)); }
.hs-bar--mana .hs-track i[b-itpi8njqip] { background: linear-gradient(90deg, var(--color-info-dark), var(--color-info-light)); }
.hs-bar--ki .hs-track i[b-itpi8njqip] { background: linear-gradient(90deg, var(--color-monk), var(--color-ki)); }
.hs-bar--xp .hs-track i[b-itpi8njqip] { background: linear-gradient(90deg, var(--color-primary-darker), var(--color-primary)); }

.hs-value[b-itpi8njqip] {
    min-width: 3.4em;
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    text-align: right;
    white-space: nowrap;
}

.hs-xp[b-itpi8njqip] {
    margin: -5px 0 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-align: right;
}

.hs-stats[b-itpi8njqip] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-stat[b-itpi8njqip] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 7px 6px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
}

.hs-stat strong[b-itpi8njqip] {
    color: var(--color-text-primary);
    font-size: calc(clamp(15px, 0.3vw + 11px, 17px) * var(--gt-scale));
    font-variant-numeric: tabular-nums;
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.hs-stat.is-coin strong[b-itpi8njqip] {
    color: var(--color-primary-light);
}

.hs-stat span[b-itpi8njqip] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hs-tools[b-itpi8njqip] {
    display: flex;
    gap: 8px;
    min-width: 0;
}

.hs-tools--panel[b-itpi8njqip]  .hb {
    flex: 1;
}

.hs-tools--row[b-itpi8njqip],
.hs-note[b-itpi8njqip] {
    display: none;
}

.hs-note[b-itpi8njqip] {
    grid-area: note;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.hs-note[b-itpi8njqip]  .mud-icon-root {
    width: 17px;
    height: 17px;
    color: var(--color-info-lighter);
}

/* ---- Wording by tier ---- */

.hs-tab[b-itpi8njqip],
.hs-tab-only[b-itpi8njqip],
.hs-portrait-only[b-itpi8njqip],
.hs-phone[b-itpi8njqip],
.hs-compact[b-itpi8njqip],
.hs-small[b-itpi8njqip],
.hs-sheet-long[b-itpi8njqip] {
    display: none;
}

/* ---- 960 to 1279: the tablet stage (A-1024) ---- */

@media not all and (min-width: 1280px) {
    .hall-showcase[b-itpi8njqip] {
        --hs-h: 326px;
        --hs-niche-h: 238px;
        --hs-niche-w: 176px;
        --hs-niche-inset: 24px;
        --hs-niche-gap: 22px;
        --hs-panel-w: 262px;
        --hs-name-size: calc(var(--gt-px) * 34);

        grid-template-columns: calc(var(--hs-niche-w) + var(--hs-niche-inset) + var(--hs-niche-gap)) auto minmax(0, 1fr) var(--hs-panel-w);
        grid-template-rows: auto auto 1fr;
        grid-template-areas:
            "niche id id vitals"
            "niche left left vitals"
            "niche cta tools vitals";
        padding: 20px 18px 0 0;
        border-radius: 18px;
    }

    .hs-desk[b-itpi8njqip],
    .hs-reach-desktop[b-itpi8njqip] {
        display: none;
    }

    .hs-tab[b-itpi8njqip],
    .hs-tab-only[b-itpi8njqip],
    .hs-compact[b-itpi8njqip],
    .hs-sheet-short[b-itpi8njqip] {
        display: inline;
    }

    .hs-classline[b-itpi8njqip] {
        font-size: var(--gt-md);
    }

    .hs-chips[b-itpi8njqip] {
        gap: 7px;
        margin-top: 4px;
    }

    .hs-left[b-itpi8njqip] {
        max-width: none;
        margin: 8px 6px 0 0;
        padding: 10px 12px;
    }

    .hs-left-art[b-itpi8njqip] {
        width: 70px;
    }

    .hs-left-name[b-itpi8njqip] {
        font-size: var(--gt-base);
    }

    .hs-cta[b-itpi8njqip] {
        margin-top: 10px;
    }

    /* The cta column is sized to its content: a narrower Premium panel leaves the sheet and the menu their room. */
    .hs-blocked[b-itpi8njqip] {
        max-width: 300px;
    }

    .hs-play[b-itpi8njqip] {
        flex-direction: row;
        gap: 10px;
        height: 56px;
        padding: 0 26px;
    }

    .hs-play-label[b-itpi8njqip] {
        font-size: calc(var(--gt-px) * 17);
        font-family: var(--font-primary);
    }

    .hs-tools--panel[b-itpi8njqip],
    .hs-xp[b-itpi8njqip] {
        display: none;
    }

    .hs-tools--row[b-itpi8njqip] {
        grid-area: tools;
        display: flex;
        align-self: start;
        margin: 10px 0 0 10px;
    }

    .hs-tools--row[b-itpi8njqip]  .hb {
        min-height: 56px;
    }

    .hall-showcase .hs-tools--row[b-itpi8njqip]  .mud-icon-button {
        width: 56px;
        height: 56px;
    }

    .hs-vitals[b-itpi8njqip] {
        padding: 16px;
    }

    .hs-bar[b-itpi8njqip] {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .hs-stats[b-itpi8njqip] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 2px;
    }

    .hs-stat[b-itpi8njqip] {
        padding: 8px 10px;
    }

    .hs-stat strong[b-itpi8njqip] {
        font-size: var(--gt-lg);
    }
}

/* ---- 481 to 959: the showcase card (A-768) ---- */

@media not all and (min-width: 960px) {
    .hall-showcase[b-itpi8njqip] {
        grid-template-columns: 170px minmax(0, 1fr) auto;
        grid-template-rows: none;
        grid-template-areas:
            "niche id id"
            "niche vitals vitals"
            "left left left"
            "cta cta tools"
            "note note note";
        gap: 16px 20px;
        height: auto;
        padding: 20px;
        border-radius: 20px;
        background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    }

    .hs-backdrop[b-itpi8njqip] {
        height: 260px;
        opacity: 0.22;
        mask-image: linear-gradient(180deg, var(--color-bg-base) 45%, transparent);
    }

    .hs-shade[b-itpi8njqip] {
        display: none;
    }

    .hs-glow[b-itpi8njqip] {
        top: 10px;
        left: -30px;
        width: 260px;
    }

    .hs-niche-wrap[b-itpi8njqip] {
        align-self: end;
        margin: 0;
    }

    .hs-niche[b-itpi8njqip] {
        width: 170px;
        height: 224px;
        margin: 0;
        border-bottom: 3px solid var(--color-primary-dark);
        border-radius: 999px 999px 16px 16px;
    }

    .hs-pin[b-itpi8njqip] {
        right: -8px;
    }

    .hs-id[b-itpi8njqip] {
        align-self: end;
    }

    .hs-tab-only[b-itpi8njqip],
    .hs-big[b-itpi8njqip] {
        display: none;
    }

    .hs-portrait-only[b-itpi8njqip],
    .hs-small[b-itpi8njqip] {
        display: inline;
    }

    /* The panel becomes three small bars under the chips; its tiles move to the record (comp A-768). */
    .hs-vitals[b-itpi8njqip] {
        align-self: start;
        margin: 0;
        padding: 0;
        border: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
    }

    /* One column per bar, so a hero with two bars (no mana or ki) spans the row like one with three. */
    .hs-bars[b-itpi8njqip] {
        display: grid;
        grid-auto-columns: minmax(0, 1fr);
        grid-auto-flow: column;
        gap: 10px;
    }

    .hs-bar[b-itpi8njqip] {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: baseline;
        gap: 5px 4px;
    }

    .hs-bar dt[b-itpi8njqip] {
        grid-row: 1;
        grid-column: 1;
        font-size: var(--gt-sm);
    }

    .hs-bar dd[b-itpi8njqip] {
        grid-row: 1 / span 2;
        grid-column: 1 / -1;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        gap: inherit;
    }

    .hs-value[b-itpi8njqip] {
        grid-row: 1;
        grid-column: 2;
        min-width: 0;
        color: var(--color-text-secondary);
        font-size: var(--gt-sm);
        font-weight: var(--font-weight-bold);
        letter-spacing: 0.08em;
        text-align: left;
    }

    .hs-track[b-itpi8njqip] {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    .hs-stats[b-itpi8njqip] {
        display: none;
    }

    .hs-left[b-itpi8njqip] {
        margin: 0;
    }

    .hs-left-art[b-itpi8njqip] {
        width: 88px;
    }

    .hs-left-name[b-itpi8njqip] {
        font-size: calc(var(--gt-px) * 15);
    }

    .hs-cta[b-itpi8njqip] {
        margin: 0;
    }

    .hs-cta[b-itpi8njqip],
    .hs-play[b-itpi8njqip],
    .hs-blocked[b-itpi8njqip] {
        width: 100%;
        max-width: none;
    }

    .hs-play[b-itpi8njqip] {
        height: 60px;
    }

    .hs-play-label[b-itpi8njqip] {
        font-size: var(--gt-xl);
    }

    .hs-play-sub--compact[b-itpi8njqip] {
        display: inline;
        font-size: calc(var(--gt-px) * 12.5);
    }

    .hs-tools--row[b-itpi8njqip] {
        align-self: stretch;
        margin: 0;
    }

    .hs-tools--row[b-itpi8njqip]  .hb {
        min-height: 60px;
    }

    .hall-showcase .hs-tools--row[b-itpi8njqip]  .mud-icon-button {
        width: 60px;
        height: 60px;
    }

    .hs-note[b-itpi8njqip] {
        display: flex;
    }
}

/* The portrait note is for touch tablets: a mouse can fight at any width. */
@media (pointer: fine) {
    .hs-note[b-itpi8njqip] {
        display: none;
    }
}

/* ---- 480 and down: compact (A-390) ---- */

@media (max-width: 480px) {
    .hall-showcase[b-itpi8njqip] {
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-areas:
            "niche id"
            "vitals vitals"
            "left left"
            "cta cta"
            "tools tools";
        gap: 12px 14px;
        padding: 16px;
        border-radius: 18px;
    }

    .hs-backdrop[b-itpi8njqip] {
        height: 200px;
        opacity: 0.2;
    }

    .hs-glow[b-itpi8njqip] {
        left: -40px;
        width: 200px;
    }

    .hs-niche[b-itpi8njqip] {
        width: 112px;
        height: 148px;
        border-width: 2px;
        border-bottom: 2px solid var(--color-primary-dark);
        border-radius: 999px 999px 12px 12px;
        box-shadow:
            0 0 0 4px color-mix(in srgb, var(--color-primary-dark) 12%, transparent),
            0 14px 30px color-mix(in srgb, var(--color-bg-base) 50%, transparent);
    }

    .hs-wide[b-itpi8njqip],
    .hs-tab[b-itpi8njqip],
    .hs-portrait-only[b-itpi8njqip],
    .hs-reach-tablet[b-itpi8njqip],
    .hs-sheet-short[b-itpi8njqip],
    .hs-note[b-itpi8njqip] {
        display: none;
    }

    .hs-phone[b-itpi8njqip],
    .hs-sheet-long[b-itpi8njqip] {
        display: inline;
    }

    .hs-id[b-itpi8njqip] {
        gap: 5px;
        padding-bottom: 2px;
    }

    .hs-eyebrow[b-itpi8njqip] {
        font-size: var(--gt-sm);
        letter-spacing: 0.16em;
    }

    .hs-name[b-itpi8njqip] {
        font-size: var(--gt-3xl);
    }

    .hs-classline[b-itpi8njqip] {
        color: var(--color-text-secondary);
        font-size: var(--gt-sm);
    }

    .hs-classline .hs-dot[b-itpi8njqip] {
        margin: 0 5px;
    }

    .hs-chips[b-itpi8njqip] {
        gap: 5px;
        margin-top: 3px;
    }

    .hs-chip[b-itpi8njqip] {
        height: 2.18em;
        padding: 0 8px;
        font-size: var(--gt-sm);
    }

    .hs-chip[b-itpi8njqip]  .mud-icon-root {
        width: 14px;
        height: 14px;
    }

    .hs-bars[b-itpi8njqip] {
        gap: 8px;
    }

    .hs-bar dt[b-itpi8njqip],
    .hs-value[b-itpi8njqip] {
        font-size: var(--gt-sm);
        letter-spacing: 0.06em;
    }

    .hs-track[b-itpi8njqip] {
        height: 6px;
    }

    .hs-left[b-itpi8njqip] {
        padding: 10px;
    }

    .hs-left-art[b-itpi8njqip] {
        width: 64px;
        aspect-ratio: 4 / 3;
    }

    .hs-left-eyebrow[b-itpi8njqip] {
        font-size: var(--gt-sm);
    }

    .hs-left-name[b-itpi8njqip] {
        font-size: calc(var(--gt-px) * 13.5);
    }

    .hs-left-line[b-itpi8njqip] {
        font-size: var(--gt-sm);
    }

    .hs-tools--row[b-itpi8njqip]  .hb {
        flex: 1;
        min-height: 44px;
    }

    .hall-showcase .hs-tools--row[b-itpi8njqip]  .mud-icon-button {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Hall/HallSwapDialog.razor.rz.scp.css */
/* HallSwapDialog (owner W1): a radio group of heroes as rows (arch portrait in the class color, name, line, note), the
   picked one in gold; Cancel and Swap. Real radio inputs, visible focus, 44px rows. Tokens only. */

.hsw-message[b-9u8adau91c] {
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 13.5);
    line-height: 1.5;
}

.hsw-form[b-9u8adau91c] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hsw-group[b-9u8adau91c] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.hsw-legend[b-9u8adau91c] {
    margin-bottom: var(--space-xs);
    padding: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hsw-option[b-9u8adau91c] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: 56px;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    cursor: pointer;
}

.hsw-option.is-picked[b-9u8adau91c] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.hsw-option:focus-within[b-9u8adau91c] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hsw-option input[b-9u8adau91c] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-primary);
}

.hsw-portrait[b-9u8adau91c] {
    flex: none;
    width: 40px;
    height: 46px;
    overflow: hidden;
    border-radius: 999px 999px var(--radius-md) var(--radius-md);
    background: var(--color-gray-900);
    box-shadow: inset 0 0 0 2px var(--hsw-class, var(--color-text-tertiary));
}

.hsw-portrait img[b-9u8adau91c] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.hsw-text[b-9u8adau91c] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hsw-name[b-9u8adau91c] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hsw-line[b-9u8adau91c] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.hsw-note[b-9u8adau91c] {
    color: var(--color-warning-lightest);
    font-size: var(--gt-sm);
}

.hsw-actions[b-9u8adau91c] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.hsw-confirm[b-9u8adau91c] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.hsw-confirm[b-9u8adau91c]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.hsw-confirm:focus-visible[b-9u8adau91c] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hsw-confirm:disabled[b-9u8adau91c] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (pointer: coarse) {
    .hsw-confirm[b-9u8adau91c] {
        min-height: 44px;
    }
}
/* /Components/House/HouseSeal.razor.rz.scp.css */
/* The house seal (W3): a shield in a teal medallion. Tokens only; the size follows the game's text size (boxes follow their
   text); the host places it. The shield glyph is a Material icon, never a typed symbol. */
.hh-seal[b-bh9uw3gtsl] {
    --hh-seal-box: calc(var(--gt-px) * 18);
    display: inline-grid;
    place-items: center;
    flex: none;
    width: var(--hh-seal-box);
    height: var(--hh-seal-box);
    border-radius: 50%;
    background: var(--sc-house);
    color: var(--color-bg-base);
    box-shadow: 0 0 0 2px var(--color-bg-base);
}

.hh-seal.is-small[b-bh9uw3gtsl] {
    --hh-seal-box: calc(var(--gt-px) * 15);
    box-shadow: 0 0 0 1.5px var(--color-bg-base);
}

.hh-seal.is-large[b-bh9uw3gtsl] {
    --hh-seal-box: calc(var(--gt-px) * 24);
}

.hh-seal .material-icons[b-bh9uw3gtsl] {
    font-size: calc(var(--gt-px) * 12);
    line-height: 1;
}

.hh-seal.is-large .material-icons[b-bh9uw3gtsl] {
    font-size: calc(var(--gt-px) * 15);
}

@media (forced-colors: active) {
    .hh-seal[b-bh9uw3gtsl] {
        background: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }
}
/* /Components/HouseHall/GhOtherHeroNote.razor.rz.scp.css */
/* The other hero's line: a quiet note above the parties, an icon and words (never colour alone). Tokens only. */
.gh-other-hero[b-dlfvehajwi] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-xl);
    background: var(--fd-card);
    color: var(--color-text-primary);
    font: 500 var(--gt-md) / 1.4 var(--font-primary);
    min-width: 0;
}

.gh-other-hero .material-icons[b-dlfvehajwi] {
    flex: none;
    font-size: var(--gt-xl);
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .gh-other-hero[b-dlfvehajwi] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/HouseHall/GhParties.razor.rz.scp.css */
/* "Parties gathering now" (Direction A, A1). Tokens only; canonical breakpoints only. */
.ghp[b-65hnvo3p9j] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

.ghp-section-head[b-65hnvo3p9j] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-xs) var(--space-md);
}

.ghp-title[b-65hnvo3p9j] {
    margin: 0;
    font: 700 var(--gt-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

.ghp-subtitle[b-65hnvo3p9j] {
    font: 400 var(--gt-md) / 1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.ghp-list[b-65hnvo3p9j] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.ghp-empty[b-65hnvo3p9j] {
    margin: 0;
    font: italic 400 var(--gt-base) / 1.5 var(--fd-font-voice);
    color: var(--color-text-primary);
}

@media not all and (min-width: 768px) {
    .ghp[b-65hnvo3p9j] {
        padding: var(--space-md);
    }
}

@media (forced-colors: active) {
    .ghp[b-65hnvo3p9j] {
        border: 1px solid CanvasText;
        background: Canvas;
    }
}
/* /Components/HouseHall/GhPartyRow.razor.rz.scp.css */
/* One party row (Direction A, A1). Tokens only; canonical breakpoints only. */
.ghp-row[b-dnhj28maxz] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-md);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-2xl);
    background: var(--color-bg-secondary);
}

.ghp-row.is-yours[b-dnhj28maxz] {
    border-color: var(--sc-house-line);
}

.ghp-art[b-dnhj28maxz] {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--sc-house-soft);
}

.ghp-art img[b-dnhj28maxz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ghp-main[b-dnhj28maxz] {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.ghp-head[b-dnhj28maxz] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-xs) var(--space-md);
}

.ghp-raid[b-dnhj28maxz] {
    font: 700 var(--gt-lg) / 1.25 var(--font-primary);
    color: var(--color-text-primary);
}

.ghp-meta[b-dnhj28maxz] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font: 400 var(--gt-md) / 1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.ghp-fact[b-dnhj28maxz] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.ghp-dot[b-dnhj28maxz] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.ghp-seats[b-dnhj28maxz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.ghp-chips[b-dnhj28maxz] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ghp-chip[b-dnhj28maxz] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.25em 0.75em;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-3xl);
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
}

.ghp-chip .material-icons[b-dnhj28maxz] {
    font-size: var(--gt-md);
    color: var(--color-primary);
}

.ghp-chip.is-away[b-dnhj28maxz] {
    border-style: dashed;
}

.ghp-chip.is-open[b-dnhj28maxz] {
    background: transparent;
    border-color: var(--sc-house);
    color: var(--sc-house-ink);
}

/* Garrick's house hero (house heroes W3, call 5 = A): a filled teal chip with the seal at its lead. The row draws no teal rim for
   it (call 12): the chip is the only teal, and an open seat stays the hairline chip. */
.ghp-chip.is-house[b-dnhj28maxz] {
    background: var(--sc-house-soft);
    border-color: var(--sc-house);
}

.ghp-house-note[b-dnhj28maxz] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--sc-house-ink);
}

.ghp-note[b-dnhj28maxz] {
    font: 400 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.ghp-act[b-dnhj28maxz] {
    display: flex;
    justify-content: flex-end;
}

.ghp-btn[b-dnhj28maxz] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    font: 700 var(--gt-base) / 1 var(--font-primary);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.ghp-btn--join[b-dnhj28maxz] {
    background: var(--sc-house);
    color: var(--color-bg-base);
}

.ghp-btn--join:hover:not(:disabled)[b-dnhj28maxz] {
    background: var(--sc-house-ink);
}

.ghp-btn--quiet[b-dnhj28maxz] {
    background: transparent;
    border-color: var(--sc-house-line);
    color: var(--sc-house-ink);
}

.ghp-btn .material-icons[b-dnhj28maxz] {
    font-size: var(--gt-xl);
}

.ghp-btn:disabled[b-dnhj28maxz] {
    opacity: 0.6;
    cursor: progress;
}

.ghp-btn:focus-visible[b-dnhj28maxz] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ghp-why[b-dnhj28maxz] {
    max-width: 180px;
    text-align: right;
    font: 500 var(--gt-md) / 1.35 var(--font-primary);
    color: var(--color-warning-lightest);
}

.ghp-error[b-dnhj28maxz] {
    grid-column: 1 / -1;
    margin: 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--sc-mod-ink);
}

.ghp-sr[b-dnhj28maxz] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* A phone: the art smaller, the action under the row across its width (A3) */
@media not all and (min-width: 768px) {
    .ghp-row[b-dnhj28maxz] {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: var(--space-md);
    }

    .ghp-art[b-dnhj28maxz] {
        width: 44px;
        height: 44px;
    }

    .ghp-act[b-dnhj28maxz] {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .ghp-act .ghp-btn[b-dnhj28maxz] {
        flex: 1;
    }

    .ghp-why[b-dnhj28maxz] {
        max-width: none;
        text-align: left;
    }
}

@media (forced-colors: active) {
    .ghp-row[b-dnhj28maxz],
    .ghp-chip[b-dnhj28maxz],
    .ghp-btn[b-dnhj28maxz] {
        border: 1px solid CanvasText;
        forced-color-adjust: auto;
    }

    .ghp-dot[b-dnhj28maxz] {
        background: CanvasText;
    }
}
/* /Components/HouseHall/GhRaidCard.razor.rz.scp.css */
/* One raid card (Direction A, A1). Tokens only. */
.ghr-card[b-hufsv1mbpr] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--color-bg-secondary);
    min-width: 0;
}

.ghr-card.is-open[b-hufsv1mbpr] {
    border-color: var(--fd-line-gold);
}

.ghr-art[b-hufsv1mbpr] {
    display: block;
    height: 76px;
    background: var(--sc-house-soft);
}

.ghr-art img[b-hufsv1mbpr] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ghr-body[b-hufsv1mbpr] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md);
    flex: 1;
}

.ghr-name[b-hufsv1mbpr] {
    margin: 0;
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.ghr-facts[b-hufsv1mbpr] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    font: 400 var(--gt-sm) / 1.35 var(--font-primary);
    color: var(--color-text-secondary);
}

.ghr-fact[b-hufsv1mbpr] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.ghr-dot[b-hufsv1mbpr] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

.ghr-gather[b-hufsv1mbpr],
.ghr-why[b-hufsv1mbpr] {
    margin: auto 0 0;
    min-height: 44px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ghr-gather[b-hufsv1mbpr] {
    border: 1px solid var(--color-primary);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font: 700 var(--gt-base) / 1 var(--font-primary);
    cursor: pointer;
}

.ghr-gather:disabled[b-hufsv1mbpr] {
    opacity: 0.6;
    cursor: progress;
}

.ghr-gather:focus-visible[b-hufsv1mbpr] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.ghr-why[b-hufsv1mbpr] {
    padding: var(--space-xs) var(--space-sm);
    border: 1px dashed var(--color-border-base);
    color: var(--color-warning-lightest);
    font: 500 var(--gt-sm) / 1.35 var(--font-primary);
}

.ghr-error[b-hufsv1mbpr] {
    margin: 0;
    font: 500 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--sc-mod-ink);
}

@media (forced-colors: active) {
    .ghr-card[b-hufsv1mbpr],
    .ghr-gather[b-hufsv1mbpr],
    .ghr-why[b-hufsv1mbpr] {
        border: 1px solid CanvasText;
        forced-color-adjust: auto;
    }

    .ghr-dot[b-hufsv1mbpr] {
        background: CanvasText;
    }
}
/* /Components/HouseHall/GhRaids.razor.rz.scp.css */
/* "Gather a party of your own" (Direction A, A1). Tokens only; canonical breakpoints only. */
.ghr[b-98yvy5g5p3] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-3xl);
    background: var(--fd-card);
    min-width: 0;
}

.ghr-head[b-98yvy5g5p3] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-xs) var(--space-md);
}

.ghr-title[b-98yvy5g5p3] {
    margin: 0;
    font: 700 var(--gt-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

.ghr-subtitle[b-98yvy5g5p3] {
    font: 400 var(--gt-md) / 1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.ghr-grid[b-98yvy5g5p3] {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.ghr-off[b-98yvy5g5p3] {
    margin: 0;
    font: italic 400 var(--gt-base) / 1.5 var(--fd-font-voice);
    color: var(--color-text-primary);
}

@media not all and (min-width: 1280px) {
    .ghr-grid[b-98yvy5g5p3] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media not all and (min-width: 768px) {
    .ghr[b-98yvy5g5p3] {
        padding: var(--space-md);
    }
}

@media not all and (min-width: 480px) {
    .ghr-grid[b-98yvy5g5p3] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .ghr[b-98yvy5g5p3] {
        border: 1px solid CanvasText;
        background: Canvas;
    }
}
/* /Components/HouseHall/GhTavernCard.razor.rz.scp.css */
/* The tavern hall card's live line (Direction A, A5). Inherits the card's text size; tokens only. */
.ght-line[b-si8kcz59fo] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    color: var(--sc-house-ink);
}

.ght-dot[b-si8kcz59fo] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
}

@media (forced-colors: active) {
    .ght-dot[b-si8kcz59fo] {
        background: CanvasText;
    }
}
/* /Components/HouseHall/GhTavernDoor.razor.rz.scp.css */
/* Garrick's Hall in the tavern's common room (W4): his one offer, then a quiet row. Tokens only. */

.gh-offer[b-uyqglu2yg2] {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-lg);
    background: var(--sc-house-soft);
}

.gh-offer-seal[b-uyqglu2yg2] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font: 700 var(--gt-xl) / 1 var(--font-display);
}

.gh-offer-body[b-uyqglu2yg2] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
}

.gh-offer-title[b-uyqglu2yg2] {
    margin: 0;
    font: 700 var(--gt-base) / 1.2 var(--font-primary);
    color: var(--color-primary);
}

.gh-offer-line[b-uyqglu2yg2] {
    margin: 0;
    font: italic 400 var(--gt-base) / 1.5 var(--fd-font-voice);
    color: var(--color-text-primary);
}

.gh-offer-acts[b-uyqglu2yg2] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.gh-offer-btn[b-uyqglu2yg2] {
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid var(--fd-line-gold);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.gh-offer-btn--gold[b-uyqglu2yg2] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    color: var(--color-bg-base);
}

.gh-offer-btn--quiet[b-uyqglu2yg2] {
    border-color: transparent;
    color: var(--color-text-secondary);
}

.gh-offer-btn:focus-visible[b-uyqglu2yg2],
.gh-row-link:focus-visible[b-uyqglu2yg2] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gh-offer-btn:disabled[b-uyqglu2yg2] {
    opacity: 0.55;
    cursor: not-allowed;
}

.gh-row[b-uyqglu2yg2] {
    margin: var(--space-sm) 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.gh-row .material-icons[b-uyqglu2yg2] {
    font-size: var(--gt-xl);
    color: var(--sc-house);
}

.gh-row-link[b-uyqglu2yg2] {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    color: var(--fd-gold-text);
}

@media (pointer: coarse) {
    .gh-offer-btn[b-uyqglu2yg2],
    .gh-row-link[b-uyqglu2yg2] {
        min-height: 44px;
    }
}

@media not all and (min-width: 480px) {
    .gh-offer[b-uyqglu2yg2] {
        padding: var(--space-md);
    }

    .gh-offer-acts[b-uyqglu2yg2] {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (forced-colors: active) {
    .gh-offer[b-uyqglu2yg2],
    .gh-offer-btn[b-uyqglu2yg2] {
        border: 1px solid CanvasText;
        background: Canvas;
    }
}
/* /Components/HouseHall/HrTalk.razor.rz.scp.css */
/* Party talk in the hall's party room (Direction A, W2; A2): the house teal rim, lines in words, tools on every line
   someone else said (44px on touch). Tokens only, no glyph in content. */
.hr-talk[b-ntrb06c43m] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--sc-house-line);
    background: var(--rm-card);
}

.hr-talk-title[b-ntrb06c43m] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 700 var(--gt-lg)/1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.hr-talk-title .material-icons[b-ntrb06c43m] {
    font-size: var(--gt-xl);
    color: var(--sc-house);
}

.hr-talk-note[b-ntrb06c43m],
.hr-talk-empty[b-ntrb06c43m],
.hr-talk-status[b-ntrb06c43m] {
    margin: 0;
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.hr-talk-status:empty[b-ntrb06c43m] {
    display: none;
}

.hr-talk-lines[b-ntrb06c43m] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.hr-talk-line[b-ntrb06c43m] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 10px;
    padding: 8px 10px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.hr-talk-line.is-own[b-ntrb06c43m] {
    background: var(--sc-house-soft);
}

.hr-talk-line.is-waiting[b-ntrb06c43m] {
    display: block;
    text-align: center;
    font: italic 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.hr-talk-head[b-ntrb06c43m] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.hr-talk-head b[b-ntrb06c43m] {
    font-weight: 700;
    color: var(--color-text-primary);
}

.hr-talk-you[b-ntrb06c43m] {
    padding: 0 6px;
    border-radius: var(--radius-3xl);
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
}

.hr-talk-text[b-ntrb06c43m] {
    grid-column: 1;
    font: 400 var(--gt-base)/1.45 var(--font-primary);
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.hr-talk-tools[b-ntrb06c43m] {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    gap: 2px;
}

.hr-talk-tool[b-ntrb06c43m] {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    min-height: 36px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.hr-talk-tool:hover[b-ntrb06c43m],
.hr-talk-tool:focus-visible[b-ntrb06c43m] {
    color: var(--sc-mod-ink);
    background: var(--sc-mod-soft);
}

.hr-talk-tool:focus-visible[b-ntrb06c43m],
.hr-talk-send:focus-visible[b-ntrb06c43m],
.hr-talk-input:focus-visible[b-ntrb06c43m] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hr-talk-compose[b-ntrb06c43m] {
    display: flex;
    gap: 8px;
}

.hr-talk-input[b-ntrb06c43m] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line-2);
    background: var(--color-bg-base);
    font: 400 var(--gt-base)/1.4 var(--font-primary);
    color: var(--color-text-primary);
}

.hr-talk-input[b-ntrb06c43m]::placeholder {
    color: var(--color-text-secondary);
    opacity: 1;
}

.hr-talk-send[b-ntrb06c43m] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--sc-house-line);
    background: var(--sc-house-soft);
    font: 600 var(--gt-md)/1 var(--font-primary);
    color: var(--sc-house-ink);
    cursor: pointer;
}

.hr-talk-send:disabled[b-ntrb06c43m] {
    cursor: not-allowed;
}

.hr-talk-rules[b-ntrb06c43m] {
    padding: 10px 12px;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--sc-house-line);
    font: 400 var(--gt-sm)/1.45 var(--font-primary);
    color: var(--color-text-primary);
}

.hr-talk-rules-title[b-ntrb06c43m] {
    margin: 0 0 4px;
    font-weight: 700;
}

.hr-talk-rules ol[b-ntrb06c43m] {
    margin: 0 0 8px;
    padding-left: 20px;
}

@media (pointer: coarse) {
    .hr-talk-tool[b-ntrb06c43m],
    .hr-talk-send[b-ntrb06c43m],
    .hr-talk-input[b-ntrb06c43m] {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .hr-talk[b-ntrb06c43m],
    .hr-talk-send[b-ntrb06c43m],
    .hr-talk-input[b-ntrb06c43m] {
        border-color: CanvasText;
    }
}
/* /Components/Layout/FrontDoorLayout.razor.rz.scp.css */
/* The shell only places the three regions; the page owns its sections. The main region takes the room a short page
   leaves (the root is a full-height column), so the footer always ends the screen instead of stopping mid-way over
   an empty band. */
.fd-main[b-htb790nt2n] {
    display: block;
    flex: 1 0 auto;
    min-width: 0;
}

/* Hidden until blazor.web.js shows it on an unhandled circuit error. */
#blazor-error-ui[b-htb790nt2n] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    padding: 12px 20px;
    background: var(--fd-bad-deep);
    color: var(--fd-bad-ink);
    font-family: var(--fd-font-ui);
    font-size: 14px;
    box-shadow: 0 -8px 24px color-mix(in srgb, var(--fd-shadow-ink) 50%, transparent);
}

#blazor-error-ui .reload[b-htb790nt2n] {
    margin-left: 8px;
    color: var(--fd-gold);
    font-weight: 700;
}

#blazor-error-ui .dismiss[b-htb790nt2n] {
    position: absolute;
    right: 16px;
    top: 10px;
    cursor: pointer;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout scoped styles: the game's shell (Docs/LRPG_GAME_MENU.md 6.1). The frame (GameFrame) is fixed at the top;
   the page box under it pads its top by --frame-top (64px from 768, 56px on phones, 0 in combat), as MudBlazor's main
   content padded by its app bar's height. Tokens only. */

/* The shell's root (it was MudLayout): no transform, filter, z-index, isolation or opacity here or on the page box, so a
   fixed layer inside a page (the combat log flyout, the tavern's sheets) stays fixed to the window. */
.gf-app[b-ei8mtptfs0] {
    display: block;
}

/* The page box (it was MudMainContent): the old main content's gradient, a column so the footer sits at the end. */
.gf-content[b-ei8mtptfs0] {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: var(--frame-top, 64px);
    /* The phone's dock (--frame-bottom) and the sideways rail (--frame-left), phase M: the page and its footer end above
       the dock and start beside the rail. */
    padding-bottom: var(--frame-bottom, 0px);
    padding-left: var(--frame-left, 0px);
    background: linear-gradient(180deg, var(--color-bg-elevated-alt) 0%, var(--color-bg-elevated) 50%, var(--color-bg-elevated-alt) 100%);
}

main[b-ei8mtptfs0] {
    flex: 1;
}

/* MudBlazor fixes a drawer to the window only inside a MudLayout (MudDrawer.IsFixed: Fixed && its container is MudLayout);
   anywhere else it is position: absolute, and a closed one hangs off the page's edge (the tavern's 1100px hub drawer
   widened the document to 2466px at 1366). The pages' drawers (the tavern's panels, the item, spell and bestiary details,
   combat's settings) keep the window-fixed place they had under MudLayout. */
[b-ei8mtptfs0] .mud-drawer:not(.mud-drawer-fixed) {
    position: fixed;
}

/* A page's side drawer (left or right, full height) stops at the phone's dock (phase M, 5.5: the dock stays visible and
   tappable beside a page's layer, as it does under the tavern's sheets), so its last rows never sit under the dock. A
   bottom drawer (the item, spell and bestiary details) is modal on MudBlazor's temporary-drawer layer (1302), over the
   dock: it still sits at the window's foot and covers the dock while it is open. */
[b-ei8mtptfs0] .mud-drawer {
    max-height: calc(100% - var(--frame-bottom, 0px));
}

/* The page's landmark (Docs/LRPG_GAME_MENU.md section 8), the skip link's target. Focusing it scrolls it into view; the
   margin keeps its top clear of the fixed bar (--frame-top, the GAME FRAME tokens), or the first 41-49px of a long page
   landed under the bar. */
.gf-main[b-ei8mtptfs0] {
    scroll-margin-top: var(--frame-top, 64px);
}

/* A programmatic focus target, not a control (tabindex -1): a click on plain page content focuses it, and the next key
   press made the global *:focus-visible ring outline the whole page box. No ring here, as the front door does for its
   [tabindex="-1"] targets (front-door.css); the controls inside keep theirs. */
.gf-main:focus-visible[b-ei8mtptfs0] {
    outline: none;
}

/* ===== FOOTER: the copyright line and the legal links (no glyphs: the separators are drawn) ===== */

.gf-foot[b-ei8mtptfs0] {
    flex: none;
}

.gf-foot-inner[b-ei8mtptfs0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    box-sizing: border-box;
    max-width: 1920px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    text-align: center;
}

.gf-foot-line[b-ei8mtptfs0] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    line-height: 1.5;
}

.gf-foot-sep[b-ei8mtptfs0] {
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 6px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
}

.gf-foot-links[b-ei8mtptfs0] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.gf-foot-links a[b-ei8mtptfs0] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    text-decoration: none;
}

.gf-foot-links a:hover[b-ei8mtptfs0] {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .gf-foot-inner[b-ei8mtptfs0] {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Blazor Error UI - Fantasy themed */
#blazor-error-ui[b-ei8mtptfs0] {
    color-scheme: dark only;
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(239, 68, 68, 0.3);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: var(--space-md) var(--space-xl);
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: var(--color-danger-lightest);
    font-family: var(--font-primary);
    border-top: 2px solid var(--color-danger);
}

#blazor-error-ui .dismiss[b-ei8mtptfs0] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    color: var(--color-danger-lightest);
    transition: color 0.2s ease;
}

#blazor-error-ui .dismiss:hover[b-ei8mtptfs0] {
    color: #ffffff;
}

#blazor-error-ui .reload[b-ei8mtptfs0] {
    color: var(--color-primary);
    text-decoration: underline;
    margin-left: 0.5rem;
}

#blazor-error-ui .reload:hover[b-ei8mtptfs0] {
    color: var(--color-primary-light);
}

/* Custom scrollbar for fantasy theme */
[b-ei8mtptfs0]::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

[b-ei8mtptfs0]::-webkit-scrollbar-track {
    background: var(--color-gray-900);
}

[b-ei8mtptfs0]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #475569, var(--color-gray-700));
    border-radius: 4px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

[b-ei8mtptfs0]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-text-tertiary), #475569);
    border-color: var(--color-border-hover);
}

/* Selection highlighting */
[b-ei8mtptfs0]::selection {
    background: var(--color-border-active);
    color: var(--color-primary);
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-o2d7qkooc8],
.components-reconnect-repeated-attempt-visible[b-o2d7qkooc8],
.components-reconnect-failed-visible[b-o2d7qkooc8],
.components-pause-visible[b-o2d7qkooc8],
.components-resume-failed-visible[b-o2d7qkooc8],
.components-rejoining-animation[b-o2d7qkooc8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-retrying[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-failed[b-o2d7qkooc8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-o2d7qkooc8] {
    display: block;
}


/* ===== The modal: every page without the game's frame, the front door's above all (13 Nov 2026: it was the template's
   white box). A dark card on the front door's palette (design-system.css FRONT DOOR TOKENS), a gold rim and a gold Retry,
   the template's words. Every property set here the frame's strip (.gf-reconnect, below) sets again, so the strip is
   unchanged; the modal-only extras are scoped with :not(.gf-reconnect). ReconnectModalThemeTests pins it. ===== */

#components-reconnect-modal[b-o2d7qkooc8] {
    background-color: var(--fd-panel);
    color: var(--fd-text-2);
    font-family: var(--font-primary);
    font-size: 15px;
    width: 22rem;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    margin: 20vh auto;
    padding: 28px 24px;
    border: 1px solid var(--fd-line-gold-strong);
    border-radius: 14px;
    box-shadow: 0 24px 60px color-mix(in srgb, black 60%, transparent), 0 0 0 1px color-mix(in srgb, var(--fd-gold) 8%, transparent) inset;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-o2d7qkooc8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-o2d7qkooc8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-o2d7qkooc8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-o2d7qkooc8]::backdrop {
    background-color: color-mix(in srgb, var(--fd-night) 72%, transparent);
    animation: components-reconnect-modal-fadeInOpacity-b-o2d7qkooc8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-o2d7qkooc8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-o2d7qkooc8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-o2d7qkooc8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-o2d7qkooc8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-o2d7qkooc8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-o2d7qkooc8] {
    border: 0;
    background-color: var(--fd-gold);
    color: var(--fd-on-gold);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    min-height: 44px;
    padding: 0 28px;
    border-radius: 10px;
}

#components-reconnect-modal:not(.gf-reconnect) button[b-o2d7qkooc8] {
    background-image: var(--fd-gold-grad);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

#components-reconnect-modal:not(.gf-reconnect) button:hover[b-o2d7qkooc8] {
    background-color: var(--fd-gold-pale);
}

#components-reconnect-modal:not(.gf-reconnect) button:active[b-o2d7qkooc8] {
    background-image: none;
    background-color: var(--fd-gold-dark);
}

#components-reconnect-modal:not(.gf-reconnect) button:focus-visible[b-o2d7qkooc8] {
    outline: 2px solid var(--fd-gold-pale);
    outline-offset: 3px;
}

#components-reconnect-modal:not(.gf-reconnect) p[b-o2d7qkooc8] {
    line-height: 1.5;
}

#components-reconnect-modal:not(.gf-reconnect) .components-reconnect-first-attempt-visible[b-o2d7qkooc8] {
    color: var(--fd-cream-2);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

#components-reconnect-modal:not(.gf-reconnect) #components-seconds-to-next-attempt[b-o2d7qkooc8] {
    color: var(--fd-gold-text);
    font-weight: 700;
}

@media (max-width: 480px) {
    #components-reconnect-modal:not(.gf-reconnect)[b-o2d7qkooc8] {
        margin-top: 14vh;
        padding: 24px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal:not(.gf-reconnect) .components-rejoining-animation div[b-o2d7qkooc8] {
        animation-duration: 3s;
    }
}

@media (forced-colors: active) {
    #components-reconnect-modal:not(.gf-reconnect)[b-o2d7qkooc8] {
        border-color: CanvasText;
    }
}

.components-rejoining-animation[b-o2d7qkooc8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-o2d7qkooc8] {
        position: absolute;
        border: 3px solid var(--fd-gold);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-o2d7qkooc8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-o2d7qkooc8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-o2d7qkooc8 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

/* ===== The game's shell: a calm strip under the frame's bar (Docs/LRPG_GAME_MENU.md phase B; BL-States-1366 section 5) =====
   ReconnectModal.razor.js shows the dialog without its modal backdrop while the frame is on the page and adds
   .gf-reconnect: ReconnectModal's own words in one row, a small spinner, Retry or Resume at the end; the page and the
   frame stay usable. The front door keeps the modal above. */

#components-reconnect-modal.gf-reconnect[b-o2d7qkooc8] {
    position: fixed;
    top: calc(var(--frame-top, 64px) + 8px);
    left: 50%;
    right: auto;
    z-index: var(--frame-z-reconnect, 1600);
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    padding: 6px 8px 6px 14px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background-color: var(--color-gray-900);
    box-shadow: 0 14px 34px color-mix(in srgb, black 50%, transparent);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: 13.5px;
    opacity: 1;
    transform: translateX(-50%);
    animation: none;
    transition: none;
}

#components-reconnect-modal.gf-reconnect[open][b-o2d7qkooc8] {
    animation: none;
}

#components-reconnect-modal.gf-reconnect.components-reconnect-retrying[b-o2d7qkooc8] {
    border-color: color-mix(in srgb, var(--color-warning-light) 50%, transparent);
}

#components-reconnect-modal.gf-reconnect.components-reconnect-failed[b-o2d7qkooc8] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
}

#components-reconnect-modal.gf-reconnect.components-reconnect-paused[b-o2d7qkooc8] {
    border-color: color-mix(in srgb, var(--color-info-light) 50%, transparent);
}

#components-reconnect-modal.gf-reconnect .components-reconnect-container[b-o2d7qkooc8] {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-height: 34px;
}

#components-reconnect-modal.gf-reconnect p[b-o2d7qkooc8] {
    text-align: left;
    font-weight: 600;
}

#components-reconnect-modal.gf-reconnect br[b-o2d7qkooc8] {
    display: none;
}

/* One line at a time: Blazor keeps the first attempt's class while it retries, fails or pauses. */
#components-reconnect-modal.gf-reconnect.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-o2d7qkooc8],
#components-reconnect-modal.gf-reconnect.components-reconnect-failed .components-reconnect-first-attempt-visible[b-o2d7qkooc8],
#components-reconnect-modal.gf-reconnect.components-reconnect-paused .components-reconnect-first-attempt-visible[b-o2d7qkooc8],
#components-reconnect-modal.gf-reconnect.components-reconnect-failed .components-rejoining-animation[b-o2d7qkooc8],
#components-reconnect-modal.gf-reconnect.components-reconnect-paused .components-rejoining-animation[b-o2d7qkooc8] {
    display: none;
}

#components-reconnect-modal.gf-reconnect.components-reconnect-retrying .components-rejoining-animation[b-o2d7qkooc8] {
    border-color: color-mix(in srgb, var(--color-warning-light) 22%, transparent);
    border-top-color: var(--color-warning-light);
}

#components-reconnect-modal.gf-reconnect .components-rejoining-animation[b-o2d7qkooc8] {
    width: 22px;
    height: 22px;
    flex: none;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2.5px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-top-color: var(--color-primary);
    animation: gf-reconnect-spin-b-o2d7qkooc8 0.9s linear infinite;
}

#components-reconnect-modal.gf-reconnect .components-rejoining-animation div[b-o2d7qkooc8] {
    display: none;
}

#components-reconnect-modal.gf-reconnect button[b-o2d7qkooc8] {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--color-gray-600);
    background-color: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
}

#components-reconnect-modal.gf-reconnect button:hover[b-o2d7qkooc8] {
    background-color: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
}

#components-reconnect-modal.gf-reconnect button:focus-visible[b-o2d7qkooc8] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The strip's live region (ReconnectModal.razor): read by screen readers, never drawn. */
.gf-reconnect-announce[b-o2d7qkooc8] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes gf-reconnect-spin-b-o2d7qkooc8 {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal.gf-reconnect .components-rejoining-animation[b-o2d7qkooc8] {
        animation: none;
    }
}

@media (forced-colors: active) {
    #components-reconnect-modal.gf-reconnect[b-o2d7qkooc8] {
        border-color: CanvasText;
    }
}
/* /Components/Leaderboards/LbBoardView.razor.rz.scp.css */
/* The board (comps): a Cinzel heading in gold with its unit on the right over a faint gold rule, then the podium, the
   rows 6px apart and the viewer's own row. On a phone the viewer's pinned row stays at the bottom of the screen, on the
   frame's dock (--frame-bottom), while the rows scroll under it. */
.lb-board[b-5czm4u54sj] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    border-radius: var(--radius-lg);
}

.lb-board:focus-visible[b-5czm4u54sj] {
    outline: 2px solid var(--color-primary);
    outline-offset: 6px;
}

.lb-board-head[b-5czm4u54sj] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-base);
}

.lb-board-title[b-5czm4u54sj] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: 700;
    line-height: 1.2;
}

.lb-board-unit[b-5czm4u54sj] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
}

.lb-rows[b-5czm4u54sj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Second and third as rows on a phone; the podium shows them from 768. */
.lb-rows--phone[b-5czm4u54sj] {
    margin-bottom: -14px;
}

.lb-you[b-5czm4u54sj] {
    position: sticky;
    bottom: calc(var(--frame-bottom, 0px) + 8px);
    z-index: 2;
    margin-top: 4px;
    border-radius: var(--radius-xl);
    box-shadow: 0 -8px 20px var(--color-bg-base), var(--shadow-md);
}

@media (min-width: 768px) {
    .lb-board[b-5czm4u54sj] {
        gap: 24px;
    }

    .lb-board-title[b-5czm4u54sj] {
        font-size: var(--gt-3xl);
    }

    .lb-board-unit[b-5czm4u54sj] {
        font-size: var(--gt-base);
    }

    .lb-rows--phone[b-5czm4u54sj] {
        display: none;
    }

    .lb-you[b-5czm4u54sj] {
        position: static;
        margin-top: 0;
        box-shadow: none;
    }
}

@media (forced-colors: active) {
    .lb-board:focus-visible[b-5czm4u54sj] {
        outline-color: Highlight;
    }

    .lb-board-head[b-5czm4u54sj] {
        border-bottom-color: CanvasText;
    }
}
/* /Components/Leaderboards/LbHexDisc.razor.rz.scp.css */
/* The hex disc (hex disc spec 3: the board's pointy-top hexagon, 0.88 as wide as it is tall): a rim in the class colour
   (--cc, set inline from the class token; slate without a class) around a dark face holding the portrait or the initial.
   Sizes follow the comps: first place 96 (64 on a phone), second and third 76, a row 40 (36 on a phone). */
.lb-disc[b-nxczx3ftrz] {
    --lb-hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    --lb-disc-h: 40px;
    --lb-rim: 3px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: calc(var(--lb-disc-h) * var(--gt-box));
    aspect-ratio: 0.88;
    clip-path: var(--lb-hex);
    background: linear-gradient(160deg,
        color-mix(in srgb, var(--cc, var(--color-text-secondary)) 55%, var(--color-text-primary)),
        var(--cc, var(--color-text-secondary)) 50%,
        color-mix(in srgb, var(--cc, var(--color-text-secondary)) 45%, var(--color-bg-base)));
}

.lb-disc-face[b-nxczx3ftrz] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - var(--lb-rim) * 2);
    height: calc(100% - var(--lb-rim) * 2);
    overflow: hidden;
    clip-path: var(--lb-hex);
    background: radial-gradient(circle at 50% 38%, var(--color-gray-800), var(--color-bg-base));
}

.lb-disc-img[b-nxczx3ftrz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
}

.lb-disc-initial[b-nxczx3ftrz] {
    color: color-mix(in srgb, var(--cc, var(--color-text-secondary)) 50%, var(--color-text-primary));
    font-family: var(--font-primary);
    font-size: var(--gt-lg);
    font-weight: 700;
    line-height: 1;
}

.lb-disc--row[b-nxczx3ftrz] {
    --lb-disc-h: 36px;
}

.lb-disc--first[b-nxczx3ftrz],
.lb-disc--podium[b-nxczx3ftrz] {
    --lb-disc-h: 64px;
    --lb-rim: 4px;
}

.lb-disc--first .lb-disc-initial[b-nxczx3ftrz],
.lb-disc--podium .lb-disc-initial[b-nxczx3ftrz] {
    font-family: var(--font-display);
    font-size: var(--gt-3xl);
}

@media (min-width: 768px) {
    .lb-disc--row[b-nxczx3ftrz] {
        --lb-disc-h: 40px;
    }

    .lb-disc--podium[b-nxczx3ftrz] {
        --lb-disc-h: 76px;
    }

    .lb-disc--first[b-nxczx3ftrz] {
        --lb-disc-h: 96px;
        --lb-rim: 5px;
    }

    .lb-disc--podium .lb-disc-initial[b-nxczx3ftrz] {
        font-family: var(--font-display);
        font-size: var(--gt-4xl);
    }

    .lb-disc--first .lb-disc-initial[b-nxczx3ftrz] {
        font-family: var(--font-display);
        font-size: var(--gt-5xl);
    }
}

@media (forced-colors: active) {
    .lb-disc[b-nxczx3ftrz] {
        background: CanvasText;
        forced-color-adjust: none;
    }

    .lb-disc-face[b-nxczx3ftrz] {
        background: Canvas;
    }

    .lb-disc-initial[b-nxczx3ftrz] {
        color: CanvasText;
    }
}
/* /Components/Leaderboards/LbInviteNudge.razor.rz.scp.css */
/* The nudge: a quiet card with a dashed gold rim, the line in light words beside a gold icon, Find friends as a gold
   outline (the page's one solid gold is the switch's current side). */
.lb-nudge[b-zbnztxdala] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    padding: 16px 18px;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: var(--radius-2xl);
    background: var(--color-bg-secondary);
}

.lb-nudge-text[b-zbnztxdala] {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    line-height: 1.4;
}

.lb-nudge-text .material-icons[b-zbnztxdala] {
    flex: none;
    color: var(--color-primary-dark);
    font-size: var(--gt-2xl);
}

.lb-nudge-link[b-zbnztxdala] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.lb-nudge-link:hover[b-zbnztxdala] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.lb-nudge-link:focus-visible[b-zbnztxdala] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (forced-colors: active) {
    .lb-nudge[b-zbnztxdala] {
        border-color: CanvasText;
    }

    .lb-nudge-link:focus-visible[b-zbnztxdala] {
        outline-color: Highlight;
    }
}
/* /Components/Leaderboards/LbPodium.razor.rz.scp.css */
/* The podium (comps). A phone: first place alone, one horizontal card (disc | FIRST, name, line | score). From 768: three
   columns, second | first | third, bottoms aligned, first taller on a gold tint with a gold rim. */
.lb-podium[b-o545pxzz8t] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lb-pod[b-o545pxzz8t] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "disc place score"
        "disc who score";
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-3xl);
    background: var(--color-bg-secondary);
}

.lb-pod--2[b-o545pxzz8t],
.lb-pod--3[b-o545pxzz8t] {
    display: none;
}

.lb-pod--1[b-o545pxzz8t] {
    border-color: var(--color-primary-dark);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 10%, var(--color-bg-secondary)), var(--color-bg-secondary));
}

.lb-pod[b-o545pxzz8t]  .lb-disc {
    grid-area: disc;
}

.lb-pod-place[b-o545pxzz8t] {
    grid-area: place;
    color: var(--color-text-light);
}

.lb-pod-numeral[b-o545pxzz8t] {
    display: none;
}

.lb-pod-word[b-o545pxzz8t] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lb-pod-who[b-o545pxzz8t] {
    grid-area: who;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lb-pod-name[b-o545pxzz8t] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-lg);
    font-weight: 700;
    overflow-wrap: break-word;
}

.lb-pod-you[b-o545pxzz8t] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lb-pod-line[b-o545pxzz8t] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
}

.lb-pod-score[b-o545pxzz8t] {
    grid-area: score;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--gt-xl);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Above Medium text (the shell's game-text-grown root flag) the phone card puts the score under the name, so a long name
   keeps whole words. From 768 the cards are columns and this does nothing. */
html.game-text-grown .lb-pod[b-o545pxzz8t] {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "disc place"
        "disc who"
        "disc score";
}

.lb-pod.is-you[b-o545pxzz8t] {
    box-shadow: inset 0 0 0 1px var(--color-primary-dark);
}

@media (min-width: 768px) {
    .lb-podium[b-o545pxzz8t] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
    }

    .lb-pod[b-o545pxzz8t],
    .lb-pod--2[b-o545pxzz8t],
    .lb-pod--3[b-o545pxzz8t] {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 20px 22px;
        text-align: center;
    }

    .lb-pod--1[b-o545pxzz8t] {
        grid-column: 2;
        grid-row: 1;
        padding-top: 28px;
    }

    .lb-pod--2[b-o545pxzz8t] {
        grid-column: 1;
        grid-row: 1;
    }

    .lb-pod--3[b-o545pxzz8t] {
        grid-column: 3;
        grid-row: 1;
    }

    /* One entry stands in the middle; two put second at the left of first, as the full podium does. */
    .lb-podium--1 .lb-pod--1[b-o545pxzz8t],
    .lb-podium--2 .lb-pod--1[b-o545pxzz8t] {
        grid-column: 2;
    }

    .lb-pod-numeral[b-o545pxzz8t] {
        display: inline;
        font-family: var(--font-display);
        font-size: var(--gt-xl);
        font-weight: 700;
        letter-spacing: 0.12em;
    }

    .lb-pod--1 .lb-pod-numeral[b-o545pxzz8t] {
        color: var(--color-primary);
    }

    .lb-pod-word[b-o545pxzz8t] {
        display: none;
    }

    .lb-pod-who[b-o545pxzz8t] {
        align-items: center;
    }

    .lb-pod-score[b-o545pxzz8t] {
        font-size: calc(var(--gt-px) * 26);
    }
}

@media (forced-colors: active) {
    .lb-pod[b-o545pxzz8t] {
        border-color: CanvasText;
    }

    .lb-pod--1[b-o545pxzz8t],
    .lb-pod.is-you[b-o545pxzz8t] {
        border: 3px solid Highlight;
    }
}
/* /Components/Leaderboards/LbRecordTabs.razor.rz.scp.css */
/* The record buttons (comps): quiet slate chips, the selected one gold-ringed on a 12% gold tint with gold words. 44px
   tall. A phone scrolls them sideways in one row, edge to edge (the comp's -16px bleed); from 768 they wrap. */
.lb-tabs[b-d9p59rhyod] {
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--lb-bleed, 16px) * -1);
    padding: 4px var(--lb-bleed, 16px);
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding-inline: var(--lb-bleed, 16px);
}

.lb-tab[b-d9p59rhyod] {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    background: var(--color-bg-secondary);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.lb-tab .material-icons[b-d9p59rhyod] {
    font-size: var(--gt-xl);
}

.lb-tab:hover[b-d9p59rhyod] {
    border-color: var(--color-border-active);
    color: var(--color-text-primary);
}

.lb-tab.is-selected[b-d9p59rhyod] {
    border-color: var(--color-primary-dark);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--color-primary);
    font-weight: 700;
}

.lb-tab:focus-visible[b-d9p59rhyod] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .lb-tabs[b-d9p59rhyod] {
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lb-tab[b-d9p59rhyod] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .lb-tab[b-d9p59rhyod] {
        border-color: CanvasText;
    }

    .lb-tab.is-selected[b-d9p59rhyod] {
        border-color: Highlight;
        outline: 2px solid Highlight;
        outline-offset: -3px;
    }

    .lb-tab:focus-visible[b-d9p59rhyod] {
        outline-color: Highlight;
    }
}
/* /Components/Leaderboards/LbRow.razor.rz.scp.css */
/* A ranked row (comps): place | disc | name and line | bar | score on a quiet card. A phone keeps place | disc | name |
   score (no bar, comp Phone 390); from 768 the bar column appears (120-160px; from 1280 0.4 of the name's share, so a
   1920 window widens the bar rather than the gap before it). The viewer's row: a 1.5px
   gold ring on a 7% gold tint, the place in gold, a small "You" tag. */
.lb-row[b-4vavw8mhqy] {
    display: grid;
    grid-template-columns: calc(26px * var(--gt-box)) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    background: var(--color-bg-secondary);
}

.lb-row-place[b-4vavw8mhqy] {
    display: inline-flex;
    justify-content: center;
    color: var(--color-text-secondary);
    font-family: var(--font-display);
    font-size: var(--gt-xl);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.lb-row-place .material-icons[b-4vavw8mhqy] {
    font-size: var(--gt-2xl);
}

.lb-row-who[b-4vavw8mhqy] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lb-row-name[b-4vavw8mhqy] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 8px;
    min-width: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
}

/* Names and lines wrap rather than end in an ellipsis: at Extra large on a phone a long name takes two lines. */
.lb-row-name-text[b-4vavw8mhqy] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lb-you-tag[b-4vavw8mhqy] {
    flex: none;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lb-row-line[b-4vavw8mhqy] {
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    overflow-wrap: anywhere;
}

.lb-row-bar[b-4vavw8mhqy] {
    display: none;
    height: 6px;
    overflow: hidden;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.lb-row-fill[b-4vavw8mhqy] {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--color-primary-dark);
}

.lb-row-note[b-4vavw8mhqy] {
    display: none;
    flex-direction: column;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
}

.lb-row-gap[b-4vavw8mhqy] {
    color: var(--color-text-secondary);
}

.lb-row-score[b-4vavw8mhqy] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.lb-row.is-you[b-4vavw8mhqy] {
    border: 1.5px solid var(--color-primary-dark);
    background: color-mix(in srgb, var(--color-primary) 7%, var(--color-bg-secondary));
}

.lb-row.is-you .lb-row-place[b-4vavw8mhqy] {
    color: var(--color-primary);
}

.lb-row.is-you .lb-row-name[b-4vavw8mhqy] {
    font-weight: 700;
}

/* A phone: the pinned row says why on a second line under the name (no bar column there). */
.lb-row.is-pinned .lb-row-note[b-4vavw8mhqy] {
    display: flex;
    grid-column: 3 / -1;
    grid-row: 2;
}

.lb-row.is-pinned .lb-row-place[b-4vavw8mhqy],
.lb-row.is-pinned[b-4vavw8mhqy]  .lb-disc {
    grid-row: 1 / span 2;
}

.lb-row.is-pinned .lb-row-score[b-4vavw8mhqy] {
    grid-column: 4;
    grid-row: 1;
}

@media (max-width: 480px) {
    .lb-row[b-4vavw8mhqy] {
        gap: 10px;
        padding: 8px 10px;
    }
}

@media (min-width: 768px) {
    .lb-row[b-4vavw8mhqy] {
        grid-template-columns: calc(40px * var(--gt-box)) auto minmax(0, 1fr) minmax(120px, 160px) minmax(calc(84px * var(--gt-box)), auto);
        gap: 16px;
        min-height: 60px;
        padding: 10px 16px;
    }

    .lb-row-bar[b-4vavw8mhqy] {
        display: block;
    }

    .lb-row-note[b-4vavw8mhqy],
    .lb-row.is-pinned .lb-row-note[b-4vavw8mhqy] {
        display: flex;
        grid-column: auto;
        grid-row: auto;
    }

    .lb-row.is-pinned .lb-row-place[b-4vavw8mhqy],
    .lb-row.is-pinned[b-4vavw8mhqy]  .lb-disc,
    .lb-row.is-pinned .lb-row-score[b-4vavw8mhqy] {
        grid-column: auto;
        grid-row: auto;
    }

    .lb-row-name[b-4vavw8mhqy],
    .lb-row-score[b-4vavw8mhqy] {
        font-size: var(--gt-lg);
    }

    .lb-row-line[b-4vavw8mhqy] {
        font-size: var(--gt-md);
    }
}

@media (min-width: 1280px) {
    .lb-row[b-4vavw8mhqy] {
        grid-template-columns: calc(48px * var(--gt-box)) auto minmax(0, 1fr) minmax(200px, 0.4fr) minmax(calc(110px * var(--gt-box)), auto);
    }
}

@media (forced-colors: active) {
    .lb-row[b-4vavw8mhqy] {
        border-color: CanvasText;
    }

    .lb-row.is-you[b-4vavw8mhqy] {
        border: 3px solid Highlight;
    }

    .lb-row-fill[b-4vavw8mhqy] {
        background: CanvasText;
        forced-color-adjust: none;
    }
}
/* /Components/Leaderboards/LbScopeSwitch.razor.rz.scp.css */
/* The switch: a pill well on the dark ground, the current side a gold fill with navy words (8:1), the other side light
   words. Fills the width on a phone (comp Phone 390); its own width from 768. 44px targets everywhere. */
.lb-scope[b-rxjn9yi8b8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--color-border-hover);
    border-radius: 999px;
    background: var(--color-bg-secondary);
}

.lb-scope-link[b-rxjn9yi8b8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.lb-scope-link .material-icons[b-rxjn9yi8b8] {
    font-size: var(--gt-xl);
}

.lb-scope-link:hover[b-rxjn9yi8b8] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-text-primary);
}

.lb-scope-link.is-current[b-rxjn9yi8b8] {
    background: var(--color-primary-dark);
    color: var(--color-bg-base);
    font-weight: 700;
}

.lb-scope-link:focus-visible[b-rxjn9yi8b8] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .lb-scope[b-rxjn9yi8b8] {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lb-scope-link[b-rxjn9yi8b8] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .lb-scope[b-rxjn9yi8b8] {
        border-color: CanvasText;
    }

    .lb-scope-link.is-current[b-rxjn9yi8b8] {
        background: Highlight;
        color: HighlightText;
        forced-color-adjust: none;
    }

    .lb-scope-link:focus-visible[b-rxjn9yi8b8] {
        outline-color: Highlight;
    }
}
/* /Components/Leaderboards/LbShell.razor.rz.scp.css */
/* The page (comps): a column on the dark ground, 28px between its parts at 1280 (20px on a phone), up to 1440px wide in
   the middle of the window. The head puts the title block and the switch on one line from 768 (the switch bottom-right);
   a phone stacks them, the switch full width, and drops the line (comp Phone 390). --lb-gutter is the side room the page
   adds to the shell's own 16px (MainLayout's pa-4): 16px a side on a phone, 32px from 768, 80px from 1280, as the comps;
   --lb-bleed is the whole side room, which the phone's record buttons scroll across to the screen's edge. */
.lb-page[b-l39l0of483] {
    --lb-gutter: 0px;
    --lb-bleed: calc(var(--lb-gutter) + 16px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: calc(1440px + var(--lb-gutter) * 2);
    margin: 0 auto;
    padding: 4px var(--lb-gutter) 32px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
}

.lb-head[b-l39l0of483] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lb-head-text[b-l39l0of483] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.lb-kicker[b-l39l0of483] {
    margin: 0;
    color: var(--color-primary-dark);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.lb-title[b-l39l0of483] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--gt-4xl);
    font-weight: 700;
    line-height: 1.15;
}

.lb-line[b-l39l0of483] {
    display: none;
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
}

@media (min-width: 768px) {
    .lb-page[b-l39l0of483] {
        --lb-gutter: 16px;
        gap: 24px;
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .lb-head[b-l39l0of483] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 20px 24px;
    }

    .lb-head-text[b-l39l0of483] {
        gap: 6px;
    }

    .lb-title[b-l39l0of483] {
        font-size: var(--gt-6xl);
    }

    .lb-line[b-l39l0of483] {
        display: block;
    }
}

@media (min-width: 1280px) {
    .lb-page[b-l39l0of483] {
        --lb-gutter: 64px;
        gap: 28px;
        padding-top: 24px;
    }
}

@media (forced-colors: active) {
    .lb-kicker[b-l39l0of483],
    .lb-title[b-l39l0of483],
    .lb-line[b-l39l0of483] {
        color: CanvasText;
    }
}
/* /Components/Leaderboards/LbState.razor.rz.scp.css */
/* The states. Loading: the board's own shape in slate blocks, a slow pulse (none under reduced motion). Error and Invite:
   one centred card, an icon, a Cinzel title (18px and up), a line and one action (Invite's Find friends is the screen's
   gold; Try again is a quiet outline). Empty: a dashed card inside the board. */
.lb-state--loading[b-rnbytvh2hw] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lb-skel[b-rnbytvh2hw],
.lb-skel-head[b-rnbytvh2hw] {
    display: block;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-text-primary) 6%, var(--color-bg-secondary));
    animation: lb-pulse-b-rnbytvh2hw 1.6s ease-in-out infinite;
}

.lb-skel-head[b-rnbytvh2hw] {
    height: 40px;
    margin-bottom: 12px;
}

.lb-skel-podium[b-rnbytvh2hw] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 12px;
}

.lb-skel--pod[b-rnbytvh2hw] {
    display: none;
    height: 200px;
    border-radius: var(--radius-3xl);
}

.lb-skel--first[b-rnbytvh2hw] {
    display: block;
    height: 96px;
}

.lb-skel--row[b-rnbytvh2hw] {
    height: 56px;
}

@keyframes lb-pulse-b-rnbytvh2hw {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.lb-state--message[b-rnbytvh2hw] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-3xl);
    background: var(--color-bg-secondary);
    text-align: center;
}

.lb-state--invite[b-rnbytvh2hw] {
    border-style: dashed;
    border-color: var(--color-border-active);
}

.lb-state-icon[b-rnbytvh2hw] {
    color: var(--color-primary-dark);
    font-size: var(--gt-6xl);
}

.lb-state-title[b-rnbytvh2hw] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: 700;
}

.lb-state-text[b-rnbytvh2hw] {
    max-width: 46ch;
    margin: 0;
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    line-height: 1.5;
}

.lb-state-action[b-rnbytvh2hw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin-top: 4px;
    padding: 0 20px;
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.lb-state-action--gold[b-rnbytvh2hw] {
    border-color: var(--color-primary-dark);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-weight: 700;
}

.lb-state-action:focus-visible[b-rnbytvh2hw] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lb-state--empty[b-rnbytvh2hw] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
    border: 1px dashed var(--color-border-active);
    border-radius: var(--radius-2xl);
    background: var(--color-bg-secondary);
}

.lb-state--empty .lb-state-icon[b-rnbytvh2hw] {
    font-size: var(--gt-4xl);
}

@media (min-width: 768px) {
    .lb-skel-podium[b-rnbytvh2hw] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: end;
    }

    .lb-skel--pod[b-rnbytvh2hw] {
        display: block;
    }

    .lb-skel--first[b-rnbytvh2hw] {
        height: 236px;
    }

    .lb-skel--row[b-rnbytvh2hw] {
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lb-skel[b-rnbytvh2hw],
    .lb-skel-head[b-rnbytvh2hw] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .lb-skel[b-rnbytvh2hw],
    .lb-skel-head[b-rnbytvh2hw],
    .lb-state--message[b-rnbytvh2hw],
    .lb-state--empty[b-rnbytvh2hw] {
        border: 1px solid CanvasText;
    }

    .lb-state-action:focus-visible[b-rnbytvh2hw] {
        outline-color: Highlight;
    }
}
/* /Components/Letters/LetterBand.razor.rz.scp.css */
/* The sealed letter band above Waiting on you (Docs/LRPG_LETTERS.md; since W3 the sealed cards of SealedLetterCard).
   Tokens only; canonical breakpoints. */
.lb[b-crfzf0wsey] {
    margin: 0 0 var(--space-lg);
}

.lb-cards[b-crfzf0wsey] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}

.lb-item[b-crfzf0wsey] {
    min-width: 0;
}

.lb-foot[b-crfzf0wsey] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin: var(--space-sm) 0 0;
    font-size: var(--gt-sm);
}

.lb-foot a[b-crfzf0wsey],
.lb-quiet a[b-crfzf0wsey] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--fd-gold-text);
}

.lb-foot .material-icons[b-crfzf0wsey] {
    font-size: var(--gt-xl);
}

.lb-foot a:focus-visible[b-crfzf0wsey],
.lb-quiet a:focus-visible[b-crfzf0wsey] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lb-more[b-crfzf0wsey] {
    color: var(--color-text-light);
}

.lb-quiet[b-crfzf0wsey] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0 0 var(--space-lg);
    font-size: var(--gt-sm);
    color: var(--color-text-light);
}

.lb-quiet .material-icons[b-crfzf0wsey] {
    font-size: var(--gt-xl);
    color: var(--fd-gold-text);
}

/* Touch tier (spec section 10): the band's links are 44px tall targets on phones and tablets. */
@media (max-width: 768px) {
    .lb-foot[b-crfzf0wsey],
    .lb-quiet[b-crfzf0wsey] {
        align-items: center;
    }

    .lb-foot a[b-crfzf0wsey],
    .lb-quiet a[b-crfzf0wsey] {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .lb-foot a[b-crfzf0wsey],
    .lb-quiet a[b-crfzf0wsey] {
        color: LinkText;
    }
}
/* /Components/Letters/LetterKindChip.razor.rz.scp.css */
/* A letter's kind chip (social build W3, D21). Tokens only. */
.lk-chip[b-bwt9xigivy] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 20px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-sm);
    font: 700 var(--gt-sm) / 1 var(--font-primary);
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--color-text-secondary);
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    box-shadow: inset 0 0 0 1px var(--color-border-subtle);
}

.lk-chip .material-icons[b-bwt9xigivy] {
    font-size: var(--gt-base);
}

.lk-road[b-bwt9xigivy] {
    color: var(--fd-gold-soft);
    background: color-mix(in srgb, var(--color-primary-dark) 30%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 42%, transparent);
}

.lk-house[b-bwt9xigivy] {
    color: var(--color-info-lighter);
    background: color-mix(in srgb, var(--color-info) 16%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-info-light) 45%, transparent);
}

.lk-maint[b-bwt9xigivy] {
    color: var(--color-info-lighter);
    background: color-mix(in srgb, var(--color-info-dark) 22%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-info) 45%, transparent);
}

@media (forced-colors: active) {
    .lk-chip[b-bwt9xigivy] {
        border: 1px solid CanvasText;
        box-shadow: none;
    }
}
/* /Components/Letters/LetterSeal.razor.rz.scp.css */
/* Old Man Lourdin's seal: a round portrait in a gold rim (Docs/LRPG_LETTERS.md). Tokens only. */
.ls-seal[b-yoo29v82kd] {
    display: block;
    flex: none;
    width: var(--ls-size, 56px);
    height: var(--ls-size, 56px);
    border-radius: var(--radius-round);
    border: 2px solid var(--color-primary-dark);
    background: var(--fd-art-well);
    object-fit: cover;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary-dark) 18%, transparent);
}

@media (forced-colors: active) {
    .ls-seal[b-yoo29v82kd] {
        border-color: CanvasText;
        box-shadow: none;
    }
}
/* /Components/Letters/LetterView.razor.rz.scp.css */
/* One letter from Old Man Lourdin on warm paper (social build W3, D27): the wax seal, Cinzel subject, his Garamond voice,
   one gold link; the margin beside it from 1280. Tokens only; canonical breakpoints only. */
.lv[b-r70a9ztzq0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xl);
    padding: var(--space-2xl) 40px;
    border-radius: 6px 6px 18px 18px;
    border: 1px solid var(--sc-paper-line);
    background: var(--sc-paper);
    box-shadow: var(--shadow-lg), inset 0 0 0 6px color-mix(in srgb, var(--sc-wax-crack) 35%, transparent), inset 0 0 0 7px var(--sc-paper-rule);
    color: var(--sc-paper-ink);
    min-width: 0;
}

.lv-main[b-r70a9ztzq0] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lv-head[b-r70a9ztzq0] {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--sc-paper-rule);
}

.lv-who[b-r70a9ztzq0] {
    flex: 1;
    min-width: 0;
}

.lv-from[b-r70a9ztzq0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.lv-date[b-r70a9ztzq0] {
    margin: var(--space-xs) 0 0;
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--sc-paper-ink-2);
}

.lv-subject[b-r70a9ztzq0] {
    margin: var(--space-lg) 0 var(--space-md);
    font: 800 var(--gt-3xl) / 1.15 var(--font-display);
    color: var(--fd-gold-soft);
    overflow-wrap: anywhere;
}

/* In short (D21): one plain line before the greeting, in the UI face so it reads as a summary, not his voice. */
.lv-short[b-r70a9ztzq0] {
    display: flex;
    gap: var(--space-md);
    margin: 0 0 var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-bg-base) 45%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.lv-short-label[b-r70a9ztzq0] {
    flex: none;
    font: 800 var(--gt-sm) / 1.8 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.lv-short-text[b-r70a9ztzq0] {
    font: 600 var(--gt-base) / 1.45 var(--font-primary);
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.lv-greeting[b-r70a9ztzq0],
.lv-body[b-r70a9ztzq0],
.lv-signoff[b-r70a9ztzq0] {
    font: 400 var(--gt-xl) / 1.55 var(--fd-font-voice);
    color: var(--sc-paper-ink);
}

.lv-greeting[b-r70a9ztzq0] {
    margin: 0 0 var(--space-md);
    overflow-wrap: anywhere;
}

.lv-body[b-r70a9ztzq0] {
    max-width: 640px;
    overflow-wrap: anywhere;
}

.lv-body[b-r70a9ztzq0]  p,
.lv-body[b-r70a9ztzq0]  ul,
.lv-body[b-r70a9ztzq0]  ol {
    margin: 0 0 var(--space-md);
}

/* The markers sit inside the card's padding, never on its border (the compact letter has 16px of padding). */
.lv-body[b-r70a9ztzq0]  ul,
.lv-body[b-r70a9ztzq0]  ol {
    padding-left: 1.25em;
}

.lv-body[b-r70a9ztzq0]  strong {
    font-weight: 600;
    color: var(--fd-cream);
}

.lv-body[b-r70a9ztzq0]  a {
    color: var(--fd-gold-text);
    text-decoration: underline;
}

.lv-body[b-r70a9ztzq0]  a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lv-signoff[b-r70a9ztzq0] {
    margin: var(--space-lg) 0 0;
    font-style: italic;
    color: var(--fd-cream);
}

/* The one way on: the letter's one gold, in the flow under the sign-off. */
.lv-cta[b-r70a9ztzq0] {
    margin: var(--space-xl) 0 0;
}

.lv-cta-link[b-r70a9ztzq0] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 44px;
    padding: 0 var(--space-xl);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font: 700 var(--gt-base) / 1 var(--font-primary);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.lv-cta-link:hover[b-r70a9ztzq0] {
    filter: brightness(1.06);
}

.lv-cta-link:focus-visible[b-r70a9ztzq0] {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 3px;
}

.lv-cta-link .material-icons[b-r70a9ztzq0] {
    font-size: var(--gt-2xl);
}

.lv-foot[b-r70a9ztzq0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--sc-paper-rule);
}

.lv-stays[b-r70a9ztzq0] {
    margin-left: auto;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

/* The margin: who he is, beside the letter from 1280 (A-Letters-1366). */
.lv-margin[b-r70a9ztzq0] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-left: var(--space-xl);
    border-left: 1px solid var(--sc-paper-rule);
}

.lv-portrait[b-r70a9ztzq0] {
    border-radius: 999px 999px 14px 14px;
    overflow: hidden;
    border: 3px solid var(--color-primary-dark);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
}

.lv-portrait img[b-r70a9ztzq0] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.lv-caption[b-r70a9ztzq0] {
    margin: 0;
    font: italic 400 var(--gt-base) / 1.35 var(--fd-font-voice);
    color: var(--sc-paper-ink-2);
    text-align: center;
}

.lv-facts[b-r70a9ztzq0] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--space-sm) var(--space-md);
    margin: 0;
    font: 500 var(--gt-sm) / 1.35 var(--font-primary);
}

.lv-facts dt[b-r70a9ztzq0] {
    color: var(--color-text-secondary);
}

.lv-facts dd[b-r70a9ztzq0] {
    margin: 0;
    color: var(--color-text-primary);
}

.lv-with-margin[b-r70a9ztzq0] {
    grid-template-columns: minmax(0, 1fr) 230px;
}

@media (max-width: 1280px) {
    .lv-with-margin[b-r70a9ztzq0] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lv-margin[b-r70a9ztzq0] {
        display: none;
    }
}

.lv-compact[b-r70a9ztzq0] {
    padding: var(--space-lg);
}

.lv-compact .lv-subject[b-r70a9ztzq0] {
    font-size: var(--gt-2xl);
}

.lv-compact .lv-greeting[b-r70a9ztzq0],
.lv-compact .lv-body[b-r70a9ztzq0],
.lv-compact .lv-signoff[b-r70a9ztzq0] {
    font-size: var(--gt-lg);
}

@media (max-width: 768px) {
    .lv[b-r70a9ztzq0] {
        padding: var(--space-xl) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .lv[b-r70a9ztzq0] {
        padding: var(--space-lg);
    }

    .lv-subject[b-r70a9ztzq0] {
        font-size: var(--gt-2xl);
    }

    .lv-greeting[b-r70a9ztzq0],
    .lv-body[b-r70a9ztzq0],
    .lv-signoff[b-r70a9ztzq0] {
        font-size: var(--gt-lg);
    }

    .lv-short[b-r70a9ztzq0] {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .lv-head[b-r70a9ztzq0] {
        flex-wrap: wrap;
    }
}

@media (forced-colors: active) {
    .lv[b-r70a9ztzq0] {
        border-color: CanvasText;
        background: Canvas;
    }

    .lv-cta-link[b-r70a9ztzq0] {
        border: 2px solid LinkText;
        background: Canvas;
        color: LinkText;
    }
}
/* /Components/Letters/LetterWaxSeal.razor.rz.scp.css */
/* His wax seal (social build W3, D33): wax red from the SOCIAL tokens, his portrait in a gold ring. Tokens only. */
.lw-wax[b-o19g3iny7m] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--lw-size, 52px);
    height: var(--lw-size, 52px);
    border-radius: 50% 47% 52% 49% / 49% 52% 47% 50%;
    background: radial-gradient(circle at 34% 28%, var(--sc-wax-hi), var(--sc-wax) 52%, var(--sc-wax-lo));
    box-shadow: 0 0 0 2px var(--sc-wax-rim), var(--shadow-md);
}

.lw-face[b-o19g3iny7m] {
    width: 72%;
    height: 72%;
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--color-primary-dark), 0 0 0 4px var(--sc-wax-rim);
}

.lw-face img[b-o19g3iny7m] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.25) saturate(0.9);
}

/* A read letter's seal is broken: a dark crack across the wax (a shape, so the state never rests on colour). */
.lw-crack[b-o19g3iny7m] {

    position: absolute;
    left: 10%;
    right: 8%;
    top: 47%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--sc-wax-crack) 18%, var(--sc-wax-crack) 82%, transparent);
    transform: rotate(-24deg);
}

.lw-wax.is-broken .lw-face img[b-o19g3iny7m] {
    filter: sepia(0.25) saturate(0.9) brightness(0.92);
}

@media (forced-colors: active) {
    .lw-wax[b-o19g3iny7m] {
        background: Canvas;
        box-shadow: none;
        border: 2px solid CanvasText;
    }

    .lw-crack[b-o19g3iny7m] {
        background: CanvasText;
    }
}
/* /Components/Letters/NoticeCard.razor.rz.scp.css */
/* Garrick's word, pinned (social build W3, D35; drawn on the hall in W4). Warm paper, a gold pin. Tokens only. */
.nc[b-injeeo8dte] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-lg) var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: var(--sc-paper);
    box-shadow: var(--shadow-lg);
    color: var(--sc-paper-ink);
    min-width: 0;
}

.nc-pin[b-injeeo8dte] {
    position: absolute;
    left: 22px;
    top: -6px;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-round);
    background: radial-gradient(circle at 35% 30%, var(--fd-gold-soft), var(--color-primary) 45%, var(--color-primary-darker));
    box-shadow: var(--shadow-md);
}

.nc-k[b-injeeo8dte] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.nc-k .material-icons[b-injeeo8dte] {
    font-size: var(--gt-lg);
}

.nc-subject[b-injeeo8dte] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.25 var(--font-display);
    color: var(--fd-gold-soft);
    overflow-wrap: anywhere;
}

.nc-body[b-injeeo8dte] {
    font: 400 var(--gt-lg) / 1.5 var(--fd-font-voice);
    overflow-wrap: anywhere;
}

.nc-body[b-injeeo8dte]  p,
.nc-body[b-injeeo8dte]  ul,
.nc-body[b-injeeo8dte]  ol {
    margin: 0 0 var(--space-sm);
}

.nc-body[b-injeeo8dte]  ul,
.nc-body[b-injeeo8dte]  ol {
    padding-left: 1.25em;
}

.nc-body[b-injeeo8dte]  a {
    color: var(--fd-gold-text);
    text-decoration: underline;
}

.nc-body[b-injeeo8dte]  a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.nc-date[b-injeeo8dte] {
    margin: 0;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .nc[b-injeeo8dte] {
        border-color: CanvasText;
        background: Canvas;
    }

    .nc-pin[b-injeeo8dte] {
        background: CanvasText;
    }
}
/* /Components/Letters/SealedLetterCard.razor.rz.scp.css */
/* A sealed letter (social build W3, D27): warm paper, his wax seal, the subject in Cinzel, his voice in Garamond. Tokens
   only; canonical breakpoints only. */
.sc-sealed[b-bzsmtpuma7] {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md) var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--sc-paper-line);
    background: var(--sc-paper);
    box-shadow: var(--shadow-md);
    min-width: 0;
    color: var(--sc-paper-ink);
}

.sc-sealed.is-read[b-bzsmtpuma7] {
    background: var(--sc-paper-read);
    border-color: var(--sc-paper-rule);
    box-shadow: none;
}

.sc-sealed.is-sel[b-bzsmtpuma7] {
    box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-md);
}

.sc-sealed.is-compact[b-bzsmtpuma7] {
    gap: var(--space-sm) var(--space-md);
    padding: var(--space-sm) var(--space-md);
}

.sc-tx[b-bzsmtpuma7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}

.sc-k[b-bzsmtpuma7] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.sc-new[b-bzsmtpuma7] {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--sc-wax);
    color: var(--color-text-primary);
    font: 800 var(--gt-sm) / 1 var(--font-primary);
    letter-spacing: 0.1em;
}

.sc-sub[b-bzsmtpuma7] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.25 var(--font-display);
    color: var(--sc-paper-ink);
    overflow-wrap: anywhere;
}

.is-read .sc-sub[b-bzsmtpuma7] {
    color: var(--color-text-primary);
    font-weight: 600;
}

.sc-tx > a[b-bzsmtpuma7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-height: 44px;
    justify-content: center;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.sc-tx > a:hover .sc-sub[b-bzsmtpuma7] {
    text-decoration: underline;
}

.sc-meta[b-bzsmtpuma7],
.sc-date[b-bzsmtpuma7] {
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--sc-paper-ink-2);
}

.sc-unread[b-bzsmtpuma7] {
    margin-left: var(--space-sm);
    font-weight: 700;
    color: var(--fd-gold-text);
}

.sc-line[b-bzsmtpuma7] {
    margin: 0;
    font: italic 400 var(--gt-lg) / 1.4 var(--fd-font-voice);
    color: var(--sc-paper-ink-2);
    overflow-wrap: anywhere;
}

.sc-foot[b-bzsmtpuma7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-xs) 0 0;
}

.sc-foot:empty[b-bzsmtpuma7] {
    display: none;
}

.sc-act[b-bzsmtpuma7] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    flex: none;
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--fd-gold-soft);
    font: 600 var(--gt-base) / 1 var(--font-primary);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.sc-act:hover[b-bzsmtpuma7] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.sc-act .material-icons[b-bzsmtpuma7] {
    font-size: var(--gt-2xl);
}

.sc-act:focus-visible[b-bzsmtpuma7],
.sc-tx > a:focus-visible[b-bzsmtpuma7] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Narrow cards (a phone, a thread): the action takes its own row under the words. */
@media (max-width: 480px) {
    .sc-sealed[b-bzsmtpuma7] {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .sc-act[b-bzsmtpuma7] {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-act[b-bzsmtpuma7] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .sc-sealed[b-bzsmtpuma7] {
        border-color: CanvasText;
        background: Canvas;
    }

    .sc-sealed.is-sel[b-bzsmtpuma7] {
        outline: 2px solid Highlight;
    }

    .sc-act[b-bzsmtpuma7] {
        border-color: LinkText;
    }
}
/* /Components/Loadout/BenchCard.razor.rz.scp.css */
/* A bench card (3.3). Tokens only; the school tint is the global .spell-school-* class, the action badge the global
   .spell-badge-action + .slot-* (filled from the eco tokens). */
.lo-card-spell[b-xqrlmy3a8p] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
    min-height: 96px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-base);
    border-left: 3px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background-color: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
}

.lo-card-spell:hover[b-xqrlmy3a8p] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.lo-card-spell:focus-visible[b-xqrlmy3a8p] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.lo-card-spell.is-selected[b-xqrlmy3a8p] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 55%, transparent);
}

/* A locked card reads as locked by its dashed rim, its lock chip, a dimmer glyph and a name in the secondary ink, never by
   fading the whole card: an opacity multiplies every word on it (the "Level N" gate read 3.3:1 at 0.6, review, 14 Nov
   2026; LoadoutSheets_StateFades_NeverFadeWords). */
.lo-card-spell.is-locked[b-xqrlmy3a8p] {
    border-style: dashed;
}

.lo-card-spell.is-locked .lo-card-icon[b-xqrlmy3a8p] {
    opacity: 0.6;
}

.lo-card-spell.is-locked .lo-card-name[b-xqrlmy3a8p] {
    color: var(--color-text-secondary);
}

.lo-card-top[b-xqrlmy3a8p],
.lo-card-dice[b-xqrlmy3a8p],
.lo-card-foot[b-xqrlmy3a8p] {
    width: 100%;
}

.lo-card-top[b-xqrlmy3a8p] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.lo-card-icon[b-xqrlmy3a8p] {
    display: inline-flex;
    flex: 0 0 auto;
}

.lo-card-name[b-xqrlmy3a8p] {
    flex: 1 1 auto;
    min-width: 0;
    /* Readable text: the name wraps (two lines at Extra large on a phone) instead of shrinking to "Le...". */
    overflow-wrap: break-word;
    line-height: 1.25;
    font-weight: var(--font-weight-bold);
    font-size: var(--gt-sm);
}

.lo-card-mana[b-xqrlmy3a8p] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
    padding: 0 6px;
    /* A pill: --radius-round is 50%, an ellipse on a wide chip, whose end caps cut into its words. */
    border-radius: var(--radius-3xl);
    border: 1px solid var(--color-info-light);
    color: var(--color-info-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
}

.lo-card-mana.is-free[b-xqrlmy3a8p] {
    border-color: var(--color-border-base);
    color: var(--color-text-secondary);
    font-weight: normal;
}

.lo-card-mana .material-icons[b-xqrlmy3a8p] {
    font-size: var(--gt-sm);
}

.lo-card-dice[b-xqrlmy3a8p] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-card-dice.loadout-heal[b-xqrlmy3a8p] {
    color: var(--combat-heal-light);
}

.lo-card-foot[b-xqrlmy3a8p] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.lo-card-badge[b-xqrlmy3a8p] {
    font-size: var(--gt-sm);
}

.lo-card-conc[b-xqrlmy3a8p] {
    font-size: calc(var(--gt-px) * 15);
    color: var(--color-warning-bright);
}

/* The state chip is a true pill (--radius-round is 50%, an ellipse on a wide chip). Its padding is in em of its own text, so
   the words and the key chip sit inside the rim's end caps at every Text size; a chip holding a key keeps less room on the
   key's side and a little above and below it, because the keycap is nearly as tall as the pill. */
.lo-state[b-xqrlmy3a8p] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    padding: 0.1em 0.5em;
    border-radius: var(--radius-3xl);
    font-size: var(--gt-sm);
}

.lo-state.has-key[b-xqrlmy3a8p] {
    padding: 0.2em 0.3em 0.2em 0.5em;
}

.lo-state .material-icons[b-xqrlmy3a8p] {
    font-size: var(--gt-sm);
}

.lo-state-onbar[b-xqrlmy3a8p] {
    border: 1px solid var(--color-success-light);
    color: var(--color-success-light);
}

.lo-state-new[b-xqrlmy3a8p] {
    background: color-mix(in srgb, var(--color-info-light) 22%, transparent);
    color: var(--color-info-lighter);
}

.lo-state-book[b-xqrlmy3a8p],
.lo-state-lock[b-xqrlmy3a8p] {
    border: 1px solid var(--color-border-base);
    color: var(--color-text-secondary);
}

.lo-state-key[b-xqrlmy3a8p] {
    min-width: 1.2em;
    padding: 0 3px;
    font-size: var(--gt-sm);
    line-height: 1;
    text-align: center;
}

@media (pointer: coarse) {
    .lo-card-spell[b-xqrlmy3a8p] {
        min-height: 96px;
    }
}

@media (forced-colors: active) {
    .lo-card-spell[b-xqrlmy3a8p] {
        border-color: CanvasText;
    }

    .lo-card-spell.is-selected[b-xqrlmy3a8p] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Loadout/LoadoutBar.razor.rz.scp.css */
/* The bar (Docs/LRPG_LOADOUT.md 3.2). Tokens only: each lane reads its eco token (--lo-eco) and the WP4 pip shape
   (action circle, bonus triangle, free ring, reaction diamond), as the combat hotbar draws them. Canonical breakpoints
   only; the lanes share a row by the combat hotbar's flex rule (Action grows first), no width query decides that. */
.lo-bar[b-fgedmng9yz] {
    position: relative;
}

/* The menu sits in the bar's top-right corner: the lanes keep clear of it. */
.lo-bar.has-menu .lo-lanes[b-fgedmng9yz] {
    padding-right: 36px;
}

.lo-lanes[b-fgedmng9yz] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.lo-lane[b-fgedmng9yz] {
    --lo-eco: var(--color-eco-action);
    flex: 1 1 auto;
    min-width: 0;
    padding: var(--space-sm) var(--space-md) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--lo-eco) 35%, transparent);
    border-top: 3px solid var(--lo-eco);
    background: color-mix(in srgb, var(--lo-eco) 5%, transparent);
}

.lo-lane.lane-action[b-fgedmng9yz] {
    flex-grow: 9999;
}

.lane-bonus[b-fgedmng9yz] {
    --lo-eco: var(--color-eco-bonus);
}

.lane-free[b-fgedmng9yz] {
    --lo-eco: var(--color-eco-free);
}

.lane-reaction[b-fgedmng9yz] {
    --lo-eco: var(--color-eco-reaction);
}

.lo-lane-head[b-fgedmng9yz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    min-height: 22px;
}

.lo-eco-pip[b-fgedmng9yz] {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: var(--radius-round);
    background: var(--lo-eco);
}

.lane-bonus .lo-eco-pip[b-fgedmng9yz] {
    width: 12px;
    height: 11px;
    border-radius: 0;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.lane-free .lo-eco-pip[b-fgedmng9yz] {
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--lo-eco);
}

.lane-reaction .lo-eco-pip[b-fgedmng9yz] {
    border-radius: 1px;
    transform: rotate(45deg);
    width: 9px;
    height: 9px;
}

.lo-lane-title[b-fgedmng9yz] {
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lo-eco);
}

.lo-lane-note[b-fgedmng9yz] {
    margin-left: auto;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-lane-slots[b-fgedmng9yz] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.lo-open-slot[b-fgedmng9yz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: var(--lo-slot-w, calc(var(--gt-sm) * 6.8));
    height: var(--lo-slot-h, calc(var(--gt-sm) * 5.25));
    border-radius: var(--radius-md);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 60%, transparent);
    background: transparent;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    cursor: pointer;
}

.lo-open-slot:hover:not(:disabled)[b-fgedmng9yz],
.lo-open-slot:focus-visible[b-fgedmng9yz] {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.lo-open-slot:focus-visible[b-fgedmng9yz] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.lo-open-slot:disabled[b-fgedmng9yz] {
    cursor: default;
}

.lo-open-slot .material-icons[b-fgedmng9yz] {
    font-size: var(--gt-xl);
}

/* The Smite stepper, static: each tier's mana and key, no offer glow (3.2). */
.lo-smite[b-fgedmng9yz] {
    display: flex;
    gap: 4px;
}

.lo-smite-tier[b-fgedmng9yz] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: var(--lo-slot-h, calc(var(--gt-sm) * 5.25));
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--color-primary-light);
}

.lo-smite-key[b-fgedmng9yz] {
    position: absolute;
    top: 3px;
    left: 3px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    font-size: var(--gt-sm);
    line-height: 11px;
    text-align: center;
}

.lo-smite-numeral[b-fgedmng9yz] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--gt-sm);
}

.lo-smite-mana[b-fgedmng9yz] {
    font-size: var(--gt-sm);
    color: var(--color-info-lighter);
}

/* The Reaction lane: a status, never a control (S4). */
.lo-reaction[b-fgedmng9yz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-reaction-state[b-fgedmng9yz] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: var(--font-weight-bold);
    color: var(--color-eco-reaction);
}

.lo-reaction-state .material-icons[b-fgedmng9yz] {
    font-size: var(--gt-base);
}

.lo-reaction-line[b-fgedmng9yz] {
    color: var(--color-text-primary);
}

/* The menu. */
.lo-bar-menu[b-fgedmng9yz] {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 3;
}

.lo-bar-menu-list[b-fgedmng9yz] {
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 190px;
    padding: var(--space-xs);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: var(--color-bg-base);
    box-shadow: var(--shadow-md);
}

.lo-menu-item[b-fgedmng9yz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm);
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-danger-light);
    text-align: left;
    cursor: pointer;
}

.lo-menu-item:hover[b-fgedmng9yz],
.lo-menu-item:focus-visible[b-fgedmng9yz] {
    background: color-mix(in srgb, var(--color-danger) 14%, transparent);
}

.lo-menu-item:focus-visible[b-fgedmng9yz] {
    outline: 2px solid var(--color-primary);
}

.lo-menu-item .material-icons[b-fgedmng9yz] {
    font-size: var(--gt-xl);
}

/* Lane tabs (portrait and phone): the TabletHotbar tab look. */
.lo-lane-tabs[b-fgedmng9yz] {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    padding-right: 44px;
}

.lo-lane-tab[b-fgedmng9yz] {
    --lo-eco: var(--color-eco-action);
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--lo-eco) 35%, transparent);
    background: transparent;
    color: var(--lo-eco);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.lo-lane-tab.is-selected[b-fgedmng9yz] {
    background: color-mix(in srgb, var(--lo-eco) 22%, transparent);
    box-shadow: inset 0 -3px 0 var(--lo-eco);
}

.lo-lane-tab:focus-visible[b-fgedmng9yz] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.lo-lane-tab-badge[b-fgedmng9yz] {
    min-width: 18px;
    padding: 0 5px;
    border-radius: var(--radius-round);
    background: var(--lo-eco);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}

/* Portrait: five slots across a lane. */
@media (max-width: 768px) {
    .lo-lane-slots[b-fgedmng9yz] {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .lo-lane-slots[b-fgedmng9yz]  .lo-slot-wrap,
    .lo-open-slot[b-fgedmng9yz],
    .lo-smite[b-fgedmng9yz] {
        --lo-slot-w: 100%;
        width: 100%;
    }
}

/* Phone: up to four across, a column never narrower than the slot face's 12px text needs (readable text): three across
   on a 390px phone at Medium, two at Extra large, instead of breaking "Attack" into "Attac / k". */
@media (max-width: 480px) {
    .lo-lane-slots[b-fgedmng9yz] {
        grid-template-columns: repeat(auto-fill, minmax(max(calc(25% - 6px), calc(var(--gt-sm) * 5.6)), 1fr));
    }
}

@media (pointer: coarse) {
    .lo-open-slot[b-fgedmng9yz],
    .lo-menu-item[b-fgedmng9yz] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .lo-lane[b-fgedmng9yz],
    .lo-lane-tab[b-fgedmng9yz],
    .lo-open-slot[b-fgedmng9yz] {
        border-color: CanvasText;
    }

    .lo-eco-pip[b-fgedmng9yz] {
        background: CanvasText;
    }

    .lo-lane-tab.is-selected[b-fgedmng9yz] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Loadout/LoadoutBench.razor.rz.scp.css */
/* The bench (3.3). Tokens only, canonical breakpoints only. */
.lo-bench[b-kp6ybsmgw7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.lo-bench-head[b-kp6ybsmgw7] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-sm) var(--space-lg);
}

.lo-bench-count[b-kp6ybsmgw7] {
    margin: 0 0 0 auto;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-bench-filters[b-kp6ybsmgw7] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.lo-search[b-kp6ybsmgw7] {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 38px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-secondary);
}

.lo-search:focus-within[b-kp6ybsmgw7] {
    border-color: var(--color-primary);
}

.lo-search input[b-kp6ybsmgw7] {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--gt-sm);
}

.lo-segment[b-kp6ybsmgw7] {
    display: inline-flex;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    overflow: hidden;
}

.lo-segment-button[b-kp6ybsmgw7],
.lo-toggle[b-kp6ybsmgw7] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 38px;
    padding: 0 var(--space-md);
    border: 0;
    background: transparent;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    cursor: pointer;
}

.lo-segment-button + .lo-segment-button[b-kp6ybsmgw7] {
    border-left: 1px solid var(--color-border-base);
}

.lo-toggle[b-kp6ybsmgw7] {
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
}

.lo-segment-button.is-on[b-kp6ybsmgw7],
.lo-toggle.is-on[b-kp6ybsmgw7] {
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
    color: var(--color-primary-light);
}

.lo-segment-button:focus-visible[b-kp6ybsmgw7],
.lo-toggle:focus-visible[b-kp6ybsmgw7],
.lo-group-toggle:focus-visible[b-kp6ybsmgw7] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.lo-toggle .material-icons[b-kp6ybsmgw7] {
    font-size: var(--gt-lg);
}

.lo-toggle-count[b-kp6ybsmgw7] {
    min-width: 18px;
    padding: 0 5px;
    border-radius: var(--radius-round);
    background: var(--color-info-light);
    color: var(--color-bg-base);
    font-weight: var(--font-weight-bold);
    font-size: var(--gt-sm);
    text-align: center;
}

.lo-bench-empty[b-kp6ybsmgw7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border-base);
}

.lo-bench-empty-title[b-kp6ybsmgw7] {
    margin: 0;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.lo-bench-empty-note[b-kp6ybsmgw7] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-group[b-kp6ybsmgw7] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.lo-group-head[b-kp6ybsmgw7] {
    margin: 0;
}

.lo-group-toggle[b-kp6ybsmgw7] {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-xs) 0;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: transparent;
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
}

.lo-group-title[b-kp6ybsmgw7] {
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--color-primary-light);
}

.lo-group-note[b-kp6ybsmgw7] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-group-chevron[b-kp6ybsmgw7] {
    margin-left: auto;
    font-size: var(--gt-xl);
    color: var(--color-text-secondary);
}

.lo-group.is-locked .lo-group-title[b-kp6ybsmgw7] {
    color: var(--color-text-secondary);
}

.lo-group-toggle .material-icons[b-kp6ybsmgw7] {
    font-size: var(--gt-lg);
    align-self: center;
}

.lo-group-cards[b-kp6ybsmgw7] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(190px * var(--gt-box)), 1fr));
    gap: var(--space-sm);
}

/* Three across, then two on a phone, at Small and Medium; the columns' floor grows with the text (--gt-box), so Large
   and Extra large keep a card wide enough for its name whole (readable text). */
@media (max-width: 768px) {
    .lo-group-cards[b-kp6ybsmgw7] {
        grid-template-columns: repeat(auto-fill, minmax(max(calc(33.3% - 6px), calc(150px * var(--gt-box))), 1fr));
    }
}

@media (max-width: 480px) {
    .lo-group-cards[b-kp6ybsmgw7] {
        grid-template-columns: repeat(auto-fill, minmax(max(calc(50% - 6px), calc(140px * var(--gt-box))), 1fr));
    }

    .lo-bench-count[b-kp6ybsmgw7] {
        margin-left: 0;
    }
}

@media (pointer: coarse) {
    .lo-segment-button[b-kp6ybsmgw7],
    .lo-toggle[b-kp6ybsmgw7],
    .lo-search[b-kp6ybsmgw7],
    .lo-group-toggle[b-kp6ybsmgw7] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .lo-segment-button.is-on[b-kp6ybsmgw7],
    .lo-toggle.is-on[b-kp6ybsmgw7] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Loadout/LoadoutHeroCard.razor.rz.scp.css */
/* The hero card (3.1). Tokens only; the class color comes in as --lo-class. */
.lo-hero[b-mem7pzk5p3] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    border-left: 3px solid var(--lo-class, var(--color-primary));
}

.lo-hero-head[b-mem7pzk5p3] {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.lo-hero-portrait[b-mem7pzk5p3] {
    position: relative;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-base);
    background: var(--color-bg-base);
    overflow: hidden;
}

.lo-hero-portrait img[b-mem7pzk5p3] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lo-hero-level[b-mem7pzk5p3] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1px 0;
    text-align: center;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-light);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
}

.lo-hero-name[b-mem7pzk5p3] {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--gt-xl);
    color: var(--color-text-primary);
    line-height: 1.2;
}

.lo-hero-class[b-mem7pzk5p3] {
    margin: 2px 0 0;
    font-size: var(--gt-sm);
    color: color-mix(in srgb, var(--lo-class, var(--color-primary)) 50%, var(--color-text-primary));
}

.lo-hero-pool[b-mem7pzk5p3] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-sm);
    align-items: center;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-pool-label[b-mem7pzk5p3] {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lo-pool-track[b-mem7pzk5p3] {
    height: 6px;
    border-radius: var(--radius-round);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    overflow: hidden;
}

.lo-pool-fill[b-mem7pzk5p3] {
    display: block;
    height: 100%;
    background: var(--color-mana);
}

.lo-pool-hp .lo-pool-fill[b-mem7pzk5p3] {
    background: var(--color-hp);
}

.lo-pool-text[b-mem7pzk5p3] {
    font-variant-numeric: tabular-nums;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

.lo-chips[b-mem7pzk5p3] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lo-chip[b-mem7pzk5p3] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-base);
    font-size: var(--gt-sm);
    color: var(--color-text-primary);
}

.lo-chip .material-icons[b-mem7pzk5p3] {
    font-size: var(--gt-base);
    color: var(--color-primary-light);
}

@media (forced-colors: active) {
    .lo-pool-fill[b-mem7pzk5p3] {
        background: Highlight;
    }
}
/* /Components/Loadout/LoadoutKit.razor.rz.scp.css */
/* The Battle kit (3.6). Tokens only. */
.lo-kit[b-g14w1mn5ui] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.lo-kit-info[b-g14w1mn5ui] {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-kit-info .material-icons[b-g14w1mn5ui] {
    font-size: var(--gt-xl);
    color: var(--color-info-light);
}

.lo-kit-list[b-g14w1mn5ui] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.lo-kit-feature[b-g14w1mn5ui] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-base);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

/* A locked feature is dashed, never faded: an opacity multiplies its words too (secondary ink at 0.75 read 4.6:1, one
   notch from failing; review, 14 Nov 2026). */
.lo-kit-feature.is-locked[b-g14w1mn5ui] {
    border-style: dashed;
    max-width: 360px;
}

.lo-kit-feature.is-locked .lo-kit-name[b-g14w1mn5ui] {
    color: var(--color-text-secondary);
}

.lo-kit-name[b-g14w1mn5ui] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.lo-kit-name .material-icons[b-g14w1mn5ui] {
    font-size: calc(var(--gt-px) * 15);
}

.lo-kit-value[b-g14w1mn5ui] {
    font-size: var(--gt-sm);
    color: var(--color-primary-light);
}

.lo-kit-desc[b-g14w1mn5ui] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-kit-tag[b-g14w1mn5ui] {
    align-self: flex-start;
    /* The pill is sized in em of its 12px text, so the words never ride the rim at any Text size. */
    padding: 0.1em 0.5em;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--color-success-light);
    color: var(--color-success-light);
    font-size: var(--gt-sm);
    line-height: 1.4;
    letter-spacing: 0.06em;
}

.is-locked .lo-kit-tag[b-g14w1mn5ui] {
    border-color: var(--color-border-base);
    color: var(--color-text-secondary);
}

.lo-kit-none[b-g14w1mn5ui] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .lo-kit-feature[b-g14w1mn5ui] {
        border-color: CanvasText;
    }
}
/* /Components/Loadout/LoadoutSlot.razor.rz.scp.css */
/* One bar slot (3.2): the frame HotbarSlotFace expects (position: relative, a column), sized like combat's compact slot.
   Tokens only; the lane's --lo-eco tints the hover ring. Readable text: the box is combat's (CombatHotbar.razor.css,
   --slot-w / --slot-h), sized from the face's 12px text, so it grows with the Text size (82x63 at Medium, 115x88 at
   Extra large), and the padding is combat's too: the icon shares the top row with the corner chips, so the two-line
   name keeps its room under it. */
.lo-slot-wrap[b-yiyav63tqy] {
    position: relative;
    width: var(--lo-slot-w, calc(var(--gt-sm) * 6.8));
    height: var(--lo-slot-h, calc(var(--gt-sm) * 5.25));
}

.lo-slot[b-yiyav63tqy] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    height: 100%;
    padding: 3px 3px 2px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-primary);
    cursor: pointer;
    overflow: hidden;
}

.lo-slot:hover[b-yiyav63tqy] {
    box-shadow: inset 0 0 0 1px var(--lo-eco, var(--color-primary));
}

.lo-slot:focus-visible[b-yiyav63tqy] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.is-selected .lo-slot[b-yiyav63tqy] {
    border-color: var(--color-primary);
    box-shadow: inset 0 0 0 1px var(--color-primary);
}

.is-locked .lo-slot[b-yiyav63tqy] {
    filter: grayscale(0.8);
    opacity: 0.55;
}

.lo-slot-lock[b-yiyav63tqy] {
    position: absolute;
    right: 3px;
    bottom: 3px;
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

.is-target .lo-slot[b-yiyav63tqy] {
    border-style: dashed;
    border-color: var(--color-primary);
}

.is-picked .lo-slot[b-yiyav63tqy] {
    border: 1px dashed var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.lo-slot-incoming[b-yiyav63tqy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: -12px;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    color: var(--color-primary-light);
    text-align: center;
}

.lo-slot-incoming .material-icons[b-yiyav63tqy] {
    font-size: var(--gt-xl);
}

.lo-slot-remove[b-yiyav63tqy],
.lo-slot-pin[b-yiyav63tqy] {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-base);
    background: var(--color-bg-base);
    color: var(--color-text-secondary);
    cursor: pointer;
    opacity: 0;
}

.lo-slot-remove[b-yiyav63tqy] {
    right: -6px;
    bottom: -6px;
}

.lo-slot-pin[b-yiyav63tqy] {
    left: -6px;
    bottom: -6px;
}

.lo-slot-remove .material-icons[b-yiyav63tqy],
.lo-slot-pin .material-icons[b-yiyav63tqy] {
    font-size: var(--gt-md);
}

.lo-slot-pin.is-pinned[b-yiyav63tqy] {
    opacity: 1;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.lo-slot-wrap:hover .lo-slot-remove[b-yiyav63tqy],
.lo-slot-wrap:hover .lo-slot-pin[b-yiyav63tqy],
.lo-slot-wrap:focus-within .lo-slot-remove[b-yiyav63tqy],
.lo-slot-wrap:focus-within .lo-slot-pin[b-yiyav63tqy] {
    opacity: 1;
}

.lo-slot-remove:focus-visible[b-yiyav63tqy],
.lo-slot-pin:focus-visible[b-yiyav63tqy] {
    opacity: 1;
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

/* Portrait and phone: the slots are too narrow for the corner controls (they covered the names); the zoom card's 44px
   Remove and Pin do the same. */
@media (max-width: 768px) {
    .lo-slot-remove[b-yiyav63tqy],
    .lo-slot-pin[b-yiyav63tqy] {
        display: none;
    }
}

/* Touch (tablet and up): the controls show always, in a row under the slot so they never cover its name (the zoom
   card repeats both as 44px buttons). */
@media (pointer: coarse) {
    .lo-slot-wrap[b-yiyav63tqy] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: "slot slot" "pin remove";
        row-gap: 3px;
        height: auto;
    }

    .lo-slot[b-yiyav63tqy] {
        grid-area: slot;
        height: var(--lo-slot-h, calc(var(--gt-sm) * 5.25));
        min-height: 44px;
    }

    .lo-slot-pin[b-yiyav63tqy],
    .lo-slot-remove[b-yiyav63tqy] {
        position: static;
        opacity: 1;
        width: 100%;
        height: 44px;
        min-height: 44px;
        border-radius: var(--radius-sm);
    }

    .lo-slot-pin[b-yiyav63tqy] {
        grid-area: pin;
    }

    .lo-slot-remove[b-yiyav63tqy] {
        grid-area: remove;
    }
}

@media (forced-colors: active) {
    .lo-slot[b-yiyav63tqy],
    .lo-slot-remove[b-yiyav63tqy],
    .lo-slot-pin[b-yiyav63tqy] {
        border-color: CanvasText;
    }

    .is-selected .lo-slot[b-yiyav63tqy] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Loadout/LoadoutStates.razor.rz.scp.css */
/* The page's states (3.7). Tokens only; the skeleton's pulse stops under reduced motion. */
.lo-skeleton[b-npdhm5tcev] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.lo-skel[b-npdhm5tcev] {
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    animation: lo-skel-pulse-b-npdhm5tcev 1.4s ease-in-out infinite;
}

.lo-skel-bar[b-npdhm5tcev] {
    height: 150px;
}

.lo-skel-row[b-npdhm5tcev] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-sm);
}

.lo-skel-card[b-npdhm5tcev] {
    height: 96px;
}

@keyframes lo-skel-pulse-b-npdhm5tcev {
    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

.lo-state-card[b-npdhm5tcev] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.lo-state-card > .material-icons[b-npdhm5tcev] {
    font-size: var(--gt-4xl);
    color: var(--color-primary-light);
}

.lo-state-title[b-npdhm5tcev] {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--gt-xl);
    color: var(--color-text-primary);
}

.lo-state-text[b-npdhm5tcev] {
    margin: 2px 0 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-state-card .lo-button[b-npdhm5tcev] {
    margin-left: auto;
}

@media (max-width: 480px) {
    .lo-skel-row[b-npdhm5tcev] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .lo-skel[b-npdhm5tcev] {
        animation: none;
    }
}
/* /Components/Loadout/LoadoutTitle.razor.rz.scp.css */
/* The title card (3.1). Tokens only. */
.lo-title[b-yhz4rrm94v] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: center;
}

.lo-title-heading[b-yhz4rrm94v] {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    color: var(--color-text-primary);
    line-height: 1.25;
}

.lo-title-row[b-yhz4rrm94v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-lg);
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-meter[b-yhz4rrm94v] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.lo-meter-pips[b-yhz4rrm94v] {
    display: inline-flex;
    gap: 3px;
}

.lo-meter-pip[b-yhz4rrm94v] {
    width: 14px;
    height: 8px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
}

.lo-meter-pip.is-filled[b-yhz4rrm94v] {
    background: var(--color-success);
}

.lo-meter.is-over .lo-meter-pip.is-filled[b-yhz4rrm94v] {
    background: var(--color-warning-bright);
}

.lo-meter-text[b-yhz4rrm94v] {
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-variant-numeric: tabular-nums;
}

.lo-meter.is-over .lo-meter-text[b-yhz4rrm94v] {
    color: var(--color-warning-bright);
}

.lo-title-link[b-yhz4rrm94v] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    color: var(--color-primary-light);
    text-decoration: none;
}

.lo-title-link:hover[b-yhz4rrm94v],
.lo-title-link:focus-visible[b-yhz4rrm94v] {
    text-decoration: underline;
}

.lo-title-link .material-icons[b-yhz4rrm94v] {
    font-size: var(--gt-lg);
}

@media (pointer: coarse) {
    .lo-title-link[b-yhz4rrm94v] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .lo-meter-pip.is-filled[b-yhz4rrm94v] {
        background: Highlight;
    }
}
/* /Components/Loadout/LoadoutToast.razor.rz.scp.css */
/* The toast (3.5): fixed at the bottom, above the phone dock (it stands on --frame-bottom). Tokens only. */
.lo-toast-region[b-1nsdm319r9] {
    position: fixed;
    left: 50%;
    bottom: calc(var(--frame-bottom, 0px) + 16px);
    z-index: var(--mud-zindex-snackbar, 1500);
    transform: translateX(-50%);
    width: min(560px, calc(100% - 32px));
    pointer-events: none;
}

.lo-toast[b-1nsdm319r9] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-success-light);
    background: var(--color-bg-base);
    box-shadow: var(--shadow-md);
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    pointer-events: auto;
    animation: lo-toast-in-b-1nsdm319r9 0.18s ease-out;
}

.lo-toast.is-warning[b-1nsdm319r9] {
    border-color: var(--color-warning-bright);
}

.lo-toast > .material-icons[b-1nsdm319r9] {
    font-size: var(--gt-2xl);
    color: var(--color-success-light);
}

.lo-toast.is-warning > .material-icons[b-1nsdm319r9] {
    color: var(--color-warning-bright);
}

.lo-toast-text[b-1nsdm319r9] {
    flex: 1 1 auto;
}

@keyframes lo-toast-in-b-1nsdm319r9 {
    from {
        transform: translateY(8px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lo-toast[b-1nsdm319r9] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .lo-toast[b-1nsdm319r9] {
        border-color: CanvasText;
    }
}
/* /Components/Loadout/LoadoutZoom.razor.rz.scp.css */
/* The zoom card (3.4). A panel beside the bench (sticky under the world bar), or a bottom sheet over a scrim. Tokens
   only; the sheet stands on the page's own layer and the dock yields to it (the root flag rf-loadout-zoom). */
.lo-zoom[b-funphsmmpc] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: linear-gradient(160deg, var(--color-bg-elevated), var(--color-bg-base));
    position: sticky;
    top: calc(var(--frame-top, 64px) + var(--space-md));
    max-height: calc(100vh - var(--frame-top, 64px) - 2 * var(--space-md));
    overflow-y: auto;
}

.lo-zoom:focus:not(:focus-visible)[b-funphsmmpc] {
    outline: none;
}

.lo-zoom:focus-visible[b-funphsmmpc] {
    outline: 2px solid var(--color-primary);
}

.loadout-zoom-layer[b-funphsmmpc] {
    position: fixed;
    inset: 0;
    z-index: var(--mud-zindex-dialog, 1400);
}

.lo-zoom-scrim[b-funphsmmpc] {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-bg-base) 62%, transparent);
}

.lo-zoom.is-sheet[b-funphsmmpc] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    max-height: 85vh;
    max-height: 85dvh;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom, 0px));
    animation: lo-zoom-rise-b-funphsmmpc 0.22s ease-out;
}

.lo-zoom-grip[b-funphsmmpc] {
    align-self: center;
    width: 40px;
    height: 4px;
    border-radius: var(--radius-round);
    background: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
}

@keyframes lo-zoom-rise-b-funphsmmpc {
    from {
        transform: translateY(24px);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.lo-zoom-head[b-funphsmmpc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lo-zoom-name[b-funphsmmpc] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    color: var(--color-text-primary);
}

.lo-zoom-icon[b-funphsmmpc] {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-base);
}

.lo-zoom-badges[b-funphsmmpc] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lo-zoom-badge[b-funphsmmpc] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: var(--gt-sm);
}

.lo-zoom-badge .material-icons[b-funphsmmpc] {
    font-size: var(--gt-sm);
}

.lo-zoom-badge.loadout-badge-concentration[b-funphsmmpc] {
    background: transparent;
    border: 1px solid var(--color-warning-bright);
    color: var(--color-warning-bright);
}

.lo-zoom-badge.loadout-badge-new[b-funphsmmpc] {
    background: color-mix(in srgb, var(--color-info-light) 22%, transparent);
    color: var(--color-info-lighter);
}

.lo-zoom-badge.loadout-badge-once[b-funphsmmpc],
.lo-zoom-badge.slot-free[b-funphsmmpc] {
    background: transparent;
    border: 1px solid var(--color-eco-free);
    color: var(--color-eco-free);
}

.lo-zoom-lock[b-funphsmmpc],
.lo-zoom-viewonly[b-funphsmmpc] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-warning) 12%, transparent);
    color: var(--color-warning-bright);
    font-size: var(--gt-sm);
}

.lo-zoom-viewonly[b-funphsmmpc] {
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    color: var(--color-text-primary);
}

.lo-zoom-lock .material-icons[b-funphsmmpc],
.lo-zoom-viewonly .material-icons[b-funphsmmpc] {
    font-size: var(--gt-lg);
}

.lo-zoom-facts[b-funphsmmpc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--gt-sm);
    color: var(--color-text-primary);
}

.lo-zoom-facts li[b-funphsmmpc] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.lo-zoom-facts .material-icons[b-funphsmmpc] {
    font-size: var(--gt-lg);
    color: var(--color-text-secondary);
}

.lo-zoom-desc[b-funphsmmpc] {
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-swap[b-funphsmmpc] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.lo-swap-heading[b-funphsmmpc] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-light);
}

.lo-swap-heading .material-icons[b-funphsmmpc] {
    font-size: var(--gt-lg);
}

.lo-swap-group[b-funphsmmpc] {
    margin: 4px 0 0;
    font-size: var(--gt-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-secondary);
}

.lo-swap-chips[b-funphsmmpc] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lo-swap-chip[b-funphsmmpc] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    cursor: pointer;
}

.lo-swap-chip.is-picked[b-funphsmmpc] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
    color: var(--color-primary-light);
}

.lo-swap-chip:focus-visible[b-funphsmmpc] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.lo-zoom-action[b-funphsmmpc] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 42px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-size: var(--gt-base);
}

.lo-zoom-action.is-gold[b-funphsmmpc] {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-weight: var(--font-weight-bold);
}

.lo-zoom-action:disabled[b-funphsmmpc] {
    cursor: not-allowed;
    opacity: 0.55;
}

.lo-zoom-action.is-blocked[b-funphsmmpc] {
    text-transform: none;
    font-family: var(--font-primary);
    letter-spacing: 0;
}

.lo-zoom-action:focus-visible[b-funphsmmpc],
.lo-zoom-pin:focus-visible[b-funphsmmpc],
.lo-zoom-link:focus-visible[b-funphsmmpc] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.lo-zoom-keys[b-funphsmmpc] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.lo-zoom-keys .material-icons[b-funphsmmpc] {
    font-size: var(--gt-lg);
}

.lo-zoom-pin[b-funphsmmpc] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 36px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
}

.lo-zoom-pin.is-pinned[b-funphsmmpc] {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.lo-zoom-link[b-funphsmmpc] {
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
}

@media (pointer: coarse) {
    .lo-zoom-action[b-funphsmmpc],
    .lo-zoom-pin[b-funphsmmpc],
    .lo-swap-chip[b-funphsmmpc] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lo-zoom.is-sheet[b-funphsmmpc] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .lo-zoom[b-funphsmmpc],
    .lo-swap-chip[b-funphsmmpc],
    .lo-zoom-action[b-funphsmmpc] {
        border-color: CanvasText;
    }

    .lo-swap-chip.is-picked[b-funphsmmpc] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Market/MkAdvice.razor.rz.scp.css */
/* Worth it for you: four cards in a row from 1280, rows below. */
.mk-advice[b-bxk6hvb6ki] { display: grid; gap: 12px; }
.mk-advice-head[b-bxk6hvb6ki] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.mk-advice-title[b-bxk6hvb6ki] { margin: 0; font: 700 var(--gt-xl) / 1.2 var(--fd-font-display); color: var(--mk-cream); }
.mk-advice-sub[b-bxk6hvb6ki] { margin: 0; font: 500 var(--gt-md) / 1.3 var(--font-primary); color: var(--fd-text-3); }

.mk-advice-cards[b-bxk6hvb6ki] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mk-advice-empty[b-bxk6hvb6ki] { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }

@media (max-width: 1279px) {
    .mk-advice-cards[b-bxk6hvb6ki] { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (forced-colors: active) {
    .mk-advice-title[b-bxk6hvb6ki] { color: CanvasText; }
}
/* /Components/Market/MkAdviceCard.razor.rz.scp.css */
/* One advice card; its Buy is ghost gold (the deal's solid gold is elsewhere). */
.mk-card[b-ajhgoqp1vl] {
    --rar: var(--color-rarity-common);
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--mk-line);
    border-top: 3px solid var(--rar);
    background: var(--mk-surface);
}

.rar-uncommon[b-ajhgoqp1vl] { --rar: var(--color-rarity-uncommon); }
.rar-rare[b-ajhgoqp1vl] { --rar: var(--color-rarity-rare); }
.rar-epic[b-ajhgoqp1vl] { --rar: var(--color-rarity-epic); }
.rar-legendary[b-ajhgoqp1vl] { --rar: var(--color-rarity-legendary); }

.mk-card-top[b-ajhgoqp1vl] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-card-top[b-ajhgoqp1vl]  .mk-card-icon { font-size: var(--gt-3xl); color: var(--rar); }
.mk-card-title[b-ajhgoqp1vl] { margin: 0; font: 700 calc(var(--gt-px) * 15) / 1.25 var(--font-primary); color: var(--mk-cream); }
.mk-card-detail[b-ajhgoqp1vl] { margin: 0; font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-rar[b-ajhgoqp1vl] { font-weight: 700; color: color-mix(in srgb, var(--rar) 70%, var(--color-text-primary)); }
.mk-card-note[b-ajhgoqp1vl] { display: flex; align-items: center; gap: 6px; margin: 0; font: 600 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--mk-info); }
.mk-card-foot[b-ajhgoqp1vl] { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.mk-card-price[b-ajhgoqp1vl] { display: grid; gap: 4px; }
.mk-afford[b-ajhgoqp1vl] { font: 600 var(--gt-sm) / 1.2 var(--font-primary); color: var(--fd-text-4); }
.tone-good[b-ajhgoqp1vl] { color: var(--mk-sale); }
.tone-bad[b-ajhgoqp1vl] { color: var(--mk-short); }

.mk-card-btn[b-ajhgoqp1vl] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-gold-strong);
    background: var(--mk-ghost-gold);
    color: var(--mk-gold-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.mk-card-btn:hover:not(:disabled)[b-ajhgoqp1vl] { background: var(--mk-sel); }
.mk-card-btn:disabled[b-ajhgoqp1vl] { opacity: 0.55; cursor: not-allowed; border-style: dashed; }
.mk-card-btn:focus-visible[b-ajhgoqp1vl] { outline: 2px solid var(--color-primary); outline-offset: 2px; }

@media (max-width: 1279px) {
    .mk-card[b-ajhgoqp1vl] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
    .mk-card-top[b-ajhgoqp1vl] { grid-row: 1 / span 3; }
    .mk-card-top[b-ajhgoqp1vl]  .mk-verdict { display: none; }
    .mk-card-foot[b-ajhgoqp1vl] { grid-column: 3; grid-row: 1 / span 3; margin: 0; flex-direction: column; align-items: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-card-btn[b-ajhgoqp1vl] { transition: none; }
}

@media (forced-colors: active) {
    .mk-card[b-ajhgoqp1vl] { border: 1px solid CanvasText; } .mk-card-btn[b-ajhgoqp1vl] { border: 1px solid ButtonText; }
}
/* /Components/Market/MkBanner.razor.rz.scp.css */
/* The view-only banner. */
.mk-banner[b-wi4wl7w2yl] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--mk-info-line); background: var(--mk-info-fill); }
.mk-banner[b-wi4wl7w2yl]  .mk-banner-icon { font-size: var(--gt-3xl); color: var(--mk-info); }
.mk-banner-words[b-wi4wl7w2yl] { display: grid; gap: 2px; }
.mk-banner-title[b-wi4wl7w2yl] { margin: 0; font: 700 calc(var(--gt-px) * 14.5) / 1.3 var(--font-primary); color: var(--mk-cream); }
.mk-banner-body[b-wi4wl7w2yl] { margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-2); }
.mk-banner-link[b-wi4wl7w2yl] { display: inline-flex; align-items: center; min-height: var(--mk-tap); color: var(--mk-gold-text); font: 700 var(--gt-md) / 1 var(--font-primary); }
.mk-banner-link:focus-visible[b-wi4wl7w2yl] { outline: 2px solid var(--color-primary); outline-offset: 2px; }

@media (forced-colors: active) {
    .mk-banner[b-wi4wl7w2yl] { border: 2px solid CanvasText; }
}
/* /Components/Market/MkBuyback.razor.rz.scp.css */
/* Buy back. */
.mk-buyback[b-61l52w9fw2] { display: grid; gap: 12px; }
.mk-buyback-head[b-61l52w9fw2] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.mk-buyback-title[b-61l52w9fw2] { margin: 0; font: 700 var(--gt-xl) / 1.2 var(--fd-font-display); color: var(--mk-cream); }
.mk-buyback-note[b-61l52w9fw2] { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 500 var(--gt-md) / 1.3 var(--font-primary); color: var(--fd-text-3); }
.mk-entries[b-61l52w9fw2] { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mk-entry[b-61l52w9fw2] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--mk-line); background: var(--mk-surface); }
.mk-entry-words[b-61l52w9fw2] { display: grid; gap: 4px; min-width: 0; }
.mk-entry-title[b-61l52w9fw2] { margin: 0; font: 700 var(--gt-base) / 1.3 var(--font-primary); color: var(--mk-cream); }
.mk-entry-lines[b-61l52w9fw2] { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-entry-reason[b-61l52w9fw2] { margin: 0; font: 600 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary); color: var(--mk-short); }

.mk-btn[b-61l52w9fw2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-61l52w9fw2] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-61l52w9fw2] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-61l52w9fw2] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-61l52w9fw2] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-61l52w9fw2] { border-style: dashed; }
.mk-btn.cta[b-61l52w9fw2] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-61l52w9fw2] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-61l52w9fw2] { padding: 0; width: var(--mk-tap); }

@media (prefers-reduced-motion: reduce) {
    .mk-btn[b-61l52w9fw2] { transition: none; }
}

@media (forced-colors: active) {
    .mk-entry[b-61l52w9fw2] { border: 1px solid CanvasText; } .mk-btn[b-61l52w9fw2] { border: 1px solid ButtonText; } .mk-btn.cta[b-61l52w9fw2] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkCompare.razor.rz.scp.css */
/* The compare dock (392px beside the list from 960, 340px at 960-1023) and the open detail; a bottom sheet below 768. */
.mk-compare[b-4hbos5m05b] {
    --rar: var(--color-rarity-common);
    position: sticky;
    top: calc(var(--frame-top, 64px) + 12px);
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--mk-line);
    border-top: 3px solid var(--rar);
    background: var(--mk-surface);
    max-height: calc(100dvh - var(--frame-top, 64px) - 24px);
    overflow-y: auto;
}

.rar-common[b-4hbos5m05b] { --rar: var(--color-rarity-common); }
.rar-uncommon[b-4hbos5m05b] { --rar: var(--color-rarity-uncommon); }
.rar-rare[b-4hbos5m05b] { --rar: var(--color-rarity-rare); }
.rar-epic[b-4hbos5m05b] { --rar: var(--color-rarity-epic); }
.rar-legendary[b-4hbos5m05b] { --rar: var(--color-rarity-legendary); }
.mk-rar[b-4hbos5m05b] { font-weight: 700; color: color-mix(in srgb, var(--rar) 70%, var(--color-text-primary)); }

.mk-compare.empty[b-4hbos5m05b] { border-top-color: var(--mk-line); }
.mk-compare.is-open[b-4hbos5m05b] { border-color: var(--mk-line-gold); }
.mk-compare:focus[b-4hbos5m05b] { outline: none; }
.mk-compare:focus-visible[b-4hbos5m05b] { outline: 2px solid var(--color-primary); }
.mk-compare-hint[b-4hbos5m05b] { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-compare-head[b-4hbos5m05b] { display: flex; align-items: center; justify-content: space-between; }
.mk-eyebrow[b-4hbos5m05b] { display: inline-flex; align-items: center; gap: 6px; margin: 0; font: 800 var(--gt-sm) / 1 var(--font-primary); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mk-gold-text); }
.mk-compare-name[b-4hbos5m05b] { display: flex; align-items: center; gap: 8px; margin: 0; font: 700 var(--gt-xl) / 1.25 var(--fd-font-display); color: var(--mk-cream); }
.mk-compare-name[b-4hbos5m05b]  .mk-compare-icon { font-size: var(--gt-3xl); color: var(--rar); }
.mk-compare-detail[b-4hbos5m05b] { margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-inset[b-4hbos5m05b] { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--mk-line-2); color: var(--fd-text-2); font: 500 var(--gt-md) / 1.4 var(--font-primary); }
.mk-inset p[b-4hbos5m05b] { margin: 0; }

.mk-cmp[b-4hbos5m05b] { width: 100%; border-collapse: collapse; font: 600 var(--gt-md) / 1.3 var(--font-primary); color: var(--fd-text); }
.mk-cmp th[b-4hbos5m05b], .mk-cmp td[b-4hbos5m05b] { padding: 6px 4px; border-bottom: 1px solid var(--mk-line); text-align: left; }
.mk-cmp thead th[b-4hbos5m05b] { font-size: var(--gt-sm); text-transform: uppercase; letter-spacing: 0.08em; color: var(--fd-text-4); }
.mk-cmp-worn[b-4hbos5m05b] { display: block; text-transform: none; letter-spacing: 0; color: var(--fd-text-3); }
.mk-cmp tbody th[b-4hbos5m05b] { color: var(--fd-text-3); font-weight: 600; }
.tone-good[b-4hbos5m05b] { color: var(--mk-sale); }
.tone-bad[b-4hbos5m05b] { color: var(--mk-short); }

.mk-note[b-4hbos5m05b] { display: flex; gap: 6px; margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--mk-info); }
.mk-lore[b-4hbos5m05b] { margin: 0; font: italic 400 var(--gt-base) / 1.45 var(--fd-font-voice); color: var(--fd-text-2); }
.mk-tradein[b-4hbos5m05b] { display: flex; align-items: center; gap: 8px; min-height: var(--mk-tap); font: 600 var(--gt-md) / 1.3 var(--font-primary); color: var(--fd-text); cursor: pointer; }
.mk-tradein input[b-4hbos5m05b] { width: var(--mk-check); height: var(--mk-check); accent-color: var(--color-primary); }
.mk-compare-foot[b-4hbos5m05b] { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mk-compare-price[b-4hbos5m05b] { display: grid; gap: 4px; }
.mk-afford[b-4hbos5m05b] { font: 600 var(--gt-sm) / 1.2 var(--font-primary); color: var(--fd-text-4); }
.mk-preview[b-4hbos5m05b] { margin: 0; font: 600 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--mk-cream); }

.mk-btn[b-4hbos5m05b] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-4hbos5m05b] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-4hbos5m05b] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-4hbos5m05b] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-4hbos5m05b] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-4hbos5m05b] { border-style: dashed; }
.mk-btn.cta[b-4hbos5m05b] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-4hbos5m05b] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-4hbos5m05b] { padding: 0; width: var(--mk-tap); }

.mk-scrim[b-4hbos5m05b] { position: fixed; inset: 0 0 var(--frame-bottom, 0px) var(--frame-left, 0px); z-index: var(--mud-zindex-dialog, 1400); border: 0; background: var(--mk-scrim); cursor: pointer; }

.mk-compare.is-sheet[b-4hbos5m05b] {
    position: fixed;
    inset: auto 0 var(--frame-bottom, 0px) var(--frame-left, 0px);
    z-index: calc(var(--mud-zindex-dialog, 1400) + 1);
    max-height: 70dvh;
    border-radius: 16px 16px 0 0;
    animation: mk-rise-b-4hbos5m05b 0.2s ease-out;
}

@keyframes mk-rise-b-4hbos5m05b {
    from { transform: translateY(24px); opacity: 0; }
    to { transform: none; opacity: 1; }
}

@media (orientation: landscape) and (max-height: 480px) {
    .mk-compare.is-sheet[b-4hbos5m05b] { inset: 0 0 0 auto; width: 360px; max-height: none; border-radius: 16px 0 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-compare.is-sheet[b-4hbos5m05b] { animation: none; } .mk-btn[b-4hbos5m05b] { transition: none; }
}

@media (forced-colors: active) {
    .mk-compare[b-4hbos5m05b] { border: 1px solid CanvasText; } .mk-btn[b-4hbos5m05b] { border: 1px solid ButtonText; } .mk-btn.cta[b-4hbos5m05b] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkConfirm.razor.rz.scp.css */
/* The confirm: a centred panel; a bottom sheet that stops at the dock below 768. */
.mk-confirm-layer[b-80de08ivux] { position: fixed; inset: 0; z-index: var(--mud-zindex-dialog, 1400); display: grid; place-items: center; padding: 16px; }
.mk-scrim[b-80de08ivux] { position: absolute; inset: 0; border: 0; background: var(--mk-scrim); cursor: pointer; }

.mk-confirm[b-80de08ivux] {
    position: relative;
    display: grid;
    gap: 12px;
    width: min(440px, 100%);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--mk-line-gold-strong);
    background: var(--mk-surface-flat);
    box-shadow: var(--shadow-md);
    animation: mk-pop-b-80de08ivux 0.15s ease-out;
}

@keyframes mk-pop-b-80de08ivux {
    from { transform: scale(0.98); opacity: 0; }
    to { transform: none; opacity: 1; }
}

.mk-confirm-title[b-80de08ivux] { margin: 0; font: 700 var(--gt-xl) / 1.3 var(--fd-font-display); color: var(--mk-cream); }
.mk-confirm-flags[b-80de08ivux] { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mk-confirm-flags li[b-80de08ivux] { display: flex; gap: 8px; font: 500 calc(var(--gt-px) * 13.5) / 1.4 var(--font-primary); color: var(--mk-warn); }
.mk-confirm-sum[b-80de08ivux] { display: grid; gap: 6px; margin: 0; }
.mk-confirm-sum > div[b-80de08ivux] { display: flex; justify-content: space-between; align-items: center; }
.mk-confirm-sum dt[b-80de08ivux] { font: 600 var(--gt-md) / 1 var(--font-primary); color: var(--fd-text-3); }
.mk-confirm-sum dd[b-80de08ivux] { margin: 0; }
.mk-confirm-actions[b-80de08ivux] { display: flex; justify-content: flex-end; gap: 8px; }

.mk-btn[b-80de08ivux] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-80de08ivux] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-80de08ivux] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-80de08ivux] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-80de08ivux] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-80de08ivux] { border-style: dashed; }
.mk-btn.cta[b-80de08ivux] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-80de08ivux] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-80de08ivux] { padding: 0; width: var(--mk-tap); }

@media (max-width: 767px) {
    .mk-confirm-layer[b-80de08ivux] { place-items: end stretch; padding: 0 0 var(--frame-bottom, 0px) var(--frame-left, 0px); }
    .mk-confirm[b-80de08ivux] { width: 100%; border-radius: 16px 16px 0 0; }
    .mk-confirm-actions .mk-btn[b-80de08ivux] { flex: 1; }
}

@media (orientation: landscape) and (max-height: 480px) {
    .mk-confirm-layer[b-80de08ivux] { place-items: stretch end; padding: 0; }
    .mk-confirm[b-80de08ivux] { width: 360px; border-radius: 16px 0 0 16px; align-content: start; overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-confirm[b-80de08ivux] { animation: none; } .mk-btn[b-80de08ivux] { transition: none; }
}

@media (forced-colors: active) {
    .mk-confirm[b-80de08ivux] { border: 2px solid CanvasText; } .mk-btn[b-80de08ivux] { border: 1px solid ButtonText; } .mk-btn.cta[b-80de08ivux] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkDoors.razor.rz.scp.css */
/* The doors. */
.mk-doors[b-wa9frz3voj] { display: grid; gap: 8px; }
.mk-doors-title[b-wa9frz3voj] { margin: 0; font: 700 var(--gt-base) / 1.2 var(--font-primary); color: var(--fd-text-3); }
.mk-doors ul[b-wa9frz3voj] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }

.mk-door[b-wa9frz3voj] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--mk-line);
    background: var(--mk-well);
    color: var(--fd-text);
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.mk-door:hover[b-wa9frz3voj] { border-color: var(--mk-line-gold-strong); }
.mk-door:focus-visible[b-wa9frz3voj] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-door[b-wa9frz3voj]  .mk-door-icon { font-size: calc(var(--gt-px) * 22); color: var(--mk-gold-text); }
.mk-door-words[b-wa9frz3voj] { display: grid; gap: 2px; min-width: 0; font: 500 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--fd-text-3); }
.mk-door-words b[b-wa9frz3voj] { font: 700 calc(var(--gt-px) * 13.5) / 1.2 var(--font-primary); color: var(--mk-cream); }

@media (max-width: 1279px) {
    .mk-doors ul[b-wa9frz3voj] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .mk-doors ul[b-wa9frz3voj] { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .mk-door[b-wa9frz3voj] { transition: none; }
}

@media (forced-colors: active) {
    .mk-door[b-wa9frz3voj] { border: 1px solid LinkText; }
}
/* /Components/Market/MkEmpty.razor.rz.scp.css */
/* An empty state. */
.mk-empty[b-rnjh5h4tzz] { display: grid; justify-items: center; gap: 6px; padding: 24px 16px; border-radius: 14px; border: 1px dashed var(--mk-line-2); text-align: center; }
.mk-empty[b-rnjh5h4tzz]  .mk-empty-icon { font-size: var(--gt-4xl); color: var(--fd-text-4); }
.mk-empty-title[b-rnjh5h4tzz] { margin: 0; font: 700 calc(var(--gt-px) * 15) / 1.3 var(--font-primary); color: var(--mk-cream); }
.mk-empty-body[b-rnjh5h4tzz] { margin: 0; max-width: 46ch; font: 500 var(--gt-md) / 1.45 var(--font-primary); color: var(--fd-text-3); }

@media (forced-colors: active) {
    .mk-empty[b-rnjh5h4tzz] { border: 1px dashed CanvasText; }
}
/* /Components/Market/MkFilters.razor.rz.scp.css */
/* The stock's tools and aisles. */
.mk-filters[b-s0isn52vyv] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.mk-search[b-s0isn52vyv] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1 1 200px;
    min-height: var(--mk-tap);
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--fd-well);
    color: var(--fd-text-3);
}

.mk-search input[b-s0isn52vyv] { flex: 1; min-width: 0; border: 0; background: none; color: var(--fd-text); font: 500 var(--gt-md) / 1 var(--font-primary); }
.mk-search input:focus[b-s0isn52vyv] { outline: none; }
.mk-search:focus-within[b-s0isn52vyv] { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.mk-chips[b-s0isn52vyv] { display: flex; flex-wrap: wrap; gap: 6px; }

.mk-chip[b-s0isn52vyv], .mk-aisle[b-s0isn52vyv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--mk-line-2);
    background: none;
    color: var(--fd-text-2);
    font: 700 calc(var(--gt-px) * 12.5) / 1 var(--font-primary);
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-chip.is-on[b-s0isn52vyv], .mk-aisle.is-on[b-s0isn52vyv] { border-color: var(--mk-line-gold-strong); background: var(--mk-sel); color: var(--mk-cream); }
.mk-chip:focus-visible[b-s0isn52vyv], .mk-aisle:focus-visible[b-s0isn52vyv] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-chip-count[b-s0isn52vyv], .mk-aisle-count[b-s0isn52vyv] { font-size: var(--gt-sm); color: var(--fd-text-4); }

.mk-select[b-s0isn52vyv] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    color: var(--fd-text-3);
}

.mk-select select[b-s0isn52vyv] { border: 0; background: var(--mk-surface-flat); color: var(--fd-text); font: 600 calc(var(--gt-px) * 12.5) / 1 var(--font-primary); min-height: calc(var(--mk-tap) - 2px); }
.mk-select:focus-within[b-s0isn52vyv] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-select select:focus[b-s0isn52vyv] { outline: none; }

.mk-aisles[b-s0isn52vyv] { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.mk-aisle[b-s0isn52vyv] { flex: none; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
    .mk-chip[b-s0isn52vyv], .mk-aisle[b-s0isn52vyv] { transition: none; }
}

@media (forced-colors: active) {
    .mk-chip.is-on[b-s0isn52vyv], .mk-aisle.is-on[b-s0isn52vyv] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkGroup.razor.rz.scp.css */
/* One sweep group. */
.mk-group[b-njpjmizlae] { display: grid; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--mk-line); background: var(--mk-surface); }
.mk-group-head[b-njpjmizlae] { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
/* Hand-picked (potions) and view-only groups draw no group checkbox: drop its column so the words take the flexible one */
.mk-group-head.no-check[b-njpjmizlae] { grid-template-columns: auto minmax(0, 1fr) auto; }
.mk-group-check[b-njpjmizlae] { display: grid; place-items: center; width: var(--mk-tap); height: var(--mk-tap); cursor: pointer; }
.mk-group-check input[b-njpjmizlae] { width: var(--mk-check); height: var(--mk-check); accent-color: var(--color-primary); }
.mk-group-check input:focus-visible[b-njpjmizlae] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-group-head[b-njpjmizlae]  .mk-group-icon { font-size: var(--gt-2xl); color: var(--fd-text-3); }
.mk-group-words[b-njpjmizlae] { display: grid; gap: 2px; min-width: 0; }
.mk-group-title[b-njpjmizlae] { margin: 0; font: 700 var(--gt-base) / 1.25 var(--font-primary); color: var(--mk-cream); }
.mk-group-explainer[b-njpjmizlae] { margin: 0; font: 500 calc(var(--gt-px) * 12.5) / 1.35 var(--font-primary); color: var(--fd-text-3); }
.mk-group-total[b-njpjmizlae] { display: grid; justify-items: end; gap: 2px; }
.mk-group-count[b-njpjmizlae] { font: 600 var(--gt-sm) / 1 var(--font-primary); color: var(--fd-text-4); }
.mk-lines[b-njpjmizlae] { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }

@media (forced-colors: active) {
    .mk-group[b-njpjmizlae] { border: 1px solid CanvasText; } .mk-group-check input[b-njpjmizlae] { outline: 1px solid CanvasText; }
}
/* /Components/Market/MkHead.razor.rz.scp.css */
/* The head: name and voice left, tabs in the middle, purse right; wraps under 1280. */
.mk-head[b-1di0xjcjxt] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: var(--space-lg);
}

.mk-head-id[b-1di0xjcjxt] { display: grid; gap: 4px; min-width: 0; }

.mk-title[b-1di0xjcjxt] {
    margin: 0;
    font: 700 calc(var(--gt-px) * 26) / 1.1 var(--fd-font-display);
    color: var(--mk-cream);
}

.mk-tagline[b-1di0xjcjxt] {
    margin: 0;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mk-gold-text);
}

@media (max-width: 1279px) {
    .mk-head[b-1di0xjcjxt] { grid-template-columns: minmax(0, 1fr) auto; }
    .mk-head[b-1di0xjcjxt]  .mk-tabs { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
}

@media (max-width: 767px) {
    .mk-head[b-1di0xjcjxt] { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
    .mk-head[b-1di0xjcjxt]  .mk-tabs { grid-row: 1; width: 100%; }
    /* One line each: "Buy back" with its count wrapped to two lines at 390 */
    .mk-head[b-1di0xjcjxt]  .mk-tab { flex: 1 1 0; padding: 0 8px; gap: 4px; white-space: nowrap; }
    .mk-head[b-1di0xjcjxt]  .mk-purse { display: none; }
    .mk-title[b-1di0xjcjxt] { font-size: var(--gt-2xl); }
}

@media (forced-colors: active) {
    .mk-title[b-1di0xjcjxt] { color: CanvasText; }
}
/* /Components/Market/MkKit.razor.rz.scp.css */
/* The kit strip: ten slots in a row, a pip for an upgrade (green on the shelf, blue in the pack); scrolls sideways on phones. */
.mk-kit[b-9okew4l7f0] {
    display: grid;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--mk-line);
    background: var(--mk-surface);
}

.mk-kit-head[b-9okew4l7f0] { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.mk-kit-title[b-9okew4l7f0] { margin: 0; font: 700 calc(var(--gt-px) * 15) / 1 var(--font-primary); color: var(--mk-cream); }
.mk-kit-class[b-9okew4l7f0] { font: 600 var(--gt-md) / 1 var(--font-primary); color: var(--fd-text-3); }
.mk-kit-stat[b-9okew4l7f0] { display: inline-flex; align-items: center; gap: 4px; font: 700 var(--gt-md) / 1 var(--font-primary); color: var(--fd-text); }

.mk-kit-slots[b-9okew4l7f0] {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mk-slot[b-9okew4l7f0] {
    --rar: var(--color-rarity-common);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 56px;
    padding: 6px 4px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--rar) 55%, transparent);
    background: var(--mk-well);
    color: var(--fd-text);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mk-slot.is-empty[b-9okew4l7f0] { border-style: dashed; border-color: var(--mk-line-2); color: var(--fd-text-4); }
.mk-slot.is-on[b-9okew4l7f0] { border-color: var(--mk-line-gold-strong); background: var(--mk-sel); }
.mk-slot:hover[b-9okew4l7f0] { border-color: var(--mk-line-gold-strong); }
.mk-slot:focus-visible[b-9okew4l7f0] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-slot-label[b-9okew4l7f0] { font: 700 var(--gt-sm) / 1 var(--font-primary); color: var(--fd-text-3); }

.rar-uncommon[b-9okew4l7f0] { --rar: var(--color-rarity-uncommon); }
.rar-rare[b-9okew4l7f0] { --rar: var(--color-rarity-rare); }
.rar-epic[b-9okew4l7f0] { --rar: var(--color-rarity-epic); }
.rar-legendary[b-9okew4l7f0] { --rar: var(--color-rarity-legendary); }

.mk-pip[b-9okew4l7f0] {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: var(--mk-on-gold);
}

.mk-pip[b-9okew4l7f0]  .mk-ms { font-size: var(--gt-md); }
.mk-pip.shelf[b-9okew4l7f0] { background: var(--mk-pip-shelf); }
.mk-pip.pack[b-9okew4l7f0] { background: var(--mk-pip-pack); }

.mk-kit-foot[b-9okew4l7f0] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 0; font: 600 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--fd-text-3); }
.mk-kit-summary[b-9okew4l7f0], .mk-kit-preview[b-9okew4l7f0], .mk-kit-pouch[b-9okew4l7f0] { display: inline-flex; align-items: center; gap: 6px; }
.mk-kit-summary[b-9okew4l7f0] { color: var(--mk-sale); }
.mk-kit-preview[b-9okew4l7f0] { color: var(--mk-cream); }

@media (max-width: 1279px) {
    .mk-slot-label[b-9okew4l7f0] { display: none; }
    .mk-slot[b-9okew4l7f0] { min-height: 48px; }
}

@media (pointer: coarse) {
    .mk-slot[b-9okew4l7f0] { min-height: 48px; }
}

@media (max-width: 767px) {
    .mk-kit-slots[b-9okew4l7f0] { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding-top: 6px; }
    .mk-kit-slots > li[b-9okew4l7f0] { flex: 0 0 56px; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-slot[b-9okew4l7f0] { transition: none; }
}

@media (forced-colors: active) {
    .mk-slot.is-on[b-9okew4l7f0] { outline: 2px solid Highlight; } .mk-pip[b-9okew4l7f0] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkNet.razor.rz.scp.css */
/* The one net number. */
.mk-net[b-fmx0tsyuir] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-gold);
    background: var(--mk-well);
    font: 600 var(--gt-md) / 1.3 var(--font-primary);
    color: var(--fd-text-2);
}

.mk-net b[b-fmx0tsyuir] { font-weight: 800; color: var(--mk-cream); }
.gets b[b-fmx0tsyuir] { color: var(--mk-sale); }
.mk-net-after[b-fmx0tsyuir] { color: var(--fd-text-3); }

@media (forced-colors: active) {
    .mk-net[b-fmx0tsyuir] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkPackLine.razor.rz.scp.css */
/* One pack line. */
.mk-line[b-tv9ap2q5sd] {
    --rar: var(--color-rarity-common);
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 10px;
    min-height: var(--mk-row-h);
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid transparent;
    border-left: 3px solid var(--rar);
    background: var(--mk-well);
}

.rar-common[b-tv9ap2q5sd] { --rar: var(--color-rarity-common); }
.rar-uncommon[b-tv9ap2q5sd] { --rar: var(--color-rarity-uncommon); }
.rar-rare[b-tv9ap2q5sd] { --rar: var(--color-rarity-rare); }
.rar-epic[b-tv9ap2q5sd] { --rar: var(--color-rarity-epic); }
.rar-legendary[b-tv9ap2q5sd] { --rar: var(--color-rarity-legendary); }
.mk-rar[b-tv9ap2q5sd] { font-weight: 700; color: color-mix(in srgb, var(--rar) 70%, var(--color-text-primary)); }

.mk-line.is-sel[b-tv9ap2q5sd] { border-color: var(--mk-line-gold); background: var(--mk-sel); }
.mk-line.is-kept[b-tv9ap2q5sd] { border-style: dashed; }
.mk-line-check[b-tv9ap2q5sd], .mk-line-lock[b-tv9ap2q5sd] { display: grid; place-items: center; width: var(--mk-tap); height: var(--mk-tap); cursor: pointer; color: var(--fd-text-4); }
.mk-line-check input[b-tv9ap2q5sd] { width: var(--mk-check); height: var(--mk-check); accent-color: var(--color-primary); }
.mk-line-check input:focus-visible[b-tv9ap2q5sd] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-line[b-tv9ap2q5sd]  .mk-line-icon { font-size: var(--gt-2xl); color: var(--rar); }
.mk-line-main[b-tv9ap2q5sd] { display: grid; gap: 2px; min-width: 0; }
.mk-line-name[b-tv9ap2q5sd] { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0; font: 700 calc(var(--gt-px) * 13.5) / 1.3 var(--font-primary); color: var(--mk-cream); }
.mk-line-qty[b-tv9ap2q5sd] { padding: 1px 6px; border-radius: 6px; background: var(--mk-line-2); font-size: var(--gt-sm); color: var(--fd-text); }
.mk-line-detail[b-tv9ap2q5sd] { margin: 0; font: 500 var(--gt-sm) / 1.35 var(--font-primary); color: var(--fd-text-3); }
.mk-line-chips[b-tv9ap2q5sd] { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.mk-flag[b-tv9ap2q5sd], .mk-lockword[b-tv9ap2q5sd] { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--mk-line-gold); font: 700 var(--gt-sm) / 1.5 var(--font-primary); color: var(--mk-warn); }
.mk-lockword[b-tv9ap2q5sd] { border-color: var(--mk-line-2); color: var(--fd-text-2); }
.mk-line-price[b-tv9ap2q5sd] { display: grid; justify-items: end; gap: 2px; }
.mk-each[b-tv9ap2q5sd] { font: 600 var(--gt-sm) / 1 var(--font-primary); color: var(--fd-text-4); }
.mk-keep.is-on[b-tv9ap2q5sd] { color: var(--mk-gold-text); }

.mk-btn[b-tv9ap2q5sd] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-tv9ap2q5sd] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-tv9ap2q5sd] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-tv9ap2q5sd] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-tv9ap2q5sd] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-tv9ap2q5sd] { border-style: dashed; }
.mk-btn.cta[b-tv9ap2q5sd] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-tv9ap2q5sd] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-tv9ap2q5sd] { padding: 0; width: var(--mk-tap); }

@media (max-width: 767px) {
    .mk-line[b-tv9ap2q5sd] { grid-template-columns: auto minmax(0, 1fr) auto; }
    .mk-line[b-tv9ap2q5sd]  .mk-line-icon { display: none; }
    .mk-line[b-tv9ap2q5sd]  .mk-qty { grid-column: 2; }
    .mk-line-price[b-tv9ap2q5sd] { grid-column: 3; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-btn[b-tv9ap2q5sd] { transition: none; }
}

@media (forced-colors: active) {
    .mk-line.is-sel[b-tv9ap2q5sd] { outline: 2px solid Highlight; } .mk-flag[b-tv9ap2q5sd], .mk-lockword[b-tv9ap2q5sd] { border: 1px solid CanvasText; } .mk-btn[b-tv9ap2q5sd] { border: 1px solid ButtonText; } .mk-btn.cta[b-tv9ap2q5sd] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkPhoneBar.razor.rz.scp.css */
/* The phone's page bar: on the dock below 768, beside the rail held sideways; hidden elsewhere. */
.mk-phonebar[b-z6jdgoamb0] { display: none; }

@media (max-width: 767px) {
    .mk-phonebar[b-z6jdgoamb0] {
        position: fixed;
        left: var(--frame-left, 0px);
        right: 0;
        bottom: var(--frame-bottom, 0px);
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 16px calc(8px + var(--frame-safe-pad, 0px));
        border-top: 1px solid var(--mk-line-gold);
        background: var(--mk-surface-flat);
    }

    .mk-phonebar.is-sale[b-z6jdgoamb0] { flex-direction: column; align-items: stretch; }
    .mk-phonebar.is-sale .mk-btn[b-z6jdgoamb0] { width: 100%; }
}

@media (orientation: landscape) and (max-height: 480px) {
    .mk-phonebar[b-z6jdgoamb0] {
        position: fixed;
        left: var(--frame-left, 0px);
        right: 0;
        bottom: 0;
        z-index: 20;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 56px;
        padding: 0 16px;
        border-top: 1px solid var(--mk-line-gold);
        background: var(--mk-surface-flat);
    }

    .mk-phonebar.is-sale[b-z6jdgoamb0] { flex-direction: row; }
    .mk-phonebar.is-sale .mk-btn[b-z6jdgoamb0] { width: auto; }
}

.mk-phonebar-sum[b-z6jdgoamb0] { display: grid; gap: 2px; font: 600 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--fd-text-2); }
.mk-phonebar-count[b-z6jdgoamb0] { font-weight: 700; color: var(--mk-cream); }
.mk-phonebar-purse[b-z6jdgoamb0], .mk-phonebar-pouch[b-z6jdgoamb0] { display: inline-flex; align-items: center; gap: 6px; font: 600 var(--gt-md) / 1 var(--font-primary); color: var(--fd-text-2); }

.mk-btn[b-z6jdgoamb0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-z6jdgoamb0] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-z6jdgoamb0] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-z6jdgoamb0] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-z6jdgoamb0] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-z6jdgoamb0] { border-style: dashed; }
.mk-btn.cta[b-z6jdgoamb0] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-z6jdgoamb0] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-z6jdgoamb0] { padding: 0; width: var(--mk-tap); }

@media (prefers-reduced-motion: reduce) {
    .mk-btn[b-z6jdgoamb0] { transition: none; }
}

@media (forced-colors: active) {
    .mk-phonebar[b-z6jdgoamb0] { border-top: 2px solid CanvasText; } .mk-btn[b-z6jdgoamb0] { border: 1px solid ButtonText; } .mk-btn.cta[b-z6jdgoamb0] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkPrice.razor.rz.scp.css */
/* A price: the letter after each number stays (2g 14s), so the disc's colour is never the only cue. */
.mk-price[b-euz5d5gj2n] {
    --cs: 12px;
    display: inline-flex;
    align-items: center;
    font: 700 var(--gt-base) / 1 var(--font-primary);
    color: var(--mk-cream);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mk-price-coins[b-euz5d5gj2n] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.d[b-euz5d5gj2n] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mk-coin[b-euz5d5gj2n] {
    display: inline-block;
    width: var(--cs);
    height: var(--cs);
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px var(--mk-coin-rim);
}

.mk-coin.g[b-euz5d5gj2n] { background: var(--mk-coin-g); }
.mk-coin.s[b-euz5d5gj2n] { background: var(--mk-coin-s); }
.mk-coin.c[b-euz5d5gj2n] { background: var(--mk-coin-c); }

.sm[b-euz5d5gj2n] { font-size: calc(var(--gt-px) * 12.5); --cs: 10px; }
.sm .mk-price-coins[b-euz5d5gj2n] { gap: 6px; }
.lg[b-euz5d5gj2n] { font: 800 calc(var(--gt-px) * 22) / 1 var(--font-primary); --cs: 17px; }
.lg .mk-price-coins[b-euz5d5gj2n] { gap: 12px; }
.xl[b-euz5d5gj2n] { font: 800 var(--gt-4xl) / 1 var(--font-primary); --cs: 21px; }
.sale[b-euz5d5gj2n] { color: var(--mk-sale); }
.short[b-euz5d5gj2n] { color: var(--mk-short); }
.muted[b-euz5d5gj2n] { color: var(--fd-text-4); font-weight: 600; }

@media (forced-colors: active) {
    .mk-coin[b-euz5d5gj2n] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkPurse.razor.rz.scp.css */
/* The purse: gold-rimmed, the page head's right edge. */
.mk-purse[b-rzs2xvlda9] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--mk-line-gold);
    background: var(--mk-purse-bg);
    min-width: 0;
}

.lb[b-rzs2xvlda9] {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 800 var(--gt-sm) / 1 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mk-gold-text);
}

.mk-pouch[b-rzs2xvlda9] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 600 calc(var(--gt-px) * 12.5) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

.chip[b-rzs2xvlda9] {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    min-height: 40px;
    border-radius: 999px;
}

@media (max-width: 1279px) {
    .mk-purse[b-rzs2xvlda9] { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 12px; }
}

@media (forced-colors: active) {
    .mk-purse[b-rzs2xvlda9] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkResult.razor.rz.scp.css */
/* A result card. */
.mk-result[b-jw1h1y6c5n] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--mk-good-line);
    background: var(--mk-good-fill);
}

.mk-result:focus[b-jw1h1y6c5n] { outline: none; }
.mk-result:focus-visible[b-jw1h1y6c5n] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.kind-refused[b-jw1h1y6c5n], .kind-halfdone[b-jw1h1y6c5n] { border-color: var(--mk-bad-line); background: var(--mk-bad-fill); }
.kind-undone[b-jw1h1y6c5n] { border-color: var(--mk-info-line); background: var(--mk-info-fill); }
.mk-result[b-jw1h1y6c5n]  .mk-result-icon { font-size: var(--gt-3xl); color: var(--mk-cream); }
.mk-result-words[b-jw1h1y6c5n] { display: grid; gap: 4px; min-width: 0; }
.mk-result-title[b-jw1h1y6c5n] { margin: 0; font: 700 calc(var(--gt-px) * 15) / 1.3 var(--font-primary); color: var(--mk-cream); }
.mk-result-body[b-jw1h1y6c5n], .mk-result-fresh[b-jw1h1y6c5n] { margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-2); }
.mk-result-fresh[b-jw1h1y6c5n] { color: var(--mk-warn); }
.mk-result-actions[b-jw1h1y6c5n] { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

.mk-btn[b-jw1h1y6c5n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-jw1h1y6c5n] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-jw1h1y6c5n] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-jw1h1y6c5n] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-jw1h1y6c5n] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-jw1h1y6c5n] { border-style: dashed; }
.mk-btn.cta[b-jw1h1y6c5n] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-jw1h1y6c5n] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-jw1h1y6c5n] { padding: 0; width: var(--mk-tap); }

@media (max-width: 767px) {
    .mk-result[b-jw1h1y6c5n] { grid-template-columns: auto minmax(0, 1fr); }
    .mk-result-actions[b-jw1h1y6c5n] { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-btn[b-jw1h1y6c5n] { transition: none; }
}

@media (forced-colors: active) {
    .mk-result[b-jw1h1y6c5n] { border: 2px solid CanvasText; } .mk-btn[b-jw1h1y6c5n] { border: 1px solid ButtonText; } .mk-btn.cta[b-jw1h1y6c5n] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkRow.razor.rz.scp.css */
/* One stock row. */
.mk-row[b-8i7son94jt] {
    --rar: var(--color-rarity-common);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-height: var(--mk-row-h);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid transparent;
    border-left: 3px solid var(--rar);
    background: var(--mk-well);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rar-common[b-8i7son94jt] { --rar: var(--color-rarity-common); }
.rar-uncommon[b-8i7son94jt] { --rar: var(--color-rarity-uncommon); }
.rar-rare[b-8i7son94jt] { --rar: var(--color-rarity-rare); }
.rar-epic[b-8i7son94jt] { --rar: var(--color-rarity-epic); }
.rar-legendary[b-8i7son94jt] { --rar: var(--color-rarity-legendary); }
.mk-rar[b-8i7son94jt] { font-weight: 700; color: color-mix(in srgb, var(--rar) 70%, var(--color-text-primary)); }

.mk-row.is-focused[b-8i7son94jt] { border-color: var(--mk-line-gold-strong); background: var(--mk-sel); }
.mk-row.is-locked[b-8i7son94jt] { opacity: 0.85; }
.mk-row[b-8i7son94jt]  .mk-row-icon { font-size: calc(var(--gt-px) * 22); color: var(--rar); }
.mk-row-main[b-8i7son94jt] { display: grid; gap: 2px; min-width: 0; }
.mk-row-head[b-8i7son94jt] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; }

.mk-row-name[b-8i7son94jt] {
    padding: 0;
    border: 0;
    background: none;
    color: var(--mk-cream);
    font: 700 var(--gt-base) / 1.3 var(--font-primary);
    text-align: left;
    cursor: pointer;
}

.mk-row-name:hover[b-8i7son94jt] { text-decoration: underline; }
.mk-row-name:focus-visible[b-8i7son94jt] { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }
.mk-owned[b-8i7son94jt] { display: inline-flex; align-items: center; gap: 4px; font: 600 var(--gt-sm) / 1 var(--font-primary); color: var(--mk-info); }
.mk-row-detail[b-8i7son94jt] { margin: 0; font: 500 calc(var(--gt-px) * 12.5) / 1.35 var(--font-primary); color: var(--fd-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-level[b-8i7son94jt] { color: var(--fd-text-4); }
.mk-row-price[b-8i7son94jt] { display: grid; justify-items: end; gap: 4px; }
.mk-afford[b-8i7son94jt] { display: inline-flex; align-items: center; gap: 4px; font: 600 var(--gt-sm) / 1.2 var(--font-primary); color: var(--fd-text-4); white-space: nowrap; }
.tone-bad[b-8i7son94jt] { color: var(--mk-short); }
.tone-locked[b-8i7son94jt] { color: var(--fd-text-3); }

.mk-btn[b-8i7son94jt] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-8i7son94jt] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-8i7son94jt] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-8i7son94jt] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-8i7son94jt] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-8i7son94jt] { border-style: dashed; }
.mk-btn.cta[b-8i7son94jt] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-8i7son94jt] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-8i7son94jt] { padding: 0; width: var(--mk-tap); }

@media (max-width: 767px) {
    .mk-row[b-8i7son94jt] { grid-template-columns: auto minmax(0, 1fr) auto; }
    .mk-row-price[b-8i7son94jt] { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; }
    .mk-row-buy[b-8i7son94jt] { grid-column: 3; grid-row: 1 / span 2; }
    .mk-row-detail[b-8i7son94jt] { white-space: normal; }
}

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

@media (forced-colors: active) {
    .mk-row.is-focused[b-8i7son94jt] { outline: 2px solid Highlight; } .mk-btn[b-8i7son94jt] { border: 1px solid ButtonText; } .mk-btn.cta[b-8i7son94jt] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkSkeleton.razor.rz.scp.css */
/* A skeleton. */
.mk-skel[b-79xsb3tsxu] { display: grid; gap: 8px; width: 100%; }
.mk-skel.inline[b-79xsb3tsxu] { display: inline-grid; width: 120px; }
.mk-skel-bar[b-79xsb3tsxu] { display: block; height: var(--mk-row-h); border-radius: 10px; background: var(--mk-skel); animation: mk-pulse-b-79xsb3tsxu 1.4s ease-in-out infinite; }
.inline .mk-skel-bar[b-79xsb3tsxu] { height: 20px; }

@keyframes mk-pulse-b-79xsb3tsxu {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-skel-bar[b-79xsb3tsxu] { animation: none; }
}

@media (forced-colors: active) {
    .mk-skel-bar[b-79xsb3tsxu] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkStepper.razor.rz.scp.css */
/* A stepper. */
.mk-qty[b-j7t8771mjn] { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--mk-line-2); border-radius: 10px; padding: 2px; }

.mk-qty button[b-j7t8771mjn] {
    display: grid;
    place-items: center;
    width: var(--mk-tap);
    height: var(--mk-tap);
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--fd-text);
    cursor: pointer;
}

.mk-qty button:disabled[b-j7t8771mjn] { opacity: 0.4; cursor: not-allowed; }
.mk-qty button:focus-visible[b-j7t8771mjn], .mk-qty input:focus-visible[b-j7t8771mjn] { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.mk-qty input[b-j7t8771mjn] { width: 3ch; border: 0; background: none; color: var(--mk-cream); font: 700 var(--gt-base) / 1 var(--font-primary); text-align: center; -moz-appearance: textfield; }
.mk-qty input[b-j7t8771mjn]::-webkit-outer-spin-button, .mk-qty input[b-j7t8771mjn]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mk-qty-of[b-j7t8771mjn] { font: 600 var(--gt-sm) / 1 var(--font-primary); color: var(--fd-text-4); padding-right: 4px; }

@media (forced-colors: active) {
    .mk-qty[b-j7t8771mjn] { border: 1px solid ButtonText; }
}
/* /Components/Market/MkStock.razor.rz.scp.css */
/* The stock list and its bands. */
.mk-stock[b-93c0im5jsj] { display: grid; gap: 10px; min-width: 0; }
.mk-list[b-93c0im5jsj] { display: grid; gap: 14px; }
.mk-band[b-93c0im5jsj] { display: grid; gap: 6px; }
.mk-band-title[b-93c0im5jsj] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.mk-band-name[b-93c0im5jsj] { font: 700 var(--gt-base) / 1.2 var(--font-primary); color: var(--mk-cream); }
.mk-band-explainer[b-93c0im5jsj] { font: 500 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--fd-text-3); }
.mk-band-rows[b-93c0im5jsj] { display: grid; gap: 6px; }
.mk-hidden[b-93c0im5jsj] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }

.mk-link[b-93c0im5jsj] {
    min-height: var(--mk-tap);
    padding: 0 6px;
    border: 0;
    background: none;
    color: var(--mk-gold-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: underline;
    cursor: pointer;
}

.mk-link:focus-visible[b-93c0im5jsj] { outline: 2px solid var(--color-primary); outline-offset: 2px; }

@media (forced-colors: active) {
    .mk-link[b-93c0im5jsj] { color: LinkText; }
}
/* /Components/Market/MkSweep.razor.rz.scp.css */
/* The sweep. */
.mk-sweep[b-vfbhv8tv9u] { display: grid; gap: 14px; min-width: 0; }

.mk-pick[b-vfbhv8tv9u] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--mk-line-gold);
    background: var(--mk-sel);
}

.mk-pick[b-vfbhv8tv9u]  .mk-pick-icon { font-size: calc(var(--gt-px) * 26); color: var(--mk-gold-text); }
.mk-pick-words[b-vfbhv8tv9u] { display: grid; gap: 4px; }
.mk-pick-title[b-vfbhv8tv9u] { margin: 0; font: 700 calc(var(--gt-px) * 15) / 1.3 var(--font-primary); color: var(--mk-cream); }
.mk-pick-body[b-vfbhv8tv9u] { margin: 0; font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-worn[b-vfbhv8tv9u] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-worn-link[b-vfbhv8tv9u] { color: var(--mk-gold-text); font-weight: 700; }

.mk-btn[b-vfbhv8tv9u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-vfbhv8tv9u] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-vfbhv8tv9u] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-vfbhv8tv9u] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-vfbhv8tv9u] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-vfbhv8tv9u] { border-style: dashed; }
.mk-btn.cta[b-vfbhv8tv9u] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-vfbhv8tv9u] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-vfbhv8tv9u] { padding: 0; width: var(--mk-tap); }

@media (max-width: 767px) {
    .mk-pick[b-vfbhv8tv9u] { grid-template-columns: auto minmax(0, 1fr); }
    .mk-pick .mk-btn[b-vfbhv8tv9u] { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-btn[b-vfbhv8tv9u] { transition: none; }
}

@media (forced-colors: active) {
    .mk-pick[b-vfbhv8tv9u] { border: 1px solid CanvasText; } .mk-btn[b-vfbhv8tv9u] { border: 1px solid ButtonText; } .mk-btn.cta[b-vfbhv8tv9u] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkSymbol.razor.rz.scp.css */
/* A Material Symbol (Outlined, loaded by the Market page only). */
.mk-ms[b-wntwckct0j] {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: var(--gt-xl);
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    flex: none;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

@media (forced-colors: active) {
    .mk-ms[b-wntwckct0j] { forced-color-adjust: auto; }
}
/* /Components/Market/MkTraining.razor.rz.scp.css */
/* Your training. */
.mk-training[b-qumqxa9ztt] { display: grid; gap: 10px; max-width: 760px; }
.mk-training-title[b-qumqxa9ztt] { margin: 0; font: 700 var(--gt-2xl) / 1.2 var(--fd-font-display); color: var(--mk-cream); }
.mk-training-sub[b-qumqxa9ztt] { margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-training-rows[b-qumqxa9ztt] { display: grid; gap: 6px; margin: 0; }
.mk-training-row[b-qumqxa9ztt] { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--mk-line); background: var(--mk-well); }
.mk-training-row dt[b-qumqxa9ztt], .mk-training-row dd[b-qumqxa9ztt] { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 calc(var(--gt-px) * 13.5) / 1.35 var(--font-primary); }
.mk-training-row dt[b-qumqxa9ztt] { color: var(--fd-text-3); }
.mk-training-row dd[b-qumqxa9ztt] { color: var(--fd-text); }
.is-yes dd[b-qumqxa9ztt] { color: var(--mk-sale); }
.is-no dd[b-qumqxa9ztt] { color: var(--fd-text-3); }

@media (max-width: 767px) {
    .mk-training-row[b-qumqxa9ztt] { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (forced-colors: active) {
    .mk-training-row[b-qumqxa9ztt] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkTray.razor.rz.scp.css */
/* Your sale: 360px beside the sweep from 768, a sticky footer bar below. */
.mk-tray[b-6ptd8fzf4i] {
    position: sticky;
    top: calc(var(--frame-top, 64px) + 12px);
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--mk-line-gold);
    background: var(--mk-surface);
}

.mk-tray.empty[b-6ptd8fzf4i] { border-color: var(--mk-line); }
.mk-tray-title[b-6ptd8fzf4i] { margin: 0; font: 700 var(--gt-lg) / 1.2 var(--font-primary); color: var(--mk-cream); }
.mk-tray-empty[b-6ptd8fzf4i] { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 var(--gt-md) / 1.4 var(--font-primary); color: var(--fd-text-3); }
.mk-tray-count[b-6ptd8fzf4i] { margin: 0; font: 600 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--fd-text-3); }
.mk-tray-lines[b-6ptd8fzf4i] { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mk-tray-lines li[b-6ptd8fzf4i] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; font: 600 var(--gt-md) / 1.3 var(--font-primary); color: var(--fd-text); }
.mk-tray-name[b-6ptd8fzf4i] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-tray-more[b-6ptd8fzf4i] { margin: 0; font: 600 calc(var(--gt-px) * 12.5) / 1.3 var(--font-primary); color: var(--fd-text-3); }
.mk-tray-flag[b-6ptd8fzf4i], .mk-tray-refusal[b-6ptd8fzf4i] { display: flex; gap: 6px; margin: 0; font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary); color: var(--mk-warn); }
.mk-tray-refusal[b-6ptd8fzf4i] { color: var(--mk-short); }
.mk-sum[b-6ptd8fzf4i] { display: grid; gap: 6px; margin: 0; padding-top: 8px; border-top: 1px solid var(--mk-line); }
.mk-sum > div[b-6ptd8fzf4i] { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-sum dt[b-6ptd8fzf4i] { font: 600 calc(var(--gt-px) * 12.5) / 1 var(--font-primary); color: var(--fd-text-3); }
.mk-sum dd[b-6ptd8fzf4i] { margin: 0; }
.mk-tray-actions[b-6ptd8fzf4i] { display: flex; justify-content: space-between; gap: 8px; }
.mk-tray-actions .cta[b-6ptd8fzf4i] { flex: 1; }

.mk-btn[b-6ptd8fzf4i] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-2);
    background: var(--mk-well);
    color: var(--fd-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mk-btn:hover:not(:disabled)[b-6ptd8fzf4i] { border-color: var(--mk-line-gold-strong); }
.mk-btn:disabled[b-6ptd8fzf4i] { opacity: 0.55; cursor: not-allowed; }
.mk-btn:focus-visible[b-6ptd8fzf4i] { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.mk-btn.ghost-gold[b-6ptd8fzf4i] { border-color: var(--mk-line-gold-strong); background: var(--mk-ghost-gold); color: var(--mk-gold-text); }
.mk-btn.ghost-gold:disabled[b-6ptd8fzf4i] { border-style: dashed; }
.mk-btn.cta[b-6ptd8fzf4i] { border-color: transparent; background: var(--mk-gold-grad); color: var(--mk-on-gold); font-weight: 800; }
.mk-btn.quiet[b-6ptd8fzf4i] { border-color: transparent; background: none; color: var(--fd-text-3); }
.mk-btn.icon[b-6ptd8fzf4i] { padding: 0; width: var(--mk-tap); }

@media (max-width: 959px) {
    .mk-tray[b-6ptd8fzf4i] { top: auto; bottom: calc(var(--frame-bottom, 0px) + 8px); box-shadow: var(--shadow-md); }
    .mk-tray-lines[b-6ptd8fzf4i], .mk-tray-more[b-6ptd8fzf4i] { display: none; }
}

@media (max-width: 767px) {
    .mk-tray[b-6ptd8fzf4i] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-btn[b-6ptd8fzf4i] { transition: none; }
}

@media (forced-colors: active) {
    .mk-tray[b-6ptd8fzf4i] { border: 1px solid CanvasText; } .mk-btn[b-6ptd8fzf4i] { border: 1px solid ButtonText; } .mk-btn.cta[b-6ptd8fzf4i] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkVerdict.razor.rz.scp.css */
/* A verdict chip: the words carry it, the ink only helps. */
.mk-verdict[b-2roqr9ppk5] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--mk-line-2);
    font: 700 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
    white-space: nowrap;
}

.mk-verdict[b-2roqr9ppk5]  .mk-ms { font-size: calc(var(--gt-px) * 15); }
.tone-good[b-2roqr9ppk5] { color: var(--mk-sale); border-color: var(--mk-good-line); background: var(--mk-good-fill); }
.tone-bad[b-2roqr9ppk5] { color: var(--mk-short); border-color: var(--mk-bad-line); background: var(--mk-bad-fill); }
.tone-warn[b-2roqr9ppk5] { color: var(--mk-warn); border-color: var(--mk-line-gold); }
.tone-info[b-2roqr9ppk5] { color: var(--mk-info); border-color: var(--mk-info-line); background: var(--mk-info-fill); }
.tone-locked[b-2roqr9ppk5] { color: var(--fd-text-3); border-style: dashed; }

@media (forced-colors: active) {
    .mk-verdict[b-2roqr9ppk5] { border: 1px solid CanvasText; }
}
/* /Components/Market/MkViewTabs.razor.rz.scp.css */
/* The view tabs: a quiet segmented row, the selected tab gold-ringed (never solid gold). */
.mk-tabs[b-5c25yhe2aw] {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid var(--mk-line);
    background: var(--mk-well);
}

.mk-tab[b-5c25yhe2aw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--mk-tap);
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: none;
    color: var(--fd-text-3);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.mk-tab:hover[b-5c25yhe2aw] { color: var(--fd-text); }

.mk-tab.is-on[b-5c25yhe2aw] {
    color: var(--mk-cream);
    border-color: var(--mk-line-gold-strong);
    background: var(--mk-sel);
}

.mk-tab:focus-visible[b-5c25yhe2aw] { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.mk-tab-count[b-5c25yhe2aw] {
    min-width: 1.91em;
    padding: 2px 6px;
    border-radius: 999px;
    background: var(--mk-line-2);
    color: var(--fd-text);
    font-size: var(--gt-sm);
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .mk-tab[b-5c25yhe2aw] { transition: none; }
}

@media (forced-colors: active) {
    .mk-tab.is-on[b-5c25yhe2aw] { outline: 2px solid Highlight; }
}
/* /Components/Market/MkVoice.razor.rz.scp.css */
/* The keeper's voice: the front door's serif, italic, on his small bust. */
.mk-voice[b-6ku85nfooo] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    min-width: 0;
}

.mk-bust[b-6ku85nfooo] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--mk-line-gold-strong);
    object-fit: cover;
    flex: none;
}

.mk-voice-line[b-6ku85nfooo] {
    font: italic 400 calc(var(--gt-px) * 15) / 1.35 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.sm .mk-bust[b-6ku85nfooo] { width: 32px; height: 32px; }
.sm .mk-voice-line[b-6ku85nfooo] { font-size: var(--gt-base); }

@media (forced-colors: active) {
    .mk-bust[b-6ku85nfooo] { border-color: CanvasText; }
}
/* /Components/Moderation/ReportSheet.razor.rz.scp.css */
/* The report sheet (Docs/LRPG_MODERATION.md; boards A/B-Moderation): inside the hall's modal frame, in the SOCIAL
   block's moderation red. Tokens only, canonical breakpoints only, 44px targets on touch, no glyph in content. */

.rs[b-te28otfo9u] {
    display: grid;
    gap: var(--space-md);
}

.rs-head[b-te28otfo9u] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.rs-flag[b-te28otfo9u] {
    color: var(--sc-mod);
    font-size: calc(var(--gt-px) * 22.5);
}

.rs-title[b-te28otfo9u] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.3 var(--font-display);
    color: var(--color-text-primary);
}

.rs-privacy[b-te28otfo9u],
.rs-line[b-te28otfo9u],
.rs-snapshot[b-te28otfo9u],
.rs-count[b-te28otfo9u] {
    margin: 0;
    font-size: var(--gt-sm);
    line-height: 1.45;
    color: var(--color-text-secondary);
}

.rs-snapshot[b-te28otfo9u] {
    display: flex;
    gap: var(--space-xs);
    align-items: flex-start;
}

.rs-snapshot .material-icons[b-te28otfo9u] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--sc-mod-ink);
}

.rs-count[b-te28otfo9u] {
    text-align: right;
    margin-top: calc(-1 * var(--space-sm));
}

.rs-quote[b-te28otfo9u] {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-left: 3px solid var(--sc-mod-line);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.rs-quote-name[b-te28otfo9u] {
    font-weight: 700;
    font-size: var(--gt-sm);
    color: var(--color-text-primary);
}

.rs-quote-text[b-te28otfo9u] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    overflow-wrap: anywhere;
}

.rs-reasons[b-te28otfo9u] {
    display: grid;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
    border: 0;
}

.rs-legend[b-te28otfo9u] {
    padding: 0;
    margin-bottom: var(--space-xs);
    font-weight: 700;
    font-size: var(--gt-sm);
    color: var(--color-text-primary);
}

.rs-reason[b-te28otfo9u] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 36px;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    font-size: var(--gt-sm);
    color: var(--color-text-primary);
    cursor: pointer;
}

.rs-reason.is-urgent[b-te28otfo9u] {
    border-style: dashed;
}

.rs-reason.is-chosen[b-te28otfo9u] {
    border-color: var(--sc-mod-line);
    background: var(--sc-mod-soft);
}

.rs-reason input[b-te28otfo9u],
.rs-tick input[b-te28otfo9u] {
    accent-color: var(--sc-mod);
    width: 18px;
    height: 18px;
    margin: 0;
    flex: none;
}

.rs-note-label[b-te28otfo9u] {
    font-size: var(--gt-sm);
    font-weight: 600;
    color: var(--color-text-primary);
}

.rs-note[b-te28otfo9u] {
    width: 100%;
    min-height: 56px;
    padding: var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--gt-sm);
    resize: vertical;
}

.rs-tick[b-te28otfo9u] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.rs-tick-text[b-te28otfo9u] {
    display: grid;
    gap: 2px;
}

.rs-tick-label[b-te28otfo9u] {
    font-size: var(--gt-sm);
    font-weight: 600;
    color: var(--color-text-primary);
}

.rs-tick-hint[b-te28otfo9u] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.rs-error[b-te28otfo9u] {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--sc-mod-soft);
    color: var(--sc-mod-ink);
    font-size: var(--gt-sm);
}

.rs-result[b-te28otfo9u] {
    display: grid;
    gap: var(--space-sm);
}

.rs-thanks[b-te28otfo9u] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    font-weight: 700;
    color: var(--color-text-primary);
}

.rs-thanks .material-icons[b-te28otfo9u] {
    color: var(--color-success-light);
}

.rs-actions[b-te28otfo9u] {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.rs-btn[b-te28otfo9u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 36px;
    padding: 0 var(--space-lg);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.rs-btn .material-icons[b-te28otfo9u] {
    font-size: calc(var(--gt-px) * 17);
}

.rs-btn--primary[b-te28otfo9u] {
    border-color: var(--sc-mod-line);
    background: var(--sc-mod-soft);
    color: var(--sc-mod-ink);
}

.rs-btn:disabled[b-te28otfo9u] {
    opacity: 0.55;
    cursor: not-allowed;
}

.rs-btn:focus-visible[b-te28otfo9u],
.rs-reason:focus-within[b-te28otfo9u],
.rs-tick:focus-within[b-te28otfo9u],
.rs-note:focus-visible[b-te28otfo9u] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .rs-reason[b-te28otfo9u],
    .rs-btn[b-te28otfo9u] {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .rs-actions[b-te28otfo9u] {
        justify-content: stretch;
    }

    .rs-btn[b-te28otfo9u] {
        flex: 1 1 auto;
    }
}

@media (forced-colors: active) {
    .rs-reason.is-chosen[b-te28otfo9u],
    .rs-btn--primary[b-te28otfo9u] {
        border-color: Highlight;
    }
}
/* /Components/Pages/About/AboutPage.razor.rz.scp.css */
/* /about, on the front-door kit. Tokens only; canonical breakpoints only. */

/* ---------- Hero ---------- */

.ab[b-uxyzxilqjq]  .ab-hero {
    min-height: min(460px, 70svh);
}

.ab-hero__copy[b-uxyzxilqjq] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 820px;
    padding-top: 32px;
    padding-bottom: 48px;
}

.ab-lead[b-uxyzxilqjq] {
    color: var(--fd-text-2);
}

/* ---------- Sections ---------- */

.ab-prose[b-uxyzxilqjq] {
    max-width: var(--fd-prose-max);
    margin-top: 16px;
}

.ab-cards[b-uxyzxilqjq],
.ab-checks[b-uxyzxilqjq] {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ab-card[b-uxyzxilqjq],
.ab-check[b-uxyzxilqjq] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.ab-card__title[b-uxyzxilqjq],
.ab-check__title[b-uxyzxilqjq] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.ab[b-uxyzxilqjq]  .ab-card__icon,
.ab[b-uxyzxilqjq]  .ab-check__icon {
    color: var(--fd-gold);
}

.ab-card__text[b-uxyzxilqjq],
.ab-check__text[b-uxyzxilqjq] {
    margin: 0;
    color: var(--fd-text-3);
}

/* Long addresses wrap rather than push the card wider than a phone. */
.ab-card__mail[b-uxyzxilqjq] {
    margin-top: auto;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ab-check__text[b-uxyzxilqjq] {
    overflow-wrap: anywhere;
}

/* Inline, not flex: flex gaps would split the trailing period from the link. */
.ab-discord[b-uxyzxilqjq] {
    margin: 20px 0 0;
    color: var(--fd-text-3);
}

.ab[b-uxyzxilqjq]  .ab-discord__icon {
    margin-right: 6px;
    vertical-align: middle;
    color: var(--fd-gold);
}

.ab-check[b-uxyzxilqjq] {
    padding: 18px 20px;
    border-radius: 14px;
}

.ab-next[b-uxyzxilqjq] {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .ab-hero__copy[b-uxyzxilqjq] {
        padding-top: 20px;
        padding-bottom: 32px;
    }
}
/* /Components/Pages/AccessDenied.razor.rz.scp.css */
/* /access-denied (A-Errors-1366 / -390): the copy and the shut door. Tokens only; canonical breakpoints only. */

.ad-lead[b-lgj8zb6v3a] {
    color: var(--fd-text-2);
}

.ad-blocked[b-lgj8zb6v3a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--fd-text-4);
}

.ad-path[b-lgj8zb6v3a] {
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 40%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 30%, transparent);
    font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--fd-gold-soft);
    word-break: break-all;
}

.ad-acts[b-lgj8zb6v3a] {
    margin-top: 6px;
}

.ad-btn[b-lgj8zb6v3a] {
    min-width: 178px;
    gap: 10px;
}

/* The shut door: planks, two iron bands, the gold lock, a threshold. Decoration only (aria-hidden). */
.ad-door[b-lgj8zb6v3a] {
    position: relative;
    width: min(300px, 100%);
    aspect-ratio: 300 / 430;
    margin: 0 auto;
    border: 3px solid var(--fd-gold-dark);
    border-bottom: none;
    border-radius: var(--fd-r-arch);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background:
        repeating-linear-gradient(90deg,
            transparent 0,
            transparent 18%,
            color-mix(in srgb, var(--fd-shadow-ink) 45%, transparent) 18%,
            color-mix(in srgb, var(--fd-shadow-ink) 45%, transparent) calc(18% + 2px)),
        linear-gradient(180deg,
            color-mix(in srgb, var(--fd-ember) 30%, var(--fd-night)),
            color-mix(in srgb, var(--fd-ember) 20%, var(--fd-night)));
    box-shadow:
        0 0 0 10px color-mix(in srgb, var(--fd-night) 55%, transparent),
        0 0 60px color-mix(in srgb, var(--fd-gold) 18%, transparent);
}

.ad-door[b-lgj8zb6v3a]::after {
    content: "";
    position: absolute;
    left: -24px;
    right: -24px;
    bottom: -8px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--fd-gold-dark), var(--fd-gold-darker));
}

.ad-door__band[b-lgj8zb6v3a] {
    position: absolute;
    left: 0;
    right: 0;
    height: 16px;
    background: linear-gradient(180deg, var(--fd-text-5), var(--fd-slate));
    box-shadow: 0 2px 6px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent);
}

.ad-door__band--top[b-lgj8zb6v3a] {
    top: 22%;
}

.ad-door__band--bottom[b-lgj8zb6v3a] {
    bottom: 20%;
}

.ad-door__lock[b-lgj8zb6v3a] {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 62px;
    height: 70px;
    transform: translate(-50%, -50%);
}

.ad-door__lock[b-lgj8zb6v3a]  .material-icons {
    font-size: 28px;
}

@media (max-width: 1024px) {
    .ad-door[b-lgj8zb6v3a] {
        width: min(240px, 70%);
    }
}

@media (max-width: 768px) {
    .ad-acts[b-lgj8zb6v3a],
    .ad-btn[b-lgj8zb6v3a] {
        width: 100%;
    }

    .ad-door[b-lgj8zb6v3a] {
        width: 150px;
        margin: 0 0 0 auto;
    }

    .ad-door__lock[b-lgj8zb6v3a] {
        width: 44px;
        height: 50px;
    }

    .ad-door__lock[b-lgj8zb6v3a]  .material-icons {
        font-size: 20px;
    }
}
/* /Components/Pages/Account/CharacterSheet.razor.rz.scp.css */
/* CharacterSheet: the page shell (Docs/LRPG_CHARACTER_SHEET.md section 3; owner WP-W1).
   The page's own tokens (--sheet-*) are set here and read by every section component (custom properties inherit), and
   the shared pieces (headings, buttons, chips, the gold note, the hex) are styled here once for the whole sheet with
   ::deep. The grid per tier:
     1281 and up   Gear | Combat (+ companion) | Pack (Compare replaces it), widths that grow from 470 | 330 at 1366 to
                   560 | 420 at 1920 (A-1366, A-1920), content capped at 1680; then Abilities; then Features | Story.
     1025 to 1280  the same three columns at 440 | 1fr | 300 (A-1280, the 720 floor).
     769 to 1024   two columns: Gear then Pack | Combat then Abilities (A-1024).
     481 to 768    one column with the segmented control under the band; every section shows (A-768).
     480 and down  one column; the segmented control is tabs and shows one tab's sections (A-390).
   The gutter reads min(100vw, 1920px), like the tavern's (MainLayout's container stops at 1920px; a gutter from raw
   100vw shrank the forge on wider monitors). Design-system tokens only, canonical breakpoints only (480 / 768 / 960 /
   1024 / 1280), a prefers-reduced-motion block for any animation or transition, no content: glyphs. */

.sheet-page[b-nclome5jxu] {
    --sheet-content-max: 1680px;
    --sheet-gutter: max(48px, calc((min(100vw, 1920px) - 1680px) / 2));
    --sheet-gap: 22px;
    --sheet-gear-w: clamp(440px, calc(0.1625 * min(100vw, 1920px) + 248px), 560px);
    --sheet-pack-w: clamp(300px, calc(0.1625 * min(100vw, 1920px) + 108px), 420px);

    --sheet-surface: color-mix(in srgb, var(--color-bg-elevated-alt) 55%, transparent);
    --sheet-card: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-elevated) 80%, transparent), color-mix(in srgb, var(--color-bg-elevated-alt) 95%, transparent));
    --sheet-line: color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    --sheet-line-strong: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    --sheet-gold-line: color-mix(in srgb, var(--color-primary) 45%, transparent);
    --sheet-gold-tint: color-mix(in srgb, var(--color-primary) 8%, transparent);
    --sheet-gold-text: var(--color-primary-light);
    --sheet-eyebrow: color-mix(in srgb, var(--color-primary) 78%, var(--color-text-secondary));
    --sheet-cream: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    --sheet-good-bg: color-mix(in srgb, var(--color-success-dark) 42%, transparent);
    --sheet-good-line: color-mix(in srgb, var(--color-success-light) 55%, transparent);
    --sheet-good-text: var(--color-success-lighter);
    --sheet-warn-bg: color-mix(in srgb, var(--color-warning-dark) 32%, transparent);
    --sheet-warn-line: color-mix(in srgb, var(--color-warning) 52%, transparent);
    --sheet-warn-text: var(--color-warning-lightest);
    --sheet-bad-bg: color-mix(in srgb, var(--color-danger-dark) 28%, transparent);
    --sheet-bad-line: color-mix(in srgb, var(--color-danger-light) 45%, transparent);
    --sheet-bad-text: var(--color-danger-lightest);

    box-sizing: border-box;
    width: 100%;
    margin-inline: auto;
    padding: 0 calc(var(--sheet-gutter) - 16px) 48px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    line-height: 1.45;
}

.sheet-page *[b-nclome5jxu],
.sheet-page[b-nclome5jxu]  * {
    box-sizing: border-box;
}

/* ---- Crumbs: back, the section pills, the hall ---- */

/* Three columns, so the section pills hold the row's centre and "Hall of Heroes" its right edge whichever crumbs show
   (A-1366: the active hero's sheet has no way back since the in-game menu's Q3 a; the view-only sheet's way back to the
   hall holds the left). The pills leave the row at 768 and below; the crumbs keep their columns. */
.sheet-crumbs[b-nclome5jxu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
    min-height: 44px;
}

.sheet-crumb--back[b-nclome5jxu] {
    grid-column: 1;
    justify-self: start;
}

.sheet-crumbs[b-nclome5jxu]  .sheet-nav {
    grid-column: 2;
}

.sheet-crumb--hall[b-nclome5jxu] {
    grid-column: 3;
    justify-self: end;
}

.sheet-crumb[b-nclome5jxu] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    color: var(--sheet-eyebrow);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.sheet-crumb:hover[b-nclome5jxu] {
    color: var(--sheet-gold-text);
}

.sheet-crumb:focus-visible[b-nclome5jxu] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-crumb[b-nclome5jxu]  .mud-icon-root {
    font-size: var(--gt-xl);
}

.sheet-crumb-short[b-nclome5jxu] {
    display: none;
}

/* ---- The main grid ---- */

.sheet-body[b-nclome5jxu] {
    display: grid;
    grid-template-columns: var(--sheet-gear-w) minmax(0, 1fr) var(--sheet-pack-w);
    grid-template-areas:
        "gear combat pack"
        "abilities abilities abilities"
        "lower lower lower";
    gap: 28px var(--sheet-gap);
    align-items: start;
    margin-top: 4px;
}

.sheet-area[b-nclome5jxu] {
    min-width: 0;
    scroll-margin-top: 80px;
}

.sheet-area--gear[b-nclome5jxu] { grid-area: gear; }
.sheet-area--combat[b-nclome5jxu] { grid-area: combat; display: flex; flex-direction: column; gap: 16px; }
.sheet-area--pack[b-nclome5jxu] { grid-area: pack; }
.sheet-area--abilities[b-nclome5jxu] { grid-area: abilities; }

.sheet-lower[b-nclome5jxu] {
    grid-area: lower;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 28px var(--sheet-gap);
    align-items: start;
}

.sheet-sr-only[b-nclome5jxu] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* The segmented control shows only at 768 and down. */
.sheet-page[b-nclome5jxu]  .sheet-tabs {
    display: none;
}

/* ---- Shared pieces, styled once for every section (::deep) ----
   Each sits inside :where(), so it weighs only the page's scope attribute: a component's own rule (one class plus its
   scope) always wins over it, without !important. Icon sizes keep one class more, so they beat MudBlazor's size class. */

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-sr-only) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-section-head) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 16px;
    min-width: 0;
    /* Every head as tall as one with a link (32px; 44px on touch), so headings side by side line up. */
    min-height: 32px;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-heading) {
    flex: 1 0 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-heading)::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-section-note) {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-subheading) {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-link) {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 2.46em;
    padding: 0;
    border: none;
    background: none;
    color: var(--sheet-eyebrow);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-link:hover) {
    color: var(--sheet-gold-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-link) .mud-icon-root {
    font-size: calc(var(--gt-px) * 17);
}

/* Buttons: quiet by default; primary is the gold gradient; outline-gold for Drink and Take off. */
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 65%, transparent);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--gt-base);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button) .mud-icon-root {
    font-size: calc(var(--gt-px) * 19);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button--sm) {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: var(--gt-md);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button--sm) .mud-icon-root {
    font-size: calc(var(--gt-px) * 17);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button--primary) {
    border-color: transparent;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
    color: var(--color-bg-base);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button--outline-gold) {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: var(--sheet-gold-tint);
    color: var(--sheet-gold-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button:hover:not(:disabled)) {
    border-color: var(--sheet-gold-line);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button:disabled) {
    opacity: 0.55;
    box-shadow: none;
    cursor: not-allowed;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button:focus-visible),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-link:focus-visible),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-icon-button:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-icon-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-icon-button:hover) {
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

/* Chips and badges. */
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 2.33em;
    padding: 0 10px;
    border: 1px solid var(--sheet-line-strong);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 72%, transparent);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--gt-sm);
    font-weight: 600;
    white-space: nowrap;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip) .mud-icon-root {
    font-size: var(--gt-lg);
}

:where(.sheet-page)[b-nclome5jxu]  :where(button.sheet-chip) {
    cursor: pointer;
}

:where(.sheet-page)[b-nclome5jxu]  :where(button.sheet-chip:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--purse) .mud-icon-root {
    color: var(--color-primary);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--view-only),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--points) {
    border-color: var(--sheet-gold-line);
    background: var(--sheet-warn-bg);
    color: var(--sheet-gold-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade) {
    font-weight: 700;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade-a),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade-b) {
    border-color: var(--sheet-good-line);
    background: var(--sheet-good-bg);
    color: var(--sheet-good-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade-c),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade-d) {
    border-color: var(--sheet-warn-line);
    background: var(--sheet-warn-bg);
    color: var(--sheet-warn-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade-e),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-chip--grade-f) {
    border-color: var(--sheet-bad-line);
    background: var(--sheet-bad-bg);
    color: var(--sheet-bad-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge) {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 2.18em;
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: var(--gt-sm);
    font-weight: 700;
    white-space: nowrap;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge) .mud-icon-root {
    font-size: var(--gt-base);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge--upgrade) {
    border-color: var(--sheet-good-line);
    background: var(--sheet-good-bg);
    color: var(--sheet-good-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge--offhand),
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge--tradeoff) {
    border-color: var(--sheet-warn-line);
    background: var(--sheet-warn-bg);
    color: var(--sheet-warn-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge--cannot) {
    border-color: var(--sheet-bad-line);
    background: var(--sheet-bad-bg);
    color: var(--sheet-bad-text);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-badge--worn) {
    border-color: var(--sheet-line-strong);
    background: color-mix(in srgb, var(--color-bg-elevated) 70%, transparent);
    color: var(--color-text-light);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-tag) {
    display: inline-flex;
    align-items: center;
    height: 1.89em;
    padding: 0 7px;
    border: 1px solid var(--sheet-line-strong);
    border-radius: 999px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* The hex tile (the hall's and the comps' language). */
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-hex) {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-hex) .mud-icon-root {
    font-size: calc(var(--gt-px) * 19);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-hex--quiet) {
    background: var(--color-bg-elevated);
    color: var(--sheet-eyebrow);
}

/* The gold note (view only, a party adventure, the points banner) and the info box. */
:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-note) {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-primary-darker) 22%, transparent);
    color: var(--color-warning-lightest);
    font-size: var(--gt-md);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-note) > .mud-icon-root {
    flex: none;
    font-size: calc(var(--gt-px) * 22);
    color: var(--color-primary);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-note) strong {
    color: var(--sheet-cream);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-why) {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 60%, transparent);
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.4;
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-why) > .mud-icon-root {
    flex: none;
    font-size: var(--gt-xl);
    color: var(--sheet-eyebrow);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-why--bad) > .mud-icon-root {
    color: var(--color-danger-light);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-lock-note) {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 60%, transparent);
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
}

:where(.sheet-page)[b-nclome5jxu]  :where(.sheet-lock-note) .mud-icon-root {
    flex: none;
    font-size: var(--gt-xl);
    color: var(--color-primary);
}

/* Rarity: each item sets --sheet-rarity from the design system's rarity tokens. */
.sheet-page[b-nclome5jxu]  .sheet-rarity-common { --sheet-rarity: var(--color-rarity-common); }
.sheet-page[b-nclome5jxu]  .sheet-rarity-uncommon { --sheet-rarity: var(--color-rarity-uncommon); }
.sheet-page[b-nclome5jxu]  .sheet-rarity-rare { --sheet-rarity: var(--color-rarity-rare); }
.sheet-page[b-nclome5jxu]  .sheet-rarity-epic { --sheet-rarity: var(--color-rarity-epic); }
.sheet-page[b-nclome5jxu]  .sheet-rarity-legendary { --sheet-rarity: var(--color-rarity-legendary); }
.sheet-page[b-nclome5jxu]  .sheet-rarity-none { --sheet-rarity: var(--color-text-tertiary); }

/* Touch tiers: every target 44px (the spec's touch bar). */
@media (pointer: coarse) {
    :where(.sheet-page)[b-nclome5jxu]  :where(.sheet-button--sm),
    :where(.sheet-page)[b-nclome5jxu]  :where(.sheet-link),
    :where(.sheet-page)[b-nclome5jxu]  :where(.sheet-icon-button),
    :where(.sheet-page)[b-nclome5jxu]  :where(button.sheet-chip) {
        min-height: 44px;
    }

    :where(.sheet-page)[b-nclome5jxu]  :where(.sheet-icon-button) {
        width: 44px;
        height: 44px;
    }

    :where(.sheet-page)[b-nclome5jxu]  :where(.sheet-section-head) {
        min-height: 44px;
    }
}

/* ---- 1025 to 1280: the 720 floor (A-1280) ---- */

@media (max-width: 1280px) {
    .sheet-page[b-nclome5jxu] {
        --sheet-gutter: 32px;
        --sheet-gap: 18px;
        --sheet-gear-w: 440px;
        --sheet-pack-w: 300px;
        gap: 10px;
    }

    .sheet-crumbs[b-nclome5jxu] {
        min-height: 40px;
    }
}

/* The 720 floor under the world bar: the crumbs, the gaps and the slots give room back, so every gear slot clears
   1280 x 720 (and every slot and the saves 1366 x 768). Before the in-game menu's phase B this squeeze ran under the
   Alpha banner, which every player saw until they dismissed it; the slots' full height never cleared 720 (measured 741
   at 1280 x 720 with no banner), so the bar keeps it. A fine pointer only: the touch tiers keep their 44px targets and
   scroll. The frame prefix keeps the weight the banner prefix had, so the width tiers below do not undo it. */
@media (pointer: fine) {
    .gf-app[data-frame="bar"] .sheet-page[b-nclome5jxu] {
        gap: 8px;
    }

    .gf-app[data-frame="bar"] .sheet-crumbs[b-nclome5jxu],
    .gf-app[data-frame="bar"] .sheet-crumb[b-nclome5jxu] {
        min-height: 36px;
    }

    .gf-app[data-frame="bar"] .sheet-crumbs[b-nclome5jxu]  .sheet-nav-pill {
        min-height: 34px;
    }

    .gf-app[data-frame="bar"] .sheet-page[b-nclome5jxu]  .sheet-slot {
        min-height: 48px;
        padding-block: 4px;
        line-height: 1.25;
    }

    .gf-app[data-frame="bar"] .sheet-page[b-nclome5jxu]  .sheet-gear-group {
        gap: 6px;
    }

    /* From 1281 the band is at its tallest (about 150px against A-1366's 131), and the strip's cards are roomier than
       the 720 floor's: they give some back, so the saves and every slot clear 1366 x 768 too. */
    .gf-app[data-frame="bar"] .sheet-page[b-nclome5jxu]  .sheet-band {
        padding-block: 10px;
    }

    .gf-app[data-frame="bar"] .sheet-page[b-nclome5jxu]  .sheet-boost {
        padding-block: 9px;
    }
}

/* ---- 769 to 1024: two columns (A-1024) ---- */

@media (max-width: 1024px) {
    .sheet-page[b-nclome5jxu] {
        --sheet-gutter: 24px;
        --sheet-gap: 16px;
        gap: 14px;
    }

    .sheet-crumb-full[b-nclome5jxu] {
        display: none;
    }

    .sheet-crumb-short[b-nclome5jxu] {
        display: inline;
    }

    .sheet-body[b-nclome5jxu] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "gear combat"
            "pack combat"
            "pack abilities"
            "lower lower";
        row-gap: 18px;
    }

    .sheet-lower[b-nclome5jxu] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

/* 769 to 1024 with points staged: Abilities takes the full width under Gear, Pack and Combat, so the cards and the
   preview sit side by side (A-Points) instead of stacked in the right column beside an empty left one. :where keeps the
   plain .sheet-body specificity, so the narrower tiers below still set their own areas. */
@media (max-width: 1024px) {
    .sheet-body:where(:has(.sheet-abilities.has-preview))[b-nclome5jxu] {
        grid-template-areas:
            "gear combat"
            "pack combat"
            "abilities abilities"
            "lower lower";
    }
}

/* ---- 481 to 768: one column, the segmented control (A-768) ---- */

@media (max-width: 768px) {
    .sheet-page[b-nclome5jxu] {
        --sheet-gutter: 20px;
        --sheet-gap: 14px;
    }

    .sheet-crumb-full[b-nclome5jxu] {
        display: inline;
    }

    .sheet-crumb-short[b-nclome5jxu] {
        display: none;
    }

    .sheet-crumbs[b-nclome5jxu]  .sheet-nav {
        display: none;
    }

    .sheet-page[b-nclome5jxu]  .sheet-tabs {
        display: grid;
    }

    .sheet-body[b-nclome5jxu] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "gear"
            "pack"
            "combat"
            "abilities"
            "lower";
        row-gap: 24px;
    }

    .sheet-lower[b-nclome5jxu] {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }
}

/* ---- 480 and down: phone tabs (A-390, A-390-Stats, A-390-More) ---- */

@media (max-width: 480px) {
    .sheet-page[b-nclome5jxu] {
        --sheet-gutter: 16px;
        gap: 12px;
        padding-bottom: 24px;
    }

    .sheet-crumbs[b-nclome5jxu] {
        display: none;
    }

    .sheet-body[b-nclome5jxu] {
        grid-template-areas: none;
        row-gap: 18px;
        margin-top: 0;
    }

    .sheet-area--gear[b-nclome5jxu],
    .sheet-area--combat[b-nclome5jxu],
    .sheet-area--pack[b-nclome5jxu],
    .sheet-area--abilities[b-nclome5jxu],
    .sheet-lower[b-nclome5jxu] {
        grid-area: auto;
    }

    /* One tab's sections at a time. */
    .sheet-page--tab-gear .sheet-area--combat[b-nclome5jxu],
    .sheet-page--tab-gear .sheet-area--abilities[b-nclome5jxu],
    .sheet-page--tab-gear .sheet-lower[b-nclome5jxu],
    .sheet-page--tab-stats .sheet-area--gear[b-nclome5jxu],
    .sheet-page--tab-stats .sheet-area--pack[b-nclome5jxu],
    .sheet-page--tab-stats .sheet-lower[b-nclome5jxu],
    .sheet-page--tab-stats .sheet-boosts-slot[b-nclome5jxu],
    .sheet-page--tab-features .sheet-area--gear[b-nclome5jxu],
    .sheet-page--tab-features .sheet-area--pack[b-nclome5jxu],
    .sheet-page--tab-features .sheet-area--combat[b-nclome5jxu],
    .sheet-page--tab-features .sheet-area--abilities[b-nclome5jxu],
    .sheet-page--tab-features .sheet-area--story[b-nclome5jxu],
    .sheet-page--tab-features .sheet-boosts-slot[b-nclome5jxu],
    .sheet-page--tab-story .sheet-area--gear[b-nclome5jxu],
    .sheet-page--tab-story .sheet-area--pack[b-nclome5jxu],
    .sheet-page--tab-story .sheet-area--combat[b-nclome5jxu],
    .sheet-page--tab-story .sheet-area--abilities[b-nclome5jxu],
    .sheet-page--tab-story .sheet-area--features[b-nclome5jxu],
    .sheet-page--tab-story .sheet-boosts-slot[b-nclome5jxu] {
        display: none;
    }
}
/* /Components/Pages/Admin/Broadcasts.razor.rz.scp.css */
/* The admin letters page (Docs/LRPG_LETTERS.md). Tokens only; canonical breakpoints (960 for the two columns). */
.ba[b-xfmi7jxxxq] {
    padding: var(--space-xl);
    color: var(--color-text-primary);
}

.ba-head[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.ba-headtext[b-xfmi7jxxxq] {
    flex: 1 1 320px;
}

.ba-title[b-xfmi7jxxxq] {
    margin: 0;
    font: 700 var(--font-size-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

.ba-sub[b-xfmi7jxxxq],
.ba-note[b-xfmi7jxxxq],
.ba-help[b-xfmi7jxxxq],
.ba-local[b-xfmi7jxxxq],
.ba-meta[b-xfmi7jxxxq],
.ba-count[b-xfmi7jxxxq] {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.ba-today[b-xfmi7jxxxq] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

/* Letters | His inbox (L1b): two links, the current one marked; the inbox's unread replies beside its name */
.ba-tabs[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: 0 0 var(--space-lg);
    border-bottom: 1px solid var(--color-border-base);
}

.ba-tab[b-xfmi7jxxxq] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-bottom: 2px solid transparent;
    color: var(--color-text-lighter);
    font-weight: 600;
    text-decoration: none;
}

.ba-tab[aria-current="page"][b-xfmi7jxxxq] {
    border-bottom-color: var(--color-primary);
    color: var(--color-primary);
}

.ba-tab:focus-visible[b-xfmi7jxxxq] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ba-tabcount[b-xfmi7jxxxq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 var(--space-xs);
    border-radius: var(--radius-2xl);
    background: var(--color-primary-dark);
    color: var(--fd-on-gold);
    font: 700 var(--font-size-xs) / 1 var(--font-primary);
}

.ba-status[b-xfmi7jxxxq] {
    min-height: 1.5em;
    margin: 0 0 var(--space-md);
    color: var(--fd-gold-text);
}

.ba-h2[b-xfmi7jxxxq] {
    margin: 0 0 var(--space-md);
    font: 700 var(--font-size-xl) / 1.25 var(--font-display);
    color: var(--fd-cream-2);
}

.ba-h3[b-xfmi7jxxxq] {
    margin: 0;
    font: 700 var(--font-size-md) / 1.25 var(--font-display);
    color: var(--fd-cream-2);
}

.ba-compose[b-xfmi7jxxxq],
.ba-section[b-xfmi7jxxxq] {
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: var(--color-bg-elevated-alt);
    border: 1px solid var(--color-border-base);
}

.ba-form[b-xfmi7jxxxq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* The form's fields, locked while "Publish?" is open: lays out like the form itself, no frame. */
.ba-lock[b-xfmi7jxxxq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ba-label[b-xfmi7jxxxq] {
    margin: var(--space-md) 0 var(--space-xs);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.ba-input[b-xfmi7jxxxq] {
    min-height: 40px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-hover);
    background: var(--fd-well);
    color: var(--color-text-primary);
    font: inherit;
}

.ba-input:focus-visible[b-xfmi7jxxxq],
.ba-btn:focus-visible[b-xfmi7jxxxq],
.ba-radio input:focus-visible[b-xfmi7jxxxq],
.ba-check input:focus-visible[b-xfmi7jxxxq] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ba-body[b-xfmi7jxxxq] {
    min-height: 220px;
    resize: vertical;
    font-family: var(--font-mono);
    font-size: var(--font-size-base);
}

.ba-level[b-xfmi7jxxxq],
.ba-day[b-xfmi7jxxxq] {
    width: 5.5em;
}

.ba-fieldset[b-xfmi7jxxxq] {
    margin: var(--space-lg) 0 0;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
}

.ba-fieldset legend[b-xfmi7jxxxq] {
    padding: 0 var(--space-xs);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.ba-radios[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.ba-radio[b-xfmi7jxxxq],
.ba-check[b-xfmi7jxxxq],
.ba-inline[b-xfmi7jxxxq] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    min-height: 40px;
    margin-top: var(--space-xs);
}

.ba-problem[b-xfmi7jxxxq] {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-danger-lighter);
}

.ba-estimate[b-xfmi7jxxxq] {
    margin: var(--space-md) 0 0;
    font-weight: 600;
    color: var(--fd-gold-soft);
}

.ba-actions[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.ba-btn[b-xfmi7jxxxq] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 40px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    background: transparent;
    color: var(--color-text-lighter);
    font: 600 var(--font-size-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.ba-btn:disabled[b-xfmi7jxxxq] {
    opacity: 0.5;
    cursor: not-allowed;
}

.ba-btn.gold[b-xfmi7jxxxq] {
    border-color: var(--color-primary-dark);
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--fd-gold-soft);
}

.ba-btn.danger[b-xfmi7jxxxq] {
    border-color: color-mix(in srgb, var(--color-danger) 60%, transparent);
    color: var(--color-danger-lighter);
}

.ba-btn.quiet[b-xfmi7jxxxq] {
    border-color: var(--color-border-subtle);
    color: var(--color-text-light);
}

.ba-btn .material-icons[b-xfmi7jxxxq] {
    font-size: 18px;
}

.ba-confirm[b-xfmi7jxxxq] {
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-primary-dark);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.ba-confirm-q[b-xfmi7jxxxq] {
    margin: 0;
    font-weight: 600;
}

/* A row's withdraw question sits under the row's buttons, the row's whole width. */
.ba-row-confirm[b-xfmi7jxxxq] {
    flex: 1 1 100%;
    margin-top: 0;
}

.ba-denied[b-xfmi7jxxxq] {
    max-width: 40rem;
}

.ba-rows[b-xfmi7jxxxq],
.ba-windows[b-xfmi7jxxxq] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-sm);
}

.ba-row[b-xfmi7jxxxq],
.ba-window[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    background: var(--fd-surface);
}

.ba-window[b-xfmi7jxxxq] {
    align-items: center;
}

.ba-row.is-deleted[b-xfmi7jxxxq] {
    opacity: 0.8;
}

.ba-rowtext[b-xfmi7jxxxq] {
    flex: 1 1 280px;
    min-width: 0;
}

.ba-subject[b-xfmi7jxxxq] {
    margin: 0;
    font: 700 var(--font-size-md) / 1.3 var(--font-display);
    color: var(--color-primary);
    overflow-wrap: anywhere;
}

.ba-rowactions[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ba-chip[b-xfmi7jxxxq] {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-sm);
    font: 700 var(--font-size-xs) / 1 var(--font-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--color-border-hover);
    color: var(--color-text-lighter);
}

.ba-chip.is-live[b-xfmi7jxxxq] {
    border-color: var(--color-success);
    color: var(--color-success-light);
}

.ba-chip.is-scheduled[b-xfmi7jxxxq] {
    border-color: var(--color-info);
    color: var(--color-info-light);
}

.ba-chip.is-withdrawn[b-xfmi7jxxxq],
.ba-chip.is-expired[b-xfmi7jxxxq] {
    color: var(--color-text-light);
}

/* ===== The desk (social build W3, B-Admin-1366 + A-Admin-Broadcasts-1366) ===== */
.ba-counts[b-xfmi7jxxxq] {
    margin: var(--space-xs) 0 0;
    font: 700 var(--font-size-sm) / 1.2 var(--font-primary);
    color: var(--fd-gold-text);
}

.ba-headacts[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ba-new[b-xfmi7jxxxq],
.ba-optional[b-xfmi7jxxxq],
.ba-tag[b-xfmi7jxxxq] {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    margin-left: var(--space-xs);
    padding: 0 6px;
    border-radius: var(--radius-sm);
    font: 700 var(--font-size-xs) / 1 var(--font-primary);
    letter-spacing: 0.06em;
    vertical-align: middle;
    color: var(--color-text-lighter);
    border: 1px solid var(--color-border-hover);
}

.ba-new[b-xfmi7jxxxq] {
    color: var(--fd-gold-soft);
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.ba-h2-count[b-xfmi7jxxxq] {
    margin-left: var(--space-sm);
    font: 600 var(--font-size-sm) / 1 var(--font-primary);
    color: var(--color-text-light);
}

/* Compose in three columns: the letter, its preview, who and when (from 1280; two below, one under 960). */
.ba-compose-grid[b-xfmi7jxxxq] {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 0.9fr);
    gap: var(--space-xl);
    align-items: start;
}

.ba-col[b-xfmi7jxxxq] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
}

.ba-lock-who[b-xfmi7jxxxq] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.ba-col-preview[b-xfmi7jxxxq] {
    position: sticky;
    top: calc(var(--frame-top, 64px) + var(--space-md));
}

.ba-seg[b-xfmi7jxxxq] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.ba-segbtn[b-xfmi7jxxxq] {
    min-height: 36px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-hover);
    background: transparent;
    color: var(--color-text-lighter);
    font: 600 var(--font-size-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.ba-segbtn[aria-pressed="true"][b-xfmi7jxxxq] {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.ba-segbtn:focus-visible[b-xfmi7jxxxq] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ba-frame[b-xfmi7jxxxq] {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border-hover);
    background: var(--color-bg-base);
    overflow: hidden;
}

.ba-frame[hidden][b-xfmi7jxxxq] {
    display: none;
}

.ba-frame-phone[b-xfmi7jxxxq] {
    width: 100%;
    max-width: 390px;
}

.ba-frame-label[b-xfmi7jxxxq] {
    margin: 0 0 var(--space-sm);
    font-size: var(--font-size-xs);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.ba-fixed[b-xfmi7jxxxq] {
    display: flex;
    gap: var(--space-sm);
    margin: 0 0 var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

.ba-check-house .material-icons[b-xfmi7jxxxq] {
    font-size: 18px;
    color: var(--color-info-light);
}

.ba-recency[b-xfmi7jxxxq] {
    margin-top: var(--space-sm);
}

.ba-radios-label[b-xfmi7jxxxq] {
    flex-basis: 100%;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.ba-test[b-xfmi7jxxxq] {
    margin: var(--space-md) 0 0;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border-hover);
}

.ba-btn-sm[b-xfmi7jxxxq] {
    min-height: 36px;
    padding: 0 var(--space-sm);
}

/* The month: a bar per live or scheduled letter, his looks under them (D23). */
.ba-cal-head[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-sm) var(--space-lg);
}

.ba-cal-head .ba-h2[b-xfmi7jxxxq] {
    margin: 0;
}

.ba-cal-nav[b-xfmi7jxxxq] {
    display: flex;
    gap: var(--space-xs);
    margin-left: auto;
}

.ba-cal-warn[b-xfmi7jxxxq] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-sm) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-warning-bright);
}

.ba-cal[b-xfmi7jxxxq] {
    margin-top: var(--space-md);
    overflow-x: auto;
}

.ba-cal-days[b-xfmi7jxxxq],
.ba-cal-bars[b-xfmi7jxxxq] {
    display: grid;
    grid-template-columns: repeat(var(--ba-days, 30), minmax(26px, 1fr));
    column-gap: 2px;
    min-width: calc(var(--ba-days, 30) * 28px);
}

.ba-cal-day[b-xfmi7jxxxq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xs) 0;
    border-radius: var(--radius-sm);
    font: 700 var(--font-size-xs) / 1.2 var(--font-primary);
    color: var(--color-text-light);
}

.ba-cal-day small[b-xfmi7jxxxq] {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.ba-cal-day.is-today[b-xfmi7jxxxq] {
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--color-primary);
}

.ba-cal-bars[b-xfmi7jxxxq] {
    list-style: none;
    margin: var(--space-sm) 0 0;
    padding: 0;
    row-gap: var(--space-xs);
}

.ba-cal-bar[b-xfmi7jxxxq] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-width: 0;
    min-height: 28px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    font: 600 var(--font-size-xs) / 1.2 var(--font-primary);
    color: var(--color-text-primary);
    background: color-mix(in srgb, var(--color-success) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-success) 55%, transparent);
}

.ba-cal-bar.is-scheduled[b-xfmi7jxxxq] {
    background: color-mix(in srgb, var(--color-info) 18%, transparent);
    border-style: dashed;
    border-color: color-mix(in srgb, var(--color-info-light) 60%, transparent);
}

.ba-cal-bar.is-notice[b-xfmi7jxxxq] {
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
}

.ba-cal-bar.is-guise[b-xfmi7jxxxq] {
    background: transparent;
    border: 1px dotted var(--color-border-hover);
    color: var(--color-text-light);
}

.ba-cal-bar.began-before[b-xfmi7jxxxq] {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.ba-cal-bar.runs-on[b-xfmi7jxxxq] {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.ba-cal-bar .material-icons[b-xfmi7jxxxq] {
    font-size: 14px;
}

.ba-cal-text[b-xfmi7jxxxq] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* His look's window can be a day long: its words run on over the free days beside it. */
.ba-cal-bar.is-guise .ba-cal-text[b-xfmi7jxxxq] {
    overflow: visible;
}

.ba-cal-empty[b-xfmi7jxxxq] {
    grid-column: 1 / -1;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

/* A letter's row: the chip in words, the dates, the funnel, the actions (and More). */
.ba-chip .material-icons[b-xfmi7jxxxq] {
    margin-right: var(--space-xs);
    font-size: 14px;
}

.ba-funnel[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-lg);
    margin: var(--space-sm) 0 0;
}

.ba-funnel-cell[b-xfmi7jxxxq] {
    display: flex;
    flex-direction: column;
    min-width: 84px;
}

.ba-funnel dt[b-xfmi7jxxxq] {
    font-size: var(--font-size-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.ba-funnel dd[b-xfmi7jxxxq] {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin: 0;
    color: var(--color-text-primary);
}

.ba-pct[b-xfmi7jxxxq] {
    font-size: var(--font-size-sm);
    color: var(--fd-gold-text);
}

.ba-quiet[b-xfmi7jxxxq] {
    font-style: italic;
}

.ba-more[b-xfmi7jxxxq] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    flex-basis: 100%;
    justify-content: flex-end;
}

@media (max-width: 1280px) {
    .ba-compose-grid[b-xfmi7jxxxq] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .ba-col-preview[b-xfmi7jxxxq] {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 960px) {
    .ba-compose-grid[b-xfmi7jxxxq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ba-col-preview[b-xfmi7jxxxq] {
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .ba[b-xfmi7jxxxq],
    .ba-compose[b-xfmi7jxxxq],
    .ba-section[b-xfmi7jxxxq] {
        padding: var(--space-md);
    }
}

@media (pointer: coarse) {
    .ba-segbtn[b-xfmi7jxxxq],
    .ba-btn-sm[b-xfmi7jxxxq] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .ba-tab[aria-current="page"][b-xfmi7jxxxq] {
        border-bottom-color: Highlight;
    }

    .ba-tabcount[b-xfmi7jxxxq] {
        border: 1px solid CanvasText;
    }

    .ba-chip[b-xfmi7jxxxq],
    .ba-btn[b-xfmi7jxxxq],
    .ba-row[b-xfmi7jxxxq],
    .ba-confirm[b-xfmi7jxxxq],
    .ba-cal-bar[b-xfmi7jxxxq],
    .ba-segbtn[b-xfmi7jxxxq] {
        border-color: CanvasText;
    }

    .ba-segbtn[aria-pressed="true"][b-xfmi7jxxxq],
    .ba-cal-day.is-today[b-xfmi7jxxxq] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Pages/Admin/CharacterExplorer.razor.rz.scp.css */
/* Admin Character Explorer
   Mirrors the Users.razor.css admin shell so the page reads as part of the same tool set.
   Deltas from that file, deliberate:
     - tokens instead of raw rgba() literals for the stat-card variants
     - canonical breakpoints only (960 / 768 / 480); Users.razor.css still uses a stray 600
     - ::deep on every selector that targets MudBlazor-rendered DOM (scoped attributes are
       not applied inside a child component's markup) */

.character-explorer-page[b-2e6qejykx1] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* ===== Page Header ===== */
.page-header[b-2e6qejykx1] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title[b-2e6qejykx1] {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px var(--color-border-active);
}

.page-subtitle[b-2e6qejykx1] {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin: 0.5rem 0 0 0;
}

.header-actions[b-2e6qejykx1] {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== Stat Cards =====
   ::deep is required on .stat-card / .search-field / .characters-table: those classes are passed
   to MudBlazor components, so they land on the CHILD's rendered root, which never carries this
   component's b-* scope attribute. Without ::deep the rules compile to `.stat-card[b-*]` and
   match nothing. Classes on elements written in this file's own markup (.stat-icon, .stat-value,
   .character-cell, the metrics-table <td>s) do carry the attribute and must NOT use ::deep. */
[b-2e6qejykx1] .stat-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border-hover);
    transition: all 0.3s ease;
    height: 100%;
}

[b-2e6qejykx1] .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-active);
}

[b-2e6qejykx1] .stat-card .mud-card-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem !important;
}

.stat-icon[b-2e6qejykx1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    border: 1px solid var(--color-border-active);
    flex-shrink: 0;
}

[b-2e6qejykx1] .stat-icon .mud-icon-root {
    color: var(--color-primary);
}

.stat-content[b-2e6qejykx1] {
    flex: 1;
    min-width: 0;
}

.stat-label[b-2e6qejykx1] {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value[b-2e6qejykx1] {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

/* Variants — every one referenced by the markup is defined here. */
.stat-card-info .stat-icon[b-2e6qejykx1] {
    background: color-mix(in srgb, var(--color-info) 10%, transparent);
    border-color: color-mix(in srgb, var(--color-info) 30%, transparent);
}

[b-2e6qejykx1] .stat-card-info .stat-icon .mud-icon-root,
.stat-card-info .stat-value[b-2e6qejykx1] {
    color: var(--color-info);
}

.stat-card-warning .stat-icon[b-2e6qejykx1] {
    background: color-mix(in srgb, var(--color-warning) 10%, transparent);
    border-color: color-mix(in srgb, var(--color-warning) 30%, transparent);
}

[b-2e6qejykx1] .stat-card-warning .stat-icon .mud-icon-root,
.stat-card-warning .stat-value[b-2e6qejykx1] {
    color: var(--color-warning);
}

.stat-card-success .stat-icon[b-2e6qejykx1] {
    background: color-mix(in srgb, var(--color-success) 10%, transparent);
    border-color: color-mix(in srgb, var(--color-success) 30%, transparent);
}

[b-2e6qejykx1] .stat-card-success .stat-icon .mud-icon-root,
.stat-card-success .stat-value[b-2e6qejykx1] {
    color: var(--color-success);
}

.stat-card-primary .stat-icon[b-2e6qejykx1] {
    background: color-mix(in srgb, var(--color-monk) 10%, transparent);
    border-color: color-mix(in srgb, var(--color-monk) 30%, transparent);
}

[b-2e6qejykx1] .stat-card-primary .stat-icon .mud-icon-root,
.stat-card-primary .stat-value[b-2e6qejykx1] {
    color: var(--color-monk);
}

/* ===== Card chrome ===== */
.card-header-title[b-2e6qejykx1] {
    font-family: var(--font-display);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

[b-2e6qejykx1] .search-field {
    min-width: 300px;
}

[b-2e6qejykx1] .search-field .mud-input-root {
    background: rgba(0, 0, 0, 0.3);
}

.subsection-title[b-2e6qejykx1] {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.chip-row[b-2e6qejykx1] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.muted-note[b-2e6qejykx1] {
    color: var(--color-text-tertiary);
    font-size: var(--font-size-xs);
}

.mono[b-2e6qejykx1] {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    word-break: break-all;
}

/* ===== Loading / empty ===== */
.loading-container[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--color-text-secondary);
}

.empty-state[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--color-text-tertiary);
    text-align: center;
}

[b-2e6qejykx1] .empty-state .mud-icon-root {
    font-size: 4rem;
    color: var(--color-text-tertiary);
}

/* ===== Characters table ===== */
[b-2e6qejykx1] .characters-table {
    background: transparent;
}

[b-2e6qejykx1] .characters-table .mud-table-head .mud-table-cell {
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
    border-bottom: 2px solid var(--color-border-active);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: var(--font-size-base);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

[b-2e6qejykx1] .characters-table .mud-table-row:hover {
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

[b-2e6qejykx1] .characters-table .mud-table-cell {
    border-bottom: 1px solid var(--color-border-base);
    vertical-align: middle;
}

.character-cell[b-2e6qejykx1] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.character-name-row[b-2e6qejykx1] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.character-name[b-2e6qejykx1] {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.95rem;
}

.character-name:hover[b-2e6qejykx1] {
    text-decoration: underline;
}

.character-sub[b-2e6qejykx1] {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
}

.level-cell[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.level-value[b-2e6qejykx1] {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1;
}

.level-xp[b-2e6qejykx1] {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    white-space: nowrap;
}

.vitals-cell[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.vital[b-2e6qejykx1] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

[b-2e6qejykx1] .vital .mud-icon-root {
    font-size: 0.95rem;
}

.vital-hp[b-2e6qejykx1] { color: var(--color-hp); }
.vital-mana[b-2e6qejykx1] { color: var(--color-mana); }
.vital-ac[b-2e6qejykx1] { color: var(--color-text-secondary); }

.abilities-cell[b-2e6qejykx1] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.1rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.record-cell[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8rem;
}

.record-sub[b-2e6qejykx1] {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    white-space: nowrap;
}

.owner-cell[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: 220px;
}

.owner-name[b-2e6qejykx1] {
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.owner-name:hover[b-2e6qejykx1] {
    text-decoration: underline;
}

.owner-name-missing[b-2e6qejykx1] {
    color: var(--color-text-tertiary);
    font-style: italic;
}

.owner-id[b-2e6qejykx1] {
    font-size: 0.7rem;
    color: var(--color-text-tertiary);
    font-family: var(--font-mono);
    overflow-wrap: anywhere;
}

.date-cell[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.date-cell > div:first-child[b-2e6qejykx1] {
    color: var(--color-text-primary);
    font-size: 0.85rem;
    white-space: nowrap;
}

.date-relative[b-2e6qejykx1] {
    color: var(--color-text-tertiary);
    font-size: 0.7rem;
}

/* ===== Owner summary (user drill-down) ===== */
.owner-summary[b-2e6qejykx1] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.owner-field[b-2e6qejykx1] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.owner-field-label[b-2e6qejykx1] {
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-tertiary);
}

.owner-field-value[b-2e6qejykx1] {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

/* ===== Character detail ===== */
.detail-back[b-2e6qejykx1] {
    margin-bottom: var(--space-lg);
}

/* Default text colour is set on the table so it reaches the cells by INHERITANCE. Setting it on
   `.metrics-table td` directly would score (0,2,1) and beat the semantic `.success-text[b-*]`
   (0,2,0) on every cell that carries both classes, forcing the whole detail view plain white. */
[b-2e6qejykx1] .metrics-table {
    color: var(--color-text-primary);
}

.metrics-table td[b-2e6qejykx1] {
    border-bottom: 1px solid var(--color-border-base);
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
}

.metrics-table .text-right[b-2e6qejykx1] {
    text-align: right;
}

.success-text[b-2e6qejykx1] { color: var(--color-success); }
.warning-text[b-2e6qejykx1] { color: var(--color-warning); }
.error-text[b-2e6qejykx1] { color: var(--color-danger); }

.ability-grid[b-2e6qejykx1] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
}

.ability-tile[b-2e6qejykx1] {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
}

.ability-label[b-2e6qejykx1] {
    font-size: var(--font-size-xs);
    letter-spacing: 0.5px;
    color: var(--color-text-tertiary);
}

.ability-score[b-2e6qejykx1] {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.1;
}

.ability-mod[b-2e6qejykx1] {
    font-size: 0.75rem;
    color: var(--color-primary);
}

/* ===== Responsive (canonical breakpoints only) ===== */
@media (max-width: 960px) {
    .character-explorer-page[b-2e6qejykx1] {
        padding: 1rem;
    }

    .page-header[b-2e6qejykx1] {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title[b-2e6qejykx1] {
        font-size: 2rem;
    }

    .header-actions[b-2e6qejykx1] {
        width: 100%;
    }

    [b-2e6qejykx1] .stat-card .mud-card-content {
        padding: 1rem !important;
    }

    [b-2e6qejykx1] .search-field {
        min-width: auto;
        width: 100%;
    }

    .stat-icon[b-2e6qejykx1] {
        width: 50px;
        height: 50px;
    }

    .stat-value[b-2e6qejykx1] {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-title[b-2e6qejykx1] {
        font-size: 1.5rem;
    }

    [b-2e6qejykx1] .stat-card .mud-card-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .stat-content[b-2e6qejykx1] {
        width: 100%;
    }

    .owner-cell[b-2e6qejykx1] {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .abilities-cell[b-2e6qejykx1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ability-grid[b-2e6qejykx1] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Pages/Admin/CombatDynamics.razor.rz.scp.css */
.combat-dynamics-page[b-mk8o1u2uip] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header[b-mk8o1u2uip] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--mud-palette-divider);
}

.page-title[b-mk8o1u2uip] {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mud-palette-primary);
    margin: 0;
    display: flex;
    align-items: center;
}

.page-subtitle[b-mk8o1u2uip] {
    font-size: 1.1rem;
    color: var(--mud-palette-text-secondary);
    margin: 0.5rem 0 0 0;
}

.section-header[b-mk8o1u2uip] {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.mechanics-section[b-mk8o1u2uip] {
    scroll-margin-top: 100px;
    margin-bottom: 2rem;
}

/* ================================================
   CODE BLOCKS AND FORMULAS - FIXED
   ================================================ */
[b-mk8o1u2uip] code {
    background-color: rgba(25, 118, 210, 0.08) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    font-size: 0.95rem !important;
    color: #1976d2 !important;
    font-weight: 600 !important;
}

[b-mk8o1u2uip] .mud-alert code {
    background-color: transparent !important;
    color: inherit !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
}

/* ================================================
   EXAMPLE BOXES - COMPLETELY REDESIGNED
   ================================================ */
[b-mk8o1u2uip] .mud-paper[elevation="0"] {
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background-color: #263238 !important;
    color: #eceff1 !important;
    padding: 1rem !important;
}

[b-mk8o1u2uip] .mud-paper[elevation="0"] * {
    color: #eceff1 !important;
}

[b-mk8o1u2uip] .mud-paper[elevation="0"] .mud-typography {
    color: #eceff1 !important;
}

[b-mk8o1u2uip] .mud-paper[elevation="0"] strong {
    color: #4fc3f7 !important;
    font-weight: 600 !important;
}

[b-mk8o1u2uip] .mud-paper[elevation="0"] em {
    color: #81c784 !important;
    font-style: italic !important;
}

/* Monospace text styling - FIXED */
[b-mk8o1u2uip] .cd-mono {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace !important;
    line-height: 1.8 !important;
    font-size: 0.9rem !important;
    color: #eceff1 !important;
}

[b-mk8o1u2uip] .mud-paper[elevation="0"] .cd-mono {
    color: #eceff1 !important;
}

/* Color-coded text - ENHANCED */
[b-mk8o1u2uip] .text-primary,
[b-mk8o1u2uip] .mud-paper [class*="text-primary"] {
    color: #64b5f6 !important;
    font-weight: 600 !important;
}

[b-mk8o1u2uip] .text-secondary,
[b-mk8o1u2uip] .mud-paper [class*="text-secondary"] {
    color: #ba68c8 !important;
    font-weight: 600 !important;
}

[b-mk8o1u2uip] .text-success,
[b-mk8o1u2uip] .mud-paper [class*="text-success"] {
    color: #81c784 !important;
    font-weight: 600 !important;
}

[b-mk8o1u2uip] .text-warning,
[b-mk8o1u2uip] .mud-paper [class*="text-warning"] {
    color: #ffb74d !important;
    font-weight: 600 !important;
}

[b-mk8o1u2uip] .text-error,
[b-mk8o1u2uip] .mud-paper [class*="text-error"] {
    color: #e57373 !important;
    font-weight: 600 !important;
}

/* Specific background colors for different example types - FIXED */
[b-mk8o1u2uip] .mud-paper.cd-ex-code {
    background-color: #263238 !important;
    border-left: 4px solid #2196f3 !important;
}

[b-mk8o1u2uip] .mud-paper.cd-ex-success {
    background-color: #1b5e20 !important;
    border-left: 4px solid #4caf50 !important;
}

[b-mk8o1u2uip] .mud-paper.cd-ex-warn {
    background-color: #e65100 !important;
    border-left: 4px solid #ff9800 !important;
}

[b-mk8o1u2uip] .mud-paper.cd-ex-info {
    background-color: #0d47a1 !important;
    border-left: 4px solid #2196f3 !important;
}

[b-mk8o1u2uip] .mud-paper.cd-ex-danger {
    background-color: #b71c1c !important;
    border-left: 4px solid #f44336 !important;
}

/* ================================================
   TABLES - IMPROVED
   ================================================ */
[b-mk8o1u2uip] .mud-table-simple {
    background-color: transparent !important;
}

[b-mk8o1u2uip] .mud-table-simple tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

[b-mk8o1u2uip] .mud-table-simple th {
    font-weight: 700 !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    padding: 12px 16px !important;
    font-size: 0.875rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

[b-mk8o1u2uip] .mud-table-simple td {
    padding: 12px 16px !important;
    font-size: 0.9rem !important;
}

[b-mk8o1u2uip] .mud-table-simple tbody tr td:first-child {
    font-weight: 600 !important;
}

/* Table row backgrounds - FIXED */
[b-mk8o1u2uip] .mud-table-simple tbody tr.cd-row-danger {
    background-color: rgba(244, 67, 54, 0.08) !important;
}

[b-mk8o1u2uip] .mud-table-simple tbody tr.cd-row-success {
    background-color: rgba(76, 175, 80, 0.08) !important;
}

/* ================================================
   KEY TAKEAWAYS SECTION - COMPLETELY FIXED
   ================================================ */
[b-mk8o1u2uip] .mud-paper.cd-takeaways {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%) !important;
    color: white !important;
    padding: 2rem !important;
}

[b-mk8o1u2uip] .mud-paper.cd-takeaways * {
    color: white !important;
}

[b-mk8o1u2uip] .mud-paper.cd-takeaways .mud-typography {
    color: white !important;
}

[b-mk8o1u2uip] .mud-paper.cd-takeaways .mud-list-item {
    color: white !important;
    padding: 12px 16px !important;
}

[b-mk8o1u2uip] .mud-paper.cd-takeaways .mud-list-item * {
    color: white !important;
}

[b-mk8o1u2uip] .mud-paper.cd-takeaways strong {
    color: white !important;
    font-weight: 700 !important;
}

[b-mk8o1u2uip] .mud-paper.cd-takeaways .mud-icon-root {
    color: white !important;
}

/* ================================================
   LIST STYLING
   ================================================ */
[b-mk8o1u2uip] .mud-list-item-icon {
    min-width: 40px !important;
}

[b-mk8o1u2uip] .mud-list-item {
    padding: 8px 16px !important;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
    .combat-dynamics-page[b-mk8o1u2uip] {
        padding: 1rem;
    }

    .page-header[b-mk8o1u2uip] {
        flex-direction: column;
        gap: 1rem;
    }

    .page-title[b-mk8o1u2uip] {
        font-size: 2rem;
    }
}

/* ================================================
   CHIP SET AND NAVIGATION
   ================================================ */
[b-mk8o1u2uip] .mud-chipset {
    gap: 0.5rem !important;
}

[b-mk8o1u2uip] .mud-chip {
    cursor: pointer !important;
}

/* ================================================
   ALERT IMPROVEMENTS
   ================================================ */
[b-mk8o1u2uip] .mud-alert {
    margin-bottom: 1rem !important;
}

[b-mk8o1u2uip] .mud-alert strong {
    font-weight: 700 !important;
}

[b-mk8o1u2uip] .mud-alert-message {
    width: 100% !important;
}

[b-mk8o1u2uip] .mud-alert.mud-alert-filled-info {
    background-color: rgba(33, 150, 243, 0.12) !important;
    color: #1976d2 !important;
}

[b-mk8o1u2uip] .mud-alert.mud-alert-filled-warning {
    background-color: rgba(255, 152, 0, 0.12) !important;
    color: #f57c00 !important;
}

[b-mk8o1u2uip] .mud-alert.mud-alert-filled-success {
    background-color: rgba(76, 175, 80, 0.12) !important;
    color: #388e3c !important;
}

/* ================================================
   GRID SPACING
   ================================================ */
[b-mk8o1u2uip] .mud-grid {
    gap: 1rem !important;
}

/* ================================================
   SECTION IMPROVEMENTS
   ================================================ */
.mechanics-section .mud-paper[b-mk8o1u2uip] {
    transition: box-shadow 0.3s ease !important;
}

.mechanics-section .mud-paper:hover[b-mk8o1u2uip] {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ================================================
   SUBTITLE STYLING IN EXAMPLES
   ================================================ */
[b-mk8o1u2uip] .mud-typography-subtitle2 {
    font-weight: 700 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    color: var(--mud-palette-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.875rem !important;
}

/* ================================================
   EXAMPLE BATTLE BORDERS
   ================================================ */
[b-mk8o1u2uip] .mud-paper[elevation="2"] {
    border-radius: 8px !important;
    overflow: hidden !important;
}

[b-mk8o1u2uip] .mud-paper[elevation="2"].cd-accent {
    margin-bottom: 2rem !important;
}

/* ================================================
   DIVIDER SPACING
   ================================================ */
[b-mk8o1u2uip] .mud-divider {
    margin: 1.5rem 0 !important;
}

/* ================================================
   BODY TEXT
   ================================================ */
[b-mk8o1u2uip] .mechanics-section .mud-typography-body1,
[b-mk8o1u2uip] .mechanics-section .mud-typography-body2 {
    line-height: 1.7 !important;
}

[b-mk8o1u2uip] .mechanics-section ul {
    margin: 0.5rem 0 1rem 1.5rem !important;
    line-height: 1.8 !important;
}

[b-mk8o1u2uip] .mechanics-section ul li {
    margin-bottom: 0.5rem !important;
}

/* ================================================
   FORMULA BOX IMPROVEMENTS
   ================================================ */
[b-mk8o1u2uip] .mud-alert code strong {
    font-size: 1.1rem !important;
}

/* ================================================
   PAPER BACKGROUND OVERRIDE FOR ALL EXAMPLES
   ================================================ */
[b-mk8o1u2uip] .mechanics-section .mud-paper[elevation="0"] {
    background-color: #263238 !important;
}

[b-mk8o1u2uip] .mechanics-section .mud-paper[elevation="0"] br {
    display: block !important;
    content: "" !important;
    margin-top: 0.25rem !important;
}
/* /Components/Pages/Admin/Dashboard.razor.rz.scp.css */
/* Admin Dashboard Styles */

.admin-dashboard[b-tzodqnyl78] {
    padding: 1.5rem;
}

/* Dashboard Header */
.dashboard-header[b-tzodqnyl78] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.page-title[b-tzodqnyl78] {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: flex;
    align-items: center;
}

.page-subtitle[b-tzodqnyl78] {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.header-actions[b-tzodqnyl78] {
    display: flex;
    gap: 0.75rem;
}

/* Loading Container */
.loading-container[b-tzodqnyl78] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    color: var(--color-text-secondary);
}

/* Stat Cards */
.stat-card[b-tzodqnyl78] {
    background: linear-gradient(145deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover[b-tzodqnyl78] {
    transform: translateY(-4px);
    border-color: var(--color-border-active);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(255, 215, 0, 0.1);
}

.stat-card-success[b-tzodqnyl78] {
    border-top: 3px solid var(--color-success);
}

.stat-card-info[b-tzodqnyl78] {
    border-top: 3px solid var(--color-info);
}

.stat-card-warning[b-tzodqnyl78] {
    border-top: 3px solid var(--color-warning);
}

.stat-card-error[b-tzodqnyl78] {
    border-top: 3px solid var(--color-danger);
}

[b-tzodqnyl78] .stat-card .mud-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem !important;
}

.stat-icon[b-tzodqnyl78] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary);
}

.stat-content[b-tzodqnyl78] {
    flex: 1;
}

.stat-label[b-tzodqnyl78] {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-value[b-tzodqnyl78] {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    font-family: 'Cinzel', serif;
}

/* Card Header Title */
.card-header-title[b-tzodqnyl78] {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

/* Metrics Tables */
.metrics-table[b-tzodqnyl78] {
    background: transparent !important;
}

[b-tzodqnyl78] .metrics-table td {
    border-bottom: 1px solid rgba(255, 215, 0, 0.05) !important;
    padding: 0.75rem 0.5rem !important;
    color: var(--color-text-primary);
}

[b-tzodqnyl78] .metrics-table tr:last-child td {
    border-bottom: none !important;
}

[b-tzodqnyl78] .metrics-table tbody tr:hover {
    background: rgba(255, 215, 0, 0.05) !important;
}

.text-right[b-tzodqnyl78] {
    text-align: right !important;
}

.success-text[b-tzodqnyl78] {
    color: var(--color-success) !important;
    font-weight: 600;
}

.error-text[b-tzodqnyl78] {
    color: var(--color-danger) !important;
    font-weight: 600;
}

.warning-text[b-tzodqnyl78] {
    color: var(--color-warning) !important;
    font-weight: 600;
}

/* Subsection Title */
.subsection-title[b-tzodqnyl78] {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Activity Feed */
.activity-feed[b-tzodqnyl78] {
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.activity-item[b-tzodqnyl78] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.05);
    transition: all 0.2s ease;
}

.activity-item:hover[b-tzodqnyl78] {
    background: rgba(255, 215, 0, 0.05);
    border-color: var(--color-border-base);
}

.activity-icon[b-tzodqnyl78] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary);
    flex-shrink: 0;
}

.activity-content[b-tzodqnyl78] {
    flex: 1;
    min-width: 0;
}

.activity-description[b-tzodqnyl78] {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.activity-description strong[b-tzodqnyl78] {
    color: var(--color-primary);
    font-weight: 600;
}

.activity-time[b-tzodqnyl78] {
    color: var(--color-text-tertiary);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-dashboard[b-tzodqnyl78] {
        padding: 1rem;
    }

    .dashboard-header[b-tzodqnyl78] {
        flex-direction: column;
        gap: 1rem;
    }

    .header-actions[b-tzodqnyl78] {
        width: 100%;
    }

    .header-actions button[b-tzodqnyl78] {
        flex: 1;
    }

    .page-title[b-tzodqnyl78] {
        font-size: 1.5rem;
    }

    .stat-value[b-tzodqnyl78] {
        font-size: 1.5rem;
    }

    .stat-icon[b-tzodqnyl78] {
        width: 48px;
        height: 48px;
    }
}

/* Custom Scrollbar for Activity Feed */
.activity-feed[b-tzodqnyl78]::-webkit-scrollbar {
    width: 8px;
}

.activity-feed[b-tzodqnyl78]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.activity-feed[b-tzodqnyl78]::-webkit-scrollbar-thumb {
    background: var(--color-border-active);
    border-radius: 4px;
}

.activity-feed[b-tzodqnyl78]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}
/* /Components/Pages/Admin/FeatureFlags.razor.rz.scp.css */
/* The feature flags page (Docs/LRPG_FEATURE_FLAGS.md, "The admin page"). Staff tooling, the reports queue's look:
   tokens only, canonical breakpoints only (768, 1280), 44px targets on touch, Material Icons, one gold per card (Save). */
.ff[b-e3j2y4nbyn] {
    padding: var(--space-xl);
    color: var(--color-text-primary);
    max-width: 1280px;
}

.ff-head[b-e3j2y4nbyn] {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.ff-head-icon[b-e3j2y4nbyn] {
    color: var(--color-primary);
    font-size: 2rem;
}

.ff-title[b-e3j2y4nbyn] {
    margin: 0;
    font: 700 var(--font-size-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

.ff-section[b-e3j2y4nbyn] {
    margin-top: var(--space-2xl);
}

.ff-section-title[b-e3j2y4nbyn] {
    margin: 0 0 var(--space-md);
    font: 700 var(--font-size-xl) / 1.2 var(--font-display);
    color: var(--color-primary-light);
}

.ff-note[b-e3j2y4nbyn],
.ff-hint[b-e3j2y4nbyn],
.ff-desc[b-e3j2y4nbyn] {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.ff-warn[b-e3j2y4nbyn] {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
    margin: var(--space-sm) 0 0;
    color: var(--color-warning-bright);
    font-weight: 600;
}

.ff-error[b-e3j2y4nbyn] {
    margin: var(--space-xs) 0 0;
    color: var(--color-danger-light);
    font-weight: 600;
}

.ff-done[b-e3j2y4nbyn] {
    margin: var(--space-xs) 0 0;
    color: var(--color-success-light);
}

.ff-error:empty[b-e3j2y4nbyn],
.ff-done:empty[b-e3j2y4nbyn] {
    display: none;
}

.ff-people[b-e3j2y4nbyn] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-md);
}

.ff-card-title[b-e3j2y4nbyn] {
    margin: 0;
    font: 700 var(--font-size-lg) / 1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.ff-chip[b-e3j2y4nbyn] {
    display: inline-flex;
    gap: var(--space-xs);
    align-items: center;
    padding: 2px var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-3xl);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.ff-chip .material-icons[b-e3j2y4nbyn] {
    font-size: 1rem;
}

.ff-chip--state[b-e3j2y4nbyn] {
    border-color: var(--color-primary-dark);
    color: var(--color-primary-light);
}

.ff-chip--warn[b-e3j2y4nbyn] {
    border-color: var(--color-warning-bright);
    color: var(--color-warning-bright);
    margin-left: var(--space-sm);
}

.ff-facts[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-xl);
    margin: var(--space-sm) 0 0;
    font-size: var(--font-size-sm);
}

.ff-facts dt[b-e3j2y4nbyn] {
    color: var(--color-text-secondary);
}

.ff-facts dd[b-e3j2y4nbyn] {
    margin: 0;
}

.ff-modes[b-e3j2y4nbyn],
.ff-field[b-e3j2y4nbyn] {
    margin: var(--space-md) 0 0;
    padding: 0;
    border: 0;
    min-width: 0;
}

.ff-modes[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    align-items: center;
}

.ff-label[b-e3j2y4nbyn] {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.ff-modes .ff-label[b-e3j2y4nbyn] {
    width: 100%;
}

.ff-mode[b-e3j2y4nbyn],
.ff-check[b-e3j2y4nbyn] {
    display: inline-flex;
    gap: var(--space-xs);
    align-items: center;
    min-height: 32px;
    margin-right: var(--space-lg);
}

.ff-mode input:disabled + span[b-e3j2y4nbyn] {
    color: var(--color-text-secondary);
}

.ff-only[b-e3j2y4nbyn],
.ff-window[b-e3j2y4nbyn] {
    display: grid;
    gap: var(--space-sm) var(--space-xl);
    margin-top: var(--space-sm);
    padding: var(--space-md);
    border: 1px dashed var(--color-border-base);
    border-radius: var(--radius-md);
}

.ff-person[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.ff-people--list[b-e3j2y4nbyn] {
    margin-bottom: var(--space-md);
}

.ff-add[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.ff-input[b-e3j2y4nbyn] {
    min-height: 36px;
    min-width: 0;
    flex: 1 1 220px;
    max-width: 360px;
    padding: 0 var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    color: var(--color-text-primary);
}

.ff-input[b-e3j2y4nbyn]::placeholder {
    color: var(--color-text-secondary);
    opacity: 1;
}

.ff-range[b-e3j2y4nbyn] {
    width: min(100%, 360px);
    accent-color: var(--color-primary);
}

.ff-act-row[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    margin-top: var(--space-md);
}

.ff-confirm[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--color-primary-dark);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
}

.ff-btn[b-e3j2y4nbyn] {
    display: inline-flex;
    gap: var(--space-xs);
    align-items: center;
    justify-content: flex-start;
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    font-weight: 600;
    cursor: pointer;
}

.ff-btn:disabled[b-e3j2y4nbyn] {
    cursor: progress;
    color: var(--color-text-secondary);
}

.ff-btn--gold[b-e3j2y4nbyn] {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
    color: var(--color-bg-base);
}

.ff-btn .material-icons[b-e3j2y4nbyn],
.ff-icon-btn .material-icons[b-e3j2y4nbyn] {
    font-size: 1.1rem;
}

.ff-icon-btn[b-e3j2y4nbyn] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
}

.ff-btn:focus-visible[b-e3j2y4nbyn],
.ff-icon-btn:focus-visible[b-e3j2y4nbyn],
.ff-input:focus-visible[b-e3j2y4nbyn],
.ff-range:focus-visible[b-e3j2y4nbyn] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ff-table-wrap[b-e3j2y4nbyn] {
    overflow-x: auto;
}

.ff-table[b-e3j2y4nbyn] {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
}

.ff-table th[b-e3j2y4nbyn],
.ff-table td[b-e3j2y4nbyn] {
    padding: var(--space-xs) var(--space-sm);
    border-bottom: 1px solid var(--color-border-base);
    text-align: left;
    vertical-align: top;
}

.ff-table th[b-e3j2y4nbyn] {
    color: var(--color-text-light);
}

.ff-sr-only[b-e3j2y4nbyn] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ff-only[b-e3j2y4nbyn],
    .ff-window[b-e3j2y4nbyn] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (pointer: coarse) {
    .ff-btn[b-e3j2y4nbyn],
    .ff-input[b-e3j2y4nbyn],
    .ff-mode[b-e3j2y4nbyn],
    .ff-check[b-e3j2y4nbyn] {
        min-height: 44px;
    }

    .ff-icon-btn[b-e3j2y4nbyn] {
        width: 44px;
        height: 44px;
    }
}

@media (forced-colors: active) {
    .ff-rows[b-e3j2y4nbyn],
    .ff-chip[b-e3j2y4nbyn],
    .ff-btn[b-e3j2y4nbyn],
    .ff-confirm[b-e3j2y4nbyn] {
        border-color: CanvasText;
    }
}

/* Grouped flags (owner, 20 Nov 2026: "Please group the flags better. Lots of scrolling"): one heading per area
   (FeatureFlagAreas), a jump bar with each area's on-count, and one compact row per flag whose editor opens on Edit. */
.ff-jump[b-e3j2y4nbyn] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-sm) 0;
    background: var(--color-bg-base);
    border-bottom: 1px solid var(--color-border-base);
}

.ff-jump-summary[b-e3j2y4nbyn] {
    margin-right: var(--space-sm);
    font-weight: 700;
    color: var(--color-primary-light);
}

.ff-jump-link[b-e3j2y4nbyn] {
    display: inline-flex;
    gap: var(--space-sm);
    align-items: center;
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-3xl);
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.ff-jump-link:hover[b-e3j2y4nbyn],
.ff-jump-link:focus-visible[b-e3j2y4nbyn] {
    border-color: var(--color-primary);
}

.ff-jump-count[b-e3j2y4nbyn] {
    color: var(--color-text-secondary);
}

.ff-area[b-e3j2y4nbyn] {
    margin-top: var(--space-xl);
    scroll-margin-top: 64px;
}

.ff-area-head[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--space-md);
    align-items: baseline;
    margin-bottom: var(--space-sm);
}

.ff-area-head .ff-section-title[b-e3j2y4nbyn] {
    margin: 0;
}

.ff-area-head .ff-note[b-e3j2y4nbyn] {
    margin: 0;
}

.ff-rows[b-e3j2y4nbyn] {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.ff-row + .ff-row[b-e3j2y4nbyn] {
    border-top: 1px solid var(--color-border-base);
}

.ff-row--open[b-e3j2y4nbyn] {
    background: var(--color-bg-elevated);
}

.ff-row-head[b-e3j2y4nbyn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-sm) var(--space-md);
    align-items: center;
    padding: var(--space-sm) var(--space-md);
}

.ff-row-name[b-e3j2y4nbyn] {
    min-width: 0;
}

.ff-row-name .ff-card-title[b-e3j2y4nbyn] {
    font-size: var(--font-size-md, 1rem);
}

.ff-row-desc[b-e3j2y4nbyn] {
    margin: 2px 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ff-row--open .ff-row-desc[b-e3j2y4nbyn] {
    display: block;
}

.ff-row-chips[b-e3j2y4nbyn] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-items: center;
    grid-column: 1 / -1;
}

.ff-row-chips .ff-chip--warn[b-e3j2y4nbyn] {
    margin-left: 0;
}

.ff-row-toggle[b-e3j2y4nbyn] {
    grid-column: 2;
    grid-row: 1;
    white-space: nowrap;
}

.ff-chip--on[b-e3j2y4nbyn] {
    border-color: var(--color-success-light);
    color: var(--color-success-light);
}

.ff-chip--some[b-e3j2y4nbyn] {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.ff-chip--off[b-e3j2y4nbyn] {
    border-color: var(--color-border-base);
    color: var(--color-text-secondary);
}

.ff-row-status[b-e3j2y4nbyn] {
    padding: 0 var(--space-md) var(--space-sm);
}

.ff-row-body[b-e3j2y4nbyn] {
    padding: 0 var(--space-md) var(--space-md);
    border-top: 1px dashed var(--color-border-base);
}

.ff-lower[b-e3j2y4nbyn] {
    display: grid;
    gap: 0 var(--space-xl);
}

/* From 1280: the row's chips sit beside its name, and Testers sits beside Recent changes. */
@media (min-width: 1280px) {
    .ff-row-head[b-e3j2y4nbyn] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 22rem) auto;
    }

    .ff-row-chips[b-e3j2y4nbyn] {
        grid-column: 2;
        grid-row: 1;
        justify-content: flex-end;
    }

    .ff-row-toggle[b-e3j2y4nbyn] {
        grid-column: 3;
    }

    .ff-lower[b-e3j2y4nbyn] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        align-items: start;
    }
}
/* /Components/Pages/Admin/Reports.razor.rz.scp.css */
/* The review queue (Docs/LRPG_MODERATION.md; board A-Moderation section 6). Tokens only; canonical breakpoints (960
   for the two columns); 44px targets on touch; the moderation red from the SOCIAL block. */
.ar[b-zf3yl6xtuh] {
    padding: var(--space-xl);
    color: var(--color-text-primary);
}

.ar-head[b-zf3yl6xtuh] {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.ar-head-icon[b-zf3yl6xtuh] {
    color: var(--sc-mod);
    font-size: 2rem;
}

.ar-title[b-zf3yl6xtuh] {
    margin: 0;
    font: 700 var(--font-size-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

.ar-count[b-zf3yl6xtuh] {
    margin: var(--space-xs) 0 0;
    font-weight: 700;
    color: var(--sc-mod-ink);
}

.ar-note[b-zf3yl6xtuh],
.ar-row-meta[b-zf3yl6xtuh],
.ar-tick-hint[b-zf3yl6xtuh] {
    margin: var(--space-xs) 0 0;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
}

.ar-tabs[b-zf3yl6xtuh] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: 0 0 var(--space-lg);
    border-bottom: 1px solid var(--color-border-base);
}

.ar-tab[b-zf3yl6xtuh] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-bottom: 2px solid transparent;
    color: var(--color-text-lighter);
    text-decoration: none;
}

.ar-tab[aria-current="page"][b-zf3yl6xtuh] {
    border-bottom-color: var(--sc-mod);
    color: var(--color-text-primary);
    font-weight: 700;
}

.ar-body[b-zf3yl6xtuh] {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.ar-rows[b-zf3yl6xtuh],
.ar-reports[b-zf3yl6xtuh],
.ar-before[b-zf3yl6xtuh],
.ar-snapshot[b-zf3yl6xtuh] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-sm);
}

.ar-row[b-zf3yl6xtuh] {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    text-align: left;
    justify-content: stretch;
    cursor: pointer;
}

.ar-row.is-current[b-zf3yl6xtuh] {
    border-color: var(--sc-mod-line);
    background: var(--sc-mod-soft);
}

.ar-row-name[b-zf3yl6xtuh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
}

.ar-row-reasons[b-zf3yl6xtuh] {
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

.ar-chip[b-zf3yl6xtuh] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-text-lighter);
}

.ar-chip .material-icons[b-zf3yl6xtuh] {
    font-size: 14px;
}

.ar-chip--urgent[b-zf3yl6xtuh] {
    border-color: var(--sc-mod-line);
    background: var(--sc-mod-soft);
    color: var(--sc-mod-ink);
}

.ar-case[b-zf3yl6xtuh] {
    min-width: 0;
}

.ar-case-title[b-zf3yl6xtuh] {
    margin: 0;
    font: 700 var(--font-size-xl) / 1.3 var(--font-display);
}

.ar-case-title:focus[b-zf3yl6xtuh] {
    outline: none;
}

.ar-state[b-zf3yl6xtuh] {
    margin: var(--space-xs) 0 0;
    font-weight: 600;
    color: var(--color-warning-bright);
}

.ar-h3[b-zf3yl6xtuh] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-lg) 0 var(--space-sm);
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--color-text-primary);
}

.ar-h3 .material-icons[b-zf3yl6xtuh] {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.ar-line[b-zf3yl6xtuh] {
    display: grid;
    gap: 2px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.ar-line.is-reported[b-zf3yl6xtuh] {
    border-left: 3px solid var(--sc-mod);
    background: var(--sc-mod-soft);
}

.ar-line-who[b-zf3yl6xtuh] {
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.ar-line-time[b-zf3yl6xtuh] {
    font-weight: 400;
    color: var(--color-text-light);
}

.ar-line-text[b-zf3yl6xtuh],
.ar-report-note[b-zf3yl6xtuh] {
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
    overflow-wrap: anywhere;
}

.ar-report[b-zf3yl6xtuh] {
    display: grid;
    gap: 2px;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-base);
}

.ar-report-reason[b-zf3yl6xtuh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
}

.ar-before li[b-zf3yl6xtuh] {
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

.ar-act[b-zf3yl6xtuh] {
    display: grid;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 1px solid var(--sc-mod-line);
    border-radius: var(--radius-lg);
}

.ar-act-row[b-zf3yl6xtuh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
}

.ar-label[b-zf3yl6xtuh] {
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.ar-fieldset[b-zf3yl6xtuh] {
    margin: 0;
    padding: 0;
    border: 0;
}

.ar-choice[b-zf3yl6xtuh],
.ar-tick[b-zf3yl6xtuh] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 36px;
    font-size: var(--font-size-sm);
}

.ar-tick span[b-zf3yl6xtuh] {
    display: grid;
}

.ar-text[b-zf3yl6xtuh] {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--font-size-sm);
}

.ar-btn[b-zf3yl6xtuh] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    font: 600 var(--font-size-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.ar-btn .material-icons[b-zf3yl6xtuh] {
    font-size: 1.05rem;
}

.ar-btn--danger[b-zf3yl6xtuh] {
    border-color: var(--sc-mod-line);
    color: var(--sc-mod-ink);
}

.ar-btn:disabled[b-zf3yl6xtuh] {
    opacity: 0.55;
    cursor: not-allowed;
}

.ar-btn:focus-visible[b-zf3yl6xtuh],
.ar-row:focus-visible[b-zf3yl6xtuh],
.ar-tab:focus-visible[b-zf3yl6xtuh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ar-confirm[b-zf3yl6xtuh] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
}

.ar-done[b-zf3yl6xtuh] {
    margin: 0;
    color: var(--color-success-light);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.ar-error[b-zf3yl6xtuh] {
    margin: 0;
    color: var(--sc-mod-ink);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.ar-words[b-zf3yl6xtuh] {
    margin-top: var(--space-2xl);
    max-width: 720px;
}

@media (pointer: coarse) {
    .ar-btn[b-zf3yl6xtuh],
    .ar-choice[b-zf3yl6xtuh],
    .ar-tick[b-zf3yl6xtuh] {
        min-height: 44px;
    }
}

@media (max-width: 960px) {
    .ar[b-zf3yl6xtuh] {
        padding: var(--space-lg);
    }

    .ar-body[b-zf3yl6xtuh] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    .ar-row.is-current[b-zf3yl6xtuh],
    .ar-line.is-reported[b-zf3yl6xtuh] {
        border-color: Highlight;
    }
}
/* /Components/Pages/Admin/Users.razor.rz.scp.css */
/* Admin Users Page Styles */
.admin-users-page[b-73i8al9my5] {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Page Header */
.page-header[b-73i8al9my5] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-title[b-73i8al9my5] {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px var(--color-border-active);
}

.page-subtitle[b-73i8al9my5] {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.5rem 0 0 0;
}

.header-actions[b-73i8al9my5] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Statistics Cards */
.stat-card[b-73i8al9my5] {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border-hover);
    transition: all 0.3s ease;
}

.stat-card:hover[b-73i8al9my5] {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--color-border-hover);
    border-color: var(--color-border-active);
}

.stat-card .mud-card-content[b-73i8al9my5] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem !important;
}

.stat-icon[b-73i8al9my5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--color-border-active);
}

.stat-icon .mud-icon-root[b-73i8al9my5] {
    color: var(--color-primary);
}

.stat-content[b-73i8al9my5] {
    flex: 1;
}

.stat-label[b-73i8al9my5] {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value[b-73i8al9my5] {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

/* Stat Card Variants */
.stat-card-info .stat-icon[b-73i8al9my5] {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-card-info .stat-icon .mud-icon-root[b-73i8al9my5] {
    color: var(--color-info);
}

.stat-card-info .stat-value[b-73i8al9my5] {
    color: var(--color-info);
}

.stat-card-warning .stat-icon[b-73i8al9my5] {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.stat-card-warning .stat-icon .mud-icon-root[b-73i8al9my5] {
    color: var(--color-warning);
}

.stat-card-warning .stat-value[b-73i8al9my5] {
    color: var(--color-warning);
}

.stat-card-success .stat-icon[b-73i8al9my5] {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.stat-card-success .stat-icon .mud-icon-root[b-73i8al9my5] {
    color: var(--color-success);
}

.stat-card-success .stat-value[b-73i8al9my5] {
    color: var(--color-success);
}

.stat-card-primary .stat-icon[b-73i8al9my5] {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-card-primary .stat-icon .mud-icon-root[b-73i8al9my5] {
    color: var(--color-monk);
}

.stat-card-primary .stat-value[b-73i8al9my5] {
    color: var(--color-monk);
}

/* Table Card */
.card-header-title[b-73i8al9my5] {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.search-field[b-73i8al9my5] {
    min-width: 300px;
}

.search-field .mud-input-root[b-73i8al9my5] {
    background: rgba(0, 0, 0, 0.3);
}

/* Loading State */
.loading-container[b-73i8al9my5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Empty State */
.empty-state[b-73i8al9my5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state .mud-icon-root[b-73i8al9my5] {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Users Table */
.users-table[b-73i8al9my5] {
    background: transparent;
}

.users-table .mud-table-head .mud-table-cell[b-73i8al9my5] {
    background: rgba(255, 215, 0, 0.05);
    border-bottom: 2px solid var(--color-border-active);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.users-table .mud-table-row:hover[b-73i8al9my5] {
    background: rgba(255, 215, 0, 0.05);
}

.users-table .mud-table-cell[b-73i8al9my5] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* User Cell */
.user-cell[b-73i8al9my5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-email[b-73i8al9my5] {
    font-weight: 500;
    color: #fff;
    font-size: 0.95rem;
}

.user-id[b-73i8al9my5] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Courier New', monospace;
}

/* Status Badges */
.status-badges[b-73i8al9my5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Date Cell */
.date-cell[b-73i8al9my5] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-cell > div:first-child[b-73i8al9my5] {
    color: #fff;
    font-size: 0.9rem;
}

.date-relative[b-73i8al9my5] {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* Dialog Styles */
.dialog-title[b-73i8al9my5] {
    font-family: 'Cinzel', serif;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.edit-dialog-content[b-73i8al9my5] {
    padding-top: 1rem;
}

.role-option[b-73i8al9my5] {
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 960px) {
    .admin-users-page[b-73i8al9my5] {
        padding: 1rem;
    }

    .page-header[b-73i8al9my5] {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title[b-73i8al9my5] {
        font-size: 2rem;
    }

    .header-actions[b-73i8al9my5] {
        width: 100%;
    }

    .search-field[b-73i8al9my5] {
        min-width: auto;
        width: 100%;
    }

    .stat-card .mud-card-content[b-73i8al9my5] {
        padding: 1rem !important;
    }

    .stat-icon[b-73i8al9my5] {
        width: 50px;
        height: 50px;
    }

    .stat-value[b-73i8al9my5] {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .page-title[b-73i8al9my5] {
        font-size: 1.5rem;
    }

    .stat-card .mud-card-content[b-73i8al9my5] {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .stat-content[b-73i8al9my5] {
        width: 100%;
    }
}
/* /Components/Pages/Auth/AuthDoorArt.razor.rz.scp.css */
/* The tavern door (comps A-Login, A-Forgot, A-Reset). Tokens only (translucency is color-mix on a token), canonical
   breakpoints, nothing moves. From 1024px it stands in the middle of the art column; below, it follows the form. */

.adr[b-zpztrzpt04] {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: auto 0;
    padding: 48px 0 28px;
}

.adr__way[b-zpztrzpt04] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(100%, 400px);
}

/* Candlelight spilling out of the doorway onto the street. */
.adr__way[b-zpztrzpt04]::before {
    content: "";
    position: absolute;
    inset: 12% -14% -16%;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--fd-ember) 40%, transparent), transparent);
    pointer-events: none;
}

.adr__mark[b-zpztrzpt04] {
    position: absolute;
    top: -34px;
    left: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
    filter:
        drop-shadow(0 0 18px color-mix(in srgb, var(--fd-ember) 60%, transparent))
        drop-shadow(0 6px 12px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent));
}

.adr__door[b-zpztrzpt04] {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 400 / 470;
    overflow: hidden;
    background: var(--fd-art-well);
    border: 3px solid var(--fd-gold-dark);
    border-radius: 50% 50% 16px 16px / 124px 124px 16px 16px;
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--fd-gold-dark) 12%, transparent),
        0 0 90px color-mix(in srgb, var(--fd-ember) 38%, transparent),
        0 34px 70px color-mix(in srgb, var(--fd-shadow-ink) 65%, transparent);
}

/* Warm light inside the frame and the room's floor going dark. */
.adr__door[b-zpztrzpt04]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
        inset 0 0 70px color-mix(in srgb, var(--fd-ember) 32%, transparent),
        inset 0 -90px 70px -20px color-mix(in srgb, var(--fd-bg) 70%, transparent);
}

.adr__door[b-zpztrzpt04]  .adr__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adr--frosted .adr__door[b-zpztrzpt04]  .adr__img {
    filter: blur(10px) brightness(0.8);
    transform: scale(1.08);
}

.adr--thinning .adr__door[b-zpztrzpt04]  .adr__img {
    filter: blur(4px) brightness(0.85);
    transform: scale(1.04);
}

.adr__sign[b-zpztrzpt04] {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 96px;
    height: 108px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 8px 20px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent));
}

.adr__sign[b-zpztrzpt04]  .material-icons {
    font-size: 44px;
}

.adr__sill[b-zpztrzpt04] {
    position: relative;
    z-index: 2;
    width: calc(100% + 32px);
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--fd-gold-text), var(--fd-gold-darker));
    box-shadow: 0 0 30px color-mix(in srgb, var(--fd-ember) 55%, transparent);
}

@media not all and (min-width: 1024px) {
    .adr[b-zpztrzpt04] {
        padding: 40px 0 8px;
    }

    .adr__way[b-zpztrzpt04] {
        width: min(100%, 360px);
    }
}

@media (max-width: 480px) {
    .adr__way[b-zpztrzpt04] {
        width: min(100%, 310px);
    }

    .adr__door[b-zpztrzpt04] {
        border-radius: 50% 50% 14px 14px / 96px 96px 14px 14px;
    }

    .adr__sign[b-zpztrzpt04] {
        width: 72px;
        height: 82px;
    }

    .adr__sign[b-zpztrzpt04]  .material-icons {
        font-size: 34px;
    }
}
/* /Components/Pages/Auth/AuthHallPreview.razor.rz.scp.css */
/* The hall preview on the auth pages' art side (comps A-Signup, A-Confirm). Tokens only, canonical breakpoints. From
   1024px it fills the art column: Garrick at the top, the doorway (and the sign-up page's reasons) at the bottom.
   The sign-up page's row is a flex-wrap row (420 / 500px minimums) that sits the reasons beside the doorway whenever
   the column is wide enough for both; from 1280px the sign-up preview never does that (see the last block): it is one
   centred column at every wide width. 1024-1279px lays the sign-up art out in the shell's grid (auth.css). Below
   1024px the art follows the form: Garrick beside the doorway, the reasons under both; at 480px everything stacks. */

.ahp[b-az46vx8gza] {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    min-width: 0;
}

.ahp__row[b-az46vx8gza] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    min-width: 0;
}

.ahp__door[b-az46vx8gza] {
    flex: 1 1 420px;
    max-width: 520px;
    min-width: 0;
    margin-inline: auto;
}

.ahp:not(.ahp--extra) .ahp__door[b-az46vx8gza] {
    flex-basis: auto;
    width: min(100%, 460px);
}

/* One handed-over class stands alone in its own, narrower ring (A-Signup-1920: arriving from a class page). */
.ahp .ahp__door--one[b-az46vx8gza] {
    flex: 0 1 300px;
    max-width: 300px;
}

.ahp__extra[b-az46vx8gza] {
    flex: 1 1 500px;
    min-width: 0;
}

/* The doorway: a gold arch, warm light inside, the heroes standing on its sill. */
.ahp__arch[b-az46vx8gza] {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding: 26px 22px 0;
    border: 2px solid color-mix(in srgb, var(--fd-gold-dark) 70%, transparent);
    border-bottom: 0;
    border-radius: 50% 50% 0 0 / 70px 70px 0 0;
    background: radial-gradient(ellipse 80% 90% at 50% 100%,
        color-mix(in srgb, var(--fd-ember) 38%, transparent),
        color-mix(in srgb, var(--fd-ember) 8%, transparent) 60%,
        color-mix(in srgb, var(--fd-bg) 30%, transparent));
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--fd-gold-dark) 8%, transparent),
        0 0 60px color-mix(in srgb, var(--fd-ember) 25%, transparent);
}

/* The portraits shrink together when the doorway is narrow (a phone, the column beside Garrick); the two in the
   middle stand a little taller, as the comps draw them. */
.ahp__standee[b-az46vx8gza] {
    position: relative;
    flex: 0 1 84px;
    min-width: 0;
    aspect-ratio: 84 / 114;
    overflow: hidden;
    border: 2px solid var(--fd-cc);
    border-radius: 999px 999px 18px 18px;
    background: var(--fd-art-well);
    box-shadow: 0 0 22px color-mix(in srgb, var(--fd-cc) 30%, transparent);
}

.ahp__arch:not(.ahp__arch--one) .ahp__standee:nth-child(2)[b-az46vx8gza],
.ahp__arch:not(.ahp__arch--one) .ahp__standee:nth-child(3)[b-az46vx8gza] {
    flex-basis: 94px;
}

.ahp__arch--one .ahp__standee[b-az46vx8gza] {
    flex-basis: 128px;
    border-width: 3px;
}

/* The bottom of each portrait fades into the doorway's floor. */
.ahp__standee[b-az46vx8gza]::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fd-bg) 80%, transparent));
}

.ahp__standee[b-az46vx8gza]  .ahp__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ahp__sill[b-az46vx8gza] {
    height: 8px;
    margin: 0 -10px;
    border-radius: 5px;
    background: linear-gradient(180deg, var(--fd-gold-text), var(--fd-gold-darker));
    box-shadow: 0 0 24px color-mix(in srgb, var(--fd-ember) 50%, transparent);
}

/* One column (the art follows the form): Garrick beside the doorway, the reasons under both. */
@media not all and (min-width: 1024px) {
    .ahp[b-az46vx8gza] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "voice door"
            "extra extra";
        align-items: center;
        gap: 24px;
    }

    .ahp:not(.ahp--extra)[b-az46vx8gza] {
        grid-template-areas: "voice door";
    }

    .ahp__row[b-az46vx8gza] {
        display: contents;
    }

    .ahp[b-az46vx8gza]  .ahp__voice {
        grid-area: voice;
    }

    .ahp__door[b-az46vx8gza] {
        grid-area: door;
        width: 100%;
        max-width: 420px;
    }

    .ahp__arch[b-az46vx8gza] {
        gap: 8px;
        padding: 22px 16px 0;
    }

    .ahp__extra[b-az46vx8gza] {
        grid-area: extra;
    }
}

@media (max-width: 480px) {
    .ahp[b-az46vx8gza] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "voice"
            "door"
            "extra";
        gap: 20px;
    }

    .ahp:not(.ahp--extra)[b-az46vx8gza] {
        grid-template-areas:
            "voice"
            "door";
    }

    .ahp__door[b-az46vx8gza] {
        max-width: none;
    }

    .ahp__arch[b-az46vx8gza] {
        gap: 6px;
        padding: 18px 12px 0;
        border-radius: 50% 50% 0 0 / 54px 54px 0 0;
    }
}

/* The sign-up preview from 1280px: one centred column at every width, as the 1366-1440px look draws it (A-Signup-1366).
   The art column keeps growing with the window (586px at 1366, half the page past 1560px, auth.css), and the flex-wrap
   row would sit the doorway and "Why Join" side by side, spread out, once both fit. Here the row is a single grid
   column instead (the doorway over the reasons, keeping the doorway's own max width), and the whole preview (Garrick,
   doorway, reasons) is capped at 640px and centred in the column. The other auth pages keep their layout. */
@media (min-width: 1280px) {
    .ahp--extra[b-az46vx8gza] {
        width: 100%;
        max-width: 640px;
        margin-inline: auto;
    }

    .ahp--extra .ahp__row[b-az46vx8gza] {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        align-items: end;
    }

    .ahp--extra .ahp__door[b-az46vx8gza] {
        width: 100%;
    }

    .ahp--extra .ahp__extra[b-az46vx8gza] {
        width: 100%;
    }
}
/* /Components/Pages/Auth/ConfirmEmail.razor.rz.scp.css */
/* /confirm-email (comps A-Confirm-1366, A-Confirm-390). The shell, card, alerts and the done panel are the auth kit's;
   this sheet draws only the rarely seen "Confirming your email..." state (the link is usually checked before the page
   arrives): one gold ring, still under reduced motion. Tokens only. */

.ce-wait[b-lw39d73vc3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.ce-wait p[b-lw39d73vc3] {
    margin: 0;
    color: var(--fd-text-3);
}

.ce-wait__ring[b-lw39d73vc3] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--fd-gold) 25%, transparent);
    border-top-color: var(--fd-gold);
    animation: ce-spin-b-lw39d73vc3 0.8s linear infinite;
}

@keyframes ce-spin-b-lw39d73vc3 {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ce-wait__ring[b-lw39d73vc3] {
        animation: none;
    }
}
/* /Components/Pages/Auth/Login.razor.rz.scp.css */
/* /login (comps A-Login-1366, A-Login-390). The shell, the card and the fields are the auth kit's; this sheet only
   lays out the page's own row (Remember me | Forgot password?) and the resend inside the unconfirmed error. Tokens
   only, canonical breakpoints, nothing moves. */

.lg-row[b-be9mscd9b5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.lg-row[b-be9mscd9b5]  .fd-check {
    align-items: center;
}

.lg-forgot[b-be9mscd9b5] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-gold-text);
    text-decoration: none;
}

.lg-forgot:hover[b-be9mscd9b5] {
    color: var(--fd-gold);
}

/* "Send it again" sits under the message, inside the unconfirmed error (A-Login: Email not confirmed yet). */
.lg-resend[b-be9mscd9b5] {
    display: flex;
    margin-top: 10px;
}

.lg-resend .fd-btn[b-be9mscd9b5] {
    color: var(--fd-text);
}
/* /Components/Pages/Auth/ResetPassword.razor.rz.scp.css */
/* /reset-password (comps A-Reset-1366, A-Reset-390). The shell, card, fields and alerts are the auth kit's; this sheet
   only frames the requirement rows under their shipped label ("Password Requirements:"). Tokens only. */

.rp-reqs[b-w25u27kobd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.rp-reqs__title[b-w25u27kobd] {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

/* The rows sit in this frame, so the kit's own frame steps back. */
.rp-reqs[b-w25u27kobd]  .fd-reqs {
    padding: 0;
    border: 0;
    background: none;
}
/* /Components/Pages/Auth/Signup.razor.rz.scp.css */
/* /signup (comps A-Signup-1920/1366/1024/768/390). The shell, card, fields, steps, alerts and the done panel are the
   auth kit's; this sheet lays out the page's own parts: the password pair, the hint row,
   and the "Why Join Lourdin RPG?" glass panel on the art side. Tokens only, canonical breakpoints. */

/* ---- The form ---- */

/* Password and Confirm Password side by side (A-Signup-1366); one under the other at 480px. */
.su-pair[b-jiepl7sjeg] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 16px 14px;
}

/* Side by side the pair's boxes are narrow: the comps set their text at 15px so "Repeat your password" fits (phones
   keep 16px, under which iOS would zoom into the field). */
@media not all and (max-width: 480px) {
    .su-pair[b-jiepl7sjeg]  .fd-field__input {
        font-size: 15px;
    }
}

/* The shipped hint and the live check on one row (D8: both kept). */
.su-ready[b-jiepl7sjeg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: -6px;
}

.su-ready__hint[b-jiepl7sjeg] {
    margin: 0;
    font-size: 12.5px;
    color: var(--fd-text-4);
}

/* The steps strip: on a phone, and once the account exists, only the current step keeps its words in sight (the
   others keep them for screen readers), as the 768 and 390 boards draw it. */
@media (max-width: 480px) {
    .su-steps[b-jiepl7sjeg]  .fd-steps__item:not(.is-now) .fd-steps__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .su-steps--done[b-jiepl7sjeg]  .fd-steps__item:not(.is-now) .fd-steps__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

/* ---- Check Your Email! ---- */
.su-done__note[b-jiepl7sjeg] {
    font-size: 13.5px;
    color: var(--fd-text-4);
}

.su-done__help[b-jiepl7sjeg] {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12.5px;
    color: var(--fd-text-4);
}

.su-done__help[b-jiepl7sjeg]  .material-icons {
    font-size: 16px;
    margin-top: 2px;
}

/* ---- Registration closed ---- */
.su-lock[b-jiepl7sjeg] {
    width: 48px;
    height: 54px;
}

/* ---- Why Join Lourdin RPG? (the art side, in glass over the street) ---- */
.su-why[b-jiepl7sjeg] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
}

.su-why__title[b-jiepl7sjeg] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 20px;
    color: var(--fd-cream-2);
}

.su-why__list[b-jiepl7sjeg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.su-why__item[b-jiepl7sjeg] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.su-why__ic[b-jiepl7sjeg] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    background: color-mix(in srgb, var(--fd-gold) 9%, transparent);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 30%, transparent);
    color: var(--fd-gold-text);
}

.su-why__ic[b-jiepl7sjeg]  .material-icons {
    font-size: 19px;
}

.su-why__item strong[b-jiepl7sjeg] {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--fd-text);
}

.su-why__item p[b-jiepl7sjeg] {
    margin: 2px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

.su-why__ftp[b-jiepl7sjeg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--fd-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-text-2);
}

.su-why__ftp p[b-jiepl7sjeg] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.su-why__ftp[b-jiepl7sjeg]  .material-icons {
    font-size: 16px;
    color: var(--fd-good);
}

/* From 1024 to 1279px the reasons sit in a full-width row under the form and the art (auth.css places it), four
   in one row (A-Signup-1024). */
@media (min-width: 1024px) {
    @media not all and (min-width: 1280px) {
        .su-why[b-jiepl7sjeg] {
            padding: 22px 26px;
        }

        .su-why__list[b-jiepl7sjeg] {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }
}

/* Under the form (below 1024px) the reasons stay two by two (A-Signup-768) and go one by one on a phone (A-Signup-390). */
@media not all and (min-width: 1024px) {
    .su-why[b-jiepl7sjeg] {
        padding: 22px 24px;
    }
}

@media (max-width: 768px) {
    .su-why[b-jiepl7sjeg] {
        padding: 18px 16px;
    }
}

@media (max-width: 480px) {
    .su-pair[b-jiepl7sjeg] {
        grid-template-columns: minmax(0, 1fr);
    }

    .su-why__list[b-jiepl7sjeg] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Blog/BlogIndex.razor.rz.scp.css */
/* /blog and /blog/page/{n} (comps A-Blog-1366 / A-Blog-390). Tokens only, canonical breakpoints only. */

/* ---------- The opening: the copy, and the filters on glass ---------- */
.fd-blog-hero__in[b-muy2ixyyqu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    padding-top: clamp(24px, 3vw, 44px);
    padding-bottom: clamp(48px, 5vw, 80px);
}

.fd-blog-hero__copy[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.fd-blog-hero__copy h1[b-muy2ixyyqu] {
    text-shadow: 0 4px 24px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

.fd-blog-hero__lead[b-muy2ixyyqu] {
    color: var(--fd-text-2);
    text-shadow: 0 1px 12px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent);
}

.fd-blog-rss[b-muy2ixyyqu] {
    margin-top: 4px;
}

/* The feed icon leads the link (A-Blog) and stays put; only the arrow nudges on hover. */
.fd-blog-rss[b-muy2ixyyqu]  .material-icons:first-child {
    transform: none;
}

.fd-blog-filters[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 22px;
}

/* Each row: the label in its own column, the chips wrapping in theirs (A-Blog-1366). The chips' wrapper is a span, so
   the label and its chips stay one run of text in the HTML, as they shipped; here it is a flex box. */
.fd-blog-filters__group[b-muy2ixyyqu] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.fd-blog-filters__chips[b-muy2ixyyqu] {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.fd-blog-filters__label[b-muy2ixyyqu] {
    flex: 0 0 72px;
    /* Centres the label on the first row of chips (36px tall). */
    padding-top: 11px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-blog-chip[b-muy2ixyyqu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--fd-line-strong);
    background: color-mix(in srgb, var(--fd-bg) 55%, transparent);
    color: var(--fd-text-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease-out, color 0.15s ease-out;
}

.fd-blog-chip:hover[b-muy2ixyyqu] {
    border-color: color-mix(in srgb, var(--fd-gold) 55%, transparent);
    color: var(--fd-text);
}

.fd-blog-chip[b-muy2ixyyqu]  .material-icons {
    font-size: 16px;
    color: var(--fd-gold-text);
}

.fd-blog-chip.is-active[b-muy2ixyyqu] {
    border-color: var(--fd-line-gold-strong);
    background: color-mix(in srgb, var(--fd-warn-deep) 38%, transparent);
    color: var(--fd-gold-soft);
}

.fd-blog-chip__count[b-muy2ixyyqu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 2px;
    padding: 0 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fd-text-4) 18%, transparent);
    color: var(--fd-text-3);
    font-size: 11px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* ---------- The local-only content check ---------- */
.fd-blog-dev[b-muy2ixyyqu] {
    padding-top: 24px;
}

.fd-blog-dev__box[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.fd-blog-dev__title[b-muy2ixyyqu] {
    font-size: 15px;
    font-weight: 700;
    color: var(--fd-text);
}

.fd-blog-dev__list[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-wrap: anywhere;
}

/* ---------- The posts ---------- */
.fd-blog-list[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: clamp(24px, 2.4vw, 40px);
}

.fd-blog-status[b-muy2ixyyqu] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 12px 16px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: var(--fd-surface);
    font-size: 15px;
    color: var(--fd-text-2);
}

.fd-blog-status a[b-muy2ixyyqu] {
    color: var(--fd-gold-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fd-blog-grid[b-muy2ixyyqu] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* A lone last card spans the row, so the grid never leaves one card on its own. */
.fd-blog-grid[b-muy2ixyyqu]  > .fd-post-card:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
}

.fd-blog-empty[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
    padding: 36px 28px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line-gold);
    text-align: center;
    color: var(--fd-text-3);
}

.fd-blog-empty__title[b-muy2ixyyqu] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    color: var(--fd-cream-2);
}

/* ---------- Pages ---------- */
.fd-blog-pages[b-muy2ixyyqu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
}

.fd-blog-pages__row[b-muy2ixyyqu] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.fd-blog-pages__link[b-muy2ixyyqu] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text-2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

a.fd-blog-pages__link:hover[b-muy2ixyyqu] {
    border-color: color-mix(in srgb, var(--fd-gold) 55%, transparent);
    color: var(--fd-text);
}

.fd-blog-pages__link.is-current[b-muy2ixyyqu] {
    border-color: transparent;
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
}

.fd-blog-pages__link.is-disabled[b-muy2ixyyqu] {
    border-style: dashed;
    color: var(--fd-text-5);
    background: transparent;
}

.fd-blog-pages__link[b-muy2ixyyqu]  .material-icons {
    font-size: 18px;
}

.fd-blog-pages__gap[b-muy2ixyyqu] {
    color: var(--fd-text-4);
}

.fd-blog-pages__status[b-muy2ixyyqu] {
    font-size: 13px;
    color: var(--fd-text-4);
}

/* ---------- Guides and the hearth ---------- */
.fd-blog-guides[b-muy2ixyyqu] {
    padding-top: var(--fd-sec);
    padding-bottom: calc(var(--fd-sec) * 0.6);
}

.fd-blog-guides__grid[b-muy2ixyyqu] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fd-blog-final[b-muy2ixyyqu] {
    padding-bottom: var(--fd-sec);
}

/* ---------- Tiers ---------- */
@media not all and (min-width: 1280px) {
    .fd-blog-hero__in[b-muy2ixyyqu] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    }

    .fd-blog-guides__grid[b-muy2ixyyqu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .fd-blog-hero__in[b-muy2ixyyqu] {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .fd-blog-filters[b-muy2ixyyqu] {
        max-width: 640px;
    }

    .fd-blog-grid[b-muy2ixyyqu] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fd-blog-grid[b-muy2ixyyqu]  > .fd-post-card:last-child:nth-child(3n + 1) {
        grid-column: auto;
    }

    .fd-blog-grid[b-muy2ixyyqu]  > .fd-post-card:last-child:nth-child(2n + 1) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .fd-blog-filters[b-muy2ixyyqu] {
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    /* Phones (A-Blog-390): the label over its row, and each row of chips scrolls sideways to the screen's edge; every
       chip stays a link in the HTML. */
    .fd-blog-filters__group[b-muy2ixyyqu] {
        flex-direction: column;
        gap: 8px;
    }

    .fd-blog-filters__chips[b-muy2ixyyqu] {
        flex-wrap: nowrap;
        align-self: stretch;
        margin-right: calc(var(--fd-gutter) * -1);
        padding-right: var(--fd-gutter);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .fd-blog-filters__chips[b-muy2ixyyqu]::-webkit-scrollbar {
        display: none;
    }

    .fd-blog-filters__label[b-muy2ixyyqu] {
        flex: 0 0 auto;
        padding-top: 0;
    }

    .fd-blog-chip[b-muy2ixyyqu] {
        min-height: 44px;
    }

    .fd-blog-grid[b-muy2ixyyqu] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-blog-grid[b-muy2ixyyqu]  > .fd-post-card:last-child:nth-child(2n + 1) {
        grid-column: auto;
    }

    .fd-blog-guides__grid[b-muy2ixyyqu] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-blog-pages__step[b-muy2ixyyqu] {
        padding: 0 10px;
    }
}

@media (pointer: coarse) {
    .fd-blog-chip[b-muy2ixyyqu] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-blog-chip[b-muy2ixyyqu] {
        transition: none;
    }
}
/* /Components/Pages/Blog/BlogPostCard.razor.rz.scp.css */
/* One post as one link card (comps A-Blog / A-Post). Tokens only, canonical breakpoints only. */
.fd-post-card[b-j4cw5o5y36] {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    min-width: 0;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.fd-post-card:hover[b-j4cw5o5y36] {
    border-color: var(--fd-line-gold-strong);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--fd-shadow-ink) 40%, transparent);
}

.fd-post-card:focus-visible[b-j4cw5o5y36] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 3px;
}

/* A text card wears the in-game gold top rule. */
.fd-post-card--text[b-j4cw5o5y36] {
    box-shadow: inset 0 3px 0 var(--fd-gold-dark);
}

.fd-post-card--text:hover[b-j4cw5o5y36] {
    box-shadow: inset 0 3px 0 var(--fd-gold), 0 16px 36px color-mix(in srgb, var(--fd-shadow-ink) 40%, transparent);
}

.fd-post-card__art[b-j4cw5o5y36] {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fd-art-well);
    border-bottom: 1px solid var(--fd-line);
}

.fd-post-card__art img[b-j4cw5o5y36] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fd-post-card__plate[b-j4cw5o5y36] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(ellipse 70% 70% at 50% 45%, color-mix(in srgb, var(--fd-gold) 14%, transparent), transparent),
        var(--fd-panel);
    border-bottom: 1px solid var(--fd-line);
}

.fd-post-card__plate img[b-j4cw5o5y36] {
    width: 72px;
    height: 72px;
}

.fd-post-card__plate span[b-j4cw5o5y36] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.28em;
    color: var(--fd-gold-text);
}

.fd-post-card__body[b-j4cw5o5y36] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 12px;
    padding: 20px 20px 16px;
    min-width: 0;
}

.fd-post-card__meta[b-j4cw5o5y36] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-post-card__draft[b-j4cw5o5y36] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fd-bad) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 45%, transparent);
    color: var(--fd-bad-ink);
}

.fd-post-card__title[b-j4cw5o5y36] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.22;
    color: var(--fd-cream-2);
    text-wrap: balance;
}

.fd-post-card__excerpt[b-j4cw5o5y36] {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.fd-post-card__cta[b-j4cw5o5y36] {
    margin-top: auto;
    align-self: flex-start;
}

/* A post tagged with a class shows that class's standing art in a small arch, top right. */
.fd-post-card__arch[b-j4cw5o5y36] {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 58px;
    height: 70px;
    overflow: hidden;
    border-radius: var(--fd-r-arch);
    border: 2px solid color-mix(in srgb, var(--fd-cc) 75%, transparent);
    background: radial-gradient(ellipse 80% 70% at 50% 100%, color-mix(in srgb, var(--fd-cc) 35%, transparent), var(--fd-art-well));
}

.fd-post-card__arch img[b-j4cw5o5y36] {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 2px;
}

.fd-post-card__arch ~ .fd-post-card__meta[b-j4cw5o5y36],
.fd-post-card__arch ~ .fd-post-card__title[b-j4cw5o5y36],
.fd-post-card__arch ~ .fd-post-card__excerpt[b-j4cw5o5y36] {
    padding-right: 70px;
}

/* The lead: the art (or the brand plate) beside the words. */
.fd-post-card--lead[b-j4cw5o5y36] {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    border-color: var(--fd-line-gold-strong);
}

.fd-post-card--lead .fd-post-card__art[b-j4cw5o5y36],
.fd-post-card--lead .fd-post-card__plate[b-j4cw5o5y36] {
    aspect-ratio: auto;
    min-height: 100%;
    border-bottom: none;
    border-right: 1px solid var(--fd-line);
}

.fd-post-card--lead .fd-post-card__body[b-j4cw5o5y36] {
    justify-content: center;
    gap: 16px;
    padding: 32px 36px;
}

.fd-post-card--lead .fd-post-card__title[b-j4cw5o5y36] {
    font-size: clamp(24px, 2.2vw, 32px);
}

.fd-post-card--lead .fd-post-card__excerpt[b-j4cw5o5y36] {
    font-size: 16px;
}

.fd-post-card--lead .fd-post-card__cta[b-j4cw5o5y36] {
    margin-top: 4px;
}

@media (max-width: 768px) {
    .fd-post-card--lead[b-j4cw5o5y36] {
        display: flex;
    }

    .fd-post-card--lead .fd-post-card__art[b-j4cw5o5y36],
    .fd-post-card--lead .fd-post-card__plate[b-j4cw5o5y36] {
        aspect-ratio: 16 / 9;
        min-height: 0;
        border-right: none;
        border-bottom: 1px solid var(--fd-line);
    }

    .fd-post-card--lead .fd-post-card__body[b-j4cw5o5y36] {
        padding: 18px 16px 14px;
        gap: 12px;
    }

    .fd-post-card__body[b-j4cw5o5y36] {
        padding: 18px 16px 14px;
    }

    .fd-post-card__title[b-j4cw5o5y36] {
        font-size: 19px;
    }

    .fd-post-card__cta[b-j4cw5o5y36] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-post-card[b-j4cw5o5y36] {
        transition: none;
    }
}
/* /Components/Pages/Blog/BlogPostNotFound.razor.rz.scp.css */
/* The blog's not-found state: a quiet band, centered. Tokens only. */
.fd-blog-notfound[b-j0won9u8ua] {
    padding: clamp(56px, 7vw, 112px) 0 clamp(64px, 8vw, 128px);
    background:
        radial-gradient(ellipse 60% 70% at 50% 0%, color-mix(in srgb, var(--fd-gold) 8%, transparent), transparent 70%),
        var(--fd-bg);
    border-bottom: 1px solid var(--fd-line);
}

.fd-blog-notfound__in[b-j0won9u8ua] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    text-align: center;
}

.fd-blog-notfound__mark[b-j0won9u8ua] {
    margin-bottom: 4px;
}

.fd-blog-notfound__acts[b-j0won9u8ua] {
    justify-content: center;
    margin-top: 8px;
}
/* /Components/Pages/Blog/BlogPostPage.razor.rz.scp.css */
/* /blog/{slug} (comps A-Post-1366 / A-Post-390). Tokens only, canonical breakpoints only, no content glyphs.
   The Markdown body is the renderer's HTML (no scope attribute), so it is reached with ::deep under .fd-post-article. */

/* ---------- The band ---------- */
.fd-post-band[b-bsvpbafk49] {
    padding: clamp(24px, 3vw, 44px) 0 clamp(40px, 4.4vw, 64px);
    background:
        radial-gradient(ellipse 50% 80% at 80% 30%, color-mix(in srgb, var(--fd-ember) 8%, transparent), transparent 70%),
        linear-gradient(180deg, var(--fd-bar), var(--fd-bg));
}

.fd-post-band__in[b-bsvpbafk49] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.fd-post-band--art .fd-post-band__in[b-bsvpbafk49] {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

/* No hero art to stand beside: the title and the lead take the band's whole width. */
.fd-post-band:not(.fd-post-band--art) .fd-post-band__copy[b-bsvpbafk49],
.fd-post-band:not(.fd-post-band--art) .fd-post-band__lead[b-bsvpbafk49] {
    max-width: none;
}

.fd-post-band__copy[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    max-width: 780px;
}

.fd-post-band__kicker[b-bsvpbafk49] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fd-post-band__type[b-bsvpbafk49] {
    min-height: 30px;
    padding: 0 12px;
    text-decoration: none;
}

.fd-post-band__type:hover[b-bsvpbafk49] {
    border-color: var(--fd-gold);
}

.fd-post-band__draft[b-bsvpbafk49] {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fd-bad) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 45%, transparent);
    color: var(--fd-bad-ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fd-post-band__title[b-bsvpbafk49] {
    font-size: calc(var(--fd-h1) * 0.86);
}

.fd-post-band__lead[b-bsvpbafk49] {
    color: var(--fd-text-2);
}

.fd-post-band__meta[b-bsvpbafk49] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    font-size: 14px;
    color: var(--fd-text-3);
}

.fd-post-band__meta-item[b-bsvpbafk49] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fd-post-band__meta-item[b-bsvpbafk49]  .material-icons {
    font-size: 18px;
    color: var(--fd-gold-text);
}

.fd-post-band__meta strong[b-bsvpbafk49] {
    color: var(--fd-text);
}

.fd-post-band__note[b-bsvpbafk49] {
    flex: 1 1 100%;
    max-width: 62ch;
    padding-left: 14px;
    border-left: 2px solid var(--fd-gold-dark);
    font-size: 14px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.fd-post-band__tags[b-bsvpbafk49] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-post-tag[b-bsvpbafk49] {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.fd-post-tag:hover[b-bsvpbafk49] {
    border-color: color-mix(in srgb, var(--fd-gold) 55%, transparent);
    color: var(--fd-text);
}

.fd-post-band__figure[b-bsvpbafk49] {
    margin: 0;
    padding: 14px;
    border-radius: var(--fd-r-glass);
    border: 1px solid var(--fd-line-gold-strong);
    background: color-mix(in srgb, var(--fd-panel) 80%, transparent);
    box-shadow: 0 0 60px color-mix(in srgb, var(--fd-ember) 14%, transparent), var(--fd-shadow);
}

.fd-post-band__figure img[b-bsvpbafk49] {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* A post about a class with no hero art: the class's standing art in an arch. */
.fd-post-band__arch[b-bsvpbafk49] {
    justify-self: center;
    width: min(240px, 100%);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--fd-r-arch);
    border: 2px solid color-mix(in srgb, var(--fd-cc) 75%, transparent);
    background: radial-gradient(ellipse 80% 70% at 50% 100%, color-mix(in srgb, var(--fd-cc) 38%, transparent), var(--fd-art-well));
    box-shadow: 0 0 60px color-mix(in srgb, var(--fd-cc) 20%, transparent);
}

.fd-post-band__arch img[b-bsvpbafk49] {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- The read ---------- */
.fd-post-main[b-bsvpbafk49] {
    padding-top: clamp(28px, 3vw, 48px);
    padding-bottom: clamp(24px, 3vw, 48px);
}

.fd-post-solo[b-bsvpbafk49] {
    max-width: 760px;
    margin: 0 auto;
}

.fd-post-body[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.fd-post-body__tldr[b-bsvpbafk49] {
    max-width: 680px;
}

.fd-post-body__tldr p[b-bsvpbafk49] {
    margin: 0;
}

.fd-post-body__tldr strong[b-bsvpbafk49] {
    color: var(--fd-gold-soft);
}

/* The rail card: the byline's mark, the author, and the one action. */
.fd-post-railcard[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-gold);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 7%, transparent), var(--fd-surface));
}

.fd-post-railcard__head[b-bsvpbafk49] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fd-post-railcard__mark[b-bsvpbafk49] {
    display: flex;
    flex: none;
}

.fd-post-railcard__name[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    font-size: 12.5px;
    color: var(--fd-text-4);
}

.fd-post-railcard__who[b-bsvpbafk49] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--fd-cream-2);
}

.fd-post-railcard[b-bsvpbafk49]  .fd-post-railcard__cta {
    min-height: 48px;
    padding: 8px 12px;
}

/* One line, as the class pages' rail button and A-Post-1366 draw it: no arrow in the narrow rail. */
.fd-post-railcard[b-bsvpbafk49]  .fd-post-railcard__cta .fd-cta__label {
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fd-post-railcard[b-bsvpbafk49]  .fd-post-railcard__cta .material-icons {
    display: none;
}

.fd-post-railcard__note[b-bsvpbafk49] {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--fd-text-4);
}

/* ---------- The Markdown body: EB Garamond at a comfortable measure; captures break out to the column ---------- */
.fd-post-article[b-bsvpbafk49] {
    font-family: var(--fd-font-voice);
    font-size: 20px;
    line-height: 1.62;
    color: var(--fd-text-2);
    overflow-wrap: break-word;
    min-width: 0;
}

/* 680px keeps 20px type at a comfortable line; from 1280px the read sits between two rails (FdTocLayout's far rail,
   at most 778px wide) and the cap rises to 800px so it fills that column. */
.fd-post-article[b-bsvpbafk49]  > * {
    max-width: 680px;
    margin: 0 0 1em;
}

.fd-post-article[b-bsvpbafk49]  > :last-child {
    margin-bottom: 0;
}

/* The opening paragraph's first letter, as the comps draw it. */
.fd-post-article[b-bsvpbafk49]  > p:first-child::first-letter {
    float: left;
    margin: 0.06em 0.1em 0 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 3.4em;
    line-height: 0.82;
    color: var(--fd-gold);
}

.fd-post-article[b-bsvpbafk49]  :is(h2, h3, h4) {
    font-family: var(--fd-font-display);
    color: var(--fd-cream-2);
    scroll-margin-top: calc(var(--fd-bar-h) + 16px);
}

.fd-post-article[b-bsvpbafk49]  h2 {
    margin: 1.8em 0 0.5em;
    font-weight: 800;
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.22;
}

.fd-post-article[b-bsvpbafk49]  h3 {
    margin: 1.5em 0 0.4em;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.3;
}

.fd-post-article[b-bsvpbafk49]  h4 {
    margin: 1.4em 0 0.4em;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fd-post-article[b-bsvpbafk49]  a {
    color: var(--fd-gold-text);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 45%, transparent);
    text-underline-offset: 3px;
}

.fd-post-article[b-bsvpbafk49]  a:hover {
    color: var(--fd-gold);
    text-decoration-color: var(--fd-gold);
}

.fd-post-article[b-bsvpbafk49]  strong {
    color: var(--fd-cream-2);
}

.fd-post-article[b-bsvpbafk49]  mark {
    padding: 0 0.2em;
    border-radius: 2px;
    background: color-mix(in srgb, var(--fd-gold) 24%, transparent);
    color: var(--fd-cream-2);
}

.fd-post-article[b-bsvpbafk49]  :is(ul, ol) {
    padding-left: 1.4em;
}

.fd-post-article[b-bsvpbafk49]  ul {
    list-style: none;
    padding-left: 1.5em;
}

.fd-post-article[b-bsvpbafk49]  ol {
    list-style: decimal;
}

.fd-post-article[b-bsvpbafk49]  li {
    position: relative;
    margin: 0.4em 0;
}

/* The hex bullet, drawn (never a glyph). */
.fd-post-article[b-bsvpbafk49]  ul > li::before {
    content: "";
    position: absolute;
    left: -1.25em;
    top: 0.62em;
    width: 9px;
    height: 10px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
}

.fd-post-article[b-bsvpbafk49]  ol > li::marker {
    color: var(--fd-gold-text);
    font-family: var(--fd-font-display);
    font-weight: 700;
}

.fd-post-article[b-bsvpbafk49]  blockquote {
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--fd-gold-dark);
    font-style: italic;
    color: var(--fd-cream-2);
}

.fd-post-article[b-bsvpbafk49]  code {
    padding: 0.1em 0.35em;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 18%, transparent);
    background: color-mix(in srgb, var(--fd-gold) 8%, transparent);
    font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
    font-size: 0.8em;
    color: var(--fd-gold-soft);
}

.fd-post-article[b-bsvpbafk49]  pre {
    max-width: none;
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: var(--fd-panel);
    line-height: 1.55;
}

.fd-post-article[b-bsvpbafk49]  pre code {
    padding: 0;
    border: 0;
    background: none;
    font-size: 14px;
    color: var(--fd-text-2);
    white-space: pre;
}

/* A capture breaks out to the full column; a portrait one stays within reach of the eye. */
.fd-post-article[b-bsvpbafk49]  > p:has(> img:only-child) {
    max-width: none;
    margin: 1.4em 0;
}

.fd-post-article[b-bsvpbafk49]  img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-art-well);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--fd-shadow-ink) 45%, transparent);
}

/* Tables scroll inside their own box rather than widening the page. */
.fd-post-article[b-bsvpbafk49]  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--fd-panel) 70%, transparent);
    font-family: var(--fd-font-ui);
    font-size: 15px;
    line-height: 1.5;
}

.fd-post-article[b-bsvpbafk49]  th {
    padding: 12px 14px;
    background: var(--fd-surface-strong);
    border-bottom: 1px solid var(--fd-line);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: left;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-post-article[b-bsvpbafk49]  td {
    padding: 11px 14px;
    vertical-align: top;
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 10%, transparent);
    color: var(--fd-text-3);
}

.fd-post-article[b-bsvpbafk49]  hr {
    height: 1px;
    margin: 2.2em 0;
    border: 0;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fd-gold) 45%, transparent), transparent);
}

/* The three containers the content linter allows: ::: callout, tip and warning. */
.fd-post-article[b-bsvpbafk49]  :is(.callout, .tip, .warning) {
    padding: 16px 20px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-gold-strong);
    border-left-width: 4px;
    background: color-mix(in srgb, var(--fd-gold) 6%, var(--fd-panel));
    font-family: var(--fd-font-ui);
    font-size: 16px;
    line-height: 1.6;
}

.fd-post-article[b-bsvpbafk49]  .tip {
    border-color: color-mix(in srgb, var(--fd-good) 45%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 22%, var(--fd-panel));
}

.fd-post-article[b-bsvpbafk49]  .warning {
    border-color: color-mix(in srgb, var(--fd-warn) 45%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 26%, var(--fd-panel));
}

.fd-post-article[b-bsvpbafk49]  :is(.callout, .tip, .warning) > :last-child {
    margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.fd-post-faq[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    padding-top: clamp(28px, 3vw, 44px);
    border-top: 1px solid var(--fd-line);
}

.fd-post-faq[b-bsvpbafk49]  .fd-faq__a a {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Newer, older and related ---------- */
.fd-post-more[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 3.4vw, 56px);
    padding-top: clamp(16px, 2vw, 32px);
    padding-bottom: clamp(32px, 3.4vw, 56px);
}

.fd-post-adjacent[b-bsvpbafk49] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fd-post-adjacent__link[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 22px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
}

.fd-post-adjacent__link:hover[b-bsvpbafk49] {
    border-color: var(--fd-line-gold-strong);
}

.fd-post-adjacent__link--older[b-bsvpbafk49] {
    grid-column: 2;
    align-items: flex-end;
    text-align: right;
}

.fd-post-adjacent__label[b-bsvpbafk49] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--fd-gold-text);
}

.fd-post-adjacent__label[b-bsvpbafk49]  .material-icons {
    font-size: 17px;
}

.fd-post-adjacent__title[b-bsvpbafk49] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 17px;
    line-height: 1.3;
    color: var(--fd-cream-2);
}

.fd-post-related[b-bsvpbafk49] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fd-post-final[b-bsvpbafk49] {
    padding-bottom: var(--fd-sec);
}

.fd-post-sticky-mark[b-bsvpbafk49] {
    display: flex;
}

/* ---------- Tiers ---------- */
@media (max-width: 1024px) {
    .fd-post-band--art .fd-post-band__in[b-bsvpbafk49] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-post-band__figure[b-bsvpbafk49] {
        max-width: 680px;
    }

    .fd-post-band__arch[b-bsvpbafk49] {
        display: none;
    }
}

@media (max-width: 768px) {
    .fd-post-band__title[b-bsvpbafk49] {
        font-size: var(--fd-h1);
    }

    /* A-Post-390: the trail keeps one line and the post's title ends in an ellipsis there (the whole title is the h1
       right below, and stays in the HTML). */
    .fd-post-band__copy[b-bsvpbafk49]  .fd-post-band__crumbs {
        align-self: stretch;
    }

    .fd-post-band__copy[b-bsvpbafk49]  .fd-post-band__crumbs ol {
        flex-wrap: nowrap;
    }

    .fd-post-band__copy[b-bsvpbafk49]  .fd-post-band__crumbs li[aria-current] {
        display: block;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .fd-post-band__meta[b-bsvpbafk49] {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 13.5px;
    }

    .fd-post-band__figure[b-bsvpbafk49] {
        padding: 10px;
    }

    .fd-post-tag[b-bsvpbafk49] {
        min-height: 44px;
    }

    .fd-post-article[b-bsvpbafk49] {
        font-size: 18.5px;
    }

    .fd-post-article[b-bsvpbafk49]  > p:has(> img:only-child) {
        margin-left: calc(var(--fd-gutter) * -1);
        margin-right: calc(var(--fd-gutter) * -1);
    }

    .fd-post-article[b-bsvpbafk49]  > p > img:only-child {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .fd-post-adjacent[b-bsvpbafk49] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-post-adjacent__link--older[b-bsvpbafk49] {
        grid-column: 1;
    }
}

@media (pointer: coarse) {
    .fd-post-tag[b-bsvpbafk49],
    .fd-post-band__type[b-bsvpbafk49] {
        min-height: 44px;
    }
}

/* From 1280px the read sits between two rails and fills that column (see the measure note above). */
@media (min-width: 1280px) {
    .fd-post-body__tldr[b-bsvpbafk49],
    .fd-post-article[b-bsvpbafk49]  > * {
        max-width: 800px;
    }
}
/* /Components/Pages/Characters/Characters.razor.rz.scp.css */
/* The Hall of Heroes page (Docs/LRPG_HALL_OF_HEROES.md section 3; owner W1). The page places the sections and draws the
   header row; each section styles itself in its own scoped sheet under Components/Hall. Sections render in the spec's
   order, so the DOM (Tab, screen readers) follows it; the grid only places them. Tokens only; canonical breakpoints only
   (480 / 768 / 960 / 1024 / 1280). Drawer-free (MainLayout.IsDrawerFreePath); the page runs inside MainLayout's
   MudContainer (16px padding) and pads itself out to the comps' gutters (--hall-gutter). */

.hall-page[b-zy3wbuwm0q] {
    --hall-gutter: clamp(40px, 6.25vw - 40px, 64px);
    --hall-bleed: var(--hall-gutter);
    --hall-bleed-top: 16px;
    /* The 1280+ fold (A-1366, A-1280): the roster rail's box must end above it, under a banner too.
       --hall-fold-room is the height the fold leaves the showcase: the window less a banner, less everything else down
       to the rail's end (app bar, page top, header, the gaps and the rail: 452px with the 1280 card) and less the card's
       growth with the width (its portrait is 0.8 of a card 160 to 180px wide). The showcase follows it down to its
       floor (HallShowcase.razor.css); past the floor --hall-squeeze, up to 24px, (--hall-banner-room is 0 since the
       in-game menu's phase B retired the Alpha and active adventure banners)
       comes out of the gaps around the rail and the page's top (never the rail's bottom room, which holds the selected
       card's diamond). */
    --hall-showcase-floor: 246px;
    --hall-fold-room: calc(100vh - 452px - var(--hall-banner-room, 0px) - clamp(0px, 5vw - 64px, 16px));
    --hall-squeeze: clamp(0px, var(--hall-showcase-floor) - var(--hall-fold-room), 24px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "header"
        "banner"
        "showcase"
        "roster"
        "full"
        "lower"
        "resting"
        "departed";
    padding: calc(4px - clamp(0px, var(--hall-squeeze) - 20px, 4px)) calc(var(--hall-gutter) - 16px) var(--space-lg);
}

.hall-page--first-visit[b-zy3wbuwm0q] {
    grid-template-areas:
        "first-visit"
        "departed";
    padding-top: 0;
}

/* Spacing is each area's top margin, not a grid gap, so an absent section leaves no gap. */
.hall-area[b-zy3wbuwm0q] {
    --hall-space: 14px;
    min-width: 0;
    margin-top: var(--hall-space);
}

.hall-area--header[b-zy3wbuwm0q] { grid-area: header; margin-top: 0; }
.hall-area--banner[b-zy3wbuwm0q] { grid-area: banner; }
.hall-banners[b-zy3wbuwm0q] { display: flex; flex-direction: column; gap: 10px; }
/* The squeeze (above) takes up to 10px over the rail, then 6px under the header, 4px in the rail (HallRosterRail.razor.css)
   and 4px at the page's top. */
.hall-area--showcase[b-zy3wbuwm0q] { grid-area: showcase; --hall-space: calc(14px - clamp(0px, var(--hall-squeeze) - 10px, 6px)); }
.hall-area--roster[b-zy3wbuwm0q] { grid-area: roster; --hall-space: calc(18px - clamp(0px, var(--hall-squeeze), 10px)); }
.hall-area--full[b-zy3wbuwm0q] { grid-area: full; }
.hall-area--lower[b-zy3wbuwm0q] { grid-area: lower; --hall-space: 28px; }
.hall-area--resting[b-zy3wbuwm0q] { grid-area: resting; --hall-space: 28px; }
.hall-area--departed[b-zy3wbuwm0q] { grid-area: departed; --hall-space: 28px; }
.hall-area--first-visit[b-zy3wbuwm0q] { grid-area: first-visit; margin-top: 0; }

.hall-page--first-visit .hall-area--departed[b-zy3wbuwm0q] {
    max-width: 1270px;
}

/* ---- Header: "Your heroes", the slot pips, the Premium chip, sort, Create hero ---- */

.hall-header[b-zy3wbuwm0q] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hall-title[b-zy3wbuwm0q] {
    margin: 0;
    color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    font-family: var(--font-display);
    font-size: calc(clamp(24px, 0.94vw + 12px, 30px) * var(--gt-scale));
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.hall-title:focus[b-zy3wbuwm0q] {
    outline: none;
}

.hall-meter[b-zy3wbuwm0q] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-light);
    font-size: var(--gt-md);
    white-space: nowrap;
}

.hall-meter b[b-zy3wbuwm0q] {
    color: var(--color-text-primary);
}

.hall-pips[b-zy3wbuwm0q] {
    display: flex;
    gap: 3px;
}

.hall-pips i[b-zy3wbuwm0q] {
    display: block;
    width: 10px;
    height: 14px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
}

.hall-pips i.on[b-zy3wbuwm0q] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
}

.hall-slots-short[b-zy3wbuwm0q] {
    display: none;
}

.hall-premium-chip[b-zy3wbuwm0q] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 2em;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary-darker) 38%, var(--color-bg-base));
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
}

.hall-premium-chip[b-zy3wbuwm0q]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.hall-header-actions[b-zy3wbuwm0q] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* The sort is a MudMenu with a text activator (MudButton): restyled here as the comps' quiet select. */
.hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator {
    height: 36px;
    min-width: 0;
    padding: 0 10px 0 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator .mud-icon-root {
    width: 18px;
    height: 18px;
    color: var(--color-text-secondary);
}

.hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hall-header-actions[b-zy3wbuwm0q]  .hall-create {
    min-height: 44px;
}

.hall-create-short[b-zy3wbuwm0q] {
    display: none;
}

/* ---- Phone list (480 and down): one row per hero, then the Forge row (A-390) ---- */

.hall-phone[b-zy3wbuwm0q] {
    display: none;
}

.hall-phone-head[b-zy3wbuwm0q] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hall-phone-heading[b-zy3wbuwm0q] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.hall-phone-rule[b-zy3wbuwm0q] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.hall-phone-caption[b-zy3wbuwm0q] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    white-space: nowrap;
}

.hall-phone-rows[b-zy3wbuwm0q] {
    display: grid;
    gap: 10px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.hall-phone-forge[b-zy3wbuwm0q]  .hall-forge-tile {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: auto;
    min-height: 76px;
    padding: 10px 12px 10px 16px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-primary) 5%, transparent);
    text-align: left;
}

.hall-phone-forge[b-zy3wbuwm0q]  .hft-hex {
    width: 44px;
    height: 50px;
}

.hall-phone-forge[b-zy3wbuwm0q]  .hft-text {
    flex: 1;
    align-items: flex-start;
    gap: 2px;
}

.hall-phone-forge[b-zy3wbuwm0q]  .hft-label {
    font-size: calc(var(--gt-px) * 15);
    text-transform: none;
}

.hall-phone-forge[b-zy3wbuwm0q]  .hft-free {
    padding: 0;
    font-size: var(--gt-sm);
}

.hall-phone-forge[b-zy3wbuwm0q]  .hft-chevron {
    display: flex;
}

/* ---- Glance and party: side by side when there is room (A-1920), else stacked (A-1366) ---- */

.hall-lower[b-zy3wbuwm0q] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 22px;
}

.hall-lower[b-zy3wbuwm0q]  .hall-glance {
    flex: 3 1 1080px;
}

.hall-lower[b-zy3wbuwm0q]  .hall-party-roles {
    flex: 1.25 1 400px;
}

.hall-loading[b-zy3wbuwm0q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding-block: var(--space-2xl);
    color: var(--color-text-secondary);
}

/* ---- 960 to 1279 (A-1024) ---- */

@media not all and (min-width: 1280px) {
    .hall-page[b-zy3wbuwm0q] {
        --hall-gutter: 28px;
        --hall-squeeze: 0px;
    }

    .hall-pips[b-zy3wbuwm0q] {
        display: none;
    }

    .hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator {
        height: 44px;
    }

    .hall-area--roster[b-zy3wbuwm0q] {
        --hall-space: 14px;
    }

    .hall-area--lower[b-zy3wbuwm0q] {
        --hall-space: 22px;
    }

    /* The glance unwraps into this grid (HallGlance.razor.css); "Your party" takes the fourth cell. */
    .hall-lower[b-zy3wbuwm0q] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 16px;
    }
}

/* ---- 481 to 959 (A-768) ---- */

@media not all and (min-width: 960px) {
    .hall-page[b-zy3wbuwm0q] {
        --hall-gutter: 20px;
    }

    .hall-area[b-zy3wbuwm0q] {
        --hall-space: 16px;
    }

    /* An icon-only sort below 960 (A-768): the label and chevron go; the accessible name stays the menu's AriaLabel. */
    .hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator {
        justify-content: center;
        width: 44px;
        padding: 0;
    }

    .hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator .mud-button-label {
        font-size: 0;
    }

    .hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator .mud-button-icon-start {
        margin: 0;
    }

    .hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator .mud-button-icon-end {
        display: none;
    }

    .hall-sort[b-zy3wbuwm0q]  .mud-menu-button-activator .mud-icon-root {
        width: 22px;
        height: 22px;
        color: var(--color-text-light);
    }

    .hall-lower[b-zy3wbuwm0q] {
        gap: 14px;
    }
}

/* ---- 480 and down (A-390) ---- */

@media (max-width: 480px) {
    .hall-page[b-zy3wbuwm0q] {
        --hall-gutter: 16px;
        padding-top: 0;
    }

    .hall-area[b-zy3wbuwm0q] {
        --hall-space: 14px;
    }

    .hall-header[b-zy3wbuwm0q] {
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hall-title[b-zy3wbuwm0q] {
        font-size: calc(var(--gt-px) * 21);
    }

    .hall-meter[b-zy3wbuwm0q] {
        font-size: calc(var(--gt-px) * 12.5);
    }

    .hall-premium-chip[b-zy3wbuwm0q],
    .hall-sort[b-zy3wbuwm0q],
    .hall-create-long[b-zy3wbuwm0q] {
        display: none;
    }

    .hall-slots-text[b-zy3wbuwm0q] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .hall-slots-short[b-zy3wbuwm0q],
    .hall-create-short[b-zy3wbuwm0q] {
        display: inline;
    }

    .hall-header-actions[b-zy3wbuwm0q]  .hall-create {
        padding: 0 14px;
    }

    .hall-area--roster[b-zy3wbuwm0q]  .hall-roster-rail {
        display: none;
    }

    .hall-phone[b-zy3wbuwm0q] {
        display: block;
    }

    .hall-lower[b-zy3wbuwm0q] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
}
/* /Components/Pages/Characters/Forge.razor.rz.scp.css */
/* The forge page (/characters/forge, D11; comps F-Class, F-Look, F-Destiny, F-390). The page owns the frame's tokens and
   runs over MainLayout's container padding like the tavern hub; each step styles itself under Components/Forge.
   Tokens only (custom properties inherit across the components' isolation scopes); canonical breakpoints only:
     default          desktop (1280 and up): 48px gutters, the content capped near 1520px on wide screens
     max-width 1280   laptop floor and tablet landscape: 32px gutters
     max-width 1024   tablet: 24px gutters
     max-width 768    tablet portrait and phone: one column per step, 16px gutters
   Page tokens, read by every forge component:
     --forge-gutter         the distance from the screen edge to the content (the sticky footer bleeds by it)
     --forge-eyebrow        the gold of the small caps headings (Race, Fighting style, Destiny)
     --forge-cream          the warm white of names and titles
     --forge-surface        a quiet panel (facts, swatches, dice)
     --forge-line           a panel's hairline
     --forge-card           a raised card (the class detail, the destiny panel)
     --forge-gold-fill      the gold button and hex fill
     --forge-target         the touch target floor (44px from 1024 down, where the comps are touch screens) */

.forge-page[b-0trhw0hlud] {
    --forge-gutter: 48px;
    --forge-eyebrow: color-mix(in srgb, var(--color-primary-dark) 72%, var(--color-text-primary));
    --forge-cream: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    --forge-surface: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    --forge-line: color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    --forge-line-soft: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    --forge-card: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 80%, transparent),
        color-mix(in srgb, var(--color-gray-900) 92%, transparent));
    --forge-gold-fill: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    --forge-target: 36px;

    display: flex;
    flex-direction: column;
    /* Under the frame's top (--frame-top, Docs/LRPG_GAME_MENU.md 5.9); the footer bar sits at the bottom of a short step
       and sticks there on a long one. */
    min-height: calc(100dvh - var(--frame-top, 64px));
    margin: -16px -16px 0;
    padding-inline: var(--forge-gutter);
    color: var(--color-text-primary);
}

.forge-loading[b-0trhw0hlud] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding-block: var(--space-2xl);
    color: var(--color-text-secondary);
}

@media (min-width: 1280px) {
    .forge-page[b-0trhw0hlud] {
        /* The page is MainLayout's container, capped at 1920px: past that, 100vw keeps growing and the content would shrink. */
        --forge-gutter: max(48px, calc((min(100vw, 1920px) - 1520px) / 2));
    }
}

@media (max-width: 1280px) {
    .forge-page[b-0trhw0hlud] {
        --forge-gutter: 32px;
    }
}

@media (max-width: 1024px) {
    .forge-page[b-0trhw0hlud] {
        --forge-gutter: 24px;
        --forge-target: 44px;
    }
}

@media (max-width: 768px) {
    .forge-page[b-0trhw0hlud] {
        --forge-gutter: 16px;
    }
}

/* A touch screen at any width gets the 44px floor (the 1024 and 768 comps are touch tiers; a touch laptop is too). */
@media (pointer: coarse) {
    .forge-page[b-0trhw0hlud] {
        --forge-target: 44px;
    }
}
/* /Components/Pages/Chronicles/Chronicle.razor.rz.scp.css */
/* /chronicles/{id} (A-Chronicle-1366 / -390), on the front-door kit. Tokens only; canonical breakpoints only. The
   page's root carries the hero's fd-cc-{class}; every class-colored rule falls back to gold (an unknown class). */

/* ---------- Hero ---------- */

.chr[b-m0ftvlmvx7]  .chr-hero {
    min-height: min(560px, 80svh);
}

.chr-hero__grid[b-m0ftvlmvx7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: calc(var(--fd-gap) * 2);
    align-items: center;
    padding-top: 28px;
    padding-bottom: 48px;
}

.chr-hero__copy[b-m0ftvlmvx7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.chr-h1[b-m0ftvlmvx7] {
    max-width: 18ch;
}

.chr-privacy--link[b-m0ftvlmvx7] {
    border-color: color-mix(in srgb, var(--fd-info) 55%, transparent);
    background: color-mix(in srgb, var(--fd-info-deep) 40%, transparent);
    color: var(--fd-info-ink);
}

.chr-privacy--private[b-m0ftvlmvx7] {
    border-color: color-mix(in srgb, var(--fd-warn) 55%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 40%, transparent);
    color: var(--fd-warn-ink);
}

.chr-privacy[b-m0ftvlmvx7]  .material-icons {
    color: inherit;
}

.chr-missing[b-m0ftvlmvx7] {
    color: var(--fd-text-2);
}

.chr-meta[b-m0ftvlmvx7] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--fd-text);
}

.chr-meta__item[b-m0ftvlmvx7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chr-meta__item[b-m0ftvlmvx7]  .material-icons {
    font-size: 18px;
    color: var(--fd-gold-text);
}

.chr-byline[b-m0ftvlmvx7] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-style: italic;
    font-size: 15px;
    color: var(--fd-text-2);
}

.chr-byline[b-m0ftvlmvx7]  .material-icons {
    font-size: 19px;
    color: var(--fd-gold-text);
}

.chr-hero__portrait[b-m0ftvlmvx7] {
    width: 240px;
    height: 360px;
    border: 3px solid var(--fd-cc, var(--fd-gold));
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    overflow: hidden;
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 16%, transparent),
        0 0 60px color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 40%, transparent);
}

.chr-hero__portrait[b-m0ftvlmvx7]  .chr-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Body: the story, the rail, the hero's card ---------- */

.chr-body[b-m0ftvlmvx7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 340px);
    grid-template-areas: "article side" "article toc";
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 4.4vw, 80px);
    row-gap: 18px;
    align-items: start;
    padding-top: 8px;
    padding-bottom: var(--fd-sec);
}

.chr-toc[b-m0ftvlmvx7] {
    grid-area: toc;
    position: sticky;
    top: 24px;
    min-width: 0;
}

.chr-article[b-m0ftvlmvx7] {
    grid-area: article;
    max-width: 780px;
    min-width: 0;
}

.chr-side[b-m0ftvlmvx7] {
    grid-area: side;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.chr-private[b-m0ftvlmvx7] {
    margin-bottom: 24px;
}

.chr-private p[b-m0ftvlmvx7] {
    margin: 0;
}

/* The saga (a MarkupString from ChronicleStoryRenderer, styled through ::deep). */
.chr-story[b-m0ftvlmvx7] {
    font-family: var(--fd-font-voice);
    font-size: 21px;
    line-height: 1.62;
    color: var(--fd-cream-2);
}

.chr-story[b-m0ftvlmvx7]  .chr-chapter {
    margin: 1.6em 0 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(var(--fd-h2) * 0.82);
    line-height: 1.2;
    color: var(--fd-cream);
    scroll-margin-top: 24px;
}

.chr-story[b-m0ftvlmvx7]  .chr-chapter:first-child {
    margin-top: 0;
}

.chr-story[b-m0ftvlmvx7]  .chr-subheading {
    margin: 1.4em 0 0;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--fd-text);
}

.chr-story[b-m0ftvlmvx7]  .chr-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0 24px;
}

.chr-story[b-m0ftvlmvx7]  .chr-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--fd-gold) 45%, transparent), transparent);
}

.chr-story[b-m0ftvlmvx7]  .chr-divider__icon {
    font-size: 20px;
    color: var(--fd-gold-text);
}

.chr-story[b-m0ftvlmvx7]  .chr-paragraph {
    margin: 0 0 1em;
}

.chr-story[b-m0ftvlmvx7]  .chr-dropcap {
    float: left;
    margin: 0.06em 0.12em 0 0;
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 3.3em;
    line-height: 0.8;
    color: var(--fd-gold);
}

.chr-story[b-m0ftvlmvx7]  strong {
    color: var(--fd-cream);
}

/* Likes and sharing. */
.chr-bar[b-m0ftvlmvx7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    padding: 16px 0;
    border-top: 1px solid var(--fd-line);
    border-bottom: 1px solid var(--fd-line);
}

.chr-bar__left[b-m0ftvlmvx7] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.chr-like[b-m0ftvlmvx7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.15s ease-out;
}

.chr-like[b-m0ftvlmvx7]  .material-icons {
    font-size: 20px;
    color: var(--fd-bad);
}

.chr-like:hover[b-m0ftvlmvx7] {
    border-color: color-mix(in srgb, var(--fd-bad) 55%, transparent);
}

.chr-like.is-liked[b-m0ftvlmvx7] {
    border-color: color-mix(in srgb, var(--fd-bad) 60%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 45%, transparent);
}

.chr-like[disabled][b-m0ftvlmvx7] {
    opacity: 0.7;
    cursor: wait;
}

.chr-views[b-m0ftvlmvx7] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--fd-text-4);
}

.chr-views[b-m0ftvlmvx7]  .material-icons {
    font-size: 18px;
}

.chr-share[b-m0ftvlmvx7] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.chr-share__label[b-m0ftvlmvx7] {
    margin-right: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text-4);
}

.chr-share__btn[b-m0ftvlmvx7] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.15s ease-out;
}

.chr-share__btn:hover[b-m0ftvlmvx7] {
    border-color: color-mix(in srgb, var(--fd-gold) 45%, transparent);
}

.chr-share__btn[b-m0ftvlmvx7]  .material-icons {
    font-size: 18px;
    color: var(--fd-text-2);
}

.chr-status[b-m0ftvlmvx7] {
    min-height: 0;
}

.chr-status__line[b-m0ftvlmvx7] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--fd-good) 50%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 40%, transparent);
    color: var(--fd-good-ink);
    font-weight: 600;
}

.chr-status__line[b-m0ftvlmvx7]  .material-icons {
    font-size: 20px;
    color: var(--fd-good);
}

.chr-status__line.is-warn[b-m0ftvlmvx7] {
    border-color: color-mix(in srgb, var(--fd-warn) 50%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 40%, transparent);
    color: var(--fd-warn-ink);
}

.chr-status__line.is-warn[b-m0ftvlmvx7]  .material-icons {
    color: var(--fd-warn);
}

/* The join box for a signed-out reader. */
.chr-cta[b-m0ftvlmvx7] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px 22px;
    align-items: center;
    margin-top: 32px;
    padding: 24px 26px;
    border-radius: var(--fd-r-band);
    border: 1px solid color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 50%, transparent);
    background:
        radial-gradient(ellipse 70% 120% at 0% 50%, color-mix(in srgb, var(--fd-ember) 18%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 120% at 100% 50%, color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 14%, transparent), transparent 70%),
        linear-gradient(180deg, var(--fd-hearth-top), var(--fd-hearth-bottom));
}

.chr-cta__copy[b-m0ftvlmvx7] {
    min-width: 0;
}

.chr-cta__title[b-m0ftvlmvx7] {
    margin-bottom: 8px;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--fd-cream);
}

.chr-cta__text[b-m0ftvlmvx7] {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--fd-text-2);
}

.chr-cta__text a[b-m0ftvlmvx7] {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.chr-cta__text strong[b-m0ftvlmvx7] {
    color: var(--fd-gold-soft);
}

/* The hero's card, more from the hero, the way back to the list. */
.chr-card[b-m0ftvlmvx7] {
    padding: 18px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 40%, var(--fd-line));
    background: var(--fd-card);
}

.chr-card__title[b-m0ftvlmvx7] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.chr-card__title[b-m0ftvlmvx7]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--fd-gold) 45%, transparent), transparent);
}

.chr-about[b-m0ftvlmvx7] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.chr-about__portrait[b-m0ftvlmvx7] {
    flex: 0 0 76px;
    height: 100px;
    border: 2px solid var(--fd-cc, var(--fd-gold));
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    overflow: hidden;
}

.chr-about__portrait[b-m0ftvlmvx7]  .chr-about__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chr-about__facts[b-m0ftvlmvx7] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.chr-about__fact[b-m0ftvlmvx7] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.chr-about__fact dt[b-m0ftvlmvx7] {
    color: var(--fd-text-4);
}

.chr-about__fact dd[b-m0ftvlmvx7] {
    margin: 0;
    font-weight: 700;
    color: var(--fd-text);
    text-align: right;
}

.chr-about__fact--wide[b-m0ftvlmvx7] {
    flex-direction: column;
    gap: 2px;
}

.chr-about__fact--wide dd[b-m0ftvlmvx7] {
    text-align: left;
}

.chr-more[b-m0ftvlmvx7] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chr-more__item[b-m0ftvlmvx7] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--fd-line);
    background: var(--fd-surface);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.chr-more__item:hover[b-m0ftvlmvx7] {
    border-color: var(--fd-line-gold-strong);
}

.chr-more__title[b-m0ftvlmvx7] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--fd-cream);
}

.chr-more__meta[b-m0ftvlmvx7] {
    font-size: 12.5px;
    color: var(--fd-text-4);
}

.chr-browse[b-m0ftvlmvx7] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 18px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-gold-dark);
    background: color-mix(in srgb, var(--fd-warn-deep) 28%, transparent);
    color: var(--fd-gold-soft);
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.chr-browse:hover[b-m0ftvlmvx7] {
    border-color: var(--fd-gold);
}

.chr-browse[b-m0ftvlmvx7]  .chr-browse__icon {
    font-size: 22px;
    color: var(--fd-gold);
}

.chr-browse[b-m0ftvlmvx7]  .chr-browse__arrow {
    margin-left: auto;
    font-size: 20px;
    color: var(--fd-gold);
}

/* Loading (the circuit only; the prerender always has the story). */
.chr-loading[b-m0ftvlmvx7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 120px 0;
}

.chr-loading__text[b-m0ftvlmvx7] {
    margin: 0;
    color: var(--fd-text-4);
}

.chr-spinner[b-m0ftvlmvx7] {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--fd-gold) 22%, transparent);
    border-top-color: var(--fd-gold);
    animation: chr-spin-b-m0ftvlmvx7 0.9s linear infinite;
}

@keyframes chr-spin-b-m0ftvlmvx7 {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Tiers ---------- */

@media not all and (min-width: 1280px) {
    .chr-hero__portrait[b-m0ftvlmvx7] {
        width: 200px;
        height: 300px;
    }
}

@media not all and (min-width: 1024px) {
    .chr-body[b-m0ftvlmvx7] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: none;
        grid-template-rows: none;
    }

    .chr-toc[b-m0ftvlmvx7],
    .chr-article[b-m0ftvlmvx7],
    .chr-side[b-m0ftvlmvx7] {
        grid-area: auto;
    }

    .chr-toc[b-m0ftvlmvx7] {
        position: static;
    }

    .chr-article[b-m0ftvlmvx7] {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .chr[b-m0ftvlmvx7]  .chr-hero {
        min-height: 0;
    }

    .chr-hero__grid[b-m0ftvlmvx7] {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 24px;
    }

    /* With a portrait, the hero stands beside the eyebrow and the meta and the title runs under them
       (A-Chronicle-390); the copy's own order is unchanged for a screen reader. */
    /* The scene keeps a band of its own above the hero on phones (A-Chronicle-390). */
    .chr-hero__grid--portrait[b-m0ftvlmvx7] {
        grid-template-columns: 110px minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 10px;
        align-items: end;
        padding-top: 96px;
    }

    .chr-hero__grid--portrait .chr-hero__copy[b-m0ftvlmvx7] {
        display: contents;
    }

    .chr-hero__grid--portrait .chr-hero__portrait[b-m0ftvlmvx7] {
        grid-column: 1;
        grid-row: 1 / span 3;
        align-self: start;
    }

    .chr-hero__grid--portrait .chr-privacy[b-m0ftvlmvx7] {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }

    .chr-hero__grid--portrait .chr-eyebrow[b-m0ftvlmvx7] {
        grid-column: 2;
        grid-row: 2;
    }

    .chr-hero__grid--portrait .chr-meta[b-m0ftvlmvx7] {
        grid-column: 2;
        grid-row: 3;
    }

    .chr-hero__grid--portrait .chr-h1[b-m0ftvlmvx7] {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .chr-hero__grid--portrait .chr-byline[b-m0ftvlmvx7] {
        grid-column: 1 / -1;
        grid-row: 5;
    }

    .chr-hero__portrait[b-m0ftvlmvx7] {
        width: 110px;
        height: 150px;
        box-shadow: 0 0 30px color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 40%, transparent);
    }

    .chr-meta[b-m0ftvlmvx7] {
        flex-direction: column;
        gap: 6px;
        font-size: 14px;
    }

    .chr-story[b-m0ftvlmvx7] {
        font-size: 19px;
    }

    .chr-bar[b-m0ftvlmvx7],
    .chr-share[b-m0ftvlmvx7] {
        width: 100%;
    }

    .chr-share[b-m0ftvlmvx7] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .chr-share__label[b-m0ftvlmvx7] {
        grid-column: 1 / -1;
    }

    .chr-share__btn[b-m0ftvlmvx7] {
        justify-content: center;
        padding: 0 8px;
        white-space: nowrap;
    }

    .chr-cta[b-m0ftvlmvx7] {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        padding: 18px 16px;
    }

    .chr-cta[b-m0ftvlmvx7]  .chr-cta__button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chr-like[b-m0ftvlmvx7],
    .chr-share__btn[b-m0ftvlmvx7],
    .chr-more__item[b-m0ftvlmvx7],
    .chr-browse[b-m0ftvlmvx7] {
        transition: none;
    }

    .chr-spinner[b-m0ftvlmvx7] {
        animation-duration: 2.4s;
    }
}
/* /Components/Pages/Chronicles/ChronicleCard.razor.rz.scp.css */
/* A chronicle card (A-Chronicles-1366 / -390). Tokens only; canonical breakpoints only. An unknown class falls back
   to gold (var(--fd-cc, ...) everywhere). */

.chc[b-b2h6seue8m] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 35%, var(--fd-line));
    background: var(--fd-card);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.chc:hover[b-b2h6seue8m],
.chc:focus-visible[b-b2h6seue8m] {
    border-color: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 70%, transparent);
    box-shadow: 0 12px 30px color-mix(in srgb, var(--fd-shadow-ink) 40%, transparent);
}

.chc__band[b-b2h6seue8m] {
    position: relative;
    height: 104px;
    background: var(--fd-art-well);
}

.chc--featured .chc__band[b-b2h6seue8m] {
    height: 140px;
}

.chc__band[b-b2h6seue8m]  .chc__scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chc__band[b-b2h6seue8m]::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--fd-card-top) 96%, transparent));
}

.chc__stats[b-b2h6seue8m] {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    display: inline-flex;
    gap: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fd-bg) 78%, transparent);
    border: 1px solid var(--fd-line-strong);
    font-size: 13px;
    font-weight: 800;
    color: var(--fd-text);
}

.chc__stat[b-b2h6seue8m] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.chc__stat[b-b2h6seue8m]  .material-icons {
    font-size: 16px;
    color: var(--fd-text-3);
}

.chc__stat[b-b2h6seue8m]  .chc__heart {
    color: var(--fd-bad);
}

.chc__body[b-b2h6seue8m] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    padding: 0 20px 16px;
}

.chc__who[b-b2h6seue8m] {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: -44px;
    min-height: 44px;
}

.chc__portrait[b-b2h6seue8m] {
    display: block;
    width: 62px;
    height: 78px;
    flex: none;
    border: 2px solid var(--fd-cc, var(--fd-gold));
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    overflow: hidden;
    box-shadow: 0 0 18px color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 35%, transparent);
}

.chc__portrait[b-b2h6seue8m]  .chc__portrait-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chc__class[b-b2h6seue8m] {
    margin-bottom: 4px;
}

.chc__title[b-b2h6seue8m] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.25;
    color: var(--fd-cream);
}

.chc--featured .chc__title[b-b2h6seue8m] {
    font-size: 20px;
}

.chc__excerpt[b-b2h6seue8m] {
    margin: 0;
    font-family: var(--fd-font-voice);
    font-style: italic;
    font-size: 16.5px;
    line-height: 1.45;
    color: var(--fd-text-2);
}

.chc__foot[b-b2h6seue8m] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    width: 100%;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--fd-line);
    font-size: 13px;
    color: var(--fd-text-4);
}

.chc__hero b[b-b2h6seue8m] {
    font-weight: 700;
    color: var(--fd-text);
}

.chc__adventure[b-b2h6seue8m] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chc__adventure[b-b2h6seue8m]  .material-icons,
.chc__adventure-tag[b-b2h6seue8m]  .material-icons {
    font-size: 15px;
    color: var(--fd-gold-text);
}

@media (max-width: 768px) {
    .chc__body[b-b2h6seue8m] {
        padding: 0 16px 14px;
    }

    .chc__excerpt[b-b2h6seue8m] {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chc[b-b2h6seue8m] {
        transition: none;
    }
}
/* /Components/Pages/Chronicles/Chronicles.razor.rz.scp.css */
/* /chronicles (A-Chronicles-1366 / -390), on the front-door kit. Tokens only; canonical breakpoints only. */

/* ---------- Hero ---------- */

.ch-hero__copy[b-6n1254dzsq] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 40px;
}

.ch-hero__title[b-6n1254dzsq] {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ch-hero__badge[b-6n1254dzsq] {
    width: 50px;
    height: 56px;
}

.ch-hero__badge[b-6n1254dzsq]  .material-icons {
    font-size: 26px;
}

.ch-hero__sub[b-6n1254dzsq] {
    max-width: 760px;
    font-family: var(--fd-font-voice);
    font-style: italic;
    font-size: 23px;
    line-height: 1.35;
    color: var(--fd-cream-2);
}

.ch-hero__intro[b-6n1254dzsq] {
    max-width: 66ch;
    color: var(--fd-text-2);
}

/* ---------- Sections ---------- */

.ch-sec[b-6n1254dzsq] {
    padding-top: calc(var(--fd-sec) * 0.55);
    padding-bottom: calc(var(--fd-sec) * 0.55);
}

.ch-sec--featured[b-6n1254dzsq] {
    padding-top: 8px;
}

.ch-sec--last[b-6n1254dzsq] {
    padding-bottom: var(--fd-sec);
}

.ch-h2[b-6n1254dzsq] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.ch-h2[b-6n1254dzsq]  .ch-h2__icon {
    font-size: 28px;
    color: var(--fd-gold);
}

.ch-h2--how[b-6n1254dzsq] {
    margin-bottom: 30px;
}

/* ---------- Filters: real links ---------- */

.ch-filters[b-6n1254dzsq] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--fd-panel) 70%, transparent);
}

.ch-filters__row[b-6n1254dzsq] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.ch-filters__group[b-6n1254dzsq] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ch-filters__label[b-6n1254dzsq] {
    min-width: 76px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.ch-chips[b-6n1254dzsq],
.ch-sort[b-6n1254dzsq] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ch-chip[b-6n1254dzsq],
.ch-sort__item[b-6n1254dzsq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text-2);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease-out;
}

.ch-chip:hover[b-6n1254dzsq],
.ch-sort__item:hover[b-6n1254dzsq] {
    border-color: color-mix(in srgb, var(--fd-gold) 45%, transparent);
}

.ch-chip.is-active[b-6n1254dzsq],
.ch-sort__item.is-active[b-6n1254dzsq] {
    border-color: var(--fd-gold-dark);
    background: color-mix(in srgb, var(--fd-warn-deep) 38%, transparent);
    color: var(--fd-gold-soft);
}

.ch-chip__dot[b-6n1254dzsq] {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--fd-cc, var(--fd-gold));
}

.ch-sort[b-6n1254dzsq] {
    gap: 2px;
    padding: 3px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-strong);
}

.ch-sort__item[b-6n1254dzsq] {
    min-height: 38px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
}

/* A touch tablet keeps the desktop row: the chips and the sort pills take the 44px touch target. */
@media (pointer: coarse) {
    .ch-chip[b-6n1254dzsq],
    .ch-sort__item[b-6n1254dzsq] {
        min-height: 44px;
    }
}

.ch-sort__item[b-6n1254dzsq]  .material-icons {
    font-size: 17px;
    color: var(--fd-text-4);
}

.ch-sort__item.is-active[b-6n1254dzsq]  .material-icons {
    color: var(--fd-gold);
}

/* The adventure filter: a disclosure of real links (works before the circuit connects). */
.ch-drop[b-6n1254dzsq] {
    position: relative;
}

.ch-drop__button[b-6n1254dzsq] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    min-width: 220px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.ch-drop__button[b-6n1254dzsq]::-webkit-details-marker {
    display: none;
}

.ch-drop__button[b-6n1254dzsq]  .ch-drop__icon {
    font-size: 18px;
    color: var(--fd-gold);
}

.ch-drop__current[b-6n1254dzsq] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ch-drop__button[b-6n1254dzsq]  .ch-drop__chev {
    font-size: 20px;
    color: var(--fd-text-4);
    transition: transform 0.15s ease-out;
}

.ch-drop[open] .ch-drop__button[b-6n1254dzsq]  .ch-drop__chev {
    transform: rotate(180deg);
}

.ch-drop__list[b-6n1254dzsq] {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 100%;
    width: max-content;
    max-width: min(420px, 86vw);
    max-height: 360px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-bar);
    box-shadow: var(--fd-shadow);
}

.ch-drop__item[b-6n1254dzsq] {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    color: var(--fd-text-2);
    font-size: 14.5px;
    text-decoration: none;
}

.ch-drop__item:hover[b-6n1254dzsq] {
    background: var(--fd-surface-strong);
}

.ch-drop__item.is-active[b-6n1254dzsq] {
    color: var(--fd-gold-soft);
    background: color-mix(in srgb, var(--fd-warn-deep) 30%, transparent);
    box-shadow: inset 3px 0 0 var(--fd-gold);
}

.ch-count[b-6n1254dzsq] {
    margin-left: auto;
    font-weight: 700;
    font-size: 15px;
    color: var(--fd-text);
}

/* ---------- The list ---------- */

.ch-grid[b-6n1254dzsq] {
    align-items: stretch;
}

.ch-pages[b-6n1254dzsq] {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.ch-pages__btn[b-6n1254dzsq] {
    gap: 4px;
}

.ch-pages__btn.is-disabled[b-6n1254dzsq] {
    opacity: 0.45;
    cursor: default;
}

.ch-pages__info[b-6n1254dzsq] {
    font-weight: 700;
    color: var(--fd-text);
}

.ch-empty[b-6n1254dzsq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--fd-r-card);
    border: 1px dashed var(--fd-line-strong);
    background: color-mix(in srgb, var(--fd-panel) 55%, transparent);
}

.ch-empty__title[b-6n1254dzsq] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 21px;
    color: var(--fd-cream-2);
}

.ch-empty__text[b-6n1254dzsq] {
    margin: 0;
    color: var(--fd-text-3);
}

.ch-loading[b-6n1254dzsq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 0;
}

.ch-loading--inline[b-6n1254dzsq] {
    padding: 32px 0;
}

.ch-loading__text[b-6n1254dzsq] {
    margin: 0;
    color: var(--fd-text-4);
}

.ch-spinner[b-6n1254dzsq] {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--fd-gold) 22%, transparent);
    border-top-color: var(--fd-gold);
    animation: ch-spin-b-6n1254dzsq 0.9s linear infinite;
}

@keyframes ch-spin-b-6n1254dzsq {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- How a run becomes a chronicle ---------- */

.ch-steps[b-6n1254dzsq] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fd-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.ch-steps[b-6n1254dzsq]::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 30%, transparent));
}

.ch-step[b-6n1254dzsq] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.ch-step__num[b-6n1254dzsq] {
    font-style: italic;
    font-size: 18px;
}

.ch-step__card[b-6n1254dzsq] {
    flex: 1;
    gap: 10px;
}

.ch-step__title[b-6n1254dzsq] {
    font-size: 17px;
}

.ch-step__text[b-6n1254dzsq] {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

.ch-privacy[b-6n1254dzsq] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.ch-privacy__step[b-6n1254dzsq] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
}

.ch-privacy__step[b-6n1254dzsq]  .material-icons {
    font-size: 20px;
    color: var(--fd-text-2);
}

.ch-privacy__step.is-on[b-6n1254dzsq] {
    border-color: var(--fd-gold-dark);
    background: color-mix(in srgb, var(--fd-warn-deep) 38%, transparent);
}

.ch-privacy__step.is-on[b-6n1254dzsq]  .material-icons {
    color: var(--fd-gold);
}

.ch-privacy[b-6n1254dzsq]  .ch-privacy__arrow {
    font-size: 18px;
    color: var(--fd-text-4);
}

/* ---------- The join band ---------- */

.ch-join__grid[b-6n1254dzsq] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: center;
}

.ch-join__copy[b-6n1254dzsq] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.ch-join__title[b-6n1254dzsq] {
    font-size: calc(var(--fd-h2) * 1.1);
}

.ch-join__text[b-6n1254dzsq] {
    margin: 0;
    max-width: 64ch;
    color: var(--fd-text-2);
}

.ch-join__text strong[b-6n1254dzsq] {
    color: var(--fd-gold-soft);
}

.ch-join__acts[b-6n1254dzsq] {
    gap: 20px;
}

/* The heroes (HearthArches) stand in the band's right-hand column. */
.ch-join__grid[b-6n1254dzsq]  .ch-join__art {
    justify-self: end;
}

/* ---------- Tiers ---------- */

@media (max-width: 1024px) {
    .ch-steps[b-6n1254dzsq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .ch-steps[b-6n1254dzsq]::before {
        left: 21px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 30%, transparent));
    }

    .ch-step[b-6n1254dzsq] {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .ch-step__card[b-6n1254dzsq] {
        padding: 0;
        border: none;
        background: none;
    }

    .ch-count[b-6n1254dzsq] {
        width: 100%;
        margin-left: 0;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .ch-hero__copy[b-6n1254dzsq] {
        padding-top: 12px;
        padding-bottom: 24px;
        gap: 12px;
    }

    .ch-hero__title[b-6n1254dzsq] {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ch-hero__badge[b-6n1254dzsq] {
        width: 44px;
        height: 50px;
    }

    .ch-hero__sub[b-6n1254dzsq] {
        font-size: 19px;
    }

    .ch-h2[b-6n1254dzsq]  .ch-h2__icon {
        font-size: 24px;
    }

    .ch-filters[b-6n1254dzsq] {
        padding: 14px;
        gap: 12px;
    }

    /* One column, one line: a wrapping column would size itself to the chips' full width and push them past the
       panel instead of letting the chip row scroll inside it (A-Chronicles-390). */
    .ch-filters__row[b-6n1254dzsq],
    .ch-filters__group[b-6n1254dzsq] {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
    }

    .ch-chips[b-6n1254dzsq] {
        flex-wrap: nowrap;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .ch-chips > li[b-6n1254dzsq] {
        flex: 0 0 auto;
    }

    .ch-chip[b-6n1254dzsq],
    .ch-sort__item[b-6n1254dzsq] {
        min-height: 44px;
    }

    .ch-sort[b-6n1254dzsq] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ch-sort > li[b-6n1254dzsq] {
        display: flex;
    }

    .ch-sort__item[b-6n1254dzsq] {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 6px;
        font-size: 13px;
    }

    .ch-sort__item[b-6n1254dzsq]  .material-icons {
        display: none;
    }

    .ch-drop__button[b-6n1254dzsq] {
        min-width: 0;
    }

    .ch-drop__list[b-6n1254dzsq] {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 6px;
        box-shadow: none;
    }

    .ch-pages[b-6n1254dzsq] {
        justify-content: space-between;
        gap: 8px;
    }

    /* The hero stands beside the title and the rest runs under both (A-Chronicles-390); the copy keeps its DOM order,
       the art is decoration (aria-hidden). */
    .ch-join__grid[b-6n1254dzsq] {
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: 16px;
        row-gap: 16px;
    }

    .ch-join__copy[b-6n1254dzsq] {
        display: contents;
    }

    .ch-join__grid[b-6n1254dzsq]  .ch-join__art {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .ch-join__title[b-6n1254dzsq] {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .ch-join__text[b-6n1254dzsq],
    .ch-join__acts[b-6n1254dzsq] {
        grid-column: 1 / -1;
    }

    .ch-join__acts[b-6n1254dzsq] {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ch-join__acts[b-6n1254dzsq]  .fd-cta {
        width: 100%;
    }

    /* The second way on is a quiet full-width button on phones (A-Chronicles-390), 44px tall. */
    .ch-join__link[b-6n1254dzsq] {
        justify-content: center;
        min-height: 44px;
        border-radius: var(--fd-r-btn);
        border: 1px solid var(--fd-line-strong);
        background: var(--fd-surface-strong);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ch-chip[b-6n1254dzsq],
    .ch-sort__item[b-6n1254dzsq],
    .ch-drop__button[b-6n1254dzsq]  .ch-drop__chev {
        transition: none;
    }

    .ch-spinner[b-6n1254dzsq] {
        animation-duration: 2.4s;
    }
}
/* /Components/Pages/Classes/ClassGuide.razor.rz.scp.css */
/* The class-guide template (ClassGuide.razor). Tokens only (--fd-*, --color-*), canonical breakpoints only
   (480 / 768 / 960 / 1024 / 1280). Nothing here moves (no transition or animation), so it needs no reduced-motion
   block; the kit's moving parts (TOC, sticky bar, hearth) carry their own. The class color arrives as --fd-cc from the
   fd-cc-{class} class on .cg. The body's cg- classes are written by the class pages, so their rules reach the page's
   markup through ::deep; everything stays under .cg, so nothing leaks to another page. */

.cg[b-90192rr2hi] {
    --cg-cc-text: color-mix(in srgb, var(--fd-cc) 70%, var(--fd-text));
    --cg-sec-pad: clamp(40px, 3.6vw, 56px);
}

/* ======================================================================
   Hero: the class's scene, the copy on the left, the standee in its arch
   ====================================================================== */

.cg[b-90192rr2hi]  .cg-hero {
    min-height: min(900px, 100svh);
}

.cg-hero__in[b-90192rr2hi] {
    --cg-std-w: clamp(260px, 26vw, 380px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--cg-std-w);
    grid-template-rows: auto auto auto auto auto 1fr;
    grid-template-areas:
        "crumbs std"
        "role std"
        "h1 std"
        "lead std"
        "qs std"
        "acts std";
    column-gap: clamp(40px, 6vw, 112px);
    align-items: start;
    /* 3vw up to 1366; past it the top grows faster, so a 1920 screen's hero sits lower, as A-Class-1920 draws it. */
    padding-top: clamp(20px, max(3vw, 11.5vw - 116px), 112px);
    padding-bottom: clamp(48px, 5.5vw, 96px);
}

.cg-hero__in[b-90192rr2hi]  .cg-hero__crumbs {
    grid-area: crumbs;
    margin-bottom: 6px;
}

.cg-hero__role[b-90192rr2hi] {
    grid-area: role;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--cg-cc-text);
}

/* The h1 cell is an inline-size container, so the name never runs under the standee: the size is the tier's
   (--cg-h1) unless the cell is too narrow for this many capitals (--cg-name-len, set by the template; Cinzel's
   capitals average under 0.72em), then it shrinks to fit (BARBARIAN beside a phone's standee). */
.cg-hero__h1[b-90192rr2hi] {
    --cg-h1: clamp(72px, 6.4vw, 112px);
    grid-area: h1;
    min-width: 0;
    container-type: inline-size;
}

.cg-hero__h1[b-90192rr2hi]  h1 {
    margin: 4px 0 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: min(var(--cg-h1), calc(100cqi / (var(--cg-name-len, 7) * 0.72)));
    line-height: 0.98;
    letter-spacing: 0.01em;
    color: var(--fd-cream-2);
    text-shadow: 0 4px 30px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

.cg-hero__lead[b-90192rr2hi] {
    grid-area: lead;
    max-width: 62ch;
    margin: 18px 0 0;
    font-size: 16.5px;
    line-height: 1.62;
    color: var(--fd-text-2);
}

.cg-hero__answer[b-90192rr2hi] {
    color: var(--fd-text);
    font-weight: 700;
}

/* Quick stats: the hall's glass tiles. */
.cg-qs[b-90192rr2hi] {
    grid-area: qs;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 880px;
    margin: 22px 0 0;
}

.cg-qs__item[b-90192rr2hi] {
    min-width: 0;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--fd-glass);
    border: 1px solid var(--fd-line-strong);
}

.cg-qs dt[b-90192rr2hi] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.cg-qs dd[b-90192rr2hi] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 4px 0 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--fd-text);
}

/* SlashBreaks' pieces ("Strength/" "Charisma"): an inline-block each, so a narrow tile wraps after the slash. */
.cg-qs dd[b-90192rr2hi]  .cg-wb {
    display: inline-block;
}

.cg-hero__acts[b-90192rr2hi] {
    grid-area: acts;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.cg-hero__all[b-90192rr2hi] {
    min-height: 56px;
}

/* The standee: the class art in an arch of its own color, the free / Premium pill on its foot. */
.cg-std[b-90192rr2hi] {
    grid-area: std;
    position: relative;
    align-self: start;
    margin-top: 4px;
}

.cg-std__arch[b-90192rr2hi] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 34 / 52;
    border-radius: var(--fd-r-arch);
    border: 3px solid var(--fd-cc);
    background: var(--fd-art-well);
    box-shadow:
        0 0 0 6px color-mix(in srgb, var(--fd-cc) 16%, transparent),
        0 28px 80px color-mix(in srgb, var(--fd-cc) 30%, transparent),
        var(--fd-shadow);
}

.cg-std__arch[b-90192rr2hi]  .cg-std__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
}

.cg-std__arch[b-90192rr2hi]::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fd-bg) 70%, transparent));
    pointer-events: none;
}

.cg-std__pill[b-90192rr2hi] {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 1;
    transform: translateX(-50%);
}

/* ======================================================================
   The page: the rail and the sections
   ====================================================================== */

.cg-page[b-90192rr2hi] {
    padding-top: clamp(28px, 3vw, 48px);
    padding-bottom: var(--fd-sec);
}

/* The rail card under the TOC: the class and its one action stay in view down the page. */
.cg-rail[b-90192rr2hi] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line-gold);
}

.cg-rail__who[b-90192rr2hi] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cg-rail__tx[b-90192rr2hi] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cg-rail__tx b[b-90192rr2hi] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 16px;
    color: var(--fd-cream);
}

.cg-rail__tx span[b-90192rr2hi] {
    font-size: 12px;
    color: var(--fd-text-4);
}

/* A small portrait in an arch of the class color (rail card, sticky bar, final band). */
.cg-arch[b-90192rr2hi] {
    display: block;
    flex: none;
    overflow: hidden;
    border-radius: var(--fd-r-arch);
    border: 2px solid var(--fd-cc);
    background: var(--fd-art-well);
}

.cg-arch img[b-90192rr2hi] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
}

.cg-arch--sm[b-90192rr2hi] {
    width: 40px;
    height: 46px;
}

.cg-arch--sticky[b-90192rr2hi] {
    width: 38px;
    height: 44px;
}

.cg-body[b-90192rr2hi] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ---------- Sections ---------- */
.cg[b-90192rr2hi]  .cg-sec {
    padding: var(--cg-sec-pad) 0;
    border-top: 1px solid var(--fd-line);
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-body > .cg-sec:first-child,
.cg[b-90192rr2hi]  .cg-body > .cg-pair:first-child {
    padding-top: 0;
    border-top: 0;
}

/* Two sections side by side (the road to level 20 and the tips). */
.cg[b-90192rr2hi]  .cg-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 3.4vw, 56px);
    padding: var(--cg-sec-pad) 0;
    border-top: 1px solid var(--fd-line);
}

.cg[b-90192rr2hi]  .cg-pair > .cg-sec {
    padding: 0;
    border-top: 0;
}

.cg[b-90192rr2hi]  .cg-in {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-in > .fd-sh {
    margin-bottom: 4px;
}

/* A section's h2 written straight in a column (Overview, the HP and starting kit columns). */
.cg[b-90192rr2hi]  .cg-h2 {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: var(--fd-h2);
    line-height: 1.14;
    color: var(--fd-cream-2);
    text-wrap: balance;
}

.cg[b-90192rr2hi]  .cg-two {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 24px clamp(28px, 3vw, 44px);
    align-items: start;
}

.cg[b-90192rr2hi]  .cg-col,
.cg[b-90192rr2hi]  .cg-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-stack--tight {
    gap: 10px;
}

/* As many cards a row as fit at 280px (the old auto-fit grid), but a short last row shares the width: a lone last
   card fills its row instead of sitting beside empty columns. */
.cg[b-90192rr2hi]  .cg-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cg[b-90192rr2hi]  .cg-grid > * {
    flex: 1 1 min(100%, 280px);
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-grid--feat {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
}

/* ---------- Prose ---------- */
.cg[b-90192rr2hi]  .cg-prose {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 76ch;
    font-size: 16.5px;
    line-height: 1.68;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-prose strong {
    color: var(--fd-text);
    font-weight: 700;
}

.cg[b-90192rr2hi]  :is(.cg-prose, .cg-card, .cg-abil, .cg-style, .cg-callout, .cg-list, .cg-formula) a:not([class]),
.cg[b-90192rr2hi]  .fd-sub a {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 45%, transparent);
    text-underline-offset: 3px;
}

.cg[b-90192rr2hi]  .cg-prose code,
.cg[b-90192rr2hi]  .cg-formula code {
    font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
    color: var(--fd-gold-soft);
}

/* ---------- Group label: gold caps with a rule after it ---------- */
.cg[b-90192rr2hi]  .cg-lbl {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 0;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold);
}

.cg[b-90192rr2hi]  .cg-lbl::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--fd-gold) 40%, transparent), transparent);
}

/* ---------- Cards ---------- */
.cg[b-90192rr2hi]  :is(.cg-card, .cg-abil, .cg-style, .cg-feat, .cg-panel) {
    min-width: 0;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
}

.cg[b-90192rr2hi]  .cg-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    color: var(--fd-text-3);
    font-size: 14.5px;
    line-height: 1.6;
}

.cg[b-90192rr2hi]  .cg-card__t {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold);
}

.cg[b-90192rr2hi]  .cg-card--good {
    border-color: color-mix(in srgb, var(--fd-good) 45%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-good-deep) 32%, transparent), var(--fd-card-bottom));
}

.cg[b-90192rr2hi]  .cg-card__t--good {
    color: var(--fd-good);
}

.cg[b-90192rr2hi]  .cg-card__t--muted {
    color: var(--fd-text-3);
}

/* Feature card (Core Strengths): a gold hex icon and the copy beside it. */
.cg[b-90192rr2hi]  .cg-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
}

.cg[b-90192rr2hi]  .cg-hex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 44px;
    flex: none;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 17px;
}

.cg[b-90192rr2hi]  .cg-hex .material-icons {
    font-size: 20px;
}

.cg[b-90192rr2hi]  .cg-hex--quiet {
    background: var(--fd-slate);
    color: var(--fd-gold-text);
}

.cg[b-90192rr2hi]  .cg-feat__tx {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-feat__t {
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1.3;
    color: var(--fd-text);
}

.cg[b-90192rr2hi]  .cg-feat__b {
    font-size: 14px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

/* Ability card: the unlock level in a gold hex, the name, the slot tag and the chips, the effect, the body. */
.cg[b-90192rr2hi]  .cg-abil {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.cg[b-90192rr2hi]  .cg-abil__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "hex name"
        "hex unlock"
        "hex end";
    align-items: center;
    column-gap: 12px;
}

.cg[b-90192rr2hi]  .cg-abil__head > .cg-hex {
    grid-area: hex;
}

.cg[b-90192rr2hi]  .cg-abil__name {
    grid-area: name;
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--fd-text);
}

.cg[b-90192rr2hi]  .cg-abil__unlock {
    grid-area: unlock;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--fd-gold-text);
}

/* A passive's condition chip sits under its name, where a narrow card has room for it. */
.cg[b-90192rr2hi]  .cg-abil__head > .cg-chip {
    grid-area: end;
    justify-self: start;
    margin-top: 4px;
    white-space: normal;
}

.cg[b-90192rr2hi]  .cg-abil__fx {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--fd-gold-soft);
}

.cg[b-90192rr2hi]  .cg-abil__body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-abil__body strong,
.cg[b-90192rr2hi]  .cg-style strong,
.cg[b-90192rr2hi]  .cg-card strong {
    color: var(--fd-text);
}

/* A passive that needs company (Shield Wall, the auras): dashed gold, quiet hex. */
.cg[b-90192rr2hi]  .cg-abil--passive {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--fd-gold) 38%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 5%, transparent), var(--fd-card-bottom));
}

/* Style card (fighting styles, Rage, Swagger): an icon and the name, the chips, the body. */
.cg[b-90192rr2hi]  .cg-style {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border-top: 2px solid color-mix(in srgb, var(--fd-gold) 55%, transparent);
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* The pick the forge selects by default (the Warrior's Defense): ringed in gold, as the forge draws a selected card. */
.cg[b-90192rr2hi]  .cg-style--pick {
    border-color: color-mix(in srgb, var(--fd-gold) 60%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 7%, transparent), var(--fd-card-bottom));
}

.cg[b-90192rr2hi]  .cg-style__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cg[b-90192rr2hi]  .cg-style__ic {
    display: inline-flex;
    color: var(--fd-gold);
}

.cg[b-90192rr2hi]  .cg-style__ic .material-icons {
    font-size: 22px;
}

.cg[b-90192rr2hi]  .cg-style__name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--fd-text);
}

/* ---------- Chips and slot tags ---------- */
.cg[b-90192rr2hi]  .cg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cg[b-90192rr2hi]  :is(.cg-tag, .cg-chip) {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.cg[b-90192rr2hi]  .cg-chip {
    border: 1px solid var(--fd-line-strong);
    background: color-mix(in srgb, var(--fd-bg) 55%, transparent);
    color: var(--fd-text-2);
}

/* A turn slot reads its economy token (the in-game slot colors); anything else is gold. */
.cg[b-90192rr2hi]  .cg-tag {
    --cg-tag: var(--fd-gold);
    border: 1px solid color-mix(in srgb, var(--cg-tag) 55%, transparent);
    background: color-mix(in srgb, var(--cg-tag) 14%, transparent);
    color: color-mix(in srgb, var(--cg-tag) 65%, var(--fd-text));
}

.cg[b-90192rr2hi]  .cg-tag--action {
    --cg-tag: var(--color-eco-action);
}

.cg[b-90192rr2hi]  .cg-tag--bonus {
    --cg-tag: var(--color-eco-bonus);
}

.cg[b-90192rr2hi]  .cg-tag--free {
    --cg-tag: var(--color-eco-free);
}

.cg[b-90192rr2hi]  .cg-tag--reaction {
    --cg-tag: var(--color-eco-reaction);
}

.cg[b-90192rr2hi]  .cg-tag--passive {
    --cg-tag: var(--fd-good);
}

/* ---------- Kit rows (starting equipment) ---------- */
.cg[b-90192rr2hi]  .cg-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.cg[b-90192rr2hi]  .cg-item--later {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--fd-gold) 35%, transparent);
}

.cg[b-90192rr2hi]  .cg-item__ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 10px;
    background: var(--fd-slate);
    border: 1px solid var(--fd-line-strong);
    color: var(--fd-text-2);
}

.cg[b-90192rr2hi]  .cg-item--later .cg-item__ic {
    color: var(--fd-gold);
    border-color: color-mix(in srgb, var(--fd-gold) 40%, transparent);
}

.cg[b-90192rr2hi]  .cg-item__ic .material-icons {
    font-size: 20px;
}

.cg[b-90192rr2hi]  .cg-item__tx {
    flex: 1;
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-item__name {
    font-weight: 700;
    font-size: 15px;
    color: var(--fd-text);
}

.cg[b-90192rr2hi]  .cg-item__desc {
    font-size: 13px;
    line-height: 1.45;
    color: var(--fd-text-4);
}

.cg[b-90192rr2hi]  .cg-item__tag {
    flex: none;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--fd-line-gold-strong);
    background: color-mix(in srgb, var(--fd-warn-deep) 38%, transparent);
    color: var(--fd-gold-soft);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

/* ---------- Panels: base statistics, formulas ---------- */
.cg[b-90192rr2hi]  .cg-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--fd-surface);
}

.cg[b-90192rr2hi]  .cg-panel__t {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 13px 16px;
    border-bottom: 1px solid var(--fd-line);
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold);
}

.cg[b-90192rr2hi]  .cg-panel__t .material-icons {
    font-size: 18px;
}

.cg[b-90192rr2hi]  .cg-panel > :not(.cg-panel__t, .cg-kv) {
    margin: 14px 16px 0;
}

.cg[b-90192rr2hi]  .cg-panel > :last-child:not(.cg-kv) {
    margin-bottom: 16px;
}

.cg[b-90192rr2hi]  .cg-kv {
    width: 100%;
    border-collapse: collapse;
}

.cg[b-90192rr2hi]  .cg-kv th,
.cg[b-90192rr2hi]  .cg-kv td {
    padding: 11px 16px;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    vertical-align: top;
}

.cg[b-90192rr2hi]  .cg-kv th {
    width: 38%;
    font-weight: 500;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-kv td {
    font-weight: 600;
    color: var(--fd-text-2);
}

.cg[b-90192rr2hi]  .cg-kv tr:where(:not(:first-child)) > :is(td, th) {
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 12%, transparent);
}

.cg[b-90192rr2hi]  .cg-formula {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--fd-bg) 60%, transparent);
    border: 1px solid var(--fd-line-gold);
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-2);
}

.cg[b-90192rr2hi]  .cg-formula__name {
    font-weight: 700;
    color: var(--fd-text);
}

/* ---------- Bars (HP, rage) ---------- */
.cg[b-90192rr2hi]  .cg-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--fd-r-card);
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.cg[b-90192rr2hi]  .cg-bar {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.cg[b-90192rr2hi]  .cg-bar__lbl {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--fd-text-4);
    white-space: nowrap;
}

.cg[b-90192rr2hi]  .cg-bar__track {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fd-text-4) 16%, transparent);
    overflow: hidden;
}

.cg[b-90192rr2hi]  .cg-bar__fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-hp), var(--color-success-light));
}

.cg[b-90192rr2hi]  .cg-bar__val {
    min-width: 64px;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
    color: var(--fd-text);
    white-space: nowrap;
}

/* ---------- Lists ---------- */
.cg[b-90192rr2hi]  .cg-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-list > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cg[b-90192rr2hi]  .cg-list > li > :last-child {
    min-width: 0;
}

.cg[b-90192rr2hi]  .cg-list__mk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 1.55em;
    flex: none;
    color: var(--fd-gold);
}

/* The default mark: a small gold diamond drawn with a box. */
.cg[b-90192rr2hi]  .cg-list__mk:empty::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--fd-gold);
    transform: rotate(45deg);
}

.cg[b-90192rr2hi]  .cg-list__mk .material-icons {
    font-size: 18px;
}

.cg[b-90192rr2hi]  .cg-list--check .cg-list__mk {
    color: var(--fd-good);
}

.cg[b-90192rr2hi]  .cg-list--dash .cg-list__mk:empty::before {
    width: 10px;
    height: 2px;
    background: var(--fd-text-4);
    transform: none;
}

/* The road to level 20: a hex per stop on a gold line. */
.cg[b-90192rr2hi]  .cg-list--road {
    gap: 0;
}

.cg[b-90192rr2hi]  .cg-list--road > li {
    position: relative;
    gap: 16px;
    padding-bottom: 18px;
}

.cg[b-90192rr2hi]  .cg-list--road > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: color-mix(in srgb, var(--fd-gold) 45%, transparent);
}

.cg[b-90192rr2hi]  .cg-list--road .cg-hex {
    margin-top: 0;
}

.cg[b-90192rr2hi]  .cg-list--road > li > :last-child {
    padding-top: 9px;
}

/* ---------- Numbered steps and level rows ---------- */
.cg[b-90192rr2hi]  .cg-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-step__n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 29px;
    flex: none;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-slate);
    color: var(--fd-gold-text);
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 13px;
}

.cg[b-90192rr2hi]  .cg-lvl {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-lvl__tag {
    flex: none;
    min-width: 64px;
    padding: 2px 8px;
    border-radius: 7px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 50%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 30%, transparent);
    color: var(--fd-gold-soft);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    white-space: nowrap;
}

/* ---------- Spell rows ---------- */
.cg[b-90192rr2hi]  .cg-spell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.cg[b-90192rr2hi]  .cg-spell__name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--fd-text);
}

.cg[b-90192rr2hi]  .cg-spell__desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

/* ---------- Callout ---------- */
.cg[b-90192rr2hi]  .cg-callout {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--fd-info) 45%, transparent);
    background: color-mix(in srgb, var(--fd-info-deep) 22%, transparent);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

.cg[b-90192rr2hi]  .cg-callout__t {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-info);
}

.cg[b-90192rr2hi]  .cg-callout__t .material-icons {
    font-size: 18px;
}

/* ---------- A capture beside its cards ---------- */
.cg[b-90192rr2hi]  .cg-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 360px);
    gap: 20px;
    align-items: start;
}

/* ---------- The related classes ---------- */
.cg-related[b-90192rr2hi] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 12px;
}

/* One full-width row each at 1024px and below (A-Class-1024 / -768), never two and an orphan. */
@media (max-width: 1024px) {
    .cg-related[b-90192rr2hi] {
        grid-auto-flow: row;
        grid-template-columns: minmax(0, 1fr);
    }
}

/* A row's Premium lock sits under its copy (A-Class), not at the row's end where it narrows the tagline. */
.cg-related[b-90192rr2hi]  .fd-std--row {
    flex-wrap: wrap;
    row-gap: 4px;
}

.cg-related[b-90192rr2hi]  .fd-std--row .fd-std__bd {
    flex: 1 1 calc(100% - 64px);
}

.cg-related[b-90192rr2hi]  .fd-std--row .fd-std__lock {
    margin: 0 0 4px 64px;
}

/* ======================================================================
   The final band: the class's forge, with the standee by the mark
   ====================================================================== */

.cg-final[b-90192rr2hi] {
    position: relative;
    margin-top: clamp(16px, 2vw, 32px);
}

.cg-final[b-90192rr2hi]  .fd-hearth__in--solo {
    padding-right: clamp(300px, 26vw, 360px);
}

.cg-final__art[b-90192rr2hi] {
    position: absolute;
    right: clamp(28px, 3vw, 44px);
    bottom: 32px;
    width: 300px;
    height: 250px;
    pointer-events: none;
}

/* The class's own glow behind the mark and the standee: the band's color comes from the class (A-Class). */
.cg-final__art[b-90192rr2hi]::before {
    content: "";
    position: absolute;
    inset: -48px -56px -24px -40px;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--fd-cc) 24%, transparent), transparent);
}

.cg-final__mark[b-90192rr2hi] {
    position: absolute;
    left: 0;
    top: 40px;
    width: 170px;
    height: 170px;
    filter: drop-shadow(0 0 28px color-mix(in srgb, var(--fd-gold) 45%, transparent));
}

.cg-final__arch[b-90192rr2hi] {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 170px;
    height: 250px;
    border-width: 3px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--fd-cc) 18%, transparent), 0 20px 50px color-mix(in srgb, var(--fd-cc) 30%, transparent);
}

/* ======================================================================
   Tiers
   ====================================================================== */

/* Below 1280 the body column is too narrow for two columns of text beside the rail. */
@media not all and (min-width: 1280px) {
    .cg-hero__h1[b-90192rr2hi] {
        --cg-h1: 72px;
    }

    .cg[b-90192rr2hi]  .cg-two,
    .cg[b-90192rr2hi]  .cg-pair,
    .cg[b-90192rr2hi]  .cg-aside {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Below 1024 the TOC is a disclosure above the body: leave the first section room under it (A-Class-768). */
@media not all and (min-width: 1024px) {
    .cg-body[b-90192rr2hi] {
        padding-top: 24px;
    }
}

@media (max-width: 1024px) {
    .cg[b-90192rr2hi]  .cg-hero {
        min-height: 0;
    }

    /* The tablet's standee stays tall beside the copy (A-Class-1024). */
    .cg-hero__in[b-90192rr2hi] {
        --cg-std-w: 288px;
    }

    .cg-hero__h1[b-90192rr2hi] {
        --cg-h1: 64px;
    }

    .cg-hero__lead[b-90192rr2hi] {
        font-size: 16px;
    }

    .cg-final[b-90192rr2hi]  .fd-hearth__in--solo {
        padding-right: 240px;
    }

    .cg-final__art[b-90192rr2hi] {
        width: 190px;
        height: 200px;
    }

    .cg-final__mark[b-90192rr2hi] {
        display: none;
    }

    .cg-final__arch[b-90192rr2hi] {
        width: 150px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .cg-hero__in[b-90192rr2hi] {
        --cg-std-w: 220px;
        grid-template-rows: auto auto auto 1fr auto auto;
        grid-template-areas:
            "crumbs std"
            "role std"
            "h1 std"
            "lead std"
            "qs qs"
            "acts acts";
        column-gap: 20px;
        padding-top: 12px;
        padding-bottom: 32px;
    }

    .cg-hero__h1[b-90192rr2hi] {
        --cg-h1: 62px;
    }

    .cg-hero__lead[b-90192rr2hi] {
        margin-top: 12px;
        font-size: 15.5px;
    }

    .cg-std[b-90192rr2hi] {
        margin-top: 6px;
    }

    .cg-std__pill[b-90192rr2hi] {
        bottom: 10px;
    }

    .cg-qs[b-90192rr2hi] {
        margin-top: 20px;
    }

    .cg-hero__acts[b-90192rr2hi] {
        margin-top: 18px;
    }

    .cg-page[b-90192rr2hi] {
        padding-top: 8px;
    }

    .cg-final[b-90192rr2hi]  .fd-hearth__in--solo {
        padding-right: 16px;
    }

    .cg-final[b-90192rr2hi]  .fd-final__title {
        display: flex;
        align-items: center;
        min-height: 118px;
        padding-left: 112px;
    }

    .cg-final__art[b-90192rr2hi] {
        left: 16px;
        right: auto;
        top: 18px;
        bottom: auto;
        width: 96px;
        height: 118px;
    }

    .cg-final__arch[b-90192rr2hi] {
        left: 0;
        right: auto;
        width: 96px;
        height: 118px;
    }

    /* The label column stays wide enough for "LVL 11-16" (the Monk's dice rows). */
    .cg[b-90192rr2hi]  .cg-bar {
        grid-template-columns: 66px minmax(0, 1fr) auto;
        gap: 10px;
    }
}

/* Small phones: the bold answer stays by the h1 and the rest of the intro follows the CTA, so the CTA clears the
   fold. The paragraph's two parts become grid items (display: contents); the words and their order are unchanged. */
@media (max-width: 480px) {
    .cg-hero__in[b-90192rr2hi] {
        --cg-std-w: 128px;
        grid-template-rows: auto 1fr auto auto;
        grid-template-areas:
            "crumbs crumbs"
            "gap std"
            "role std"
            "h1 std"
            "answer answer"
            "qs qs"
            "acts acts"
            "rest rest";
        column-gap: 12px;
    }

    .cg-std[b-90192rr2hi] {
        margin-top: 2px;
    }

    /* A shorter arch beside the name, so the CTA rides higher (A-Class-390). */
    .cg-std__arch[b-90192rr2hi] {
        aspect-ratio: 3 / 4;
    }

    .cg-std__pill[b-90192rr2hi] {
        bottom: 8px;
        font-size: 9.5px;
        padding: 0 7px;
    }

    .cg-hero__h1[b-90192rr2hi] {
        --cg-h1: 42px;
    }

    .cg-hero__role[b-90192rr2hi] {
        font-size: 11.5px;
        letter-spacing: 0.18em;
    }

    .cg-hero__lead[b-90192rr2hi] {
        display: contents;
    }

    .cg-hero__answer[b-90192rr2hi] {
        grid-area: answer;
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.55;
    }

    .cg-hero__rest[b-90192rr2hi] {
        grid-area: rest;
        margin-top: 20px;
        font-size: 15.5px;
        line-height: 1.62;
        color: var(--fd-text-2);
    }

    .cg-qs[b-90192rr2hi] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .cg-hero__acts[b-90192rr2hi] {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .cg-hero__acts[b-90192rr2hi]  .cg-hero__cta {
        display: flex;
        width: 100%;
    }

    .cg-hero__all[b-90192rr2hi] {
        width: 100%;
    }

    .cg[b-90192rr2hi]  .cg-feat {
        padding: 16px;
    }

    .cg[b-90192rr2hi]  .cg-item {
        flex-wrap: wrap;
    }
}
/* /Components/Pages/Classes/Index.razor.rz.scp.css */
/* /classes (A-Classes-1366, A-Classes-390): the hall of ten above the class plates. Tokens only, canonical
   breakpoints only (480 / 768 / 960 / 1024 / 1280). Each plate and standee reads its class color as --fd-cc from its
   fd-cc-{class} class. */

/* ---------- Hero: the copy and the hall ---------- */
.cx-hero[b-op4wk4zjd0] {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 4.4vw, 72px) 0 clamp(36px, 4vw, 64px);
    border-bottom: 1px solid var(--fd-line);
    background:
        radial-gradient(ellipse 50% 70% at 78% 40%, color-mix(in srgb, var(--fd-gold) 7%, transparent), transparent 70%),
        linear-gradient(180deg, var(--fd-panel), var(--fd-bg));
}

.cx-hero__in[b-op4wk4zjd0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
    gap: clamp(32px, 4vw, 72px);
    align-items: center;
}

.cx-hero__copy[b-op4wk4zjd0] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.cx-hero__h1[b-op4wk4zjd0] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: clamp(56px, 5.4vw, 88px);
    line-height: 1.02;
    letter-spacing: 0.01em;
    color: var(--fd-cream-2);
    text-wrap: balance;
}

.cx-hero__lead[b-op4wk4zjd0] {
    max-width: 62ch;
    margin: 0;
    font-size: 18px;
    line-height: 1.62;
    color: var(--fd-text-2);
}

.cx-hero__lead strong[b-op4wk4zjd0] {
    color: var(--fd-text);
    font-weight: 700;
}

/* ::deep: the class names are links ClassLinkList builds in code, which carry no scope attribute. */
.cx-hero__lead[b-op4wk4zjd0]  a {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 45%, transparent);
    text-underline-offset: 3px;
}

/* The hall: two shelves of five standees in their class colors. */
.cx-hall[b-op4wk4zjd0] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px 16px;
    border-radius: var(--fd-r-band);
    background: var(--fd-card);
    border: 1px solid var(--fd-line-gold);
    box-shadow: var(--fd-shadow);
}

.cx-hall__shelf[b-op4wk4zjd0] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0 0 14px;
    list-style: none;
}

/* The shelf the five stand on. */
.cx-hall__shelf[b-op4wk4zjd0]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--fd-gold-pale), var(--fd-gold-dark));
    box-shadow: 0 4px 14px color-mix(in srgb, var(--fd-gold) 25%, transparent);
}

.cx-hall__std[b-op4wk4zjd0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.cx-hall__arch[b-op4wk4zjd0] {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 104 / 144;
    overflow: hidden;
    border-radius: var(--fd-r-arch);
    border: 2px solid var(--fd-cc);
    background: var(--fd-art-well);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--fd-cc) 14%, transparent), 0 10px 26px color-mix(in srgb, var(--fd-cc) 28%, transparent);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.cx-hall__arch img[b-op4wk4zjd0] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
}

.cx-hall__std:hover .cx-hall__arch[b-op4wk4zjd0] {
    transform: translateY(-2px);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--fd-cc) 30%, transparent), 0 14px 30px color-mix(in srgb, var(--fd-cc) 40%, transparent);
}

.cx-hall__lock[b-op4wk4zjd0] {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    padding: 0 6px;
    font-size: 9.5px;
}

.cx-hall__nm[b-op4wk4zjd0] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--fd-cream);
    white-space: nowrap;
}

/* ---------- The plates ---------- */
.cx-sec[b-op4wk4zjd0] {
    padding-top: clamp(40px, 4.4vw, 72px);
    padding-bottom: clamp(32px, 3vw, 48px);
}

.cx-sec[b-op4wk4zjd0]  .cx-sh .fd-sh__tx {
    max-width: 720px;
}

.cx-sec[b-op4wk4zjd0]  .cx-sh .fd-sh__end {
    flex-direction: column;
    align-items: flex-end;
}

.cx-filters[b-op4wk4zjd0] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cx-filter[b-op4wk4zjd0] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text-2);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease-out, background-color 0.15s ease-out;
}

.cx-filter[b-op4wk4zjd0]  .material-icons {
    font-size: 18px;
    color: var(--fd-text-3);
}

.cx-filter:hover[b-op4wk4zjd0] {
    border-color: color-mix(in srgb, var(--fd-gold) 45%, transparent);
}

.cx-filter.is-active[b-op4wk4zjd0] {
    border-color: var(--fd-line-gold-strong);
    background: color-mix(in srgb, var(--fd-warn-deep) 38%, transparent);
    color: var(--fd-gold-soft);
}

.cx-filter.is-active[b-op4wk4zjd0]  .material-icons {
    color: var(--fd-gold);
}

.cx-grid[b-op4wk4zjd0] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cx-slot[b-op4wk4zjd0] {
    display: flex;
    min-width: 0;
}

.cx-plate[b-op4wk4zjd0] {
    display: grid;
    grid-template-columns: clamp(120px, 11vw, 156px) minmax(0, 1fr);
    gap: 22px;
    width: 100%;
    padding: 20px;
    border-radius: var(--fd-r-glass);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    border-top: 3px solid var(--fd-cc);
    box-shadow: inset 0 40px 60px -40px color-mix(in srgb, var(--fd-cc) 22%, transparent);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.cx-plate:hover[b-op4wk4zjd0] {
    border-color: color-mix(in srgb, var(--fd-cc) 70%, transparent);
    border-top-color: var(--fd-cc);
    box-shadow: inset 0 40px 60px -40px color-mix(in srgb, var(--fd-cc) 30%, transparent), 0 16px 36px color-mix(in srgb, var(--fd-shadow-ink) 40%, transparent);
}

.cx-plate__arch[b-op4wk4zjd0] {
    position: relative;
    display: block;
    align-self: start;
    aspect-ratio: 150 / 205;
    overflow: hidden;
    border-radius: var(--fd-r-arch);
    border: 2px solid var(--fd-cc);
    background: var(--fd-art-well);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--fd-cc) 14%, transparent), 0 12px 30px color-mix(in srgb, var(--fd-cc) 26%, transparent);
}

.cx-plate__arch[b-op4wk4zjd0]  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
}

.cx-plate__lock[b-op4wk4zjd0] {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
}

.cx-plate__bd[b-op4wk4zjd0] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.cx-plate__head[b-op4wk4zjd0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.cx-plate__nm[b-op4wk4zjd0] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 28px;
    line-height: 1.1;
    color: var(--fd-cream);
}

.cx-plate__role[b-op4wk4zjd0] {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fd-cc) 60%, transparent);
    background: color-mix(in srgb, var(--fd-cc) 14%, var(--fd-art-well));
    color: color-mix(in srgb, var(--fd-cc) 70%, var(--fd-text));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cx-plate__desc[b-op4wk4zjd0] {
    font-size: 15px;
    line-height: 1.58;
    color: var(--fd-text-3);
}

.cx-plate__stats[b-op4wk4zjd0] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.cx-plate__stat[b-op4wk4zjd0] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.cx-plate__k[b-op4wk4zjd0] {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.cx-plate__v[b-op4wk4zjd0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--fd-text);
}

/* ClassGuide.SlashBreaks' pieces: an inline-block each, so "Strength/Charisma" wraps after the slash. */
.cx-plate__v[b-op4wk4zjd0]  .cg-wb {
    display: inline-block;
}

.cx-plate__v--gold[b-op4wk4zjd0] {
    color: var(--fd-gold-soft);
}

.cx-plate__feats[b-op4wk4zjd0] {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.45;
    color: var(--fd-text-2);
}

.cx-plate__feats li[b-op4wk4zjd0] {
    position: relative;
    padding-left: 18px;
}

/* A dot in the class color before each feature. */
.cx-plate__feats li[b-op4wk4zjd0]::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fd-cc);
}

.cx-plate__more[b-op4wk4zjd0] {
    align-self: flex-start;
    margin-top: auto;
}

/* ---------- The final band, with the forge's mark ---------- */
.cx-final[b-op4wk4zjd0] {
    position: relative;
    padding-bottom: var(--fd-sec);
}

.cx-final[b-op4wk4zjd0]  .fd-hearth__in--solo {
    padding-right: clamp(240px, 22vw, 320px);
}

.cx-final__art[b-op4wk4zjd0] {
    position: absolute;
    top: 50%;
    right: calc(var(--fd-gutter) + clamp(40px, 5vw, 96px));
    width: 180px;
    height: 180px;
    transform: translateY(calc(-50% - var(--fd-sec) / 2));
    pointer-events: none;
}

.cx-final__art img[b-op4wk4zjd0] {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px color-mix(in srgb, var(--fd-gold) 50%, transparent));
}

/* ---------- Tiers ---------- */
@media (max-width: 1024px) {
    .cx-hero__in[b-op4wk4zjd0] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-hall[b-op4wk4zjd0] {
        max-width: 640px;
    }

    .cx-plate[b-op4wk4zjd0] {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 16px;
        padding: 16px;
    }

    .cx-plate__nm[b-op4wk4zjd0] {
        font-size: 24px;
    }

    .cx-plate__stats[b-op4wk4zjd0] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-sec[b-op4wk4zjd0]  .cx-sh .fd-sh__end {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .cx-hero__h1[b-op4wk4zjd0] {
        font-size: 44px;
    }

    .cx-hero__lead[b-op4wk4zjd0] {
        font-size: 16px;
    }

    .cx-grid[b-op4wk4zjd0] {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cx-plate__stats[b-op4wk4zjd0] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cx-final[b-op4wk4zjd0]  .fd-hearth__in--solo {
        padding-right: 16px;
    }

    .cx-final[b-op4wk4zjd0]  .fd-final__title {
        display: flex;
        align-items: center;
        min-height: 72px;
        padding-left: 84px;
    }

    .cx-final__art[b-op4wk4zjd0] {
        top: 18px;
        left: calc(var(--fd-gutter) + 16px);
        right: auto;
        width: 68px;
        height: 68px;
        transform: none;
    }
}

/* Small phones: a small arch beside the name, then the copy full width; the filters a three-way switch. */
@media (max-width: 480px) {
    .cx-hero[b-op4wk4zjd0] {
        padding-top: 24px;
    }

    .cx-hero__copy[b-op4wk4zjd0] {
        gap: 12px;
    }

    .cx-hero__h1[b-op4wk4zjd0] {
        font-size: 38px;
    }

    .cx-hall[b-op4wk4zjd0] {
        padding: 12px 10px 10px;
        gap: 10px;
    }

    .cx-hall__shelf[b-op4wk4zjd0] {
        gap: 6px;
        padding-bottom: 10px;
    }

    .cx-hall__nm[b-op4wk4zjd0] {
        font-family: var(--fd-font-ui);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0;
    }

    .cx-hall__lock[b-op4wk4zjd0] {
        bottom: 5px;
        padding: 0 4px;
    }

    .cx-hall__lock-tx[b-op4wk4zjd0] {
        display: none;
    }

    .cx-filters[b-op4wk4zjd0] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        width: 100%;
        padding: 4px;
        border-radius: var(--fd-r-card);
        border: 1px solid var(--fd-line);
        background: var(--fd-surface);
    }

    .cx-sec[b-op4wk4zjd0]  .cx-sh .fd-sh__end {
        width: 100%;
    }

    .cx-filter[b-op4wk4zjd0] {
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        min-height: 60px;
        padding: 6px 4px;
        border-radius: 10px;
        border-color: transparent;
        background: transparent;
        font-size: 12px;
        text-align: center;
        white-space: normal;
    }

    .cx-plate[b-op4wk4zjd0] {
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-areas:
            "arch head"
            "desc desc"
            "stats stats"
            "feats feats"
            "more more";
        gap: 14px 14px;
    }

    .cx-plate__arch[b-op4wk4zjd0] {
        grid-area: arch;
        aspect-ratio: 64 / 86;
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fd-cc) 14%, transparent);
    }

    .cx-plate__lock[b-op4wk4zjd0] {
        bottom: 4px;
        padding: 0 4px;
        font-size: 8.5px;
        letter-spacing: 0.04em;
    }

    .cx-plate__bd[b-op4wk4zjd0] {
        display: contents;
    }

    .cx-plate__head[b-op4wk4zjd0] {
        grid-area: head;
        flex-direction: column;
        align-items: flex-start;
        align-self: center;
    }

    .cx-plate__nm[b-op4wk4zjd0] {
        font-size: 22px;
    }

    .cx-plate__desc[b-op4wk4zjd0] {
        grid-area: desc;
    }

    .cx-plate__stats[b-op4wk4zjd0] {
        grid-area: stats;
    }

    .cx-plate__stat[b-op4wk4zjd0] {
        padding: 8px 9px;
    }

    /* "PRIMARY STAT" on one line in a third of a phone (A-Classes-390). */
    .cx-plate__k[b-op4wk4zjd0] {
        font-size: 9px;
        letter-spacing: 0.06em;
    }

    .cx-plate__feats[b-op4wk4zjd0] {
        grid-area: feats;
    }

    .cx-plate__more[b-op4wk4zjd0] {
        grid-area: more;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-hall__arch[b-op4wk4zjd0],
    .cx-filter[b-op4wk4zjd0],
    .cx-plate[b-op4wk4zjd0] {
        transition: none;
    }

    .cx-hall__std:hover .cx-hall__arch[b-op4wk4zjd0] {
        transform: none;
    }
}
/* /Components/Pages/Combat/Combat.razor.rz.scp.css */
/* Combat Page - Pure CSS without MudBlazor interference */

.combat-empty-state[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    min-height: 50vh;
    color: var(--color-text-secondary);
}

/* The waits' one line ("Preparing battle...", "Waiting for battle to start..."): gold Cinzel, as the inline style it
   replaced drew it, on tokens. */
.combat-empty-state-title[b-necssm1ckz] {
    margin-top: var(--space-lg);
    color: var(--color-primary);
    font-family: var(--font-primary);
}

/* Combat Page Container */
.combat-page[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-secondary);
    flex: 1;
    min-height: 0;
    height: 100%;
    /* Phase 9 — anchor for the cinematic round banner (absolute-positioned child). */
    position: relative;
}

/* Screen shake for big hits / crits */
.combat-page.screen-shake[b-necssm1ckz] {
    animation: screen-shake-b-necssm1ckz 0.45s ease-out;
}

@keyframes screen-shake-b-necssm1ckz {
    0%   { transform: translate(0, 0); }
    10%  { transform: translate(-6px, 3px); }
    20%  { transform: translate(5px, -4px); }
    30%  { transform: translate(-4px, 2px); }
    40%  { transform: translate(4px, -2px); }
    50%  { transform: translate(-3px, 3px); }
    60%  { transform: translate(3px, -1px); }
    70%  { transform: translate(-2px, 1px); }
    80%  { transform: translate(1px, -1px); }
    90%  { transform: translate(-1px, 0); }
    100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .combat-page.screen-shake[b-necssm1ckz] {
        animation: none;
    }
}

/* Phone combat: the "turn your phone sideways" splash (a phone held upright; the Phone layout takes over once turned).
   The icon tips a quarter turn and back, so the request reads without the words. */
.combat-rotate-prompt[b-necssm1ckz] {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
}

.combat-rotate-icon[b-necssm1ckz] {
    font-size: 64px;
    color: var(--color-primary);
    animation: combat-rotate-hint-b-necssm1ckz 2.6s ease-in-out infinite;
}

/* MudText renders outside this page's CSS scope, so its classes are reached through the prompt (::deep). */
.combat-rotate-prompt[b-necssm1ckz]  .combat-rotate-title {
    margin-top: var(--space-md);
    font-family: var(--font-display);
    color: var(--color-primary);
}

.combat-rotate-prompt[b-necssm1ckz]  .combat-rotate-text {
    max-width: 420px;
    margin: var(--space-sm) auto 0;
    color: var(--color-text-light);
    text-align: center;
}

/* The raid's narrow-window splash (wave 2) shares the prompt's gutter and centred text (at 400px its words ran edge to
   edge), but asks to widen, not to turn: its icon stays still. */
.combat-raid-narrow .combat-rotate-icon[b-necssm1ckz] {
    animation: none;
    transform: none;
}

@keyframes combat-rotate-hint-b-necssm1ckz {
    0%, 20%   { transform: rotate(0deg); }
    45%, 75%  { transform: rotate(-90deg); }
    100%      { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
    .combat-rotate-icon[b-necssm1ckz] {
        animation: none;
        transform: rotate(-90deg);
    }
}

/* ===== BATTLE RESULT INLINE (Victory/Defeat in Middle Column) ===== */
.battle-result-inline[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    padding: var(--space-md);
    overflow-y: auto;
    animation: fadeInScale-b-necssm1ckz 0.4s ease-out;
    border-radius: var(--radius-2xl);
    min-height: 0;
    max-height: calc(100vh - 200px);
}

@keyframes fadeInScale-b-necssm1ckz {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Victory Inline - Subtle Green Glow Background */
.battle-result-inline.victory[b-necssm1ckz] {
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--combat-good) 10%, transparent) 0%, transparent 70%);
    box-shadow:
        inset 0 0 30px color-mix(in srgb, var(--combat-good) 15%, transparent),
        0 0 20px color-mix(in srgb, var(--combat-good) 20%, transparent);
    border: 1px solid color-mix(in srgb, var(--combat-good) 30%, transparent);
    animation: fadeInScale-b-necssm1ckz 0.4s ease-out, inlineGlowGreen-b-necssm1ckz 2s ease-in-out infinite;
}

@keyframes inlineGlowGreen-b-necssm1ckz {
    0%, 100% {
        box-shadow:
            inset 0 0 30px color-mix(in srgb, var(--combat-good) 15%, transparent),
            0 0 20px color-mix(in srgb, var(--combat-good) 20%, transparent);
    }
    50% {
        box-shadow:
            inset 0 0 40px color-mix(in srgb, var(--combat-good) 20%, transparent),
            0 0 30px color-mix(in srgb, var(--combat-good) 30%, transparent);
    }
}

/* Defeat Inline - Subtle Red Glow Background */
.battle-result-inline.defeat[b-necssm1ckz] {
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--combat-bad) 10%, transparent) 0%, transparent 70%);
    box-shadow:
        inset 0 0 30px color-mix(in srgb, var(--combat-bad) 15%, transparent),
        0 0 20px color-mix(in srgb, var(--combat-bad) 20%, transparent);
    border: 1px solid color-mix(in srgb, var(--combat-bad) 30%, transparent);
    animation: fadeInScale-b-necssm1ckz 0.4s ease-out, inlineGlowRed-b-necssm1ckz 2s ease-in-out infinite;
}

@keyframes inlineGlowRed-b-necssm1ckz {
    0%, 100% {
        box-shadow:
            inset 0 0 30px color-mix(in srgb, var(--combat-bad) 15%, transparent),
            0 0 20px color-mix(in srgb, var(--combat-bad) 20%, transparent);
    }
    50% {
        box-shadow:
            inset 0 0 40px color-mix(in srgb, var(--combat-bad) 20%, transparent),
            0 0 30px color-mix(in srgb, var(--combat-bad) 30%, transparent);
    }
}

/* Scrollbar for inline panels */
.battle-result-inline[b-necssm1ckz]::-webkit-scrollbar {
    width: 8px;
}

.battle-result-inline[b-necssm1ckz]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
}

.battle-result-inline[b-necssm1ckz]::-webkit-scrollbar-thumb {
    background: var(--color-border-active);
    border-radius: var(--radius-sm);
}

.battle-result-inline[b-necssm1ckz]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.6);
}

/* ===== HEADER ===== */
.combat-header[b-necssm1ckz] {
    background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
    border-bottom: 1px solid var(--color-border-base);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: var(--z-dropdown);
    flex-shrink: 0;
}

.combat-header-left[b-necssm1ckz] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-primary);
}

.combat-title[b-necssm1ckz] {
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
}

.combat-header-right[b-necssm1ckz] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.turn-badge[b-necssm1ckz] {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: var(--ct-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.turn-indicator[b-necssm1ckz] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 20px;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-warning-light);
    text-transform: uppercase;
    white-space: nowrap;
}

.turn-indicator.active[b-necssm1ckz] {
    animation: turn-pulse-b-necssm1ckz 1.5s ease-in-out infinite;
}

@keyframes turn-pulse-b-necssm1ckz {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 193, 7, 0.8), 0 0 40px rgba(255, 193, 7, 0.3);
    }
}

/* ===== MAIN LAYOUT (DESKTOP DEFAULT) ===== */
.combat-layout[b-necssm1ckz] {
    display: grid;
    grid-template-columns: 280px minmax(400px, 500px) 1fr;
    gap: var(--space-lg);
    padding: var(--space-lg);
    /* Account for: AppBar (64px) + Container padding (32px) + Footer (100px) + Combat header (60px) */
    height: calc(100vh - 256px);
    overflow: hidden;
    /* Isolate stacking context to prevent z-index conflicts with MudBlazor popovers */
    isolation: isolate;
}

.combat-sidebar[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    overflow-y: auto;
}

.combat-monsters[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    gap: var(--space-md);
    padding-right: var(--space-sm);
}

.combat-log-container[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scrollbars */
.combat-sidebar[b-necssm1ckz]::-webkit-scrollbar,
.combat-monsters[b-necssm1ckz]::-webkit-scrollbar {
    width: 6px;
}

.combat-sidebar[b-necssm1ckz]::-webkit-scrollbar-track,
.combat-monsters[b-necssm1ckz]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.combat-sidebar[b-necssm1ckz]::-webkit-scrollbar-thumb,
.combat-monsters[b-necssm1ckz]::-webkit-scrollbar-thumb {
    background: var(--color-border-active);
    border-radius: 3px;
}

.combat-sidebar[b-necssm1ckz]::-webkit-scrollbar-thumb:hover,
.combat-monsters[b-necssm1ckz]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Formation Picker */
.formation-picker-diamond[b-necssm1ckz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-2xl);
}

.formation-row[b-necssm1ckz] {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .combat-header[b-necssm1ckz] {
        padding: var(--space-sm);
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .combat-header-left[b-necssm1ckz],
    .combat-header-right[b-necssm1ckz] {
        flex: 1 1 100%;
        justify-content: center;
    }

    .combat-title[b-necssm1ckz] {
        font-size: var(--ct-base);
    }

    .combat-layout[b-necssm1ckz] {
        gap: var(--space-lg);
        padding: var(--space-sm);
        height: calc(100vh - 240px);
    }

    .combat-sidebar[b-necssm1ckz] {
        gap: var(--space-sm);
    }

    .combat-monsters[b-necssm1ckz] {
        gap: var(--space-sm);
    }

    .combat-log-container[b-necssm1ckz] {
        max-height: 300px;
        min-height: 250px;
    }

    .formation-picker-diamond[b-necssm1ckz] {
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .formation-row[b-necssm1ckz] {
        gap: var(--space-sm);
    }
}


/* ===== LANDSCAPE MOBILE ===== */
@media (max-width: 926px) and (max-height: 428px) and (orientation: landscape) {
    .combat-layout[b-necssm1ckz] {
        grid-template-columns: 200px 1fr 1fr;
        grid-template-rows: 1fr;
        height: calc(100vh - 60px);
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .combat-sidebar[b-necssm1ckz],
    .combat-monsters[b-necssm1ckz] {
        overflow-y: auto;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .turn-indicator.active[b-necssm1ckz] {
        animation: none;
    }
}

/* ===== CLASS FEATURES PANEL ===== */
.class-features-panel[b-necssm1ckz] {
    background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
    border: 1px solid var(--color-border-hover);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.class-features-panel .panel-title[b-necssm1ckz] {
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    margin: 0 0 var(--space-md) 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-necssm1ckz] .class-feature-btn {
    background: linear-gradient(135deg, var(--color-border-base), rgba(218, 165, 32, 0.1)) !important;
    border: 1px solid var(--color-border-active) !important;
    color: var(--color-primary) !important;
    transition: all var(--transition-slow) !important;
}

[b-necssm1ckz] .class-feature-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--color-border-hover), rgba(218, 165, 32, 0.15)) !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

[b-necssm1ckz] .class-feature-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

[b-necssm1ckz] .class-feature-btn .mud-chip {
    background: rgba(59, 130, 246, 0.2) !important;
    color: var(--color-info-lighter) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
}

/* Paladin-specific */
[b-necssm1ckz] .class-feature-btn.mud-button-filled.mud-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.15)) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: var(--color-warning-light) !important;
}

/* Bard-specific */
[b-necssm1ckz] .class-feature-btn.mud-button-filled.mud-secondary {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.15)) !important;
    border-color: rgba(236, 72, 153, 0.4) !important;
    color: var(--color-bard-light) !important;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .class-features-panel[b-necssm1ckz] {
        margin-top: var(--space-lg);
    }
}

/* ===== STATUS EFFECTS OVERLAY ===== */
.player-card-wrapper[b-necssm1ckz] {
    position: relative;
    flex: 0 0 auto;
}

.status-effects-overlay[b-necssm1ckz] {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 180px;
    z-index: var(--z-elevated);
    pointer-events: auto;
}

.status-effects-overlay.monster-effects[b-necssm1ckz] {
    top: 8px;
    right: 8px;
}

.status-effect-badge[b-necssm1ckz] {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated-alt);
    border: 2px solid;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base);
    animation: statusEffectPulse-b-necssm1ckz 2s ease-in-out infinite;
}

.status-effect-badge:hover[b-necssm1ckz] {
    transform: scale(1.2);
    z-index: 20;
}

/* Per-category colors provided by se-* classes in design-system.css */

/* More effects indicator */
.status-effect-badge.se-more[b-necssm1ckz] {
    border-color: var(--color-text-secondary);
    background: rgba(148, 163, 184, 0.2);
}

.status-effect-badge.se-more[b-necssm1ckz]  .mud-icon-root {
    color: var(--color-text-light);
}

/* Duration badge */
.duration-badge[b-necssm1ckz] {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: var(--color-bg-secondary);
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    width: 1.54em;
    height: 1.54em;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Pulse animation for status effects */
@keyframes statusEffectPulse-b-necssm1ckz {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.6), 0 0 20px currentColor;
    }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .status-effects-overlay[b-necssm1ckz] {
        max-width: 140px;
    }

    .status-effect-badge[b-necssm1ckz] {
        width: 28px;
        height: 28px;
    }

    .duration-badge[b-necssm1ckz] {
        width: 1.46em;
        height: 1.46em;
        font-size: var(--ct-sm);
    }
}

@media (max-width: 767px) {
    .status-effects-overlay[b-necssm1ckz] {
        max-width: 120px;
        gap: 3px;
    }

    .status-effect-badge[b-necssm1ckz] {
        width: 24px;
        height: 24px;
    }

    .duration-badge[b-necssm1ckz] {
        width: 1.36em;
        height: 1.36em;
        font-size: var(--ct-sm);
    }
}
/* /Components/Pages/Combat/Layouts/CombatMapAnchoredLayout.razor.rz.scp.css */
/* Map-anchored layout, co-op additions (combat HUD rethink WP10, Concept A). The base Desktop / Wide grid
   ("topstrip log" / "battle log" / "dock log") lives in wwwroot/css/combat-responsive.css (.combat-layout) and
   combat-wide.css (.combat-layout-wide). A party battle adds a left column: the party frames beside the board, and
   under them, beside the dock, the local player's own vitals (F14: WP9b's CombatVitals, which the dock drops in a
   party battle). Both are grid items, never position: fixed over the board.
   The child components keep their global grid-area names (topstrip, battle, dock, log); these scoped rules only
   re-template the grid when the layout root carries .combat-layout--party. Scoped selectors outrank the global
   .combat-layout / .combat-layout-wide templates whatever the stylesheet order. */

div.combat-layout.combat-layout--party[b-y2xdzqt77v],
div.combat-layout-wide.combat-layout--party[b-y2xdzqt77v] {
    grid-template-columns: var(--party-col-width) minmax(0, 1fr) var(--log-col-width, 0px);
    grid-template-areas:
        "topstrip topstrip log"
        "party    battle   log"
        "vitals   dock     log";
}

/* Desktop tier (1280-1919): wide enough for CombatVitals in the vitals cell, narrow enough to leave
   the board most of the row. */
div.combat-layout.combat-layout--party[b-y2xdzqt77v] {
    --party-col-width: 280px;
}

/* Wide tier (1920+). */
div.combat-layout-wide.combat-layout--party[b-y2xdzqt77v] {
    --party-col-width: 300px;
}

/* The battle cell's height (WP12). Desktop / Wide only: the tablet's board cell is not a .combat-zone-col of this
   layout, so none of this reaches it.
   - Free height. boardSizing.js fits the board, seen from straight above (hex disc build W1a: no tilt, no headroom),
     to the cell's height less the side labels' band under the plane (--board-label-band, 16px) and the thin band over it
     (--board-top-band, 6px, so a back-row halo is not cut). The viewport fills the cell (--board-cell-h-px), centres
     the board, pads its top by the thin band and its bottom by the labels' band, so the labels sit under the plane in
     view. Board coordinates are measured from the elements' rects (VFX, camera pan), so the board may sit anywhere in
     its viewport.
   - Nothing else takes a row (hex disc W1h, owner 13 Nov 2026: "reclaim height"). The waypoint breadcrumb that hugged
     the top strip lives IN the strip now (Layouts/CombatWaypointCrumb), and the movement hint, which had a 32px slot
     the cell always kept at its bottom, is a one-line pill laid over the board's bottom-left corner, in the hint lane
     (--board-hint-lane: the pill's 22px and its 3px offset, plus a pixel): the fight camera keeps that strip out of its
     free area (boardCamera.js laneFor), so at the resting fit the pill lies over the rim under the grid, never over a
     hex, and no frame puts a combatant under it. The lane is declared, not measured, so the board never resizes when the
     pill comes and goes every turn. Narrower than 30% of the board, so the camera never takes it for an overlay band
     either. Its words ellipsise; only its buttons (Shadow Step, Swift Step) take the pointer, so a click through its
     words still lands on the board.
   - The lane is declared on the CELL, not the viewport: the camera reads it from the viewport, which inherits it, and the
     instructor card (a sibling of the viewport, CoachCard) places itself above the same pill from the same variable, so
     the card tracks the lane. While the instructor coaches the battle ("has-coach") the cell also declares the card's
     lane (--board-coach-lane): the card's 34px offset (the hint lane and 8px) and two lines of its height (about 76px),
     and a couple of pixels of air. The camera keeps the larger of the two lanes out of its free area (the card sits above
     the pill, in the same corner), so the hero and the lit hexes are never under it; declared for the whole battle, so
     the board never moves as lines come and go. A literal px, because getComputedStyle hands the camera the token stream,
     not the evaluated value of a calc(). */
.combat-zone-col[b-y2xdzqt77v] {
    position: relative;
    --board-hint-lane: 26px;
}

.combat-zone-col.has-coach[b-y2xdzqt77v] {
    --board-coach-lane: 112px;
}

/* The rows sit a little closer than the columns (the global grids' gap is 10px / 12px): the vertical space goes to
   the board. */
div.combat-layout[b-y2xdzqt77v] {
    row-gap: 6px;
}

div.combat-layout-wide[b-y2xdzqt77v] {
    row-gap: 8px;
}

.combat-zone-col[b-y2xdzqt77v]  .board-zoom-viewport {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: var(--board-top-band, 6px);
    padding-bottom: var(--board-label-band, 16px);
}

.combat-zone-col[b-y2xdzqt77v]  .board-iso-container {
    flex-shrink: 0;
}

.combat-zone-col[b-y2xdzqt77v]  .zone-movement-hint {
    position: absolute;
    left: 8px;
    bottom: 3px;
    z-index: 15;
    box-sizing: border-box;
    height: calc(22px * var(--ct-box));
    max-width: min(28%, 460px);
    gap: 6px;
    padding: 0 10px;
    flex-wrap: nowrap;
    overflow: hidden;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 82%, transparent);
    pointer-events: none;
}

.combat-zone-col[b-y2xdzqt77v]  .zone-movement-hint .movement-hint-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: calc(20px * var(--ct-box));
    color: var(--color-text-light);
}

.combat-zone-col[b-y2xdzqt77v]  .zone-movement-hint .movement-hint-icon {
    vertical-align: top;
    line-height: calc(20px * var(--ct-box));
    margin-right: 4px;
}

.combat-zone-col[b-y2xdzqt77v]  .zone-movement-hint .mud-button-root {
    flex-shrink: 0;
    height: 1.79em;
    min-height: 1.79em;
    padding: 0 6px;
    font-size: var(--ct-sm);
    pointer-events: auto;
}

/* The party column: the ally frames, then the seat feed in the height left under them (wave 2, M0). The frames keep
   their own height up to 55% of the column and scroll past it; the feed takes the rest. */
.combat-party-col[b-y2xdzqt77v] {
    grid-area: party;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: 8px;
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: var(--radius-2xl);
}

.combat-party-frames[b-y2xdzqt77v] {
    flex: 0 1 auto;
    min-height: 0;
    max-height: 55%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.combat-party-col[b-y2xdzqt77v]  .seat-feed {
    flex: 1 1 0;
    min-height: 0;
}

/* The own-vitals cell: CombatVitals sheds its frame for the dock's, so the cell draws the party column's frame
   (and, while an ally action is aimed, makes the whole tile your own target). */
.combat-own-vitals[b-y2xdzqt77v] {
    grid-area: vitals;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    padding: 8px;
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: var(--radius-2xl);
}

.combat-own-vitals[b-y2xdzqt77v]  .combat-vitals {
    min-width: 0;
    max-width: none;
}

/* Ally aiming on yourself: the board's --aim-eco rule (the aimed action's turn slot), the frames' glow / dim. */
.combat-own-vitals.aim-mode[b-y2xdzqt77v] {
    --aim-eco: var(--color-eco-action);
}

.combat-own-vitals.aim-mode.aim-eco-bonus[b-y2xdzqt77v] {
    --aim-eco: var(--color-eco-bonus);
}

.combat-own-vitals.aim-mode.aim-eco-free[b-y2xdzqt77v] {
    --aim-eco: var(--color-eco-free);
}

.combat-own-vitals.aim-valid[b-y2xdzqt77v] {
    outline: 2px solid var(--aim-eco);
    outline-offset: 2px;
}

.combat-own-vitals.aim-armed[b-y2xdzqt77v] {
    outline-width: 3px;
}

.combat-own-vitals.aim-invalid[b-y2xdzqt77v] {
    opacity: 0.55;
}

.own-vitals-aim-hit[b-y2xdzqt77v] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 6px;
    border: 0;
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--aim-eco, var(--color-eco-action)) 10%, transparent);
    cursor: pointer;
    z-index: 2;
}

.combat-own-vitals.aim-invalid .own-vitals-aim-hit[b-y2xdzqt77v] {
    cursor: not-allowed;
    background: transparent;
}

.own-vitals-aim-hit:focus-visible[b-y2xdzqt77v] {
    outline: 2px solid var(--aim-eco, var(--color-primary));
    outline-offset: -2px;
}

.own-vitals-aim-label[b-y2xdzqt77v] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: calc(100% - 12px);
    padding: 1px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-bg-base) 90%, transparent);
    border: 1px solid var(--aim-eco, var(--color-eco-action));
    color: var(--aim-eco, var(--color-eco-action));
    font-size: var(--ct-sm);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.combat-own-vitals.aim-invalid .own-vitals-aim-label[b-y2xdzqt77v] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    color: var(--color-text-secondary);
}

.own-vitals-aim-label .material-icons[b-y2xdzqt77v] {
    font-size: var(--ct-md);
}
/* /Components/Pages/Combat/Layouts/CombatPhoneLayout.razor.rz.scp.css */
/* CombatPhoneLayout.razor.css : the phone tier (a phone held sideways, Combat.Layout.cs; phone combat). Its own class
   names (phone-hud-*), so neither the tablet's nor the legacy phone rules reach it. Three rows: a 44px top strip, the
   board (all the height that is left), the dock. The main content is sized to the viewport for this layout and the
   site's app bar and Alpha banner are hidden (combat-responsive.css, "PHONE"). Board tweaks for this tier are here
   (::deep), never in ZoneBattlefieldHex.razor.css. Tokens only. */

.phone-hud[b-tbqgb76kmk] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "top"
        "board"
        "dock";
    gap: 4px;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    height: 100%;
    padding:
        max(2px, env(safe-area-inset-top, 0px))
        max(6px, env(safe-area-inset-right, 0px))
        max(4px, env(safe-area-inset-bottom, 0px))
        max(6px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    overflow: hidden;
    background: var(--color-bg-secondary);
}

/* ----- Top strip ----- */

.phone-hud-top[b-tbqgb76kmk] {
    grid-area: top;
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 44px;
}

/* The Battle menu (Components/Frame/GfBattleMenu): first in the strip's markup (the HUD's first tab stop), drawn last,
   at the strip's right edge; its panel drops over the board (the strip's z-index above). */
.phone-hud-top[b-tbqgb76kmk]  .phone-hud-battle {
    order: 99;
}

/* The turn order shares the strip's free width with the log's peek row (combat log W4): a fixed basis instead of its
   content's width, so a raid's thirteen portraits never squeeze the peek row's line out; it shows the next few. */
.phone-hud-tracker[b-tbqgb76kmk] {
    flex: 1 1 140px;
    min-width: 72px;
    overflow: hidden;
}

.phone-hud-tracker[b-tbqgb76kmk]  .initiative-tracker.mobile {
    gap: 6px;
    margin: 0;
    padding: 2px 4px;
}

.phone-hud-tracker[b-tbqgb76kmk]  .initiative-tracker.mobile .initiative-round-pill {
    padding: 2px 8px;
}

.phone-hud-tracker[b-tbqgb76kmk]  .initiative-tracker.mobile .initiative-slots {
    --slot-size: 32px;
    --slot-gap: 5px;
}

/* The co-op pill (compact: the name, "(offline)", on deck, the countdown) keeps its own width up to 34% of the strip
   (the turn order gives way first), past that its label ellipsizes, so a long name never pushes the log and menu
   buttons off the strip and "Your turn" is never cut. */
.phone-hud-turn[b-tbqgb76kmk] {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 34%;
    display: flex;
    align-items: center;
}

.phone-hud-turn-pill[b-tbqgb76kmk] {
    display: inline-flex;
    align-items: center;
    height: 2.69em;
    padding: 0 10px;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-border-hover);
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.phone-hud-turn-pill.is-mine[b-tbqgb76kmk] {
    border-color: color-mix(in srgb, var(--color-success) 55%, transparent);
    background: color-mix(in srgb, var(--color-success) 14%, transparent);
    color: var(--color-success-light);
}

.phone-hud-icon-btn[b-tbqgb76kmk] {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-hover);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-text-light);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.phone-hud-icon-btn .material-icons[b-tbqgb76kmk] {
    font-size: var(--ct-2xl);
}

.phone-hud-icon-btn.has-unread[b-tbqgb76kmk] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    color: var(--color-primary);
}

.phone-hud-icon-btn:focus-visible[b-tbqgb76kmk] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.phone-hud-badge[b-tbqgb76kmk] {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.81em;
    height: 1.81em;
    padding: 0 4px;
    border-radius: var(--radius-round);
    background: var(--color-danger);
    color: var(--color-text-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    line-height: 1.81;
    text-align: center;
}

/* ----- Board: all the height that is left ----- */

.phone-hud-board[b-tbqgb76kmk] {
    grid-area: board;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    /* boardSizing.js: a short screen may draw the board narrower than the desktop floor (560px) before its plane
       would overflow the height. */
    --board-min-w: 420px;
}

/* The top lane (aim bar pass, 14 Nov 2026): one strip along the board's top edge holds whichever bar the moment needs,
   the selected foe's (.phone-hud-target, 44px), an open aim's (.board-aim-strip) or a pending move's
   (.board-move-confirm), each 2px from the edge and each 46px tall: the 44px touch floor of its Cancel and a pixel of
   border either side, with no padding above or below it. They used to come and go as overlays the fight camera kept every
   combatant out from under, so selecting a foe, arming an action or tapping a hex slid the whole map down to clear the
   bar and back up when it left (about 50px on a 390px-tall phone: the "bounce"). The viewport declares the lane
   (--board-top-lane, px: 2px and 46px) and boardCamera.js frames every fight below it, always,
   so a bar coming or going moves nothing; the board is framed in the stage less this lane, the cost of a still map. A bar
   taller than the lane (a provoking move's, which wraps) still pushes the frame, as any overlay does. */
/* The board fits this cell (boardSizing.js's container): the viewport centres the board, seen from straight above
   (hex disc build W1a), and pads its bottom by the side labels' band, as on the tablet. */
.phone-hud-board.has-coach[b-tbqgb76kmk] {
    /* The instructor card's lane (CoachCard, boardCamera.js laneFor): the card is 34px above the board's bottom and about
       60px tall for two lines of its smaller words, plus a couple of pixels of air. Declared for the whole coached battle,
       a literal px (getComputedStyle does not evaluate a calc()), so the camera keeps the hero and the lit hexes out from
       under the card and the board never moves as lines come and go. The camera never leaves less than 40% of the stage's
       height free, so on the shortest phones the lane gives way there. */
    --board-coach-lane: 94px;
}

.phone-hud-board[b-tbqgb76kmk]  .board-zoom-viewport {
    --board-top-lane: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: var(--board-top-band, 6px);
    padding-bottom: var(--board-label-band, 16px);
}

.phone-hud-board[b-tbqgb76kmk]  .board-iso-container {
    flex-shrink: 0;
}

/* The selected foe's lift card covered about 30% of a phone's board (W1d polish, director's critique item 13). The spec
   uses no lift card on phones (Docs/LRPG_HEX_DISC_TOKENS.md 3.6): the target bar along the board's top already names the
   foe, its HP and its AC, so the open card steps aside at every density. The polish gated this on compact density, but
   once the fight camera zooms in, a phone board draws standard discs and the card came back (W1d final live check).
   A keyboard focus still opens one (TokenLiftCard.razor.css). */
.phone-hud-board[b-tbqgb76kmk]  .lift-card.is-open {
    display: none;
}

/* The zoom stack would cost board height; pinch zooms, and the touch controls centre and fit. (The waypoint breadcrumb
   is never drawn on the board since hex disc W1h: it lives in the desktop and tablet top strip; the phone's strip has
   no room for it.) */
.phone-hud-board[b-tbqgb76kmk]  .board-zoom-controls {
    display: none;
}

.phone-hud-board[b-tbqgb76kmk]  .board-touch-controls {
    position: absolute;
    right: 4px;
    bottom: 4px;
    z-index: 20;
    display: flex;
    gap: 6px;
}

.phone-hud-board[b-tbqgb76kmk]  .touch-ctrl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--color-border-hover);
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--color-text-light);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.phone-hud-board[b-tbqgb76kmk]  .touch-ctrl-btn .material-icons {
    font-size: var(--ct-2xl);
    pointer-events: none;
}

.phone-hud-board[b-tbqgb76kmk]  .touch-ctrl-btn.touch-ctrl-active {
    border-color: var(--color-eco-move);
    color: var(--color-eco-move);
}

/* The movement hint (and a Rogue's or Monk's step button) floats at the board's bottom left instead of taking a row. */
.phone-hud-board[b-tbqgb76kmk]  .zone-movement-hint {
    position: absolute;
    left: 4px;
    bottom: 4px;
    z-index: 15;
    max-width: calc(100% - 120px);
    box-sizing: border-box;
    padding: 2px 8px;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
    border-radius: var(--radius-round);
    background: color-mix(in srgb, var(--color-bg-base) 82%, transparent);
}

.phone-hud-board[b-tbqgb76kmk]  .movement-hint-text {
    font-size: var(--ct-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.phone-hud-board[b-tbqgb76kmk]  .zone-movement-hint .mud-button-root {
    min-height: 32px;
    padding-top: 0;
    padding-bottom: 0;
}

/* The touch aim strip docks at the board's top edge as one or two short lines: the action
   and target, then the preview. Its Confirm moves to the dock (the thumb's button, TabletHotbar's phone arrangement);
   its range-and-hint line goes (the glowing targets say it); Cancel stays, as an icon. */
.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip {
    top: 2px;
    bottom: auto;
    width: min(620px, calc(100% - 8px));
}

.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip .aim-banner {
    padding-top: 0;
    padding-bottom: 0;
}

.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip .aim-banner-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
}

.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip .aim-banner-meta,
.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip .aim-banner-confirm {
    display: none;
}

/* 44px, the touch floor (aim bar pass, 14 Nov 2026). With no padding above or below it the strip is 46px tall and lies
   over the board's top lane (--board-top-lane, 48px: its 46px and its 2px offset), which the camera keeps clear of every
   fight at all times, so the strip's height is the lane's, never a move of the map. */
.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip .aim-banner-cancel {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
}

.phone-hud-board[b-tbqgb76kmk]  .board-aim-strip .aim-banner-cancel .material-icons ~ span {
    display: none;
}

/* Confirm-to-move (owner decision Q2): the pending move's bar takes the aim strip's place at the top edge, one line,
   so it never sits on the hint (bottom left) or the touch controls (bottom right). The target bar steps aside while it
   is up (combat-responsive.css, "PHONE": the rule needs :has across both components' scopes). */
.phone-hud-board[b-tbqgb76kmk]  .board-move-confirm {
    top: 2px;
    bottom: auto;
    flex-wrap: nowrap;
    padding: 0 4px 0 10px;
}

.phone-hud-board[b-tbqgb76kmk]  .board-move-confirm-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0 10px;
}

/* Move is the thumb's button on the phone (TabletHotbar's th-move-confirm), as Confirm is for an aim; the bar keeps the
   line and Cancel, as the aim strip keeps its Cancel. */
.phone-hud-board[b-tbqgb76kmk]  .board-move-confirm-move {
    display: none;
}

/* Monsters to 5e D3: a provoking move's line names its attackers and the bar may offer "Disengage first", so it wraps. */
.phone-hud-board[b-tbqgb76kmk]  .board-move-confirm.is-provoking {
    flex-wrap: wrap;
}

/* ----- The target bar (the selected enemy), along the board's top edge ----- */

.phone-hud-target[b-tbqgb76kmk] {
    position: absolute;
    top: 2px;
    left: 50%;
    z-index: 30;
    max-width: calc(100% - 8px);
    transform: translateX(-50%);
}

/* ----- Dock ----- */

.phone-hud-dock[b-tbqgb76kmk] {
    grid-area: dock;
    min-width: 0;
    padding: 4px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}
/* /Components/Pages/Combat/Layouts/CombatTabletLayout.razor.rz.scp.css */
/* CombatTabletLayout.razor.css : the tablet tier (960-1279px, Combat.Layout.cs; combat HUD rethink WP11).
   Its own class names (tablet-hud-*), so the legacy 768-1199 rules in combat-responsive.css never reach it. The grid
   fills the main content, which combat-responsive.css sizes to the viewport for this layout (the html.rf-tablet-hud
   root flag rule there, js/frame/rootFlags.js). Landscape: the board with a side column (target panel, enemies, recent events). Portrait: the side
   panel becomes a row under the board. The dock is your vitals beside the tabbed hotbar in both.
   Canonical breakpoints only (1024); orientation picks the arrangement. Tokens only. */

.tablet-hud[b-vnx9gb7pru] {
    --tablet-vitals-width: 280px;
    --tablet-side-width: 300px;
    display: grid;
    grid-template-columns: var(--tablet-vitals-width) minmax(0, 1fr) var(--tablet-side-width);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "top    top     top"
        "board  board   side"
        "vitals actions actions";
    gap: 8px;
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    padding: 6px max(8px, env(safe-area-inset-right, 0px)) max(8px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    overflow: hidden;
}

.tablet-hud.tablet-hud--party[b-vnx9gb7pru] {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
        "top    top     top"
        "party  party   party"
        "board  board   side"
        "vitals actions actions";
}

/* ----- Top strip (the desktop's CombatTopStrip, made finger-sized) ----- */

.tablet-hud-top[b-vnx9gb7pru] {
    grid-area: top;
    min-width: 0;
}

.tablet-hud-top[b-vnx9gb7pru]  .combat-topstrip {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 8px;
    min-height: 52px;
    padding: 4px 8px;
}

.tablet-hud-top[b-vnx9gb7pru]  .topstrip-title {
    max-width: 150px;
}

.tablet-hud-top[b-vnx9gb7pru]  .topstrip-log-btn {
    width: 44px;
    height: 44px;
}

/* ----- Party strip (co-op) ----- */

.tablet-hud-party[b-vnx9gb7pru] {
    grid-area: party;
    min-width: 0;
}

/* ----- Board ----- */

.tablet-hud-board[b-vnx9gb7pru] {
    grid-area: board;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

/* The board fits this cell (WP12b; boardSizing.js's container), as on Desktop / Wide: it used to be sized from the
   page's width, so a short screen clipped its front rows under the hint. The board is seen from straight above (hex
   disc build W1a): the viewport centers it, pads its top by a thin band (--board-top-band) and its bottom by the side
   labels' band (--board-label-band). Hex disc W1h ("reclaim height"): the movement hint no longer keeps a 32px slot at
   the cell's bottom and the waypoint breadcrumb is in the top strip; the hint is a pill over the board's bottom edge,
   right of the touch controls, so it never moves the board when it comes and goes. */
.tablet-hud-board.has-coach[b-vnx9gb7pru] {
    /* The instructor card's lane (CoachCard, boardCamera.js laneFor): the card is 62px above the board's bottom (over the
       touch controls) and about 76px tall for two lines, plus a couple of pixels of air. Declared for the whole coached
       battle, a literal px (getComputedStyle does not evaluate a calc()), so the camera keeps the hero and the lit hexes
       out from under the card and the board never moves as lines come and go. */
    --board-coach-lane: 140px;
}

.tablet-hud-board[b-vnx9gb7pru]  .board-zoom-viewport {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: auto;
    margin-bottom: auto;
    padding-top: var(--board-top-band, 6px);
    padding-bottom: var(--board-label-band, 16px);
}

.tablet-hud-board[b-vnx9gb7pru]  .board-iso-container {
    flex-shrink: 0;
}

/* The movement hint (W1h): a pill over the board's bottom edge, just right of the touch controls (Frame the fight, Fit
   entire board and the movement-mode toggle: three 44px buttons from 12px, ZoneBattlefieldHex.razor.css), left of the
   zoom stack. Its words wrap to two lines rather than cut; its step buttons (Shadow Step, Swift Step) keep a 44px hit;
   only they take a touch. */
.tablet-hud-board[b-vnx9gb7pru]  .zone-movement-hint {
    --hint-left: calc(12px + 3 * 44px + 2 * 6px + 8px);
    position: absolute;
    left: var(--hint-left);
    bottom: 8px;
    z-index: 15;
    box-sizing: border-box;
    max-width: calc(100% - var(--hint-left) - 64px);
    gap: 6px;
    padding: 3px 10px;
    flex-wrap: nowrap;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 82%, transparent);
    pointer-events: none;
}

.tablet-hud-board[b-vnx9gb7pru]  .zone-movement-hint .movement-hint-text {
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    line-height: 1.3;
}

.tablet-hud-board[b-vnx9gb7pru]  .zone-movement-hint .movement-hint-icon {
    vertical-align: -3px;
    margin-right: 4px;
}

.tablet-hud-board[b-vnx9gb7pru]  .zone-movement-hint .mud-button-root {
    flex-shrink: 0;
    min-height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    pointer-events: auto;
}

/* Touch ergonomics on the board: the touch aim strip (Confirm / Cancel) docks at the board's bottom edge, the thumb's
   side next to the dock (D10: "the preview docks within thumb reach"), above the board's touch controls, which grow
   to 44px. */
.tablet-hud-board[b-vnx9gb7pru]  .board-aim-strip {
    top: auto;
    bottom: 60px;
}

.tablet-hud-board[b-vnx9gb7pru]  .touch-ctrl-btn,
.tablet-hud-board[b-vnx9gb7pru]  .zoom-btn {
    width: 44px;
    height: 44px;
}

/* ----- Side column: target panel, enemies, recent events ----- */

.tablet-hud-side[b-vnx9gb7pru] {
    grid-area: side;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* The enemy list keeps its full height (WP12b): it used to shrink with the column (flex-shrink plus min-height: 0)
   while its cards kept drawing, under Recent Events, at short heights. Now the side column scrolls instead. */
.tablet-hud-roster[b-vnx9gb7pru] {
    flex: 0 0 auto;
}

.tablet-hud-events[b-vnx9gb7pru] {
    flex: 1 1 auto;
    min-height: 120px;
    overflow: hidden;
    /* A column, so the events list (flex: 1, min-height: 0, overflow-y: auto in combat-responsive.css) scrolls inside
       the panel instead of being cut off at its edge; at a larger combat text size fewer rows fit. */
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-subtle);
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}

/* ----- Dock: your vitals and the tabbed hotbar ----- */

.tablet-hud-vitals[b-vnx9gb7pru] {
    grid-area: vitals;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 6px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}

.tablet-hud-vitals[b-vnx9gb7pru]  .combat-vitals {
    min-width: 0;
    max-width: none;
}

.tablet-hud-actions[b-vnx9gb7pru] {
    grid-area: actions;
    min-width: 0;
    padding: 6px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}

/* Your vitals as an ally target (a heal on yourself), as the desktop's own-vitals cell. */
.tablet-hud-vitals.aim-mode[b-vnx9gb7pru] {
    --aim-eco: var(--color-eco-action);
}

.tablet-hud-vitals.aim-mode.aim-eco-bonus[b-vnx9gb7pru] {
    --aim-eco: var(--color-eco-bonus);
}

.tablet-hud-vitals.aim-mode.aim-eco-free[b-vnx9gb7pru] {
    --aim-eco: var(--color-eco-free);
}

.tablet-hud-vitals.aim-valid[b-vnx9gb7pru] {
    outline: 2px solid var(--aim-eco);
    outline-offset: 2px;
}

.tablet-hud-vitals.aim-armed[b-vnx9gb7pru] {
    outline-width: 3px;
}

.tablet-hud-vitals.aim-invalid[b-vnx9gb7pru] {
    opacity: 0.6;
}

.tablet-hud-self-aim[b-vnx9gb7pru] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 6px;
    border: none;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}

.tablet-hud-self-aim-label[b-vnx9gb7pru] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: var(--radius-round);
    background: color-mix(in srgb, var(--color-bg-base) 88%, transparent);
    border: 1px solid var(--aim-eco);
    color: var(--aim-eco);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
}

.tablet-hud-self-aim-label .material-icons[b-vnx9gb7pru] {
    font-size: var(--ct-base);
}

.tablet-hud-self-aim:focus-visible[b-vnx9gb7pru] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ----- 1024 and below: a narrower side column and vitals ----- */

@media (max-width: 1024px) {
    .tablet-hud[b-vnx9gb7pru] {
        --tablet-vitals-width: 248px;
        --tablet-side-width: 268px;
        gap: 6px;
    }
}

/* ----- Portrait (960-1279px wide, taller than wide): the side panel becomes a row under the board ----- */

@media (orientation: portrait) {
    .tablet-hud[b-vnx9gb7pru] {
        grid-template-columns: var(--tablet-vitals-width) minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto auto;
        grid-template-areas:
            "top    top"
            "board  board"
            "side   side"
            "vitals actions";
    }

    .tablet-hud.tablet-hud--party[b-vnx9gb7pru] {
        grid-template-rows: auto auto minmax(0, 1fr) auto auto;
        grid-template-areas:
            "top    top"
            "party  party"
            "board  board"
            "side   side"
            "vitals actions";
    }

    .tablet-hud-side[b-vnx9gb7pru] {
        flex-direction: row;
        align-items: stretch;
        max-height: 230px;
        overflow-y: hidden;
    }

    /* The row is capped (the board keeps its height), so a tall target panel (intent, statuses, the aim button and
       its reason) scrolls inside its card instead of losing its aim button below the cap. */
    .tablet-hud-side[b-vnx9gb7pru]  .tablet-target {
        flex: 0 0 360px;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .tablet-hud-roster[b-vnx9gb7pru] {
        flex: 1 1 auto;
        min-width: 0;
        overflow-y: auto;
    }

    /* The full log is one tap away in the top strip; portrait keeps the board's height. */
    .tablet-hud-events[b-vnx9gb7pru] {
        display: none;
    }
}
/* /Components/Pages/Dev/FrontDoorKit.razor.rz.scp.css */
.kit-hero[b-8b1j9gn2is] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 40px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 140px;
}

.kit-hero__copy[b-8b1j9gn2is] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.kit-chips[b-8b1j9gn2is] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kit-plate-wrap[b-8b1j9gn2is] {
    padding-bottom: 24px;
}

.kit-rows[b-8b1j9gn2is] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.kit-sec[b-8b1j9gn2is] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

.kit-why[b-8b1j9gn2is] {
    padding: 16px;
}

@media (max-width: 1024px) {
    .kit-hero[b-8b1j9gn2is] {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 40px;
    }

    .kit-rows[b-8b1j9gn2is] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Pages/Editors/AdventureEditor.razor.rz.scp.css */
/* Adventure Editor - Fantasy RPG Theme */

/* Admin Warning Banner - Dark theme */
[b-ih81enozou] .admin-warning-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-left: 4px solid var(--color-warning) !important;
    border-radius: 12px;
}

[b-ih81enozou] .admin-warning-banner .mud-typography-h5 {
    color: var(--color-warning-bright) !important;
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

[b-ih81enozou] .admin-warning-banner .mud-typography-caption {
    color: var(--color-warning-light) !important;
}

[b-ih81enozou] .admin-warning-banner strong {
    color: var(--color-warning-bright);
    font-weight: 700;
}

/* Loading Paper - Centered content */
[b-ih81enozou] .loading-paper {
    text-align: center;
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt)) !important;
    border: 1px solid var(--color-border-base) !important;
}

[b-ih81enozou] .loading-paper .mud-typography {
    color: var(--color-text-primary) !important;
}

/* Page Header */
.adventure-editor-header[b-ih81enozou] {
    background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.adventure-editor-header h1[b-ih81enozou] {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

/* Waypoint Section Header */
[b-ih81enozou] .mud-typography[class*="h"] {
    font-family: 'Cinzel', serif;
    color: var(--color-primary);
}

/* Waypoint Cards - Override MudBlazor Paper defaults */
[b-ih81enozou] .mud-paper {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt)) !important;
    color: var(--color-text-primary) !important;
}

[b-ih81enozou] .mud-paper.mud-elevation-2,
[b-ih81enozou] .mud-paper.mud-elevation-4 {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt)) !important;
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
}

/* Waypoint Card specific styling */
.waypoint-card[b-ih81enozou],
[b-ih81enozou] .mud-paper:has(.mud-typography:contains("Waypoint")) {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid var(--color-border-base) !important;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Waypoint Title Styling */
[b-ih81enozou] .mud-typography-h6,
[b-ih81enozou] .mud-typography-body1,
[b-ih81enozou] .mud-typography-body2 {
    color: var(--color-text-primary) !important;
}

[b-ih81enozou] .mud-paper .mud-typography-h6 {
    font-family: 'Cinzel', serif;
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* Form Fields - Dark theme overrides */
[b-ih81enozou] .mud-input-outlined .mud-input-root {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: var(--color-border-hover) !important;
}

[b-ih81enozou] .mud-input-outlined:hover .mud-input-root {
    border-color: var(--color-border-active) !important;
}

[b-ih81enozou] .mud-input-outlined.mud-input-focused .mud-input-root {
    border-color: rgba(255, 215, 0, 0.5) !important;
}

[b-ih81enozou] .mud-input-label {
    color: var(--color-text-secondary) !important;
}

[b-ih81enozou] .mud-input-text,
[b-ih81enozou] .mud-input input {
    color: var(--color-text-primary) !important;
}

/* Textarea fields */
[b-ih81enozou] .mud-input-outlined textarea {
    background: rgba(15, 23, 42, 0.8) !important;
    color: var(--color-text-primary) !important;
}

/* Select dropdowns */
[b-ih81enozou] .mud-select .mud-input-root {
    background: rgba(15, 23, 42, 0.8) !important;
}

[b-ih81enozou] .mud-popover .mud-list {
    background: var(--color-gray-800) !important;
}

[b-ih81enozou] .mud-list-item {
    color: var(--color-text-primary) !important;
}

[b-ih81enozou] .mud-list-item:hover {
    background: rgba(255, 215, 0, 0.1) !important;
}

/* Chips & Badges */
[b-ih81enozou] .mud-chip {
    background: rgba(245, 158, 11, 0.2) !important;
    color: var(--color-warning-bright) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

[b-ih81enozou] .mud-chip .mud-chip-icon {
    color: var(--color-warning) !important;
}

/* Loading States */
[b-ih81enozou] .mud-progress-linear {
    background-color: rgba(255, 215, 0, 0.1) !important;
}

[b-ih81enozou] .mud-progress-linear-bar {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light)) !important;
}

[b-ih81enozou] .mud-progress-circular circle {
    stroke: var(--color-primary) !important;
}

/* Tab styling for editor sections */
[b-ih81enozou] .mud-tabs {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

[b-ih81enozou] .mud-tab {
    color: var(--color-text-secondary) !important;
}

[b-ih81enozou] .mud-tab.mud-tab-active {
    color: var(--color-primary) !important;
}

[b-ih81enozou] .mud-tab-slider {
    background: var(--color-primary) !important;
}

/* Switch toggles */
[b-ih81enozou] .mud-switch .mud-switch-track {
    background: rgba(255, 255, 255, 0.1) !important;
}

[b-ih81enozou] .mud-switch.mud-checked .mud-switch-track {
    background: var(--color-border-active) !important;
}

[b-ih81enozou] .mud-switch.mud-checked .mud-switch-thumb {
    background: var(--color-primary) !important;
}

/* Monster/Item Selection Chips */
[b-ih81enozou] .mud-chip-set .mud-chip {
    background: rgba(59, 130, 246, 0.15) !important;
    border: 1px solid rgba(59, 130, 246, 0.3) !important;
    color: var(--color-info-lighter) !important;
}

[b-ih81enozou] .mud-chip-set .mud-chip .mud-chip-icon {
    color: var(--color-info-light) !important;
}

/* Delete buttons */
[b-ih81enozou] .mud-button-text.mud-button-text-error {
    color: var(--color-danger-light) !important;
}

[b-ih81enozou] .mud-button-text.mud-button-text-error:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Info/Alert boxes */
[b-ih81enozou] .mud-alert.mud-alert-outlined-info {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: var(--color-info-lighter) !important;
}

[b-ih81enozou] .mud-alert.mud-alert-outlined-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
    color: var(--color-warning-light) !important;
}

[b-ih81enozou] .mud-alert.mud-alert-outlined-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: var(--color-danger-lighter) !important;
}

/* Expansion panels for waypoint details */
[b-ih81enozou] .mud-expand-panel {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid var(--color-border-base) !important;
}

[b-ih81enozou] .mud-expand-panel-header {
    background: rgba(0, 0, 0, 0.3) !important;
}

/* ====================================================================== */
/* SIMULATION DIALOG STYLING (PHASE 1-3) */
/* ====================================================================== */

/* Simulation Dialog Styling */
[b-ih81enozou] .mud-dialog .mud-dialog-content {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt)) !important;
    color: var(--color-text-primary) !important;
}

[b-ih81enozou] .mud-dialog .mud-dialog-title {
    background: rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid var(--color-border-hover) !important;
}

/* Expansion Panels in Results */
[b-ih81enozou] .mud-expansion-panel {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid var(--color-border-base) !important;
    margin-bottom: 0.5rem !important;
    border-radius: 8px !important;
}

[b-ih81enozou] .mud-expansion-panel-header {
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px 8px 0 0 !important;
}

[b-ih81enozou] .mud-expansion-panel-text {
    color: var(--color-primary) !important;
}

/* Simple Table Styling */
[b-ih81enozou] .mud-table {
    background: transparent !important;
}

[b-ih81enozou] .mud-table-head {
    background: rgba(255, 215, 0, 0.1) !important;
}

[b-ih81enozou] .mud-table-cell {
    color: var(--color-text-primary) !important;
    border-bottom-color: rgba(255, 215, 0, 0.1) !important;
    padding: 0.75rem 1rem !important;
}

[b-ih81enozou] .mud-table-row:hover {
    background: rgba(255, 215, 0, 0.05) !important;
}

/* Warning Color Coding */
[b-ih81enozou] .mud-alert.mud-alert-outlined-error,
[b-ih81enozou] .mud-alert.mud-alert-text-error {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

[b-ih81enozou] .mud-alert.mud-alert-outlined-warning,
[b-ih81enozou] .mud-alert.mud-alert-text-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
}

[b-ih81enozou] .mud-alert.mud-alert-outlined-success,
[b-ih81enozou] .mud-alert.mud-alert-text-success {
    background: rgba(34, 197, 94, 0.15) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
}

[b-ih81enozou] .mud-alert.mud-alert-outlined-info,
[b-ih81enozou] .mud-alert.mud-alert-text-info {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

/* Simulation Progress */
[b-ih81enozou] .mud-progress-circular {
    color: var(--color-info-light) !important;
}

/* Dialog Actions */
[b-ih81enozou] .mud-dialog-actions {
    background: rgba(0, 0, 0, 0.3) !important;
    border-top: 1px solid rgba(255, 215, 0, 0.1) !important;
}

/* MudChip in Results */
[b-ih81enozou] .mud-chip {
    font-weight: 600 !important;
    border-radius: 16px !important;
}

[b-ih81enozou] .mud-expand-panel-text {
    font-family: 'Cinzel', serif;
    color: var(--color-primary) !important;
}

/* Numeric fields */
[b-ih81enozou] .mud-input-numeric {
    text-align: right;
}

/* Buttons - Primary (Golden) */
[b-ih81enozou] .mud-button-filled.mud-button-filled-primary {
    background: linear-gradient(135deg, #b8860b 0%, var(--color-primary-dark) 50%, var(--color-primary) 100%) !important;
    color: var(--color-gray-900) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[b-ih81enozou] .mud-button-filled.mud-button-filled-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.5) !important;
}

/* Buttons - Success (Green) */
[b-ih81enozou] .mud-button-filled.mud-button-filled-success {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark)) !important;
    color: white !important;
}

[b-ih81enozou] .mud-button-filled.mud-button-filled-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4) !important;
}

/* Buttons - Error (Red) */
[b-ih81enozou] .mud-button-filled.mud-button-filled-error {
    background: linear-gradient(135deg, var(--color-danger), var(--color-barbarian)) !important;
    color: white !important;
}

[b-ih81enozou] .mud-button-filled.mud-button-filled-error:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}

/* Status Badges */
[b-ih81enozou] .status-draft {
    background: rgba(148, 163, 184, 0.2) !important;
    color: var(--color-text-secondary) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
}

[b-ih81enozou] .status-live {
    background: rgba(34, 197, 94, 0.2) !important;
    color: var(--color-success-light) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

[b-ih81enozou] .status-archived {
    background: rgba(239, 68, 68, 0.2) !important;
    color: var(--color-danger-lighter) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* Checkbox styling */
[b-ih81enozou] .mud-checkbox .mud-checkbox-icon {
    color: var(--color-primary) !important;
}

[b-ih81enozou] .mud-checkbox.mud-checked .mud-checkbox-icon {
    color: var(--color-primary) !important;
}

/* Icon buttons */
[b-ih81enozou] .mud-icon-button {
    color: var(--color-text-secondary) !important;
}

[b-ih81enozou] .mud-icon-button:hover {
    background: rgba(255, 215, 0, 0.1) !important;
    color: var(--color-primary) !important;
}

/* Text inside waypoint cards */
[b-ih81enozou] .mud-paper .mud-typography {
    color: var(--color-text-primary) !important;
}

[b-ih81enozou] .mud-paper .mud-typography.mud-typography-caption {
    color: var(--color-text-secondary) !important;
}

/* Boss waypoint indicator */
[b-ih81enozou] .mud-paper:has(.mud-checkbox[checked]) {
    border-left: 3px solid var(--color-danger) !important;
    background: linear-gradient(145deg, rgba(239, 68, 68, 0.1), var(--color-bg-elevated)) !important;
}

/* Waypoint Cards */
[b-ih81enozou] .waypoint-card {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt)) !important;
    border: 1px solid var(--color-border-base) !important;
    border-radius: 12px;
}

[b-ih81enozou] .waypoint-header-item {
    display: flex;
    align-items: center;
}

[b-ih81enozou] .waypoint-number {
    font-family: 'Cinzel', serif;
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* JSON Preview */
[b-ih81enozou] .json-preview {
    background: var(--color-bg-elevated-alt) !important;
    border: 1px solid var(--color-border-base) !important;
    overflow-x: auto;
    max-height: 300px;
    overflow-y: auto;
}

[b-ih81enozou] .json-code {
    font-size: 0.85em;
    white-space: pre-wrap;
    word-break: break-all;
    color: var(--color-success-lighter) !important;
    font-family: 'Courier New', monospace;
}
/* /Components/Pages/Editors/MonsterEditor.razor.rz.scp.css */
.me-header[b-oriqu3vmk6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.me-actions[b-oriqu3vmk6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.me-problems[b-oriqu3vmk6] {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
    max-height: 16rem;
    overflow-y: auto;
}

.me-problems li[b-oriqu3vmk6] {
    overflow-wrap: anywhere;
}

.me-problems code[b-oriqu3vmk6] {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .me-actions[b-oriqu3vmk6] {
        width: 100%;
    }

    .me-actions[b-oriqu3vmk6]  .mud-button-root {
        flex: 1 1 auto;
    }
}
/* /Components/Pages/Editors/MonsterImportItemDetails.razor.rz.scp.css */
.mid-details[b-ubijdemwrh] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.mid-section[b-ubijdemwrh] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mid-fields[b-ubijdemwrh] {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(8rem, max-content) 1fr;
    column-gap: 0.75rem;
    row-gap: 0.125rem;
}

.mid-fields dt[b-ubijdemwrh] {
    grid-column: 1;
    font-family: monospace;
    font-weight: 600;
}

.mid-fields dd[b-ubijdemwrh] {
    grid-column: 2;
    margin: 0;
    overflow-wrap: anywhere;
}

.mid-fields code[b-ubijdemwrh] {
    font-size: 0.8rem;
}

.mid-label[b-ubijdemwrh] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.mid-list[b-ubijdemwrh] {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.mid-list li[b-ubijdemwrh] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
    font-family: monospace;
}

@media (max-width: 768px) {
    .mid-fields[b-ubijdemwrh] {
        grid-template-columns: 1fr;
    }

    .mid-fields dt[b-ubijdemwrh],
    .mid-fields dd[b-ubijdemwrh] {
        grid-column: 1;
    }

    .mid-fields dd[b-ubijdemwrh] {
        padding-left: 0.75rem;
    }
}
/* /Components/Pages/Editors/MonsterJsonImportDialog.razor.rz.scp.css */
.mji-summary[b-a2a4t431ms] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.mji-summary[b-a2a4t431ms]  .mji-source {
    overflow-wrap: anywhere;
}

.mji-counts[b-a2a4t431ms] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.mji-id[b-a2a4t431ms],
.mji-mono[b-a2a4t431ms] {
    font-family: monospace;
    font-size: 0.8rem;
}

.mji-fields[b-a2a4t431ms] {
    font-family: monospace;
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.mji-child[b-a2a4t431ms] {
    padding: 0.25rem 1rem 0.75rem 3.5rem;
    background: var(--mud-palette-background-gray);
}

.mji-row[b-a2a4t431ms] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.mji-name[b-a2a4t431ms] {
    flex: 1 1 12rem;
    min-width: 0;
}

.mji-counts-inline[b-a2a4t431ms],
.mji-card-counts[b-a2a4t431ms] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.mji-cards[b-a2a4t431ms] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mji-card-head[b-a2a4t431ms] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.mji-card-title[b-a2a4t431ms] {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-wrap: anywhere;
}

.mji-card-counts[b-a2a4t431ms] {
    margin-top: 0.25rem;
    padding-left: 2.5rem;
}

@media (max-width: 480px) {
    .mji-card-counts[b-a2a4t431ms] {
        padding-left: 0;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
/* /Error: the status street's copy, its way back and the small reference. Tokens only; canonical breakpoints only. */

.er-badge[b-g6e0kyctpa] {
    width: 58px;
    height: 66px;
}

.er-badge[b-g6e0kyctpa]  .material-icons {
    font-size: 28px;
}

.er-lead[b-g6e0kyctpa] {
    color: var(--fd-text-2);
}

.er-help[b-g6e0kyctpa] {
    margin: 0;
    font-size: 15px;
    color: var(--fd-text-3);
}

.er-mail[b-g6e0kyctpa] {
    color: var(--fd-gold-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.er-mail:hover[b-g6e0kyctpa],
.er-mail:focus-visible[b-g6e0kyctpa] {
    color: var(--fd-gold);
}

.er-acts[b-g6e0kyctpa] {
    margin-top: 6px;
}

.er-btn[b-g6e0kyctpa] {
    min-width: 178px;
    gap: 10px;
}

.er-ref[b-g6e0kyctpa] {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--fd-text-4);
}

.er-code[b-g6e0kyctpa] {
    font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
    font-size: 12px;
    color: var(--fd-text-3);
    word-break: break-all;
}

@media (max-width: 768px) {
    .er-badge[b-g6e0kyctpa] {
        width: 48px;
        height: 54px;
    }

    .er-acts[b-g6e0kyctpa],
    .er-btn[b-g6e0kyctpa] {
        width: 100%;
    }
}
/* /Components/Pages/Features/GuildsFeaturePage.razor.rz.scp.css */
/* /features/guilds (A-Guilds-1366 / -390), on the front-door kit. Tokens only; canonical breakpoints only. */

/* ---------- Hero: the guild hall and its roster ---------- */

.gd[b-3focob1akl]  .gd-hero {
    min-height: min(740px, 100svh);
}

.gd-hero__grid[b-3focob1akl] {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 440px);
    gap: calc(var(--fd-gap) * 2.4);
    align-items: center;
    padding-top: 32px;
    padding-bottom: 56px;
}

.gd-hero__copy[b-3focob1akl] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.gd-h1__lead[b-3focob1akl] {
    display: block;
    font-size: 0.62em;
    color: var(--fd-gold);
}

.gd-lead[b-3focob1akl] {
    color: var(--fd-text-2);
}

.gd-stats[b-3focob1akl] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 780px;
}

.gd-stat[b-3focob1akl] {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-strong);
    background: color-mix(in srgb, var(--fd-night) 72%, transparent);
}

.gd-stat__label[b-3focob1akl] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.gd-stat__value[b-3focob1akl] {
    margin-top: 4px;
    font-weight: 700;
    font-size: 17px;
    color: var(--fd-text);
}

.gd-acts[b-3focob1akl] {
    margin-top: 6px;
}

/* The roster drawing (aria-hidden): Leader, three Directors, the members' hexes, "Up to 25". */
.gd-roster[b-3focob1akl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 24px 22px;
}

.gd-roster__banner[b-3focob1akl] {
    margin-bottom: 2px;
}

.gd-roster__leader[b-3focob1akl] {
    display: block;
    width: 124px;
    height: 164px;
    border: 3px solid var(--fd-gold);
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    box-shadow: 0 0 30px color-mix(in srgb, var(--fd-gold) 35%, transparent);
    overflow: hidden;
}

.gd-roster[b-3focob1akl]  .gd-roster__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 6%;
}

.gd-roster__role[b-3focob1akl] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.gd-roster__branch[b-3focob1akl] {
    position: relative;
    width: 70%;
    height: 22px;
    border: 1px solid var(--fd-gold-dark);
    border-bottom: none;
}

.gd-roster__branch[b-3focob1akl]::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -14px;
    width: 1px;
    height: 36px;
    background: var(--fd-gold-dark);
}

.gd-roster__directors[b-3focob1akl] {
    display: flex;
    gap: 18px;
}

.gd-roster__director[b-3focob1akl] {
    display: block;
    width: 70px;
    height: 88px;
    border: 2px solid color-mix(in srgb, var(--fd-cc) 70%, var(--fd-gold));
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    overflow: hidden;
}

.gd-roster__members[b-3focob1akl] {
    display: grid;
    grid-template-columns: repeat(11, 16px);
    gap: 4px;
    justify-content: center;
    margin-top: 6px;
}

.gd-roster__pip[b-3focob1akl] {
    display: block;
    width: 16px;
    height: 18px;
    background: color-mix(in srgb, var(--fd-text-4) 35%, transparent);
}

.gd-roster__total[b-3focob1akl] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--fd-line);
}

.gd-roster__total b[b-3focob1akl] {
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 26px;
    color: var(--fd-gold);
}

.gd-roster__total span[b-3focob1akl] {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

/* ---------- Sections ---------- */

.gd[b-3focob1akl]  .fd-sh {
    margin-bottom: 26px;
}

.gd-sec[b-3focob1akl] {
    padding: calc(var(--fd-sec) * 0.62) 0;
}

.gd-sec--last[b-3focob1akl] {
    padding-top: calc(var(--fd-sec) * 0.6);
}

/* The final band's heroes (A-Guilds): beside the copy from 1025px, then one hero beside the title. HearthArches draws
   them; the band itself is FdFinalCta's. */
.gd-final[b-3focob1akl] {
    position: relative;
}

.gd-final[b-3focob1akl]  .gd-final__art {
    position: absolute;
    top: 50%;
    right: calc(var(--fd-gutter) + 44px);
    transform: translateY(-50%);
}

@media not all and (min-width: 1280px) {
    .gd-final[b-3focob1akl]  .gd-final__art {
        right: calc(var(--fd-gutter) + 32px);
        transform: translateY(-50%) scale(0.8);
        transform-origin: 100% 50%;
    }
}

@media (max-width: 1024px) {
    .gd-final[b-3focob1akl]  .gd-final__art {
        top: 33px;
        right: auto;
        left: calc(var(--fd-gutter) + 33px);
        transform: none;
    }

    .gd-final[b-3focob1akl]  .fd-final__title {
        display: flex;
        align-items: center;
        min-height: 100px;
        padding-left: 90px;
    }
}

@media (max-width: 768px) {
    .gd-final[b-3focob1akl]  .gd-final__art {
        top: 19px;
        left: calc(var(--fd-gutter) + 17px);
    }

    .gd-final[b-3focob1akl]  .fd-final__title {
        padding-left: 88px;
    }
}

/* How guilds work: a band over the war host, words left, four parts right. */
.gd-band[b-3focob1akl] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
    align-items: center;
    padding: 44px;
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fd-line-gold);
}

.gd-band[b-3focob1akl]  .gd-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gd-band__scrim[b-3focob1akl] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--fd-night) 90%, transparent),
        color-mix(in srgb, var(--fd-night) 80%, transparent));
}

.gd-band__head[b-3focob1akl]  .fd-sh {
    margin-bottom: 0;
}

.gd-band__cards[b-3focob1akl] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gd-feature[b-3focob1akl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    border-radius: var(--fd-r-card);
}

.gd-feature__title[b-3focob1akl] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
}

.gd-feature__title[b-3focob1akl]  .gd-feature__icon {
    font-size: 21px;
    color: var(--fd-gold);
}

.gd-feature__text[b-3focob1akl] {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* Roles and permissions: the tiers left, the table right. */
.gd-roles[b-3focob1akl] {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: calc(var(--fd-gap) * 2.4);
    align-items: start;
}

.gd-tiers[b-3focob1akl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gd-tier[b-3focob1akl] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface);
    font-size: 15px;
    color: var(--fd-text);
}

.gd-tier[b-3focob1akl]  .material-icons {
    font-size: 20px;
    color: var(--fd-gold-text);
}

.gd-tier__note[b-3focob1akl] {
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--fd-gold-text);
}

.gd-table-wrap[b-3focob1akl] {
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--fd-panel) 75%, transparent);
    overflow: hidden;
}

.gd-table[b-3focob1akl] {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.gd-table thead th[b-3focob1akl] {
    padding: 14px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
    background: var(--fd-surface-strong);
    border-bottom: 1px solid var(--fd-line);
}

.gd-table thead th:first-child[b-3focob1akl] {
    width: 50%;
}

.gd-table th.gd-col span[b-3focob1akl] {
    display: block;
}

.gd-table thead th.gd-col[b-3focob1akl]  .material-icons {
    display: block;
    margin: 0 auto 4px;
    font-size: 19px;
    color: var(--fd-text-3);
}

.gd-table .gd-col[b-3focob1akl] {
    text-align: center;
}

.gd-table thead th.gd-col--leader[b-3focob1akl] {
    color: var(--fd-gold);
    box-shadow: inset 0 3px 0 var(--fd-gold);
}

.gd-table thead th.gd-col--leader[b-3focob1akl]  .material-icons {
    color: var(--fd-gold);
}

.gd-table td.gd-col--leader[b-3focob1akl] {
    background: color-mix(in srgb, var(--fd-gold) 5%, transparent);
}

.gd-table tbody th[b-3focob1akl],
.gd-table td[b-3focob1akl] {
    padding: 12px 16px;
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 12%, transparent);
    vertical-align: middle;
}

.gd-table tbody tr:first-child > *[b-3focob1akl] {
    border-top: none;
}

.gd-table tbody th[b-3focob1akl] {
    text-align: left;
    font-weight: 700;
    color: var(--fd-text);
}

.gd-table[b-3focob1akl]  .gd-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 17px;
}

.gd-table[b-3focob1akl]  .gd-mark--yes {
    color: var(--fd-good);
    border: 2px solid color-mix(in srgb, var(--fd-good) 70%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 55%, transparent);
}

.gd-table[b-3focob1akl]  .gd-mark--no {
    color: var(--fd-text-4);
    border: 1px solid color-mix(in srgb, var(--fd-text-4) 40%, transparent);
}

/* Getting started: three steps on one gold line. */
.gd-steps[b-3focob1akl] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--fd-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gd-steps[b-3focob1akl]::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 30%, transparent));
}

.gd-step[b-3focob1akl] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.gd-step__num[b-3focob1akl] {
    font-style: italic;
    font-size: 18px;
}

.gd-step__card[b-3focob1akl] {
    flex: 1;
    gap: 10px;
}

.gd-step__title[b-3focob1akl] {
    font-size: 17px;
}

.gd-step__text[b-3focob1akl] {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* Garrick's Hall as the party place (shown only while the flags are on for everyone): one card under its header. */
.gd-hall[b-3focob1akl] {
    max-width: 880px;
}

.gd-hall__text[b-3focob1akl] {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fd-text-2);
}

/* Related pages: roads out of the hall, each over its scene. */
.gd-road[b-3focob1akl] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 248px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.gd-road:hover[b-3focob1akl],
.gd-road:focus-visible[b-3focob1akl] {
    border-color: var(--fd-line-gold-strong);
}

.gd-road[b-3focob1akl]  .gd-road__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gd-road__scrim[b-3focob1akl] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--fd-bg) 5%, transparent) 0%,
        color-mix(in srgb, var(--fd-bg) 60%, transparent) 45%,
        color-mix(in srgb, var(--fd-bg) 96%, transparent) 100%);
}

.gd-road__body[b-3focob1akl] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 14px;
}

.gd-road__title[b-3focob1akl] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 22px;
    color: var(--fd-cream);
}

.gd-road__title[b-3focob1akl]  .gd-road__icon {
    font-size: 22px;
    color: var(--fd-gold);
}

.gd-road__text[b-3focob1akl] {
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-2);
}

/* ---------- Tiers ---------- */

@media not all and (min-width: 1280px) {
    .gd-hero__grid[b-3focob1akl] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    }

    .gd-band[b-3focob1akl] {
        grid-template-columns: minmax(0, 1fr);
        padding: 36px;
    }

    .gd-roles[b-3focob1akl] {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-tiers[b-3focob1akl] {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 1024px) {
    .gd-hero__grid[b-3focob1akl] {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-roster[b-3focob1akl] {
        order: -1;
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .gd-steps[b-3focob1akl] {
        grid-template-columns: minmax(0, 1fr);
    }

    .gd-steps[b-3focob1akl]::before {
        left: 21px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 30%, transparent));
    }

    .gd-step[b-3focob1akl] {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .gd-step__card[b-3focob1akl] {
        padding: 0;
        border: none;
        background: none;
    }
}

@media (max-width: 768px) {
    .gd[b-3focob1akl]  .gd-hero {
        min-height: 0;
    }

    .gd-hero__grid[b-3focob1akl] {
        gap: 20px;
        padding-top: 8px;
        padding-bottom: 32px;
    }

    .gd-hero__copy[b-3focob1akl] {
        gap: 12px;
    }

    /* On a phone the roster is a strip: the Directors and the Leader in a row over the hexes. */
    .gd-roster[b-3focob1akl] {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-areas: "dirs leader" "pips pips" "total total";
        justify-content: center;
        align-items: end;
        gap: 10px 16px;
        padding: 14px 12px 12px;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .gd-roster__banner[b-3focob1akl],
    .gd-roster__role[b-3focob1akl],
    .gd-roster__branch[b-3focob1akl] {
        display: none;
    }

    .gd-roster__leader[b-3focob1akl] {
        grid-area: leader;
        width: 84px;
        height: 110px;
    }

    .gd-roster__directors[b-3focob1akl] {
        grid-area: dirs;
        gap: 8px;
    }

    .gd-roster__director[b-3focob1akl] {
        width: 56px;
        height: 72px;
    }

    .gd-roster__members[b-3focob1akl] {
        grid-area: pips;
        grid-template-columns: repeat(21, 12px);
        gap: 3px;
        margin-top: 0;
    }

    .gd-roster__pip[b-3focob1akl] {
        width: 12px;
        height: 14px;
    }

    .gd-roster__total[b-3focob1akl] {
        grid-area: total;
        margin-top: 0;
        padding-top: 4px;
        border-top: none;
    }

    .gd-roster__total b[b-3focob1akl] {
        font-size: 20px;
    }

    .gd-stats[b-3focob1akl] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gd-acts[b-3focob1akl] {
        width: 100%;
    }

    .gd-acts[b-3focob1akl]  .fd-cta,
    .gd-acts .fd-btn[b-3focob1akl] {
        width: 100%;
    }

    .gd-band[b-3focob1akl] {
        padding: 18px 16px;
        gap: 18px;
    }

    .gd-band__cards[b-3focob1akl] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* The three tiers are the table's own column heads on a phone (A-Guilds-390). */
    .gd-tiers[b-3focob1akl] {
        display: none;
    }

    .gd-table thead th[b-3focob1akl] {
        padding: 10px 6px;
        font-size: 9.5px;
        letter-spacing: 0.04em;
    }

    .gd-table thead th:first-child[b-3focob1akl] {
        width: auto;
        padding-left: 12px;
    }

    .gd-table tbody th[b-3focob1akl] {
        padding: 10px 6px 10px 12px;
        font-size: 13.5px;
    }

    .gd-table td[b-3focob1akl] {
        padding: 8px 4px;
    }

    .gd-table[b-3focob1akl]  .gd-mark {
        width: 28px;
        height: 28px;
    }

    .gd-related[b-3focob1akl] {
        --fd-cols: 1;
    }

    .gd-road[b-3focob1akl] {
        min-height: 200px;
    }
}

/* A small phone keeps the member hexes on one line (A-Guilds-390), just smaller. */
@media (max-width: 480px) {
    .gd-roster__members[b-3focob1akl] {
        grid-template-columns: repeat(21, 10px);
    }

    .gd-roster__pip[b-3focob1akl] {
        width: 10px;
        height: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gd-road[b-3focob1akl] {
        transition: none;
    }
}
/* /Components/Pages/Features/HearthArches.razor.rz.scp.css */
/* The final bands' heroes (A-Premium, A-Guilds, A-Chronicles). Tokens only; canonical breakpoints only. */

.ha[b-5tr14lypol] {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-left: 64px;
    pointer-events: none;
}

/* A gold hex frame behind the heroes: a gold hex with a darker hex inside it, glowing. */
.ha__hex[b-5tr14lypol] {
    position: absolute;
    left: 0;
    bottom: 22px;
    width: 120px;
    height: 150px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
    opacity: 0.85;
}

.ha__hex[b-5tr14lypol]::after {
    content: "";
    position: absolute;
    inset: 3px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, color-mix(in srgb, var(--fd-ember) 22%, transparent), transparent 70%),
        var(--fd-hearth-bottom);
}

.ha__arch[b-5tr14lypol] {
    position: relative;
    display: block;
    flex: none;
    width: 124px;
    height: 172px;
    border: 3px solid var(--fd-cc, var(--fd-gold));
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    overflow: hidden;
    box-shadow: 0 0 26px color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 40%, transparent);
}

.ha__arch--front[b-5tr14lypol] {
    width: 144px;
    height: 210px;
    margin-left: -28px;
}

.ha__arch[b-5tr14lypol]  .ha__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
}

/* Phones and tablets: one hero, small enough to stand beside the band's title. */
@media (max-width: 1024px) {
    .ha[b-5tr14lypol] {
        padding-left: 0;
    }

    .ha__hex[b-5tr14lypol],
    .ha__arch:not(.ha__arch--phone)[b-5tr14lypol] {
        display: none;
    }

    .ha__arch[b-5tr14lypol],
    .ha__arch--front[b-5tr14lypol] {
        width: 72px;
        height: 100px;
        margin-left: 0;
        box-shadow: 0 0 18px color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 40%, transparent);
    }
}
/* /Components/Pages/Features/PremiumPage.razor.rz.scp.css */
/* /premium (A-Premium-1366 / -390), on the front-door kit. Tokens only; canonical breakpoints only. */

/* ---------- Hero: the offer, and the three Premium classes behind the door ---------- */

.pr[b-9m7e1cp14h]  .pr-hero {
    min-height: min(720px, 100svh);
}

.pr-hero__grid[b-9m7e1cp14h] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: calc(var(--fd-gap) * 2);
    align-items: center;
    padding-top: 36px;
    padding-bottom: 56px;
}

.pr-hero__copy[b-9m7e1cp14h] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.pr-h1[b-9m7e1cp14h] {
    font-size: calc(var(--fd-h1) * 0.9);
}

.pr-lead[b-9m7e1cp14h] {
    color: var(--fd-text-2);
}

.pr-offer[b-9m7e1cp14h] {
    max-width: 620px;
}

.pr-offer p[b-9m7e1cp14h] {
    margin: 0;
}

.pr-offer__label[b-9m7e1cp14h] {
    color: var(--fd-cream-2);
}

.pr-acts[b-9m7e1cp14h] {
    margin-top: 4px;
}

.pr-arches[b-9m7e1cp14h] {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(12px, 1.4vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pr-arch[b-9m7e1cp14h] {
    flex: 0 1 30%;
    min-width: 0;
}

.pr-arch:nth-child(2)[b-9m7e1cp14h] {
    flex-basis: 34%;
}

.pr-arch__link[b-9m7e1cp14h] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.pr-arch__frame[b-9m7e1cp14h] {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 5 / 9;
    border: 3px solid var(--fd-cc);
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
    box-shadow: 0 0 34px color-mix(in srgb, var(--fd-cc) 45%, transparent), var(--fd-shadow);
    transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
}

.pr-arch:nth-child(2) .pr-arch__frame[b-9m7e1cp14h] {
    aspect-ratio: 5 / 9.6;
}

.pr-arch__link:hover .pr-arch__frame[b-9m7e1cp14h],
.pr-arch__link:focus-visible .pr-arch__frame[b-9m7e1cp14h] {
    box-shadow: 0 0 46px color-mix(in srgb, var(--fd-cc) 65%, transparent), var(--fd-shadow);
    transform: translateY(-3px);
}

.pr-arch__frame[b-9m7e1cp14h]  .pr-arch__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* The portrait's loop (ClassPortrait) keeps the arch's curve; the lock comes after it, so it stays on top. */
.pr-arch__frame[b-9m7e1cp14h]  .pr-arch__portrait,
.pr-arch__frame[b-9m7e1cp14h]  .cp__motion {
    border-radius: inherit;
}

.pr-arch__lock[b-9m7e1cp14h] {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
}

.pr-arch__name[b-9m7e1cp14h] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ---------- Sections ---------- */

.pr-sec[b-9m7e1cp14h] {
    padding: calc(var(--fd-sec) * 0.62) 0;
}

.pr-sec--tight[b-9m7e1cp14h] {
    padding-top: 0;
}

.pr-sec--last[b-9m7e1cp14h] {
    padding-top: calc(var(--fd-sec) * 0.6);
}

/* The final band's heroes (A-Premium): beside the copy from 1025px, then one hero beside the title. HearthArches draws
   them; the band itself is FdFinalCta's. */
.pr-final[b-9m7e1cp14h] {
    position: relative;
}

.pr-final[b-9m7e1cp14h]  .pr-final__art {
    position: absolute;
    top: 50%;
    right: calc(var(--fd-gutter) + 44px);
    transform: translateY(-50%);
}

@media not all and (min-width: 1280px) {
    .pr-final[b-9m7e1cp14h]  .pr-final__art {
        right: calc(var(--fd-gutter) + 32px);
        transform: translateY(-50%) scale(0.8);
        transform-origin: 100% 50%;
    }
}

@media (max-width: 1024px) {
    .pr-final[b-9m7e1cp14h]  .pr-final__art {
        top: 33px;
        right: auto;
        left: calc(var(--fd-gutter) + 33px);
        transform: none;
    }

    .pr-final[b-9m7e1cp14h]  .fd-final__title {
        display: flex;
        align-items: center;
        min-height: 100px;
        padding-left: 90px;
    }
}

@media (max-width: 768px) {
    .pr-final[b-9m7e1cp14h]  .pr-final__art {
        top: 19px;
        left: calc(var(--fd-gutter) + 17px);
    }

    .pr-final[b-9m7e1cp14h]  .fd-final__title {
        padding-left: 88px;
    }
}

.pr[b-9m7e1cp14h]  .fd-sh {
    margin-bottom: 28px;
}

.pr-label[b-9m7e1cp14h] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 32px 0 14px;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.pr-label[b-9m7e1cp14h]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--fd-gold) 45%, transparent), transparent);
}

/* ---------- The comparison table ---------- */

.pr-table-wrap[b-9m7e1cp14h] {
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--fd-panel) 75%, transparent);
    overflow: hidden;
}

.pr-table[b-9m7e1cp14h] {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.pr-table thead th[b-9m7e1cp14h] {
    padding: 16px 18px;
    text-align: left;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
    background: var(--fd-surface-strong);
    border-bottom: 1px solid var(--fd-line);
}

.pr-table thead th:first-child[b-9m7e1cp14h] {
    width: 22%;
}

.pr-table thead th:not(:first-child)[b-9m7e1cp14h] {
    width: 39%;
}

.pr-table thead th[b-9m7e1cp14h]  .material-icons {
    margin-right: 6px;
    font-size: 17px;
    vertical-align: -3px;
}

.pr-table thead th.pr-col-premium[b-9m7e1cp14h] {
    color: var(--fd-gold);
    box-shadow: inset 0 3px 0 var(--fd-gold);
}

.pr-table tbody th[b-9m7e1cp14h],
.pr-table td[b-9m7e1cp14h] {
    padding: 18px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 12%, transparent);
}

.pr-table tbody tr:first-child > *[b-9m7e1cp14h] {
    border-top: none;
}

.pr-table tbody th[b-9m7e1cp14h] {
    font-weight: 700;
    color: var(--fd-text);
}

.pr-table td + td[b-9m7e1cp14h] {
    border-left: 1px solid var(--fd-line);
}

.pr-table .pr-col-premium[b-9m7e1cp14h] {
    background: color-mix(in srgb, var(--fd-gold) 4%, transparent);
}

.pr-cell-label[b-9m7e1cp14h] {
    display: none;
}

/* ---------- Free forever: the words and the adventure capture ---------- */

.pr-free[b-9m7e1cp14h] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: calc(var(--fd-gap) * 2.4);
    align-items: center;
}

.pr-free__copy[b-9m7e1cp14h] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.pr-prose[b-9m7e1cp14h] {
    max-width: 62ch;
}

.pr-shot[b-9m7e1cp14h] {
    margin: 0;
    min-width: 0;
}

/* The capture's adventure part only: the old game drawer and the page below it are cropped off. */
.pr-shot__frame[b-9m7e1cp14h] {
    position: relative;
    overflow: hidden;
    aspect-ratio: 25 / 14;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 55%, transparent);
    background: var(--fd-art-well);
    box-shadow: var(--fd-shadow);
}

.pr-shot__frame[b-9m7e1cp14h]  .pr-shot__img {
    position: absolute;
    left: -40%;
    top: -10.7%;
    width: 160%;
    max-width: none;
    height: auto;
}

.pr-shot__cap[b-9m7e1cp14h] {
    margin-top: 10px;
    font-size: 13.5px;
    color: var(--fd-text-4);
}

/* ---------- The Premium classes ---------- */

.pr-classes[b-9m7e1cp14h] {
    --fd-cols: 3;
}

.pr-class[b-9m7e1cp14h] {
    display: flex;
    gap: 18px;
    min-width: 0;
    padding: 14px 16px 16px 14px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--fd-cc) 45%, transparent);
    background:
        radial-gradient(ellipse 60% 70% at 0% 50%, color-mix(in srgb, var(--fd-cc) 14%, transparent), transparent 70%),
        var(--fd-card);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.pr-class:hover[b-9m7e1cp14h],
.pr-class:focus-visible[b-9m7e1cp14h] {
    border-color: var(--fd-cc);
}

.pr-class__art[b-9m7e1cp14h] {
    position: relative;
    flex: 0 0 118px;
    align-self: flex-start;
    height: 172px;
    border: 2px solid var(--fd-cc);
    border-radius: var(--fd-r-arch);
    background: var(--fd-art-well);
}

.pr-class__art[b-9m7e1cp14h]  .pr-class__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.pr-class__lock[b-9m7e1cp14h] {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    text-transform: uppercase;
}

.pr-class__body[b-9m7e1cp14h] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pr-class__head[b-9m7e1cp14h] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pr-class__name[b-9m7e1cp14h] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 21px;
    color: var(--fd-cream);
}

.pr-class__desc[b-9m7e1cp14h] {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.pr-class__link[b-9m7e1cp14h] {
    margin-top: auto;
    white-space: normal;
}

/* ---------- Adventures, Chronicles and more ---------- */

.pr-feature[b-9m7e1cp14h] {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
}

.pr-feature__body[b-9m7e1cp14h] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.pr-feature__title[b-9m7e1cp14h] {
    font-size: 19px;
}

.pr-feature__text[b-9m7e1cp14h] {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* ---------- If Premium lapses: four steps on one gold line ---------- */

.pr-steps[b-9m7e1cp14h] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--fd-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.pr-steps[b-9m7e1cp14h]::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 30%, transparent));
}

.pr-step[b-9m7e1cp14h] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.pr-step__num[b-9m7e1cp14h] {
    position: relative;
    font-style: italic;
    font-size: 18px;
}

.pr-step__card[b-9m7e1cp14h] {
    flex: 1;
    gap: 10px;
}

.pr-step__title[b-9m7e1cp14h] {
    font-size: 17px;
    line-height: 1.3;
}

.pr-step__text[b-9m7e1cp14h] {
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* ---------- Tiers ---------- */

@media not all and (min-width: 1280px) {
    .pr-classes[b-9m7e1cp14h] {
        --fd-cols: 1;
    }

    .pr-class__art[b-9m7e1cp14h] {
        flex-basis: 104px;
        height: 152px;
    }
}

@media (max-width: 1024px) {
    .pr-hero__grid[b-9m7e1cp14h] {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 20px;
    }

    .pr-arches[b-9m7e1cp14h] {
        order: -1;
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .pr-free[b-9m7e1cp14h] {
        grid-template-columns: minmax(0, 1fr);
    }

    .pr-steps[b-9m7e1cp14h] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pr-steps[b-9m7e1cp14h]::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .pr[b-9m7e1cp14h]  .pr-hero {
        min-height: 0;
    }

    .pr-hero__grid[b-9m7e1cp14h] {
        gap: 20px;
        padding-top: 8px;
        padding-bottom: 32px;
    }

    .pr-hero__copy[b-9m7e1cp14h] {
        gap: 12px;
    }

    .pr-arches[b-9m7e1cp14h] {
        gap: 10px;
    }

    .pr-arch__link[b-9m7e1cp14h] {
        gap: 8px;
    }

    .pr-arch__lock[b-9m7e1cp14h] {
        bottom: 6px;
        font-size: 9px;
        padding: 0 6px;
    }

    .pr-arch__name[b-9m7e1cp14h] {
        font-size: 13px;
    }

    /* The offer follows the CTA on a phone so the CTA clears the fold (same words, A-Premium-390). */
    .pr-offer[b-9m7e1cp14h] {
        order: 1;
    }

    .pr-acts[b-9m7e1cp14h] {
        width: 100%;
    }

    .pr-acts[b-9m7e1cp14h]  .fd-cta,
    .pr-acts .fd-btn[b-9m7e1cp14h] {
        width: 100%;
    }

    .pr-features[b-9m7e1cp14h] {
        --fd-cols: 1;
    }

    .pr-feature[b-9m7e1cp14h] {
        padding: 18px 16px;
        gap: 14px;
    }

    .pr-steps[b-9m7e1cp14h] {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .pr-steps[b-9m7e1cp14h]::before {
        display: block;
        left: 21px;
        right: auto;
        top: 24px;
        bottom: 24px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 30%, transparent));
    }

    .pr-step[b-9m7e1cp14h] {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
    }

    .pr-step__card[b-9m7e1cp14h] {
        padding: 0;
        border: none;
        background: none;
    }

    .pr-class[b-9m7e1cp14h] {
        gap: 14px;
        padding: 12px;
    }

    .pr-class__art[b-9m7e1cp14h] {
        flex-basis: 88px;
        height: 132px;
    }

    .pr-class__name[b-9m7e1cp14h] {
        font-size: 19px;
    }
}

/* The comparison table's rows become cards on a small phone: the feature heads each card, Basic and Premium are its
   two rows (their labels drawn here, aria-hidden; the column headers stay in the table for screen readers). */
@media (max-width: 480px) {
    .pr-table-wrap[b-9m7e1cp14h] {
        border: none;
        background: none;
        overflow: visible;
    }

    .pr-table[b-9m7e1cp14h],
    .pr-table tbody[b-9m7e1cp14h],
    .pr-table tr[b-9m7e1cp14h],
    .pr-table tbody th[b-9m7e1cp14h],
    .pr-table td[b-9m7e1cp14h] {
        display: block;
        width: auto;
    }

    .pr-table thead[b-9m7e1cp14h] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .pr-table tbody tr[b-9m7e1cp14h] {
        margin-bottom: 12px;
        border-radius: var(--fd-r-card);
        border: 1px solid var(--fd-line);
        background: color-mix(in srgb, var(--fd-panel) 80%, transparent);
        overflow: hidden;
    }

    .pr-table tbody tr > *[b-9m7e1cp14h] {
        border-top: none;
    }

    .pr-table tbody th[b-9m7e1cp14h] {
        padding: 14px 14px 10px;
        border-bottom: 1px solid var(--fd-line);
    }

    .pr-table td[b-9m7e1cp14h] {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 14px;
    }

    .pr-table td + td[b-9m7e1cp14h] {
        border-left: none;
        border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 12%, transparent);
    }

    .pr-cell-label[b-9m7e1cp14h] {
        display: block;
        padding-top: 3px;
        font-size: 10.5px;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--fd-text-4);
    }

    .pr-col-premium .pr-cell-label[b-9m7e1cp14h] {
        color: var(--fd-gold-text);
    }

    .pr-class__art[b-9m7e1cp14h] {
        flex-basis: 76px;
        height: 116px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-arch__frame[b-9m7e1cp14h],
    .pr-class[b-9m7e1cp14h] {
        transition: none;
    }

    .pr-arch__link:hover .pr-arch__frame[b-9m7e1cp14h],
    .pr-arch__link:focus-visible .pr-arch__frame[b-9m7e1cp14h] {
        transform: none;
    }
}
/* /Components/Pages/Features/PremiumTierCell.razor.rz.scp.css */
/* A /premium comparison cell. Tokens only. */

.ptc[b-rgz68kclu9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.ptc__text[b-rgz68kclu9] {
    color: var(--fd-text-2);
}

.ptc__num[b-rgz68kclu9] {
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    color: var(--fd-cream-2);
}

.ptc--premium .ptc__num[b-rgz68kclu9] {
    color: var(--fd-gold-soft);
}

.ptc__included[b-rgz68kclu9] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--fd-good-ink);
}

.ptc__included[b-rgz68kclu9]  .material-icons {
    font-size: 20px;
    color: var(--fd-good);
}

.ptc__classes[b-rgz68kclu9],
.ptc__pips[b-rgz68kclu9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ptc__class[b-rgz68kclu9] {
    display: block;
    width: 16px;
    height: 18px;
    background: var(--fd-cc);
    opacity: 0.9;
}

.ptc__pip[b-rgz68kclu9] {
    display: block;
    width: 14px;
    height: 16px;
    background: color-mix(in srgb, var(--fd-text-4) 22%, transparent);
}

.ptc__pip.is-on[b-rgz68kclu9] {
    background: var(--fd-text-3);
}

.ptc--premium .ptc__pip.is-on[b-rgz68kclu9] {
    background: var(--fd-gold);
}

@media (max-width: 480px) {
    .ptc__num[b-rgz68kclu9] {
        font-size: 20px;
    }

    .ptc__pip[b-rgz68kclu9] {
        width: 12px;
        height: 14px;
    }
}
/* /Components/Pages/Game/Bestiary.razor.rz.scp.css */
.bestiary-header[b-kckr83saqy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
}

.header-title[b-kckr83saqy] {
    display: flex;
    align-items: center;
    color: var(--mud-palette-primary);
}

.header-stats[b-kckr83saqy] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-pill[b-kckr83saqy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--mud-palette-background-grey);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    padding: 6px 14px;
    min-width: 110px;
}

.stat-pill-label[b-kckr83saqy] {
    font-size: var(--gt-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mud-palette-text-secondary);
}

.stat-pill-value[b-kckr83saqy] {
    font-weight: 700;
    font-size: calc(var(--gt-px) * 16.8);
    color: var(--mud-palette-text-primary);
}

.bestiary-grid[b-kckr83saqy] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.loading-state[b-kckr83saqy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 16px;
}

@media (max-width: 600px) {
    .bestiary-grid[b-kckr83saqy] {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .header-stats[b-kckr83saqy] {
        width: 100%;
        justify-content: space-between;
    }

    .stat-pill[b-kckr83saqy] {
        min-width: 0;
        flex: 1 1 90px;
        padding: 6px 10px;
    }
}
/* /Components/Pages/Game/Consumables.razor.rz.scp.css */
/* Consumable Editor Styling */
.consumable-editor-container[b-c1a622ug76] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Header */
.consumable-editor-header[b-c1a622ug76] {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid var(--color-border-hover);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.header-content[b-c1a622ug76] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.header-title-section[b-c1a622ug76] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-title[b-c1a622ug76] {
    font-family: 'Cinzel', serif;
    font-size: var(--gt-5xl);
    font-weight: 700;
    color: #22c55e;
    margin: 0;
    line-height: 1.2;
}

.header-subtitle[b-c1a622ug76] {
    font-size: calc(var(--gt-px) * 15.2);
    color: var(--color-text-secondary);
    margin: 0.25rem 0 0 0;
}

.header-actions[b-c1a622ug76] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Filters Section */
.filters-section[b-c1a622ug76] {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group[b-c1a622ug76] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group.search-group[b-c1a622ug76] {
    flex: 1;
    min-width: 250px;
}

.filter-label[b-c1a622ug76] {
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #22c55e;
    opacity: 0.9;
}

/* Stats Bar */
.stats-bar[b-c1a622ug76] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stat-chip[b-c1a622ug76] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--gt-base);
    font-weight: 500;
    transition: transform 0.2s ease;
}

.stat-chip:hover[b-c1a622ug76] { transform: translateY(-2px); }

.stat-chip.total[b-c1a622ug76] {
    background: rgba(100, 116, 139, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--color-text-light);
}

.stat-chip.type-health[b-c1a622ug76] {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #86efac;
}

.stat-chip.type-mana[b-c1a622ug76] {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: var(--color-info-lighter);
}

.stat-chip.type-buff[b-c1a622ug76] {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--color-warning-light);
}

.stat-chip.type-cure[b-c1a622ug76] {
    background: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #5eead4;
}

.stat-chip.type-scroll[b-c1a622ug76] {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--color-monk-lighter);
}

.stat-chip.type-special[b-c1a622ug76] {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(244, 114, 182, 0.3);
    color: var(--color-bard-light);
}

/* Loading & Empty States */
.loading-state[b-c1a622ug76], .empty-state[b-c1a622ug76] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

/* Consumables Grid */
.consumables-grid[b-c1a622ug76] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Consumable Cards */
.consumable-card[b-c1a622ug76] {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.consumable-card[b-c1a622ug76]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: all 0.3s ease;
}

.consumable-card-health[b-c1a622ug76]::before   { background: linear-gradient(180deg, #22c55e, #15803d); }
.consumable-card-mana[b-c1a622ug76]::before     { background: linear-gradient(180deg, var(--color-info), #1e40af); }
.consumable-card-buff[b-c1a622ug76]::before     { background: linear-gradient(180deg, var(--color-warning), var(--color-warning-dark)); }
.consumable-card-cure[b-c1a622ug76]::before     { background: linear-gradient(180deg, #14b8a6, #0f766e); }
.consumable-card-scroll[b-c1a622ug76]::before   { background: linear-gradient(180deg, var(--color-monk), #7c3aed); }
.consumable-card-special[b-c1a622ug76]::before  { background: linear-gradient(180deg, var(--color-bard), #db2777); }

.consumable-card:hover[b-c1a622ug76] {
    transform: translateY(-4px);
    border-color: var(--color-border-active);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.consumable-card-deleted[b-c1a622ug76] {
    opacity: 0.6;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.consumable-card-header[b-c1a622ug76] { margin-bottom: 1rem; }

.consumable-card-title-row[b-c1a622ug76] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.consumable-name-section[b-c1a622ug76] { flex: 1; min-width: 0; }

.consumable-name[b-c1a622ug76] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17.6);
    font-weight: 600;
    color: #22c55e;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.consumable-id[b-c1a622ug76] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    font-family: 'Courier New', monospace;
}

.consumable-badges[b-c1a622ug76] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.consumable-actions[b-c1a622ug76] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.consumable-description[b-c1a622ug76] {
    color: var(--color-text-light);
    font-size: var(--gt-base);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Consumable Stats Grid */
.consumable-stats-grid[b-c1a622ug76] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.consumable-stat[b-c1a622ug76] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stat-label[b-c1a622ug76] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-value[b-c1a622ug76] {
    font-size: var(--gt-base);
    color: var(--color-text-lighter);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rarity Badges */
.badge-rarity-common[b-c1a622ug76]   { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
.badge-rarity-uncommon[b-c1a622ug76] { background: rgba(34, 197, 94, 0.2);   color: #86efac; border: 1px solid rgba(74, 222, 128, 0.3); }
.badge-rarity-rare[b-c1a622ug76]     { background: rgba(59, 130, 246, 0.2);  color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge-rarity-epic[b-c1a622ug76]     { background: rgba(139, 92, 246, 0.2);  color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.3); }
.badge-rarity-legendary[b-c1a622ug76]{ background: rgba(245, 158, 11, 0.2);  color: #fde68a; border: 1px solid rgba(251, 191, 36, 0.3); }

.badge-type[b-c1a622ug76] {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(74, 222, 128, 0.25);
}

/* Effects List */
.effects-list[b-c1a622ug76] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.effect-chip[b-c1a622ug76] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: calc(var(--gt-px) * 12.8);
    color: var(--color-text-light);
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
}

/* Effects Section in Modal */
.effects-section-header[b-c1a622ug76] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.effects-section-title[b-c1a622ug76] {
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #22c55e;
}

.effect-editor-block[b-c1a622ug76] {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.effect-editor-header[b-c1a622ug76] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: calc(var(--gt-px) * 12.8);
    font-weight: 600;
    color: #86efac;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-sm[b-c1a622ug76] {
    padding: 0.3rem 0.75rem !important;
    font-size: calc(var(--gt-px) * 12.8) !important;
}

.btn-xs[b-c1a622ug76] {
    padding: 0.2rem 0.4rem !important;
    font-size: var(--gt-sm) !important;
    min-width: unset !important;
}

/* Modals */
.modal-overlay[b-c1a622ug76] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-dialog[b-c1a622ug76] {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-dialog-wide[b-c1a622ug76] {
    max-width: 680px;
}

.modal[b-c1a622ug76] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content[b-c1a622ug76] {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-header[b-c1a622ug76] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2[b-c1a622ug76] {
    margin: 0;
    color: #22c55e;
    font-family: 'Cinzel', serif;
    font-size: var(--gt-2xl);
}

.modal-body[b-c1a622ug76] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.modal-footer[b-c1a622ug76] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn[b-c1a622ug76] {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: var(--gt-2xl);
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.close-btn:hover[b-c1a622ug76] {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.08);
}

.form-row[b-c1a622ug76] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-row label[b-c1a622ug76] {
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.form-grid-2col[b-c1a622ug76] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.form-grid-2col .form-row-span[b-c1a622ug76] {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .form-grid-2col[b-c1a622ug76] {
        grid-template-columns: 1fr;
    }

    .form-grid-2col .form-row-span[b-c1a622ug76] {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .consumable-editor-container[b-c1a622ug76] {
        padding: 1rem;
    }

    .header-content[b-c1a622ug76] {
        flex-direction: column;
        align-items: flex-start;
    }

    .consumables-grid[b-c1a622ug76] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Game/Fellowship.razor.rz.scp.css */
/* Fellowship, the hall (Docs/LRPG_FELLOWSHIP.md 5.1, 5.15): tokens only, canonical breakpoints only (768 / 960 / 1280),
   no viewport-wide units. At 1280+ the main column and a 300px side column (Tidings, Among friends); 960 to 1279 one column with the
   side cards after the roll (and the view narrowed to a 400px list beside a docked panel); below 960 the phone layout,
   Tidings as the head's third link. */
.fs-page[b-4dpqswd2c8] {
    box-sizing: border-box;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl) var(--space-2xl);
    color: var(--fd-text);
}

.fs-view[b-4dpqswd2c8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.fs-cols[b-4dpqswd2c8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--fs-side);
    gap: var(--space-xl);
    align-items: start;
    min-width: 0;
}

.fs-main[b-4dpqswd2c8],
.fs-side[b-4dpqswd2c8] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.fs-rejoin[b-4dpqswd2c8] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fs-card);
    font: 600 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-2);
}

.fs-nobody[b-4dpqswd2c8] {
    display: grid;
    justify-items: center;
    gap: var(--space-xs);
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fs-door-line);
    background: var(--fs-door);
    text-align: center;
    color: var(--fd-text-3);
}

.fs-nobody-title[b-4dpqswd2c8] {
    margin: 0;
    font: 700 var(--gt-2xl) / 1.25 var(--fd-font-display);
    color: var(--fd-gold-text);
}

.fs-nobody-title:focus[b-4dpqswd2c8],
.fs-nobody-title:focus-visible[b-4dpqswd2c8] {
    outline: none;
}

.fs-nobody-line[b-4dpqswd2c8] {
    margin: 0;
    font: 400 var(--gt-base) / 1.45 var(--font-primary);
}

/* Find or invite (the panel): By name and Invite by email */
.fs-find[b-4dpqswd2c8] {
    display: grid;
    gap: var(--space-md);
}

.fs-find-tabs[b-4dpqswd2c8] {
    display: flex;
    gap: var(--space-xs);
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--fs-card-line);
    background: var(--fd-well);
    width: max-content;
    max-width: 100%;
}

.fs-find-tab[b-4dpqswd2c8] {
    min-height: var(--fs-tap);
    padding: 0 var(--space-md);
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--fd-text-2);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    cursor: pointer;
}

.fs-find-tab.is-on[b-4dpqswd2c8] {
    background: var(--fs-you);
    color: var(--fd-gold-text);
}

.fs-find-tab:focus-visible[b-4dpqswd2c8] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 2px;
}

.fs-find-field[b-4dpqswd2c8] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--fs-tap);
    padding: 0 var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid var(--fs-card-line);
    background: var(--fd-well);
    color: var(--fd-text-3);
}

.fs-find-field:focus-within[b-4dpqswd2c8] {
    border-color: var(--fd-line-gold);
    box-shadow: 0 0 0 2px var(--fs-you);
}

.fs-find-input[b-4dpqswd2c8] {
    flex: 1;
    min-width: 0;
    min-height: var(--fs-tap);
    border: 0;
    background: transparent;
    color: var(--fd-text);
    font: 400 var(--gt-base) / 1.3 var(--font-primary);
}

.fs-find-input:focus[b-4dpqswd2c8] {
    outline: none;
}

.fs-find-help[b-4dpqswd2c8] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

/* The page's one polite region: read aloud, never drawn. */
.fs-live[b-4dpqswd2c8] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* 960 to 1279: one column, the side cards after the roll; a panel docks beside a 400px list. */
@media (max-width: 1279.98px) {
    .fs-cols[b-4dpqswd2c8] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fs-page[b-4dpqswd2c8] {
        padding: var(--space-lg) var(--space-lg) var(--space-2xl);
    }
}

@media (min-width: 960px) and (max-width: 1279.98px) {
    .fs-page.has-panel[b-4dpqswd2c8] {
        margin: 0;
        max-width: 400px;
        padding-right: var(--space-md);
    }
}

/* Below 960: the phone layout; Tidings is the head's third link, not a side card. */
@media (max-width: 959.98px) {
    .fs-side-tidings[b-4dpqswd2c8] {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .fs-page[b-4dpqswd2c8] {
        padding: var(--space-md) var(--space-md) var(--space-2xl);
    }

    .fs-view[b-4dpqswd2c8],
    .fs-main[b-4dpqswd2c8],
    .fs-side[b-4dpqswd2c8] {
        gap: var(--space-md);
    }

    .fs-find-tabs[b-4dpqswd2c8] {
        width: 100%;
    }

    .fs-find-tab[b-4dpqswd2c8] {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fs-find-tab[b-4dpqswd2c8] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .fs-find-tab.is-on[b-4dpqswd2c8] {
        outline: 2px solid Highlight;
    }

    .fs-find-field:focus-within[b-4dpqswd2c8] {
        outline: 2px solid Highlight;
    }
}
/* /Components/Pages/Game/Game.razor.rz.scp.css */
/* ============================================
   THE TAVERN HUB ("Hearthside") - page composition only
   Docs/LRPG_TAVERN_HUB.md section 3 and the canvas boards A-1920 / A-1366 / A-1280 / A-1024 / A-768 / A-390 /
   A-New. Each section component styles itself; this file places the section areas per tier and owns the shared page
   tokens. Canonical breakpoints only:
     base             portrait (481-959): hero band, quest card, paired grids
     max-width 480    phone: one column in the portrait order (camp mode is the model class below), the hub dock
     min-width 960    tablet: the quest stage leads, the hero plate on it
     min-width 1280   desktop: two-column lower deck (three columns on .tavern-hub--wide)
   Three modifier classes come from the model (TavernHubLayout), never from a width in this file:
     .tavern-hub--wide         combat's Wide tier: the three-column lower deck, as stacked column wrappers
     .tavern-hub--first-visit  first steps showing: the common room sits beside the roads (A-New)
     .tavern-hub--camp         a phone that can't fight (camp mode): Get ready before Where you left off (A-390)
   The page renders the sections in each mode's reading order (TavernHubLayout.Composition), so the DOM, which a
   screen reader and Tab follow, matches what the templates below draw.
   Owner: W4 (page composition after the foundation).
   ============================================ */

/* ===== Page tokens =====
   On .tavern-page so the dock and the sheet (siblings of the hub, outside its grid) inherit them too. Section
   components may read every one of them (custom properties inherit across CSS isolation scopes):
     --tavern-gutter        the distance from the screen edge to the content column (an absolute length). A section
                            drawn edge to edge in the comps (the stage art from 960 up, the hero band below 960) can
                            bleed with margin-inline: calc(-1 * var(--tavern-gutter)) and pad its content back with
                            padding-inline: var(--tavern-gutter). Without that it simply sits in the content column.
     --tavern-gap           the vertical space between sections.
     --tavern-col-gap       the space between side-by-side sections.
     --tavern-stage-height  the quest stage's height from 960 up (D5).
     --tavern-plate-width   the hero plate's width on the stage (0 below 960, where it is the header band).
     --tavern-plate-inset   the room between the plate and the content column's right edge, where the class standee
                            stands (0 on the 960 tier, which has no standee). The stage keeps its own content clear of
                            --tavern-plate-width + --tavern-plate-inset on the right.
     --tavern-plate-top     the plate's distance from the top of the stage.
     --tavern-stage-bleed   how far the stage reaches past the content column on each side (the gutter from 960 up,
                            where the stage art runs edge to edge; 0 below). TavernQuestStage pads its text back in by it.
     --tavern-stage-clear-end  the room the stage's text keeps clear on its right, measured from the stage's own right
                            edge: the gutter, the standee's room and the plate.
     --tavern-standee-width the class standee's width (0 below 1280, where there is no standee).
     --tavern-standee-end   the standee's distance from the stage's right edge: its left edge sits just under the
                            plate's right edge, so the plate overlaps the standee's feathered side (A-1920 / A-1366 /
                            A-1280).
     --tavern-garrick-overlap how far Garrick's bar overlaps the stage's bottom edge (0 below 960, 24px, 30px from 1280);
                            the hero column keeps that much clear above the stage's bottom, so the stage grows rather
                            than run the plate or the companion card under the bar.
     --tavern-banner-room   the room a page banner above the hub takes; 0, since the in-game menu's phase B retired
                            the Alpha and active adventure banners (Docs/LRPG_GAME_MENU.md). The desktop tiers take it
                            out of the gap above the ready check (the 1280x720 fold, below). */
.tavern-page[b-vpuzfddh0s] {
    --tavern-shell-inset: 16px; /* MainLayout's MudContainer padding (pa-4), which the hub runs over */
    --tavern-gutter: var(--space-xl);
    --tavern-gap: var(--space-2xl);
    --tavern-col-gap: 20px;
    --tavern-stage-height: clamp(400px, 58vh, 520px);
    --tavern-plate-width: 0px;
    --tavern-plate-inset: 0px;
    --tavern-plate-top: 0px;
    --tavern-stage-bleed: 0px;
    --tavern-stage-clear-end: 0px;
    --tavern-standee-width: 0px;
    --tavern-standee-end: 0px;
    --tavern-banner-room: 0px;
    --tavern-garrick-overlap: 0px;
}

/* ===== The grid =====
   The hub runs over MainLayout's container padding, so its edges are the screen's (and its top meets the app bar);
   its own padding is the page gutter, and the grid's columns are the content columns. On wide screens the gutter
   grows so the content tops out at 1680px.
   Rows have no gap: each area carries its own bottom margin, so the row of a section that is not rendered (null in the
   model) collapses to nothing. */
.tavern-hub[b-vpuzfddh0s] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "hero hero"
        "garrick garrick"
        "stage stage"
        "ready ready"
        "ahead ahead"
        "roads roads"
        "contracts contracts"
        "stations stations"
        "common trophies"
        "notice notice";
    column-gap: var(--tavern-col-gap);
    align-items: start;
    margin: calc(-1 * var(--tavern-shell-inset)) calc(-1 * var(--tavern-shell-inset)) 0;
    padding-inline: var(--tavern-gutter);
}

.tavern-area[b-vpuzfddh0s] {
    min-width: 0;
    margin-bottom: var(--tavern-gap);
}

.tavern-area--stage[b-vpuzfddh0s] { grid-area: stage; }
.tavern-area--hero[b-vpuzfddh0s] { grid-area: hero; margin: 0 calc(-1 * var(--tavern-gutter)) var(--space-lg); }
.tavern-area--garrick[b-vpuzfddh0s] { grid-area: garrick; position: relative; z-index: 2; margin-bottom: var(--space-xl); }
.tavern-area--ready[b-vpuzfddh0s] { grid-area: ready; scroll-margin-top: var(--space-4xl); }
.tavern-area--ahead[b-vpuzfddh0s] { grid-area: ahead; }
.tavern-area--roads[b-vpuzfddh0s] { grid-area: roads; }
.tavern-area--contracts[b-vpuzfddh0s] { grid-area: contracts; }
.tavern-area--stations[b-vpuzfddh0s] { grid-area: stations; }
.tavern-area--common[b-vpuzfddh0s] { grid-area: common; }
.tavern-area--trophies[b-vpuzfddh0s] { grid-area: trophies; }
.tavern-area--notice[b-vpuzfddh0s] { grid-area: notice; }

/* "Get ready first" focuses the ready area (and "Who's about?" the common room) so the browser scrolls to it; no
   ring on that programmatic focus. */
.tavern-area--ready:focus:not(:focus-visible)[b-vpuzfddh0s],
.tavern-area--common:focus:not(:focus-visible)[b-vpuzfddh0s] {
    outline: none;
}

.tavern-area--common[b-vpuzfddh0s] {
    scroll-margin-top: var(--space-4xl);
}

/* Portrait pairs the common room with the trophies; either one alone takes the whole row. */
.tavern-hub:not(:has(.tavern-area--trophies)) .tavern-area--common[b-vpuzfddh0s],
.tavern-hub:not(:has(.tavern-area--common)) .tavern-area--trophies[b-vpuzfddh0s] {
    grid-column: 1 / -1;
}

/* ===== Phone (480 and down): one column =====
   Spacing and the single column. A phone that can't fight takes camp mode's order (.tavern-hub--camp, below); a
   narrow window with a mouse can fight, so it keeps the portrait order. The dock is fixed to the bottom; game-hub.css
   reserves its height under the page (footer included). */
@media (max-width: 480px) {
    .tavern-page[b-vpuzfddh0s] {
        --tavern-gutter: var(--space-lg);
        --tavern-gap: var(--space-xl);
        --tavern-col-gap: var(--space-lg);
    }

    .tavern-hub[b-vpuzfddh0s] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "hero"
            "garrick"
            "stage"
            "ready"
            "ahead"
            "roads"
            "contracts"
            "stations"
            "common"
            "trophies"
            "notice";
    }

    .tavern-area--hero[b-vpuzfddh0s] {
        margin-bottom: var(--space-md);
    }
}

/* ===== Camp mode (the model's .tavern-hub--camp: a phone that can't fight) =====
   Combat can't load here, so getting ready comes before "Where you left off" (A-390), and the roads follow the
   contracts and stations. One column at any width the class applies (a phone up to the 600px Xs tier). */
.tavern-hub.tavern-hub--camp[b-vpuzfddh0s] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "hero"
        "garrick"
        "ready"
        "stage"
        "ahead"
        "contracts"
        "stations"
        "roads"
        "common"
        "trophies"
        "notice";
}

/* ===== Tablet (960-1279) and up: the stage =====
   The stage leads (its art edge to edge under the app bar in the comps: A-1024 / A-1366 / A-1920); the hero plate
   shares its area, floating at the content column's right edge less the standee's room, and Garrick's bar overlaps the
   stage's bottom edge. */
@media (min-width: 960px) {
    .tavern-page[b-vpuzfddh0s] {
        --tavern-gutter: var(--space-2xl);
        --tavern-col-gap: var(--space-xl);
        --tavern-plate-width: 330px;
        --tavern-plate-top: var(--space-2xl);
        --tavern-garrick-overlap: 24px;
        --tavern-stage-bleed: var(--tavern-gutter);
        --tavern-stage-clear-end: calc(var(--tavern-gutter) + var(--tavern-plate-inset) + var(--tavern-plate-width));
    }

    /* The contracts span the common room's row and the trophies' row. With every row auto, a contracts panel taller
       than the two would grow both rows and open a band under the common room (A-1024 stacks them 26px apart); the
       trophies' row is flexible instead, so the surplus lands under the trophies. */
    .tavern-hub[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage"
            "garrick garrick"
            "ready ready"
            "ahead ahead"
            "roads roads"
            "contracts common"
            "contracts trophies"
            "stations stations"
            "notice notice";
        grid-template-rows: repeat(6, auto) 1fr auto auto;
    }

    /* A flex column of the stage's height (D5); TavernQuestStage's root takes flex: 1 to fill it. It bleeds over the
       gutters, so the art runs edge to edge (the stage pads its text back in by --tavern-stage-bleed). No bottom
       margin: Garrick's overlap is measured from the stage's edge. */
    /* The stage stretches to its row, so when the hero column (the plate and the companion card under it) is taller
       than D5's height, on a short window or at a large text size, the stage grows with it instead of running the
       column under Garrick's bar; the hero area's bottom margin is Garrick's overlap plus a gap. */
    .tavern-area--stage[b-vpuzfddh0s] {
        min-height: var(--tavern-stage-height);
        display: flex;
        flex-direction: column;
        align-self: stretch;
        margin: 0 calc(-1 * var(--tavern-stage-bleed));
    }

    .tavern-area--hero[b-vpuzfddh0s] {
        grid-area: stage;
        justify-self: end;
        align-self: start;
        width: var(--tavern-plate-width);
        max-width: 100%;
        margin: var(--tavern-plate-top) var(--tavern-plate-inset) calc(var(--tavern-garrick-overlap) + var(--space-md)) 0;
        position: relative;
        z-index: 1;
    }

    .tavern-area--garrick[b-vpuzfddh0s] {
        margin-top: calc(-1 * var(--tavern-garrick-overlap));
        margin-bottom: var(--tavern-gap);
    }

    /* The portrait pairing above does not apply to these templates: back to each area's own columns. */
    .tavern-hub:not(:has(.tavern-area--trophies)) .tavern-area--common[b-vpuzfddh0s] {
        grid-column: common;
    }

    .tavern-hub:not(:has(.tavern-area--common)) .tavern-area--trophies[b-vpuzfddh0s] {
        grid-column: trophies;
    }

    /* No contracts (before the contracts engine, or an empty board): the common room and trophies pair up. */
    .tavern-hub:not(:has(.tavern-area--contracts))[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage"
            "garrick garrick"
            "ready ready"
            "ahead ahead"
            "roads roads"
            "common trophies"
            "stations stations"
            "notice notice";
        grid-template-rows: none;
    }

    /* The common room and the trophy mantle stack in one deck column beside the contracts: two cards 24px apart
       (A-1024), the column gap, not the gap between sections. Without contracts this tier pairs them side by side. */
    .tavern-hub:not(.tavern-hub--first-visit):has(.tavern-area--contracts):has(.tavern-area--trophies) .tavern-area--common[b-vpuzfddh0s] {
        margin-bottom: var(--tavern-col-gap);
    }

    /* No common room: the trophies move up into its place (two-column decks). */
    .tavern-hub:not(.tavern-hub--wide):not(.tavern-hub--first-visit):not(:has(.tavern-area--common)) .tavern-area--trophies[b-vpuzfddh0s] {
        grid-area: common;
    }

    /* No contracts and no trophies yet (a new hero): the common room takes the pair's whole row on this tier. */
    .tavern-hub:not(:has(.tavern-area--contracts)):not(:has(.tavern-area--trophies)) .tavern-area--common[b-vpuzfddh0s] {
        grid-column: 1 / -1;
    }
}

/* ===== Desktop (1280 and up) =====
   Lower deck in two columns (A-1366, A-1280): contracts over stations on the left, the common room over the trophy
   mantle on the right; the notice board runs full width below. */
@media (min-width: 1280px) {
    .tavern-page[b-vpuzfddh0s] {
        --tavern-gutter: max(clamp(48px, 4.1vw, 56px), (min(100vw, 1920px) - 1680px) / 2);
        --tavern-gap: clamp(32px, 2.5vw, 40px);
        --tavern-plate-width: clamp(360px, 28vw, 420px);
        --tavern-plate-inset: clamp(140px, 20vw - 120px, 260px);
        --tavern-plate-top: clamp(32px, 6.5vh, 72px);
        --tavern-garrick-overlap: 30px;
        /* The class standee (W1) fills the plate's inset and the gutter, up to the comps' 260px, and starts 32px
           under the plate's right edge: 225px wide 16px from the edge at 1366, 209 / 16 at 1280, 260 / 152 at 1920. */
        --tavern-standee-width: min(260px, calc(var(--tavern-gutter) + var(--tavern-plate-inset) + 16px));
        /* Past 1920 the app stops at MainLayout's 1920px frame, so a stage bled over the gutter ended short of the screen's
           edge and read as art spilling out of the column (owner, 9 Nov 2026). There the stage stays in the content
           column instead: the bleed is the gutter up to a 1920px window and 0 past it. The factor turns the window's
           excess into a step without a component breakpoint (canonical breakpoints only); --tavern-stage-framed is its
           opposite (1px past 1920, else 0), which gives the contained stage its frame. */
        --tavern-stage-bleed: min(var(--tavern-gutter), max(0px, (1921px - 100vw) * 1000));
        --tavern-stage-framed: min(1px, max(0px, (100vw - 1920px) * 1000));
        --tavern-stage-clear-end: calc(var(--tavern-stage-bleed) + var(--tavern-plate-inset) + var(--tavern-plate-width));
        --tavern-standee-end: calc(var(--tavern-stage-bleed) + var(--tavern-plate-inset) + 32px - var(--tavern-standee-width));
    }

    .tavern-hub[b-vpuzfddh0s] {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        grid-template-areas:
            "stage stage"
            "garrick garrick"
            "ready ready"
            "ahead ahead"
            "roads roads"
            "contracts common"
            "contracts trophies"
            "stations trophies"
            "notice notice";
        grid-template-rows: none;
    }

    /* The ready check clears the 1280x720 desktop floor's fold: A-1280 ends its cards at 688px. A banner above the hub
       (--tavern-banner-room) pushes them under it, so on a short window the gap above the ready check gives way first,
       down to 12px (1280x720 with the Alpha banner: cards end at about 713px). Tall windows keep the full gap; the
       stage keeps D5's height. */
    .tavern-area--garrick[b-vpuzfddh0s] {
        margin-top: calc(-1 * var(--tavern-garrick-overlap));
        margin-bottom: clamp(12px, 100vh - 688px - var(--tavern-banner-room), var(--tavern-gap));
    }

    /* The desktop decks stack the common room over the trophy mantle in the right column, contracts or not (A-1366:
       24px apart). A first visit seats the common room beside the roads instead. */
    .tavern-hub:not(.tavern-hub--first-visit):has(.tavern-area--trophies) .tavern-area--common[b-vpuzfddh0s] {
        margin-bottom: var(--tavern-col-gap);
    }

    /* The desktop decks give the common room a column of its own, trophies or not. */
    .tavern-hub:not(:has(.tavern-area--contracts)):not(:has(.tavern-area--trophies)) .tavern-area--common[b-vpuzfddh0s] {
        grid-column: common;
    }

    /* No contracts: the stations climb into the left column's top (the right column keeps its pair). */
    .tavern-hub:not(:has(.tavern-area--contracts))[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage"
            "garrick garrick"
            "ready ready"
            "ahead ahead"
            "roads roads"
            "stations common"
            "stations trophies"
            "notice notice";
    }

    /* First visit (A-New): the roads and the common room share a row; the rest of the deck follows. */
    .tavern-hub.tavern-hub--first-visit[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage"
            "garrick garrick"
            "ready ready"
            "ahead ahead"
            "roads common"
            "contracts trophies"
            "stations trophies"
            "notice notice";
    }

    .tavern-hub.tavern-hub--first-visit:not(:has(.tavern-area--contracts))[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage"
            "garrick garrick"
            "ready ready"
            "ahead ahead"
            "roads common"
            "stations trophies"
            "notice notice";
    }

    /* Wide desktops (combat tier Wide, A-1920): contracts / (stations + trophies) / (common room + notice). The two
       right columns are wrappers (.tavern-deck-col, TavernHubLayout) that stack their sections, so each column's
       sections sit one under the other whatever the others' heights (A-1920: 26px apart), and a missing section leaves
       no hole. On a first visit the common room joins the roads' row and the side column is the notice alone. */
    .tavern-hub.tavern-hub--wide[b-vpuzfddh0s] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "stage stage stage"
            "garrick garrick garrick"
            "ready ready ready"
            "ahead ahead ahead"
            "roads roads roads"
            "contracts deckmid deckside";
    }

    .tavern-hub.tavern-hub--wide:not(:has(.tavern-area--contracts))[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage stage"
            "garrick garrick garrick"
            "ready ready ready"
            "ahead ahead ahead"
            "roads roads roads"
            "deckmid deckmid deckside";
    }

    .tavern-hub.tavern-hub--wide.tavern-hub--first-visit[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage stage"
            "garrick garrick garrick"
            "ready ready ready"
            "ahead ahead ahead"
            "roads roads common"
            "contracts deckmid deckside";
    }

    .tavern-hub.tavern-hub--wide.tavern-hub--first-visit:not(:has(.tavern-area--contracts))[b-vpuzfddh0s] {
        grid-template-areas:
            "stage stage stage"
            "garrick garrick garrick"
            "ready ready ready"
            "ahead ahead ahead"
            "roads roads common"
            "deckmid deckmid deckside";
    }
}

/* ===== Wide deck columns (rendered only on the wide tier, TavernHubLayout.Composition) ===== */
.tavern-deck-col[b-vpuzfddh0s] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Sections stacked in one column sit the column gap apart (A-1920: 24px), as the deck's columns do; the last keeps
   the section gap above the footer. */
.tavern-deck-col > .tavern-area:not(:last-child)[b-vpuzfddh0s] {
    margin-bottom: var(--tavern-col-gap);
}

.tavern-deck-col--mid[b-vpuzfddh0s] {
    grid-area: deckmid;
}

.tavern-deck-col--side[b-vpuzfddh0s] {
    grid-area: deckside;
}

/* ============================================
   TAVERN LOADING (prerender + first interactive pass)
   ============================================ */

.tavern-loading[b-vpuzfddh0s] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    min-height: 60vh;
}

.tavern-loading-text[b-vpuzfddh0s] {
    font-family: var(--font-primary);
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

/* ============================================
   GARRICK IS BUSY (robustness review P3): the tour reset's small panel sits over the hub, in the page's gutter
   ============================================ */

.tavern-busy-slot[b-vpuzfddh0s] {
    padding: var(--space-md) var(--tavern-gutter) 0;
}

/* ============================================
   NO HERO SELECTED
   ============================================ */

.no-hero-state[b-vpuzfddh0s] {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-active);
    border-radius: var(--radius-3xl);
}

.no-hero-state[b-vpuzfddh0s]  .no-hero-icon {
    color: var(--color-warning);
    margin-bottom: var(--space-lg);
}

.no-hero-title[b-vpuzfddh0s] {
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 20.8);
    font-weight: var(--font-weight-bold);
    color: var(--color-warning);
    margin-bottom: var(--space-sm);
}

.no-hero-text[b-vpuzfddh0s] {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}
/* /Components/Pages/Game/GarricksHall.razor.rz.scp.css */
/* Garrick's Hall (Docs/LRPG_GARRICKS_HALL.md; spec 4.2, D26). The page's sheet styles its pieces through ::deep (the
   pieces are drawn only here, but for the tavern's door and the report sheet, which keep their own). Tokens only (the
   SOCIAL block's house teal, the front door's voice and card), canonical breakpoints only (480 / 768 / 960 / 1280). */

.gh-page[b-fampcydggm] {
    --gh-gap: var(--space-lg);
    --gh-panel: var(--fd-card);
    --gh-rim: var(--sc-house-line);
    --gh-tap: 36px;
    max-width: 1680px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl) var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--gh-gap);
    color: var(--color-text-primary);
}

@media (pointer: coarse) {
    .gh-page[b-fampcydggm] {
        --gh-tap: 44px;
    }
}

.gh-loading[b-fampcydggm] {
    color: var(--color-text-secondary);
}

/* ---- Shared pieces */
:where(.gh-page)[b-fampcydggm]  :where(.gh-eyebrow) {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sc-house-ink);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-eyebrow .material-icons) {
    font-size: var(--gt-lg);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-h2) {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font: 700 var(--gt-xl) / 1.25 var(--font-display);
    color: var(--color-primary);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-h2 .material-icons) {
    font-size: var(--gt-2xl);
    color: var(--sc-house);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-h2--sub) {
    margin-top: var(--space-lg);
    font-size: var(--gt-base);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: var(--gh-tap);
    padding: 0 var(--space-md);
    border: 1px solid var(--fd-line-gold);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    cursor: pointer;
    text-decoration: none;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn .material-icons) {
    font-size: var(--gt-xl);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn:hover:not(:disabled)) {
    border-color: var(--fd-line-gold-strong);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn--gold) {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    color: var(--color-bg-base);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn--quiet) {
    border-color: var(--sc-house-line);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn--danger) {
    border-color: var(--sc-mod-line);
    color: var(--sc-mod-ink);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn:disabled) {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Hall invites (Direction A, W2): the house teal card of invites waiting for the viewer, and Invite on the long table. */
:where(.gh-page)[b-fampcydggm]  :where(.gh-btn--invite) {
    min-height: 36px;
    padding: 0 10px;
    border-color: var(--sc-house-line);
    color: var(--sc-house-ink);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-invites) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--sc-house-line);
    background: var(--sc-house-soft);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-invite-list) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-invite) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-invite-line) {
    flex: 1 1 260px;
    font: 600 var(--gt-base)/1.4 var(--font-primary);
    color: var(--color-text-primary);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-invite-acts) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-invite-error) {
    flex: 1 1 100%;
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--sc-mod-ink);
}

@media (pointer: coarse) {
    :where(.gh-page)[b-fampcydggm]  :where(.gh-btn--invite) {
        min-height: 44px;
    }
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-btn:focus-visible, .gh-icon-btn:focus-visible, .gh-tab:focus-visible, .gh-chip--btn:focus-visible, .gh-link:focus-visible, .gh-more-item:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-icon-btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--gh-tap);
    height: var(--gh-tap);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-icon-btn .material-icons) {
    font-size: var(--gt-xl);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-icon-btn:hover) {
    color: var(--color-text-primary);
    border-color: var(--sc-house-line);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-acts) {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-acts--center) {
    justify-content: center;
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-note, .gh-empty) {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-error) {
    margin: 0;
    color: var(--sc-mod-ink);
    font-size: var(--gt-sm);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-tag) {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-sm);
    border-radius: 999px;
    border: 1px solid var(--sc-house-line);
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
    font-size: var(--gt-sm);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-counts) {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-counts li) {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-counts .material-icons) {
    font-size: var(--gt-xl);
    color: var(--sc-house);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-garrick-line) {
    margin: 0;
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    font: italic 400 var(--gt-base) / 1.5 var(--fd-font-voice);
    color: var(--color-text-primary);
}

:where(.gh-page)[b-fampcydggm]  :where(.gh-garrick-mark, .gh-hearth-seal) {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    font: 700 var(--gt-base) / 1 var(--font-display);
    font-style: normal;
}

/* ---- The door */
[b-fampcydggm] .gh-door {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-xl);
    border: 1px solid var(--gh-rim);
    border-radius: var(--radius-lg);
    background: var(--gh-panel);
    width: 100%;
    max-width: 960px;
    align-self: center;
    box-sizing: border-box;
}

[b-fampcydggm] .gh-door-seal {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sc-house-soft);
    border: 1px solid var(--sc-house-line);
    color: var(--sc-house);
}

[b-fampcydggm] .gh-door-seal .material-icons {
    font-size: var(--gt-6xl);
}

[b-fampcydggm] .gh-door-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
}

[b-fampcydggm] .gh-door-title {
    margin: 0;
    font: 700 var(--gt-3xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

[b-fampcydggm] .gh-voice {
    margin: 0;
    padding-left: var(--space-md);
    border-left: 2px solid var(--fd-line-gold-strong);
    font: italic 400 var(--gt-xl) / 1.5 var(--fd-font-voice);
}

[b-fampcydggm] .gh-voice p {
    margin: 0;
}

[b-fampcydggm] .gh-voice footer {
    margin-top: var(--space-xs);
    font: 700 var(--gt-sm) / 1 var(--font-primary);
    font-style: normal;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

[b-fampcydggm] .gh-rules {
    margin: 0;
    padding-left: var(--space-lg);
    display: grid;
    gap: var(--space-xs);
    font-size: var(--gt-sm);
}

[b-fampcydggm] .gh-shut {
    margin: 0;
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    color: var(--color-text-secondary);
}

/* ---- The hearth band */
[b-fampcydggm] .gh-hearth {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: var(--space-lg);
    align-items: start;
    padding: var(--space-lg) var(--space-xl);
    border: 1px solid var(--fd-line-gold);
    border-radius: var(--radius-lg);
    background: var(--fs-door, var(--gh-panel));
}

[b-fampcydggm] .gh-hearth .gh-hearth-seal {
    width: 56px;
    height: 56px;
    font-size: var(--gt-2xl);
}

[b-fampcydggm] .gh-hearth-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}

[b-fampcydggm] .gh-hearth-title {
    margin: 0;
    font: 700 var(--gt-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

[b-fampcydggm] .gh-hearth-title:focus,
[b-fampcydggm] .gh-door-title:focus {
    outline: none;
}

[b-fampcydggm] .gh-hearth-voice {
    margin: 0;
    font: italic 400 var(--gt-xl) / 1.45 var(--fd-font-voice);
}

[b-fampcydggm] .gh-hearth-side {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: flex-end;
    max-width: 360px;
}

[b-fampcydggm] .gh-sitas {
    margin: 0;
    color: var(--sc-house-ink);
    font-size: var(--gt-sm);
    text-align: right;
}

[b-fampcydggm] .gh-hearth-acts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: flex-end;
}

[b-fampcydggm] .gh-confirm {
    padding: var(--space-md);
    border: 1px solid var(--sc-mod-line);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
}

[b-fampcydggm] .gh-confirm-q {
    margin: 0 0 var(--space-xs);
    font-weight: 700;
}

[b-fampcydggm] .gh-confirm-d {
    margin: 0 0 var(--space-sm);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ---- The party place's head (Direction A, A1): eyebrow, "Find your party", Garrick's line, two count tiles */
[b-fampcydggm] .gh-hearth--party {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    background: linear-gradient(180deg, var(--color-bg-elevated), var(--color-bg-base));
}

[b-fampcydggm] .gh-hearth--party.gh-hearth--guest {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

[b-fampcydggm] .gh-hearth--party .gh-hearth-seal {
    width: 72px;
    height: 72px;
    border-width: 2px;
    font-size: var(--gt-4xl);
}

[b-fampcydggm] .gh-hearth--party .gh-hearth-title {
    font-size: var(--gt-4xl);
}

[b-fampcydggm] .gh-eyebrow-tail {
    display: inline-flex;
    align-items: center;
}

[b-fampcydggm] .gh-eyebrow-dot {
    width: 4px;
    height: 4px;
    margin: 0 var(--space-xs);
    border-radius: 50%;
    background: currentColor;
}

[b-fampcydggm] .gh-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-md);
}

[b-fampcydggm] .gh-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 96px;
    padding: var(--space-sm) var(--space-lg);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    background: var(--color-bg-secondary);
}

[b-fampcydggm] .gh-tile b {
    font: 700 var(--gt-2xl) / 1.1 var(--font-primary);
    color: var(--color-text-primary);
}

[b-fampcydggm] .gh-tile--parties b {
    color: var(--sc-house-ink);
}

[b-fampcydggm] .gh-tile span {
    font: 400 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--color-text-secondary);
}

/* ---- The party place's body (Direction A, A1): parties and raids | heroes looking and the common table. Two classes,
   so it outweighs .gh-body's three columns wherever it is declared */
.gh-body.gh-body--party[b-fampcydggm] {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
}

.gh-col[b-fampcydggm] {
    display: flex;
    flex-direction: column;
    gap: var(--gh-gap);
    min-width: 0;
}

.gh-col--side[b-fampcydggm] {
    display: flex;
    flex-direction: column;
    gap: var(--gh-gap);
    min-width: 0;
}

.gh-guest[b-fampcydggm] {
    display: flex;
    flex-direction: column;
    gap: var(--gh-gap);
}

/* ---- Garrick's word: W3's NoticeCard pinned, the earlier ones folded under it */
[b-fampcydggm] .gh-notice {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
}

[b-fampcydggm] .gh-notice-earlier > summary {
    cursor: pointer;
    color: var(--fd-gold-text);
    font-size: var(--gt-sm);
    font-weight: 600;
}

[b-fampcydggm] .gh-notice-earlier > summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

[b-fampcydggm] .gh-notice-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.gh-status[b-fampcydggm] {
    margin: 0;
    color: var(--sc-house-ink);
    font-size: var(--gt-sm);
}

/* ---- The body: the board | the table | the hall */
.gh-tabs[b-fampcydggm] {
    display: none;
}

.gh-body[b-fampcydggm] {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr) minmax(260px, 1fr);
    gap: var(--gh-gap);
    align-items: start;
}

.gh-pane[b-fampcydggm],
[b-fampcydggm] .gh-board {
    min-width: 0;
}

[b-fampcydggm] .gh-board,
[b-fampcydggm] .gh-table,
[b-fampcydggm] .gh-long {
    padding: var(--space-lg);
    border: 1px solid var(--gh-rim);
    border-radius: var(--radius-lg);
    background: var(--gh-panel);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ---- The common table */
[b-fampcydggm] .gh-col-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

[b-fampcydggm] .gh-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

[b-fampcydggm] .gh-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    padding: 0 var(--space-sm);
    border: 1px solid var(--sc-house-line);
    border-radius: 999px;
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
}

[b-fampcydggm] .gh-chip .material-icons {
    font-size: var(--gt-base);
}

[b-fampcydggm] .gh-chip--btn {
    cursor: pointer;
}

[b-fampcydggm] .gh-pinned {
    margin: 0;
    display: flex;
    gap: var(--space-xs);
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--fd-gold-text);
    font-size: var(--gt-sm);
}

[b-fampcydggm] .gh-pinned .material-icons {
    font-size: var(--gt-lg);
}

[b-fampcydggm] .gh-pinned--warn {
    background: var(--sc-mod-soft);
    color: var(--sc-mod-ink);
}

[b-fampcydggm] .gh-lines-scroll {
    max-height: min(60vh, 560px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding-right: var(--space-xs);
}

[b-fampcydggm] .gh-lines {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

[b-fampcydggm] .gh-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "head tools" "text tools";
    column-gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
}

[b-fampcydggm] .gh-line:hover,
[b-fampcydggm] .gh-line:focus-within {
    background: color-mix(in srgb, var(--color-text-primary) 4%, transparent);
}

[b-fampcydggm] .gh-line.is-own {
    background: var(--sc-house-soft);
}

[b-fampcydggm] .gh-line-head {
    grid-area: head;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-xs);
}

[b-fampcydggm] .gh-line-hero {
    color: var(--color-primary-light, var(--color-primary));
}

[b-fampcydggm] .gh-line-meta {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

[b-fampcydggm] .gh-line-text {
    grid-area: text;
    overflow-wrap: anywhere;
}

/* The tools: on a mouse they show on the line's hover and focus; on touch they are always drawn */
[b-fampcydggm] .gh-line-tools {
    grid-area: tools;
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: 0;
}

[b-fampcydggm] .gh-line:hover .gh-line-tools,
[b-fampcydggm] .gh-line:focus-within .gh-line-tools {
    opacity: 1;
}

@media (pointer: coarse) {
    [b-fampcydggm] .gh-line-tools {
        opacity: 1;
    }
}

[b-fampcydggm] .gh-line--game {
    display: block;
    text-align: center;
    color: var(--color-text-secondary);
    font: italic 400 var(--gt-base) / 1.4 var(--fd-font-voice);
}

[b-fampcydggm] .gh-fold {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

[b-fampcydggm] .gh-link {
    min-height: var(--gh-tap);
    padding: 0 var(--space-xs);
    border: 0;
    background: transparent;
    color: var(--fd-gold-text);
    text-decoration: underline;
    cursor: pointer;
}

[b-fampcydggm] .gh-more {
    position: relative;
    display: inline-flex;
}

[b-fampcydggm] .gh-more-list {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    min-width: 160px;
    padding: var(--space-xs);
    border: 1px solid var(--gh-rim);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    box-shadow: var(--shadow-md);
}

[b-fampcydggm] .gh-more-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-sm);
    min-height: var(--gh-tap);
    padding: 0 var(--space-sm);
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    text-align: left;
    cursor: pointer;
}

[b-fampcydggm] .gh-more-item:hover {
    background: var(--sc-house-soft);
}

[b-fampcydggm] .gh-more-item .material-icons {
    font-size: var(--gt-xl);
}

[b-fampcydggm] .gh-composer {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--gh-rim);
}

[b-fampcydggm] .gh-composer-row {
    display: flex;
    gap: var(--space-sm);
}

[b-fampcydggm] .gh-composer-field {
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--gh-tap);
    padding: 0 var(--space-md);
    border: 1px solid var(--gh-rim);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    color: var(--color-text-primary);
    font: 400 var(--gt-base) / 1 var(--font-primary);
}

[b-fampcydggm] .gh-composer-field:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

[b-fampcydggm] .gh-composer-hint {
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

[b-fampcydggm] .gh-composer-closed {
    margin: 0;
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ---- Your place, the long table */
[b-fampcydggm] .gh-place {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

[b-fampcydggm] .gh-switch {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    min-height: var(--gh-tap);
    cursor: pointer;
}

[b-fampcydggm] .gh-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

[b-fampcydggm] .gh-switch-track {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid var(--gh-rim);
    background: var(--color-bg-base);
    transition: background-color 0.15s ease;
}

[b-fampcydggm] .gh-switch-track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-text-secondary);
    transition: transform 0.15s ease;
}

[b-fampcydggm] .gh-switch input:checked + .gh-switch-track {
    background: var(--sc-house-soft);
    border-color: var(--sc-house);
}

[b-fampcydggm] .gh-switch input:checked + .gh-switch-track::after {
    transform: translateX(18px);
    background: var(--sc-house);
}

[b-fampcydggm] .gh-switch input:focus-visible + .gh-switch-track {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

[b-fampcydggm] .gh-label {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

[b-fampcydggm] .gh-select {
    min-height: var(--gh-tap);
    padding: 0 var(--space-sm);
    border: 1px solid var(--gh-rim);
    border-radius: var(--radius-md);
    background: var(--color-bg-base);
    color: var(--color-text-primary);
}

[b-fampcydggm] .gh-seats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

[b-fampcydggm] .gh-seat {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    background: var(--sc-house-soft);
}

[b-fampcydggm] .gh-seat-ring {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid var(--gh-class, var(--sc-house));
}

[b-fampcydggm] .gh-seat-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-size: var(--gt-sm);
}

[b-fampcydggm] .gh-seat-text span {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ---- The house rules card (in the hall's modal frame) */
[b-fampcydggm] .gh-rc {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 520px;
}

[b-fampcydggm] .gh-rc-head {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

[b-fampcydggm] .gh-rc-seal {
    color: var(--sc-house);
}

[b-fampcydggm] .gh-rc-title {
    margin: 0;
    font: 700 var(--gt-2xl) / 1.2 var(--font-display);
    color: var(--color-primary);
}

[b-fampcydggm] .gh-rc-list {
    margin: 0;
    padding-left: var(--space-lg);
    display: grid;
    gap: var(--space-sm);
    font: 400 var(--gt-base) / 1.5 var(--fd-font-voice);
}

[b-fampcydggm] .gh-rc-sign {
    margin: 0;
    text-align: right;
    font: italic 400 var(--gt-base) / 1 var(--fd-font-voice);
    color: var(--fd-gold-text);
}

[b-fampcydggm] .gh-rc-acts {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

[b-fampcydggm] .gh-rc-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: var(--gh-tap);
    padding: 0 var(--space-md);
    border: 1px solid var(--fd-line-gold);
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
}

[b-fampcydggm] .gh-rc-btn--gold {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    color: var(--color-bg-base);
    font-weight: 700;
}

[b-fampcydggm] .gh-rc-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Tiers (canonical breakpoints only) */
@media not all and (min-width: 1280px) {
    .gh-body[b-fampcydggm] {
        grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    }

    .gh-body.gh-body--party[b-fampcydggm] {
        grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr);
    }

    .gh-body--party .gh-pane--board[b-fampcydggm] {
        grid-column: auto;
    }

    .gh-pane--board[b-fampcydggm] {
        grid-column: 1 / -1;
    }
}

@media not all and (min-width: 960px) {
    .gh-body[b-fampcydggm],
    .gh-body.gh-body--party[b-fampcydggm] {
        grid-template-columns: minmax(0, 1fr);
    }

    [b-fampcydggm] .gh-hearth--party,
    [b-fampcydggm] .gh-hearth--party.gh-hearth--guest {
        grid-template-columns: auto minmax(0, 1fr);
    }

    [b-fampcydggm] .gh-tiles {
        grid-column: 1 / -1;
    }

    [b-fampcydggm] .gh-hearth {
        grid-template-columns: auto minmax(0, 1fr);
    }

    [b-fampcydggm] .gh-hearth-side {
        grid-column: 1 / -1;
        align-items: flex-start;
        max-width: none;
    }

    [b-fampcydggm] .gh-sitas {
        text-align: left;
    }

    [b-fampcydggm] .gh-hearth-acts {
        justify-content: flex-start;
    }
}

@media not all and (min-width: 768px) {
    .gh-page[b-fampcydggm] {
        padding: var(--space-md) var(--space-lg) var(--space-xl);
        --gh-gap: var(--space-md);
    }

    [b-fampcydggm] .gh-door {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    [b-fampcydggm] .gh-hearth {
        padding: var(--space-md);
    }

    /* The phone's tabs: Board, Table, Hall (board first); one pane at a time */
    .gh-tabs[b-fampcydggm] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-xs);
        position: sticky;
        top: var(--frame-top, 56px);
        z-index: 3;
        padding: var(--space-xs) 0;
        background: var(--color-bg-base);
    }

    .gh-tab[b-fampcydggm] {
        min-height: 44px;
        border: 1px solid var(--gh-rim);
        border-radius: var(--radius-md);
        background: transparent;
        color: var(--color-text-secondary);
        font: 600 var(--gt-sm) / 1 var(--font-primary);
        cursor: pointer;
    }

    .gh-tab[aria-pressed="true"][b-fampcydggm] {
        background: var(--sc-house-soft);
        border-color: var(--sc-house);
        color: var(--sc-house-ink);
    }

    .gh-page .gh-pane[b-fampcydggm] {
        display: none;
    }

    .gh-page[data-tab="board"] .gh-pane--board[b-fampcydggm],
    .gh-page[data-tab="table"] .gh-pane--table[b-fampcydggm],
    .gh-page[data-tab="hall"] .gh-pane--hall[b-fampcydggm] {
        display: block;
    }

    /* The party place on a phone (A3): the parties pane is a column of its two sections */
    .gh-page[data-tab="board"] .gh-col.gh-pane--board[b-fampcydggm] {
        display: flex;
    }

    .gh-body--party .gh-col--side[b-fampcydggm] {
        display: contents;
    }

    [b-fampcydggm] .gh-hearth--party .gh-hearth-seal {
        width: 48px;
        height: 48px;
        font-size: var(--gt-2xl);
    }

    [b-fampcydggm] .gh-hearth--party .gh-hearth-title {
        font-size: var(--gt-3xl);
    }

    [b-fampcydggm] .gh-tile {
        min-width: 0;
        flex: 1;
        padding: var(--space-xs) var(--space-sm);
    }

    /* A3: the phone's eyebrow is the hall's name alone */
    [b-fampcydggm] .gh-eyebrow-tail {
        display: none;
    }

    [b-fampcydggm] .gh-lines-scroll {
        max-height: none;
    }

    [b-fampcydggm] .gh-line-tools {
        opacity: 1;
    }
}

@media not all and (min-width: 480px) {
    .gh-page[b-fampcydggm] {
        padding: var(--space-sm) var(--space-md) var(--space-lg);
    }

    [b-fampcydggm] .gh-composer-row {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    [b-fampcydggm] .gh-switch-track,
    [b-fampcydggm] .gh-switch-track::after {
        transition: none;
    }
}

@media (forced-colors: active) {
    [b-fampcydggm] .gh-door,
    [b-fampcydggm] .gh-hearth,
    [b-fampcydggm] .gh-board,
    [b-fampcydggm] .gh-table,
    [b-fampcydggm] .gh-long,
    [b-fampcydggm] .gh-more-list,
    [b-fampcydggm] .gh-chip,
    [b-fampcydggm] .gh-tag,
    [b-fampcydggm] .gh-seat,
    [b-fampcydggm] .gh-tile,
    .gh-tab[b-fampcydggm] {
        border: 1px solid CanvasText;
        background: Canvas;
        forced-color-adjust: auto;
    }

    [b-fampcydggm] .gh-line-tools {
        opacity: 1;
    }

    [b-fampcydggm] .gh-switch-track {
        border: 1px solid CanvasText;
    }

    [b-fampcydggm] .gh-switch input:checked + .gh-switch-track::after {
        background: Highlight;
    }
}
/* /Components/Pages/Game/LettersPage.razor.rz.scp.css */
/* Old Man Lourdin's letters in the Fellowship shell (social build W3, A-Letters-1366 / -390): the crumb, his sealed
   letters on the left, the open letter on warm paper on the right; one at a time below 768. Tokens only; canonical
   breakpoints only. */
.lt-page[b-p02487lpab] {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xl) var(--space-2xl);
}

.lt-crumb[b-p02487lpab] {
    margin: 0 0 var(--space-sm);
    font-size: var(--gt-sm);
}

.lt-crumb a[b-p02487lpab] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    color: var(--fd-gold-text);
    font-weight: 600;
}

.lt-crumb .material-icons[b-p02487lpab] {
    font-size: var(--gt-xl);
}

.lt-title[b-p02487lpab] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    margin: 0 0 var(--space-xl);
    font: 700 var(--gt-5xl) / 1.15 var(--font-display);
    color: var(--fd-cream-2);
}

.lt-cols[b-p02487lpab] {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: var(--space-2xl);
    align-items: start;
}

.lt-list[b-p02487lpab] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
}

.lt-h2[b-p02487lpab] {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin: 0;
    font: 700 var(--gt-2xl) / 1.2 var(--font-display);
    color: var(--fd-cream-2);
}

.lt-live[b-p02487lpab] {
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    color: var(--color-text-secondary);
}

.lt-note[b-p02487lpab] {
    margin: 0;
    color: var(--color-text-light);
}

.lt-rows[b-p02487lpab] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-sm);
}

.lt-item[b-p02487lpab] {
    min-width: 0;
}

.lt-rule[b-p02487lpab] {
    display: flex;
    gap: var(--space-sm);
    margin: var(--space-sm) 0 0;
    font-size: var(--gt-sm);
    line-height: 1.45;
    color: var(--color-text-secondary);
}

.lt-rule .material-icons[b-p02487lpab] {
    font-size: var(--gt-xl);
    color: var(--fd-gold-text);
}

.lt-quote[b-p02487lpab] {
    margin: var(--space-md) 0 0;
    padding: var(--space-md) var(--space-lg);
    border-left: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.lt-quote blockquote[b-p02487lpab] {
    margin: 0 0 var(--space-sm);
    font: italic 400 var(--gt-lg) / 1.45 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.lt-quote a[b-p02487lpab],
.lt-gone a[b-p02487lpab] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    color: var(--fd-gold-text);
    font-weight: 600;
}

.lt-quote .material-icons[b-p02487lpab] {
    font-size: var(--gt-xl);
}

.lt-open[b-p02487lpab] {
    min-width: 0;
}

.lt-choose[b-p02487lpab] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: 0;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--sc-paper-rule);
    color: var(--color-text-secondary);
    font: italic 400 var(--gt-xl) / 1.4 var(--fd-font-voice);
}

.lt-choose .material-icons[b-p02487lpab] {
    color: var(--fd-gold-text);
}

/* A gone letter (G1-G3) never dead-ends: why, in words, and his other letters. */
.lt-gone[b-p02487lpab] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-xl);
    border: 1px dashed var(--sc-paper-line);
    background: var(--sc-paper-read);
}

.lt-gone > .material-icons[b-p02487lpab] {
    color: var(--fd-gold-text);
}

.lt-gone-text[b-p02487lpab] {
    flex: 1;
    min-width: 200px;
    margin: 0;
    font: 600 var(--gt-lg) / 1.4 var(--font-primary);
    color: var(--fd-cream-2);
}

.lt-crumb a:focus-visible[b-p02487lpab],
.lt-quote a:focus-visible[b-p02487lpab],
.lt-gone a:focus-visible[b-p02487lpab],
.lt-button:focus-visible[b-p02487lpab] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.lt-button[b-p02487lpab] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 0 var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--fd-gold-soft);
    font-weight: 600;
    text-decoration: none;
}

.lt-button .material-icons[b-p02487lpab] {
    font-size: var(--gt-xl);
}

.lt-button.quiet[b-p02487lpab] {
    border-color: var(--color-border-subtle);
    color: var(--color-text-light);
}

/* Write back (L1b): the foot's first action, a little warmer than Close */
.lt-button.reply[b-p02487lpab] {
    background: color-mix(in srgb, var(--color-primary-dark) 16%, transparent);
}

@media (max-width: 1024px) {
    .lt-cols[b-p02487lpab] {
        grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
        gap: var(--space-xl);
    }
}

/* Phones and upright tablets: one at a time (the list, or the open letter with Write back and Close pinned above the
   dock so the sign-off is never under it, A-Letters-390 P2). */
@media (max-width: 768px) {
    .lt-page[b-p02487lpab] {
        padding: var(--space-md) var(--space-lg) var(--space-xl);
    }

    .lt-cols[b-p02487lpab] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lt-page[data-open="letter"] .lt-list[b-p02487lpab],
    .lt-page[data-open="list"] .lt-open[b-p02487lpab] {
        display: none;
    }

    .lt-page[data-open="letter"] .lt-title[b-p02487lpab] {
        font-size: var(--gt-2xl);
        margin-bottom: var(--space-md);
    }

    .lt-open[b-p02487lpab]  .lv-foot {
        position: sticky;
        bottom: var(--frame-bottom, 0px);
        z-index: 1;
        margin-left: calc(var(--space-lg) * -1);
        margin-right: calc(var(--space-lg) * -1);
        padding: var(--space-sm) var(--space-lg);
        background: var(--color-bg-base);
        border-top: 1px solid var(--sc-paper-rule);
    }
}

@media (max-width: 480px) {
    .lt-title[b-p02487lpab] {
        font-size: var(--gt-3xl);
    }

    .lt-open[b-p02487lpab]  .lv-stays {
        flex-basis: 100%;
        margin-left: 0;
    }
}

@media (forced-colors: active) {
    .lt-button[b-p02487lpab],
    .lt-gone[b-p02487lpab],
    .lt-choose[b-p02487lpab] {
        border-color: CanvasText;
    }
}
/* /Components/Pages/Game/LootTables.razor.rz.scp.css */
/* Loot Table Editor Styling */
.lt-editor-container[b-sisfwbmz2p] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Header */
.lt-editor-header[b-sisfwbmz2p] {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--color-border-hover);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.header-content[b-sisfwbmz2p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.header-title-section[b-sisfwbmz2p] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-title[b-sisfwbmz2p] {
    font-family: 'Cinzel', serif;
    font-size: var(--gt-5xl);
    font-weight: 700;
    color: #f59e0b;
    margin: 0;
    line-height: 1.2;
}

.header-subtitle[b-sisfwbmz2p] {
    font-size: calc(var(--gt-px) * 15.2);
    color: var(--color-text-secondary);
    margin: 0.25rem 0 0 0;
}

.header-actions[b-sisfwbmz2p] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Filters */
.filters-section[b-sisfwbmz2p] {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group[b-sisfwbmz2p] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group.search-group[b-sisfwbmz2p] {
    flex: 1;
    min-width: 250px;
}

.filter-label[b-sisfwbmz2p] {
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f59e0b;
    opacity: 0.9;
}

/* Stats Bar */
.stats-bar[b-sisfwbmz2p] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stat-chip[b-sisfwbmz2p] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--gt-base);
    font-weight: 500;
    transition: transform 0.2s ease;
}

.stat-chip:hover[b-sisfwbmz2p] { transform: translateY(-2px); }

.stat-chip.total[b-sisfwbmz2p] {
    background: rgba(100, 116, 139, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--color-text-light);
}

.stat-chip.total-entries[b-sisfwbmz2p] {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fde68a;
}

.stat-chip.type-weapon[b-sisfwbmz2p] {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fca5a5;
}

.stat-chip.type-armor[b-sisfwbmz2p] {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: var(--color-info-lighter);
}

.stat-chip.type-consumable[b-sisfwbmz2p] {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #86efac;
}

.stat-chip.type-currency[b-sisfwbmz2p] {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fde68a;
}

/* Loading & Empty */
.loading-state[b-sisfwbmz2p], .empty-state[b-sisfwbmz2p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

/* Grid */
.lt-grid[b-sisfwbmz2p] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Cards */
.lt-card[b-sisfwbmz2p] {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lt-card[b-sisfwbmz2p]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f59e0b, #b45309);
}

.lt-card:hover[b-sisfwbmz2p] {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.lt-card-header[b-sisfwbmz2p] { margin-bottom: 1rem; }

.lt-card-title-row[b-sisfwbmz2p] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.lt-id-section[b-sisfwbmz2p] { flex: 1; min-width: 0; }

.lt-id[b-sisfwbmz2p] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17.6);
    font-weight: 700;
    color: #f59e0b;
    margin: 0 0 0.35rem 0;
}

.lt-monster-badge[b-sisfwbmz2p] {
    display: inline-flex;
    align-items: center;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.2rem 0.6rem;
    font-family: 'Courier New', monospace;
}

.lt-actions[b-sisfwbmz2p] {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Entries Table */
.lt-entries-table[b-sisfwbmz2p] {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    font-size: calc(var(--gt-px) * 12.8);
}

.lt-entries-header[b-sisfwbmz2p] {
    display: grid;
    grid-template-columns: 1fr 90px 60px;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(245, 158, 11, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f59e0b;
}

.lt-entry-row[b-sisfwbmz2p] {
    display: grid;
    grid-template-columns: 1fr 90px 60px;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.lt-entry-row:last-child[b-sisfwbmz2p] { border-bottom: none; }
.lt-entry-row:hover[b-sisfwbmz2p] { background: rgba(255, 255, 255, 0.03); }

.lt-entry-item[b-sisfwbmz2p] {
    color: var(--color-text-lighter);
    font-family: 'Courier New', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lt-entry-type[b-sisfwbmz2p] {
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-size: var(--gt-sm);
    font-weight: 600;
    text-align: center;
}

.lt-entry-type.type-weapon[b-sisfwbmz2p]    { background: rgba(239,68,68,0.15); color: #fca5a5; }
.lt-entry-type.type-armor[b-sisfwbmz2p]     { background: rgba(59,130,246,0.15); color: #93c5fd; }
.lt-entry-type.type-consumable[b-sisfwbmz2p]{ background: rgba(34,197,94,0.15);  color: #86efac; }
.lt-entry-type.type-currency[b-sisfwbmz2p]  { background: rgba(245,158,11,0.15); color: #fde68a; }

.lt-entry-chance[b-sisfwbmz2p] {
    font-weight: 700;
    text-align: right;
}

.lt-entry-chance.chance-high[b-sisfwbmz2p] { color: #4ade80; }
.lt-entry-chance.chance-mid[b-sisfwbmz2p]  { color: #facc15; }
.lt-entry-chance.chance-low[b-sisfwbmz2p]  { color: #fb923c; }
.lt-entry-chance.chance-rare[b-sisfwbmz2p] { color: #f87171; }

.lt-card-footer[b-sisfwbmz2p] {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

.lt-entry-count[b-sisfwbmz2p] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

/* Stat labels inside cards (reuse) */
.stat-label[b-sisfwbmz2p] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-value[b-sisfwbmz2p] {
    font-size: var(--gt-base);
    color: var(--color-text-lighter);
    font-weight: 500;
}

/* Entry editor rows inside modal */
.entry-editor-row[b-sisfwbmz2p] {
    display: grid;
    grid-template-columns: 1fr 110px 130px 40px;
    gap: 0.75rem;
    align-items: end;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.entry-remove-field[b-sisfwbmz2p] {
    align-self: end;
}

/* Modals */
.modal-overlay[b-sisfwbmz2p] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-dialog[b-sisfwbmz2p] {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-dialog-wide[b-sisfwbmz2p] { max-width: 720px; }

.modal[b-sisfwbmz2p] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content[b-sisfwbmz2p] {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-header[b-sisfwbmz2p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2[b-sisfwbmz2p] {
    margin: 0;
    color: #f59e0b;
    font-family: 'Cinzel', serif;
    font-size: var(--gt-2xl);
}

.modal-body[b-sisfwbmz2p] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.modal-footer[b-sisfwbmz2p] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn[b-sisfwbmz2p] {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: var(--gt-2xl);
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.close-btn:hover[b-sisfwbmz2p] {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.08);
}

.form-row[b-sisfwbmz2p] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-row label[b-sisfwbmz2p] {
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.form-grid-2col[b-sisfwbmz2p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.effects-section-header[b-sisfwbmz2p] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.effects-section-title[b-sisfwbmz2p] {
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f59e0b;
}

.btn-sm[b-sisfwbmz2p] {
    padding: 0.3rem 0.75rem !important;
    font-size: calc(var(--gt-px) * 12.8) !important;
}

.btn-xs[b-sisfwbmz2p] {
    padding: 0.2rem 0.4rem !important;
    font-size: var(--gt-sm) !important;
    min-width: unset !important;
}

@media (max-width: 768px) {
    .lt-editor-container[b-sisfwbmz2p] { padding: 1rem; }
    .lt-grid[b-sisfwbmz2p] { grid-template-columns: 1fr; }
    .entry-editor-row[b-sisfwbmz2p] { grid-template-columns: 1fr 1fr; }
    .entry-remove-field[b-sisfwbmz2p] { grid-column: 1 / -1; }
    .form-grid-2col[b-sisfwbmz2p] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Game/Merchant.razor.rz.scp.css */
/* The Market page (Docs/LRPG_MERCHANT.md 2.2): the grid per tier. Canonical breakpoints only; tokens only (the MARKET
   block of design-system.css). 1280+: kit, four advice cards, the list with the 392px dock; Sell: sweep and the 360px
   tray. 960-1279: the same columns, slimmer (340px dock at 960-1023). 768-959: one column, the compare a bottom sheet,
   the tray a sticky footer. Below 768: the stack page, the phone bar on the dock. */
.mk-busy[b-p0opus3hoz] {
    min-height: 60vh;
}

.mk-page[b-p0opus3hoz] {
    max-width: var(--mk-max);
    margin: 0 auto;
    padding: 16px 24px 32px;
}

.mk-body[b-p0opus3hoz],
.mk-panel[b-p0opus3hoz] {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.mk-shop[b-p0opus3hoz] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--mk-dock-w);
    align-items: start;
    gap: 16px;
}

.mk-sellgrid[b-p0opus3hoz] {
    grid-template-columns: minmax(0, 1fr) var(--mk-tray-w);
    align-items: start;
}

.mk-retry[b-p0opus3hoz] {
    min-height: var(--mk-tap);
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--mk-line-gold-strong);
    background: var(--mk-ghost-gold);
    color: var(--mk-gold-text);
    font: 700 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.mk-retry:hover[b-p0opus3hoz] { background: var(--mk-sel); }
.mk-retry:focus-visible[b-p0opus3hoz] { outline: 2px solid var(--color-primary); outline-offset: 2px; }

@media (max-width: 1279px) {
    .mk-page[b-p0opus3hoz] { padding: 12px 16px 24px; }
}

@media (max-width: 959px) {
    .mk-shop[b-p0opus3hoz],
    .mk-sellgrid[b-p0opus3hoz] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .mk-page[b-p0opus3hoz] { padding: 12px 16px calc(104px + var(--frame-bottom, 0px)); }
    .mk-body[b-p0opus3hoz], .mk-panel[b-p0opus3hoz] { gap: 12px; }
}

@media (orientation: landscape) and (max-height: 480px) {
    .mk-page[b-p0opus3hoz] { padding: 8px 16px 72px; }
}

@media (prefers-reduced-motion: reduce) {
    .mk-retry[b-p0opus3hoz] { transition: none; }
}

@media (forced-colors: active) {
    .mk-retry[b-p0opus3hoz] { border: 1px solid ButtonText; }
}
/* /Components/Pages/Game/PartyChronicle.razor.rz.scp.css */
:root[b-cdky6d6si2] {
    --color-gold: #ffd700;
    --color-primary: #daa520;
    --color-bg-dark: #0f172a;
    --color-bg-card: #1e293b;
    --color-text-primary: #e2e8f0;
    --color-text-secondary: #94a3b8;
    --color-border: rgba(255, 215, 0, 0.2);
}

.page-header[b-cdky6d6si2] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.page-header h2[b-cdky6d6si2] {
    font-family: 'Cinzel', serif;
    font-size: var(--gt-6xl);
    color: var(--color-gold);
    margin: 0;
}

.page-subtitle[b-cdky6d6si2] {
    color: var(--color-text-secondary);
    font-size: var(--gt-lg);
    margin: 0;
}

.loading-container[b-cdky6d6si2] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.empty-state[b-cdky6d6si2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--color-bg-card), var(--color-bg-dark));
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    gap: 1rem;
    text-align: center;
}

.empty-state-icon[b-cdky6d6si2] {
    font-size: var(--gt-7xl);
    color: var(--color-text-secondary);
    opacity: 0.5;
}

.empty-state h3[b-cdky6d6si2] {
    font-family: 'Cinzel', serif;
    color: var(--color-text-primary);
    margin: 0;
    font-size: var(--gt-xl);
}

.empty-state p[b-cdky6d6si2] {
    color: var(--color-text-secondary);
    margin: 0;
}

.adventure-card[b-cdky6d6si2] {
    background: linear-gradient(145deg, var(--color-bg-card), var(--color-bg-dark));
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-header[b-cdky6d6si2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.card-header h3[b-cdky6d6si2] {
    font-family: 'Cinzel', serif;
    font-size: var(--gt-3xl);
    color: var(--color-gold);
    margin: 0;
}

.card-date[b-cdky6d6si2] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 13.6);
    white-space: nowrap;
}

.card-meta[b-cdky6d6si2] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.meta-item[b-cdky6d6si2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 14.4);
}

.meta-death[b-cdky6d6si2] {
    color: #ef4444;
}

.waypoint-timeline[b-cdky6d6si2] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
    padding-left: 0;
    border-left: 2px solid var(--color-border);
}

.timeline-node[b-cdky6d6si2] {
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    position: relative;
}

.timeline-node[b-cdky6d6si2]::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--color-border);
    border-radius: 50%;
}

.timeline-node.boss[b-cdky6d6si2] {
    border-left-color: var(--color-gold);
    background: rgba(255, 215, 0, 0.05);
}

.timeline-node.boss[b-cdky6d6si2]::before {
    background: var(--color-gold);
}

.waypoint-name[b-cdky6d6si2] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
    font-size: var(--gt-lg);
}

.boss-icon[b-cdky6d6si2] {
    color: var(--color-gold);
}

.narrative-text[b-cdky6d6si2] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 14.4);
    line-height: 1.6;
    margin: 0;
}

.no-data[b-cdky6d6si2] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 13.6);
    font-style: italic;
    margin: 0;
    opacity: 0.7;
}

.card-footer[b-cdky6d6si2] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.generation-note[b-cdky6d6si2] {
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 13.6);
}
/* /Components/Pages/Game/PetManagement.razor.rz.scp.css */
.pets-locked-panel[b-f30u39tu49] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    gap: 0.5rem;
}

/* Page layout */
.pets-page[b-f30u39tu49] {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pets-page-header[b-f30u39tu49] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.pets-header-left[b-f30u39tu49] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pets-page-title[b-f30u39tu49] {
    font-family: 'Cinzel', serif;
    font-size: calc(var(--gt-px) * 25.6);
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.pets-page-subtitle[b-f30u39tu49] {
    font-size: calc(var(--gt-px) * 12.8);
    color: var(--color-text-secondary);
    margin: 0.15rem 0 0;
}

/* Panels */
.pets-panel[b-f30u39tu49] {
    background: linear-gradient(160deg, rgba(30,41,59,0.85), rgba(15,23,42,0.9));
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
}

.pets-active-panel[b-f30u39tu49] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pets-panel-title[b-f30u39tu49] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.6);
    font-weight: 700;
    color: var(--color-warning-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(251,191,36,0.2);
    padding-bottom: 0.5rem;
}

/* Active pet portrait */
.active-pet-portrait-wrapper[b-f30u39tu49] {
    position: relative;
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.active-pet-portrait-fallback[b-f30u39tu49] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-pet-portrait-img[b-f30u39tu49] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.active-pet-rarity-glow[b-f30u39tu49] {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
}

.active-pet-rarity-glow.rarity-common[b-f30u39tu49]   { box-shadow: inset 0 0 0 2px rgba(148,163,184,0.4); }
.active-pet-rarity-glow.rarity-uncommon[b-f30u39tu49] { box-shadow: inset 0 0 0 2px rgba(74,222,128,0.5); }
.active-pet-rarity-glow.rarity-rare[b-f30u39tu49]     { box-shadow: inset 0 0 0 2px rgba(96,165,250,0.6); }
.active-pet-rarity-glow.rarity-epic[b-f30u39tu49]     { box-shadow: inset 0 0 0 2px rgba(192,132,252,0.7); }
.active-pet-rarity-glow.rarity-legendary[b-f30u39tu49] {
    box-shadow: inset 0 0 0 2px rgba(251,191,36,0.8), 0 0 20px rgba(251,191,36,0.3);
    animation: legendaryGlow-b-f30u39tu49 2.5s ease-in-out infinite;
}

@keyframes legendaryGlow-b-f30u39tu49 {
    0%, 100% { box-shadow: inset 0 0 0 2px rgba(251,191,36,0.8), 0 0 20px rgba(251,191,36,0.3); }
    50%       { box-shadow: inset 0 0 0 2px rgba(251,191,36,1.0), 0 0 35px rgba(251,191,36,0.5); }
}

/* Active pet info */
.active-pet-name-row[b-f30u39tu49] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.active-pet-name[b-f30u39tu49] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 16.8);
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
}

.active-pet-stage[b-f30u39tu49] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: calc(var(--gt-px) * 12.48);
    color: #94a3b8;
}

.stage-gem[b-f30u39tu49] { font-size: var(--gt-sm); }
.stage-gem.stage-1[b-f30u39tu49] { color: #94a3b8; }
.stage-gem.stage-2[b-f30u39tu49] { color: #22d3ee; }
.stage-gem.stage-3[b-f30u39tu49] { color: var(--color-warning-bright); }

/* XP bar */
.active-pet-xp-section[b-f30u39tu49] {
    width: 100%;
}

.xp-label-row[b-f30u39tu49] {
    display: flex;
    justify-content: space-between;
    font-size: var(--gt-sm);
    color: #94a3b8;
    margin-bottom: 4px;
}

.xp-bar[b-f30u39tu49] {
    width: 100%;
    height: 6px;
    background: rgba(148,163,184,0.15);
    border-radius: 3px;
    overflow: hidden;
}

.xp-bar-fill[b-f30u39tu49] {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Stats */
.active-pet-stats[b-f30u39tu49] {
    width: 100%;
}

.stats-grid[b-f30u39tu49] {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
}

.stat-chip[b-f30u39tu49] {
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.3);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: var(--gt-sm);
    color: #93c5fd;
    font-weight: 600;
}

.affinity-banner[b-f30u39tu49] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--gt-sm);
    color: #fde68a;
    background: rgba(251,191,36,0.08);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 6px;
    padding: 4px 8px;
    margin-top: 4px;
}

/* Evolution panel */
.evolve-panel[b-f30u39tu49] {
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.25);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.evolve-title[b-f30u39tu49] {
    font-size: var(--gt-sm);
    font-weight: 700;
    color: var(--color-warning-bright);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.evolve-info[b-f30u39tu49] {
    display: flex;
    justify-content: space-between;
    font-size: var(--gt-sm);
    flex-wrap: wrap;
    gap: 4px;
}

/* No active pet */
.no-active-pet[b-f30u39tu49] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    text-align: center;
    flex: 1;
}

/* Owned pets grid */
.owned-pets-grid[b-f30u39tu49] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 2px;
}

/* Discovery grid */
.discovery-grid[b-f30u39tu49] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 2px;
}

.discovery-card[b-f30u39tu49] {
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.discovery-card.discovery-locked[b-f30u39tu49] {
    opacity: 0.75;
}

.discovery-silhouette[b-f30u39tu49] {
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.8);
    overflow: hidden;
}

.discovery-silhouette-img[b-f30u39tu49] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0) brightness(0.35);
}

.discovery-info[b-f30u39tu49] {
    padding: 5px 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.discovery-rarity[b-f30u39tu49] {
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.discovery-hint[b-f30u39tu49] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Companion quest panel */
.companion-quest-panel[b-f30u39tu49] {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.companion-quest-title[b-f30u39tu49] {
    font-size: var(--gt-sm);
    letter-spacing: 0.08em;
    color: var(--color-warning-bright);
    text-transform: uppercase;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.companion-quest-hint[b-f30u39tu49] {
    font-size: var(--gt-sm);
    color: #94a3b8;
    font-style: italic;
    line-height: 1.3;
}
/* /Components/Pages/Game/PetShop.razor.rz.scp.css */
/* ============================================================
   PET SHOP — dark RPG aesthetic, mirrors PetManagement.razor.css
   ============================================================ */

/* Locked / no-character panel (re-uses pets-locked-panel class from PetManagement) */
.pets-locked-panel[b-l33gtl3fpp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    gap: 0.5rem;
}

/* ── Page layout ─────────────────────────────────────────── */

.shop-page[b-l33gtl3fpp] {
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.shop-page-header[b-l33gtl3fpp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.shop-header-left[b-l33gtl3fpp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shop-page-title[b-l33gtl3fpp] {
    font-family: 'Cinzel', serif;
    font-size: calc(var(--gt-px) * 25.6);
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.shop-page-subtitle[b-l33gtl3fpp] {
    font-size: calc(var(--gt-px) * 12.8);
    color: var(--color-text-secondary);
    margin: 0.15rem 0 0;
}

/* ── Premium banner ──────────────────────────────────────── */

.premium-banner[b-l33gtl3fpp] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(161,89,14,0.25), rgba(120,53,15,0.2));
    border: 1px solid rgba(251,191,36,0.35);
    border-radius: 10px;
    color: #fde68a;
    font-size: calc(var(--gt-px) * 13.12);
    flex-wrap: wrap;
}

.premium-banner strong[b-l33gtl3fpp] {
    color: var(--color-warning-bright);
}

/* ── Shop grid ───────────────────────────────────────────── */

.shop-grid[b-l33gtl3fpp] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

/* ── Shop card ───────────────────────────────────────────── */

.shop-pet-card[b-l33gtl3fpp] {
    background: linear-gradient(160deg, rgba(30,41,59,0.9), rgba(15,23,42,0.95));
    border: 1px solid rgba(251,191,36,0.22);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.shop-pet-card:hover:not(.owned):not(.locked)[b-l33gtl3fpp] {
    transform: translateY(-4px);
    border-color: rgba(251,191,36,0.55);
    box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 12px rgba(251,191,36,0.15);
}

.shop-pet-card.owned[b-l33gtl3fpp] {
    opacity: 0.72;
}

.shop-pet-card.locked .shop-pet-img[b-l33gtl3fpp] {
    filter: saturate(0.3) brightness(0.6);
}

/* ── Card image wrapper ──────────────────────────────────── */

.shop-pet-image-wrapper[b-l33gtl3fpp] {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: rgba(15,23,42,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-pet-image-fallback[b-l33gtl3fpp] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-pet-img[b-l33gtl3fpp] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.2s ease;
}

/* ── Badges ──────────────────────────────────────────────── */

.shop-rarity-badge[b-l33gtl3fpp] {
    position: absolute;
    top: 5px;
    left: 6px;
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(15,23,42,0.75);
    padding: 2px 5px;
    border-radius: 4px;
}

.shop-owned-badge[b-l33gtl3fpp] {
    position: absolute;
    top: 5px;
    right: 6px;
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(22,101,52,0.85);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.4);
    padding: 2px 5px;
    border-radius: 4px;
}

/* ── Card info section ───────────────────────────────────── */

.shop-pet-info[b-l33gtl3fpp] {
    padding: 0.6rem 0.65rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.shop-pet-name[b-l33gtl3fpp] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.12);
    font-weight: 700;
    color: #fde68a;
    line-height: 1.2;
}

.shop-pet-category[b-l33gtl3fpp] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.shop-pet-desc[b-l33gtl3fpp] {
    font-size: var(--gt-sm);
    color: #94a3b8;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-stat-chips[b-l33gtl3fpp] {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 2px;
}

.shop-stat-chip[b-l33gtl3fpp] {
    background: rgba(96,165,250,0.1);
    border: 1px solid rgba(96,165,250,0.25);
    border-radius: 3px;
    padding: 1px 5px;
    font-size: var(--gt-sm);
    color: #93c5fd;
    font-weight: 600;
}

.shop-pet-price[b-l33gtl3fpp] {
    font-size: var(--gt-sm);
    font-weight: 700;
    color: #b45309;
    margin-top: auto;
    padding-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ── Buy button ──────────────────────────────────────────── */

.shop-buy-btn[b-l33gtl3fpp] {
    width: 100%;
    margin-top: 0.4rem;
    padding: 6px 10px;
    border-radius: 7px;
    border: none;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.15s ease;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.shop-buy-btn:hover:not(:disabled):not(.disabled):not(.owned)[b-l33gtl3fpp] {
    background: linear-gradient(135deg, var(--color-warning-bright), #f59e0b);
    box-shadow: 0 4px 14px rgba(245,158,11,0.45);
}

.shop-buy-btn.owned[b-l33gtl3fpp] {
    background: rgba(30,41,59,0.6);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.3);
    cursor: default;
}

.shop-buy-btn.disabled[b-l33gtl3fpp],
.shop-buy-btn:disabled[b-l33gtl3fpp] {
    background: rgba(30,41,59,0.6);
    color: #475569;
    border: 1px solid rgba(71,85,105,0.3);
    cursor: not-allowed;
    box-shadow: none;
}

/* The Market's door (Docs/LRPG_MERCHANT.md D15): a sister station, not a way back. */
.shop-market-door[b-l33gtl3fpp] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    min-height: 44px;
}

.shop-market-door:hover[b-l33gtl3fpp],
.shop-market-door:focus-visible[b-l33gtl3fpp] {
    border-color: var(--color-border-hover);
    color: var(--color-warning-bright);
}
/* /Components/Pages/Game/Spellbook.razor.rz.scp.css */
/* The Loadout page (Docs/LRPG_LOADOUT.md 3.1): the grid per tier and the shared look of its pieces. Tokens only, the
   canonical breakpoints only (480 / 768 / 1024 / 1280), Material Icons only, no glyph in content. The shared pieces sit
   inside :where(), so a component's own one-class rule always wins. The page gutter reads min(100vw, 1920px) (the
   shell's container stops at 1920) and the content stops at 1680, as the Armory's. */
.lo-page[b-djq3r0cmod] {
    --lo-gutter: max(16px, (min(100vw, 1920px) - 1680px) / 2);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--lo-gutter) calc(var(--space-2xl) + var(--frame-bottom, 0px));
    color: var(--color-text-primary);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-card) {
    padding: var(--space-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-border-base);
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-eyebrow) {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-section-heading) {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--gt-xl);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-base);
    background: transparent;
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--gt-sm);
    cursor: pointer;
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-button--sm) {
    min-height: 30px;
    padding: 0 var(--space-sm);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-button--gold) {
    border-color: var(--color-primary);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    font-weight: var(--font-weight-bold);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-button--danger) {
    border-color: var(--color-danger-light);
    color: var(--color-danger-light);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-button:disabled) {
    cursor: not-allowed;
    opacity: 0.55;
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-icon-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: var(--radius-round);
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-icon-button:hover) {
    border-color: var(--color-border-base);
    color: var(--color-text-primary);
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-button:focus-visible, .lo-icon-button:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

:where(.lo-page)[b-djq3r0cmod]  :where(.lo-sr-only) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* The top row: the hero card (330) beside the title card from 1025. */
.lo-top[b-djq3r0cmod] {
    display: grid;
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    gap: var(--space-lg);
}

.lo-banner[b-djq3r0cmod] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-warning) 45%, transparent);
    background: color-mix(in srgb, var(--color-warning) 10%, transparent);
    font-size: var(--gt-sm);
}

.lo-banner--info[b-djq3r0cmod] {
    border-color: color-mix(in srgb, var(--color-info-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-info-light) 10%, transparent);
}

.lo-banner a[b-djq3r0cmod] {
    color: var(--color-primary-light);
}

.lo-banner .material-icons[b-djq3r0cmod] {
    font-size: var(--gt-xl);
}

.lo-legend[b-djq3r0cmod] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-lg);
    margin: calc(-1 * var(--space-sm)) 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

/* The lower half: the bench (or the kit) beside the zoom panel. */
.lo-lower[b-djq3r0cmod] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.lo-lower.has-panel[b-djq3r0cmod] {
    grid-template-columns: minmax(0, 1fr) clamp(340px, 26vw, 400px);
}

.lo-lower-main[b-djq3r0cmod] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.lo-zoom-empty[b-djq3r0cmod] {
    position: sticky;
    top: calc(var(--frame-top, 64px) + var(--space-md));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px dashed var(--color-border-base);
    color: var(--color-text-secondary);
    text-align: center;
    font-size: var(--gt-sm);
}

.lo-zoom-empty p[b-djq3r0cmod] {
    margin: 0;
}

/* The Clear all confirm: an inline alert dialog over a scrim (Cancel first and focused, Escape cancels). */
.lo-confirm-layer[b-djq3r0cmod] {
    position: fixed;
    inset: 0;
    z-index: var(--mud-zindex-dialog, 1400);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: color-mix(in srgb, var(--color-bg-base) 62%, transparent);
}

.lo-confirm[b-djq3r0cmod] {
    width: min(420px, 100%);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-danger) 45%, transparent);
    background: var(--color-bg-base);
    box-shadow: var(--shadow-md);
}

.lo-confirm h2[b-djq3r0cmod] {
    margin: 0 0 var(--space-sm);
    font-family: var(--font-display);
    font-size: var(--gt-xl);
}

.lo-confirm p[b-djq3r0cmod] {
    margin: 0 0 var(--space-lg);
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.lo-confirm-actions[b-djq3r0cmod] {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
}

/* Laptop: the zoom 320. */
@media (max-width: 1280px) {
    .lo-lower.has-panel[b-djq3r0cmod] {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

/* Tablet: the hero and title cards stacked; the zoom a 300 column. */
@media (max-width: 1024px) {
    .lo-top[b-djq3r0cmod] {
        grid-template-columns: minmax(0, 1fr);
    }

    .lo-lower.has-panel[b-djq3r0cmod] {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
}

/* Portrait and phone: one column (the zoom is a bottom sheet). */
@media (max-width: 768px) {
    .lo-page[b-djq3r0cmod] {
        gap: var(--space-md);
        padding-top: var(--space-md);
    }

    .lo-lower.has-panel[b-djq3r0cmod] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    :where(.lo-page)[b-djq3r0cmod]  :where(.lo-card) {
        padding: var(--space-md);
    }
}

@media (pointer: coarse) {
    :where(.lo-page)[b-djq3r0cmod]  :where(.lo-button, .lo-icon-button) {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (forced-colors: active) {
    :where(.lo-page)[b-djq3r0cmod]  :where(.lo-card) {
        border-color: CanvasText;
    }

    .lo-confirm[b-djq3r0cmod] {
        border-color: CanvasText;
    }
}
/* /Components/Pages/Game/Spells.razor.rz.scp.css */
/* Spell Editor Styling */
.spell-editor-container[b-5wuaiy90rn] {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Header */
.spell-editor-header[b-5wuaiy90rn] {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 1px solid var(--color-border-hover);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.header-content[b-5wuaiy90rn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.header-title-section[b-5wuaiy90rn] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon[b-5wuaiy90rn] {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-warning));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-800);
    font-size: var(--gt-5xl);
}

.header-title[b-5wuaiy90rn] {
    font-family: 'Cinzel', serif;
    font-size: var(--gt-5xl);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    line-height: 1.2;
}

.header-subtitle[b-5wuaiy90rn] {
    font-size: calc(var(--gt-px) * 15.2);
    color: var(--color-text-secondary);
    margin: 0.25rem 0 0 0;
}

.header-actions[b-5wuaiy90rn] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.create-spell-btn[b-5wuaiy90rn] {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark)) !important;
}

/* Filters Section */
.filters-section[b-5wuaiy90rn] {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group[b-5wuaiy90rn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group.search-group[b-5wuaiy90rn] {
    flex: 1;
    min-width: 250px;
}

.filter-label[b-5wuaiy90rn] {
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    opacity: 0.9;
}

.filter-option[b-5wuaiy90rn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-option.wizard[b-5wuaiy90rn] { color: var(--color-info-light); }
.filter-option.paladin[b-5wuaiy90rn] { color: var(--color-warning-bright); }
.filter-option.bard[b-5wuaiy90rn] { color: #f472b6; }
.filter-option.any[b-5wuaiy90rn] { color: #a78bfa; }

/* Stats Bar */
.stats-bar[b-5wuaiy90rn] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stat-chip[b-5wuaiy90rn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--gt-base);
    font-weight: 500;
    transition: transform 0.2s ease;
}

.stat-chip:hover[b-5wuaiy90rn] {
    transform: translateY(-2px);
}

.stat-chip.total[b-5wuaiy90rn] {
    background: rgba(100, 116, 139, 0.2);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: var(--color-text-light);
}

.stat-chip.wizard[b-5wuaiy90rn] {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: var(--color-info-lighter);
}

.stat-chip.paladin[b-5wuaiy90rn] {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--color-warning-light);
}

.stat-chip.bard[b-5wuaiy90rn] {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(244, 114, 182, 0.3);
    color: var(--color-bard-light);
}

.stat-chip.any[b-5wuaiy90rn] {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: var(--color-monk-lighter);
}

/* Loading & Empty States */
.loading-state[b-5wuaiy90rn], .empty-state[b-5wuaiy90rn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.empty-icon[b-5wuaiy90rn] {
    font-size: var(--gt-8xl);
    color: #475569;
    margin-bottom: 1rem;
}

.empty-title[b-5wuaiy90rn] {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.empty-text[b-5wuaiy90rn] {
    color: var(--color-text-secondary);
    max-width: 400px;
}

/* Spells Grid */
.spells-grid[b-5wuaiy90rn] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Spell Cards */
.spell-card[b-5wuaiy90rn] {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spell-card[b-5wuaiy90rn]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: all 0.3s ease;
}

.spell-card-wizard[b-5wuaiy90rn]::before { background: linear-gradient(180deg, var(--color-info), #1e40af); }
.spell-card-paladin[b-5wuaiy90rn]::before { background: linear-gradient(180deg, var(--color-warning), var(--color-warning-dark)); }
.spell-card-bard[b-5wuaiy90rn]::before { background: linear-gradient(180deg, var(--color-bard), #db2777); }
.spell-card-any[b-5wuaiy90rn]::before { background: linear-gradient(180deg, var(--color-monk), #7c3aed); }

.spell-card:hover[b-5wuaiy90rn] {
    transform: translateY(-4px);
    border-color: var(--color-border-active);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.spell-card-deleted[b-5wuaiy90rn] {
    opacity: 0.6;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.spell-card-header[b-5wuaiy90rn] {
    margin-bottom: 1rem;
}

.spell-card-title-row[b-5wuaiy90rn] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.spell-name-section[b-5wuaiy90rn] {
    flex: 1;
    min-width: 0;
}

.spell-name[b-5wuaiy90rn] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17.6);
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spell-id[b-5wuaiy90rn] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    font-family: 'Courier New', monospace;
}

.spell-badges[b-5wuaiy90rn] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.spell-actions[b-5wuaiy90rn] {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.spell-description[b-5wuaiy90rn] {
    color: var(--color-text-light);
    font-size: var(--gt-base);
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Spell Stats Grid */
.spell-stats-grid[b-5wuaiy90rn] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.spell-stat[b-5wuaiy90rn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon[b-5wuaiy90rn] {
    color: var(--color-text-tertiary);
    flex-shrink: 0;
}

.stat-icon.mana[b-5wuaiy90rn] { color: var(--color-info); }
.stat-icon.effect[b-5wuaiy90rn] { color: var(--color-warning); }

.stat-content[b-5wuaiy90rn] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-label[b-5wuaiy90rn] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-value[b-5wuaiy90rn] {
    font-size: var(--gt-base);
    color: var(--color-text-lighter);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Class Chips */
.class-chip-wizard[b-5wuaiy90rn] {
    background: rgba(59, 130, 246, 0.2) !important;
    color: var(--color-info-lighter) !important;
    border: 1px solid rgba(96, 165, 250, 0.3) !important;
}

.class-chip-paladin[b-5wuaiy90rn] {
    background: rgba(245, 158, 11, 0.2) !important;
    color: var(--color-warning-light) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
}

.class-chip-bard[b-5wuaiy90rn] {
    background: rgba(236, 72, 153, 0.2) !important;
    color: var(--color-bard-light) !important;
    border: 1px solid rgba(244, 114, 182, 0.3) !important;
}

.class-chip-any[b-5wuaiy90rn] {
    background: rgba(139, 92, 246, 0.2) !important;
    color: var(--color-monk-lighter) !important;
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
}

/* ── Modals ─────────────────────────────────────────────────────────── */

/* Create / Edit modal */
.modal-overlay[b-5wuaiy90rn] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-dialog[b-5wuaiy90rn] {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Delete / Restore modals */
.modal[b-5wuaiy90rn] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content[b-5wuaiy90rn] {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Shared modal structure */
.modal-header[b-5wuaiy90rn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2[b-5wuaiy90rn] {
    margin: 0;
    color: var(--color-primary);
    font-family: 'Cinzel', serif;
    font-size: var(--gt-2xl);
}

.modal-body[b-5wuaiy90rn] {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.modal-footer[b-5wuaiy90rn] {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.close-btn[b-5wuaiy90rn] {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    cursor: pointer;
    font-size: var(--gt-2xl);
    line-height: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.close-btn:hover[b-5wuaiy90rn] {
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.08);
}

/* Form rows inside modal */
.form-row[b-5wuaiy90rn] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-row label[b-5wuaiy90rn] {
    font-size: var(--gt-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

/* 2-column form grid */
.form-grid-2col[b-5wuaiy90rn] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.form-grid-2col .form-row-span[b-5wuaiy90rn] {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .form-grid-2col[b-5wuaiy90rn] {
        grid-template-columns: 1fr;
    }

    .form-grid-2col .form-row-span[b-5wuaiy90rn] {
        grid-column: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .spell-editor-container[b-5wuaiy90rn] {
        padding: 1rem;
    }

    .header-content[b-5wuaiy90rn] {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters-section[b-5wuaiy90rn] {
        flex-direction: column;
    }

    .filter-group[b-5wuaiy90rn] {
        width: 100%;
    }

    .spells-grid[b-5wuaiy90rn] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Game/WeaponsEditor.razor.rz.scp.css */
/* Weapons Editor - Fantasy RPG Theme */

/* Page Header */
.weapons-header[b-mlh4t5yxj1] {
    background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.weapons-header h1[b-mlh4t5yxj1] {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: var(--gt-5xl);
    font-weight: 700;
    margin: 0;
}

/* Weapon Cards */
[b-mlh4t5yxj1] .weapon-card {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
    transition: all 0.3s ease;
}

[b-mlh4t5yxj1] .weapon-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-active);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(255, 215, 0, 0.1);
}

[b-mlh4t5yxj1] .weapon-card.deleted {
    opacity: 0.6;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

/* Action Buttons */
[b-mlh4t5yxj1] .btn-primary {
    background: linear-gradient(135deg, #b8860b 0%, var(--color-primary-dark) 50%, var(--color-primary) 100%) !important;
    color: var(--color-gray-900) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[b-mlh4t5yxj1] .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.5) !important;
}

[b-mlh4t5yxj1] .btn-success {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark)) !important;
    color: white !important;
}

[b-mlh4t5yxj1] .btn-error {
    background: linear-gradient(135deg, var(--color-danger), var(--color-barbarian)) !important;
    color: white !important;
}

/* Dialog Styling */
[b-mlh4t5yxj1] .mud-dialog {
    background: linear-gradient(145deg, var(--color-bg-elevated), rgba(15, 23, 42, 1));
    border: 1px solid var(--color-border-base);
    border-radius: 12px;
}

[b-mlh4t5yxj1] .mud-dialog-title {
    font-family: 'Cinzel', serif;
    color: var(--color-primary);
    font-size: var(--gt-3xl);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding-bottom: 1rem;
}

/* Form Fields */
[b-mlh4t5yxj1] .mud-input-outlined {
    border-color: var(--color-border-hover) !important;
}

[b-mlh4t5yxj1] .mud-input-outlined:hover {
    border-color: var(--color-border-active) !important;
}

[b-mlh4t5yxj1] .mud-input-outlined.mud-input-focused {
    border-color: rgba(255, 215, 0, 0.5) !important;
}

/* Chips & Badges */
[b-mlh4t5yxj1] .mud-chip {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Loading States */
[b-mlh4t5yxj1] .mud-progress-linear {
    background-color: rgba(255, 215, 0, 0.1) !important;
}

[b-mlh4t5yxj1] .mud-progress-linear-bar {
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light)) !important;
}
/* /Components/Pages/Guide/GuideArticle.razor.rz.scp.css */
/* The guide article template (Docs/LRPG_FRONT_DOOR.md, comps A-Guide-1366 / A-Guide-390).
   Tokens only, canonical breakpoints only (480 / 768 / 960 / 1024 / 1280), no content glyphs.
   The hero pieces authored in GuideArticle.razor are styled directly; the page's own sections carry the page's
   scope, so the reading blocks (fd-g-*) are reached with ::deep under the template's root. */

/* ---------- The opening: the guide's scene, the copy, the glass plate ---------- */
.fd-guide[b-986zol4hcy]  .fd-guide-hero {
    padding-bottom: clamp(48px, 5vw, 80px);
}

.fd-guide-hero__in[b-986zol4hcy] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 432px);
    gap: clamp(32px, 4vw, 72px);
    align-items: start;
    padding-top: clamp(20px, 2.4vw, 36px);
}

.fd-guide-hero__copy[b-986zol4hcy] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    max-width: 700px;
}

.fd-guide-hero__copy[b-986zol4hcy]  .fd-h1 {
    margin-top: 2px;
    text-shadow: 0 4px 24px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

.fd-guide-hero__role[b-986zol4hcy] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fd-guide-hero__lead[b-986zol4hcy] {
    max-width: 64ch;
    color: var(--fd-text-2);
    text-shadow: 0 1px 12px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent);
}

.fd-guide-hero__lead[b-986zol4hcy]  strong {
    color: var(--fd-text);
}

.fd-guide-hero__lead[b-986zol4hcy]  a {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 50%, transparent);
    text-underline-offset: 3px;
}

.fd-guide-hero__cta[b-986zol4hcy] {
    margin-top: 8px;
}

.fd-guide-hero__plate[b-986zol4hcy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    margin-top: clamp(0px, 2vw, 24px);
}

.fd-guide-stats[b-986zol4hcy] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.fd-guide-stats__item[b-986zol4hcy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    min-width: 0;
}

.fd-guide-stats__item:nth-child(even)[b-986zol4hcy] {
    box-shadow: inset 1px 0 0 var(--fd-line);
}

.fd-guide-stats__item:nth-child(n + 3)[b-986zol4hcy] {
    border-top: 1px solid var(--fd-line);
}

.fd-guide-stats dt[b-986zol4hcy] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-guide-stats dd[b-986zol4hcy] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 19px;
    line-height: 1.15;
    color: var(--fd-cream-2);
    font-variant-numeric: tabular-nums;
}

/* ---------- The reading area ---------- */
.fd-guide-main[b-986zol4hcy] {
    padding-top: clamp(28px, 3vw, 48px);
    padding-bottom: clamp(32px, 3vw, 56px);
}

.fd-guide-final[b-986zol4hcy] {
    padding-bottom: var(--fd-sec);
}

/* The rail card under On this page: the guide's name and the one action. */
.fd-guide-railcard[b-986zol4hcy] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-gold);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 7%, transparent), var(--fd-surface));
}

.fd-guide-railcard__head[b-986zol4hcy] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fd-guide-railcard__name[b-986zol4hcy] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--fd-text-4);
}

.fd-guide-railcard__title[b-986zol4hcy] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--fd-cream-2);
}

.fd-guide-railcard[b-986zol4hcy]  .fd-guide-railcard__cta {
    min-height: 48px;
    padding: 8px 12px;
}

/* One line, as the class pages' rail button and A-Guide-1366 draw it: no arrow in the narrow rail. */
.fd-guide-railcard[b-986zol4hcy]  .fd-guide-railcard__cta .fd-cta__label {
    gap: 6px;
    font-size: 12px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.fd-guide-railcard[b-986zol4hcy]  .fd-guide-railcard__cta .material-icons {
    display: none;
}

.fd-guide-railcard__note[b-986zol4hcy] {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--fd-text-4);
}

/* ---------- Sections in the reading column ---------- */
.fd-guide-body[b-986zol4hcy] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-sec {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: clamp(36px, 3.4vw, 56px) 0;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-sec:first-child {
    padding-top: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-sec + .fd-g-sec {
    border-top: 1px solid var(--fd-line);
}

.fd-guide[b-986zol4hcy]  .fd-g-sec .fd-sh {
    margin-bottom: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-sec .fd-sh__tx {
    max-width: 820px;
}

/* A section's sub line reads as prose: EB Garamond at the reading measure. */
.fd-guide[b-986zol4hcy]  .fd-g-sec .fd-sh__sub {
    max-width: 66ch;
    font-family: var(--fd-font-voice);
    font-size: 19.5px;
    line-height: 1.55;
    color: var(--fd-text-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-sec .fd-sh__sub strong {
    color: var(--fd-text);
}

.fd-guide[b-986zol4hcy]  .fd-g-sec .fd-sh__sub a {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 45%, transparent);
    text-underline-offset: 3px;
}

.fd-guide[b-986zol4hcy]  .fd-g-h2 {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: var(--fd-h2);
    line-height: 1.14;
    color: var(--fd-cream-2);
    text-wrap: balance;
}

/* ---------- Prose: EB Garamond at a comfortable measure ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-prose {
    max-width: 66ch;
    font-family: var(--fd-font-voice);
    font-size: 20px;
    line-height: 1.62;
    color: var(--fd-text-2);
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-prose > :where(:not(:first-child)) {
    margin-top: 0.85em;
}

.fd-guide[b-986zol4hcy]  .fd-g-prose strong {
    color: var(--fd-cream-2);
    font-weight: 700;
}

.fd-guide[b-986zol4hcy]  :is(.fd-g-prose, .fd-g-body, .fd-g-list, .fd-g-more__body, .fd-g-callout__body) a {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 45%, transparent);
    text-underline-offset: 3px;
}

/* The opening section's first letter, as the comps draw it. */
.fd-guide[b-986zol4hcy]  .fd-g-prose--dropcap > p:first-of-type::first-letter {
    float: left;
    margin: 0.06em 0.1em 0 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 3.6em;
    line-height: 0.82;
    color: var(--fd-gold);
}

/* ---------- Layout helpers ---------- */
/* As many cards a row as fit at --fd-g-min (the old auto-fit grid), but a short last row shares the width: a lone
   last card fills its row instead of sitting beside empty columns (How to Play's Healers, the combat guide's Damage
   Modifiers). */
.fd-guide[b-986zol4hcy]  .fd-g-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-grid > * {
    flex: 1 1 min(100%, var(--fd-g-min, 280px));
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-grid--220 { --fd-g-min: 220px; }
.fd-guide[b-986zol4hcy]  .fd-g-grid--240 { --fd-g-min: 240px; }
.fd-guide[b-986zol4hcy]  .fd-g-grid--250 { --fd-g-min: 250px; }
.fd-guide[b-986zol4hcy]  .fd-g-grid--260 { --fd-g-min: 260px; }
.fd-guide[b-986zol4hcy]  .fd-g-grid--280 { --fd-g-min: 280px; }
.fd-guide[b-986zol4hcy]  .fd-g-grid--300 { --fd-g-min: 300px; }
.fd-guide[b-986zol4hcy]  .fd-g-grid--320 { --fd-g-min: 320px; }

.fd-guide[b-986zol4hcy]  .fd-g-pairs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fd-guide[b-986zol4hcy]  .fd-g-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 40px);
    align-items: start;
}

.fd-guide[b-986zol4hcy]  .fd-g-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-stack--sm { gap: 8px; }
.fd-guide[b-986zol4hcy]  .fd-g-stack--lg { gap: 18px; }

/* ---------- Cards and tiles ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-card--gold {
    border-color: var(--fd-line-gold-strong);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 9%, transparent), var(--fd-card-bottom) 60%);
}

.fd-guide[b-986zol4hcy]  .fd-g-card--muted {
    background: var(--fd-surface);
}

/* A tile with the in-game gold top rule. */
.fd-guide[b-986zol4hcy]  .fd-g-tile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    box-shadow: inset 0 2px 0 var(--fd-gold-dark);
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  :is(.fd-g-tile__name, .fd-g-name) {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: var(--fd-cream-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-body {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

.fd-guide[b-986zol4hcy]  .fd-g-body strong {
    color: var(--fd-text);
}

/* A gold label over a card's list (Cinzel caps). */
.fd-guide[b-986zol4hcy]  .fd-g-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fd-guide[b-986zol4hcy]  .fd-g-label--bright {
    color: var(--fd-gold-soft);
}

.fd-guide[b-986zol4hcy]  .fd-g-label--muted {
    color: var(--fd-text-3);
}

.fd-guide[b-986zol4hcy]  .fd-g-label .material-icons {
    font-size: 18px;
}

/* A label that heads a block of the section, with a gold rule running out from it. */
.fd-guide[b-986zol4hcy]  .fd-g-label--rule {
    margin-top: 8px;
}

.fd-guide[b-986zol4hcy]  .fd-g-label--rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--fd-gold) 45%, transparent), transparent);
}

/* ---------- Lists ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.fd-guide[b-986zol4hcy]  .fd-g-list > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-list strong {
    color: var(--fd-text);
}

/* The hex bullet (the in-game hex, small and gold); a dash for the "avoid" lists. */
.fd-guide[b-986zol4hcy]  .fd-g-bullet {
    flex: none;
    width: 9px;
    height: 10px;
    margin-top: 0.42em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
}

.fd-guide[b-986zol4hcy]  .fd-g-bullet--dash {
    width: 12px;
    height: 2px;
    margin-top: 0.72em;
    clip-path: none;
    background: var(--fd-text-4);
}

/* A numbered step in a list: the number is its text, in a quiet hex. */
.fd-guide[b-986zol4hcy]  .fd-g-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 26px;
    height: 29px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-slate);
    color: var(--fd-gold-text);
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 12.5px;
}

.fd-guide[b-986zol4hcy]  .fd-g-numrow {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

/* ---------- Rows of facts ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-panel {
    display: flex;
    flex-direction: column;
    border-radius: var(--fd-r-card);
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    overflow: hidden;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-panel__title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--fd-line);
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold);
}

.fd-guide[b-986zol4hcy]  .fd-g-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.fd-guide[b-986zol4hcy]  .fd-g-row + .fd-g-row {
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 12%, transparent);
}

.fd-guide[b-986zol4hcy]  .fd-g-row__keywrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-row__key {
    font-weight: 600;
    color: var(--fd-text-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-row__val {
    color: var(--fd-text-3);
    text-align: right;
}

.fd-guide[b-986zol4hcy]  .fd-g-row__gold {
    font-family: var(--fd-font-display);
    font-weight: 800;
    color: var(--fd-gold-soft);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* A formula inside a panel and a formula on its own. */
.fd-guide[b-986zol4hcy]  .fd-g-formula {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.fd-guide[b-986zol4hcy]  .fd-g-formula__name {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--fd-cream-2);
}

.fd-guide[b-986zol4hcy]  :is(.fd-g-formula__code, .fd-g-code code, .fd-g-code) {
    font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-gold-soft);
}

.fd-guide[b-986zol4hcy]  .fd-g-code {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 26%, transparent);
    background: color-mix(in srgb, var(--fd-gold) 6%, transparent);
    overflow-wrap: anywhere;
}

.fd-guide[b-986zol4hcy]  .fd-g-cd {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

.fd-guide[b-986zol4hcy]  .fd-g-cd__value {
    font-family: var(--fd-font-display);
    font-weight: 800;
    color: var(--fd-gold-soft);
}

.fd-guide[b-986zol4hcy]  .fd-g-cd strong {
    color: var(--fd-text);
}

/* ---------- Small marks ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 42px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 45%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 32%, transparent);
    color: var(--fd-gold-soft);
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.fd-guide[b-986zol4hcy]  .fd-g-key {
    font-weight: 700;
    color: var(--fd-gold-soft);
}

.fd-guide[b-986zol4hcy]  .fd-g-kbd {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border-radius: 7px;
    border: 1px solid var(--fd-line-strong);
    border-bottom-width: 2px;
    background: var(--fd-surface-strong);
    color: var(--fd-text);
    font-family: ui-monospace, 'Cascadia Mono', Menlo, monospace;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* ---------- "More" rows: an icon well, a title and a line ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-more {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--fd-r-card);
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-more--gold {
    border-color: var(--fd-line-gold-strong);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 7%, transparent), var(--fd-surface));
}

.fd-guide[b-986zol4hcy]  .fd-g-more__mark {
    flex: none;
    width: 12px;
    height: 13px;
    margin-top: 0.3em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
}

.fd-guide[b-986zol4hcy]  .fd-g-more__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-more__title {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--fd-cream-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-more__body {
    font-size: 14px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.fd-guide[b-986zol4hcy]  .fd-g-more__body strong {
    color: var(--fd-text);
}

/* ---------- Callouts (the in-game info boxes) ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-callout {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 16px 20px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--fd-info) 40%, transparent);
    background: color-mix(in srgb, var(--fd-info-deep) 24%, var(--fd-panel));
    min-width: 0;
}

.fd-guide[b-986zol4hcy]  .fd-g-callout--gold {
    border-color: var(--fd-line-gold-strong);
    background: color-mix(in srgb, var(--fd-warn-deep) 20%, var(--fd-panel));
}

.fd-guide[b-986zol4hcy]  .fd-g-callout__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--fd-text);
}

.fd-guide[b-986zol4hcy]  .fd-g-callout__label .material-icons {
    font-size: 20px;
    color: var(--fd-info);
}

.fd-guide[b-986zol4hcy]  .fd-g-callout--gold .fd-g-callout__label .material-icons {
    color: var(--fd-gold);
}

.fd-guide[b-986zol4hcy]  .fd-g-callout__body {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

.fd-guide[b-986zol4hcy]  .fd-g-callout__body strong {
    color: var(--fd-text);
}

/* A dashed card (a side note inside a section). */
.fd-guide[b-986zol4hcy]  .fd-g-passive {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--fd-r-card);
    border: 1px dashed color-mix(in srgb, var(--fd-gold) 38%, transparent);
    background: color-mix(in srgb, var(--fd-gold) 3%, transparent);
}

/* ---------- Bars (how often a monster casts) ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-bar {
    display: grid;
    grid-template-columns: minmax(84px, 120px) minmax(0, 1fr) 52px;
    align-items: center;
    gap: 14px;
}

.fd-guide[b-986zol4hcy]  .fd-g-bar__label {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--fd-cream-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-bar__track {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--fd-text-4) 16%, transparent);
    overflow: hidden;
}

.fd-guide[b-986zol4hcy]  .fd-g-bar__fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--fd-gold-dark), var(--fd-gold));
}

.fd-guide[b-986zol4hcy]  .fd-g-bar__value {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 14px;
    color: var(--fd-gold-soft);
    text-align: right;
}

/* ---------- Class cards with standing art (the spell guide's casters) ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-entity {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    min-width: 0;
    transition: border-color 0.15s ease-out;
}

.fd-guide[b-986zol4hcy]  a.fd-g-entity:hover {
    border-color: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 70%, transparent);
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__art {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 50% 100%, color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 30%, transparent), transparent 70%),
        var(--fd-art-well);
    border-bottom: 2px solid color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 70%, transparent);
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__name {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 18px;
    color: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 70%, var(--fd-text));
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__desc {
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-entity__meta {
    font-size: 13.5px;
    color: var(--fd-text-4);
}

/* ---------- Spell lists by class (the spell guide's grimoires) ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--fd-line);
    background: linear-gradient(90deg, color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 16%, transparent), transparent 70%);
}

.fd-guide[b-986zol4hcy]  .fd-g-avatar__img {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 6%;
    border: 2px solid color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 75%, transparent);
    background: var(--fd-art-well);
}

.fd-guide[b-986zol4hcy]  .fd-g-avatar__name {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    color: var(--fd-cream-2);
}

.fd-guide[b-986zol4hcy]  .fd-g-spell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
}

.fd-guide[b-986zol4hcy]  .fd-g-spell + .fd-g-spell {
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 10%, transparent);
}

.fd-guide[b-986zol4hcy]  .fd-g-spell__name {
    font-weight: 700;
    font-size: 14px;
    color: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 55%, var(--fd-text));
}

.fd-guide[b-986zol4hcy]  .fd-g-spell__desc {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

/* ---------- Class chips (a class name in its color; the text stays the page's) ---------- */
.fd-guide[b-986zol4hcy]  .fd-g-cls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 55%, transparent);
    background: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 12%, transparent);
    color: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 70%, var(--fd-text));
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.fd-guide[b-986zol4hcy]  .fd-g-cls::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--fd-cc, var(--fd-gold));
}

.fd-guide[b-986zol4hcy]  .fd-g-dot {
    display: inline-block;
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fd-cc, var(--fd-gold));
}

/* ---------- Tables and figures inside the column ---------- */
.fd-guide[b-986zol4hcy]  .fd-table-wrap {
    -webkit-overflow-scrolling: touch;
}

.fd-guide[b-986zol4hcy]  .fd-g-figs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

/* ---------- Tiers ---------- */
@media not all and (min-width: 1280px) {
    .fd-guide-hero__in[b-986zol4hcy] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    }
}

@media (max-width: 1024px) {
    .fd-guide-hero__in[b-986zol4hcy] {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .fd-guide-hero__plate[b-986zol4hcy] {
        margin-top: 0;
        max-width: 640px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-pairs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fd-guide[b-986zol4hcy]  .fd-g-cols {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .fd-guide-hero__copy[b-986zol4hcy] {
        gap: 12px;
    }

    .fd-guide-hero__role[b-986zol4hcy] {
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .fd-guide-hero__cta[b-986zol4hcy],
    .fd-guide-hero__cta[b-986zol4hcy]  .fd-cta {
        width: 100%;
    }

    .fd-guide-stats__item[b-986zol4hcy] {
        padding: 12px;
    }

    .fd-guide-stats dd[b-986zol4hcy] {
        font-size: 17px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-sec {
        gap: 18px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-sec .fd-sh__sub {
        font-size: 18px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-prose {
        font-size: 18.5px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-card,
    .fd-guide[b-986zol4hcy]  .fd-g-tile {
        padding: 16px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-figs,
    .fd-guide[b-986zol4hcy]  .fd-g-pairs {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-guide[b-986zol4hcy]  .fd-g-row {
        flex-direction: column;
        gap: 2px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-row__val {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .fd-guide[b-986zol4hcy]  .fd-g-bar {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .fd-guide[b-986zol4hcy]  .fd-g-bar__track {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-guide[b-986zol4hcy]  .fd-g-entity {
        transition: none;
    }
}
/* /Components/Pages/Guide/GuideCombat.razor.rz.scp.css */
/* /guide/combat: what the guide template does not already draw. The movement tiers, the numbered action cards,
   the monster archetypes and the class strategies. Tokens only, canonical breakpoints only. */

/* ---------- Movement ranges by class ---------- */
.fd-move-card[b-iedi16dps7] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    box-shadow: inset 0 2px 0 var(--fd-gold-dark);
    min-width: 0;
}

.fd-move-num[b-iedi16dps7] {
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 44px;
    line-height: 1;
    color: var(--fd-gold-soft);
}

.fd-move-unit[b-iedi16dps7] {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-move-classes[b-iedi16dps7] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.fd-move-note[b-iedi16dps7] {
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

/* ---------- The four lanes: each slot's own in-game color and shape (the eco tokens) ---------- */
.fd-g-more__mark.fd-eco-mark.fd-eco-mark--move[b-iedi16dps7] {
    width: 12px;
    height: 12px;
    clip-path: none;
    border-radius: 2px;
    background: var(--color-eco-move);
}

.fd-g-more__mark.fd-eco-mark.fd-eco-mark--action[b-iedi16dps7] {
    width: 13px;
    height: 13px;
    clip-path: none;
    border-radius: 50%;
    background: var(--color-eco-action);
}

.fd-g-more__mark.fd-eco-mark.fd-eco-mark--bonus[b-iedi16dps7] {
    width: 14px;
    height: 13px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: var(--color-eco-bonus);
}

.fd-g-more__mark.fd-eco-mark.fd-eco-mark--free[b-iedi16dps7] {
    width: 13px;
    height: 13px;
    clip-path: none;
    border-radius: 50%;
    background: transparent;
    box-shadow: inset 0 0 0 2px var(--color-eco-free);
}

/* ---------- Numbered action cards ---------- */
.fd-action-head[b-iedi16dps7] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

/* ---------- Monster archetypes ---------- */
.fd-arch-head[b-iedi16dps7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.fd-arch-spell[b-iedi16dps7] {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.fd-arch-counter[b-iedi16dps7] {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--fd-line);
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

.fd-arch-counter strong[b-iedi16dps7] {
    color: var(--fd-gold-soft);
}

/* ---------- Class strategies: the class name in its color ---------- */
.fd-strat-cls[b-iedi16dps7] {
    flex: none;
    width: 92px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: color-mix(in srgb, var(--fd-cc, var(--fd-gold)) 70%, var(--fd-text));
}

.fd-strat-tip[b-iedi16dps7] {
    min-width: 0;
}

@media (max-width: 480px) {
    .fd-strat-row[b-iedi16dps7] {
        flex-direction: column;
        gap: 2px;
    }

    .fd-strat-cls[b-iedi16dps7] {
        width: auto;
    }
}
/* /Components/Pages/Guide/GuideHowToPlay.razor.rz.scp.css */
/* /guide/how-to-play: what the guide template does not already draw (comp A-Guide-1366 / A-Guide-390).
   The nine steps as a trail of gold hexes, the plate's step list, the core-stat tiles, the party roles' class chips
   and the class tips. Tokens only, canonical breakpoints only. */

/* ---------- The hero plate: the nine steps at a glance ---------- */
.fd-htp-plan[b-2e00lon06j] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 8px;
    border-top: 1px solid var(--fd-line);
}

.fd-htp-plan__label[b-2e00lon06j] {
    font-size: 11px;
}

.fd-htp-plan__list[b-2e00lon06j] {
    counter-reset: fd-htp-plan;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    gap: 2px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-htp-plan__list li[b-2e00lon06j] {
    counter-increment: fd-htp-plan;
    min-width: 0;
}

.fd-htp-plan__list a[b-2e00lon06j] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--fd-text-2);
    text-decoration: none;
}

.fd-htp-plan__list a[b-2e00lon06j]::before {
    content: counter(fd-htp-plan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 22px;
    height: 25px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-slate);
    color: var(--fd-gold-text);
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 11px;
}

.fd-htp-plan__list li:first-child a[b-2e00lon06j]::before {
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
}

.fd-htp-plan__list a:hover[b-2e00lon06j] {
    color: var(--fd-gold-soft);
}

/* ---------- The nine steps: a trail of gold hexes ---------- */
.fd-htp-steps[b-2e00lon06j] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-htp-step[b-2e00lon06j] {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 400px);
    gap: 0 28px;
    padding-bottom: 48px;
}

.fd-htp-step__mark[b-2e00lon06j] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fd-htp-step__mark .fd-hexbadge[b-2e00lon06j] {
    width: 56px;
    height: 64px;
    font-size: 22px;
    box-shadow: none;
}

/* The trail: a gold line from one step's hex to the next. */
.fd-htp-step__mark[b-2e00lon06j]::after {
    content: "";
    flex: 1;
    width: 2px;
    margin: 10px 0 -40px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-gold) 55%, transparent), color-mix(in srgb, var(--fd-gold) 15%, transparent));
}

.fd-htp-step:last-child .fd-htp-step__mark[b-2e00lon06j]::after {
    display: none;
}

.fd-htp-step__copy[b-2e00lon06j] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding-top: 12px;
}

.fd-htp-step__name[b-2e00lon06j] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    color: var(--fd-cream-2);
}

.fd-htp-step__text[b-2e00lon06j] {
    font-family: var(--fd-font-voice);
    font-size: 20px;
    line-height: 1.58;
    color: var(--fd-text-2);
}

.fd-htp-step__link[b-2e00lon06j] {
    align-self: flex-start;
    border-bottom: 1px solid color-mix(in srgb, var(--fd-gold) 40%, transparent);
}

.fd-htp-step__side[b-2e00lon06j] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
    min-width: 0;
}

/* A wide capture spans the column; a portrait or small one shares a row with the next (camp beside the rest event,
   as A-Guide-1366 pairs them), so a tall capture never runs a screen high. */
.fd-htp-step__side[b-2e00lon06j]  .fd-htp-shot--wide {
    grid-column: 1 / -1;
}

/* A step without captures shows its facts as plaques beside it. */
.fd-htp-step__facts[b-2e00lon06j] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-htp-step__facts li[b-2e00lon06j] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    font-size: 15px;
    line-height: 1.5;
    color: var(--fd-text-2);
}

/* ---------- Core stats ---------- */
.fd-stat-card[b-2e00lon06j] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    min-width: 0;
}

.fd-stat-abbr[b-2e00lon06j] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 45%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 30%, transparent);
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 17px;
    color: var(--fd-gold-soft);
}

.fd-stat-name[b-2e00lon06j] {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--fd-text);
}

.fd-stat-role[b-2e00lon06j] {
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--fd-text-4);
}

/* ---------- Party roles and class tips: class names in their colors ---------- */
.fd-htp-roles[b-2e00lon06j] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fd-classtip-cls[b-2e00lon06j] {
    flex: none;
    width: 92px;
}

.fd-classtip-tip[b-2e00lon06j] {
    min-width: 0;
}

/* ---------- Tiers ---------- */
@media not all and (min-width: 1280px) {
    .fd-htp-step[b-2e00lon06j] {
        grid-template-columns: 52px minmax(0, 1fr) minmax(0, 340px);
        gap: 0 22px;
    }
}

@media (max-width: 960px) {
    .fd-htp-step[b-2e00lon06j] {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 18px 18px;
    }

    .fd-htp-step__mark[b-2e00lon06j] {
        grid-row: 1 / span 2;
    }

    .fd-htp-step__mark .fd-hexbadge[b-2e00lon06j] {
        width: 48px;
        height: 54px;
        font-size: 19px;
    }

    .fd-htp-step__side[b-2e00lon06j] {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    /* The phone keeps the plate to the quick stats; the steps follow in the page and in On this page. */
    .fd-htp-plan[b-2e00lon06j] {
        display: none;
    }

    .fd-htp-step[b-2e00lon06j] {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px 12px;
        padding-bottom: 36px;
    }

    .fd-htp-step__mark .fd-hexbadge[b-2e00lon06j] {
        width: 40px;
        height: 46px;
        font-size: 16px;
    }

    .fd-htp-step__copy[b-2e00lon06j] {
        padding-top: 6px;
    }

    .fd-htp-step__name[b-2e00lon06j] {
        font-size: 20px;
    }

    .fd-htp-step__text[b-2e00lon06j] {
        font-size: 18px;
    }

    .fd-classtip-cls[b-2e00lon06j] {
        width: 84px;
    }
}

@media (pointer: coarse) {
    .fd-htp-plan__list a[b-2e00lon06j] {
        min-height: 44px;
    }
}
/* /Components/Pages/Guide/GuidePets.razor.rz.scp.css */
/* /guide/companions: what the guide template does not already draw. The pet portraits on the hero plate, the
   evolution table, the affinity cards and the roster. Rarities read the game's own rarity tokens. Tokens only,
   canonical breakpoints only. */

/* ---------- The hero plate's pet portraits ---------- */
.fd-pet-orb-row[b-k92okbb4l0] {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    padding: 12px 12px 10px;
    border-bottom: 1px solid var(--fd-line);
}

.fd-pet-orb[b-k92okbb4l0] {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--fd-gold) 45%, transparent);
    object-fit: cover;
    background-color: var(--fd-art-well);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--fd-shadow-ink) 50%, transparent);
}

/* ---------- Evolution: one pet's three stages, then the table ---------- */
.fd-evo-art-row[b-k92okbb4l0] {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.fd-evo-art[b-k92okbb4l0] {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--fd-gold) 45%, transparent);
    object-fit: cover;
    background-color: var(--fd-art-well);
}

.fd-evo-row[b-k92okbb4l0] {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 16px;
    align-items: baseline;
}

.fd-evo-row + .fd-evo-row[b-k92okbb4l0] {
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 12%, transparent);
}

.fd-evo-head[b-k92okbb4l0] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
    background: var(--fd-surface-strong);
}

.fd-evo-stage[b-k92okbb4l0] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--fd-cream-2);
}

.fd-evo-mult[b-k92okbb4l0] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--fd-gold-soft);
}

.fd-evo-cell[b-k92okbb4l0] {
    font-size: 14.5px;
    color: var(--fd-text-3);
}

/* ---------- Class affinities ---------- */
.fd-aff-grid[b-k92okbb4l0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 14px;
}

.fd-aff-card[b-k92okbb4l0] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
}

.fd-aff-thumb[b-k92okbb4l0] {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--fd-gold) 40%, transparent);
    object-fit: cover;
    background-color: var(--fd-art-well);
}

.fd-aff-copy[b-k92okbb4l0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fd-aff-head[b-k92okbb4l0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fd-aff-pet[b-k92okbb4l0] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--fd-cream-2);
}

.fd-aff-class[b-k92okbb4l0] {
    position: relative;
    text-decoration: none;
}

/* The class link is a short line of text beside the pet's name: on touch its hit area grows to 44px without moving
   anything (an empty overlay, centred on the text). */
@media (pointer: coarse) {
    .fd-aff-class[b-k92okbb4l0]::after {
        content: "";
        position: absolute;
        inset: -9px -6px;
    }
}

.fd-aff-class:hover[b-k92okbb4l0] {
    text-decoration: underline;
}

.fd-aff-bonus[b-k92okbb4l0] {
    font-size: 14px;
    line-height: 1.45;
    color: var(--fd-text-3);
}

/* ---------- The roster ---------- */
.fd-pet-roster-grid[b-k92okbb4l0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 12px;
}

.fd-pet-row[b-k92okbb4l0] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
}

.fd-pet-row-thumb[b-k92okbb4l0] {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 30%, transparent);
    object-fit: cover;
    background-color: var(--fd-art-well);
}

.fd-pet-row-info[b-k92okbb4l0] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fd-pet-row-name[b-k92okbb4l0] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 14.5px;
    color: var(--fd-cream-2);
}

.fd-pet-row-rarity[b-k92okbb4l0] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fd-pet-row-src[b-k92okbb4l0] {
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--fd-text-4);
}

/* Rarity in the game's own colors, mixed toward white for small text. */
.fd-rarity--common[b-k92okbb4l0] { color: color-mix(in srgb, var(--color-rarity-common) 80%, var(--fd-text)); }
.fd-rarity--uncommon[b-k92okbb4l0] { color: color-mix(in srgb, var(--color-rarity-uncommon) 70%, var(--fd-text)); }
.fd-rarity--rare[b-k92okbb4l0] { color: color-mix(in srgb, var(--color-rarity-rare) 65%, var(--fd-text)); }
.fd-rarity--epic[b-k92okbb4l0] { color: color-mix(in srgb, var(--color-rarity-epic) 65%, var(--fd-text)); }
.fd-rarity--legendary[b-k92okbb4l0] { color: color-mix(in srgb, var(--color-rarity-legendary) 75%, var(--fd-text)); }

@media (max-width: 480px) {
    .fd-pet-orb[b-k92okbb4l0] {
        width: 60px;
        height: 60px;
    }

    .fd-evo-row[b-k92okbb4l0] {
        grid-template-columns: 1fr 1fr;
        row-gap: 4px;
    }

    .fd-evo-art[b-k92okbb4l0] {
        width: 84px;
        height: 84px;
    }
}
/* /Components/Pages/Guide/Guides.razor.rz.scp.css */
/* /guides (comps A-Guides-1366 / A-Guides-390). Tokens only, canonical breakpoints only. */

/* ---------- The opening ---------- */
.fd-guides-hero__in[b-eni1jkbwrr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: clamp(32px, 4vw, 72px);
    align-items: center;
    padding-top: clamp(24px, 3vw, 44px);
    padding-bottom: clamp(56px, 6vw, 96px);
}

.fd-guides-hero__copy[b-eni1jkbwrr] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    max-width: 700px;
}

.fd-guides-hero__copy h1[b-eni1jkbwrr] {
    text-shadow: 0 4px 24px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

.fd-guides-hero__lead[b-eni1jkbwrr] {
    color: var(--fd-text-2);
    text-shadow: 0 1px 12px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent);
}

.fd-guides-hero__lead strong[b-eni1jkbwrr] {
    color: var(--fd-text);
}

.fd-guides-hero__lead a[b-eni1jkbwrr] {
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 50%, transparent);
    text-underline-offset: 3px;
}

.fd-guides-stats[b-eni1jkbwrr] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 6px;
}

.fd-guides-stats__item[b-eni1jkbwrr] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    min-width: 0;
}

.fd-guides-stats__item:nth-child(even)[b-eni1jkbwrr] {
    box-shadow: inset 1px 0 0 var(--fd-line);
}

.fd-guides-stats__item:nth-child(n + 3)[b-eni1jkbwrr] {
    border-top: 1px solid var(--fd-line);
}

.fd-guides-stats dt[b-eni1jkbwrr] {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.fd-guides-stats dd[b-eni1jkbwrr] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 28px;
    line-height: 1.1;
    color: var(--fd-cream-2);
}

.fd-guides-stats__item:first-child dd[b-eni1jkbwrr] {
    color: var(--fd-gold-soft);
}

/* A section's sub line reads as prose (EB Garamond), as in the guides themselves. */
.fd-guides-start[b-eni1jkbwrr]  .fd-sh__sub,
.fd-guides-news[b-eni1jkbwrr]  .fd-sh__sub {
    font-family: var(--fd-font-voice);
    font-size: 19.5px;
    line-height: 1.55;
    color: var(--fd-text-2);
}

.fd-guides-news[b-eni1jkbwrr]  .fd-sh__sub a {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fd-gold-text) 45%, transparent);
    text-underline-offset: 3px;
}

/* ---------- The guides in reading order ---------- */
/* Each section owns its vertical rhythm (fd-wrap keeps the side gutters). */
.fd-guides-start[b-eni1jkbwrr] {
    padding-top: clamp(36px, 3vw, 56px);
    padding-bottom: calc(var(--fd-sec) * 0.6);
}

.fd-guides-news[b-eni1jkbwrr],
.fd-guides-more[b-eni1jkbwrr],
.fd-guides-faq[b-eni1jkbwrr] {
    padding-top: calc(var(--fd-sec) * 0.45);
    padding-bottom: calc(var(--fd-sec) * 0.45);
}

.fd-guides-grid[b-eni1jkbwrr] {
    counter-reset: fd-guides;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fd-guides-item[b-eni1jkbwrr] {
    counter-increment: fd-guides;
    position: relative;
    display: flex;
    min-width: 0;
}

.fd-guides-item[b-eni1jkbwrr]  > * {
    flex: 1;
}

.fd-guides-item:not(.fd-guides-item--blog)[b-eni1jkbwrr] {
    min-height: 280px;
}

.fd-guides-item:first-child[b-eni1jkbwrr] {
    grid-row: span 2;
}

.fd-guides-item--blog[b-eni1jkbwrr] {
    grid-column: 1 / -1;
}

/* The reading-order number: a CSS counter in a gold hex, never text. */
.fd-guides-item[b-eni1jkbwrr]::before {
    content: counter(fd-guides);
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 36px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 15px;
    pointer-events: none;
}

.fd-guides-item--blog[b-eni1jkbwrr]::before {
    top: 50%;
    left: calc(clamp(220px, 22vw, 280px) + 20px);
    transform: translateY(-50%);
}

/* The blog: the brand plate, the words and the link in one row. */
.fd-guides-blog[b-eni1jkbwrr] {
    display: grid;
    grid-template-columns: clamp(220px, 22vw, 280px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 72px;
    padding: 18px 28px 18px 18px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.fd-guides-blog:hover[b-eni1jkbwrr] {
    border-color: var(--fd-line-gold-strong);
}

.fd-guides-blog__plate[b-eni1jkbwrr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 120px;
    border-radius: 12px;
    border: 1px solid var(--fd-line-gold);
    background:
        radial-gradient(ellipse 70% 80% at 50% 40%, color-mix(in srgb, var(--fd-gold) 12%, transparent), transparent),
        var(--fd-panel);
}

.fd-guides-blog__plate span[b-eni1jkbwrr] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.26em;
    color: var(--fd-gold-text);
}

.fd-guides-blog__body[b-eni1jkbwrr] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.fd-guides-blog__title[b-eni1jkbwrr] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 21px;
    color: var(--fd-cream-2);
}

.fd-guides-blog__title[b-eni1jkbwrr]  .fd-guides-blog__icon {
    font-size: 20px;
    color: var(--fd-gold);
}

.fd-guides-blog__desc[b-eni1jkbwrr] {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--fd-text-2);
}

.fd-guides-blog__topics[b-eni1jkbwrr] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---------- From the blog ---------- */
.fd-guides-news[b-eni1jkbwrr]  .fd-post-card--lead {
    grid-column: 1 / -1;
}

/* ---------- More about Lourdin RPG ---------- */
.fd-guides-more__grid[b-eni1jkbwrr] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fd-guides-more__card[b-eni1jkbwrr] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.fd-guides-more__card:hover[b-eni1jkbwrr] {
    border-color: var(--fd-line-gold-strong);
}

.fd-guides-more__icon[b-eni1jkbwrr] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 40%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 30%, transparent);
}

.fd-guides-more__icon[b-eni1jkbwrr]  .material-icons {
    font-size: 22px;
    color: var(--fd-gold);
}

.fd-guides-more__copy[b-eni1jkbwrr] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.fd-guides-more__title[b-eni1jkbwrr] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 16px;
    color: var(--fd-cream-2);
}

.fd-guides-more__body[b-eni1jkbwrr] {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

.fd-guides-more__card[b-eni1jkbwrr]  .fd-guides-more__chev {
    flex: none;
    font-size: 20px;
    color: var(--fd-text-4);
}

/* ---------- FAQ: the heading beside the questions ---------- */
.fd-guides-faq[b-eni1jkbwrr] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 24px clamp(32px, 4vw, 64px);
    align-items: start;
}

.fd-guides-final[b-eni1jkbwrr] {
    padding-top: clamp(24px, 3vw, 40px);
    padding-bottom: var(--fd-sec);
}

/* ---------- Tiers ---------- */
@media (max-width: 1024px) {
    .fd-guides-hero__in[b-eni1jkbwrr] {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .fd-guides-stats[b-eni1jkbwrr] {
        max-width: 560px;
    }

    .fd-guides-grid[b-eni1jkbwrr] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fd-guides-more__grid[b-eni1jkbwrr] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-guides-faq[b-eni1jkbwrr] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-guides-blog[b-eni1jkbwrr] {
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 16px 24px;
    }

    .fd-guides-blog__cta[b-eni1jkbwrr] {
        grid-column: 2;
    }

    .fd-guides-item--blog[b-eni1jkbwrr]::before {
        top: 26px;
        left: 26px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .fd-guides-grid[b-eni1jkbwrr] {
        grid-template-columns: minmax(0, 1fr);
    }

    .fd-guides-item:first-child[b-eni1jkbwrr] {
        grid-row: auto;
    }

    .fd-guides-item:not(.fd-guides-item--blog)[b-eni1jkbwrr] {
        min-height: 240px;
    }

    .fd-guides-item[b-eni1jkbwrr]::before {
        top: 12px;
        left: 12px;
        width: 28px;
        height: 32px;
        font-size: 13px;
    }

    .fd-guides-blog[b-eni1jkbwrr] {
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .fd-guides-blog__plate[b-eni1jkbwrr] {
        display: none;
    }

    .fd-guides-blog__body[b-eni1jkbwrr] {
        padding-left: 40px;
    }

    .fd-guides-blog__cta[b-eni1jkbwrr] {
        grid-column: 1;
        min-height: 44px;
    }

    .fd-guides-item--blog[b-eni1jkbwrr]::before {
        top: 16px;
        left: 16px;
    }

    .fd-guides-stats dd[b-eni1jkbwrr] {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-guides-blog[b-eni1jkbwrr],
    .fd-guides-more__card[b-eni1jkbwrr] {
        transition: none;
    }
}
/* /Components/Pages/Guide/GuideSceneCard.razor.rz.scp.css */
/* A guide as a road card: its scene under a bottom scrim, the words over it. Tokens only. */
.fd-gcard[b-bdg981q4w1] {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 210px;
    overflow: hidden;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    background: var(--fd-art-well);
    color: inherit;
    text-decoration: none;
    min-width: 0;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.fd-gcard:hover[b-bdg981q4w1] {
    border-color: var(--fd-line-gold-strong);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--fd-shadow-ink) 45%, transparent);
}

.fd-gcard:focus-visible[b-bdg981q4w1] {
    outline: 2px solid var(--fd-gold);
    outline-offset: 3px;
}

.fd-gcard--tall[b-bdg981q4w1] {
    min-height: 100%;
}

.fd-gcard[b-bdg981q4w1]  .fd-gcard__art {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.fd-gcard:hover[b-bdg981q4w1]  .fd-gcard__art {
    transform: scale(1.03);
}

.fd-gcard__scrim[b-bdg981q4w1] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--fd-night) 5%, transparent) 0%,
        color-mix(in srgb, var(--fd-night) 45%, transparent) 38%,
        color-mix(in srgb, var(--fd-night) 92%, transparent) 78%,
        var(--fd-night) 100%);
}

.fd-gcard__body[b-bdg981q4w1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 56px 20px 16px;
}

.fd-gcard__title[b-bdg981q4w1] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 21px;
    line-height: 1.2;
    color: var(--fd-cream-2);
    text-shadow: 0 2px 12px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent);
}

.fd-gcard__title[b-bdg981q4w1]  .fd-gcard__icon {
    font-size: 21px;
    color: var(--fd-gold);
}

.fd-gcard__desc[b-bdg981q4w1] {
    font-size: 14px;
    line-height: 1.5;
    color: var(--fd-text-2);
}

.fd-gcard__topics[b-bdg981q4w1] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.fd-gcard__cta[b-bdg981q4w1] {
    min-height: 32px;
}

.fd-gcard--tall .fd-gcard__title[b-bdg981q4w1] {
    font-size: 26px;
}

.fd-gcard--tall .fd-gcard__desc[b-bdg981q4w1] {
    font-size: 15px;
}

@media (max-width: 768px) {
    /* Phones: the card's copy reaches the top of the art, so the scrim is dark there too. */
    .fd-gcard__scrim[b-bdg981q4w1] {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--fd-night) 70%, transparent) 0%,
            color-mix(in srgb, var(--fd-night) 80%, transparent) 38%,
            color-mix(in srgb, var(--fd-night) 94%, transparent) 78%,
            var(--fd-night) 100%);
    }

    .fd-gcard[b-bdg981q4w1] {
        min-height: 180px;
    }

    .fd-gcard__body[b-bdg981q4w1] {
        padding: 48px 16px 14px;
    }

    .fd-gcard__title[b-bdg981q4w1],
    .fd-gcard--tall .fd-gcard__title[b-bdg981q4w1] {
        font-size: 19px;
    }

    .fd-gcard__cta[b-bdg981q4w1] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fd-gcard[b-bdg981q4w1],
    .fd-gcard[b-bdg981q4w1]  .fd-gcard__art {
        transition: none;
    }

    .fd-gcard:hover[b-bdg981q4w1]  .fd-gcard__art {
        transform: none;
    }
}
/* /Components/Pages/Guilds/GuildApplicationRow.razor.rz.scp.css */
/* One pending application: who and what they wrote on the left, Approve and Reject on the right. */
.gar[b-qdfiknxxyw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-sm);
}

.gar-who[b-qdfiknxxyw] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.gar-actions[b-qdfiknxxyw] {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .gar[b-qdfiknxxyw] {
        flex-direction: column;
        align-items: stretch;
    }

    .gar-actions[b-qdfiknxxyw] {
        justify-content: flex-end;
    }
}
/* /Components/Pages/Guilds/GuildChatInput.razor.rz.scp.css */
/* The guild chat box: the refusal line above, the field and the send button in a row. */
.gci[b-113cquck5u] {
    display: flex;
    flex-direction: column;
}

.gci[b-113cquck5u]  .gci-error {
    padding: 8px 12px 0;
}

.gci-row[b-113cquck5u] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
}

.gci-row[b-113cquck5u]  .gci-field {
    flex: 1 1 auto;
    min-width: 0;
}
/* /Components/Pages/Guilds/GuildInviteFriends.razor.rz.scp.css */
/* The friends the Invite dialog offers: a name on the left, the Invite button on the right. */
.gif-row[b-usx8aj26sg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-xs) 0;
}

.gif-row + .gif-row[b-usx8aj26sg] {
    border-top: 1px solid var(--color-border-base);
}
/* /Components/Pages/Guilds/GuildInviteInbox.razor.rz.scp.css */
/* The guild invitation inbox: a bordered panel above the tabs, one row per invitation, its buttons to the right. */
.gii[b-9lzca4pjd0] {
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.gii-row[b-9lzca4pjd0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.gii-row + .gii-row[b-9lzca4pjd0] {
    border-top: 1px solid var(--color-border-base);
}

.gii-who[b-9lzca4pjd0] {
    min-width: 0;
}

.gii-actions[b-9lzca4pjd0] {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .gii-row[b-9lzca4pjd0] {
        flex-direction: column;
        align-items: stretch;
    }

    .gii-actions[b-9lzca4pjd0] {
        justify-content: flex-end;
    }
}
/* /Components/Pages/Index.razor.rz.scp.css */
/* ============================================
   HOME: Direction A, "Through the tavern door" (Docs/LRPG_FRONT_DOOR.md, section 10.2)

   The street (the scene, the lit door, the threshold's numbers), the walk inside (rooms that warm as you go in) and
   the hearth. Shared pieces come from Components/FrontDoor and css/front-door.css; this sheet only composes them.
   Tokens only (var(--fd-*), var(--color-*), color-mix on a token), canonical breakpoints only (480 / 768 / 960 /
   1024 / 1280), a reduced-motion block at the end. Child components are reached with ::deep from an element of
   this page.

   Tiers: desktop from 1280 (fluid to the 1440 cap); 1024 to 1279; the touch 1024 tier; below 960 the threshold is a
   row (the numbers beside the door) and the grids fall to two columns; 480 and down one column.
   ============================================ */

.home[b-1rpnkthxdm] {
    position: relative;
}

/* ---------- The street: the scene hero ---------- */

/* Above 960 the street is one screen tall (1080 at most), the copy and the door centered between the bar and the
   threshold. From 960 down it is as tall as its content. */
@media not all and (max-width: 960px) {
    .home[b-1rpnkthxdm]  .home-street {
        min-height: clamp(640px, 100svh, 1080px);
    }

    .home[b-1rpnkthxdm]  .home-street > .fd-scene__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.home-street__in[b-1rpnkthxdm] {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(var(--fd-max) + var(--fd-gutter) * 2);
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 32vw, 620px);
    align-items: center;
    gap: clamp(36px, 3.2vw, 60px);
    padding-top: clamp(20px, 2.6vw, 60px);
    padding-bottom: 28px;
}

.home-street__copy[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(15px, 1.15vw, 22px);
    min-width: 0;
}

/* Two lines, as the door's composition draws it ("Forge Your" / "Legend"); one line above 480 up to 960. */
.home-street__h1[b-1rpnkthxdm] {
    max-width: 7.6em;
    font-size: clamp(56px, 5vw, 88px);
    line-height: 1;
}

.home-street__lead[b-1rpnkthxdm] {
    max-width: 660px;
    font-size: clamp(17px, calc(1.05vw + 4px), 20px);
    line-height: 1.6;
}

.home-street__acts[b-1rpnkthxdm] {
    gap: 12px;
}

.home-street__chips[b-1rpnkthxdm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.home-street__chips > .fd-chip[b-1rpnkthxdm] {
    min-height: 30px;
    padding: 0 12px;
    background: color-mix(in srgb, var(--fd-bg) 60%, transparent);
}

/* The signed-in door knows you: the hero the hall would put forward, ringed in its class color. */
.home-chip[b-1rpnkthxdm] {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
}

.home-chip__ava[b-1rpnkthxdm] {
    display: block;
    width: 46px;
    height: 46px;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid var(--fd-cc);
    background: var(--fd-art-well);
    box-shadow: 0 0 18px color-mix(in srgb, var(--fd-cc) 35%, transparent);
}

.home-chip__img[b-1rpnkthxdm] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-chip__tx[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.home-chip__name[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
    color: var(--fd-cream);
}

.home-chip__line[b-1rpnkthxdm] {
    font-size: 12.5px;
    color: var(--fd-text-4);
}

/* The door: an arched, gold-rimmed doorway, the Tavern seen through it, candlelight spilling out. Its width follows
   the screen's height (so 1280 x 720 keeps the six numbers above the fold) and never passes its column. */
.home-door[b-1rpnkthxdm] {
    position: relative;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: clamp(260px, calc((100svh - 280px) * 0.887), 100%);
    padding-top: 34px;
}

.home-door__mark[b-1rpnkthxdm] {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 3;
    width: 64px;
    height: 64px;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 18px color-mix(in srgb, var(--fd-ember) 60%, transparent)) drop-shadow(0 6px 12px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent));
}

.home-door__arch[b-1rpnkthxdm] {
    position: relative;
    width: 100%;
    aspect-ratio: 440 / 496;
    overflow: hidden;
    border: 3px solid var(--fd-gold-dark);
    border-radius: 50% 50% 16px 16px / 25% 25% 16px 16px;
    background: var(--fd-art-well);
    box-shadow:
        0 0 0 8px color-mix(in srgb, var(--fd-gold-dark) 12%, transparent),
        0 0 90px color-mix(in srgb, var(--fd-ember) 38%, transparent),
        0 34px 70px color-mix(in srgb, var(--fd-shadow-ink) 65%, transparent);
}

.home-door__arch[b-1rpnkthxdm]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        inset 0 0 70px color-mix(in srgb, var(--fd-ember) 32%, transparent),
        inset 0 -90px 70px -20px color-mix(in srgb, var(--fd-bg) 70%, transparent);
    pointer-events: none;
}

.home-door__arch[b-1rpnkthxdm]  .home-door__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-door__sill[b-1rpnkthxdm] {
    position: relative;
    z-index: 2;
    width: calc(100% + 30px);
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--fd-gold-text), var(--fd-gold-darker));
    box-shadow: 0 0 30px color-mix(in srgb, var(--fd-ember) 55%, transparent);
}

.home-door__spill[b-1rpnkthxdm] {
    position: absolute;
    left: -40px;
    right: -40px;
    bottom: -60px;
    z-index: -1;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--fd-ember) 45%, transparent), transparent);
    pointer-events: none;
}

/* The threshold: the game's numbers in glass, on the street's bottom edge. */
.home-threshold[b-1rpnkthxdm] {
    padding-bottom: clamp(22px, 2.1vw, 40px);
}

.home-plate[b-1rpnkthxdm] {
    border-radius: var(--fd-r-glass);
}

.home-plate > .fd-stat[b-1rpnkthxdm] {
    padding: clamp(9px, 0.75vw, 14px) clamp(10px, 1.15vw, 22px);
}

.home-plate > .fd-stat > b[b-1rpnkthxdm] {
    font-size: clamp(24px, 2.2vw, 38px);
}

.home-stat__label[b-1rpnkthxdm] {
    font-size: clamp(10px, 0.6vw, 11.5px);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

/* ---------- The walk: rooms that warm toward the hearth ---------- */

.home-walk[b-1rpnkthxdm] {
    background: linear-gradient(180deg,
        var(--fd-bg) 0%,
        var(--fd-bg) 32%,
        color-mix(in srgb, var(--fd-hearth-top) 25%, var(--fd-bg)) 62%,
        color-mix(in srgb, var(--fd-hearth-top) 55%, var(--fd-bg)) 86%,
        color-mix(in srgb, var(--fd-hearth-top) 80%, var(--fd-bg)) 100%);
}

.home-room[b-1rpnkthxdm] {
    position: relative;
    isolation: isolate;
    padding: calc(var(--fd-sec) * 0.58) 0 calc(var(--fd-sec) * 0.42);
}

.home-room--first[b-1rpnkthxdm] {
    padding-top: calc(var(--fd-sec) * 0.75);
}

/* Candlelight in the hall of standees and at the bar. */
.home-room--hall[b-1rpnkthxdm]::before,
.home-room--bar[b-1rpnkthxdm]::before {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.home-room--hall[b-1rpnkthxdm]::before {
    left: 15%;
    top: 40px;
    width: 70%;
    height: 80%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--fd-ember) 10%, transparent), transparent);
}

.home-room--bar[b-1rpnkthxdm]::before {
    left: -6%;
    top: 0;
    width: 64%;
    height: 100%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--fd-ember) 8%, transparent), transparent);
}

/* The section headers widen with a wide screen (the A-Home-1920 board): the heading may run to 1000px there, so "Built
   for Strategy. Played in Your Browser." holds one line, while its sub line keeps a reading measure. 780px (the kit's
   width) up to 1366. */
.home[b-1rpnkthxdm]  .home-sh > .fd-sh__tx {
    max-width: clamp(780px, 52vw, 1000px);
}

.home[b-1rpnkthxdm]  .home-sh .fd-sh__sub {
    max-width: 800px;
}

/* A section whose actions sit beside its header on desktop and under its body from 960 down (the comps): one DOM
   order (header, body, actions), placed by the grid. */
.home-sec[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "head acts"
        "body body";
    column-gap: 24px;
}

.home-sec__head[b-1rpnkthxdm] {
    grid-area: head;
    min-width: 0;
}

.home-sec__body[b-1rpnkthxdm] {
    grid-area: body;
    min-width: 0;
}

.home-sec__acts[b-1rpnkthxdm] {
    grid-area: acts;
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: calc(var(--fd-gap) + 8px);
}

.home-sec__acts[b-1rpnkthxdm]  .material-icons {
    font-size: 19px;
}

/* ---------- Why Lourdin: the pillars and the stations ---------- */

.home-pillars[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 1.25vw, 24px);
}

.home-pillar[b-1rpnkthxdm] {
    gap: 14px;
    padding: clamp(20px, 1.6vw, 26px) clamp(20px, 1.4vw, 24px) clamp(18px, 1.3vw, 22px);
    transition: border-color 0.15s ease-out;
}

.home-pillar__tx[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    min-width: 0;
}

.home-pillar__title[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: clamp(17px, 1.05vw, 20px);
    line-height: 1.2;
    color: var(--fd-text);
}

.home-pillar__body[b-1rpnkthxdm] {
    font-size: clamp(14px, 0.8vw, 15px);
    line-height: 1.6;
    color: var(--fd-text-3);
}

.home-pillar__link[b-1rpnkthxdm] {
    margin-top: auto;
    padding-top: 4px;
}

.home-stations[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(12px, 0.85vw, 16px);
    margin-top: clamp(14px, 1.1vw, 20px);
}

.home-station[b-1rpnkthxdm] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: clamp(14px, 0.95vw, 18px);
    border-radius: var(--fd-r-card);
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.home-station__ic[b-1rpnkthxdm] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 11px;
    background: color-mix(in srgb, var(--fd-gold) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 28%, transparent);
    color: var(--fd-gold-text);
}

.home-station__ic[b-1rpnkthxdm]  .material-icons {
    font-size: 22px;
}

.home-station__tx[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-station__title[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: clamp(15px, 0.85vw, 16px);
    color: var(--fd-text);
}

.home-station__body[b-1rpnkthxdm] {
    font-size: clamp(13px, 0.75vw, 14px);
    line-height: 1.55;
    color: var(--fd-text-3);
}

/* ---------- The road: three waypoints on a gold trail ---------- */

.home-road[b-1rpnkthxdm] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    column-gap: clamp(24px, 2.2vw, 32px);
    row-gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-road[b-1rpnkthxdm]::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 35%, transparent));
}

.home-wp[b-1rpnkthxdm] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    min-width: 0;
}

.home-wp__title[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: clamp(19px, 1.15vw, 22px);
    line-height: 1.2;
    color: var(--fd-cream);
}

.home-wp__body[b-1rpnkthxdm] {
    font-size: clamp(14.5px, 0.8vw, 15.5px);
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* ---------- The board: combat, the zones and the mechanics ---------- */

/* Three pieces that wrap by their own widths, no breakpoint: on a wide desktop the board and the zones share a row
   and the six mechanics run below in one; at 1366 the board takes the row and the zones sit beside three by two. */
.home-board[b-1rpnkthxdm] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px clamp(24px, 2.5vw, 36px);
}

.home-board[b-1rpnkthxdm]  .home-board__fig {
    flex: 1 1 900px;
    min-width: 0;
}

.home-zones[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    flex: 1 1 400px;
    gap: 10px;
    min-width: 0;
    max-width: 440px;
}

.home-zones__title[b-1rpnkthxdm] {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.home-zones__title[b-1rpnkthxdm]::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--fd-gold) 40%, transparent), transparent);
}

.home-zones__list[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-zone[b-1rpnkthxdm] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--fd-surface);
    border: 1px solid var(--fd-line);
}

.home-zone__hex[b-1rpnkthxdm] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 38px;
    flex: none;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-slate);
    color: var(--fd-gold-text);
}

.home-zone__hex[b-1rpnkthxdm]  .material-icons {
    font-size: 18px;
}

.home-zone__tx[b-1rpnkthxdm] {
    flex: 1;
    min-width: 0;
}

.home-zone__name[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--fd-gold-soft);
}

.home-zone__desc[b-1rpnkthxdm] {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fd-text-3);
}

.home-zone__chips[b-1rpnkthxdm] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    flex: none;
    max-width: 140px;
}

.home-zone__chip[b-1rpnkthxdm] {
    justify-content: center;
    min-width: 30px;
    min-height: 26px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0;
}

.home-zones__note[b-1rpnkthxdm] {
    font-size: 13px;
    line-height: 1.55;
    color: var(--fd-text-3);
}

.home-archetypes[b-1rpnkthxdm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.home-archetypes__label[b-1rpnkthxdm] {
    margin-right: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--fd-text-4);
}

.home-archetypes__pill[b-1rpnkthxdm] {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-text-2);
    background: var(--fd-surface-strong);
    border: 1px solid var(--fd-line-strong);
}

/* The mechanics: as many columns as fit (six on a wide desktop, three beside the zones at 1366, two below). */
.home-board[b-1rpnkthxdm]  .home-mech {
    flex: 1 1 480px;
    min-width: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 226px), 1fr));
    gap: clamp(12px, 0.85vw, 16px);
}

.home-mech__card[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: clamp(16px, 0.95vw, 18px);
    border-radius: var(--fd-r-card);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
}

.home-mech__tag[b-1rpnkthxdm] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 6px;
    font-family: var(--fd-font-display);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--fd-on-gold);
    background: linear-gradient(180deg, var(--fd-gold-pale), var(--fd-gold-dark));
}

.home-mech__title[b-1rpnkthxdm] {
    font-size: clamp(15px, 0.8vw, 15.5px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--fd-text);
}

.home-mech__body[b-1rpnkthxdm] {
    font-size: clamp(13.5px, 0.73vw, 14px);
    line-height: 1.55;
    color: var(--fd-text-3);
}

/* ---------- The hall: ten standees, five and five ---------- */

.home-hall[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.25vw, 24px);
}

.home-hall[b-1rpnkthxdm]  .fd-std__nm {
    font-size: clamp(17px, 1.15vw, 22px);
}

.home-hall[b-1rpnkthxdm]  .fd-std__tg {
    min-height: 36px;
    font-size: clamp(12px, 0.7vw, 13.5px);
}

.home-hall[b-1rpnkthxdm]  .fd-std__bd {
    padding: clamp(10px, 0.75vw, 14px) clamp(6px, 0.65vw, 12px) 0;
}

/* The page's facts (Primary / Role / Armor) as a label and value column. */
.home-facts[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 10px;
    margin-top: 4px;
    font-size: clamp(11.5px, 0.65vw, 12.5px);
}

.home-facts__row[b-1rpnkthxdm] {
    display: contents;
}

.home-facts__k[b-1rpnkthxdm] {
    font-weight: 600;
    color: var(--fd-text-4);
}

.home-facts__v[b-1rpnkthxdm] {
    font-weight: 600;
    color: var(--fd-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- The common room: guilds over the war host ---------- */

.home-common[b-1rpnkthxdm] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, clamp(292px, 28vw, 440px)) minmax(0, 1fr);
    grid-template-areas:
        "copy cards"
        "acts cards";
    grid-template-rows: auto 1fr;
    gap: 18px clamp(28px, 3vw, 56px);
    padding: clamp(30px, 3.1vw, 52px) clamp(30px, 3.2vw, 56px);
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--fd-gold) 22%, transparent);
}

.home-common[b-1rpnkthxdm]  .home-common__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-common__scrim[b-1rpnkthxdm] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--fd-bg) 95%, transparent) 0%,
        color-mix(in srgb, var(--fd-bg) 80%, transparent) 34%,
        color-mix(in srgb, var(--fd-bg) 35%, transparent) 70%,
        color-mix(in srgb, var(--fd-bg) 50%, transparent) 100%);
}

.home-common__copy[b-1rpnkthxdm] {
    grid-area: copy;
    align-self: end;
    min-width: 0;
}

.home-common__copy[b-1rpnkthxdm]  .fd-sh {
    margin-bottom: 0;
}

.home-common__acts[b-1rpnkthxdm] {
    grid-area: acts;
    align-self: start;
}

.home-common__cards[b-1rpnkthxdm] {
    grid-area: cards;
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.home-gcard[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: clamp(16px, 1.15vw, 22px);
}

.home-gcard__hd[b-1rpnkthxdm] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--fd-gold-text);
}

.home-gcard__hd[b-1rpnkthxdm]  .material-icons {
    font-size: 20px;
}

.home-gcard__title[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--fd-text);
}

.home-gcard__body[b-1rpnkthxdm] {
    font-size: clamp(13px, 0.75vw, 14.5px);
    line-height: 1.55;
    color: var(--fd-text-3);
}

/* ---------- Roads out: the guides, each over its scene ---------- */

.home-outs[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: repeat(2, clamp(236px, 18.7vw, 290px));
    gap: clamp(12px, 1.2vw, 20px);
}

.home-out[b-1rpnkthxdm] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    padding: clamp(16px, 1.4vw, 24px);
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.home-out:hover[b-1rpnkthxdm],
.home-pillar:hover[b-1rpnkthxdm] {
    border-color: var(--fd-line-gold-strong);
}

.home-out[b-1rpnkthxdm]  .home-out__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-out[b-1rpnkthxdm]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--fd-bg) 5%, transparent) 20%,
        color-mix(in srgb, var(--fd-bg) 70%, transparent) 60%,
        color-mix(in srgb, var(--fd-bg) 96%, transparent));
}

.home-out__title[b-1rpnkthxdm] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: clamp(19px, 1.6vw, 22px);
    line-height: 1.15;
    color: var(--fd-cream);
}

.home-out__title[b-1rpnkthxdm]  .material-icons {
    font-size: 22px;
    color: var(--fd-gold);
}

.home-out__body[b-1rpnkthxdm] {
    font-size: clamp(13px, 0.75vw, 14.5px);
    line-height: 1.5;
    color: var(--fd-text-3);
}

.home-out__link[b-1rpnkthxdm] {
    margin-top: 4px;
}

.home-out--big[b-1rpnkthxdm] {
    grid-row: span 2;
    padding: clamp(22px, 1.9vw, 32px);
}

.home-out--big .home-out__title[b-1rpnkthxdm] {
    font-size: clamp(25px, 2.05vw, 32px);
}

.home-out--big .home-out__body[b-1rpnkthxdm] {
    font-size: 15px;
}

/* ---------- The notice board: the latest post ---------- */

.home-notice[b-1rpnkthxdm] {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--fd-r-glass);
    background: var(--fd-card);
    border: 1px solid var(--fd-line);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease-out;
}

.home-notice:hover[b-1rpnkthxdm] {
    border-color: var(--fd-line-gold-strong);
}

.home-notice--text[b-1rpnkthxdm] {
    grid-template-columns: minmax(0, 1fr);
}

.home-notice__th[b-1rpnkthxdm] {
    position: relative;
    min-height: clamp(260px, 22vw, 360px);
    background: var(--fd-art-well);
}

.home-notice__th > img[b-1rpnkthxdm] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-notice__bd[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    padding: clamp(22px, 2.5vw, 48px);
}

.home-notice__meta[b-1rpnkthxdm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--fd-text-4);
}

.home-notice__headline[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: clamp(20px, 1.85vw, 30px);
    line-height: 1.22;
    color: var(--fd-cream);
}

.home-notice__excerpt[b-1rpnkthxdm] {
    font-size: clamp(14px, 1.1vw, 16.5px);
    line-height: 1.6;
    color: var(--fd-text-3);
}

.home-notice__link[b-1rpnkthxdm] {
    margin-top: 2px;
}

.home-notice__community[b-1rpnkthxdm] {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--fd-text-3);
}

/* ---------- The hearth: the last ask and the testers note ---------- */

.home-hearth-sec[b-1rpnkthxdm] {
    padding: calc(var(--fd-sec) * 0.2) 0 calc(var(--fd-sec) * 0.75);
}

.home-hearth__title[b-1rpnkthxdm] {
    font-size: clamp(28px, 2.9vw, 44px);
}

.home-hearth__body[b-1rpnkthxdm] {
    color: var(--fd-text-2);
}

.home-testers[b-1rpnkthxdm] {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: clamp(16px, 1.3vw, 22px) clamp(18px, 1.5vw, 26px);
    border-radius: var(--fd-r-glass);
    background: color-mix(in srgb, var(--fd-warn-deep) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 34%, transparent);
}

.home-testers__tx[b-1rpnkthxdm] {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    min-width: 0;
}

.home-testers__title[b-1rpnkthxdm] {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: clamp(19px, 1.6vw, 25px);
    line-height: 1.2;
    color: var(--fd-cream);
}

.home-testers__body[b-1rpnkthxdm] {
    max-width: 820px;
    font-size: clamp(14px, 0.8vw, 15px);
    line-height: 1.6;
    color: var(--fd-text-2);
}

.home-testers__trust[b-1rpnkthxdm] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.home-testers__trust > span[b-1rpnkthxdm] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-gold-soft);
}

.home-testers__trust[b-1rpnkthxdm]  .material-icons {
    font-size: 16px;
    color: var(--fd-gold);
}

/* ============================================ Tiers ============================================ */

/* Below the desktop floor: the door's column narrows first, the numbers' labels tighten. */
@media not all and (min-width: 1280px) {
    .home-street__in[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr) clamp(300px, 34vw, 410px);
    }

    .home-stat__label[b-1rpnkthxdm] {
        letter-spacing: 0.06em;
    }
}

/* The touch 1024 tier: the desktop composition on a 960 column; grids fall to two columns, the road turns into a
   vertical trail (the step beside its screen). */
@media (max-width: 1024px) {
    .home-pillars[b-1rpnkthxdm],
    .home-stations[b-1rpnkthxdm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-road[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        row-gap: 30px;
    }

    .home-road[b-1rpnkthxdm]::before {
        left: 21px;
        right: auto;
        top: 30px;
        bottom: 40px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--fd-gold-dark), color-mix(in srgb, var(--fd-gold-dark) 20%, transparent));
    }

    .home-wp[b-1rpnkthxdm] {
        grid-row: auto;
        grid-template-columns: 44px minmax(0, 1fr) minmax(0, 452px);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "hex title fig"
            "hex body fig";
        column-gap: 20px;
        row-gap: 10px;
        align-items: start;
    }

    .home-wp__hex[b-1rpnkthxdm] {
        grid-area: hex;
    }

    .home-wp__title[b-1rpnkthxdm] {
        grid-area: title;
        padding-top: 8px;
    }

    .home-wp__body[b-1rpnkthxdm] {
        grid-area: body;
    }

    .home-wp[b-1rpnkthxdm]  .home-wp__fig {
        grid-area: fig;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__tg {
        min-height: 52px;
    }

    .home-facts[b-1rpnkthxdm] {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .home-facts__row[b-1rpnkthxdm] {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .home-facts__v[b-1rpnkthxdm] {
        color: var(--fd-text-2);
    }
}

/* Below 960: the threshold is a row (the numbers beside the door); actions move under their section; the standees
   become rows two by two; the zones stand three across. */
@media (max-width: 960px) {
    .home-street__in[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding-top: 26px;
    }

    .home-sec[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "head"
            "body"
            "acts";
    }

    .home-sec__acts[b-1rpnkthxdm] {
        justify-content: flex-start;
        margin: 22px 0 0;
    }

    .home-board[b-1rpnkthxdm]  .home-board__fig,
    .home-zones[b-1rpnkthxdm],
    .home-board[b-1rpnkthxdm]  .home-mech {
        flex-basis: 100%;
        max-width: none;
    }

    .home-zones__list[b-1rpnkthxdm] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-zone[b-1rpnkthxdm] {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .home-zone__chips[b-1rpnkthxdm] {
        justify-content: flex-start;
        max-width: none;
    }

    .home-board[b-1rpnkthxdm]  .home-mech {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-hall[b-1rpnkthxdm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        min-height: 96px;
        padding: 10px 12px 10px 10px;
        border-radius: 12px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std:hover {
        transform: none;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__art {
        position: static;
        width: 62px;
        height: 74px;
        flex: none;
        aspect-ratio: auto;
        border-radius: 999px 999px 7px 7px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__art::after {
        display: none;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__lock {
        top: 10px;
        right: 12px;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__bd {
        flex: 1;
        gap: 3px;
        padding: 0;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std:has(.fd-std__lock) .fd-std__bd {
        padding-right: 92px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__nm {
        font-size: 17px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__tg {
        min-height: 0;
        font-size: 12.5px;
    }

    .home-facts[b-1rpnkthxdm] {
        display: block;
        margin-top: 3px;
        font-size: 11.5px;
        line-height: 1.45;
    }

    .home-facts__row[b-1rpnkthxdm] {
        display: inline-block;
        margin-right: 10px;
        overflow: visible;
    }

    .home-common[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "copy"
            "cards"
            "acts";
        grid-template-rows: none;
        gap: 16px;
        padding: 28px 26px;
    }

    .home-common__scrim[b-1rpnkthxdm] {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--fd-bg) 70%, transparent) 0%,
            color-mix(in srgb, var(--fd-bg) 88%, transparent) 45%,
            color-mix(in srgb, var(--fd-bg) 94%, transparent) 100%);
    }

    .home-outs[b-1rpnkthxdm] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .home-out[b-1rpnkthxdm] {
        min-height: 216px;
    }

    .home-out--big[b-1rpnkthxdm] {
        grid-row: auto;
        grid-column: 1 / -1;
        min-height: 250px;
    }

    .home-out--big .home-out__body[b-1rpnkthxdm] {
        max-width: 520px;
    }

    .home-notice[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }
}

/* Above 480 up to 960: the street is one grid, so the threshold's numbers stand beside the door under the copy. A
   range query keeps both edges on the canonical breakpoints. */
@media (480px < width <= 960px) {
    .home[b-1rpnkthxdm]  .home-street {
        display: grid;
        grid-template-columns: minmax(0, 1fr) min(332px, 44%);
        grid-template-areas:
            "copy copy"
            "plate door";
        align-items: end;
        column-gap: 28px;
        row-gap: 56px;
        padding: calc(var(--fd-bar-h) + 34px) var(--fd-gutter) 30px;
    }

    .home[b-1rpnkthxdm]  .home-street > .fd-scene__content,
    .home[b-1rpnkthxdm]  .home-street > .fd-scene__foot,
    .home-street__in[b-1rpnkthxdm],
    .home-threshold[b-1rpnkthxdm] {
        display: contents;
    }

    .home-street__copy[b-1rpnkthxdm] {
        grid-area: copy;
    }

    .home-street__h1[b-1rpnkthxdm] {
        max-width: none;
        font-size: clamp(42px, 7.5vw, 58px);
    }

    .home-door[b-1rpnkthxdm] {
        grid-area: door;
        width: 100%;
    }

    .home-door__arch[b-1rpnkthxdm] {
        aspect-ratio: 312 / 350;
    }

    .home-plate[b-1rpnkthxdm] {
        grid-area: plate;
        --fd-cols: 2;
    }

    .home-plate > .fd-stat[b-1rpnkthxdm] {
        padding: 14px 16px;
    }

    .home-plate > .fd-stat > b[b-1rpnkthxdm] {
        font-size: 30px;
    }

    .home-plate > .fd-stat + .fd-stat[b-1rpnkthxdm] {
        box-shadow: none;
    }

    .home-plate > .fd-stat:nth-child(even)[b-1rpnkthxdm] {
        box-shadow: inset 1px 0 0 var(--fd-line);
    }

    .home-plate > .fd-stat:nth-child(n + 3)[b-1rpnkthxdm] {
        border-top: 1px solid var(--fd-line);
    }
}

/* Phones (768 and below): smaller rooms; the pillars and stations stand as rows of one. */
@media (max-width: 768px) {
    .home-room[b-1rpnkthxdm] {
        padding: 34px 0 6px;
    }

    .home-wp[b-1rpnkthxdm] {
        grid-template-columns: 44px minmax(0, 1fr) minmax(0, 340px);
        column-gap: 18px;
    }

    .home-wp__title[b-1rpnkthxdm] {
        font-size: 18px;
    }

    .home-street__chips > .fd-chip[b-1rpnkthxdm] {
        min-height: 32px;
    }

    .home-testers__title[b-1rpnkthxdm] {
        font-size: 19px;
    }
}

/* Above 480 up to 768: the mechanics stay a two-column grid (the phone row starts at 480), and a pair of section
   actions shares the row (A-Home-768: VIEW ALL CLASSES beside WHAT PREMIUM ADDS); at 480 they stack. */
/* Phones: the roads-out card's copy fills the card from the top, so the scrim starts dark at the top too (titles
   over the bright sky and the green moon measured about 1.5:1). */
@media (max-width: 768px) {
    .home-out[b-1rpnkthxdm]::before {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--fd-bg) 72%, transparent) 0%,
            color-mix(in srgb, var(--fd-bg) 80%, transparent) 45%,
            color-mix(in srgb, var(--fd-bg) 94%, transparent) 100%);
    }
}

@media (480px < width <= 768px) {
    .home-board[b-1rpnkthxdm]  .home-mech {
        display: grid;
        margin-right: 0;
        padding-right: 0;
        overflow: visible;
    }

    .home-sec__acts:has(> a + a) > a[b-1rpnkthxdm] {
        flex: 1 1 0;
        justify-content: center;
    }
}

/* Small phones: one column everywhere, the door under the copy, the mechanics a swipe row. */
@media (max-width: 480px) {
    .home-street__in[b-1rpnkthxdm] {
        padding-top: 22px;
    }

    .home-street__h1[b-1rpnkthxdm] {
        font-size: 40px;
    }

    .home-street__acts[b-1rpnkthxdm] {
        align-self: stretch;
    }

    .home-street__acts[b-1rpnkthxdm]  .home-street__cta {
        width: 100%;
    }

    .home-sec__acts > a[b-1rpnkthxdm] {
        flex: 1 1 auto;
    }

    .home-door[b-1rpnkthxdm] {
        width: min(300px, 100%);
    }

    .home-door__arch[b-1rpnkthxdm] {
        aspect-ratio: 300 / 318;
    }

    .home-threshold[b-1rpnkthxdm] {
        padding-top: 22px;
        padding-bottom: 20px;
    }

    .home-plate > .fd-stat > b[b-1rpnkthxdm] {
        font-size: 24px;
    }

    .home-pillars[b-1rpnkthxdm],
    .home-stations[b-1rpnkthxdm],
    .home-common__cards[b-1rpnkthxdm],
    .home-outs[b-1rpnkthxdm],
    .home-hall[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-pillar[b-1rpnkthxdm] {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .home-pillar__hex[b-1rpnkthxdm] {
        width: 40px;
        height: 46px;
    }

    .home-pillar__title[b-1rpnkthxdm] {
        font-size: 16px;
    }

    .home-wp[b-1rpnkthxdm] {
        grid-template-columns: 44px minmax(0, 1fr);
        grid-template-areas:
            "hex title"
            "hex body"
            ". fig";
        grid-template-rows: auto auto auto;
        column-gap: 12px;
    }

    .home-road[b-1rpnkthxdm]::before {
        bottom: 30px;
    }

    .home-zones__list[b-1rpnkthxdm] {
        display: flex;
    }

    .home-zone[b-1rpnkthxdm] {
        flex-direction: row;
        align-items: center;
    }

    .home-zone__hex[b-1rpnkthxdm] {
        display: none;
    }

    .home-zone__chips[b-1rpnkthxdm] {
        flex-direction: column;
        align-items: flex-end;
        max-width: 72px;
    }

    /* Four starters (the flanks) stand two by two, so that row is no taller than the others (A-Home-390). */
    .home-zone__chips:has(> :nth-child(4))[b-1rpnkthxdm] {
        display: grid;
        grid-template-columns: repeat(2, auto);
    }

    .home-hall[b-1rpnkthxdm]  .fd-std {
        min-height: 78px;
        padding: 8px 12px 8px 8px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__art {
        width: 52px;
        height: 60px;
    }

    .home-hall[b-1rpnkthxdm]  .fd-std__nm {
        font-size: 16px;
    }

    .home-common[b-1rpnkthxdm] {
        padding: 18px 16px;
    }

    .home-out[b-1rpnkthxdm],
    .home-out--big[b-1rpnkthxdm] {
        grid-column: auto;
    }

    .home-out[b-1rpnkthxdm] {
        min-height: 148px;
        padding: 16px;
    }

    .home-out--big[b-1rpnkthxdm] {
        min-height: 230px;
    }

    .home-out__title[b-1rpnkthxdm] {
        font-size: 18px;
    }

    .home-out--big .home-out__title[b-1rpnkthxdm] {
        font-size: 22px;
    }

    .home-out--big .home-out__body[b-1rpnkthxdm] {
        font-size: 14px;
    }

    .home-notice[b-1rpnkthxdm] {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-notice__th[b-1rpnkthxdm] {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .home-notice__bd[b-1rpnkthxdm] {
        padding: 18px;
        gap: 10px;
    }

    .home-testers[b-1rpnkthxdm] {
        padding: 16px 18px;
    }

    .home-testers__hex[b-1rpnkthxdm] {
        display: none;
    }
}

/* Reduced motion: hovers change color only, at once. */
@media (prefers-reduced-motion: reduce) {
    .home-pillar[b-1rpnkthxdm],
    .home-out[b-1rpnkthxdm],
    .home-notice[b-1rpnkthxdm] {
        transition: none;
    }
}
/* /Components/Pages/Legal/LegalDocument.razor.rz.scp.css */
/* The legal template (A-Legal-1366 / -390). Tokens only; canonical breakpoints only. The band is a grid: on desktop the
   art and its frame cover the whole band (an absolutely placed child with no grid placement takes the padding box);
   on phones they take the copy's grid area as their containing block, so they sit behind the copy alone and the
   "In short" panel becomes its own card under it. */

.lg-top[b-yf7eoebl3i] {
    padding-top: 28px;
}

.lg-band[b-yf7eoebl3i] {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    grid-template-areas: "copy short";
    gap: 32px;
    align-items: center;
    padding: 44px;
}

.lg-band[b-yf7eoebl3i]  .lg-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--fd-r-band);
}

.lg-band__scrim[b-yf7eoebl3i] {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: var(--fd-r-band);
    border: 1px solid var(--fd-line-gold);
    background:
        linear-gradient(90deg,
            color-mix(in srgb, var(--fd-night) 90%, transparent) 0%,
            color-mix(in srgb, var(--fd-night) 68%, transparent) 50%,
            color-mix(in srgb, var(--fd-night) 40%, transparent) 100%);
    box-shadow: var(--fd-shadow);
}

.lg-band__copy[b-yf7eoebl3i] {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.lg-kicker[b-yf7eoebl3i] {
    margin-top: 6px;
}

.lg-lead[b-yf7eoebl3i] {
    max-width: 58ch;
    color: var(--fd-text-2);
}

.lg-meta[b-yf7eoebl3i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 13.5px;
    color: var(--fd-text-4);
}

.lg-meta__item[b-yf7eoebl3i] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lg-meta__item[b-yf7eoebl3i]  .material-icons {
    font-size: 17px;
    color: var(--fd-gold-text);
}

.lg-meta time[b-yf7eoebl3i] {
    font-weight: 700;
    color: var(--fd-cream-2);
}

.lg-short[b-yf7eoebl3i] {
    grid-area: short;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 24px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--fd-gold) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bg) 82%, transparent);
    box-shadow: inset 3px 0 0 var(--fd-gold-dark);
    font-size: 15px;
    line-height: 1.65;
    color: var(--fd-text-2);
}

.lg-short strong[b-yf7eoebl3i] {
    color: var(--fd-gold-soft);
}

.lg-sec[b-yf7eoebl3i] {
    padding-top: 40px;
}

/* ---- Sections (LegalSection renders inside .lg-body) ---- */

.lg-body[b-yf7eoebl3i] {
    min-width: 0;
}

.lg-body[b-yf7eoebl3i]  .lg-section {
    padding: 4px 0 36px;
    border-bottom: 1px solid var(--fd-line);
}

.lg-body[b-yf7eoebl3i]  .lg-section + .lg-section {
    padding-top: 36px;
}

.lg-body[b-yf7eoebl3i]  .lg-h2 {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    align-items: baseline;
    margin: 0 0 16px;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(var(--fd-h2) * 0.72);
    line-height: 1.2;
    color: var(--fd-cream-2);
}

.lg-body[b-yf7eoebl3i]  .lg-num {
    font-size: 0.8em;
    color: var(--fd-gold-text);
}

.lg-body[b-yf7eoebl3i]  .lg-prose {
    padding-left: 56px;
    max-width: calc(var(--fd-prose-max) + 56px);
}

.lg-body[b-yf7eoebl3i]  .lg-prose h3 {
    margin-top: 1.4em;
    font-size: 17px;
}

.lg-body[b-yf7eoebl3i]  .lg-prose ul {
    list-style: none;
    padding-left: 0;
}

.lg-body[b-yf7eoebl3i]  .lg-prose ul > li {
    position: relative;
    padding-left: 22px;
}

/* A small gold dot for each item (drawn, never a glyph). */
.lg-body[b-yf7eoebl3i]  .lg-prose ul > li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fd-gold-text);
}

/* The privacy policy's cookie table: still a real table with column headers. */
.lg-body[b-yf7eoebl3i]  .lg-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid var(--fd-line);
    border-radius: var(--fd-r-card);
    overflow: hidden;
    background: color-mix(in srgb, var(--fd-panel) 70%, transparent);
}

.lg-body[b-yf7eoebl3i]  .lg-table th {
    padding: 12px 14px;
    text-align: left;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
    background: var(--fd-surface-strong);
    border-bottom: 1px solid var(--fd-line);
}

.lg-body[b-yf7eoebl3i]  .lg-table td {
    padding: 12px 14px;
    vertical-align: top;
    color: var(--fd-text-3);
    border-top: 1px solid color-mix(in srgb, var(--fd-text-4) 10%, transparent);
}

.lg-body[b-yf7eoebl3i]  .lg-table tbody tr:first-child td {
    border-top: none;
}

.lg-body[b-yf7eoebl3i]  .lg-table td:first-child {
    font-weight: 600;
    color: var(--fd-text);
}

.lg-body[b-yf7eoebl3i]  .lg-table code {
    display: inline-block;
    margin: 0 4px 4px 0;
    font-weight: 700;
}

.lg-body[b-yf7eoebl3i]  .lg-kind {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--fd-text-4);
}

.lg-next[b-yf7eoebl3i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-top: 36px;
}

@media not all and (min-width: 1280px) {
    .lg-band[b-yf7eoebl3i] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
        padding: 36px;
    }
}

@media (max-width: 1024px) {
    .lg-band[b-yf7eoebl3i] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "copy" "short";
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .lg-top[b-yf7eoebl3i] {
        padding-top: 14px;
    }

    .lg-band[b-yf7eoebl3i] {
        gap: 14px;
        padding: 0;
    }

    .lg-band[b-yf7eoebl3i]  .lg-band__bg,
    .lg-band__scrim[b-yf7eoebl3i] {
        grid-area: copy;
    }

    .lg-band__scrim[b-yf7eoebl3i] {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--fd-night) 82%, transparent),
            color-mix(in srgb, var(--fd-night) 92%, transparent));
    }

    .lg-band__copy[b-yf7eoebl3i] {
        padding: 18px 16px 20px;
        gap: 12px;
    }

    /* The date and the owner stack (A-Legal-390); the dot between them would end the first line. */
    .lg-meta[b-yf7eoebl3i] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .lg-meta > .fd-sep[b-yf7eoebl3i] {
        display: none;
    }

    .lg-short[b-yf7eoebl3i] {
        padding: 16px;
        gap: 12px;
        font-size: 14.5px;
    }

    .lg-sec[b-yf7eoebl3i] {
        padding-top: 22px;
    }

    .lg-body[b-yf7eoebl3i]  .lg-h2 {
        grid-template-columns: 34px minmax(0, 1fr);
        font-size: 19px;
    }

    .lg-body[b-yf7eoebl3i]  .lg-prose {
        padding-left: 0;
        font-size: 15.5px;
    }

    .lg-body[b-yf7eoebl3i]  .lg-section {
        padding-bottom: 26px;
    }

    .lg-body[b-yf7eoebl3i]  .lg-section + .lg-section {
        padding-top: 26px;
    }

    .lg-next[b-yf7eoebl3i] {
        flex-direction: column;
        align-items: stretch;
    }
}

/* The cookie table's rows stack as cards on a phone: one row per card, the name and kind first. The column headers
   stay in the table for screen readers. */
@media (max-width: 480px) {
    .lg-body[b-yf7eoebl3i]  .lg-table,
    .lg-body[b-yf7eoebl3i]  .lg-table tbody,
    .lg-body[b-yf7eoebl3i]  .lg-table tr,
    .lg-body[b-yf7eoebl3i]  .lg-table td {
        display: block;
    }

    .lg-body[b-yf7eoebl3i]  .lg-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .lg-body[b-yf7eoebl3i]  .lg-table tr + tr {
        border-top: 1px solid var(--fd-line);
    }

    .lg-body[b-yf7eoebl3i]  .lg-table td {
        border-top: none;
        padding: 6px 14px;
    }

    .lg-body[b-yf7eoebl3i]  .lg-table td:first-child {
        padding-top: 14px;
    }

    .lg-body[b-yf7eoebl3i]  .lg-table td:last-child {
        padding-bottom: 14px;
        color: var(--fd-text-4);
    }
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
/* /not-found (A-Errors-1366 / -390): the copy and the six doors. Tokens only; canonical breakpoints only. */

.nf-badge[b-jkob3fg5em] {
    width: 58px;
    height: 66px;
}

.nf-badge[b-jkob3fg5em]  .material-icons {
    font-size: 28px;
}

.nf-h1[b-jkob3fg5em] {
    font-size: calc(var(--fd-h1) * 1.12);
}

.nf-lead[b-jkob3fg5em] {
    color: var(--fd-text-2);
}

.nf-home[b-jkob3fg5em] {
    gap: 10px;
    min-width: 178px;
}

.nf-doors[b-jkob3fg5em] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nf-door[b-jkob3fg5em] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-height: 176px;
    padding: 0 10px 26px;
    border: 2px solid color-mix(in srgb, var(--fd-gold) 72%, transparent);
    border-bottom: none;
    border-radius: var(--fd-r-arch);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 100%, color-mix(in srgb, var(--fd-ember) 46%, transparent), transparent 75%),
        linear-gradient(180deg, color-mix(in srgb, var(--fd-night) 92%, transparent), color-mix(in srgb, var(--fd-hearth-top) 90%, transparent));
    color: var(--fd-cream-2);
    text-decoration: none;
    box-shadow: inset 0 0 26px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent);
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

/* The threshold under each door. */
.nf-door[b-jkob3fg5em]::after {
    content: "";
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: -6px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--fd-gold-dark), var(--fd-gold-darker));
}

.nf-door:hover[b-jkob3fg5em],
.nf-door:focus-visible[b-jkob3fg5em] {
    border-color: var(--fd-gold);
    box-shadow: inset 0 0 26px color-mix(in srgb, var(--fd-shadow-ink) 40%, transparent), 0 0 28px color-mix(in srgb, var(--fd-ember) 30%, transparent);
}

.nf-door[b-jkob3fg5em]  .nf-door__icon {
    font-size: 30px;
    color: var(--fd-gold);
}

.nf-door__name[b-jkob3fg5em] {
    font-family: var(--fd-font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.14em;
    color: var(--fd-cream-2);
}

@media (max-width: 768px) {
    .nf-badge[b-jkob3fg5em] {
        width: 48px;
        height: 54px;
    }

    .nf-doors[b-jkob3fg5em] {
        gap: 18px 10px;
    }

    .nf-door[b-jkob3fg5em] {
        min-height: 132px;
        padding-bottom: 18px;
        gap: 10px;
    }

    .nf-door[b-jkob3fg5em]  .nf-door__icon {
        font-size: 24px;
    }

    .nf-door__name[b-jkob3fg5em] {
        font-size: 11.5px;
        letter-spacing: 0.1em;
    }

    .nf-acts[b-jkob3fg5em],
    .nf-home[b-jkob3fg5em] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nf-door[b-jkob3fg5em] {
        transition: none;
    }
}
/* /Components/Pages/StatusStreet.razor.rz.scp.css */
/* The status pages' street (A-Errors-1366 / -390). Tokens only; canonical breakpoints only. */

.st-street[b-lpgqiq590s]  .st-hero {
    min-height: max(560px, calc(100svh - var(--fd-bar-h)));
    justify-content: center;
}

.st-grid[b-lpgqiq590s] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: calc(var(--fd-gap) * 3);
    align-items: center;
    padding-top: calc(var(--fd-sec) * 0.8);
    padding-bottom: calc(var(--fd-sec) * 0.8);
}

.st-grid--solo[b-lpgqiq590s] {
    grid-template-columns: minmax(0, 1fr);
}

.st-copy[b-lpgqiq590s] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    max-width: 640px;
}

.st-aside[b-lpgqiq590s] {
    min-width: 0;
}

@media (max-width: 1024px) {
    .st-grid[b-lpgqiq590s] {
        grid-template-columns: minmax(0, 1fr);
        gap: calc(var(--fd-gap) * 2);
    }
}

@media (max-width: 768px) {
    .st-street[b-lpgqiq590s]  .st-hero {
        min-height: 0;
    }

    .st-grid[b-lpgqiq590s] {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .st-copy[b-lpgqiq590s] {
        gap: 14px;
    }

    .st-grid--aside-first .st-aside[b-lpgqiq590s] {
        order: -1;
        margin-bottom: -8px;
    }
}
/* /Components/Pages/WarTable/AdventureBriefPage.razor.rz.scp.css */
/* The brief's page (Docs/LRPG_WAR_TABLE.md 4.9; WT-Brief-1920 / 1366 / 1024t / 768t / 390): drawer-free, the page owns
   the width. Mobile first: the chart strip, then the dossier over its foot, the jump bar and the sections; from 768 the
   sections pair up; from 960 the chart sits left of the dossier (which then holds the action; the sticky bar is the
   768-and-down tier's); from 1280 the A-Brief-1366 proportions. Canonical breakpoints only (480 / 768 / 960 / 1024 /
   1280); tokens only. The family components (WtButton, WtSection, WtStickyBar, WtEmpty, WtToast, WtSkeleton) are
   styled here through ::deep, so the shared files stay untouched while W1-W3 build in parallel; the integration may move
   these rules into the family's own sheets. */
.wt-page[b-ofi1plv092] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: var(--page-max-width-xl);
    margin: 0 auto;
    padding: var(--page-padding-y) var(--page-padding-x);
    color: var(--color-text-primary);
    background: var(--wt-vellum-deep);
}

.wt-page--brief[b-ofi1plv092] {
    gap: 22px;
    padding: 8px 0 0;
    background: transparent;
}

.wt-page-skip:focus-visible[b-ofi1plv092] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* "Have a party code?" under the top row (raid join spec W1): where the old Join by code link stood. */
.wt-brief-codein[b-ofi1plv092] {
    display: flex;
    justify-content: flex-end;
    margin-top: -12px;
}

@media (max-width: 960px) {
    .wt-brief-codein[b-ofi1plv092] {
        justify-content: flex-start;
        margin-top: 0;
        padding: 0 var(--page-padding-x);
    }
}

.wt-brief-state-title[b-ofi1plv092] {
    margin: 0;
    font: 800 calc(var(--gt-px) * 26)/1.1 var(--font-display);
    color: color-mix(in srgb, var(--color-primary-light) 30%, var(--color-text-primary));
}

/* ---- The top: dossier first in the DOM (h1 and action), the chart placed above it on phones, left of it from 960 ---- */
.wt-brief-top[b-ofi1plv092] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "chart"
        "dossier";
    gap: 0;
}

.wt-brief-chart[b-ofi1plv092] {
    grid-area: chart;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    margin: 0 -16px;
}

/* A phone's chart runs edge to edge under the dossier (WT-Brief-390). */
.wt-brief-chart[b-ofi1plv092]  .wt-rc-box {
    border-radius: 0;
    box-shadow: none;
}

.wt-brief-dossier[b-ofi1plv092] {
    grid-area: dossier;
    position: relative;
    z-index: 5;
    min-width: 0;
    margin-top: -24px;
}

.wt-brief-first-fight[b-ofi1plv092] {
    display: none;
}

/* ---- The road with the ready check and the rules beside it ---- */
.wt-brief-road-row[b-ofi1plv092] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.wt-brief-road[b-ofi1plv092],
.wt-brief-aside[b-ofi1plv092] {
    min-width: 0;
}

.wt-brief-aside[b-ofi1plv092] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ---- The sticky bar (under 960): the road and its pay beside the action ---- */
.wt-brief-sticky[b-ofi1plv092] {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 -16px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-base) 88%, transparent), var(--color-bg-base) 40%);
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    box-shadow: 0 -12px 30px color-mix(in srgb, var(--wt-vellum-deep) 55%, transparent);
}

.wt-brief-sticky-lead[b-ofi1plv092] {
    display: none;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-brief-sticky.is-locked[b-ofi1plv092] {
    flex-wrap: wrap;
    gap: 8px 14px;
}

.wt-brief-sticky.is-locked .wt-brief-sticky-lead[b-ofi1plv092] {
    display: flex;
    flex-basis: 100%;
}

.wt-brief-sticky-lead b[b-ofi1plv092] {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    font: 700 var(--gt-base)/1.2 var(--font-primary);
    color: color-mix(in srgb, var(--color-primary-light) 30%, var(--color-text-primary));
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-brief-sticky-lead b .material-icons[b-ofi1plv092] {
    font-size: var(--gt-xl);
    color: var(--color-warning-light);
}

.wt-brief-sticky-lead small[b-ofi1plv092] {
    overflow: hidden;
    font-size: var(--gt-sm);
    color: var(--color-text-light);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-brief-sticky[b-ofi1plv092]  .wt-sticky-bar {
    display: flex;
    flex: 1;
    min-width: 0;
}

.wt-brief-sticky[b-ofi1plv092]  .wt-sticky-bar > .wt-button {
    flex: 1;
}

.wt-brief-sticky[b-ofi1plv092]  .wt-sticky-blocked {
    margin: 0;
    font-size: var(--gt-md);
    color: var(--color-warning-lightest);
}

/* ---- Family: WtButton (gold means play; quiet and ghost for everything else, D13) ---- */
.wt-page--brief[b-ofi1plv092]  .wt-button {
    display: inline-grid;
    grid-template-columns: auto auto;
    grid-template-areas:
        "icon label"
        "sub sub";
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    row-gap: 2px;
    min-height: 44px;
    padding: 6px 18px;
    border-radius: 12px;
    border: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.wt-page--brief[b-ofi1plv092]  .wt-button-icon {
    grid-area: icon;
    font-size: var(--gt-2xl);
}

.wt-page--brief[b-ofi1plv092]  .wt-button-label {
    grid-area: label;
    font-size: var(--gt-base);
    font-weight: 600;
    white-space: nowrap;
}

.wt-page--brief[b-ofi1plv092]  .wt-button-sub {
    grid-area: sub;
    font-size: var(--gt-sm);
    font-weight: 600;
}

.wt-page--brief[b-ofi1plv092]  .wt-button:focus-visible {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 3px;
}

.wt-page--brief[b-ofi1plv092]  .wt-button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.wt-page--brief[b-ofi1plv092]  .wt-button--gold {
    width: 100%;
    min-height: 62px;
    padding: 8px 24px;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 12px 34px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.wt-page--brief[b-ofi1plv092]  .wt-button--gold .wt-button-label {
    font: 800 var(--gt-lg)/1.15 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: normal;
}

.wt-page--brief[b-ofi1plv092]  .wt-button--gold .wt-button-icon {
    font-size: var(--gt-3xl);
}

.wt-page--brief[b-ofi1plv092]  .wt-button--gold .wt-button-sub {
    color: color-mix(in srgb, var(--color-bg-base) 78%, var(--color-primary-darker));
}

.wt-page--brief[b-ofi1plv092]  .wt-button--gold:hover {
    filter: brightness(1.05);
}

.wt-page--brief[b-ofi1plv092]  .wt-button--quiet {
    background: transparent;
    color: var(--color-primary-light);
}

.wt-page--brief[b-ofi1plv092]  .wt-button--quiet:hover {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.wt-page--brief[b-ofi1plv092]  .wt-button--ghost {
    width: 100%;
    min-height: 56px;
    border: 2px solid var(--color-primary);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
    color: var(--color-primary-light);
}

.wt-page--brief[b-ofi1plv092]  .wt-button--ghost .wt-button-label {
    font: 800 var(--gt-lg)/1.15 var(--font-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wt-page--brief[b-ofi1plv092]  .wt-button--ghost .wt-button-sub {
    color: var(--color-text-light);
}

.wt-page--brief[b-ofi1plv092]  .wt-button-reason {
    font-size: var(--gt-sm);
    color: var(--color-text-light);
}

/* ---- Family: WtSection (the kit's t-h: title, rule, sub line at the right) ---- */
.wt-page--brief[b-ofi1plv092]  .wt-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    scroll-margin-top: 80px;
}

.wt-page--brief[b-ofi1plv092]  .wt-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    font: 700 var(--gt-lg)/1.2 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-ink);
}

.wt-page--brief[b-ofi1plv092]  .wt-section-title::after {
    content: '';
    flex: 1;
    min-width: 24px;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--wt-ink) 45%, transparent), transparent);
}

.wt-page--brief[b-ofi1plv092]  .wt-section-sub {
    margin: -6px 0 0;
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
    color: var(--color-text-light);
}

/* ---- Family: in-place states, toast, skeleton ---- */
.wt-page--brief[b-ofi1plv092]  .wt-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 640px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 92%, transparent);
}

.wt-page--brief[b-ofi1plv092]  .wt-empty-icon {
    font-size: calc(var(--gt-px) * 36);
    color: var(--wt-ink);
}

.wt-page--brief[b-ofi1plv092]  .wt-empty-title {
    margin: 0;
    font: 700 calc(var(--gt-px) * 22)/1.2 var(--font-display);
    color: var(--color-text-primary);
}

.wt-page--brief[b-ofi1plv092]  .wt-empty-body {
    margin: 0;
    font-size: var(--gt-base);
    line-height: 1.5;
    color: var(--color-text-light);
}

.wt-page--brief[b-ofi1plv092]  .wt-empty .wt-button--gold {
    width: auto;
}

.wt-page--brief[b-ofi1plv092]  .wt-toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(560px, calc(100vw - 32px));
    padding: 10px 10px 10px 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: var(--color-bg-base);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--wt-vellum-deep) 70%, transparent);
    font-size: var(--gt-base);
    transform: translateX(-50%);
}

.wt-page--brief[b-ofi1plv092]  .wt-toast--error {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
}

.wt-page--brief[b-ofi1plv092]  .wt-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    /* 44 px on every tier (7.3), as the road's. */
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
}

.wt-page--brief[b-ofi1plv092]  .wt-skeleton {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.wt-page--brief[b-ofi1plv092]  .wt-skeleton-chart {
    aspect-ratio: 390 / 270;
    border-radius: 16px;
    background: color-mix(in srgb, var(--wt-vellum) 80%, transparent);
}

.wt-page--brief[b-ofi1plv092]  .wt-skeleton-card {
    min-height: 420px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 70%, transparent);
}

/* ---- Tiers ---- */
@media (min-width: 480px) {
    .wt-brief-sticky-lead[b-ofi1plv092] {
        display: flex;
        flex: 1;
    }

    .wt-brief-sticky.is-locked[b-ofi1plv092] {
        flex-wrap: nowrap;
    }

    .wt-brief-sticky.is-locked .wt-brief-sticky-lead[b-ofi1plv092] {
        flex-basis: auto;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-button--gold .wt-button-label {
        font-size: var(--gt-xl);
        letter-spacing: 0.1em;
    }

    .wt-brief-sticky[b-ofi1plv092]  .wt-sticky-bar {
        flex: 0 1 300px;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-skeleton-chart {
        aspect-ratio: 740 / 320;
    }
}

@media (min-width: 768px) {
    .wt-page--brief[b-ofi1plv092] {
        padding: 8px 8px 0;
    }

    .wt-brief-chart[b-ofi1plv092] {
        margin: 0;
    }

    .wt-brief-chart[b-ofi1plv092]  .wt-rc-box {
        border-radius: 16px;
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--color-primary) 28%, transparent),
            0 0 0 6px color-mix(in srgb, var(--color-bg-base) 90%, transparent),
            0 0 0 7px color-mix(in srgb, var(--color-primary) 16%, transparent);
    }

    .wt-brief-dossier[b-ofi1plv092] {
        margin: -22px 16px 0;
    }

    .wt-brief-sticky[b-ofi1plv092] {
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .wt-brief-road-row[b-ofi1plv092] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wt-brief-aside[b-ofi1plv092] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-section {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 18px;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-section > :not(.wt-section-title):not(.wt-section-sub) {
        grid-column: 1 / -1;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-section-sub {
        margin: 0;
        text-align: right;
    }
}

/* Held sideways on a touch screen (WT Q46, spec 4.9): chart and dossier side by side. A tablet keeps the gold in the
   dossier; a phone (no taller than 480) pins it in the sticky bar instead (the last block of this sheet). */
@media (min-width: 768px) and (orientation: landscape) and (pointer: coarse) {
    .wt-brief-top[b-ofi1plv092] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "chart dossier";
        align-items: start;
        gap: 16px;
    }

    .wt-brief-dossier[b-ofi1plv092] {
        margin: 0;
    }

    /* The chart's column is far shorter than the dossier's: the first fight fills it, as at 960 to 1279. */
    .wt-brief-first-fight[b-ofi1plv092] {
        display: block;
    }

    .wt-brief-sticky[b-ofi1plv092] {
        display: none;
    }
}

@media (min-width: 960px) {
    .wt-page--brief[b-ofi1plv092] {
        padding: 0 16px 32px;
    }

    .wt-brief-top[b-ofi1plv092] {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        grid-template-areas: "chart dossier";
        align-items: start;
        gap: 20px;
        margin-top: -10px;
    }

    .wt-brief-dossier[b-ofi1plv092] {
        margin: 0;
    }

    .wt-brief-first-fight[b-ofi1plv092] {
        display: block;
    }

    .wt-brief-sticky[b-ofi1plv092] {
        display: none;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-skeleton {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .wt-page--brief[b-ofi1plv092]  .wt-skeleton-chart {
        aspect-ratio: 560 / 340;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-toast {
        bottom: 32px;
    }
}

@media (min-width: 1280px) {
    /* The desktop tiers use the shell's whole width (MainLayout caps it at 1920), as the boards do. */
    .wt-page--brief[b-ofi1plv092] {
        gap: 34px;
        max-width: none;
        padding: 0 32px 40px;
    }

    .wt-brief-top[b-ofi1plv092] {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: stretch;
        gap: 20px;
        margin-top: -22px;
    }

    .wt-brief-dossier[b-ofi1plv092] {
        display: flex;
    }

    .wt-brief-dossier[b-ofi1plv092]  .wt-dossier {
        flex: 1;
    }

    .wt-brief-first-fight[b-ofi1plv092] {
        display: none;
    }

    .wt-brief-road-row[b-ofi1plv092] {
        grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
        align-items: start;
        gap: 28px;
    }

    .wt-brief-road-row--solo[b-ofi1plv092] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wt-brief-aside[b-ofi1plv092] {
        display: flex;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-skeleton {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    }

    .wt-page--brief[b-ofi1plv092]  .wt-skeleton-chart {
        aspect-ratio: 760 / 590;
    }
}

/* A phone held sideways (owner, 19 Oct 2026, WT Q46; Docs/LRPG_WAR_TABLE.md 14.17 F, 14.18, 14.21 B): the gold sat 734px
   down a 390px screen in the dossier, so it rides in the sticky bar at the screen's foot, the bar the brief already pins
   under 960 upright, and the dossier drops its copy (WtBriefDossier.razor.css). The road's tier query (landscape, no
   taller than 480), where the road pins its action in the same compact bar (owner, 20 Oct 2026). On a screen this short
   the bar is compact: 6px round one line of gold, the gold itself the rule both bars share (.wt-bar-compact, in
   WtButton.razor.css; it took 87 of 390px and half covered the title as two lines). Last in the sheet, so it holds
   over the sideways and 960 tiers above; the toast clears the bar again. */
@media (orientation: landscape) and (max-height: 480px) {
    .wt-brief-sticky[b-ofi1plv092] {
        display: flex;
        padding-top: 6px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    }

    .wt-brief-sticky[b-ofi1plv092]  .wt-sticky-bar {
        flex: 0 1 400px;
    }

    .wt-page--brief[b-ofi1plv092]  .wt-toast {
        bottom: 72px;
    }
}
/* /Components/Pages/WarTable/AdventureRoadPage.razor.rz.scp.css */
/* The road page (W3; Docs/LRPG_WAR_TABLE.md 4.4, 4.9, 7.5; the WT-Road boards) on design tokens. Phone first, then the
   canonical breakpoints only (768, 960, 1280; 480 for a landscape phone's height). The stage is one grid whose areas
   move per tier: on a phone held upright the chart band, the waypoint, the fight, the hero and the story, with the gold
   action (or the blocked status) pinned to the bottom of the screen; from 960 the chart is a strip over the story and
   the fight card; from 1280 the chart sits left of the dossier card; a phone held sideways puts the chart beside the
   decision (the hero's condition, then the waypoint; blocked, the waypoint first), the chart the full height of its
   column, with the story and the fight one scroll down, and pins the action again, in the compact bar the brief pins
   there. Drawer-free: the page owns the
   width (capped at 1600). */

.wt-page[b-16vwfchwkl] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: var(--page-max-width-xl);
    margin: 0 auto;
    padding: var(--page-padding-y) var(--page-padding-x);
    color: var(--color-text-primary);
    background: var(--wt-vellum-deep);
}

.wt-road[b-16vwfchwkl] {
    gap: var(--space-sm);
    min-height: 100%;
    padding-top: 0;
    padding-bottom: 112px;
    background:
        radial-gradient(ellipse 60% 38% at 50% 0%, color-mix(in srgb, var(--color-primary) 7%, transparent), transparent 70%),
        var(--fd-bg);
    font-family: var(--font-primary);
}

.wt-road--walked[b-16vwfchwkl] {
    padding-bottom: var(--page-padding-y);
}

/* ---------------- The stage ---------------- */

.wt-road-stage[b-16vwfchwkl] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "map"
        "head"
        "fight"
        "go"
        "story";
    gap: var(--space-lg);
    min-width: 0;
}

.wt-road--walked .wt-road-stage[b-16vwfchwkl] {
    grid-template-areas:
        "map"
        "head"
        "walked";
}

.wt-road-card[b-16vwfchwkl] {
    display: none;
    grid-area: 1 / 1;
    border-radius: var(--fd-r-glass);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: var(--fd-card);
    box-shadow: 0 26px 60px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent), inset 0 1px 0 color-mix(in srgb, var(--color-primary-light) 12%, transparent);
}

.wt-road-area[b-16vwfchwkl] {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.wt-road-area--head[b-16vwfchwkl] { grid-area: head; }
.wt-road-area--story[b-16vwfchwkl] { grid-area: story; }
.wt-road-area--fight[b-16vwfchwkl] { grid-area: fight; }
.wt-road-area--go[b-16vwfchwkl] { grid-area: go; }
.wt-road-area--walked[b-16vwfchwkl] { grid-area: walked; }
.wt-road-area--end[b-16vwfchwkl] { grid-area: end; }

/* The last waypoint: the stakes ("At the end") join the decision. */
.wt-road--last .wt-road-stage[b-16vwfchwkl] {
    grid-template-areas:
        "map"
        "head"
        "fight"
        "end"
        "go"
        "story";
}

/* The chart: W2's WtRegionalChart draws its own gilt frame and sizes itself per tier (RegionalChartLayout: its boxes
   keep every waypoint clear of the cartouche and the key), so this slot only places it. A fixed-height window here
   would clip or stretch it (integration: these rules named F's placeholder, which W2's chart replaced). */
.wt-road-map[b-16vwfchwkl] {
    position: relative;
    grid-area: map;
    min-width: 0;
}

/* The coming fight is its own card on a phone (the dossier card holds it from 960). */
.wt-road-area--fight[b-16vwfchwkl] {
    padding: 14px 16px 16px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: var(--fd-card);
}

.wt-road-area--go[b-16vwfchwkl] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* On a phone held upright the action is the sticky bar (one element, pinned; no duplicate to keep in step). */
.wt-road-go[b-16vwfchwkl] {
    position: fixed;
    left: var(--frame-left, 0px);
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px var(--page-gutter) 14px;
    border-top: 1px solid var(--fd-line-gold);
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-bar) 92%, transparent), var(--fd-bar) 30%);
    box-shadow: 0 -14px 34px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

/* A road closed to the hero's class (owner, 17 Nov 2026): its lock status stays in the page (it is several lines: in the
   pinned bar it hid the ledger's foot), and the bar holds only its Abandon, the family's quiet button (WtButton's own
   sheet), at full width and at least 44px tall. The bar is lower than the gold's, so the 112px the page keeps free under
   the ledger is room enough. */
.wt-road-closed-status[b-16vwfchwkl] {
    min-width: 0;
}

.wt-road--closed .wt-road-go[b-16vwfchwkl]  .wt-button--quiet {
    width: 100%;
}

/* "Back to the rest stop" is twice Begin battle's length: one line in the same box at every tier, not a two-line block
   that pushes the action under the fold. */
.wt-road--rest .wt-road-go[b-16vwfchwkl]  .wt-button--gold .wt-button-label {
    font-size: var(--gt-lg);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ---------------- The ledger and "At the end" ---------------- */

.wt-road-ledger[b-16vwfchwkl] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xl);
    min-width: 0;
    padding-top: var(--space-xl);
}

/* ---------------- 768: a tablet held upright ---------------- */

@media (min-width: 768px) {
    .wt-road-ledger[b-16vwfchwkl] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-2xl) var(--space-3xl);
    }

    .wt-road--walked .wt-road-ledger[b-16vwfchwkl] {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
    }
}

/* ---------------- 960: the chart is a strip; story left, the fight card right ---------------- */

@media (min-width: 960px) {
    .wt-road[b-16vwfchwkl] {
        padding-bottom: var(--space-3xl);
    }

    .wt-road-stage[b-16vwfchwkl] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto auto 1fr;
        grid-template-areas:
            "map map"
            "head fight"
            "story fight"
            "story go";
        column-gap: var(--space-xl);
        row-gap: 0;
    }

    .wt-road-card[b-16vwfchwkl] {
        display: block;
        grid-area: 2 / 2 / 5 / 3;
        margin-top: 0;
    }

    .wt-road-map[b-16vwfchwkl] {
        margin-bottom: var(--space-md);
    }

    .wt-road-area--head[b-16vwfchwkl] {
        padding-top: var(--space-sm);
    }

    .wt-road-area--story[b-16vwfchwkl] {
        padding-top: var(--space-md);
    }

    .wt-road-area--fight[b-16vwfchwkl] {
        margin-top: 0;
        padding: 12px 18px 8px;
        border: none;
        background: transparent;
    }

    .wt-road-area--go[b-16vwfchwkl] {
        align-self: end;
        gap: var(--space-sm);
        padding: 0 18px 16px;
    }

    .wt-road-go[b-16vwfchwkl] {
        position: static;
        padding: 0;
        border: none;
        background: none;
        box-shadow: none;
    }

    .wt-road--walked .wt-road-stage[b-16vwfchwkl] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas:
            "map"
            "head"
            "walked";
    }

    .wt-road--walked .wt-road-card[b-16vwfchwkl] {
        display: none;
    }

    .wt-road--last .wt-road-stage[b-16vwfchwkl] {
        grid-template-rows: auto auto auto 1fr auto;
        grid-template-areas:
            "map map"
            "head fight"
            "story fight"
            "story go"
            "end end";
    }

    .wt-road-area--end[b-16vwfchwkl] {
        padding-top: var(--space-lg);
    }

    /* A boss fight or a long story: the decision beside the head, the story one scroll down. */
    .wt-road--story-apart .wt-road-stage[b-16vwfchwkl] {
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas:
            "map map"
            "head fight"
            "head go"
            "story story";
    }

    .wt-road--story-apart.wt-road--last .wt-road-stage[b-16vwfchwkl] {
        grid-template-rows: auto auto 1fr auto auto;
        grid-template-areas:
            "map map"
            "head fight"
            "head go"
            "end end"
            "story story";
    }

    .wt-road--story-apart .wt-road-card[b-16vwfchwkl] {
        grid-area: 2 / 2 / 4 / 3;
    }

    .wt-road--story-apart .wt-road-area--go[b-16vwfchwkl] {
        align-self: start;
        padding-top: var(--space-sm);
    }

    .wt-road--story-apart .wt-road-area--story[b-16vwfchwkl] {
        padding-top: var(--space-xl);
    }

    .wt-road--story-apart .wt-road-area--story[b-16vwfchwkl]  .wt-story-heading {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
    }
}

/* ---------------- 1280: the chart left of the dossier card ---------------- */

@media (min-width: 1280px) {
    .wt-road-stage[b-16vwfchwkl] {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
        grid-template-rows: auto auto auto 1fr auto;
        grid-template-areas:
            "map head"
            "map story"
            "map fight"
            "map ."
            "map go";
        column-gap: var(--space-xl);
    }

    .wt-road-card[b-16vwfchwkl] {
        grid-area: 1 / 2 / -1 / 3;
        margin-top: 0;
    }

    .wt-road-map[b-16vwfchwkl] {
        align-self: start;
        width: 100%;
        margin-bottom: 0;
    }

    .wt-road-area--head[b-16vwfchwkl] {
        padding: 18px 26px 0;
    }

    .wt-road-area--story[b-16vwfchwkl] {
        padding: 10px 26px 0;
    }

    .wt-road-area--fight[b-16vwfchwkl] {
        margin: 12px 26px 0;
        padding: 10px 0 0;
        border-top: 1px solid var(--fd-line-strong);
        border-radius: 0;
    }

    .wt-road-area--go[b-16vwfchwkl] {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
        padding: 12px 26px 18px;
    }

    /* A closed road's status takes its own line over the condition and Abandon (beside them it squeezed to a column). */
    .wt-road--closed .wt-road-area--go[b-16vwfchwkl] {
        flex-wrap: wrap;
    }

    .wt-road--closed .wt-road-closed-status[b-16vwfchwkl] {
        flex: 1 1 100%;
        order: -1;
    }

    .wt-road-area--go[b-16vwfchwkl]  .wt-condition {
        flex: 1 1 auto;
    }

    /* A note longer than the hero's column wraps under the bars ("Hurt from the fall: heal first" beside a long name at
       1280); kept on one line it ran on under Begin battle. */
    .wt-road-area--go[b-16vwfchwkl]  .wt-condition-note {
        text-wrap: balance;
    }

    .wt-road-go[b-16vwfchwkl] {
        flex: 0 1 320px;
        min-width: 260px;
    }

    .wt-road--walked .wt-road-stage[b-16vwfchwkl] {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "map head"
            "map walked";
    }

    .wt-road--walked .wt-road-card[b-16vwfchwkl] {
        display: block;
        grid-area: 1 / 2 / -1 / 3;
    }

    /* A boss fight or a long story: the decision first, the story one scroll down (WT-Road-Boss-1366). */
    .wt-road--story-apart .wt-road-stage[b-16vwfchwkl] {
        grid-template-rows: auto auto 1fr auto auto;
        grid-template-areas:
            "map head"
            "map fight"
            "map ."
            "map go"
            "story story";
    }

    .wt-road--story-apart .wt-road-card[b-16vwfchwkl] {
        grid-area: 1 / 2 / 5 / 3;
    }

    .wt-road--story-apart .wt-road-area--story[b-16vwfchwkl] {
        max-width: 900px;
        padding: var(--space-2xl) 0 0;
    }

    .wt-road--last .wt-road-stage[b-16vwfchwkl] {
        grid-template-rows: auto auto auto auto 1fr auto;
        grid-template-areas:
            "map head"
            "map story"
            "map fight"
            "map end"
            "map ."
            "map go";
    }

    .wt-road--last.wt-road--story-apart .wt-road-stage[b-16vwfchwkl] {
        grid-template-rows: auto auto auto 1fr auto auto;
        grid-template-areas:
            "map head"
            "map fight"
            "map end"
            "map ."
            "map go"
            "story story";
    }

    .wt-road--last.wt-road--story-apart .wt-road-card[b-16vwfchwkl] {
        grid-area: 1 / 2 / 6 / 3;
    }

    .wt-road-area--end[b-16vwfchwkl] {
        padding: 14px 26px 0;
    }

    .wt-road-area--walked[b-16vwfchwkl] {
        padding: 16px 26px 24px;
    }
}

/* ---------------- A phone held sideways: the chart beside the decision ---------------- */

/* The action is pinned to the screen's foot again, as upright, in the compact bar the brief pins at this tier (owner,
   20 Oct 2026; Docs/LRPG_WAR_TABLE.md 14.21 B): Begin battle sat in flow at 343-411 of a 390px screen at 844 x 390.
   The bar is the upright one (one element, no copy to keep in step; focus order unchanged), compact: 6px round one
   line of gold, about 61px, the gold the rule both bars share (.wt-bar-compact, WtButton.razor.css), right-aligned as
   the brief's. The page leaves room under its last row so nothing ends under the bar, and the toast clears it (the last
   block of this sheet). Only the action is pinned: a blocked status stays in flow.
   The hero's condition comes before the waypoint's head here (owner, 25 Oct 2026, B; Docs/LRPG_WAR_TABLE.md 14.23): on
   a phone 360-375px tall the bar covered the condition at load, and the hero's HP is the one thing on this screen the
   bar does not repeat, while the gold already names the waypoint. Only the grid's areas move: the DOM, and so the
   reading and focus order, stay the head then the condition, as at every other tier. A blocked road pins nothing and
   has no gold, so it keeps the head first (.wt-road--blocked, below). */
@media (orientation: landscape) and (max-height: 480px) {
    .wt-road[b-16vwfchwkl] {
        display: grid;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
        grid-template-areas:
            "map rhead"
            "map go"
            "map head"
            "story fight"
            "ledger ledger"
            "end end";
        /* The chart is taller than the three rows beside it: the waypoint's row takes what is left, so the condition and
           the head sit together at the top rather than spread down to the bar. */
        grid-template-rows: auto auto 1fr auto auto auto;
        align-items: start;
        gap: var(--space-sm) var(--space-lg);
        padding-top: var(--space-sm);
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        /* The tallest the chart is drawn: the screen under the frame's top (0 held sideways, more under a party bar or a grown
           text size), the layout's 16px and this page's 8px, and above the pinned bar's room, so the bar never covers it. */
        --wt-road-chart-max: calc(100svh - var(--frame-top, 0px) - 24px - 80px - env(safe-area-inset-bottom, 0px));
    }

    .wt-road--walked[b-16vwfchwkl] {
        grid-template-areas:
            "map rhead"
            "map head"
            "map walked"
            "ledger ledger";
        grid-template-rows: none;
        padding-bottom: var(--space-xl);
        --wt-road-chart-max: calc(100svh - var(--frame-top, 0px) - 24px - var(--space-xl));
    }

    .wt-road[b-16vwfchwkl]  .wt-road-head {
        grid-area: rhead;
    }

    .wt-road-stage[b-16vwfchwkl] {
        display: contents;
    }

    .wt-road-card[b-16vwfchwkl] {
        display: none;
    }

    /* The chart fills its column's height (hotfix, 1 Nov 2026; WT-Road-844L draws it the height of the first screen
       beside the decision): drawn at its own size with align-self: start it sat at the top of a taller cell over a dark
       gap, and under 768 wide (an iPhone's Safari held sideways) in the 480 band's wide strip, a third of the column's
       height. Now the cell stretches; the chart takes the cell's height, no taller than the screen above the pinned
       bar (--wt-road-chart-max), and stays in view (sticky) while the column beside it scrolls on. It is laid out in
       the sideways frame (RegionalChartLayout's Landscape box, --box-l-*) at every width of this tier, and that frame
       is drawn at its own aspect, centred in the taller box: the layer's offset and height are percents of the frame's
       height, so they are applied as margin and padding, which resolve against the width (W x box h / box w = the
       frame's height). The art fades out at its top and foot into the chart's sea. */
    .wt-road-map[b-16vwfchwkl] {
        grid-area: map;
        align-self: stretch;
        container-type: inline-size;
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc {
        position: sticky;
        top: var(--space-sm);
        height: 100%;
        max-height: var(--wt-road-chart-max);
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-box {
        --rc-tw: var(--box-l-w, 390);
        aspect-ratio: auto;
        height: 100%;
        min-height: min(calc(100cqw * var(--box-l-h, 240) / var(--box-l-w, 390)), var(--wt-road-chart-max));
        background: radial-gradient(ellipse 100% 60% at 50% 50%, var(--wt-vellum), var(--wt-vellum-deep));
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-layer {
        left: var(--art-l-l);
        top: 50%;
        width: var(--art-l-w);
        height: 0;
        margin-top: calc((var(--art-l-t) - 50%) * var(--box-l-h, 240) / var(--box-l-w, 390));
        padding-bottom: calc(var(--art-l-h) * var(--box-l-h, 240) / var(--box-l-w, 390));
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-art {
        -webkit-mask-image: linear-gradient(180deg, transparent, black 16%, black 84%, transparent);
        mask-image: linear-gradient(180deg, transparent, black 16%, black 84%, transparent);
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-plate {
        display: var(--pl-l-d, none);
        left: calc(50% + var(--pl-l-x, 0) * var(--rc-px));
        top: calc(50% + var(--pl-l-y, 0) * var(--rc-px));
        width: calc(var(--pl-l-w, 0) * var(--rc-px));
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-chest {
        translate: calc(var(--ch-l-x, 0) * var(--rc-px)) calc(var(--ch-l-y, 0) * var(--rc-px));
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-spur {
        display: var(--ch-l-spur, inline);
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-spur-to {
        display: none;
    }

    .wt-road-map[b-16vwfchwkl]  .wt-rc-spur-to--l {
        display: inline;
    }

    /* The sideways frame reserves no corner for them (the 1280 tier's key would sit on the road). */
    .wt-road-map[b-16vwfchwkl]  .wt-rc-cartouche,
    .wt-road-map[b-16vwfchwkl]  .wt-rc-key {
        display: none;
    }

    .wt-road-area--fight[b-16vwfchwkl] {
        margin: 0;
        padding: 14px 16px 16px;
        border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
        border-radius: var(--fd-r-card);
        background: var(--fd-card);
    }

    .wt-road-area--go[b-16vwfchwkl] {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .wt-road-go[b-16vwfchwkl] {
        position: fixed;
        left: var(--frame-left, 0px);
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: flex-end;
        padding: 6px var(--page-gutter) calc(6px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--fd-line-gold);
        background: linear-gradient(180deg, color-mix(in srgb, var(--fd-bar) 92%, transparent), var(--fd-bar) 30%);
        box-shadow: 0 -14px 34px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
    }

    .wt-road-go[b-16vwfchwkl]  .wt-road-action {
        flex: 0 1 560px;
        min-width: 0;
    }

    /* A screen too small even sideways (568 x 320): the blocked status is no action, and pinned it took 93 of 320px, so
       it stays in flow beside the chart, as before. With nothing pinned, no bar covers the condition and no gold names
       the waypoint, so the waypoint's head stays first here, the order before 14.23 (the rows are the .wt-road rule's:
       the condition and the status take what the chart leaves). This rule must follow .wt-road to win the cascade. */
    .wt-road--blocked[b-16vwfchwkl] {
        grid-template-areas:
            "map rhead"
            "map head"
            "map go"
            "story fight"
            "ledger ledger"
            "end end";
        padding-bottom: var(--space-xl);
        --wt-road-chart-max: calc(100svh - var(--frame-top, 0px) - 24px - var(--space-xl));
    }

    .wt-road--blocked .wt-road-go[b-16vwfchwkl] {
        position: static;
        display: block;
        padding: 0;
        border: none;
        background: none;
        box-shadow: none;
    }

    .wt-road-ledger[b-16vwfchwkl] {
        grid-area: ledger;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .wt-road[b-16vwfchwkl]  .wt-road-end {
        grid-area: end;
    }
}

/* ---------------- The family's placeholders on this page (until the family is styled) ---------------- */

.wt-road[b-16vwfchwkl]  .wt-skeleton {
    display: grid;
    gap: var(--space-lg);
}

.wt-road[b-16vwfchwkl]  .wt-skeleton-chart,
.wt-road[b-16vwfchwkl]  .wt-skeleton-card {
    border-radius: var(--fd-r-glass);
    background: linear-gradient(100deg, var(--fd-panel) 30%, var(--fd-surface-strong) 50%, var(--fd-panel) 70%);
    background-size: 300% 100%;
    animation: wt-road-shimmer-b-16vwfchwkl 1.6s ease-in-out infinite;
}

.wt-road[b-16vwfchwkl]  .wt-skeleton-chart {
    height: 220px;
}

.wt-road[b-16vwfchwkl]  .wt-skeleton-card {
    height: 320px;
}

@keyframes wt-road-shimmer-b-16vwfchwkl {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

.wt-road[b-16vwfchwkl]  .wt-page-head {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.wt-road[b-16vwfchwkl]  .wt-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-road[b-16vwfchwkl]  .wt-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--fd-text-3);
    font-size: var(--gt-base);
}

.wt-road[b-16vwfchwkl]  .wt-crumbs li + li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--fd-text-5);
    border-right: 2px solid var(--fd-text-5);
    transform: rotate(45deg);
}

.wt-road[b-16vwfchwkl]  .wt-crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: none;
}

.wt-road[b-16vwfchwkl]  .wt-hero-chip {
    display: inline-grid;
    grid-template-columns: 40px auto;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    color: var(--fd-text-2);
    text-decoration: none;
}

.wt-road[b-16vwfchwkl]  .wt-hero-chip-portrait {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--wt-class, var(--color-primary-dark));
    object-fit: cover;
}

.wt-road[b-16vwfchwkl]  .wt-hero-chip-name {
    font-family: var(--font-primary);
    font-weight: 800;
    color: var(--fd-cream);
}

.wt-road[b-16vwfchwkl]  .wt-hero-chip-class,
.wt-road[b-16vwfchwkl]  .wt-hero-chip-grade {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--fd-text-4);
}

.wt-road[b-16vwfchwkl]  .wt-page-title {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem) * var(--gt-scale));
    color: var(--fd-cream-2);
}

.wt-road[b-16vwfchwkl]  .wt-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    max-width: 560px;
    margin: var(--space-2xl) auto;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--fd-r-glass);
    border: 1px solid var(--fd-line-gold);
    background: var(--fd-card);
    text-align: center;
}

.wt-road[b-16vwfchwkl]  .wt-empty-icon {
    font-size: var(--gt-6xl);
    color: var(--fd-gold-text);
}

.wt-road[b-16vwfchwkl]  .wt-empty-title {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(var(--gt-px) * 22);
    color: var(--fd-cream);
}

.wt-road[b-16vwfchwkl]  .wt-empty-body {
    margin: 0;
    font-size: calc(var(--gt-px) * 14.5);
    line-height: 1.55;
    color: var(--fd-text-3);
}

.wt-road[b-16vwfchwkl]  .wt-empty .wt-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 44px;
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text-2);
    font: 600 var(--gt-base) var(--font-primary);
    text-decoration: none;
    cursor: pointer;
}

.wt-road[b-16vwfchwkl]  .wt-empty .wt-button--gold {
    min-height: 60px;
    border: none;
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    box-shadow: var(--fd-shadow-gold);
}

.wt-road[b-16vwfchwkl]  .wt-empty .wt-button--gold .wt-button-label {
    font-family: var(--font-primary);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wt-road[b-16vwfchwkl]  .wt-empty .wt-button-sub {
    font-size: var(--gt-sm);
    color: var(--fd-on-gold-soft);
}

.wt-road[b-16vwfchwkl]  .wt-empty .wt-button-icon {
    display: none;
}

.wt-road[b-16vwfchwkl]  .wt-toast {
    position: fixed;
    left: 50%;
    bottom: 120px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: min(440px, calc(100% - 2 * var(--page-gutter)));
    padding: 10px 8px 10px 16px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-strong);
    background: var(--color-gray-900);
    box-shadow: var(--fd-shadow);
    color: var(--fd-text-2);
    font-size: calc(var(--gt-px) * 13.5);
    transform: translateX(-50%);
}

.wt-road[b-16vwfchwkl]  .wt-toast--error {
    border-color: color-mix(in srgb, var(--color-danger) 50%, transparent);
}

.wt-road[b-16vwfchwkl]  .wt-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: none;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--fd-text-4);
    cursor: pointer;
}

@media (min-width: 960px) {
    .wt-road[b-16vwfchwkl]  .wt-toast {
        bottom: var(--space-2xl);
    }

    .wt-road[b-16vwfchwkl]  .wt-skeleton {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    }

    .wt-road[b-16vwfchwkl]  .wt-skeleton-chart,
    .wt-road[b-16vwfchwkl]  .wt-skeleton-card {
        height: 560px;
    }
}

.wt-road[b-16vwfchwkl]  .wt-empty .wt-button:focus-visible,
.wt-road[b-16vwfchwkl]  .wt-toast-close:focus-visible {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .wt-road[b-16vwfchwkl]  .wt-skeleton-chart,
    .wt-road[b-16vwfchwkl]  .wt-skeleton-card {
        animation: none;
    }
}

/* A phone held sideways: the toast clears the pinned compact bar (about 61px), as the brief's does. Last in the sheet, so
   it holds over the 960 toast above on a window wider than 960 and no taller than 480. */
@media (orientation: landscape) and (max-height: 480px) {
    .wt-road[b-16vwfchwkl]  .wt-toast {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}
/* /Components/Pages/WarTable/PartyRoomPage.razor.rz.scp.css */
/* The party room (raid join build W2; A-Party-1366, A-Tablet-1024, A-Phone-390). raid.css ported: its tier classes
   (m-w1366, m-w1024, m-w390, m-touch) became the canonical breakpoints and (pointer: coarse), its .t-root scope is gone,
   its hex literals became the RAID MUSTER tokens (design-system.css). The page lays the room out; the shared atoms
   (the state chip, the quiet and gold actions, the section titles) are styled once here for every Rm component. */
.rm-page[b-qbcxk372di] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 8px var(--page-gutter, 16px) 32px;
    box-sizing: border-box;
}

.rm-crumbs-row[b-qbcxk372di] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.rm-crumbs[b-qbcxk372di] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font: 500 var(--gt-md)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-crumbs a[b-qbcxk372di] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 32px;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.rm-crumbs a:hover[b-qbcxk372di] {
    color: var(--color-text-primary);
}

.rm-crumbs a:focus-visible[b-qbcxk372di],
.rm-leave-btn:focus-visible[b-qbcxk372di],
.rm-toast-close:focus-visible[b-qbcxk372di] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.rm-crumbs .material-icons[b-qbcxk372di] {
    font-size: var(--gt-lg);
}

.rm-crumbs [aria-current][b-qbcxk372di] {
    color: var(--color-text-primary);
    font-weight: 600;
}

.rm-crumbs-tools[b-qbcxk372di] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rm-leave-btn[b-qbcxk372di] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--rm-tap);
    padding: 4px 12px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--rm-bad) 45%, transparent);
    background: transparent;
    color: var(--rm-bad-ink);
    font: 600 var(--gt-md)/1.2 var(--font-primary);
    cursor: pointer;
}

.rm-leave-btn .material-icons[b-qbcxk372di] {
    font-size: calc(var(--gt-px) * 17);
}

.rm-state-title[b-qbcxk372di] {
    margin: 0;
    font: 800 var(--gt-4xl)/1.15 var(--font-display);
    color: var(--color-text-primary);
}

.rm-reconnect[b-qbcxk372di] {
    grid-area: reconnect;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px dashed var(--rm-line-2);
    background: var(--rm-well);
    color: var(--color-text-primary);
    font: 600 var(--gt-md)/1.3 var(--font-primary);
}

/* The layout: the room column beside the raid's road from 1281 (A-Party-1366). */
.rm-layout[b-qbcxk372di] {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-areas:
        "chart head"
        "chart reconnect"
        "chart seats"
        "chart crier"
        "chart code"
        "chart call"
        "chart start";
    grid-template-rows: auto auto auto auto auto auto 1fr;
    gap: 14px 20px;
    align-items: start;
}

.rm-area-head[b-qbcxk372di] { grid-area: head; min-width: 0; }
.rm-area-seats[b-qbcxk372di] { grid-area: seats; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rm-area-crier[b-qbcxk372di] { grid-area: crier; min-width: 0; }
.rm-area-code[b-qbcxk372di] { grid-area: code; min-width: 0; }
.rm-area-call[b-qbcxk372di] { grid-area: call; min-width: 0; }
.rm-area-start[b-qbcxk372di] { grid-area: start; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rm-area-chart[b-qbcxk372di] { grid-area: chart; min-width: 0; position: sticky; top: calc(var(--frame-top, 64px) + 12px); }

/* The room inside Garrick's Hall (Direction A, W2; A2): the banner over two columns, the seats and the start beside party
   talk, the code and Call your party. One column from 960. */
.rm-layout.rm-layout--hall[b-qbcxk372di] {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
        "head head"
        "reconnect reconnect"
        "main side";
    grid-template-rows: auto auto 1fr;
}

.hr-main[b-qbcxk372di] {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.hr-side[b-qbcxk372di] {
    grid-area: side;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.rm-layout--hall .rm-area-head[b-qbcxk372di],
.rm-layout--hall .rm-area-seats[b-qbcxk372di],
.rm-layout--hall .rm-area-start[b-qbcxk372di],
.rm-layout--hall .rm-area-crier[b-qbcxk372di],
.rm-layout--hall .rm-area-code[b-qbcxk372di],
.rm-layout--hall .rm-area-call[b-qbcxk372di] {
    grid-area: auto;
}

.rm-layout--hall .rm-area-head[b-qbcxk372di] {
    grid-area: head;
}

/* The formation step in the room (raid join W4a, A-Party 1 "Formation, in the frame"): one column, the picker full width. */
.rm-forming[b-qbcxk372di] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* 961-1280 (A-Tablet-1024): seats as rows left with the crier and the road, code and Set out right. */
@media (max-width: 1280px) {
    .rm-layout[b-qbcxk372di] {
        grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
        grid-template-areas:
            "head head"
            "reconnect reconnect"
            "seats code"
            "seats start"
            "call start"
            "crier start"
            "chart start";
        grid-template-rows: auto auto auto auto auto auto 1fr;
    }

    .rm-area-chart[b-qbcxk372di] {
        position: static;
    }
}

/* 960 and below: one column, the start block last and pinned above the dock (A-Phone-390). */
@media (max-width: 960px) {
    .rm-layout.rm-layout--hall[b-qbcxk372di] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "head"
            "reconnect"
            "main"
            "side";
        grid-template-rows: none;
    }

    .rm-layout[b-qbcxk372di] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "head"
            "reconnect"
            "seats"
            "crier"
            "code"
            "call"
            "chart"
            "start";
        grid-template-rows: none;
    }
}

@media (max-width: 480px) {
    .rm-page[b-qbcxk372di] {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.rm-toast[b-qbcxk372di] {
    position: fixed;
    left: 50%;
    bottom: calc(var(--frame-bottom, 0px) + 16px);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(560px, calc(100% - 32px));
    padding: 10px 12px 10px 14px;
    transform: translateX(-50%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line-2);
    background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    color: var(--color-text-primary);
    font: 500 var(--gt-base)/1.4 var(--font-primary);
    box-shadow: var(--shadow-lg);
}

.rm-toast-close[b-qbcxk372di] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

/* ---- Shared atoms for every Rm component (raid.css "Shared atoms" and "State chip"), weighing only the scope ---- */
:where(.rm-page)[b-qbcxk372di]  :where(.rm-section-title) {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font: 700 var(--gt-sm)/1 var(--font-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-section-title .material-icons) {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-primary);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip) {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 2px 10px 2px 7px;
    border-radius: var(--radius-round);
    border: 1.5px solid var(--rm-line-2);
    background: var(--rm-well);
    color: var(--rm-away-ink);
    font: 700 var(--gt-sm)/1.2 var(--font-primary);
    flex: none;
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip .material-icons) {
    font-size: var(--gt-lg);
}

/* Shapes: ready = solid fill; here = solid, quiet; away = dashed; open = hairline; needed = gold dashed. */
:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--ready) {
    border-color: var(--rm-ready);
    background: var(--rm-ready-fill);
    color: var(--rm-ready-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--here) {
    border-color: color-mix(in srgb, var(--rm-ready) 45%, transparent);
    background: color-mix(in srgb, var(--color-success-dark) 28%, transparent);
    color: var(--rm-here);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--away) {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--rm-away) 60%, transparent);
    background: var(--rm-away-fill);
    color: var(--rm-away-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--invited) {
    border-style: dotted;
    border-color: var(--rm-invite);
    background: var(--rm-invite-fill);
    color: var(--rm-invite-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--open) {
    border-color: var(--rm-line);
    background: transparent;
    color: var(--color-text-secondary);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--need, .rm-chip--gathering) {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--rm-need) 60%, transparent);
    background: var(--rm-need-fill);
    color: var(--rm-need-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--saved) {
    border-color: var(--rm-invite);
    background: var(--rm-invite-fill);
    color: var(--rm-invite-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--band) {
    border-color: color-mix(in srgb, var(--rm-wait) 60%, transparent);
    background: var(--rm-wait-fill);
    color: var(--rm-wait-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--host) {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: var(--rm-need-fill);
    color: var(--rm-need-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-chip--pay) {
    color: var(--color-text-primary);
}

/* The quiet action and its variants (raid.css .rm-act). */
:where(.rm-page)[b-qbcxk372di]  :where(.rm-act) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: var(--rm-tap);
    min-width: var(--rm-tap);
    padding: 0 12px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--fd-gold-text);
    font: 600 var(--gt-md)/1.2 var(--font-primary);
    text-decoration: none;
    cursor: pointer;
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act .material-icons) {
    font-size: calc(var(--gt-px) * 17);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act:hover) {
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
    border-color: var(--color-primary);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act--quiet) {
    border-color: var(--rm-line-2);
    background: var(--rm-well);
    color: var(--color-text-primary);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act--danger) {
    border-color: color-mix(in srgb, var(--rm-bad) 55%, transparent);
    background: var(--rm-bad-fill);
    color: var(--rm-bad-ink);
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act--gold) {
    border: none;
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
    font-weight: 800;
}

:where(.rm-page)[b-qbcxk372di]  :where(.rm-act[disabled]) {
    opacity: 0.5;
    cursor: not-allowed;
}

/* The family's map, laid in the room's column (the chart takes its box from the brief's host). */
:where(.rm-page)[b-qbcxk372di]  :where(.rm-area-chart .wt-rc) {
    border-radius: var(--radius-xl);
}

@media (pointer: coarse) {
    .rm-leave-btn[b-qbcxk372di],
    .rm-crumbs a[b-qbcxk372di],
    .rm-toast-close[b-qbcxk372di] {
        min-height: 44px;
        min-width: 44px;
    }

    :where(.rm-page)[b-qbcxk372di]  :where(.rm-act) {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-toast[b-qbcxk372di] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .rm-leave-btn[b-qbcxk372di],
    .rm-reconnect[b-qbcxk372di],
    .rm-toast[b-qbcxk372di] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    :where(.rm-page)[b-qbcxk372di]  :where(.rm-chip, .rm-act) {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/Pages/WarTable/WarTablePage.razor.rz.scp.css */
/* The war table's hub (Docs/LRPG_WAR_TABLE.md 4.9, 7.5; WT-Hub-1920, -1366, -1024t, -768t, -390). Mobile first on the
   canonical breakpoints only (768 / 1024 / 1280): a phone stacks the chart, the dossier pinned under it, and rows;
   768 keeps one column with a sticky bar; 1024 sets the dossier (344 px) beside the chart; 1280 and up the dossier
   grows with the page to 522 px and the page caps at 1792 px of content. The chart's box is the model's (its aspect
   ratio, from WarTableModelBuilder.BoxFor, the same arithmetic as these columns). Drawn on design tokens only.

   The family components (WtButton, WtEmpty, WtSkeleton, WtToast, WtStickyBar) are shared by every war table page and
   still wear the foundation's placeholder styles, so the hub dresses them here through ::deep, scoped to this page,
   and the hub's own components share a few pieces (pills, pips, panels) the same way. The integration moves these
   rules into the family components once W2 and W3 have theirs. */
.wt-page[b-ghhx6v6c44] {
    display: flex;
    flex-direction: column;
    gap: 20px;
    /* run over MainLayout's MudContainer padding (pa-4), as the tavern does, so the tiers' arithmetic is the window's */
    margin: -16px -16px 0;
    padding: 16px 16px 40px;
    color: var(--color-text-primary);
    background:
        radial-gradient(ellipse 60% 38% at 50% 0%, color-mix(in srgb, var(--fd-ember) 7%, transparent), transparent 70%),
        radial-gradient(ellipse 90% 60% at 50% 100%, color-mix(in srgb, var(--wt-land) 35%, transparent), transparent 70%),
        var(--wt-vellum-deep);
    box-sizing: border-box;
}

.wt-page.has-sticky[b-ghhx6v6c44] {
    padding-bottom: 120px;
}

.wt-hub-bar[b-ghhx6v6c44] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wt-hub-bar[b-ghhx6v6c44] >  .wt-region-filter {
    flex: 1 1 auto;
    min-width: 0;
}

/* The chips scroll; the Table / List switch never shrinks under them (WT-Hub-768t). */
.wt-hub-bar[b-ghhx6v6c44] >  .wt-view-switch {
    flex: none;
}

.wt-hub-bar-spacer[b-ghhx6v6c44] {
    flex: 0 0 0;
}

.wt-hub-codein[b-ghhx6v6c44] {
    flex: none;
}

/* A phone's table has no chips row (WT-Hub-390): its bubbles and the list button on the chart do that work. */
.wt-page--phone:not(.is-list) .wt-hub-bar[b-ghhx6v6c44] {
    display: none;
}

.wt-page--phone .wt-hub-bar[b-ghhx6v6c44]  .wt-view-switch {
    display: none;
}

.wt-page--phone.is-list .wt-hub-bar[b-ghhx6v6c44] {
    flex-direction: column-reverse;
    align-items: stretch;
}

.wt-page--phone.is-list .wt-hub-bar[b-ghhx6v6c44]  .wt-view-switch {
    display: inline-grid;
}

.wt-hub-main[b-ghhx6v6c44] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "chart" "dossier";
    gap: 0;
    align-items: start;
}

.wt-hub-chart-slot[b-ghhx6v6c44] {
    grid-area: chart;
    position: relative;
    min-width: 0;
}

.wt-hub-dossier-slot[b-ghhx6v6c44] {
    grid-area: dossier;
    position: relative;
    z-index: 2;
    min-width: 0;
    margin-top: -12px;
}

.wt-page-skip[b-ghhx6v6c44] {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 9px;
    background: var(--color-gray-900);
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    color: var(--fd-gold-soft);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
    transform: translateY(-200%);
    opacity: 0;
}

.wt-page-skip:focus-visible[b-ghhx6v6c44] {
    transform: none;
    opacity: 1;
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

.wt-page-skip .material-icons[b-ghhx6v6c44] {
    font-size: var(--gt-xl);
}

.wt-hub-lists[b-ghhx6v6c44] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

@media (min-width: 768px) {
    .wt-page[b-ghhx6v6c44] {
        padding: 18px 24px 48px;
        gap: 22px;
    }

    .wt-hub-main[b-ghhx6v6c44] {
        gap: 16px;
    }

    .wt-hub-dossier-slot[b-ghhx6v6c44] {
        margin-top: 0;
    }
}

@media (min-width: 1024px) {
    .wt-page[b-ghhx6v6c44] {
        padding: 16px 32px 48px;
    }

    .wt-page.has-sticky[b-ghhx6v6c44] {
        padding-bottom: 48px;
    }

    .wt-hub-main[b-ghhx6v6c44] {
        grid-template-columns: minmax(0, 1fr) 344px;
        grid-template-areas: "chart dossier";
        align-items: stretch;
    }

    .wt-hub-lists[b-ghhx6v6c44] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .wt-hub-lists[b-ghhx6v6c44] >  .wt-walked-panel {
        grid-column: 1 / -1;
    }

    /* Full width under Your saga and Ahead of you, the walked cards sit two across (WT-Hub-1024t). */
    .wt-hub-lists[b-ghhx6v6c44] >  .wt-walked-panel .wt-walked {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .wt-page[b-ghhx6v6c44] {
        padding: 16px max(48px, calc((100% + 32px - 1792px) / 2)) 56px;
        gap: 24px;
    }

    .wt-hub-main[b-ghhx6v6c44] {
        grid-template-columns: minmax(0, 1fr) clamp(394px, calc(min(100vw - 96px, 1792px) * 0.2913), 522px);
        gap: 24px;
    }

    .wt-hub-lists[b-ghhx6v6c44] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wt-hub-lists[b-ghhx6v6c44] >  .wt-walked-panel {
        grid-column: auto;
    }

    .wt-hub-lists[b-ghhx6v6c44] >  .wt-walked-panel .wt-walked {
        display: flex;
    }

    .wt-hub-lists[b-ghhx6v6c44] >  .wt-walked-panel:has(.wt-wall) {
        grid-column: 1 / -1;
        order: -1;
    }
}

/* The phone's peek leads the dossier's slot, right under the table (WT-Map-Realm-390). */
.wt-hub-dossier-slot[b-ghhx6v6c44] >  .wt-peek {
    margin-bottom: 12px;
}

/* The list view takes the chart's place and nothing else (7.3): beside the dossier from 1024, and under it below (no
   chart to pin the dossier to, so the dossier leads and nothing overlaps). */
.wt-page.is-list .wt-hub-main[b-ghhx6v6c44] {
    grid-template-areas: "dossier" "chart";
    gap: 16px;
}

.wt-page.is-list .wt-hub-dossier-slot[b-ghhx6v6c44] {
    margin-top: 0;
}

@media (min-width: 1024px) {
    .wt-page.is-list .wt-hub-main[b-ghhx6v6c44] {
        grid-template-areas: "chart dossier";
        align-items: start;
    }
}

/* ---- The family, dressed for the hub ---- */

.wt-page[b-ghhx6v6c44]  .wt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: var(--fd-r-btn);
    border: 1px solid var(--fd-line-strong);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--fd-text);
    font: 600 calc(var(--gt-px) * 13.5) / 1.1 var(--font-primary);
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.wt-page[b-ghhx6v6c44]  .wt-button-icon {
    font-size: var(--gt-xl);
}

.wt-page[b-ghhx6v6c44]  .wt-button--quiet {
    border-color: transparent;
    background: none;
    padding: 0 4px;
    min-height: 36px;
    color: var(--fd-gold-text);
}

.wt-page[b-ghhx6v6c44]  .wt-button--ghost {
    border-color: color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 50%, transparent);
    color: var(--fd-text);
}

.wt-page[b-ghhx6v6c44]  .wt-button--gold {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    width: 100%;
    min-height: 60px;
    padding: 8px 20px;
    border: none;
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    box-shadow: var(--fd-shadow-gold);
}

.wt-page[b-ghhx6v6c44]  .wt-button--gold .wt-button-icon {
    font-size: var(--gt-3xl);
}

.wt-page[b-ghhx6v6c44]  .wt-button--gold .wt-button-label {
    font: 800 calc(var(--gt-px) * 19) / 1.1 var(--fd-font-display);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wt-page[b-ghhx6v6c44]  .wt-button--gold .wt-button-sub {
    grid-column: 1 / -1;
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--fd-on-gold-soft);
    text-align: center;
}

.wt-page[b-ghhx6v6c44]  .wt-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.wt-page[b-ghhx6v6c44]  .wt-button:focus-visible {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

.wt-page[b-ghhx6v6c44]  .wt-empty {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 300px;
    padding: 28px 24px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 26%, transparent);
    background: var(--fd-card);
    box-sizing: border-box;
}

.wt-page[b-ghhx6v6c44]  .wt-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 60px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
    color: var(--color-primary);
    font-size: calc(var(--gt-px) * 26);
    box-shadow: inset 0 0 0 2px var(--wt-vellum);
}

.wt-page[b-ghhx6v6c44]  .wt-empty-title {
    margin: 0;
    font: 800 var(--gt-3xl) / 1.15 var(--fd-font-display);
    color: var(--fd-cream);
}

.wt-page[b-ghhx6v6c44]  .wt-empty-body {
    margin: 0;
    font: 400 var(--gt-base) / 1.55 var(--font-primary);
    color: var(--fd-text-2);
}

/* The state card's gold names the hero ("Wake Sister Halden, or choose another hero"), in the card and in the phone's
   sticky bar: it wraps inside its button instead of running out of it (live check, 19 Oct). */
.wt-page[b-ghhx6v6c44]  .wt-empty .wt-button--gold,
.wt-page[b-ghhx6v6c44]  .wt-sticky-bar .wt-button--gold {
    grid-template-columns: auto minmax(0, auto);
}

.wt-page[b-ghhx6v6c44]  .wt-empty .wt-button--gold .wt-button-label,
.wt-page[b-ghhx6v6c44]  .wt-sticky-bar .wt-button--gold .wt-button-label {
    white-space: normal;
    text-align: center;
    text-wrap: balance;
}

.wt-page[b-ghhx6v6c44]  .wt-empty .wt-button--gold .wt-button-label {
    font-size: calc(var(--gt-px) * 17);
}

.wt-page[b-ghhx6v6c44]  .wt-empty .wt-button--gold + .wt-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    border: 1px solid var(--fd-line-strong);
    padding: 0 14px;
    color: var(--fd-text);
}

.wt-page[b-ghhx6v6c44]  .wt-skeleton {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.wt-page[b-ghhx6v6c44]  .wt-skeleton-chart {
    aspect-ratio: 358 / 340;
    border-radius: 16px;
    /* The realm's art comes from WtSkeleton (the fingerprinted url, the one the chart draws). */
    background: var(--wt-vellum-deep) 50% 50% / cover no-repeat;
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.wt-page[b-ghhx6v6c44]  .wt-skeleton-card {
    min-height: 260px;
    border-radius: 16px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    background: linear-gradient(90deg, var(--fd-card-top), color-mix(in srgb, var(--fd-card-top) 70%, var(--wt-land)), var(--fd-card-top));
    background-size: 200% 100%;
    animation: wt-skeleton-pulse-b-ghhx6v6c44 1.6s ease-in-out infinite;
}

@keyframes wt-skeleton-pulse-b-ghhx6v6c44 {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (min-width: 768px) {
    .wt-page[b-ghhx6v6c44]  .wt-skeleton-chart {
        aspect-ratio: 720 / 531;
    }
}

@media (min-width: 1024px) {
    .wt-page[b-ghhx6v6c44]  .wt-skeleton {
        grid-template-columns: minmax(0, 1fr) 344px;
    }

    .wt-page[b-ghhx6v6c44]  .wt-skeleton-chart {
        aspect-ratio: 600 / 533;
    }
}

@media (min-width: 1280px) {
    .wt-page[b-ghhx6v6c44]  .wt-skeleton {
        grid-template-columns: minmax(0, 1fr) clamp(394px, calc(min(100vw - 96px, 1792px) * 0.2913), 522px);
        gap: 24px;
    }

    .wt-page[b-ghhx6v6c44]  .wt-skeleton-chart {
        aspect-ratio: 852 / 528;
    }
}

.wt-page[b-ghhx6v6c44]  .wt-toast {
    position: fixed;
    left: 50%;
    top: calc(var(--frame-top, 64px) + 12px);
    z-index: var(--z-popover);
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(460px, calc(100vw - 24px));
    padding: 12px 12px 12px 16px;
    transform: translateX(-50%);
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: var(--color-gray-900);
    box-shadow: var(--fd-shadow);
    color: var(--fd-text);
    font: 500 calc(var(--gt-px) * 13.5) / 1.45 var(--font-primary);
    box-sizing: border-box;
}

.wt-page[b-ghhx6v6c44]  .wt-toast--error {
    border-color: color-mix(in srgb, var(--fd-bad) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 30%, var(--color-gray-900));
}

.wt-page[b-ghhx6v6c44]  .wt-toast > span {
    flex: 1;
}

.wt-page[b-ghhx6v6c44]  .wt-toast-close {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 44 px on every tier (7.3), as the road's: the toast is what a phone hears a refusal or a stale link through. */
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: none;
    color: var(--fd-text-3);
    cursor: pointer;
}

/* Stacked on the game frame's phone dock (Docs/LRPG_GAME_MENU.md 5.5) and beside the sideways rail. */
.wt-page[b-ghhx6v6c44]  .wt-sticky-bar {
    position: fixed;
    left: var(--frame-left, 0px);
    right: 0;
    bottom: var(--frame-bottom, 0px);
    z-index: var(--z-sticky);
    display: flex;
    padding: 10px 16px calc(10px + var(--frame-safe-pad, env(safe-area-inset-bottom)));
    background: linear-gradient(180deg, color-mix(in srgb, var(--fd-bar) 70%, transparent), var(--fd-bar) 30%);
    border-top: 1px solid var(--fd-line-gold);
    box-sizing: border-box;
}

.wt-page[b-ghhx6v6c44]  .wt-sticky-bar .wt-button--gold {
    min-height: 60px;
}

@media (min-width: 1024px) {
    .wt-page[b-ghhx6v6c44]  .wt-sticky-bar {
        display: none;
    }
}

/* ---- The hub's shared pieces (pills, pips, panels, links) ---- */

.wt-page[b-ghhx6v6c44]  .wt-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 2.24em;
    padding: 2px 10px 2px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 72%, transparent);
    color: var(--fd-text-2);
    font: 600 calc(var(--gt-px) * 12.5) / 1.1 var(--font-primary);
    white-space: nowrap;
    box-sizing: border-box;
}

.wt-page[b-ghhx6v6c44]  .wt-pill .material-icons {
    font-size: var(--gt-lg);
    color: var(--fd-text-4);
}

.wt-page[b-ghhx6v6c44]  .wt-pill.is-xs {
    min-height: 2.09em;
    padding: 1px 8px 1px 6px;
    font-size: var(--gt-sm);
}

.wt-page[b-ghhx6v6c44]  .wt-pill.is-xs .material-icons {
    font-size: var(--gt-base);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--xp,
.wt-page[b-ghhx6v6c44]  .wt-pill--coin {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 32%, transparent);
    color: var(--fd-gold-soft);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--xp .material-icons,
.wt-page[b-ghhx6v6c44]  .wt-pill--coin .material-icons {
    color: var(--color-primary);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--boss {
    border-color: color-mix(in srgb, var(--fd-bad) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 40%, var(--color-bg-base));
    color: var(--fd-bad-ink);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--boss .material-icons {
    color: var(--fd-bad);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--party {
    border-color: color-mix(in srgb, var(--color-info-light) 50%, transparent);
    background: color-mix(in srgb, var(--fd-info-deep) 45%, transparent);
    color: var(--fd-info-ink);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--party .material-icons {
    color: var(--fd-info);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--premium {
    border-color: color-mix(in srgb, var(--wt-pin-premium) 55%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 16%, transparent);
    color: var(--color-monk-lightest);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--premium .material-icons {
    color: var(--color-monk-lightest);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--saga {
    border-color: color-mix(in srgb, var(--color-info-light) 45%, transparent);
    color: var(--fd-info-ink);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--saga .material-icons {
    color: var(--fd-info);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--hazard {
    border-color: color-mix(in srgb, var(--color-monk-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-monk) 22%, transparent);
    color: var(--color-monk-lightest);
}

.wt-page[b-ghhx6v6c44]  .wt-pill--hazard .material-icons {
    color: var(--color-monk-lightest);
}

.wt-page[b-ghhx6v6c44]  .wt-pips {
    display: inline-flex;
    gap: 3px;
}

.wt-page[b-ghhx6v6c44]  .wt-pips i {
    width: 10px;
    height: 11px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
}

.wt-page[b-ghhx6v6c44]  .wt-pips i.is-boss {
    background: var(--color-danger-dark);
}

.wt-page[b-ghhx6v6c44]  .wt-only {
    display: inline-flex;
    align-items: center;
    height: 2em;
    padding: 0 7px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--color-warning-light) 50%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 45%, transparent);
    color: var(--fd-warn-ink);
    font: 700 var(--gt-sm) / 1 var(--font-primary);
    white-space: nowrap;
}

.wt-page[b-ghhx6v6c44]  .wt-only.is-fit {
    border-color: color-mix(in srgb, var(--fd-good) 50%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 50%, transparent);
    color: var(--fd-good-ink);
}

.wt-page[b-ghhx6v6c44]  .wt-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--fd-gold-text);
    font: 600 var(--gt-md) / 1.2 var(--font-primary);
    text-decoration: none;
}

.wt-page[b-ghhx6v6c44]  .wt-link-arrow .material-icons {
    font-size: calc(var(--gt-px) * 17);
}

.wt-page[b-ghhx6v6c44]  .wt-spacer {
    flex: 1;
}

.wt-page[b-ghhx6v6c44]  .wt-k {
    font: 800 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fd-text-3);
}

.wt-page[b-ghhx6v6c44]  .wt-micro {
    font: 800 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.wt-page[b-ghhx6v6c44]  .wt-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--fd-line);
    background: var(--fd-card);
}

.wt-page[b-ghhx6v6c44]  .wt-panel-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.wt-page[b-ghhx6v6c44]  .wt-panel-title {
    margin: 0;
    font: 700 var(--gt-md) / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-page[b-ghhx6v6c44]  .wt-panel-rule {
    flex: 1;
    min-width: 30px;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 40%, transparent), transparent);
}

.wt-page[b-ghhx6v6c44]  .wt-new {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--color-cleric-light);
    color: var(--fd-on-gold);
    font: 800 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.wt-page[b-ghhx6v6c44]  .wt-panel-sub {
    margin: -4px 0 0;
    font: 500 calc(var(--gt-px) * 12.5) / 1.45 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-page[b-ghhx6v6c44]  .wt-panel-foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.wt-page[b-ghhx6v6c44]  .wt-panel-foot-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wt-page[b-ghhx6v6c44]  .wt-panel-note {
    display: flex;
    gap: 8px;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    font: 500 calc(var(--gt-px) * 12.5) / 1.45 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-page[b-ghhx6v6c44]  .wt-panel-note .material-icons {
    flex: none;
    font-size: calc(var(--gt-px) * 17);
    color: var(--fd-text-4);
}

.wt-page[b-ghhx6v6c44]  .wt-inline-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 45%, transparent);
    font: 500 calc(var(--gt-px) * 13.5) / 1.5 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-page[b-ghhx6v6c44]  .wt-inline-empty b {
    color: var(--fd-text);
}

.wt-page[b-ghhx6v6c44]  .wt-inline-empty-hex {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 46px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-800);
    color: var(--wt-ink);
}

@media (pointer: coarse) {
    .wt-page[b-ghhx6v6c44]  .wt-button {
        min-height: 44px;
    }

    .wt-page[b-ghhx6v6c44]  .wt-link-arrow {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-page[b-ghhx6v6c44]  .wt-skeleton-card {
        animation: none;
    }
}
/* /Components/Persona/PersonaTag.razor.rz.scp.css */
/* The "Lourdin team" tag beside Old Man Lourdin's name (Docs/LRPG_LETTERS.md 13.9). Tokens only. */
.pt-tag[b-isz541v7gt] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex: none;
    padding: 0.125rem 0.5rem 0.125rem 0.375rem;
    border: 1px solid var(--fd-line-gold-strong);
    border-radius: var(--radius-3xl);
    background: color-mix(in srgb, var(--color-primary-dark) 14%, transparent);
    color: var(--fd-gold-text);
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: none;
    font-family: var(--font-primary);
    white-space: nowrap;
    vertical-align: middle;
}

.pt-tag .material-icons[b-isz541v7gt] {
    font-size: var(--gt-base);
    line-height: 1;
}

.pt-compact[b-isz541v7gt] {
    padding: 0 0.375rem 0 0.25rem;
    font-size: var(--gt-sm);
}

.pt-compact .material-icons[b-isz541v7gt] {
    font-size: var(--gt-sm);
}

@media (forced-colors: active) {
    .pt-tag[b-isz541v7gt] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/Pets/PetCard.razor.rz.scp.css */
.pet-card[b-wtc4tum2bp] {
    background: linear-gradient(145deg, rgba(30,41,59,0.9), rgba(15,23,42,0.95));
    border: 1px solid rgba(148,163,184,0.2);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}

    .pet-card:hover:not(.pet-card-locked)[b-wtc4tum2bp] {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    }

    .pet-card.pet-card-selected[b-wtc4tum2bp] {
        border-width: 2px;
    }

    .pet-card.pet-card-locked[b-wtc4tum2bp] {
        cursor: default;
        opacity: 0.7;
    }

/* Image area */
.pet-card-image-wrapper[b-wtc4tum2bp] {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.pet-card-fallback[b-wtc4tum2bp] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pet-card-img[b-wtc4tum2bp] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-card-img-silhouette[b-wtc4tum2bp] {
    filter: brightness(0.4) saturate(0);
}

.img-locked[b-wtc4tum2bp] {
    filter: brightness(0.35);
}

/* Rarity badge */
.pet-card-rarity-badge[b-wtc4tum2bp] {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid;
    color: white;
    background: rgba(0,0,0,0.6);
}

/* Lock overlay */
.pet-card-lock-overlay[b-wtc4tum2bp] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0,0,0,0.4);
}

.lock-label[b-wtc4tum2bp] {
    font-size: var(--gt-sm);
    font-weight: 700;
    color: var(--color-warning-bright);
    letter-spacing: 0.05em;
}

/* Selected check */
.pet-card-selected-check[b-wtc4tum2bp] {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

/* Info area */
.pet-card-info[b-wtc4tum2bp] {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.pet-card-name[b-wtc4tum2bp] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.48);
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pet-card-level[b-wtc4tum2bp] {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--gt-sm);
}

.pet-level-badge[b-wtc4tum2bp] {
    color: #94a3b8;
    font-weight: 600;
}

.pet-stage-gem[b-wtc4tum2bp] {
    font-size: var(--gt-sm);
}

.pet-stage-gem.stage-1[b-wtc4tum2bp] { color: #94a3b8; }
.pet-stage-gem.stage-2[b-wtc4tum2bp] { color: #22d3ee; }
.pet-stage-gem.stage-3[b-wtc4tum2bp] { color: var(--color-warning-bright); }

.pet-card-mood[b-wtc4tum2bp] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    font-style: italic;
}

.pet-card-acquire-hint[b-wtc4tum2bp] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

/* Found by: the hero who found this companion (owner, 18 Nov 2026). A quiet line under the level; the card is narrow
   (about 105px at 1366), so the words wrap between words and never end in an ellipsis. */
.pet-card-found-by[b-wtc4tum2bp] {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin-top: 2px;
    font-size: var(--gt-sm);
    line-height: 1.3;
    color: var(--color-text-secondary);
}

.pet-card-found-icon[b-wtc4tum2bp] {
    flex: 0 0 auto;
    font-size: var(--gt-sm);
    line-height: 1.3;
    color: var(--color-primary-dark);
}

.pet-card-found-text[b-wtc4tum2bp] {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (forced-colors: active) {
    .pet-card-found-icon[b-wtc4tum2bp] {
        color: CanvasText;
    }
}
/* /Components/Pets/PetSelectionModal.razor.rz.scp.css */
.pet-selection-modal[b-6o23ajs7k9] {
    min-width: 560px;
    max-width: 780px;
}

.pet-modal-filters[b-6o23ajs7k9] {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pet-search[b-6o23ajs7k9] { flex: 1; }
.pet-rarity-filter[b-6o23ajs7k9] { width: 160px; }

.pet-modal-grid[b-6o23ajs7k9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: var(--space-md);
    max-height: 380px;
    overflow-y: auto;
    padding-right: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.pet-modal-none[b-6o23ajs7k9] {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    aspect-ratio: 1;
    cursor: pointer;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    transition: border-color 0.15s, background 0.15s;
}

    .pet-modal-none:hover[b-6o23ajs7k9] {
        border-color: rgba(148, 163, 184, 0.5);
        background: rgba(255, 255, 255, 0.03);
    }

    .pet-modal-none.selected[b-6o23ajs7k9] {
        border-color: var(--color-info);
        box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
    }

/* Stat preview */
.pet-modal-preview[b-6o23ajs7k9] {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.preview-pet-name[b-6o23ajs7k9] {
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--color-text-lighter);
    font-weight: 600;
}

.preview-stats-grid[b-6o23ajs7k9] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.preview-stat[b-6o23ajs7k9] {
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: var(--radius-sm);
    padding: 3px var(--space-sm);
    font-size: var(--gt-sm);
    color: #93c5fd;
    font-weight: 600;
}

.preview-affinity[b-6o23ajs7k9] {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--gt-sm);
    color: #fde68a;
    margin-top: var(--space-xs);
}
/* /Components/Shared/CharacterHeroStrip.razor.rz.scp.css */
/* ============================================
   CHARACTER HERO STRIP
   Shared horizontal character band (portrait + identity + vitals + side actions).
   The side-slot contents are styled by the host (parent CSS scope); everything
   rendered here is owned by this file.
   ============================================ */

.hero-strip[b-ro7l4tmym0] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-left: 3px solid var(--color-primary);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

/* Class accent on the strip's left edge */
.hero-strip.warrior[b-ro7l4tmym0]   { border-left-color: var(--color-warrior); }
.hero-strip.wizard[b-ro7l4tmym0]    { border-left-color: var(--color-wizard); }
.hero-strip.ranger[b-ro7l4tmym0]    { border-left-color: var(--color-ranger); }
.hero-strip.rogue[b-ro7l4tmym0]     { border-left-color: var(--color-rogue); }
.hero-strip.paladin[b-ro7l4tmym0]   { border-left-color: var(--color-paladin); }
.hero-strip.bard[b-ro7l4tmym0]      { border-left-color: var(--color-bard); }
.hero-strip.cleric[b-ro7l4tmym0]    { border-left-color: var(--color-cleric); }
.hero-strip.monk[b-ro7l4tmym0]      { border-left-color: var(--color-monk); }
.hero-strip.barbarian[b-ro7l4tmym0] { border-left-color: var(--color-barbarian); }
.hero-strip.pirate[b-ro7l4tmym0]    { border-left-color: var(--color-pirate); }

/* Framed portrait — the CharacterPortrait primitive (::deep pierces its isolation). */
.hero-strip[b-ro7l4tmym0]  .character-portrait {
    width: 76px;
    height: 76px;
    border: 2px solid var(--color-border-hover);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hero-strip[b-ro7l4tmym0]  a.character-portrait:hover,
.hero-strip[b-ro7l4tmym0]  .character-portrait.clickable:hover {
    border-color: var(--color-border-active);
    transform: scale(1.04);
}

.hero-strip[b-ro7l4tmym0]  .character-portrait-img {
    object-position: top center;
}

.hero-strip[b-ro7l4tmym0]  .character-portrait-fallback .mud-icon-root {
    opacity: 0.45;
    font-size: calc(var(--gt-px) * 35.2);
}

.hero-strip-identity[b-ro7l4tmym0] {
    min-width: 0;
    flex: 1 1 220px;
}

.hero-strip-name-row[b-ro7l4tmym0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-strip-name[b-ro7l4tmym0] {
    font-family: 'Cinzel', serif;
    font-size: calc(var(--gt-px) * 18.4);
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-strip-level[b-ro7l4tmym0] {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-gray-900);
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: calc(var(--gt-px) * 12.48);
    white-space: nowrap;
}

.hero-strip-subtitle[b-ro7l4tmym0] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0.15rem 0 0.4rem;
    min-width: 0;
}

.hero-strip-title[b-ro7l4tmym0] {
    font-size: calc(var(--gt-px) * 12.8);
    color: var(--color-text-primary);
    font-style: italic;
}

.hero-strip-info[b-ro7l4tmym0] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hero-strip-vitals[b-ro7l4tmym0] {
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 380px;
}

/* Bars are <ResourceBar> child components; ::deep tightens the inter-bar spacing.
   The bar look itself comes from the canonical .stat-bar + slim hero treatment. */
.hero-strip-vitals[b-ro7l4tmym0]  .stat-bar-container {
    margin-bottom: 0.45rem;
}

.hero-strip-vitals[b-ro7l4tmym0]  .stat-bar-container:last-child {
    margin-bottom: 0;
}

.hero-strip-side[b-ro7l4tmym0] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

/* ============================================
   COMBAT READINESS GRADE BADGE
   ============================================ */

.readiness-badge[b-ro7l4tmym0] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-sm);
    border: 1px solid currentColor;
    background: rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

.readiness-badge .mud-icon-root[b-ro7l4tmym0] {
    font-size: calc(var(--gt-px) * 15.2);
}

.readiness-a[b-ro7l4tmym0] { color: var(--color-success); }
.readiness-b[b-ro7l4tmym0] { color: #84cc16; }
.readiness-c[b-ro7l4tmym0] { color: #eab308; }
.readiness-d[b-ro7l4tmym0] { color: var(--color-warning); }
.readiness-f[b-ro7l4tmym0] { color: var(--color-danger); }

/* ============================================
   MICRO-STATS
   ============================================ */

.micro-stats[b-ro7l4tmym0] {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.micro-stat[b-ro7l4tmym0] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: calc(var(--gt-px) * 12.48);
    color: var(--color-text-light);
    font-weight: 600;
}

.micro-stat .mud-icon-root[b-ro7l4tmym0] {
    color: var(--color-warning-light);
    font-size: calc(var(--gt-px) * 15.2);
}

/* Max Level Badge (replaces the XP bar at level cap) */
.max-level-badge[b-ro7l4tmym0] {
    background: linear-gradient(135deg, var(--color-border-hover), rgba(218, 165, 32, 0.1));
    border: 1px solid var(--color-border-active);
    border-radius: 8px;
    padding: 0.4rem;
    text-align: center;
}

.max-level-text[b-ro7l4tmym0] {
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 12.8);
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-border-active);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero-strip[b-ro7l4tmym0] {
        flex-wrap: wrap;
    }

    .hero-strip-vitals[b-ro7l4tmym0] {
        flex-basis: 100%;
        max-width: none;
        order: 4;
    }

    .hero-strip-side[b-ro7l4tmym0] {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        order: 5;
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    .hero-strip[b-ro7l4tmym0] {
        gap: 0.85rem;
        padding: 0.85rem 1rem;
    }

    .hero-strip[b-ro7l4tmym0]  .character-portrait {
        width: 60px;
        height: 60px;
    }

    .hero-strip-name[b-ro7l4tmym0] {
        font-size: var(--gt-lg);
        font-family: var(--font-primary);
    }
}
/* /Components/Shared/ClassPortrait.razor.rz.scp.css */
/* The wrapper takes the box the img used to take; the page sizes it (its CssClass, through ::deep). The still fills
   it; the motion slot and the video js/class-portrait.js puts in it lie exactly over the still. The video is made by
   the script, so it carries no scope attribute: it is styled through the wrapper with ::deep. */

.cp[b-dckcuv5jl6] {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.cp__still[b-dckcuv5jl6] {
    display: block;
    width: 100%;
    height: 100%;
}

.cp__motion[b-dckcuv5jl6] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cp[b-dckcuv5jl6]  .cp__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Shown from its first decoded frame on (the still's own pixels), and kept shown through every hold: a hold sits on
   the loop's first frame, so nothing changes when it stops or starts again. */
.cp.is-moving[b-dckcuv5jl6]  .cp__video {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .cp[b-dckcuv5jl6]  .cp__video {
        display: none;
        transition: none;
    }
}
/* /Components/Shared/TavernCardChip.razor.rz.scp.css */
.tavern-card-chip[b-l1vjavs27t] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: var(--gt-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
    line-height: 1;
    white-space: nowrap;
}

.tavern-card-chip .mud-icon-root[b-l1vjavs27t] {
    font-size: calc(var(--gt-px) * 13.6);
}

.chip-upgrade[b-l1vjavs27t] {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.12));
    border-color: rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
    animation: chip-pulse-red-b-l1vjavs27t 2.4s infinite;
}

.chip-new[b-l1vjavs27t] {
    background: rgba(251, 146, 60, 0.18);
    border-color: rgba(251, 146, 60, 0.45);
    color: #fdba74;
}

.chip-recommended[b-l1vjavs27t] {
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(167, 139, 250, 0.1));
    border-color: rgba(167, 139, 250, 0.5);
    color: #c4b5fd;
}

.chip-gold[b-l1vjavs27t] {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--color-warning-bright);
}

.chip-ready[b-l1vjavs27t] {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.5);
    color: #86efac;
    animation: chip-pulse-green-b-l1vjavs27t 2.4s infinite;
}

.chip-info[b-l1vjavs27t] {
    background: rgba(148, 163, 184, 0.15);
    border-color: rgba(148, 163, 184, 0.35);
    color: #cbd5e1;
}

@keyframes chip-pulse-red-b-l1vjavs27t {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.25); }
    50%      { box-shadow: 0 0 16px rgba(239, 68, 68, 0.45); }
}

@keyframes chip-pulse-green-b-l1vjavs27t {
    0%, 100% { box-shadow: 0 0 8px rgba(34, 197, 94, 0.2); }
    50%      { box-shadow: 0 0 14px rgba(34, 197, 94, 0.4); }
}
/* /Components/Sheet/SheetAbilities.razor.rz.scp.css */
/* SheetAbilities (owner WP-W1). The cards' grid:
     no points    six across on a wide desktop (A-1920), three at 1366 (A-1366): the column count follows the content
                  width (auto-fill over a minimum that falls from 400px to 250px between about 1600 and 1680 wide,
                  min(100vw, 1920px)), so there is no off-list breakpoint; two at 768 (A-768); one on a phone.
     with points  the preview panel at the right (A-Points), the cards two or three across beside it; on a phone the
                  preview is a bar stuck to the screen's bottom (A-390-Stats).
   At 1024 the section sits in the right column (the page's grid): one card per row (A-1024). Tokens only, canonical
   breakpoints only, no animation. */

.sheet-abilities[b-sno1h6t7h0] {
    --sheet-abl-min: clamp(250px, calc(2770px - 1.5 * min(100vw, 1920px)), 400px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.sheet-abilities.has-preview[b-sno1h6t7h0] {
    --sheet-abl-min: 300px;
}

.sheet-abilities-body[b-sno1h6t7h0] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.sheet-abilities.has-preview .sheet-abilities-body[b-sno1h6t7h0] {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
}

.sheet-ability-grid[b-sno1h6t7h0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(var(--sheet-abl-min), 100%), 1fr));
    gap: 8px;
    align-items: stretch;
}

.sheet-points-banner[b-sno1h6t7h0] {
    margin: 0 0 4px;
}

.sheet-abilities-foot[b-sno1h6t7h0] {
    display: none;
}

/* The gear cap's one line under the cards (the sheet's section note look, no margin of its own). */
.sheet-abilities-cap[b-sno1h6t7h0] {
    margin: 0;
}

@media (max-width: 1280px) {
    .sheet-abilities[b-sno1h6t7h0] {
        --sheet-abl-min: 360px;
    }

    .sheet-abilities.has-preview[b-sno1h6t7h0] {
        --sheet-abl-min: 260px;
    }
}

/* 769 to 1024: one card per row in the right column; with points staged the section runs the page's width (the page's
   grid), so the cards and the preview sit side by side, as at 1280, and a stepper and what it changes are on screen
   together. */
@media (max-width: 1024px) {
    .sheet-abilities[b-sno1h6t7h0] {
        --sheet-abl-min: 100%;
    }

    .sheet-abilities.has-preview[b-sno1h6t7h0] {
        --sheet-abl-min: 220px;
    }

    .sheet-abilities.has-preview .sheet-abilities-body[b-sno1h6t7h0] {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    }
}

@media (max-width: 768px) {
    .sheet-abilities[b-sno1h6t7h0],
    .sheet-abilities.has-preview[b-sno1h6t7h0] {
        --sheet-abl-min: 260px;
    }

    .sheet-abilities.has-preview .sheet-abilities-body[b-sno1h6t7h0] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    .sheet-abilities[b-sno1h6t7h0],
    .sheet-abilities.has-preview[b-sno1h6t7h0] {
        --sheet-abl-min: 100%;
    }

    .sheet-abilities-body[b-sno1h6t7h0] {
        gap: 8px;
    }

    .sheet-abilities-foot[b-sno1h6t7h0] {
        display: block;
    }
}
/* /Components/Sheet/SheetAbilityCard.razor.rz.scp.css */
/* SheetAbilityCard (owner WP-W1; comps A-1920, A-Points, A-390-Stats): the score block beside what the score does; a
   Key score is gold-edged; staged points read gold; the steppers are gold squares (grey when they can't act). Tokens
   only, canonical breakpoints only, no animation. */

.sheet-ability[b-cz3924b87c] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 60%, transparent);
}

.sheet-ability.is-key[b-cz3924b87c],
.sheet-ability.is-staged[b-cz3924b87c] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg-elevated-alt));
}

.sheet-ability-score[b-cz3924b87c] {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 46px;
}

.sheet-ability-abbr[b-cz3924b87c] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
}

.sheet-ability.is-key .sheet-ability-abbr[b-cz3924b87c] {
    color: var(--color-primary);
}

.sheet-ability-value[b-cz3924b87c] {
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--gt-3xl);
    font-weight: 900;
    line-height: 1;
}

.sheet-ability-mod[b-cz3924b87c] {
    min-width: 2.78em;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: var(--gt-sm);
    font-weight: 700;
    text-align: center;
}

.sheet-ability-mod--pos[b-cz3924b87c] {
    background: color-mix(in srgb, var(--color-success-lighter) 12%, transparent);
    color: var(--color-success-lighter);
}

.sheet-ability-mod--zero[b-cz3924b87c] {
    background: color-mix(in srgb, var(--color-text-light) 10%, transparent);
    color: var(--color-text-light);
}

.sheet-ability-mod--neg[b-cz3924b87c] {
    background: color-mix(in srgb, var(--color-danger-lighter) 12%, transparent);
    color: var(--color-danger-lighter);
}

.sheet-ability-text[b-cz3924b87c] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sheet-ability-text h3[b-cz3924b87c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 700;
}

.sheet-ability-detail[b-cz3924b87c] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    line-height: 1.35;
}

.sheet-ability-split[b-cz3924b87c] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-ability-staged[b-cz3924b87c] {
    margin: 0;
    color: var(--sheet-gold-text);
    font-size: var(--gt-sm);
    font-weight: 700;
}

/* Two classes deep: the page's shared .sheet-tag rule reaches in with the page's scope. */
.sheet-ability.is-key .sheet-tag.sheet-tag--key[b-cz3924b87c],
.sheet-ability-text .sheet-tag.sheet-tag--cap[b-cz3924b87c] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--sheet-gold-text);
}

.sheet-stepper[b-cz3924b87c] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sheet-stepper-button[b-cz3924b87c] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-primary);
    cursor: pointer;
}

.sheet-stepper-button:disabled[b-cz3924b87c] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    background: transparent;
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.sheet-stepper-button:focus-visible[b-cz3924b87c] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-stepper-button[b-cz3924b87c]  .mud-icon-root {
    font-size: var(--gt-2xl);
}

@media (pointer: coarse) {
    .sheet-stepper-button[b-cz3924b87c] {
        width: 44px;
        height: 44px;
    }
}
/* /Components/Sheet/SheetBand.razor.rz.scp.css */
/* SheetBand (owner WP-W1; Docs/LRPG_CHARACTER_SHEET.md section 3). One markup, five looks:
     1281 and up (A-1920, A-1366)   the niche, the name over the class line and two-up vitals, chips and "XP to level"
                                    at the right.
     1025 to 1280 (A-1280)          the compact band: a small niche, the class line beside the name, one line of vitals,
                                    the chips only (the 720 floor).
     769 to 1024 (A-1024)           the niche, name and class line, vitals two-up, the chips stacked at the right.
     481 to 768 (A-768)             the chips under the class line, the vitals full width under it all.
     480 and down (A-390)           a small niche, the class without the race, the bars one per line, the grade only.
   The class color reads --sheet-class (set inline from --color-{class}); tokens only, canonical breakpoints only. */

.sheet-band[b-spn2gybj2h] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding: 18px 26px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: 18px;
    background: linear-gradient(100deg,
        color-mix(in srgb, var(--color-bg-elevated) 96%, transparent),
        color-mix(in srgb, var(--color-bg-elevated-alt) 94%, transparent) 62%,
        color-mix(in srgb, var(--color-bg-elevated-alt) 70%, transparent));
}

/* ---- The arched niche (the hall's language) ---- */

.sheet-band-niche[b-spn2gybj2h] {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 112px;
    overflow: hidden;
    border: 2px solid var(--color-primary-dark);
    border-radius: 999px 999px 18px 18px;
    background: var(--color-bg-base);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-dark) 10%, transparent), var(--shadow-xl);
    color: var(--sheet-class);
}

.sheet-band-niche img[b-spn2gybj2h] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.sheet-band-niche[b-spn2gybj2h]::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--color-bg-base) 75%, transparent));
    pointer-events: none;
}

.sheet-band-niche[b-spn2gybj2h]  .mud-icon-root {
    font-size: var(--gt-6xl);
}

/* ---- Name, class line ---- */

.sheet-band-who[b-spn2gybj2h] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sheet-band-title-row[b-spn2gybj2h] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sheet-band-name-wrap[b-spn2gybj2h] {
    position: relative;
    min-width: 0;
}

.sheet-band-name[b-spn2gybj2h] {
    margin: 0;
    font-size: inherit;
    line-height: 1;
}

.sheet-band-switch[b-spn2gybj2h] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    max-width: 100%;
    padding: 0 4px 0 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--sheet-cream);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 34);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.05;
    text-align: left;
    cursor: pointer;
}

.sheet-band-switch[aria-expanded="true"][b-spn2gybj2h] {
    border-color: var(--color-primary-dark);
    padding-inline: 10px 6px;
}

.sheet-band-switch:disabled[b-spn2gybj2h] {
    cursor: default;
}

.sheet-band-switch:focus-visible[b-spn2gybj2h] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-band-name-text[b-spn2gybj2h] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-band-switch[b-spn2gybj2h]  .mud-icon-root {
    flex: none;
    font-size: var(--gt-3xl);
    color: var(--sheet-eyebrow);
}

.sheet-band-line[b-spn2gybj2h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 15);
}

.sheet-band-class-title[b-spn2gybj2h] {
    color: color-mix(in srgb, var(--sheet-class) 50%, var(--color-text-primary));
    font-weight: 700;
}

.sheet-band-sep[b-spn2gybj2h] {
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.sheet-band-dim[b-spn2gybj2h] {
    color: var(--color-text-secondary);
}

.sheet-band-race-short[b-spn2gybj2h],
.sheet-xp-short[b-spn2gybj2h] {
    display: none;
}

/* ---- Vitals ---- */

.sheet-band-vitals[b-spn2gybj2h] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 24px;
    max-width: 760px;
}

.sheet-vital[b-spn2gybj2h] {
    display: grid;
    grid-template-columns: minmax(40px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sheet-vital-label[b-spn2gybj2h] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sheet-vital-bar[b-spn2gybj2h] {
    position: relative;
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.sheet-vital-fill[b-spn2gybj2h] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--color-success-dark), var(--color-success-light));
}

.sheet-vital--mana .sheet-vital-fill[b-spn2gybj2h] {
    background: linear-gradient(90deg, var(--color-info-dark), var(--color-info-light));
}

.sheet-vital--ki .sheet-vital-fill[b-spn2gybj2h] {
    background: linear-gradient(90deg, var(--color-monk), var(--color-ki));
}

.sheet-vital--swagger .sheet-vital-fill[b-spn2gybj2h] {
    background: linear-gradient(90deg, var(--color-swagger), var(--color-info-lighter));
}

.sheet-vital--channeldivinity .sheet-vital-fill[b-spn2gybj2h] {
    background: linear-gradient(90deg, var(--color-cleric), var(--color-success-lighter));
}

.sheet-vital--xp .sheet-vital-fill[b-spn2gybj2h] {
    background: linear-gradient(90deg, var(--color-primary-darker), var(--color-primary));
}

.sheet-vital-text[b-spn2gybj2h] {
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* ---- Side: chips, the grade's tips, XP to go ---- */

.sheet-band-side[b-spn2gybj2h] {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.sheet-band-chips[b-spn2gybj2h] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

/* "Rest at the inn" (Garrick's rooms upstairs): a quiet link chip in the night's violet. */
.sheet-chip--rest[b-spn2gybj2h] {
    color: var(--color-monk-light);
    text-decoration: none;
    border-color: color-mix(in srgb, var(--color-monk) 45%, transparent);
}

.sheet-chip--rest:hover[b-spn2gybj2h] {
    background: color-mix(in srgb, var(--color-monk) 14%, transparent);
}

.sheet-chip--rest:focus-visible[b-spn2gybj2h] {
    outline: 2px solid var(--color-monk-light);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .sheet-chip--rest[b-spn2gybj2h] {
        min-height: 44px;
    }
}

.sheet-band-next[b-spn2gybj2h] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-grade-wrap[b-spn2gybj2h] {
    position: relative;
}

.sheet-grade-tips[b-spn2gybj2h] {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: max-content;
    min-width: 240px;
    max-width: min(320px, calc(min(100vw, 1920px) - 32px));
    padding: 10px;
    border: 1px solid var(--sheet-line-strong);
    border-radius: 12px;
    background: var(--color-bg-elevated-alt);
    box-shadow: var(--shadow-xl);
}

.sheet-grade-tips-title[b-spn2gybj2h] {
    padding: 2px 4px 4px;
    color: var(--sheet-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sheet-grade-tip[b-spn2gybj2h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid var(--sheet-line);
    border-radius: 8px;
    background: var(--sheet-surface);
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--gt-md);
    text-align: left;
    cursor: pointer;
}

.sheet-grade-tip:hover[b-spn2gybj2h] {
    border-color: var(--sheet-gold-line);
}

.sheet-grade-tip:focus-visible[b-spn2gybj2h] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.sheet-grade-tip[b-spn2gybj2h]  .mud-icon-root {
    flex: none;
    font-size: var(--gt-xl);
    color: var(--sheet-eyebrow);
}

/* ---- Loading: the name and portrait now, the numbers as bars ---- */

.sheet-band-skeleton[b-spn2gybj2h] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 520px;
}

.sheet-band-skeleton span[b-spn2gybj2h],
.sheet-band-chip-skeleton[b-spn2gybj2h] {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    animation: sheet-band-pulse-b-spn2gybj2h 1.6s ease-in-out infinite;
}

.sheet-band-skeleton span:first-child[b-spn2gybj2h] {
    width: 60%;
}

.sheet-band-chip-skeleton[b-spn2gybj2h] {
    width: 120px;
    height: 28px;
}

@keyframes sheet-band-pulse-b-spn2gybj2h {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* ---- Touch: 44px targets ---- */

@media (pointer: coarse) {
    .sheet-grade-tip[b-spn2gybj2h] {
        min-height: 44px;
    }
}

/* ---- 1025 to 1280: the compact band (A-1280) ---- */

@media (max-width: 1280px) {
    .sheet-band[b-spn2gybj2h] {
        gap: 16px;
        padding: 10px 18px;
    }

    .sheet-band-niche[b-spn2gybj2h] {
        width: 58px;
        height: 68px;
    }

    .sheet-band-who[b-spn2gybj2h] {
        gap: 4px;
    }

    .sheet-band-title-row[b-spn2gybj2h] {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 16px;
    }

    .sheet-band-switch[b-spn2gybj2h] {
        min-height: 36px;
        font-size: var(--gt-3xl);
    }

    .sheet-band-line[b-spn2gybj2h] {
        font-size: var(--gt-md);
    }

    .sheet-band-next-title[b-spn2gybj2h],
    .sheet-band-next[b-spn2gybj2h] {
        display: none;
    }

    .sheet-band-vitals[b-spn2gybj2h] {
        max-width: 600px;
    }

    .sheet-band-side[b-spn2gybj2h] {
        flex-direction: row;
        align-items: center;
    }
}

/* A touch screen in the compact band (an iPad landscape at 1180) keeps the 44px touch bar for the switcher. */
@media (max-width: 1280px) and (pointer: coarse) {
    .sheet-band-switch[b-spn2gybj2h] {
        min-height: 44px;
    }
}

/* ---- 769 to 1024: tablet landscape (A-1024) ---- */

@media (max-width: 1024px) {
    .sheet-band[b-spn2gybj2h] {
        padding: 14px 16px;
    }

    .sheet-band-niche[b-spn2gybj2h] {
        width: 72px;
        height: 84px;
    }

    .sheet-band-title-row[b-spn2gybj2h] {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .sheet-band-switch[b-spn2gybj2h] {
        min-height: 44px;
        font-size: calc(var(--gt-px) * 26);
    }

    .sheet-band-vitals[b-spn2gybj2h] {
        max-width: none;
    }

    .sheet-band-side[b-spn2gybj2h] {
        flex-direction: column;
        align-items: flex-end;
    }

    .sheet-band-chips[b-spn2gybj2h] {
        flex-direction: column;
        align-items: flex-end;
    }
}

/* ---- 481 to 768: portrait tablet (A-768): the chips under the class line, the vitals the band's full width ---- */

@media (max-width: 768px) {
    .sheet-band[b-spn2gybj2h] {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "niche title"
            "niche side"
            "vitals vitals";
        gap: 6px 14px;
    }

    .sheet-band-niche[b-spn2gybj2h] {
        grid-area: niche;
    }

    .sheet-band-who[b-spn2gybj2h] {
        display: contents;
    }

    .sheet-band-title-row[b-spn2gybj2h] {
        grid-area: title;
        align-self: end;
    }

    .sheet-band-side[b-spn2gybj2h] {
        grid-area: side;
        align-items: flex-start;
        align-self: start;
    }

    .sheet-band-chips[b-spn2gybj2h] {
        flex-direction: row;
        justify-content: flex-start;
    }

    .sheet-band-vitals[b-spn2gybj2h],
    .sheet-band-skeleton[b-spn2gybj2h] {
        grid-area: vitals;
        margin-top: 6px;
    }

    /* The chips sit at the left here, so a popover anchored to the chip's right edge ran off the screen's left: the
       tips open under the band, its full width. */
    .sheet-grade-wrap[b-spn2gybj2h] {
        position: static;
    }

    .sheet-grade-tips[b-spn2gybj2h] {
        left: 0;
        right: 0;
        width: auto;
        min-width: 0;
        max-width: none;
    }
}

/* ---- 480 and down: phone (A-390) ---- */

@media (max-width: 480px) {
    .sheet-band[b-spn2gybj2h] {
        gap: 10px 12px;
        padding: 12px;
        border-radius: 16px;
    }

    .sheet-band-niche[b-spn2gybj2h] {
        width: 56px;
        height: 66px;
    }

    .sheet-band-switch[b-spn2gybj2h] {
        font-size: calc(var(--gt-px) * 21);
    }

    .sheet-band-line[b-spn2gybj2h] {
        font-size: calc(var(--gt-px) * 12.5);
    }

    .sheet-band-race-full[b-spn2gybj2h],
    .sheet-xp-full[b-spn2gybj2h],
    .sheet-chip--purse[b-spn2gybj2h] {
        display: none;
    }

    .sheet-band-race-short[b-spn2gybj2h],
    .sheet-xp-short[b-spn2gybj2h] {
        display: inline;
    }

    .sheet-band-vitals[b-spn2gybj2h] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sheet-vital[b-spn2gybj2h] {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sheet-band-skeleton span[b-spn2gybj2h],
    .sheet-band-chip-skeleton[b-spn2gybj2h] {
        animation: none;
    }
}
/* /Components/Sheet/SheetBoosts.razor.rz.scp.css */
/* SheetBoosts (owner WP-W1): the strengthen strip (comps A-1920 to A-390). The lead card is wider and green (clear
   upgrades, Equip all in gold); the others are quiet. 1281 and up: one row (1.5fr 1fr 1fr); 1025 to 1280: one row,
   no heading (the 720 floor); 1024 and down: the lead on a row of its own, the others two-up; 480 and down: the first
   card only, its button full width. Tokens only, canonical breakpoints only, no animation. */

.sheet-boosts[b-a1ofmp1q9n] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sheet-boosts-title[b-a1ofmp1q9n] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--sheet-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.sheet-boosts-title[b-a1ofmp1q9n]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 17);
}

.sheet-boosts-cards[b-a1ofmp1q9n] {
    display: grid;
    grid-template-columns: repeat(var(--sheet-boost-count, 3), minmax(0, 1fr));
    gap: 12px;
}

.sheet-boosts-cards--1[b-a1ofmp1q9n] { --sheet-boost-count: 1; }
.sheet-boosts-cards--2[b-a1ofmp1q9n] { --sheet-boost-count: 2; }

.sheet-boosts-cards--3.has-lead[b-a1ofmp1q9n] {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
}

.sheet-boosts-cards--2.has-lead[b-a1ofmp1q9n] {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.sheet-boost[b-a1ofmp1q9n] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--sheet-line);
    border-radius: 14px;
    background: var(--sheet-card);
}

.sheet-boost.is-lead[b-a1ofmp1q9n] {
    border-color: color-mix(in srgb, var(--color-success-light) 45%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-success-dark) 28%, var(--color-bg-elevated-alt)), color-mix(in srgb, var(--color-bg-elevated-alt) 95%, transparent));
}

.sheet-boost-hex[b-a1ofmp1q9n] {
    width: 38px;
    height: 43px;
}

.sheet-boost.is-lead .sheet-boost-hex[b-a1ofmp1q9n] {
    background: linear-gradient(180deg, var(--color-success-lighter), var(--color-success-dark));
}

.sheet-boost-text[b-a1ofmp1q9n] {
    flex: 1;
    min-width: 0;
}

.sheet-boost-text h3[b-a1ofmp1q9n] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 700;
}

.sheet-boost-text p[b-a1ofmp1q9n] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.35;
}

.sheet-boost-link[b-a1ofmp1q9n] {
    flex: none;
}

.sheet-boost-label-phone[b-a1ofmp1q9n],
.sheet-boost-detail-short[b-a1ofmp1q9n] {
    display: none;
}

@media (max-width: 1280px) {
    .sheet-boosts-title[b-a1ofmp1q9n] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .sheet-boost[b-a1ofmp1q9n] {
        padding: 9px 12px;
    }

    /* The 720 floor's short copy (A-1280). */
    .sheet-boost-detail-full[b-a1ofmp1q9n] {
        display: none;
    }

    .sheet-boost-detail-short[b-a1ofmp1q9n] {
        display: inline;
    }
}

@media (max-width: 1024px) {
    .sheet-boosts-title[b-a1ofmp1q9n] {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
    }

    .sheet-boosts-cards[b-a1ofmp1q9n],
    .sheet-boosts-cards--2.has-lead[b-a1ofmp1q9n],
    .sheet-boosts-cards--3.has-lead[b-a1ofmp1q9n] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sheet-boosts-cards--1[b-a1ofmp1q9n] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sheet-boosts-cards.has-lead .sheet-boost.is-lead[b-a1ofmp1q9n],
    .sheet-boosts-cards--3:not(.has-lead) .sheet-boost:first-child[b-a1ofmp1q9n] {
        grid-column: 1 / -1;
    }

    .sheet-boost.is-lead[b-a1ofmp1q9n] {
        padding: 12px 14px;
    }

    .sheet-boost-detail-full[b-a1ofmp1q9n] {
        display: inline;
    }

    .sheet-boost-detail-short[b-a1ofmp1q9n] {
        display: none;
    }
}

@media (max-width: 768px) {
    .sheet-boosts-title[b-a1ofmp1q9n] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .sheet-boosts-cards[b-a1ofmp1q9n],
    .sheet-boosts-cards--2.has-lead[b-a1ofmp1q9n],
    .sheet-boosts-cards--3.has-lead[b-a1ofmp1q9n] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* One step on a phone (comp A-390): the lead when there is one, else the first. */
    .sheet-boost:not(:first-child)[b-a1ofmp1q9n] {
        display: none;
    }

    .sheet-boost.is-lead[b-a1ofmp1q9n] {
        flex-wrap: wrap;
        padding: 14px;
        border-radius: 14px;
    }

    .sheet-boost.is-lead .sheet-boost-action[b-a1ofmp1q9n] {
        flex: 1 1 100%;
        min-height: 48px;
        margin-top: 4px;
        font-size: calc(var(--gt-px) * 15);
    }

    .sheet-boost.is-lead .sheet-boost-label-wide[b-a1ofmp1q9n],
    .sheet-boost-detail-full[b-a1ofmp1q9n] {
        display: none;
    }

    .sheet-boost-detail-short[b-a1ofmp1q9n] {
        display: inline;
    }

    .sheet-boost.is-lead .sheet-boost-label-phone[b-a1ofmp1q9n] {
        display: inline;
    }
}
/* /Components/Sheet/SheetCombat.razor.rz.scp.css */
/* SheetCombat (owner WP-W1). The tiles' grid per tier:
     1281 and up (A-1920, A-1366)  three columns, the open armor class tile two rows tall, the saves under them.
     1025 to 1280 (A-1280)         two columns; the four main numbers, then the saves, then critical hits (the 720 floor).
     769 to 1024 (A-1024)          two columns, the last odd tile full width.
     481 to 768 (A-768)            three columns.
     480 and down (A-390-Stats)    two columns; the four main numbers and the saves, the rest after.
   Two-key classes (A-TwoKeys): the shared tiles, then each Key score's cluster in a framed panel. Tokens only, canonical
   breakpoints only, no animation. */

.sheet-combat[b-t06lqawr5a] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.sheet-combat-grid[b-t06lqawr5a] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.sheet-combat-grid[b-t06lqawr5a]  .sheet-number--armorclass.is-open {
    grid-row: span 2;
}

.sheet-combat-grid[b-t06lqawr5a]  .sheet-saves {
    grid-column: 1 / -1;
    order: 5;
}

.sheet-combat-grid[b-t06lqawr5a]  .sheet-number {
    align-self: stretch;
}

/* Two Key scores (A-TwoKeys): the shared row holds only armor class and turn order, so armor class stays one row tall
   and the saves take the third column beside them (they used to leave a hole beside the armor class breakdown). */
.sheet-combat.is-two-keys > .sheet-combat-grid[b-t06lqawr5a]  .sheet-number--armorclass.is-open {
    grid-row: auto;
}

.sheet-combat.is-two-keys > .sheet-combat-grid[b-t06lqawr5a]  .sheet-saves {
    grid-column: 3 / -1;
    order: 0;
}

/* One column holds the six saves there: three across, two rows. */
.sheet-combat.is-two-keys > .sheet-combat-grid[b-t06lqawr5a]  .sheet-saves-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sheet-combat-spells[b-t06lqawr5a] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.sheet-combat-spells-head[b-t06lqawr5a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sheet-combat-grid--spells[b-t06lqawr5a] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---- Two Key scores: one cluster each ---- */

.sheet-clusters[b-t06lqawr5a] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.sheet-cluster[b-t06lqawr5a] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-radius: 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-elevated) 70%, transparent), color-mix(in srgb, var(--color-bg-elevated-alt) 90%, transparent));
}

.sheet-cluster-head[b-t06lqawr5a] {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.sheet-cluster-head[b-t06lqawr5a]  .mud-icon-root {
    flex: none;
    font-size: calc(var(--gt-px) * 22);
}

.sheet-cluster-head h3[b-t06lqawr5a] {
    flex: 1;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sheet-cluster-chip[b-t06lqawr5a] {
    flex: none;
    display: inline-flex;
    align-items: center;
    height: 2.33em;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary-darker) 38%, transparent);
    color: var(--sheet-gold-text);
    font-size: var(--gt-sm);
    font-weight: 700;
    white-space: nowrap;
}

.sheet-combat-grid--cluster[b-t06lqawr5a] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sheet-combat-book[b-t06lqawr5a] {
    align-self: flex-start;
}

/* ---- 1025 to 1280: the 720 floor ---- */

@media (max-width: 1280px) {
    .sheet-combat-grid[b-t06lqawr5a] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sheet-combat-grid[b-t06lqawr5a]  .sheet-number--armorclass.is-open {
        grid-row: auto;
    }

    .sheet-combat-grid[b-t06lqawr5a]  .sheet-number.is-secondary {
        order: 6;
    }

    .sheet-combat.is-two-keys > .sheet-combat-grid[b-t06lqawr5a]  .sheet-saves {
        grid-column: 1 / -1;
        order: 5;
    }

    .sheet-combat.is-two-keys > .sheet-combat-grid[b-t06lqawr5a]  .sheet-saves-list {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* ---- 769 to 1024: tablet landscape (the last tile of an odd count runs the full width) ----
   The main grid ends with the saves block, so its last tile is the second last child; the spell and cluster grids
   hold tiles only. */

@media (max-width: 1024px) {
    .sheet-combat-grid[b-t06lqawr5a]  .sheet-number.is-secondary {
        order: 0;
    }

    .sheet-combat-grid:not(.sheet-combat-grid--spells):not(.sheet-combat-grid--cluster)[b-t06lqawr5a]  .sheet-number:nth-last-child(2):nth-child(odd),
    .sheet-combat-grid--spells[b-t06lqawr5a]  .sheet-number:last-child:nth-child(odd),
    .sheet-combat-grid--cluster[b-t06lqawr5a]  .sheet-number:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ---- 481 to 768: portrait tablet ---- */

@media (max-width: 768px) {
    .sheet-combat-grid[b-t06lqawr5a] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* The 1024 rule's own selector: a shorter one loses to it, and a five-tile hero kept Turn order alone on a row. */
    .sheet-combat-grid:not(.sheet-combat-grid--spells):not(.sheet-combat-grid--cluster)[b-t06lqawr5a]  .sheet-number:nth-last-child(2):nth-child(odd) {
        grid-column: auto;
    }

    .sheet-combat-grid--spells[b-t06lqawr5a],
    .sheet-combat-grid--cluster[b-t06lqawr5a] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---- 480 and down: phone (the four main numbers and the saves first) ---- */

@media (max-width: 480px) {
    .sheet-combat-grid[b-t06lqawr5a] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .sheet-combat-grid[b-t06lqawr5a]  .sheet-number.is-secondary {
        order: 6;
    }

    .sheet-combat-grid:not(.sheet-combat-grid--spells):not(.sheet-combat-grid--cluster)[b-t06lqawr5a]  .sheet-number:nth-last-child(2):nth-child(odd),
    .sheet-combat-grid--spells[b-t06lqawr5a]  .sheet-number:last-child:nth-child(odd),
    .sheet-combat-grid--cluster[b-t06lqawr5a]  .sheet-number:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .sheet-cluster[b-t06lqawr5a] {
        padding: 12px;
    }
}
/* /Components/Sheet/SheetCompanion.razor.rz.scp.css */
/* SheetCompanion (owner WP-W1): a quiet strip card under Combat (comp A-1920: a dark hex with a gold paw, the title,
   one line, the Stables button). Tokens only, canonical breakpoints only, no animation. */

.sheet-companion[b-7j41rtis96] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 14px;
    background: var(--sheet-card);
}

.sheet-companion-hex[b-7j41rtis96] {
    width: 38px;
    height: 43px;
}

.sheet-companion-portrait[b-7j41rtis96] {
    flex: none;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
    border-radius: 50%;
    background: var(--color-bg-base);
}

.sheet-companion-portrait img[b-7j41rtis96] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sheet-companion-text[b-7j41rtis96] {
    flex: 1;
    min-width: 0;
}

.sheet-companion-text h2[b-7j41rtis96] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 700;
}

.sheet-companion-level[b-7j41rtis96] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.sheet-companion-text p[b-7j41rtis96] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.35;
}

.sheet-companion-text .sheet-companion-bonus[b-7j41rtis96] {
    color: var(--sheet-good-text);
    font-weight: 600;
}

.sheet-companion-text .sheet-companion-reason[b-7j41rtis96] {
    font-style: italic;
}
/* /Components/Sheet/SheetCompare.razor.rz.scp.css */
/* SheetCompare (owner WP-W1): the frame. As a panel (comp A-Compare) it replaces the pack column, gold-edged and
   raised; as a bottom sheet (comp A-390) it rises from the screen's bottom over a scrim, with a grab handle, capped to
   the screen's height and scrolling inside. Tokens only, canonical breakpoints only; the sheet's rise honors
   prefers-reduced-motion. */

.sheet-compare[b-4hqssxa9qu] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 32%, transparent);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--color-bg-elevated-alt), var(--color-bg-base));
    box-shadow: 0 24px 60px color-mix(in srgb, var(--color-bg-base) 55%, transparent);
    color: var(--color-text-primary);
}

.sheet-compare:focus-visible[b-4hqssxa9qu] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-compare--panel:focus[b-4hqssxa9qu] {
    outline: none;
}

.sheet-compare-layer[b-4hqssxa9qu] {
    position: fixed;
    inset: 0;
    z-index: calc(var(--mud-zindex-appbar, 1300) + 10);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.sheet-compare-scrim[b-4hqssxa9qu] {
    position: absolute;
    inset: 0;
    border: none;
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
    cursor: default;
}

.sheet-compare--bottomsheet[b-4hqssxa9qu] {
    position: relative;
    /* Under the frame's top (--frame-top, Docs/LRPG_GAME_MENU.md 5.9). */
    max-height: calc(100vh - var(--frame-top, 64px));
    max-height: calc(100dvh - var(--frame-top, 64px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
    width: min(640px, 100%);
    margin-inline: auto;
    border-width: 1px 1px 0;
    border-radius: 22px 22px 0 0;
    animation: sheet-compare-rise-b-4hqssxa9qu 0.22s ease-out;
}

.sheet-compare--bottomsheet:focus[b-4hqssxa9qu] {
    outline: none;
}

.sheet-compare-grab[b-4hqssxa9qu] {
    align-self: center;
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
}

@keyframes sheet-compare-rise-b-4hqssxa9qu {
    from { transform: translateY(24px); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
    .sheet-compare--bottomsheet[b-4hqssxa9qu] {
        width: 100%;
        border-width: 1px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sheet-compare--bottomsheet[b-4hqssxa9qu] {
        animation: none;
    }
}
/* /Components/Sheet/SheetCompareBody.razor.rz.scp.css */
/* SheetCompareBody (owner WP-W1; comp A-Compare): the item's head (a rarity-tinted icon, the name in Cinzel), the lore
   in EB Garamond, the four-column table (green up, red down, grey same), the notes, the actions. Tokens only, canonical
   breakpoints only, no animation. */

.sheet-compare-head[b-qtongjdkua] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sheet-compare-ic[b-qtongjdkua] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid color-mix(in srgb, var(--sheet-rarity) 65%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--sheet-rarity) 20%, var(--color-bg-base));
    color: color-mix(in srgb, var(--sheet-rarity) 55%, var(--color-text-primary));
}

.sheet-compare-ic[b-qtongjdkua]  .mud-icon-root {
    font-size: var(--gt-4xl);
}

.sheet-compare-title[b-qtongjdkua] {
    flex: 1;
    min-width: 0;
}

.sheet-compare-title h2[b-qtongjdkua] {
    margin: 0;
    color: var(--sheet-cream);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 17);
    font-weight: 800;
}

.sheet-compare-title p[b-qtongjdkua] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-compare-close[b-qtongjdkua] {
    align-self: flex-start;
}

.sheet-compare-lore[b-qtongjdkua] {
    margin: 0;
    color: color-mix(in srgb, var(--color-primary-light) 25%, var(--color-text-light));
    font-family: 'EB Garamond', Georgia, serif;
    font-size: var(--gt-base);
    font-style: italic;
    line-height: 1.45;
}

.sheet-compare-table[b-qtongjdkua] {
    width: 100%;
    border-collapse: collapse;
    font-size: calc(var(--gt-px) * 12.5);
}

.sheet-compare-table thead th[b-qtongjdkua] {
    padding: 0 0 6px 14px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.sheet-compare-table thead .sheet-compare-instead[b-qtongjdkua] {
    padding-left: 0;
    text-align: left;
    white-space: normal;
}

.sheet-compare-table tbody th[b-qtongjdkua] {
    padding: 3px 0;
    color: var(--color-text-light);
    font-weight: 400;
    text-align: left;
}

.sheet-compare-table td[b-qtongjdkua] {
    padding: 3px 0 3px 14px;
    color: var(--color-text-primary);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.sheet-compare-change[b-qtongjdkua] {
    min-width: 44px;
    font-weight: 800;
}

.sheet-compare-change[b-qtongjdkua]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 15);
    vertical-align: -3px;
}

tr.is-up .sheet-compare-change[b-qtongjdkua] {
    color: var(--color-success-lighter);
}

tr.is-down .sheet-compare-change[b-qtongjdkua] {
    color: var(--color-danger-lighter);
}

tr.is-same .sheet-compare-change[b-qtongjdkua] {
    color: var(--color-text-secondary);
}

.sheet-compare-worn[b-qtongjdkua] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.sheet-compare-worn[b-qtongjdkua]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-success-light);
}

.sheet-compare-actions[b-qtongjdkua] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 10px;
}
/* /Components/Sheet/SheetFeatures.razor.rz.scp.css */
/* SheetFeatures (owner WP-W1). Now: feature cards with a gold hex (two-up on the desktop, A-1920; one per row at 1024,
   A-1024; two-up at 768; one on a phone with NOW / NEXT headings and one row per coming level, A-390-More). The
   desktop's "Next" is one dashed line with All levels; the timeline (A-Story) is a panel of levels, a hex per level
   (gold once reached), its entries beside it. Tokens only, canonical breakpoints only, no animation. */

.sheet-features[b-3y4i5ywj4o] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.sheet-features-sub[b-3y4i5ywj4o] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sheet-feature-list[b-3y4i5ywj4o] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sheet-next-list[b-3y4i5ywj4o],
.sheet-features-sub--next[b-3y4i5ywj4o],
.sheet-next-all[b-3y4i5ywj4o] {
    display: none;
}

.sheet-feature[b-3y4i5ywj4o] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 55%, transparent);
}

.sheet-feature--next[b-3y4i5ywj4o] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-primary) 3%, transparent);
}

.sheet-feature-next-line[b-3y4i5ywj4o] {
    align-items: center;
}

.sheet-feature-hex[b-3y4i5ywj4o] {
    width: 34px;
    height: 39px;
}

.sheet-feature-text[b-3y4i5ywj4o] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sheet-feature-name[b-3y4i5ywj4o] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--color-text-primary);
    font-size: var(--gt-md);
    font-weight: 700;
}

.sheet-feature-detail[b-3y4i5ywj4o] {
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    line-height: 1.4;
}

.sheet-feature-meta[b-3y4i5ywj4o] {
    margin-top: 2px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-act[b-3y4i5ywj4o] {
    display: inline-flex;
    align-items: center;
    height: 2em;
    padding: 0 7px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.06em;
}

/* ---- The timeline (A-Story) ---- */

.sheet-timeline[b-3y4i5ywj4o] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 6px 16px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-elevated) 70%, transparent), color-mix(in srgb, var(--color-bg-elevated-alt) 90%, transparent));
    list-style: none;
}

.sheet-timeline-level[b-3y4i5ywj4o] {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 62px;
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

.sheet-timeline-level:last-child[b-3y4i5ywj4o] {
    border-bottom: none;
}

.sheet-timeline-hex[b-3y4i5ywj4o] {
    width: 40px;
    height: 46px;
    background: var(--color-bg-elevated);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 900;
}

.sheet-timeline-level.is-reached .sheet-timeline-hex[b-3y4i5ywj4o] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
}

.sheet-timeline-level.is-current .sheet-timeline-hex[b-3y4i5ywj4o] {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.sheet-timeline-entries[b-3y4i5ywj4o] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 4px 0 0;
    list-style: none;
}

.sheet-timeline-entries li[b-3y4i5ywj4o] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    font-size: var(--gt-md);
}

.sheet-timeline-entries li[b-3y4i5ywj4o]  .mud-icon-root {
    align-self: center;
    font-size: calc(var(--gt-px) * 15);
    color: var(--sheet-eyebrow);
}

.sheet-timeline-text[b-3y4i5ywj4o] {
    color: var(--color-text-primary);
}

.sheet-timeline-detail[b-3y4i5ywj4o] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-timeline-here span[b-3y4i5ywj4o] {
    display: inline-flex;
    height: 1.82em;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
    color: var(--sheet-gold-text);
    font-size: var(--gt-sm);
    font-weight: 700;
}

/* ---- Tiers ---- */

@media (max-width: 1024px) {
    .sheet-feature-list[b-3y4i5ywj4o] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .sheet-feature-list[b-3y4i5ywj4o] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sheet-feature-list[b-3y4i5ywj4o] {
        grid-template-columns: minmax(0, 1fr);
    }

    /* NOW / NEXT headings and a row per coming level (A-390-More). */
    .sheet-features-sub[b-3y4i5ywj4o] {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 4px 0 0;
        color: var(--color-primary);
        font-family: var(--font-primary);
        font-size: calc(var(--gt-px) * 15);
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
    }

    .sheet-features-sub[b-3y4i5ywj4o]::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
    }

    .sheet-feature-next-line[b-3y4i5ywj4o] {
        display: none;
    }

    .sheet-next-list[b-3y4i5ywj4o] {
        display: grid;
    }

    .sheet-next-all[b-3y4i5ywj4o] {
        display: inline-flex;
        align-self: flex-start;
    }

    .sheet-timeline[b-3y4i5ywj4o] {
        padding: 4px 12px;
    }

    .sheet-timeline-level[b-3y4i5ywj4o] {
        gap: 12px;
    }
}
/* /Components/Sheet/SheetGear.razor.rz.scp.css */
/* SheetGear (owner WP-W1): the slots in two columns (Armor | Weapons over Jewelry), comps A-1920 to A-768; on a phone
   one column of rows under Armor / Weapons / Jewelry headings (A-390). Tokens only, canonical breakpoints only. */

.sheet-gear[b-klk28wd857] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.sheet-gear-groups[b-klk28wd857] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "armor weapons"
        "armor jewelry";
    grid-template-rows: auto 1fr;
    gap: 8px 12px;
    align-items: start;
}

.sheet-gear-group[b-klk28wd857] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sheet-gear-group--armor[b-klk28wd857] { grid-area: armor; }
.sheet-gear-group--weapons[b-klk28wd857] { grid-area: weapons; }
.sheet-gear-group--jewelry[b-klk28wd857] { grid-area: jewelry; }

.sheet-gear-group-head[b-klk28wd857] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 2px 0 -2px 2px;
}

.sheet-gear-label[b-klk28wd857] {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sheet-gear-ac[b-klk28wd857] {
    display: none;
}

@media (max-width: 480px) {
    .sheet-gear-head .sheet-heading[b-klk28wd857],
    .sheet-gear-head .sheet-section-note[b-klk28wd857] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .sheet-gear-groups[b-klk28wd857] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "armor" "weapons" "jewelry";
        grid-template-rows: none;
        gap: 14px;
    }

    .sheet-gear-group-head[b-klk28wd857] {
        gap: 12px;
        margin: 0;
    }

    /* The group titles read as the section headings here (comp A-390: ARMOR, AC 14). */
    .sheet-gear-label[b-klk28wd857] {
        display: flex;
        flex: 1;
        align-items: center;
        gap: 12px;
        color: var(--color-primary);
        font-family: var(--font-primary);
        font-size: calc(var(--gt-px) * 15);
        font-weight: 700;
        letter-spacing: 0.2em;
    }

    .sheet-gear-label[b-klk28wd857]::after {
        content: '';
        flex: 1;
        height: 1px;
        background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
    }

    .sheet-gear-ac[b-klk28wd857] {
        display: inline;
    }
}

/* "Your training" (D16): the Market's view of what the class can wear and wield (W2, Docs/LRPG_MERCHANT.md 5.3). */
.sheet-gear-training[b-klk28wd857] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    min-height: 44px;
    color: var(--color-gold);
    font-size: var(--gt-sm);
    font-weight: 700;
    text-decoration: none;
}

.sheet-gear-training:hover[b-klk28wd857],
.sheet-gear-training:focus-visible[b-klk28wd857] {
    color: var(--color-warning-bright);
}

.sheet-gear-training[b-klk28wd857]  .mud-icon-root {
    font-size: var(--gt-lg);
}
/* /Components/Sheet/SheetNumber.razor.rz.scp.css */
/* SheetNumber (owner WP-W1): one Combat tile (comps A-1920 to A-390, A-Compare, A-TwoKeys). The label in small caps
   with a gold icon, the value in Cinzel, one line of how it is made; an open tile is gold-edged with its breakdown
   rows and their total. Tokens only, canonical breakpoints only, no animation. */

.sheet-number[b-635j5xlvju] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 60%, transparent);
}

.sheet-number.is-open[b-635j5xlvju],
.sheet-number.has-preview.is-highlighted[b-635j5xlvju] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg-elevated-alt));
}

.sheet-number-face[b-635j5xlvju] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 3px;
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}

button.sheet-number-face[b-635j5xlvju] {
    cursor: pointer;
}

button.sheet-number-face:hover .sheet-number-label[b-635j5xlvju] {
    color: var(--color-text-light);
}

button.sheet-number-face:focus-visible[b-635j5xlvju] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-number.is-open .sheet-number-face[b-635j5xlvju] {
    padding-bottom: 6px;
}

.sheet-number-label[b-635j5xlvju] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sheet-number-label[b-635j5xlvju]  .mud-icon-root {
    flex: none;
    font-size: calc(var(--gt-px) * 15);
    color: var(--sheet-eyebrow);
}

.sheet-number-value[b-635j5xlvju] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 26);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1.05;
    white-space: nowrap;
}

.sheet-number-preview[b-635j5xlvju] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.72em;
}

.sheet-number-preview.is-up[b-635j5xlvju] {
    color: var(--color-success-lighter);
}

.sheet-number-preview.is-down[b-635j5xlvju] {
    color: var(--color-danger-lighter);
}

.sheet-number-preview[b-635j5xlvju]  .mud-icon-root {
    font-size: var(--gt-xl);
}

.sheet-number-detail[b-635j5xlvju] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.35;
}

.sheet-number-break[b-635j5xlvju] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 14px 12px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.sheet-breakdown[b-635j5xlvju] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.sheet-breakdown-row[b-635j5xlvju] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
}

.sheet-breakdown-row dt[b-635j5xlvju] {
    min-width: 0;
}

.sheet-breakdown-row dd[b-635j5xlvju] {
    margin: 0;
    color: var(--color-text-primary);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sheet-breakdown-row.is-total[b-635j5xlvju] {
    padding-top: 4px;
    border-top: 1px dashed color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    color: var(--sheet-gold-text);
}

.sheet-breakdown-row.is-total dd[b-635j5xlvju] {
    color: var(--sheet-gold-text);
}

.sheet-number-note[b-635j5xlvju] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.35;
}

@media (max-width: 480px) {
    .sheet-number-face[b-635j5xlvju] {
        padding: 10px 12px;
    }

    .sheet-number-value[b-635j5xlvju] {
        font-size: var(--gt-3xl);
    }
}
/* /Components/Sheet/SheetPack.razor.rz.scp.css */
/* SheetPack (owner WP-W1): filters as pressed pills with counts, the rows, the potion line (comps A-1920, A-1366). At
   the 1280 x 720 floor the filters fold away and the heading counts the items (A-1280); at 768 the rows run two-up
   (A-768). Above 768 the rows scroll in their own box and gear the hero can never use folds under "Never yours".
   Tokens only, canonical breakpoints only, no animation. */

.sheet-pack[b-uqzq6ho7tm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sheet-pack-count[b-uqzq6ho7tm] {
    display: none;
}

.sheet-pack-filters[b-uqzq6ho7tm] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sheet-pack-filter[b-uqzq6ho7tm] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    border-radius: 999px;
    background: var(--sheet-surface);
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--gt-sm);
    font-weight: 600;
    cursor: pointer;
}

.sheet-pack-filter:hover[b-uqzq6ho7tm] {
    border-color: var(--sheet-gold-line);
}

.sheet-pack-filter.is-active[b-uqzq6ho7tm] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--sheet-gold-tint);
    color: var(--sheet-gold-text);
}

.sheet-pack-filter:focus-visible[b-uqzq6ho7tm] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-pack-filter-count[b-uqzq6ho7tm] {
    color: var(--color-text-secondary);
    font-weight: 700;
}

.sheet-pack-items[b-uqzq6ho7tm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* The rows and the fold share one box. Above 768 it scrolls on its own (about eight rows), so the Gear | Combat | Pack
   row stays as tall as Gear and Combat and Abilities sits right under it (owner, 9 Nov 2026: a pack of 43 items made
   that row about 2,800px tall); the cap shows eight rows and half of the ninth, so the box reads as one that scrolls. The
   4px padding keeps the rows' focus ring (2px outline, 2px offset) and gold selection ring inside the scrollport; the
   box does not trap the wheel, so the page scrolls on past it. */
.sheet-pack-scroll[b-uqzq6ho7tm] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    max-height: 566px;
    overflow-y: auto;
    padding: 4px;
    margin: -4px;
}

.sheet-pack-fold[b-uqzq6ho7tm] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 12px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sheet-pack-fold:hover[b-uqzq6ho7tm] {
    border-color: var(--sheet-gold-line);
}

.sheet-pack-fold:focus-visible[b-uqzq6ho7tm] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-pack-fold-ic[b-uqzq6ho7tm] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--color-text-secondary);
}

.sheet-pack-fold-text[b-uqzq6ho7tm] {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.sheet-pack-fold-title[b-uqzq6ho7tm] {
    color: var(--color-text-primary);
    font-size: var(--gt-md);
    font-weight: 700;
}

.sheet-pack-fold-detail[b-uqzq6ho7tm] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-pack-fold-chevron[b-uqzq6ho7tm] {
    flex: none;
    display: flex;
    color: var(--color-text-secondary);
}

.sheet-pack-none[b-uqzq6ho7tm] {
    margin: 4px 2px;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

.sheet-pack-none-clear[b-uqzq6ho7tm] {
    margin-left: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

/* "3 new since your last visit" (the Bag's visit, Docs/LRPG_LOADOUT.md 3.9): a quiet good line under the heading. */
.sheet-pack-new[b-uqzq6ho7tm] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -2px 2px 0;
    color: var(--sheet-good-text);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 600;
}

.sheet-pack-new[b-uqzq6ho7tm]  .mud-icon-root {
    font-size: var(--gt-xl);
}

/* The pack search (D11), on packs above 12 items only; at every tier, the 720 floor too (it folds the filters, not this). */
.sheet-pack-search[b-uqzq6ho7tm] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 6px 0 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    border-radius: 999px;
    background: var(--sheet-surface);
}

.sheet-pack-search:focus-within[b-uqzq6ho7tm] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-pack-search-ic[b-uqzq6ho7tm] {
    display: flex;
    color: var(--color-text-secondary);
}

.sheet-pack-search-ic[b-uqzq6ho7tm]  .mud-icon-root,
.sheet-pack-search-clear[b-uqzq6ho7tm]  .mud-icon-root {
    font-size: var(--gt-xl);
}

.sheet-pack-search-input[b-uqzq6ho7tm] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--gt-md);
}

.sheet-pack-search-input[b-uqzq6ho7tm]::placeholder {
    color: var(--color-text-secondary);
}

/* The field's own clear button is the one shown (the browser's search cancel would be a second). */
.sheet-pack-search-input[b-uqzq6ho7tm]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.sheet-pack-search-clear[b-uqzq6ho7tm] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.sheet-pack-search-clear:hover[b-uqzq6ho7tm] {
    color: var(--color-text-light);
}

.sheet-pack-search-clear:focus-visible[b-uqzq6ho7tm] {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}

.sheet-pack-potions[b-uqzq6ho7tm] {
    margin-top: 2px;
}

/* The pouch is at its limit: the warning icon and the words "Potion pouch full" carry it, the tone only backs them. */
.sheet-pack-potions.is-full[b-uqzq6ho7tm] {
    border-color: var(--sheet-bad-line);
    background: var(--sheet-bad-bg);
    color: var(--sheet-bad-text);
}

.sheet-empty[b-uqzq6ho7tm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 16px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 14px;
    text-align: center;
}

.sheet-empty[b-uqzq6ho7tm]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 26);
    color: var(--color-text-secondary);
}

.sheet-empty-title[b-uqzq6ho7tm] {
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--gt-base);
    font-weight: 700;
}

.sheet-empty-text[b-uqzq6ho7tm] {
    margin: 0 0 6px;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
}

@media (pointer: coarse) {
    .sheet-pack-filter[b-uqzq6ho7tm],
    .sheet-pack-search[b-uqzq6ho7tm] {
        min-height: 44px;
    }

    .sheet-pack-search-clear[b-uqzq6ho7tm] {
        width: 44px;
        height: 44px;
    }

    /* 16px keeps a phone from zooming the page when the field takes focus. */
    .sheet-pack-search-input[b-uqzq6ho7tm] {
        font-size: var(--gt-lg);
    }

    .sheet-pack-none-clear[b-uqzq6ho7tm] {
        min-height: 44px;
    }
}

/* The 720 floor (A-1280): no filters, the count in the heading. */
@media (max-width: 1280px) {
    .sheet-pack-filters[b-uqzq6ho7tm],
    .sheet-pack-order[b-uqzq6ho7tm] {
        display: none;
    }

    .sheet-pack-count[b-uqzq6ho7tm] {
        display: inline;
    }
}

/* Tablets bring the filters back (A-1024, A-768). */
@media (max-width: 1024px) {
    .sheet-pack-filters[b-uqzq6ho7tm],
    .sheet-pack-order[b-uqzq6ho7tm] {
        display: flex;
    }

    .sheet-pack-order[b-uqzq6ho7tm] {
        display: inline;
    }

    .sheet-pack-count[b-uqzq6ho7tm] {
        display: none;
    }
}

@media (max-width: 768px) {
    /* One column: the page scrolls, not the box (the phone tab holds Gear and Pack alone). */
    .sheet-pack-scroll[b-uqzq6ho7tm] {
        max-height: none;
        overflow-y: visible;
        padding: 0;
        margin: 0;
    }

    .sheet-pack-items[b-uqzq6ho7tm] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sheet-pack-items[b-uqzq6ho7tm] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/Sheet/SheetPackItem.razor.rz.scp.css */
/* SheetPackItem (owner WP-W1): a pack row (comp A-1920: the rarity-tinted icon, name, one line, the verdict chip at the
   end). An item the hero can't wear is dimmed; the one Compare shows is gold. Tokens only, canonical breakpoints only,
   no animation. */

.sheet-item[b-6l8vwsz43i] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 8px 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 62%, transparent);
    color: inherit;
    font: inherit;
    text-align: left;
}

button.sheet-item[b-6l8vwsz43i] {
    cursor: pointer;
}

button.sheet-item:hover[b-6l8vwsz43i] {
    border-color: var(--sheet-gold-line);
}

button.sheet-item:focus-visible[b-6l8vwsz43i] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-item.is-selected[b-6l8vwsz43i] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 5%, var(--color-bg-elevated-alt));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.sheet-item-ic[b-6l8vwsz43i] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--sheet-rarity) 60%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--sheet-rarity) 18%, var(--color-bg-base));
    color: color-mix(in srgb, var(--sheet-rarity) 55%, var(--color-text-primary));
}

.sheet-item-ic[b-6l8vwsz43i]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 21);
}

.sheet-item.is-dimmed .sheet-item-ic[b-6l8vwsz43i] {
    filter: grayscale(0.7);
    opacity: 0.7;
}

.sheet-item-text[b-6l8vwsz43i] {
    flex: 1;
    min-width: 0;
}

.sheet-item-name[b-6l8vwsz43i],
.sheet-item-detail[b-6l8vwsz43i] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-item-name[b-6l8vwsz43i] {
    color: var(--color-text-primary);
    font-size: var(--gt-md);
    font-weight: 600;
}

.sheet-item.is-dimmed .sheet-item-name[b-6l8vwsz43i] {
    color: var(--color-text-light);
}

.sheet-item-qty[b-6l8vwsz43i] {
    margin-left: 4px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.sheet-item-detail[b-6l8vwsz43i] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-item-effects[b-6l8vwsz43i] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.sheet-item-effect[b-6l8vwsz43i] {
    padding: 1px 7px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 999px;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    line-height: 1.5;
}

.sheet-item-reason[b-6l8vwsz43i] {
    display: block;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-style: italic;
}

.sheet-drink[b-6l8vwsz43i] {
    flex: none;
}
/* /Components/Sheet/SheetPhoneTabs.razor.rz.scp.css */
/* SheetPhoneTabs (owner WP-W1; comps A-768, A-390): the segmented control, four segments, an icon over the label, the
   count badge at the icon's corner. Shown at 768 and down (the page's stylesheet). Tokens only, canonical breakpoints
   only, no animation. */

.sheet-tabs[b-zo6tu6i16q] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 4px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 80%, transparent);
}

.sheet-tab[b-zo6tu6i16q] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--gt-sm);
    font-weight: 600;
    cursor: pointer;
}

.sheet-tab[b-zo6tu6i16q]  .mud-icon-root {
    font-size: var(--gt-2xl);
    color: var(--color-text-secondary);
}

.sheet-tab.is-active[b-zo6tu6i16q] {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 16%, transparent), color-mix(in srgb, var(--color-primary) 5%, transparent));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
    color: var(--sheet-gold-text);
}

.sheet-tab.is-active[b-zo6tu6i16q]  .mud-icon-root {
    color: var(--color-primary);
}

.sheet-tab:focus-visible[b-zo6tu6i16q] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-tab-badge[b-zo6tu6i16q] {
    position: absolute;
    top: 4px;
    right: calc(50% - 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6em;
    height: 1.6em;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--color-success-dark);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
}
/* /Components/Sheet/SheetPointsPreview.razor.rz.scp.css */
/* SheetPointsPreview (owner WP-W1; comps A-Points, A-390-Stats): a gold-edged panel (the eyebrow title, rows of
   before -> after with the after green when it moves, the notes, Reset and Spend, the footnote), sticky beside the
   cards on desktop. On a phone a bar stuck to the screen's bottom: only the numbers that move, the notes, the buttons.
   Tokens only, canonical breakpoints only, no animation. */

.sheet-points-preview[b-3t3twzjigh] {
    position: sticky;
    /* Clear of the frame (the bar, and the party bar when it is drawn: raid join W4b), 16px below it. */
    top: calc(var(--frame-top, 64px) + 16px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--color-bg-elevated-alt), var(--color-bg-base));
}

.sheet-points-preview-title[b-3t3twzjigh] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sheet-points-preview-title[b-3t3twzjigh]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.sheet-preview-rows[b-3t3twzjigh] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 10px;
}

.sheet-preview-row[b-3t3twzjigh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--color-text-light);
    font-size: var(--gt-md);
}

.sheet-preview-row dd[b-3t3twzjigh] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}

.sheet-preview-row dd[b-3t3twzjigh]  .mud-icon-root {
    font-size: var(--gt-lg);
}

.sheet-preview-row strong[b-3t3twzjigh] {
    min-width: 32px;
    color: var(--color-text-primary);
    text-align: right;
}

.sheet-preview-row.is-changed strong[b-3t3twzjigh] {
    color: var(--color-success-lighter);
}

.sheet-points-actions[b-3t3twzjigh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 10px;
}

.sheet-points-foot[b-3t3twzjigh] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
}

/* Down to 769 it sits beside the cards (SheetAbilities) and follows the scroll; in one column it stays in place. */
@media (max-width: 768px) {
    .sheet-points-preview[b-3t3twzjigh] {
        position: static;
    }
}

/* The phone's Spend bar (A-390-Stats). */
@media (max-width: 480px) {
    .sheet-points-preview[b-3t3twzjigh] {
        /* Stacked on the game frame's phone dock (Docs/LRPG_GAME_MENU.md 5.5). */
        position: sticky;
        top: auto;
        bottom: var(--frame-bottom, 0px);
        z-index: 5;
        gap: 8px;
        margin: 0 -16px;
        padding: 12px 16px calc(12px + var(--frame-safe-pad, env(safe-area-inset-bottom)));
        border-width: 1px 0 0;
        border-radius: 16px 16px 0 0;
        background: var(--color-bg-elevated-alt);
        box-shadow: 0 -12px 30px color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    }

    .sheet-points-preview-title[b-3t3twzjigh],
    .sheet-points-foot[b-3t3twzjigh],
    .sheet-preview-row:not(.is-changed)[b-3t3twzjigh] {
        display: none;
    }

    .sheet-preview-rows[b-3t3twzjigh] {
        margin-bottom: 4px;
    }

    .sheet-points-actions .sheet-button[b-3t3twzjigh] {
        min-height: 48px;
    }

    /* Never more than about half the screen over the steppers it belongs to: the changes scroll inside, the buttons
       stay at the bar's bottom. */
    .sheet-points-preview[b-3t3twzjigh] {
        max-height: 45dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .sheet-points-actions[b-3t3twzjigh] {
        position: sticky;
        bottom: 0;
        padding-top: 8px;
        background: var(--color-bg-elevated-alt);
    }
}
/* /Components/Sheet/SheetSaves.razor.rz.scp.css */
/* SheetSaves (owner WP-W1): the label beside six small tiles at 1281 and up (comp A-1920), the label over them below
   (A-1280 to A-390); with an aura note (A-TwoKeys) the label always sits on top. Tokens only, canonical breakpoints
   only, no animation. */

.sheet-saves[b-iw6s2mx35n] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sheet-saves-title[b-iw6s2mx35n] {
    flex: none;
    width: 110px;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.3;
}

.sheet-saves-note[b-iw6s2mx35n] {
    display: block;
    color: var(--sheet-gold-text);
    font-weight: 700;
}

.sheet-saves.has-note .sheet-saves-note[b-iw6s2mx35n],
.sheet-saves-title .sheet-saves-note[b-iw6s2mx35n] {
    margin-left: 4px;
}

.sheet-saves-list[b-iw6s2mx35n] {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sheet-save[b-iw6s2mx35n] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 7px 4px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 50%, transparent);
}

.sheet-save-abbr[b-iw6s2mx35n] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
}

/* A proficient save (the class's two): a small gold mark before the abbreviation and a gold edge. */
.sheet-save.is-proficient[b-iw6s2mx35n] {
    border-color: color-mix(in srgb, var(--sheet-gold-text) 45%, transparent);
}

.sheet-save.is-proficient .sheet-save-abbr[b-iw6s2mx35n] {
    color: var(--sheet-gold-text);
}

.sheet-save[b-iw6s2mx35n]  .mud-icon-root {
    flex: none;
    font-size: var(--gt-sm);
}

.sheet-save-value[b-iw6s2mx35n] {
    color: var(--color-text-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.sheet-saves.has-note[b-iw6s2mx35n] {
    flex-direction: column;
    align-items: stretch;
}

.sheet-saves.has-note .sheet-saves-title[b-iw6s2mx35n] {
    width: auto;
}

.sheet-saves.has-note .sheet-saves-note[b-iw6s2mx35n] {
    display: inline;
}

@media (max-width: 1280px) {
    .sheet-saves[b-iw6s2mx35n] {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .sheet-saves-title[b-iw6s2mx35n] {
        width: auto;
    }

    .sheet-saves-note[b-iw6s2mx35n] {
        display: inline;
    }
}

@media (max-width: 480px) {
    .sheet-saves-title[b-iw6s2mx35n] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}
/* /Components/Sheet/SheetSectionNav.razor.rz.scp.css */
/* SheetSectionNav (owner WP-W1): the section pills in the crumb row (comps A-1920 to A-1024). Hidden at 768 and down,
   where the segmented control takes over (the page's stylesheet). Tokens only, canonical breakpoints only. */

.sheet-nav[b-kkxuurmf5a] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.sheet-nav-pill[b-kkxuurmf5a] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 24%, transparent);
    border-radius: 999px;
    background: var(--sheet-surface);
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--gt-md);
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}

.sheet-nav-pill[b-kkxuurmf5a]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-secondary);
}

.sheet-nav-pill:hover[b-kkxuurmf5a] {
    border-color: var(--sheet-gold-line);
}

.sheet-nav-pill.is-active[b-kkxuurmf5a] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--sheet-gold-tint);
    color: var(--sheet-gold-text);
}

.sheet-nav-pill.is-active[b-kkxuurmf5a]  .mud-icon-root {
    color: var(--color-primary);
}

.sheet-nav-pill:focus-visible[b-kkxuurmf5a] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-nav-badge[b-kkxuurmf5a] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.82em;
    height: 1.82em;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--color-success-dark);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
}

@media (pointer: coarse) {
    .sheet-nav-pill[b-kkxuurmf5a] {
        min-height: 44px;
    }
}
/* /Components/Sheet/SheetSlot.razor.rz.scp.css */
/* SheetSlot (owner WP-W1): one gear slot (comps A-1920 to A-390). The rarity tints the icon (--sheet-rarity, from
   --color-rarity-*); an empty slot is dashed; an upgrade in the pack turns the border green with an "In pack" marker
   (an up arrow and the words) on its top edge (no number: the gain shows on the pack item; the arrow alone at
   769-1024, where two columns of slots are narrow); the slot Compare shows is gold. On a phone the slot is a row and the
   marker sits inline at its end as the arrow alone. Tokens only, canonical breakpoints only, no animation. */

.sheet-slot[b-3ee6ymlxij] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 7px 9px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 78%, transparent);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sheet-slot:hover[b-3ee6ymlxij] {
    border-color: var(--sheet-gold-line);
}

.sheet-slot:focus-visible[b-3ee6ymlxij] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-slot.has-upgrade[b-3ee6ymlxij] {
    border-color: var(--sheet-good-line);
}

.sheet-slot.is-selected[b-3ee6ymlxij] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.sheet-slot-ic[b-3ee6ymlxij] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid color-mix(in srgb, var(--sheet-rarity) 60%, transparent);
    border-radius: 9px;
    background: color-mix(in srgb, var(--sheet-rarity) 18%, var(--color-bg-base));
    color: color-mix(in srgb, var(--sheet-rarity) 55%, var(--color-text-primary));
}

.sheet-slot-ic[b-3ee6ymlxij]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 19);
}

.sheet-slot-text[b-3ee6ymlxij] {
    flex: 1;
    min-width: 0;
}

.sheet-slot-label[b-3ee6ymlxij],
.sheet-slot-name[b-3ee6ymlxij],
.sheet-slot-detail[b-3ee6ymlxij] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-slot-label[b-3ee6ymlxij] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sheet-slot-name[b-3ee6ymlxij] {
    color: var(--color-text-primary);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 600;
}

.sheet-slot-detail[b-3ee6ymlxij] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-slot.is-empty[b-3ee6ymlxij] {
    border-style: dashed;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 35%, transparent);
}

.sheet-slot.is-empty .sheet-slot-ic[b-3ee6ymlxij] {
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: transparent;
    color: var(--color-text-secondary);
}

.sheet-slot.is-empty .sheet-slot-name[b-3ee6ymlxij] {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.sheet-slot-up[b-3ee6ymlxij] {
    position: absolute;
    top: -8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 1.9em;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--color-success-dark);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--color-bg-base) 40%, transparent);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    white-space: nowrap;
}

.sheet-slot-up[b-3ee6ymlxij]  .mud-icon-root {
    font-size: var(--gt-md);
}

.sheet-slot .sheet-slot-chip[b-3ee6ymlxij] {
    display: none;
}

@media (pointer: coarse) {
    .sheet-slot[b-3ee6ymlxij] {
        min-height: 56px;
    }
}

/* Two columns of slots in a narrow gear column (769-1024: slots down to 168px): the marker is the arrow alone, so it
   never covers a slot's label ("Main hand"). */
@media (max-width: 1024px) {
    .sheet-slot-up[b-3ee6ymlxij] {
        justify-content: center;
        width: 22px;
        padding: 0;
    }

    .sheet-slot-up-text[b-3ee6ymlxij] {
        display: none;
    }
}

/* One column (481-768): the slots are wide again, so the words come back. */
@media (max-width: 768px) {
    .sheet-slot-up[b-3ee6ymlxij] {
        width: auto;
        padding: 0 7px;
    }

    .sheet-slot-up-text[b-3ee6ymlxij] {
        display: inline;
    }
}

/* Phone (comp A-390): a row, the badge inline at its end. */
@media (max-width: 480px) {
    .sheet-slot[b-3ee6ymlxij] {
        min-height: 60px;
        gap: 12px;
        padding: 8px 12px;
    }

    .sheet-slot-name[b-3ee6ymlxij] {
        font-size: calc(var(--gt-px) * 13.5);
    }

    .sheet-slot-up[b-3ee6ymlxij] {
        display: none;
    }

    .sheet-slot .sheet-slot-chip[b-3ee6ymlxij] {
        display: inline-flex;
        flex: none;
        justify-content: center;
        width: 24px;
        padding: 0;
    }

    .sheet-slot.has-upgrade .sheet-slot-detail[b-3ee6ymlxij] {
        display: none;
    }
}

/* An empty slot with nothing to compare links to the Market filtered to it (W2, Docs/LRPG_MERCHANT.md 5.3). */
a.sheet-slot[b-3ee6ymlxij] {
    text-decoration: none;
}

.sheet-slot-shop[b-3ee6ymlxij] {
    display: inline-flex;
    margin-left: auto;
    color: var(--color-text-secondary);
}

.sheet-slot-shop[b-3ee6ymlxij]  .mud-icon-root {
    font-size: var(--gt-xl);
}
/* /Components/Sheet/SheetStates.razor.rz.scp.css */
/* SheetStates (owner WP-W1; comps A-States, A-Locked): the skeleton blocks (a strip row, then the three columns), and
   the notes (the gold note language: an icon, a bold first sentence, a gold button at the end). Design-system tokens
   only, canonical breakpoints only (480 / 768 / 960 / 1024 / 1280), a prefers-reduced-motion block for the pulse, no
   content: glyphs. */

.sheet-skeleton[b-qz9waweceq] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sheet-skeleton-row[b-qz9waweceq] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.sheet-skeleton-block[b-qz9waweceq] {
    min-height: 84px;
    border-radius: var(--radius-3xl);
    background: linear-gradient(100deg, color-mix(in srgb, var(--color-bg-elevated) 80%, transparent), color-mix(in srgb, var(--color-bg-elevated) 45%, transparent));
    animation: sheet-skeleton-pulse-b-qz9waweceq 1.6s ease-in-out infinite;
}

.sheet-skeleton-block--tall[b-qz9waweceq] {
    min-height: 320px;
}

.sheet-sr-only[b-qz9waweceq] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sheet-state-note p[b-qz9waweceq] {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.sheet-state-note--loadfailed[b-qz9waweceq] {
    border-color: color-mix(in srgb, var(--color-danger-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 18%, transparent);
}

@keyframes sheet-skeleton-pulse-b-qz9waweceq {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .sheet-skeleton-row--main[b-qz9waweceq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sheet-skeleton-block--tall:not(:first-child)[b-qz9waweceq] {
        display: none;
    }

    .sheet-state-note[b-qz9waweceq] {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .sheet-skeleton-row[b-qz9waweceq] {
        grid-template-columns: minmax(0, 1fr);
    }

    .sheet-skeleton-block:not(:first-child)[b-qz9waweceq] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sheet-skeleton-block[b-qz9waweceq] {
        animation: none;
    }
}
/* /Components/Sheet/SheetStory.razor.rz.scp.css */
/* SheetStory (owner WP-W1). The backstory in EB Garamond, the record as four tiles (two by two on a phone), the
   chronicles row, the potions between fights (comps A-1920, A-Story). Editing: arched portrait tiles (a lock on a
   Premium one), the backstory box, the count, Cancel and Save. On a phone the portrait niche sits beside the backstory
   with the edit button under it (A-390-More). Tokens only, canonical breakpoints only, no animation. */

.sheet-story[b-tkpmaya1vd] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.sheet-story-sub[b-tkpmaya1vd] {
    margin: 0;
    color: var(--color-text-secondary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sheet-story-sub--record[b-tkpmaya1vd] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.sheet-story.is-editing .sheet-story-sub--record[b-tkpmaya1vd] {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    margin-top: 8px;
}

/* ---- Backstory ---- */

.sheet-story-quote-row[b-tkpmaya1vd] {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.sheet-story-niche[b-tkpmaya1vd] {
    display: none;
    flex: none;
    width: 96px;
    height: 110px;
    overflow: hidden;
    border: 2px solid var(--color-primary-dark);
    border-radius: 999px 999px 16px 16px;
    background: var(--color-bg-base);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary-dark) 12%, transparent);
}

.sheet-story-niche img[b-tkpmaya1vd] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.sheet-story-quote-col[b-tkpmaya1vd] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.sheet-story-quote[b-tkpmaya1vd] {
    margin: 0;
    color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 15);
    font-style: italic;
    line-height: 1.55;
    white-space: pre-line;
}

.sheet-story-quote.is-empty[b-tkpmaya1vd] {
    color: var(--color-text-secondary);
}

.sheet-story-edit-phone[b-tkpmaya1vd] {
    display: none;
}

/* ---- Editor (A-Story) ---- */

.sheet-story-editor[b-tkpmaya1vd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sheet-portraits-row[b-tkpmaya1vd] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.sheet-portraits[b-tkpmaya1vd] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sheet-portrait[b-tkpmaya1vd] {
    position: relative;
    width: 64px;
    height: 76px;
    padding: 0;
    overflow: hidden;
    border: 2px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: 999px 999px 12px 12px;
    background: var(--color-bg-base);
    cursor: pointer;
}

.sheet-portrait img[b-tkpmaya1vd] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.sheet-portrait.is-chosen[b-tkpmaya1vd] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.sheet-portrait.is-locked img[b-tkpmaya1vd] {
    filter: grayscale(0.6) brightness(0.6);
}

.sheet-portrait:focus-visible[b-tkpmaya1vd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.sheet-portrait-lock[b-tkpmaya1vd] {
    position: absolute;
    inset: auto 0 8px;
    display: flex;
    justify-content: center;
    color: var(--color-primary);
}

.sheet-portrait-lock[b-tkpmaya1vd]  .mud-icon-root {
    font-size: var(--gt-2xl);
}

.sheet-portraits-note[b-tkpmaya1vd] {
    max-width: 160px;
    color: var(--color-text-secondary);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.35;
    text-decoration: none;
}

a.sheet-portraits-note:hover[b-tkpmaya1vd],
a.sheet-portraits-note:focus-visible[b-tkpmaya1vd] {
    color: var(--sheet-gold-text);
}

.sheet-story-label[b-tkpmaya1vd] {
    margin-top: 4px;
    color: var(--sheet-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sheet-backstory-input[b-tkpmaya1vd] {
    width: 100%;
    min-height: 92px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: 12px;
    background: var(--color-bg-base);
    color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 15);
    line-height: 1.5;
    resize: vertical;
}

.sheet-backstory-input:focus-visible[b-tkpmaya1vd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-story-actions[b-tkpmaya1vd] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.sheet-story-actions .sheet-section-note[b-tkpmaya1vd] {
    margin-right: auto;
}

/* ---- Record, chronicles ---- */

.sheet-record[b-tkpmaya1vd] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.sheet-record-tile[b-tkpmaya1vd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 55%, transparent);
}

.sheet-record-value[b-tkpmaya1vd] {
    color: var(--color-text-primary);
    font-size: var(--gt-2xl);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.sheet-record-label[b-tkpmaya1vd] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-chronicles[b-tkpmaya1vd] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 55%, transparent);
    color: inherit;
    text-decoration: none;
}

.sheet-chronicles:hover[b-tkpmaya1vd] {
    border-color: var(--sheet-gold-line);
}

.sheet-chronicles:focus-visible[b-tkpmaya1vd] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-chronicles[b-tkpmaya1vd]  .mud-icon-root {
    flex: none;
    font-size: calc(var(--gt-px) * 22);
    color: var(--sheet-eyebrow);
}

.sheet-chronicles-text[b-tkpmaya1vd] {
    flex: 1;
    min-width: 0;
}

.sheet-chronicles-title[b-tkpmaya1vd],
.sheet-chronicles-latest[b-tkpmaya1vd] {
    display: block;
}

.sheet-chronicles-title[b-tkpmaya1vd] {
    color: var(--color-text-primary);
    font-size: var(--gt-md);
    font-weight: 700;
}

.sheet-chronicles-latest[b-tkpmaya1vd] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-chronicles-go[b-tkpmaya1vd] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--sheet-eyebrow);
    font-size: var(--gt-md);
    font-weight: 600;
}

.sheet-chronicles-go[b-tkpmaya1vd]  .mud-icon-root {
    font-size: var(--gt-xl);
}

/* ---- Potions between fights ---- */

.sheet-story-potions-head[b-tkpmaya1vd] {
    margin-top: 6px;
}

.sheet-story-potions[b-tkpmaya1vd] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sheet-story-potion[b-tkpmaya1vd] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-elevated-alt) 55%, transparent);
}

.sheet-story-potion-ic[b-tkpmaya1vd] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-text-secondary) 12%, var(--color-bg-base));
    color: var(--color-text-light);
}

.sheet-story-potion-text[b-tkpmaya1vd] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sheet-story-potion-name[b-tkpmaya1vd] {
    color: var(--color-text-primary);
    font-size: var(--gt-md);
    font-weight: 700;
}

.sheet-story-potion-qty[b-tkpmaya1vd] {
    color: var(--color-text-secondary);
    font-weight: 500;
}

.sheet-story-potion-detail[b-tkpmaya1vd],
.sheet-story-potion-reason[b-tkpmaya1vd] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-story-potion-reason[b-tkpmaya1vd] {
    font-style: italic;
}

/* ---- Phone (A-390-More) ---- */

/* 769 to 1024: Story is a half column (the page's .sheet-lower), too narrow for four across ("Monsters def..."); from
   768 it runs the full width again. */
@media (max-width: 1024px) {
    .sheet-record[b-tkpmaya1vd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sheet-record[b-tkpmaya1vd] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .sheet-story-edit[b-tkpmaya1vd] {
        display: none;
    }

    .sheet-story-niche[b-tkpmaya1vd],
    .sheet-story-edit-phone[b-tkpmaya1vd] {
        display: inline-flex;
    }

    .sheet-record[b-tkpmaya1vd] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* /Components/Sheet/SheetSwitcher.razor.rz.scp.css */
/* SheetSwitcher (owner WP-W1; comp A-Switcher): a menu that drops from the hero's name, the hall's roster-row language
   (an arched portrait ringed in the class color, the name in Cinzel, a tag at the end). Tokens only, canonical
   breakpoints only, no animation. */

.sheet-switcher[b-x277bus2oe] {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 440px;
    max-width: calc(min(100vw, 1920px) - 32px);
    max-height: min(560px, 70vh);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--sheet-line-strong);
    border-radius: 14px;
    background: var(--color-bg-elevated-alt);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    font-family: var(--font-primary);
}

.sheet-switcher-title[b-x277bus2oe] {
    margin: 4px 6px 2px;
    color: var(--sheet-eyebrow);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.sheet-switcher-hero[b-x277bus2oe] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid var(--sheet-line);
    border-radius: 12px;
    background: var(--sheet-card);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sheet-switcher-hero:hover[b-x277bus2oe] {
    border-color: var(--sheet-gold-line);
}

.sheet-switcher-hero.is-current[b-x277bus2oe] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.sheet-switcher-hero:focus-visible[b-x277bus2oe],
.sheet-switcher-hall:focus-visible[b-x277bus2oe] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.sheet-switcher-portrait[b-x277bus2oe] {
    position: relative;
    flex: none;
    width: 42px;
    height: 46px;
    overflow: hidden;
    border-radius: 999px 999px 7px 7px;
    background: var(--color-bg-base);
    box-shadow: inset 0 0 0 2px var(--sheet-class);
}

.sheet-switcher-portrait img[b-x277bus2oe] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 16%;
}

.sheet-switcher-text[b-x277bus2oe] {
    flex: 1;
    min-width: 0;
}

.sheet-switcher-name[b-x277bus2oe],
.sheet-switcher-line[b-x277bus2oe] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sheet-switcher-name[b-x277bus2oe] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
}

.sheet-switcher-line[b-x277bus2oe] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-switcher-tag[b-x277bus2oe] {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 2.09em;
    padding: 0 9px;
    border: 1px solid var(--sheet-line-strong);
    border-radius: 999px;
    background: var(--sheet-surface);
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: 700;
    white-space: nowrap;
}

.sheet-switcher-tag[b-x277bus2oe]  .mud-icon-root {
    font-size: calc(var(--gt-px) * 15);
}

.sheet-switcher-tag--viewing[b-x277bus2oe] {
    border-color: var(--sheet-gold-line);
    background: var(--sheet-warn-bg);
    color: var(--sheet-gold-text);
}

.sheet-switcher-tag--points[b-x277bus2oe] {
    border-color: var(--sheet-good-line);
    background: var(--sheet-good-bg);
    color: var(--sheet-good-text);
}

.sheet-switcher-hall[b-x277bus2oe] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 6px;
    padding: 4px 6px 0;
    border-top: 1px solid var(--sheet-line);
    color: var(--sheet-eyebrow);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
}

.sheet-switcher-hall[b-x277bus2oe]  .mud-icon-root {
    font-size: var(--gt-xl);
}

/* 481 to 768: from the name's offset a 440px menu ran past the right edge; it drops under the app bar instead. */
@media (max-width: 768px) {
    .sheet-switcher[b-x277bus2oe] {
        position: fixed;
        top: calc(var(--frame-top, 56px) + 16px);
        left: 16px;
        right: 16px;
        width: auto;
        max-width: 440px;
    }
}

@media (max-width: 480px) {
    .sheet-switcher[b-x277bus2oe] {
        max-width: none;
    }
}
/* /Components/Sheet/SheetToast.razor.rz.scp.css */
/* SheetToast (owner WP-W1; comps A-Compare, A-States): pinned to the screen's bottom-left inside the page's gutter, a
   green edge for a result, amber for a refusal; Equip all's report is a card with its lines, the deltas and Undo all.
   On a phone it runs the width above the bottom edge. Tokens only, canonical breakpoints only; the entrance honors
   prefers-reduced-motion. */

/* Fixed to the viewport, so above 1920 it adds the centered container's margin (half the viewport less half the 1920
   container: percentages of a fixed box are the viewport's) to the gutter, where the sheet's column starts; on the
   three-column desktop it stays as wide as the Gear column, clear of the Combat tiles. */
.sheet-toast-region[b-piomqu4ptm] {
    position: fixed;
    left: calc(50% - min(50%, 960px) + var(--sheet-gutter, 48px));
    /* Above the game frame's phone dock (Docs/LRPG_GAME_MENU.md 5.5): 0 from 768, held sideways and while it yields. */
    bottom: calc(var(--frame-bottom, 0px) + 24px);
    z-index: 1200;
    max-width: min(560px, var(--sheet-gear-w, 560px), calc(min(100vw, 1920px) - 32px));
    pointer-events: none;
}

@media (max-width: 1280px) {
    .sheet-toast-region[b-piomqu4ptm] {
        max-width: min(560px, calc(min(100vw, 1920px) - 32px));
    }
}

.sheet-toast[b-piomqu4ptm] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--sheet-good-line);
    border-radius: 14px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-success-dark) 22%, var(--color-bg-elevated-alt)), var(--color-bg-elevated-alt));
    box-shadow: var(--shadow-xl);
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
    pointer-events: auto;
    animation: sheet-toast-in-b-piomqu4ptm 0.2s ease-out;
}

.sheet-toast.is-error[b-piomqu4ptm] {
    border-color: var(--sheet-warn-line);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-warning-dark) 22%, var(--color-bg-elevated-alt)), var(--color-bg-elevated-alt));
}

.sheet-toast.has-report[b-piomqu4ptm] {
    align-items: flex-start;
}

.sheet-toast-icon[b-piomqu4ptm] {
    flex: none;
    color: var(--color-success-light);
}

.sheet-toast.is-error .sheet-toast-icon[b-piomqu4ptm] {
    color: var(--color-warning);
}

.sheet-toast-text[b-piomqu4ptm] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sheet-toast-text strong[b-piomqu4ptm] {
    color: var(--color-text-primary);
}

.sheet-toast-lines[b-piomqu4ptm] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sheet-toast-lines li[b-piomqu4ptm] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sheet-toast-lines li[b-piomqu4ptm]  .mud-icon-root {
    flex: none;
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-success-light);
}

.sheet-toast-lines li.is-skipped[b-piomqu4ptm]  .mud-icon-root {
    color: var(--color-warning);
}

.sheet-toast-deltas[b-piomqu4ptm] {
    color: var(--color-success-lighter);
    font-weight: 700;
}

.sheet-toast-note[b-piomqu4ptm] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.sheet-toast-actions[b-piomqu4ptm] {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes sheet-toast-in-b-piomqu4ptm {
    from { transform: translateY(12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
    .sheet-toast-region[b-piomqu4ptm] {
        left: 12px;
        right: 12px;
        bottom: calc(var(--frame-bottom, 0px) + 12px);
        max-width: none;
    }

    .sheet-toast[b-piomqu4ptm] {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sheet-toast[b-piomqu4ptm] {
        animation: none;
    }
}
/* /Components/Tavern/GarrickBar.razor.rz.scp.css */
/* GarrickBar (owner: W1). Canvas boards A-1920 / A-1366 / A-1280 (one row), A-1024 and A-768 (replies on a second
   row; short labels on portrait), A-390 (replies scroll sideways). Tokens only, canonical breakpoints only
   (base = portrait 481-959), and the hearth glow and button fades stop under reduced motion. */

.garrick-bar[b-rxue6999vt] {
    /* Local shades, mixed from tokens: the in-world gold text and the parchment cream of Garrick's voice. */
    --gb-gold: color-mix(in srgb, var(--color-primary-dark) 75%, var(--color-text-primary));
    --gb-cream: color-mix(in srgb, var(--color-warning-lightest) 30%, var(--color-text-primary));
    --gb-accent: var(--color-primary);
    --gb-medallion: 52px;

    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "medal speech"
        "replies replies";
    align-items: center;
    gap: var(--space-md) 14px;
    padding: 14px var(--space-lg);
    border: 1px solid color-mix(in srgb, var(--gb-accent) 26%, transparent);
    border-radius: var(--radius-3xl);
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--color-warning-dark) 38%, var(--color-bg-base)),
        color-mix(in srgb, var(--color-gray-900) 94%, transparent) 40%,
        color-mix(in srgb, var(--color-bg-base) 96%, transparent));
    box-shadow: 0 16px 40px color-mix(in srgb, black 40%, transparent);
}

/* Mood tints the frame. */
.garrick-bar--concerned[b-rxue6999vt] { --gb-accent: var(--color-danger-light); }
.garrick-bar--excited[b-rxue6999vt] { --gb-accent: var(--color-primary-light); }
.garrick-bar--somber[b-rxue6999vt] { --gb-accent: var(--color-text-tertiary); }
.garrick-bar--mysterious[b-rxue6999vt] { --gb-accent: var(--color-monk-light); }

/* ---- Medallion (D1: the G monogram until a portrait exists) ---- */

.gb-medallion[b-rxue6999vt] {
    grid-area: medal;
    position: relative;
    width: var(--gb-medallion);
    height: var(--gb-medallion);
    flex: none;
}

.gb-glow[b-rxue6999vt] {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-warning) 45%, transparent), transparent 70%);
    animation: gb-flicker-b-rxue6999vt 4s ease-in-out infinite;
}

.gb-monogram[b-rxue6999vt] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary-dark);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%,
        color-mix(in srgb, var(--color-warning-dark) 55%, var(--color-bg-base)),
        color-mix(in srgb, var(--color-warning-dark) 12%, var(--color-bg-base)));
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: calc(var(--gb-medallion) * 0.43);
    font-weight: 900;
    line-height: 1;
}

@keyframes gb-flicker-b-rxue6999vt {
    0%, 100% { opacity: 0.8; }
    45% { opacity: 1; }
    65% { opacity: 0.65; }
}

/* ---- The greeting ---- */

.gb-speech[b-rxue6999vt] {
    grid-area: speech;
    min-width: 0;
}

.gb-speaker[b-rxue6999vt] {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin: 0;
}

.gb-name[b-rxue6999vt] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-bold);
}

.gb-speaker-title[b-rxue6999vt] {
    color: var(--color-text-secondary);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 13.5);
    font-style: italic;
}

.gb-line[b-rxue6999vt] {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--gb-cream);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 19);
    font-style: italic;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* ---- Replies ---- */

.gb-replies[b-rxue6999vt] {
    grid-area: replies;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
}

.gb-new[b-rxue6999vt] {
    display: inline-flex;
    flex: none;
    align-items: center;
    order: 1;
    height: 1.8em;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--color-success-lighter);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gb-reply[b-rxue6999vt] {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--gb-gold) 38%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--gb-gold) 7%, transparent);
    color: var(--gb-cream);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.gb-reply:hover[b-rxue6999vt],
.gb-reply.is-active[b-rxue6999vt] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.gb-reply:focus-visible[b-rxue6999vt] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gb-kbd[b-rxue6999vt] {
    display: none;
    padding: 1px 6px;
    border: 1px solid color-mix(in srgb, var(--gb-gold) 50%, transparent);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--gb-gold);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
}

.gb-reply-icon[b-rxue6999vt] {
    display: inline-flex;
    flex: none;
    color: var(--gb-gold);
}

.gb-reply-icon[b-rxue6999vt]  .mud-icon-root {
    width: 1em;
    height: 1em;
    font-size: var(--gt-xl);
}

.gb-label[b-rxue6999vt] {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Portrait: the short labels ("Any work?") keep three equal buttons on one row. */
.gb-label--full[b-rxue6999vt] {
    display: none;
}

/* ---- Phone (camp mode): compact medallion, replies scroll sideways with full labels ---- */
@media (max-width: 480px) {
    .garrick-bar[b-rxue6999vt] {
        --gb-medallion: 40px;

        align-items: start;
        gap: 10px var(--space-md);
        padding: var(--space-md);
        overflow: hidden;
        border-radius: 14px;
        background: linear-gradient(110deg,
            color-mix(in srgb, var(--color-warning-dark) 38%, var(--color-bg-base)),
            color-mix(in srgb, var(--color-gray-900) 94%, transparent) 45%,
            color-mix(in srgb, var(--color-bg-base) 96%, transparent));
    }

    .gb-glow[b-rxue6999vt] {
        inset: -6px;
    }

    .gb-name[b-rxue6999vt] {
        font-size: var(--gt-md);
    }

    .gb-speaker-title[b-rxue6999vt] {
        display: none;
    }

    .gb-line[b-rxue6999vt] {
        font-size: calc(var(--gt-px) * 16.5);
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .gb-replies[b-rxue6999vt] {
        margin-right: calc(-1 * var(--space-md));
        padding-right: var(--space-md);
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gb-reply[b-rxue6999vt] {
        flex: none;
        font-size: var(--gt-md);
        padding: 0 14px 0 10px;
    }

    .gb-new[b-rxue6999vt] {
        display: none;
    }

    .gb-label--full[b-rxue6999vt] {
        display: inline;
    }

    .gb-label--short[b-rxue6999vt] {
        display: none;
    }
}

/* ---- Tablet (960-1279): replies on a second row under the line, three equal buttons with full labels ---- */
@media (min-width: 960px) {
    .gb-replies[b-rxue6999vt] {
        padding-left: calc(var(--gb-medallion) + 14px);
    }

    .gb-label--full[b-rxue6999vt] {
        display: inline;
    }

    .gb-label--short[b-rxue6999vt] {
        display: none;
    }

    .gb--keys .gb-kbd[b-rxue6999vt] {
        display: inline-block;
    }
}

/* ---- Desktop (1280 and up): one row, the NEW badge before the replies ---- */
@media (min-width: 1280px) {
    .garrick-bar[b-rxue6999vt] {
        --gb-medallion: 58px;

        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "medal speech replies";
        gap: 18px;
        min-height: 88px;
        padding: var(--space-sm) 18px;
        background: linear-gradient(90deg,
            color-mix(in srgb, var(--color-warning-dark) 38%, var(--color-bg-base)),
            color-mix(in srgb, var(--color-gray-900) 94%, transparent) 30%,
            color-mix(in srgb, var(--color-bg-base) 96%, transparent));
    }

    .gb-glow[b-rxue6999vt] {
        inset: -14px;
    }

    .gb-name[b-rxue6999vt] {
        font-size: calc(var(--gt-px) * 15);
    }

    .gb-speaker-title[b-rxue6999vt] {
        font-size: var(--gt-base);
    }

    .gb-line[b-rxue6999vt] {
        font-size: calc(clamp(18px, 1.1vw + 4px, 21px) * var(--gt-scale));
    }

    .gb-replies[b-rxue6999vt] {
        gap: 10px;
        padding-left: 0;
    }

    .gb-new[b-rxue6999vt] {
        order: 0;
    }

    .gb-reply[b-rxue6999vt] {
        flex: none;
        order: 1;
        justify-content: flex-start;
        padding: 0 14px 0 var(--space-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gb-glow[b-rxue6999vt] {
        animation: none;
        opacity: 0.85;
    }

    .gb-reply[b-rxue6999vt] {
        transition: none;
    }
}
/* /Components/Tavern/GarrickConversation.razor.rz.scp.css */
/* GarrickConversation (owner: W1). Canvas board A-Talk: from the 960 tier the panel rises from the Garrick bar over
   the stage, above a scrim; below 960 it opens in place under the bar. Tokens only, canonical breakpoints only
   (base = portrait and phone), and the hearth glow stops under reduced motion. */

.garrick-conversation[b-742rrqlscm] {
    --gc-gold: color-mix(in srgb, var(--color-primary-dark) 75%, var(--color-text-primary));
    --gc-cream: color-mix(in srgb, var(--color-warning-lightest) 30%, var(--color-text-primary));
    --gc-medallion: 44px;

    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding: var(--space-lg);
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    border-radius: 18px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 70%, var(--color-bg-base)),
        color-mix(in srgb, var(--color-gray-900) 60%, var(--color-bg-base)));
    box-shadow: 0 30px 80px color-mix(in srgb, black 70%, transparent),
        inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 8%, transparent);
    /* Revealed by a hotkey while scrolled away (tavernFocus.reveal), the panel stops clear of the fixed app bar (64px)
       instead of under it, so its "You" line and close button show. */
    scroll-margin-top: calc(var(--space-4xl) + var(--space-lg));
}

.garrick-conversation:focus:not(:focus-visible)[b-742rrqlscm] {
    outline: none;
}

.garrick-conversation:focus-visible[b-742rrqlscm] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The scrim belongs to the overlay layout (960 and up). */
.gc-scrim[b-742rrqlscm] {
    display: none;
}

/* ---- Garrick ---- */

.gc-speaker[b-742rrqlscm] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.gc-medallion[b-742rrqlscm] {
    position: relative;
    flex: none;
    width: var(--gc-medallion);
    height: var(--gc-medallion);
}

.gc-glow[b-742rrqlscm] {
    position: absolute;
    inset: calc(var(--gc-medallion) * -0.17);
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--color-warning) 40%, transparent), transparent 68%);
    animation: gc-flicker-b-742rrqlscm 4s ease-in-out infinite;
}

.gc-monogram[b-742rrqlscm] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary-dark);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%,
        color-mix(in srgb, var(--color-warning-dark) 55%, var(--color-bg-base)),
        color-mix(in srgb, var(--color-warning-dark) 12%, var(--color-bg-base)));
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: calc(var(--gc-medallion) * 0.42);
    font-weight: 900;
    line-height: 1;
}

.gc-speaker-name[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gc-name[b-742rrqlscm] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: 800;
}

.gc-speaker-title[b-742rrqlscm] {
    color: var(--color-text-secondary);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: var(--gt-base);
    font-style: italic;
}

.gc-new[b-742rrqlscm] {
    display: inline-flex;
    align-items: center;
    height: 1.8em;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--color-success-lighter);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes gc-flicker-b-742rrqlscm {
    0%, 100% { opacity: 0.8; }
    45% { opacity: 1; }
    65% { opacity: 0.65; }
}

/* ---- The exchange ---- */

.gc-main[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.gc-you-row[b-742rrqlscm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.gc-you[b-742rrqlscm] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: var(--space-sm);
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

.gc-you-tag[b-742rrqlscm] {
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gc-you-line[b-742rrqlscm] {
    color: var(--gc-gold);
}

.gc-close[b-742rrqlscm] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--color-text-light);
    cursor: pointer;
}

.gc-close:hover[b-742rrqlscm] {
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.gc-close:focus-visible[b-742rrqlscm] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gc-close[b-742rrqlscm]  .mud-icon-root {
    width: 22px;
    height: 22px;
}

.gc-line[b-742rrqlscm] {
    max-width: 900px;
    margin: 0;
    color: var(--gc-cream);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 19);
    font-style: italic;
    line-height: 1.35;
}

/* ---- Topic content ---- */

.gc-contracts[b-742rrqlscm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.gc-news[b-742rrqlscm] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md) var(--space-xl);
}

.gc-news-col[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
}

.gc-news-title[b-742rrqlscm] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.gc-news-list[b-742rrqlscm],
.gc-people[b-742rrqlscm],
.gc-steps[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ---- Rooms upstairs: the vitals now and after the night, the price, the morning ---- */

.gc-inn[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 560px;
}

.gc-inn-wake[b-742rrqlscm] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-success-light) 40%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-success) 12%, transparent);
    color: var(--color-success-lighter);
    font-weight: var(--font-weight-semibold);
}

.gc-inn-wake-icon[b-742rrqlscm] {
    display: inline-flex;
    color: var(--color-warning-bright);
}

.gc-inn-rows[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gc-inn-row[b-742rrqlscm] {
    display: grid;
    grid-template-columns: 22px minmax(64px, auto) minmax(80px, 1fr) auto;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
    --gc-vital: var(--color-hp);
}

.gc-inn-row--mana[b-742rrqlscm] { --gc-vital: var(--color-mana); }
.gc-inn-row--ki[b-742rrqlscm] { --gc-vital: var(--color-ki); }

.gc-inn-icon[b-742rrqlscm] {
    display: inline-flex;
    color: var(--gc-vital);
}

.gc-inn-icon[b-742rrqlscm]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

.gc-inn-label[b-742rrqlscm] {
    color: var(--color-text-light);
    font-size: var(--gt-md);
}

.gc-inn-bar[b-742rrqlscm] {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
}

.gc-inn-fill[b-742rrqlscm] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 4px;
    background: var(--gc-vital);
}

/* What the night adds: a paler band past today's fill. */
.gc-inn-fill--after[b-742rrqlscm] {
    background: color-mix(in srgb, var(--gc-vital) 38%, transparent);
}

.gc-inn-value[b-742rrqlscm] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gc-cream);
    font-size: var(--gt-md);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.gc-inn-arrow[b-742rrqlscm] {
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

.gc-inn-after[b-742rrqlscm] {
    color: var(--color-success-lighter);
    font-weight: var(--font-weight-semibold);
}

.gc-inn-price[b-742rrqlscm] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--gt-base);
}

@media (max-width: 480px) {
    .gc-inn-row[b-742rrqlscm] {
        grid-template-columns: 22px minmax(56px, auto) minmax(48px, 1fr) auto;
    }
}

.gc-news-item[b-742rrqlscm],
.gc-person[b-742rrqlscm] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.gc-news-icon[b-742rrqlscm] {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--gc-tone, var(--color-text-secondary)) 16%, transparent);
    color: var(--gc-tone, var(--color-text-secondary));
}

.gc-news-icon[b-742rrqlscm]  .mud-icon-root {
    width: 19px;
    height: 19px;
}

.gc-tone--gold[b-742rrqlscm] { --gc-tone: var(--color-primary); }
.gc-tone--success[b-742rrqlscm] { --gc-tone: var(--color-success-light); }
.gc-tone--danger[b-742rrqlscm] { --gc-tone: var(--color-danger-light); }
.gc-tone--info[b-742rrqlscm] { --gc-tone: var(--color-info-light); }
.gc-tone--epic[b-742rrqlscm] { --gc-tone: var(--color-rarity-epic); }

.gc-tone-text--epic[b-742rrqlscm] { color: var(--color-monk-light); }
.gc-tone-text--gold[b-742rrqlscm] { color: var(--color-primary); }
.gc-tone-text--success[b-742rrqlscm] { color: var(--color-success-lighter); }
.gc-tone-text--danger[b-742rrqlscm] { color: var(--color-danger-lighter); }
.gc-tone-text--info[b-742rrqlscm] { color: var(--color-info-lighter); }

.gc-news-text[b-742rrqlscm],
.gc-person-text[b-742rrqlscm] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
    line-height: 1.4;
}

.gc-news-text a[b-742rrqlscm] {
    color: var(--color-text-lighter);
    text-decoration: none;
}

.gc-news-text a:hover[b-742rrqlscm] {
    color: var(--color-primary);
}

.gc-news-text small[b-742rrqlscm],
.gc-person-text small[b-742rrqlscm] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.gc-news-link[b-742rrqlscm] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    align-self: flex-start;
    color: var(--gc-gold);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

/* Touch screens: a 44px hit area for the "All posts" / "Friends" links (spec section 3). */
@media (pointer: coarse) {
    .gc-news-link[b-742rrqlscm] {
        min-height: 44px;
    }
}

.gc-news-link[b-742rrqlscm]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.gc-person-text[b-742rrqlscm] {
    flex: 1;
}

.gc-join[b-742rrqlscm] {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.gc-join:disabled[b-742rrqlscm] {
    background: var(--color-gray-700);
    color: var(--color-text-secondary);
    cursor: not-allowed;
}

.gc-steps[b-742rrqlscm] {
    counter-reset: gc-step;
    gap: 10px;
}

.gc-step[b-742rrqlscm] {
    position: relative;
    padding-left: 38px;
    color: var(--color-text-lighter);
    font-size: var(--gt-base);
    line-height: 1.45;
    counter-increment: gc-step;
}

.gc-step[b-742rrqlscm]::before {
    position: absolute;
    top: -2px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2.31em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 900;
    content: counter(gc-step);
}

/* ---- Replies ---- */

.gc-replies[b-742rrqlscm] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.gc-reply[b-742rrqlscm] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px 0 10px;
    border: 1px solid color-mix(in srgb, var(--gc-gold) 38%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--gc-gold) 7%, transparent);
    color: var(--gc-cream);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

.gc-reply:hover[b-742rrqlscm] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.gc-reply:focus-visible[b-742rrqlscm] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.gc-reply--primary[b-742rrqlscm] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.gc-reply--quiet[b-742rrqlscm] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    background: transparent;
    color: var(--color-text-light);
}

.gc-kbd[b-742rrqlscm] {
    display: none;
    padding: 1px 6px;
    border: 1px solid color-mix(in srgb, var(--gc-gold) 50%, transparent);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--gc-gold);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
}

.gc-reply--quiet .gc-kbd[b-742rrqlscm] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    color: var(--color-text-light);
}

.gc--keys .gc-kbd[b-742rrqlscm] {
    display: inline-block;
}

/* ---- Phone: tighter, the replies stack full width ---- */
@media (max-width: 480px) {
    .garrick-conversation[b-742rrqlscm] {
        padding: 14px;
        border-radius: 14px;
        /* Clear of whatever the frame pins at the bottom (the phone's dock yields while the conversation is open). */
        scroll-margin-bottom: calc(var(--frame-bottom, 0px) + var(--space-lg));
    }

    .gc-line[b-742rrqlscm] {
        font-size: calc(var(--gt-px) * 17);
    }

    .gc-replies[b-742rrqlscm] {
        flex-direction: column;
        align-items: stretch;
    }

    .gc--keys .gc-kbd[b-742rrqlscm] {
        display: none;
    }
}

/* ---- 960 and up: the panel rises from the bar over the stage, above a scrim ---- */
@media (min-width: 960px) {
    .gc-scrim[b-742rrqlscm] {
        position: fixed;
        inset: 0;
        z-index: 0;
        display: block;
        background: color-mix(in srgb, var(--color-bg-base) 62%, transparent);
    }

    .garrick-conversation[b-742rrqlscm] {
        --gc-medallion: 96px;

        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        grid-template-columns: 140px minmax(0, 1fr);
        gap: var(--space-xl);
        max-height: calc(var(--tavern-stage-height, 520px) + 60px);
        margin-top: 0;
        padding: var(--space-xl) 28px;
        overflow-y: auto;
        border-radius: 20px;
    }

    .gc-speaker[b-742rrqlscm] {
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px;
        padding-top: 6px;
        text-align: center;
    }

    .gc-speaker-name[b-742rrqlscm] {
        align-items: center;
    }

    .gc-name[b-742rrqlscm] {
        font-size: var(--gt-xl);
    }

    .gc-speaker-title[b-742rrqlscm] {
        font-size: calc(var(--gt-px) * 15);
    }

    .gc-line[b-742rrqlscm] {
        font-size: calc(var(--gt-px) * 21);
    }
}

@media (min-width: 1280px) {
    .garrick-conversation[b-742rrqlscm] {
        --gc-medallion: 132px;

        grid-template-columns: 180px minmax(0, 1fr);
        gap: 28px;
    }

    .gc-line[b-742rrqlscm] {
        font-size: calc(var(--gt-px) * 23);
    }

    .gc-contracts[b-742rrqlscm] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .gc-glow[b-742rrqlscm] {
        animation: none;
        opacity: 0.85;
    }

    .gc-reply[b-742rrqlscm] {
        transition: none;
    }
}
/* /Components/Tavern/TavernActionButton.razor.rz.scp.css */
/* Tavern action button (owner: F). Intentionally unstyled: callers style it through CssClass. */
/* /Components/Tavern/TavernBusyPanel.razor.rz.scp.css */
/* "Garrick is busy" (robustness review P3, 19 Nov 2026). Page-wide when the tavern's first reads failed, compact over the
   hub when a tour reset failed. Tokens only; the one action is a quiet gold outline (the hub's gold stays for play). */

.tavern-busy[b-zj105eny1u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    max-width: 560px;
    margin: 12vh auto 0;
    padding: var(--space-2xl) var(--space-xl);
    border: 1px solid var(--color-border-active);
    border-radius: var(--radius-3xl);
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    text-align: center;
}

.tavern-busy--compact[b-zj105eny1u] {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    margin: 0 0 var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-xl);
    text-align: start;
}

.tavern-busy[b-zj105eny1u]  .tavern-busy-icon {
    color: var(--color-warning-bright);
    font-size: calc(var(--gt-px) * 40);
}

.tavern-busy--compact[b-zj105eny1u]  .tavern-busy-icon {
    font-size: var(--gt-2xl);
}

.tavern-busy-text[b-zj105eny1u] {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    min-width: 0;
}

.tavern-busy--compact .tavern-busy-text[b-zj105eny1u] {
    flex: 1 1 240px;
}

.tavern-busy-title[b-zj105eny1u] {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}

.tavern-busy--compact .tavern-busy-title[b-zj105eny1u] {
    font-family: var(--font-primary);
    font-size: var(--gt-base);
}

.tavern-busy-line[b-zj105eny1u] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

.tavern-busy-retry[b-zj105eny1u] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 40px;
    padding: 0 var(--space-lg);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    touch-action: manipulation;
}

.tavern-busy-retry:hover[b-zj105eny1u] {
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.tavern-busy-retry:focus-visible[b-zj105eny1u] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tavern-busy-retry[aria-disabled="true"][b-zj105eny1u] {
    cursor: progress;
}

@media (pointer: coarse) {
    .tavern-busy-retry[b-zj105eny1u] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .tavern-busy[b-zj105eny1u],
    .tavern-busy-retry[b-zj105eny1u] {
        border-color: CanvasText;
    }
}
/* /Components/Tavern/TavernCommonRoom.razor.rz.scp.css */
/* TavernCommonRoom (owner: W3). Design tokens only; translucent shades are color-mix() of a token. Canonical
   breakpoints only (480 / 1280). No animation or transition.
   Presence reads by shape as well as color: Online is a solid dot, Away a hollow ring (HUD WP12h rule). */

.tavern-common-room[b-nrv80z4clk] {
    --tcr-card-bg: var(--color-gray-800);
    --tcr-line: color-mix(in srgb, var(--color-text-secondary) 15%, transparent);

    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 20px;
    border-radius: var(--radius-3xl);
    background: linear-gradient(180deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.tcr-here[b-nrv80z4clk] {
    font-size: calc(var(--gt-px) * 12.8);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.tcr-here-short[b-nrv80z4clk] {
    display: none;
}

.tcr-empty[b-nrv80z4clk] {
    margin: 0;
    padding: var(--space-xs) 0 var(--space-sm);
    font-size: calc(var(--gt-px) * 13.12);
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.tcr-list[b-nrv80z4clk] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tcr-row[b-nrv80z4clk] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: 56px;
    min-width: 0;
}

.tcr-tx[b-nrv80z4clk] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.tcr-name[b-nrv80z4clk] {
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tcr-sub[b-nrv80z4clk] {
    display: flex;
    align-items: center;
    min-width: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.tcr-status[b-nrv80z4clk] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tcr-sep[b-nrv80z4clk] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

/* Class and level ride the status line from 1280 up (canvas A-1366 / A-1920); narrower rows show the status alone. */
.tcr-class-level[b-nrv80z4clk],
.tcr-class-sep[b-nrv80z4clk] {
    display: none;
}

@media (min-width: 1280px) {
    .tcr-class-level[b-nrv80z4clk] {
        display: inline;
        flex: none;
    }

    .tcr-class-sep[b-nrv80z4clk] {
        display: inline-block;
    }
}

/* ===== Avatar: portrait or letter in the class-colored ring, the presence mark on its corner ===== */

.tcr-ava[b-nrv80z4clk] {
    --tcr-ring: var(--color-text-tertiary);

    position: relative;
    flex: none;
    width: 40px;
    height: 40px;
}

.tcr-ava-frame[b-nrv80z4clk] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--tcr-ring);
    background: var(--color-gray-800);
}

.tcr-ava-frame img[b-nrv80z4clk] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.tcr-initial[b-nrv80z4clk] {
    font-family: var(--font-primary);
    font-size: var(--gt-lg);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-light);
}

.tcr-presence[b-nrv80z4clk] {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--tcr-card-bg);
}

.tcr-presence--online[b-nrv80z4clk] {
    background: var(--color-success-light);
}

.tcr-presence--away[b-nrv80z4clk] {
    background: var(--tcr-card-bg);
    box-shadow: inset 0 0 0 3px var(--color-warning);
}

/* ===== Invite rows (an invite no friend row carries) ===== */

.tcr-invites[b-nrv80z4clk] {
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.tcr-invite[b-nrv80z4clk] {
    flex-wrap: wrap;
    padding: var(--space-sm) 10px;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-gray-900) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.tcr-invite-icon[b-nrv80z4clk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
}

.tcr-invite-icon[b-nrv80z4clk]  .tcr-invite-glyph {
    width: 1em;
    height: 1em;
    font-size: calc(var(--gt-px) * 22);
}

.tcr-timer[b-nrv80z4clk] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: none;
    font-weight: var(--font-weight-bold);
    color: var(--color-danger-lighter);
}

.tcr-timer[b-nrv80z4clk]  .tcr-timer-glyph {
    width: 1em;
    height: 1em;
    font-size: calc(var(--gt-px) * 15);
}

.tcr-invite-actions[b-nrv80z4clk] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

.tcr-blocked[b-nrv80z4clk] {
    font-size: var(--gt-sm);
    color: var(--color-primary-light);
    white-space: nowrap;
}

/* ===== Buttons ===== */

.tcr-btn[b-nrv80z4clk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: none;
    min-height: 36px;
    padding: 0 var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    font-family: inherit;
    font-size: calc(var(--gt-px) * 12.8);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.tcr-btn[b-nrv80z4clk]  .tcr-btn-glyph {
    width: 1em;
    height: 1em;
    font-size: calc(var(--gt-px) * 17);
}

.tcr-btn--gold[b-nrv80z4clk] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-weight: var(--font-weight-bold);
}

.tcr-btn--quiet[b-nrv80z4clk] {
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    color: var(--color-text-lighter);
}

.tcr-btn--gold:hover[b-nrv80z4clk] {
    filter: brightness(1.06);
}

.tcr-btn--quiet:hover[b-nrv80z4clk] {
    border-color: var(--color-border-active);
    color: var(--color-text-primary);
}

.tcr-icon-btn[b-nrv80z4clk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xl);
    color: var(--color-text-light);
}

.tcr-icon-btn:hover[b-nrv80z4clk] {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.tcr-icon-btn[b-nrv80z4clk]  .tcr-icon-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-2xl);
}

.tcr-btn:focus-visible[b-nrv80z4clk],
.tcr-icon-btn:focus-visible[b-nrv80z4clk] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tcr-count[b-nrv80z4clk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.79em;
    height: 1.79em;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-danger);
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
}

.tcr-foot[b-nrv80z4clk] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
    padding-top: var(--space-md);
    border-top: 1px solid var(--tcr-line);
}

.tcr-foot--empty[b-nrv80z4clk] {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Touch screens: 44px targets (spec section 3, tablet). */
@media (pointer: coarse) {
    .tcr-btn[b-nrv80z4clk] {
        min-height: 44px;
    }
}

/* ===== Phone (camp mode, canvas A-390): "4 here", status lines only, no footer (the hub dock carries Friends) ===== */
@media (max-width: 480px) {
    .tavern-common-room[b-nrv80z4clk] {
        gap: 2px;
        padding: 14px;
    }

    .tcr-here-long[b-nrv80z4clk] {
        display: none;
    }

    .tcr-here-short[b-nrv80z4clk] {
        display: inline;
    }

    .tcr-foot:not(.tcr-foot--empty)[b-nrv80z4clk] {
        display: none;
    }

    .tcr-invite-actions[b-nrv80z4clk] {
        width: 100%;
        justify-content: flex-end;
    }
}
/* /Components/Tavern/TavernCompanionCard.razor.rz.scp.css */
/* TavernCompanionCard (owner, 20 Nov 2026: "a card under the player card with Pet Info"). It wears the hero plate's
   look on every tier and sits under it as one column:
     base (481-959)         a slim row under the header band (the band's surface and rule, padded by the gutter):
                            portrait, the heading and one short line, the links; the XP bar is left to the Stables
     max-width 480          the same row, shorter: no rarity or species, the Stables alone (it leads to the Pet Shop)
     min-width 960          the plate's glass card under the plate: portrait, name, rarity and species, level and mood,
                            the XP bar, Stables and Pet Shop; what it gives in a fight on the wide tier only, where the
                            stage has the height (the page lets the stage grow rather than run the card under Garrick)
   Tokens only (the rarity reads --color-pet-{rarity} through --tcc-rarity), canonical breakpoints only, 44px targets on
   a coarse pointer. */

.tavern-companion-card[b-57t8j7kb1n] {
    --tcc-gold: color-mix(in srgb, var(--color-primary-dark) 75%, var(--color-text-primary));
    --tcc-rarity: var(--color-text-secondary);
    --tcc-portrait: 40px;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-md);
    row-gap: var(--space-sm);
    padding: var(--space-sm) var(--tavern-gutter, var(--space-xl));
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    background: color-mix(in srgb, var(--color-gray-800) 30%, transparent);
    color: var(--color-text-primary);
}

.tcc-rarity--common[b-57t8j7kb1n] { --tcc-rarity: var(--color-pet-common); }
.tcc-rarity--uncommon[b-57t8j7kb1n] { --tcc-rarity: var(--color-pet-uncommon); }
.tcc-rarity--rare[b-57t8j7kb1n] { --tcc-rarity: var(--color-pet-rare); }
.tcc-rarity--epic[b-57t8j7kb1n] { --tcc-rarity: var(--color-pet-epic); }
.tcc-rarity--legendary[b-57t8j7kb1n] { --tcc-rarity: var(--color-pet-legendary); }

/* ---- Identity row ---- */

.tcc-head[b-57t8j7kb1n] {
    display: flex;
    flex: 1 1 12em;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
}

.tcc-portrait[b-57t8j7kb1n] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: var(--tcc-portrait);
    height: var(--tcc-portrait);
    overflow: hidden;
    border: 2px solid var(--tcc-rarity);
    border-radius: 50%;
    background: var(--color-gray-800);
    color: var(--color-text-secondary);
}

.tcc-portrait img[b-57t8j7kb1n] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tcc-portrait[b-57t8j7kb1n]  .mud-icon-root {
    width: 55%;
    height: 55%;
}

.tcc-kind--companion .tcc-portrait[b-57t8j7kb1n]  .mud-icon-root {
    color: var(--tcc-rarity);
}

.tcc-ident[b-57t8j7kb1n] {
    flex: 1;
    min-width: 0;
}

.tcc-title[b-57t8j7kb1n] {
    margin: 0;
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-bold);
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The teaser's and the empty side's headings are sentences: they wrap rather than lose their end. */
.tcc-kind--locked .tcc-title[b-57t8j7kb1n],
.tcc-kind--empty .tcc-title[b-57t8j7kb1n] {
    white-space: normal;
}

.tcc-line[b-57t8j7kb1n],
.tcc-meta[b-57t8j7kb1n],
.tcc-bonus[b-57t8j7kb1n],
.tcc-other-evolve[b-57t8j7kb1n] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
}

.tcc-meta[b-57t8j7kb1n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.tcc-breed[b-57t8j7kb1n] {
    display: inline;
}

.tcc-rarity[b-57t8j7kb1n] {
    color: var(--tcc-rarity);
    font-weight: var(--font-weight-bold);
}

.tcc-species[b-57t8j7kb1n] {
    color: var(--color-text-light);
}

.tcc-level[b-57t8j7kb1n] {
    color: var(--color-text-light);
    font-weight: var(--font-weight-semibold);
}

.tcc-mood[b-57t8j7kb1n] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.tcc-mood[b-57t8j7kb1n]  .mud-icon-root {
    width: 14px;
    height: 14px;
}

.tcc-sep[b-57t8j7kb1n] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

/* "Ready to evolve": a shape (sparkle chip) and the words, in the success tone the Stables station's pip uses. Below
   960 it shares the second row with the links; from 960 it takes a row of its own. */
.tcc-evolve-row[b-57t8j7kb1n] {
    display: flex;
    flex: 1 1 auto;
    margin: 0;
}

.tcc-evolve[b-57t8j7kb1n] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.17em;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--color-success-light) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-success-light) 18%, var(--color-bg-base));
    color: var(--color-success-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.tcc-evolve[b-57t8j7kb1n]  .mud-icon-root,
.tcc-other-evolve[b-57t8j7kb1n]  .mud-icon-root {
    width: 14px;
    height: 14px;
}

.tcc-other-evolve[b-57t8j7kb1n] {
    display: flex;
    flex-basis: 100%;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-success-lighter);
}

/* ---- XP and bonus (the glass card only) ---- */

.tcc-xp[b-57t8j7kb1n],
.tcc-bonus[b-57t8j7kb1n] {
    display: none;
}

.tcc-xp[b-57t8j7kb1n] {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-xs);
}

.tcc-bar[b-57t8j7kb1n] {
    position: relative;
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.tcc-bar i[b-57t8j7kb1n] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--color-primary-darker), var(--color-primary));
}

.tcc-xp-text[b-57t8j7kb1n] {
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.tcc-bonus[b-57t8j7kb1n] {
    flex-basis: 100%;
    color: var(--color-text-light);
}

/* ---- Links ---- */

.tcc-links[b-57t8j7kb1n] {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tcc-link[b-57t8j7kb1n] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
}

.tcc-link--primary[b-57t8j7kb1n] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--tcc-gold);
}

.tcc-link:hover[b-57t8j7kb1n] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    color: var(--color-primary);
}

.tcc-link:focus-visible[b-57t8j7kb1n] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tcc-link[b-57t8j7kb1n]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

@media (pointer: coarse) {
    .tcc-link[b-57t8j7kb1n] {
        min-height: 44px;
    }
}

/* ---- Phone (A-390): one short row; the Pet Shop gives way to the Stables, which leads to it ---- */
@media (max-width: 480px) {
    .tavern-companion-card[b-57t8j7kb1n] {
        --tcc-portrait: 36px;

        padding: var(--space-sm) var(--tavern-gutter, var(--space-lg));
    }

    .tcc-breed[b-57t8j7kb1n],
    .tcc-breed + .tcc-sep[b-57t8j7kb1n],
    .tcc-kind--empty .tcc-line[b-57t8j7kb1n],
    .tcc-link--quiet[b-57t8j7kb1n] {
        display: none;
    }

    .tcc-title[b-57t8j7kb1n] {
        font-size: var(--gt-md);
    }

    .tcc-link[b-57t8j7kb1n] {
        min-height: 44px;
    }
}

/* ---- Tablet and desktop (A-1024 and up): the plate's glass card, under the plate ---- */
@media (min-width: 960px) {
    .tavern-companion-card[b-57t8j7kb1n] {
        --tcc-portrait: 48px;

        column-gap: var(--space-md);
        row-gap: var(--space-sm);
        margin-top: var(--space-md);
        padding: var(--space-md) 18px;
        border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
        border-radius: var(--radius-3xl);
        background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
        box-shadow: 0 20px 50px color-mix(in srgb, black 45%, transparent);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .tcc-head[b-57t8j7kb1n],
    .tcc-evolve-row[b-57t8j7kb1n] {
        flex-basis: 100%;
    }

    .tcc-xp[b-57t8j7kb1n] {
        display: grid;
    }

    /* What it gives in a fight: on the wide tier, where the stage is tall enough for the line (an ancestor class:
       scoped CSS marks only the last part of the selector). */
    .tavern-hub--wide .tcc-bonus[b-57t8j7kb1n] {
        display: block;
    }

    .tcc-links[b-57t8j7kb1n] {
        flex-basis: 100%;
    }

    .tcc-link[b-57t8j7kb1n] {
        flex: 1;
        min-height: 32px;
    }

    /* The teaser is one quiet row (two classes, so the 1280 block's padding does not undo it). */
    .tavern-companion-card.tcc-kind--locked[b-57t8j7kb1n] {
        --tcc-portrait: 36px;

        padding-block: 10px;
    }
}

/* A touch screen keeps 44px links on every tier (after the tablet block's 32px, so this one wins). */
@media (min-width: 960px) and (pointer: coarse) {
    .tcc-link[b-57t8j7kb1n] {
        min-height: 44px;
    }
}

@media (min-width: 1280px) {
    .tavern-companion-card[b-57t8j7kb1n] {
        padding: var(--space-md) 22px;
    }
}
/* /Components/Tavern/TavernContractCard.razor.rz.scp.css */
/* TavernContractCard (owner: W3; shared with GarrickConversation). Design tokens only; translucent shades are
   color-mix() of a token. Canonical breakpoints only (480). No animation or transition.
   Rows inside TavernContractsPanel read the panel's "tavern-contracts" container: below 600px wide (the 1024 tier,
   the wide tier's narrow column) the reward chips drop under the text, as on canvas boards A-1024 and A-1920. */

.tcc[b-cjfz4vlrvg] {
    --tcc-gold: var(--color-primary);
    --tcc-line: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);

    min-width: 0;
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    border: 1px solid var(--tcc-line);
    color: var(--color-text-primary);
}

.tcc.is-weekly[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-info-light) 35%, transparent);
}

/* A tier 4 Legend contract (levels 18-20): the gold of its Legendary cache, not the bounty's blue. */
.tcc.is-legend[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

/* ===== Shared pieces ===== */

.tcc-icon[b-cjfz4vlrvg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    color: var(--tcc-gold);
}

.tcc-icon[b-cjfz4vlrvg]  .tcc-icon-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-3xl);
}

.tcc.is-weekly .tcc-icon[b-cjfz4vlrvg] {
    background: color-mix(in srgb, var(--color-info) 12%, transparent);
    border-color: color-mix(in srgb, var(--color-info-light) 45%, transparent);
    color: var(--color-info-lighter);
}

.tcc-title[b-cjfz4vlrvg] {
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.25;
}

.tcc-period[b-cjfz4vlrvg] {
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-info-lighter);
}

/* LEGEND / Legend bounty in the Legend gold, as its border and reward text. */
.tcc.is-legend .tcc-period[b-cjfz4vlrvg] {
    color: var(--color-primary-light);
}

.tcc-description[b-cjfz4vlrvg] {
    margin: 0;
    font-size: var(--gt-sm);
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.tcc-progress[b-cjfz4vlrvg] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 0;
}

.tcc-bar[b-cjfz4vlrvg] {
    position: relative;
    flex: 1;
    min-width: 48px;
    height: 7px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
    overflow: hidden;
}

.tcc-fill[b-cjfz4vlrvg] {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--tcc-fill, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}

.tcc.is-done .tcc-fill[b-cjfz4vlrvg] {
    background: linear-gradient(90deg, var(--color-success-dark), var(--color-success-light));
}

.tcc-tally[b-cjfz4vlrvg] {
    display: inline-flex;
    color: var(--color-text-secondary);
}

.tcc-tally.is-done[b-cjfz4vlrvg] {
    color: var(--color-success-light);
}

.tcc-tally[b-cjfz4vlrvg]  .tcc-tally-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-xl);
}

.tcc-count[b-cjfz4vlrvg],
.tcc-count-compact[b-cjfz4vlrvg] {
    flex: none;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-lighter);
    white-space: nowrap;
}

.tcc-count-compact[b-cjfz4vlrvg],
.tcc-reward-text[b-cjfz4vlrvg] {
    display: none;
}

.tcc-chip[b-cjfz4vlrvg] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    height: 2.33em;
    padding: 0 10px;
    border-radius: 999px;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 72%, transparent);
    color: var(--color-text-lighter);
}

.tcc-chip[b-cjfz4vlrvg]  .tcc-chip-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-lg);
}

.tcc-chip--gold[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 38%, transparent);
    color: var(--color-primary-light);
}

.tcc-chip--coin[b-cjfz4vlrvg] {
    color: var(--color-primary-light);
}

.tcc-chip--success[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-success-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-success-dark) 35%, transparent);
    color: var(--color-success-lighter);
}

.tcc-chip--info[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-info-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-info-dark) 35%, transparent);
    color: var(--color-info-lightest);
}

.tcc-chip--epic[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-rarity-epic) 55%, transparent);
    background: color-mix(in srgb, var(--color-rarity-epic) 25%, transparent);
    color: var(--color-monk-lightest);
}

.tcc-chip--danger[b-cjfz4vlrvg] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 35%, transparent);
    color: var(--color-danger-lightest);
}

.tcc-take[b-cjfz4vlrvg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 var(--space-md);
    border: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: inherit;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
    cursor: pointer;
}

.tcc-take:hover[b-cjfz4vlrvg] {
    filter: brightness(1.06);
}

.tcc-take:focus-visible[b-cjfz4vlrvg] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.tcc-status[b-cjfz4vlrvg] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-success-lighter);
    white-space: nowrap;
}

.tcc-status[b-cjfz4vlrvg]  .tcc-status-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-lg);
}

/* ===== Row (contracts panel) ===== */

.tcc--row[b-cjfz4vlrvg] {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md) 14px;
    padding: 14px var(--space-lg);
}

.tcc-body[b-cjfz4vlrvg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tcc-line[b-cjfz4vlrvg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--space-sm);
    row-gap: 2px;
    min-width: 0;
}

.tcc--row .tcc-description[b-cjfz4vlrvg] {
    min-width: 0;
}

.tcc-sep[b-cjfz4vlrvg] {
    width: 4px;
    height: 4px;
    flex: none;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.tcc-rewards[b-cjfz4vlrvg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    max-width: 220px;
}

/* A narrow panel (the 1024 tier, the wide tier's column): title over description, chips under the text. */
@container tavern-contracts (max-width: 599px) {
    .tcc--row[b-cjfz4vlrvg] {
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        row-gap: 10px;
    }

    .tcc--row .tcc-icon[b-cjfz4vlrvg] {
        width: 44px;
        height: 44px;
    }

    .tcc--row .tcc-line[b-cjfz4vlrvg] {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 6px;
    }

    .tcc--row .tcc-sep[b-cjfz4vlrvg] {
        display: none;
    }

    .tcc--row .tcc-rewards[b-cjfz4vlrvg] {
        grid-column: 2;
        justify-content: flex-start;
        max-width: none;
    }
}

/* ===== Compact (phone): title and reward on one line, then the bar and "7/12 undead" ===== */

.tcc--compact[b-cjfz4vlrvg] {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--space-md);
    padding: var(--space-md);
}

.tcc--compact .tcc-icon[b-cjfz4vlrvg] {
    width: 40px;
    height: 40px;
}

.tcc--compact .tcc-icon[b-cjfz4vlrvg]  .tcc-icon-glyph {
    width: 1em;
    height: 1em;
    font-size: calc(var(--gt-px) * 21);
}

.tcc--compact .tcc-line[b-cjfz4vlrvg] {
    flex-wrap: nowrap;
}

.tcc--compact .tcc-title[b-cjfz4vlrvg] {
    font-size: calc(var(--gt-px) * 13.44);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tcc--compact .tcc-sep[b-cjfz4vlrvg],
.tcc--compact .tcc-description[b-cjfz4vlrvg],
.tcc--compact .tcc-count[b-cjfz4vlrvg],
.tcc--compact .tcc-chip[b-cjfz4vlrvg] {
    display: none;
}

.tcc--compact .tcc-reward-text[b-cjfz4vlrvg] {
    display: inline;
    margin-left: auto;
    padding-left: var(--space-sm);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary-light);
    white-space: nowrap;
}

.tcc--compact .tcc-reward-text.is-info[b-cjfz4vlrvg] {
    color: var(--color-info-lighter);
}

.tcc--compact .tcc-count-compact[b-cjfz4vlrvg] {
    display: inline;
    font-size: var(--gt-sm);
}

.tcc--compact .tcc-bar[b-cjfz4vlrvg] {
    height: 6px;
}

.tcc--compact .tcc-rewards[b-cjfz4vlrvg] {
    grid-column: 1 / -1;
    justify-content: flex-end;
    max-width: none;
}

.tcc--compact .tcc-rewards:not(:has(.tcc-take, .tcc-status))[b-cjfz4vlrvg] {
    display: none;
}

@media (max-width: 480px) {
    .tcc--row[b-cjfz4vlrvg] {
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .tcc--row .tcc-icon[b-cjfz4vlrvg] {
        width: 40px;
        height: 40px;
    }

    .tcc--row .tcc-line[b-cjfz4vlrvg] {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .tcc--row .tcc-title[b-cjfz4vlrvg] {
        font-size: calc(var(--gt-px) * 13.44);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tcc--row .tcc-sep[b-cjfz4vlrvg],
    .tcc--row .tcc-description[b-cjfz4vlrvg],
    .tcc--row .tcc-count[b-cjfz4vlrvg],
    .tcc--row .tcc-chip[b-cjfz4vlrvg] {
        display: none;
    }

    .tcc--row .tcc-reward-text[b-cjfz4vlrvg] {
        display: inline;
        margin-left: auto;
        padding-left: var(--space-sm);
        font-size: var(--gt-sm);
        font-weight: var(--font-weight-bold);
        color: var(--color-primary-light);
        white-space: nowrap;
    }

    .tcc--row .tcc-reward-text.is-info[b-cjfz4vlrvg] {
        color: var(--color-info-lighter);
    }

    .tcc--row .tcc-count-compact[b-cjfz4vlrvg] {
        display: inline;
        font-size: var(--gt-sm);
    }

    .tcc--row .tcc-bar[b-cjfz4vlrvg] {
        height: 6px;
    }

    .tcc--row .tcc-rewards[b-cjfz4vlrvg] {
        grid-column: 1 / -1;
        justify-content: flex-end;
        max-width: none;
    }

    .tcc--row .tcc-rewards:not(:has(.tcc-take, .tcc-status))[b-cjfz4vlrvg] {
        display: none;
    }
}

/* ===== Card (Garrick's conversation, canvas board A-Talk) ===== */

.tcc--card[b-cjfz4vlrvg] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: 14px;
    background: color-mix(in srgb, var(--color-gray-900) 75%, transparent);
    border-color: color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
}

.tcc--card.is-offered[b-cjfz4vlrvg] {
    border-color: var(--color-primary);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-primary) 12%, transparent),
        color-mix(in srgb, var(--color-gray-900) 85%, transparent));
    box-shadow: 0 0 30px color-mix(in srgb, var(--color-primary) 15%, transparent);
}

.tcc-head[b-cjfz4vlrvg] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tcc--card .tcc-icon[b-cjfz4vlrvg] {
    width: 38px;
    height: 38px;
    border-radius: 9px;
}

.tcc--card .tcc-icon[b-cjfz4vlrvg]  .tcc-icon-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-2xl);
}

.tcc-titles[b-cjfz4vlrvg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tcc--card .tcc-period[b-cjfz4vlrvg] {
    font-size: var(--gt-sm);
}

.tcc--card .tcc-bar[b-cjfz4vlrvg] {
    height: 6px;
}

.tcc-foot[b-cjfz4vlrvg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    margin-top: auto;
}

.tcc--card .tcc-chip[b-cjfz4vlrvg] {
    height: 24px;
}

.tcc--card.is-offered .tcc-foot[b-cjfz4vlrvg] {
    flex-direction: column;
    align-items: stretch;
}

.tcc--card.is-offered .tcc-chip[b-cjfz4vlrvg] {
    align-self: flex-start;
}

/* Touch screens: 44px targets (spec section 3, tablet). */
@media (pointer: coarse) {
    .tcc-take[b-cjfz4vlrvg] {
        min-height: 44px;
    }
}
/* /Components/Tavern/TavernContractsPanel.razor.rz.scp.css */
/* TavernContractsPanel (owner: W3). Design tokens only; canonical breakpoints only (480). No animation.
   The frame is a size container ("tavern-contracts"): the heading and the rows (TavernContractCard) follow the
   column's width, so one component serves the 820px column at 1366, the full width at 768 and the narrow columns of
   the 1024 and wide tiers (canvas boards A-1366, A-768, A-1024, A-1920). */

.tavern-contracts-panel[b-y35kkegm6k] {
    min-width: 0;
    border-radius: var(--radius-3xl);
    background: linear-gradient(180deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.tcp-frame[b-y35kkegm6k] {
    container: tavern-contracts / inline-size;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding: 20px;
}

/* The section header brings its own bottom margin; the frame's gap spaces the panel instead. */
.tcp-head[b-y35kkegm6k]  .tavern-section-header {
    margin-bottom: 0;
}

.tcp-head--short[b-y35kkegm6k] {
    display: none;
}

.tcp-reset[b-y35kkegm6k] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: calc(var(--gt-px) * 12.8);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

.tcp-reset[b-y35kkegm6k]  .tcp-reset-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-lg);
}

.tcp-reset-short[b-y35kkegm6k] {
    display: none;
}

.tcp-group[b-y35kkegm6k] {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin: 2px 0 0;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.tcp-group-note[b-y35kkegm6k] {
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.02em;
    text-transform: none;
    /* Secondary, not tertiary: 11px text needs 4.5:1, and tertiary is about 3.1-3.75:1 on the panel. */
    color: var(--color-text-secondary);
}

.tcp-list[b-y35kkegm6k] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* The week's Legend choice (levels 18-20): what "Take it" does. Shown at every width, unlike the group label. */
.tcp-choice-note[b-y35kkegm6k] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.tcp-choice-note[b-y35kkegm6k]  .tcp-choice-glyph {
    width: 1em;
    height: 1em;
    font-size: var(--gt-lg);
    color: var(--color-primary-light);
}

/* While the "This week" group label shows, the weekly row doesn't repeat it (canvas A-1366). A Legend row keeps its
   LEGEND label at every width: no group label says it. */
.tcp-list[b-y35kkegm6k]  .tcc--row.is-weekly:not(.is-legend) .tcc-period {
    display: none;
}

/* Between 520 and 639px: the long title, the short countdown (canvas A-768 keeps "Garrick's contracts"). */
@container tavern-contracts (max-width: 639px) {
    .tcp-reset-long[b-y35kkegm6k] {
        display: none;
    }

    .tcp-reset-short[b-y35kkegm6k] {
        display: inline;
    }
}

/* Under 520px: the short title ("Contracts") and no group labels; a weekly row carries its own WEEKLY label. */
@container tavern-contracts (max-width: 519px) {
    .tcp-head--long[b-y35kkegm6k] {
        display: none;
    }

    .tcp-head--short[b-y35kkegm6k] {
        display: block;
    }

    .tcp-group[b-y35kkegm6k] {
        display: none;
    }

    /* The hide rule's own selector: equal weight, later in the sheet, so this one applies. */
    .tcp-list[b-y35kkegm6k]  .tcc--row.is-weekly:not(.is-legend) .tcc-period {
        display: inline;
    }
}

@media (max-width: 480px) {
    .tcp-frame[b-y35kkegm6k] {
        gap: 10px;
        padding: 14px;
    }

    .tcp-list[b-y35kkegm6k] {
        gap: 10px;
    }
}
/* /Components/Tavern/TavernFirstSteps.razor.rz.scp.css */
/* TavernFirstSteps (owner: W2). Design tokens only; canonical breakpoints only (480 / 768 / 960 / 1024 / 1280).
   One card per step: 2x2 on portrait, one row from 960, a list at 480 and down. D7: no reward line. */

.tavern-first-steps[b-h45z826gco] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tfs-progress[b-h45z826gco] {
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
    white-space: nowrap;
}

.tfs-steps[b-h45z826gco] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tfs-step[b-h45z826gco] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: var(--space-lg);
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 94%, transparent),
        color-mix(in srgb, var(--color-gray-900) 97%, transparent));
}

.tfs-step--done[b-h45z826gco] {
    border-color: color-mix(in srgb, var(--color-success-light) 40%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-success-dark) 22%, transparent),
        color-mix(in srgb, var(--color-gray-900) 97%, transparent));
}

.tfs-top[b-h45z826gco] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tfs-check[b-h45z826gco] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.15em;
    height: 2.15em;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
}

.tfs-check[b-h45z826gco]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

.tfs-step--done .tfs-check[b-h45z826gco] {
    border-color: var(--color-success);
    background: var(--color-success);
    color: var(--color-bg-base);
}

.tfs-title[b-h45z826gco] {
    min-width: 0;
    color: var(--color-text-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
}

.tfs-sr[b-h45z826gco] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.tfs-bottom[b-h45z826gco] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-width: 0;
}

.tfs-detail[b-h45z826gco] {
    min-width: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
}

.tfs-action[b-h45z826gco] {
    display: flex;
    flex: none;
}

.tfs-action[b-h45z826gco]  .tfs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    transition: filter var(--transition-fast), background-color var(--transition-fast);
}

.tfs-action[b-h45z826gco]  .tfs-btn--gold {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.tfs-action[b-h45z826gco]  .tfs-btn--gold:hover {
    filter: brightness(1.06);
}

.tfs-action[b-h45z826gco]  .tfs-btn--ghost {
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--color-primary);
}

.tfs-action[b-h45z826gco]  .tfs-btn--ghost:hover {
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.tfs-action[b-h45z826gco]  .tfs-btn:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .tfs-steps[b-h45z826gco] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .tfs-step[b-h45z826gco] {
        padding: var(--space-md);
    }
}

@media (min-width: 960px) {
    .tfs-steps--n3[b-h45z826gco] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tfs-steps--n4[b-h45z826gco] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) and (pointer: fine) {
    .tfs-action[b-h45z826gco]  .tfs-btn {
        min-height: 36px;
        padding: 0 var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tfs-action[b-h45z826gco]  .tfs-btn {
        transition: none;
    }
}
/* /Components/Tavern/TavernHeroPlate.razor.rz.scp.css */
/* TavernHeroPlate (owner: W1). One markup, three looks (canvas boards):
     base (portrait 481-959, A-768)  the header band: portrait, grade, purse chip, vitals in three columns
     max-width 480 (A-390)           the compact band: race dropped, grade as a letter, short labels and values
     min-width 960 (A-1024)          the glass plate on the stage, a 64px portrait, quiet Sheet / Change hero buttons
     min-width 1280 (A-1920..1280)   the glass plate beside the class standee: the hero's own 80px portrait with the
                                     level hex on it (the standee is class art, the portrait is this hero), text links
   Tokens only (the class ring reads --color-{class} through --thp-class), canonical breakpoints only. */

.tavern-hero-plate[b-nxg9uhd6qs] {
    --thp-gold: color-mix(in srgb, var(--color-primary-dark) 75%, var(--color-text-primary));
    --thp-portrait: 72px;
    --thp-level-w: 30px;
    --thp-level-h: 34px;

    display: flex;
    flex-direction: column;
    gap: 14px;
    /* Below 960 the page bleeds the band over its gutters (Game.razor.css): the band's background runs edge to edge
       and its content pads back in by the gutter (A-768, A-390). */
    padding: var(--space-lg) var(--tavern-gutter, var(--space-xl));
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-gray-800) 55%, transparent), transparent);
    color: var(--color-text-primary);
}

/* ---- Identity row ---- */

.thp-head[b-nxg9uhd6qs] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.thp-badge[b-nxg9uhd6qs] {
    position: relative;
    flex: none;
}

.thp-portrait[b-nxg9uhd6qs] {
    display: block;
    width: var(--thp-portrait);
    height: var(--thp-portrait);
    overflow: hidden;
    border: 3px solid var(--thp-class, var(--color-text-tertiary));
    border-radius: 50%;
    background: var(--color-gray-800);
}

.thp-portrait img[b-nxg9uhd6qs] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.thp-portrait:focus-visible[b-nxg9uhd6qs] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.thp-level[b-nxg9uhd6qs] {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--thp-level-w);
    height: var(--thp-level-h);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 900;
    line-height: 1;
}

.thp-ident[b-nxg9uhd6qs] {
    flex: 1;
    min-width: 0;
}

.thp-name[b-nxg9uhd6qs] {
    margin: 0;
    overflow: hidden;
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 22);
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thp-sub[b-nxg9uhd6qs] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

.thp-title[b-nxg9uhd6qs] {
    color: var(--thp-gold);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 15);
    font-style: italic;
}

.thp-sep[b-nxg9uhd6qs] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.thp-class[b-nxg9uhd6qs],
.thp-grade-sep[b-nxg9uhd6qs],
.thp-grade-letter[b-nxg9uhd6qs] {
    display: none;
}

/* Readiness grade: shape (shield chip) plus a word-free letter, toned by the builder. */
.thp-grade[b-nxg9uhd6qs] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--space-xs);
    height: 2.17em;
    padding: 0 9px;
    border: 1px solid color-mix(in srgb, var(--thp-tone) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--thp-tone) 18%, var(--color-bg-base));
    color: var(--thp-tone-text);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.thp-grade[b-nxg9uhd6qs]  .mud-icon-root {
    width: 15px;
    height: 15px;
}

.thp-tone--success[b-nxg9uhd6qs] { --thp-tone: var(--color-success-light); --thp-tone-text: var(--color-success-lighter); }
.thp-tone--gold[b-nxg9uhd6qs] { --thp-tone: var(--color-warning); --thp-tone-text: var(--color-warning-lightest); }
.thp-tone--danger[b-nxg9uhd6qs] { --thp-tone: var(--color-danger-light); --thp-tone-text: var(--color-danger-lighter); }
.thp-tone--neutral[b-nxg9uhd6qs] { --thp-tone: var(--color-text-secondary); --thp-tone-text: var(--color-text-light); }

.thp-grade-letter[b-nxg9uhd6qs] {
    color: var(--thp-tone-text);
    font-weight: var(--font-weight-bold);
}

.thp-purse[b-nxg9uhd6qs] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 2.62em;
    padding: 0 var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 7%, transparent);
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.thp-purse[b-nxg9uhd6qs]  .mud-icon-root {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

/* ---- Vitals ---- */

.thp-vitals[b-nxg9uhd6qs] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
}

.thp-vital[b-nxg9uhd6qs] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "label value"
        "bar bar";
    align-items: center;
    gap: 5px var(--space-sm);
    min-width: 0;
}

.thp-vital-label[b-nxg9uhd6qs] {
    grid-area: label;
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.thp-vital-value[b-nxg9uhd6qs] {
    grid-area: value;
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.thp-short[b-nxg9uhd6qs] {
    display: none;
}

.thp-bar[b-nxg9uhd6qs] {
    position: relative;
    grid-area: bar;
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.thp-bar i[b-nxg9uhd6qs] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: 5px;
    background: var(--thp-fill);
}

.thp-vital--health[b-nxg9uhd6qs] { --thp-fill: linear-gradient(90deg, var(--color-success-dark), var(--color-success-light)); }
.thp-vital--mana[b-nxg9uhd6qs] { --thp-fill: linear-gradient(90deg, var(--color-info-dark), var(--color-info-light)); }
.thp-vital--ki[b-nxg9uhd6qs] { --thp-fill: linear-gradient(90deg, var(--color-monk), var(--color-ki)); }
.thp-vital--swagger[b-nxg9uhd6qs] { --thp-fill: linear-gradient(90deg, var(--color-swagger), var(--color-pirate-light)); }
.thp-vital--xp[b-nxg9uhd6qs] { --thp-fill: linear-gradient(90deg, var(--color-primary-darker), var(--color-primary)); }

/* ---- Record, note, links (the plate only) ---- */

.thp-record[b-nxg9uhd6qs],
.thp-note[b-nxg9uhd6qs],
.thp-links[b-nxg9uhd6qs] {
    display: none;
}

.thp-record[b-nxg9uhd6qs] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-sm);
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 15%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 15%, transparent);
}

.thp-record > div[b-nxg9uhd6qs] {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    min-width: 0;
    text-align: center;
}

.thp-record dd[b-nxg9uhd6qs] {
    margin: 0;
    font-size: var(--gt-lg);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.thp-record dt[b-nxg9uhd6qs] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.thp-record-purse dd[b-nxg9uhd6qs] {
    color: var(--color-primary-light);
}

.thp-note[b-nxg9uhd6qs] {
    gap: 6px;
    margin: 0;
    padding: 10px var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 15%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
}

.thp-note-icon[b-nxg9uhd6qs] {
    display: inline-flex;
    flex: none;
    color: var(--color-primary);
}

.thp-note-icon[b-nxg9uhd6qs]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.thp-links[b-nxg9uhd6qs] {
    justify-content: space-between;
    gap: var(--space-sm);
}

.thp-link[b-nxg9uhd6qs] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--thp-gold);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
}

.thp-link--quiet[b-nxg9uhd6qs] {
    color: var(--color-text-light);
}

.thp-link:hover[b-nxg9uhd6qs] {
    color: var(--color-primary);
}

.thp-link:focus-visible[b-nxg9uhd6qs] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.thp-link[b-nxg9uhd6qs]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

/* ---- Phone (A-390): compact band ---- */
@media (max-width: 480px) {
    .tavern-hero-plate[b-nxg9uhd6qs] {
        --thp-portrait: 56px;
        --thp-level-w: 26px;
        --thp-level-h: 30px;

        gap: var(--space-md);
        padding: var(--space-md) var(--tavern-gutter, var(--space-lg));
    }

    .thp-head[b-nxg9uhd6qs] {
        gap: var(--space-md);
    }

    .thp-level[b-nxg9uhd6qs] {
        right: -7px;
        bottom: -7px;
        font-size: var(--gt-sm);
    }

    /* The band shares the row with the purse chip: a long name takes a second line rather than an ellipsis. */
    .thp-name[b-nxg9uhd6qs] {
        display: -webkit-box;
        font-size: calc(var(--gt-px) * 17);
        line-height: 1.2;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-family: var(--font-primary);
    }

    .thp-sub[b-nxg9uhd6qs] {
        font-size: var(--gt-sm);
    }

    .thp-title[b-nxg9uhd6qs] {
        font-size: var(--gt-base);
    }

    .thp-sep[b-nxg9uhd6qs] {
        margin: 0 6px;
    }

    .thp-race-class[b-nxg9uhd6qs],
    .thp-grade[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-class[b-nxg9uhd6qs],
    .thp-grade-sep[b-nxg9uhd6qs] {
        display: inline-block;
    }

    .thp-grade-letter[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-purse[b-nxg9uhd6qs] {
        height: 2.5em;
        padding: 0 10px;
        font-size: var(--gt-sm);
    }

    .thp-purse[b-nxg9uhd6qs]  .mud-icon-root {
        width: 16px;
        height: 16px;
    }

    .thp-vitals[b-nxg9uhd6qs] {
        gap: var(--space-md);
    }

    .thp-vital[b-nxg9uhd6qs] {
        gap: var(--space-xs);
    }

    .thp-vital-label[b-nxg9uhd6qs],
    .thp-vital-value[b-nxg9uhd6qs] {
        font-size: var(--gt-sm);
    }

    .thp-vital-label[b-nxg9uhd6qs] {
        letter-spacing: 0.06em;
    }

    .thp-bar[b-nxg9uhd6qs] {
        height: 6px;
    }

    .thp-full[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-short[b-nxg9uhd6qs] {
        display: inline;
    }
}

/* ---- Tablet (A-1024): the glass plate on the stage, 64px portrait ---- */
@media (min-width: 960px) {
    .tavern-hero-plate[b-nxg9uhd6qs] {
        --thp-portrait: 64px;
        --thp-level-w: 28px;
        --thp-level-h: 32px;

        gap: 13px;
        padding: 18px;
        border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
        border-radius: var(--radius-3xl);
        background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
        box-shadow: 0 20px 50px color-mix(in srgb, black 45%, transparent);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }

    .thp-head[b-nxg9uhd6qs] {
        gap: var(--space-md);
    }

    .thp-level[b-nxg9uhd6qs] {
        font-size: var(--gt-md);
    }

    .thp-name[b-nxg9uhd6qs] {
        font-size: var(--gt-lg);
        font-family: var(--font-primary);
    }

    .thp-sub[b-nxg9uhd6qs] {
        font-size: calc(var(--gt-px) * 12.5);
    }

    .thp-title[b-nxg9uhd6qs] {
        font-size: calc(var(--gt-px) * 14.5);
    }

    .thp-race-class[b-nxg9uhd6qs],
    .thp-purse[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-class[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-vitals[b-nxg9uhd6qs] {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .thp-vital[b-nxg9uhd6qs] {
        grid-template-columns: calc(58px * var(--gt-box)) minmax(0, 1fr) auto;
        grid-template-areas: "label bar value";
        gap: 10px;
    }

    .thp-vital-label[b-nxg9uhd6qs] {
        font-size: var(--gt-sm);
    }

    .thp-vital-value[b-nxg9uhd6qs] {
        font-size: var(--gt-sm);
    }

    /* The tablet plate shows the XP percent ("68%"), not the XP to go. */
    .thp-vital-value--xp .thp-full[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-vital-value--xp .thp-short[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-record[b-nxg9uhd6qs] {
        display: grid;
        gap: 6px;
        padding: 9px 0;
    }

    .thp-record dd[b-nxg9uhd6qs] {
        font-size: var(--gt-base);
    }

    .thp-record dt[b-nxg9uhd6qs] {
        font-size: var(--gt-sm);
    }

    .thp-note[b-nxg9uhd6qs] {
        display: flex;
        align-items: flex-start;
    }

    .thp-links[b-nxg9uhd6qs] {
        display: flex;
    }

    .thp-link[b-nxg9uhd6qs] {
        flex: 1;
        justify-content: center;
        min-height: 36px;
        padding: 0 var(--space-md);
        border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
        border-radius: var(--radius-lg);
        background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
        color: var(--color-text-lighter);
    }

    .thp-full[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-short[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-vital-label .thp-full[b-nxg9uhd6qs],
    .thp-vital-value:not(.thp-vital-value--xp) .thp-full[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-vital-label .thp-short[b-nxg9uhd6qs],
    .thp-vital-value:not(.thp-vital-value--xp) .thp-short[b-nxg9uhd6qs] {
        display: none;
    }
}

/* ---- Desktop (A-1920 / A-1366 / A-1280): beside the class standee, the hero's portrait and level hex ---- */
/* Touch screens on the tablet tier: 44px Sheet / Change hero buttons (spec section 3). Before the desktop block,
   which turns them back into text links. */
@media (min-width: 960px) and (pointer: coarse) {
    .thp-link[b-nxg9uhd6qs] {
        min-height: 44px;
    }
}

@media (min-width: 1280px) {
    .tavern-hero-plate[b-nxg9uhd6qs] {
        --thp-portrait: 80px;
        --thp-level-w: 34px;
        --thp-level-h: 38px;

        gap: 15px;
        padding: 22px;
    }

    /* The standee beside the plate is the class's art; the hero's own portrait sits here, with the level hex on
       its corner as on the other tiers. */
    .thp-level[b-nxg9uhd6qs] {
        font-size: var(--gt-lg);
    }

    .thp-name[b-nxg9uhd6qs] {
        font-size: calc(clamp(19px, 0.6vw + 12px, 23px) * var(--gt-scale));
        white-space: normal;
    }

    .thp-sub[b-nxg9uhd6qs] {
        font-size: var(--gt-md);
    }

    /* Beside the portrait the title and the race and class take a line each: wrapped mid-row they left the dot
       separator dangling at the end of the first line. */
    .thp-title[b-nxg9uhd6qs] {
        flex-basis: 100%;
        font-size: var(--gt-lg);
    }

    .thp-sep:not(.thp-grade-sep)[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-race-class[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-class[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-vitals[b-nxg9uhd6qs] {
        gap: 10px;
    }

    .thp-vital-value--xp .thp-full[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-vital-value--xp .thp-short[b-nxg9uhd6qs] {
        display: none;
    }

    .thp-record[b-nxg9uhd6qs] {
        gap: var(--space-sm);
        padding: 11px 0;
    }

    .thp-record dd[b-nxg9uhd6qs] {
        font-size: var(--gt-lg);
    }

    .thp-record dt[b-nxg9uhd6qs] {
        font-size: var(--gt-sm);
    }

    .thp-links[b-nxg9uhd6qs] {
        justify-content: space-between;
    }

    .thp-link[b-nxg9uhd6qs] {
        flex: none;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--thp-gold);
    }

    .thp-link--quiet[b-nxg9uhd6qs] {
        color: var(--color-text-light);
    }

    .thp-link .thp-full[b-nxg9uhd6qs] {
        display: inline;
    }

    .thp-link .thp-short[b-nxg9uhd6qs] {
        display: none;
    }
}
/* /Components/Tavern/TavernHubPanels.razor.rz.scp.css */
/* TavernHubPanels (owner: F). Hiding uses the global game-hub-panel-hidden class (wwwroot/css/game-hub.css). */
/* /Components/Tavern/TavernNoticeBoard.razor.rz.scp.css */
/* TavernNoticeBoard (owner: W3). Design tokens only; translucent shades are color-mix() of a token. Canonical
   breakpoints only (480). No animation or transition.
   Two columns by default (canvas A-1366, A-1024, A-768); .tnb--combined is the wide tier's single list (A-1920);
   at 480 and down a switch shows one column at a time (A-390). */

.tavern-notice-board[b-pzsnbgllrx] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
    min-width: 0;
    padding: 20px var(--space-xl);
    border-radius: var(--radius-3xl);
    background: linear-gradient(180deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.tnb-column[b-pzsnbgllrx] {
    min-width: 0;
}

.tnb-column[b-pzsnbgllrx]  .tavern-section-header {
    margin-bottom: var(--space-xs);
}

.tnb-link[b-pzsnbgllrx] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: calc(var(--gt-px) * 12.8);
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary-light);
    text-decoration: none;
    white-space: nowrap;
}

.tnb-link:hover[b-pzsnbgllrx] {
    color: var(--color-primary);
}

.tnb-link[b-pzsnbgllrx]  .tnb-link-glyph {
    width: 1em;
    height: 1em;
    font-size: calc(var(--gt-px) * 17);
}

.tnb-empty[b-pzsnbgllrx] {
    margin: 0;
    padding: 10px 0;
    font-size: calc(var(--gt-px) * 13.12);
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.tnb-feed[b-pzsnbgllrx] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tnb-item[b-pzsnbgllrx] {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
}

.tnb-item:last-child[b-pzsnbgllrx] {
    border-bottom: none;
}

.tnb-tile[b-pzsnbgllrx] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.tnb-tile[b-pzsnbgllrx]  .tnb-tile-glyph {
    width: 1em;
    height: 1em;
    font-size: calc(var(--gt-px) * 19);
}

.tnb-tile--danger[b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-danger-dark) 35%, transparent);
    color: var(--color-danger-lighter);
}

.tnb-tile--epic[b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-rarity-epic) 30%, transparent);
    color: var(--color-monk-lightest);
}

.tnb-tile--gold[b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
}

.tnb-tile--info[b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-info) 14%, transparent);
    color: var(--color-info-lighter);
}

.tnb-tile--success[b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-cleric) 14%, transparent);
    color: var(--color-cleric-light);
}

.tnb-tile--neutral[b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    color: var(--color-text-light);
}

.tnb-tx[b-pzsnbgllrx] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.tnb-text[b-pzsnbgllrx] {
    font-size: calc(var(--gt-px) * 13.12);
    line-height: 1.4;
    color: var(--color-text-lighter);
    overflow-wrap: anywhere;
}

.tnb-actor[b-pzsnbgllrx] {
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.tnb-highlight[b-pzsnbgllrx] {
    font-weight: var(--font-weight-semibold);
}

.tnb-highlight--epic[b-pzsnbgllrx] {
    color: var(--color-monk-light);
}

.tnb-highlight--gold[b-pzsnbgllrx] {
    color: var(--color-primary-light);
}

.tnb-highlight--neutral[b-pzsnbgllrx] {
    color: var(--color-text-light);
}

.tnb-post[b-pzsnbgllrx] {
    text-decoration: none;
}

.tnb-post:hover[b-pzsnbgllrx] {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.tnb-post:focus-visible[b-pzsnbgllrx],
.tnb-link:focus-visible[b-pzsnbgllrx],
.tnb-switch-btn:focus-visible[b-pzsnbgllrx] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tnb-meta[b-pzsnbgllrx] {
    display: inline-flex;
    align-items: center;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.tnb-sep[b-pzsnbgllrx] {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

/* ===== The phone switch (hidden until 480) ===== */

.tnb-switch[b-pzsnbgllrx] {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: var(--space-xs);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-gray-900) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
}

.tnb-switch-btn[b-pzsnbgllrx] {
    min-height: 40px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--color-text-secondary);
    font-family: inherit;
    font-size: calc(var(--gt-px) * 12.8);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

/* Touch screens: 44px targets (spec section 3); the text links grow their hit area, not their type. */
@media (pointer: coarse) {
    .tnb-switch-btn[b-pzsnbgllrx],
    .tnb-link[b-pzsnbgllrx] {
        min-height: 44px;
    }
}

.tnb-switch-btn[aria-pressed="true"][b-pzsnbgllrx] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

/* ===== Wide tier: one list ===== */

.tavern-notice-board.tnb--combined[b-pzsnbgllrx] {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
}

/* The dispatches run on under the rumors as one list: the seam gets the same rule as the rows. */
.tnb--combined .tnb-column--rumors:has(.tnb-feed) + .tnb-column--dispatches:has(.tnb-feed)[b-pzsnbgllrx] {
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
}

/* ===== Phone (camp mode): the switch, one column at a time, no column headings ===== */
@media (max-width: 480px) {
    .tavern-notice-board[b-pzsnbgllrx] {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 6px;
        padding: 14px;
    }

    .tnb-switch[b-pzsnbgllrx] {
        display: grid;
    }

    .tnb-column[b-pzsnbgllrx]  .tavern-section-header {
        display: none;
    }

    .tnb--show-rumors .tnb-column--dispatches[b-pzsnbgllrx],
    .tnb--show-dispatches .tnb-column--rumors[b-pzsnbgllrx] {
        display: none;
    }

    .tnb--combined .tnb-column[b-pzsnbgllrx]  .tavern-section-header {
        display: flex;
    }
}
/* /Components/Tavern/TavernQuestStage.razor.rz.scp.css */
/* TavernQuestStage (owner: W1). Canvas boards A-1920 / A-1366 / A-1280 (stage, standee, chips beside the CTA),
   A-1024 (no standee), A-768 (the quest card), A-390 (the "Where you left off" card), A-New (first adventure).
   Base = portrait (481-959); max-width 480 = phone; min-width 960 = the stage under the plate; min-width 1280 =
   the standee. Reads the page tokens (Game.razor.css, 0 where they don't apply): --tavern-stage-bleed (from 960 the
   stage runs over the page gutters, so the text pads back in by it), --tavern-stage-clear-end (the room the text keeps
   clear for the plate), --tavern-standee-width / --tavern-standee-end (the standee's box), --tavern-plate-width.
   Tokens only, canonical breakpoints only; the live dot and the CTA lift stop under reduced motion. */

.tavern-quest-stage[b-5u7ovev2wa] {
    --tqs-gold: color-mix(in srgb, var(--color-primary-dark) 75%, var(--color-text-primary));
    --tqs-cream: color-mix(in srgb, var(--color-warning-lightest) 30%, var(--color-text-primary));
    --tqs-ink: var(--color-bg-base);

    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    border-radius: 18px;
    background: var(--tqs-ink);
    color: var(--color-text-primary);
}

.tavern-quest-stage.tqs--boss[b-5u7ovev2wa] {
    border-color: color-mix(in srgb, var(--color-danger-light) 40%, transparent);
}

/* ---- Art, shade, standee ---- */

.tqs-art[b-5u7ovev2wa] {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.tqs-art-img[b-5u7ovev2wa] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 40%;
}

.tqs-shade[b-5u7ovev2wa] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--tqs-ink) 92%, transparent) 100%),
        linear-gradient(90deg,
            color-mix(in srgb, var(--tqs-ink) 95%, transparent) 0%,
            color-mix(in srgb, var(--tqs-ink) 80%, transparent) 55%,
            color-mix(in srgb, var(--tqs-ink) 45%, transparent) 100%);
}

/* The standee is a ClassPortrait (a child component), so its rules reach it through ::deep: the wrapper takes the
   standee's box and mask, the still inside fills it. */
.tavern-quest-stage[b-5u7ovev2wa]  .tqs-standee {
    display: none;
}

.tavern-quest-stage[b-5u7ovev2wa]  .tqs-standee__img {
    object-fit: cover;
    object-position: 50% 0;
}

/* ---- Body ---- */

.tqs-body[b-5u7ovev2wa] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: var(--space-xl);
}

.tqs-eyebrow-row[b-5u7ovev2wa] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    min-height: 32px;
}

.tqs-live-dot[b-5u7ovev2wa] {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    animation: tqs-blink-b-5u7ovev2wa 1.8s ease-in-out infinite;
}

.tqs-eyebrow-icon[b-5u7ovev2wa] {
    display: inline-flex;
    color: var(--color-primary);
}

.tqs-eyebrow-icon[b-5u7ovev2wa]  .mud-icon-root {
    width: 18px;
    height: 18px;
}

.tqs-eyebrow[b-5u7ovev2wa] {
    color: var(--tqs-gold);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.tqs-eyebrow--compact[b-5u7ovev2wa] {
    display: none;
}

.tqs-sep[b-5u7ovev2wa] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.tqs-eyebrow-detail-text[b-5u7ovev2wa] {
    color: var(--color-text-light);
    font-size: var(--gt-md);
}

/* With a switcher the button names the count below 1280 (desktop shows both). */
.tqs--switch .tqs-eyebrow-detail[b-5u7ovev2wa] {
    display: none;
}

.tqs-eyebrow-row[b-5u7ovev2wa]  .tqs-switch-menu {
    margin-left: auto;
}

.tqs-eyebrow-row[b-5u7ovev2wa]  .tqs-switch-menu [role="button"]:focus-visible {
    border-radius: var(--radius-lg);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tqs-switch[b-5u7ovev2wa] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 var(--space-md);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    cursor: pointer;
}

.tqs-switch[b-5u7ovev2wa]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.tqs-switch-label--full[b-5u7ovev2wa],
.tqs-switch-label--mid[b-5u7ovev2wa] {
    display: none;
}

.tqs-switch-item[b-5u7ovev2wa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tqs-switch-item small[b-5u7ovev2wa] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.tqs-title[b-5u7ovev2wa] {
    margin: 6px 0 0;
    color: var(--tqs-cream);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 36);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 24px color-mix(in srgb, black 70%, transparent);
    overflow-wrap: anywhere;
}

.tqs-meta[b-5u7ovev2wa] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: var(--space-sm) 0 0;
    padding: 0;
    color: var(--color-text-light);
    font-size: var(--gt-base);
    list-style: none;
}

.tqs-meta li[b-5u7ovev2wa] {
    display: inline-flex;
    align-items: center;
}

.tqs-meta li + li[b-5u7ovev2wa]::before {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
    content: "";
}

.tqs-meta-icon[b-5u7ovev2wa] {
    display: inline-flex;
    margin-right: var(--space-xs);
    color: var(--color-text-secondary);
}

.tqs-meta-icon[b-5u7ovev2wa]  .mud-icon-root {
    width: 17px;
    height: 17px;
}

.tqs-meta-highlight[b-5u7ovev2wa] {
    color: var(--color-success-lighter);
}

.tqs-meta .tqs-meta-mode[b-5u7ovev2wa],
.tqs-meta .tqs-meta-boss[b-5u7ovev2wa] {
    display: none;
}

.tqs-trail[b-5u7ovev2wa] {
    margin-top: 18px;
}

.tqs-next-stop[b-5u7ovev2wa] {
    display: none;
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
}

.tqs-teaser[b-5u7ovev2wa] {
    display: -webkit-box;
    max-width: 680px;
    margin: 14px 0 0;
    overflow: hidden;
    color: var(--tqs-cream);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: calc(var(--gt-px) * 17);
    font-style: italic;
    line-height: 1.38;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

/* ---- Stakes ---- */

.tqs-stakes[b-5u7ovev2wa] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    list-style: none;
}

.tqs-stakes--above[b-5u7ovev2wa] {
    margin-top: var(--space-md);
}

.tqs-chip[b-5u7ovev2wa] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 2.33em;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-gray-900) 72%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.tqs-chip[b-5u7ovev2wa]  .mud-icon-root {
    width: 16px;
    height: 16px;
}

.tqs-chip--gold[b-5u7ovev2wa] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 38%, transparent);
    color: var(--color-primary-light);
}

.tqs-chip--danger[b-5u7ovev2wa] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 40%, var(--tqs-ink));
    color: var(--color-danger-lightest);
}

.tqs-chip-short[b-5u7ovev2wa] {
    display: none;
}

/* ---- The one primary action ---- */

.tqs-action-row[b-5u7ovev2wa] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-top: 20px;
}

.tqs-cta[b-5u7ovev2wa] {
    display: inline-flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 64px;
    padding: 0 30px;
    border: 0;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    box-shadow: 0 12px 34px color-mix(in srgb, var(--color-primary) 30%, transparent);
    color: var(--tqs-ink);
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tqs-cta:hover[b-5u7ovev2wa] {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--color-primary) 42%, transparent);
}

.tqs-cta:focus-visible[b-5u7ovev2wa] {
    outline: 3px solid var(--color-primary-light);
    outline-offset: 3px;
}

.tqs-cta b[b-5u7ovev2wa] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 19);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tqs-cta b[b-5u7ovev2wa]  .mud-icon-root {
    width: 24px;
    height: 24px;
}

.tqs-cta small[b-5u7ovev2wa] {
    color: color-mix(in srgb, var(--color-primary-darker) 30%, var(--tqs-ink));
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
}

.tqs-stakes-col[b-5u7ovev2wa] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
}

.tqs-enter-hint[b-5u7ovev2wa] {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

.tqs-kbd[b-5u7ovev2wa] {
    padding: 1px 6px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    border-bottom-width: 2px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
}

/* Where combat can't load (D3): the status in the CTA's place, and "Get ready first" beside it. */
.tqs-blocked[b-5u7ovev2wa] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 64px;
    padding: var(--space-sm) 20px;
    border: 1px dashed color-mix(in srgb, var(--color-primary) 50%, transparent);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-gray-900) 75%, transparent);
    color: var(--color-primary-light);
    text-align: center;
}

.tqs-blocked-icon[b-5u7ovev2wa] {
    display: none;
}

.tqs-blocked-text[b-5u7ovev2wa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tqs-blocked-text b[b-5u7ovev2wa] {
    font-family: var(--font-primary);
    font-size: var(--gt-lg);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tqs-blocked-text small[b-5u7ovev2wa] {
    color: var(--color-text-light);
    font-size: var(--gt-sm);
}

.tqs-get-ready[b-5u7ovev2wa] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: var(--space-sm);
    min-height: 64px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--color-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    touch-action: manipulation;
}

.tqs-get-ready[b-5u7ovev2wa]  .mud-icon-root {
    width: 19px;
    height: 19px;
}

.tqs-get-ready:focus-visible[b-5u7ovev2wa] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Also in progress (wide tier) ----
   A row of its own under the action row, in the quest column's flow, so it can never cover the stakes chips, the
   Continue button or the companion card under the plate (owner, 20 Nov 2026: it was absolute, under the plate, and
   slid over the chips). */

.tqs-also[b-5u7ovev2wa] {
    display: flex;
    align-self: flex-start;
    align-items: center;
    gap: 14px;
    width: min(420px, 100%);
    margin-top: clamp(10px, 1.8vh, var(--space-lg));
    padding: 10px var(--space-md) 10px 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--tqs-ink) 80%, transparent);
    color: var(--color-text-primary);
    text-decoration: none;
}

.tqs-also:hover[b-5u7ovev2wa] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.tqs-also:focus-visible[b-5u7ovev2wa] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tqs-also-art[b-5u7ovev2wa] {
    flex: none;
    width: 88px;
    height: 52px;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.tqs-also-text[b-5u7ovev2wa] {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.tqs-also-eyebrow[b-5u7ovev2wa] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tqs-also-name[b-5u7ovev2wa] {
    overflow: hidden;
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    font-weight: var(--font-weight-bold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tqs-also-waypoint[b-5u7ovev2wa] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tqs-also-arrow[b-5u7ovev2wa] {
    display: inline-flex;
    color: var(--tqs-gold);
}

@keyframes tqs-blink-b-5u7ovev2wa {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* ---- Phone (A-390): "Where you left off", the art as a banner ---- */
@media (max-width: 480px) {
    .tavern-quest-stage[b-5u7ovev2wa] {
        border-radius: var(--radius-3xl);
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--color-gray-800) 70%, var(--tqs-ink)),
            color-mix(in srgb, var(--color-gray-900) 60%, var(--tqs-ink)));
    }

    .tqs-art[b-5u7ovev2wa],
    .tqs-shade[b-5u7ovev2wa] {
        bottom: auto;
        height: 120px;
    }

    .tqs-art-img[b-5u7ovev2wa] {
        object-position: 50% 45%;
    }

    .tqs-shade[b-5u7ovev2wa] {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--tqs-ink) 20%, transparent),
            color-mix(in srgb, var(--color-gray-900) 97%, var(--tqs-ink)));
    }

    .tqs-body[b-5u7ovev2wa] {
        gap: var(--space-md);
        padding: 64px 14px 14px;
    }

    .tqs-eyebrow-row[b-5u7ovev2wa] {
        gap: var(--space-sm);
        min-height: 0;
    }

    .tqs-live-dot[b-5u7ovev2wa],
    .tqs-eyebrow-icon[b-5u7ovev2wa],
    .tqs-eyebrow--full[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-eyebrow--compact[b-5u7ovev2wa] {
        display: inline;
        font-size: var(--gt-sm);
    }

    .tqs-switch[b-5u7ovev2wa] {
        min-height: 32px;
        padding: 0 10px;
    }

    .tqs-title[b-5u7ovev2wa] {
        margin-top: -6px;
        font-size: calc(var(--gt-px) * 23);
        line-height: 1.15;
    }

    .tqs-meta[b-5u7ovev2wa] {
        margin-top: 0;
        font-size: calc(var(--gt-px) * 12.5);
    }

    .tqs-meta .tqs-meta-icon[b-5u7ovev2wa],
    .tqs-meta .tqs-meta-levels[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-meta .tqs-meta-boss[b-5u7ovev2wa] {
        display: inline-flex;
    }

    .tqs-trail[b-5u7ovev2wa] {
        margin-top: 0;
    }

    .tqs-next-stop[b-5u7ovev2wa] {
        display: block;
        margin-top: -4px;
    }

    .tqs-teaser[b-5u7ovev2wa] {
        margin-top: 0;
        font-size: calc(var(--gt-px) * 15.5);
        color: var(--color-text-lighter);
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    /* The phone card states where to fight; the stakes are in the meta line. */
    .tqs-stakes--above[b-5u7ovev2wa],
    .tqs-stakes-col[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-action-row[b-5u7ovev2wa] {
        margin-top: 0;
    }

    .tqs-cta[b-5u7ovev2wa] {
        flex: 1;
        padding: 0 var(--space-lg);
    }

    /* The status keeps at least 150 Medium pixels of its own, so at Large and Extra large the row wraps (the status over
       "Get ready first") instead of leaving the status one or two words a line beside the button (review, 14 Nov 2026).
       Medium is unchanged: both halves already share the row at 150px or more. */
    .tqs-blocked[b-5u7ovev2wa] {
        flex-direction: row;
        justify-content: flex-start;
        gap: var(--space-md);
        min-width: calc(var(--gt-px) * 150);
        padding: var(--space-md);
        background: color-mix(in srgb, var(--color-primary) 5%, transparent);
        text-align: left;
    }

    .tqs-blocked-icon[b-5u7ovev2wa] {
        display: inline-flex;
        flex: none;
        color: var(--color-primary);
    }

    .tqs-blocked-icon[b-5u7ovev2wa]  .mud-icon-root {
        width: 26px;
        height: 26px;
    }

    .tqs-blocked-text b[b-5u7ovev2wa] {
        color: var(--color-primary-light);
        font-family: var(--font-primary);
        font-size: calc(var(--gt-px) * 13.5);
        font-weight: var(--font-weight-bold);
        letter-spacing: 0;
        text-transform: none;
    }

    .tqs-blocked-text small[b-5u7ovev2wa] {
        color: var(--color-text-lighter);
        font-size: calc(var(--gt-px) * 12.5);
        line-height: 1.4;
    }

    .tqs-get-ready[b-5u7ovev2wa] {
        flex: 1;
        justify-content: center;
        min-height: 48px;
    }
}

/* ---- Tablet (A-1024): the stage under the plate; no standee, chips beside the CTA ---- */
@media (min-width: 960px) {
    /* The stage runs edge to edge here (the page bleeds it over the gutters): no frame, as the comps draw it, and the
       art and its shade fade into the page's own background at the bottom instead of ending on a line. */
    .tavern-quest-stage[b-5u7ovev2wa] {
        flex: 1;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .tqs-art[b-5u7ovev2wa],
    .tqs-shade[b-5u7ovev2wa] {
        -webkit-mask-image: linear-gradient(180deg, black 60%, transparent 100%);
        mask-image: linear-gradient(180deg, black 60%, transparent 100%);
    }

    .tqs-art-img[b-5u7ovev2wa] {
        object-position: 62% 40%;
    }

    .tqs-shade[b-5u7ovev2wa] {
        background:
            linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--tqs-ink) 96%, transparent) 100%),
            linear-gradient(90deg,
                color-mix(in srgb, var(--tqs-ink) 97%, transparent) 0%,
                color-mix(in srgb, var(--tqs-ink) 86%, transparent) 48%,
                color-mix(in srgb, var(--tqs-ink) 45%, transparent) 72%,
                color-mix(in srgb, var(--tqs-ink) 70%, transparent) 100%);
    }

    .tqs-body[b-5u7ovev2wa] {
        flex: 1;
        width: 100%;
        max-width: min(calc(760px + var(--tavern-stage-bleed, 0px)), calc(100% - var(--tavern-stage-clear-end, 0px) - var(--space-2xl)));
        padding: 26px var(--space-2xl) calc(30px + var(--space-xl)) var(--tavern-stage-bleed, var(--space-2xl));
    }

    .tqs-eyebrow-row[b-5u7ovev2wa] {
        min-height: 44px;
    }

    .tqs-eyebrow-row[b-5u7ovev2wa]  .tqs-switch-menu {
        margin-left: 6px;
    }

    .tqs-switch-label--short[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-switch-label--mid[b-5u7ovev2wa] {
        display: inline;
    }

    .tqs-title[b-5u7ovev2wa] {
        font-size: calc(clamp(2.6rem, 2vw + 1.3rem, 3.9rem) * var(--gt-scale));
        line-height: 1.06;
    }

    .tqs-meta .tqs-meta-progress[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-meta .tqs-meta-mode[b-5u7ovev2wa] {
        display: inline-flex;
    }

    .tqs-meta[b-5u7ovev2wa] {
        font-size: var(--gt-base);
    }

    .tqs-teaser[b-5u7ovev2wa] {
        font-size: calc(var(--gt-px) * 17);
    }

    .tqs-action-row[b-5u7ovev2wa] {
        flex-wrap: nowrap;
        gap: 14px;
        margin-top: 18px;
    }

    .tqs-cta[b-5u7ovev2wa] {
        padding: 0 26px;
    }

    .tqs-stakes[b-5u7ovev2wa] {
        max-width: 290px;
    }

    /* Tighter stages show the short chip text ("+1,000 XP", "Boss in 2"); the wide tier has room for the full. */
    .tqs-chip-full[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-chip-short[b-5u7ovev2wa] {
        display: inline;
    }
}

/* ---- Desktop (A-1366 / A-1280) and wide (A-1920): the standee beside the plate ---- */
@media (min-width: 1280px) {
    .tqs-art-img[b-5u7ovev2wa] {
        object-position: 50% 45%;
    }

    .tqs-shade[b-5u7ovev2wa] {
        background:
            linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--tqs-ink) 96%, transparent) 100%),
            linear-gradient(90deg,
                color-mix(in srgb, var(--tqs-ink) 97%, transparent) 0%,
                color-mix(in srgb, var(--tqs-ink) 85%, transparent) 36%,
                color-mix(in srgb, var(--tqs-ink) 30%, transparent) 60%,
                color-mix(in srgb, var(--tqs-ink) 55%, transparent) 100%);
    }

    /* Past a 1920px window the stage sits in the content column (Game.razor.css, --tavern-stage-framed): a frame and
       rounded corners, as every section below it has. Up to 1920 both are 0 and the stage stays edge to edge. */
    .tavern-quest-stage[b-5u7ovev2wa] {
        border: var(--tavern-stage-framed, 0px) solid color-mix(in srgb, var(--color-primary) 22%, transparent);
        border-radius: calc(var(--tavern-stage-framed, 0px) * 18);
    }

    /* Feathered on both sides: the standee's box ends inside the art, and a hard right edge drew a seam there. */
    .tavern-quest-stage[b-5u7ovev2wa]  .tqs-standee {
        position: absolute;
        right: var(--tavern-standee-end, 0px);
        bottom: 0;
        z-index: -1;
        display: block;
        width: var(--tavern-standee-width, 0px);
        height: 100%;
        -webkit-mask-image:
            linear-gradient(90deg, transparent, black 24%, black 82%, transparent),
            linear-gradient(180deg, black 74%, transparent 100%);
        -webkit-mask-composite: source-in;
        mask-image:
            linear-gradient(90deg, transparent, black 24%, black 82%, transparent),
            linear-gradient(180deg, black 74%, transparent 100%);
        mask-composite: intersect;
    }

    /* Vertical rhythm follows the window height, so the stage's own text stays inside its D5 height down to the
       1280x720 floor (where the ready check must still clear the fold). The stage grows past it only when its content
       or the hero column beside it (the plate and the companion card) needs more (Game.razor.css). */
    .tqs-body[b-5u7ovev2wa] {
        max-width: min(calc(780px + var(--tavern-stage-bleed, 0px)), calc(100% - var(--tavern-stage-clear-end, 0px) - var(--space-2xl)));
        padding: clamp(18px, 3vh, var(--space-2xl)) 40px calc(30px + clamp(10px, 2vh, var(--space-xl))) max(var(--tavern-stage-bleed, 0px), 40px);
    }

    .tqs-eyebrow-row[b-5u7ovev2wa] {
        min-height: 36px;
    }

    .tqs--switch .tqs-eyebrow-detail[b-5u7ovev2wa] {
        display: inline-block;
    }

    .tqs--switch .tqs-eyebrow-detail-text[b-5u7ovev2wa] {
        display: inline;
    }

    .tqs-switch-label--mid[b-5u7ovev2wa] {
        display: none;
    }

    .tqs-switch-label--full[b-5u7ovev2wa] {
        display: inline;
    }

    .tqs-meta[b-5u7ovev2wa] {
        margin-top: clamp(6px, 1vh, 10px);
        font-size: calc(var(--gt-px) * 15);
    }

    .tqs-trail[b-5u7ovev2wa] {
        margin-top: clamp(12px, 2.2vh, var(--space-xl));
    }

    .tqs-teaser[b-5u7ovev2wa] {
        margin-top: clamp(8px, 1.5vh, var(--space-lg));
        font-size: calc(clamp(17px, 0.6vw + 9px, 21px) * var(--gt-scale));
    }

    .tqs-action-row[b-5u7ovev2wa] {
        gap: 18px;
        margin-top: clamp(12px, 2.4vh, var(--space-xl));
    }

    .tqs-cta[b-5u7ovev2wa] {
        padding: 0 34px;
    }

    .tqs-stakes[b-5u7ovev2wa] {
        max-width: none;
    }

    .tqs--wide .tqs-stakes[b-5u7ovev2wa] {
        flex-wrap: nowrap;
    }

    .tqs--wide .tqs-chip-full[b-5u7ovev2wa] {
        display: inline;
    }

    .tqs--wide .tqs-chip-short[b-5u7ovev2wa] {
        display: none;
    }
}

/* Touch screens: 44px targets (spec section 3), after the phone's 32px switch so this one wins. */
@media (pointer: coarse) {
    .tqs-switch[b-5u7ovev2wa] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tqs-live-dot[b-5u7ovev2wa] {
        animation: none;
    }

    .tqs-cta[b-5u7ovev2wa] {
        transition: none;
    }

    .tqs-cta:hover[b-5u7ovev2wa] {
        transform: none;
    }
}
/* /Components/Tavern/TavernReadyCheck.razor.rz.scp.css */
/* TavernReadyCheck (owner: W2). Design tokens only; canonical breakpoints only (480 / 768 / 960 / 1024 / 1280).
   Mobile first: the 2x2 grid of portrait and tablet is the base, 4-up from 1280, a list at 480 and down.
   The card's copy length is a container query on the card itself (compact, short or long by its width). */

.tavern-ready-check[b-xf2an26l7v] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ===== Heading: "Before you set out" (480+), "Get ready" (phone) ===== */

.trc-head--phone[b-xf2an26l7v] {
    display: none;
}

.trc-sort[b-xf2an26l7v] {
    display: inline-flex;
    align-items: center;
    height: 2.17em;
    padding: 0 var(--space-md);
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 38%, transparent);
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

/* The readiness link reads only on desktop (the canvas drops it from 1279 down to keep the heading on one line). */
.trc-readiness[b-xf2an26l7v] {
    display: none;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-text-light);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
}

.trc-readiness:hover[b-xf2an26l7v] {
    color: var(--color-primary-light);
}

.trc-readiness:focus-visible[b-xf2an26l7v] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.trc-readiness[b-xf2an26l7v]  .trc-readiness-icon {
    width: 17px;
    height: 17px;
}

/* ===== Task grid ===== */

.trc-tasks[b-xf2an26l7v] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trc-task[b-xf2an26l7v] {
    container: trc-task / inline-size;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 14px var(--space-lg);
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 94%, transparent),
        color-mix(in srgb, var(--color-gray-900) 97%, transparent));
}

/* ===== Icon tile (tone) ===== */

.trc-icon[b-xf2an26l7v] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.trc-icon[b-xf2an26l7v]  .mud-icon-root {
    width: 26px;
    height: 26px;
}

.trc-icon img[b-xf2an26l7v] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trc-icon--image[b-xf2an26l7v] {
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--color-info-light);
}

.trc-tone--gold[b-xf2an26l7v] {
    background: color-mix(in srgb, var(--color-primary) 12%, transparent);
    color: var(--color-primary);
}

.trc-tone--info[b-xf2an26l7v] {
    background: color-mix(in srgb, var(--color-info) 18%, transparent);
    color: var(--color-info-lighter);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-info-light) 60%, transparent);
}

.trc-tone--success[b-xf2an26l7v] {
    background: color-mix(in srgb, var(--color-success) 16%, transparent);
    color: var(--color-success-light);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-success-light) 50%, transparent);
}

.trc-tone--epic[b-xf2an26l7v] {
    background: color-mix(in srgb, var(--color-rarity-epic) 18%, transparent);
    color: var(--color-monk-light);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-monk-light) 55%, transparent);
}

.trc-tone--danger[b-xf2an26l7v] {
    background: color-mix(in srgb, var(--color-danger) 16%, transparent);
    color: var(--color-danger-light);
}

.trc-tone--neutral[b-xf2an26l7v] {
    background: color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    color: var(--color-text-light);
}

/* The image tile keeps its ring whatever the tone. */
.trc-icon--image.trc-tone--gold[b-xf2an26l7v],
.trc-icon--image.trc-tone--neutral[b-xf2an26l7v] {
    background: var(--color-gray-800);
}

/* ===== Copy ===== */

.trc-text[b-xf2an26l7v] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.trc-title[b-xf2an26l7v] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trc-detail[b-xf2an26l7v] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trc-detail--success[b-xf2an26l7v] {
    color: var(--color-success-lighter);
}

.trc-detail--gold[b-xf2an26l7v] {
    color: var(--color-primary-light);
}

.trc-detail--danger[b-xf2an26l7v] {
    color: var(--color-danger-lighter);
}

/* Three lengths by the card's content width: compact under 262px (the 1280 floor's 4-up), short to 330px (desktop
   and portrait), long from 330px (wide, the tablet's 2x2, the phone list). */
.trc-copy-short[b-xf2an26l7v],
.trc-copy-long[b-xf2an26l7v] {
    display: none;
}

@container trc-task (min-width: 262px) {
    .trc-copy-compact[b-xf2an26l7v] {
        display: none;
    }

    .trc-copy-short[b-xf2an26l7v] {
        display: block;
    }
}

@container trc-task (min-width: 330px) {
    .trc-copy-short[b-xf2an26l7v] {
        display: none;
    }

    .trc-copy-long[b-xf2an26l7v] {
        display: block;
    }
}

/* ===== Buttons (rendered by TavernActionButton, so reached with ::deep) ===== */

.trc-action[b-xf2an26l7v] {
    display: flex;
    flex: none;
}

.trc-action[b-xf2an26l7v]  .trc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    transition: filter var(--transition-fast), background-color var(--transition-fast);
}

.trc-action[b-xf2an26l7v]  .trc-btn--gold {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.trc-action[b-xf2an26l7v]  .trc-btn--gold:hover {
    filter: brightness(1.06);
}

.trc-action[b-xf2an26l7v]  .trc-btn--ghost {
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--color-primary);
}

.trc-action[b-xf2an26l7v]  .trc-btn--ghost:hover {
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
}

.trc-action[b-xf2an26l7v]  .trc-btn:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

/* ===== Phone (480 and down): "Get ready", a list ===== */
@media (max-width: 480px) {
    .trc-head--full[b-xf2an26l7v] {
        display: none;
    }

    .trc-head--phone[b-xf2an26l7v] {
        display: block;
    }

    .trc-tasks[b-xf2an26l7v] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .trc-task[b-xf2an26l7v] {
        gap: var(--space-md);
        min-height: 68px;
        padding: 10px var(--space-md);
        border-radius: var(--radius-2xl);
    }

    .trc-icon[b-xf2an26l7v] {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .trc-icon[b-xf2an26l7v]  .mud-icon-root {
        width: 24px;
        height: 24px;
    }
}

/* ===== Desktop (1280 and up): one row, smaller buttons for a mouse, the readiness link ===== */
@media (min-width: 1280px) {
    .trc-readiness[b-xf2an26l7v] {
        display: inline-flex;
    }

    .trc-tasks--n2[b-xf2an26l7v] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trc-tasks--n3[b-xf2an26l7v] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .trc-tasks--n4[b-xf2an26l7v] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) and (pointer: fine) {
    .trc-action[b-xf2an26l7v]  .trc-btn {
        min-height: 36px;
        padding: 0 var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trc-action[b-xf2an26l7v]  .trc-btn {
        transition: none;
    }
}
/* /Components/Tavern/TavernRoadAhead.razor.rz.scp.css */
/* TavernRoadAhead (owner: W2). Design tokens only; canonical breakpoints only (480 / 768 / 960 / 1024 / 1280).
   Base (959 and down): a vertical timeline, hexes on a line at the left. From 960: hexes left to right on one line,
   gold up to "You are here", slate after it. */

.tavern-road-ahead[b-5o55a9sjoa] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px var(--space-xl);
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 92%, transparent),
        color-mix(in srgb, var(--color-gray-900) 95%, transparent));
}

.tra-caption[b-5o55a9sjoa] {
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
    white-space: nowrap;
}

/* ===== Timeline (base: vertical) ===== */

.tra-milestones[b-5o55a9sjoa] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xs) 0 0;
    padding: 0;
    list-style: none;
}

/* The line behind the hexes (decorative, empty content). */
.tra-milestones[b-5o55a9sjoa]::before {
    content: '';
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 22px;
    width: 3px;
    border-radius: 2px;
    background: var(--color-text-dark);
}

.tra-milestone[b-5o55a9sjoa] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.tra-hex[b-5o55a9sjoa] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px;
    height: 52px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-800);
    color: var(--color-text-light);
}

.tra-hex[b-5o55a9sjoa]  .mud-icon-root {
    width: 22px;
    height: 22px;
}

.tra-tone--info .tra-hex[b-5o55a9sjoa] {
    color: var(--color-info-lighter);
    box-shadow: inset 0 0 0 2px var(--color-info);
}

.tra-tone--success .tra-hex[b-5o55a9sjoa] {
    color: var(--color-cleric-light);
    box-shadow: inset 0 0 0 2px var(--color-cleric);
}

.tra-tone--gold .tra-hex[b-5o55a9sjoa] {
    color: var(--color-primary);
    box-shadow: inset 0 0 0 2px var(--color-primary-dark);
}

.tra-tone--danger .tra-hex[b-5o55a9sjoa] {
    color: var(--color-danger-lighter);
    box-shadow: inset 0 0 0 2px var(--combat-bad-deep);
}

.tra-milestone--current .tra-hex[b-5o55a9sjoa] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    box-shadow: none;
    color: var(--color-bg-base);
}

.tra-hex-level[b-5o55a9sjoa] {
    font-family: var(--font-display);
    font-size: var(--gt-xl);
    font-weight: 900;
}

.tra-copy[b-5o55a9sjoa] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tra-level[b-5o55a9sjoa] {
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.tra-text[b-5o55a9sjoa] {
    color: var(--color-text-light);
    font-size: calc(var(--gt-px) * 12.48);
    line-height: 1.4;
}

@media (max-width: 480px) {
    .tavern-road-ahead[b-5o55a9sjoa] {
        padding: 14px;
    }

    /* The heading needs the whole row on a phone (the timeline says the same thing). */
    .tra-caption[b-5o55a9sjoa] {
        display: none;
    }
}

/* ===== From 960: one row ===== */
@media (min-width: 960px) {
    .tra-milestones[b-5o55a9sjoa] {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: var(--space-lg);
    }

    /* Gold through the first stop ("You are here"), slate beyond it. */
    .tra-milestones[b-5o55a9sjoa]::before {
        top: 25px;
        bottom: auto;
        left: calc(50% / var(--tra-count, 5));
        right: calc(50% / var(--tra-count, 5));
        width: auto;
        height: 3px;
        background: linear-gradient(90deg, var(--color-primary) 0, var(--color-primary) 4%, var(--color-text-dark) 4%);
    }

    .tra-milestone[b-5o55a9sjoa] {
        flex: 1 1 0;
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .tra-copy[b-5o55a9sjoa] {
        align-items: center;
    }

    .tra-text[b-5o55a9sjoa] {
        max-width: 220px;
    }
}
/* /Components/Tavern/TavernRoads.razor.rz.scp.css */
/* TavernRoads (owner: W2). Design tokens only; canonical breakpoints only (480 / 768 / 960 / 1024 / 1280).
   Mobile first: portrait rows (art left, body, action right) are the base; 3-up art cards from 960 (200px tall,
   210px from 1280, 240px on the wide tier via .tr--wide from TavernCapabilities.IsWide); compact rows at 480 and down.
   Each card picks its short or long copy by its own width (container query: short under 360px). */

.tavern-roads[b-x46zlqzagh] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tr-head--phone[b-x46zlqzagh] {
    display: none;
}

.tr-cards[b-x46zlqzagh] {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ===== Card (base: a portrait row) ===== */

.tr-card[b-x46zlqzagh] {
    container: tr-card / inline-size;
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 110px;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 92%, transparent),
        color-mix(in srgb, var(--color-gray-900) 95%, transparent));
    color: var(--color-text-primary);
    text-decoration: none;
    transition: border-color var(--transition-fast);
}

a.tr-card[href]:hover[b-x46zlqzagh] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
}

a.tr-card[href]:focus-visible[b-x46zlqzagh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.tr-card--invite[b-x46zlqzagh] {
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.tr-art[b-x46zlqzagh] {
    position: relative;
    flex: none;
    width: 170px;
    overflow: hidden;
}

.tr-art img[b-x46zlqzagh] {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

a.tr-card[href]:hover .tr-art img[b-x46zlqzagh] {
    transform: scale(1.03);
}

/* Row mode: the art fades into the card on its right edge. */
.tr-shade[b-x46zlqzagh] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 170px;
    background: linear-gradient(90deg, transparent 40%, var(--color-gray-900) 100%);
    pointer-events: none;
}

.tr-body[b-x46zlqzagh] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    gap: var(--space-xs);
    min-width: 0;
    padding: 14px var(--space-lg);
}

.tr-name[b-x46zlqzagh] {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: calc(var(--gt-px) * 19);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.tr-name[b-x46zlqzagh]  .tr-name-icon {
    flex: none;
    width: 21px;
    height: 21px;
    color: var(--color-primary);
}

.tr-line[b-x46zlqzagh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0;
    min-width: 0;
    color: var(--color-text-lighter);
    font-size: var(--gt-md);
    line-height: 1.4;
}

.tr-line--phone[b-x46zlqzagh] {
    display: none;
}

.tr-sep[b-x46zlqzagh] {
    display: inline-block;
    flex: none;
    width: 4px;
    height: 4px;
    margin: 0 var(--space-sm);
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.tr-note[b-x46zlqzagh] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: var(--gt-sm);
    line-height: 1.4;
}

.tr-note[b-x46zlqzagh]  .tr-note-icon {
    flex: none;
    width: 16px;
    height: 16px;
}

.tr-note--gold[b-x46zlqzagh] {
    color: var(--color-primary-light);
}

.tr-note--contracts[b-x46zlqzagh] {
    color: var(--color-cleric-light);
}

.tr-note--muted[b-x46zlqzagh] {
    color: var(--color-text-light);
}

.tr-new[b-x46zlqzagh] {
    display: inline-flex;
    align-items: center;
    flex: none;
    height: 1.8em;
    padding: 0 6px;
    border-radius: var(--radius-sm);
    background: var(--color-cleric-light);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Short copy on narrow cards (the 1024 tier's three-up), long copy elsewhere. */
@container tr-card (min-width: 360px) {
    .tr-copy-short[b-x46zlqzagh] {
        display: none;
    }
}

@container tr-card (max-width: 359.98px) {
    .tr-copy-long[b-x46zlqzagh] {
        display: none;
    }
}

/* ===== Action side (rows) ===== */

.tr-act[b-x46zlqzagh] {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: none;
    padding-right: var(--space-lg);
}

.tr-act[b-x46zlqzagh]  .tr-act-arrow {
    display: none;
    width: 22px;
    height: 22px;
    color: var(--color-primary-dark);
}

.tr-act[b-x46zlqzagh]  .tr-act-arrow--muted {
    color: var(--color-text-secondary);
}

.tr-chip[b-x46zlqzagh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 2.67em;
    padding: 0 var(--space-md);
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 72%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.tr-chip[b-x46zlqzagh]  .tr-chip-icon {
    width: 16px;
    height: 16px;
}

.tr-chip--quiet[b-x46zlqzagh] {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--gt-base);
}

/* ===== Multiplayer invite ===== */

.tr-invite[b-x46zlqzagh] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: var(--space-sm) 10px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 82%, transparent);
}

.tr-invite-avatar[b-x46zlqzagh] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--color-rogue);
    background: var(--color-gray-800);
    color: var(--color-text-light);
}

.tr-invite-avatar[b-x46zlqzagh]  .mud-icon-root {
    width: 20px;
    height: 20px;
}

.tr-invite-text[b-x46zlqzagh] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    font-size: calc(var(--gt-px) * 12.48);
    line-height: 1.35;
}

.tr-invite-text b[b-x46zlqzagh] {
    overflow: hidden;
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tr-invite-sub[b-x46zlqzagh] {
    overflow: hidden;
    color: var(--color-text-secondary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tr-invite-timer[b-x46zlqzagh] {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: none;
    color: var(--color-danger-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

.tr-invite-timer[b-x46zlqzagh]  .tr-note-icon {
    width: 15px;
    height: 15px;
}

.tr-blocked-text[b-x46zlqzagh] {
    flex: none;
    max-width: 12em;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    line-height: 1.3;
}

.tr-btn[b-x46zlqzagh] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: none;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    transition: filter var(--transition-fast), background-color var(--transition-fast);
}

.tr-btn:focus-visible[b-x46zlqzagh] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.tr-btn[b-x46zlqzagh]  .tr-btn-icon {
    width: 17px;
    height: 17px;
}

.tr-btn--gold[b-x46zlqzagh] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 45%, var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.tr-btn--gold:hover[b-x46zlqzagh] {
    filter: brightness(1.06);
}

.tr-btn--ghost[b-x46zlqzagh] {
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--color-primary);
}

.tr-btn--quiet[b-x46zlqzagh] {
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    color: var(--color-text-lighter);
}

/* Decline and the invite's level range fit only the roomy invite (the wide tier's cards and portrait rows); the
   common room offers Decline everywhere. After .tr-btn, which would otherwise show the button again. */
.tr-btn.tr-decline[b-x46zlqzagh],
.tr-invite-sub--wide[b-x46zlqzagh] {
    display: none;
}

@container tr-card (min-width: 480px) {
    .tr-btn.tr-decline[b-x46zlqzagh] {
        display: inline-flex;
    }

    .tr-invite-sub--wide[b-x46zlqzagh] {
        display: block;
    }

    .tr-invite-sub--narrow[b-x46zlqzagh] {
        display: none;
    }
}

/* A narrow invite keeps its words: the avatar gives way first (after the avatar's own rule, so this one wins). */
@container tr-card (max-width: 359.98px) {
    .tr-invite-avatar[b-x46zlqzagh] {
        display: none;
    }
}

/* ===== A saved run waiting for the party (Take a break): the invite's box, its words allowed to wrap ===== */
.tr-saved[b-x46zlqzagh] {
    border-color: var(--rm-invite);
}

.tr-saved-mark[b-x46zlqzagh] {
    border-color: var(--rm-invite);
    color: var(--rm-invite-ink);
}

.tr-saved-text b[b-x46zlqzagh] {
    white-space: normal;
}

.tr-saved-line[b-x46zlqzagh],
.tr-saved-back[b-x46zlqzagh] {
    color: var(--color-text-secondary);
}

.tr-saved-back[b-x46zlqzagh] {
    color: var(--rm-invite-ink);
}

a.tr-btn[b-x46zlqzagh] {
    text-decoration: none;
}

@media (forced-colors: active) {
    .tr-saved[b-x46zlqzagh],
    .tr-saved-mark[b-x46zlqzagh] {
        border-color: CanvasText;
    }
}

/* ===== Phone (480 and down): "Roads", compact rows with a thumbnail ===== */
/* ===== Garrick's Hall in the Multiplayer road's place (Direction A, A5) ===== */
.tr-card--hall[b-x46zlqzagh] {
    border-color: var(--sc-house);
}

.tr-kicker-row[b-x46zlqzagh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-xs) var(--space-sm);
}

.tr-kicker[b-x46zlqzagh] {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sc-house-ink);
}

.tr-note--hall[b-x46zlqzagh] {
    color: var(--sc-house-ink);
}

.tr-chip--hall[b-x46zlqzagh] {
    background: var(--sc-house);
    border-color: var(--sc-house);
    color: var(--color-bg-base);
    font-weight: 700;
}

@media (max-width: 480px) {
    .tr-head--full[b-x46zlqzagh] {
        display: none;
    }

    .tr-head--phone[b-x46zlqzagh] {
        display: block;
    }

    .tr-cards[b-x46zlqzagh] {
        gap: 10px;
    }

    .tr-card[b-x46zlqzagh] {
        align-items: center;
        min-height: 72px;
        padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-sm);
        gap: var(--space-md);
        border-radius: var(--radius-2xl);
    }

    .tr-art[b-x46zlqzagh] {
        width: 72px;
        height: 56px;
        border-radius: var(--radius-lg);
    }

    .tr-shade[b-x46zlqzagh],
    .tr-note[b-x46zlqzagh],
    .tr-line[b-x46zlqzagh],
    .tr-act .tr-chip[b-x46zlqzagh] {
        display: none;
    }

    .tr-line--phone[b-x46zlqzagh],
    .tr-line--always[b-x46zlqzagh] {
        display: block;
        color: var(--color-text-secondary);
        font-size: var(--gt-sm);
    }

    .tr-body[b-x46zlqzagh] {
        gap: 2px;
        padding: 0;
    }

    .tr-name[b-x46zlqzagh] {
        font-size: calc(var(--gt-px) * 15);
        font-weight: var(--font-weight-bold);
        font-family: var(--font-primary);
    }

    .tr-name[b-x46zlqzagh]  .tr-name-icon {
        display: none;
    }

    .tr-act[b-x46zlqzagh] {
        padding-right: 0;
    }

    .tr-act[b-x46zlqzagh]  .tr-act-arrow {
        display: block;
    }

    .tr-invite[b-x46zlqzagh] {
        flex-wrap: wrap;
        gap: 6px var(--space-sm);
        padding: 0;
        border: none;
        background: none;
    }

    .tr-invite-avatar[b-x46zlqzagh],
    .tr-invite-sub[b-x46zlqzagh] {
        display: none;
    }

    .tr-invite-text[b-x46zlqzagh] {
        flex: 0 1 auto;
    }
}

/* ===== Tablet and up (960+): three art cards ===== */
@media (min-width: 960px) {
    .tr-cards[b-x46zlqzagh] {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .tr-card[b-x46zlqzagh] {
        flex-direction: column;
        justify-content: flex-end;
        height: 200px;
        min-height: 0;
        padding: var(--space-lg);
        border-radius: var(--radius-3xl);
    }

    .tr-art[b-x46zlqzagh] {
        position: absolute;
        inset: 0;
        width: auto;
    }

    .tr-shade[b-x46zlqzagh] {
        right: 0;
        width: auto;
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--color-bg-base) 10%, transparent) 0%,
            color-mix(in srgb, var(--color-bg-base) 70%, transparent) 45%,
            color-mix(in srgb, var(--color-bg-base) 97%, transparent) 100%);
    }

    .tr-body[b-x46zlqzagh] {
        flex: none;
        justify-content: flex-end;
        gap: 6px;
        padding: 0;
    }

    .tr-name[b-x46zlqzagh] {
        gap: 10px;
        font-size: var(--gt-2xl);
    }

    .tr-name[b-x46zlqzagh]  .tr-name-icon {
        width: 22px;
        height: 22px;
    }

    /* The whole card is the link from here up; only a blocked card keeps its reason badge (top right). */
    .tr-act[b-x46zlqzagh] {
        display: none;
    }

    .tr-card--blocked .tr-act[b-x46zlqzagh] {
        position: absolute;
        top: var(--space-lg);
        right: var(--space-lg);
        display: flex;
        padding: 0;
    }
}

/* ===== Desktop (1280+): 210px cards, mouse-sized buttons ===== */
@media (min-width: 1280px) {
    .tr-cards[b-x46zlqzagh] {
        gap: var(--space-lg);
    }

    .tr-card[b-x46zlqzagh] {
        height: 210px;
        padding: 18px 20px;
    }

    .tr-name[b-x46zlqzagh] {
        font-size: calc(var(--gt-px) * 22);
    }

    .tr-name[b-x46zlqzagh]  .tr-name-icon {
        width: 24px;
        height: 24px;
    }

    .tavern-roads.tr--wide .tr-card[b-x46zlqzagh] {
        height: 240px;
        padding: 20px 22px;
    }

    .tavern-roads.tr--wide .tr-name[b-x46zlqzagh] {
        font-size: var(--gt-3xl);
    }
}

/* A saved run's card carries more words than a fixed card holds: its row grows to them, the three cards alike (grid stretch) */
@media (min-width: 960px) {
    .tr-cards:has(.tr-card--saved) > .tr-card[b-x46zlqzagh] {
        height: auto;
        min-height: 200px;
    }
}

@media (min-width: 1280px) {
    .tr-cards:has(.tr-card--saved) > .tr-card[b-x46zlqzagh] {
        min-height: 210px;
    }

    .tavern-roads.tr--wide .tr-cards:has(.tr-card--saved) > .tr-card[b-x46zlqzagh] {
        min-height: 240px;
    }
}

@media (min-width: 1280px) and (pointer: fine) {
    .tr-btn[b-x46zlqzagh] {
        min-height: 36px;
        padding: 0 var(--space-md);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tr-card[b-x46zlqzagh],
    .tr-art img[b-x46zlqzagh],
    .tr-btn[b-x46zlqzagh] {
        transition: none;
    }

    a.tr-card[href]:hover .tr-art img[b-x46zlqzagh] {
        transform: none;
    }
}
/* /Components/Tavern/TavernSectionHeader.razor.rz.scp.css */
/* Tavern section heading (owner: F). Tokens only; no animation. */

.tavern-section-header[b-0lwd3kw4qv] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
    margin-bottom: var(--space-md);
}

.tavern-section-diamond[b-0lwd3kw4qv] {
    width: 8px;
    height: 8px;
    flex: none;
    background: var(--color-primary-dark);
    transform: rotate(45deg);
}

.tavern-section-title[b-0lwd3kw4qv] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15.2);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    white-space: nowrap;
}

.tavern-new-badge[b-0lwd3kw4qv] {
    display: inline-flex;
    align-items: center;
    height: 1.8em;
    padding: 0 6px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--color-success-lighter);
    color: var(--color-bg-base);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tavern-section-rule[b-0lwd3kw4qv] {
    flex: 1;
    min-width: var(--space-lg);
    height: 1px;
    background: linear-gradient(90deg, var(--color-border-active), transparent);
}

/* The aside may shrink and wrap (a long one such as "What each level opens up" on a phone), so the header never
   pushes the page wider than the screen. */
.tavern-section-aside[b-0lwd3kw4qv] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: var(--space-sm);
    flex: 0 1 auto;
    min-width: 0;
    text-align: right;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

@media (max-width: 480px) {
    .tavern-section-title[b-0lwd3kw4qv] {
        font-size: calc(var(--gt-px) * 12.8);
        letter-spacing: 0.16em;
    }
}
/* /Components/Tavern/TavernSheet.razor.rz.scp.css */
/* TavernSheet (owner: W4; canvas A-Sheet). Design tokens only, canonical breakpoints only, reduced motion honored.
   Layers: the scrim and the sheet sit just above the app bar (the bar dims, as in the comp), the same layer as
   MudBlazor's temporary drawers; MudBlazor popovers opened inside the sheet place themselves above it, and dialogs
   and snackbars sit higher still. Below 768 both stop at the game frame's dock's top edge (--tsh-bottom, the
   frame's --frame-bottom; Docs/LRPG_GAME_MENU.md 5.5), so the dock stays lit and usable while a sheet is open, and held
   sideways they start beside the rail (--frame-left). Closed, the sheet keeps its content mounted: it slides out of view and
   turns hidden (and inert, in the markup), never display: none. The page's scroll lock lives in game-hub.css. */

.tavern-sheet-layer[b-yt9or7oity] {
    --tsh-bottom: var(--frame-bottom, 0px);
    --tsh-duration: 260ms;
}

.tsh-scrim[b-yt9or7oity] {
    position: fixed;
    top: 0;
    left: var(--frame-left, 0px);
    right: 0;
    bottom: var(--tsh-bottom);
    z-index: calc(var(--mud-zindex-appbar, 1300) + 1);
    background: color-mix(in srgb, var(--color-bg-base) 66%, transparent);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
}

.is-open .tsh-scrim[b-yt9or7oity] {
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms ease;
}

.tavern-sheet[b-yt9or7oity] {
    position: fixed;
    left: var(--frame-left, 0px);
    right: 0;
    top: 7.5rem;
    /* Never over the frame (the party bar grows it, raid join W4b). */
    top: max(calc(var(--frame-top, 56px) + 16px), clamp(4.5rem, 14dvh, 7.5rem));
    bottom: var(--tsh-bottom);
    z-index: calc(var(--mud-zindex-appbar, 1300) + 2);
    display: flex;
    flex-direction: column;
    /* Clips a panel's own fixed layers (contained by the transform below) to the sheet, so one parked off its bottom
       edge can't sit over the frame's dock and swallow its taps. */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    border-top: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: linear-gradient(180deg, var(--color-bg-elevated-alt), var(--color-bg-base));
    box-shadow: 0 -20px 50px color-mix(in srgb, black 60%, transparent);
    color: var(--color-text-primary);
    outline: none;
    transform: translate3d(0, calc(100% + var(--tsh-bottom) + 24px), 0);
    visibility: hidden;
    transition: transform var(--tsh-duration) cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear var(--tsh-duration);
}

/* Open, the sheet keeps an (identity) transform on purpose: a transformed box is the containing block of its
   position: fixed descendants, so a panel's own fixed bar stays inside the sheet instead of escaping over the frame's
   dock. */
.is-open .tavern-sheet[b-yt9or7oity] {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    transition: transform var(--tsh-duration) cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* A finger is on the grab strip: follow it with no easing. */
.tavern-sheet.is-dragging[b-yt9or7oity] {
    transition: none;
}

/* ===== Grab strip and header (both start a swipe-down) ===== */

.tsh-grab[b-yt9or7oity] {
    display: flex;
    justify-content: center;
    flex: none;
    padding: var(--space-sm) 0 var(--space-xs);
    cursor: grab;
    touch-action: none;
}

.tsh-handle[b-yt9or7oity] {
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
}

.tsh-header[b-yt9or7oity] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    padding: var(--space-sm) var(--space-sm) 6px 18px;
    touch-action: none;
}

.tsh-header[b-yt9or7oity]  .tsh-icon {
    flex: none;
    color: var(--color-warning-bright);
}

.tsh-title[b-yt9or7oity] {
    flex: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.tsh-header[b-yt9or7oity]  .tsh-close {
    flex: none;
    width: 44px;
    height: 44px;
    color: var(--color-text-light);
}

/* ===== Body: the mounted panels scroll here, never the page behind ===== */

.tsh-body[b-yt9or7oity] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    /* The open sheet is the containing block of any fixed layer a panel draws and already stands on the frame's dock and
       starts beside its rail: measured from the sheet, such a layer takes neither offset again. */
    --frame-bottom: 0px;
    --frame-left: 0px;
    /* With no dock under it (from 768, or while the dock yields) the sheet reaches the screen's bottom edge: clear the
       home indicator (--frame-safe-pad, the frame's own value: 0 on the dock). */
    padding: var(--space-md) var(--space-lg) calc(var(--space-lg) + var(--frame-safe-pad, env(safe-area-inset-bottom, 0px)));
}

@media (prefers-reduced-motion: reduce) {
    .tsh-scrim[b-yt9or7oity],
    .is-open .tsh-scrim[b-yt9or7oity],
    .tavern-sheet[b-yt9or7oity],
    .is-open .tavern-sheet[b-yt9or7oity] {
        transition: none;
    }
}
/* /Components/Tavern/TavernStations.razor.rz.scp.css */
/* TavernStations (owner: W2). Design tokens only; canonical breakpoints only (480 / 768 / 960 / 1024 / 1280).
   Columns follow the section's own width (4, or 2 in a column under 640px such as the wide tier's third), each tile's
   layout its own width (under 186px the icon sits above the text, as on portrait), and the phone (480 and down) is a
   4-column icon grid with short labels. The tile element is TavernActionButton's, so it is reached with ::deep. */

.tavern-stations[b-h6e4gmp2ec] {
    container: ts-section / inline-size;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ts-grid[b-h6e4gmp2ec] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Component-local width (the section's own column, not the viewport; open owner call, LRPG_TAVERN_HUB.md 10). */
@container ts-section (max-width: 640px) {
    .ts-grid[b-h6e4gmp2ec] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ts-item[b-h6e4gmp2ec] {
    container: ts-tile / inline-size;
    display: flex;
    min-width: 0;
}

/* ===== Tile ===== */

.ts-item[b-h6e4gmp2ec]  .ts-station {
    display: flex;
    width: 100%;
    min-height: 72px;
    min-width: 0;
    padding: var(--space-md) 14px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 90%, transparent),
        color-mix(in srgb, var(--color-gray-900) 96%, transparent));
    color: var(--color-text-primary);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.ts-item[b-h6e4gmp2ec]  .ts-station:hover {
    border-color: color-mix(in srgb, var(--color-primary) 38%, transparent);
}

.ts-item[b-h6e4gmp2ec]  .ts-station:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.ts-item--locked[b-h6e4gmp2ec]  .ts-station {
    cursor: help;
}

.ts-face[b-h6e4gmp2ec] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    min-width: 0;
}

.ts-item--locked .ts-face[b-h6e4gmp2ec] {
    opacity: 0.6;
}

/* ===== Icon and pip ===== */

.ts-icon[b-h6e4gmp2ec] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    color: var(--color-text-light);
}

.ts-icon[b-h6e4gmp2ec]  .mud-icon-root {
    width: 24px;
    height: 24px;
}

.ts-kind--armory .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-warning) 14%, transparent);
    color: var(--color-warning-bright);
}

.ts-kind--merchant .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary);
}

.ts-kind--spellbook .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-info) 14%, transparent);
    color: var(--color-info-light);
}

.ts-kind--stables .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-cleric) 14%, transparent);
    color: var(--color-cleric-light);
}

.ts-kind--petshop .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-bard) 13%, transparent);
    color: var(--color-bard-light);
}

/* Garrick's rooms upstairs: the night's violet. */
.ts-kind--rooms .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-monk) 14%, transparent);
    color: var(--color-monk-light);
}

.ts-item--locked .ts-icon[b-h6e4gmp2ec] {
    background: color-mix(in srgb, var(--color-text-secondary) 12%, transparent);
    color: var(--color-text-secondary);
}

.ts-pip[b-h6e4gmp2ec] {
    position: absolute;
    top: -4px;
    right: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.64em;
    height: 1.64em;
    padding: 0 5px;
    border-radius: 9px;
    border: 2px solid var(--color-gray-900);
    background: var(--color-success);
    color: var(--color-bg-base);
    font-size: var(--gt-sm);
    font-weight: 800;
    line-height: 1;
}

.ts-pip--gold[b-h6e4gmp2ec] {
    background: var(--color-primary);
}

.ts-pip--compact-only[b-h6e4gmp2ec] {
    display: none;
}

/* A dot with no number (Rooms upstairs: a rest on offer, not a count). */
.ts-pip--dot[b-h6e4gmp2ec] {
    top: -2px;
    right: -2px;
    min-width: 10px;
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
}

/* ===== Text ===== */

.ts-text[b-h6e4gmp2ec] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.ts-label[b-h6e4gmp2ec] {
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.ts-label-short[b-h6e4gmp2ec] {
    display: none;
}

.ts-status[b-h6e4gmp2ec] {
    overflow: hidden;
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ts-status--success[b-h6e4gmp2ec] {
    color: var(--color-success-lighter);
}

.ts-status--gold[b-h6e4gmp2ec] {
    color: var(--color-primary-light);
}

.ts-copy-short[b-h6e4gmp2ec] {
    display: none;
}

/* A narrow tile (portrait's four-up) stacks the icon over the text and takes the short status. */
@container ts-tile (max-width: 185.98px) {
    .ts-face[b-h6e4gmp2ec] {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .ts-copy-long[b-h6e4gmp2ec] {
        display: none;
    }

    .ts-copy-short[b-h6e4gmp2ec] {
        display: block;
    }
}

/* ===== Phone (480 and down): a 4-column icon grid with short labels ===== */
@media (max-width: 480px) {
    .ts-grid[b-h6e4gmp2ec] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-sm);
    }

    .ts-item[b-h6e4gmp2ec]  .ts-station {
        min-height: 88px;
        padding: 10px var(--space-xs);
        text-align: center;
    }

    .ts-face[b-h6e4gmp2ec] {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .ts-label[b-h6e4gmp2ec],
    .ts-status[b-h6e4gmp2ec] {
        display: none;
    }

    .ts-copy-short[b-h6e4gmp2ec],
    .ts-copy-long[b-h6e4gmp2ec] {
        display: none;
    }

    .ts-label-short[b-h6e4gmp2ec] {
        display: block;
        overflow: hidden;
        max-width: 100%;
        font-size: var(--gt-sm);
        font-weight: var(--font-weight-semibold);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ts-pip--compact-only[b-h6e4gmp2ec] {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-item[b-h6e4gmp2ec]  .ts-station {
        transition: none;
    }
}
/* /Components/Tavern/TavernTrophyMantle.razor.rz.scp.css */
/* TavernTrophyMantle (owner: W2). Design tokens only; canonical breakpoints only (480 / 768 / 960 / 1024 / 1280).
   A card of hex-badged rows; "Trophies" under 960; the phone swaps the boss and rank rows for two stat tiles. Row
   copy picks short or long by the card's width (container query: short under 380px). */

.tavern-trophy-mantle[b-x4m19lkvoc] {
    container: ttm / inline-size;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 92%, transparent),
        color-mix(in srgb, var(--color-gray-900) 95%, transparent));
}

/* The shared header brings its own bottom margin; the card's gap spaces the rows. */
.ttm-head[b-x4m19lkvoc] {
    margin-bottom: calc(-1 * var(--space-md));
}

.ttm-head--short[b-x4m19lkvoc] {
    display: none;
}

/* ===== Rows ===== */

.ttm-row[b-x4m19lkvoc] {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: var(--space-md);
}

.ttm-hex[b-x4m19lkvoc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 50px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.ttm-hex[b-x4m19lkvoc]  .mud-icon-root {
    width: 22px;
    height: 22px;
}

.ttm-hex--gold[b-x4m19lkvoc] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--color-bg-base);
}

.ttm-hex--boss[b-x4m19lkvoc] {
    background: var(--color-gray-800);
    color: var(--color-danger-light);
    box-shadow: inset 0 0 0 2px var(--combat-bad-deep);
}

.ttm-hex--rank[b-x4m19lkvoc] {
    background: var(--color-gray-800);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 2px var(--color-primary-darker);
}

.ttm-body[b-x4m19lkvoc] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ttm-body--split[b-x4m19lkvoc] {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.ttm-body--split > div[b-x4m19lkvoc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ttm-top[b-x4m19lkvoc] {
    display: flex;
    justify-content: space-between;
    gap: var(--space-sm);
}

.ttm-name[b-x4m19lkvoc] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-size: var(--gt-base);
    font-weight: var(--font-weight-semibold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ttm-count[b-x4m19lkvoc] {
    flex: none;
    color: var(--color-text-lighter);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-semibold);
}

.ttm-detail[b-x4m19lkvoc] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.4;
}

.ttm-bar[b-x4m19lkvoc] {
    position: relative;
    height: 6px;
    overflow: hidden;
    border-radius: 5px;
    background: color-mix(in srgb, var(--color-text-primary) 8%, transparent);
}

.ttm-bar i[b-x4m19lkvoc] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}

.ttm-link[b-x4m19lkvoc] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    flex: none;
    min-height: 44px;
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
}

.ttm-link:hover[b-x4m19lkvoc] {
    color: var(--color-primary);
}

.ttm-link:focus-visible[b-x4m19lkvoc],
.ttm-tile:focus-visible[b-x4m19lkvoc] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.ttm-link[b-x4m19lkvoc]  .ttm-link-icon {
    width: 17px;
    height: 17px;
}

.ttm-copy-short[b-x4m19lkvoc] {
    display: none;
}

/* A narrow mantle (the tablet's and the wide tier's columns) takes the short copy. Component-local width, not the
   viewport (open owner call, LRPG_TAVERN_HUB.md 10). */
@container ttm (max-width: 379.98px) {
    .ttm-copy-long[b-x4m19lkvoc] {
        display: none;
    }

    .ttm-copy-short[b-x4m19lkvoc] {
        display: block;
    }
}

/* ===== Phone tiles (hidden until 480 and down) ===== */

.ttm-tiles[b-x4m19lkvoc] {
    display: none;
}

.ttm-tile[b-x4m19lkvoc] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 10px var(--space-md);
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: inherit;
    text-decoration: none;
}

.ttm-tile-value[b-x4m19lkvoc] {
    font-family: var(--font-display);
    font-size: var(--gt-2xl);
    font-weight: 800;
    color: var(--color-primary);
}

.ttm-tile-value--boss[b-x4m19lkvoc] {
    color: var(--color-danger-lighter);
}

.ttm-tile-label[b-x4m19lkvoc] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
}

/* ===== Portrait (959 and down): "Trophies" ===== */
@media not all and (min-width: 960px) {
    .ttm-head--full[b-x4m19lkvoc] {
        display: none;
    }

    .ttm-head--short[b-x4m19lkvoc] {
        display: block;
    }
}

/* ===== Phone (480 and down): stat tiles ===== */
@media (max-width: 480px) {
    .tavern-trophy-mantle[b-x4m19lkvoc] {
        gap: var(--space-md);
        padding: 14px;
    }

    .ttm-row--bosses[b-x4m19lkvoc],
    .ttm-row--rank[b-x4m19lkvoc] {
        display: none;
    }

    .ttm-tiles[b-x4m19lkvoc] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}
/* /Components/Tavern/TavernWaypointTrail.razor.rz.scp.css */
/* TavernWaypointTrail (owner: W1). Hex nodes joined by links; the hex language the victory screen trail uses.
   Tokens only, canonical breakpoints only, and the current node's pulse stops under reduced motion. */

.tavern-waypoint-trail[b-jtoder4i6s] {
    --twt-node-w: 90px;
    --twt-hex-w: 34px;
    --twt-hex-h: 39px;
    --twt-icon: 18px;

    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: 680px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.twt-node[b-jtoder4i6s] {
    position: relative;
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: var(--twt-node-w);
}

.twt-hex[b-jtoder4i6s] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--twt-hex-w);
    height: var(--twt-hex-h);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-800);
    color: var(--color-text-secondary);
}

.twt-hex[b-jtoder4i6s]  .mud-icon-root {
    width: var(--twt-icon);
    height: var(--twt-icon);
    font-size: var(--twt-icon);
}

.twt-label[b-jtoder4i6s] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Screen-reader only: the node's state ("cleared", "you are here"). */
.twt-sr[b-jtoder4i6s] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.twt-node--done .twt-hex[b-jtoder4i6s] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--color-bg-base);
}

.twt-node--current .twt-hex[b-jtoder4i6s] {
    background: var(--color-bg-base);
    color: var(--color-primary);
    box-shadow: inset 0 0 0 3px var(--color-primary);
}

.twt-node--current .twt-label[b-jtoder4i6s] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

.twt-node--boss .twt-hex[b-jtoder4i6s] {
    background: color-mix(in srgb, var(--color-danger-dark) 32%, var(--color-bg-base));
    color: var(--color-danger-light);
}

.twt-node--boss .twt-label[b-jtoder4i6s] {
    color: var(--color-danger-lighter);
}

.twt-hex--count[b-jtoder4i6s] {
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    font-weight: var(--font-weight-bold);
}

/* The pulsing ring around where the hero stands. */
.twt-ring[b-jtoder4i6s] {
    position: absolute;
    top: -5px;
    left: 50%;
    width: calc(var(--twt-hex-w) + 10px);
    height: calc(var(--twt-hex-h) + 10px);
    margin-left: calc((var(--twt-hex-w) + 10px) / -2);
    border-radius: 50%;
    pointer-events: none;
    animation: twt-pulse-b-jtoder4i6s 2.4s ease-out infinite;
}

.twt-link[b-jtoder4i6s] {
    flex: 1;
    min-width: 16px;
    height: 3px;
    margin-top: calc(var(--twt-hex-h) / 2 - 1px);
    border-radius: 2px;
    background: var(--color-gray-700);
}

.twt-link--done[b-jtoder4i6s] {
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}

.twt-link--into-current[b-jtoder4i6s] {
    background: linear-gradient(90deg, var(--color-primary), var(--color-gray-700));
}

@keyframes twt-pulse-b-jtoder4i6s {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 60%, transparent); }
    70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--color-primary) 0%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 0%, transparent); }
}

/* Compact: the phone card (and any caller that asks). Smaller hexes; labels stay for screen readers only. */
.twt--compact[b-jtoder4i6s] {
    --twt-hex-w: 28px;
    --twt-hex-h: 32px;
    --twt-icon: 15px;
    max-width: none;
}

.twt--compact .twt-node[b-jtoder4i6s] {
    width: auto;
}

.twt--compact .twt-label[b-jtoder4i6s] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* The desktop stage is wider. */
@media (min-width: 1280px) {
    .tavern-waypoint-trail[b-jtoder4i6s] {
        --twt-node-w: 100px;
    }
}

/* Phone: the compact trail, always (canvas board A-390). */
@media (max-width: 480px) {
    .tavern-waypoint-trail[b-jtoder4i6s] {
        --twt-hex-w: 28px;
        --twt-hex-h: 32px;
        --twt-icon: 15px;
        max-width: none;
    }

    .twt-node[b-jtoder4i6s] {
        width: auto;
    }

    .twt-label[b-jtoder4i6s] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .twt-ring[b-jtoder4i6s] {
        animation: none;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 35%, transparent);
    }
}
/* /Components/Tavern/WhatsNew/TavernWhatsNew.razor.rz.scp.css */
/* TavernWhatsNew: the tavern's "What's new" window (Docs/LRPG_TAVERN_HUB.md, "What's new"). Garrick's look: a navy
   panel with a gold rim over a scrim, on MudBlazor's dialog layer (above the world bar and the phone's dock). The post's
   hero art (16:9) or a brand plate, then the kicker, the title in Cinzel (24px: Cinzel only from 18px), the date, the
   summary and one solid gold action. Text sizes are the game text tokens (--gt-*, the 12px floor; the title --gt-3xl,
   --gt-2xl on the narrow tiers), so the player's Text size grows the window (GameReadableTextTests). Tokens only,
   canonical breakpoints only, a reduced-motion and a forced-colours block, 44px targets on a coarse pointer. */

.twn-layer[b-v5b3ljsxse] {
    position: fixed;
    inset: 0;
    z-index: var(--mud-zindex-dialog, 1400);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.twn-scrim[b-v5b3ljsxse] {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    cursor: default;
}

.twn-dialog[b-v5b3ljsxse] {
    --twn-x-size: 36px; /* the corner close button's box; 44px on a coarse pointer */

    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, 560px);
    max-height: calc(100dvh - 2 * var(--space-lg));
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    border-radius: 18px;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-800) 85%, var(--color-bg-base)),
        var(--color-bg-base));
    box-shadow: var(--shadow-xl), 0 30px 80px color-mix(in srgb, black 70%, transparent),
        inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    animation: twn-rise-b-v5b3ljsxse 180ms ease-out;
}

.twn-dialog:focus[b-v5b3ljsxse] {
    outline: none;
}

/* ---- The corner close ---- */

.twn-x[b-v5b3ljsxse] {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--twn-x-size);
    height: var(--twn-x-size);
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-bg-base) 82%, transparent);
    color: var(--color-text-primary);
    cursor: pointer;
}

.twn-x:hover[b-v5b3ljsxse] {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

.twn-x:focus-visible[b-v5b3ljsxse] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

[b-v5b3ljsxse] .twn-x-icon {
    width: 20px;
    height: 20px;
}

/* ---- The art: the post's hero image, or the brand plate ---- */

.twn-art[b-v5b3ljsxse] {
    position: relative;
    flex: none;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
    border-radius: 17px 17px 0 0;
    background: var(--color-bg-base);
}

.twn-art-img[b-v5b3ljsxse] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.twn-art--plate[b-v5b3ljsxse] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    aspect-ratio: auto;
    min-height: 148px;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    background:
        radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--color-warning) 28%, transparent), transparent 62%),
        linear-gradient(180deg, color-mix(in srgb, var(--color-warning-dark) 18%, var(--color-bg-base)), var(--color-bg-base));
}

.twn-plate-mark[b-v5b3ljsxse] {
    width: 64px;
    height: 64px;
}

.twn-plate-line[b-v5b3ljsxse] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- The words ---- */

.twn-body[b-v5b3ljsxse] {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.twn-kicker[b-v5b3ljsxse] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

[b-v5b3ljsxse] .twn-kicker-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.twn-title[b-v5b3ljsxse] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--gt-3xl);
    font-weight: 700;
    line-height: 1.25;
    text-wrap: balance;
}

.twn-date[b-v5b3ljsxse] {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--gt-md);
}

[b-v5b3ljsxse] .twn-date-icon {
    width: 16px;
    height: 16px;
}

.twn-summary[b-v5b3ljsxse] {
    margin: var(--space-xs) 0 0;
    color: var(--color-text-primary);
    font-size: var(--gt-lg);
    line-height: 1.55;
}

/* ---- The actions: one solid gold, a quiet Close ---- */

.twn-actions[b-v5b3ljsxse] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.twn-read[b-v5b3ljsxse],
.twn-close[b-v5b3ljsxse] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    min-height: 40px;
    margin: 0;
    padding: var(--space-sm) var(--space-xl);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.twn-read[b-v5b3ljsxse] {
    border: 1px solid var(--color-primary);
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-bg-base);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.twn-read:hover[b-v5b3ljsxse] {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
}

[b-v5b3ljsxse] .twn-read-icon {
    width: 18px;
    height: 18px;
}

.twn-close[b-v5b3ljsxse] {
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    background: transparent;
    color: var(--color-text-primary);
}

.twn-close:hover[b-v5b3ljsxse] {
    border-color: var(--color-text-secondary);
    background: color-mix(in srgb, var(--color-text-primary) 6%, transparent);
}

.twn-read:focus-visible[b-v5b3ljsxse],
.twn-close:focus-visible[b-v5b3ljsxse] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

@keyframes twn-rise-b-v5b3ljsxse {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---- Tiers (canonical breakpoints only) ---- */

@media (max-width: 768px) {
    .twn-body[b-v5b3ljsxse] {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .twn-layer[b-v5b3ljsxse] {
        padding: var(--space-sm);
    }

    .twn-dialog[b-v5b3ljsxse] {
        max-height: calc(100dvh - 2 * var(--space-sm));
    }

    .twn-title[b-v5b3ljsxse] {
        font-size: var(--gt-2xl);
    }

    .twn-actions[b-v5b3ljsxse] {
        flex-direction: column;
        align-items: stretch;
    }
}

/* A phone held sideways: the art beside the words, so the actions stay in view. */
@media (orientation: landscape) and (max-height: 480px) {
    .twn-layer[b-v5b3ljsxse] {
        padding: var(--space-sm);
    }

    .twn-dialog[b-v5b3ljsxse] {
        flex-direction: row;
        width: min(100%, 760px);
        max-height: calc(100dvh - 2 * var(--space-sm));
    }

    .twn-art[b-v5b3ljsxse] {
        flex: 0 0 38%;
        aspect-ratio: auto;
        border-right: 1px solid color-mix(in srgb, var(--color-primary) 25%, transparent);
        border-bottom: 0;
        border-radius: 17px 0 0 17px;
    }

    /* The corner close sits over this column here (not over the art): its box and its inset are kept clear on the
       right, so a long title never runs under it. */
    .twn-body[b-v5b3ljsxse] {
        flex: 1 1 auto;
        min-width: 0;
        overflow-y: auto;
        padding: var(--space-lg) calc(var(--twn-x-size) + 2 * var(--space-sm)) var(--space-lg) var(--space-xl);
    }

    .twn-title[b-v5b3ljsxse] {
        font-size: var(--gt-2xl);
    }

    .twn-actions[b-v5b3ljsxse] {
        flex-direction: row;
    }
}

@media (pointer: coarse) {
    .twn-dialog[b-v5b3ljsxse] {
        --twn-x-size: 44px;
    }

    .twn-read[b-v5b3ljsxse],
    .twn-close[b-v5b3ljsxse] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .twn-dialog[b-v5b3ljsxse] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .twn-dialog[b-v5b3ljsxse] {
        border: 2px solid CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .twn-read[b-v5b3ljsxse],
    .twn-close[b-v5b3ljsxse],
    .twn-x[b-v5b3ljsxse] {
        border: 1px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }

    .twn-title[b-v5b3ljsxse],
    .twn-kicker[b-v5b3ljsxse] {
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/HrBanner.razor.rz.scp.css */
/* The hall room's banner (Direction A, W2; A2): the raid's art band, Garrick's line, the big ready toggle. Tokens only. */
.hr-banner[b-wab2pmns1h] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--sc-house-line);
    background: var(--rm-card);
}

.hr-banner.is-complete[b-wab2pmns1h] {
    border-color: color-mix(in srgb, var(--rm-ready) 60%, transparent);
}

.hr-banner-art[b-wab2pmns1h] {
    min-height: 96px;
    background-image: linear-gradient(180deg, transparent, var(--color-bg-base)), var(--hr-art, none);
    background-size: cover;
    background-position: center 30%;
    background-color: var(--color-bg-secondary);
}

.hr-banner-body[b-wab2pmns1h] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 18px;
    margin-top: -40px;
    position: relative;
}

.hr-banner-eyebrow[b-wab2pmns1h] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font: 700 var(--gt-sm)/1.3 var(--font-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sc-house-ink);
}

.hr-banner-eyebrow .material-icons[b-wab2pmns1h] {
    font-size: var(--gt-lg);
}

.hr-banner-title[b-wab2pmns1h] {
    margin: 0;
    font: 700 var(--gt-3xl)/1.15 var(--font-display);
    color: var(--color-primary);
}

.hr-banner-facts[b-wab2pmns1h] {
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.hr-banner-garrick[b-wab2pmns1h] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font: italic 400 var(--gt-lg)/1.45 var(--fd-font-voice);
    color: var(--color-text-primary);
}

.hr-garrick-mark[b-wab2pmns1h] {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 2.3em;
    height: 2.3em;
    border-radius: var(--radius-round);
    border: 1px solid var(--color-primary);
    font: 700 var(--gt-md)/1 var(--font-primary);
    font-style: normal;
    color: var(--color-primary);
}

.hr-banner-ready[b-wab2pmns1h] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.hr-readybtn[b-wab2pmns1h] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-height: 56px;
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-text-primary);
    cursor: pointer;
    text-align: left;
}

.hr-readybtn .material-icons[b-wab2pmns1h] {
    font-size: var(--gt-3xl);
    color: var(--color-primary);
}

.hr-readybtn.is-on[b-wab2pmns1h] {
    border-color: var(--rm-ready);
    background: var(--rm-ready-fill);
}

.hr-readybtn.is-on .material-icons[b-wab2pmns1h] {
    color: var(--rm-ready);
}

.hr-readybtn:focus-visible[b-wab2pmns1h] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.hr-readybtn:disabled[b-wab2pmns1h] {
    cursor: progress;
}

.hr-readybtn-tx[b-wab2pmns1h] {
    display: flex;
    flex-direction: column;
}

.hr-readybtn-tx b[b-wab2pmns1h] {
    font: 700 var(--gt-xl)/1.2 var(--font-primary);
}

.hr-readybtn-tx small[b-wab2pmns1h] {
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.hr-banner-count[b-wab2pmns1h] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.hr-banner-count b[b-wab2pmns1h] {
    color: var(--color-text-primary);
}

.hr-banner-count .material-icons[b-wab2pmns1h] {
    font-size: var(--gt-lg);
    color: var(--rm-wait);
}

.is-complete .hr-banner-count .material-icons[b-wab2pmns1h] {
    color: var(--rm-ready);
}

.hr-dot[b-wab2pmns1h] {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-round);
    background: var(--color-text-secondary);
}

.hr-banner-rule[b-wab2pmns1h] {
    margin: 0;
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .hr-banner-body[b-wab2pmns1h] {
        padding: 0 14px 14px;
    }

    .hr-readybtn[b-wab2pmns1h] {
        width: 100%;
    }
}

@media (pointer: coarse) {
    .hr-readybtn[b-wab2pmns1h] {
        min-height: 56px;
    }
}

@media (forced-colors: active) {
    .hr-banner[b-wab2pmns1h],
    .hr-readybtn[b-wab2pmns1h] {
        border-color: CanvasText;
    }

    .hr-readybtn.is-on[b-wab2pmns1h] {
        border-color: Highlight;
    }
}
/* /Components/WarTable/Room/RmCallPanel.razor.rz.scp.css */
/* Call your party (raid join W3; A-Party 1 "Call your party"): tokens only, the shared rm- pieces from the page's sheet. */
.rm-call[b-fpjz9mdnwf] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line);
    background: var(--rm-card);
}

.rm-call .rm-section-title:focus:not(:focus-visible)[b-fpjz9mdnwf] {
    outline: none;
}

.rm-call-waiting[b-fpjz9mdnwf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--rm-invite-ink);
    font: 600 var(--gt-md)/1.3 var(--font-primary);
}

.rm-call-waiting .material-icons[b-fpjz9mdnwf] {
    font-size: var(--gt-lg);
}

.rm-call-tabs[b-fpjz9mdnwf] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rm-call-tab[b-fpjz9mdnwf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--rm-tap);
    padding: 0 12px;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--rm-line);
    background: transparent;
    color: var(--color-text-secondary);
    font: 600 var(--gt-md)/1 var(--font-primary);
    cursor: pointer;
}

.rm-call-tab .material-icons[b-fpjz9mdnwf] {
    font-size: var(--gt-lg);
}

.rm-call-tab[aria-pressed="true"][b-fpjz9mdnwf] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 14%, transparent);
    color: var(--fd-gold-pale);
}

.rm-call-tab.is-reserved[b-fpjz9mdnwf] {
    border-style: dashed;
}

/* Garrick's house tab (house heroes W3): the seal leads the label, the tab keeps the teal house tint. */
.rm-call-tab.is-house[b-fpjz9mdnwf] {
    border-color: var(--sc-house-line);
}

.rm-call-tab.is-house[aria-pressed="true"][b-fpjz9mdnwf] {
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
}

.rm-call-tab[b-fpjz9mdnwf]  .rm-call-tab-seal {
    box-shadow: none;
}

/* A hero of Garrick's: the portrait in the class rim, the line about them, who rides and the one action. */
.rm-call-row.rm-house-row[b-fpjz9mdnwf] {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "av who act"
        "av facts act";
    column-gap: 12px;
}

.rm-call-row.rm-house-row.is-riding[b-fpjz9mdnwf] {
    border-color: var(--sc-house-line);
    background: color-mix(in srgb, var(--sc-house) 8%, var(--rm-well));
}

.rm-house-av[b-fpjz9mdnwf] {
    position: relative;
    grid-area: av;
    flex: none;
    width: calc(var(--gt-px) * 56);
    height: calc(var(--gt-px) * 56);
}

.rm-house-av img[b-fpjz9mdnwf] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
    border: 3px solid var(--cc, var(--sc-house-line));
    background: var(--color-bg-base);
}

.rm-house-av[b-fpjz9mdnwf]  .rm-house-av-seal {
    position: absolute;
    right: -4px;
    bottom: -3px;
}

.rm-house-bio[b-fpjz9mdnwf] {
    flex-basis: 100%;
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
}

.rm-call-tab:focus-visible[b-fpjz9mdnwf],
.rm-call-note-toggle:focus-visible[b-fpjz9mdnwf],
.rm-call-share:focus-visible[b-fpjz9mdnwf],
.rm-call-note-input:focus-visible[b-fpjz9mdnwf] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.rm-call-count[b-fpjz9mdnwf] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.6em;
    height: 1.6em;
    padding: 0 0.35em;
    border-radius: var(--radius-3xl);
    background: var(--rm-well);
    color: var(--color-text-primary);
    font-size: var(--gt-sm);
}

.rm-call-empty[b-fpjz9mdnwf],
.rm-call-guild[b-fpjz9mdnwf] {
    margin: 0;
    color: var(--color-text-secondary);
    font: 500 var(--gt-md)/1.45 var(--font-primary);
}

.rm-call-guild[b-fpjz9mdnwf] {
    color: var(--fd-gold-pale);
    font-weight: 600;
}

.rm-call-rows[b-fpjz9mdnwf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-call-row[b-fpjz9mdnwf] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "who act"
        "facts act";
    gap: 4px 12px;
    align-items: center;
    min-height: var(--rm-row-h);
    padding: 8px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line);
    border-left: 3px solid color-mix(in srgb, var(--cc, var(--rm-line)) 70%, transparent);
    background: var(--rm-well);
}

.rm-call-who[b-fpjz9mdnwf] {
    grid-area: who;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    min-width: 0;
}

.rm-call-name[b-fpjz9mdnwf] {
    color: var(--color-text-primary);
    font: 700 calc(var(--gt-px) * 15)/1.25 var(--font-primary);
}

.rm-call-hero[b-fpjz9mdnwf] {
    color: var(--color-text-secondary);
    font: 500 var(--gt-md)/1.3 var(--font-primary);
}

.rm-call-facts[b-fpjz9mdnwf] {
    grid-area: facts;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
}

.rm-call-presence[b-fpjz9mdnwf],
.rm-fit[b-fpjz9mdnwf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: 600 var(--gt-sm)/1.2 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-call-presence .material-icons[b-fpjz9mdnwf],
.rm-fit .material-icons[b-fpjz9mdnwf] {
    font-size: calc(var(--gt-px) * 15);
}

.rm-fit--fits[b-fpjz9mdnwf] {
    color: var(--rm-here);
}

.rm-fit--warn[b-fpjz9mdnwf] {
    color: var(--rm-wait-ink);
}

.rm-fit--hidden[b-fpjz9mdnwf] {
    color: var(--color-text-secondary);
    font-style: italic;
}

.rm-call-act[b-fpjz9mdnwf] {
    grid-area: act;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.rm-call-why[b-fpjz9mdnwf] {
    max-width: 14em;
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
    text-align: right;
}

.rm-call-note[b-fpjz9mdnwf] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rm-call-note-toggle[b-fpjz9mdnwf],
.rm-call-share[b-fpjz9mdnwf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    min-height: var(--rm-tap);
    padding: 0 8px;
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--fd-gold-pale);
    font: 600 var(--gt-md)/1 var(--font-primary);
    cursor: pointer;
}

.rm-call-note-label[b-fpjz9mdnwf],
.rm-call-note-help[b-fpjz9mdnwf] {
    display: block;
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
}

.rm-call-note-input[b-fpjz9mdnwf] {
    width: 100%;
    margin: 4px 0;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-ring-bg);
    color: var(--color-text-primary);
    font: 500 var(--gt-base)/1.4 var(--font-primary);
    resize: vertical;
}

@media (max-width: 480px) {
    .rm-call-row[b-fpjz9mdnwf] {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "who"
            "facts"
            "act";
    }

    .rm-call-row.rm-house-row[b-fpjz9mdnwf] {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "av who"
            "facts facts"
            "act act";
    }

    .rm-call-act[b-fpjz9mdnwf] {
        align-items: stretch;
    }

    .rm-call-why[b-fpjz9mdnwf] {
        max-width: none;
        text-align: left;
    }
}

@media (pointer: coarse) {
    .rm-call-tab[b-fpjz9mdnwf],
    .rm-call-note-toggle[b-fpjz9mdnwf],
    .rm-call-share[b-fpjz9mdnwf] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .rm-call[b-fpjz9mdnwf],
    .rm-call-row[b-fpjz9mdnwf],
    .rm-call-tab[b-fpjz9mdnwf] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .rm-call-tab[aria-pressed="true"][b-fpjz9mdnwf] {
        border-width: 2px;
    }
}
/* /Components/WarTable/Room/RmCodePlate.razor.rz.scp.css */
/* The code plate (raid.css "The party code", ported: six gold tiles, tokens only). */
.rm-codeplate[b-dkqwiexqfk] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 26%, transparent);
    background: var(--rm-card);
}

.rm-code-row[b-dkqwiexqfk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.rm-code[b-dkqwiexqfk] {
    display: inline-flex;
    gap: 5px;
}

.rm-code-tile[b-dkqwiexqfk] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 42px;
    border-radius: var(--radius-md);
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
    font: 800 var(--gt-2xl)/1 var(--font-mono);
    box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--color-bg-base) 35%, transparent);
}

.rm-code-acts[b-dkqwiexqfk] {
    display: inline-flex;
    gap: 8px;
}

.rm-code-note[b-dkqwiexqfk] {
    margin: 0;
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

@media (max-width: 480px) {
    .rm-code-tile[b-dkqwiexqfk] {
        width: 30px;
        height: 38px;
        font-size: var(--gt-xl);
    }
}

@media (forced-colors: active) {
    .rm-codeplate[b-dkqwiexqfk] {
        border-color: CanvasText;
        background: Canvas;
    }

    .rm-code-tile[b-dkqwiexqfk] {
        forced-color-adjust: none;
        background: CanvasText;
        color: Canvas;
    }
}
/* /Components/WarTable/Room/RmCount.razor.rz.scp.css */
/* The count (A-Party 1): a big number in the gold, Hold and Cancel 44 px on touch; held reads dashed, in words. */
.rm-count[b-5l6wstpi8h] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: var(--rm-need-fill);
}

.rm-count.is-held[b-5l6wstpi8h] {
    border-style: dashed;
    border-color: var(--rm-line-2);
    background: var(--rm-well);
}

.rm-count-head[b-5l6wstpi8h] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rm-count-num[b-5l6wstpi8h] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4em;
    min-height: 2.4em;
    border-radius: var(--radius-round);
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
    font: 800 var(--gt-3xl)/1 var(--font-primary);
    font-variant-numeric: tabular-nums;
}

.rm-count-held-mark[b-5l6wstpi8h] {
    font-size: var(--gt-3xl);
    color: var(--rm-wait);
}

.rm-count-tx[b-5l6wstpi8h] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-count-tx b[b-5l6wstpi8h] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rm-need-ink);
}

.rm-count.is-held .rm-count-tx b[b-5l6wstpi8h] {
    color: var(--rm-wait-ink);
}

.rm-count-line[b-5l6wstpi8h] {
    font: 700 var(--gt-xl)/1.25 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-count-sub[b-5l6wstpi8h] {
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-count-acts[b-5l6wstpi8h] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rm-count-btn[b-5l6wstpi8h] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-card);
    color: var(--color-text-primary);
    font: 700 var(--gt-base)/1.2 var(--font-primary);
    cursor: pointer;
}

.rm-count-btn .material-icons[b-5l6wstpi8h] {
    font-size: var(--gt-xl);
}

.rm-count-btn--hold[b-5l6wstpi8h] {
    border-color: color-mix(in srgb, var(--rm-wait) 60%, transparent);
    background: var(--rm-wait-fill);
    color: var(--rm-wait-ink);
}

.rm-count-btn--gold[b-5l6wstpi8h] {
    border: none;
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
    box-shadow: var(--shadow-gold);
}

.rm-count-btn:focus-visible[b-5l6wstpi8h] {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 2px;
}

.rm-count-btn[disabled][b-5l6wstpi8h] {
    cursor: wait;
}

@media (pointer: coarse) {
    .rm-count-btn[b-5l6wstpi8h] {
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .rm-count[b-5l6wstpi8h] {
        position: sticky;
        bottom: var(--frame-bottom, 0px);
        z-index: 6;
        box-shadow: var(--shadow-lg);
    }
}

@media (forced-colors: active) {
    .rm-count[b-5l6wstpi8h],
    .rm-count-btn[b-5l6wstpi8h],
    .rm-count-num[b-5l6wstpi8h] {
        border: 1px solid CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmCrier.razor.rz.scp.css */
/* The crier (raid.css "Notices" and the A-Party 4 crier, ported). */
.rm-crier[b-msucayrbrj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line);
    background: var(--rm-well);
}

.rm-crier-empty[b-msucayrbrj] {
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-crier-line[b-msucayrbrj] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 500 var(--gt-base)/1.35 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-crier-line .material-icons[b-msucayrbrj] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-secondary);
}

.rm-crier-text[b-msucayrbrj] {
    flex: 1;
    min-width: 0;
}

.rm-crier-when[b-msucayrbrj] {
    flex: none;
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
    font-variant-numeric: tabular-nums;
}

.rm-crier-new[b-msucayrbrj] {
    flex: none;
    padding: 1px 6px;
    border-radius: 5px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    font: 800 var(--gt-sm)/1.4 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.rm-crier-more summary[b-msucayrbrj] {
    cursor: pointer;
    min-height: 28px;
    font: 600 var(--gt-sm)/28px var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-crier-more summary:focus-visible[b-msucayrbrj] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.rm-crier-list[b-msucayrbrj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

@media (pointer: coarse) {
    .rm-crier-more summary[b-msucayrbrj] {
        min-height: 44px;
        line-height: 44px;
    }
}

@media (forced-colors: active) {
    .rm-crier[b-msucayrbrj],
    .rm-crier-new[b-msucayrbrj] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmGarrickAsk.razor.rz.scp.css */
/* Garrick's row under a refused start (house heroes W3): his monogram, a line in his voice, one quiet button in the house teal. Gold
   means play and stays with Set out (one gold a screen), so the fill in the refusal's row (the same press as the offer card's) is teal.
   Tokens only. */
.rm-garrick[b-22a5kaf546] {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 10px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--sc-house-line);
    background: var(--sc-house-soft);
}

.rm-garrick-mark[b-22a5kaf546] {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: calc(var(--gt-px) * 30);
    height: calc(var(--gt-px) * 30);
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background: var(--color-bg-base);
    color: var(--color-primary);
    font: 800 var(--gt-xl)/1 var(--font-display);
}

.rm-garrick-line[b-22a5kaf546] {
    flex: 1 1 14em;
    margin: 0;
    color: var(--color-text-primary);
    font: italic 500 var(--gt-base)/1.4 var(--fd-font-voice, var(--font-primary));
}

.rm-act--house[b-22a5kaf546] {
    border-color: var(--sc-house);
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
}

.rm-act--house:hover:not([disabled])[b-22a5kaf546] {
    background: color-mix(in srgb, var(--sc-house) 24%, transparent);
    border-color: var(--sc-house);
}

@media (max-width: 480px) {
    .rm-garrick .rm-act[b-22a5kaf546] {
        width: 100%;
        justify-content: center;
    }
}

@media (forced-colors: active) {
    .rm-garrick[b-22a5kaf546] {
        border-color: CanvasText;
        background: Canvas;
    }

    .rm-garrick-mark[b-22a5kaf546] {
        border-color: CanvasText;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmGarrickOffer.razor.rz.scp.css */
/* Garrick's offer (house heroes W3, Direction B): a teal card above the seats. His monogram keeps the tavern's gold ring (Garrick's seal);
   every action is the house teal, because gold means play and stays with Set out (one gold a screen). Tokens only; sizes follow the
   game's text size (the --gt-* tokens); a phone is the 768 tier (canonical), where the three points fold behind a toggle. The card
   is a size container, so its two columns follow the room it sits in (em of --gt-sm, as the frame's panels), never a window width. */
.rmo[b-irxqmhnz9v] {
    container: rmo / inline-size;
    position: relative;
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 16px 18px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--sc-house-line);
    background: radial-gradient(120% 150% at 0% 0%, color-mix(in srgb, var(--sc-house) 17%, transparent), transparent 62%), var(--rm-card);
    font-size: var(--gt-sm);
}

/* After two minutes still empty: a brighter rim, and for people who allow motion a slow glow (reduced motion keeps the rim alone) */
.rmo.is-nudge[b-irxqmhnz9v] {
    border-color: var(--sc-house);
    box-shadow: 0 0 0 1px var(--sc-house), 0 0 24px color-mix(in srgb, var(--sc-house) 36%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
    .rmo.is-nudge[b-irxqmhnz9v] {
        animation: rmo-glow-b-irxqmhnz9v 2.6s ease-in-out infinite;
    }
}

@keyframes rmo-glow-b-irxqmhnz9v {
    0%, 100% {
        box-shadow: 0 0 0 1px var(--sc-house), 0 0 14px color-mix(in srgb, var(--sc-house) 24%, transparent);
    }

    50% {
        box-shadow: 0 0 0 1px var(--sc-house), 0 0 28px color-mix(in srgb, var(--sc-house) 50%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rmo.is-nudge[b-irxqmhnz9v] {
        animation: none;
    }
}

.rmo-head[b-irxqmhnz9v] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rmo-head-tx[b-irxqmhnz9v] {
    display: grid;
    gap: 4px;
    min-width: 0;
}

/* Garrick's monogram: the tavern's gold-ringed G, sized to its medallion (the one Cinzel line under 18px, as the room's old bar had) */
.rmo-mark[b-irxqmhnz9v] {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: calc(var(--gt-px) * 44);
    height: calc(var(--gt-px) * 44);
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background: var(--color-bg-base);
    color: var(--color-primary);
    font: 700 var(--gt-xl)/1 var(--font-display);
}

.rmo-mark.is-sm[b-irxqmhnz9v] {
    width: calc(var(--gt-px) * 28);
    height: calc(var(--gt-px) * 28);
}

.rmo-eyebrow[b-irxqmhnz9v] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--sc-house-ink);
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.rmo-eyebrow .material-icons[b-irxqmhnz9v] {
    font-size: calc(var(--gt-px) * 16);
    color: var(--sc-house);
}

.rmo-voice[b-irxqmhnz9v] {
    margin: 0;
    color: var(--frame-cream, var(--color-text-primary));
    font: italic 400 var(--gt-xl)/1.4 var(--fd-font-voice, var(--font-primary));
}

.rmo-voice.is-sm[b-irxqmhnz9v] {
    font-size: var(--gt-lg);
}

/* Who Garrick would send, beside the three points */
.rmo-body[b-irxqmhnz9v] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px 24px;
    align-items: start;
}

@container rmo (min-width: 48em) {
    .rmo-body[b-irxqmhnz9v] {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    }
}

.rmo-mini[b-irxqmhnz9v] {
    margin: 0 0 8px;
    color: var(--color-text-secondary);
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rmo-heroes[b-irxqmhnz9v] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(calc(var(--gt-px) * 84), 1fr));
    gap: 10px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rmo-hero[b-irxqmhnz9v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
    text-align: center;
}

.rmo-hero-name[b-irxqmhnz9v] {
    color: var(--color-text-primary);
    font: 700 var(--gt-md)/1.25 var(--font-primary);
    overflow-wrap: anywhere;
}

.rmo-hero-line[b-irxqmhnz9v] {
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
}

.rmo-cls[b-irxqmhnz9v] {
    font-weight: 700;
    color: color-mix(in srgb, var(--cc, var(--color-text-secondary)) 50%, var(--color-text-primary));
}

/* A face: dashed, because they have not sat down yet (the seat's own faces are solid once they ride) */
.rmo-face[b-irxqmhnz9v] {
    position: relative;
    display: inline-block;
    flex: none;
    width: calc(var(--gt-px) * 50);
    height: calc(var(--gt-px) * 56);
}

.rmo-face img[b-irxqmhnz9v] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: 999px 999px 8px 8px;
    border: 2px dashed var(--sc-house);
    background: color-mix(in srgb, var(--cc, var(--color-gray-600)) 16%, var(--color-bg-base));
}

/* The seal on the face's top corner: a child component's root does not wear this sheet's scope, so the host rule reaches it with ::deep */
.rmo-face[b-irxqmhnz9v]  .rmo-face-seal {
    position: absolute;
    z-index: 1;
    top: calc(var(--gt-px) * -4);
    right: calc(var(--gt-px) * -7);
}

.rmo-face.is-round[b-irxqmhnz9v] {
    width: calc(var(--gt-px) * 38);
    height: calc(var(--gt-px) * 38);
}

.rmo-face.is-round img[b-irxqmhnz9v] {
    border-radius: 50%;
    border: 2px solid var(--cc, var(--color-gray-600));
    box-shadow: 0 0 0 2px var(--color-bg-base);
}

.rmo-stack[b-irxqmhnz9v] {
    display: inline-flex;
    flex: none;
    align-items: center;
}

.rmo-stack > :where(:not(:first-child))[b-irxqmhnz9v] {
    margin-left: calc(var(--gt-px) * -10);
}

/* The three points */
.rmo-what[b-irxqmhnz9v] {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.rmo-points[b-irxqmhnz9v] {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rmo-point[b-irxqmhnz9v] {
    display: grid;
    grid-template-columns: calc(var(--gt-px) * 30) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.rmo-point-ic[b-irxqmhnz9v] {
    display: grid;
    place-items: center;
    width: calc(var(--gt-px) * 30);
    height: calc(var(--gt-px) * 30);
    border-radius: 50%;
    border: 1px solid var(--sc-house-line);
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
}

.rmo-point-ic .material-icons[b-irxqmhnz9v] {
    font-size: calc(var(--gt-px) * 17);
}

.rmo-point-tx[b-irxqmhnz9v] {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.rmo-point-tx b[b-irxqmhnz9v] {
    color: var(--color-text-primary);
    font: 700 var(--gt-base)/1.25 var(--font-primary);
}

.rmo-gloss[b-irxqmhnz9v] {
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.35 var(--font-primary);
}

/* The phone's toggle for the points: drawn only at the phone tier */
.rmo-whats[b-irxqmhnz9v] {
    display: none;
    align-items: center;
    gap: 4px;
    justify-self: start;
    min-height: 44px;
    padding: 0 10px 0 6px;
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--sc-house-ink);
    font: 700 var(--gt-md)/1.2 var(--font-primary);
    cursor: pointer;
}

.rmo-whats .material-icons[b-irxqmhnz9v] {
    font-size: calc(var(--gt-px) * 20);
}

/* Buttons and the quiet link */
.rmo-acts[b-irxqmhnz9v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.rmo-fine[b-irxqmhnz9v] {
    flex: 1 1 14em;
    margin: 0;
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
}

.rmo-btn[b-irxqmhnz9v] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background: var(--sc-house);
    color: var(--color-bg-base);
    font: 800 var(--gt-base)/1.15 var(--font-primary);
    text-align: center;
    cursor: pointer;
}

.rmo-btn .material-icons[b-irxqmhnz9v] {
    font-size: calc(var(--gt-px) * 20);
}

.rmo-btn:hover:not([disabled])[b-irxqmhnz9v] {
    background: color-mix(in srgb, var(--sc-house) 82%, var(--color-text-primary));
}

.rmo-btn[disabled][b-irxqmhnz9v] {
    background: color-mix(in srgb, var(--sc-house) 38%, var(--color-bg-base));
    color: var(--color-text-primary);
    cursor: progress;
}

.rmo-btn--ghost[b-irxqmhnz9v] {
    background: transparent;
    border-color: var(--sc-house-line);
    color: var(--sc-house-ink);
    font-weight: 700;
}

.rmo-btn--ghost:hover:not([disabled])[b-irxqmhnz9v] {
    background: var(--sc-house-soft);
    border-color: var(--sc-house);
}

.rmo-btn--quiet[b-irxqmhnz9v] {
    background: var(--rm-well);
    border-color: var(--rm-line-2);
    color: var(--color-text-primary);
    font-weight: 700;
}

.rmo-btn--quiet:hover:not([disabled])[b-irxqmhnz9v] {
    background: var(--rm-well);
    border-color: var(--sc-house);
}

.rmo-btn--sm[b-irxqmhnz9v] {
    min-height: 40px;
    padding: 0 14px;
    font-size: var(--gt-md);
}

.rmo-link[b-irxqmhnz9v] {
    min-height: var(--rm-tap);
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--color-text-secondary);
    font: 600 var(--gt-md)/1.2 var(--font-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.rmo-link:hover[b-irxqmhnz9v] {
    color: var(--color-text-primary);
}

.rmo-btn:focus-visible[b-irxqmhnz9v],
.rmo-link:focus-visible[b-irxqmhnz9v],
.rmo-whats:focus-visible[b-irxqmhnz9v] {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* The strip: after the fill (the faces who ride) and after "Not now" */
.rmo.is-strip[b-irxqmhnz9v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 14px;
    background: var(--sc-house-soft);
}

.rmo.is-strip .rmo-voice[b-irxqmhnz9v] {
    flex: 1 1 16em;
}

.rmo-strip-acts[b-irxqmhnz9v] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.rmo.is-strip > .rmo-btn[b-irxqmhnz9v] {
    margin-left: auto;
}

@media (pointer: coarse) {
    .rmo-btn--sm[b-irxqmhnz9v],
    .rmo-link[b-irxqmhnz9v] {
        min-height: 44px;
    }
}

/* The phone: Garrick's line, the faces and the primary; the three points fold behind "What happens?", every target 44px */
@media (max-width: 768px) {
    .rmo[b-irxqmhnz9v] {
        gap: 12px;
        padding: 14px;
    }

    .rmo-voice[b-irxqmhnz9v] {
        font-size: var(--gt-lg);
    }

    .rmo-whats[b-irxqmhnz9v] {
        display: inline-flex;
    }

    .rmo-points:not(.is-open)[b-irxqmhnz9v] {
        display: none;
    }

    .rmo-acts[b-irxqmhnz9v] {
        flex-direction: column;
        align-items: stretch;
    }

    .rmo-acts .rmo-btn[b-irxqmhnz9v] {
        width: 100%;
    }

    .rmo-fine[b-irxqmhnz9v] {
        flex: none;
    }

    .rmo-link[b-irxqmhnz9v] {
        min-height: 44px;
        align-self: center;
    }

    .rmo-btn--sm[b-irxqmhnz9v] {
        min-height: 44px;
    }

    .rmo.is-strip > .rmo-btn[b-irxqmhnz9v],
    .rmo-strip-acts[b-irxqmhnz9v] {
        width: 100%;
        margin-left: 0;
    }

    .rmo-strip-acts .rmo-btn[b-irxqmhnz9v] {
        flex: 1 1 0;
    }
}

@media (forced-colors: active) {
    .rmo[b-irxqmhnz9v] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .rmo-mark[b-irxqmhnz9v] {
        border-color: CanvasText;
        color: CanvasText;
    }

    .rmo-btn[b-irxqmhnz9v],
    .rmo-whats[b-irxqmhnz9v] {
        border: 1px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }

    .rmo-face img[b-irxqmhnz9v] {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmHandoff.razor.rz.scp.css */
/* The hand-off (A-Party 1): the room's art carries over; the steps say where the party is. */
.rm-handoff[b-5du2qrt0fi] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: var(--rm-card);
}

.rm-handoff-head[b-5du2qrt0fi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rm-handoff-head > .material-icons[b-5du2qrt0fi] {
    font-size: var(--gt-3xl);
    color: var(--color-primary);
}

.rm-handoff-tx[b-5du2qrt0fi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font: 500 var(--gt-base)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-handoff-tx b[b-5du2qrt0fi] {
    font: 700 var(--gt-xl)/1.2 var(--font-display);
    color: var(--color-text-primary);
}

.rm-handoff-locked[b-5du2qrt0fi],
.rm-handoff-chosen[b-5du2qrt0fi],
.rm-handoff-away[b-5du2qrt0fi] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-handoff-locked .material-icons[b-5du2qrt0fi],
.rm-handoff-chosen .material-icons[b-5du2qrt0fi] {
    font-size: var(--gt-lg);
    color: var(--rm-need);
}

.rm-handoff-away .material-icons[b-5du2qrt0fi] {
    font-size: var(--gt-lg);
    color: var(--rm-away);
}

.rm-handoff-steps[b-5du2qrt0fi] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-handoff-step[b-5du2qrt0fi] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 3px 12px 3px 4px;
    border-radius: var(--radius-round);
    border: 1px dashed var(--rm-line-2);
    color: var(--color-text-secondary);
    font: 600 var(--gt-md)/1.2 var(--font-primary);
}

.rm-handoff-step.is-done[b-5du2qrt0fi] {
    border-style: solid;
    border-color: color-mix(in srgb, var(--rm-ready) 55%, transparent);
    color: var(--rm-ready-ink);
}

.rm-handoff-step.is-current[b-5du2qrt0fi] {
    border-style: solid;
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--rm-need-fill);
    color: var(--rm-need-ink);
}

.rm-handoff-mark[b-5du2qrt0fi] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-round);
    background: var(--rm-well);
    font: 700 var(--gt-sm)/1 var(--font-primary);
}

.rm-handoff-mark .material-icons[b-5du2qrt0fi] {
    font-size: var(--gt-lg);
}

.rm-handoff-sub[b-5du2qrt0fi] {
    margin: 0;
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .rm-handoff[b-5du2qrt0fi],
    .rm-handoff-step[b-5du2qrt0fi] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmHead.razor.rz.scp.css */
/* The party room's head (raid.css "The party room header", ported: tokens only, canonical breakpoints only). */
.rm-head[b-zre9h2fo8m] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 24px 18px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
    background: var(--rm-card);
    box-shadow: var(--shadow-md);
}

.rm-head-eye[b-zre9h2fo8m] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rm-head-k[b-zre9h2fo8m] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 700 var(--gt-sm)/1 var(--font-primary);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.rm-head-k .material-icons[b-zre9h2fo8m] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-primary);
}

.rm-head-name[b-zre9h2fo8m] {
    margin: 0;
    font: 800 var(--gt-5xl)/1.1 var(--font-display);
    letter-spacing: 0.01em;
    color: var(--color-text-primary);
}

.rm-facts[b-zre9h2fo8m] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font: 500 var(--gt-base)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-facts > li[b-zre9h2fo8m] {
    display: inline-flex;
    align-items: center;
}

.rm-facts > li + li[b-zre9h2fo8m]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 11px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.rm-head-lines[b-zre9h2fo8m] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 768px) {
    .rm-head[b-zre9h2fo8m] {
        padding: 16px;
    }

    .rm-head-name[b-zre9h2fo8m] {
        font-size: var(--gt-3xl);
    }
}

@media (forced-colors: active) {
    .rm-head[b-zre9h2fo8m] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmHostMenu.razor.rz.scp.css */
/* The host's tools (A-Party 2 "Host tools"): a panel under the seats, never gold (gold means play). */
.rm-hostmenu:focus-visible[b-8kvel7oesj] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.rm-hostmenu[b-8kvel7oesj] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-card);
    box-shadow: var(--shadow-md);
}

.rm-hostmenu-head[b-8kvel7oesj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rm-hostmenu-title[b-8kvel7oesj] {
    margin: 0;
    font: 700 var(--gt-lg)/1.2 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-hostmenu-list[b-8kvel7oesj] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-tool[b-8kvel7oesj] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-height: var(--rm-tap);
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    background: transparent;
    color: var(--color-text-primary);
    text-align: left;
    text-decoration: none;
    font: 500 var(--gt-base)/1.3 var(--font-primary);
    cursor: pointer;
    justify-content: flex-start;
}

.rm-tool:hover[b-8kvel7oesj] {
    border-color: var(--rm-line-2);
    background: var(--rm-well);
}

.rm-tool:focus-visible[b-8kvel7oesj] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.rm-tool[disabled][b-8kvel7oesj] {
    opacity: 0.5;
    cursor: not-allowed;
}

.rm-tool .material-icons[b-8kvel7oesj] {
    font-size: var(--gt-2xl);
    color: var(--color-text-secondary);
}

.rm-tool--danger[b-8kvel7oesj],
.rm-tool--danger .material-icons[b-8kvel7oesj] {
    color: var(--rm-bad-ink);
}

.rm-tool-tx[b-8kvel7oesj] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-tool-tx small[b-8kvel7oesj] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

/* The house seat's sheet (house heroes W3): Send back, then Garrick's other heroes as swaps with their portraits. */
.rm-tool-sub[b-8kvel7oesj] {
    margin-top: 4px;
}

.rm-tool-heading[b-8kvel7oesj] {
    margin: 0;
    padding: 0 10px;
    font: 700 var(--gt-sm)/1.3 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.rm-tool--swap[b-8kvel7oesj] {
    align-items: center;
}

.rm-tool-av[b-8kvel7oesj] {
    flex: none;
    width: calc(var(--gt-px) * 40);
    height: calc(var(--gt-px) * 40);
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
    border: 2px solid var(--cc, var(--sc-house-line));
}

.rm-tool-why[b-8kvel7oesj] {
    color: var(--color-text-secondary);
}

.rm-confirm[b-8kvel7oesj] {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--rm-bad) 55%, transparent);
    background: var(--rm-bad-fill);
    color: var(--rm-bad-ink);
}

.rm-confirm p[b-8kvel7oesj] {
    margin: 0 0 8px;
    font: 500 var(--gt-base)/1.4 var(--font-primary);
}

.rm-confirm-acts[b-8kvel7oesj] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rm-x[b-8kvel7oesj] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--rm-tap);
    height: var(--rm-tap);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
}

.rm-x:focus-visible[b-8kvel7oesj] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .rm-tool[b-8kvel7oesj],
    .rm-x[b-8kvel7oesj] {
        min-height: 44px;
        min-width: 44px;
    }
}

@media (forced-colors: active) {
    .rm-hostmenu[b-8kvel7oesj],
    .rm-confirm[b-8kvel7oesj] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmOtherHeroNote.razor.rz.scp.css */
/* The other hero's line: a quiet note under the head, an icon and words (never colour alone). */
.rm-other-hero[b-ijzs43j3ac] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-well);
    color: var(--color-text-primary);
    font: 500 var(--gt-md)/1.4 var(--font-primary);
}

.rm-other-hero .material-icons[b-ijzs43j3ac] {
    flex: none;
    font-size: var(--gt-xl);
    color: var(--color-text-secondary);
}

@media (forced-colors: active) {
    .rm-other-hero[b-ijzs43j3ac] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmReadyBand.razor.rz.scp.css */
/* The soft ready band (A-Party 1 "Ready check"): rows in words and a shape, never colour alone. */
.rm-ready[b-p1vclchrvt] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line);
    background: var(--rm-card);
}

.rm-ready.is-complete[b-p1vclchrvt] {
    border-color: color-mix(in srgb, var(--rm-ready) 60%, transparent);
    background: var(--rm-ready-fill);
}

.rm-ready-title[b-p1vclchrvt] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 700 var(--gt-lg)/1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-ready-title .material-icons[b-p1vclchrvt] {
    font-size: var(--gt-xl);
    color: var(--rm-ready);
}

.rm-ready-count[b-p1vclchrvt] {
    margin-left: auto;
    font: 600 var(--gt-md)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-ready.is-complete .rm-ready-count[b-p1vclchrvt] {
    color: var(--rm-ready-ink);
}

.rm-ready-rows[b-p1vclchrvt] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-ready-row[b-p1vclchrvt] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 500 var(--gt-md)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-ready-row .material-icons[b-p1vclchrvt] {
    font-size: var(--gt-lg);
    color: var(--rm-wait);
}

.rm-ready-row.is-ready .material-icons[b-p1vclchrvt] {
    color: var(--rm-ready);
}

.rm-ready-name[b-p1vclchrvt] {
    font-weight: 700;
    color: var(--color-text-primary);
}

.rm-readybtn[b-p1vclchrvt] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-well);
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
}

.rm-readybtn .material-icons[b-p1vclchrvt] {
    font-size: var(--gt-2xl);
    color: var(--rm-wait);
}

.rm-readybtn.is-on[b-p1vclchrvt] {
    border-color: color-mix(in srgb, var(--rm-ready) 60%, transparent);
    background: var(--rm-ready-fill);
}

.rm-readybtn.is-on .material-icons[b-p1vclchrvt] {
    color: var(--rm-ready);
}

.rm-readybtn-tx[b-p1vclchrvt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-readybtn-tx b[b-p1vclchrvt] {
    font: 700 var(--gt-base)/1.2 var(--font-primary);
}

.rm-readybtn-tx small[b-p1vclchrvt] {
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-readybtn:focus-visible[b-p1vclchrvt] {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 2px;
}

.rm-readybtn[disabled][b-p1vclchrvt] {
    cursor: wait;
}

@media (pointer: coarse) {
    .rm-readybtn[b-p1vclchrvt] {
        min-height: 56px;
    }
}

@media (forced-colors: active) {
    .rm-ready[b-p1vclchrvt],
    .rm-readybtn[b-p1vclchrvt] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmRefused.razor.rz.scp.css */
/* "The road would not open" (A-Party 1): the bad tone, in words and an icon. */
.rm-refused[b-1ywg1y2hiz] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--rm-bad) 60%, transparent);
    background: var(--rm-bad-fill);
    color: var(--rm-bad-ink);
}

.rm-refused > .material-icons[b-1ywg1y2hiz] {
    font-size: var(--gt-2xl);
    color: var(--rm-bad);
}

.rm-refused-tx[b-1ywg1y2hiz] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rm-refused-tx b[b-1ywg1y2hiz] {
    font: 700 var(--gt-lg)/1.3 var(--font-primary);
}

.rm-refused-tx p[b-1ywg1y2hiz] {
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-refused-back[b-1ywg1y2hiz] {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 12px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-card);
    color: var(--color-text-primary);
    font: 700 var(--gt-base)/1.2 var(--font-primary);
    cursor: pointer;
}

.rm-refused-back .material-icons[b-1ywg1y2hiz] {
    font-size: var(--gt-xl);
}

.rm-refused-back:focus-visible[b-1ywg1y2hiz] {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .rm-refused-back[b-1ywg1y2hiz] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .rm-refused[b-1ywg1y2hiz],
    .rm-refused-back[b-1ywg1y2hiz] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmSeat.razor.rz.scp.css */
/* One seat (raid.css "The party seat" and "The portrait", ported: the comps' tier classes became the canonical
   breakpoints; class colour only through --cc, raw for the rim, 50% toward the text colour for words). */
.rm-seat[b-b3abqsc3ju] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 236px;
    padding: 22px 12px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-card);
    text-align: center;
    min-width: 0;
    overflow: hidden;
}

.rm-seat[b-b3abqsc3ju]::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--cc, transparent);
}

.rm-seat.is-you[b-b3abqsc3ju] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.rm-seat.is-ready[b-b3abqsc3ju] {
    border-color: color-mix(in srgb, var(--rm-ready) 55%, transparent);
}

.rm-seat.is-away[b-b3abqsc3ju] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--rm-away) 50%, transparent);
}

.rm-seat.is-away[b-b3abqsc3ju]::before {
    opacity: 0.35;
}

.rm-seat.is-empty[b-b3abqsc3ju] {
    justify-content: center;
    background: var(--rm-well);
    border: 1.5px dashed var(--rm-line-2);
}

.rm-seat.is-empty[b-b3abqsc3ju]::before {
    display: none;
}

.rm-seat.is-house[b-b3abqsc3ju] {
    border-color: var(--sc-house-line);
}

.rm-seat.is-need[b-b3abqsc3ju] {
    border-color: color-mix(in srgb, var(--rm-need) 55%, transparent);
    background: var(--rm-need-fill);
}

/* The arch portrait in the class rim, its level hex and the host's mark. */
.rm-arch[b-b3abqsc3ju] {
    position: relative;
    display: inline-block;
    width: var(--rm-arch-w);
    height: var(--rm-arch-h);
    flex: none;
    margin-bottom: 6px;
}

.rm-arch-av[b-b3abqsc3ju] {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 999px 999px 12px 12px;
    border: 3px solid var(--cc, var(--color-gray-600));
    background: var(--color-bg-base);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-bg-base) 85%, transparent);
}

.rm-arch-av img[b-b3abqsc3ju] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

.rm-seat.is-away .rm-arch-av[b-b3abqsc3ju] {
    border-style: dashed;
}

.rm-seat.is-away .rm-arch-av img[b-b3abqsc3ju] {
    filter: grayscale(0.7) brightness(0.7);
}

.rm-arch-lv[b-b3abqsc3ju] {
    position: absolute;
    left: -8px;
    bottom: -6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 30px;
    clip-path: var(--rm-hex);
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
    font: 900 var(--gt-sm)/1 var(--font-primary);
}

.rm-arch-crown[b-b3abqsc3ju] {
    position: absolute;
    left: 50%;
    top: -12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    margin-left: -14px;
    border-radius: var(--radius-md);
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
}

.rm-arch-crown .material-icons[b-b3abqsc3ju] {
    font-size: calc(var(--gt-px) * 17);
}

.rm-well[b-b3abqsc3ju] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 66px;
    margin: 4px 0 8px;
    clip-path: var(--rm-hex);
    background: var(--rm-line-2);
    flex: none;
}

.rm-seat.is-need .rm-well[b-b3abqsc3ju] {
    background: var(--rm-gold-grad);
}

.rm-well .material-icons[b-b3abqsc3ju] {
    font-size: calc(var(--gt-px) * 26);
    color: var(--color-text-secondary);
}

.rm-seat.is-need .rm-well .material-icons[b-b3abqsc3ju] {
    color: var(--color-bg-base);
}

.rm-seat-tx[b-b3abqsc3ju] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
}

.rm-seat-top[b-b3abqsc3ju] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.rm-seat-nm[b-b3abqsc3ju] {
    font: 700 calc(var(--gt-px) * 15)/1.2 var(--font-primary);
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    overflow-wrap: anywhere;
}

.rm-seat.is-empty .rm-seat-nm[b-b3abqsc3ju] {
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--color-text-secondary);
}

.rm-seat.is-need .rm-seat-nm[b-b3abqsc3ju] {
    color: var(--rm-need-ink);
}

.rm-seat-cl[b-b3abqsc3ju] {
    font: 500 var(--gt-md)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-seat-cls[b-b3abqsc3ju] {
    font-weight: 700;
    color: color-mix(in srgb, var(--cc, var(--color-text-secondary)) 50%, var(--color-text-primary));
}

.rm-seat-sub[b-b3abqsc3ju] {
    font: 500 var(--gt-sm)/1.35 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-tag[b-b3abqsc3ju] {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 5px;
    border: 1px solid var(--rm-line-2);
    font: 800 var(--gt-sm)/1 var(--font-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rm-tag--host[b-b3abqsc3ju] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: var(--rm-need-fill);
    color: var(--rm-need-ink);
}

/* A seat Garrick's house keeps warm (house heroes W3): the teal house tint, a word and the seal, never colour alone. */
.rm-tag--house[b-b3abqsc3ju] {
    border-color: var(--sc-house-line);
    background: var(--sc-house-soft);
    color: var(--sc-house-ink);
}

.rm-seat.is-house .rm-arch-av[b-b3abqsc3ju] {
    border-color: var(--cc, var(--sc-house));
}

/* The seal on the arch's top corner (the portrait keeps its class rim). A child component's root does not wear this sheet's
   scope, so the host rule reaches it with ::deep (as the Fellowship's letter seals do). */
.rm-arch[b-b3abqsc3ju]  .rm-arch-seal {
    position: absolute;
    right: -9px;
    top: -6px;
    z-index: 3;
}

.rm-tag--you[b-b3abqsc3ju] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
    color: var(--fd-gold-text);
}

.rm-seat-acts[b-b3abqsc3ju] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding-top: 6px;
}

.rm-seat-own[b-b3abqsc3ju] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 600 var(--gt-md)/1 var(--font-primary);
    color: var(--fd-gold-text);
}

.rm-seat-own .material-icons[b-b3abqsc3ju] {
    font-size: calc(var(--gt-px) * 17);
}

/* Rows at 1280 and below (A-Tablet-1024, A-Phone-390): 68-72px rows, the strip down the left edge. */
@media (max-width: 1280px) {
    .rm-seat[b-b3abqsc3ju] {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        min-height: var(--rm-row-h);
        padding: 8px 10px 8px 16px;
        text-align: left;
    }

    .rm-seat[b-b3abqsc3ju]::before {
        right: auto;
        bottom: 0;
        width: 3px;
        height: auto;
    }

    .rm-arch[b-b3abqsc3ju] {
        --rm-arch-w: 44px;
        --rm-arch-h: 50px;
        margin: 0 4px 0 2px;
    }

    .rm-arch-av[b-b3abqsc3ju] {
        border-width: 2px;
    }

    .rm-arch-lv[b-b3abqsc3ju] {
        width: 19px;
        height: 22px;
        left: -6px;
        bottom: -4px;
        font-size: var(--gt-sm);
    }

    .rm-arch-crown[b-b3abqsc3ju] {
        width: 22px;
        height: 18px;
        top: -9px;
        margin-left: -11px;
    }

    .rm-arch-crown .material-icons[b-b3abqsc3ju] {
        font-size: var(--gt-md);
    }

    .rm-well[b-b3abqsc3ju] {
        width: 40px;
        height: 46px;
        margin: 0 6px 0 4px;
    }

    .rm-well .material-icons[b-b3abqsc3ju] {
        font-size: calc(var(--gt-px) * 19);
    }

    .rm-seat-tx[b-b3abqsc3ju] {
        align-items: flex-start;
        flex: 1;
    }

    .rm-seat-top[b-b3abqsc3ju] {
        justify-content: flex-start;
    }

    .rm-seat-acts[b-b3abqsc3ju] {
        width: auto;
        margin: 0;
        padding: 0;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .rm-seat[b-b3abqsc3ju] {
        flex-wrap: wrap;
    }

    .rm-seat-acts[b-b3abqsc3ju] {
        width: 100%;
        justify-content: flex-start;
    }
}

/* A chair a summons still waits for (raid join W3): dotted info rim, the letter in the well (a shape and words). */
.rm-seat.is-invited[b-b3abqsc3ju] {
    border: 1.5px dotted color-mix(in srgb, var(--rm-invite) 70%, transparent);
    background: color-mix(in srgb, var(--color-info-dark) 14%, var(--rm-well));
}

.rm-well.rm-well--invited[b-b3abqsc3ju] {
    background: var(--rm-invite-fill);
}

.rm-well.rm-well--invited .material-icons[b-b3abqsc3ju] {
    color: var(--rm-invite-ink);
}

.rm-seat.is-invited .rm-seat-nm[b-b3abqsc3ju] {
    color: var(--color-text-primary);
}

@media (forced-colors: active) {
    .rm-seat[b-b3abqsc3ju],
    .rm-tag[b-b3abqsc3ju] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .rm-arch-lv[b-b3abqsc3ju],
    .rm-arch-crown[b-b3abqsc3ju] {
        forced-color-adjust: none;
        background: CanvasText;
        color: Canvas;
    }
}
/* /Components/WarTable/Room/RmSeats.razor.rz.scp.css */
/* The seats (raid.css "The party seat", ported): four cards from 1281, rows at 1280 and below. */
.rm-seats-wrap[b-w6xqivoip9] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.rm-seats[b-w6xqivoip9] {
    display: grid;
    grid-template-columns: repeat(var(--seats, 4), minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

@media (max-width: 1280px) {
    .rm-seats[b-w6xqivoip9] {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
}

@media (forced-colors: active) {
    .rm-seats[b-w6xqivoip9] {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmStartBlock.razor.rz.scp.css */
/* The start block (A-Party-1366 start, A-Phone-390 pinned bar), ported: one gold per screen, a hint never a gate. */
.rm-start[b-fw776kepn5] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 26%, transparent);
    background: var(--rm-card);
}

.rm-meter[b-fw776kepn5] {
    margin: 0;
    font: 700 var(--gt-lg)/1.35 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-counts[b-fw776kepn5] {
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-band[b-fw776kepn5] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-band-step[b-fw776kepn5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 2px 10px;
    border-radius: var(--radius-round);
    border: 1px dashed var(--rm-line-2);
    color: var(--color-text-secondary);
    font: 600 var(--gt-sm)/1.2 var(--font-primary);
}

.rm-band-step .material-icons[b-fw776kepn5] {
    font-size: var(--gt-lg);
}

.rm-band-step.is-in-play[b-fw776kepn5] {
    border-style: solid;
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--rm-need-fill);
    color: var(--rm-need-ink);
}

.rm-hint[b-fw776kepn5] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--rm-wait) 55%, transparent);
    background: var(--rm-wait-fill);
    color: var(--rm-wait-ink);
    font: 500 var(--gt-md)/1.4 var(--font-primary);
}

.rm-hint .material-icons[b-fw776kepn5] {
    font-size: var(--gt-xl);
    color: var(--rm-wait);
}

.rm-hint-note[b-fw776kepn5] {
    display: block;
    font-weight: 400;
}

.rm-gold[b-fw776kepn5] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--rm-gold-grad);
    color: var(--color-bg-base);
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
}

.rm-gold .material-icons[b-fw776kepn5] {
    font-size: var(--gt-3xl);
}

.rm-gold-tx[b-fw776kepn5] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rm-gold-tx b[b-fw776kepn5] {
    font: 800 var(--gt-lg)/1.2 var(--font-primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rm-gold-tx small[b-fw776kepn5] {
    font: 600 var(--gt-sm)/1.3 var(--font-primary);
}

.rm-gold:focus-visible[b-fw776kepn5] {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 3px;
}

.rm-gold[disabled][b-fw776kepn5] {
    cursor: not-allowed;
    background: var(--rm-well);
    color: var(--color-text-secondary);
    box-shadow: none;
    border: 1px dashed var(--rm-line-2);
}

.rm-why[b-fw776kepn5] {
    margin: 0;
    font: 600 var(--gt-md)/1.4 var(--font-primary);
    color: var(--rm-need-ink);
}

.rm-resume-line[b-fw776kepn5] {
    margin: 0;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-guest[b-fw776kepn5] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    font: 500 var(--gt-base)/1.4 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-guest small[b-fw776kepn5] {
    display: block;
    color: var(--color-text-secondary);
}

.rm-guest .material-icons[b-fw776kepn5] {
    color: var(--rm-wait);
}

.rm-start-acts[b-fw776kepn5] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* While the party gathers: rest and resupply now, the party takes the hero as they are at set-out (hotfix 21 Nov 2026). */
.rm-rest-line[b-fw776kepn5] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    font: 500 var(--gt-sm)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-rest-line .material-icons[b-fw776kepn5] {
    font-size: var(--gt-lg);
}

.rm-phone-line[b-fw776kepn5] {
    display: none;
    align-items: center;
    gap: 6px;
    margin: 0;
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-phone-line .material-icons[b-fw776kepn5] {
    font-size: var(--gt-lg);
}

/* A-Phone-390: the start pinned above the dock (bottom: var(--frame-bottom)), never covered. */
@media (max-width: 768px) {
    .rm-start[b-fw776kepn5] {
        position: sticky;
        bottom: var(--frame-bottom, 0px);
        z-index: 5;
        box-shadow: var(--shadow-lg);
        background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    }

    .rm-band[b-fw776kepn5] {
        display: none;
    }

    .rm-phone-line[b-fw776kepn5] {
        display: flex;
    }
}

@media (pointer: coarse) {
    .rm-gold[b-fw776kepn5] {
        min-height: 56px;
    }
}

@media (forced-colors: active) {
    .rm-start[b-fw776kepn5],
    .rm-hint[b-fw776kepn5],
    .rm-band-step[b-fw776kepn5] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }

    .rm-gold[b-fw776kepn5] {
        border: 2px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
    }
}
/* /Components/WarTable/Room/RmState.razor.rz.scp.css */
/* The room's states (raid.css "Notices" and skeletons, ported). */
.rm-skel-wrap[b-xuvlv1pim9] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rm-skel[b-xuvlv1pim9] {
    display: block;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-text-secondary) 8%, transparent), color-mix(in srgb, var(--color-text-secondary) 17%, transparent) 50%, color-mix(in srgb, var(--color-text-secondary) 8%, transparent));
    background-size: 200% 100%;
    animation: rm-skel-sweep-b-xuvlv1pim9 1.4s ease-in-out infinite;
}

.rm-skel--head[b-xuvlv1pim9] {
    height: 150px;
}

.rm-skel-seats[b-xuvlv1pim9] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.rm-skel--seat[b-xuvlv1pim9] {
    height: 210px;
}

.rm-skel--bar[b-xuvlv1pim9] {
    height: 64px;
}

@keyframes rm-skel-sweep-b-xuvlv1pim9 {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.rm-notice[b-xuvlv1pim9] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 640px;
    padding: 20px 22px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-card);
}

.rm-notice--bad[b-xuvlv1pim9] {
    border-color: color-mix(in srgb, var(--rm-bad) 55%, transparent);
}

.rm-notice--gold[b-xuvlv1pim9] {
    border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.rm-notice-icon[b-xuvlv1pim9] {
    font-size: calc(var(--gt-px) * 30);
    color: var(--color-text-secondary);
}

.rm-notice--bad .rm-notice-icon[b-xuvlv1pim9] {
    color: var(--rm-bad);
}

.rm-notice--gold .rm-notice-icon[b-xuvlv1pim9] {
    color: var(--color-primary);
}

.rm-notice-body[b-xuvlv1pim9] {
    margin: 0;
    font: 500 var(--gt-lg)/1.5 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-notice-acts[b-xuvlv1pim9] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 1280px) {
    .rm-skel-seats[b-xuvlv1pim9] {
        grid-template-columns: minmax(0, 1fr);
    }

    .rm-skel--seat[b-xuvlv1pim9] {
        height: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rm-skel[b-xuvlv1pim9] {
        animation: none;
    }
}

@media (forced-colors: active) {
    .rm-notice[b-xuvlv1pim9],
    .rm-skel[b-xuvlv1pim9] {
        border: 1px solid CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmSwapList.razor.rz.scp.css */
/* Swap hero's list (inside the family's WtDialog). */
.rm-swap-note[b-yujcdwdhtg] {
    margin: 0;
    font: 500 var(--gt-base)/1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.rm-swap-list[b-yujcdwdhtg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rm-swap-row[b-yujcdwdhtg] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--rm-line-2);
    border-left: 3px solid var(--cc, var(--rm-line-2));
}

.rm-swap-face[b-yujcdwdhtg] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

.rm-swap-tx[b-yujcdwdhtg] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
    font: 500 var(--gt-base)/1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.rm-swap-tx small[b-yujcdwdhtg] {
    color: var(--color-text-secondary);
}

@media (max-width: 480px) {
    .rm-swap-row[b-yujcdwdhtg] {
        flex-wrap: wrap;
    }
}

@media (forced-colors: active) {
    .rm-swap-row[b-yujcdwdhtg] {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/Room/RmWhoMayCome.razor.rz.scp.css */
/* Who may come (A-Party 2 "Host tools": the room's door). */
.rm-who[b-7do1ng8edt] {
    position: relative;
}

.rm-who-line[b-7do1ng8edt],
.rm-who-btn[b-7do1ng8edt] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--rm-tap);
    padding: 4px 10px;
    border-radius: var(--radius-md);
    border: 1px solid var(--rm-line-2);
    background: var(--rm-well);
    color: var(--color-text-primary);
    font: 600 var(--gt-md)/1.2 var(--font-primary);
}

.rm-who-btn[b-7do1ng8edt] {
    cursor: pointer;
}

.rm-who-btn:focus-visible[b-7do1ng8edt],
.rm-who-close:focus-visible[b-7do1ng8edt],
.rm-who-opt:focus-within[b-7do1ng8edt] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.rm-who-line .material-icons[b-7do1ng8edt],
.rm-who-btn .material-icons[b-7do1ng8edt] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-secondary);
}

.rm-who-panel[b-7do1ng8edt] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 340px;
    padding: 12px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--rm-line-2);
    background: linear-gradient(180deg, var(--color-gray-800), var(--color-bg-base));
    box-shadow: var(--shadow-lg);
}

.rm-who-set[b-7do1ng8edt] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
}

.rm-who-set legend[b-7do1ng8edt] {
    margin-bottom: 4px;
    font: 700 var(--gt-sm)/1 var(--font-primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.rm-who-opt[b-7do1ng8edt] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: var(--rm-tap);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    cursor: pointer;
}

.rm-who-opt.is-disabled[b-7do1ng8edt] {
    opacity: 0.55;
    cursor: not-allowed;
}

.rm-who-opt .material-icons[b-7do1ng8edt] {
    font-size: var(--gt-xl);
    color: var(--color-text-secondary);
}

.rm-who-tx[b-7do1ng8edt] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font: 500 var(--gt-md)/1.3 var(--font-primary);
}

.rm-who-tx small[b-7do1ng8edt] {
    color: var(--color-text-secondary);
}

.rm-who-close[b-7do1ng8edt] {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    min-height: var(--rm-tap);
    padding: 6px 8px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--rm-bad) 45%, transparent);
    background: transparent;
    color: var(--rm-bad-ink);
    text-align: left;
    cursor: pointer;
}

.rm-who-confirm[b-7do1ng8edt] {
    padding: 8px 10px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--rm-bad) 55%, transparent);
    background: var(--rm-bad-fill);
    color: var(--rm-bad-ink);
}

.rm-who-confirm p[b-7do1ng8edt] {
    margin: 0 0 8px;
    font: 500 var(--gt-md)/1.4 var(--font-primary);
}

.rm-who-confirm-acts[b-7do1ng8edt] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

@media (max-width: 768px) {
    .rm-who-panel[b-7do1ng8edt] {
        right: auto;
        left: 0;
    }
}

/* A phone: the panel spans the page between the gutters (it would not fit beside the button). */
@media (max-width: 480px) {
    .rm-who-panel[b-7do1ng8edt] {
        position: fixed;
        top: calc(var(--frame-top, 56px) + 8px);
        left: 16px;
        right: 16px;
        width: auto;
    }
}

@media (pointer: coarse) {
    .rm-who-btn[b-7do1ng8edt],
    .rm-who-opt[b-7do1ng8edt],
    .rm-who-close[b-7do1ng8edt] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .rm-who-btn[b-7do1ng8edt],
    .rm-who-line[b-7do1ng8edt],
    .rm-who-panel[b-7do1ng8edt],
    .rm-who-close[b-7do1ng8edt],
    .rm-who-confirm[b-7do1ng8edt] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/WtAhead.razor.rz.scp.css */
/* WtAhead: the locked rows and the folded group (the kit's hb-grp and hb-stack). Tokens only. */
.wt-ahead[b-s8nrsifqmt] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-ahead--children[b-s8nrsifqmt] {
    margin-top: 8px;
    padding-left: 18px;
}

.wt-ahead-group[b-s8nrsifqmt] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 70px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: var(--fd-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.wt-ahead-stack[b-s8nrsifqmt] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 84px;
    height: 54px;
    border-radius: 9px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
    background: repeating-linear-gradient(135deg, var(--color-gray-900) 0 6px, color-mix(in srgb, var(--color-gray-900) 70%, var(--color-bg-base)) 6px 12px);
}

.wt-ahead-stack .material-icons[b-s8nrsifqmt] {
    font-size: var(--gt-2xl);
    color: var(--color-region-realm);
}

.wt-ahead-stack b[b-s8nrsifqmt] {
    font: 800 var(--gt-lg) / 1 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-ahead-text[b-s8nrsifqmt] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.wt-ahead-text b[b-s8nrsifqmt] {
    font: 800 calc(var(--gt-px) * 14.5) / 1.2 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-ahead-text small[b-s8nrsifqmt] {
    font: 500 var(--gt-sm) / 1.35 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-ahead-more[b-s8nrsifqmt] {
    flex: none;
    color: var(--fd-text-3);
}

.wt-ahead-group:focus-visible[b-s8nrsifqmt] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (hover: hover) {
    .wt-ahead-group:hover[b-s8nrsifqmt] {
        border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
    }
}
/* /Components/WarTable/WtAheadRowLink.razor.rz.scp.css */
/* WtAheadRowLink: the kit's a-tile row locked (a strip in the region's tint, a dimmed thumb). Tokens only. */
.wt-ahead-row[b-fph56y4ij2] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: var(--fd-text);
    text-decoration: none;
}

.wt-ahead-row[b-fph56y4ij2]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--tint);
}

.wt-ahead-thumb[b-fph56y4ij2] {
    flex: none;
    width: 84px;
    height: 54px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--fd-art-well);
}

.wt-ahead-thumb img[b-fph56y4ij2] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.35) brightness(.6);
}

.wt-ahead-row-text[b-fph56y4ij2] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-ahead-row-text b[b-fph56y4ij2] {
    font: 800 calc(var(--gt-px) * 14.5) / 1.2 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-ahead-row-text small[b-fph56y4ij2] {
    display: flex;
    align-items: center;
    gap: 4px;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-ahead-row-text small .material-icons[b-fph56y4ij2] {
    font-size: calc(var(--gt-px) * 15);
    color: var(--color-warning-light);
}

.wt-ahead-row:focus-visible[b-fph56y4ij2] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (hover: hover) {
    .wt-ahead-row:hover[b-fph56y4ij2] {
        border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
    }
}
/* /Components/WarTable/WtBeforeYouSetOut.razor.rz.scp.css */
/* WtBeforeYouSetOut (WT-Brief "Before you set out"): a panel with the grade hex, then a task per row. Tokens only. */
.wt-ready-panel[b-qkw1lkv885] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--wt-vellum) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    min-width: 0;
    scroll-margin-top: 80px;
}

.wt-ready-title[b-qkw1lkv885] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font: 700 calc(var(--gt-px) * 15)/1.2 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-ink);
}

.wt-ready-title[b-qkw1lkv885]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--wt-ink) 40%, transparent), transparent);
}

.wt-ready-grade[b-qkw1lkv885] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wt-ready-hex[b-qkw1lkv885] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 62px;
    flex: none;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    font: 900 calc(var(--gt-px) * 26)/1 var(--font-display);
    background: linear-gradient(180deg, var(--color-warning-lightest), var(--color-warning-dark));
    color: var(--color-bg-base);
}

.wt-ready-hex--a[b-qkw1lkv885],
.wt-ready-hex--b[b-qkw1lkv885] {
    background: linear-gradient(180deg, var(--color-success-lighter), var(--color-success-dark));
}

.wt-ready-hex--e[b-qkw1lkv885],
.wt-ready-hex--f[b-qkw1lkv885] {
    background: linear-gradient(180deg, var(--color-danger-lighter), var(--color-danger-dark));
    color: var(--color-text-primary);
}

.wt-ready-grade-text[b-qkw1lkv885] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wt-ready-grade-label[b-qkw1lkv885] {
    font: 700 var(--gt-md)/1.2 var(--font-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--wt-ink);
}

.wt-ready-grade-label b[b-qkw1lkv885] {
    margin-left: 6px;
    font: 700 var(--gt-md)/1.2 var(--font-primary);
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-text-primary);
}

.wt-ready-grade-note[b-qkw1lkv885] {
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
    color: var(--color-text-secondary);
}

.wt-ready-tasks[b-qkw1lkv885] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-ready-task[b-qkw1lkv885] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 6px 8px 6px 10px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
}

.wt-ready-task > .material-icons[b-qkw1lkv885] {
    font-size: calc(var(--gt-px) * 19);
    color: var(--color-primary);
}

.wt-ready-task-text[b-qkw1lkv885] {
    flex: 1;
    min-width: 0;
    font-size: var(--gt-md);
    line-height: 1.4;
    color: var(--color-text-lighter);
}

.wt-ready-task-fix[b-qkw1lkv885] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 36px;
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.wt-ready-task-fix .material-icons[b-qkw1lkv885] {
    font-size: calc(var(--gt-px) * 17);
}

/* An in-place fix (Rest at the inn) is a button: it reads as the links beside it. */
button.wt-ready-task-fix[b-qkw1lkv885] {
    padding: 0;
    border: 0;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

button.wt-ready-task-fix:hover[b-qkw1lkv885] {
    color: var(--color-primary);
}

.wt-ready-task-fix:focus-visible[b-qkw1lkv885] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (pointer: coarse) {
    .wt-ready-task-fix[b-qkw1lkv885] {
        min-height: 44px;
    }
}
/* /Components/WarTable/WtBossRoster.razor.rz.scp.css */
/* WtBossRoster (WT-Brief "Bosses on this road"): plates in a grid, four across from 1280, two from 480. Tokens only. */
.wt-bosses[b-q10b8xsm9f] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-boss[b-q10b8xsm9f] {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 168px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-danger-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 12%, var(--wt-vellum-deep));
}

.wt-boss--defeated[b-q10b8xsm9f] {
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.wt-boss-art[b-q10b8xsm9f] {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.wt-boss-tile[b-q10b8xsm9f] {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 18px;
    background:
        radial-gradient(circle at 78% 38%, color-mix(in srgb, var(--color-danger) 22%, transparent), transparent 55%),
        repeating-linear-gradient(135deg, color-mix(in srgb, var(--wt-vellum) 90%, transparent) 0 8px, var(--wt-vellum-deep) 8px 16px);
}

.wt-boss-tile .material-icons[b-q10b8xsm9f] {
    font-size: var(--gt-8xl);
    color: color-mix(in srgb, var(--color-danger-light) 45%, transparent);
}

.wt-boss[b-q10b8xsm9f]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--wt-vellum-deep) 85%, transparent) 75%, var(--wt-vellum-deep) 100%);
}

.wt-boss-tags[b-q10b8xsm9f] {
    position: absolute;
    left: 12px;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wt-boss-pill[b-q10b8xsm9f] {
    display: inline-flex;
    align-items: center;
    height: 2.18em;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 80%, transparent);
    color: var(--color-primary-light);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wt-boss-pill--tag[b-q10b8xsm9f] {
    border-color: color-mix(in srgb, var(--color-danger-light) 60%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 70%, var(--color-bg-base));
    color: var(--color-danger-lightest);
}

.wt-boss--defeated .wt-boss-pill--tag[b-q10b8xsm9f] {
    border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 45%, var(--color-bg-base));
    color: var(--color-primary-light);
}

.wt-boss-body[b-q10b8xsm9f] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
}

.wt-boss-name[b-q10b8xsm9f] {
    font: 800 var(--gt-lg)/1.1 var(--font-primary);
    color: color-mix(in srgb, var(--color-primary-light) 25%, var(--color-text-primary));
}

.wt-boss-line[b-q10b8xsm9f] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-light);
}

.wt-boss-note[b-q10b8xsm9f] {
    margin: 10px 0 0;
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-secondary);
}

@media (min-width: 768px) {
    .wt-boss-name[b-q10b8xsm9f] {
        font-size: calc(var(--gt-px) * 19);
    }
}

@media (min-width: 1024px) {
    .wt-bosses[b-q10b8xsm9f] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* /Components/WarTable/WtBriefCrumbs.razor.rz.scp.css */
/* WtBriefCrumbs (WT-Brief top row): gold crumb links with chevrons drawn in CSS, a party road's lobby-code link and the
   hero chip at the right. Under 768 only the way back and that link show; the upright tablet adds the trail (WT-Brief-768t
   draws the way back and the crumbs alone), and the hero chip joins them from 1024 (WT-Brief-1024t). Tokens only. */
.wt-brief-crumbs[b-vbutdullaw] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    min-width: 0;
}

.wt-crumbs[b-vbutdullaw] {
    flex: 1;
    min-width: 0;
}

.wt-crumbs ol[b-vbutdullaw] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.wt-crumb[b-vbutdullaw] {
    display: none;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.wt-crumb--home[b-vbutdullaw] {
    display: inline-flex;
}

.wt-crumb + .wt-crumb[b-vbutdullaw]::before {
    content: '';
    flex: none;
    width: 6px;
    height: 6px;
    margin: 0 6px 0 2px;
    border-top: 2px solid var(--color-text-tertiary);
    border-right: 2px solid var(--color-text-tertiary);
    transform: rotate(45deg);
}

.wt-crumb a[b-vbutdullaw] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    color: var(--color-primary-light);
    font-size: var(--gt-base);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.wt-crumb a .material-icons[b-vbutdullaw] {
    font-size: calc(var(--gt-px) * 19);
}

.wt-crumb a:hover[b-vbutdullaw] {
    text-decoration: underline;
}

.wt-crumb a:focus-visible[b-vbutdullaw] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.wt-crumb > span[b-vbutdullaw] {
    overflow: hidden;
    color: var(--color-text-light);
    font-size: var(--gt-base);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-brief-crumbs-hero[b-vbutdullaw] {
    display: none;
    flex: none;
}

/* A party road's way in by code (WT-Party-Brief-1366): a quiet gold link at the row's end. */
.wt-brief-crumbs-link[b-vbutdullaw] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    max-width: 160px;
    min-height: 36px;
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
    text-decoration: none;
}

.wt-brief-crumbs-link .material-icons[b-vbutdullaw] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-brief-crumbs-link:hover[b-vbutdullaw] {
    text-decoration: underline;
}

.wt-brief-crumbs-link:focus-visible[b-vbutdullaw] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (pointer: coarse) {
    .wt-crumb a[b-vbutdullaw],
    .wt-brief-crumbs-link[b-vbutdullaw] {
        min-height: 44px;
    }
}

@media (min-width: 768px) {
    .wt-crumb[b-vbutdullaw] {
        display: inline-flex;
    }

    .wt-brief-crumbs-link[b-vbutdullaw] {
        max-width: none;
        white-space: nowrap;
    }
}

@media (min-width: 1024px) {
    .wt-brief-crumbs-hero[b-vbutdullaw] {
        display: block;
    }
}

/* The family's hero chip (WtHeroChip), laid out here as the board draws it: portrait in the class ring, name over class. */
.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
}

.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip-portrait {
    grid-row: 1 / span 2;
    width: 34px;
    height: 38px;
    border-radius: 999px 999px 7px 7px;
    object-fit: cover;
    object-position: 50% 15%;
    border: 2px solid var(--wt-class, var(--color-primary));
}

.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip-name {
    font: 700 var(--gt-md)/1.15 var(--font-primary);
    color: color-mix(in srgb, var(--color-primary-light) 30%, var(--color-text-primary));
    white-space: nowrap;
}

.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip-class,
.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip-grade {
    grid-column: 2;
    font-size: var(--gt-sm);
    color: var(--color-text-light);
    white-space: nowrap;
}

.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip-grade {
    display: none;
}

.wt-brief-crumbs-hero[b-vbutdullaw]  .wt-hero-chip:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 8px;
}
/* /Components/WarTable/WtBriefDeviceWatch.razor.rz.scp.css */
/* WtBriefDeviceWatch renders no markup; the file keeps the kit's triad (markup, code-behind, scoped styles). */
/* /Components/WarTable/WtBriefDossier.razor.rz.scp.css */
/* WtBriefDossier (A-Brief, WT-Brief-*): the pinned card beside the chart, gold tack on top. Tokens only; canonical
   breakpoints only. Under 960 the action lives in the page's sticky bar, so the dossier hides it (Listen stays). The
   family pieces inside (WtLockNote, WtWalkedSeal) are laid out here through ::deep. */
.wt-dossier[b-esowkvpp71] {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 22px 18px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--wt-vellum) 97%, transparent), color-mix(in srgb, var(--color-bg-base) 98%, transparent));
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    box-shadow: 0 26px 60px color-mix(in srgb, var(--wt-vellum-deep) 55%, transparent);
}

.wt-dossier-tack[b-esowkvpp71] {
    position: absolute;
    left: 50%;
    top: -9px;
    z-index: 2;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--color-primary-light), var(--color-primary-dark) 55%, var(--color-primary-darker));
    box-shadow: 0 3px 6px color-mix(in srgb, var(--wt-vellum-deep) 60%, transparent);
}

/* The painting behind the head, quiet: it never takes layout height. */
.wt-dossier-art[b-esowkvpp71] {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 170px;
    object-fit: cover;
    object-position: 50% 40%;
    border-radius: 16px 16px 0 0;
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(180deg, var(--color-bg-base) 30%, transparent);
    mask-image: linear-gradient(180deg, var(--color-bg-base) 30%, transparent);
}

/* Every eyebrow item leads with 20px (the saga's dot sits in it); the row is pulled 20px left and that strip is clipped,
   so an item that wraps to a new line never starts it with a dot. */
.wt-dossier-eyebrow[b-esowkvpp71] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 0;
    min-height: 22px;
    margin-left: -20px;
    clip-path: inset(-8px -8px -8px 20px);
}

.wt-dossier-region[b-esowkvpp71],
.wt-dossier-chip[b-esowkvpp71] {
    margin-left: 20px;
}

.wt-dossier-region[b-esowkvpp71] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-ink);
}

.wt-dossier-region .material-icons[b-esowkvpp71] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--wt-dossier-tint, var(--wt-ink));
}

.wt-dossier-saga[b-esowkvpp71] {
    display: inline-flex;
    align-items: center;
    font-size: var(--gt-md);
    color: var(--color-text-lighter);
}

.wt-dossier-saga[b-esowkvpp71]::before {
    content: '';
    width: 4px;
    height: 4px;
    margin: 0 8px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.wt-dossier-chip[b-esowkvpp71] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 2em;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-info-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-info-dark) 25%, var(--color-bg-base));
    color: var(--color-info-lightest);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.wt-dossier-chip .material-icons[b-esowkvpp71] {
    font-size: var(--gt-md);
}

.wt-dossier-state[b-esowkvpp71] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: var(--gt-md);
    color: var(--color-text-lighter);
}

.wt-dossier-state b[b-esowkvpp71] {
    font: 700 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.wt-dossier-state-dot[b-esowkvpp71] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.wt-dossier-title[b-esowkvpp71] {
    margin: 0;
    font: 800 calc(var(--gt-px) * 30)/1.06 var(--font-display);
    letter-spacing: 0.01em;
    color: color-mix(in srgb, var(--color-primary-light) 30%, var(--color-text-primary));
    text-wrap: balance;
    text-shadow: 0 4px 24px color-mix(in srgb, var(--wt-vellum-deep) 70%, transparent);
}

/* The eyebrow's trick: each item leads with its dot, the first of every line clipped away. */
.wt-dossier-meta[b-esowkvpp71] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    margin: 0 0 0 -24px;
    clip-path: inset(-4px -4px -4px 24px);
    padding: 0;
    list-style: none;
    font-size: calc(var(--gt-px) * 13.5);
    line-height: 1.4;
    color: var(--color-text-lighter);
}

.wt-dossier-meta-item[b-esowkvpp71] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.wt-dossier-meta-item[b-esowkvpp71]::before {
    content: '';
    width: 4px;
    height: 4px;
    margin: 0 10px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
}

.wt-dossier-meta-item .material-icons[b-esowkvpp71] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-secondary);
}

.wt-dossier-meta-item.is-boss[b-esowkvpp71] {
    color: var(--color-danger-lighter);
}

.wt-dossier-hook[b-esowkvpp71] {
    margin: 0;
    font: italic 400 var(--gt-xl)/1.36 'EB Garamond', Georgia, serif;
    color: color-mix(in srgb, var(--color-primary-light) 22%, var(--color-text-primary));
}

.wt-dossier-key[b-esowkvpp71] {
    margin: 0;
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-dossier-fit[b-esowkvpp71] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-base) 50%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
}

.wt-dossier-fit > :not(:first-child)[b-esowkvpp71] {
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

/* ---- The run so far ---- */
.wt-dossier-progress[b-esowkvpp71] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 10%, transparent);
}

.wt-dossier-steps[b-esowkvpp71] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
}

.wt-dossier-step[b-esowkvpp71] {
    height: 6px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-tertiary) 60%, transparent);
}

.wt-dossier-step.is-done[b-esowkvpp71] {
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}

.wt-dossier-step.is-here[b-esowkvpp71] {
    background: transparent;
    box-shadow: inset 0 0 0 1.5px var(--color-primary);
}

.wt-dossier-progress-line[b-esowkvpp71] {
    font-size: var(--gt-md);
    color: var(--color-text-lighter);
}

.wt-dossier-progress-banked[b-esowkvpp71] {
    font-size: var(--gt-md);
    font-weight: 600;
    color: var(--color-primary-light);
}

.wt-dossier-next[b-esowkvpp71] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
    font-size: var(--gt-md);
    color: var(--color-text-light);
}

.wt-dossier-next b[b-esowkvpp71] {
    font: 700 calc(var(--gt-px) * 15)/1.25 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-dossier-next-roster[b-esowkvpp71] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-lighter);
}

.wt-dossier-next-roster .material-icons[b-esowkvpp71] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-secondary);
}

/* ---- The walked record (the family's seal, laid out here) ---- */
.wt-dossier--walked .wt-dossier-eyebrow[b-esowkvpp71],
.wt-dossier--walked .wt-dossier-state[b-esowkvpp71],
.wt-dossier--walked .wt-dossier-title[b-esowkvpp71] {
    padding-right: 72px;
}

.wt-dossier-walked[b-esowkvpp71] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 50%, transparent);
}

.wt-dossier-seal[b-esowkvpp71] {
    position: absolute;
    right: 18px;
    top: 22px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 68px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
    font: 800 var(--gt-sm)/1 var(--font-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wt-dossier-seal .material-icons[b-esowkvpp71] {
    font-size: calc(var(--gt-px) * 22);
}

.wt-dossier-walked[b-esowkvpp71]  .wt-walked-seal-title,
.wt-dossier-walked[b-esowkvpp71]  .wt-walked-seal-when {
    display: none;
}

.wt-dossier-walked[b-esowkvpp71]  .wt-walked-seal-record {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--gt-md);
    font-weight: 600;
    color: var(--color-text-lighter);
}

/* ---- A lock in words (the family's note) ---- */
.wt-dossier[b-esowkvpp71]  .wt-lock-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--color-warning-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 10%, transparent);
    font-size: var(--gt-md);
    line-height: 1.45;
    color: var(--color-text-lighter);
}

.wt-dossier[b-esowkvpp71]  .wt-lock-note > .material-icons {
    grid-row: 1 / span 2;
    font-size: calc(var(--gt-px) * 22);
    color: var(--color-warning-light);
}

.wt-dossier[b-esowkvpp71]  .wt-lock-note strong {
    color: var(--color-text-primary);
}

/* Abandon this road (a run's brief): a plain quiet button at the foot, apart from the gold (WT-Brief-InProgress-390). */
.wt-dossier-abandon[b-esowkvpp71] {
    display: flex;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-subtle);
}

.wt-dossier-abandon[b-esowkvpp71]  .wt-button {
    color: var(--color-text-secondary);
}

/* ---- The action row ---- */
.wt-dossier-actions[b-esowkvpp71] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

/* Under 960 the gold rides in the sticky bar; a quiet second action (Not now, Back to the war table) stays here. */
.wt-dossier-cta[b-esowkvpp71] {
    display: none;
}

.wt-dossier-secondary[b-esowkvpp71] {
    display: flex;
}

.wt-dossier-blocked[b-esowkvpp71] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--color-warning-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 14%, transparent);
    color: var(--color-warning-lightest);
    font-size: var(--gt-md);
    line-height: 1.45;
}

.wt-dossier-blocked .material-icons[b-esowkvpp71] {
    font-size: var(--gt-2xl);
    color: var(--color-warning-light);
}

@media (min-width: 768px) {
    .wt-dossier[b-esowkvpp71] {
        padding: 24px 24px 22px;
    }

    .wt-dossier-title[b-esowkvpp71] {
        font-size: calc(var(--gt-px) * 34);
    }
}

@media (min-width: 768px) and (orientation: landscape) and (pointer: coarse) {
    .wt-dossier-cta[b-esowkvpp71] {
        display: flex;
        flex: 1;
        min-width: 0;
    }
}

@media (min-width: 960px) {
    .wt-dossier[b-esowkvpp71] {
        gap: 10px;
    }

    .wt-dossier-cta[b-esowkvpp71] {
        display: flex;
        flex: 1;
        min-width: 0;
    }

    /* From 960 (WT-Brief-1024t, WT-Party-Brief-1366): a tighter head, so the gold clears the 768 fold beside the chart;
       the title and the hook grow again from 1280. */
    .wt-dossier-title[b-esowkvpp71] {
        font-size: calc(var(--gt-px) * 31);
    }

    .wt-dossier-meta[b-esowkvpp71] {
        margin-left: -20px;
        clip-path: inset(-4px -4px -4px 20px);
    }

    .wt-dossier-meta-item[b-esowkvpp71]::before {
        margin: 0 8px;
    }

    .wt-dossier-hook[b-esowkvpp71] {
        font-size: calc(var(--gt-px) * 17);
    }
}

@media (min-width: 1280px) {
    .wt-dossier-title[b-esowkvpp71] {
        font-size: calc(var(--gt-px) * 36);
    }

    /* A long name ("Tides of Ocean Beach: Group Assault") keeps to two lines, so the gold clears the 768 fold. */
    .wt-dossier-title--long[b-esowkvpp71] {
        font-size: calc(var(--gt-px) * 31);
    }

    /* A party road's dossier also holds the seats (WT-Party-Brief-1366): the fit and the readiness share one row, the
       readiness as its grade and its fix (the tip itself is in "Before you set out"). */
    .wt-dossier--seated .wt-dossier-fit[b-esowkvpp71] {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
        column-gap: 14px;
    }

    .wt-dossier--seated .wt-dossier-fit > :not(:first-child)[b-esowkvpp71] {
        padding-top: 0;
        padding-left: 14px;
        border-top: none;
        border-left: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    }

    .wt-dossier--seated .wt-dossier-fit[b-esowkvpp71]  .wt-readiness {
        grid-template-columns: auto minmax(0, 1fr);
        row-gap: 0;
        column-gap: 10px;
    }

    .wt-dossier--seated .wt-dossier-fit[b-esowkvpp71]  .wt-readiness-tip {
        display: none;
    }

    .wt-dossier--seated .wt-dossier-fit[b-esowkvpp71]  .wt-readiness-fix {
        grid-column: 2;
        min-height: 0;
    }

    .wt-dossier-hook[b-esowkvpp71] {
        font-size: calc(var(--gt-px) * 19);
    }
}

/* A phone held sideways (owner, 19 Oct 2026, WT Q46): the gold rides in the page's sticky bar, so the dossier keeps
   only its quiet actions, as under 960 upright. The road's tier query (the road pins its action there too, 14.21 B);
   last, so it holds over the sideways and 960 tiers above. */
@media (orientation: landscape) and (max-height: 480px) {
    .wt-dossier-cta[b-esowkvpp71] {
        display: none;
    }
}
/* /Components/WarTable/WtBriefFirstFight.razor.rz.scp.css */
/* WtBriefFirstFight (WT-Brief-1024t): a quiet panel, the foes two to a row. Tokens only. */
.wt-first-fight[b-j5c3xrrhyl] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-bg-base) 50%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    min-width: 0;
}

.wt-first-fight-head[b-j5c3xrrhyl] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.wt-first-fight-key[b-j5c3xrrhyl] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-first-fight-where[b-j5c3xrrhyl] {
    font-size: var(--gt-sm);
    color: var(--color-text-light);
}

.wt-first-fight-foes[b-j5c3xrrhyl] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-first-fight-foe[b-j5c3xrrhyl] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wt-first-fight-tile[b-j5c3xrrhyl] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--color-text-tertiary);
    background: var(--wt-vellum);
    color: var(--color-text-light);
}

.wt-first-fight-foe.is-boss .wt-first-fight-tile[b-j5c3xrrhyl] {
    border-color: var(--color-danger);
    color: var(--color-danger-light);
}

.wt-first-fight-tile .material-icons[b-j5c3xrrhyl] {
    font-size: var(--gt-xl);
}

.wt-first-fight-text[b-j5c3xrrhyl] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wt-first-fight-text b[b-j5c3xrrhyl] {
    font-size: var(--gt-md);
    font-weight: 700;
    color: var(--color-text-primary);
}

.wt-first-fight-count[b-j5c3xrrhyl] {
    color: var(--color-primary-light);
}

.wt-first-fight-text small[b-j5c3xrrhyl] {
    font-size: var(--gt-sm);
    color: var(--color-text-light);
}
/* /Components/WarTable/WtBriefListen.razor.rz.scp.css */
/* WtBriefListen: the family's Listen button, drawn as the board's quiet gold-ringed button beside the action. */
.wt-brief-listen[b-oihueir3yf] {
    display: inline-flex;
}

.wt-brief-listen[b-oihueir3yf]  .wt-narration {
    display: inline-flex;
}

.wt-brief-listen[b-oihueir3yf]  .wt-narration-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    border: 2px solid var(--color-primary);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-primary);
    font: 600 var(--gt-base)/1 var(--font-primary);
    cursor: pointer;
    white-space: nowrap;
}

.wt-brief-listen[b-oihueir3yf]  .wt-narration-button .material-icons {
    font-size: var(--gt-2xl);
}

.wt-brief-listen[b-oihueir3yf]  .wt-narration-button:hover {
    background: color-mix(in srgb, var(--color-primary) 12%, var(--color-bg-base));
}

.wt-brief-listen[b-oihueir3yf]  .wt-narration-button:focus-visible {
    outline: 2px solid var(--color-text-primary);
    outline-offset: 2px;
}
/* /Components/WarTable/WtBriefNext.razor.rz.scp.css */
/* WtBriefNext (WT-Brief-Walked-1366 "Next in Ashfeld"): quiet rows linking to the region's other open roads; two to a
   row from 768, three from 1280. Tokens only. */
.wt-next-list[b-qpkfgiucot] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-next-road[b-qpkfgiucot] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 88%, transparent);
    color: inherit;
    text-decoration: none;
}

.wt-next-road:hover b[b-qpkfgiucot] {
    text-decoration: underline;
}

.wt-next-road:focus-visible[b-qpkfgiucot] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.wt-next-icon[b-qpkfgiucot] {
    flex: none;
    font-size: var(--gt-2xl);
    color: var(--color-primary-light);
}

.wt-next-text[b-qpkfgiucot] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-next-text b[b-qpkfgiucot] {
    font: 700 var(--gt-base)/1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-next-text small[b-qpkfgiucot] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-light);
}

.wt-next-chevron[b-qpkfgiucot] {
    flex: none;
    font-size: var(--gt-2xl);
    color: var(--color-text-secondary);
}

@media (min-width: 768px) {
    .wt-next-list[b-qpkfgiucot] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .wt-next-list[b-qpkfgiucot] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* /Components/WarTable/WtBriefSaga.razor.rz.scp.css */
/* WtBriefSaga (WT-Brief "The Pirate arc"): one strip of chapters, this road gold-topped. Two to a row from 480, all in a
   row from 960. Tokens only. */
.wt-saga-strip[b-hzbnbz35im] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 88%, transparent);
}

.wt-saga-cell[b-hzbnbz35im] {
    min-width: 0;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
}

.wt-saga-cell:first-child[b-hzbnbz35im] {
    border-top: 0;
}

.wt-saga-chapter[b-hzbnbz35im] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 100%;
    min-height: 44px;
    padding: 10px 14px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
}

.wt-saga-chapter:hover .wt-saga-name[b-hzbnbz35im] {
    text-decoration: underline;
}

.wt-saga-chapter:focus-visible[b-hzbnbz35im] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.wt-saga-chapter--here[b-hzbnbz35im] {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 12%, transparent), transparent);
    box-shadow: inset 3px 0 0 var(--color-primary);
}

.wt-saga-number[b-hzbnbz35im] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-saga-chapter--here .wt-saga-number[b-hzbnbz35im] {
    color: var(--color-primary);
}

.wt-saga-name[b-hzbnbz35im] {
    font: 700 var(--gt-md)/1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-saga-state[b-hzbnbz35im] {
    font-size: var(--gt-sm);
    color: var(--color-text-light);
}

.wt-saga-chapter--walked .wt-saga-state[b-hzbnbz35im] {
    color: var(--color-primary-light);
}

@media (min-width: 480px) {
    .wt-saga-strip[b-hzbnbz35im] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wt-saga-cell:nth-child(2)[b-hzbnbz35im] {
        border-top: 0;
    }

    .wt-saga-cell:nth-child(even)[b-hzbnbz35im] {
        border-left: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    }
}

@media (min-width: 960px) {
    .wt-saga-strip[b-hzbnbz35im] {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
    }

    .wt-saga-cell[b-hzbnbz35im] {
        border-top: 0;
        border-left: 1px solid color-mix(in srgb, var(--color-text-secondary) 14%, transparent);
    }

    .wt-saga-cell:first-child[b-hzbnbz35im] {
        border-left: 0;
    }

    .wt-saga-chapter--here[b-hzbnbz35im] {
        box-shadow: inset 0 3px 0 var(--color-primary);
    }
}
/* /Components/WarTable/WtButton.razor.rz.scp.css */
/* WtButton: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
:where(.wt-button)[b-5pe8nmixny] {
    color: var(--color-text-primary);
}

/* The family's quiet tone (owner, 17 Nov 2026: a road closed to the hero's class pins its Abandon, quiet, never gold). The
   war table's one shared look for it, here in the family's own sheet: inside :where() it weighs only this sheet's scope
   attribute, so every page that draws its own quiet look through ::deep (the hub, the brief, the walked road) keeps it
   whole, and a host that draws none (the road's pinned bar) gets this one. A 44px target on every pointer. */
:where(.wt-button.wt-button--quiet)[b-5pe8nmixny] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 18px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    border-radius: var(--radius-2xl);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
    color: var(--fd-gold-text);
    font: 700 var(--gt-base) / 1.2 var(--font-primary);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

:where(.wt-button.wt-button--quiet):hover[b-5pe8nmixny] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

:where(.wt-button.wt-button--quiet):focus-visible[b-5pe8nmixny] {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

:where(.wt-button.wt-button--quiet)[disabled][b-5pe8nmixny] {
    opacity: 0.6;
    cursor: not-allowed;
}

:where(.wt-button.wt-button--quiet) .wt-button-icon[b-5pe8nmixny] {
    font-size: var(--gt-xl);
}

@media (forced-colors: active) {
    :where(.wt-button.wt-button--quiet)[b-5pe8nmixny] {
        border-color: ButtonText;
    }
}

/* The compact gold of a bar pinned on a phone held sideways (owner, 19-20 Oct 2026; Docs/LRPG_WAR_TABLE.md 14.17 F,
   14.21 B): one line, the label with its waypoint beside it, 48px tall, so the bar takes about 61 of a 390px screen.
   The one rule for both pinned bars, the brief's sticky bar and the road's action (each opts in with .wt-bar-compact
   and owns where its bar sits). The road's tier query: landscape, no taller than 480. The waypoint gives way first: it
   ends in an ellipsis rather than pushing the icon and itself out of the button (a long waypoint did on the brief).
   The doubled class outranks each host's own gold (the pages draw it through ::deep), whatever the bundle's order. */
@media (orientation: landscape) and (max-height: 480px) {
    .wt-bar-compact .wt-button.wt-button--gold[b-5pe8nmixny] {
        grid-template-columns: auto auto minmax(0, auto);
        grid-template-areas: "icon label sub";
        min-height: 48px;
        padding: 4px 18px;
    }

    .wt-bar-compact .wt-button.wt-button--gold .wt-button-label[b-5pe8nmixny] {
        white-space: nowrap;
    }

    .wt-bar-compact .wt-button.wt-button--gold .wt-button-sub[b-5pe8nmixny] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* /Components/WarTable/WtCampHeader.razor.rz.scp.css */
/* WtCampHeader: the decision-first road moment's header (Direction A, boards A1-A4). Wide: kicker, title, sub-line.
   768 and under: the camp header, a decorative campfire disc beside "You are here: camp" and the title. Tokens only;
   canonical breakpoints only; the dot between facts is a shape, never a glyph. */

.wtch[b-8uu9amw50e] {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    min-width: 0;
}

.wtch-disc[b-8uu9amw50e],
.wtch-camp[b-8uu9amw50e] {
    display: none;
}

.wtch-text[b-8uu9amw50e] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.wtch-kicker[b-8uu9amw50e],
.wtch-camp[b-8uu9amw50e] {
    margin: 0;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wtch-title[b-8uu9amw50e] {
    margin: 0;
    color: var(--color-primary-light);
    font-family: var(--font-display);
    font-size: var(--ct-5xl);
    font-weight: 800;
    line-height: 1.1;
}

.wtch-sub[b-8uu9amw50e] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
}

.wtch-name[b-8uu9amw50e] {
    color: var(--color-text-primary);
    font-weight: var(--font-weight-bold);
}

.wtch-fact[b-8uu9amw50e] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    white-space: nowrap;
}

.wtch-sep[b-8uu9amw50e] {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-round);
    background: var(--color-text-secondary);
}

.wtch-boss[b-8uu9amw50e] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--combat-bad-light) 55%, transparent);
    background: color-mix(in srgb, var(--combat-bad-dark) 35%, transparent);
    color: var(--combat-bad-lightest);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

    .wtch-boss .material-icons[b-8uu9amw50e] {
        font-size: var(--ct-base);
    }

.wtch-aside[b-8uu9amw50e] {
    flex: none;
    max-width: 45%;
    text-align: right;
}

@media (max-width: 1024px) {
    .wtch-title[b-8uu9amw50e] {
        font-size: var(--ct-4xl);
    }
}

/* A phone: the camp header (boards A2, A4). */
@media (max-width: 768px) {
    .wtch[b-8uu9amw50e] {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 10px 12px;
    }

    .wtch-disc[b-8uu9amw50e] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-round);
        border: 2px solid var(--color-primary);
        background: color-mix(in srgb, var(--color-primary) 12%, transparent);
        color: var(--color-primary-light);
    }

        .wtch-disc .material-icons[b-8uu9amw50e] {
            font-size: var(--ct-3xl);
        }

    .wtch-kicker[b-8uu9amw50e] {
        display: none;
    }

    .wtch-camp[b-8uu9amw50e] {
        display: block;
    }

    .wtch-title[b-8uu9amw50e] {
        font-size: var(--ct-3xl);
    }

    .wtch-aside[b-8uu9amw50e] {
        flex-basis: 100%;
        max-width: none;
        text-align: left;
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .wtch-title[b-8uu9amw50e] {
        font-size: var(--ct-3xl);
    }
}

@media (forced-colors: active) {
    .wtch-disc[b-8uu9amw50e],
    .wtch-boss[b-8uu9amw50e] {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/WtCartouche.razor.rz.scp.css */
/* WtCartouche: the map's title cartouche (the kit's wm-cart), in em so the chart's panel scales it. The rows' look is
   shared with WtCartoucheRoad through ::deep. Tokens only. */
.wt-cartouche[b-c4udrgd7wg] {
    display: flex;
    flex-direction: column;
    gap: .375em;
    padding: .75em .75em .625em;
    border-radius: .75em;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-base) 94%, transparent), color-mix(in srgb, var(--color-bg-base) 86%, transparent));
    border: 1px solid color-mix(in srgb, var(--color-primary) 32%, transparent);
    box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--color-bg-base) 90%, transparent), inset 0 0 0 5px color-mix(in srgb, var(--color-primary) 14%, transparent), 0 14px 34px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent);
    color: var(--fd-text);
}

.wt-cartouche-title[b-c4udrgd7wg] {
    display: flex;
    align-items: center;
    gap: .375em;
    font: 700 .75em / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-cartouche-title .material-icons[b-c4udrgd7wg] {
    font-size: 1.4em;
    color: var(--color-primary);
}

.wt-cartouche-sub[b-c4udrgd7wg] {
    font: 500 .75em / 1.35 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-cartouche-rows[b-c4udrgd7wg],
.wt-cartouche-children[b-c4udrgd7wg] {
    display: flex;
    flex-direction: column;
    gap: .125em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-cartouche-children[b-c4udrgd7wg] {
    margin-left: 1.5em;
}

/* The rows' hover ground bleeds .25em past the text on each side. The list carries that bleed and its rows fill it
   exactly, so a row never runs past its list: inside the chart's panel the list is a scroller, and a row .25em too wide
   there drew a horizontal scrollbar that cut the row in half (13 Nov 2026). */
.wt-cartouche-rows[b-c4udrgd7wg] {
    margin: 0 -.25em;
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-row,
.wt-cartouche[b-c4udrgd7wg]  .wt-cart-road {
    display: flex;
    align-items: center;
    gap: .5625em;
    width: 100%;
    min-height: 2.125em;
    margin: 0;
    padding: .125em .25em;
    border: none;
    border-radius: .5em;
    background: none;
    color: var(--fd-cream);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.75em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark::before {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-vellum);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark .material-icons {
    position: relative;
    z-index: 1;
    font-size: .875em;
    color: var(--color-primary);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--walked,
.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--run {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--walked::before,
.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--run::before {
    display: none;
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--walked .material-icons,
.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--run .material-icons {
    color: var(--fd-on-gold);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--soon {
    background: var(--wt-pin-soon);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--soon .material-icons {
    color: var(--color-text-light);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--party {
    background: var(--wt-pin-party);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--party .material-icons {
    color: var(--color-info-lighter);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--premium {
    background: var(--wt-pin-premium);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-mark--premium .material-icons {
    color: var(--color-monk-lightest);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-text b {
    font: 700 .78em / 1.25 var(--font-primary);
    color: var(--fd-cream);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-text small {
    display: inline-flex;
    align-items: center;
    gap: .2em;
    font: 600 .75em / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-text small.is-gold {
    color: var(--fd-gold-soft);
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-text small .material-icons {
    font-size: 1.25em;
    color: var(--color-primary);
}

.wt-cart-more[b-c4udrgd7wg] {
    margin-left: auto;
    font-size: 1.125em;
    color: var(--fd-text-3);
}

.wt-cartouche-foot[b-c4udrgd7wg] {
    display: flex;
    align-items: center;
    gap: .375em;
    padding-top: .25em;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
    font: 600 .75em / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-cartouche-foot .material-icons[b-c4udrgd7wg] {
    font-size: 1.4em;
}

.wt-cartouche[b-c4udrgd7wg]  .wt-cart-row:focus-visible,
.wt-cartouche[b-c4udrgd7wg]  .wt-cart-road:focus-visible {
    outline: 3px solid var(--fd-text);
    outline-offset: 1px;
}

@media (hover: hover) {
    .wt-cartouche[b-c4udrgd7wg]  .wt-cart-row:hover,
    .wt-cartouche[b-c4udrgd7wg]  .wt-cart-road:hover {
        background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    }
}

@media (pointer: coarse) {
    .wt-cartouche[b-c4udrgd7wg]  .wt-cart-row,
    .wt-cartouche[b-c4udrgd7wg]  .wt-cart-road {
        min-height: 44px;
    }
}
/* /Components/WarTable/WtCartoucheRoad.razor.rz.scp.css */
/* WtCartoucheRoad: its look is the cartouche's rows (WtCartouche.razor.css, through ::deep); only its own line here. */
.wt-cart-road small[b-hypfty9dru] {
    white-space: normal;
}
/* /Components/WarTable/WtChip.razor.rz.scp.css */
/* WtChip: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-chip[b-ng2d9z9z4v] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtCodeIn.razor.rz.scp.css */
/* WtCodeIn ("Have a party code?", A-Find's code cells): one input of six characters drawn as six cells, then Find the party.
   Tokens only; canonical breakpoints only; 44px targets on a coarse pointer. */
.wt-codein[b-1rbogtba9r] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
}

.wt-codein-label[b-1rbogtba9r] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 700 var(--gt-md)/1.3 var(--font-primary);
    color: var(--color-text-light);
}

.wt-codein-label .material-icons[b-1rbogtba9r] {
    font-size: var(--gt-xl);
    color: var(--color-primary);
}

.wt-codein-row[b-1rbogtba9r] {
    display: inline-flex;
    align-items: stretch;
    gap: 6px;
}

/* Six cells: one real input, the cells drawn behind the letters. The font is monospaced, so one glyph is 1ch: each cell
   is 2ch (the glyph and 1ch of spacing), the first glyph indented half a cell's spacing, and the input as wide as six
   cells and that indent. */
.wt-codein-input[b-1rbogtba9r] {
    box-sizing: content-box;
    width: 12.5ch;
    min-height: 34px;
    padding: 0;
    text-indent: 0.5ch;
    font: 700 var(--gt-xl)/1 var(--font-mono);
    letter-spacing: 1ch;
    text-transform: uppercase;
    color: var(--color-primary-light);
    background-color: var(--color-bg-base);
    background-image: repeating-linear-gradient(90deg,
        transparent 0 1.85ch,
        color-mix(in srgb, var(--color-primary) 35%, transparent) 1.85ch 2ch);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    border-radius: 8px;
}

.wt-codein-input[b-1rbogtba9r]::placeholder {
    color: color-mix(in srgb, var(--color-text-secondary) 60%, transparent);
}

.wt-codein-input:focus-visible[b-1rbogtba9r] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.wt-codein-input[aria-invalid="true"][b-1rbogtba9r] {
    border-color: var(--color-warning-bright);
}

.wt-codein-find[b-1rbogtba9r] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    font: 700 var(--gt-md)/1 var(--font-primary);
    color: var(--color-primary-light);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    border-radius: 999px;
    cursor: pointer;
}

.wt-codein-find .material-icons[b-1rbogtba9r] {
    font-size: var(--gt-xl);
}

.wt-codein-find:hover:not([disabled])[b-1rbogtba9r] {
    background: color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.wt-codein-find:focus-visible[b-1rbogtba9r] {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
}

.wt-codein-find[disabled][b-1rbogtba9r] {
    cursor: progress;
    opacity: 0.6;
}

.wt-codein-error[b-1rbogtba9r] {
    flex-basis: 100%;
    /* The words wrap inside the box's width; they never widen it (the hub's chips keep their room). */
    contain: inline-size;
    font-size: var(--gt-md);
    line-height: 1.35;
    color: var(--color-warning-lightest);
}

.wt-codein-error:empty[b-1rbogtba9r] {
    display: none;
}

@media (pointer: coarse) {
    .wt-codein-input[b-1rbogtba9r],
    .wt-codein-find[b-1rbogtba9r] {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .wt-codein-row[b-1rbogtba9r] {
        width: 100%;
    }

    .wt-codein-find[b-1rbogtba9r] {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (forced-colors: active) {
    .wt-codein-input[b-1rbogtba9r],
    .wt-codein-find[b-1rbogtba9r] {
        border: 1px solid CanvasText;
        background-image: none;
    }
}
/* /Components/WarTable/WtComingFight.razor.rz.scp.css */
/* WtComingFight (W3): the coming fight as the WT-Road boards draw it, on design tokens. Foe tiles are round with the
   archetype's icon until thumbnails ship (a dashed, hatched placeholder, 7.7); the count is a small gold pill. Hazard
   chips take their family's tint (dark purple, fire orange, cold blue, holy green); the boss pill is red. */

.wt-fight[b-jzlzr7v963] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    font-family: var(--font-primary);
    color: var(--fd-text-2);
}

.wt-fight-head[b-jzlzr7v963] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.wt-fight-title[b-jzlzr7v963] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.wt-fight-count[b-jzlzr7v963] {
    font-size: var(--gt-md);
    font-weight: 600;
    color: var(--fd-text-3);
}

.wt-fight-boss[b-jzlzr7v963] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 2.24em;
    margin-left: auto;
    padding: 0 11px 0 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-danger) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 55%, transparent);
    color: var(--fd-bad-ink);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 700;
    white-space: nowrap;
}

.wt-fight-boss .material-icons[b-jzlzr7v963] {
    font-size: var(--gt-lg);
    color: var(--fd-bad);
}

.wt-fight-boss-short[b-jzlzr7v963] {
    display: none;
}

.wt-fight-foes[b-jzlzr7v963] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-fight-foe[b-jzlzr7v963] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wt-fight-face[b-jzlzr7v963] {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px dashed color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    background: repeating-linear-gradient(135deg, var(--color-gray-900) 0 6px, var(--fd-panel) 6px 12px);
    color: var(--fd-text-4);
}

.wt-fight-face .material-icons[b-jzlzr7v963] {
    font-size: var(--gt-3xl);
}

.wt-fight-foe--top .wt-fight-face[b-jzlzr7v963] {
    border: 2px solid var(--color-danger);
    color: var(--fd-bad);
}

.wt-fight-n[b-jzlzr7v963] {
    position: absolute;
    right: -8px;
    bottom: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.36em;
    height: 1.82em;
    padding: 0 5px;
    border-radius: 10px;
    border: 1.5px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: var(--fd-on-gold);
    color: var(--fd-gold-soft);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.wt-fight-foe-text[b-jzlzr7v963] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.wt-fight-foe-text b[b-jzlzr7v963] {
    font-size: var(--gt-base);
    font-weight: 700;
    color: var(--fd-text);
}

.wt-fight-foe--top .wt-fight-foe-text b[b-jzlzr7v963] {
    color: var(--fd-bad-ink);
}

.wt-fight-foe-text small[b-jzlzr7v963] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--fd-text-3);
}

/* The boss plate (WT-Road-Boss-1366): the lead foe large, its pills, name and facts. */
.wt-fight-plate[b-jzlzr7v963] {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--color-danger) 40%, transparent);
    background:
        radial-gradient(ellipse 70% 90% at 20% 50%, color-mix(in srgb, var(--color-danger) 14%, transparent), transparent 70%),
        var(--fd-surface-strong);
}

.wt-fight-plate-art[b-jzlzr7v963] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: var(--fd-r-card);
    border: 2px dashed color-mix(in srgb, var(--color-danger) 55%, transparent);
    background: repeating-linear-gradient(135deg, var(--color-gray-900) 0 7px, var(--fd-panel) 7px 14px);
    color: var(--fd-bad);
}

.wt-fight-plate-art .material-icons[b-jzlzr7v963] {
    font-size: var(--gt-6xl);
}

.wt-fight-plate-body[b-jzlzr7v963] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wt-fight-plate-pills[b-jzlzr7v963] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.wt-fight-plate-pills > span[b-jzlzr7v963] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 2.18em;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--fd-on-gold) 75%, transparent);
    color: var(--fd-gold-soft);
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wt-fight-plate-pills > .wt-fight-plate-boss[b-jzlzr7v963] {
    border-color: color-mix(in srgb, var(--color-danger) 60%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 70%, transparent);
    color: var(--fd-bad-ink);
}

.wt-fight-plate-boss .material-icons[b-jzlzr7v963] {
    font-size: var(--gt-base);
}

.wt-fight-plate-name[b-jzlzr7v963] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(clamp(1.25rem, 1rem + 0.6vw, 1.7rem) * var(--gt-scale));
    line-height: 1.1;
    color: var(--fd-cream);
}

.wt-fight-plate-facts[b-jzlzr7v963],
.wt-fight-with[b-jzlzr7v963],
.wt-fight-unknown[b-jzlzr7v963] {
    margin: 0;
    font-size: var(--gt-md);
    color: var(--fd-text-3);
}

/* Hazards: the chip, the engine's words, the author's line. */
.wt-fight-hazard[b-jzlzr7v963] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.wt-fight-hazard-head[b-jzlzr7v963] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
}

.wt-fight-hazard-chip[b-jzlzr7v963] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    min-height: 2.17em;
    padding: 0 10px 0 8px;
    border-radius: 7px;
    border: 1px solid color-mix(in srgb, var(--wt-pin-premium) 45%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 18%, var(--fd-panel));
    color: var(--color-monk-lightest);
    font-size: var(--gt-sm);
    font-weight: 600;
    white-space: nowrap;
}

.wt-fight-hazard-chip .material-icons[b-jzlzr7v963] {
    font-size: calc(var(--gt-px) * 15);
    color: var(--color-monk-lighter);
}

.wt-fight-hazard-chip--fire[b-jzlzr7v963] {
    border-color: color-mix(in srgb, var(--color-region-cinderpeak) 55%, transparent);
    background: color-mix(in srgb, var(--color-region-cinderpeak) 20%, var(--fd-panel));
    color: var(--fd-warn-ink);
}

.wt-fight-hazard-chip--fire .material-icons[b-jzlzr7v963] {
    color: var(--color-region-cinderpeak);
}

.wt-fight-hazard-chip--cold[b-jzlzr7v963] {
    border-color: color-mix(in srgb, var(--color-info-lighter) 50%, transparent);
    background: color-mix(in srgb, var(--color-info) 20%, var(--fd-panel));
    color: var(--color-info-lightest);
}

.wt-fight-hazard-chip--cold .material-icons[b-jzlzr7v963] {
    color: var(--color-info-lighter);
}

.wt-fight-hazard-chip--holy[b-jzlzr7v963] {
    border-color: color-mix(in srgb, var(--fd-good) 50%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 55%, var(--fd-panel));
    color: var(--fd-good-ink);
}

.wt-fight-hazard-chip--holy .material-icons[b-jzlzr7v963] {
    color: var(--fd-good);
}

.wt-fight-hazard-chip--plain[b-jzlzr7v963] {
    border-color: var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text-2);
}

.wt-fight-hazard-chip--plain .material-icons[b-jzlzr7v963] {
    color: var(--fd-text-4);
}

.wt-fight-hazard-words[b-jzlzr7v963] {
    font-size: var(--gt-md);
    line-height: 1.4;
    color: var(--fd-text-2);
}

.wt-fight-hazard-author[b-jzlzr7v963] {
    margin: 0;
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.45;
    color: var(--fd-text-3);
}

.wt-fight-none[b-jzlzr7v963] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: var(--gt-md);
    color: var(--fd-text-3);
}

.wt-fight-none .material-icons[b-jzlzr7v963] {
    font-size: var(--gt-lg);
    color: var(--fd-text-4);
}

/* A tablet held sideways: the author's line moves to the chip's tooltip (WT-Road-1024t), and stays in the page for a
   screen reader (visually hidden, never display: none: a title on a span is not reliably read, nor shown on touch). */
@media (min-width: 960px) and (max-width: 1280px) {
    .wt-fight-hazard-author[b-jzlzr7v963] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .wt-fight-boss-long[b-jzlzr7v963] {
        display: none;
    }

    .wt-fight-boss-short[b-jzlzr7v963] {
        display: inline;
    }

    .wt-fight-plate[b-jzlzr7v963] {
        align-items: flex-start;
    }

    .wt-fight-plate-art[b-jzlzr7v963] {
        width: 64px;
        height: 64px;
    }

    .wt-fight-face[b-jzlzr7v963] {
        width: 46px;
        height: 46px;
    }
}
/* /Components/WarTable/WtCondition.razor.rz.scp.css */
/* WtCondition (W3): the hero beside the action, on design tokens: the arched portrait in the class ring with a gold level
   hex, Cinzel name, slim bars (HP green, mana blue, ki lavender, Channel Divinity gold), the note in its tone. */

.wt-condition[b-skc5akcasq] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 0;
    font-family: var(--font-primary);
    color: var(--fd-text-2);
}

.wt-condition-portrait[b-skc5akcasq] {
    position: relative;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 52px;
    border-radius: var(--fd-r-arch);
    border: 2px solid var(--wt-class, var(--color-primary-dark));
    background: var(--fd-art-well);
    color: var(--fd-text-4);
}

.wt-condition-portrait img[b-skc5akcasq] {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    object-position: 50% 15%;
}

.wt-condition-level[b-skc5akcasq] {
    position: absolute;
    right: -9px;
    bottom: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2.27em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.wt-condition-body[b-skc5akcasq] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wt-condition-name[b-skc5akcasq] {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: calc(var(--gt-px) * 15);
    line-height: 1.1;
    color: var(--fd-cream);
    white-space: nowrap;
}

.wt-condition-bar[b-skc5akcasq] {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.wt-condition-label[b-skc5akcasq] {
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--fd-text-4);
}

/* Channel Divinity's row: the card's icon (auto_awesome) instead of letters, in the row's fill color. */
.wt-condition-label--icon[b-skc5akcasq] {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
}

.wt-condition-label--icon .material-icons[b-skc5akcasq] {
    font-size: calc(var(--gt-px) * 15);
    line-height: 1;
}

.wt-condition-track[b-skc5akcasq] {
    position: relative;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
}

.wt-condition-fill[b-skc5akcasq] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--color-hp);
}

.wt-condition-bar--mana .wt-condition-fill[b-skc5akcasq] {
    background: var(--color-mana);
}

.wt-condition-bar--ki .wt-condition-fill[b-skc5akcasq] {
    background: var(--color-ki);
}

.wt-condition-bar--divinity .wt-condition-fill[b-skc5akcasq] {
    background: var(--color-primary-dark);
}

.wt-condition-num[b-skc5akcasq] {
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 700;
    color: var(--fd-text-2);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wt-condition-note[b-skc5akcasq] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--fd-text-3);
}

.wt-condition-note--good[b-skc5akcasq] {
    color: var(--color-success-lighter);
}

.wt-condition-note--warn[b-skc5akcasq] {
    color: var(--fd-warn-ink);
}

/* After a fall: where to heal (the free cot, or the tavern's potions). */
.wt-condition-heal[b-skc5akcasq] {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 4px;
    min-height: 2.46em;
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
}

.wt-condition-heal .material-icons[b-skc5akcasq] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-condition-heal:hover[b-skc5akcasq] {
    text-decoration: underline;
}

.wt-condition-heal:focus-visible[b-skc5akcasq] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (pointer: coarse) {
    .wt-condition-heal[b-skc5akcasq] {
        min-height: 44px;
    }
}

.wt-condition-effects[b-skc5akcasq] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.wt-condition-effects li[b-skc5akcasq] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 1.91em;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--color-info-light) 45%, transparent);
    background: color-mix(in srgb, var(--fd-info-deep) 45%, transparent);
    color: var(--fd-info-ink);
    font-size: var(--gt-sm);
    font-weight: 700;
}

.wt-condition-effects .material-icons[b-skc5akcasq] {
    font-size: var(--gt-md);
    color: var(--color-info-lighter);
}
/* /Components/WarTable/WtDialog.razor.rz.scp.css */
/* WtDialog: the war table's confirm (the road's and the brief's Abandon), on the design tokens. Its look lives here since
   the integration (it was the road page's ::deep rules), so every page's confirm looks the same. The body and the
   buttons come from the page (ChildContent), so they are reached through ::deep by the family's classes: wt-dialog-body,
   wt-dialog-actions, wt-dialog-keep and wt-dialog-confirm (the destructive one). Canonical breakpoints only. */
.wt-dialog-layer[b-kbcjnhc5z9] {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--page-gutter);
}

.wt-dialog-scrim[b-kbcjnhc5z9] {
    position: absolute;
    inset: 0;
    border: none;
    background: color-mix(in srgb, var(--fd-night) 78%, transparent);
    cursor: pointer;
}

.wt-dialog[b-kbcjnhc5z9] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: min(440px, 100%);
    padding: var(--space-xl);
    border-radius: var(--fd-r-glass);
    border: 1px solid var(--fd-line-strong);
    background: var(--color-gray-900);
    box-shadow: var(--fd-shadow);
    color: var(--color-text-primary);
}

.wt-dialog-title[b-kbcjnhc5z9] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: var(--gt-2xl);
    color: var(--fd-cream);
}

.wt-dialog[b-kbcjnhc5z9]  .wt-dialog-body {
    margin: 0;
    font-size: var(--gt-base);
    line-height: 1.55;
    color: var(--fd-text-3);
}

.wt-dialog[b-kbcjnhc5z9]  .wt-dialog-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-sm);
}

.wt-dialog[b-kbcjnhc5z9]  .wt-dialog-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 18px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
    color: var(--fd-text-2);
    font: 600 var(--gt-base) var(--font-primary);
    cursor: pointer;
}

.wt-dialog[b-kbcjnhc5z9]  .wt-dialog-actions .material-icons {
    font-size: var(--gt-xl);
}

.wt-dialog[b-kbcjnhc5z9]  .wt-dialog-confirm {
    border-color: color-mix(in srgb, var(--color-danger) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 60%, transparent);
    color: var(--fd-bad-ink);
}

.wt-dialog-scrim:focus-visible[b-kbcjnhc5z9],
.wt-dialog[b-kbcjnhc5z9]  .wt-dialog-actions button:focus-visible {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}
/* /Components/WarTable/WtDossier.razor.rz.scp.css */
/* WtDossier: the pinned dossier (the kit's wt-dossier: an art header with its shade, a gold tack, the body, the
   also-in-progress rows at its foot). Tokens only; canonical breakpoints only. */
.wt-dossier[b-kpavch0tp6] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border-radius: 16px;
    background: var(--fd-card);
    border: 1px solid color-mix(in srgb, var(--color-primary) 26%, transparent);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-bg-base) 80%, transparent), 0 24px 60px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent);
    color: var(--fd-text);
}

.wt-tack[b-kpavch0tp6] {
    position: absolute;
    left: 50%;
    top: -9px;
    z-index: 3;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--fd-gold-pale), var(--color-primary-dark) 70%);
    box-shadow: 0 3px 8px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

/* The art header grows with its words: a long title on two lines and a wrapped eyebrow push it taller instead of
   sliding the eyebrow up under its top edge (WT-Hub-High's "The Tarrasque Awakening"). */
.wt-dossier-head[b-kpavch0tp6] {
    position: relative;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
    min-height: 126px;
    padding: 22px 18px 10px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: var(--fd-art-well);
}

.wt-dossier.is-wide .wt-dossier-head[b-kpavch0tp6] {
    min-height: 168px;
}

.wt-dossier-head[b-kpavch0tp6]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-base) 20%, transparent) 0%, color-mix(in srgb, var(--color-bg-base) 60%, transparent) 45%, color-mix(in srgb, var(--fd-card-bottom) 98%, transparent) 100%);
}

/* The upright tablet's dossier peeks above the fold under the table: the art is a thumbnail beside the title (WT-Hub-768t). */
.wt-dossier.is-upright .wt-dossier-head[b-kpavch0tp6] {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 16px;
    min-height: 0;
    padding: 22px 20px 4px;
    background: none;
}

.wt-dossier.is-upright .wt-dossier-head[b-kpavch0tp6]::after {
    display: none;
}

.wt-dossier.is-upright .wt-dossier-art[b-kpavch0tp6] {
    position: static;
    flex: none;
    width: 112px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid var(--fd-line-strong);
}

.wt-dossier.is-upright .wt-dossier-headtext[b-kpavch0tp6] {
    position: static;
    flex: 1;
    min-width: 0;
}

.wt-dossier-head.is-plain[b-kpavch0tp6] {
    min-height: 0;
    padding: 22px 18px 4px;
    background: none;
}

.wt-dossier-head.is-plain[b-kpavch0tp6]::after {
    display: none;
}

.wt-dossier-art[b-kpavch0tp6] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.wt-dossier-headtext[b-kpavch0tp6] {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.is-plain .wt-dossier-headtext[b-kpavch0tp6] {
    position: static;
}

.wt-eyebrow-row[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 20px;
    margin: 0;
}

.wt-live[b-kpavch0tp6] {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.wt-eyebrow-icon[b-kpavch0tp6] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-primary);
}

.wt-eyebrow[b-kpavch0tp6] {
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-eyebrow-detail[b-kpavch0tp6] {
    font: 500 calc(var(--gt-px) * 12.5) / 1.2 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-dot[b-kpavch0tp6] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fd-text-5);
}

.wt-dossier-title[b-kpavch0tp6] {
    margin: 0;
    font: 800 calc(var(--gt-px) * 26) / 1.12 var(--fd-font-display);
    color: var(--fd-cream);
    text-shadow: 0 2px 14px color-mix(in srgb, var(--fd-shadow-ink) 80%, transparent);
}

.wt-dossier.is-wide .wt-dossier-title[b-kpavch0tp6] {
    font-size: calc(var(--gt-px) * 30);
}

.wt-meta[b-kpavch0tp6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-meta li[b-kpavch0tp6] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.wt-meta li + li[b-kpavch0tp6]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 9px;
    border-radius: 50%;
    background: var(--fd-text-5);
}

.wt-meta .material-icons[b-kpavch0tp6] {
    font-size: var(--gt-lg);
    color: var(--fd-text-4);
}

.wt-meta .is-good[b-kpavch0tp6] {
    color: var(--fd-good);
}

.wt-dossier-body[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 18px 14px;
}

.wt-dossier-label[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wt-k[b-kpavch0tp6] {
    font: 800 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fd-text-3);
}

.wt-dossier-label-detail[b-kpavch0tp6] {
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-spacer[b-kpavch0tp6] {
    flex: 1;
}

.wt-stamp[b-kpavch0tp6] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 2.09em;
    padding: 0 8px;
    border-radius: 7px;
    font: 700 var(--gt-sm) / 1 var(--font-primary);
    white-space: nowrap;
}

.wt-stamp .material-icons[b-kpavch0tp6] {
    font-size: var(--gt-base);
}

.wt-stamp--xp[b-kpavch0tp6] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 30%, transparent);
    color: var(--fd-gold-soft);
}

.wt-stamp--xp .material-icons[b-kpavch0tp6] {
    color: var(--color-primary);
}

.wt-stamp--falls[b-kpavch0tp6] {
    border: 1px solid color-mix(in srgb, var(--color-warning-light) 55%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 40%, transparent);
    color: var(--fd-warn-ink);
}

.wt-stamp--head[b-kpavch0tp6] {
    margin-left: auto;
}

.wt-dossier-story[b-kpavch0tp6] {
    margin: 0;
    font: 400 calc(var(--gt-px) * 13.5) / 1.45 var(--font-primary);
    color: var(--fd-text);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.wt-dossier-story.is-long[b-kpavch0tp6] {
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

/* A tall dossier heads the coming stop and tells more of it (WT-Hub-1920, WT-Hub-768t). */
.wt-dossier-story.is-long b[b-kpavch0tp6] {
    display: block;
    margin-bottom: 6px;
    font: 700 var(--gt-lg) / 1.25 var(--font-primary);
    letter-spacing: .03em;
}

.wt-dossier-story b[b-kpavch0tp6] {
    font-weight: 700;
    color: var(--fd-text);
}

.wt-voice[b-kpavch0tp6] {
    font: italic 400 var(--gt-lg) / 1.38 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.wt-fight[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.wt-fight-faces[b-kpavch0tp6] {
    display: flex;
    flex: none;
}

.wt-face[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-500);
    background: var(--color-gray-800);
    box-shadow: 0 0 0 2px var(--color-gray-900);
    color: var(--fd-text-3);
}

.wt-face:first-child[b-kpavch0tp6] {
    margin-left: 0;
}

.wt-face .material-icons[b-kpavch0tp6] {
    font-size: var(--gt-lg);
}

.wt-face.is-boss[b-kpavch0tp6] {
    border-color: var(--combat-bad);
    color: var(--fd-bad-ink);
}

.wt-fight-text[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wt-fight-text b[b-kpavch0tp6] {
    font: 700 var(--gt-md) / 1.2 var(--font-primary);
}

.wt-fight-text small[b-kpavch0tp6] {
    font-size: var(--gt-sm);
    color: var(--fd-text-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-fight-panel[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--wt-vellum-deep) 60%, transparent);
    border: 1px solid var(--fd-line);
}

.wt-fight-panel-head[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wt-foes[b-kpavch0tp6] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-foe[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wt-foe-token[b-kpavch0tp6] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--color-gray-500);
    background: var(--color-gray-800);
    color: var(--fd-text-3);
}

.wt-foe-token .material-icons[b-kpavch0tp6] {
    font-size: calc(var(--gt-px) * 22);
}

.wt-foe-level[b-kpavch0tp6] {
    position: absolute;
    left: -5px;
    top: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1em;
    height: 2.38em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
    color: var(--fd-text-2);
    font: 800 var(--gt-sm) / 1 var(--font-primary);
}

.wt-foe-count[b-kpavch0tp6] {
    position: absolute;
    right: -7px;
    bottom: -5px;
    min-width: 2.18em;
    height: 1.82em;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--color-bg-base);
    border: 1.5px solid color-mix(in srgb, var(--color-primary) 60%, transparent);
    color: var(--fd-gold-soft);
    font: 800 var(--gt-sm) / 1.55 var(--font-primary);
    text-align: center;
}

.wt-foe.is-boss .wt-foe-token[b-kpavch0tp6] {
    border-color: var(--combat-bad);
}

.wt-foe-text[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wt-foe-text b[b-kpavch0tp6] {
    font: 600 var(--gt-md) / 1.2 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-foe-text small[b-kpavch0tp6] {
    font-size: var(--gt-sm);
    color: var(--fd-text-4);
}

.wt-row-chips[b-kpavch0tp6],
.wt-pay-row[b-kpavch0tp6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wt-pay-reward[b-kpavch0tp6] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wt-dossier-text[b-kpavch0tp6] {
    margin: 0;
    font: 400 calc(var(--gt-px) * 13.5) / 1.5 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-lobby-code[b-kpavch0tp6] {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.wt-lobby-code b[b-kpavch0tp6] {
    font: 800 var(--gt-lg) / 1 var(--font-primary);
    letter-spacing: .2em;
    color: var(--fd-cream);
}

.wt-dossier-roads[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wt-dossier-roads ul[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-dossier-road[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 6px 0;
    border-bottom: 1px solid var(--fd-line);
    color: var(--fd-text);
    text-decoration: none;
}

.wt-dossier-road-hex[b-kpavch0tp6] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 46px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-pin-party);
    color: var(--color-info-lightest);
}

.wt-dossier-road-text[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.wt-dossier-road-text b[b-kpavch0tp6] {
    font: 600 var(--gt-base) / 1.25 var(--font-primary);
}

.wt-dossier-road-text small[b-kpavch0tp6] {
    font-size: var(--gt-sm);
    color: var(--fd-text-3);
}

.wt-dossier-road-go[b-kpavch0tp6] {
    flex: none;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--fd-gold-soft);
    font: 700 var(--gt-md) / 1 var(--font-primary);
}

.wt-level-note[b-kpavch0tp6] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 18%, transparent);
    font: 600 var(--gt-md) / 1.45 var(--font-primary);
    color: var(--fd-gold-soft);
}

.wt-level-note .material-icons[b-kpavch0tp6] {
    flex: none;
    font-size: var(--gt-2xl);
    color: var(--color-primary);
}

.wt-dossier-cta[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
}

.wt-dossier-quiet[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: -2px;
}

.wt-dossier-footnote[b-kpavch0tp6] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font: 500 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-dossier-footnote .material-icons[b-kpavch0tp6] {
    font-size: var(--gt-lg);
}

.wt-also[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: auto 10px 10px;
    padding: 0;
    list-style: none;
}

.wt-also-row[b-kpavch0tp6] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 8px 12px 8px 8px;
    border-radius: 12px;
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--color-bg-base) 85%, transparent);
    color: var(--fd-text);
    text-decoration: none;
}

.wt-also-row.is-boss[b-kpavch0tp6] {
    border-color: color-mix(in srgb, var(--fd-bad) 35%, transparent);
}

.wt-also-thumb[b-kpavch0tp6] {
    flex: none;
    width: 76px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--fd-art-well);
}

.wt-also-text[b-kpavch0tp6] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.wt-micro[b-kpavch0tp6] {
    font: 800 var(--gt-sm) / 1.3 var(--font-primary);
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.wt-also-text b[b-kpavch0tp6] {
    font: 800 calc(var(--gt-px) * 15) / 1.2 var(--font-primary);
    color: var(--fd-cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-also-text small[b-kpavch0tp6] {
    font-size: var(--gt-sm);
    color: var(--fd-gold-soft);
}

.wt-also-row.is-boss .wt-also-text small[b-kpavch0tp6] {
    color: var(--fd-bad-ink);
}

.wt-also-go[b-kpavch0tp6] {
    flex: none;
    font-size: calc(var(--gt-px) * 22);
    color: var(--fd-gold-text);
}

.wt-dossier-road:focus-visible[b-kpavch0tp6],
.wt-also-row:focus-visible[b-kpavch0tp6] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (hover: hover) {
    .wt-also-row:hover[b-kpavch0tp6],
    .wt-dossier-road:hover[b-kpavch0tp6] {
        border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}

@media (max-width: 480px) {
    .wt-dossier-head[b-kpavch0tp6] {
        display: none;
    }

    .wt-dossier-head.is-plain[b-kpavch0tp6],
    .wt-dossier--questinprogress .wt-dossier-head[b-kpavch0tp6],
    .wt-dossier--recommended .wt-dossier-head[b-kpavch0tp6],
    .wt-dossier--party .wt-dossier-head[b-kpavch0tp6] {
        display: block;
        min-height: 0;
        padding: 20px 16px 2px;
        background: none;
    }

    .wt-dossier-head .wt-dossier-art[b-kpavch0tp6],
    .wt-dossier-head[b-kpavch0tp6]::after {
        display: none;
    }

    .wt-dossier-headtext[b-kpavch0tp6] {
        position: static;
    }

    .wt-dossier-title[b-kpavch0tp6] {
        font-size: calc(var(--gt-px) * 23);
        text-shadow: none;
    }

    .wt-dossier-body[b-kpavch0tp6] {
        padding: 10px 16px 16px;
    }
}
/* /Components/WarTable/WtEmpty.razor.rz.scp.css */
/* WtEmpty: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-empty[b-1ds3gfdlgb] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtFitRuler.razor.rz.scp.css */
/* WtFitRuler (A-Brief "Level fit"): tokens only. The band is gold in reach, slate when the road is out of reach. */
.wt-fit[b-zuyt1gneqg] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wt-fit-head[b-zuyt1gneqg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wt-fit-key[b-zuyt1gneqg] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-fit-label[b-zuyt1gneqg] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 2.09em;
    padding: 0 10px 0 7px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-success-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-success-dark) 26%, var(--color-bg-base));
    color: var(--color-success-lighter);
    font-size: var(--gt-sm);
    font-weight: 700;
    white-space: nowrap;
}

.wt-fit-label .material-icons[b-zuyt1gneqg] {
    font-size: calc(var(--gt-px) * 15);
    color: var(--color-success-light);
}

.wt-fit--near .wt-fit-label[b-zuyt1gneqg],
.wt-fit--below .wt-fit-label[b-zuyt1gneqg] {
    border-color: color-mix(in srgb, var(--color-warning-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 26%, var(--color-bg-base));
    color: var(--color-warning-lightest);
}

.wt-fit--near .wt-fit-label .material-icons[b-zuyt1gneqg],
.wt-fit--below .wt-fit-label .material-icons[b-zuyt1gneqg] {
    color: var(--color-warning-light);
}

.wt-fit--above .wt-fit-label[b-zuyt1gneqg] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: color-mix(in srgb, var(--color-text-darker) 80%, transparent);
    color: var(--color-text-light);
}

.wt-fit--above .wt-fit-label .material-icons[b-zuyt1gneqg] {
    color: var(--color-text-secondary);
}

.wt-fit-ruler[b-zuyt1gneqg] {
    position: relative;
    height: 30px;
    margin: 0 6px;
}

.wt-fit-bar[b-zuyt1gneqg] {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    height: 6px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
}

.wt-fit-band[b-zuyt1gneqg] {
    position: absolute;
    top: 10px;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
    box-shadow: 0 0 10px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.wt-fit--near .wt-fit-band[b-zuyt1gneqg],
.wt-fit--below .wt-fit-band[b-zuyt1gneqg],
.wt-fit--above .wt-fit-band[b-zuyt1gneqg] {
    background: linear-gradient(90deg, var(--color-text-tertiary), var(--color-text-secondary));
    box-shadow: none;
}

.wt-fit-you[b-zuyt1gneqg] {
    position: absolute;
    z-index: 1;
    top: -4px;
    width: 12px;
    height: 34px;
    margin-left: -6px;
}

.wt-fit-you[b-zuyt1gneqg]::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 4px;
    width: 2px;
    height: 30px;
    border-radius: 1px;
    background: var(--color-text-primary);
}

.wt-fit-you[b-zuyt1gneqg]::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid var(--color-text-primary);
    background: var(--wt-fit-class, var(--color-primary));
}

.wt-fit-tick[b-zuyt1gneqg] {
    position: absolute;
    top: 22px;
    font: 600 var(--gt-sm)/1 var(--font-primary);
    color: var(--color-text-secondary);
    transform: translateX(-50%);
}
/* /Components/WarTable/WtGuide.razor.rz.scp.css */
/* WtGuide: the first-visit coach (WT-Hub-New's hs-coach), in em so the chart's panel scales it. Tokens only. */
.wt-guide[b-588w2tjgb4] {
    display: flex;
    flex-direction: column;
    /* On the chart the panel's em base; under it (touch tiers) the page's 14px, so the floor holds here: never under 16px
       (its smallest words are .75em, 12px) and growing with the text size (readable game text). */
    font-size: max(var(--gt-lg), 1em);
    gap: .4375em;
    padding: .6875em .875em .75em;
    border-radius: .75em;
    background: linear-gradient(180deg, color-mix(in srgb, var(--wt-land) 92%, transparent), color-mix(in srgb, var(--color-bg-base) 95%, transparent));
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--color-bg-base) 90%, transparent), inset 0 0 0 5px color-mix(in srgb, var(--color-primary) 16%, transparent), 0 18px 40px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
    color: var(--fd-text-3);
}

.wt-guide-head[b-588w2tjgb4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5em;
}

.wt-guide-eyebrow[b-588w2tjgb4] {
    display: flex;
    align-items: center;
    gap: .375em;
    font: 700 .75em / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-guide-eyebrow .material-icons[b-588w2tjgb4] {
    font-size: 1.4em;
}

.wt-guide-close[b-588w2tjgb4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    padding: 0;
    border: none;
    border-radius: .5em;
    background: none;
    color: var(--fd-text-3);
    cursor: pointer;
}

.wt-guide-title[b-588w2tjgb4] {
    margin: 0;
    font: 700 1.03em / 1.2 var(--font-primary);
    color: var(--fd-cream);
}

.wt-guide-rows[b-588w2tjgb4] {
    display: flex;
    flex-direction: column;
    gap: .25em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-guide-rows li[b-588w2tjgb4] {
    display: grid;
    grid-template-columns: 1.875em minmax(0, 1fr);
    gap: .5em;
    align-items: center;
    font: 500 .78em / 1.35 var(--font-primary);
}

.wt-guide-rows b[b-588w2tjgb4] {
    color: var(--fd-text);
    font-weight: 700;
}

.wt-guide-mark[b-588w2tjgb4] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875em;
    height: 2.15em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
}

.wt-guide-mark .material-icons[b-588w2tjgb4] {
    font-size: 1.1em;
    color: var(--fd-on-gold);
}

.wt-guide-mark--pick[b-588w2tjgb4] {
    background: var(--fd-gold-grad);
}

.wt-guide-mark--party[b-588w2tjgb4] {
    background: var(--wt-pin-party);
}

.wt-guide-mark--dim[b-588w2tjgb4] {
    clip-path: none;
    height: 1.6em;
    border-radius: .375em;
    border: 1px dashed color-mix(in srgb, var(--color-text-light) 60%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
}

.wt-guide-mark--dim .material-icons[b-588w2tjgb4] {
    color: var(--fd-text-3);
}

.wt-guide-foot[b-588w2tjgb4] {
    display: flex;
    align-items: center;
    gap: .625em;
    margin-top: .125em;
}

.wt-guide-foot > span[b-588w2tjgb4] {
    font: 500 .75em / 1.3 var(--font-primary);
    color: var(--fd-text-4);
}

.wt-guide-got[b-588w2tjgb4] {
    display: inline-flex;
    align-items: center;
    gap: .375em;
    min-height: 2.25em;
    padding: 0 .875em;
    border-radius: .5em;
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 16%, transparent), color-mix(in srgb, var(--color-primary) 5%, transparent));
    color: var(--fd-gold-soft);
    font: 700 .8em / 1 var(--font-primary);
    cursor: pointer;
}

.wt-guide-got .material-icons[b-588w2tjgb4] {
    font-size: 1.2em;
    color: var(--color-primary);
}

.wt-guide-close:focus-visible[b-588w2tjgb4],
.wt-guide-got:focus-visible[b-588w2tjgb4] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .wt-guide-close[b-588w2tjgb4],
    .wt-guide-got[b-588w2tjgb4] {
        min-width: 44px;
        min-height: 44px;
    }
}

/* A phone keeps the guide short under the table: the four marks two by two, their words only (WT-Hub-New-390). */
@media (max-width: 480px) {
    .wt-guide-rows[b-588w2tjgb4] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .wt-guide-text[b-588w2tjgb4] {
        display: none;
    }
}
/* /Components/WarTable/WtHallCard.razor.rz.scp.css */
/* WtHallCard (Direction A, W1): the Party view's pointer to Garrick's Hall. Tokens only; canonical breakpoints only. */
.wt-hall-card[b-6grvtkaa6e] {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--sc-house-line);
    border-radius: var(--radius-2xl);
    background: var(--sc-house-soft);
}

.wt-hall-seal[b-6grvtkaa6e] {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--sc-house);
    color: var(--sc-house);
}

.wt-hall-seal .material-icons[b-6grvtkaa6e] {
    font-size: var(--gt-3xl);
}

.wt-hall-text[b-6grvtkaa6e] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.wt-hall-title[b-6grvtkaa6e] {
    margin: 0;
    font: 700 var(--gt-xl) / 1.25 var(--font-display);
    color: var(--color-primary);
}

.wt-hall-line[b-6grvtkaa6e] {
    margin: 0;
    font: 400 var(--gt-sm) / 1.4 var(--font-primary);
    color: var(--color-text-secondary);
}

.wt-hall-open[b-6grvtkaa6e] {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    padding: 0 var(--space-lg);
    border: 1px solid var(--sc-house);
    border-radius: var(--radius-xl);
    color: var(--sc-house-ink);
    font: 700 var(--gt-base) / 1 var(--font-primary);
    text-decoration: none;
    white-space: nowrap;
}

.wt-hall-open .material-icons[b-6grvtkaa6e] {
    font-size: var(--gt-xl);
}

.wt-hall-open:focus-visible[b-6grvtkaa6e] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media not all and (min-width: 768px) {
    .wt-hall-card[b-6grvtkaa6e] {
        flex-wrap: wrap;
    }

    .wt-hall-open[b-6grvtkaa6e] {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (forced-colors: active) {
    .wt-hall-card[b-6grvtkaa6e],
    .wt-hall-seal[b-6grvtkaa6e],
    .wt-hall-open[b-6grvtkaa6e] {
        border: 1px solid CanvasText;
        forced-color-adjust: auto;
    }
}
/* /Components/WarTable/WtHeroChip.razor.rz.scp.css */
/* WtHeroChip: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-hero-chip[b-8qpbtzorg7] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtHex.razor.rz.scp.css */
/* WtHex: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-hex[b-j44ftokvgs] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtHowItWorks.razor.rz.scp.css */
/* WtHowItWorks: three cards with a gold hex (WT-Hub-New's hs-how). Tokens only. */
.wt-how[b-uwlryoh09o] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wt-how-head[b-uwlryoh09o] {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wt-how-title[b-uwlryoh09o] {
    margin: 0;
    font: 700 calc(var(--gt-px) * 15) / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-how-rule[b-uwlryoh09o] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

.wt-how-steps[b-uwlryoh09o] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-how-steps li[b-uwlryoh09o] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--fd-line);
    background: var(--fd-card);
    font: 500 var(--gt-md) / 1.45 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-how-steps b[b-uwlryoh09o] {
    display: block;
    margin-bottom: 2px;
    font-weight: 700;
    color: var(--fd-text);
}

.wt-how-hex[b-uwlryoh09o] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 39px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
    color: var(--fd-on-gold);
}

.wt-how-hex .material-icons[b-uwlryoh09o] {
    font-size: var(--gt-xl);
}

@media (max-width: 768px) {
    .wt-how-steps[b-uwlryoh09o] {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Components/WarTable/WtHubHead.razor.rz.scp.css */
/* WtHubHead: the h1 with its summary beside it, the hero chip on the right (WT-Hub-1366). No way back since the in-game
   menu's Q3 a (the bar's Tavern lamp is in view), so nothing leaves room for one. The phone keeps the h1 and the chip on
   one row. Tokens only. */
.wt-hub-head[b-v2v4hgs2u6] {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    min-width: 0;
}

.wt-hub-head-main[b-v2v4hgs2u6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.wt-hub-title-row[b-v2v4hgs2u6] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 14px;
}

.wt-hub-title[b-v2v4hgs2u6] {
    margin: 0;
    font: 800 calc(var(--gt-px) * 38) / 1.1 var(--fd-font-display);
    color: var(--fd-cream);
}

.wt-summary[b-v2v4hgs2u6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    font: 500 calc(var(--gt-px) * 13.5) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-summary > span + span[b-v2v4hgs2u6]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px;
    border-radius: 50%;
    background: var(--fd-text-5);
    vertical-align: middle;
}

.wt-summary .is-emphasis[b-v2v4hgs2u6] {
    color: var(--fd-gold-soft);
    font-weight: 700;
}

.wt-hub-head-side[b-v2v4hgs2u6] {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: none;
}

.wt-hub-links[b-v2v4hgs2u6] {
    display: flex;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-hub-links a[b-v2v4hgs2u6] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--fd-gold-text);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    text-decoration: none;
}

.wt-hub-links .material-icons[b-v2v4hgs2u6] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-hero[b-v2v4hgs2u6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: inherit;
    text-decoration: none;
}

.wt-hero.is-empty[b-v2v4hgs2u6] {
    border-style: dashed;
}

.wt-hero-art[b-v2v4hgs2u6] {
    position: relative;
    flex: none;
    display: flex;
}

/* The level on the portrait (WT-Hub-*: a gold hex at its foot); the chip's accessible name says the level. */
.wt-hero-level[b-v2v4hgs2u6] {
    position: absolute;
    right: -7px;
    bottom: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9em;
    height: 2.1em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-primary);
    color: var(--color-bg-base);
    font: 800 var(--gt-sm) / 1 var(--font-primary);
}

.wt-hero-portrait[b-v2v4hgs2u6] {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 46px;
    border-radius: 999px 999px 9px 9px;
    border: 2px solid var(--cc, var(--color-text-secondary));
    overflow: hidden;
    background: var(--fd-art-well);
    color: var(--fd-text-4);
    box-sizing: border-box;
}

.wt-hero-portrait img[b-v2v4hgs2u6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
}

.wt-hero-text[b-v2v4hgs2u6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wt-hero-text b[b-v2v4hgs2u6] {
    font: 700 var(--gt-base) / 1.2 var(--font-primary);
    color: var(--fd-cream);
}

.wt-hero-text small[b-v2v4hgs2u6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--gt-sm);
    color: var(--fd-text-3);
}

.wt-hero-text small > span + span[b-v2v4hgs2u6]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 6px;
    border-radius: 50%;
    background: var(--fd-text-5);
    vertical-align: middle;
}

.wt-hero-class[b-v2v4hgs2u6] {
    color: color-mix(in srgb, var(--cc, var(--color-text-secondary)) 50%, var(--fd-text));
}

.wt-hero-status[b-v2v4hgs2u6] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--fd-warn-ink);
}

.wt-hero-status .material-icons[b-v2v4hgs2u6] {
    font-size: calc(var(--gt-px) * 15);
}

.wt-hub-links a:focus-visible[b-v2v4hgs2u6],
.wt-hero:focus-visible[b-v2v4hgs2u6] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .wt-hub-links[b-v2v4hgs2u6] {
        display: none;
    }
}

@media (max-width: 768px) {
    .wt-hub-head[b-v2v4hgs2u6] {
        align-items: flex-start;
        gap: 12px;
    }

    .wt-hub-title[b-v2v4hgs2u6] {
        font-size: calc(var(--gt-px) * 30);
    }
}

@media (max-width: 480px) {
    .wt-hub-title[b-v2v4hgs2u6] {
        font-size: calc(var(--gt-px) * 26);
        white-space: nowrap;
    }

    .wt-summary[b-v2v4hgs2u6] {
        font-size: var(--gt-md);
    }

    .wt-hero[b-v2v4hgs2u6] {
        padding: 0;
        border: none;
        background: none;
    }

    .wt-hero-text[b-v2v4hgs2u6] {
        display: none;
    }
}

/* /Components/WarTable/WtJoinPreview.razor.rz.scp.css */
/* WtJoinPreview (WT-Join, WT-Party-Brief "an invite is waiting"): the party, then the hero that goes. Tokens only. */
.wt-join[b-qrujjncazy] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-info-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-info-dark) 16%, var(--color-bg-base));
}

.wt-join--blocked[b-qrujjncazy] {
    border-color: color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 80%, transparent);
}

.wt-join-title[b-qrujjncazy] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 700 calc(var(--gt-px) * 15)/1.25 var(--font-primary);
    letter-spacing: 0.06em;
    color: color-mix(in srgb, var(--color-primary-light) 25%, var(--color-text-primary));
}

.wt-join-title .material-icons[b-qrujjncazy] {
    font-size: var(--gt-2xl);
    color: var(--color-info-light);
}

.wt-join-party[b-qrujjncazy] {
    margin: 0;
    font-size: var(--gt-md);
    line-height: 1.4;
    color: var(--color-text-lighter);
}

.wt-join-heroes[b-qrujjncazy] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-join-heroes li[b-qrujjncazy] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--gt-md);
    color: var(--color-text-light);
}

.wt-join-heroes .material-icons[b-qrujjncazy] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-text-secondary);
}

.wt-join-you[b-qrujjncazy] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 18%, transparent);
}

.wt-join-key[b-qrujjncazy] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-join-hero[b-qrujjncazy] {
    font: 700 calc(var(--gt-px) * 15)/1.25 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-join-fit[b-qrujjncazy] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--gt-md);
    line-height: 1.4;
    color: var(--color-success-lighter);
}

.wt-join-fit .material-icons[b-qrujjncazy] {
    font-size: var(--gt-lg);
    color: var(--color-success-light);
}

.wt-join--blocked .wt-join-fit[b-qrujjncazy] {
    align-items: flex-start;
    color: var(--color-warning-lightest);
}

.wt-join--blocked .wt-join-fit .material-icons[b-qrujjncazy] {
    color: var(--color-warning-light);
}

.wt-join-ready[b-qrujjncazy] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-light);
}

/* "Chapter locked" before the fit line (raid join spec 6.3): words, not colour alone. */
.wt-join-fit-title[b-qrujjncazy] {
    font-weight: 800;
    margin-right: 4px;
    white-space: nowrap;
}

@media (forced-colors: active) {
    .wt-join[b-qrujjncazy] {
        border: 1px solid CanvasText;
    }
}

/* The door's summons card (raid join W3, B-Join 1): the game's line, the host's own words quoted as theirs, no clock. */
.wt-summons[b-qrujjncazy] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-info-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-info-dark) 22%, transparent);
}

.wt-summons p[b-qrujjncazy] {
    margin: 0;
}

.wt-summons-title[b-qrujjncazy] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-info-lightest);
    font: 700 var(--gt-lg)/1.3 var(--font-primary);
}

.wt-summons-line[b-qrujjncazy],
.wt-summons-waits[b-qrujjncazy] {
    color: var(--color-text-secondary);
    font: 500 var(--gt-base)/1.45 var(--font-primary);
}

.wt-summons-waits[b-qrujjncazy] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--gt-md);
}

.wt-summons .material-icons[b-qrujjncazy] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-summons-words[b-qrujjncazy] {
    margin: 0;
}

.wt-summons-words blockquote[b-qrujjncazy] {
    margin: 0;
    color: var(--color-text-primary);
    font: italic 500 calc(var(--gt-px) * 15)/1.45 var(--fd-font-voice, var(--font-primary));
}

.wt-summons-words figcaption[b-qrujjncazy] {
    color: var(--color-text-secondary);
    font: 500 var(--gt-sm)/1.3 var(--font-primary);
}

@media (forced-colors: active) {
    .wt-summons[b-qrujjncazy] {
        border-color: CanvasText;
        background: Canvas;
    }
}
/* /Components/WarTable/WtJumpBar.razor.rz.scp.css */
/* WtJumpBar (WT-Brief-390): four 44px links in a quiet strip; hidden from 768, where the sections sit side by side. */
.wt-jump[b-rvralf1e5i] {
    min-width: 0;
}

.wt-jump-list[b-rvralf1e5i] {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
    margin: 0;
    padding: 4px;
    list-style: none;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 88%, transparent);
}

.wt-jump-link[b-rvralf1e5i] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 52px;
    border-radius: 9px;
    color: var(--color-text-light);
    font-size: var(--gt-sm);
    font-weight: 600;
    text-decoration: none;
}

.wt-jump-link .material-icons[b-rvralf1e5i] {
    font-size: var(--gt-2xl);
    color: var(--color-text-secondary);
}

.wt-jump-link:hover[b-rvralf1e5i],
.wt-jump-link:focus-visible[b-rvralf1e5i] {
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary-light);
}

.wt-jump-link:focus-visible[b-rvralf1e5i] {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

@media (min-width: 768px) {
    .wt-jump[b-rvralf1e5i] {
        display: none;
    }
}
/* /Components/WarTable/WtLegend.razor.rz.scp.css */
/* WtLegend: the map key (the kit's wm-key), in em so the chart's panel scales it. Tokens only. */
.wt-legend[b-x6x97kuivt] {
    display: flex;
    flex-direction: column;
    gap: .4375em;
    padding: .75em;
    border-radius: .75em;
    background: color-mix(in srgb, var(--wt-vellum-deep) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-primary) 26%, transparent);
    box-shadow: 0 14px 34px color-mix(in srgb, var(--fd-shadow-ink) 55%, transparent);
    color: var(--fd-text-3);
}

.wt-legend-title[b-x6x97kuivt] {
    display: flex;
    align-items: center;
    gap: .5em;
    margin: 0;
    font: 800 .75em / 1 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-legend-title .material-icons[b-x6x97kuivt] {
    font-size: 1.5em;
}

.wt-legend-rows[b-x6x97kuivt] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .375em .625em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-legend-row[b-x6x97kuivt] {
    display: flex;
    align-items: center;
    gap: .4375em;
    font: 500 .75em / 1.25 var(--font-primary);
    white-space: nowrap;
}

.wt-swatch[b-x6x97kuivt] {
    flex: none;
    display: inline-block;
    width: .8125em;
    height: .9375em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
}

.wt-swatch--run[b-x6x97kuivt] { background: var(--fd-gold-grad); }
.wt-swatch--open[b-x6x97kuivt] { background: var(--wt-ink); box-shadow: inset 0 0 0 2px var(--wt-vellum); }
.wt-swatch--party[b-x6x97kuivt] { background: var(--wt-pin-party); }
.wt-swatch--walked[b-x6x97kuivt] { width: .6875em; height: .8125em; background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker)); }
.wt-swatch--soon[b-x6x97kuivt] { width: .6875em; height: .8125em; background: var(--wt-pin-soon); }
.wt-swatch--premium[b-x6x97kuivt] { background: var(--wt-pin-premium); }
.wt-swatch--ghost[b-x6x97kuivt] { width: .6875em; height: .8125em; background: color-mix(in srgb, var(--color-text-light) 42%, transparent); }

.wt-swatch--boss[b-x6x97kuivt] {
    clip-path: none;
    width: .75em;
    height: .75em;
    border-radius: 50%;
    background: var(--fd-bad-deep);
    box-shadow: 0 0 0 1.5px var(--fd-bad);
}

.wt-swatch--star[b-x6x97kuivt] {
    clip-path: none;
    width: .75em;
    height: .75em;
    border-radius: 50%;
    background: var(--fd-gold-grad);
}

.wt-swatch--road[b-x6x97kuivt] {
    clip-path: none;
    width: 1.25em;
    height: 3px;
    border-radius: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 6px color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.wt-swatch--glow[b-x6x97kuivt] {
    clip-path: none;
    width: 1.125em;
    height: .75em;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-region-ashfeld) 45%, transparent);
    box-shadow: 0 0 8px color-mix(in srgb, var(--color-region-ashfeld) 50%, transparent);
}

.wt-switch[b-x6x97kuivt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .625em;
    width: 100%;
    min-height: 2.25em;
    padding: 0 .25em 0 .125em;
    border: none;
    background: none;
    color: var(--fd-text);
    font: 600 .78em / 1.2 var(--font-primary);
    cursor: pointer;
}

.wt-switch-track[b-x6x97kuivt] {
    position: relative;
    flex: none;
    width: 2.4em;
    height: 1.4em;
    border-radius: .7em;
    background: var(--color-gray-700);
    transition: background .2s ease;
}

.wt-switch-track[b-x6x97kuivt]::after {
    content: '';
    position: absolute;
    left: .2em;
    top: .2em;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background: var(--color-text-light);
    transition: left .2s ease;
}

.wt-switch[aria-checked="true"] .wt-switch-track[b-x6x97kuivt] {
    background: var(--color-primary-darker);
}

.wt-switch[aria-checked="true"] .wt-switch-track[b-x6x97kuivt]::after {
    left: 1.2em;
    background: var(--fd-cream);
}

.wt-switch:focus-visible[b-x6x97kuivt] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (pointer: coarse) {
    .wt-switch[b-x6x97kuivt] {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-switch-track[b-x6x97kuivt],
    .wt-switch-track[b-x6x97kuivt]::after {
        transition: none;
    }
}
/* /Components/WarTable/WtListView.razor.rz.scp.css */
/* WtListView: the list route (the kit's wm-list): region heads, numbered state hexes, 56 px rows on touch. Two
   columns from 768. Tokens only. */
.wt-list-view[b-p37rqfvfeu] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: var(--fd-card);
}

.wt-list-title[b-p37rqfvfeu] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font: 800 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-list-title .material-icons[b-p37rqfvfeu] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-list-groups[b-p37rqfvfeu] {
    columns: 2;
    column-gap: 26px;
}

.wt-list-group[b-p37rqfvfeu] {
    break-inside: avoid;
    margin-bottom: 8px;
}

.wt-list-head[b-p37rqfvfeu] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 4px;
    font: 800 var(--gt-sm) / 1 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-list-head .material-icons[b-p37rqfvfeu] {
    font-size: var(--gt-lg);
    color: var(--tint);
}

.wt-list-head i[b-p37rqfvfeu] {
    font-style: normal;
    color: var(--fd-text-4);
    letter-spacing: 0;
}

.wt-list-group ol[b-p37rqfvfeu] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-list-row[b-p37rqfvfeu] {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    margin: 0 0 2px;
    padding: 2px 6px;
    border: none;
    border-radius: 7px;
    background: none;
    color: var(--fd-text-2);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* An open group's roads sit under its button, indented (the button stays: a disclosure, as the cartouche's). */
.wt-list-in-group[b-p37rqfvfeu] {
    padding-left: 18px;
}

.wt-list-hex[b-p37rqfvfeu] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 24px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
    color: var(--fd-text-2);
}

.wt-list-hex b[b-p37rqfvfeu] {
    font: 800 var(--gt-sm) / 1 var(--font-primary);
}

.wt-list-hex .material-icons[b-p37rqfvfeu] {
    font-size: var(--gt-md);
}

.wt-list-hex--run[b-p37rqfvfeu] { background: var(--color-primary); color: var(--fd-on-gold); }
.wt-list-hex--open[b-p37rqfvfeu] { background: var(--wt-ink); color: var(--fd-on-gold); }
.wt-list-hex--party[b-p37rqfvfeu] { background: var(--wt-pin-party); color: var(--fd-on-gold); }
.wt-list-hex--walked[b-p37rqfvfeu] { background: var(--color-primary-darker); color: var(--fd-on-gold); }
.wt-list-hex--soon[b-p37rqfvfeu] { background: var(--wt-pin-soon); color: var(--fd-text); }
.wt-list-hex--premium[b-p37rqfvfeu] { background: var(--wt-pin-premium); color: var(--fd-on-gold); }

.wt-list-text[b-p37rqfvfeu] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wt-list-text b[b-p37rqfvfeu] {
    font: 600 var(--gt-md) / 1.25 var(--font-primary);
    color: var(--fd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-list-text small[b-p37rqfvfeu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-list-text small.is-on[b-p37rqfvfeu] {
    color: var(--fd-gold-soft);
}

.wt-list-premium[b-p37rqfvfeu] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 1px 6px;
    border-radius: 7px;
    border: 1px solid color-mix(in srgb, var(--wt-pin-premium) 55%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 16%, transparent);
    color: var(--color-monk-lightest);
    font-weight: 700;
}

.wt-list-premium .material-icons[b-p37rqfvfeu] {
    font-size: var(--gt-sm);
}

.wt-list-go[b-p37rqfvfeu] {
    font-size: var(--gt-xl);
    color: var(--fd-text-4);
}

.wt-list-premium-line[b-p37rqfvfeu] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed color-mix(in srgb, var(--wt-pin-premium) 50%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 8%, transparent);
    font: 500 var(--gt-md) / 1.5 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-list-premium-line b[b-p37rqfvfeu] {
    color: var(--fd-text);
}

.wt-list-premium-line a[b-p37rqfvfeu] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 4px;
    color: var(--fd-text);
    font-weight: 700;
    text-decoration: none;
}

.wt-list-premium-line a .material-icons[b-p37rqfvfeu] {
    font-size: var(--gt-lg);
}

.wt-list-premium-hex[b-p37rqfvfeu] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 39px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-pin-premium);
    color: var(--fd-on-gold);
}

.wt-list-row:focus-visible[b-p37rqfvfeu],
.wt-list-premium-line a:focus-visible[b-p37rqfvfeu] {
    outline: 3px solid var(--fd-text);
    outline-offset: 1px;
}

@media (hover: hover) {
    .wt-list-row:hover[b-p37rqfvfeu] {
        background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    }
}

@media (pointer: coarse) {
    .wt-list-row[b-p37rqfvfeu] {
        min-height: 56px;
    }
}

@media (max-width: 768px) {
    .wt-list-view[b-p37rqfvfeu] {
        padding: 14px 12px;
    }

    .wt-list-groups[b-p37rqfvfeu] {
        columns: 1;
    }
}
/* /Components/WarTable/WtLockNote.razor.rz.scp.css */
/* WtLockNote: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-lock-note[b-gba5zejkww] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtMiniTrail.razor.rz.scp.css */
/* WtMiniTrail: the kit's a-trail in the dossier (done gold, here ringed, ahead slate, boss red). Tokens only. */
.wt-mini-trail[b-zawa6g1svl] {
    --hex-w: calc(30px * var(--gt-box));
    --hex-h: calc(34px * var(--gt-box));
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-mt-node[b-zawa6g1svl] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: none;
}

.has-labels .wt-mt-node[b-zawa6g1svl] {
    width: calc(58px * var(--gt-box));
}

.wt-mt-hex[b-zawa6g1svl] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--hex-w);
    height: var(--hex-h);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
    color: var(--fd-text-4);
}

.wt-mt-hex > *[b-zawa6g1svl] {
    position: relative;
    z-index: 1;
}

.wt-mt-hex .material-icons[b-zawa6g1svl] {
    font-size: calc(var(--gt-px) * 15);
}

.wt-mt-hex b[b-zawa6g1svl] {
    font: 800 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-mt-label[b-zawa6g1svl] {
    display: none;
    font-size: var(--gt-sm);
    line-height: 1.2;
    text-align: center;
    color: var(--fd-text-4);
    overflow-wrap: anywhere;
}

.has-labels .wt-mt-label[b-zawa6g1svl] {
    display: block;
}

.wt-mt-node--done .wt-mt-hex[b-zawa6g1svl],
.wt-mt-node--bossdone .wt-mt-hex[b-zawa6g1svl] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--fd-on-gold);
}

.wt-mt-node--done .wt-mt-label[b-zawa6g1svl],
.wt-mt-node--bossdone .wt-mt-label[b-zawa6g1svl] {
    color: var(--fd-text-3);
}

.wt-mt-node--cur .wt-mt-hex[b-zawa6g1svl],
.wt-mt-node--next .wt-mt-hex[b-zawa6g1svl],
.wt-mt-node--bosscur .wt-mt-hex[b-zawa6g1svl] {
    background: var(--wt-ink);
    color: var(--color-primary);
}

.wt-mt-node--cur .wt-mt-hex[b-zawa6g1svl]::before,
.wt-mt-node--next .wt-mt-hex[b-zawa6g1svl]::before,
.wt-mt-node--bosscur .wt-mt-hex[b-zawa6g1svl]::before {
    content: '';
    position: absolute;
    inset: 3px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-bg-base);
    z-index: 0;
}

.wt-mt-node--cur .wt-mt-hex[b-zawa6g1svl] {
    --hex-w: 36px;
    --hex-h: 41px;
    box-shadow: 0 0 18px 2px color-mix(in srgb, var(--color-primary) 32%, transparent);
}

.wt-mt-node--cur .wt-mt-label[b-zawa6g1svl] {
    color: var(--fd-text);
    font-weight: 700;
}

.wt-mt-node--next .wt-mt-hex[b-zawa6g1svl] {
    background: color-mix(in srgb, var(--wt-ink) 60%, transparent);
}

.wt-mt-node--boss .wt-mt-hex[b-zawa6g1svl],
.wt-mt-node--bosscur .wt-mt-hex[b-zawa6g1svl] {
    background: color-mix(in srgb, var(--fd-bad-deep) 80%, var(--color-gray-800));
    color: var(--fd-bad);
}

.wt-mt-node--bosscur .wt-mt-hex[b-zawa6g1svl] {
    background: var(--wt-ink);
}

.wt-mt-node--boss .wt-mt-label[b-zawa6g1svl] {
    color: var(--fd-bad-text);
}

.wt-mt-link[b-zawa6g1svl] {
    flex: 1;
    min-width: 8px;
    height: 3px;
    margin-top: calc(var(--hex-h) / 2 - 1px);
    border-radius: 2px;
    background: var(--color-gray-700);
}

.has-labels .wt-mt-link[b-zawa6g1svl] {
    min-width: 6px;
}

.wt-mt-link.is-done[b-zawa6g1svl] {
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary));
}
/* /Components/WarTable/WtNarration.razor.rz.scp.css */
/* WtNarration: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-narration[b-tk4gh8yvjf] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtNextOnTheTable.razor.rz.scp.css */
/* WtNextOnTheTable: the section head (title, gold rule, line, mode tabs, region select) and the tile grid: four
   across at 1366, five beside a two-column pick at 1920, two on tablets, rows on a phone. Tokens only. */
.wt-next[b-u1uk42uhxx] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    scroll-margin-top: 80px;
}

.wt-next:focus[b-u1uk42uhxx] {
    outline: none;
}

.wt-next-head[b-u1uk42uhxx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
}

.wt-section-title[b-u1uk42uhxx] {
    margin: 0;
    font: 700 calc(var(--gt-px) * 15) / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-section-rule[b-u1uk42uhxx] {
    flex: 1;
    min-width: 40px;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 45%, transparent), transparent);
}

/* The line rides the head on wide screens only; tablets and phones keep the tabs beside the title (WT-Hub-1024t). */
.wt-next-sub[b-u1uk42uhxx] {
    display: none;
    font: 500 var(--gt-md) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

@media (min-width: 1280px) {
    .wt-next-sub[b-u1uk42uhxx] {
        display: inline;
    }
}

.wt-modes[b-u1uk42uhxx] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wt-mode[b-u1uk42uhxx] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    color: var(--fd-text-3);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
    white-space: nowrap;
    touch-action: manipulation;
}

.wt-mode .material-icons[b-u1uk42uhxx] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--fd-text-4);
}

.wt-mode i[b-u1uk42uhxx] {
    font-style: normal;
    font-weight: 700;
    color: var(--fd-text-4);
}

.wt-mode[aria-pressed="true"][b-u1uk42uhxx] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--fd-gold-soft);
}

.wt-mode[aria-pressed="true"] .material-icons[b-u1uk42uhxx],
.wt-mode[aria-pressed="true"] i[b-u1uk42uhxx] {
    color: var(--color-primary);
}

.wt-region-select[b-u1uk42uhxx] {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid var(--fd-line-strong);
    background: color-mix(in srgb, var(--color-gray-900) 65%, transparent);
    color: var(--fd-text-2);
}

.wt-region-select .material-icons[b-u1uk42uhxx] {
    font-size: var(--gt-xl);
    color: var(--fd-text-4);
}

.wt-region-select select[b-u1uk42uhxx] {
    min-height: 2.62em;
    padding: 0 4px;
    border: none;
    background: transparent;
    color: var(--fd-text-2);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
}

.wt-region-select select option[b-u1uk42uhxx] {
    background: var(--color-bg-base);
    color: var(--fd-text);
}

.wt-next-tiles[b-u1uk42uhxx],
.wt-next-rows[b-u1uk42uhxx] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-next-tiles > li[b-u1uk42uhxx],
.wt-next-rows > li[b-u1uk42uhxx] {
    display: flex;
    min-width: 0;
}

.wt-next-tiles--tabletlandscape[b-u1uk42uhxx],
.wt-next-tiles--tabletportrait[b-u1uk42uhxx] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wt-next-rows[b-u1uk42uhxx] {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.wt-next-empty[b-u1uk42uhxx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 24px;
    border-radius: 14px;
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 45%, transparent);
    text-align: center;
    color: var(--fd-text-4);
    font: 500 calc(var(--gt-px) * 13.5) / 1.5 var(--font-primary);
}

.wt-next-empty b[b-u1uk42uhxx] {
    font: 700 calc(var(--gt-px) * 15) / 1.3 var(--font-primary);
    color: var(--fd-text);
}

.wt-next-empty-hex[b-u1uk42uhxx] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 52px;
    margin-bottom: 4px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
    color: var(--fd-text-3);
}

.wt-next-empty-action[b-u1uk42uhxx] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 6px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--fd-line-strong);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--fd-text);
    font: 600 calc(var(--gt-px) * 13.5) / 1 var(--font-primary);
    cursor: pointer;
}

.wt-mode:focus-visible[b-u1uk42uhxx],
.wt-region-select:focus-within[b-u1uk42uhxx],
.wt-next-empty-action:focus-visible[b-u1uk42uhxx] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .wt-mode[b-u1uk42uhxx],
    .wt-next-empty-action[b-u1uk42uhxx] {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .wt-next-head[b-u1uk42uhxx] {
        gap: 10px;
    }

    .wt-section-title[b-u1uk42uhxx] {
        font-size: var(--gt-md);
        letter-spacing: .16em;
    }

    .wt-next-sub[b-u1uk42uhxx],
    .wt-section-rule[b-u1uk42uhxx] {
        display: none;
    }
}
/* /Components/WarTable/WtPageHead.razor.rz.scp.css */
/* WtPageHead: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-page-head[b-shtyor35bv] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtPartyRuns.razor.rz.scp.css */
/* "Parties and runs" (raid join W2, A-Find): rows of the player's parties. The panel and its head are the page's
   shared wt-panel atoms; the state chips reuse the RAID MUSTER tokens (design-system.css). */
.wt-runs-filter[b-cqlllsq5jh] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wt-runs-filter button[b-cqlllsq5jh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    color: var(--fd-text-3);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
}

.wt-runs-filter button i[b-cqlllsq5jh] {
    font-style: normal;
    color: var(--color-text-secondary);
}

.wt-runs-filter button[aria-pressed="true"][b-cqlllsq5jh] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--fd-gold-soft);
}

.wt-runs-filter button[disabled][b-cqlllsq5jh] {
    opacity: 0.5;
    cursor: not-allowed;
}

.wt-runs-filter button:focus-visible[b-cqlllsq5jh],
.wt-run-go:focus-visible[b-cqlllsq5jh],
.wt-run-copy:focus-visible[b-cqlllsq5jh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Take a break (20 Nov 2026): the saved run's notice over the rows, in the saved run's invite hue; focused on arrival, so it
   clears the frame's bar when scrolled to. */
.wt-runs-saved[b-cqlllsq5jh] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--rm-invite);
    background: var(--rm-invite-fill);
    scroll-margin-top: calc(var(--frame-top, 64px) + 12px);
}

.wt-runs-saved:focus-visible[b-cqlllsq5jh] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.wt-runs-saved-ico[b-cqlllsq5jh] {
    display: inline-flex;
    flex: none;
    color: var(--rm-invite-ink);
}

.wt-runs-saved-ico .material-icons[b-cqlllsq5jh] {
    font-size: var(--gt-2xl);
}

.wt-runs-saved-tx[b-cqlllsq5jh] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font: 500 var(--gt-base)/1.35 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-runs-saved-tx b[b-cqlllsq5jh] {
    font-weight: 700;
    color: var(--rm-invite-ink);
}

.wt-runs-saved-tx small[b-cqlllsq5jh] {
    font-size: var(--gt-sm);
    color: var(--color-text-secondary);
}

.wt-run.is-just-saved[b-cqlllsq5jh] {
    border-color: var(--rm-invite);
}

.wt-runs[b-cqlllsq5jh] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* A row is a small card at every width (Take a break, 20 Nov 2026): the hub draws "Parties and runs" in a third of the
   page from 1280, where the old four-column row left the raid's name and line a word a line. */
.wt-run[b-cqlllsq5jh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "state code"
        "tx tx"
        "acts acts";
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--rm-line);
    background: var(--rm-card);
}

.wt-run-state[b-cqlllsq5jh] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: start;
    min-height: 26px;
    padding: 2px 10px 2px 7px;
    border-radius: var(--radius-round);
    border: 1.5px solid var(--rm-line-2);
    font: 700 var(--gt-sm)/1.2 var(--font-primary);
    color: var(--rm-away-ink);
}

.wt-run-state .material-icons[b-cqlllsq5jh] {
    font-size: var(--gt-lg);
}

/* Shapes as the room's chips: gathering gold dashed, on the road solid, saved the invite hue, cleared ready. */
.wt-run--gathering .wt-run-state[b-cqlllsq5jh] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--rm-need) 60%, transparent);
    background: var(--rm-need-fill);
    color: var(--rm-need-ink);
}

.wt-run--ontheroad .wt-run-state[b-cqlllsq5jh] {
    border-color: var(--rm-wait);
    background: var(--rm-wait-fill);
    color: var(--rm-wait-ink);
}

.wt-run--saved .wt-run-state[b-cqlllsq5jh] {
    border-color: var(--rm-invite);
    background: var(--rm-invite-fill);
    color: var(--rm-invite-ink);
}

.wt-run--cleared .wt-run-state[b-cqlllsq5jh] {
    border-color: var(--rm-ready);
    background: var(--rm-ready-fill);
    color: var(--rm-ready-ink);
}

.wt-run-tx[b-cqlllsq5jh] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font: 600 var(--gt-base)/1.3 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-run-tx small[b-cqlllsq5jh] {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.wt-run-code[b-cqlllsq5jh] {
    font: 700 var(--gt-base)/1 var(--font-mono, monospace);
    letter-spacing: 0.18em;
    color: var(--fd-gold-text);
}

.wt-run-acts[b-cqlllsq5jh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wt-run-go[b-cqlllsq5jh],
.wt-run-copy[b-cqlllsq5jh] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--rm-tap);
    padding: 0 12px;
    border-radius: var(--radius-md);
    font: 600 var(--gt-md)/1.2 var(--font-primary);
    text-decoration: none;
    cursor: pointer;
}

.wt-run-go[b-cqlllsq5jh] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--fd-gold-text);
}

.wt-run-copy[b-cqlllsq5jh] {
    border: 1px solid var(--rm-line-2);
    background: var(--rm-well);
    color: var(--color-text-primary);
}

.wt-run-go .material-icons[b-cqlllsq5jh],
.wt-run-copy .material-icons[b-cqlllsq5jh] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-run-state[b-cqlllsq5jh] { grid-area: state; }
.wt-run-code[b-cqlllsq5jh] { grid-area: code; }
.wt-run-tx[b-cqlllsq5jh] { grid-area: tx; }
.wt-run-acts[b-cqlllsq5jh] { grid-area: acts; flex-wrap: wrap; }

@media (pointer: coarse) {
    .wt-runs-filter button[b-cqlllsq5jh],
    .wt-run-go[b-cqlllsq5jh],
    .wt-run-copy[b-cqlllsq5jh] {
        min-height: 44px;
    }
}

@media (forced-colors: active) {
    .wt-runs-saved[b-cqlllsq5jh],
    .wt-run[b-cqlllsq5jh],
    .wt-run-state[b-cqlllsq5jh],
    .wt-runs-filter button[b-cqlllsq5jh],
    .wt-run-go[b-cqlllsq5jh],
    .wt-run-copy[b-cqlllsq5jh] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}
/* /Components/WarTable/WtPartySeats.razor.rz.scp.css */
/* WtPartySeats (WT-Party-Brief dossier): round seats, the hero's in its class ring, needed seats gold-rimmed with a plus,
   optional ones dim. Tokens only. */
.wt-seats[b-7wmtzz8dxd] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    min-width: 0;
}

.wt-seats-row[b-7wmtzz8dxd] {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-seat[b-7wmtzz8dxd] {
    --wt-seat-ring: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border-radius: 50%;
    box-sizing: border-box;
}

.wt-seat img[b-7wmtzz8dxd] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 15%;
}

.wt-seat--you[b-7wmtzz8dxd] {
    border: 2px solid var(--wt-seat-ring);
    background: var(--wt-vellum);
    color: var(--color-text-light);
}

.wt-seat--needed[b-7wmtzz8dxd] {
    border: 2px solid var(--color-primary);
    background: color-mix(in srgb, var(--color-primary-darker) 20%, transparent);
    color: var(--color-primary);
}

.wt-seat--optional[b-7wmtzz8dxd] {
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    background: color-mix(in srgb, var(--color-text-darker) 80%, transparent);
}

.wt-seat .material-icons[b-7wmtzz8dxd] {
    font-size: var(--gt-xl);
}

.wt-seat--warrior[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-warrior); }
.wt-seat--wizard[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-wizard); }
.wt-seat--ranger[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-ranger); }
.wt-seat--rogue[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-rogue); }
.wt-seat--paladin[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-paladin); }
.wt-seat--bard[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-bard); }
.wt-seat--cleric[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-cleric); }
.wt-seat--monk[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-monk); }
.wt-seat--barbarian[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-barbarian); }
.wt-seat--pirate[b-7wmtzz8dxd] { --wt-seat-ring: var(--color-pirate); }

.wt-seats-text[b-7wmtzz8dxd] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-seats-text b[b-7wmtzz8dxd] {
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 700;
    color: var(--color-text-primary);
}

.wt-seats-text small[b-7wmtzz8dxd] {
    font-size: var(--gt-sm);
    color: var(--color-text-light);
}
/* /Components/WarTable/WtPartySteps.razor.rz.scp.css */
/* WtPartySteps (WT-Party-Brief "How a party sets out"): three cards, a gold hex number each. Tokens only. */
.wt-party-steps[b-4ucn2pd605] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-party-step[b-4ucn2pd605] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--wt-vellum) 88%, transparent);
}

.wt-party-step-number[b-4ucn2pd605] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.15em;
    height: 2.46em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    color: var(--color-bg-base);
    font: 800 var(--gt-md)/1 var(--font-primary);
}

.wt-party-step-title[b-4ucn2pd605] {
    font: 700 calc(var(--gt-px) * 15)/1.25 var(--font-primary);
    letter-spacing: 0.04em;
    color: var(--color-text-primary);
}

.wt-party-step-body[b-4ucn2pd605] {
    font-size: var(--gt-md);
    line-height: 1.45;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .wt-party-steps[b-4ucn2pd605] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* /Components/WarTable/WtPay.razor.rz.scp.css */
/* WtPay (WT-Brief "What this road pays"): rarity-framed cards from the --color-rarity-* tokens (one custom property per
   card), the gold XP card, the coin card. Tokens only; canonical breakpoints only. */
.wt-pay[b-92hv83x1zy] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.wt-pay-card[b-92hv83x1zy] {
    --wt-rarity: var(--color-primary);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 12px 14px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--wt-rarity) 70%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--wt-rarity) 22%, var(--wt-vellum)) 0%, var(--wt-vellum) 58%);
    box-shadow: 0 0 26px color-mix(in srgb, var(--wt-rarity) 22%, transparent);
}

.wt-pay-head[b-92hv83x1zy] {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--wt-rarity) 75%, var(--color-text-primary));
}

.wt-pay-head span + span[b-92hv83x1zy] {
    color: var(--color-text-secondary);
    font-size: var(--gt-sm);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
}

.wt-pay-big[b-92hv83x1zy] {
    font: 800 var(--gt-4xl)/1.05 var(--font-display);
    color: var(--color-primary);
}

.wt-pay-parts[b-92hv83x1zy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: calc(var(--gt-px) * 12.5);
}

.wt-pay-part[b-92hv83x1zy] {
    color: var(--color-primary-light);
}

.wt-pay-cap[b-92hv83x1zy] {
    color: var(--color-text-light);
}

.wt-pay-card--coin[b-92hv83x1zy] {
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary-darker) 35%, var(--wt-vellum)), var(--wt-vellum) 70%);
}

.wt-pay-coin[b-92hv83x1zy] {
    font: 800 var(--gt-3xl)/1.1 var(--font-display);
    color: var(--color-primary);
}

.wt-pay-coin-label[b-92hv83x1zy] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-secondary);
}

.wt-rarity-common[b-92hv83x1zy] {
    --wt-rarity: var(--color-rarity-common);
}

.wt-rarity-uncommon[b-92hv83x1zy] {
    --wt-rarity: var(--color-rarity-uncommon);
}

.wt-rarity-rare[b-92hv83x1zy] {
    --wt-rarity: var(--color-rarity-rare);
}

.wt-rarity-epic[b-92hv83x1zy] {
    --wt-rarity: var(--color-rarity-epic);
}

.wt-rarity-legendary[b-92hv83x1zy] {
    --wt-rarity: var(--color-rarity-legendary);
}

.wt-pay-item-name[b-92hv83x1zy] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wt-pay-item-name b[b-92hv83x1zy] {
    font: 700 var(--gt-lg)/1.2 var(--font-primary);
    color: var(--color-text-primary);
}

.wt-pay-item-icon[b-92hv83x1zy] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--wt-rarity) 22%, transparent);
    color: color-mix(in srgb, var(--wt-rarity) 55%, var(--color-text-primary));
}

.wt-pay-item-stats[b-92hv83x1zy] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: var(--gt-sm);
    line-height: 1.4;
    color: var(--color-text-light);
}

.wt-pay-class[b-92hv83x1zy] {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 2em;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-warning-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-warning-dark) 35%, var(--color-bg-base));
    color: var(--color-warning-lightest);
    font-size: var(--gt-sm);
    font-weight: 700;
}

.wt-pay-class .material-icons[b-92hv83x1zy] {
    font-size: var(--gt-md);
    color: var(--color-warning-light);
}

.wt-pay-class--ok[b-92hv83x1zy] {
    border-color: color-mix(in srgb, var(--color-success-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-success-dark) 30%, var(--color-bg-base));
    color: var(--color-success-lighter);
}

.wt-pay-class--ok .material-icons[b-92hv83x1zy] {
    color: var(--color-success-light);
}

.wt-pay-card--companion[b-92hv83x1zy] {
    --wt-rarity: var(--color-success-light);
    flex-direction: row;
    align-items: center;
}

.wt-pay-card--companion .material-icons[b-92hv83x1zy] {
    font-size: calc(var(--gt-px) * 26);
    color: var(--color-success-light);
}

.wt-pay-card--companion b[b-92hv83x1zy] {
    font: 700 calc(var(--gt-px) * 15)/1.2 var(--font-primary);
    color: var(--color-text-primary);
}

@media (min-width: 480px) {
    .wt-pay[b-92hv83x1zy] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .wt-pay[b-92hv83x1zy] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
/* /Components/WarTable/WtPayLedger.razor.rz.scp.css */
/* WtPayLedger (WT-Brief dossier, "What you get"): gold lines for XP and coin, rarity-rimmed item lines. Tokens only. */
.wt-ledger[b-7yte0vujch] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.wt-ledger-title[b-7yte0vujch] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-ledger-cols[b-7yte0vujch] {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px 14px;
}

.wt-ledger-pay[b-7yte0vujch] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.wt-ledger-pay[b-7yte0vujch],
.wt-ledger-items[b-7yte0vujch] {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.wt-ledger-items[b-7yte0vujch] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wt-ledger-line[b-7yte0vujch] {
    --wt-rarity: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    min-width: 0;
    padding: 4px 10px 4px 8px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 24%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

.wt-ledger-line--gold[b-7yte0vujch] {
    border-color: color-mix(in srgb, var(--color-primary) 42%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 24%, transparent);
}

.wt-ledger-line--gold > .material-icons[b-7yte0vujch] {
    font-size: var(--gt-2xl);
    color: var(--color-primary);
}

.wt-ledger-text[b-7yte0vujch] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wt-ledger-text b[b-7yte0vujch] {
    overflow: hidden;
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 700;
    color: var(--color-text-primary);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-ledger-line--gold .wt-ledger-text b[b-7yte0vujch],
.wt-ledger-line--gold .wt-ledger-text small[b-7yte0vujch] {
    overflow: visible;
    white-space: normal;
}

.wt-ledger-line--gold .wt-ledger-text b[b-7yte0vujch] {
    color: var(--color-primary-light);
}

.wt-ledger-text small[b-7yte0vujch] {
    overflow: hidden;
    font-size: var(--gt-sm);
    color: var(--color-text-light);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wt-ledger-text em[b-7yte0vujch] {
    font-size: var(--gt-sm);
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--wt-rarity) 75%, var(--color-text-primary));
}

.wt-ledger-item[b-7yte0vujch] {
    border-color: color-mix(in srgb, var(--wt-rarity) 55%, transparent);
    background: linear-gradient(90deg, color-mix(in srgb, var(--wt-rarity) 16%, transparent), color-mix(in srgb, var(--color-bg-base) 60%, transparent));
}

.wt-ledger-item .wt-ledger-text b[b-7yte0vujch] {
    font-family: var(--font-primary);
    font-size: var(--gt-md);
}

.wt-ledger-icon[b-7yte0vujch] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--wt-rarity) 26%, var(--color-bg-base));
    color: color-mix(in srgb, var(--wt-rarity) 55%, var(--color-text-primary));
}

.wt-ledger-class[b-7yte0vujch] {
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    font-weight: 700;
    color: var(--color-warning-lightest);
}

.wt-ledger-class--ok[b-7yte0vujch] {
    color: var(--color-success-lighter);
}

.wt-ledger-more[b-7yte0vujch] {
    justify-content: center;
    min-height: 2.5em;
    border-style: dashed;
    font-size: var(--gt-sm);
    font-weight: 600;
    color: var(--color-text-light);
}

.wt-ledger-companion > .material-icons[b-7yte0vujch] {
    font-size: var(--gt-2xl);
    color: var(--color-success-light);
}

.wt-rarity-common[b-7yte0vujch] {
    --wt-rarity: var(--color-rarity-common);
}

.wt-rarity-uncommon[b-7yte0vujch] {
    --wt-rarity: var(--color-rarity-uncommon);
}

.wt-rarity-rare[b-7yte0vujch] {
    --wt-rarity: var(--color-rarity-rare);
}

.wt-rarity-epic[b-7yte0vujch] {
    --wt-rarity: var(--color-rarity-epic);
}

.wt-rarity-legendary[b-7yte0vujch] {
    --wt-rarity: var(--color-rarity-legendary);
}

@media (min-width: 768px) {
    .wt-ledger-cols[b-7yte0vujch] {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    }

    .wt-ledger-pay[b-7yte0vujch] {
        display: flex;
        flex-direction: column;
    }
}
/* /Components/WarTable/WtPeek.razor.rz.scp.css */
/* WtPeek: a card under the phone's chart (the kit's peek sheet). Tokens only. */
.wt-peek[b-o6a9o5s1y3] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 16px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--tint) 45%, transparent);
    background: var(--fd-card);
    color: var(--fd-text);
}

/* Focus moves here when a pin opens the peek: a ring only for a keyboard (the section itself is not a control). */
.wt-peek:focus:not(:focus-visible)[b-o6a9o5s1y3] {
    outline: none;
}

.wt-peek:focus-visible[b-o6a9o5s1y3] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

.wt-peek-head[b-o6a9o5s1y3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wt-peek-region[b-o6a9o5s1y3],
.wt-peek-premium[b-o6a9o5s1y3] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 2.33em;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--tint) 55%, transparent);
    background: color-mix(in srgb, var(--wt-vellum-deep) 72%, transparent);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-peek-region .material-icons[b-o6a9o5s1y3] {
    font-size: var(--gt-lg);
    color: var(--tint);
}

.wt-peek-premium[b-o6a9o5s1y3] {
    border-color: color-mix(in srgb, var(--wt-pin-premium) 60%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 18%, transparent);
    color: var(--color-monk-lightest);
}

.wt-peek-premium .material-icons[b-o6a9o5s1y3] {
    font-size: var(--gt-base);
}

.wt-peek-close[b-o6a9o5s1y3] {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: none;
    color: var(--fd-text-3);
    cursor: pointer;
}

.wt-peek-title[b-o6a9o5s1y3] {
    margin: 0;
    font: 800 calc(var(--gt-px) * 19) / 1.15 var(--fd-font-display);
    color: var(--fd-cream);
}

.wt-peek-meta[b-o6a9o5s1y3] {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-peek-meta li + li[b-o6a9o5s1y3]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px;
    border-radius: 50%;
    background: var(--fd-text-5);
    vertical-align: middle;
}

.wt-peek-info[b-o6a9o5s1y3] {
    display: flex;
    gap: 6px;
    margin: 0;
    font: 500 calc(var(--gt-px) * 12.5) / 1.45 var(--font-primary);
    color: var(--fd-text-2);
}

.wt-peek-info .material-icons[b-o6a9o5s1y3] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-monk-lightest);
}

.wt-peek-actions[b-o6a9o5s1y3] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wt-peek-close:focus-visible[b-o6a9o5s1y3] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}
/* /Components/WarTable/WtPin.razor.rz.scp.css */
/* WtPin: a hex by state with its plate (the map system's pin language, 3a M8). Every size is in the chart's box units
   (--u, set by WtRealmChart) times --k (1, or 44/36 on touch tiers), so pins and plates scale with the box exactly as
   the builder laid them out. Tokens only. */
.wt-pin[b-v7qmcqxywg] {
    --hw: 34;
    --hh: 39;
    position: absolute;
    z-index: 4;
    width: 0;
    height: 0;
    color: inherit;
    text-decoration: none;
}

.wt-pin[b-v7qmcqxywg]::before {
    /* the touch target: at least 44 px round the hex */
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: max(44px, calc(var(--u, 1px) * 44 * var(--k, 1)));
    height: max(44px, calc(var(--u, 1px) * 44 * var(--k, 1)));
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.wt-hex[b-v7qmcqxywg] {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--u, 1px) * var(--hw) * var(--k, 1));
    height: calc(var(--u, 1px) * var(--hh) * var(--k, 1));
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
}

.wt-hex[b-v7qmcqxywg]::before {
    content: '';
    position: absolute;
    inset: calc(var(--u, 1px) * 2 * var(--k, 1));
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-vellum);
}

.wt-hex .material-icons[b-v7qmcqxywg] {
    position: relative;
    z-index: 1;
    font-size: calc(var(--u, 1px) * 18 * var(--k, 1));
    color: var(--color-primary);
}

.wt-pin--run .wt-hex[b-v7qmcqxywg] {
    background: var(--fd-gold-grad);
}

.wt-pin--run .wt-hex[b-v7qmcqxywg]::before,
.wt-pin--walked .wt-hex[b-v7qmcqxywg]::before {
    display: none;
}

.wt-pin--run .wt-hex .material-icons[b-v7qmcqxywg],
.wt-pin--walked .wt-hex .material-icons[b-v7qmcqxywg] {
    color: var(--fd-on-gold);
}

.wt-pin--party .wt-hex[b-v7qmcqxywg] {
    background: var(--wt-pin-party);
}

.wt-pin--party .wt-hex .material-icons[b-v7qmcqxywg] {
    color: var(--color-info-lighter);
}

.wt-pin--walked[b-v7qmcqxywg] {
    --hw: 28;
    --hh: 32;
}

.wt-pin--walked .wt-hex[b-v7qmcqxywg] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
}

.wt-pin--walked .wt-hex .material-icons[b-v7qmcqxywg] {
    font-size: calc(var(--u, 1px) * 16 * var(--k, 1));
}

.wt-pin--soon[b-v7qmcqxywg] {
    --hw: 26;
    --hh: 30;
}

.wt-pin--soon .wt-hex[b-v7qmcqxywg] {
    background: var(--wt-pin-soon);
}

.wt-pin--soon .wt-hex[b-v7qmcqxywg]::before {
    background: color-mix(in srgb, var(--wt-vellum-deep) 70%, var(--wt-land));
}

.wt-pin--soon .wt-hex .material-icons[b-v7qmcqxywg] {
    font-size: calc(var(--u, 1px) * 14 * var(--k, 1));
    color: var(--color-text-light);
}

.wt-pin--premium[b-v7qmcqxywg] {
    --hw: 30;
    --hh: 34;
}

.wt-pin--premium .wt-hex[b-v7qmcqxywg] {
    background: var(--wt-pin-premium);
}

.wt-pin--premium .wt-hex[b-v7qmcqxywg]::before {
    background: color-mix(in srgb, var(--wt-pin-premium) 14%, var(--wt-vellum-deep));
}

.wt-pin--premium .wt-hex .material-icons[b-v7qmcqxywg] {
    font-size: calc(var(--u, 1px) * 16 * var(--k, 1));
    color: var(--color-monk-lightest);
}

.wt-pin--ghost[b-v7qmcqxywg] {
    --hw: 16;
    --hh: 18;
    z-index: 3;
}

.wt-pin--ghost .wt-hex[b-v7qmcqxywg] {
    background: color-mix(in srgb, var(--color-text-light) 42%, transparent);
}

.wt-pin--ghost .wt-hex[b-v7qmcqxywg]::before {
    inset: calc(var(--u, 1px) * 1.5);
    background: var(--wt-vellum-deep);
}

.wt-pin-number[b-v7qmcqxywg] {
    position: relative;
    z-index: 1;
    font: 700 calc(var(--u, 1px) * 8.5) / 1 var(--font-primary);
    color: var(--color-text-light);
}

.wt-pin-ring[b-v7qmcqxywg] {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--u, 1px) * 50 * var(--k, 1));
    height: calc(var(--u, 1px) * 54 * var(--k, 1));
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 60%, transparent), 0 0 22px 4px color-mix(in srgb, var(--color-primary) 35%, transparent);
    pointer-events: none;
    animation: wt-pin-ring-b-v7qmcqxywg 2.4s ease-out 1;
}

@keyframes wt-pin-ring-b-v7qmcqxywg {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
    60% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.wt-pin-flag[b-v7qmcqxywg] {
    position: absolute;
    z-index: 2;
    left: calc(var(--u, 1px) * 7 * var(--k, 1));
    top: calc(var(--u, 1px) * -27 * var(--k, 1));
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--u, 1px) * 20 * var(--k, 1));
    height: calc(var(--u, 1px) * 20 * var(--k, 1));
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--fd-on-gold);
}

.wt-pin-flag .material-icons[b-v7qmcqxywg] {
    font-size: calc(var(--u, 1px) * 12 * var(--k, 1));
}

.wt-pin-flag--boss[b-v7qmcqxywg] {
    background: var(--fd-bad-deep);
    border: 1.5px solid var(--fd-bad);
}

.wt-pin-flag--boss .material-icons[b-v7qmcqxywg] {
    color: var(--fd-bad-ink);
}

.wt-pin-flag--star[b-v7qmcqxywg] {
    left: calc(var(--u, 1px) * -27 * var(--k, 1));
    background: var(--fd-gold-grad);
}

.wt-pin-flag--star .material-icons[b-v7qmcqxywg] {
    color: var(--fd-on-gold);
}

.wt-pin-plate[b-v7qmcqxywg] {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    /* The builder sizes a plate as its text plus 10 px a side (pins.plate_size, measured in Chromium), and that 10 is
       the board's 9 px of padding plus its 1 px border: padding here is 10 less the border and a half pixel of
       rounding, so the name fits its plate whole instead of ending in an ellipsis. */
    padding: 0 calc(var(--u, 1px) * 10 * var(--k, 1) - 1.5px);
    border-radius: calc(var(--u, 1px) * 8 * var(--k, 1));
    background: var(--wt-plate);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--fd-shadow-ink) 50%, transparent);
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

.wt-pin-plate b[b-v7qmcqxywg] {
    font: 700 calc(var(--u, 1px) * 12.5 * var(--k, 1)) / 1.2 var(--fd-font-display);
    letter-spacing: .02em;
    color: var(--fd-cream);
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-pin-plate small[b-v7qmcqxywg] {
    font: 600 calc(var(--u, 1px) * 11 * var(--k, 1)) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-pin--run .wt-pin-plate[b-v7qmcqxywg] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.wt-pin--run .wt-pin-plate small[b-v7qmcqxywg] {
    color: var(--fd-gold-soft);
}

.wt-pin--party .wt-pin-plate[b-v7qmcqxywg] {
    border-color: color-mix(in srgb, var(--color-info-light) 50%, transparent);
}

.wt-pin--party .wt-pin-plate small[b-v7qmcqxywg] {
    color: var(--color-info-lightest);
}

.wt-pin--walked .wt-pin-plate[b-v7qmcqxywg],
.wt-pin--soon .wt-pin-plate[b-v7qmcqxywg] {
    background: color-mix(in srgb, var(--wt-vellum-deep) 80%, transparent);
    border-color: color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
}

.wt-pin--soon .wt-pin-plate[b-v7qmcqxywg] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
}

.wt-pin--walked .wt-pin-plate b[b-v7qmcqxywg],
.wt-pin--soon .wt-pin-plate b[b-v7qmcqxywg] {
    color: var(--fd-text-2);
}

.wt-pin--soon .wt-pin-plate b[b-v7qmcqxywg] {
    font-size: calc(var(--u, 1px) * 11.5 * var(--k, 1));
}

.wt-pin--premium .wt-pin-plate[b-v7qmcqxywg] {
    border-color: color-mix(in srgb, var(--wt-pin-premium) 45%, transparent);
}

.wt-pin--premium .wt-pin-plate small[b-v7qmcqxywg] {
    color: var(--color-monk-lightest);
}

.wt-pin:focus-visible[b-v7qmcqxywg] {
    z-index: 7;
    outline: none;
}

.wt-pin:focus-visible[b-v7qmcqxywg]::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: calc(var(--u, 1px) * 46 * var(--k, 1));
    height: calc(var(--u, 1px) * 50 * var(--k, 1));
    transform: translate(-50%, -50%);
    border-radius: 12px;
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
    pointer-events: none;
}

.wt-pin:focus-visible .wt-pin-plate[b-v7qmcqxywg] {
    border-color: var(--fd-text);
}

@media (hover: hover) {
    .wt-pin:hover .wt-pin-plate[b-v7qmcqxywg] {
        border-color: color-mix(in srgb, var(--color-primary) 80%, transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-pin-ring[b-v7qmcqxywg] {
        animation: none;
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}

/* A walked road on a crowded table is a small seal with no plate (WT-Hub-High); its link and name stay whole. */
/* A walked seal on a crowded table sits under the live pins: a live plate may cover a seal, never the other way
   round (WT-Hub-High note 1). */
.wt-pin.is-stamp[b-v7qmcqxywg] {
    --hw: 24;
    --hh: 28;
    z-index: 3;
}

.wt-pin.is-stamp .wt-hex .material-icons[b-v7qmcqxywg] {
    font-size: calc(var(--u, 1px) * 13 * var(--k, 1));
}
/* /Components/WarTable/WtReadiness.razor.rz.scp.css */
/* WtReadiness: the grade on a hex (green A-B, amber C-D, red E-F), the tip and its fix. Tokens only. */
.wt-readiness[b-payynyvvjy] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wt-readiness-grade[b-payynyvvjy] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 52px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    font: 900 calc(var(--gt-px) * 22)/1 var(--font-display);
    background: linear-gradient(180deg, var(--color-warning-lightest), var(--color-warning-dark));
    color: var(--color-bg-base);
}

.wt-readiness-grade--a[b-payynyvvjy],
.wt-readiness-grade--b[b-payynyvvjy] {
    background: linear-gradient(180deg, var(--color-success-lighter), var(--color-success-dark));
}

.wt-readiness-grade--e[b-payynyvvjy],
.wt-readiness-grade--f[b-payynyvvjy] {
    background: linear-gradient(180deg, var(--color-danger-lighter), var(--color-danger-dark));
    color: var(--color-text-primary);
}

.wt-readiness--compact .wt-readiness-grade[b-payynyvvjy] {
    width: 36px;
    height: 41px;
    font-size: var(--gt-xl);
}

.wt-readiness-text[b-payynyvvjy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-readiness-label[b-payynyvvjy] {
    font: 800 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-readiness-label b[b-payynyvvjy] {
    margin-left: 4px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
}

.wt-readiness-tip[b-payynyvvjy] {
    font-size: var(--gt-md);
    line-height: 1.35;
    color: var(--color-text-lighter);
}

.wt-readiness-note[b-payynyvvjy] {
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.4;
    color: var(--color-text-secondary);
}

.wt-readiness-fix[b-payynyvvjy] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-height: 36px;
    color: var(--color-primary-light);
    font-size: var(--gt-md);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.wt-readiness-fix .material-icons[b-payynyvvjy] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-readiness-fix:hover[b-payynyvvjy] {
    text-decoration: underline;
}

.wt-readiness-fix:focus-visible[b-payynyvvjy] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

@media (pointer: coarse) {
    .wt-readiness-fix[b-payynyvvjy] {
        min-height: 44px;
    }
}
/* /Components/WarTable/WtRealmChart.razor.rz.scp.css */
/* WtRealmChart: the table, a chart panel with a gilt frame (WT-Hub-*, WT-Map-Realm-*). The box keeps its layout's
   aspect; --u (set inline on the stage: the box's width over the design width, a container unit) sizes everything
   inside, so a plate, a panel or a button lands where the builder put it at any width. Tokens only; canonical
   breakpoints only. */
.wt-chart[b-eywy4awxbc] {
    position: relative;
    container-type: inline-size;
    width: 100%;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    background: var(--wt-vellum-deep);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--color-primary) 28%, transparent),
        0 0 0 6px color-mix(in srgb, var(--color-bg-base) 90%, transparent),
        0 0 0 7px color-mix(in srgb, var(--color-primary) 16%, transparent),
        0 30px 70px color-mix(in srgb, var(--fd-shadow-ink) 60%, transparent);
}

.wt-chart:not([style])[b-eywy4awxbc] {
    aspect-ratio: 852 / 528;
}

.wt-chart-stage[b-eywy4awxbc] {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wt-chart-stage[b-eywy4awxbc]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 60%, color-mix(in srgb, var(--wt-vellum-deep) 55%, transparent) 100%);
}

.wt-realm-chart-art[b-eywy4awxbc] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    pointer-events: none;
    user-select: none;
}

.is-unlit .wt-realm-chart-art[b-eywy4awxbc] {
    filter: saturate(.7) brightness(.82);
}

.wt-chart-svg[b-eywy4awxbc] {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wt-wash[b-eywy4awxbc] {
    fill-opacity: .22;
}

.wt-trail-glow[b-eywy4awxbc] {
    fill: none;
    stroke: var(--color-primary);
    stroke-opacity: .3;
    stroke-width: 7;
    stroke-linecap: round;
}

.wt-trail-line[b-eywy4awxbc] {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2.4;
    stroke-linecap: round;
}

.wt-trail-dot[b-eywy4awxbc] {
    fill: var(--color-primary);
    stroke: var(--color-primary-darker);
    stroke-width: 1;
}

.wt-trail-ahead[b-eywy4awxbc] {
    fill: none;
    stroke: var(--wt-ink);
    stroke-opacity: .8;
    stroke-width: 1.6;
    stroke-dasharray: 2 3;
}

.wt-trail-next[b-eywy4awxbc] {
    fill: var(--color-bg-base);
    stroke: var(--color-text-light);
    stroke-width: 1.2;
}

/* The chart's names are built in code (a Razor text element is reserved), so they carry no scope attribute: ::deep. */
.wt-chart-svg[b-eywy4awxbc]  .wt-region-name {
    font-family: var(--fd-font-display);
    font-weight: 700;
    fill: var(--fd-cream-2);
    fill-opacity: .4;
    stroke: var(--wt-vellum-deep);
    stroke-opacity: .7;
    stroke-width: 3;
    paint-order: stroke;
}

.wt-chart-svg[b-eywy4awxbc]  .wt-region-name.is-lit {
    fill-opacity: .86;
}

.wt-chart-svg[b-eywy4awxbc]  .wt-place {
    font-family: var(--fd-font-voice);
    font-style: italic;
    fill: var(--color-text-light);
    fill-opacity: .85;
    stroke: var(--wt-vellum-deep);
    stroke-opacity: .7;
    stroke-width: 2.5;
    paint-order: stroke;
}

.wt-chart-svg[b-eywy4awxbc]  .wt-sea {
    font-family: var(--fd-font-voice);
    font-style: italic;
    fill: color-mix(in srgb, var(--color-text-secondary) 80%, var(--color-info-lighter));
    fill-opacity: .6;
}

.wt-chart-svg[b-eywy4awxbc]  .wt-dim-note {
    font-family: var(--font-primary);
    font-weight: 600;
    fill: var(--color-text-light);
    stroke: var(--wt-vellum-deep);
    stroke-opacity: .85;
    stroke-width: 3;
    paint-order: stroke;
}

.wt-chart-pins[b-eywy4awxbc] {
    position: absolute;
    inset: 0;
    z-index: 4;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-chart-pins > li[b-eywy4awxbc] {
    display: contents;
}

.wt-chart-frame[b-eywy4awxbc] {
    position: absolute;
    inset: calc(var(--u, 1px) * 8);
    z-index: 3;
    border: 1px solid color-mix(in srgb, var(--wt-ink) 22%, transparent);
    border-radius: 10px;
    pointer-events: none;
}

.wt-chart-frame i[b-eywy4awxbc] {
    position: absolute;
    width: calc(var(--u, 1px) * 28);
    height: calc(var(--u, 1px) * 28);
    border-color: color-mix(in srgb, var(--wt-ink) 70%, transparent);
    border-style: solid;
    border-width: 0;
}

.wt-chart-frame .c0[b-eywy4awxbc] { left: -4px; top: -4px; border-left-width: 1.4px; border-top-width: 1.4px; }
.wt-chart-frame .c1[b-eywy4awxbc] { right: -4px; top: -4px; border-right-width: 1.4px; border-top-width: 1.4px; }
.wt-chart-frame .c2[b-eywy4awxbc] { right: -4px; bottom: -4px; border-right-width: 1.4px; border-bottom-width: 1.4px; }
.wt-chart-frame .c3[b-eywy4awxbc] { left: -4px; bottom: -4px; border-left-width: 1.4px; border-bottom-width: 1.4px; }

.wt-compass[b-eywy4awxbc] {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: .95;
}

.wt-compass svg[b-eywy4awxbc] {
    width: 100%;
    height: 100%;
}

.wt-compass-ring[b-eywy4awxbc] {
    fill: none;
    stroke: var(--wt-ink);
    stroke-opacity: .4;
}

.wt-compass-star[b-eywy4awxbc] {
    fill: var(--color-bg-base);
    stroke: var(--wt-ink);
    stroke-opacity: .85;
}

.wt-compass-needle[b-eywy4awxbc] {
    fill: var(--wt-ink);
    fill-opacity: .85;
}

.wt-compass-n[b-eywy4awxbc] {
    font: 700 var(--gt-sm) var(--font-primary);
    fill: var(--wt-ink);
}

.wt-mini[b-eywy4awxbc] {
    position: absolute;
    z-index: 3;
    width: calc(var(--u, 1px) * 10);
    height: calc(var(--u, 1px) * 12);
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-ink);
}

.wt-mini--party[b-eywy4awxbc] { background: var(--wt-pin-party); }
.wt-mini--soon[b-eywy4awxbc] { background: var(--wt-pin-soon); }
.wt-mini--walked[b-eywy4awxbc] { background: var(--color-primary-darker); }
.wt-mini--premium[b-eywy4awxbc] { background: var(--wt-pin-premium); }

.wt-region-note[b-eywy4awxbc] {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: calc(var(--u, 1px) * 4);
    padding: calc(var(--u, 1px) * 3) calc(var(--u, 1px) * 9) calc(var(--u, 1px) * 3) calc(var(--u, 1px) * 7);
    transform: translate(-50%, -50%);
    border-radius: calc(var(--u, 1px) * 8);
    background: color-mix(in srgb, var(--wt-vellum-deep) 86%, transparent);
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 55%, transparent);
    color: var(--fd-text-2);
    font: 600 calc(var(--u, 1px) * 11.5) / 1.2 var(--font-primary);
    white-space: nowrap;
}

.wt-region-note .material-icons[b-eywy4awxbc] {
    font-size: calc(var(--u, 1px) * 13);
    color: var(--color-warning-light);
}

.wt-chart-hint[b-eywy4awxbc] {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 16px;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    background: color-mix(in srgb, var(--wt-vellum-deep) 90%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    color: var(--fd-text);
    font: 600 var(--gt-base) / 1.3 var(--font-primary);
    white-space: nowrap;
}

.wt-chart-hint .material-icons[b-eywy4awxbc] {
    font-size: var(--gt-2xl);
    color: var(--color-primary);
}

.wt-bubble[b-eywy4awxbc] {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 44px;
    padding: 0 12px 0 9px;
    transform: translate(-50%, -50%);
    border-radius: 22px;
    border: 1.5px solid color-mix(in srgb, var(--tint) 70%, transparent);
    background: color-mix(in srgb, var(--wt-vellum-deep) 90%, transparent);
    color: var(--fd-cream);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--fd-shadow-ink) 50%, transparent);
    font: inherit;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
}

.wt-bubble .material-icons[b-eywy4awxbc] {
    font-size: var(--gt-xl);
    color: var(--tint);
}

.wt-bubble b[b-eywy4awxbc] {
    font: 800 calc(var(--gt-px) * 15) / 1 var(--font-primary);
}

.wt-bubble small[b-eywy4awxbc] {
    font: 600 var(--gt-sm) / 1.05 var(--font-primary);
    color: var(--fd-text-3);
    max-width: 64px;
    white-space: normal;
}

.wt-bubble-premium[b-eywy4awxbc] {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin-left: 4px;
    padding: 1px 5px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--wt-pin-premium) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--wt-pin-premium) 60%, transparent);
    font: 700 var(--gt-sm) / 1 var(--font-primary);
    color: var(--color-monk-lightest);
}

.wt-bubble-premium .material-icons[b-eywy4awxbc] {
    font-size: var(--gt-sm);
    color: var(--color-monk-lightest);
}

.wt-edge-chip[b-eywy4awxbc] {
    position: absolute;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 44px;
    padding: 0 12px 0 8px;
    transform: translate(-50%, -50%);
    border-radius: 22px;
    background: color-mix(in srgb, var(--wt-vellum-deep) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-light) 45%, transparent);
    color: var(--fd-text-2);
    font: 600 var(--gt-sm) / 1.15 var(--font-primary);
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
}

.wt-edge-chip .material-icons[b-eywy4awxbc] {
    font-size: var(--gt-2xl);
    color: var(--wt-ink);
}

.wt-edge-chip b[b-eywy4awxbc],
.wt-edge-chip small[b-eywy4awxbc] {
    display: block;
}

.wt-edge-chip small[b-eywy4awxbc] {
    font-size: var(--gt-sm);
    font-weight: 500;
    color: var(--fd-text-3);
}

.wt-chart-panel[b-eywy4awxbc] {
    position: absolute;
    z-index: 6;
    /* The panels (the cartouche, the key, the first-visit guide) are in em of this: in chart units on a large chart, never
       under 16px (so their smallest words, .75em, keep the 12px floor) and growing with the text size (readable game
       text). A taller panel scrolls inside its box (the cartouche's rows). */
    font-size: max(var(--gt-lg), calc(var(--u, 1px) * 16));
}

/* The cartouche never runs into the key or past the frame: it draws at its content's height up to the builder's box
   (the panel's max-height, sized for its rows with room to spare), and only a list longer than the room above the key
   scrolls its rows inside it, on a thin gold scrollbar. Never sideways: the rows fill their list exactly. */
.wt-chart-panel--cartouche[b-eywy4awxbc] {
    display: flex;
    flex-direction: column;
}

.wt-chart-panel--cartouche[b-eywy4awxbc]  .wt-cartouche {
    min-height: 0;
    box-sizing: border-box;
}

.wt-chart-panel--cartouche[b-eywy4awxbc]  .wt-cartouche-rows {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--color-primary) 40%, transparent) transparent;
}

/* A scroller clips what lies past its edge, so a focused row's ring is drawn inside the row. The extra .wt-cartouche
   class outranks WtCartouche's own focus rule, so this does not depend on the order the bundle puts the two files in. */
.wt-chart-panel--cartouche[b-eywy4awxbc]  .wt-cartouche .wt-cart-row:focus-visible,
.wt-chart-panel--cartouche[b-eywy4awxbc]  .wt-cartouche .wt-cart-road:focus-visible {
    outline-offset: -3px;
}

.wt-chart-tools[b-eywy4awxbc] {
    position: absolute;
    right: calc(var(--u, 1px) * 12);
    top: calc(var(--u, 1px) * 12);
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: calc(var(--u, 1px) * 6);
}

.wt-tool[b-eywy4awxbc] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--u, 1px) * 36);
    height: calc(var(--u, 1px) * 36);
    padding: 0;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    background: color-mix(in srgb, var(--wt-vellum-deep) 86%, transparent);
    color: var(--fd-text-2);
    cursor: pointer;
    touch-action: manipulation;
}

.wt-tool .material-icons[b-eywy4awxbc] {
    font-size: calc(var(--u, 1px) * 19);
}

.wt-tool:disabled[b-eywy4awxbc] {
    opacity: .4;
    cursor: default;
}

.is-touch .wt-chart-tools[b-eywy4awxbc] {
    right: 10px;
    top: 10px;
}

.is-touch .wt-tool[b-eywy4awxbc] {
    width: 44px;
    height: 44px;
    border-radius: 11px;
}

.is-touch .wt-tool .material-icons[b-eywy4awxbc] {
    font-size: calc(var(--gt-px) * 21);
}

.wt-chart--phone .wt-chart-tools[b-eywy4awxbc] {
    top: auto;
    bottom: 8px;
    right: 8px;
}

.wt-tool--list[b-eywy4awxbc] {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 6;
}

.wt-key-button[b-eywy4awxbc],
.wt-cart-chip[b-eywy4awxbc],
.wt-zoom-label[b-eywy4awxbc] {
    position: absolute;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.wt-key-button[b-eywy4awxbc] {
    right: calc(var(--u, 1px) * 12);
    bottom: calc(var(--u, 1px) * 12);
    height: calc(var(--u, 1px) * 40);
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    background: color-mix(in srgb, var(--wt-vellum-deep) 88%, transparent);
    color: var(--fd-text-2);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
}

.wt-key-button .material-icons[b-eywy4awxbc] {
    font-size: calc(var(--gt-px) * 19);
    color: var(--wt-ink);
}

.wt-cart-chip[b-eywy4awxbc] {
    left: 8px;
    bottom: 22px;
    height: 44px;
    padding: 0 12px;
    border-radius: 22px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--wt-vellum-deep) 92%, transparent);
    color: var(--fd-gold-soft);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    cursor: pointer;
    touch-action: manipulation;
}

.wt-cart-chip .material-icons[b-eywy4awxbc] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--color-primary);
}

.wt-cart-chip i[b-eywy4awxbc] {
    font-style: normal;
    font-weight: 800;
    color: var(--fd-cream);
}

.wt-zoom-label[b-eywy4awxbc] {
    left: 8px;
    bottom: 8px;
    height: 2.67em;
    padding: 0 10px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--wt-vellum-deep) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
    color: var(--fd-text-3);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
}

.wt-zoom-label .material-icons[b-eywy4awxbc] {
    font-size: var(--gt-xl);
    color: var(--wt-ink);
}

.wt-zoom-label b[b-eywy4awxbc] {
    color: var(--fd-text);
}

.wt-chart-sheet[b-eywy4awxbc] {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 8;
    width: min(300px, calc(100% - 76px));
    max-height: calc(100% - 20px);
    overflow: auto;
    font-size: var(--gt-lg);
}

.wt-chart-sheet--cartouche[b-eywy4awxbc] {
    top: 10px;
    bottom: auto;
}

.wt-tool:focus-visible[b-eywy4awxbc],
.wt-bubble:focus-visible[b-eywy4awxbc],
.wt-edge-chip:focus-visible[b-eywy4awxbc],
.wt-key-button:focus-visible[b-eywy4awxbc],
.wt-cart-chip:focus-visible[b-eywy4awxbc] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (hover: hover) {
    .wt-tool:not(:disabled):hover[b-eywy4awxbc],
    .wt-key-button:hover[b-eywy4awxbc],
    .wt-edge-chip:hover[b-eywy4awxbc] {
        border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
        color: var(--fd-cream);
    }
}

@media (max-width: 480px) {
    .wt-chart[b-eywy4awxbc] {
        border-radius: 14px;
    }
}
/* /Components/WarTable/WtRecommendedCard.razor.rz.scp.css */
/* WtRecommendedCard: the kit's a-stage hb-rec: the art under a left shade, the copy on the left. Tokens only. */
.wt-rec[b-dsarvef7po] {
    position: relative;
    display: block;
    width: 100%;
    min-height: 286px;
    overflow: hidden;
    isolation: isolate;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
    background: var(--fd-art-well);
    color: var(--fd-text);
    text-decoration: none;
}

.wt-rec.is-compact[b-dsarvef7po] {
    min-height: 0;
}

.wt-rec-art[b-dsarvef7po] {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 45%;
}

.wt-rec-shade[b-dsarvef7po] {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--color-bg-base) 92%, transparent) 100%), linear-gradient(90deg, color-mix(in srgb, var(--color-bg-base) 95%, transparent) 0%, color-mix(in srgb, var(--color-bg-base) 80%, transparent) 55%, color-mix(in srgb, var(--color-bg-base) 45%, transparent) 100%);
}

.wt-rec.is-compact .wt-rec-shade[b-dsarvef7po] {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-base) 35%, transparent) 0%, color-mix(in srgb, var(--color-bg-base) 96%, transparent) 55%);
}

.wt-rec-body[b-dsarvef7po] {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    min-height: inherit;
    max-width: 640px;
    padding: 24px 30px;
    box-sizing: border-box;
}

.wt-rec.is-compact .wt-rec-body[b-dsarvef7po] {
    padding: 80px 16px 18px;
}

.wt-rec-eyebrow[b-dsarvef7po] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font: 700 var(--gt-sm) / 1.2 var(--font-primary);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-rec-eyebrow .material-icons[b-dsarvef7po] {
    font-size: var(--gt-xl);
    color: var(--color-primary);
}

.wt-rec-dot[b-dsarvef7po] {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fd-text-5);
}

.wt-rec-detail[b-dsarvef7po] {
    font: 500 var(--gt-md) / 1.2 var(--font-primary);
    letter-spacing: 0;
    text-transform: none;
    color: var(--fd-text-2);
}

.wt-rec-title[b-dsarvef7po] {
    font: 800 calc(var(--gt-px) * 30) / 1.1 var(--fd-font-display);
    color: var(--fd-cream);
}

.wt-rec.is-compact .wt-rec-title[b-dsarvef7po] {
    font-size: calc(var(--gt-px) * 22);
}

.wt-rec-meta[b-dsarvef7po] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
    font: 500 var(--gt-md) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-rec-meta > span[b-dsarvef7po] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wt-rec-meta > span + span[b-dsarvef7po]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 10px;
    border-radius: 50%;
    background: var(--fd-text-5);
}

.wt-rec-meta .material-icons[b-dsarvef7po] {
    font-size: var(--gt-lg);
    color: var(--fd-text-4);
}

.wt-rec-teaser[b-dsarvef7po] {
    font: italic 400 calc(var(--gt-px) * 17) / 1.38 var(--fd-font-voice);
    color: var(--fd-cream-2);
}

.wt-rec-chips[b-dsarvef7po],
.wt-rec-foot[b-dsarvef7po] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.wt-rec-pay-label[b-dsarvef7po] {
    font: 500 calc(var(--gt-px) * 12.5) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-rec:focus-visible[b-dsarvef7po] {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

@media (hover: hover) {
    .wt-rec:hover[b-dsarvef7po] {
        border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    }
}
/* /Components/WarTable/WtRegionalChart.razor.rz.scp.css */
/* WtRegionalChart (Docs/LRPG_WAR_TABLE.md 7.2, the map system's routes.render): gold ink on navy vellum, tokens only.
   One layer (the art plus the road overlay) is moved per tier by custom properties RegionalChartLayout writes: --art-{t}-*
   on the layer, --pl-{t}-* on each node's plate, --box-{t}-w / -h on the box (its host's box for that tier: the brief,
   the road and the hand-back each lay the chart into their own column), t = p (phone), b (480 band), l (a phone held
   sideways), m (960), w (1280). The box keeps each tier's aspect, so percent placement is exact. A plate is laid out in
   box px (unitless numbers) and drawn at --rc-px a box px: 1px, or less when the column is narrower than the box, so a
   plate scales with the chart instead of running off its edge (live check, 19 Oct). Canonical breakpoints only. */
.wt-rc[b-u8ozsvmlx8] {
    margin: 0;
    min-width: 0;
}

.wt-rc-box[b-u8ozsvmlx8] {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    /* The plates' scale: one box px as drawn (container units resolve where a plate uses it, against this box). */
    container-type: inline-size;
    --rc-tw: var(--box-p-w, 390);
    --rc-px: min(1px, 100cqw / var(--rc-tw));
    aspect-ratio: var(--box-p-w, 390) / var(--box-p-h, 270);
    border-radius: 16px;
    background: var(--wt-vellum-deep);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--color-primary) 28%, transparent),
        0 0 0 6px color-mix(in srgb, var(--color-bg-base) 90%, transparent),
        0 0 0 7px color-mix(in srgb, var(--color-primary) 16%, transparent),
        0 30px 70px color-mix(in srgb, var(--wt-vellum-deep) 60%, transparent);
}

/* The vignette over the art and road, under the nodes. */
.wt-rc-box[b-u8ozsvmlx8]::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 60%, color-mix(in srgb, var(--wt-vellum-deep) 55%, transparent) 100%);
}

.wt-rc-layer[b-u8ozsvmlx8] {
    position: absolute;
    left: var(--art-p-l);
    top: var(--art-p-t);
    width: var(--art-p-w);
    height: var(--art-p-h);
}

.wt-rc-art[b-u8ozsvmlx8] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: wt-rc-fade-b-u8ozsvmlx8 240ms ease-out;
}

.wt-rc-overlay[b-u8ozsvmlx8] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

/* ---- Live names (never baked into the art; written as markup, so reached through ::deep) ---- */
.wt-rc-overlay[b-u8ozsvmlx8]  .wt-rc-name {
    paint-order: stroke;
    stroke: var(--wt-vellum-deep);
    stroke-linejoin: round;
}

.wt-rc-overlay[b-u8ozsvmlx8]  .wt-rc-name--title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.3em;
    fill: color-mix(in srgb, var(--color-primary-light) 35%, var(--color-text-primary));
    fill-opacity: 0.82;
    stroke-width: 4px;
    stroke-opacity: 0.8;
}

.wt-rc-overlay[b-u8ozsvmlx8]  .wt-rc-name--place {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    fill: var(--color-text-lighter);
    fill-opacity: 0.9;
    stroke-width: 3.5px;
    stroke-opacity: 0.8;
}

.wt-rc-overlay[b-u8ozsvmlx8]  .wt-rc-name--sea {
    font-family: 'EB Garamond', Georgia, serif;
    font-style: italic;
    letter-spacing: 1.5px;
    fill: var(--color-text-secondary);
    fill-opacity: 0.85;
    stroke-width: 3px;
    stroke-opacity: 0.6;
}

/* ---- The road ---- */
.wt-rc-overlay path[b-u8ozsvmlx8],
.wt-rc-overlay use[b-u8ozsvmlx8],
.wt-rc-overlay circle[b-u8ozsvmlx8] {
    vector-effect: non-scaling-stroke;
}

.wt-rc-overlay defs path[b-u8ozsvmlx8] {
    fill: none;
}

.wt-rc-road-glow[b-u8ozsvmlx8],
.wt-rc-road-bed[b-u8ozsvmlx8],
.wt-rc-road[b-u8ozsvmlx8],
.wt-rc-walked[b-u8ozsvmlx8],
.wt-rc-spur[b-u8ozsvmlx8] {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wt-rc-road-glow[b-u8ozsvmlx8] {
    stroke: var(--color-primary);
    stroke-opacity: 0.16;
    stroke-width: 11px;
}

.wt-rc-road-bed[b-u8ozsvmlx8] {
    stroke: var(--wt-vellum-deep);
    stroke-opacity: 0.55;
    stroke-width: 5px;
}

.wt-rc-road[b-u8ozsvmlx8] {
    stroke: var(--wt-ink);
    stroke-opacity: 0.85;
    stroke-width: 2.6px;
    stroke-dasharray: 7 6;
}

.wt-rc-walked[b-u8ozsvmlx8] {
    stroke: var(--color-primary);
    stroke-width: 3.8px;
}

.wt-rc-spur[b-u8ozsvmlx8],
.wt-rc-spur-to[b-u8ozsvmlx8] {
    stroke: var(--wt-ink);
    stroke-opacity: 0.75;
    stroke-width: 2px;
    stroke-dasharray: 1.5 5;
}

.wt-rc-spur[b-u8ozsvmlx8] {
    display: var(--ch-p-spur, inline);
}

/* A tier whose chest moved out along the spur's line hides the route's spur (--ch-{t}-spur:none) and draws its own, carried
   on to the chest (RegionalChartLayout.SpurEnds), on that tier only: each tier block below shows its own and hides the
   one before it. */
.wt-rc-spur-to[b-u8ozsvmlx8] {
    display: none;
}

.wt-rc-spur-to--p[b-u8ozsvmlx8] {
    display: inline;
}

.wt-rc-camp-disc[b-u8ozsvmlx8] {
    fill: var(--wt-vellum);
    stroke: var(--wt-camp);
    stroke-opacity: 0.85;
    stroke-width: 1.8px;
}

.wt-rc-camp--used .wt-rc-camp-disc[b-u8ozsvmlx8] {
    fill: color-mix(in srgb, var(--wt-camp) 30%, var(--wt-vellum-deep));
}

.wt-rc-camp-tent[b-u8ozsvmlx8] {
    fill: var(--wt-camp);
    fill-opacity: 0.95;
}

.wt-rc-camp-ring[b-u8ozsvmlx8] {
    fill: none;
    stroke: var(--color-primary);
    stroke-opacity: 0.75;
    stroke-width: 1.4px;
    stroke-dasharray: 2 2.4;
}

/* ---- Waypoints: real buttons in road order, a hex and a plate each ---- */
.wt-rc-nodes[b-u8ozsvmlx8] {
    position: absolute;
    inset: 0;
    z-index: 4;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-rc-node-slot[b-u8ozsvmlx8] {
    display: contents;
}

.wt-rc-node[b-u8ozsvmlx8] {
    position: absolute;
    width: 40px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transform: translate(-50%, -50%);
}

/* A waypoint no press handles (the road page, the hand-back): read, never pressed. */
.wt-rc-node--static[b-u8ozsvmlx8] {
    cursor: default;
}

/* A pressable waypoint is a full 44 px target on a touch screen (7.3; W3's review: the brief's nodes were 40 wide). The
   hex stays its size, centred in the larger target. */
@media (pointer: coarse) {
    button.wt-rc-node[b-u8ozsvmlx8] {
        width: 44px;
        min-height: 44px;
    }
}

.wt-rc-node:focus-visible[b-u8ozsvmlx8] {
    outline: 3px solid var(--color-text-primary);
    outline-offset: 2px;
    border-radius: 12px;
}

.wt-rc-hex[b-u8ozsvmlx8] {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 36px;
    transform: translate(-50%, -50%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-text-tertiary);
}

.wt-rc-hex[b-u8ozsvmlx8]::before {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--wt-vellum);
}

.wt-rc-hex > *[b-u8ozsvmlx8] {
    position: relative;
    z-index: 1;
}

.wt-rc-hex b[b-u8ozsvmlx8] {
    font: 800 13px/1 var(--font-primary);
    color: var(--color-text-lighter);
}

.wt-rc-hex .material-icons[b-u8ozsvmlx8] {
    font-size: 17px;
}

.wt-rc-node--next .wt-rc-hex[b-u8ozsvmlx8] {
    background: var(--wt-ink);
}

.wt-rc-node--next .wt-rc-hex b[b-u8ozsvmlx8] {
    color: var(--color-primary-light);
}

.wt-rc-node--done .wt-rc-hex[b-u8ozsvmlx8] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
}

.wt-rc-node--done .wt-rc-hex[b-u8ozsvmlx8]::before {
    display: none;
}

.wt-rc-node--done .wt-rc-hex .material-icons[b-u8ozsvmlx8] {
    color: var(--color-bg-base);
}

.wt-rc-node--current .wt-rc-hex[b-u8ozsvmlx8] {
    width: 38px;
    height: 43px;
    background: var(--color-primary);
}

.wt-rc-node--current .wt-rc-hex[b-u8ozsvmlx8]::before {
    inset: 3px;
    background: var(--color-bg-base);
}

.wt-rc-node--current .wt-rc-hex .material-icons[b-u8ozsvmlx8] {
    font-size: 20px;
    color: var(--color-primary);
}

.wt-rc-node--boss .wt-rc-hex[b-u8ozsvmlx8] {
    background: var(--color-danger);
}

.wt-rc-node--boss .wt-rc-hex[b-u8ozsvmlx8]::before {
    background: color-mix(in srgb, var(--color-danger) 22%, var(--color-bg-base));
}

.wt-rc-node--boss .wt-rc-hex .material-icons[b-u8ozsvmlx8] {
    color: var(--color-danger-lighter);
}

.wt-rc-node--boss.wt-rc-node--done .wt-rc-hex[b-u8ozsvmlx8] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
}

.wt-rc-node--boss.wt-rc-node--done .wt-rc-hex .material-icons[b-u8ozsvmlx8] {
    color: var(--color-bg-base);
}

.wt-rc-ring[b-u8ozsvmlx8] {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 54px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--color-primary) 60%, transparent),
        0 0 26px 6px color-mix(in srgb, var(--color-primary) 35%, transparent);
    animation: wt-rc-pulse-b-u8ozsvmlx8 1.6s ease-out 1;
}

.wt-rc-plate[b-u8ozsvmlx8] {
    position: absolute;
    display: var(--pl-p-d, none);
    left: calc(50% + var(--pl-p-x, 0) * var(--rc-px));
    top: calc(50% + var(--pl-p-y, 0) * var(--rc-px));
    width: calc(var(--pl-p-w, 0) * var(--rc-px));
    height: calc(34 * var(--rc-px));
    box-sizing: border-box;
    flex-direction: column;
    justify-content: center;
    padding: 0 calc(9 * var(--rc-px));
    border-radius: 7px;
    background: var(--wt-plate);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--wt-vellum-deep) 45%, transparent);
    white-space: nowrap;
    text-align: left;
    pointer-events: none;
}

.wt-rc-plate b[b-u8ozsvmlx8] {
    font: 700 calc(12 * var(--rc-px)) / 1.25 var(--font-display);
    color: color-mix(in srgb, var(--color-primary-light) 30%, var(--color-text-primary));
}

.wt-rc-plate small[b-u8ozsvmlx8] {
    font: 600 calc(10.5 * var(--rc-px)) / 1.3 var(--font-primary);
    color: var(--color-text-light);
}

.wt-rc-node--boss .wt-rc-plate[b-u8ozsvmlx8] {
    border-color: color-mix(in srgb, var(--color-danger-light) 55%, transparent);
}

.wt-rc-node--boss .wt-rc-plate small[b-u8ozsvmlx8] {
    color: var(--color-danger-lightest);
}

.wt-rc-node--current .wt-rc-plate[b-u8ozsvmlx8] {
    border-color: var(--color-primary);
}

.wt-rc-node--current .wt-rc-plate small[b-u8ozsvmlx8] {
    color: var(--color-primary-light);
}

.wt-rc-node--next .wt-rc-plate[b-u8ozsvmlx8] {
    border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
}

/* The chest sits at its route spot; a tier whose camera draws it over a waypoint moves it clear (RegionalChartLayout.ChestFor:
   --ch-{t}-x / -y in box px, and --ch-{t}-spur:none on the box where it had to leave the spur's line). */
.wt-rc-chest[b-u8ozsvmlx8] {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    translate: calc(var(--ch-p-x, 0) * var(--rc-px)) calc(var(--ch-p-y, 0) * var(--rc-px));
    border-radius: 10px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary-darker) 40%, var(--color-bg-base)), var(--color-bg-base));
    border: 1.5px solid var(--wt-ink);
    box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.wt-rc-chest .material-icons[b-u8ozsvmlx8] {
    font-size: 22px;
    color: var(--color-primary);
}

/* ---- Frame, cartouche, key ---- */
.wt-rc-frame[b-u8ozsvmlx8] {
    position: absolute;
    inset: 8px;
    z-index: 5;
    pointer-events: none;
    border: 1px solid color-mix(in srgb, var(--wt-ink) 22%, transparent);
    border-radius: 10px;
}

.wt-rc-cartouche[b-u8ozsvmlx8] {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 6;
    display: none;
    flex-direction: column;
    gap: 5px;
    max-width: 260px;
    padding: 10px 14px 11px;
    border-radius: 11px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-bg-base) 94%, transparent), color-mix(in srgb, var(--color-bg-base) 84%, transparent));
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--wt-vellum-deep) 50%, transparent);
}

.wt-rc-cartouche-eyebrow[b-u8ozsvmlx8] {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 700 11px/1.2 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-ink);
}

.wt-rc-cartouche-eyebrow .material-icons[b-u8ozsvmlx8] {
    font-size: 16px;
    color: var(--wt-rc-tint, var(--wt-ink));
}

.wt-rc-cartouche-line[b-u8ozsvmlx8] {
    font: italic 500 14.5px/1.3 'EB Garamond', Georgia, serif;
    color: color-mix(in srgb, var(--color-primary-light) 25%, var(--color-text-primary));
}

.wt-rc-key[b-u8ozsvmlx8] {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 6;
    display: none;
    gap: 6px 12px;
    flex-wrap: nowrap;
    max-width: calc(100% - 28px);
    margin: 0;
    padding: 8px 12px;
    list-style: none;
    border-radius: 10px;
    background: var(--wt-plate);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 24%, transparent);
}

.wt-rc-key-item[b-u8ozsvmlx8] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 500 12px/1 var(--font-primary);
    color: var(--color-text-light);
    white-space: nowrap;
}

.wt-rc-key-mark[b-u8ozsvmlx8] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 18px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-text-tertiary);
}

.wt-rc-key-mark b[b-u8ozsvmlx8] {
    font: 800 9px/1 var(--font-primary);
    color: var(--color-text-lighter);
}

.wt-rc-key-mark .material-icons[b-u8ozsvmlx8] {
    font-size: 11px;
    color: var(--color-bg-base);
}

.wt-rc-key-mark.is-next[b-u8ozsvmlx8] {
    background: var(--wt-ink);
}

.wt-rc-key-mark.is-next b[b-u8ozsvmlx8] {
    color: var(--color-bg-base);
}

.wt-rc-key-mark.is-done[b-u8ozsvmlx8],
.wt-rc-key-mark.is-current[b-u8ozsvmlx8] {
    background: var(--color-primary);
}

.wt-rc-key-mark.is-boss[b-u8ozsvmlx8] {
    background: var(--color-danger);
}

.wt-rc-key-mark.is-boss .material-icons[b-u8ozsvmlx8] {
    color: var(--color-danger-lightest);
}

.wt-rc-key-mark.is-camp[b-u8ozsvmlx8] {
    width: 12px;
    height: 12px;
    clip-path: none;
    border-radius: 50%;
    background: var(--wt-vellum);
    box-shadow: inset 0 0 0 1.5px var(--wt-camp);
}

.wt-rc-key-mark.is-chest[b-u8ozsvmlx8] {
    clip-path: none;
    width: 18px;
    border-radius: 4px;
    background: color-mix(in srgb, var(--color-primary-darker) 40%, var(--color-bg-base));
    box-shadow: inset 0 0 0 1px var(--wt-ink);
}

.wt-rc-key-mark.is-walked[b-u8ozsvmlx8] {
    width: 20px;
    height: 4px;
    clip-path: none;
    border-radius: 2px;
    background: var(--color-primary);
}

.wt-rc-key-mark.is-chest .material-icons[b-u8ozsvmlx8] {
    color: var(--color-primary);
}

/* ---- Tiers: the box's aspect, the camera and each node's plate ---- */
@media (min-width: 480px) {
    .wt-rc-box[b-u8ozsvmlx8] {
        --rc-tw: var(--box-b-w, 740);
        aspect-ratio: var(--box-b-w, 740) / var(--box-b-h, 320);
    }

    .wt-rc-layer[b-u8ozsvmlx8] {
        left: var(--art-b-l);
        top: var(--art-b-t);
        width: var(--art-b-w);
        height: var(--art-b-h);
    }

    .wt-rc-plate[b-u8ozsvmlx8] {
        display: var(--pl-b-d, none);
        left: calc(50% + var(--pl-b-x, 0) * var(--rc-px));
        top: calc(50% + var(--pl-b-y, 0) * var(--rc-px));
        width: calc(var(--pl-b-w, 0) * var(--rc-px));
    }

    .wt-rc-chest[b-u8ozsvmlx8] {
        translate: calc(var(--ch-b-x, 0) * var(--rc-px)) calc(var(--ch-b-y, 0) * var(--rc-px));
    }

    .wt-rc-spur[b-u8ozsvmlx8] {
        display: var(--ch-b-spur, inline);
    }

    .wt-rc-spur-to--p[b-u8ozsvmlx8] {
        display: none;
    }

    .wt-rc-spur-to--b[b-u8ozsvmlx8] {
        display: inline;
    }
}

/* A phone held sideways (WT Q46, spec 4.9: two columns): its own frame, laid out for the column beside the dossier or
   the story (the 960 tier's frame drawn at 312-390px ran the plates off the chart). From 960 the next block wins. */
@media (min-width: 768px) and (orientation: landscape) and (pointer: coarse) {
    .wt-rc-box[b-u8ozsvmlx8] {
        --rc-tw: var(--box-l-w, 390);
        aspect-ratio: var(--box-l-w, 390) / var(--box-l-h, 240);
    }

    .wt-rc-layer[b-u8ozsvmlx8] {
        left: var(--art-l-l);
        top: var(--art-l-t);
        width: var(--art-l-w);
        height: var(--art-l-h);
    }

    .wt-rc-plate[b-u8ozsvmlx8] {
        display: var(--pl-l-d, none);
        left: calc(50% + var(--pl-l-x, 0) * var(--rc-px));
        top: calc(50% + var(--pl-l-y, 0) * var(--rc-px));
        width: calc(var(--pl-l-w, 0) * var(--rc-px));
    }

    .wt-rc-chest[b-u8ozsvmlx8] {
        translate: calc(var(--ch-l-x, 0) * var(--rc-px)) calc(var(--ch-l-y, 0) * var(--rc-px));
    }

    .wt-rc-spur[b-u8ozsvmlx8] {
        display: var(--ch-l-spur, inline);
    }

    .wt-rc-spur-to--b[b-u8ozsvmlx8] {
        display: none;
    }

    .wt-rc-spur-to--l[b-u8ozsvmlx8] {
        display: inline;
    }
}

@media (min-width: 960px) {
    .wt-rc-box[b-u8ozsvmlx8] {
        --rc-tw: var(--box-m-w, 560);
        aspect-ratio: var(--box-m-w, 560) / var(--box-m-h, 340);
    }

    .wt-rc-layer[b-u8ozsvmlx8] {
        left: var(--art-m-l);
        top: var(--art-m-t);
        width: var(--art-m-w);
        height: var(--art-m-h);
    }

    .wt-rc-plate[b-u8ozsvmlx8] {
        display: var(--pl-m-d, none);
        left: calc(50% + var(--pl-m-x, 0) * var(--rc-px));
        top: calc(50% + var(--pl-m-y, 0) * var(--rc-px));
        width: calc(var(--pl-m-w, 0) * var(--rc-px));
    }

    .wt-rc-chest[b-u8ozsvmlx8] {
        translate: calc(var(--ch-m-x, 0) * var(--rc-px)) calc(var(--ch-m-y, 0) * var(--rc-px));
    }

    .wt-rc-spur[b-u8ozsvmlx8] {
        display: var(--ch-m-spur, inline);
    }

    .wt-rc-spur-to--b[b-u8ozsvmlx8],
    .wt-rc-spur-to--l[b-u8ozsvmlx8] {
        display: none;
    }

    .wt-rc-spur-to--m[b-u8ozsvmlx8] {
        display: inline;
    }

    /* The layout picks the corner the road leaves free (RegionalChartLayout.ChromeFor), or leaves it out. */
    .wt-rc-cartouche[b-u8ozsvmlx8] {
        display: var(--cart-m-d, flex);
        left: var(--cart-m-l, 14px);
        right: var(--cart-m-r, auto);
        top: var(--cart-m-t, 14px);
        bottom: var(--cart-m-b, auto);
    }

    .wt-rc-cartouche-line[b-u8ozsvmlx8] {
        display: var(--cart-m-line, block);
    }
}

@media (min-width: 1280px) {
    .wt-rc-box[b-u8ozsvmlx8] {
        --rc-tw: var(--box-w-w, 760);
        aspect-ratio: var(--box-w-w, 760) / var(--box-w-h, 590);
    }

    .wt-rc-layer[b-u8ozsvmlx8] {
        left: var(--art-w-l);
        top: var(--art-w-t);
        width: var(--art-w-w);
        height: var(--art-w-h);
    }

    .wt-rc-plate[b-u8ozsvmlx8] {
        display: var(--pl-w-d, none);
        left: calc(50% + var(--pl-w-x, 0) * var(--rc-px));
        top: calc(50% + var(--pl-w-y, 0) * var(--rc-px));
        width: calc(var(--pl-w-w, 0) * var(--rc-px));
    }

    .wt-rc-chest[b-u8ozsvmlx8] {
        translate: calc(var(--ch-w-x, 0) * var(--rc-px)) calc(var(--ch-w-y, 0) * var(--rc-px));
    }

    .wt-rc-spur[b-u8ozsvmlx8] {
        display: var(--ch-w-spur, inline);
    }

    .wt-rc-spur-to--m[b-u8ozsvmlx8] {
        display: none;
    }

    .wt-rc-spur-to--w[b-u8ozsvmlx8] {
        display: inline;
    }

    .wt-rc-cartouche[b-u8ozsvmlx8] {
        display: var(--cart-w-d, flex);
        left: var(--cart-w-l, 14px);
        right: var(--cart-w-r, auto);
        top: var(--cart-w-t, 14px);
        bottom: var(--cart-w-b, auto);
    }

    .wt-rc-cartouche-line[b-u8ozsvmlx8] {
        display: var(--cart-w-line, block);
    }

    .wt-rc-key[b-u8ozsvmlx8] {
        display: var(--key-w-d, flex);
        left: var(--key-w-l, 14px);
        right: var(--key-w-r, auto);
    }
}

@keyframes wt-rc-pulse-b-u8ozsvmlx8 {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes wt-rc-fade-b-u8ozsvmlx8 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 7.4: end states only; the ring is a static halo. */
@media (prefers-reduced-motion: reduce) {
    .wt-rc-ring[b-u8ozsvmlx8],
    .wt-rc-art[b-u8ozsvmlx8] {
        animation: none;
    }
}
/* /Components/WarTable/WtRegionFilter.razor.rz.scp.css */
/* WtRegionFilter: the kit's wm-rchip row. Tints are rims and icons, never text (D12). Tokens only. */
.wt-region-filter[b-wxnyz0ct8i] {
    position: relative;
    min-width: 0;
}

.wt-region-chips[b-wxnyz0ct8i] {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px;
    margin: -2px;
}

.wt-region-chips[b-wxnyz0ct8i]::-webkit-scrollbar {
    display: none;
}

.wt-region-chip[b-wxnyz0ct8i] {
    --tint: var(--color-region-realm);
    position: relative;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px 0 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--tint) 50%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 78%, transparent);
    color: var(--fd-text-2);
    font: 600 calc(var(--gt-px) * 12.5) / 1 var(--font-primary);
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
}

.wt-region-chip .material-icons[b-wxnyz0ct8i] {
    font-size: calc(var(--gt-px) * 17);
    color: var(--tint);
}

.wt-region-chip i[b-wxnyz0ct8i] {
    font-style: normal;
    font-weight: 700;
    font-size: var(--gt-sm);
    color: var(--fd-text-3);
}

.wt-region-chip.is-on[b-wxnyz0ct8i] {
    border-color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary-darker) 32%, transparent);
    color: var(--fd-gold-soft);
}

.wt-region-chip.is-on i[b-wxnyz0ct8i] {
    color: var(--fd-gold-soft);
}

.wt-region-chip.is-dim[b-wxnyz0ct8i] {
    border-style: dashed;
    color: var(--fd-text-4);
}

.wt-region-chip.is-dim i[b-wxnyz0ct8i] {
    color: var(--fd-text-4);
}

.wt-region-chip:disabled[b-wxnyz0ct8i] {
    cursor: default;
    opacity: .55;
}

.wt-chip-lock[b-wxnyz0ct8i],
.wt-chip-walked[b-wxnyz0ct8i] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-3);
}

/* A locked chip's tooltip ("Greyspine: opens at level 6") is the lock's title: the lock is hidden from screen readers,
   which hear the level once, in the chip's name. Its cover spans the whole chip, so the tooltip shows wherever the
   pointer rests on it; a press on the cover is a press on the chip. */
.wt-chip-lock[b-wxnyz0ct8i]::before {
    content: "";
    position: absolute;
    inset: 0;
}

.wt-chip-lock .material-icons[b-wxnyz0ct8i],
.wt-chip-walked .material-icons[b-wxnyz0ct8i] {
    font-size: var(--gt-md);
    color: var(--fd-text-3);
}

.wt-chip-walked .material-icons[b-wxnyz0ct8i] {
    color: var(--color-primary);
}

.wt-region-fade[b-wxnyz0ct8i] {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--wt-vellum-deep) 80%);
    display: none;
}

.wt-region-chip:focus-visible[b-wxnyz0ct8i] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (hover: hover) {
    .wt-region-chip:not(:disabled):not(.is-on):hover[b-wxnyz0ct8i] {
        border-color: color-mix(in srgb, var(--tint) 85%, transparent);
        color: var(--fd-text);
    }
}

@media (max-width: 1280px) {
    .wt-region-fade[b-wxnyz0ct8i] {
        display: block;
    }

    .wt-region-chips[b-wxnyz0ct8i] {
        padding-right: 36px;
    }
}

@media (pointer: coarse) {
    .wt-region-chip[b-wxnyz0ct8i] {
        height: 44px;
        padding: 0 14px 0 12px;
        font-size: calc(var(--gt-px) * 13.5);
    }

    .wt-region-chip .material-icons[b-wxnyz0ct8i] {
        font-size: var(--gt-xl);
    }
}
/* /Components/WarTable/WtRewardChip.razor.rz.scp.css */
/* WtRewardChip: the kit's a-reward.item, framed by the rarity token (--rc). Tokens only. */
.wt-reward[b-8imceimryo] {
    --rc: var(--color-rarity-common);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-height: 2.4em;
    padding: 2px 11px 2px 3px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--rc) 65%, transparent);
    background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 20%, transparent), color-mix(in srgb, var(--rc) 4%, transparent));
    color: var(--fd-text-2);
    font: 600 calc(var(--gt-px) * 12.5) / 1.2 var(--font-primary);
    white-space: nowrap;
    min-width: 0;
}

.wt-reward--uncommon[b-8imceimryo] { --rc: var(--color-rarity-uncommon); }
.wt-reward--rare[b-8imceimryo] { --rc: var(--color-rarity-rare); }
.wt-reward--epic[b-8imceimryo] { --rc: var(--color-rarity-epic); }
.wt-reward--legendary[b-8imceimryo] { --rc: var(--color-rarity-legendary); }

.wt-reward-icon[b-8imceimryo] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--rc) 24%, var(--fd-art-well));
    color: color-mix(in srgb, var(--rc) 55%, var(--fd-text));
}

.wt-reward-icon .material-icons[b-8imceimryo] {
    font-size: calc(var(--gt-px) * 15);
}

.wt-reward-name[b-8imceimryo] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.wt-reward em[b-8imceimryo] {
    flex: none;
    font-style: normal;
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--rc) 75%, var(--fd-text));
}

.wt-reward.is-small[b-8imceimryo] {
    min-height: 2.17em;
    font-size: var(--gt-sm);
    gap: 6px;
}

.wt-reward.is-small .wt-reward-icon[b-8imceimryo] {
    width: 20px;
    height: 20px;
}

.wt-reward-class[b-8imceimryo] {
    display: inline-flex;
    align-items: center;
    height: 2em;
    padding: 0 7px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--color-warning-light) 50%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 45%, transparent);
    color: var(--fd-warn-ink);
    font: 700 var(--gt-sm) / 1 var(--font-primary);
    white-space: nowrap;
}

.wt-reward-class.is-fit[b-8imceimryo] {
    border-color: color-mix(in srgb, var(--fd-good) 50%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 50%, transparent);
    color: var(--fd-good-ink);
}
/* /Components/WarTable/WtRoadAction.razor.rz.scp.css */
/* WtRoadAction (W3): the gold action at full size (the kit's a-cta lg: Cinzel caps, the gold gradient, the sub line in
   dark gold), or the blocked status (the kit's a-blocked: a dashed gold frame, an icon, two lines). WtButton is the
   family's placeholder, so its gold look is drawn here through ::deep until the family is styled. */

.wt-road-action[b-df9sn38mbi] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "icon label" "sub sub";
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 2px;
    min-height: 68px;
    padding: 8px 26px;
    border: none;
    border-radius: var(--radius-2xl);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    box-shadow: var(--fd-shadow-gold);
    font-family: var(--font-primary);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 140ms ease, filter 140ms ease;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold:hover {
    filter: brightness(1.05);
    box-shadow: 0 14px 40px color-mix(in srgb, var(--color-primary) 38%, transparent);
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold:focus-visible {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold[disabled] {
    opacity: 0.6;
    box-shadow: none;
    cursor: not-allowed;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-icon {
    font-size: var(--gt-3xl);
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-label {
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: var(--gt-2xl);
    line-height: 1.1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-wrap: balance;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-sub {
    max-width: 100%;
    overflow: hidden;
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 600;
    color: var(--fd-on-gold-soft);
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* The icon sits beside the label (the first line), the sub line under both. */
.wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-icon {
    grid-area: icon;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-label {
    grid-area: label;
}

.wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-sub {
    grid-area: sub;
}

.wt-road-action[b-df9sn38mbi]  .wt-button-reason {
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.4;
    color: var(--fd-warn-ink);
}

.wt-road-blocked[b-df9sn38mbi] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 18px;
    border-radius: var(--radius-2xl);
    border: 1px dashed color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: var(--fd-surface-strong);
    color: var(--fd-gold-soft);
    font-family: var(--font-primary);
}

.wt-road-blocked .material-icons[b-df9sn38mbi] {
    flex: none;
    font-size: var(--gt-4xl);
    color: var(--color-primary);
}

.wt-road-blocked-text[b-df9sn38mbi] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-road-blocked b[b-df9sn38mbi] {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: calc(var(--gt-px) * 15);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wt-road-blocked small[b-df9sn38mbi] {
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.4;
    color: var(--fd-text-3);
}

@media (max-width: 480px) {
    .wt-road-action[b-df9sn38mbi]  .wt-button--gold .wt-button-label {
        font-size: calc(var(--gt-px) * 17);
        font-family: var(--font-primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-road-action[b-df9sn38mbi]  .wt-button--gold {
        transition: none;
    }
}
/* /Components/WarTable/WtRoadAhead.razor.rz.scp.css */
/* WtRoadAhead (W3): a ledger section on design tokens: the Cinzel heading with its rule and source line, then the ordered list
   of WtRoadStep rows (the trail's own styles live there). */

.wt-road-ahead[b-8tutqcbhcf] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.wt-road-ledger-head[b-8tutqcbhcf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.wt-road-ledger-title[b-8tutqcbhcf] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-lg);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-road-ledger-title[b-8tutqcbhcf]::after {
    content: "";
    flex: 1;
    min-width: 24px;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 40%, transparent), transparent);
}

.wt-road-ledger-sub[b-8tutqcbhcf] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    color: var(--fd-text-3);
}

.wt-road-ledger[b-8tutqcbhcf] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* /Components/WarTable/WtRoadBand.razor.rz.scp.css */
/* WtRoadBand: the band under the decision on the decision-first road moment (Direction A, boards A1, A3; phone A2,
   A4). Wide: the chart (about 560px) at the left, the brief at the right, smaller than the decision above. 768 and
   under: one column; the chart, the foes and the story fold behind their buttons; Listen and the switch stay in view.
   Tokens only; canonical breakpoints only; the dots between facts are shapes. */

.wtrb[b-ldhtjr0x4u] {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding-top: 18px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
}

    .wtrb.is-chartless[b-ldhtjr0x4u] {
        grid-template-columns: minmax(0, 1fr);
    }

/* The chart column comes after the brief in the DOM (reading and Tab order: the brief, then the chart, as a phone
   shows them); a wide screen places it in the left column. */
.wtrb-chart-col[b-ldhtjr0x4u] {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.wtrb:not(.is-chartless) .wtrb-brief[b-ldhtjr0x4u] {
    grid-column: 2;
    grid-row: 1;
}

.wtrb-brief[b-ldhtjr0x4u] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 14px 18px;
    border-radius: var(--radius-3xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
}

/* The folds: buttons on a phone only; a wide screen shows what they hold. */
.wtrb-fold[b-ldhtjr0x4u] {
    display: none;
}

.wtrb-head[b-ldhtjr0x4u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}

    /* No choice to make (Begin battle, Back to camp): the header above already names the waypoint and its facts. */
    .wtrb-head.is-quiet[b-ldhtjr0x4u] {
        display: none;
    }

.wtrb-eyebrow[b-ldhtjr0x4u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
}

.wtrb-lead[b-ldhtjr0x4u] {
    white-space: nowrap;
    color: var(--color-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wtrb-fact[b-ldhtjr0x4u] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .wtrb-fact:last-child[b-ldhtjr0x4u] {
        color: var(--color-primary-light);
    }

.wtrb-sep[b-ldhtjr0x4u] {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-round);
    background: var(--color-text-secondary);
}

.wtrb-boss[b-ldhtjr0x4u],
.wtrb-hazard[b-ldhtjr0x4u] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.wtrb-boss[b-ldhtjr0x4u] {
    border: 1px solid color-mix(in srgb, var(--combat-bad-light) 55%, transparent);
    background: color-mix(in srgb, var(--combat-bad-dark) 35%, transparent);
    color: var(--combat-bad-lightest);
}

.wtrb-hazard[b-ldhtjr0x4u] {
    border: 1px solid color-mix(in srgb, var(--color-monk-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-monk) 18%, transparent);
    color: var(--color-text-lighter);
}

.wtrb-title[b-ldhtjr0x4u] {
    margin: -2px 0 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-3xl);
    font-weight: 800;
    line-height: 1.15;
}

.wtrb-fight[b-ldhtjr0x4u] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wtrb-then[b-ldhtjr0x4u] {
    margin: 0;
}

.wtrb-k[b-ldhtjr0x4u] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wtrb-count[b-ldhtjr0x4u] {
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
}

.wtrb-foes[b-ldhtjr0x4u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}

/* Listen and the "Narrate the road" switch: the shared WtNarration laid out as one row with "Read the road". */
.wtrb-read[b-ldhtjr0x4u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.wtrb-read .wtrb-fold--story[b-ldhtjr0x4u] {
    display: inline-flex;
}

.wtrb-narration[b-ldhtjr0x4u] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    flex: 1;
    min-width: 0;
}

    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration {
        display: contents;
    }

    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 14px 0 6px;
        border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
        border-radius: var(--radius-lg);
        background: color-mix(in srgb, var(--color-primary) 10%, transparent);
        color: var(--color-primary-light);
        font: inherit;
        font-weight: var(--font-weight-bold);
        cursor: pointer;
    }

        .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-button .material-icons {
            font-size: var(--ct-xl);
        }

    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-switch {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        margin-left: auto;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--color-text-lighter);
        font: inherit;
        font-size: var(--ct-md);
        font-weight: var(--font-weight-semibold);
        cursor: pointer;
    }

        /* The switch's track and thumb (a shape, no glyph). */
        .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-switch::after {
            content: "";
            width: 36px;
            height: 20px;
            border-radius: 999px;
            background:
                radial-gradient(circle at 10px 50%, var(--color-text-lighter) 0 7px, transparent 7.5px),
                color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
        }

        .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-switch[aria-checked="true"]::after {
            background:
                radial-gradient(circle at 26px 50%, var(--color-bg-base) 0 7px, transparent 7.5px),
                var(--color-primary);
        }

    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-button:focus-visible,
    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-switch:focus-visible {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

.wtrb-narration-note[b-ldhtjr0x4u] {
    flex-basis: 100%;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.wtrb-fold[b-ldhtjr0x4u] {
    appearance: none;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 4px 14px 4px 8px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
    color: var(--color-text-primary);
    font: inherit;
    font-size: var(--ct-base);
    font-weight: var(--font-weight-bold);
    text-align: left;
    cursor: pointer;
}

    .wtrb-fold:hover[b-ldhtjr0x4u] {
        background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    }

    .wtrb-fold:focus-visible[b-ldhtjr0x4u] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

.wtrb-fold-ico[b-ldhtjr0x4u] {
    font-size: var(--ct-xl);
    transition: transform 160ms ease;
}

.wtrb-fold[aria-expanded="true"] .wtrb-fold-ico[b-ldhtjr0x4u] {
    transform: rotate(180deg);
}

.wtrb-story[b-ldhtjr0x4u] {
    margin: 0;
    color: var(--color-text-lighter);
    font-family: var(--fd-font-voice);
    font-size: var(--ct-lg);
    font-style: italic;
    line-height: 1.55;
}

/* The hero's class opening line (#174): its own paragraph, a gold rule beside it, never folded. */
.wtrb-class-opening[b-ldhtjr0x4u] {
    padding-left: 10px;
    border-left: 3px solid var(--fd-gold-text);
    color: var(--fd-cream);
}

/* The folded story's one-line teaser (decorative: the story itself is behind the disclosure). */
.wtrb-teaser[b-ldhtjr0x4u] {
    margin: 0;
    overflow: hidden;
    color: var(--color-text-light);
    font-family: var(--fd-font-voice);
    font-size: var(--ct-lg);
    font-style: italic;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .wtrb[b-ldhtjr0x4u] {
        grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    }
}

@media (max-width: 960px) {
    .wtrb[b-ldhtjr0x4u] {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
    }
}

/* A phone: one column, everything folds but Listen and the switch (boards A2, A4). */
@media (max-width: 768px) {
    .wtrb[b-ldhtjr0x4u],
    .wtrb.is-chartless[b-ldhtjr0x4u] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .wtrb-chart-col[b-ldhtjr0x4u],
    .wtrb:not(.is-chartless) .wtrb-brief[b-ldhtjr0x4u] {
        grid-column: 1;
        grid-row: auto;
    }

    .wtrb-brief[b-ldhtjr0x4u] {
        padding: 12px 14px;
    }

    .wtrb-fold[b-ldhtjr0x4u] {
        display: inline-flex;
        width: 100%;
    }

    .wtrb-then[b-ldhtjr0x4u],
    .wtrb-teaser[b-ldhtjr0x4u] {
        display: none;
    }

    .wtrb-foes:not(.is-open)[b-ldhtjr0x4u],
    .wtrb-chart:not(.is-open)[b-ldhtjr0x4u] {
        display: none;
    }

    .wtrb-chart.is-open[b-ldhtjr0x4u] {
        margin-top: 8px;
    }

    .wtrb-title[b-ldhtjr0x4u] {
        font-size: var(--ct-2xl);
    }
}

@media (pointer: coarse) {
    .wtrb-fold[b-ldhtjr0x4u] {
        min-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wtrb-fold-ico[b-ldhtjr0x4u] {
        transition: none;
    }
}

@media (forced-colors: active) {
    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-switch::after {
        border: 1px solid CanvasText;
        background: Canvas;
        forced-color-adjust: none;
    }

    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-switch[aria-checked="true"]::after {
        background: Highlight;
    }

    .wtrb-brief[b-ldhtjr0x4u],
    .wtrb-fold[b-ldhtjr0x4u],
    .wtrb-boss[b-ldhtjr0x4u],
    .wtrb-hazard[b-ldhtjr0x4u],
    .wtrb-narration[b-ldhtjr0x4u]  .wt-narration-button {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/WtRoadBreak.razor.rz.scp.css */
/* WtRoadBreak: Take a break on the road moment (hotfix, 20 Nov 2026), moved unchanged from WtRoadMoment.razor.css with
   its markup, so both layouts draw it from one sheet. Tokens only; canonical breakpoints only. */

/* ---- Take a break (hotfix, 20 Nov 2026): a quiet control under the vote, never a third card --------------------- */

.wtm-break[b-ucyk79dluk] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
}

.wtm-break-btn[b-ucyk79dluk] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 4px 12px 4px 8px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-lighter);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

    .wtm-break-btn .material-icons[b-ucyk79dluk] {
        font-size: var(--ct-2xl);
        color: var(--color-primary-light);
    }

    .wtm-break-btn:hover[b-ucyk79dluk] {
        background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    }

    .wtm-break-btn:focus-visible[b-ucyk79dluk],
    .wtm-break-keep:focus-visible[b-ucyk79dluk],
    .wtm-break-save:focus-visible[b-ucyk79dluk] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

    .wtm-break-btn[aria-disabled="true"][b-ucyk79dluk] {
        cursor: not-allowed;
        border-style: dashed;
    }

        .wtm-break-btn[aria-disabled="true"] .material-icons[b-ucyk79dluk] {
            color: var(--color-text-secondary);
        }

    .wtm-break-btn[aria-busy="true"][b-ucyk79dluk] {
        cursor: progress;
    }

    .wtm-break-btn[aria-expanded="true"][b-ucyk79dluk] {
        border-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    }

.wtm-break-tx[b-ucyk79dluk] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

    .wtm-break-tx b[b-ucyk79dluk] {
        font-size: var(--ct-md);
        font-weight: var(--font-weight-semibold);
    }

    .wtm-break-tx small[b-ucyk79dluk] {
        color: var(--color-text-secondary);
        font-size: var(--ct-sm);
    }

.wtm-break-reason[b-ucyk79dluk],
.wtm-break-ask[b-ucyk79dluk] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.wtm-break-ask[b-ucyk79dluk] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .wtm-break-ask .material-icons[b-ucyk79dluk] {
        font-size: var(--ct-xl);
        color: var(--color-text-secondary);
    }

.wtm-break-confirm[b-ucyk79dluk] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 560px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.wtm-break-title[b-ucyk79dluk] {
    margin: 0;
    color: var(--color-primary-light);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
}

.wtm-break-body[b-ucyk79dluk],
.wtm-break-vote[b-ucyk79dluk] {
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
}

.wtm-break-vote[b-ucyk79dluk] {
    color: var(--color-text-light);
    font-style: italic;
}

.wtm-break-acts[b-ucyk79dluk] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.wtm-break-keep[b-ucyk79dluk],
.wtm-break-save[b-ucyk79dluk] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 4px 14px;
    border-radius: var(--radius-lg);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
}

.wtm-break-keep[b-ucyk79dluk] {
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: transparent;
    color: var(--color-text-lighter);
}

.wtm-break-save[b-ucyk79dluk] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    color: var(--color-primary-light);
}

    .wtm-break-save .material-icons[b-ucyk79dluk] {
        font-size: var(--ct-xl);
    }

    .wtm-break-save[aria-busy="true"][b-ucyk79dluk] {
        cursor: progress;
    }

@media (forced-colors: active) {
    .wtm-break-btn[b-ucyk79dluk],
    .wtm-break-keep[b-ucyk79dluk],
    .wtm-break-save[b-ucyk79dluk],
    .wtm-break-confirm[b-ucyk79dluk] {
        border-color: CanvasText;
        background: Canvas;
        color: CanvasText;
    }
}

/* ---- The decision-first layout's vote line (Direction A, board S3): the button at the line's right end, the confirm
   opening under the line, right-aligned, at most 600px; full width on a phone. --------------------------------------- */

.wtm-break.is-inline[b-ucyk79dluk] {
    align-items: flex-end;
    padding-top: 0;
    border-top: 0;
}

    .wtm-break.is-inline .wtm-break-confirm[b-ucyk79dluk] {
        max-width: 600px;
    }

    /* The open confirm takes a row of its own under the line (board S3), so the key hint and the per-stop note keep
       their place beside the votes instead of stretching beside it. */
    .wtm-break.is-inline.is-confirming[b-ucyk79dluk] {
        flex-basis: 100%;
    }

@media (max-width: 480px) {
    .wtm-break-acts > button[b-ucyk79dluk] {
        flex: 1 1 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .wtm-break.is-inline[b-ucyk79dluk] {
        align-items: stretch;
    }

        .wtm-break.is-inline .wtm-break-confirm[b-ucyk79dluk] {
            max-width: none;
        }
}
/* /Components/WarTable/WtRoadChoice.razor.rz.scp.css */
/* WtRoadChoice: a sheet's choice card (board WT-Road-Camp-390). --wtc-accent is the card's color: Fight the bad
   color, Flee and Scout gold, Gather the heal color, Prepare the info color. Tokens only; canonical breakpoints only;
   never an eco token (those mean a turn slot). */

.wt-road-choice[b-xcdzqgixr7] {
    --wtc-accent: var(--color-primary);
    appearance: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 32%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-900) 90%, transparent) 0%,
        color-mix(in srgb, var(--color-bg-base) 96%, transparent) 100%);
    color: var(--color-text-lighter);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.wtc--fight[b-xcdzqgixr7] { --wtc-accent: var(--combat-bad-light); }
.wtc--gather[b-xcdzqgixr7] { --wtc-accent: var(--combat-heal); }
.wtc--prepare[b-xcdzqgixr7] { --wtc-accent: var(--color-info-light); }
.wtc--choice[b-xcdzqgixr7] { --wtc-accent: var(--color-primary-light); }

.wt-road-choice[role="radio"][b-xcdzqgixr7] {
    grid-template-columns: 22px minmax(0, 1fr);
}

    .wt-road-choice:hover:not([aria-disabled="true"])[b-xcdzqgixr7] {
        border-color: var(--wtc-accent);
    }

    .wt-road-choice:focus[b-xcdzqgixr7] {
        outline: none;
    }

    .wt-road-choice:focus-visible[b-xcdzqgixr7] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 3px;
    }

    .wt-road-choice.is-checked[b-xcdzqgixr7] {
        border-color: var(--color-primary);
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--color-primary) 16%, var(--color-gray-900)) 0%,
            color-mix(in srgb, var(--color-bg-base) 96%, transparent) 100%);
    }

    .wt-road-choice.is-locked[b-xcdzqgixr7] {
        cursor: default;
        opacity: 0.62;
    }

    .wt-road-choice[aria-busy="true"][b-xcdzqgixr7] {
        cursor: progress;
    }

.wtc-radio[b-xcdzqgixr7] {
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: var(--radius-round);
    border: 2px solid var(--color-text-secondary);
}

.wt-road-choice.is-checked .wtc-radio[b-xcdzqgixr7] {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: inset 0 0 0 4px var(--color-gray-900);
}

.wtc-body[b-xcdzqgixr7] {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.wtc-head[b-xcdzqgixr7] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.wtc-ico[b-xcdzqgixr7] {
    display: inline-flex;
    flex: none;
    color: var(--wtc-accent);
    font-size: var(--ct-2xl);
}

.wtc-title[b-xcdzqgixr7] {
    flex: 1;
    min-width: 0;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
}

.wtc-votes[b-xcdzqgixr7] {
    flex: none;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wtc-accent) 40%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.wtc-detail[b-xcdzqgixr7] {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wtc-line[b-xcdzqgixr7] {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    line-height: 1.35;
}

.wtc-line-ico[b-xcdzqgixr7] {
    display: inline-flex;
    margin-top: 1px;
    color: var(--color-text-secondary);
    font-size: var(--ct-base);
}

.wtc-tone--bad .wtc-line-ico[b-xcdzqgixr7] { color: var(--combat-bad-light); }
.wtc-tone--warning .wtc-line-ico[b-xcdzqgixr7] { color: var(--color-warning-light); }
.wtc-tone--good .wtc-line-ico[b-xcdzqgixr7] { color: var(--combat-good-light); }
.wtc-tone--info .wtc-line-ico[b-xcdzqgixr7] { color: var(--color-info-light); }

.wtc-chip[b-xcdzqgixr7] {
    align-self: flex-start;
    padding: 1px 8px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--color-warning-light) 45%, transparent);
    color: var(--color-warning-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

@media (prefers-reduced-motion: reduce) {
    .wt-road-choice[b-xcdzqgixr7] {
        transition: none;
    }
}
/* /Components/WarTable/WtRoadDecision.razor.rz.scp.css */
/* WtRoadDecision: the decision-first road moment (Direction A, boards A1-A4, S1-S11). A slim strip, the header, the
   choice as the page's main thing, the vote line, then the road ahead. 768 and under: the camp header, the cards one
   above the other, Leave under them, and once your vote is in the vote line above the cards (S4). Tokens only;
   canonical breakpoints only; no glyph in content. */

.wtd[b-dmnh4r638e] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* ---- The strip --------------------------------------------------------------------------------------------------- */

.wtd-strip[b-dmnh4r638e] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 6px 8px 6px 12px;
    border-radius: var(--radius-3xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--color-primary) 14%, transparent),
        color-mix(in srgb, var(--color-primary) 3%, transparent) 60%,
        color-mix(in srgb, var(--color-primary) 2%, transparent));
}

    .wtd-strip.is-plain[b-dmnh4r638e] {
        min-height: 48px;
        border-color: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
        background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    }

.wtd-resume[b-dmnh4r638e] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
}

.wtd-resume-ico[b-dmnh4r638e] {
    display: inline-flex;
    color: var(--color-primary);
    font-size: var(--ct-xl);
}

.wtd-spacer[b-dmnh4r638e] {
    flex: 1;
}

.wtd-leave[b-dmnh4r638e] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 4px 12px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-lighter);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

    .wtd-leave .material-icons[b-dmnh4r638e] {
        font-size: var(--ct-xl);
    }

.wtd-leave--below[b-dmnh4r638e] {
    display: none;
}

.wtd-leave-sub[b-dmnh4r638e] {
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-weight: normal;
}

.wtd-iconbtn[b-dmnh4r638e] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-lighter);
    font-size: var(--ct-2xl);
    cursor: pointer;
}

    .wtd-leave:hover[b-dmnh4r638e],
    .wtd-iconbtn:hover[b-dmnh4r638e] {
        background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    }

    .wtd-leave:focus-visible[b-dmnh4r638e],
    .wtd-iconbtn:focus-visible[b-dmnh4r638e],
    .wtd-primary:focus-visible[b-dmnh4r638e] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

/* ---- The header's solo aside, the notes, the buffs ---------------------------------------------------------------- */

.wtd-solo[b-dmnh4r638e] {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
    gap: 2px 8px;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
}

    .wtd-solo b[b-dmnh4r638e] {
        color: var(--color-text-primary);
    }

.wtd-cond[b-dmnh4r638e] {
    color: var(--combat-hp-high);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

    .wtd-cond.kind-hp-mid[b-dmnh4r638e] {
        color: var(--combat-hp-mid-light);
    }

    .wtd-cond.kind-hp-low[b-dmnh4r638e] {
        color: var(--combat-hp-low-light);
    }

.wtd-res[b-dmnh4r638e] {
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    white-space: nowrap;
}

.wtd-note[b-dmnh4r638e] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

    .wtd-note.is-good[b-dmnh4r638e] {
        color: var(--combat-good-lighter);
    }

.wtd-effects[b-dmnh4r638e] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wtd-effect[b-dmnh4r638e] {
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--combat-good-light) 45%, transparent);
    background: color-mix(in srgb, var(--combat-good) 12%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
}

.wtd-pointer[b-dmnh4r638e] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--combat-heal-light);
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
}

.wtd-pointer-ico[b-dmnh4r638e] {
    font-size: var(--ct-xl);
}

/* ---- The choice: the cards, or the one gold action ---------------------------------------------------------------- */

.wtd-choices[b-dmnh4r638e] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

    /* A Short Rest only road (RestChoiceRules): the one card, half the width so it reads as a button. */
    .wtd-choices.is-single[b-dmnh4r638e] {
        grid-template-columns: minmax(0, 520px);
        justify-content: center;
    }

.wtd-go[b-dmnh4r638e] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 10px 20px;
}

    .wtd-go > .wtd-note[b-dmnh4r638e] {
        grid-column: 1;
    }

.wtd-you[b-dmnh4r638e] {
    grid-column: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
}

.wtd-k[b-dmnh4r638e] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wtd-you-name[b-dmnh4r638e] {
    color: var(--color-text-primary);
    font-size: var(--ct-base);
    font-weight: 800;
}

.wtd-hp[b-dmnh4r638e] {
    display: grid;
    grid-template-columns: minmax(60px, 1fr) auto;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 160px;
}

.wtd-hp-bar[b-dmnh4r638e] {
    --wtd-hp: var(--combat-hp-high);
    position: relative;
    display: block;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-gray-800);
}

    .wtd-hp-bar.kind-hp-mid[b-dmnh4r638e] {
        --wtd-hp: var(--combat-hp-mid);
    }

    .wtd-hp-bar.kind-hp-low[b-dmnh4r638e] {
        --wtd-hp: var(--combat-hp-low);
    }

.wtd-hp-fill[b-dmnh4r638e] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--wtd-hp);
}

.wtd-hp-value[b-dmnh4r638e] {
    color: var(--color-text-primary);
    font-size: var(--ct-md);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wtd-primary[b-dmnh4r638e] {
    appearance: none;
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 88px;
    margin: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
    box-shadow: var(--shadow-gold);
    color: var(--color-bg-base);
    font: inherit;
    cursor: pointer;
}

    .wtd-primary:focus:not(:focus-visible)[b-dmnh4r638e] {
        outline: none;
    }

    .wtd-primary[aria-busy="true"][b-dmnh4r638e] {
        cursor: progress;
    }

    .wtd-primary[aria-disabled="true"][b-dmnh4r638e] {
        cursor: not-allowed;
        filter: grayscale(0.5);
    }

.wtd-primary-label[b-dmnh4r638e] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wtd-primary-ico[b-dmnh4r638e] {
    display: inline-flex;
    font-size: var(--ct-2xl);
}

.wtd-primary-sub[b-dmnh4r638e] {
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
}

.wtd-blocked[b-dmnh4r638e] {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    padding: 10px 16px;
    border-radius: var(--radius-2xl);
    border: 1px dashed color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--color-primary-light);
}

    .wtd-blocked .material-icons[b-dmnh4r638e] {
        font-size: var(--ct-4xl);
    }

    .wtd-blocked b[b-dmnh4r638e] {
        display: block;
        font-size: var(--ct-lg);
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .wtd-blocked small[b-dmnh4r638e] {
        display: block;
        color: var(--color-text-light);
        font-size: var(--ct-sm);
    }

/* A card's consequence lines: the icon column grows with the text size (a 16px column let the icon touch the words at
   Extra large). */
.wtd-choices[b-dmnh4r638e]  .rd-line {
    grid-template-columns: 1.4em minmax(0, 1fr);
}

/* ---- Tiers ------------------------------------------------------------------------------------------------------ */

@media (max-width: 1280px) {
    .wtd-choices[b-dmnh4r638e] {
        gap: 12px;
    }
}

/* A phone (boards A2, A4, S2, S4, S7p, S11p). */
@media (max-width: 768px) {
    .wtd[b-dmnh4r638e] {
        gap: 8px;
        padding: 8px 12px 0;
    }

    .wtd-strip[b-dmnh4r638e] {
        align-items: flex-start;
        min-height: 0;
        padding: 6px 6px 6px 8px;
    }

        /* The stamp takes two rows; Copy combat log keeps its corner. */
        .wtd-strip[b-dmnh4r638e]  .wt-road-stamp {
            flex: 1 1 0;
        }

    .wtd-spacer[b-dmnh4r638e] {
        display: none;
    }

    .wtd-leave--strip[b-dmnh4r638e] {
        display: none;
    }

    .wtd-leave--below[b-dmnh4r638e] {
        display: inline-flex;
        align-self: flex-start;
        flex-wrap: wrap;
        white-space: normal;
        text-align: left;
    }

    .wtd-choices[b-dmnh4r638e] {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

        /* The cards a party's rows make tall: tighter, so both choices clear a 390 x 844 phone's fold. */
        .wtd-choices[b-dmnh4r638e]  .rd-choice.has-rows {
            gap: 6px;
            padding: 12px;
        }

            .wtd-choices[b-dmnh4r638e]  .rd-choice.has-rows .rd-choice-title {
                font-size: var(--ct-xl);
            }

            .wtd-choices[b-dmnh4r638e]  .rd-choice.has-rows .rd-choice-cta {
                min-height: 44px;
            }

        .wtd-choices.is-single[b-dmnh4r638e] {
            grid-template-columns: minmax(0, 1fr);
        }

    .wtd-go[b-dmnh4r638e] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wtd-you[b-dmnh4r638e],
    .wtd-primary[b-dmnh4r638e],
    .wtd-blocked[b-dmnh4r638e],
    .wtd-go > .wtd-note[b-dmnh4r638e] {
        grid-column: 1;
        grid-row: auto;
    }

    .wtd-primary[b-dmnh4r638e] {
        min-height: 72px;
    }

    .wtd-primary-label[b-dmnh4r638e] {
        font-size: var(--ct-xl);
    }

    /* A party of 3 on a phone: the table holds the numbers, so the cards keep their words only. */
    .wtd.is-phone-table[b-dmnh4r638e]  .rpr {
        display: none;
    }
}

/* A phone held sideways (the War Table's query; combat runs here): everything tighter, so the choice comes sooner. */
@media (orientation: landscape) and (max-height: 480px) {
    .wtd[b-dmnh4r638e] {
        gap: 8px;
    }

    .wtd-strip[b-dmnh4r638e] {
        min-height: 44px;
        padding: 2px 6px 2px 10px;
    }

    .wtd-choices[b-dmnh4r638e] {
        gap: 10px;
    }
}

@media (forced-colors: active) {
    .wtd-strip[b-dmnh4r638e],
    .wtd-leave[b-dmnh4r638e],
    .wtd-iconbtn[b-dmnh4r638e],
    .wtd-you[b-dmnh4r638e],
    .wtd-effect[b-dmnh4r638e],
    .wtd-blocked[b-dmnh4r638e] {
        border-color: CanvasText;
    }

    .wtd-primary[b-dmnh4r638e] {
        border: 2px solid ButtonText;
        background: ButtonFace;
        color: ButtonText;
        forced-color-adjust: none;
    }
}
/* /Components/WarTable/WtRoadDeviceWatch.razor.rz.scp.css */
/* WtRoadDeviceWatch (W3): draws nothing; the file completes the kit's markup, code-behind and styles triad. */
/* /Components/WarTable/WtRoadEnd.razor.rz.scp.css */
/* WtRoadEnd (W3): the "At the end" band (the WT-Road boards' wr-end) on design tokens: gold pills for XP and coin, a
   green one for a companion, items in their rarity's rim with a class line (green when the hero can use it, amber when
   not), the cap in plain words below. */

.wt-road-end[b-o3t3kpviyf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 14px;
    padding: 14px 18px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
    background: linear-gradient(100deg, var(--fd-card-top), var(--fd-card-bottom) 62%);
    font-family: var(--font-primary);
}

.wt-road-end-title[b-o3t3kpviyf] {
    margin: 0;
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.wt-road-end-list[b-o3t3kpviyf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-road-end-chip[b-o3t3kpviyf] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 2.43em;
    padding: 0 14px 0 11px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 24%, transparent);
    color: var(--fd-gold-soft);
    font-size: var(--gt-base);
    font-weight: 700;
    white-space: nowrap;
}

.wt-road-end-chip .material-icons[b-o3t3kpviyf] {
    font-size: var(--gt-xl);
    color: var(--color-primary);
}

.wt-road-end-chip--good[b-o3t3kpviyf] {
    border-color: color-mix(in srgb, var(--fd-good) 45%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 45%, transparent);
    color: var(--fd-good-ink);
}

.wt-road-end-chip--good .material-icons[b-o3t3kpviyf] {
    color: var(--fd-good);
}

.wt-road-end-item[b-o3t3kpviyf] {
    --wt-rarity: var(--color-rarity-common);
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 2.43em;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wt-rarity) 60%, transparent);
    background: color-mix(in srgb, var(--wt-rarity) 14%, var(--fd-panel));
    font-size: var(--gt-base);
}

.wt-road-end-item.rarity-uncommon[b-o3t3kpviyf] { --wt-rarity: var(--color-rarity-uncommon); }
.wt-road-end-item.rarity-rare[b-o3t3kpviyf] { --wt-rarity: var(--color-rarity-rare); }
.wt-road-end-item.rarity-epic[b-o3t3kpviyf] { --wt-rarity: var(--color-rarity-epic); }
.wt-road-end-item.rarity-legendary[b-o3t3kpviyf] { --wt-rarity: var(--color-rarity-legendary); }

.wt-road-end-item-name[b-o3t3kpviyf] {
    font-weight: 700;
    color: var(--fd-text);
}

.wt-road-end-item-rarity[b-o3t3kpviyf] {
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--wt-rarity) 55%, white);
}

.wt-road-end-item-class[b-o3t3kpviyf] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 2.09em;
    padding: 0 9px;
    border-radius: 7px;
    border: 1px solid color-mix(in srgb, var(--fd-good) 45%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 40%, transparent);
    color: var(--fd-good-ink);
    font-size: var(--gt-sm);
    font-weight: 700;
}

.wt-road-end-item-class .material-icons[b-o3t3kpviyf] {
    font-size: var(--gt-base);
}

.wt-road-end-item-class--no[b-o3t3kpviyf] {
    border-color: color-mix(in srgb, var(--fd-warn) 50%, transparent);
    background: color-mix(in srgb, var(--fd-warn-deep) 45%, transparent);
    color: var(--fd-warn-ink);
}

.wt-road-end-cap[b-o3t3kpviyf] {
    flex-basis: 100%;
    margin: 0;
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.5;
    color: var(--fd-text-3);
}
/* /Components/WarTable/WtRoadFoes.razor.rz.scp.css */
/* WtRoadFoes: the coming fight's foes on the road moment (board WT-Road-Handback-1366), moved unchanged from
   WtRoadMoment.razor.css with its markup so both layouts draw one list. Tokens only. */

.wtm-foes[b-i2z028fd41] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wtm-foe[b-i2z028fd41] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wtm-foe-token[b-i2z028fd41] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: var(--color-gray-900);
    color: var(--color-text-lighter);
    font-size: var(--ct-xl);
}

.wtm-foe.is-boss .wtm-foe-token[b-i2z028fd41] {
    border-color: var(--combat-bad-light);
    color: var(--combat-bad-light);
}

.wtm-foe-n[b-i2z028fd41] {
    position: absolute;
    right: -6px;
    bottom: -4px;
    padding: 0 4px;
    border-radius: var(--radius-md);
    border: 1px solid color-mix(in srgb, var(--color-primary) 50%, transparent);
    background: var(--color-bg-base);
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
    font-weight: 800;
    line-height: 1.4;
}

.wtm-foe-text[b-i2z028fd41] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

    .wtm-foe-text b[b-i2z028fd41] {
        color: var(--color-text-primary);
        font-size: var(--ct-base);
    }

    .wtm-foe-text small[b-i2z028fd41] {
        color: var(--color-text-light);
        font-size: var(--ct-sm);
    }

.wtm-badge[b-i2z028fd41] {
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--color-primary-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

    .wtm-badge.is-boss[b-i2z028fd41] {
        border-color: color-mix(in srgb, var(--combat-bad-light) 55%, transparent);
        color: var(--combat-bad-lightest);
    }

@media (forced-colors: active) {
    .wtm-foe-token[b-i2z028fd41],
    .wtm-badge[b-i2z028fd41] {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/WtRoadHead.razor.rz.scp.css */
/* WtRoadHead (W3): the road's head row on design tokens. Phone first: the way back, the road's name with its dots, the
   overflow. From 768 the full crumbs, the falls in red, then "Leave to the tavern" and the overflow at the right, as
   WT-Road-1024t draws the tablet's row; the region chip (its tint a rim and an icon, never text) joins it from 1280
   (WT-Road-1366). Every target is 44px tall. */

.wt-road-head[b-0fu6aulch1] {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    min-height: 44px;
    font-family: var(--font-primary);
    font-size: var(--gt-base);
    color: var(--fd-text-3);
}

.wt-road-head-crumbs ol[b-0fu6aulch1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-road-head-crumbs li[b-0fu6aulch1] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wt-road-head-crumb + .wt-road-head-crumb[b-0fu6aulch1]::before,
.wt-road-head-back + .wt-road-head-crumb[b-0fu6aulch1]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--fd-text-5);
    border-right: 2px solid var(--fd-text-5);
    transform: rotate(45deg);
}

.wt-road-head-crumbs a[b-0fu6aulch1] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.wt-road-head-crumbs a .material-icons[b-0fu6aulch1] {
    font-size: calc(var(--gt-px) * 19);
}

.wt-road-head-crumb a[b-0fu6aulch1] {
    color: var(--fd-text-2);
}

.wt-road-head-crumbs [aria-current="page"][b-0fu6aulch1] {
    color: var(--fd-text-3);
    white-space: nowrap;
}

.wt-road-head-crumbs .wt-road-head-crumb[b-0fu6aulch1] {
    display: none;
}

.wt-road-head-region[b-0fu6aulch1] {
    display: none;
    align-items: center;
    gap: 6px;
    height: 2.31em;
    padding: 0 12px 0 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wt-tint, var(--color-region-realm)) 55%, transparent);
    background: var(--fd-surface-strong);
    color: var(--fd-text-2);
    font-size: var(--gt-md);
    font-weight: 600;
    white-space: nowrap;
}

.wt-road-head-region .material-icons[b-0fu6aulch1] {
    font-size: var(--gt-lg);
    color: var(--wt-tint, var(--color-region-realm));
}

.wt-road-head-falls[b-0fu6aulch1] {
    display: none;
    align-items: center;
    gap: 5px;
    color: var(--fd-bad-ink);
    font-size: var(--gt-md);
    white-space: nowrap;
}

.wt-road-head-falls .material-icons[b-0fu6aulch1] {
    font-size: calc(var(--gt-px) * 15);
    color: var(--fd-bad);
}

.wt-road-head-road[b-0fu6aulch1] {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 0;
}

.wt-road-head-name[b-0fu6aulch1] {
    max-width: 100%;
    overflow: hidden;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-base);
    color: var(--fd-cream);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wt-road-head-leave[b-0fu6aulch1] {
    display: none;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin-left: auto;
    color: var(--fd-gold-text);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.wt-road-head-leave .material-icons[b-0fu6aulch1] {
    font-size: var(--gt-xl);
}

.wt-road-head-more[b-0fu6aulch1] {
    position: relative;
}

.wt-road-head-more-button[b-0fu6aulch1] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--fd-text-2);
    cursor: pointer;
}

.wt-road-head-more-button[aria-expanded="true"][b-0fu6aulch1] {
    background: var(--fd-surface-strong);
}

.wt-road-head-menu[b-0fu6aulch1] {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    display: flex;
    flex-direction: column;
    min-width: 240px;
    margin: 0;
    padding: 6px;
    border-radius: var(--fd-r-card);
    border: 1px solid var(--fd-line-strong);
    background: var(--color-gray-900);
    box-shadow: var(--fd-shadow);
    list-style: none;
}

.wt-road-head-menu a[b-0fu6aulch1],
.wt-road-head-menu-item[b-0fu6aulch1] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: none;
    border-radius: var(--radius-xl);
    background: transparent;
    color: var(--fd-text-2);
    font: 600 var(--gt-base) var(--font-primary);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.wt-road-head-menu .material-icons[b-0fu6aulch1] {
    font-size: calc(var(--gt-px) * 19);
    color: var(--fd-text-4);
}

.wt-road-head-menu-item--abandon[b-0fu6aulch1],
.wt-road-head-menu-item--abandon .material-icons[b-0fu6aulch1] {
    color: var(--fd-bad-text);
}

.wt-road-head-menu a:hover[b-0fu6aulch1],
.wt-road-head-menu-item:hover[b-0fu6aulch1] {
    background: var(--fd-surface-strong);
}

.wt-road-head-crumbs a:focus-visible[b-0fu6aulch1],
.wt-road-head-leave:focus-visible[b-0fu6aulch1],
.wt-road-head-more-button:focus-visible[b-0fu6aulch1],
.wt-road-head-menu a:focus-visible[b-0fu6aulch1],
.wt-road-head-menu-item:focus-visible[b-0fu6aulch1] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

/* No overflow (a walked road): Leave stays in the row on a phone too, in the road name's place (the h1 names it). */
.wt-road-head--no-menu .wt-road-head-leave[b-0fu6aulch1] {
    display: inline-flex;
}

.wt-road-head--no-menu .wt-road-head-road[b-0fu6aulch1] {
    display: none;
}

@media (min-width: 768px) {
    .wt-road-head-crumbs .wt-road-head-crumb[b-0fu6aulch1],
    .wt-road-head-falls[b-0fu6aulch1],
    .wt-road-head-leave[b-0fu6aulch1] {
        display: inline-flex;
    }

    .wt-road-head-road[b-0fu6aulch1],
    .wt-road-head-menu-leave[b-0fu6aulch1] {
        display: none;
    }
}

@media (min-width: 1280px) {
    .wt-road-head-region[b-0fu6aulch1] {
        display: inline-flex;
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .wt-road-head-crumbs .wt-road-head-crumb[b-0fu6aulch1],
    .wt-road-head-region[b-0fu6aulch1],
    .wt-road-head-falls[b-0fu6aulch1],
    .wt-road-head-leave[b-0fu6aulch1] {
        display: none;
    }

    .wt-road-head-road[b-0fu6aulch1] {
        display: flex;
    }

    .wt-road-head-menu-leave[b-0fu6aulch1] {
        display: block;
    }
}
/* /Components/WarTable/WtRoadMoment.razor.rz.scp.css */
/* WtRoadMoment: the road moment on the combat page (board WT-Road-Handback-1366; phone WT-Road-Camp-390). A
   full-window layer at z 9999, as the rest decision it replaces: above the victory screen (9998), below the
   Try-Your-New-Gear modal (10000); combat-shared.css raises MudBlazor's dialog and snackbar layers while it is up.
   Desktop: the stamp bar, then the chart (520 x 562) beside the panel. 960 and down: the chart becomes a band over the
   panel; a phone held upright reads the whole rest flow (only the battle asks for sideways, WT Q43). Tokens only;
   canonical breakpoints only; the middle dots are shapes, never glyphs. */

.wt-road-moment[b-zu2yr33116] {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, color-mix(in srgb, var(--color-primary) 10%, transparent), transparent 72%),
        radial-gradient(ellipse 120% 90% at 50% 45%, var(--wt-vellum) 0%, var(--wt-vellum-deep) 100%);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    animation: wtm-in-b-zu2yr33116 240ms ease-out both;
}

    .wt-road-moment:focus[b-zu2yr33116] {
        outline: none;
    }

.wtm-content[b-zu2yr33116] {
    display: flex;
    flex-direction: column;
    justify-content: safe center;     /* a tall screen centers the moment; a short one starts at the top and scrolls */
    gap: 12px;
    box-sizing: border-box;
    max-width: 1320px;
    min-height: 100%;
    margin: 0 auto;
    padding: 20px 48px 24px;
}

/* Off-screen but focusable: they only bounce Tab back into the moment. */
.wtm-sentinel[b-zu2yr33116] {
    position: fixed;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* ---- The stamp bar --------------------------------------------------------------------- */

.wtm-bar[b-zu2yr33116] {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 6px 10px 6px 12px;
    border-radius: var(--radius-3xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--color-primary) 16%, transparent),
        color-mix(in srgb, var(--color-primary) 4%, transparent) 55%,
        color-mix(in srgb, var(--color-primary) 2%, transparent));
    box-shadow: 0 12px 30px color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

    .wtm-bar.is-plain[b-zu2yr33116] {
        min-height: 52px;
        border-color: color-mix(in srgb, var(--color-text-secondary) 30%, transparent);
        background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    }

.wtm-resume[b-zu2yr33116] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
}

.wtm-resume-ico[b-zu2yr33116] {
    display: inline-flex;
    color: var(--color-primary);
    font-size: var(--ct-xl);
}

.wtm-spacer[b-zu2yr33116] {
    flex: 1;
}

.wtm-leave[b-zu2yr33116] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 4px 10px;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-primary-light);
    font: inherit;
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

    .wtm-leave .material-icons[b-zu2yr33116] {
        font-size: var(--ct-xl);
    }

.wtm-iconbtn[b-zu2yr33116] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-lighter);
    font-size: var(--ct-2xl);
    cursor: pointer;
}

    .wtm-leave:hover[b-zu2yr33116],
    .wtm-iconbtn:hover[b-zu2yr33116] {
        background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    }

    .wtm-leave:focus-visible[b-zu2yr33116],
    .wtm-iconbtn:focus-visible[b-zu2yr33116] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

/* ---- The stage: the chart beside the panel -------------------------------------------- */

.wtm-stage[b-zu2yr33116] {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
}

    .wtm-stage.is-chartless[b-zu2yr33116] {
        grid-template-columns: minmax(0, 760px);
        justify-content: center;
    }

/* The chart itself is W2's (WtRegionalChart): it draws its own frame and sizes itself per tier, so the moment only
   places it and pins the walked seal over it (integration: the old rules named F's placeholder classes). */
.wtm-chart[b-zu2yr33116] {
    position: relative;
    align-self: start;
    min-width: 0;
}

/* The walked seal at the chart's end of the road: a gold hexagon (a clip-path, no glyph), the kit's seal. */
.wtm-walked-hex[b-zu2yr33116] {
    position: absolute;
    right: 9%;
    bottom: 12%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 104px;
    height: 118px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
}

    .wtm-walked-hex b[b-zu2yr33116] {
        font-family: var(--font-primary);
        font-size: var(--ct-lg);
        font-weight: 800;
        letter-spacing: 0.1em;
        line-height: 1;
        text-transform: uppercase;
    }

    .wtm-walked-hex small[b-zu2yr33116] {
        font-size: var(--ct-sm);
        font-weight: var(--font-weight-bold);
    }

.wtm-walked-hex-ico[b-zu2yr33116] {
    display: inline-flex;
    font-size: var(--ct-3xl);
}

.wtm-panel[b-zu2yr33116] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 15px 22px 13px;
    border-radius: var(--radius-3xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--color-gray-850) 96%, transparent) 0%,
        color-mix(in srgb, var(--color-bg-base) 98%, transparent) 100%);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--color-bg-base) 65%, transparent);
}

/* The pin that holds the dossier to the table (the kit's tack). */
.wtm-tack[b-zu2yr33116] {
    position: absolute;
    top: -9px;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    border-radius: var(--radius-round);
    background: radial-gradient(circle at 35% 30%, var(--color-primary-light), var(--color-primary-dark));
    box-shadow: 0 3px 6px color-mix(in srgb, var(--color-bg-base) 70%, transparent);
}

.wtm-head[b-zu2yr33116] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wtm-eyebrow[b-zu2yr33116] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
}

.wtm-eyebrow-lead[b-zu2yr33116] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wtm-fact[b-zu2yr33116] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .wtm-fact:last-child[b-zu2yr33116] {
        color: var(--color-primary-light);
    }

.wtm-sep[b-zu2yr33116] {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-round);
    background: var(--color-text-secondary);
}

.wtm-boss[b-zu2yr33116] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: none;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--combat-bad-light) 55%, transparent);
    background: color-mix(in srgb, var(--combat-bad-dark) 35%, transparent);
    color: var(--combat-bad-lightest);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.wtm-title[b-zu2yr33116] {
    margin: -3px 0 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-5xl);
    font-weight: 800;
    line-height: 1.1;
}

/* Listen and the "Narrate the road" switch: the shared WtNarration laid out as the board's row (Listen with its note at
   the left, the switch at the right). The control itself is the kit's; the moment only places its two buttons. */
.wtm-narration[b-zu2yr33116] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 12px;
    padding: 8px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 22%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
}

    .wtm-narration[b-zu2yr33116]  .wt-narration {
        display: contents;
    }

    .wtm-narration[b-zu2yr33116]  .wt-narration-button {
        grid-column: 1;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 0 4px 0 0;
        border: 0;
        background: transparent;
        color: var(--color-text-primary);
        font: inherit;
        font-weight: var(--font-weight-bold);
        cursor: pointer;
    }

        .wtm-narration[b-zu2yr33116]  .wt-narration-button .material-icons {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-round);
            background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
            color: var(--color-bg-base);
            font-size: var(--ct-3xl);
        }

    .wtm-narration[b-zu2yr33116]  .wt-narration-switch {
        grid-column: 3;
        grid-row: 1;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 0 0 0 12px;
        border: 0;
        border-left: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
        background: transparent;
        color: var(--color-text-lighter);
        font: inherit;
        font-size: var(--ct-md);
        font-weight: var(--font-weight-semibold);
        cursor: pointer;
    }

        /* The switch's track and thumb (a shape, no glyph). */
        .wtm-narration[b-zu2yr33116]  .wt-narration-switch::after {
            content: "";
            width: 36px;
            height: 20px;
            border-radius: 999px;
            background:
                radial-gradient(circle at 10px 50%, var(--color-text-lighter) 0 7px, transparent 7.5px),
                color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
        }

        .wtm-narration[b-zu2yr33116]  .wt-narration-switch[aria-checked="true"]::after {
            background:
                radial-gradient(circle at 26px 50%, var(--color-bg-base) 0 7px, transparent 7.5px),
                var(--color-primary);
        }

    .wtm-narration[b-zu2yr33116]  .wt-narration-button:focus-visible,
    .wtm-narration[b-zu2yr33116]  .wt-narration-switch:focus-visible {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

.wtm-narration-note[b-zu2yr33116] {
    grid-column: 2;
    grid-row: 1;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

    /* No recording for this waypoint: no Listen, so the note takes its place. */
    .wtm-narration.is-silent .wtm-narration-note[b-zu2yr33116] {
        grid-column: 1 / 3;
    }

.wtm-story[b-zu2yr33116] {
    margin: 0;
    color: var(--color-text-lighter);
    font-family: var(--fd-font-voice);
    font-size: var(--ct-lg);
    font-style: italic;
    line-height: 1.55;
}

/* The hero's class opening line (#174): its own paragraph before the first waypoint's story, a gold rule beside it. */
.wtm-class-opening[b-zu2yr33116] {
    padding-left: 10px;
    border-left: 3px solid var(--fd-gold-text);
    color: var(--fd-cream);
}

.wtm-k[b-zu2yr33116] {
    flex: none;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wtm-count[b-zu2yr33116] {
    margin-left: 6px;
    color: var(--color-text-lighter);
    letter-spacing: 0.04em;
    text-transform: none;
}

/* ---- Then: the coming fight --------------------------------------------------------------- */

.wtm-then[b-zu2yr33116] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding-top: 8px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.wtm-hazard[b-zu2yr33116] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 3px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-monk-light) 50%, transparent);
    background: color-mix(in srgb, var(--color-monk) 18%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
}

/* ---- Your condition and the party ---------------------------------------------------------- */

.wtm-you[b-zu2yr33116] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 7px 10px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
}

.wtm-you-name[b-zu2yr33116] {
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-base);
    font-weight: 800;
    white-space: nowrap;
}

.wtm-hp[b-zu2yr33116] {
    display: grid;
    grid-template-columns: auto minmax(60px, 1fr) auto;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 160px;
}

.wtm-hp-label[b-zu2yr33116] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
}

.wtm-hp-bar[b-zu2yr33116] {
    --wtm-hp: var(--combat-hp-high);
    position: relative;
    display: block;
    min-width: 40px;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--color-gray-800);
}

    .wtm-hp-bar.kind-hp-mid[b-zu2yr33116] {
        --wtm-hp: var(--combat-hp-mid);
    }

    .wtm-hp-bar.kind-hp-low[b-zu2yr33116] {
        --wtm-hp: var(--combat-hp-low);
    }

.wtm-hp-fill[b-zu2yr33116] {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: inherit;
    background: var(--wtm-hp);
}

.wtm-hp-value[b-zu2yr33116] {
    color: var(--color-text-primary);
    font-size: var(--ct-md);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.wtm-cond[b-zu2yr33116] {
    color: var(--combat-hp-high);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    white-space: nowrap;
}

    .wtm-cond.kind-hp-mid[b-zu2yr33116] {
        color: var(--combat-hp-mid-light);
    }

    .wtm-cond.kind-hp-low[b-zu2yr33116] {
        color: var(--combat-hp-low-light);
    }

.wtm-res[b-zu2yr33116] {
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    white-space: nowrap;
}

.wtm-note[b-zu2yr33116] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

    .wtm-note.is-good[b-zu2yr33116] {
        color: var(--combat-good-lighter);
    }

.wtm-party[b-zu2yr33116] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wtm-member[b-zu2yr33116] {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(40px, 1fr) auto;
    align-items: center;
    gap: 2px 8px;
    font-size: var(--ct-sm);
}

    .wtm-member.is-away[b-zu2yr33116] {
        opacity: 0.6;
    }

.wtm-member-name[b-zu2yr33116] {
    overflow: hidden;
    font-weight: var(--font-weight-bold);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wtm-member-hp[b-zu2yr33116] {
    color: var(--color-text-lighter);
    font-variant-numeric: tabular-nums;
}

.wtm-member-gain[b-zu2yr33116] {
    grid-column: 2 / -1;
    color: var(--combat-heal-light);
    font-size: var(--ct-sm);
}

.wtm-member-tag[b-zu2yr33116] {
    grid-column: 2 / -1;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
}

/* ---- The choices, the vote, the gold action ------------------------------------------------- */

.wtm-choices[b-zu2yr33116] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

    /* A Short Rest only road (RestChoiceRules): the one card, at most half the panel wide so it reads as a button. */
    .wtm-choices.is-single[b-zu2yr33116] {
        grid-template-columns: minmax(0, 360px);
    }

/* The first stop's pointer to the one card: a short line in the heal colour (the Short Rest's own accent). */
.wtm-pointer[b-zu2yr33116] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--combat-heal-light);
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
}

.wtm-pointer-ico[b-zu2yr33116] {
    font-size: var(--ct-xl);
}

.wtm-vote[b-zu2yr33116] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wtm-vote-status[b-zu2yr33116] {
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
}

.wtm-vote-rule[b-zu2yr33116] {
    color: var(--color-text-secondary);
}

.wtm-primary[b-zu2yr33116] {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    margin: auto 0 0;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
    box-shadow: var(--shadow-gold);
    color: var(--color-bg-base);
    font: inherit;
    cursor: pointer;
}

    .wtm-primary:focus[b-zu2yr33116] {
        outline: none;
    }

    .wtm-primary:focus-visible[b-zu2yr33116] {
        outline: 3px solid var(--color-text-primary);
        outline-offset: 3px;
    }

    .wtm-primary[aria-busy="true"][b-zu2yr33116] {
        cursor: progress;
    }

.wtm-primary-label[b-zu2yr33116] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wtm-primary-ico[b-zu2yr33116] {
    display: inline-flex;
    font-size: var(--ct-2xl);
}

.wtm-primary-sub[b-zu2yr33116] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.wtm-blocked[b-zu2yr33116] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    margin-top: auto;
    padding: 8px 14px;
    border-radius: var(--radius-2xl);
    border: 1px dashed color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--color-primary-light);
}

    .wtm-blocked .material-icons[b-zu2yr33116] {
        font-size: var(--ct-4xl);
    }

    .wtm-blocked b[b-zu2yr33116] {
        display: block;
        font-family: var(--font-primary);
        font-size: var(--ct-lg);
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .wtm-blocked small[b-zu2yr33116] {
        display: block;
        color: var(--color-text-light);
        font-size: var(--ct-sm);
    }

.wtm-foot[b-zu2yr33116] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 14px;
    margin-top: -2px;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.wtm-keys kbd[b-zu2yr33116] {
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    background: var(--color-gray-900);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
}

@keyframes wtm-in-b-zu2yr33116 {
    from {
        opacity: 0;
    }
}

/* ---- Tiers ------------------------------------------------------------------------------- */

@media (max-width: 1280px) {
    .wtm-content[b-zu2yr33116] {
        padding: 16px 24px 20px;
    }

    .wtm-stage[b-zu2yr33116] {
        grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    }
}

@media (max-width: 1024px) {
    .wtm-stage[b-zu2yr33116] {
        grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
        gap: 16px;
    }

    .wtm-title[b-zu2yr33116] {
        font-size: var(--ct-4xl);
    }
}

/* 960 and down: the chart is a band over the panel. A sideways phone (844 x 390) keeps the two columns, the chart
   at the height the screen leaves. */
@media (max-width: 960px) {
    .wtm-stage[b-zu2yr33116] {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 960px) and (orientation: landscape) {
    .wtm-stage[b-zu2yr33116] {
        grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .wtm-content[b-zu2yr33116] {
        gap: 10px;
        padding: 0 0 16px;
    }

    .wtm-bar[b-zu2yr33116] {
        margin: 10px 12px 0;
    }

    .wtm-walked-hex[b-zu2yr33116] {
        width: 76px;
        height: 86px;
    }

        .wtm-walked-hex b[b-zu2yr33116] {
            font-size: var(--ct-sm);
        }

        .wtm-walked-hex small[b-zu2yr33116] {
            font-size: var(--ct-sm);
        }

    .wtm-walked-hex-ico[b-zu2yr33116] {
        font-size: var(--ct-xl);
    }

    .wtm-panel[b-zu2yr33116] {
        margin: 0 12px;
        padding: 14px 16px 12px;
    }
}

/* A phone held sideways (844 x 390, where combat runs): two columns, everything tighter. */
@media (max-width: 960px) and (orientation: landscape) {
    .wtm-content[b-zu2yr33116] {
        gap: 8px;
        padding: 8px 12px 12px;
    }

    .wtm-bar[b-zu2yr33116] {
        min-height: 44px;
        margin: 0;
        padding: 2px 8px;
    }

    .wtm-panel[b-zu2yr33116] {
        margin: 0;
        padding: 12px 14px 10px;
    }

    .wtm-title[b-zu2yr33116] {
        font-size: var(--ct-3xl);
    }
}

@media (max-width: 480px) {
    .wtm-bar[b-zu2yr33116] {
        flex-wrap: wrap;
        gap: 4px 10px;
    }

    .wtm-head[b-zu2yr33116] {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .wtm-title[b-zu2yr33116] {
        font-size: var(--ct-3xl);
    }

    .wtm-narration[b-zu2yr33116] {
        grid-template-columns: auto minmax(0, 1fr);
    }

        .wtm-narration[b-zu2yr33116]  .wt-narration-switch {
            grid-column: 2;
            justify-self: end;
        }

    .wtm-narration-note[b-zu2yr33116] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .wtm-narration.is-silent[b-zu2yr33116] {
        grid-template-columns: minmax(0, 1fr) auto;
    }

        .wtm-narration.is-silent .wtm-narration-note[b-zu2yr33116] {
            grid-column: 1;
            grid-row: 1;
        }

    .wtm-choices[b-zu2yr33116] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wtm-hazard[b-zu2yr33116] {
        margin-left: 0;
    }

    .wtm-foot .wtm-keys[b-zu2yr33116] {
        display: none;
    }
}

@media (pointer: coarse) {
    .wtm-foot .wtm-keys[b-zu2yr33116] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-road-moment[b-zu2yr33116] {
        animation: none;
    }
}
/* /Components/WarTable/WtRoadSheet.razor.rz.scp.css */
/* WtRoadSheet: a sheet over the road moment (board WT-Road-Camp-390): a centered panel from 769px, a bottom sheet
   with a grab handle below, the road showing above it. It lives inside the moment's layer (z 9999, above the victory
   screen's 9998), over the moment's content, which is inert while it is up. Tokens only; canonical breakpoints only. */

/* Fixed to the window (the moment's own content scrolls under it), inside the moment's stacking context. */
.wt-road-sheet-layer[b-5k45og939y] {
    position: fixed;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
}

.wts-scrim[b-5k45og939y] {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-bg-base) 72%, transparent);
}

.wt-road-sheet[b-5k45og939y] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    width: min(640px, 100%);
    max-height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 20px 14px;
    border-radius: var(--radius-3xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 32%, transparent);
    border-top-color: color-mix(in srgb, var(--color-primary) 55%, transparent);
    background: linear-gradient(180deg, var(--color-gray-850) 0%, var(--color-bg-base) 46%);
    box-shadow: 0 -18px 40px color-mix(in srgb, var(--color-bg-base) 70%, transparent);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    animation: wts-rise-b-5k45og939y 260ms ease-out both;
}

    .wt-road-sheet:focus[b-5k45og939y] {
        outline: none;
    }

.wts--ambush[b-5k45og939y] {
    border-color: color-mix(in srgb, var(--combat-bad-light) 50%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--combat-bad-dark) 38%, var(--color-gray-900)) 0%, var(--color-bg-base) 52%);
}

.wts-grab[b-5k45og939y] {
    display: none;
    align-self: center;
    width: 44px;
    height: 5px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
}

/* ---- The Short Rest's beats ---------------------------------------------------------- */

.wts-steps[b-5k45og939y] {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wts-step[b-5k45og939y] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 2.43em;
    padding: 2px 6px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 60%, transparent);
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.wts-step-ico[b-5k45og939y] {
    display: inline-flex;
    color: var(--color-text-secondary);
    font-size: var(--ct-base);
}

.wts-step--done[b-5k45og939y] {
    color: var(--color-text-lighter);
}

    .wts-step--done .wts-step-ico[b-5k45og939y] {
        color: var(--combat-good-light);
    }

.wts-step--current[b-5k45og939y] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: color-mix(in srgb, var(--color-primary) 16%, transparent);
    color: var(--color-primary-light);
}

    .wts-step--current .wts-step-ico[b-5k45og939y] {
        color: var(--color-primary);
    }

/* ---- Head and prose -------------------------------------------------------------------- */

.wts-head[b-5k45og939y] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wts-eyebrow[b-5k45og939y] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wts--ambush .wts-eyebrow[b-5k45og939y] {
    color: var(--combat-bad-lighter);
}

.wts-title[b-5k45og939y] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-3xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
}

.wts-body[b-5k45og939y] {
    margin: 0;
    color: var(--color-text-light);
    font-family: var(--fd-font-voice);
    font-size: var(--ct-lg);
    font-style: italic;
    line-height: 1.55;
}

.wts-outcome[b-5k45og939y] {
    padding-left: 12px;
    border-left: 3px solid color-mix(in srgb, var(--combat-good-light) 45%, transparent);
}

    .wts-outcome.is-fail[b-5k45og939y] {
        border-left-color: color-mix(in srgb, var(--combat-bad-light) 45%, transparent);
    }

.wts-note[b-5k45og939y] {
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
    font-weight: var(--font-weight-semibold);
}

.wts-check[b-5k45og939y] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    padding: 8px 12px;
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--color-bg-base) 60%, transparent);
}

.wts-check-label[b-5k45og939y] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wts-check-result[b-5k45og939y] {
    font-family: var(--font-display);
    font-size: var(--ct-xl);
}

.wts-check.is-pass .wts-check-result[b-5k45og939y] {
    color: var(--combat-good-light);
}

.wts-check.is-fail .wts-check-result[b-5k45og939y] {
    color: var(--combat-bad-light);
}

.wts-check-detail[b-5k45og939y] {
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    font-variant-numeric: tabular-nums;
}

.wts-effects[b-5k45og939y],
.wts-buffs[b-5k45og939y] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wts-effect[b-5k45og939y],
.wts-buff[b-5k45og939y] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
}

.wts-effect-ico[b-5k45og939y] {
    display: inline-flex;
    font-size: var(--ct-base);
    color: var(--color-info-light);
}

.wts-tone--good[b-5k45og939y] { border-color: color-mix(in srgb, var(--combat-good-light) 45%, transparent); }
.wts-tone--good .wts-effect-ico[b-5k45og939y] { color: var(--combat-good-light); }
.wts-tone--bad[b-5k45og939y] { border-color: color-mix(in srgb, var(--combat-bad-light) 45%, transparent); }
.wts-tone--bad .wts-effect-ico[b-5k45og939y] { color: var(--combat-bad-light); }

/* ---- The ambush's foes -------------------------------------------------------------------- */

.wts-foes[b-5k45og939y] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wts-foe-list[b-5k45og939y] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wts-foe[b-5k45og939y] {
    display: flex;
    align-items: center;
    gap: 9px;
}

.wts-foe-token[b-5k45og939y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-round);
    border: 1px dashed color-mix(in srgb, var(--combat-bad-light) 55%, transparent);
    color: var(--combat-bad-light);
    font-size: var(--ct-xl);
}

.wts-foe-text[b-5k45og939y] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

    .wts-foe-text b[b-5k45og939y] {
        color: var(--color-text-primary);
        font-size: var(--ct-base);
    }

    .wts-foe-text small[b-5k45og939y] {
        color: var(--color-text-light);
        font-size: var(--ct-sm);
    }

/* ---- Recovery ------------------------------------------------------------------------------- */

.wts-recovery[b-5k45og939y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding: 8px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--combat-heal) 38%, transparent);
    background: color-mix(in srgb, var(--combat-heal-dark) 22%, transparent);
}

.wts-recovery-label[b-5k45og939y] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wts-recovery-row[b-5k45og939y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: var(--ct-md);
    font-variant-numeric: tabular-nums;
}

    .wts-recovery-row b[b-5k45og939y] {
        color: var(--color-text-primary);
        font-family: var(--font-display);
        font-size: var(--ct-xl);
    }

        .wts-recovery-row b.is-changed[b-5k45og939y] {
            color: var(--combat-heal-light);
        }

.wts-recovery-kind[b-5k45og939y] {
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
}

.wts-recovery-arrow[b-5k45og939y] {
    font-size: var(--ct-lg);
    color: var(--color-text-secondary);
}

.wts-recovery-gain[b-5k45og939y] {
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

    .wts-recovery-gain.is-gain[b-5k45og939y] {
        color: var(--combat-heal-light);
        font-weight: 800;
    }

/* ---- Cards and the vote --------------------------------------------------------------------- */

.wts-cards[b-5k45og939y] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wts--ambush .wts-cards[b-5k45og939y] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wts-vote[b-5k45og939y] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wts-vote-status[b-5k45og939y] {
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
}

.wts-vote-rule[b-5k45og939y] {
    color: var(--color-text-secondary);
}

/* ---- Actions ------------------------------------------------------------------------------- */

/* The sheet's way on (its primary, or the blocked status in its place) stays in reach when the sheet scrolls (a
   sideways phone, a long event): it sticks to the sheet's bottom edge over a fade of the sheet's own ground, running
   into the sheet's side and bottom padding to cover it. The quiet actions follow it in the flow. */
.wts-actions[b-5k45og939y] {
    position: sticky;
    bottom: -14px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 2px -20px 0;
    padding: 10px 20px 8px;
    background: linear-gradient(180deg, transparent, var(--color-bg-base) 12px);
}

    .wts-actions:last-child[b-5k45og939y] {
        margin-bottom: -14px;
        padding-bottom: 14px;
    }

.wts-more[b-5k45og939y] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.wts-primary[b-5k45og939y] {
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: var(--radius-2xl);
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
    box-shadow: var(--shadow-gold);
    color: var(--color-bg-base);
    font: inherit;
    cursor: pointer;
}

    .wts-primary:focus[b-5k45og939y] {
        outline: none;
    }

    .wts-primary:focus-visible[b-5k45og939y] {
        outline: 3px solid var(--color-text-primary);
        outline-offset: 3px;
    }

    .wts-primary[aria-disabled="true"][b-5k45og939y] {
        cursor: not-allowed;
        filter: grayscale(0.6);
        opacity: 0.7;
    }

.wts-primary-label[b-5k45og939y] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wts-primary-ico[b-5k45og939y] {
    display: inline-flex;
    font-size: var(--ct-2xl);
}

.wts-primary-sub[b-5k45og939y] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.wts-blocked[b-5k45og939y] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 8px 14px;
    border-radius: var(--radius-2xl);
    border: 1px dashed color-mix(in srgb, var(--color-primary) 55%, transparent);
    color: var(--color-primary-light);
}

    .wts-blocked .material-icons[b-5k45og939y] {
        font-size: var(--ct-4xl);
    }

    .wts-blocked b[b-5k45og939y] {
        display: block;
        font-family: var(--font-primary);
        font-size: var(--ct-lg);
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .wts-blocked small[b-5k45og939y] {
        display: block;
        color: var(--color-text-light);
        font-size: var(--ct-sm);
    }

.wts-quiet[b-5k45og939y] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    min-height: 44px;
    margin: 0;
    padding: 4px 12px;
    border: 0;
    border-radius: var(--radius-lg);
    background: transparent;
    color: var(--color-text-light);
    font: inherit;
    font-size: var(--ct-md);
    cursor: pointer;
}

    .wts-quiet:hover[b-5k45og939y] {
        color: var(--color-primary-light);
    }

    .wts-quiet:focus[b-5k45og939y] {
        outline: none;
    }

    .wts-quiet:focus-visible[b-5k45og939y] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

.wts-quiet-ico[b-5k45og939y] {
    display: inline-flex;
    font-size: var(--ct-lg);
}

@keyframes wts-rise-b-5k45og939y {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* ---- Below 769px: a bottom sheet with the road above it ----------------------------------- */

@media (max-width: 768px) {
    .wt-road-sheet-layer[b-5k45og939y] {
        align-items: flex-end;
        padding: 0;
    }

    .wt-road-sheet[b-5k45og939y] {
        width: 100%;
        max-height: 82%;
        padding: 10px 16px 8px;
        border-radius: 20px 20px 0 0;
        border-bottom: 0;
    }

    .wts-actions[b-5k45og939y] {
        bottom: -8px;
        margin: 2px -16px 0;
        padding: 10px 16px 6px;
    }

        .wts-actions:last-child[b-5k45og939y] {
            margin-bottom: -8px;
            padding-bottom: 8px;
        }

    .wts-grab[b-5k45og939y] {
        display: block;
    }

    .wts-title[b-5k45og939y] {
        font-size: var(--ct-3xl);
    }
}

@media (max-width: 480px) {
    .wts--ambush .wts-cards[b-5k45og939y] {
        grid-template-columns: minmax(0, 1fr);
    }

    .wts-step[b-5k45og939y] {
        font-size: var(--ct-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-road-sheet[b-5k45og939y] {
        animation: none;
    }
}
/* /Components/WarTable/WtRoadSoFar.razor.rz.scp.css */
/* WtRoadSoFar (W3): a ledger section on design tokens: the Cinzel heading with its rule and source line, then the ordered list
   of WtRoadStep rows (the trail's own styles live there). */

.wt-road-so-far[b-25eddcw2r3] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.wt-road-ledger-head[b-25eddcw2r3] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.wt-road-ledger-title[b-25eddcw2r3] {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 16px;
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-lg);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-road-ledger-title[b-25eddcw2r3]::after {
    content: "";
    flex: 1;
    min-width: 24px;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 40%, transparent), transparent);
}

.wt-road-ledger-sub[b-25eddcw2r3] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    color: var(--fd-text-3);
}

.wt-road-ledger[b-25eddcw2r3] {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* /Components/WarTable/WtRoadStamp.razor.rz.scp.css */
/* WtRoadStamp: Triumph's line on the road moment (board WT-Road-Handback-1366 note 5). Tokens only; canonical
   breakpoints only. The seal is a gold hexagon (a clip-path, no glyph). */

.wt-road-stamp[b-h7pk6rsiev] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.wtst-seal[b-h7pk6rsiev] {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 46px;
    height: 52px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary) 50%, var(--color-primary-dark));
    color: var(--color-bg-base);
}

.wtst-seal-ico[b-h7pk6rsiev] {
    display: inline-flex;
    font-size: var(--ct-xl);
}

/* The seal is the verified glyph alone. It once carried the word "Victory" in 8px; at the 12px floor the word no longer
   fits the 46px hex, so it was dropped at every width (readable combat text, 14 Nov 2026). The seal is decorative
   (aria-hidden): the eyebrow beside it says which waypoint was cleared, and the status line's name says the stamp. */

.wtst-text[b-h7pk6rsiev] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wtst-eyebrow[b-h7pk6rsiev] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wtst-title[b-h7pk6rsiev] {
    overflow: hidden;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-2xl);
    font-weight: 800;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wtst-facts[b-h7pk6rsiev] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
}

.wtst-fact[b-h7pk6rsiev],
.wtst-xp[b-h7pk6rsiev] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 2.08em;
    padding: 2px 9px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

    .wtst-fact.is-gold[b-h7pk6rsiev],
    .wtst-xp[b-h7pk6rsiev] {
        color: var(--color-primary-light);
    }

.wtst-xp[b-h7pk6rsiev] {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
}

.wtst-parts[b-h7pk6rsiev] {
    display: inline-flex;
    flex-direction: column;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .wt-road-stamp[b-h7pk6rsiev] {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .wtst-title[b-h7pk6rsiev] {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    /* The seal keeps its row beside the title; the facts take the next row. The word is dropped: it does not fit a
       small hexagon, and the status's accessible name already says Victory. */
    .wtst-seal[b-h7pk6rsiev] {
        width: 38px;
        height: 43px;
    }

    .wtst-seal-ico[b-h7pk6rsiev] {
        font-size: var(--ct-2xl);
    }

    .wtst-text[b-h7pk6rsiev] {
        flex: 1 1 0;
    }

    .wtst-facts[b-h7pk6rsiev] {
        flex-basis: 100%;
    }

    .wtst-title[b-h7pk6rsiev] {
        font-size: var(--ct-xl);
    }

    .wtst-parts[b-h7pk6rsiev] {
        display: none;
    }
}

/* ---- Compact: the decision-first layout's strip (Direction A, board A1) -------------------------------------------- */

.wt-road-stamp.is-compact[b-h7pk6rsiev] {
    flex-wrap: nowrap;
    gap: 12px;
}

    .wt-road-stamp.is-compact .wtst-seal[b-h7pk6rsiev] {
        width: 36px;
        height: 40px;
    }

    .wt-road-stamp.is-compact .wtst-seal-ico[b-h7pk6rsiev] {
        font-size: var(--ct-lg);
    }

    .wt-road-stamp.is-compact .wtst-title[b-h7pk6rsiev] {
        font-size: var(--ct-xl);
    }

    .wt-road-stamp.is-compact .wtst-facts[b-h7pk6rsiev] {
        flex-wrap: wrap;
    }

    .wt-road-stamp.is-compact .wtst-parts[b-h7pk6rsiev] {
        flex-direction: row;
        gap: 0 8px;
    }

@media (max-width: 1024px) {
    .wt-road-stamp.is-compact[b-h7pk6rsiev] {
        flex-wrap: wrap;
    }
}

/* A phone: the title on one line, the facts under it; the XP's parts go (the XP chip stays), so the choice comes
   above the fold of a 390 x 844 phone (spec road-comps 6.2). */
@media (max-width: 768px) {
    .wt-road-stamp.is-compact .wtst-seal[b-h7pk6rsiev] {
        width: 30px;
        height: 34px;
    }

    .wt-road-stamp.is-compact .wtst-title[b-h7pk6rsiev] {
        font-size: var(--ct-lg);
        white-space: nowrap;
    }

    .wt-road-stamp.is-compact .wtst-facts[b-h7pk6rsiev] {
        flex-basis: 100%;
    }

    .wt-road-stamp.is-compact .wtst-parts[b-h7pk6rsiev] {
        display: none;
    }
}
/* /Components/WarTable/WtRoadStep.razor.rz.scp.css */
/* WtRoadStep (W3): the ledger's vertical trail (the kit's a-vstep / a-vcamp) on design tokens. A 3px road runs down the
   left through every hex and rest stop: gold where walked, slate ahead. The waypoint the hero stands at sits in a soft
   gold card. Chips: gold for the record, a dashed hatch for fog, teal for scouted, red for a boss. */

.wt-road-step[b-ye7rp2ntit],
.wt-road-camp[b-ye7rp2ntit] {
    position: relative;
    display: grid;
    column-gap: 14px;
    padding: 0 0 16px;
    font-family: var(--font-primary);
}

.wt-road-step[b-ye7rp2ntit] {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
}

.wt-road-step[b-ye7rp2ntit]::before,
.wt-road-camp[b-ye7rp2ntit]::before {
    content: "";
    position: absolute;
    left: 21px;
    width: 3px;
    border-radius: 2px;
    background: var(--color-gray-700);
}

.wt-road-step[b-ye7rp2ntit]::before {
    top: 42px;
    bottom: -2px;
}

.wt-road-step:last-child[b-ye7rp2ntit] {
    padding-bottom: 0;
}

.wt-road-step:last-child[b-ye7rp2ntit]::before {
    display: none;
}

.wt-road-step--done[b-ye7rp2ntit]::before {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
}

.wt-road-step--current[b-ye7rp2ntit]::before {
    background: linear-gradient(180deg, var(--color-primary), var(--color-gray-700) 70%);
}

.wt-road-step-hex[b-ye7rp2ntit] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 44px;
    margin-left: 3px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
    color: var(--fd-text-4);
}

.wt-road-step-hex > *[b-ye7rp2ntit] {
    position: relative;
    z-index: 1;
}

.wt-road-step-hex .material-icons[b-ye7rp2ntit] {
    font-size: calc(var(--gt-px) * 19);
}

.wt-road-step-hex b[b-ye7rp2ntit] {
    font-size: var(--gt-base);
    font-weight: 800;
    color: var(--fd-text-3);
}

.wt-road-step--done .wt-road-step-hex[b-ye7rp2ntit] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--fd-on-gold);
}

.wt-road-step--current .wt-road-step-hex[b-ye7rp2ntit],
.wt-road-step--next .wt-road-step-hex[b-ye7rp2ntit] {
    background: var(--color-primary);
    color: var(--color-primary);
}

.wt-road-step--current .wt-road-step-hex[b-ye7rp2ntit]::before,
.wt-road-step--next .wt-road-step-hex[b-ye7rp2ntit]::before {
    content: "";
    position: absolute;
    inset: 3px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--fd-on-gold);
}

.wt-road-step--next .wt-road-step-hex[b-ye7rp2ntit] {
    background: color-mix(in srgb, var(--wt-ink) 60%, transparent);
}

.wt-road-step--next .wt-road-step-hex[b-ye7rp2ntit]::before {
    inset: 1.5px;
    background: var(--wt-vellum);
}

.wt-road-step--next .wt-road-step-hex b[b-ye7rp2ntit] {
    color: var(--fd-gold-soft);
}

.wt-road-step--boss .wt-road-step-hex[b-ye7rp2ntit] {
    background: color-mix(in srgb, var(--color-danger) 70%, var(--fd-bad-deep));
    color: var(--fd-bad-ink);
}

.wt-road-step--boss.wt-road-step--done .wt-road-step-hex[b-ye7rp2ntit] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--fd-on-gold);
}

.wt-road-step-body[b-ye7rp2ntit] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding-top: 4px;
}

.wt-road-step--current .wt-road-step-body[b-ye7rp2ntit] {
    margin-top: -4px;
    padding: 10px 14px 12px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 8%, transparent), color-mix(in srgb, var(--color-primary) 2%, transparent));
}

.wt-road-step-name[b-ye7rp2ntit] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin: 0;
}

.wt-road-step-name b[b-ye7rp2ntit] {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-lg);
    line-height: 1.25;
    color: var(--fd-text-2);
}

.wt-road-step--done .wt-road-step-name b[b-ye7rp2ntit] {
    color: var(--fd-text-3);
}

.wt-road-step--current .wt-road-step-name b[b-ye7rp2ntit] {
    color: var(--fd-cream);
}

.wt-road-step--boss .wt-road-step-name b[b-ye7rp2ntit] {
    color: var(--fd-bad-ink);
}

.wt-road-step-name small[b-ye7rp2ntit] {
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.wt-road-step-chips[b-ye7rp2ntit] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0;
}

.wt-road-step-xp[b-ye7rp2ntit] {
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 600;
    color: var(--fd-gold-soft);
    white-space: nowrap;
}

.wt-road-step-line[b-ye7rp2ntit] {
    margin: 0;
    font-size: var(--gt-md);
    line-height: 1.45;
    color: var(--fd-text-3);
}

/* Chips */
.wt-road-chip[b-ye7rp2ntit] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 2.09em;
    padding: 0 9px;
    border-radius: 7px;
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text-2);
    font-size: var(--gt-sm);
    font-weight: 600;
}

.wt-road-chip .material-icons[b-ye7rp2ntit] {
    font-size: var(--gt-base);
}

.wt-road-chip--gold[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 22%, transparent);
    color: var(--fd-gold-soft);
    font-weight: 700;
}

.wt-road-chip--gold .material-icons[b-ye7rp2ntit] {
    color: var(--color-primary);
}

.wt-road-chip--fog[b-ye7rp2ntit],
.wt-road-chip--muted[b-ye7rp2ntit] {
    border-style: dashed;
    border-color: color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    background: repeating-linear-gradient(135deg, var(--color-gray-900) 0 6px, var(--fd-panel) 6px 12px);
    color: var(--fd-text-3);
}

.wt-road-chip--fog .material-icons[b-ye7rp2ntit],
.wt-road-chip--muted .material-icons[b-ye7rp2ntit] {
    color: var(--fd-text-4);
}

.wt-road-chip--scout[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--color-cleric-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-cleric) 18%, var(--fd-panel));
    color: var(--color-cleric-lighter);
}

.wt-road-chip--scout .material-icons[b-ye7rp2ntit] {
    color: var(--color-cleric-light);
}

.wt-road-chip--boss[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--color-danger) 55%, transparent);
    background: color-mix(in srgb, var(--fd-bad-deep) 60%, transparent);
    color: var(--fd-bad-ink);
}

.wt-road-chip--boss .material-icons[b-ye7rp2ntit] {
    color: var(--fd-bad);
}

.wt-road-chip--good[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--fd-good) 45%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 45%, transparent);
    color: var(--fd-good-ink);
}

.wt-road-chip--dark[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--wt-pin-premium) 45%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 18%, var(--fd-panel));
    color: var(--color-monk-lightest);
}

.wt-road-chip--dark .material-icons[b-ye7rp2ntit] {
    color: var(--color-monk-lighter);
}

.wt-road-chip--fire[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--color-region-cinderpeak) 55%, transparent);
    background: color-mix(in srgb, var(--color-region-cinderpeak) 20%, var(--fd-panel));
    color: var(--fd-warn-ink);
}

.wt-road-chip--cold[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--color-info-lighter) 50%, transparent);
    background: color-mix(in srgb, var(--color-info) 20%, var(--fd-panel));
    color: var(--color-info-lightest);
}

.wt-road-chip--holy[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--fd-good) 50%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 55%, var(--fd-panel));
    color: var(--fd-good-ink);
}

/* Rest stops between waypoints */
.wt-road-camp[b-ye7rp2ntit] {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
}

.wt-road-camp[b-ye7rp2ntit]::before {
    top: -2px;
    bottom: -2px;
}

.wt-road-camp--done[b-ye7rp2ntit]::before {
    background: var(--color-primary-dark);
}

.wt-road-camp-mark[b-ye7rp2ntit] {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    border-radius: 50%;
    border: 1.5px solid color-mix(in srgb, var(--wt-camp) 55%, transparent);
    background: var(--wt-vellum);
    color: var(--wt-camp);
}

.wt-road-camp-mark .material-icons[b-ye7rp2ntit] {
    font-size: var(--gt-base);
}

.wt-road-camp--done .wt-road-camp-mark[b-ye7rp2ntit] {
    background: color-mix(in srgb, var(--fd-good-deep) 70%, transparent);
    border-color: color-mix(in srgb, var(--wt-camp) 70%, transparent);
}

.wt-road-camp--story .wt-road-camp-mark[b-ye7rp2ntit] {
    box-shadow: 0 0 0 2px var(--fd-bg), 0 0 0 3.5px var(--color-primary);
}

.wt-road-camp--risk .wt-road-camp-mark[b-ye7rp2ntit] {
    border-color: color-mix(in srgb, var(--fd-warn) 75%, transparent);
    color: var(--fd-warn);
}

.wt-road-camp--here .wt-road-camp-mark[b-ye7rp2ntit] {
    background: var(--wt-camp);
    color: var(--fd-on-gold);
    box-shadow: 0 0 14px color-mix(in srgb, var(--wt-camp) 55%, transparent);
}

.wt-road-camp-text[b-ye7rp2ntit] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--fd-text-4);
}

.wt-road-camp-text b[b-ye7rp2ntit] {
    font-weight: 600;
    color: var(--fd-text-2);
}

.wt-road-camp--risk .wt-road-camp-detail[b-ye7rp2ntit] {
    color: var(--fd-warn-ink);
}

.wt-road-camp--here .wt-road-camp-detail[b-ye7rp2ntit] {
    color: var(--color-success-lighter);
}
/* /Components/WarTable/WtRoadTrail.razor.rz.scp.css */
/* WtRoadTrail (W3): the road as a trail on design tokens. Compact: dots (gold done, a gold ring here, slate ahead, red
   a boss ahead). Full: hexes joined by the road (gold walked, slate ahead), rest stops as small green rings between. */

.wt-road-trail[b-3wl1ulsubp] {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--fd-text-3);
}

.wt-road-trail-node[b-3wl1ulsubp] {
    position: relative;
    display: flex;
    align-items: center;
}

/* Compact: dots. */
.wt-road-trail--compact[b-3wl1ulsubp] {
    gap: 5px;
}

.wt-road-trail--compact .wt-road-trail-node[b-3wl1ulsubp] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-text-secondary) 45%, transparent);
}

.wt-road-trail--compact .wt-road-trail-node--done[b-3wl1ulsubp],
.wt-road-trail--compact .wt-road-trail-node--boss-done[b-3wl1ulsubp] {
    background: var(--color-primary);
}

.wt-road-trail--compact .wt-road-trail-node--current[b-3wl1ulsubp] {
    background: var(--color-primary);
    box-shadow: 0 0 0 2px var(--fd-bg), 0 0 0 3px var(--color-primary);
}

.wt-road-trail--compact .wt-road-trail-node--boss[b-3wl1ulsubp] {
    background: var(--color-danger);
}

/* Full: hexes on the road. */
.wt-road-trail:not(.wt-road-trail--compact) .wt-road-trail-node + .wt-road-trail-node[b-3wl1ulsubp]::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-gray-700);
}

.wt-road-trail:not(.wt-road-trail--compact) .wt-road-trail-node--done + .wt-road-trail-node[b-3wl1ulsubp]::before,
.wt-road-trail:not(.wt-road-trail--compact) .wt-road-trail-node--boss-done + .wt-road-trail-node[b-3wl1ulsubp]::before {
    background: var(--color-primary-dark);
}

.wt-road-trail-hex[b-3wl1ulsubp] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.83em;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-gray-700);
    color: var(--fd-text-2);
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 800;
}

.wt-road-trail-hex .material-icons[b-3wl1ulsubp] {
    font-size: var(--gt-lg);
}

.wt-road-trail-node--done .wt-road-trail-hex[b-3wl1ulsubp],
.wt-road-trail-node--boss-done .wt-road-trail-hex[b-3wl1ulsubp] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--fd-on-gold);
}

.wt-road-trail-node--current .wt-road-trail-hex[b-3wl1ulsubp] {
    background: var(--color-primary);
    color: var(--fd-on-gold);
    box-shadow: 0 0 18px color-mix(in srgb, var(--color-primary) 45%, transparent);
}

.wt-road-trail-node--next .wt-road-trail-hex[b-3wl1ulsubp] {
    background: color-mix(in srgb, var(--wt-ink) 60%, transparent);
    color: var(--fd-gold-soft);
}

.wt-road-trail-node--boss .wt-road-trail-hex[b-3wl1ulsubp] {
    background: var(--color-danger);
    color: var(--fd-bad-ink);
}

.wt-road-trail-camp[b-3wl1ulsubp] {
    position: absolute;
    right: -17px;
    top: 50%;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-radius: 50%;
    border: 2px solid var(--wt-camp);
    background: var(--fd-bg);
}

.wt-road-trail-camp--story[b-3wl1ulsubp] {
    box-shadow: 0 0 0 2px var(--fd-bg), 0 0 0 3px var(--color-primary);
}

.wt-road-trail-camp--here[b-3wl1ulsubp] {
    background: var(--wt-camp);
}

.wt-road-trail--vertical[b-3wl1ulsubp] {
    flex-direction: column;
    align-items: flex-start;
}

.wt-road-trail--vertical .wt-road-trail-node[b-3wl1ulsubp] {
    flex-direction: column;
}

.wt-road-trail--vertical:not(.wt-road-trail--compact) .wt-road-trail-node + .wt-road-trail-node[b-3wl1ulsubp]::before {
    width: 3px;
    height: 18px;
}
/* /Components/WarTable/WtRoadVoteLine.razor.rz.scp.css */
/* WtRoadVoteLine: the decision-first road moment's vote line (Direction A, boards A1, S1, S3). One line under the
   cards: chips and status at the left, the key hint, the per-stop note and Take a break at the right end. A phone
   stacks it. Tokens only; canonical breakpoints only. */

.wtv[b-tuxfl20ede] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px 20px;
}

.wtv-vote[b-tuxfl20ede] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    min-width: 0;
}

.wtv-vote[b-tuxfl20ede]  .party-vote-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wtv-status[b-tuxfl20ede] {
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
}

.wtv-rule[b-tuxfl20ede] {
    color: var(--color-text-secondary);
}

.wtv-end[b-tuxfl20ede] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 16px;
    margin-left: auto;
    color: var(--color-text-light);
    font-size: var(--ct-sm);
}

.wtv-keys kbd[b-tuxfl20ede] {
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    background: var(--color-gray-900);
    color: var(--color-text-lighter);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
}

@media (pointer: coarse) {
    .wtv-keys[b-tuxfl20ede] {
        display: none;
    }
}

/* A phone: the line stacks; after your vote it sits above the cards (WtRoadDecision orders it), so the voter reads
   "Waiting for the party" first (board S4). */
@media (max-width: 768px) {
    .wtv[b-tuxfl20ede] {
        flex-direction: column;
        align-items: stretch;
    }

    .wtv-end[b-tuxfl20ede] {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        margin-left: 0;
    }

    .wtv-keys[b-tuxfl20ede] {
        display: none;
    }
}

@media (forced-colors: active) {
    .wtv-keys kbd[b-tuxfl20ede] {
        border-color: CanvasText;
    }
}
/* /Components/WarTable/WtRoadWalked.razor.rz.scp.css */
/* WtRoadWalked (W3): the walked road's dossier (WT-Road-Complete-1366) on design tokens: the record as gold stamps, the
   paid panel in a gilt frame with the companion's card, the chronicle as a ghost, then the gold way on (WT Q12) with
   the quiet way back under it. The family's WtButton tones are drawn here through ::deep until the family is styled. */

.wt-road-walked[b-lvpiyqtw6y] {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
    font-family: var(--font-primary);
}

.wt-road-walked-record[b-lvpiyqtw6y],
.wt-road-walked-paid-list[b-lvpiyqtw6y] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-road-walked-chip[b-lvpiyqtw6y],
.wt-road-walked-paid-chip[b-lvpiyqtw6y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 2.24em;
    padding: 0 10px;
    border-radius: 7px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 22%, transparent);
    color: var(--fd-gold-soft);
    font-size: calc(var(--gt-px) * 12.5);
    font-weight: 700;
    white-space: nowrap;
}

.wt-road-walked-chip .material-icons[b-lvpiyqtw6y],
.wt-road-walked-paid-chip .material-icons[b-lvpiyqtw6y] {
    font-size: var(--gt-lg);
    color: var(--color-primary);
}

.wt-road-walked-chip--good[b-lvpiyqtw6y] {
    border-color: color-mix(in srgb, var(--fd-good) 45%, transparent);
    background: color-mix(in srgb, var(--fd-good-deep) 40%, transparent);
    color: var(--fd-good-ink);
}

.wt-road-walked-chip--good .material-icons[b-lvpiyqtw6y] {
    color: var(--fd-good);
}

.wt-road-walked-chip--plain[b-lvpiyqtw6y],
.wt-road-walked-paid-chip--muted[b-lvpiyqtw6y] {
    border-color: var(--fd-line-strong);
    background: var(--fd-surface);
    color: var(--fd-text-2);
}

.wt-road-walked-chip--plain .material-icons[b-lvpiyqtw6y],
.wt-road-walked-paid-chip--muted .material-icons[b-lvpiyqtw6y] {
    color: var(--fd-bad);
}

.wt-road-walked-paid-chip[b-lvpiyqtw6y] {
    min-height: 36px;
    padding: 0 14px 0 11px;
    border-radius: 999px;
    font-size: var(--gt-base);
}

.wt-road-walked-paid[b-lvpiyqtw6y] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 16px 16px;
    border-radius: var(--fd-r-card);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--fd-on-gold) 50%, transparent);
}

.wt-road-walked-paid-title[b-lvpiyqtw6y] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-text-4);
}

.wt-road-walked-paid-title .material-icons[b-lvpiyqtw6y] {
    font-size: var(--gt-lg);
}

.wt-road-walked-item[b-lvpiyqtw6y] {
    --wt-rarity: var(--color-rarity-common);
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wt-rarity) 60%, transparent);
    background: color-mix(in srgb, var(--wt-rarity) 14%, var(--fd-panel));
    font-size: var(--gt-base);
}

.wt-road-walked-item.rarity-uncommon[b-lvpiyqtw6y] { --wt-rarity: var(--color-rarity-uncommon); }
.wt-road-walked-item.rarity-rare[b-lvpiyqtw6y] { --wt-rarity: var(--color-rarity-rare); }
.wt-road-walked-item.rarity-epic[b-lvpiyqtw6y] { --wt-rarity: var(--color-rarity-epic); }
.wt-road-walked-item.rarity-legendary[b-lvpiyqtw6y] { --wt-rarity: var(--color-rarity-legendary); }

.wt-road-walked-item-name[b-lvpiyqtw6y] {
    font-weight: 700;
    color: var(--fd-text);
}

.wt-road-walked-item-rarity[b-lvpiyqtw6y] {
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--wt-rarity) 55%, white);
}

.wt-road-walked-item-class[b-lvpiyqtw6y] {
    font-size: var(--gt-sm);
    font-weight: 700;
    color: var(--fd-good-ink);
}

.wt-road-walked-item-class--no[b-lvpiyqtw6y] {
    color: var(--fd-warn-ink);
}

.wt-road-walked-companion[b-lvpiyqtw6y] {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--fd-line-strong);
    background: var(--fd-surface-strong);
}

.wt-road-walked-companion-art[b-lvpiyqtw6y] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: var(--fd-art-well);
    color: var(--fd-gold-text);
}

.wt-road-walked-companion-art .material-icons[b-lvpiyqtw6y] {
    font-size: calc(var(--gt-px) * 30);
}

.wt-road-walked-companion-text[b-lvpiyqtw6y] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-road-walked-companion-text p[b-lvpiyqtw6y] {
    margin: 0;
}

.wt-road-walked-companion-kicker[b-lvpiyqtw6y] {
    font-family: var(--font-primary);
    font-size: var(--gt-sm);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-road-walked-companion-name[b-lvpiyqtw6y] {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: calc(var(--gt-px) * 17);
    color: var(--fd-cream);
}

.wt-road-walked-companion-line[b-lvpiyqtw6y] {
    font-size: var(--gt-md);
    line-height: 1.4;
    color: var(--fd-text-3);
}

.wt-road-walked-companion-lore[b-lvpiyqtw6y] {
    font-family: var(--fd-font-voice);
    font-style: italic;
    font-size: var(--gt-base);
    line-height: 1.4;
    color: var(--fd-cream-2);
}

.wt-road-walked-companion-link[b-lvpiyqtw6y] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--fd-line-strong);
    color: var(--fd-text-2);
    font-size: calc(var(--gt-px) * 13.5);
    font-weight: 600;
    text-decoration: none;
}

.wt-road-walked-chronicle[b-lvpiyqtw6y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.wt-road-walked-chronicle-note[b-lvpiyqtw6y] {
    flex: 1 1 220px;
    margin: 0;
    font-size: var(--gt-md);
    line-height: 1.45;
    color: var(--fd-text-3);
}

.wt-road-walked-next[b-lvpiyqtw6y] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

/* The family's buttons (placeholders) in this dossier: gold, ghost and quiet. */
.wt-road-walked[b-lvpiyqtw6y]  .wt-button {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2px 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-xl);
    font: 600 var(--gt-base) var(--font-primary);
    text-decoration: none;
    cursor: pointer;
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button .wt-button-icon {
    font-size: calc(var(--gt-px) * 19);
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button--gold {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: "icon label" "sub sub";
    justify-content: center;
    column-gap: 10px;
    min-height: 68px;
    padding: 8px 26px;
    border-radius: var(--radius-2xl);
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    box-shadow: var(--fd-shadow-gold);
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button--gold .wt-button-icon {
    grid-area: icon;
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button--gold .wt-button-label {
    grid-area: label;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(var(--gt-px) * 19);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button--gold .wt-button-sub {
    grid-area: sub;
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--fd-on-gold-soft);
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button--ghost {
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: color-mix(in srgb, var(--color-primary) 6%, transparent);
    color: var(--fd-gold-soft);
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button--quiet {
    border: 1px solid transparent;
    background: transparent;
    color: var(--fd-gold-text);
}

/* A basic account's Write your chronicle carries its Premium tag as a pill (owner, 19 Oct 2026; review: as a plain sub it
   read as part of the label), the same tag the hub's pill and the hand-back's badge draw. */
.wt-road-walked-chronicle[b-lvpiyqtw6y]  .wt-button--ghost .wt-button-sub {
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wt-pin-premium) 60%, transparent);
    background: color-mix(in srgb, var(--wt-pin-premium) 16%, transparent);
    color: var(--color-monk-lightest);
    font-size: var(--gt-sm);
    font-weight: 600;
    letter-spacing: 0;
}

.wt-road-walked[b-lvpiyqtw6y]  .wt-button:focus-visible,
.wt-road-walked-companion-link:focus-visible[b-lvpiyqtw6y] {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .wt-road-walked[b-lvpiyqtw6y]  .wt-button--gold .wt-button-label {
        font-size: var(--gt-lg);
        font-family: var(--font-primary);
    }

    .wt-road-walked-companion[b-lvpiyqtw6y] {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .wt-road-walked-companion-art[b-lvpiyqtw6y] {
        width: 52px;
        height: 52px;
    }

    .wt-road-walked-companion-link[b-lvpiyqtw6y] {
        grid-column: 1 / -1;
        justify-content: center;
    }
}
/* /Components/WarTable/WtRoadWalkedPanel.razor.rz.scp.css */
/* WtRoadWalkedPanel: the walked road in place (board WT-Road-Complete-1366). Gold means play: the next open road is
   the one gold action, and with none the way back to the war table is quiet (WT Q12). Tokens only; canonical
   breakpoints only. */

.wt-road-walked[b-t2i5whes8f] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.wtw-eyebrow[b-t2i5whes8f] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    color: var(--color-text-lighter);
    font-size: var(--ct-md);
}

.wtw-eyebrow-lead[b-t2i5whes8f] {
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* The middle dot between facts is a shape, never a typed glyph (CLAUDE.md rule 9). */
.wtw-sep[b-t2i5whes8f] {
    width: 4px;
    height: 4px;
    border-radius: var(--radius-round);
    background: var(--color-text-secondary);
}

.wtw-title[b-t2i5whes8f] {
    margin: 0;
    color: var(--color-text-primary);
    font-family: var(--font-display);
    font-size: var(--ct-6xl);
    font-weight: 800;
    line-height: 1.05;
}

.wtw-sentence[b-t2i5whes8f] {
    margin: -2px 0 0;
    color: var(--color-text-lighter);
    font-family: var(--fd-font-voice);
    font-size: var(--ct-xl);
    font-style: italic;
    line-height: 1.45;
}

/* The family's WtWalkedSeal (shared; still the foundation's placeholder markup) laid out in place as the board's
   record row: its title and date repeat the panel's heading and eyebrow, so only the record shows, as chips. The rules
   name only the placeholder's own classes, so the seal's visual build replaces them without a clash. */
.wtw-seal[b-t2i5whes8f]  .wt-walked-seal-title,
.wtw-seal[b-t2i5whes8f]  .wt-walked-seal-when {
    display: none;
}

.wtw-seal[b-t2i5whes8f]  .wt-walked-seal-record {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .wtw-seal[b-t2i5whes8f]  .wt-walked-seal-record li {
        display: inline-flex;
        align-items: center;
        min-height: 2.08em;
        padding: 2px 10px;
        border-radius: var(--radius-lg);
        border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
        background: color-mix(in srgb, var(--color-primary) 7%, transparent);
        color: var(--color-text-lighter);
        font-size: var(--ct-sm);
        font-weight: var(--font-weight-semibold);
    }

.wtw-paid[b-t2i5whes8f] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-2xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
    background: color-mix(in srgb, var(--color-bg-base) 55%, transparent);
}

.wtw-k[b-t2i5whes8f] {
    margin: 0;
    color: var(--color-text-secondary);
    font-size: var(--ct-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.wtw-rewards[b-t2i5whes8f] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.wtw-reward[b-t2i5whes8f] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 2.29em;
    padding: 2px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
    font-weight: var(--font-weight-semibold);
}

    .wtw-reward.is-gold[b-t2i5whes8f] {
        color: var(--color-primary-light);
        font-family: var(--font-primary);
    }

.wtw-items[b-t2i5whes8f] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-lighter);
    font-size: var(--ct-base);
}

.wtw-companion[b-t2i5whes8f] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 25%, transparent);
}

.wtw-companion-ico[b-t2i5whes8f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-round);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    color: var(--color-primary-light);
    font-size: var(--ct-3xl);
}

.wtw-companion-text[b-t2i5whes8f] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .wtw-companion-text b[b-t2i5whes8f] {
        color: var(--color-text-primary);
        font-family: var(--font-display);
        font-size: var(--ct-xl);
    }

    .wtw-companion-text small[b-t2i5whes8f] {
        color: var(--color-text-light);
        font-size: var(--ct-md);
    }

    .wtw-companion-text em[b-t2i5whes8f] {
        color: var(--color-text-light);
        font-family: var(--fd-font-voice);
        font-size: var(--ct-base);
    }

.wtw-chronicle[b-t2i5whes8f] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    border: 1px solid color-mix(in srgb, var(--color-primary) 45%, transparent);
    background: transparent;
    color: var(--color-primary-light);
    font: inherit;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
}

    .wtw-chronicle:focus[b-t2i5whes8f] {
        outline: none;
    }

    .wtw-chronicle:focus-visible[b-t2i5whes8f] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 3px;
    }

    .wtw-chronicle[aria-disabled="true"][b-t2i5whes8f] {
        cursor: progress;
        opacity: 0.7;
    }

.wtw-chronicle-ico[b-t2i5whes8f] {
    display: inline-flex;
    font-size: var(--ct-xl);
}

.wtw-badge[b-t2i5whes8f] {
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--wt-pin-premium) 60%, transparent);
    color: var(--color-text-lighter);
    font-size: var(--ct-sm);
}

/* A basic account's line beside the tagged Write your chronicle: what Premium adds, as the road page says it. */
.wtw-note[b-t2i5whes8f] {
    margin: 0;
    color: var(--color-text-light);
    font-size: var(--ct-md);
    line-height: 1.45;
}

.wtw-link[b-t2i5whes8f] {
    color: var(--color-primary-light);
    font-weight: var(--font-weight-semibold);
}

    .wtw-link:focus-visible[b-t2i5whes8f] {
        outline: 2px solid var(--color-primary-light);
        outline-offset: 2px;
    }

.wtw-actions[b-t2i5whes8f] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
}

.wtw-next[b-t2i5whes8f] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    padding: 8px 16px;
    border-radius: var(--radius-2xl);
    text-decoration: none;
}

    .wtw-next:focus-visible[b-t2i5whes8f] {
        outline: 3px solid var(--color-text-primary);
        outline-offset: 3px;
    }

.wtw-next--gold[b-t2i5whes8f] {
    background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 55%, var(--color-primary-dark) 100%);
    box-shadow: var(--shadow-gold);
    color: var(--color-bg-base);
}

.wtw-next--quiet[b-t2i5whes8f] {
    min-height: 48px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 40%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: var(--color-text-lighter);
}

.wtw-next-label[b-t2i5whes8f] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: var(--ct-xl);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wtw-next--quiet .wtw-next-label[b-t2i5whes8f] {
    font-size: var(--ct-lg);
}

.wtw-next-sub[b-t2i5whes8f] {
    font-size: var(--ct-sm);
    font-weight: var(--font-weight-semibold);
}

.wtw-tavern[b-t2i5whes8f] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 6px;
    min-height: 44px;
    font-size: var(--ct-base);
}

    .wtw-tavern .material-icons[b-t2i5whes8f] {
        font-size: var(--ct-xl);
    }

@media (max-width: 1024px) {
    .wtw-title[b-t2i5whes8f] {
        font-size: var(--ct-5xl);
    }
}

@media (max-width: 480px) {
    .wtw-title[b-t2i5whes8f] {
        font-size: var(--ct-4xl);
    }

    .wtw-sentence[b-t2i5whes8f] {
        font-size: var(--ct-lg);
    }
}
/* /Components/WarTable/WtRouteList.razor.rz.scp.css */
/* WtRouteList (WT-Brief boards, "The road, waypoint by waypoint"): a vertical trail of hexes, acts as gold headers, intel
   chips (the full roster, boss names, the dashed fog chip, hazards, bonus XP). Two columns from 768 (the list breaks
   between waypoints, never inside one). Tokens only; canonical breakpoints only. */
.wt-route-list[b-l0j6jitb2n] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.wt-route-steps[b-l0j6jitb2n] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-route-act[b-l0j6jitb2n] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 10px;
    font: 700 var(--gt-sm)/1.2 var(--font-primary);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--wt-ink);
    break-after: avoid;
}

.wt-route-act[b-l0j6jitb2n]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--wt-ink) 35%, transparent), transparent);
}

.wt-route-step[b-l0j6jitb2n] {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 0 0 16px;
    break-inside: avoid;
    border-radius: 10px;
    scroll-margin-top: 96px;
}

.wt-route-step[b-l0j6jitb2n]::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 42px;
    bottom: -2px;
    width: 3px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--color-text-tertiary) 55%, var(--color-bg-base));
}

.wt-route-step:last-child[b-l0j6jitb2n]::before {
    display: none;
}

.wt-route-step:focus-visible[b-l0j6jitb2n] {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.wt-route-step.is-cleared[b-l0j6jitb2n]::before {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
}

.wt-route-hex[b-l0j6jitb2n] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 44px;
    margin-left: 3px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: color-mix(in srgb, var(--color-text-tertiary) 55%, var(--color-bg-base));
    color: var(--color-text-secondary);
}

.wt-route-hex b[b-l0j6jitb2n] {
    font: 800 var(--gt-base)/1 var(--font-primary);
    color: var(--color-text-light);
}

.wt-route-hex .material-icons[b-l0j6jitb2n] {
    font-size: calc(var(--gt-px) * 19);
}

.wt-route-step.is-next .wt-route-hex[b-l0j6jitb2n],
.wt-route-step.is-current .wt-route-hex[b-l0j6jitb2n] {
    background: var(--wt-ink);
}

.wt-route-step.is-next .wt-route-hex[b-l0j6jitb2n]::before,
.wt-route-step.is-current .wt-route-hex[b-l0j6jitb2n]::before {
    content: '';
    position: absolute;
    inset: 2px;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--color-bg-base);
}

.wt-route-hex > *[b-l0j6jitb2n] {
    position: relative;
    z-index: 1;
}

.wt-route-step.is-next .wt-route-hex b[b-l0j6jitb2n] {
    color: var(--color-primary-light);
}

.wt-route-step.is-current .wt-route-hex[b-l0j6jitb2n] {
    background: var(--color-primary);
    color: var(--color-primary);
}

.wt-route-step.is-cleared .wt-route-hex[b-l0j6jitb2n] {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-darker));
    color: var(--color-bg-base);
}

.wt-route-step.is-boss:not(.is-cleared) .wt-route-hex[b-l0j6jitb2n] {
    background: color-mix(in srgb, var(--color-danger) 35%, var(--color-bg-base));
    color: var(--color-danger-light);
}

.wt-route-body[b-l0j6jitb2n] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 3px;
}

.wt-route-step.is-current .wt-route-body[b-l0j6jitb2n] {
    padding: 8px 12px 10px;
    margin-top: -4px;
    border-radius: 12px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 8%, transparent), color-mix(in srgb, var(--color-primary) 2%, transparent));
    border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.wt-route-name[b-l0j6jitb2n] {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.wt-route-name b[b-l0j6jitb2n] {
    font: 700 var(--gt-lg)/1.25 var(--font-primary);
    color: var(--color-text-lighter);
}

.wt-route-step.is-boss .wt-route-name b[b-l0j6jitb2n] {
    color: var(--color-danger-lightest);
}

.wt-route-step.is-cleared .wt-route-name b[b-l0j6jitb2n] {
    color: var(--color-text-light);
}

.wt-route-name small[b-l0j6jitb2n] {
    font-size: var(--gt-sm);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

.wt-route-desc[b-l0j6jitb2n] {
    font-size: calc(var(--gt-px) * 12.5);
    line-height: 1.42;
    color: var(--color-text-light);
}

.wt-route-intel[b-l0j6jitb2n] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.wt-route-roster[b-l0j6jitb2n],
.wt-route-boss[b-l0j6jitb2n],
.wt-route-fog[b-l0j6jitb2n],
.wt-route-hazard[b-l0j6jitb2n],
.wt-route-cleared[b-l0j6jitb2n] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 2.09em;
    padding: 0 9px;
    border-radius: 7px;
    font-size: var(--gt-sm);
    font-weight: 600;
    line-height: 1.25;
}

.wt-route-boss .material-icons[b-l0j6jitb2n],
.wt-route-fog .material-icons[b-l0j6jitb2n],
.wt-route-hazard .material-icons[b-l0j6jitb2n],
.wt-route-cleared .material-icons[b-l0j6jitb2n] {
    font-size: var(--gt-base);
}

.wt-route-roster[b-l0j6jitb2n] {
    padding-left: 0;
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-lighter);
}

.wt-route-roster .material-icons[b-l0j6jitb2n] {
    font-size: var(--gt-xl);
    color: var(--color-text-secondary);
}

.wt-route-boss[b-l0j6jitb2n] {
    border: 1px solid color-mix(in srgb, var(--color-danger-light) 55%, transparent);
    background: color-mix(in srgb, var(--color-danger-dark) 40%, var(--color-bg-base));
    color: var(--color-danger-lightest);
}

.wt-route-boss .material-icons[b-l0j6jitb2n] {
    color: var(--color-danger-light);
}

.wt-route-fog[b-l0j6jitb2n] {
    border: 1px dashed color-mix(in srgb, var(--color-text-secondary) 50%, transparent);
    background: repeating-linear-gradient(135deg, var(--wt-vellum) 0 6px, var(--color-bg-base) 6px 12px);
    color: var(--color-text-light);
    white-space: nowrap;
}

.wt-route-fog .material-icons[b-l0j6jitb2n] {
    color: var(--color-text-secondary);
}

.wt-route-hazard[b-l0j6jitb2n] {
    border: 1px solid color-mix(in srgb, var(--color-info-light) 45%, transparent);
    background: color-mix(in srgb, var(--color-info-dark) 22%, var(--color-bg-base));
    color: var(--color-info-lightest);
}

.wt-route-cleared[b-l0j6jitb2n] {
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 22%, transparent);
    color: var(--color-primary-light);
}

.wt-route-bonus[b-l0j6jitb2n] {
    font-size: var(--gt-sm);
    font-weight: 600;
    color: var(--color-primary-light);
}

.wt-route-detail[b-l0j6jitb2n] {
    font-size: var(--gt-sm);
    line-height: 1.35;
    color: var(--color-text-secondary);
}

.wt-route-note[b-l0j6jitb2n] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
    background: color-mix(in srgb, var(--color-primary-darker) 22%, transparent);
    color: var(--color-warning-lightest);
    font-size: var(--gt-md);
    line-height: 1.45;
}

.wt-route-note .material-icons[b-l0j6jitb2n] {
    font-size: calc(var(--gt-px) * 22);
    color: var(--color-primary);
}

.wt-route-note b[b-l0j6jitb2n] {
    margin-right: 4px;
    color: color-mix(in srgb, var(--color-primary-light) 30%, var(--color-text-primary));
}

@media (min-width: 768px) {
    .wt-route-steps[b-l0j6jitb2n] {
        columns: 2;
        column-gap: 28px;
    }
}
/* /Components/WarTable/WtRow.razor.rz.scp.css */
/* WtRow: the kit's a-tile row (a left strip in the region's tint). Tokens only. */
.wt-row[b-ci8sks5mz1] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 96px;
    padding: 8px 10px 8px 8px;
    border-radius: 14px;
    border: 1px solid var(--fd-line);
    background: var(--fd-card);
    color: var(--fd-text);
    text-decoration: none;
    box-sizing: border-box;
}

.wt-row[b-ci8sks5mz1]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--tint);
}

.wt-row-thumb[b-ci8sks5mz1] {
    flex: none;
    width: 84px;
    height: 80px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--fd-art-well);
}

.wt-row-thumb img[b-ci8sks5mz1] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wt-row-text[b-ci8sks5mz1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.wt-row-name[b-ci8sks5mz1] {
    font: 800 calc(var(--gt-px) * 14.5) / 1.2 var(--font-primary);
    color: var(--fd-cream);
}

.wt-row-meta[b-ci8sks5mz1] {
    font: 500 var(--gt-sm) / 1.35 var(--font-primary);
    color: var(--fd-text-3);
}

/* A long road's pips (20 waypoints is 257px) wrap inside the row instead of widening the page on a phone. */
.wt-row-road[b-ci8sks5mz1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
}

.wt-row-road .wt-pips[b-ci8sks5mz1] {
    flex-wrap: wrap;
    row-gap: 3px;
}

.wt-row-road small[b-ci8sks5mz1] {
    font: 500 var(--gt-sm) / 1 var(--font-primary);
    color: var(--fd-text-3);
    white-space: nowrap;
}

.wt-row-pay[b-ci8sks5mz1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.wt-row-go[b-ci8sks5mz1] {
    align-self: center;
    flex: none;
    font-size: calc(var(--gt-px) * 22);
    color: var(--fd-gold-text);
}

.wt-row:focus-visible[b-ci8sks5mz1] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}
/* /Components/WarTable/WtRules.razor.rz.scp.css */
/* WtRules (WT-Brief "Rules of this road"): icon rows, then the narration switch over a rule. Tokens only. The switch is
   the family's WtNarration, styled here through ::deep. */
.wt-rules[b-7o3vqsrxg6] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--wt-vellum) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
    min-width: 0;
}

.wt-rules-title[b-7o3vqsrxg6] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font: 700 calc(var(--gt-px) * 15)/1.2 var(--font-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-ink);
}

.wt-rules-title[b-7o3vqsrxg6]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--wt-ink) 40%, transparent), transparent);
}

.wt-rules-lines[b-7o3vqsrxg6] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-rules-line[b-7o3vqsrxg6] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--gt-md);
    line-height: 1.35;
    color: var(--color-text-lighter);
}

.wt-rules-line > .material-icons[b-7o3vqsrxg6] {
    flex: none;
    font-size: calc(var(--gt-px) * 19);
    color: var(--wt-ink);
}

.wt-rules-line--titled[b-7o3vqsrxg6] {
    align-items: flex-start;
}

.wt-rules-text[b-7o3vqsrxg6] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-rules-text b[b-7o3vqsrxg6] {
    font-weight: 700;
    color: var(--color-text-primary);
}

.wt-rules-text span[b-7o3vqsrxg6] {
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--color-text-light);
}

.wt-rules-narration[b-7o3vqsrxg6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid color-mix(in srgb, var(--color-text-secondary) 16%, transparent);
}

.wt-rules-narration-note[b-7o3vqsrxg6] {
    margin: 0;
    font-size: var(--gt-sm);
    line-height: 1.45;
    color: var(--color-text-light);
}

.wt-rules-narration[b-7o3vqsrxg6]  .wt-narration-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 0 4px 0 2px;
    border: 0;
    background: none;
    color: var(--color-text-primary);
    font: 600 calc(var(--gt-px) * 12.5)/1.2 var(--font-primary);
    cursor: pointer;
}

.wt-rules-narration[b-7o3vqsrxg6]  .wt-narration-switch::after {
    content: '';
    flex: none;
    width: 38px;
    height: 22px;
    border-radius: 11px;
    background:
        radial-gradient(circle at 11px 11px, var(--color-text-light) 0 8px, transparent 8.5px),
        var(--color-text-dark);
}

.wt-rules-narration[b-7o3vqsrxg6]  .wt-narration-switch[aria-checked="true"]::after {
    background:
        radial-gradient(circle at 27px 11px, var(--color-text-primary) 0 8px, transparent 8.5px),
        var(--color-primary-darker);
}

.wt-rules-narration[b-7o3vqsrxg6]  .wt-narration-switch:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 6px;
}

@media (pointer: coarse) {
    .wt-rules-narration[b-7o3vqsrxg6]  .wt-narration-switch {
        min-height: 44px;
    }
}
/* /Components/WarTable/WtSaga.razor.rz.scp.css */
/* WtSaga: chapter rows (the kit's a-tile row): the selected chapter ringed gold, locked ones dimmed. The panel's frame
   is the hub's shared wt-panel (the page's ::deep rules). Tokens only. */
.wt-saga[b-t1w8y89p4p] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-saga-row[b-t1w8y89p4p] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 6px 12px 6px 6px;
    border-radius: 12px;
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
    color: var(--fd-text);
    text-decoration: none;
}

.wt-saga-row.is-selected[b-t1w8y89p4p] {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--color-primary) 45%, transparent), 0 14px 40px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

.wt-saga-thumb[b-t1w8y89p4p] {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 58px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--fd-art-well);
    color: var(--fd-text-4);
}

.wt-saga-thumb img[b-t1w8y89p4p] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.wt-saga-row--soon .wt-saga-thumb img[b-t1w8y89p4p],
.wt-saga-row--premium .wt-saga-thumb img[b-t1w8y89p4p] {
    filter: saturate(.35) brightness(.6);
}

.wt-saga-text[b-t1w8y89p4p] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wt-saga-text b[b-t1w8y89p4p] {
    font: 800 calc(var(--gt-px) * 15) / 1.2 var(--font-primary);
    color: var(--fd-cream);
}

.wt-saga-row--soon .wt-saga-text b[b-t1w8y89p4p],
.wt-saga-row--premium .wt-saga-text b[b-t1w8y89p4p] {
    color: var(--fd-text-2);
}

.wt-saga-text small[b-t1w8y89p4p] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-saga-text small .material-icons[b-t1w8y89p4p] {
    font-size: calc(var(--gt-px) * 15);
    color: var(--color-warning-light);
}

.wt-saga-row--run small[b-t1w8y89p4p] {
    color: var(--fd-gold-soft);
}

.wt-saga-row--run small .material-icons[b-t1w8y89p4p] {
    color: var(--color-primary);
}

.wt-saga-row--walked small[b-t1w8y89p4p],
.wt-saga-row--walked small .material-icons[b-t1w8y89p4p] {
    color: var(--fd-good);
}

.wt-saga-row--open small[b-t1w8y89p4p],
.wt-saga-row--open small .material-icons[b-t1w8y89p4p] {
    color: var(--fd-gold-soft);
}

.wt-saga-row:focus-visible[b-t1w8y89p4p] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (hover: hover) {
    .wt-saga-row:hover[b-t1w8y89p4p] {
        border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}

@media (max-width: 480px) {
    .wt-saga-thumb[b-t1w8y89p4p] {
        width: 84px;
    }
}
/* /Components/WarTable/WtSection.razor.rz.scp.css */
/* WtSection: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-section[b-0ucs8i63qb] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtSkeleton.razor.rz.scp.css */
/* WtSkeleton: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-skeleton[b-vuhsi60xuj] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtSoloRoadGuard.razor.rz.scp.css */
/* "Take this road alone?" (raid join W4b): the family's WtDialog draws the panel, the body and both buttons (its own
   sheet: wt-dialog-body, wt-dialog-keep, wt-dialog-confirm); this component adds no look of its own. Tokens only. */
/* /Components/WarTable/WtStickyBar.razor.rz.scp.css */
/* WtStickyBar: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-sticky-bar[b-ruq7jyrjmj] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtStory.razor.rz.scp.css */
/* WtStory (W3): the waypoint the hero enters, as the WT-Road boards draw it, on design tokens. The eyebrow is Cinzel gold
   with quiet Inter parts, the name the page's Cinzel h1, the story EB Garamond italic in cream. Listen is a round gold
   button; the switch a real role=switch with a drawn track. Sizes grow with the viewport and stop at 1920 (clamp). */

.wt-story[b-1lep33pntn] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    color: var(--fd-text);
}

.wt-story-eyebrow[b-1lep33pntn] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-height: 1.85em;
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    color: var(--fd-text-3);
}

.wt-story-dot[b-1lep33pntn] {
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.wt-story-kicker[b-1lep33pntn] {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: var(--gt-md);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-story-meta[b-1lep33pntn] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.wt-story-meta[b-1lep33pntn]::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--fd-text-5);
}

.wt-story-trail[b-1lep33pntn] {
    display: none;
    margin-left: auto;
}

.wt-story--boss .wt-story-dot[b-1lep33pntn] {
    background: var(--color-danger);
    box-shadow: 0 0 10px var(--color-danger);
}

.wt-story--boss .wt-story-kicker[b-1lep33pntn] {
    color: var(--fd-bad);
}

.wt-story--walked .wt-story-dot[b-1lep33pntn] {
    background: var(--color-primary-dark);
}

.wt-story-name[b-1lep33pntn] {
    margin: 0;
    font-family: var(--fd-font-display);
    font-weight: 800;
    font-size: calc(clamp(1.55rem, 1.05rem + 1.5vw, 2.9rem) * var(--gt-scale));
    line-height: 1.06;
    letter-spacing: 0.01em;
    color: var(--fd-cream-2);
    text-wrap: balance;
    text-shadow: 0 4px 24px color-mix(in srgb, var(--fd-shadow-ink) 70%, transparent);
}

.wt-story--walked .wt-story-name[b-1lep33pntn] {
    color: var(--fd-cream);
}

.wt-story-description[b-1lep33pntn] {
    margin: 0;
    font-family: var(--font-primary);
    font-size: calc(var(--gt-px) * 15);
    line-height: 1.5;
    color: var(--fd-text-3);
}

.wt-story--walked .wt-story-description[b-1lep33pntn] {
    font-family: var(--fd-font-voice);
    font-style: italic;
    font-size: calc(clamp(1.05rem, 0.95rem + 0.35vw, 1.3rem) * var(--gt-scale));
    color: var(--fd-cream-2);
}

.wt-story-heading[b-1lep33pntn] {
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: calc(var(--gt-px) * 15);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

/* Listen and the switch: one bar, the play button gold, the switch quiet. */
.wt-story-narration[b-1lep33pntn] {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-height: 54px;
    padding: 4px 8px 4px 5px;
    border-radius: var(--fd-r-card);
    background: var(--fd-glass);
    border: 1px solid var(--fd-line-gold);
    min-width: 0;
}

.wt-story-play[b-1lep33pntn] {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--fd-gold-grad);
    color: var(--fd-on-gold);
    box-shadow: 0 6px 18px color-mix(in srgb, var(--color-primary) 24%, transparent);
    cursor: pointer;
}

.wt-story-play .material-icons[b-1lep33pntn] {
    font-size: var(--gt-4xl);
}

.wt-story-listen[b-1lep33pntn] {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    font-family: var(--font-primary);
}

.wt-story-listen b[b-1lep33pntn] {
    font-size: var(--gt-base);
    font-weight: 700;
    color: var(--fd-text);
}

.wt-story-listen small[b-1lep33pntn] {
    overflow: hidden;
    font-size: calc(var(--gt-px) * 12.5);
    color: var(--fd-text-4);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.wt-story-switch[b-1lep33pntn] {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-left: auto;
    padding: 0 10px;
    border: none;
    border-left: 1px solid var(--fd-line-strong);
    background: transparent;
    color: var(--fd-text-2);
    font-family: var(--font-primary);
    font-size: var(--gt-md);
    font-weight: 600;
    cursor: pointer;
}

.wt-story-switch .material-icons[b-1lep33pntn] {
    font-size: var(--gt-xl);
    color: var(--fd-text-4);
}

.wt-story-track[b-1lep33pntn] {
    position: relative;
    width: 36px;
    height: 20px;
    flex: none;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-text-secondary) 35%, transparent);
    transition: background-color 160ms ease;
}

.wt-story-thumb[b-1lep33pntn] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--fd-text-2);
    transition: transform 160ms ease;
}

.wt-story-switch[aria-checked="true"] .wt-story-track[b-1lep33pntn] {
    background: var(--color-primary-dark);
}

.wt-story-switch[aria-checked="true"] .wt-story-thumb[b-1lep33pntn] {
    transform: translateX(16px);
    background: var(--fd-on-gold);
}

.wt-story-play:focus-visible[b-1lep33pntn],
.wt-story-switch:focus-visible[b-1lep33pntn] {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

.wt-story-text[b-1lep33pntn] {
    margin: 0;
    font-family: var(--fd-font-voice);
    font-style: italic;
    font-size: calc(clamp(1.02rem, 0.8rem + 0.26vw, 1.2rem) * var(--gt-scale));
    line-height: 1.5;
    color: var(--fd-cream-2);
}

/* The hero's class opening line (#174): its own paragraph before the first waypoint's story, set off by a gold rule. */
.wt-story-opening[b-1lep33pntn] {
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid var(--fd-gold-text);
    color: var(--fd-cream);
}

/* No room for the switch's label beside Listen on a narrow phone: the label wraps under the icon. */
@media (max-width: 480px) {
    .wt-story-eyebrow[b-1lep33pntn] {
        gap: 4px 7px;
        font-size: var(--gt-sm);
    }

    .wt-story-kicker[b-1lep33pntn] {
        font-size: var(--gt-sm);
        letter-spacing: 0.13em;
    }

    .wt-story-meta[b-1lep33pntn] {
        gap: 7px;
    }

    .wt-story-narration[b-1lep33pntn] {
        flex-wrap: wrap;
    }

    .wt-story-switch[b-1lep33pntn] {
        flex: 1 1 100%;
        justify-content: space-between;
        margin-left: 0;
        border-left: none;
        border-top: 1px solid var(--fd-line-strong);
    }
}

@media (min-width: 960px) {
    .wt-story-heading[b-1lep33pntn] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .wt-story-trail[b-1lep33pntn] {
        display: inline-flex;
    }
}

@media (orientation: landscape) and (max-height: 480px) {
    .wt-story[b-1lep33pntn] {
        gap: var(--space-sm);
    }

    .wt-story-name[b-1lep33pntn] {
        font-size: calc(var(--gt-px) * 24.8);
    }

    /* WT-Road-844L: sideways is where combat runs, so the decision fills the first screen and Begin battle is reached
       without a scroll; the board draws no description line here (the story, one scroll down, carries the place). */
    .wt-story--head:not(.wt-story--walked) .wt-story-description[b-1lep33pntn] {
        display: none;
    }

    .wt-story-trail[b-1lep33pntn] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wt-story-track[b-1lep33pntn],
    .wt-story-thumb[b-1lep33pntn] {
        transition: none;
    }
}
/* /Components/WarTable/WtTile.razor.rz.scp.css */
/* WtTile: the kit's wt-card (a region strip in its tint, art with a shade, the name over it, the body). Tokens only. */
.wt-tile[b-fu393f91uv] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--fd-line);
    background: var(--fd-card);
    color: var(--fd-text);
    text-decoration: none;
}

.wt-tile-art[b-fu393f91uv] {
    position: relative;
    display: block;
    flex: none;
    height: 150px;
    isolation: isolate;
    background: var(--fd-art-well);
}

.wt-tile-art[b-fu393f91uv]::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    height: 3px;
    background: var(--tint);
}

.wt-tile-art img[b-fu393f91uv] {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wt-tile-noart[b-fu393f91uv] {
    position: absolute;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: repeating-linear-gradient(135deg, var(--color-gray-900) 0 8px, color-mix(in srgb, var(--color-gray-900) 70%, var(--color-bg-base)) 8px 16px);
    color: var(--fd-text-4);
    font: 800 var(--gt-sm) / 1 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wt-tile-noart .material-icons[b-fu393f91uv] {
    font-size: calc(var(--gt-px) * 26);
}

.wt-tile-shade[b-fu393f91uv] {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, color-mix(in srgb, var(--wt-vellum-deep) 10%, transparent), transparent 40%, color-mix(in srgb, var(--fd-card-bottom) 95%, transparent));
}

.wt-tile-region[b-fu393f91uv] {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 2.33em;
    padding: 0 10px 0 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--tint) 55%, transparent);
    background: color-mix(in srgb, var(--wt-vellum-deep) 72%, transparent);
    color: var(--fd-text-2);
    font: 600 var(--gt-sm) / 1 var(--font-primary);
    white-space: nowrap;
}

.wt-tile-region .material-icons[b-fu393f91uv] {
    font-size: var(--gt-lg);
    color: var(--tint);
}

.wt-tile-name[b-fu393f91uv] {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    font: 800 var(--gt-xl) / 1.15 var(--fd-font-display);
    color: var(--fd-cream);
    text-shadow: 0 2px 12px color-mix(in srgb, var(--fd-shadow-ink) 90%, transparent);
}

.wt-tile-body[b-fu393f91uv] {
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
    padding: 12px 14px 14px;
}

.wt-tile-meta[b-fu393f91uv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font: 500 calc(var(--gt-px) * 12.5) / 1.4 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-tile-meta > span + span[b-fu393f91uv]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 9px;
    border-radius: 50%;
    background: var(--fd-text-5);
    vertical-align: middle;
}

.wt-tile-road[b-fu393f91uv] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wt-tile-facts[b-fu393f91uv] {
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-tile-badges[b-fu393f91uv],
.wt-tile-pay[b-fu393f91uv],
.wt-tile-lootline[b-fu393f91uv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.wt-tile-loot[b-fu393f91uv] {
    display: flex;
    min-width: 0;
}

.wt-tile-more[b-fu393f91uv] {
    font: 600 var(--gt-sm) / 1.2 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-tile-link[b-fu393f91uv] {
    margin-top: auto;
}

.wt-tile:focus-visible[b-fu393f91uv] {
    outline: 3px solid var(--fd-text);
    outline-offset: 3px;
}

@media (hover: hover) {
    .wt-tile:hover[b-fu393f91uv] {
        border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
    }
}
/* /Components/WarTable/WtToast.razor.rz.scp.css */
/* WtToast: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-toast[b-jyg2rkd1sf] {
    color: var(--color-text-primary);
}
/* /Components/WarTable/WtViewSwitch.razor.rz.scp.css */
/* WtViewSwitch: the kit's a-seg. Tokens only. */
.wt-view-switch[b-pd9b3rouod] {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--color-gray-900) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 20%, transparent);
}

.wt-view-switch button[b-pd9b3rouod] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: var(--fd-text-3);
    font: 600 calc(var(--gt-px) * 12.5) / 1 var(--font-primary);
    cursor: pointer;
    white-space: nowrap;
}

.wt-view-switch button .material-icons[b-pd9b3rouod] {
    font-size: var(--gt-xl);
    color: var(--fd-text-4);
}

.wt-view-switch button[aria-pressed="true"][b-pd9b3rouod] {
    background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary) 16%, transparent), color-mix(in srgb, var(--color-primary) 5%, transparent));
    color: var(--fd-gold-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 50%, transparent);
}

.wt-view-switch button[aria-pressed="true"] .material-icons[b-pd9b3rouod] {
    color: var(--color-primary);
}

.wt-view-switch button:focus-visible[b-pd9b3rouod] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .wt-view-switch button[b-pd9b3rouod] {
        min-height: 44px;
    }
}
/* /Components/WarTable/WtWalked.razor.rz.scp.css */
/* WtWalked: walked cards with their seal, the record cells, and the wall of seals by region (WT-Hub-High). Tokens
   only. */
.wt-walked[b-t5bxu0epg6] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-walked-card[b-t5bxu0epg6] {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 96px;
    padding: 8px 12px 8px 8px;
    border-radius: 12px;
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
}

.wt-walked-card[b-t5bxu0epg6]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--tint);
}

.wt-walked-thumb[b-t5bxu0epg6] {
    position: relative;
    flex: none;
    width: 96px;
    height: 66px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--fd-art-well);
}

.wt-walked-thumb img[b-t5bxu0epg6] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.75);
}

.wt-seal[b-t5bxu0epg6],
.wt-seal-hex[b-t5bxu0epg6] {
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: linear-gradient(180deg, var(--fd-gold-pale), var(--color-primary) 50%, var(--color-primary-darker));
    color: var(--fd-on-gold);
}

.wt-seal[b-t5bxu0epg6] {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 30px;
    height: 34px;
}

.wt-seal .material-icons[b-t5bxu0epg6] {
    font-size: var(--gt-lg);
}

.wt-walked-text[b-t5bxu0epg6] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.wt-walked-name[b-t5bxu0epg6] {
    font: 800 calc(var(--gt-px) * 15) / 1.2 var(--font-primary);
    color: var(--fd-cream);
    text-decoration: none;
}

.wt-walked-segs[b-t5bxu0epg6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 2px;
    font: 500 var(--gt-sm) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-walked-segs > span[b-t5bxu0epg6] {
    white-space: nowrap;
}

.wt-walked-segs > span + span[b-t5bxu0epg6]::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px;
    border-radius: 50%;
    background: var(--fd-text-5);
    vertical-align: middle;
}

.wt-walked-spoils[b-t5bxu0epg6],
.wt-walked-chronicle[b-t5bxu0epg6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

/* Write your chronicle writes here (a button that reads as the card's quiet link). */
.wt-walked-write[b-t5bxu0epg6] {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.wt-walked-write[aria-busy="true"][b-t5bxu0epg6] {
    cursor: progress;
    opacity: 0.7;
}

.wt-walked-write:focus-visible[b-t5bxu0epg6] {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.wt-record[b-t5bxu0epg6] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-record li[b-t5bxu0epg6] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--fd-line);
    background: color-mix(in srgb, var(--wt-vellum-deep) 55%, transparent);
}

.wt-record .material-icons[b-t5bxu0epg6] {
    font-size: var(--gt-lg);
    color: var(--wt-ink);
}

.wt-record b[b-t5bxu0epg6] {
    font: 800 var(--gt-lg) / 1.1 var(--font-primary);
    color: var(--fd-cream);
}

.wt-record small[b-t5bxu0epg6] {
    font-size: var(--gt-sm);
    line-height: 1.25;
    color: var(--fd-text-3);
}

.wt-walked-wall-sub[b-t5bxu0epg6] {
    font: 500 var(--gt-md) / 1.3 var(--font-primary);
    color: var(--fd-text-3);
}

.wt-walked-toggle[b-t5bxu0epg6] {
    display: inline-flex;
    gap: 6px;
}

.wt-walked-toggle button[b-t5bxu0epg6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--color-text-secondary) 28%, transparent);
    background: color-mix(in srgb, var(--color-gray-900) 55%, transparent);
    color: var(--fd-text-3);
    font: 600 var(--gt-md) / 1 var(--font-primary);
    cursor: pointer;
}

.wt-walked-toggle button .material-icons[b-t5bxu0epg6] {
    font-size: calc(var(--gt-px) * 17);
}

.wt-walked-toggle button[aria-pressed="true"][b-t5bxu0epg6] {
    border-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
    background: color-mix(in srgb, var(--color-primary) 8%, transparent);
    color: var(--fd-gold-soft);
}

.wt-wall[b-t5bxu0epg6] {
    columns: 4 220px;
    column-gap: 20px;
}

.wt-wall-group[b-t5bxu0epg6] {
    break-inside: avoid;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fd-line);
    border-top: 2px solid var(--tint);
    background: color-mix(in srgb, var(--color-gray-900) 70%, transparent);
}

.wt-wall-head[b-t5bxu0epg6] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font: 800 var(--gt-sm) / 1 var(--font-primary);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--fd-gold-text);
}

.wt-wall-head .material-icons[b-t5bxu0epg6] {
    font-size: var(--gt-lg);
    color: var(--tint);
}

.wt-wall-head i[b-t5bxu0epg6] {
    font-style: normal;
    color: var(--fd-text-3);
    letter-spacing: 0;
}

.wt-wall-group ul[b-t5bxu0epg6] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wt-wall-row[b-t5bxu0epg6] {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 2.31em;
    color: var(--fd-text-2);
    text-decoration: none;
    font: 500 var(--gt-md) / 1.25 var(--font-primary);
}

.wt-seal-hex[b-t5bxu0epg6] {
    width: 20px;
    height: 23px;
}

.wt-seal-hex .material-icons[b-t5bxu0epg6] {
    font-size: var(--gt-sm);
}

.wt-wall-when[b-t5bxu0epg6] {
    font-size: var(--gt-sm);
    color: var(--fd-text-3);
}

.wt-walked-name:focus-visible[b-t5bxu0epg6],
.wt-wall-row:focus-visible[b-t5bxu0epg6],
.wt-walked-toggle button:focus-visible[b-t5bxu0epg6] {
    outline: 3px solid var(--fd-text);
    outline-offset: 2px;
}

@media (pointer: coarse) {
    .wt-wall-row[b-t5bxu0epg6],
    .wt-walked-toggle button[b-t5bxu0epg6] {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .wt-record[b-t5bxu0epg6] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wt-walked-thumb[b-t5bxu0epg6] {
        width: 84px;
        height: 64px;
    }
}
/* /Components/WarTable/WtWalkedSeal.razor.rz.scp.css */
/* WtWalkedSeal: placeholder styles on the design tokens (the visual build replaces them; canonical breakpoints only). */
.wt-walked-seal[b-g8goqc94a6] {
    color: var(--color-text-primary);
}
