:root {
    --bg: #070d18;
    --bg-rgb: 7, 13, 24;
    --panel: rgba(27, 35, 48, .86);
    --panel-strong: #101722;
    --row: #101722;
    --row-alt: #151d2b;
    --header: #202938;
    --border: rgba(148, 163, 184, .18);
    --text: #f8fafc;
    --muted: #9ca3af;
    --primary: #20d6a1;
    --primary-rgb: 32, 214, 161;
    --secondary: #f472ff;
    --secondary-rgb: 244, 114, 255;
    --secondary-hover: #ff9cff;
    --secondary-text: #17051a;
    --teal: var(--primary);
    --font: AwanZaman, "Awan Zaman", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body[data-theme="blue-gold"] {
    --bg: #07101f;
    --bg-rgb: 7, 16, 31;
    --panel-strong: #101b2e;
    --panel: rgba(16, 27, 46, .86);
    --row: #101b2e;
    --row-alt: #16243a;
    --header: #22324d;
    --primary: #3b82f6;
    --primary-rgb: 59, 130, 246;
    --secondary: #fbbf24;
    --secondary-rgb: 251, 191, 36;
    --secondary-hover: #fcd34d;
    --secondary-text: #1c1402;
}

body[data-theme="red-ice"] {
    --bg: #11090d;
    --bg-rgb: 17, 9, 13;
    --panel-strong: #1d141a;
    --panel: rgba(29, 20, 26, .86);
    --row: #1d141a;
    --row-alt: #291a22;
    --header: #38212a;
    --primary: #ef4444;
    --primary-rgb: 239, 68, 68;
    --secondary: #dbeafe;
    --secondary-rgb: 219, 234, 254;
    --secondary-hover: #eff6ff;
    --secondary-text: #111827;
}

body[data-theme="purple-gold"] {
    --bg: #0d0918;
    --bg-rgb: 13, 9, 24;
    --panel-strong: #181326;
    --panel: rgba(24, 19, 38, .86);
    --row: #181326;
    --row-alt: #211a35;
    --header: #30264a;
    --primary: #8b5cf6;
    --primary-rgb: 139, 92, 246;
    --secondary: #fbbf24;
    --secondary-rgb: 251, 191, 36;
    --secondary-hover: #fcd34d;
    --secondary-text: #1c1402;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 4% 0%, rgba(var(--primary-rgb), .12), transparent 34%),
        linear-gradient(135deg, var(--bg) 0%, rgba(var(--bg-rgb), .97) 44%, var(--panel-strong) 100%);
    color: var(--text);
    font-family: var(--font);
}

.is-modern-loading body {
    cursor: progress;
}

a {
    color: inherit;
}

.shell {
    width: min(1280px, calc(100vw - 48px));
    margin: 0 auto;
    padding: 0 0 56px;
}

.stats-shell {
    width: min(1540px, calc(100vw - 48px));
}

.compare-shell {
    width: min(1180px, calc(100vw - 48px));
}

.schedule-shell {
    width: min(1180px, calc(100vw - 48px));
}

.boxscore-shell {
    width: min(1280px, calc(100vw - 48px));
}

.home-shell {
    width: min(1320px, calc(100vw - 48px));
}

.home-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin: 12px 0 54px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 20%, rgba(var(--primary-rgb), .08), transparent 34%),
        linear-gradient(135deg, rgba(12, 25, 37, .96), rgba(7, 12, 22, .96));
    box-shadow: 0 30px 72px rgba(0, 0, 0, .34);
}

.home-hero h1 {
    margin-bottom: 12px;
}

.home-hero-copy {
    max-width: 620px;
    margin: 0;
    color: #c7d2fe;
    font-size: 17px;
    line-height: 1.6;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-primary-action,
.home-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.home-primary-action {
    background: var(--secondary);
    border: 1px solid rgba(var(--secondary-rgb), .72);
    color: var(--secondary-text);
}

.home-secondary-action {
    background: rgba(15, 23, 42, .72);
    border: 1px solid rgba(148, 163, 184, .3);
    color: var(--text);
}

.home-primary-action:hover {
    background: var(--secondary-hover);
    border-color: #ffb0ff;
    box-shadow: 0 0 28px rgba(var(--secondary-rgb), .22);
    transform: translateY(-1px);
}

.home-secondary-action:hover {
    background: rgba(30, 41, 59, .88);
    border-color: rgba(203, 213, 225, .52);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    transform: translateY(-1px);
}

.home-section {
    margin-bottom: 50px;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.home-section-heading .section-kicker,
.home-section-heading .section-title {
    margin-bottom: 0;
}

.home-section-heading > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.home-section-heading > a:hover {
    color: var(--teal);
}

.home-section-heading .section-title {
    color: var(--text);
}

.home-score-grid,
.home-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-game-card,
.home-upcoming-card,
.home-empty-card,
.home-dashboard-panel,
.home-quick-links a {
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 0% 50%, rgba(148, 163, 184, .05), transparent 32%),
        linear-gradient(135deg, rgba(15, 23, 36, .98), rgba(7, 11, 19, .98));
    box-shadow: 0 22px 50px rgba(0, 0, 0, .3);
}

.home-game-card,
.home-upcoming-card,
.home-quick-links a {
    backface-visibility: hidden;
    transform: translateY(0) scale(1);
    transition: transform .12s cubic-bezier(.2, .8, .2, 1), border-color .12s ease, box-shadow .12s ease, background .12s ease;
    will-change: transform;
}

.home-game-card:hover,
.home-game-card:focus,
.home-upcoming-card:hover,
.home-upcoming-card:focus,
.home-quick-links a:hover,
.home-quick-links a:focus {
    border-color: rgba(var(--primary-rgb), .55);
    background:
        radial-gradient(circle at 0% 50%, rgba(var(--primary-rgb), .08), transparent 34%),
        linear-gradient(135deg, rgba(13, 24, 39, .99), rgba(6, 10, 17, .99));
    box-shadow:
        0 32px 70px rgba(0, 0, 0, .44),
        0 0 0 1px rgba(var(--primary-rgb), .18),
        0 0 28px rgba(var(--primary-rgb), .1);
    transform: translateY(-3px) scale(1.006);
}

.home-game-card {
    display: grid;
    gap: 0;
    min-height: 182px;
    padding: 18px;
    border-radius: 18px;
    color: var(--text);
    text-decoration: none;
}

.home-game-card header,
.home-upcoming-card header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #c7d2fe;
    font-size: 13px;
}

.home-game-card header strong {
    margin-right: auto;
}

.home-game-status {
    padding: 6px 9px;
    border-radius: 7px;
    background: rgba(var(--primary-rgb), .14);
    color: var(--teal);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.home-game-status-live {
    background: transparent;
    color: #fb7185;
}

.home-score-team {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 14px 0;
    border-top: 1px solid rgba(148, 163, 184, .2);
}

.home-score-team.is-winner {
    color: var(--teal);
}

.home-team-name {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 10px;
    min-width: 0;
    font-weight: 900;
}

.home-score-team > strong {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 30px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.home-score-team.is-winner > strong {
    color: var(--teal);
}

.home-upcoming-card {
    display: grid;
    gap: 13px;
    min-height: 174px;
    padding: 18px;
    border-radius: 18px;
    color: var(--text);
    text-decoration: none;
}

.home-upcoming-card header {
    justify-content: space-between;
    margin: 0 0 4px;
}

.home-upcoming-card > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-upcoming-card footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(148, 163, 184, .2);
    color: var(--muted);
    font-size: 12px;
}

.home-empty-card {
    grid-column: 1 / -1;
    display: grid;
    gap: 7px;
    min-height: 130px;
    place-content: center;
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
}

.home-empty-card strong {
    color: var(--text);
    font-size: 18px;
}

.home-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 48px;
}

.home-dashboard-panel {
    min-width: 0;
    padding: 22px;
    border-radius: 20px;
}

.home-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, .75fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 23, 36, .98), rgba(5, 8, 13, .98));
    box-shadow: 0 28px 68px rgba(0, 0, 0, .38);
}

.home-news-feature {
    position: relative;
    display: block;
    min-height: 480px;
    overflow: hidden;
    background: #0b111c;
    color: var(--text);
    text-decoration: none;
}

.home-news-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.9) contrast(1.05);
    transition: transform .35s ease, filter .35s ease;
}

.home-news-feature:hover img {
    filter: saturate(1) contrast(1.07);
    transform: scale(1.025);
}

.home-news-feature-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 7, 12, .02) 20%, rgba(4, 7, 12, .52) 60%, rgba(4, 7, 12, .97) 100%),
        linear-gradient(90deg, rgba(4, 7, 12, .2), transparent 60%);
}

.home-news-feature-content {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 4vw, 44px);
}

.home-news-feature-content time {
    padding: 7px 10px;
    border-radius: 5px;
    background: var(--secondary);
    color: var(--secondary-text);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-news-feature-content h3 {
    max-width: 760px;
    margin: 14px 0 12px;
    color: var(--text);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.02;
    text-wrap: balance;
}

.home-news-feature-content p {
    max-width: 720px;
    margin: 0;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

.home-news-headlines {
    min-width: 0;
    padding: 28px 26px;
    border-left: 1px solid rgba(148, 163, 184, .18);
    background: rgba(8, 13, 22, .96);
}

.home-news-headlines > h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 25px;
}

.home-news-headlines > div {
    display: grid;
}

.home-news-headlines a {
    display: grid;
    gap: 5px;
    padding: 15px 0;
    border-top: 1px solid rgba(148, 163, 184, .2);
    color: var(--text);
    text-decoration: none;
}

.home-news-headlines strong {
    font-size: 14px;
    line-height: 1.4;
    transition: color .16s ease;
}

.home-news-headlines a:hover strong {
    color: var(--secondary);
}

.home-news-headlines time {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.news-shell {
    width: min(980px, calc(100vw - 48px));
}

.news-article {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(8, 13, 22, .94);
    box-shadow: 0 28px 68px rgba(0, 0, 0, .36);
}

.news-article > header,
.news-article-body {
    padding: clamp(24px, 5vw, 54px);
}

.news-article > header {
    padding-bottom: 32px;
}

.news-article h1 {
    max-width: 820px;
    margin-bottom: 16px;
}

.news-article time {
    display: block;
    margin-bottom: 22px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-article header > strong {
    display: block;
    color: #c7d2fe;
    font-size: 18px;
    line-height: 1.65;
}

.news-article-image {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.news-article-body {
    padding-top: 34px;
}

.news-article-body p {
    margin: 0 0 22px;
    color: #dbe4f3;
    font-size: 16px;
    line-height: 1.85;
}

.news-not-found {
    padding: 50px 0;
}

.news-archive-shell {
    width: min(1320px, calc(100vw - 48px));
}

.archive-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 20%, rgba(var(--primary-rgb), .13), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(5, 9, 16, .98));
}

.archive-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(36px, 5vw, 62px);
}

.archive-hero h1 span {
    color: var(--teal);
}

.archive-hero p:not(.page-kicker) {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.archive-hero > strong {
    display: grid;
    flex: 0 0 auto;
    color: var(--teal);
    font-size: 42px;
    line-height: 1;
    text-align: right;
}

.archive-hero > strong span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.archive-search {
    display: grid;
    gap: 8px;
    margin-bottom: 26px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(15, 23, 42, .82);
}

.archive-search label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.archive-search > div {
    display: flex;
    gap: 10px;
}

.archive-search input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 10px;
    outline: 0;
    background: #080d16;
    color: var(--text);
    font: inherit;
}

.archive-search input:focus {
    border-color: rgba(var(--primary-rgb), .58);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.archive-search button,
.archive-search a,
.archive-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(var(--primary-rgb), .48);
    border-radius: 10px;
    background: rgba(var(--primary-rgb), .12);
    color: #f8fafc;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-archive-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 18px;
    background: rgba(11, 17, 28, .92);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.news-archive-card:hover {
    border-color: rgba(var(--primary-rgb), .48);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .3);
    transform: translateY(-3px);
}

.news-archive-card-image {
    display: block;
    height: 130px;
    overflow: hidden;
    background: #090e18;
}

.news-archive-card-image:not(.is-fallback) {
    height: auto;
}

.news-archive-card-image img {
    display: block;
    width: 100%;
    height: auto;
}

.news-archive-card:hover img {
    transform: none;
}

.news-archive-card-image.is-fallback {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(var(--primary-rgb), .2), transparent 32%),
        linear-gradient(135deg, #141b2a, #080c14);
}

.news-archive-card-image.is-fallback span {
    color: rgba(248, 250, 252, .14);
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -.06em;
}

.news-archive-card > div {
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 20px;
}

.news-archive-card time {
    color: var(--teal);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-archive-card h2 {
    margin: 10px 0;
    font-size: 20px;
    line-height: 1.25;
}

.news-archive-card h2 a {
    color: var(--text);
    text-decoration: none;
}

.news-archive-card p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.news-archive-read {
    margin-top: auto;
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.archive-pagination span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.archive-empty {
    padding: 70px 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    text-align: center;
}

.records-shell {
    position: relative;
    z-index: 1;
    width: min(1320px, calc(100vw - 48px));
}

.records-player-page {
    position: relative;
    background:
        radial-gradient(circle at 4% 0%, rgba(32, 214, 161, .08), transparent 34%),
        linear-gradient(135deg, #07111b 0%, #080e19 44%, #0b111c 100%);
}

.records-player-page::before {
    content: "";
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 0;
    width: min(48vw, 820px);
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(4, 9, 16, .16) 0%, rgba(4, 9, 16, .48) 54%, #070d18 100%),
        linear-gradient(180deg, rgba(7, 13, 24, .08), rgba(7, 13, 24, .58)),
        url("images/GN.png") -110px top / cover no-repeat;
    opacity: .58;
}

.records-player-page::after {
    content: "";
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 0;
    width: min(48vw, 820px);
    pointer-events: none;
    background:
        linear-gradient(270deg, rgba(4, 9, 16, .14) 0%, rgba(4, 9, 16, .46) 54%, #070d18 100%),
        linear-gradient(180deg, rgba(7, 13, 24, .08), rgba(7, 13, 24, .58)),
        url("images/Thomas.png") right top / cover no-repeat;
    opacity: .58;
}

.teams-shell {
    width: min(1320px, calc(100vw - 48px));
}

.teams-hero {
    margin-bottom: 34px;
}

.teams-hero > p:last-child {
    max-width: 680px;
    margin: -14px 0 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.65;
}

.teams-section-heading {
    margin-bottom: 22px;
}

.teams-directory-section {
    margin-bottom: 64px;
}

.teams-legacy-section {
    padding-top: 48px;
    border-top: 1px solid rgba(148, 163, 184, .18);
}

.teams-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.teams-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    min-height: 286px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 20px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), .1), transparent 34%),
        linear-gradient(135deg, rgba(16, 23, 34, .98), rgba(7, 13, 24, .98));
    box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.teams-card:hover,
.teams-card:focus {
    border-color: rgba(var(--primary-rgb), .66);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, .38),
        0 0 30px rgba(var(--primary-rgb), .12);
    outline: none;
    transform: translateY(-3px);
}

.teams-card-rank {
    position: absolute;
    top: 16px;
    right: 18px;
    color: rgba(148, 163, 184, .44);
    font-size: 36px;
    font-weight: 900;
}

.teams-card-logo {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
}

.teams-card-logo img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.teams-card-logo b {
    color: var(--teal);
    font-size: 20px;
}

.teams-card-copy {
    display: grid;
    align-content: center;
    min-width: 0;
}

.teams-card-copy small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.teams-card-copy strong {
    margin: 6px 0;
    overflow: hidden;
    color: var(--text);
    font-size: clamp(22px, 3vw, 32px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teams-card-copy em {
    color: var(--teal);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.teams-card-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-self: end;
}

.teams-card-stats > span {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 12px;
    background: rgba(5, 9, 16, .48);
}

.teams-card-stats small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.teams-stat-label {
    position: relative;
    width: fit-content;
    cursor: help;
}

.teams-stat-label::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    z-index: 10;
    width: max-content;
    max-width: 220px;
    padding: 7px 9px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 7px;
    background: #020617;
    color: #e2e8f0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    text-transform: none;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
}

.teams-stat-label:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.teams-card-stats strong {
    color: var(--text);
    font-size: 18px;
}

.teams-card-stats .teams-card-leaders {
    grid-column: 1 / -1;
}

.teams-card-leaders strong {
    font-size: 14px;
    line-height: 1.45;
}

.records-hero {
    margin-bottom: 42px;
    padding: clamp(28px, 5vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(var(--primary-rgb), .25);
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 20%, rgba(var(--primary-rgb), .2), transparent 28%),
        radial-gradient(circle at 14% 90%, rgba(var(--primary-rgb), .1), transparent 30%),
        linear-gradient(135deg, #121827, #070b12);
}

.records-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(42px, 7vw, 76px);
}

.records-content-tabs {
    margin-top: 0;
    margin-bottom: 20px;
}

.records-player-hero {
    margin-bottom: 16px;
}

.records-team-hero {
    margin-bottom: 16px;
}

.records-content-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.records-content-controls .records-content-tabs,
.records-content-controls .records-content-team-filter {
    margin-top: 0;
    margin-bottom: 0;
}

.records-content-team-filter {
    position: relative;
    width: min(260px, 100%);
    padding-top: 0;
}

.records-content-team-filter .team-filter-field > span {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 0;
}

.records-content-controls .records-content-tabs {
    margin-top: 0;
}

.records-content-team-filter .team-filter-field select {
    height: 48px;
    border-radius: 999px;
}

.records-hero h1 span {
    color: var(--teal);
}

.records-hero > p:not(.page-kicker) {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.65;
}

.records-page-tabs {
    display: inline-flex;
    gap: 8px;
    margin-top: 22px;
    padding: 6px;
    border: 1px solid rgba(var(--primary-rgb), .28);
    border-radius: 999px;
    background: rgba(5, 9, 16, .62);
}

.records-page-tabs a {
    padding: 10px 18px;
    border-radius: 999px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.records-page-tabs a:hover,
.records-page-tabs a[aria-current="page"] {
    background: rgba(var(--primary-rgb), .2);
    color: var(--teal);
    transform: translateY(-1px);
}

.records-team-filter {
    max-width: 420px;
    margin-top: 22px;
    padding: 0;
    border: 0 !important;
    background: transparent;
}

.records-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
}

.records-summary > div {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 14px;
    background: rgba(5, 9, 16, .55);
}

.records-summary strong {
    color: #f8fafc;
    font-size: 30px;
}

.records-summary span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.records-section {
    margin-bottom: 48px;
}

.record-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.record-card {
    display: flex;
    flex-direction: column;
    min-height: 174px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(18, 27, 43, .96), rgba(8, 13, 22, .96));
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.record-card-link {
    color: var(--text);
    text-decoration: none;
}

.record-card-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.record-card:hover {
    border-color: rgba(var(--primary-rgb), .5);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
    transform: translateY(-3px);
}

.record-card > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.record-card > strong {
    margin: 14px 0 8px;
    color: #f4d88a;
    font-size: 42px;
    line-height: 1;
}

.record-card > a,
.record-card > b {
    margin-top: auto;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.record-card > a:hover {
    color: #f4d88a;
}

.record-card small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
}

.title-leader-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.title-leader-grid a {
    display: grid;
    grid-template-columns: 42px minmax(130px, 1fr) minmax(220px, 300px);
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 10px 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 15px;
    background: rgba(11, 17, 28, .9);
    color: var(--text);
    text-decoration: none;
}

.title-leader-grid img,
.champion-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.title-leader-grid a > b,
.champion-logo b {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: rgba(148, 163, 184, .12);
    color: var(--muted);
    font-size: 10px;
}

.title-leader-grid a > b {
    font-size: 12px;
}

.title-leader-meta {
    display: grid;
    justify-items: end;
    gap: 3px;
    width: auto;
    height: auto;
    min-width: 0;
    border-radius: 0;
    background: none;
    text-align: right;
}

.title-leader-grid em {
    flex: 0 0 auto;
    color: #f4d88a;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.title-leader-meta small {
    display: block;
    max-width: 300px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.champion-list {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 18px;
}

.champion-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.champion-filter-tabs button {
    min-height: 38px;
    padding: 0 16px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 999px;
    background: rgba(11, 17, 28, .78);
    color: var(--muted);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    cursor: pointer;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}

.champion-filter-tabs button:hover,
.champion-filter-tabs button:focus-visible {
    border-color: rgba(var(--primary-rgb), .65);
    color: var(--text);
}

.champion-filter-tabs button.is-active {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), .18);
    color: var(--primary);
}

.champion-list > a {
    display: grid;
    grid-template-columns: minmax(190px, .75fr) 48px minmax(180px, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    padding: 10px 18px;
    border-top: 1px solid rgba(148, 163, 184, .16);
    background: rgba(11, 17, 28, .88);
    color: var(--text);
    text-decoration: none;
}

.champion-list > a[hidden] {
    display: none;
}

.champion-list > a:first-child {
    border-top: 0;
}

.champion-list > a:hover {
    background: rgba(22, 30, 46, .96);
}

.champion-season {
    display: grid;
    gap: 4px;
    font-weight: 900;
}

.champion-season small {
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.champion-list strong {
    font-size: 16px;
}

.champion-list em {
    color: #f4d88a;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.championship-feature-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid rgba(244, 216, 138, .32);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(244, 216, 138, .16), transparent 34%),
        linear-gradient(145deg, rgba(18, 27, 43, .96), rgba(8, 13, 22, .96));
    color: var(--text);
    text-decoration: none;
}

.championship-feature-card span,
.championship-feature-card small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.championship-feature-card strong {
    color: #f4d88a;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.1;
}

.championship-game-list {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 18px;
}

.championship-game-row {
    display: grid;
    grid-template-columns: minmax(145px, .55fr) minmax(280px, 1.15fr) minmax(210px, .9fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 98px;
    padding: 14px 18px;
    border-top: 1px solid rgba(148, 163, 184, .16);
    background: rgba(11, 17, 28, .88);
    color: var(--text);
    text-decoration: none;
}

.championship-game-row:first-child {
    border-top: 0;
}

.championship-game-row:hover {
    background: rgba(22, 30, 46, .96);
}

.championship-game-season {
    display: grid;
    gap: 4px;
    color: #f8fafc;
    font-weight: 900;
}

.championship-game-season small,
.championship-game-detail small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.championship-game-matchup {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.championship-game-team {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--muted);
    font-weight: 900;
}

.championship-game-team.is-champion {
    color: var(--teal);
}

.championship-game-team img,
.championship-game-team b {
    width: 34px;
    height: 34px;
}

.championship-game-team img {
    object-fit: contain;
}

.championship-game-team b {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(148, 163, 184, .12);
    color: var(--muted);
    font-size: 10px;
}

.championship-game-team span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.championship-game-team strong {
    color: #f8fafc;
    text-align: right;
}

.championship-game-team.is-champion strong {
    color: #f4d88a;
}

.championship-game-detail {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.championship-game-detail-row {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.championship-game-detail strong {
    overflow: hidden;
    color: #f8fafc;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.championship-game-row em {
    color: #f4d88a;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rules-shell {
    padding-bottom: 72px;
}

.rules-hero,
.glossary-hero {
    margin-bottom: 24px;
}

.rules-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
}

.rules-jump-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(var(--primary-rgb), .28);
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
}

.rules-jump-nav a:hover,
.rules-jump-nav a:focus {
    border-color: rgba(var(--primary-rgb), .62);
    background: rgba(var(--primary-rgb), .12);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.glossary-shell {
    padding-bottom: 72px;
}

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rules-card,
.glossary-card {
    scroll-margin-top: 96px;
    padding: 24px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb), .12), transparent 42%),
        linear-gradient(145deg, rgba(18, 27, 43, .94), rgba(8, 13, 22, .94));
    box-shadow: 0 24px 54px rgba(0, 0, 0, .24);
}

.rules-card h2,
.glossary-card h2 {
    margin: 4px 0 18px;
    color: var(--text);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1;
}

.rules-card ol {
    display: grid;
    gap: 12px;
    margin: 0;
    padding-left: 22px;
}

.rules-card li {
    color: #dbe7ff;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

.rules-card li::marker {
    color: #fde68a;
    font-weight: 950;
}

.glossary-term-list {
    display: grid;
    gap: 10px;
}

.glossary-term {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 14px;
    background: rgba(15, 23, 42, .58);
}

.glossary-term > strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .12);
    color: #fde68a;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .04em;
    line-height: 1.15;
    text-align: center;
}

.glossary-term b {
    display: block;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 950;
}

.glossary-term p {
    margin: 5px 0 0;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.compare-control-panel {
    display: grid;
    gap: 16px;
    margin: 24px 0 28px;
    padding: 20px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb), .12), transparent 38%),
        linear-gradient(145deg, rgba(18, 27, 43, .94), rgba(8, 13, 22, .94));
    box-shadow: 0 24px 54px rgba(0, 0, 0, .24);
}

