@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Pages/Lineups/LineupsIndex.razor.rz.scp.css */
/* Projected Lineups index. Tokens only (docs/design.md). */

.lu-subtitle[b-u3qnig8zpl] {
    max-width: 60rem;
    color: var(--rc-muted);
}

.lu-league[b-u3qnig8zpl] {
    margin-top: var(--rc-space-5);
}

.lu-divisions[b-u3qnig8zpl] {
    display: grid;
    gap: var(--rc-space-4);
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.lu-division[b-u3qnig8zpl] {
    padding: var(--rc-space-4);
}

.lu-division h3[b-u3qnig8zpl] {
    margin: 0 0 var(--rc-space-2);
    font-size: var(--rc-font-size-md);
}

.lu-division ul[b-u3qnig8zpl] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lu-division a[b-u3qnig8zpl] {
    display: inline-block;
    padding: var(--rc-space-1) 0;
}

.lu-free-agents[b-u3qnig8zpl] {
    margin-top: var(--rc-space-5);
}
/* /Components/Pages/Lineups/TeamLineupPage.razor.rz.scp.css */
/* Projected Lineups team page. Tokens only (docs/design.md). Shared pieces (card, chips, pills, data-table) are in site.css. */

.lu-controls[b-5ydn15aokg] {
    display: grid;
    gap: var(--rc-space-4);
    margin-bottom: var(--rc-space-5);
}

.lu-system[b-5ydn15aokg] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--rc-space-2) var(--rc-space-3);
    margin: 0;
}

.lu-system label[b-5ydn15aokg] {
    font-weight: 600;
}

.lu-system select[b-5ydn15aokg] {
    min-height: var(--rc-touch);
    min-width: 14rem;
    padding: 0 var(--rc-space-3);
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    background: var(--rc-surface);
    color: var(--rc-text);
    font: inherit;
}

.lu-section[b-5ydn15aokg] {
    margin-bottom: var(--rc-space-6);
    scroll-margin-top: var(--rc-space-4);
}

.lu-section h2[b-5ydn15aokg] {
    margin-bottom: var(--rc-space-3);
}

.lu-empty[b-5ydn15aokg] {
    padding: var(--rc-space-5);
}

/* Tables scroll sideways inside their card on narrow screens; the page never scrolls sideways. */
.lu-scroll[b-5ydn15aokg] {
    overflow-x: auto;
    border-radius: var(--rc-radius-lg);
}

.lu-table[b-5ydn15aokg] {
    font-variant-numeric: tabular-nums;
}

.lu-table tbody tr:last-child td[b-5ydn15aokg] {
    border-bottom: 0;
}

.lu-table abbr[b-5ydn15aokg] {
    text-decoration: none;
}

.lu-player[b-5ydn15aokg] {
    min-width: 12rem;
}

.lu-player .pill[b-5ydn15aokg],
.lu-news[b-5ydn15aokg] {
    margin-left: var(--rc-space-1);
}

.lu-news[b-5ydn15aokg] {
    display: inline-flex;
    vertical-align: middle;
    color: var(--rc-muted);
    cursor: help;
}

.lu-note[b-5ydn15aokg] {
    margin-top: var(--rc-space-2);
    color: var(--rc-muted);
    font-size: var(--rc-font-size-sm);
}

/* Phone width: short names ("M. Trout") like the rankings; the link keeps the full name as its accessible name. */
.lu-name-short[b-5ydn15aokg] {
    display: none;
}

@media (max-width: 519.98px) {
    .lu-player[b-5ydn15aokg] {
        min-width: 0;
    }

    .lu-name-full[b-5ydn15aokg] {
        display: none;
    }

    .lu-name-short[b-5ydn15aokg] {
        display: inline;
    }
}

/* T-311: an empty lineup / rotation spot ("TBD"). */
.lu-tbd .lu-tbd-name[b-5ydn15aokg] { color: var(--rc-muted); font-style: italic; }
/* /Components/Pages/Rankings/PlayerRankings.razor.rz.scp.css */
/* Rankings page. Tokens only (docs/design.md). Shared pieces (card, chips, pills, data-table) are in site.css. */

.rk-intro h1[b-m7m98a2qj6] {
    margin-bottom: var(--rc-space-2);
}

.rk-subtitle[b-m7m98a2qj6] {
    max-width: 60rem;
    color: var(--rc-muted);
}

/* ---------- controls: projection system + position chips ---------- */
.rk-controls[b-m7m98a2qj6] {
    display: grid;
    gap: var(--rc-space-4);
    margin-bottom: var(--rc-space-5);
}

.rk-system[b-m7m98a2qj6] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--rc-space-2) var(--rc-space-3);
    margin: 0;
}

.rk-system label[b-m7m98a2qj6] {
    font-weight: 600;
}

.rk-system select[b-m7m98a2qj6] {
    min-height: var(--rc-touch);
    min-width: 14rem;
    padding: 0 var(--rc-space-3);
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    background: var(--rc-surface);
    color: var(--rc-text);
    font: inherit;
}