.compare-player-pickers,
.compare-filter-row,
.compare-matchup {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.compare-filter-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
}

.compare-player-picker,
.compare-filter-row label {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.compare-player-picker span,
.compare-filter-row label span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compare-player-picker select,
.compare-filter-row select {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 12px;
    outline: 0;
    background: #080d16;
    color: var(--text);
    font: inherit;
    font-weight: 850;
}

.compare-player-picker select:focus,
.compare-filter-row select:focus {
    border-color: rgba(var(--primary-rgb), .58);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.compare-filter-row button {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(var(--primary-rgb), .58);
    border-radius: 12px;
    background: rgba(var(--primary-rgb), .16);
    color: var(--teal);
    font: inherit;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.compare-filter-row button:hover {
    background: rgba(var(--primary-rgb), .24);
}

.compare-matchup {
    scroll-margin-top: 96px;
    margin-bottom: 28px;
}

.compare-player-card,
.compare-empty {
    display: grid;
    gap: 8px;
    min-height: 148px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(var(--primary-rgb), .13), transparent 38%),
        linear-gradient(145deg, rgba(18, 27, 43, .96), rgba(8, 13, 22, .96));
    color: var(--text);
    text-decoration: none;
}

.compare-player-card:hover {
    border-color: rgba(var(--primary-rgb), .58);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
}

.compare-player-card span,
.compare-player-card small,
.compare-empty span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.compare-player-card strong,
.compare-empty strong {
    color: var(--text);
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1;
}

.compare-player-card small {
    color: #c7d2fe;
}

.compare-empty {
    grid-column: 1 / -1;
    place-items: center;
    text-align: center;
}

.compare-table-card {
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 20px;
    background: rgba(8, 13, 22, .82);
    box-shadow: 0 24px 54px rgba(0, 0, 0, .24);
}

.compare-table {
    border-spacing: 0 8px;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    table-layout: fixed;
}

.compare-table th:first-child,
.compare-table td:first-child {
    width: 24%;
}

.compare-table th,
.compare-table td {
    padding: 13px 16px;
    border: 0;
    text-align: center;
}

.compare-table th {
    background: transparent;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
}

.compare-table td {
    background: rgba(15, 23, 42, .64);
    color: #f8fafc;
    font-size: 18px;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.compare-table tbody tr:hover td {
    background: rgba(22, 31, 48, .82);
}

.compare-table tbody tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.compare-table tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
}

.compare-table td:first-child {
    background: rgba(32, 41, 56, .72);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compare-stat-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
}

.compare-stat-value.is-better {
    border: 1px solid rgba(244, 216, 138, .28);
    background: rgba(244, 216, 138, .1);
    color: #fde68a;
    box-shadow: 0 0 18px rgba(244, 216, 138, .08);
}

.home-ranking-list {
    display: grid;
}

.home-ranking-list > a {
    display: grid;
    grid-template-columns: 32px 30px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 64px;
    padding: 8px 4px;
    border-top: 1px solid rgba(148, 163, 184, .16);
    color: var(--text);
    text-decoration: none;
}

.home-ranking-list > a:hover strong {
    color: var(--teal);
}

.home-ranking-list strong {
    min-width: 0;
}

.home-ranking-list .home-standing-team-name {
    color: var(--secondary);
}

.home-ranking-list > a:hover .home-standing-team-name {
    color: var(--secondary-hover);
}

.home-ranking-list strong small {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-ranking-list > a > span:not(.rank) {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.home-ranking-list em {
    color: var(--teal);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.home-quick-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-quick-links a {
    display: grid;
    gap: 8px;
    min-height: 120px;
    padding: 22px;
    border-radius: 18px;
    color: var(--text);
    text-decoration: none;
}

.home-quick-links span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-quick-links strong {
    align-self: end;
    color: var(--text);
    font-size: 20px;
}

.topbar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, calc(100vw - 96px));
    margin: 0 auto;
    gap: 24px;
    padding: 18px 24px 34px;
    transition:
        padding .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        border-radius .2s ease,
        box-shadow .2s ease;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    text-decoration: none;
    font-size: 28px;
    font-weight: 900;
}

.brand img {
    width: 96px;
    height: auto;
    aspect-ratio: 11 / 8;
    flex: 0 0 auto;
    object-fit: contain;
    transition: width .2s ease;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
    min-width: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.nav a {
    text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
    color: var(--teal);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.global-player-search {
    position: relative;
    flex: 0 0 210px;
    margin-left: auto;
}

.home-mobile-player-search {
    display: none;
}

.global-player-search input {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 8px;
    outline: 0;
    background: rgba(8, 13, 22, .9);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}

.global-player-search input:focus {
    border-color: rgba(var(--primary-rgb), .62);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

.global-player-results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 160;
    width: min(340px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .26);
    border-radius: 10px;
    background: #0b1320;
    box-shadow: 0 22px 48px rgba(0, 0, 0, .42);
}

.global-player-results a {
    display: grid;
    gap: 3px;
    padding: 11px 13px;
    border-top: 1px solid rgba(148, 163, 184, .12);
    color: var(--text);
    text-decoration: none;
}

.global-player-results a:first-child {
    border-top: 0;
}

.global-player-results a:hover,
.global-player-results a:focus {
    background: rgba(var(--primary-rgb), .13);
}

.global-player-results strong {
    font-size: 14px;
}

.global-player-results span,
.global-player-results p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.global-player-results p {
    padding: 13px;
}

.mobile-nav-toggle {
    display: none;
}

@media (min-width: 901px) {
    .topbar {
        position: sticky;
        top: 0;
        z-index: 120;
        margin-bottom: 12px;
        border-bottom: 1px solid rgba(148, 163, 184, .16);
        background:
            linear-gradient(90deg, rgba(var(--primary-rgb), .06), transparent 34%),
            rgb(var(--bg-rgb));
        box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
        isolation: isolate;
    }

    .topbar-inner {
        padding: 12px 20px 18px;
    }

    .topbar .brand img {
        width: 76px;
    }

    .records-shell .topbar,
    .player-shell .topbar,
    .team-shell .topbar {
        background:
            linear-gradient(90deg, rgba(var(--primary-rgb), .06), transparent 34%),
            rgb(var(--bg-rgb));
        box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
        isolation: isolate;
    }

    body.team-theme .team-shell .topbar {
        background:
            linear-gradient(90deg, rgba(var(--team-primary-rgb), .12), transparent 38%),
            rgb(var(--team-secondary-rgb));
        box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
        isolation: isolate;
    }

    body .topbar.is-scrolled {
        margin-bottom: 12px;
        margin-left: calc(50% - 50vw);
        border-bottom-color: rgba(148, 163, 184, .22);
        background:
            linear-gradient(90deg, rgba(var(--primary-rgb), .08), transparent 34%),
            #0b1625;
        box-shadow: 0 16px 34px rgba(0, 0, 0, .28);
        isolation: isolate;
    }

    body.team-theme .topbar.is-scrolled {
        background:
            linear-gradient(90deg, rgba(var(--team-primary-rgb), .12), transparent 38%),
            #0b1625;
    }

}

.page-kicker {
    position: relative;
    margin: 0 0 10px;
    padding-left: 18px;
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.page-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 14px rgba(var(--primary-rgb), .78);
}

h1 {
    margin: 0 0 28px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.05;
}

h1 span,
.section-title {
    color: var(--teal);
}

.filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 12px;
    margin: 0 0 48px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
}

.field {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 0;
}

.field span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.select-menu {
    position: relative;
}

.select-menu button {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, .54);
    color: var(--text);
    cursor: pointer;
    font: 800 15px/1 var(--font);
    outline: none;
    text-align: left;
}

.select-menu button::after {
    content: "v";
    float: right;
    color: var(--text);
}

.select-menu button:focus {
    border-color: rgba(var(--primary-rgb), .58);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .14);
}

.select-options {
    position: absolute;
    z-index: 20;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel-strong);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
    scrollbar-color: rgba(var(--secondary-rgb), .65) rgba(15, 23, 42, .8);
}

.select-menu:hover .select-options,
.select-menu:focus-within .select-options {
    display: block;
}

.select-options a {
    display: block;
    padding: 11px 16px;
    color: var(--text);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.select-options a:hover,
.select-options a:focus {
    background: rgba(var(--secondary-rgb), .14);
    color: var(--secondary);
}

.select-options a[aria-current="true"] {
    background: transparent;
    color: var(--text);
}

.section-heading {
    margin: 0 0 22px;
}

.stats-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 22px;
}

.stats-heading-row .section-heading {
    margin: 0;
}

.section-kicker {
    position: relative;
    margin: 0 0 6px;
    padding-left: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.section-kicker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--teal);
    box-shadow: 0 0 14px rgba(var(--primary-rgb), .78);
}

.section-title {
    margin: 0;
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.15;
}

.table-wrap {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
}

.stats-table-wrap {
    max-height: min(72vh, 760px);
    overflow: auto;
}

table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.stats-sort-table {
    min-width: 0;
    table-layout: fixed;
}

.stats-skater-table th,
.stats-skater-table td {
    padding-right: 4px;
    padding-left: 4px;
}

.stats-skater-table th {
    font-size: 11px;
    letter-spacing: .035em;
    white-space: nowrap;
}

.stats-skater-table td {
    font-size: 14px;
}

.stats-skater-table th:nth-child(1),
.stats-skater-table td:nth-child(1) {
    width: 42px;
}

.stats-skater-table th:nth-child(2),
.stats-skater-table td:nth-child(2) {
    width: 176px;
}

.stats-skater-table th:nth-child(3),
.stats-skater-table td:nth-child(3) {
    width: 138px;
}

.stats-skater-table th:nth-child(4),
.stats-skater-table td:nth-child(4) {
    width: 44px;
}

.stats-skater-table th:nth-child(n+5):nth-child(-n+9),
.stats-skater-table td:nth-child(n+5):nth-child(-n+9),
.stats-skater-table th:nth-child(n+11):nth-child(-n+17),
.stats-skater-table td:nth-child(n+11):nth-child(-n+17) {
    width: 50px;
}

.stats-skater-table th:nth-child(10),
.stats-skater-table td:nth-child(10) {
    width: 68px;
    white-space: nowrap;
}

.stats-skater-table th:nth-child(18),
.stats-skater-table td:nth-child(18) {
    width: 64px;
    white-space: nowrap;
}

.stats-skater-table th:nth-child(19),
.stats-skater-table td:nth-child(19) {
    width: 62px;
    white-space: nowrap;
}

.stats-skater-table .sort-button {
    gap: 3px;
}

.stats-advanced-table th,
.stats-advanced-table td {
    padding-right: 6px;
    padding-left: 6px;
    white-space: nowrap;
}

.stats-advanced-table.stats-skater-table {
    min-width: 1790px;
}

.stats-advanced-table.stats-skater-table th:nth-child(2),
.stats-advanced-table.stats-skater-table td:nth-child(2) {
    width: 190px;
}

.stats-advanced-table.stats-skater-table th:nth-child(3),
.stats-advanced-table.stats-skater-table td:nth-child(3) {
    width: 150px;
}

.stats-advanced-table.stats-skater-table th:nth-child(n+5),
.stats-advanced-table.stats-skater-table td:nth-child(n+5) {
    width: 68px;
    padding-right: 4px;
    padding-left: 4px;
}

.stats-advanced-table.stats-skater-table th:nth-child(n+5) .sort-button {
    gap: 2px;
}

.stats-advanced-table.stats-goalie-table th:nth-child(n+4),
.stats-advanced-table.stats-goalie-table td:nth-child(n+4) {
    width: 82px;
}

.stats-advanced-table.stats-goalie-table th:nth-child(1),
.stats-advanced-table.stats-goalie-table td:nth-child(1) {
    width: 52px;
}

.stats-advanced-table.stats-goalie-table th:nth-child(2),
.stats-advanced-table.stats-goalie-table td:nth-child(2) {
    width: 230px;
    text-align: left;
}

.stats-advanced-table.stats-goalie-table th:nth-child(3),
.stats-advanced-table.stats-goalie-table td:nth-child(3) {
    width: 170px;
    text-align: left;
}

.stats-advanced-table.stats-goalie-table th:nth-child(2) .sort-button,
.stats-advanced-table.stats-goalie-table th:nth-child(3) .sort-button {
    justify-content: flex-start;
}

.stats-all-time-advanced-table {
    min-width: 2310px;
}

.stats-all-time-advanced-table th:nth-child(18),
.stats-all-time-advanced-table td:nth-child(18) {
    width: 104px;
    padding-right: 10px;
    padding-left: 10px;
    white-space: nowrap;
}

.stats-all-time-advanced-table th:nth-child(19),
.stats-all-time-advanced-table td:nth-child(19) {
    width: 78px;
    padding-right: 10px;
    padding-left: 10px;
    white-space: nowrap;
}

.stats-all-time-advanced-table th:nth-child(n+20),
.stats-all-time-advanced-table td:nth-child(n+20) {
    width: 68px;
    padding-right: 4px;
    padding-left: 4px;
}

.stats-all-time-advanced-table th:nth-child(n+20) .sort-button {
    gap: 2px;
}

.stats-sort-table th {
    position: sticky;
    top: 0;
    z-index: 6;
    overflow: hidden;
    isolation: isolate;
}

th,
td {
    height: 58px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    text-align: center;
    font-size: 15px;
    font-weight: 800;
}

th {
    height: 52px;
    background: var(--header);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sort-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.sort-button:hover,
.sort-button:focus {
    color: var(--teal);
    outline: none;
}

.sort-button:focus-visible {
    outline: 2px solid rgba(var(--primary-rgb), .62);
    outline-offset: 4px;
}

.sort-arrow {
    flex: 0 0 auto;
    color: currentColor;
    font-size: 12px;
    line-height: 1;
}

th[aria-sort="ascending"],
th[aria-sort="descending"] {
    color: var(--teal);
}

tbody tr:nth-child(odd) td {
    background: var(--row);
}

tbody tr:nth-child(even) td {
    background: var(--row-alt);
}

.standings-sort-table tbody tr:hover td,
.standings-sort-table tbody tr.is-active-row td {
    background: rgba(var(--primary-rgb), .12);
}

.standings-sort-table th.is-active-column,
.standings-sort-table td.is-active-column {
    background: rgba(var(--primary-rgb), .16);
}

.standings-sort-table tbody tr:hover td.is-active-column,
.standings-sort-table tbody tr.is-active-row td.is-active-column {
    background: rgba(var(--primary-rgb), .28);
}

.stats-sort-table tbody tr:hover td,
.stats-sort-table tbody tr.is-active-row td,
.team-roster-table tbody tr:hover td,
.team-roster-table tbody tr.is-active-row td {
    background: rgba(var(--primary-rgb), .12);
}

.stats-sort-table th.is-active-column,
.team-roster-table th.is-active-column {
    background:
        linear-gradient(rgba(var(--primary-rgb), .22), rgba(var(--primary-rgb), .22)),
        var(--header);
}

.stats-sort-table td.is-active-column,
.team-roster-table td.is-active-column {
    background: rgba(var(--primary-rgb), .16);
}

.stats-sort-table tbody tr:hover td.is-active-column,
.stats-sort-table tbody tr.is-active-row td.is-active-column,
.team-roster-table tbody tr:hover td.is-active-column,
.team-roster-table tbody tr.is-active-row td.is-active-column {
    background: rgba(var(--primary-rgb), .28);
}

th:nth-child(2),
td:nth-child(2) {
    text-align: left;
}

.stats-sort-table th:nth-child(2),
.stats-sort-table td:nth-child(2) {
    width: 230px;
    min-width: 230px;
    max-width: 230px;
    text-align: left;
}

.stats-sort-table th:nth-child(3),
.stats-sort-table td:nth-child(3) {
    width: 190px;
    min-width: 190px;
    max-width: 190px;
    text-align: left;
}

.stats-sort-table th:nth-child(2) .sort-button,
.stats-sort-table th:nth-child(3) .sort-button,
.team-roster-table th:nth-child(2) .sort-button {
    justify-content: flex-start;
    text-align: left;
}

.team-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.team-cell:hover span:last-child {
    color: var(--teal);
}

.stats-sort-table .team-cell,
.stats-sort-table .player-link {
    width: 100%;
}

.stats-sort-table .team-cell {
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
}

.stats-sort-table .player-link {
    display: inline-block;
}

.stats-skater-table .player-link,
.stats-skater-table .team-cell .team-name-full,
.stats-skater-table .team-cell .team-name-abbr {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stats-skater-table .team-cell .team-name-full,
.stats-skater-table .team-cell .team-name-abbr {
    flex: 1 1 auto;
}

.stats-skater-table .team-cell .team-logo {
    flex: 0 0 auto;
}

.stats-advanced-table.stats-skater-table th:nth-child(3),
.stats-advanced-table.stats-skater-table td:nth-child(3) {
    padding-right: 10px;
}

.team-name-abbr {
    display: none;
}

.team-name-full {
    color: var(--secondary);
}

.label-mobile {
    display: none;
}

.year-mobile {
    display: none;
}

.date-mobile {
    display: none;
}

.view-tabs {
    display: inline-flex;
    gap: 8px;
    margin: 0 8px 18px 0;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(15, 23, 42, .54);
}

.view-tabs a {
    min-width: 110px;
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.view-tabs a:hover,
.view-tabs a[aria-current="page"] {
    background: rgba(var(--primary-rgb), .12);
    color: var(--teal);
}

.view-tabs-secondary a[aria-current="page"] {
    color: var(--secondary);
}

.stats-filters {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    margin-bottom: 42px;
}

.standings-filters {
    margin-bottom: 42px;
}

.standings-view-tabs {
    margin-top: 4px;
    margin-bottom: 22px;
}

.standings-view-tabs a:last-child {
    min-width: 190px;
}

.standings-advanced-table th:nth-last-child(-n+4) {
    min-width: 148px;
}

.standings-advanced-table th:nth-child(2),
.standings-advanced-table td:nth-child(2) {
    width: 190px;
    min-width: 190px;
}

.standings-advanced-table td:nth-child(2) .team-cell {
    white-space: nowrap;
}

.schedule-filters {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    margin-bottom: 42px;
}

.schedule-list {
    display: grid;
    gap: 18px;
}

.schedule-card {
    display: grid;
    grid-template-columns: minmax(150px, .68fr) minmax(330px, 1.35fr) minmax(68px, .24fr) minmax(112px, .42fr);
    align-items: center;
    gap: 14px;
    min-height: 106px;
    padding: 18px 26px;
    border: 2px solid rgba(var(--primary-rgb), .54);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 50%, rgba(var(--primary-rgb), .08), transparent 30%),
        linear-gradient(135deg, rgba(10, 17, 28, .98), rgba(5, 8, 13, .98));
    box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateY(0) scale(1);
    transition: transform .12s cubic-bezier(.2, .8, .2, 1), border-color .12s ease, box-shadow .12s ease, background .12s ease;
}

.schedule-card:hover,
.schedule-card:focus-within {
    border-color: rgba(var(--primary-rgb), .9);
    background:
        radial-gradient(circle at 0% 50%, rgba(var(--primary-rgb), .14), transparent 32%),
        linear-gradient(135deg, rgba(13, 24, 39, .99), rgba(6, 10, 17, .99));
    box-shadow:
        0 32px 70px rgba(0, 0, 0, .46),
        0 0 0 1px rgba(var(--primary-rgb), .20),
        0 0 34px rgba(var(--primary-rgb), .16);
    transform: translateY(-3px) scale(1.006);
}

.schedule-card-empty {
    display: block;
    min-height: 0;
}

.schedule-date {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.schedule-date strong,
.schedule-date span,
.schedule-date em {
    display: block;
}

.schedule-date strong {
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
}

.schedule-date span {
    margin-top: 4px;
    color: #c7d2fe;
    font-size: 15px;
    font-weight: 800;
}

.schedule-date em {
    margin-top: 8px;
    color: #f5b700;
    font-size: 15px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.schedule-date .schedule-championship-label,
.boxscore-championship-label {
    color: #f4cf62;
    font-weight: 900;
}

.schedule-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #64748b;
    box-shadow: 0 0 0 5px rgba(100, 116, 139, .12);
}

.schedule-status-dot-final {
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb), .12);
}

.schedule-status-dot-upcoming {
    background: #64748b;
    box-shadow: 0 0 0 5px rgba(100, 116, 139, .12);
}

.schedule-status-dot-live {
    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239, 68, 68, .16);
}

.schedule-status-dot-pending {
    background: #f59e0b;
    box-shadow: 0 0 0 5px rgba(245, 158, 11, .14);
}

.schedule-matchup {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.schedule-team-line {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.schedule-team-label {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.schedule-team-line .team-cell {
    justify-self: start;
    min-width: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
}

.schedule-team-line .team-cell:hover {
    color: var(--teal);
}

.schedule-team-line strong {
    color: #94a3b8;
    font-size: 30px;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    line-height: 1;
    text-align: right;
}

.schedule-team-line strong.is-winning-score {
    color: var(--teal);
}

.schedule-meta {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 10px;
    color: #c7d2fe;
    font-size: 12px;
    text-align: center;
}

.schedule-meta > span:first-child {
    min-width: 82px;
    text-align: center;
}

.schedule-meta .team-result {
    min-width: 82px;
}

.schedule-action {
    display: grid;
    align-items: center;
    justify-items: start;
    min-height: 100%;
}

.schedule-action .game-boxscore-link {
    justify-self: start;
}

.standings-table-wrap {
    margin-bottom: 10px;
}

.team-shell {
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.team-theme-background::before,
.team-theme-background::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.team-theme-background::before {
    z-index: 0;
    background-image: url("images/ph.png");
    background-repeat: no-repeat;
    background-position: right top 72px;
    background-size: auto calc(100vh - 72px);
    filter: saturate(1.12) contrast(1.06) drop-shadow(0 0 42px rgba(var(--team-highlight-rgb), .28));
    opacity: .72;
}

.team-theme-background::after {
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0, 10, 30, .98) 0%, rgba(0, 14, 39, .92) 38%, rgba(0, 18, 50, .58) 68%, rgba(0, 12, 32, .24) 100%),
        linear-gradient(180deg, rgba(2, 7, 17, .15), rgba(2, 7, 17, .5) 72%, rgba(2, 7, 17, .88));
}

.team-theme-background .topbar,
.team-theme-background .team-hero,
.team-theme-background .filters,
.team-theme-background .team-career-filter-form,
.team-theme-background .team-metric,
.team-theme-background .table-wrap {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.team-theme-background .table-wrap {
    background:
        linear-gradient(180deg, rgba(var(--team-primary-rgb), .08), transparent 60%),
        rgba(7, 11, 19, .94);
}

.team-theme {
    --teal: var(--team-primary);
    --pink: var(--team-primary);
    --border: rgba(var(--team-primary-rgb), .28);
    --panel: rgba(11, 11, 10, .88);
    --panel-2: rgba(19, 18, 15, .92);
    --muted: rgba(var(--team-text-rgb), .72);
    background:
        radial-gradient(circle at 18% 4%, rgba(var(--team-primary-rgb), .20), transparent 34%),
        radial-gradient(circle at 58% 0%, rgba(var(--team-gold-rgb), .34), transparent 34%),
        radial-gradient(circle at 82% 12%, rgba(var(--team-background-glow-rgb), .28), transparent 34%),
        radial-gradient(circle at 90% 84%, rgba(var(--team-gold-rgb), .24), transparent 34%),
        linear-gradient(135deg, var(--team-secondary) 0%, rgba(var(--team-gold-rgb), .22) 30%, #050505 52%, var(--team-background-edge) 100%);
}

body.team-theme.team-theme-background {
    background-color: #050a14;
    background-image:
        radial-gradient(circle at 54% 0%, rgba(var(--team-gold-rgb), .38), transparent 38%),
        radial-gradient(circle at 18% 84%, rgba(var(--team-gold-rgb), .20), transparent 34%),
        linear-gradient(90deg, rgba(0, 9, 27, .12) 0%, rgba(0, 13, 37, .68) 24%, rgba(0, 12, 34, .94) 50%, rgba(0, 13, 37, .68) 76%, rgba(0, 9, 27, .12) 100%),
        linear-gradient(180deg, rgba(2, 7, 17, .06), rgba(2, 7, 17, .32) 68%, rgba(2, 7, 17, .84)),
        url("images/jollybees-action-glow.png"),
        url("images/ph.png"),
        linear-gradient(135deg, var(--team-secondary) 0%, rgba(var(--team-gold-rgb), .26) 32%, #050505 54%, var(--team-background-edge) 100%);
    background-repeat: no-repeat;
    background-position: center, center, center, center, left 72px, right 72px, center;
    background-size: cover, cover, cover, cover, auto calc(100vh - 72px), auto calc(100vh - 72px), cover;
    background-attachment: fixed;
}

body.team-theme.team-theme-background::before,
body.team-theme.team-theme-background::after {
    display: none;
}

body.team-theme.team-theme-deadpucks {
    background-color: #050a14;
    background-image:
        linear-gradient(90deg, rgba(3, 8, 16, .06), rgba(3, 8, 16, 0) 30%, rgba(3, 8, 16, 0) 70%, rgba(3, 8, 16, .06)),
        linear-gradient(180deg, rgba(3, 8, 16, 0), rgba(3, 8, 16, .18) 68%, rgba(5, 10, 20, .90) 100%),
        url("images/deadpucks-bg2.png?v=20260615-203421"),
        linear-gradient(135deg, #071222 0%, #050a14 56%, #02050a 100%);
    background-repeat: no-repeat;
    background-position: center, center, center top, center;
    background-size: cover, cover, cover, cover;
    background-attachment: fixed;
}

body.team-theme.team-theme-deadpucks::before,
body.team-theme.team-theme-deadpucks::after {
    display: none;
}

body.team-theme.team-theme-phamished {
    background-color: #080603;
    background: linear-gradient(135deg, #211606 0%, #080603 58%, #020202 100%);
    background-attachment: fixed;
}

body.team-theme.team-theme-phamished::before {
    display: block;
    z-index: 0;
    background-image:
        url("images/SBPham.png?v=20260615-003938"),
        url("images/PPPham.png?v=20260615-002203");
    background-repeat: no-repeat;
    background-position: left top 72px, right top 72px;
    background-size: auto calc(100vh - 72px), auto calc(100vh - 72px);
    filter: none;
    opacity: .7;
}

body.team-theme.team-theme-phamished::after {
    display: block;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(5, 4, 2, .16) 0%, rgba(5, 4, 2, .46) 27%, rgba(5, 4, 2, .92) 50%, rgba(5, 4, 2, .46) 73%, rgba(5, 4, 2, .16) 100%),
        linear-gradient(180deg, rgba(8, 6, 3, .1) 0%, rgba(8, 6, 3, .42) 62%, #080603 100%),
        radial-gradient(circle at 24% 20%, rgba(var(--team-primary-rgb), .2), transparent 40%);
}

body.team-theme.team-theme-top-cheese {
    background-color: #070509;
    background-image: linear-gradient(135deg, #1c0d2c 0%, #070509 58%, #020202 100%);
    background-attachment: fixed;
}

body.team-theme.team-theme-background.team-theme-top-cheese::before {
    display: block;
    z-index: 0;
    background: url("images/top-cheese-bg.png") center top / cover no-repeat;
    filter: saturate(.68) brightness(1.20);
}

body.team-theme.team-theme-background.team-theme-top-cheese::after {
    display: block;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(7, 5, 9, .18), rgba(7, 5, 9, .88) 50%, rgba(7, 5, 9, .18)),
        linear-gradient(180deg, rgba(7, 5, 9, .08) 0%, rgba(7, 5, 9, .42) 62%, #070509 100%);
}

body.team-theme.team-theme-ninja-pandas {
    --ninja-bright-red: #d91c27;
    --ninja-bright-red-rgb: 217, 28, 39;
    background-color: #090506;
    background-image:
        linear-gradient(90deg, rgba(5, 2, 3, .34) 0%, rgba(5, 2, 3, .18) 22%, transparent 42%),
        linear-gradient(90deg, rgba(9, 5, 6, .38) 0%, rgba(9, 5, 6, .72) 28%, rgba(9, 5, 6, .96) 48%, rgba(9, 5, 6, .72) 72%, rgba(9, 5, 6, .38) 100%),
        linear-gradient(180deg, rgba(9, 5, 6, .12) 0%, rgba(9, 5, 6, .42) 58%, rgba(9, 5, 6, .94) 100%),
        radial-gradient(circle at 76% 22%, rgba(var(--team-primary-rgb), .24), transparent 36%),
        url("images/ninja-pandas-background2.png?v=20260611-082232"),
        url("images/ninja-pandas-background.png?v=20260611-012955"),
        linear-gradient(135deg, #24150b 0%, #6f421f 48%, #3b2412 100%);
    background-repeat: no-repeat;
    background-position: center, center, center, center, left -5vw top 72px, right 4vw top 72px, center;
    background-size: cover, cover, cover, cover, auto calc(100vh - 72px), auto calc(100vh - 72px), cover;
    background-attachment: fixed;
}

body.team-theme.team-theme-ninja-pandas .topbar,
body.team-theme.team-theme-ninja-pandas .team-hero,
body.team-theme.team-theme-ninja-pandas .filters,
body.team-theme.team-theme-ninja-pandas .team-career-filter-form,
body.team-theme.team-theme-ninja-pandas .team-metric,
body.team-theme.team-theme-ninja-pandas .table-wrap {
    border-color: rgba(var(--ninja-bright-red-rgb), .68);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, .38),
        0 0 20px rgba(var(--ninja-bright-red-rgb), .10);
}

body.team-theme.team-theme-ninja-pandas .team-hero {
    background:
        radial-gradient(circle at 8% 50%, rgba(var(--ninja-bright-red-rgb), .28), transparent 34%),
        linear-gradient(100deg, rgba(var(--ninja-bright-red-rgb), .20), rgba(5, 5, 5, .90) 42%, rgba(5, 5, 5, .82)),
        rgba(5, 5, 5, .84);
}

body.team-theme.team-theme-ninja-pandas th,
body.team-theme.team-theme-ninja-pandas .team-games-table thead th {
    border-bottom-color: var(--ninja-bright-red);
    background:
        linear-gradient(180deg, rgba(166, 14, 24, .94), rgba(76, 5, 10, .98)),
        #780a11;
    color: var(--team-text);
}

.team-theme-ninja-pandas .team-games-table {
    --header: #211313;
    --row: rgba(10, 7, 6, .96);
    --row-alt: rgba(31, 13, 13, .96);
}

.team-theme-ninja-pandas .team-games-table thead th {
    border-bottom-color: rgba(var(--team-primary-rgb), .52);
    background:
        linear-gradient(180deg, rgba(var(--team-primary-rgb), .25), rgba(var(--team-secondary-rgb), .96)),
        #16090a;
    color: rgba(var(--team-text-rgb), .86);
}

.team-theme-ninja-pandas .team-games-table tbody tr:nth-child(odd) {
    background: rgba(10, 7, 6, .96);
}

.team-theme-ninja-pandas .team-games-table tbody tr:nth-child(even) {
    background: rgba(31, 13, 13, .96);
}

.team-theme-ninja-pandas .team-games-table td {
    border-bottom-color: rgba(var(--team-primary-rgb), .20);
}

.team-theme-ninja-pandas .team-games-table .game-team-line .team-cell {
    color: var(--team-highlight);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}

.team-theme-ninja-pandas .team-table-wrap:has(.team-games-table) {
    border-color: rgba(var(--ninja-bright-red-rgb), .76);
    background:
        radial-gradient(circle at 100% 0%, rgba(var(--team-primary-rgb), .12), transparent 36%),
        rgba(8, 5, 6, .94);
    box-shadow: 0 24px 55px rgba(0, 0, 0, .46), 0 0 34px rgba(var(--team-primary-rgb), .10);
}

.team-theme .shell {
    position: relative;
}

.team-theme .shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(var(--team-primary-rgb), .08) 0 1px, transparent 1px 100%);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .42), transparent 72%);
}

.team-theme .topbar,
.team-theme .filters,
.team-theme .team-career-filter-form,
.team-theme .table-wrap,
.team-theme .team-metric {
    border-color: rgba(var(--team-primary-rgb), .32);
    background:
        linear-gradient(180deg, rgba(var(--team-primary-rgb), .08), transparent 60%),
        rgba(7, 7, 6, .88);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .38);
}

.team-theme .team-hero {
    padding: 22px;
    border: 1px solid rgba(var(--team-primary-rgb), .34);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(var(--team-primary-rgb), .16), rgba(var(--team-secondary-rgb), .64) 44%, rgba(var(--team-text-rgb), .05)),
        rgba(5, 5, 5, .72);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .40);
}

.team-theme .team-hero-logo {
    filter:
        drop-shadow(0 0 18px rgba(var(--team-primary-rgb), .36))
        drop-shadow(0 16px 24px rgba(0, 0, 0, .42));
}

.team-theme .page-kicker,
.team-theme .section-kicker,
.team-theme .team-metric span,
.team-theme .team-hero-meta {
    color: rgba(var(--team-text-rgb), .78);
}

.team-theme .page-kicker::before,
.team-theme .section-kicker::before {
    background: var(--team-gold);
    box-shadow: 0 0 18px rgba(var(--team-gold-rgb), .75);
}

.team-theme h1 span,
.team-theme .section-title,
.team-theme .team-metric strong,
.team-theme .stat-feature,
.team-theme .player-link,
.team-theme .team-cell-link {
    color: var(--team-highlight);
}

.team-theme .team-metric em {
    border-color: rgba(var(--team-gold-rgb), .46);
    background: rgba(var(--team-gold-rgb), .16);
    color: var(--team-text);
}

.team-theme .team-section-tabs a,
.team-theme .select-menu button,
.team-theme .hover-select-trigger,
.team-theme .team-filter-field select {
    border-color: rgba(var(--team-primary-rgb), .30);
    background: rgba(6, 6, 5, .86);
    color: var(--team-text);
}

.team-theme .select-menu button::after,
.team-theme .hover-select-trigger::after {
    color: var(--team-text);
}

.team-theme .team-filter-field select option {
    background: var(--team-secondary);
    color: var(--team-text);
}

.team-theme .team-filter-field select:focus,
.team-theme .hover-select-trigger:focus,
.team-theme .select-menu button:focus {
    border-color: rgba(var(--team-primary-rgb), .68);
    box-shadow: 0 0 0 3px rgba(var(--team-primary-rgb), .18);
}

.team-theme .team-section-tabs a[aria-current="page"],
.team-theme .team-section-tabs a:hover,
.team-theme .select-options a:hover,
.team-theme .hover-select-option:hover,
.team-theme .hover-select-option[aria-selected="true"] {
    background: linear-gradient(135deg, rgba(var(--team-primary-rgb), .14), rgba(var(--team-gold-rgb), .18));
    color: var(--team-text);
}

.team-theme th {
    background:
        linear-gradient(180deg, rgba(var(--team-primary-rgb), .12), rgba(var(--team-secondary-rgb), .94)),
        #080807;
    color: rgba(var(--team-text-rgb), .82);
}

.team-theme tbody tr:hover {
    background: rgba(var(--team-primary-rgb), .08);
}

.team-theme .team-roster-table tbody td:nth-child(1),
.team-theme .team-roster-table tbody td:nth-child(2) {
    background-image: linear-gradient(90deg, rgba(var(--team-primary-rgb), .10), rgba(var(--team-primary-rgb), .03));
}

.team-theme .rank {
    background: rgba(var(--team-gold-rgb), .18);
    color: var(--team-gold);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

.team-theme .team-roster-table .player-link {
    color: var(--team-highlight);
    text-shadow: 0 1px 10px rgba(0, 0, 0, .42);
}

.team-theme .team-logo,
.team-theme .team-jersey {
    border-color: rgba(var(--team-primary-rgb), .34);
    background: rgba(var(--team-primary-rgb), .12);
    color: var(--team-text);
}

.team-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin: 6px 0 24px;
}

.team-hero-identity {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 18px;
}

.team-hero-logo {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .34));
}