.rk-empty[b-m7m98a2qj6] {
    padding: var(--rc-space-5);
}

/* ---------- table ---------- */
.rk-table[b-m7m98a2qj6] {
    font-variant-numeric: tabular-nums;
}

.rk-table td[b-m7m98a2qj6] {
    background: var(--rc-surface); /* opaque, so pinned/sticky cells cover what scrolls beneath them */
}

.rk-table tbody tr:last-child td[b-m7m98a2qj6] {
    border-bottom: 0;
}

.rk-table thead a[b-m7m98a2qj6] {
    color: inherit;
    text-decoration-color: var(--rc-border);
}

.rk-table thead th[aria-sort] a[b-m7m98a2qj6] {
    color: var(--rc-text);
    text-decoration-color: var(--rc-link-underline);
}

.rk-player[b-m7m98a2qj6] {
    min-width: var(--rk-player-min);
}

.rk-player .pill[b-m7m98a2qj6],
.rk-news[b-m7m98a2qj6] {
    margin-left: var(--rc-space-1);
}

.rk-news[b-m7m98a2qj6] {
    display: inline-flex;
    vertical-align: middle;
    color: var(--rc-muted);
    cursor: help;
}

.rk-league-value[b-m7m98a2qj6] {
    padding-left: var(--rc-space-2);
    font-size: var(--rc-font-size-xs);
}

.rk-league-value + .rk-league-value[b-m7m98a2qj6] {
    padding-left: 0;
}

/* ---------- table modes (decided by whether the table FITS, not by screen width) ----------
   Default = SAFE mode (also without JavaScript): the card is its own scroll box in both directions, at most about
   one screen tall; the header row sticks to the top of the card, Rank + Player are pinned on the left, and the two
   corner header cells stay above both.
   FITS mode (.table-fits, added by site.js after measuring the table's natural width): the page scrolls normally
   and the header row sticks to the top of the window; nothing is pinned.
   The page itself never scrolls sideways. */
.rk-scroll[b-m7m98a2qj6] {
    overflow: auto;
    max-height: calc(100vh - var(--rk-viewport-offset));
    max-height: calc(100dvh - var(--rk-viewport-offset));
    border-radius: var(--rc-radius-lg);
    overscroll-behavior-x: contain;
}

/* Room left for the site header (one row on wide screens, two rows once the nav wraps). */
.rk-card[b-m7m98a2qj6] {
    --rk-viewport-offset: 5rem;
}

@media (max-width: 1199.98px) {
    .rk-card[b-m7m98a2qj6] {
        --rk-viewport-offset: 8rem;
    }
}

.rk-table thead th[b-m7m98a2qj6] {
    position: sticky;
    top: 0;
    z-index: 2;
}

.rk-table .rk-rank[b-m7m98a2qj6] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 3.25rem;
    min-width: 3.25rem;
}

.rk-table .rk-player[b-m7m98a2qj6] {
    position: sticky;
    left: 3.25rem;
    z-index: 1;
    box-shadow: inset -1px 0 0 var(--rc-border);
}

/* Corner cells (Rank and Player headers) are pinned in both directions and stay on top of everything. */
.rk-table thead th.rk-rank[b-m7m98a2qj6],
.rk-table thead th.rk-player[b-m7m98a2qj6] {
    z-index: 3;
}

/* Fits: no scroll box (it would stop the header sticking to the window); overflow: clip keeps the corners. */
.rk-card.table-fits[b-m7m98a2qj6] {
    overflow: clip;
}

.rk-card.table-fits .rk-scroll[b-m7m98a2qj6] {
    overflow: visible;
    max-height: none;
}

.rk-card.table-fits .rk-rank[b-m7m98a2qj6],
.rk-card.table-fits .rk-player[b-m7m98a2qj6] {
    position: static;
    box-shadow: none;
}

/* Header cells stay sticky (top: 0) in fits mode too, now relative to the window. */
.rk-card.table-fits thead th.rk-rank[b-m7m98a2qj6],
.rk-card.table-fits thead th.rk-player[b-m7m98a2qj6] {
    position: sticky;
}

@media (max-width: 1023.98px) {
    .rk-positions .chips[b-m7m98a2qj6] {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: var(--rc-space-1);
        scrollbar-width: thin;
    }
}

/* ---------- player names ----------
   Every stat column is shown at every screen size (no per-size column hiding); a table that does not fit uses
   safe mode. To keep the pinned Player column slim on phones (same breakpoint as the header's mark-only logo),
   the short form "M. Trout" replaces the full name; the link's accessible name and tooltip stay the full name. */
.rk-card[b-m7m98a2qj6] {
    --rk-player-min: 12rem;
}

.rk-name-short[b-m7m98a2qj6] {
    display: none;
}

@media (max-width: 519.98px) {
    .rk-card[b-m7m98a2qj6] {
        --rk-player-min: 0;
    }

    .rk-name-full[b-m7m98a2qj6] {
        display: none;
    }

    .rk-name-short[b-m7m98a2qj6] {
        display: inline;
    }
}