.team-hero-logo-fallback {
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(var(--primary-rgb), .45);
    border-radius: 18px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--teal);
    font-size: 28px;
    font-weight: 900;
}

.team-hero h1 {
    margin-bottom: 8px;
}

.team-hero-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.team-hero-title-row h1 {
    margin-bottom: 8px;
}

.team-champion-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 8px;
    padding: 0 12px;
    border: 1px solid rgba(251, 191, 36, .62);
    border-radius: 999px;
    background: rgba(251, 191, 36, .14);
    color: #f4cf62;
    box-shadow: 0 0 22px rgba(251, 191, 36, .12);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.team-theme .team-champion-badge {
    border-color: rgba(var(--team-gold-rgb), .72);
    background: rgba(var(--team-gold-rgb), .18);
    color: var(--team-gold);
    box-shadow: 0 0 22px rgba(var(--team-gold-rgb), .18);
}

.team-hero-meta {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.team-section-tabs {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(226, 232, 240, .08);
}

.team-section-tabs a,
.team-view-tabs a,
.team-action-link {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.team-section-tabs a {
    min-width: 170px;
    padding: 14px 18px;
    border-radius: 999px;
    text-align: center;
}

.team-filter-form:has(input[name="section"][value="standings"]) {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
}

.team-standings-history-wrap {
    margin-bottom: 48px;
}

.team-standings-history-wrap tfoot td {
    height: 44px;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 2px solid rgba(244, 207, 98, .75);
    border-bottom: 0;
    background: rgba(180, 125, 20, .22);
    color: rgba(248, 250, 252, .92);
    font-size: 14px;
    font-weight: 900;
}

.team-standings-history-wrap tfoot td:first-child {
    padding-left: 24px;
    color: var(--team-gold, #f4cf62);
    text-align: left;
    text-transform: uppercase;
}

.team-section-tabs a:hover,
.team-section-tabs a[aria-current="page"],
.team-action-link:hover {
    background: rgba(var(--primary-rgb), .12);
    color: var(--teal);
}

.team-section-tabs a[aria-current="page"] {
    background: #081a37;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .32);
    color: var(--text);
}

.team-view-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 10px;
}

.team-view-tabs a {
    min-width: 112px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, .42);
    text-align: center;
}

.team-view-tabs a:hover,
.team-view-tabs a[aria-current="page"] {
    background: #020617;
    color: var(--teal);
}

.team-filter-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 12px;
    margin: 0 0 32px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: rgba(15, 23, 42, .26);
}

.team-filter-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.team-filter-field span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-filter-field select {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(248, 250, 252, .94);
    color: #020617;
    cursor: pointer;
    font: 800 14px/1 var(--font);
    outline: none;
}

.team-filter-field select:focus {
    border-color: rgba(var(--primary-rgb), .58);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .14);
}

.hover-select-source {
    display: none;
}

.hover-select {
    position: relative;
    min-width: 0;
}

.hover-select-trigger {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 36px 0 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(248, 250, 252, .94);
    color: #020617;
    cursor: pointer;
    font: 800 14px/1 var(--font);
    outline: none;
    overflow: hidden;
    position: relative;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hover-select-trigger::after {
    content: "v";
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
}

.hover-select-trigger:focus {
    border-color: rgba(var(--primary-rgb), .58);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .14);
}

.hover-select-options {
    position: absolute;
    z-index: 30;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel-strong);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
    scrollbar-color: rgba(var(--secondary-rgb), .65) rgba(15, 23, 42, .8);
}

.hover-select:hover .hover-select-options,
.hover-select:focus-within .hover-select-options,
.hover-select.is-open .hover-select-options {
    display: block;
}

.hover-select-option {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: 800 14px/1.2 var(--font);
    text-align: left;
}

.hover-select-option:hover,
.hover-select-option:focus {
    background: rgba(var(--secondary-rgb), .14);
    color: var(--secondary);
    outline: none;
}

.hover-select-option[aria-selected="true"] {
    color: var(--teal);
}

.hover-select-option:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.team-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 34px;
}

.team-metric {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.team-metric span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.team-metric-value {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.team-metric strong {
    min-width: 0;
    color: var(--text);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.team-metric em {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(var(--primary-rgb), .34);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--teal);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.team-table-wrap {
    margin-bottom: 28px;
}

.team-all-time-table-wrap {
    max-height: min(72vh, 760px);
    overflow: auto;
}

.team-roster-table {
    min-width: 1320px;
    table-layout: fixed;
}

.team-all-time-table th {
    position: sticky;
    top: 0;
    z-index: 4;
}

.team-skater-table {
    width: 100%;
    min-width: 0;
}

.team-skater-table th,
.team-skater-table td {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 13px;
}

.team-skater-table th:nth-child(1),
.team-skater-table td:nth-child(1) {
    width: 44px;
    padding-right: 4px;
    padding-left: 4px;
}

.team-skater-table th:nth-child(2),
.team-skater-table td:nth-child(2) {
    width: 190px;
}

.team-skater-table th:nth-child(3),
.team-skater-table td:nth-child(3) {
    width: 34px;
    padding-right: 4px;
    padding-left: 4px;
}

.team-skater-table th:nth-child(n+4),
.team-skater-table td:nth-child(n+4) {
    width: 48px;
}

.team-skater-table th:nth-child(16),
.team-skater-table td:nth-child(16) {
    width: 86px;
    white-space: nowrap;
}

.team-skater-table th:nth-child(17),
.team-skater-table td:nth-child(17) {
    width: 62px;
    white-space: nowrap;
}

.team-goalie-table {
    width: 100%;
    min-width: 0;
}

.team-goalie-table th,
.team-goalie-table td {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 13px;
}

.team-goalie-table th:nth-child(1),
.team-goalie-table td:nth-child(1) {
    width: 4.5%;
    padding-right: 6px;
    padding-left: 6px;
}

.team-goalie-table th:nth-child(2),
.team-goalie-table td:nth-child(2) {
    width: 25%;
}

.team-goalie-table th:nth-child(n+3),
.team-goalie-table td:nth-child(n+3) {
    width: 5.3%;
}

.team-goalie-table th:nth-child(7),
.team-goalie-table td:nth-child(7),
.team-goalie-table th:nth-child(11),
.team-goalie-table td:nth-child(11) {
    width: 6.2%;
}

.team-games-table {
    min-width: 1180px;
    table-layout: fixed;
}

.team-games-table th {
    background: var(--header);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.team-games-table th,
.team-games-table td {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
}

.team-opponents-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.team-opponents-table th,
.team-opponents-table td {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 13px;
}

.team-roster-table th:nth-child(2),
.team-roster-table td:nth-child(2),
.team-games-table th:nth-child(2),
.team-games-table td:nth-child(2),
.team-opponents-table th:nth-child(2),
.team-opponents-table td:nth-child(2) {
    text-align: left;
}

.team-roster-table th:nth-child(1),
.team-roster-table td:nth-child(1) {
    width: 54px;
}

.team-roster-table th:nth-child(2),
.team-roster-table td:nth-child(2) {
    width: 280px;
}

.team-roster-table thead th:nth-child(2) .sort-button {
    justify-content: flex-start;
    text-align: left;
}

.team-roster-table .player-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    white-space: nowrap;
}

.team-roster-table .team-jersey {
    flex: 0 0 28px;
    width: 28px;
    margin-right: 0;
    text-align: right;
}

.team-skater-table th:nth-child(2),
.team-skater-table td:nth-child(2) {
    width: 225px;
}

.team-skater-table th:nth-child(3),
.team-skater-table td:nth-child(3) {
    width: 38px;
}

.team-games-table th:nth-child(1),
.team-games-table td:nth-child(1) {
    width: 190px;
    padding-right: 10px;
    padding-left: 16px;
    white-space: nowrap;
}

.team-games-table th:nth-child(2),
.team-games-table td:nth-child(2) {
    width: 64px;
    padding-right: 6px;
    padding-left: 6px;
    text-align: center;
}

.team-games-table thead th:nth-child(3),
.team-games-table tbody td:nth-child(3) {
    width: 56px;
    padding-right: 6px;
    padding-left: 6px;
    text-align: center !important;
}

.team-games-table th:nth-child(4),
.team-games-table td:nth-child(4) {
    width: 76px;
    padding-right: 10px;
    padding-left: 6px;
}

.team-games-table th:nth-child(5),
.team-games-table td:nth-child(5) {
    width: 54px;
    padding-right: 6px;
    padding-left: 10px;
}

.team-games-table th:nth-child(6),
.team-games-table td:nth-child(6) {
    width: 362px;
}

.team-games-table th:nth-child(7),
.team-games-table td:nth-child(7) {
    width: 300px;
}

.game-matchup {
    display: grid;
    grid-template-columns: minmax(0, 240px) 72px;
    align-items: center;
    column-gap: 14px;
    row-gap: 7px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.team-games-table td:nth-child(6) {
    text-align: center;
}

.game-matchup-teams,
.game-performers {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.game-performer-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.game-team-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26px;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.game-team-line .team-cell {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.game-team-line .team-name-full,
.game-team-line .team-name-abbr {
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-team-line strong {
    width: 26px;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    text-align: right;
}

.game-team-line strong.is-winning-score {
    color: var(--teal);
}

.game-boxscore-link,
.game-performer-line a {
    color: #f8fafc;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.game-performer-line.is-winning-performer,
.game-performer-line.is-winning-performer a {
    color: var(--teal);
}

.team-theme .team-games-table .game-team-line .team-cell,
.team-theme .team-games-table .game-team-line strong,
.team-theme .team-games-table .game-performer-line,
.team-theme .team-games-table .game-performer-line a {
    color: var(--team-text);
}

.team-theme .team-games-table .game-team-line.is-winning-team .team-cell,
.team-theme .team-games-table .game-team-line.is-winning-team strong,
.team-theme .team-games-table .game-performer-line.is-winning-performer,
.team-theme .team-games-table .game-performer-line.is-winning-performer a {
    color: var(--team-highlight);
}

.game-boxscore-link {
    font-size: 12px;
    justify-self: center;
    white-space: nowrap;
}

.game-boxscore-pending {
    color: var(--muted);
    cursor: default;
    text-decoration: none;
}

.game-performer-line span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-shell {
    padding-bottom: 70px;
}

.player-hero {
    align-items: center;
}

.player-photo-frame {
    width: 108px;
    height: 108px;
    flex: 0 0 108px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(15, 23, 42, .72);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.player-team-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
}

.player-team-card .team-hero-logo {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
}

.player-team-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.player-team-card a,
.player-team-card strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

.player-inline-team {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
    vertical-align: middle;
}

.player-inline-team::before {
    content: "|";
    color: var(--muted);
}

.player-inline-team img,
.player-inline-team b {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 999px;
    object-fit: contain;
}

.player-inline-team b {
    background: rgba(var(--primary-rgb), .16);
    color: var(--teal);
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
}

.player-inline-team a,
.player-inline-team strong {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.player-inline-team a:hover {
    color: var(--teal);
}

.player-contract-card {
    display: grid;
    gap: 12px;
    min-width: 260px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background:
        radial-gradient(circle at 10% 0%, rgba(var(--primary-rgb), .12), transparent 42%),
        var(--panel);
    box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.player-contract-card div {
    display: grid;
    gap: 4px;
}

.player-contract-card span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.player-contract-card strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

.player-auth-shell {
    min-height: 100vh;
}

.player-auth-card {
    width: min(520px, 100%);
    margin: 34px auto 70px;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--primary-rgb), .16), transparent 38%),
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(5, 8, 13, .98));
    box-shadow: 0 28px 68px rgba(0, 0, 0, .36);
}

.player-register-card {
    width: min(860px, 100%);
}

.player-auth-card h1 {
    margin: 0 0 22px;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1;
}

.player-auth-card form,
.player-auth-card label {
    display: grid;
    gap: 8px;
}

.player-auth-card form {
    gap: 16px;
}

.player-auth-card label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.player-auth-card label small {
    color: rgba(203, 213, 225, .78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.player-auth-card .player-auth-remember {
    display: flex;
    align-items: center;
    grid-template-columns: none;
    gap: 9px;
    color: #cbd5e1;
    letter-spacing: 0;
    text-transform: none;
}

.player-auth-card .player-auth-remember input {
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;
    accent-color: var(--primary);
}

.player-auth-card input {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(var(--primary-rgb), .34);
    border-radius: 10px;
    outline: 0;
    background: rgba(2, 6, 14, .82);
    color: var(--text);
    font: 800 15px/1 var(--font);
}

.player-auth-card select {
    width: 100%;
    min-height: 50px;
    padding: 0 12px;
    border: 1px solid rgba(var(--primary-rgb), .34);
    border-radius: 10px;
    outline: 0;
    background: rgba(2, 6, 14, .82);
    color: var(--text);
    font: 800 15px/1 var(--font);
}

.player-auth-card input:focus {
    border-color: rgba(var(--primary-rgb), .72);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
}

.player-auth-card select:focus {
    border-color: rgba(var(--primary-rgb), .72);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
}

.player-auth-card button,
.player-account-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(var(--primary-rgb), .48);
    border-radius: 10px;
    background: rgba(var(--primary-rgb), .16);
    color: var(--text);
    cursor: pointer;
    font: 900 13px/1 var(--font);
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.player-auth-card button:hover,
.player-auth-card button:focus,
.player-account-actions a:hover,
.player-account-actions a:focus {
    border-color: rgba(var(--primary-rgb), .82);
    background: rgba(var(--primary-rgb), .24);
    outline: none;
}

.player-auth-flash {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(var(--primary-rgb), .34);
    border-radius: 10px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--text);
    font-weight: 800;
}

.player-auth-flash-error {
    border-color: rgba(248, 113, 113, .46);
    background: rgba(127, 29, 29, .34);
}

.has-attendance-reminder,
.has-attendance-reminder body {
    overflow: hidden;
}

.attendance-reminder-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(1, 5, 12, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.attendance-reminder-dialog {
    display: grid;
    width: min(460px, 100%);
    gap: 14px;
    padding: 30px 24px;
    border: 2px solid #2dd4bf;
    border-radius: 8px;
    background: #08111d;
    box-shadow: 0 0 0 6px rgba(45, 212, 191, .14), 0 28px 80px rgba(0, 0, 0, .68);
    text-align: center;
}

.attendance-reminder-dialog p {
    margin: 0;
    color: #5eead4;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.attendance-reminder-dialog h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    letter-spacing: 0;
    line-height: 1.05;
}

.attendance-reminder-dialog strong {
    color: #f8fafc;
    font-size: 18px;
}

.attendance-reminder-dialog span {
    color: #cbd5e1;
    font-weight: 800;
}

.attendance-reminder-dialog a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 6px;
    padding: 0 18px;
    border-radius: 6px;
    background: #f04be8;
    color: #250322;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
}

.player-auth-alt {
    margin: 18px 0 0;
    color: var(--muted);
    font-weight: 800;
}

.player-auth-alt a {
    color: var(--teal);
    font-weight: 900;
    text-decoration: none;
}

.player-auth-alt a:hover {
    color: var(--secondary);
}

.player-register-form {
    gap: 28px;
}

.player-register-form .player-register-section {
    display: grid;
    gap: 18px;
}

.player-register-form h1,
.player-register-form h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
    text-transform: uppercase;
}

.player-register-form h2 {
    font-size: clamp(22px, 2.5vw, 28px);
}

.player-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 34px;
}

.player-register-grid label,
.player-birthdate-field {
    min-width: 0;
}

.player-birthdate-field {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.player-birthdate-field legend {
    padding: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.player-birthdate-field div {
    display: grid;
    grid-template-columns: minmax(118px, 1.25fr) minmax(88px, .9fr) minmax(92px, .95fr);
    gap: 12px;
}

.player-register-form > button {
    justify-self: start;
    min-width: 190px;
}

.player-account-card {
    width: min(680px, 100%);
}

.player-account-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.player-account-header h1 {
    margin-bottom: 0;
}

.player-account-header .player-account-actions {
    justify-content: flex-end;
    padding-top: 2px;
}

.player-account-header .player-account-actions a {
    min-height: 42px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: .05em;
}

.player-attendance-header-actions {
    justify-content: flex-start;
    margin: -4px 0 18px;
}

.player-account-messages {
    display: grid;
    gap: 12px;
    margin: 18px 0 24px;
}

.player-account-messages h2 {
    margin: 0;
    color: #ff4fd8;
    font-size: 20px;
    letter-spacing: 0;
}

.player-account-message {
    padding: 16px;
    border: 1px solid rgba(45, 212, 191, .34);
    border-radius: 8px;
    background: rgba(20, 184, 166, .09);
}

.player-account-message h3 {
    margin: 0 0 8px;
    color: #f5b700;
    font-size: 17px;
    letter-spacing: 0;
}

.player-account-message p {
    margin: 0;
    color: #dbeafe;
    line-height: 1.55;
}

.player-account-section {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
}

.player-account-section h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 20px;
    letter-spacing: 0;
}

.player-account-section h2 span {
    color: #2dd4bf;
}

.player-account-panel,
.player-account-empty,
.player-account-milestones article {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-account-panel {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.player-account-panel strong {
    color: #f8fafc;
    font-size: 17px;
}

.player-account-panel span,
.player-account-empty {
    color: #bfdbfe;
    font-weight: 800;
}

.player-account-panel a {
    justify-self: start;
    color: #2dd4bf;
    font-weight: 900;
    text-decoration: none;
}

.player-account-panel a:hover {
    color: #5eead4;
}

.player-attendance-duty-line {
    color: #f5b700 !important;
    font-weight: 950 !important;
}

.player-attendance-line-summary {
    justify-self: start;
    padding: 4px 9px;
    border: 1px solid rgba(45, 212, 191, .34);
    border-radius: 999px;
    background: rgba(20, 184, 166, .12);
    color: #2dd4bf !important;
    font-size: 13px;
    font-weight: 950 !important;
}

.player-account-empty {
    margin: 0;
    padding: 16px;
}

.player-attendance-card {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(248, 250, 252, .05);
}

.player-attendance-counts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.player-attendance-counts div {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-attendance-counts span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.player-attendance-counts strong {
    color: #cbd5e1;
    font-size: 30px;
    line-height: 1;
}

.player-attendance-counts .is-in {
    color: #22c55e;
}

.player-attendance-counts .is-out {
    color: #ef4444;
}

.player-attendance-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.player-attendance-option {
    position: relative;
    display: block;
    min-width: 0;
}

.player-attendance-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.player-attendance-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 999px;
    background: rgba(148, 163, 184, .16);
    color: #f8fafc;
    font-weight: 950;
    text-transform: uppercase;
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.player-attendance-option input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .18);
}

.player-attendance-option-in input:checked + span {
    border-color: rgba(34, 197, 94, .72);
    background: #22c55e;
    color: #052e16;
}

.player-attendance-option-out input:checked + span {
    border-color: rgba(239, 68, 68, .72);
    background: #ef4444;
    color: #450a0a;
}

.player-attendance-option-maybe input:checked + span {
    border-color: rgba(245, 183, 0, .72);
    background: #f5b700;
    color: #241a02;
}

.player-attendance-note {
    grid-column: 1 / -1;
    display: grid;
    gap: 6px;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.player-attendance-note input {
    min-height: 44px;
}

.player-attendance-form > button {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 180px;
}

.player-attendance-status {
    grid-column: 1 / -1;
    margin: 0;
    display: flex;
    align-items: center;
    min-height: 24px;
    line-height: 24px;
    color: #2dd4bf;
    font-weight: 900;
}

.player-attendance-status.is-error {
    color: #fca5a5;
}

.player-attendance-tools {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-attendance-game-context {
    display: block;
    margin-bottom: 18px;
}

.player-attendance-game-context label {
    display: grid;
    gap: 6px;
}

.player-attendance-game-context select {
    width: 100%;
}

.player-attendance-tool-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.player-attendance-tool-tabs button,
.player-attendance-tool-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    background: rgba(148, 163, 184, .12);
    color: #cbd5e1;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
}

.player-attendance-tool-tabs button:hover,
.player-attendance-tool-tabs button:focus,
.player-attendance-tool-tabs a:hover,
.player-attendance-tool-tabs a:focus {
    border-color: rgba(45, 212, 191, .5);
    color: #f8fafc;
}

.player-attendance-tool-tabs button.is-active {
    border-color: rgba(45, 212, 191, .58);
    background: rgba(20, 184, 166, .24);
    color: #2dd4bf;
}

.player-attendance-tool-panel {
    display: grid;
    gap: 10px;
}

.player-attendance-tool-panel[hidden] {
    display: none;
}

.player-attendance-tool-panel p {
    margin: 0;
    color: #94a3b8;
    font-weight: 800;
}

.player-attendance-tool-status {
    min-height: 20px;
    color: #2dd4bf !important;
    font-size: 13px;
    font-weight: 900 !important;
}

.player-attendance-tool-status.is-error {
    color: #fca5a5 !important;
}

.player-attendance-tool-panel label {
    display: grid;
    gap: 6px;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.player-attendance-tool-panel select {
    min-height: 46px;
}

.player-line-editor {
    display: grid;
    gap: 18px;
}

.player-line-group {
    display: grid;
    gap: 8px;
}

.player-line-group h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0;
}

.player-line-group h3 span {
    color: #cbd5e1;
    font-weight: 800;
}

.player-line-card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-line-slot {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 58px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.player-line-slot:last-child {
    border-bottom: 0;
}

.player-line-slot > strong {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(148, 163, 184, .14);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 950;
}

.player-line-slot-body {
    min-width: 0;
    padding: 8px 10px;
}

.player-line-slot-body select {
    width: 100%;
    min-height: 42px;
}

.player-line-assignment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    min-height: 42px;
}

.player-line-assignment[hidden] {
    display: none;
}

.player-line-assignment > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.player-line-assignment b {
    overflow: hidden;
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-line-assignment small {
    color: #94a3b8;
    font-weight: 900;
    letter-spacing: .02em;
}

.player-line-assignment em {
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
}

.player-line-assignment button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    min-height: 0;
    padding: 0;
    border: 1px solid #ef4444;
    border-radius: 50%;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}

.player-line-status {
    margin: 4px 0 0;
    min-height: 16px;
    color: #2dd4bf !important;
    font-size: 11px;
    font-weight: 900 !important;
}

.player-line-status.is-error {
    color: #fca5a5 !important;
}

.player-spare-add-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-spare-add-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.player-spare-add-actions button,
.player-spare-add-panel button {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    background: rgba(148, 163, 184, .12);
    color: #f8fafc;
    cursor: pointer;
    font: 950 12px/1 var(--font);
    text-transform: uppercase;
}

.player-spare-add-actions button.is-active {
    border-color: rgba(45, 212, 191, .58);
    background: rgba(20, 184, 166, .24);
    color: #2dd4bf;
}

.player-spare-add-panel {
    display: grid;
    gap: 10px;
}

.player-spare-add-panel[hidden] {
    display: none;
}

.player-spare-add-panel label {
    display: grid;
    gap: 6px;
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.player-spare-search-results {
    display: grid;
    gap: 6px;
}

.player-spare-search-results button {
    justify-content: flex-start;
    text-align: left;
    text-transform: none;
}

.player-spare-search-results p {
    margin: 0;
    color: #94a3b8;
    font-weight: 800;
}

.player-spares-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-spares-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.player-spares-card h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 18px;
    letter-spacing: 0;
}

.player-spares-card header button {
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2dd4bf;
    cursor: pointer;
    font: 900 14px/1 var(--font);
}

.player-spares-list {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 8px;
    background: rgba(2, 6, 14, .35);
}

.player-spare-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 22px;
    gap: 10px;
    align-items: center;
    min-height: 62px;
    padding: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.player-spare-row:last-child {
    border-bottom: 0;
}

.player-spare-row.is-invited {
    background: rgba(20, 184, 166, .08);
}

.player-spare-info {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.player-spare-info strong {
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.2;
}

.player-spare-info strong a {
    color: inherit;
    text-decoration: none;
}

.player-spare-info strong a:hover,
.player-spare-info strong a:focus-visible {
    color: #2dd4bf;
    text-decoration: underline;
}

.player-spare-info small {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-spare-row em {
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
}

.player-spare-row input {
    appearance: none;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 2px solid #38bdf8;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.player-spare-row input:checked {
    border-color: #2dd4bf;
    background:
        radial-gradient(circle at center, #2dd4bf 0 45%, transparent 48%);
}

.player-spare-row input:disabled {
    cursor: wait;
    opacity: .6;
}

.player-attendance-roster {
    display: grid;
    gap: 18px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: 8px;
    background: rgba(2, 6, 14, .42);
}

.player-attendance-roster-group {
    display: grid;
    gap: 8px;
}

.player-attendance-roster-group header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.player-attendance-roster-group h3 {
    margin: 0;
    color: #f8fafc;
    font-size: 16px;
    letter-spacing: 0;
}

.player-attendance-roster-in h3 {
    color: #22c55e;
}

.player-attendance-roster-out h3 {
    color: #ef4444;
}

.player-attendance-roster-maybe h3 {
    color: #f5b700;
}

.player-attendance-roster-unknown h3 {
    color: #93c5fd;
}

.player-attendance-roster-group header strong {
    color: #cbd5e1;
    font-size: 18px;
}

.player-attendance-roster-list {
    display: grid;
    border-top: 1px solid rgba(148, 163, 184, .14);
}

.player-attendance-roster-list > p {
    margin: 0;
    padding: 12px 0;
    color: #94a3b8;
    font-weight: 800;
}

.player-attendance-roster-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.player-attendance-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.player-attendance-roster-in .player-attendance-status-dot {
    background: #22c55e;
}

.player-attendance-roster-out .player-attendance-status-dot {
    background: #ef4444;
}

.player-attendance-roster-maybe .player-attendance-status-dot {
    background: #f5b700;
}

.player-attendance-roster-row div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.player-attendance-roster-row div strong {
    color: #f8fafc;
    font-size: 15px;
    line-height: 1.25;
}

.player-attendance-roster-row div small {
    color: #bfdbfe;
    font-size: inherit;
}

.player-attendance-roster-row div span {
    color: #94a3b8;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.player-attendance-roster-row.is-spare[data-attendance-row-status="unknown"] [data-attendance-row-detail] {
    color: #f472b6;
}

.player-attendance-row-actions {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 6px;
}

.player-attendance-row-actions em {
    min-width: 34px;
    padding: 3px 7px;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    text-align: center;
}

.player-attendance-row-actions select {
    width: 72px;
    min-height: 24px;
    padding: 0 4px;
    border: 1px solid rgba(45, 212, 191, .48);
    border-radius: 5px;
    background: rgba(2, 6, 14, .82);
    color: #e2e8f0;
    font-size: 10px;
    font-weight: 900;
}

.player-attendance-row-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    height: 24px;
    min-height: 0;
    padding: 0 7px;
    border: 1px solid #ef4444;
    border-radius: 5px;
    background: rgba(239, 68, 68, .1);
    color: #f87171;
    cursor: pointer;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.player-attendance-row-actions button:disabled {
    cursor: wait;
    opacity: .55;
}

.player-account-milestones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.player-account-milestones article {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.player-account-milestones span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.player-account-milestones strong {
    color: #f5b700;
    font-size: 28px;
    line-height: 1;
}

.player-account-milestones small {
    color: #cbd5e1;
    font-weight: 800;
}

.player-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.player-honors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 22px;
}

.player-honors > span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid rgba(var(--primary-rgb), .28);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--teal);
    font-size: 12px;
    font-weight: 900;
}

.player-leaderboard-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -12px 0 24px;
}

.player-leaderboard-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(253, 224, 71, .34);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(253, 224, 71, .16), rgba(15, 23, 42, .58));
    color: #fde68a;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .01em;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

.player-leaderboard-badge-leader {
    border-color: rgba(var(--primary-rgb), .36);
    color: var(--teal);
}

.player-leaderboard-badge-streak {
    border-color: rgba(96, 165, 250, .36);
    color: #bfdbfe;
}

.player-filter-form {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.player-career-filter-form {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    margin-top: -8px;
    margin-bottom: 22px;
}

.player-career-splits-filter-form {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    margin-top: -8px;
    margin-bottom: 14px;
}

.player-career-splits-table.player-opponent-splits-table {
    min-width: 2320px;
}

.player-career-splits-table.player-opponent-splits-table.is-goalie {
    min-width: 980px;
}

.player-career-splits-table.player-opponent-splits-table th:nth-child(1),
.player-career-splits-table.player-opponent-splits-table td:nth-child(1) {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}

.player-career-splits-table.player-opponent-splits-table th:nth-child(2),
.player-career-splits-table.player-opponent-splits-table td:nth-child(2),
.player-career-splits-table.player-opponent-splits-table th:nth-child(3),
.player-career-splits-table.player-opponent-splits-table td:nth-child(3),
.player-career-splits-table.player-opponent-splits-table th:nth-child(4),
.player-career-splits-table.player-opponent-splits-table td:nth-child(4),
.player-career-splits-table.player-opponent-splits-table th:nth-child(5),
.player-career-splits-table.player-opponent-splits-table td:nth-child(5) {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
}

.player-career-splits-table.player-opponent-splits-table th:nth-child(19),
.player-career-splits-table.player-opponent-splits-table td:nth-child(19) {
    width: 92px;
    min-width: 92px;
    padding-right: 10px;
}

.player-career-splits-table.player-opponent-splits-table th:nth-child(20),
.player-career-splits-table.player-opponent-splits-table td:nth-child(20) {
    width: 70px;
    min-width: 70px;
    padding-left: 10px;
}

.player-opponent-splits-table .team-cell-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-opponent-splits-table tbody tr.opponent-result-split.is-first td {
    border-top: 2px solid rgba(var(--primary-rgb), .45);
}

.player-opponent-splits-table .opponent-result-split td:first-child {
    color: var(--secondary);
}

.player-game-log-filter-form {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    margin-top: -8px;
    margin-bottom: 22px;
}

.player-misc-milestones {
    margin-top: 34px;
}

.player-milestone-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
}

.player-milestone-card {
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(var(--primary-rgb), .12), transparent 46%),
        rgba(15, 23, 42, .74);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
}

.player-milestone-card span {
    display: block;
    min-height: 30px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.player-milestone-card strong {
    display: block;
    margin-top: 10px;
    color: #fde68a;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 950;
    line-height: .95;
}

.player-milestone-card small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.player-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.player-career-highs {
    margin: 4px 0 34px;
}

.player-career-highs-heading {
    margin-bottom: 14px;
}

.player-career-high-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.player-career-high-card {
    display: grid;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), .13), transparent 34%),
        linear-gradient(145deg, rgba(18, 27, 43, .96), rgba(8, 13, 22, .96));
    color: var(--text);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.player-career-high-card:hover {
    border-color: rgba(var(--primary-rgb), .5);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
    transform: translateY(-3px);
}

.player-career-high-card > span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.player-career-high-card > strong {
    margin-top: 10px;
    color: #f4d88a;
    font-size: 42px;
    line-height: 1;
}

.player-career-high-card > b {
    color: var(--teal);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.player-career-high-card > small {
    align-self: end;
    margin-top: 16px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.player-stats-table,
.player-career-table,
.player-game-log-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.player-stats-table th,
.player-stats-table td,
.player-career-table th,
.player-career-table td,
.player-game-log-table th,
.player-game-log-table td {
    height: auto;
    padding: 13px 8px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.player-stats-table th,
.player-career-table th,
.player-game-log-table th {
    background: var(--header);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.player-stats-table tbody tr,
.player-career-table tbody tr,
.player-game-log-table tbody tr {
    background: var(--row);
}

.player-stats-table tbody tr:nth-child(even),
.player-career-table tbody tr:nth-child(even),
.player-game-log-table tbody tr:nth-child(even) {
    background: var(--row-alt);
}

.player-career-table tfoot tr {
    background: #202938;
}

.player-career-table tfoot td,
.player-game-log-table tfoot td {
    border-top: 1px solid rgba(var(--primary-rgb), .34);
    color: var(--text);
}

.player-career-table tfoot td:first-child,
.player-game-log-table tfoot td:first-child {
    color: var(--teal);
}

.player-game-log-table tfoot tr {
    background: #202938;
}

.player-skater-table {
    min-width: 860px;
}

.player-goalie-table {
    min-width: 780px;
}

.player-career-skater-table {
    min-width: 2250px;
}

.player-career-goalie-table {
    min-width: 960px;
}

.player-career-splits-table {
    min-width: 2130px;
}

.player-game-log-table {
    min-width: 1260px;
}

.player-game-result-link {
    color: inherit;
    text-decoration: none;
}

.player-game-result-link:hover .team-result {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.player-career-skater-table th,
.player-career-skater-table td,
.player-game-log-table th,
.player-game-log-table td {
    padding-right: 6px;
    padding-left: 6px;
}

.player-career-skater-table th:nth-child(8),
.player-career-skater-table td:nth-child(8),
.player-career-skater-table th:nth-child(9),
.player-career-skater-table td:nth-child(9),
.player-game-log-table th:nth-child(8),
.player-game-log-table td:nth-child(8) {
    width: 62px;
    white-space: nowrap;
}

.player-career-skater-table th:nth-child(n+19),
.player-career-skater-table td:nth-child(n+19) {
    width: 68px;
    padding-right: 4px;
    padding-left: 4px;
    white-space: nowrap;
}

.player-career-splits-table th:nth-child(1),
.player-career-splits-table td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 10;
    width: 108px;
    min-width: 108px;
    max-width: 108px;
    padding-left: 16px;
    padding-right: 10px;
    text-align: left;
    background: var(--row);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-career-splits-table th:nth-child(1) {
    z-index: 12;
    background: var(--header);
}

.player-career-splits-table tbody tr:nth-child(even) td:nth-child(1) {
    background: var(--row-alt);
}

.player-career-splits-table th:nth-child(2),
.player-career-splits-table td:nth-child(2),
.player-career-splits-table th:nth-child(3),
.player-career-splits-table td:nth-child(3) {
    width: 52px;
    min-width: 52px;
    max-width: 52px;
    padding-right: 5px;
    padding-left: 5px;
}

.table-wrap.is-scrolled-x .player-career-splits-table th:nth-child(1),
.table-wrap.is-scrolled-x .player-career-splits-table td:nth-child(1) {
    box-shadow: 20px 0 24px -18px rgba(0, 0, 0, .98);
}

.player-career-splits-table th:nth-child(2),
.player-career-splits-table td:nth-child(2) {
    position: static;
    left: auto;
    z-index: auto;
    background: transparent;
    box-shadow: none;
}

.player-career-splits-table th:nth-child(7),
.player-career-splits-table td:nth-child(7) {
    width: 68px;
    min-width: 68px;
}

.player-career-splits-table th:nth-child(16),
.player-career-splits-table td:nth-child(16) {
    width: 92px;
    min-width: 92px;
    padding-right: 10px;
    white-space: nowrap;
}

.player-career-splits-table th:nth-child(17),
.player-career-splits-table td:nth-child(17) {
    width: 70px;
    min-width: 70px;
    padding-left: 10px;
    white-space: nowrap;
}

.player-career-splits-table th:nth-child(n+18),
.player-career-splits-table td:nth-child(n+18) {
    width: 68px;
    padding-right: 4px;
    padding-left: 4px;
    white-space: nowrap;
}

.player-opponent-splits-table tbody tr.opponent-result-split td:first-child {
    color: #ff4bd8;
    font-weight: 800;
}

.player-career-splits-heading {
    margin-top: 28px;
}

.player-career-table th:nth-child(1),
.player-career-table td:nth-child(1),
.player-game-log-table th:nth-child(1),
.player-game-log-table td:nth-child(1),
.player-game-log-table th:nth-child(3),
.player-game-log-table td:nth-child(3),
.player-game-log-table th:nth-child(4),
.player-game-log-table td:nth-child(4) {
    text-align: left;
}

.player-career-table:not(.player-career-splits-table) th:nth-child(2),
.player-career-table:not(.player-career-splits-table) td:nth-child(2) {
    text-align: left;
}

.player-career-table:not(.player-career-splits-table) th:nth-child(1),
.player-career-table:not(.player-career-splits-table) td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 10;
    width: 178px;
    min-width: 178px;
    max-width: 178px;
    padding-left: 16px;
    background: var(--row);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-career-table:not(.player-career-splits-table) th:nth-child(2),
.player-career-table:not(.player-career-splits-table) td:nth-child(2) {
    position: sticky;
    left: 178px;
    z-index: 10;
    width: 138px;
    min-width: 138px;
    max-width: 138px;
    background: var(--row);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-career-table:not(.player-career-splits-table) th:nth-child(1),
.player-career-table:not(.player-career-splits-table) th:nth-child(2) {
    z-index: 12;
    background: var(--header);
}

.player-career-table:not(.player-career-splits-table) tbody tr:nth-child(even) td:nth-child(1),
.player-career-table:not(.player-career-splits-table) tbody tr:nth-child(even) td:nth-child(2) {
    background: var(--row-alt);
}

.player-career-table:not(.player-career-splits-table) tfoot td:nth-child(1),
.player-career-table:not(.player-career-splits-table) tfoot td:nth-child(2) {
    background: #202938;
}

.table-wrap.is-scrolled-x .player-career-table:not(.player-career-splits-table) th:nth-child(2),
.table-wrap.is-scrolled-x .player-career-table:not(.player-career-splits-table) td:nth-child(2) {
    box-shadow: 20px 0 24px -18px rgba(0, 0, 0, .98);
}

.player-career-table:not(.player-career-splits-table) tbody td:nth-child(2) {
    color: var(--secondary);
}

.player-game-log-table th:nth-child(1),
.player-game-log-table td:nth-child(1) {
    width: 128px;
}

.player-game-log-table th:nth-child(2),
.player-game-log-table td:nth-child(2) {
    width: 82px;
}

.player-game-log-table th:nth-child(3),
.player-game-log-table td:nth-child(3) {
    width: 118px;
    padding-left: 14px;
}

.player-game-log-table th:nth-child(4),
.player-game-log-table td:nth-child(4) {
    width: 150px;
    padding-left: 14px;
}

.player-split-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.player-split-heading .section-heading,
.player-split-heading .section-kicker,
.player-split-heading .section-title {
    margin-bottom: 0;
}

.player-split-tabs {
    margin: 0;
}

.player-split-tabs a {
    min-width: 86px;
}

.team-opponents-table th:nth-child(1),
.team-opponents-table td:nth-child(1) {
    width: 44px;
    padding-right: 4px;
    padding-left: 4px;
}

.team-opponents-table th:nth-child(2),
.team-opponents-table td:nth-child(2) {
    width: 180px;
    text-align: left;
}

.team-opponents-table th:nth-child(n+3),
.team-opponents-table td:nth-child(n+3) {
    width: 50px;
}

.team-opponents-table th:nth-child(11),
.team-opponents-table td:nth-child(11),
.team-opponents-table th:nth-child(13),
.team-opponents-table td:nth-child(13) {
    width: 66px;
    white-space: nowrap;
}

.team-opponents-table th:nth-child(15),
.team-opponents-table td:nth-child(15),
.team-opponents-table th:nth-child(16),
.team-opponents-table td:nth-child(16) {
    width: 66px;
    white-space: nowrap;
}

.team-jersey {
    margin-right: 7px;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 900;
}

.team-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .14);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.team-result-w {
    background: rgba(var(--primary-rgb), .18);
    color: var(--teal);
}

.team-result-l {
    background: rgba(251, 113, 133, .16);
    color: #fb7185;
}

.team-result-t {
    background: rgba(199, 210, 254, .16);
    color: #c7d2fe;
}

.team-result-final {
    background: rgba(var(--primary-rgb), .18);
    color: var(--teal);
}

.team-result-upcoming {
    background: rgba(199, 210, 254, .16);
    color: #c7d2fe;
}

.team-result-pending {
    background: rgba(245, 158, 11, .14);
    color: #fbbf24;
}

.team-result-live {
    gap: 6px;
    min-width: 0;
    padding: 0;
    background: transparent;
    color: #f87171;
}

.team-result-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .14);
}

.boxscore-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.boxscore-header h1 {
    margin-bottom: 12px;
}

.boxscore-meta-line {
    margin: 0;
    color: #c7d2fe;
    font-size: 15px;
    font-weight: 700;
}

.boxscore-scoreboard {
    border: 2px solid rgba(var(--primary-rgb), .54);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), .08), transparent 30%),
        rgba(5, 8, 13, .88);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .34);
}

.boxscore-panel {
    border: 0;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--primary-rgb), .05), transparent 30%),
        rgba(5, 8, 13, .88);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .34);
}

.boxscore-scoreboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 26px;
    margin-bottom: 32px;
}

.boxscore-status-pill {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    margin-bottom: -4px;
}

.boxscore-team-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: 96px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--row);
}

.boxscore-team-card.is-winning-team {
    border: 1px solid rgba(var(--boxscore-winner-rgb, var(--primary-rgb)), .72);
    background:
        linear-gradient(90deg, rgba(var(--boxscore-winner-rgb, var(--primary-rgb)), .12), transparent 60%),
        rgba(12, 17, 26, .88);
}

.boxscore-team-card span {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.boxscore-team-card div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.boxscore-team-card a {
    color: var(--text);
    text-decoration: none;
}

.boxscore-team-card.is-winning-team a,
.boxscore-team-card.is-winning-team em,
.boxscore-period-table tbody tr.is-winning-team td:first-child {
    color: var(--boxscore-winner, var(--teal));
}

.boxscore-team-code {
    color: #c7d2fe;
}

.boxscore-team-code.is-winning-team-code {
    color: var(--boxscore-winner, var(--teal));
}

.boxscore-team-card strong {
    overflow: hidden;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boxscore-team-card em {
    color: #c7d2fe;
    font-size: clamp(44px, 5vw, 60px);
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.boxscore-period-table {
    grid-column: 1 / -1;
    min-width: 0;
}

.boxscore-period-table th,
.boxscore-period-table td {
    height: 48px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    text-align: center;
}

.boxscore-period-table th:first-child,
.boxscore-period-table td:first-child {
    text-align: left;
}

.boxscore-period-table tbody tr:last-child td {
    border-bottom: 0;
}

.boxscore-period-table tbody tr.is-winning-team td {
    background: rgba(var(--boxscore-winner-rgb, var(--primary-rgb)), .07);
}

.boxscore-period-table tbody tr.is-winning-team td:first-child {
    border-left: 4px solid var(--boxscore-winner, var(--teal));
    padding-left: 12px;
}

.boxscore-period-table td:last-child,
.boxscore-period-table th:last-child {
    font-weight: 900;
}

.boxscore-period-table tbody tr.is-winning-team td:last-child {
    color: var(--boxscore-winner, var(--teal));
}

.boxscore-panel {
    padding: 24px;
    margin-bottom: 30px;
}

.boxscore-panel h2 {
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(248, 250, 252, .82);
    color: var(--text);
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 900;
    text-transform: uppercase;
}

.boxscore-panel h3 {
    margin: 28px 0 10px;
    color: var(--text);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

.boxscore-milestones {
    border: 1px solid rgba(251, 191, 36, .28);
    background:
        radial-gradient(circle at 0% 0%, rgba(251, 191, 36, .12), transparent 32%),
        rgba(5, 8, 13, .9);
}

.boxscore-milestones h2 {
    border-bottom-color: rgba(251, 191, 36, .72);
    color: #fde68a;
}

.boxscore-milestone-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.boxscore-milestone-card {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(251, 191, 36, .34);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(251, 191, 36, .11), rgba(var(--primary-rgb), .06)),
        rgba(12, 17, 26, .92);
    color: var(--text);
    text-decoration: none;
    transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease;
}

.boxscore-milestone-card:hover,
.boxscore-milestone-card:focus {
    border-color: rgba(251, 191, 36, .72);
    box-shadow:
        0 18px 38px rgba(0, 0, 0, .3),
        0 0 24px rgba(251, 191, 36, .12);
    transform: translateY(-2px);
}

.boxscore-milestone-card span {
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.boxscore-milestone-card strong {
    overflow: hidden;
    color: var(--text);
    font-size: 20px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.boxscore-milestone-card em,
.boxscore-milestone-card small {
    color: #c7d2fe;
    font-style: normal;
    font-weight: 800;
}

.boxscore-milestone-card small {
    color: var(--muted);
    font-size: 12px;
}

.boxscore-summary-list {
    display: grid;
    gap: 12px;
}

.boxscore-period-grid {
    display: grid;
    gap: 18px;
}

.boxscore-period-card {
    padding: 18px;
    border: 2px solid rgba(var(--primary-rgb), .42);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 50%, rgba(var(--primary-rgb), .07), transparent 32%),
        linear-gradient(135deg, rgba(10, 17, 28, .98), rgba(5, 8, 13, .98));
    box-shadow: 0 22px 50px rgba(0, 0, 0, .28);
    backface-visibility: hidden;
    transform: translateY(0) scale(1);
    transition: transform .12s cubic-bezier(.2, .8, .2, 1), border-color .12s ease, box-shadow .12s ease, background .12s ease;
}

.boxscore-period-card:hover,
.boxscore-period-card:focus-within {
    border-color: rgba(var(--primary-rgb), .9);
    background:
        radial-gradient(circle at 0% 50%, rgba(var(--primary-rgb), .13), transparent 34%),
        linear-gradient(135deg, rgba(13, 24, 39, .99), rgba(6, 10, 17, .99));
    box-shadow:
        0 32px 70px rgba(0, 0, 0, .44),
        0 0 0 1px rgba(var(--primary-rgb), .18),
        0 0 34px rgba(var(--primary-rgb), .14);
    transform: translateY(-3px) scale(1.006);
}

.boxscore-period-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
}

.boxscore-period-heading h3 {
    margin: 0;
    color: var(--teal);
}

.boxscore-period-heading span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.boxscore-summary-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 24px;
    padding: 14px 12px;
    border-radius: 10px;
    background: rgba(16, 23, 34, .82);
}

.boxscore-scoring-item {
    grid-template-columns: 62px minmax(0, 1fr) auto;
    align-items: center;
}

.boxscore-season-tally {
    color: var(--muted);
    font-weight: 900;
}

.boxscore-running-score {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 8px;
    min-width: 126px;
    color: var(--muted);
    text-align: center;
}

.boxscore-running-score span {
    font-size: 11px;
    font-weight: 900;
}

.boxscore-running-score strong {
    color: var(--teal);
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    white-space: nowrap;
}

.boxscore-period-empty {
    margin: 0;
    padding: 12px;
}

.boxscore-event-time {
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: #c7d2fe;
}

.boxscore-event-time span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.boxscore-event-time strong {
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
}

.boxscore-summary-item p {
    margin: 8px 0 0;
    color: #c7d2fe;
    font-size: 13px;
}

.boxscore-special {
    display: inline-flex;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(var(--primary-rgb), .18);
    color: var(--teal);
    font-size: 11px;
    font-weight: 900;
}

.boxscore-team-heading-label {
    color: var(--teal);
}

.boxscore-team-stats.is-winning-team-stats {
    border: 1px solid rgba(var(--boxscore-winner-rgb, var(--primary-rgb)), .72);
    background:
        radial-gradient(circle at 0% 0%, rgba(var(--boxscore-winner-rgb, var(--primary-rgb)), .08), transparent 30%),
        rgba(5, 8, 13, .88);
}

.boxscore-team-stats.is-winning-team-stats h2,
.boxscore-team-stats.is-winning-team-stats h3,
.boxscore-team-stats.is-winning-team-stats .boxscore-team-heading-label,
.boxscore-team-stats.is-winning-team-stats .stat-feature,
.boxscore-team-stats.is-winning-team-stats th {
    color: var(--boxscore-winner, var(--teal));
}

.boxscore-winner-ninja-pandas .boxscore-scoreboard,
.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats {
    border-color: rgba(var(--boxscore-winner-rgb), .78);
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--boxscore-winner-highlight-rgb), .14), transparent 28%),
        linear-gradient(135deg, rgba(var(--boxscore-winner-rgb), .12), transparent 48%),
        rgba(var(--boxscore-winner-secondary-rgb), .94);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, .40),
        0 0 24px rgba(var(--boxscore-winner-rgb), .10);
}

.boxscore-winner-ninja-pandas .boxscore-team-card.is-winning-team {
    border-color: rgba(var(--boxscore-winner-rgb), .82);
    background:
        linear-gradient(100deg, rgba(var(--boxscore-winner-rgb), .25), rgba(var(--boxscore-winner-secondary-rgb), .94) 62%),
        rgba(var(--boxscore-winner-secondary-rgb), .96);
}

.boxscore-winner-ninja-pandas .boxscore-team-card.is-winning-team a,
.boxscore-winner-ninja-pandas .boxscore-team-card.is-winning-team em,
.boxscore-winner-ninja-pandas .boxscore-team-code.is-winning-team-code,
.boxscore-winner-ninja-pandas .boxscore-period-table tbody tr.is-winning-team td:first-child,
.boxscore-winner-ninja-pandas .boxscore-period-table tbody tr.is-winning-team td:last-child,
.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats h2,
.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats h3,
.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats .boxscore-team-heading-label,
.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats .stat-feature,
.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats th {
    color: var(--boxscore-winner-highlight);
}

.boxscore-winner-ninja-pandas .boxscore-period-table tbody tr.is-winning-team td {
    background: rgba(var(--boxscore-winner-rgb), .12);
    color: var(--boxscore-winner-text);
}

.boxscore-winner-ninja-pandas .boxscore-team-stats.is-winning-team-stats h2 {
    border-bottom-color: rgba(var(--boxscore-winner-highlight-rgb), .72);
}

.boxscore-table-wrap {
    overflow-x: auto;
}

.boxscore-player-table {
    min-width: 900px;
}

.boxscore-skater-table {
    width: 100%;
    min-width: 1060px;
    table-layout: fixed;
}

.boxscore-goalie-table {
    min-width: 1160px;
}

.boxscore-player-table th,
.boxscore-player-table td {
    height: 46px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.boxscore-skater-table th,
.boxscore-skater-table td {
    padding-right: 7px;
    padding-left: 7px;
}

.boxscore-skater-table th:nth-child(1),
.boxscore-skater-table td:nth-child(1) {
    width: 44px;
    padding-right: 4px;
    padding-left: 4px;
}

.boxscore-skater-table th:nth-child(2),
.boxscore-skater-table td:nth-child(2) {
    width: 210px;
    padding-right: 6px;
    padding-left: 6px;
}

.boxscore-skater-table th:nth-child(3),
.boxscore-skater-table td:nth-child(3) {
    width: 44px;
    padding-right: 4px;
    padding-left: 4px;
}

.boxscore-skater-table th:nth-child(n+4),
.boxscore-skater-table td:nth-child(n+4) {
    width: 54px;
}

.boxscore-player-table th:nth-child(n+3),
.boxscore-player-table td:nth-child(n+3) {
    text-align: center;
}

.boxscore-player-table th:nth-child(2),
.boxscore-player-table td:nth-child(2) {
    text-align: left;
}

.team-secondary-heading {
    margin-top: 8px;
}

.team-empty {
    padding-top: 24px;
}

.player-link {
    color: #c7d2fe;
    text-decoration: none;
}

.team-cell-link {
    color: var(--secondary);
    text-decoration: none;
}

.player-link:hover,
.team-cell-link:hover {
    color: var(--teal);
}

.stat-negative {
    color: #fb7185;
}

.stat-feature {
    color: var(--teal);
}

.is-row-hidden {
    display: none;
}

.stats-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 22px 0 0;
}

.stats-load-more {
    min-width: 160px;
    height: 46px;
    padding: 0 22px;
    border: 1px solid rgba(var(--primary-rgb), .38);
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .12);
    color: var(--teal);
    cursor: pointer;
    font: 900 13px/1 var(--font);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stats-load-more:hover,
.stats-load-more:focus {
    border-color: rgba(var(--primary-rgb), .72);
    background: rgba(var(--primary-rgb), .2);
    outline: none;
}

.stats-load-more[hidden] {
    display: none;
}

.team-logo {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 999px;
    object-fit: contain;
}

.team-logo-fallback {
    display: inline-grid;
    place-items: center;
    background: rgba(var(--primary-rgb), .16);
    color: var(--teal);
    font-size: 10px;
    font-weight: 900;
}

.rank {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: rgba(var(--primary-rgb), .16);
    color: var(--teal);
}

.muted {
    color: var(--muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.player-search {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    margin: 0;
    position: relative;
    z-index: 30;
}

.player-search-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.player-search-field {
    position: relative;
    display: block;
    width: 100%;
}

.player-search-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(202, 138, 4, .66);
    border-radius: 999px;
    transform: translateY(-54%);
    pointer-events: none;
}

.player-search-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: rgba(202, 138, 4, .66);
    transform: rotate(45deg);
}

.player-search input {
    width: 100%;
    height: 58px;
    padding: 0 16px 0 42px;
    border: 1px solid rgba(59, 76, 112, .72);
    border-radius: 14px;
    background: rgba(15, 23, 42, .54);
    color: var(--text);
    font: 800 14px/1 var(--font);
    outline: none;
}

.player-search-results {
    position: absolute;
    z-index: 40;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid rgba(59, 76, 112, .82);
    border-radius: 16px;
    background: #0f172a;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .44);
}

.player-search-results[hidden] {
    display: none;
}

.player-search-result {
    display: grid;
    width: 100%;
    gap: 3px;
    padding: 11px 16px;
    border: 0;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.player-search-result:last-child {
    border-bottom: 0;
}

.player-search-result:hover,
.player-search-result:focus {
    background: rgba(var(--secondary-rgb), .13);
    outline: none;
}

.player-search-result-name {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 900;
}

.player-search-result-meta,
.player-search-empty {
    color: #c7d2fe;
    font-size: 12px;
    font-weight: 800;
}

.player-search-empty {
    padding: 13px 16px;
}

.player-search input::placeholder {
    color: #c7d2fe;
    opacity: .86;
}

.player-search input:focus {
    border-color: rgba(var(--secondary-rgb), .52);
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), .12);
}

@media (max-width: 1120px) {
    .home-score-grid,
    .home-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-archive-grid,
    .record-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-news-layout {
        grid-template-columns: 1fr;
    }

    .home-news-feature {
        min-height: 460px;
    }

    .home-news-headlines {
        border-top: 1px solid rgba(148, 163, 184, .18);
        border-left: 0;
    }

    .schedule-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .schedule-card {
        grid-template-columns: minmax(140px, .7fr) minmax(300px, 1.5fr) minmax(72px, .3fr);
    }

    .schedule-meta {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .topbar {
        position: sticky;
        top: 0;
        z-index: 120;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        border-bottom: 1px solid rgba(148, 163, 184, .16);
        background: rgb(var(--bg-rgb));
        box-shadow: 0 10px 24px rgba(0, 0, 0, .24);
        isolation: isolate;
    }

    .topbar-inner {
        position: relative;
        width: 100%;
        gap: 14px;
        padding: 8px 16px 10px;
        flex-wrap: nowrap;
    }

    .topbar .global-player-search {
        display: none;
    }

    .topbar.is-nav-open {
        z-index: 200;
    }

    .brand {
        gap: 12px;
        font-size: 24px;
        line-height: 1;
        white-space: nowrap;
    }

    .brand img {
        width: 72px;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        position: absolute;
        top: 50%;
        right: 16px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-left: 0;
        padding: 11px 14px;
        border: 1px solid rgba(var(--primary-rgb), .34);
        border-radius: 999px;
        background:
            linear-gradient(135deg, rgba(var(--primary-rgb), .18), rgba(148, 163, 184, .08)),
            rgba(8, 15, 27, .82);
        color: var(--text);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
        cursor: pointer;
        font: inherit;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
        transform: translateY(-50%);
    }

    .mobile-nav-toggle i {
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    .topbar.is-nav-open .mobile-nav-toggle {
        border-color: rgba(var(--primary-rgb), .68);
        color: var(--teal);
        box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .08), 0 18px 38px rgba(0, 0, 0, .34);
    }

    .topbar.is-nav-open .mobile-nav-toggle i {
        transform: translateY(2px) rotate(225deg);
    }

    .nav {
        position: absolute;
        top: calc(100% - 22px);
        right: 12px;
        z-index: 70;
        display: grid;
        width: min(162px, calc(100vw - 24px));
        gap: 5px;
        padding: 7px;
        border: 1px solid rgba(var(--primary-rgb), .36);
        border-radius: 18px;
        background:
            radial-gradient(circle at 18% 0%, rgba(var(--primary-rgb), .2), transparent 42%),
            linear-gradient(145deg, rgba(18, 27, 43, .98), rgba(5, 10, 19, .98));
        box-shadow: 0 24px 55px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px) scale(.98);
        transform-origin: top right;
        transition: opacity .18s ease, transform .18s ease;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .topbar.is-nav-open .nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .nav a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        column-gap: 16px;
        min-height: 38px;
        padding: 0 10px;
        border-radius: 12px;
        color: #dbeafe;
        letter-spacing: .04em;
        overflow: hidden;
        transition: color .18s ease, transform .18s ease;
    }

    .nav a::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: inherit;
        background: linear-gradient(90deg, rgba(255, 55, 245, .08), rgba(255, 55, 245, .26), rgba(255, 55, 245, .08));
        opacity: 0;
        transform: translateX(-105%);
        transition: opacity .2s ease, transform .28s ease;
    }

    .nav a::after {
        content: "";
        flex: 0 0 auto;
        width: 7px;
        height: 7px;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        opacity: .45;
        transform: rotate(45deg);
        transition: opacity .18s ease, transform .18s ease;
    }

    .nav a[aria-current="page"],
    .nav a:hover,
    .nav a:focus-visible {
        color: #ff4df6;
        transform: translateX(3px);
    }

    .nav a[aria-current="page"]::before,
    .nav a:hover::before,
    .nav a:focus-visible::before {
        opacity: 1;
        transform: translateX(0);
    }

    .nav a[aria-current="page"]::after,
    .nav a:hover::after,
    .nav a:focus-visible::after {
        opacity: 1;
        transform: translateX(2px) rotate(45deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .schedule-card,
    .boxscore-period-card,
    .home-game-card,
    .home-upcoming-card,
    .home-quick-links a,
    .news-archive-card,
    .record-card {
        transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }

    .schedule-card:hover,
    .schedule-card:focus-within,
    .boxscore-period-card:hover,
    .boxscore-period-card:focus-within,
    .home-game-card:hover,
    .home-game-card:focus,
    .home-upcoming-card:hover,
    .home-upcoming-card:focus,
    .home-quick-links a:hover,
    .home-quick-links a:focus,
    .news-archive-card:hover,
    .record-card:hover {
        transform: none;
    }
}

@media (max-width: 760px) {
    .shell {
        width: calc(100vw - 16px);
        padding-top: 0;
    }

    .stats-view-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        gap: 3px;
        margin-right: 0;
        padding: 5px;
    }

    .stats-view-tabs a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 48px;
        padding: 7px 3px;
        font-size: 10px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .records-player-page::before {
        width: 100vw;
        background:
            linear-gradient(180deg, rgba(7, 13, 24, .34), #070d18 72%),
            url("images/GN.png") 58% top / auto 72vh no-repeat;
        opacity: .28;
    }

    .records-player-page::after {
        display: none;
    }

    .records-content-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .records-content-team-filter {
        width: 100%;
        max-width: none;
    }

    .team-theme-background::before {
        background-position: 76% top 92px;
        background-size: auto 78vh;
        opacity: .38;
    }

    .team-theme-background::after {
        background:
            linear-gradient(90deg, rgba(0, 10, 30, .97), rgba(0, 14, 39, .76)),
            linear-gradient(180deg, rgba(2, 7, 17, .18), rgba(2, 7, 17, .92) 58%);
    }

    body.team-theme.team-theme-background {
        background-position: center, center, center, center, 16% 92px, 84% 92px, center;
        background-size: cover, cover, cover, cover, auto 70vh, auto 70vh, cover;
    }

    body.team-theme.team-theme-jollybees {
        background-position: center, center, center, center, center, right -12vw top 92px, center;
        background-size: cover, cover, cover, cover, 0 0, auto 78vh, cover;
    }

    body.team-theme.team-theme-deadpucks {
        background-position: center, center, right top, center;
        background-size: cover, cover, auto 78vh, cover;
    }

    body.team-theme.team-theme-background.team-theme-top-cheese::before {
        background-position: 100% top;
        background-size: auto 72vh;
    }

    body.team-theme.team-theme-background.team-theme-top-cheese::after {
        display: none;
    }

    body.team-theme.team-theme-phamished::before {
        background-position: center top 92px, center top 92px;
        background-size: auto 82vh, 0 0;
    }

    body.team-theme.team-theme-ninja-pandas {
        background-position: center, center, center, center, left -28vw top 92px, 78% top 92px, center;
        background-size: cover, cover, cover, cover, 0 0, auto 74vh, cover;
    }

    .topbar-inner {
        gap: 10px;
        padding-right: 0;
        padding-left: 0;
    }

    .home-hero {
        display: grid;
        margin-bottom: 38px;
        padding: 24px 20px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-mobile-player-search {
        display: block;
        width: 100%;
        margin: 0;
    }

    .home-mobile-player-search input {
        min-height: 48px;
        border-color: rgba(var(--primary-rgb), .36);
        border-radius: 12px;
    }

    .home-mobile-player-search .global-player-results {
        right: auto;
        left: 0;
        width: 100%;
    }

    .home-score-grid,
    .home-upcoming-grid,
    .home-dashboard-grid,
    .home-quick-links,
    .news-archive-grid,
    .title-leader-grid,
    .teams-card-grid {
        grid-template-columns: 1fr;
    }

    .title-leader-grid a {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .title-leader-meta {
        grid-column: 1 / -1;
        justify-items: start;
        text-align: left;
    }

    .teams-hero {
        margin-bottom: 26px;
    }

    .teams-hero > p:last-child {
        margin-top: -8px;
        font-size: 14px;
    }

    .teams-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
        min-height: 0;
        padding: 18px;
    }

    .teams-card-logo {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .teams-card-logo img {
        width: 52px;
        height: 52px;
    }

    .teams-card-copy strong {
        font-size: 22px;
    }

    .teams-card-rank {
        top: 12px;
        right: 14px;
        font-size: 26px;
    }

    .teams-card-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-score-grid,
    .home-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-game-card,
    .home-upcoming-card {
        min-height: 142px;
        padding: 12px;
        border-radius: 15px;
    }

    .home-game-card header,
    .home-upcoming-card header {
        gap: 6px;
        margin-bottom: 8px;
        font-size: 11px;
    }

    .home-game-status {
        padding: 5px 7px;
        border-radius: 6px;
        font-size: 9px;
    }

    .home-score-team {
        gap: 6px;
        padding: 10px 0;
    }

    .home-team-name {
        gap: 6px;
        font-size: 12px;
        line-height: 1.15;
    }

    .home-score-team > strong {
        font-size: 25px;
    }

    .home-score-team .team-logo,
    .home-score-team .team-logo-fallback {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        font-size: 8px;
    }

    .player-attendance-counts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-account-header {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .player-account-header h1 {
        font-size: 32px;
    }

    .player-account-header .player-account-actions {
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 6px;
        padding-top: 0;
        max-width: 168px;
    }

    .player-account-header .player-account-actions a {
        min-height: 30px;
        padding: 0 7px;
        border-radius: 8px;
        font-size: 9px;
        letter-spacing: 0;
        white-space: nowrap;
    }

    .player-attendance-header-actions {
        justify-content: flex-start;
        margin: -6px 0 18px;
    }

    .player-attendance-header-actions a {
        flex: 0 1 auto;
        min-height: 36px;
        padding: 0 8px;
        font-size: 10px;
        letter-spacing: .02em;
    }

    .player-invite-spares-actions {
        flex-wrap: nowrap;
        gap: 5px;
    }

    .player-invite-spares-actions a {
        min-height: 32px;
        padding: 0 6px;
        font-size: 8px;
        letter-spacing: 0;
    }

    .player-attendance-tool-tabs {
        grid-template-columns: 1fr;
    }

    .player-account-card {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 12px;
        padding-left: 12px;
    }

    .player-attendance-tools {
        padding-right: 10px;
        padding-left: 10px;
    }

    .player-line-slot {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .player-line-slot-body {
        padding-right: 8px;
        padding-left: 8px;
    }

    .player-line-assignment {
        grid-template-columns: minmax(0, 1fr) auto 22px;
        gap: 7px;
    }

    .player-line-assignment em {
        padding-right: 5px;
        padding-left: 5px;
    }

    .player-attendance-form {
        grid-template-columns: 1fr;
    }

    .record-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .record-card {
        min-height: 138px;
        padding: 14px;
    }

    .record-card > span {
        font-size: 10px;
        letter-spacing: .07em;
    }

    .record-card > strong {
        margin: 11px 0 8px;
        font-size: 34px;
    }

    .record-card > a,
    .record-card > b {
        font-size: 14px;
        line-height: 1.15;
    }

    .archive-hero {
        display: grid;
        align-items: start;
    }

    .archive-hero > strong {
        text-align: left;
    }

    .archive-search > div {
        display: grid;
    }

    .records-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .champion-list > a {
        grid-template-columns: 1fr 42px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .championship-game-row {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .rules-grid,
    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .compare-player-pickers,
    .compare-filter-row,
    .compare-matchup {
        grid-template-columns: 1fr;
    }

    .compare-filter-row button {
        width: 100%;
    }

    .compare-table-card {
        padding: 16px 10px;
        border-radius: 16px;
    }

    .compare-table-card .section-heading {
        padding: 0 6px;
    }

    .compare-table-card .table-wrap {
        overflow-x: visible;
        border: 0;
        border-radius: 12px;
        box-shadow: none;
    }

    .compare-table {
        border-spacing: 0 6px;
    }

    .compare-table th,
    .compare-table td {
        padding: 11px 6px;
    }

    .compare-table th {
        font-size: 10px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .compare-table th:first-child,
    .compare-table td:first-child {
        width: 22%;
    }

    .compare-table td {
        font-size: 16px;
    }

    .compare-table td:first-child {
        font-size: 10px;
        letter-spacing: .05em;
    }

    .compare-stat-value {
        min-width: 0;
        min-height: 32px;
        max-width: 100%;
        padding: 0 8px;
    }

    .rules-card,
    .glossary-card {
        padding: 18px;
    }

    .championship-game-row em {
        justify-self: start;
    }

    .champions-section .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .champion-filter-tabs {
        justify-content: flex-start;
        width: 100%;
    }

    .champion-filter-tabs button {
        flex: 1 1 calc(50% - 4px);
    }

    .champion-list em {
        display: none;
    }

    .home-news-feature {
        min-height: 400px;
    }

    .home-news-feature-content {
        padding: 24px 20px;
    }

    .home-news-feature-content h3 {
        font-size: clamp(27px, 9vw, 38px);
    }

    .home-news-headlines {
        padding: 22px 20px;
    }

    .home-section-heading {
        align-items: center;
    }

    .home-section-heading .section-kicker,
    .player-split-heading .section-kicker {
        margin-bottom: 9px;
    }

    .home-ranking-list > a {
        grid-template-columns: 28px minmax(0, 1fr) max-content;
        gap: 9px;
        min-height: 58px;
        padding: 8px 0;
    }

    .home-ranking-list > a > img,
    .home-ranking-list > a > b {
        display: none;
    }

    .home-ranking-list > a > span:not(.rank) {
        display: none;
    }

    .home-ranking-list strong {
        overflow: hidden;
        font-size: 13px;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-ranking-list em {
        font-size: 11px;
        white-space: nowrap;
    }

    .filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 20px;
    }

    .stats-filters,
    .standings-filters,
    .schedule-filters {
        margin-bottom: 30px;
    }

    .schedule-filters {
        grid-template-columns: 1fr;
    }

    .schedule-card {
        grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
        grid-template-areas:
            "date date"
            "matchup matchup"
            "meta meta";
        align-items: stretch;
        column-gap: 12px;
        row-gap: 16px;
        padding: 18px;
    }

    .schedule-date {
        grid-area: date;
    }

    .schedule-matchup {
        grid-area: matchup;
        padding-right: 74px;
    }

    .schedule-meta {
        grid-area: meta;
    }

    .schedule-team-line {
        grid-template-columns: 28px minmax(0, 1fr) 34px;
        gap: 12px;
    }

    .schedule-team-line .team-cell {
        font-size: 15px;
    }

    .schedule-team-line .team-name-full {
        display: inline;
    }

    .schedule-team-line .team-name-abbr {
        display: none;
    }

    .schedule-team-line strong {
        font-size: 24px;
    }

    .schedule-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        justify-items: start;
        text-align: left;
    }

    .schedule-action {
        grid-area: matchup;
        z-index: 2;
        align-self: center;
        justify-self: end;
        justify-items: end;
        min-height: 0;
        max-width: 68px;
        text-align: center;
        line-height: 1.1;
    }

    .schedule-action .game-boxscore-pending {
        display: none;
    }

    .boxscore-period-card {
        padding: 14px;
    }

    .boxscore-milestone-grid {
        grid-template-columns: 1fr;
    }

    .boxscore-scoring-item {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
    }

    .boxscore-running-score {
        grid-column: 2;
        justify-content: start;
        min-width: 0;
        margin-top: 8px;
    }

    .player-search {
        grid-column: 1 / -1;
    }

    .player-search-field {
        width: 100%;
    }

    .stats-heading-row {
        display: grid;
        gap: 16px;
        margin-bottom: 22px;
    }

    .team-hero {
        display: grid;
        gap: 18px;
        margin-top: 0;
    }

    .team-hero-identity {
        align-items: flex-start;
        gap: 14px;
    }

    .team-hero-logo {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }

    .team-hero h1 {
        font-size: 30px;
    }

    .player-photo-frame {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
        border-radius: 12px;
    }

    .player-team-card {
        display: none;
    }

    .player-register-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .player-birthdate-field div {
        grid-template-columns: 1fr;
    }

    .player-register-form > button {
        width: 100%;
    }

    .player-honors {
        margin-top: 0;
    }

    .team-section-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 12px;
        border-radius: 16px;
    }

    .team-section-tabs a {
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
    }

    .team-view-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .team-view-tabs a {
        min-width: 0;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
    }

    .team-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 26px;
    }

    .player-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-career-filter-form {
        grid-template-columns: 1fr;
        margin-top: -2px;
    }

    .player-game-log-filter-form {
        grid-template-columns: 1fr;
        margin-top: -2px;
    }

    .team-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 28px;
    }

    .player-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-career-high-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-milestone-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-split-heading {
        display: grid;
        gap: 14px;
    }

    .player-split-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .player-split-tabs a {
        min-width: 0;
    }

    .team-metric {
        padding: 13px;
    }

    .team-metric strong {
        font-size: 29px;
    }

    .field {
        min-height: 72px;
    }

    .table-wrap {
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 22px 55px rgba(0, 0, 0, .28);
    }

    .table-wrap.has-scroll-right {
        box-shadow:
            0 22px 55px rgba(0, 0, 0, .28),
            inset -30px 0 24px -24px rgba(248, 250, 252, .9);
    }

    .standings-sort-table th:nth-child(1),
    .standings-sort-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 3;
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .standings-sort-table th:nth-child(2),
    .standings-sort-table td:nth-child(2) {
        position: sticky;
        left: 46px;
        z-index: 3;
        width: 94px;
        min-width: 94px;
        max-width: 94px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .standings-sort-table th:nth-child(11),
    .standings-sort-table td:nth-child(11),
    .standings-sort-table th:nth-child(13),
    .standings-sort-table td:nth-child(13) {
        width: 74px;
        min-width: 74px;
        max-width: 74px;
        padding-right: 10px;
        padding-left: 10px;
        white-space: nowrap;
    }

    .standings-sort-table th:nth-child(1),
    .standings-sort-table th:nth-child(2) {
        z-index: 5;
        background: var(--header);
    }

    .standings-sort-table tbody tr:nth-child(odd) td:nth-child(1),
    .standings-sort-table tbody tr:nth-child(odd) td:nth-child(2) {
        background: var(--row);
    }

    .standings-sort-table tbody tr:nth-child(even) td:nth-child(1),
    .standings-sort-table tbody tr:nth-child(even) td:nth-child(2) {
        background: var(--row-alt);
    }

    .table-wrap.is-scrolled-x .standings-sort-table th:nth-child(2),
    .table-wrap.is-scrolled-x .standings-sort-table td:nth-child(2) {
        box-shadow: 18px 0 22px -20px rgba(0, 0, 0, .95);
    }

    .team-cell {
        gap: 10px;
        max-width: 100%;
    }

    .team-name-full {
        display: none;
    }

    .team-name-abbr {
        display: inline;
        color: var(--secondary);
    }

    .label-full {
        display: none;
    }

    .label-mobile {
        display: inline;
    }

    .year-full {
        display: none;
    }

    .year-mobile {
        display: inline;
    }

    .date-full {
        display: none;
    }

    .date-mobile {
        display: inline;
    }

    .team-cell span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .stats-sort-table {
        min-width: 1120px;
    }

    .stats-sort-table th:nth-child(1),
    .stats-sort-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 3;
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .stats-sort-table th:nth-child(2),
    .stats-sort-table td:nth-child(2) {
        position: sticky;
        left: 46px;
        z-index: 3;
        width: 126px;
        min-width: 126px;
        max-width: 126px;
        padding-right: 8px;
        padding-left: 8px;
        text-align: left;
    }

    .stats-sort-table th:nth-child(3),
    .stats-sort-table td:nth-child(3) {
        width: 92px;
        min-width: 92px;
        max-width: 92px;
        padding-right: 6px;
        padding-left: 6px;
        text-align: left;
    }

    .stats-sort-table th:nth-child(4),
    .stats-sort-table td:nth-child(4) {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .stats-skater-table th:nth-child(10),
    .stats-skater-table td:nth-child(10) {
        width: 68px;
        min-width: 68px;
        max-width: 68px;
        padding-right: 6px;
        padding-left: 6px;
        white-space: nowrap;
    }

    .stats-skater-table th:nth-child(18),
    .stats-skater-table td:nth-child(18) {
        width: 96px;
        min-width: 96px;
        max-width: 96px;
        padding-right: 12px;
        padding-left: 12px;
        white-space: nowrap;
    }

    .stats-skater-table th:nth-child(19),
    .stats-skater-table td:nth-child(19) {
        width: 72px;
        min-width: 72px;
        max-width: 72px;
        padding-right: 10px;
        padding-left: 10px;
        white-space: nowrap;
    }

    .stats-sort-table th:nth-child(1),
    .stats-sort-table th:nth-child(2) {
        z-index: 12;
        background: var(--header);
    }

    .stats-sort-table tbody td:nth-child(1),
    .stats-sort-table tbody td:nth-child(2) {
        z-index: 10;
    }

    .stats-sort-table tbody tr:nth-child(odd) td:nth-child(1),
    .stats-sort-table tbody tr:nth-child(odd) td:nth-child(2) {
        background: var(--row);
    }

    .stats-sort-table tbody tr:nth-child(even) td:nth-child(1),
    .stats-sort-table tbody tr:nth-child(even) td:nth-child(2) {
        background: var(--row-alt);
    }

    .table-wrap.is-scrolled-x .stats-sort-table th:nth-child(2),
    .table-wrap.is-scrolled-x .stats-sort-table td:nth-child(2) {
        box-shadow: 18px 0 22px -20px rgba(0, 0, 0, .95);
    }

    .stats-sort-table .player-link {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .team-roster-table,
    .team-games-table,
    .team-opponents-table {
        min-width: 1040px;
    }

    .team-opponents-table {
        min-width: 860px;
    }

    .team-skater-table {
        min-width: 780px;
    }

    .team-goalie-table {
        min-width: 820px;
    }

    .player-skater-table {
        min-width: 800px;
    }

    .player-goalie-table {
        min-width: 720px;
    }

    .player-career-skater-table {
        min-width: 2180px;
    }

    .player-career-goalie-table {
        min-width: 860px;
    }

    .player-career-splits-table {
        min-width: 2060px;
    }

    .player-career-splits-table th:nth-child(1),
    .player-career-splits-table td:nth-child(1) {
        width: 112px;
        min-width: 112px;
        max-width: 112px;
        padding-right: 8px;
        padding-left: 10px;
        z-index: 20;
    }

    .player-career-splits-table th:nth-child(1) {
        z-index: 22;
    }

    .player-career-splits-table th:nth-child(2),
    .player-career-splits-table td:nth-child(2),
    .player-career-splits-table th:nth-child(3),
    .player-career-splits-table td:nth-child(3) {
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .player-career-skater-table th:nth-child(1),
    .player-career-skater-table td:nth-child(1),
    .player-career-goalie-table th:nth-child(1),
    .player-career-goalie-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 20;
        width: 142px;
        min-width: 142px;
        max-width: 142px;
        padding-right: 8px;
        padding-left: 10px;
        background: var(--row);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .player-career-skater-table th:nth-child(1),
    .player-career-goalie-table th:nth-child(1) {
        z-index: 22;
        background: var(--header);
    }

    .player-career-skater-table tbody tr:nth-child(even) td:nth-child(1),
    .player-career-goalie-table tbody tr:nth-child(even) td:nth-child(1) {
        background: var(--row-alt);
    }

    .player-career-skater-table tfoot td:nth-child(1),
    .player-career-goalie-table tfoot td:nth-child(1) {
        background: #202938;
    }

    .table-wrap.is-scrolled-x .player-career-skater-table th:nth-child(1),
    .table-wrap.is-scrolled-x .player-career-skater-table td:nth-child(1),
    .table-wrap.is-scrolled-x .player-career-goalie-table th:nth-child(1),
    .table-wrap.is-scrolled-x .player-career-goalie-table td:nth-child(1) {
        box-shadow: 20px 0 24px -18px rgba(0, 0, 0, .98);
    }

    .player-career-table:not(.player-career-splits-table) th:nth-child(2),
    .player-career-table:not(.player-career-splits-table) td:nth-child(2) {
        position: static;
        left: auto;
        z-index: auto;
        width: 66px;
        min-width: 66px;
        max-width: 66px;
        padding-right: 6px;
        padding-left: 6px;
        background: transparent;
        box-shadow: none;
        text-align: left;
    }

    .table-wrap.is-scrolled-x .player-career-table:not(.player-career-splits-table) th:nth-child(2),
    .table-wrap.is-scrolled-x .player-career-table:not(.player-career-splits-table) td:nth-child(2) {
        box-shadow: none;
    }

    .player-game-log-table {
        min-width: 1140px;
    }

    .player-game-log-table th:nth-child(1),
    .player-game-log-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 20;
        width: 118px;
        min-width: 118px;
        max-width: 118px;
        padding-right: 8px;
        padding-left: 10px;
        background: var(--row);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .player-game-log-table th:nth-child(1) {
        z-index: 22;
        background: var(--header);
    }

    .player-game-log-table tbody tr:nth-child(even) td:nth-child(1) {
        background: var(--row-alt);
    }

    .table-wrap.is-scrolled-x .player-game-log-table th:nth-child(1),
    .table-wrap.is-scrolled-x .player-game-log-table td:nth-child(1) {
        box-shadow: 20px 0 24px -18px rgba(0, 0, 0, .98);
    }

    .player-game-log-table th:nth-child(3),
    .player-game-log-table td:nth-child(3) {
        width: 62px;
        min-width: 62px;
        max-width: 62px;
        padding-right: 4px;
        padding-left: 8px;
    }

    .player-game-log-table th:nth-child(4),
    .player-game-log-table td:nth-child(4) {
        width: 72px;
        min-width: 72px;
        max-width: 72px;
        padding-right: 4px;
        padding-left: 8px;
    }

    .player-game-log-table th:nth-child(5),
    .player-game-log-table td:nth-child(5),
    .player-game-log-table th:nth-child(6),
    .player-game-log-table td:nth-child(6) {
        width: 38px;
        min-width: 38px;
        max-width: 38px;
        padding-right: 3px;
        padding-left: 3px;
    }

    .team-roster-table th:nth-child(1),
    .team-roster-table td:nth-child(1),
    .team-games-table th:nth-child(1),
    .team-games-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 3;
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        padding-right: 6px;
        padding-left: 6px;
    }

    .team-goalie-table th:nth-child(1),
    .team-goalie-table td:nth-child(1) {
        display: table-cell;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .team-skater-table th:nth-child(1),
    .team-skater-table td:nth-child(1) {
        display: table-cell;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .team-roster-table th:nth-child(2),
    .team-roster-table td:nth-child(2),
    .team-games-table th:nth-child(2),
    .team-games-table td:nth-child(2) {
        position: sticky;
        left: 46px;
        z-index: 3;
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        padding-right: 8px;
        padding-left: 8px;
        text-align: left;
    }

    .team-games-table th:nth-child(1),
    .team-games-table td:nth-child(1) {
        width: 118px;
        min-width: 118px;
        max-width: 118px;
        padding-right: 4px;
        padding-left: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .team-games-table th:nth-child(2),
    .team-games-table td:nth-child(2) {
        position: static;
        left: auto;
        z-index: auto;
        width: 54px;
        min-width: 54px;
        max-width: 54px;
        padding-right: 4px;
        padding-left: 4px;
        text-align: center;
        box-shadow: none;
    }

    .team-goalie-table th:nth-child(2),
    .team-goalie-table td:nth-child(2) {
        left: 42px;
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        padding-right: 6px;
        padding-left: 8px;
    }

    .team-skater-table th:nth-child(2),
    .team-skater-table td:nth-child(2) {
        left: 42px;
        width: 128px;
        min-width: 128px;
        max-width: 128px;
        padding-right: 6px;
        padding-left: 8px;
    }

    .team-roster-table thead th:nth-child(2) .sort-button {
        justify-content: flex-start;
        text-align: left;
    }

    .team-skater-table th:nth-child(3),
    .team-skater-table td:nth-child(3) {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        padding-right: 4px;
        padding-left: 4px;
    }

    .team-skater-table th:nth-child(n+4),
    .team-skater-table td:nth-child(n+4) {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    .team-skater-table th:nth-child(n+7):nth-child(-n+15),
    .team-skater-table td:nth-child(n+7):nth-child(-n+15) {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
    }

    .team-skater-table th .sort-button {
        gap: 2px;
        justify-content: center;
    }

    .team-skater-table th:nth-child(16),
    .team-skater-table td:nth-child(16) {
        width: 74px;
        min-width: 74px;
        max-width: 74px;
    }

    .team-skater-table th:nth-child(17),
    .team-skater-table td:nth-child(17) {
        width: 52px;
        min-width: 52px;
        max-width: 52px;
    }

    .team-goalie-table th:nth-child(n+3),
    .team-goalie-table td:nth-child(n+3) {
        width: 38px;
        min-width: 38px;
        max-width: 38px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    .team-goalie-table th:nth-child(7),
    .team-goalie-table td:nth-child(7),
    .team-goalie-table th:nth-child(11),
    .team-goalie-table td:nth-child(11) {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
    }

    .team-roster-table th:nth-child(1),
    .team-roster-table th:nth-child(2),
    .team-games-table th:nth-child(1) {
        z-index: 5;
        background: var(--header);
    }

    .team-games-table th:nth-child(1) {
        background: var(--header);
        color: var(--muted);
    }

    .team-games-table th:nth-child(2) {
        background: var(--header);
    }

    .team-games-table th:nth-child(6),
    .team-games-table td:nth-child(6) {
        width: 330px;
        min-width: 330px;
        max-width: 330px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .team-games-table .game-matchup {
        grid-template-columns: minmax(0, 210px) 76px;
        column-gap: 12px;
        justify-content: start;
    }

    .team-games-table .game-team-line {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 10px;
    }

    .team-games-table .game-team-line strong {
        width: 32px;
    }

    .team-roster-table tbody tr:nth-child(odd) td:nth-child(1),
    .team-roster-table tbody tr:nth-child(odd) td:nth-child(2),
    .team-games-table tbody tr:nth-child(odd) td:nth-child(1) {
        background: var(--row);
    }

    .team-games-table tbody tr:nth-child(odd) td:nth-child(2) {
        background: var(--row);
    }

    .team-roster-table tbody tr:nth-child(even) td:nth-child(1),
    .team-roster-table tbody tr:nth-child(even) td:nth-child(2),
    .team-games-table tbody tr:nth-child(even) td:nth-child(1) {
        background: var(--row-alt);
    }

    .team-games-table tbody tr:nth-child(even) td:nth-child(2) {
        background: var(--row-alt);
    }

    .team-opponents-table th:nth-child(1),
    .team-opponents-table td:nth-child(1) {
        position: sticky;
        left: 0;
        z-index: 3;
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        padding-right: 6px;
        padding-left: 6px;
        background: inherit;
    }

    .team-opponents-table th:nth-child(2),
    .team-opponents-table td:nth-child(2) {
        position: sticky;
        left: 46px;
        z-index: 3;
        width: 130px;
        min-width: 130px;
        max-width: 130px;
        padding-right: 6px;
        padding-left: 6px;
        background: inherit;
    }

    .team-opponents-table th:nth-child(n+3),
    .team-opponents-table td:nth-child(n+3) {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        padding-right: 3px;
        padding-left: 3px;
        font-size: 12px;
        white-space: nowrap;
    }

    .team-opponents-table th:nth-child(11),
    .team-opponents-table td:nth-child(11),
    .team-opponents-table th:nth-child(13),
    .team-opponents-table td:nth-child(13),
    .team-opponents-table th:nth-child(15),
    .team-opponents-table td:nth-child(15),
    .team-opponents-table th:nth-child(16),
    .team-opponents-table td:nth-child(16) {
        width: 58px;
        min-width: 58px;
        max-width: 58px;
    }

    .team-opponents-table th:nth-child(1),
    .team-opponents-table th:nth-child(2) {
        z-index: 5;
        background: var(--header);
    }

    .team-opponents-table tbody tr:nth-child(odd) td:nth-child(1),
    .team-opponents-table tbody tr:nth-child(odd) td:nth-child(2) {
        background: var(--row);
    }

    .team-opponents-table tbody tr:nth-child(even) td:nth-child(1),
    .team-opponents-table tbody tr:nth-child(even) td:nth-child(2) {
        background: var(--row-alt);
    }

    .table-wrap.is-scrolled-x .team-roster-table th:nth-child(2),
    .table-wrap.is-scrolled-x .team-roster-table td:nth-child(2),
    .table-wrap.is-scrolled-x .team-opponents-table th:nth-child(2),
    .table-wrap.is-scrolled-x .team-opponents-table td:nth-child(2) {
        box-shadow: 18px 0 22px -20px rgba(0, 0, 0, .95);
    }

    .team-roster-table .player-link,
    .team-games-table .team-cell,
    .team-opponents-table .team-cell {
        display: inline-flex;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .team-roster-table .player-link {
        align-items: center;
        gap: 7px;
    }

    .team-roster-table .team-jersey {
        flex: 0 0 26px;
        width: 26px;
        margin-right: 0;
        text-align: right;
    }

    .standings-sort-table thead th.is-active-column,
    .standings-sort-table tbody tr > td.is-active-column {
        background: rgba(var(--primary-rgb), .16);
    }

    .standings-sort-table thead th:nth-child(2).is-active-column,
    .standings-sort-table tbody tr > td:nth-child(2).is-active-column {
        background: #12352f;
    }

    .standings-sort-table tbody tr:hover > td.is-active-column,
    .standings-sort-table tbody tr.is-active-row > td.is-active-column {
        background: rgba(var(--primary-rgb), .16);
    }

    .stats-sort-table thead th.is-active-column {
        background:
            linear-gradient(rgba(var(--primary-rgb), .22), rgba(var(--primary-rgb), .22)),
            var(--header);
    }

    .stats-sort-table thead th:nth-child(1).is-active-column,
    .stats-sort-table thead th:nth-child(2).is-active-column {
        z-index: 13;
        background: var(--header);
    }

    .stats-sort-table tbody tr > td.is-active-column {
        background: rgba(var(--primary-rgb), .16);
    }

    .stats-sort-table tbody tr:hover > td.is-active-column,
    .stats-sort-table tbody tr.is-active-row > td.is-active-column {
        background: rgba(var(--primary-rgb), .16);
    }
}

@media (max-width: 380px) {
    .record-card-grid,
    .player-milestone-grid {
        grid-template-columns: 1fr;
    }

    .glossary-term {
        grid-template-columns: 1fr;
    }

    .glossary-term > strong {
        justify-content: flex-start;
        padding: 0 12px;
    }
}
