﻿:root {
    --vegas-blue: #02354b;
    --vegas-gold: #dfb555;
    --vegas-lightgold: #ffe5ab;
    --vegas-white: #fff;
    --vegas-offwhite: #f9f9f9;
    --vegas-lightgray: #ededed;
    --vegas-gray: #cccccc;
    --vegas-red: #f77474;
    --vegas-muted: #6b7280;
    --vegas-border: #e3e6ea;
}

html, body {
    font-family: 'Adobe Fangsong Std', Helvetica, Arial, sans-serif;
}

body {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari, Chrome */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard syntax */
}

a, .btn-link {
    color: var(--vegas-blue);
}

.btn-outline-primary {
    color: var(--vegas-blue);
    background-color: var(--vegas-white);
    border-color: var(--vegas-blue);
    border-radius: 0;
    outline: thin;
    box-shadow: none;
}

.btn-primary {
    color: var(--vegas-white);
    background-color: var(--vegas-blue);
    border-color: var(--vegas-blue);
    border-radius: 0;
    outline: thin;
    box-shadow: none;
}

.btn-outline-primary:active, .btn-outline-primary:hover, .btn-outline-primary:focus, .btn-primary:active, .btn-primary:hover, .btn-primary:focus, .btn-outline-primary:active:focus, .btn-primary:active:focus {
    color: #fff;
    background-color: var(--vegas-blue);
    border-color: var(--vegas-blue);
    outline: thin;
    box-shadow: none;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.vegas-button {
    cursor: pointer;
    border: 1px solid var(--vegas-blue);
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    padding: 0.35rem;
    transition: all 0.3s ease;
    text-align: center;
}

.vegas-button:not(.disabled):hover {
    background: var(--vegas-gray);
}

.vegas-button.disabled {
    cursor: default;
    background: var(--vegas-gray);
}

.icon-button {
    background: var(--vegas-lightgold);
    color: var(--vegas-blue);
    margin: auto 0.5rem;
}

.i-btn {
    font-size: 1rem;
    padding: 0;
    margin: 0;
}

/* LAYOUT */
.horz-container {
    display: flex;
    flex-direction: row;
}

.vert-container {
    display: flex;
    flex-direction: column;
}

.centerizer {
    display: flex;
    margin: auto;
    flex-direction: row;
}

.f-10 {
    flex: .10;
}

.f-20 {
    flex: .20;
}

.f-25 {
    flex: .25;
}

.f-33 {
    flex: .33;
}

.f-40 {
    flex: .40;
}

.f-45 {
    flex: .45;
}

.f-50 {
    flex: .50;
}

.f-75 {
    flex: .75;
}

.f-80 {
    flex: .80;
}

.f-100 {
    flex: 1;
}

.f-wrap {
    flex-wrap: wrap;
}

.m-auto {
    margin: auto !important;
}

.m-bottom {
    margin-bottom: 2rem !important;
}

.right-border {
    border-right: 1px solid var(--vegas-blue);
}

.m-vert {
    margin: auto 0 !important;
}

.m-horz {
    margin: 0 auto !important;
}

.m-horz-bottom {
    margin: 0 auto !important;
    margin-bottom: 2rem !important;
}

.m-top-lg {
    margin-top: 10rem !important;
}

.space-between {
    justify-content: space-between;
}

.align-end {
    justify-content: flex-end;
}

.m-right {
    margin-right: 2rem;
}

/* APP */
.heading-container {
    margin: 2rem auto;
}

.heading-the-label {
    font-size: 2rem;
}

.heading-insiders-label {
    font-weight: bold;
    font-size: 2rem;
}

.heading-the-label-small {
    font-size: 1rem;
}

.heading-insiders-label-small {
    font-weight: bold;
    font-size: 1rem;
}

.heading-logo {
    margin: auto;
    width: 10rem;
}

.legal-consent {
    max-width: 22rem;
    padding: 0 1rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--vegas-muted);
}

.icon-sm {
    font-size: 1.3rem;
    margin: auto 0;
    margin-right: 0.3rem;
}

.logo-container {
    display:flex;
    flex-direction: column;
    margin: 3rem auto;
}

.password-toggler {
    background-color: var(--vegas-gold) !important;
}

.warning-container {
    background-color: var(--vegas-red);
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.info-container {
    background-color: var(--vegas-gold);
    color: var(--vegas-blue);
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

/* Invite page: email an invite, or copy a single-use link */
.invite-options {
    width: min(22rem, calc(100% - 2rem));
    gap: 0.5rem;
}

.invite-section-label {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--vegas-muted);
}

.invite-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: var(--vegas-muted);
    font-size: 0.85rem;
}

.invite-divider::before,
.invite-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--vegas-border);
}

button.invite-copy-button {
    width: 100%;
    font: inherit;
}

button.invite-copy-button:disabled {
    cursor: default;
    background: var(--vegas-gray);
}

.invite-hint {
    margin: 0;
    font-size: 0.85rem;
    color: var(--vegas-muted);
}

.invite-link-callout {
    padding: 0.6rem 0.75rem;
    border-left: 4px solid var(--vegas-gold);
    background: var(--vegas-lightgold);
    color: var(--vegas-blue);
    font-size: 0.9rem;
    line-height: 1.4;
}

.invite-link-callout b {
    display: block;
    margin-bottom: 0.2rem;
}

.invite-link-text {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    font-size: 0.8rem;
}

.vegas-navbar {
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.vegas-navbar-inner {
    padding-left: 1rem;
    padding-right: 1rem;
}

.vegas-navbar-brand {
    margin: auto 0;
    color: var(--vegas-white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vegas-navbar-logo {
    height: 2.4rem;
    width: auto;
}

.vegas-navbar-brand:hover {
    color: var(--vegas-white);
}

.vegas-nav-item {
    color: var(--vegas-white);
}

.vegas-nav-item:hover, .vegas-nav-item:focus {
    color: var(--vegas-white);
}

.vegas-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.vegas-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--vegas-gold);
}

/* the divider only shows in the stacked phone/tablet menu */
.vegas-navbar .nav-divider {
    display: none;
}

/* NAV: desktop (horizontal bar) */
@media (min-width: 992px) {
    .vegas-navbar-inner {
        padding-left: 3rem;
        padding-right: 2rem;
    }

    .vegas-navbar-brand {
        margin-right: 1.5rem;
    }

    /* push Invite and Account to the right; whichever comes first after the divider
       (Account, for people who can't invite) takes the slack */
    .vegas-navbar .nav-divider + .nav-item {
        margin-left: auto;
    }
}

/* NAV: phones and tablets (stacked menu under the hamburger) */
@media (max-width: 991.98px) {
    .vegas-navbar .heading-the-label,
    .vegas-navbar .heading-insiders-label {
        font-size: 1.6rem;
    }

    .vegas-navbar-logo {
        height: 2rem;
    }

    .vegas-navbar .navbar-nav {
        padding: 0.5rem 0 0.75rem;
    }

    .vegas-navbar .nav-link {
        padding: 0.65rem 0.25rem;
        font-size: 1.05rem;
    }

    .vegas-navbar .nav-menu {
        width: 1.5rem;
        text-align: center;
        margin-right: 0.35rem;
    }

    .vegas-navbar .nav-divider {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0.4rem 0;
    }

    /* account menu opens inline under "Account" instead of as a floating box */
    .vegas-navbar .dropdown-menu {
        background: transparent;
        border: 0;
        padding: 0 0 0 2.1rem;
        margin: 0;
    }

    .vegas-navbar .dropdown-item {
        color: var(--vegas-white);
        padding: 0.55rem 0.25rem;
    }

    .vegas-navbar .dropdown-item:hover,
    .vegas-navbar .dropdown-item:focus,
    .vegas-navbar .dropdown-item.active {
        color: var(--vegas-gold);
        background: transparent;
    }
}

.team-logo-lg {
    width: 3rem;
}

.team-logo-sm {
    width: 2rem;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    margin: auto;
    flex-wrap: wrap;
}

.week-button {
    width: 8rem;
    max-width: 8rem;
    margin: auto 0;
}

.spread-label {
    font-weight: bold;
    font-size: 0.9rem;
}

.odds-label {
    font-size: 0.75rem;
}

.projection-empty {
    margin: auto;
    font-size: 0.85rem;
}

.projection-model-note {
    margin: 0.25rem 1rem 0;
    font-size: 0.7rem;
    font-style: italic;
    text-align: right;
}

.espn-logo-img {
    width: 8rem;
    height: 1.5rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin: auto;
}

.dk-logo-img {
    width: 6.5rem;
    height: 2.2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin: auto;
}

.insiders-logo-img {
    width: 6rem;
    height: 2rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin: auto;
}

.updated-label {
    flex: 1;
    font-size: 0.8rem;
    font-weight: bold;
    margin: auto;
    color: white;
}

.expander {
    margin: auto;
    transition: transform 0.3s ease;
}

.expander.expanded {
    transform: rotate(-180deg);
}

.details {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.details.expanded {
    overflow: auto;
    max-height: 40rem;
    padding-top: 2rem;
    opacity: 1;
    transform: translateY(0);
}

.matchup-tab-control .rz-tabview-panels {
    /* tall enough for the Matchup tab's rankings view without scrolling on desktop */
    max-height: 32rem;
    min-height: 27rem;
    background-color: var(--vegas-offwhite);
}

.injury-news-popup {
    display: none;
    position: absolute;
    overflow-x: auto;
    width: 26rem;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem;
    background-color: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-top: 3px solid var(--vegas-blue);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(2, 53, 75, 0.15);
    font-size: 0.85rem;
}

.last-updated-label {
    margin: auto 0 auto 1rem;
    font-size: 0.75rem;
    color: var(--vegas-muted);
}

.injury-return-label {
    font-weight: bold;
    color: var(--vegas-blue);
}

.deg-label {
    font-family: 'Times New Roman', Times, serif
}

.save-container {
    display: flex;
    margin: 5rem auto;
}

.year-container {
    margin-bottom: 1rem;
}

/* WEEK PAGES (NFL matchups and rankings) */
.week-page {
    max-width: 90rem;
    margin: 0 auto;
}

/* hard edges throughout: Bootstrap and Radzen controls round their corners by default */
.week-page {
    --rz-border-radius: 0;
}

.week-page .btn,
.week-page .form-control,
.week-page .form-select,
.week-page .rz-dropdown,
.week-page .rz-tabview-nav li {
    border-radius: 0;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.page-header-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin: 0;
    color: var(--vegas-blue);
}

.page-header-action {
    padding: 0.3rem 0.75rem;
    font-size: 0.9rem;
}

.week-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.week-filters-year {
    flex: 0 0 auto;
    width: 6.5rem;
}

.week-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
}

.week-chip {
    flex: 0 0 auto;
    padding: 0.25rem 0.65rem;
    border: 1px solid var(--vegas-border);
    border-radius: 0;
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.week-chip:hover {
    border-color: var(--vegas-blue);
}

.week-chip.active {
    background: var(--vegas-blue);
    border-color: var(--vegas-blue);
    color: var(--vegas-white);
}

.week-chip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.week-chip:disabled:hover {
    border-color: var(--vegas-border);
}

/* team / school search above the matchup cards */
.matchup-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--vegas-border);
}

.matchup-search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 20rem;
    min-width: 0;
}

.matchup-search-icon {
    position: absolute;
    left: 0.6rem;
    color: var(--vegas-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.matchup-search-input {
    width: 100%;
    padding: 0.3rem 2rem 0.3rem 1.9rem;
    border: 1px solid var(--vegas-border);
    border-radius: 0;
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.9rem;
}

.matchup-search-input:focus {
    outline: none;
    border-color: var(--vegas-blue);
}

/* our own clear button instead of the browser's */
.matchup-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.matchup-search-clear {
    position: absolute;
    right: 0.2rem;
    padding: 0.1rem 0.45rem;
    border: 0;
    background: transparent;
    color: var(--vegas-muted);
}

.matchup-search-clear:hover {
    color: var(--vegas-blue);
}

.matchup-search-count {
    color: var(--vegas-muted);
    font-size: 0.85rem;
}

.matchup-search-empty {
    margin-top: 1rem;
    color: var(--vegas-muted);
}

.rankings-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--vegas-border);
}

.mode-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    border: 1px solid var(--vegas-blue);
    border-radius: 0;
    overflow: hidden;
}

.mode-toggle button {
    border: 0;
    padding: 0.25rem 0.9rem;
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.9rem;
}

.mode-toggle button.active {
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.mode-toggle-hint,
.model-hint,
.rankings-summary {
    color: var(--vegas-muted);
    font-size: 0.85rem;
}

.rankings-summary b {
    color: var(--vegas-blue);
}

.rankings-section {
    margin-top: 1.25rem;
}

.rankings-section-title {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    color: var(--vegas-muted);
    margin: 0 0 0.5rem;
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 0.75rem;
    align-items: start;
}

/* a lone card (Overall) gets the full row and flows its teams into columns */
.rankings-grid.single {
    grid-template-columns: 1fr;
}

/* NFL MATCHUP CARDS */
.game-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    /* breathing room under the last card; padding, since a scroll container can drop a last child's bottom margin */
    padding-bottom: 1.5rem;
}

.game-card {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(2, 53, 75, 0.06);
    overflow: hidden;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid var(--vegas-border);
}

.game-teams {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.game-team {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.game-logo {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
}

.game-abbr {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--vegas-blue);
}

/* CFB AP rank: a tag on the logo's outer corner, so it doesn't read as part of the score */
.game-logo-wrap {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.game-rank {
    position: absolute;
    top: -0.5rem;
    box-sizing: border-box;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.15rem;
    border: 1px solid var(--vegas-white);
    background: var(--vegas-gold);
    color: var(--vegas-blue);
    font-size: 0.62rem;
    font-weight: bold;
    line-height: calc(1.05rem - 2px);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.game-rank.away {
    left: -0.6rem;
}

.game-rank.home {
    right: -0.6rem;
}

/* room for the home tag, which sticks out toward the Final label */
.game-logo-wrap:has(.game-rank.home) {
    margin-right: 0.5rem;
}

.game-score {
    min-width: 1.5rem;
    text-align: center;
    font-size: 1.15rem;
    color: var(--vegas-muted);
    font-variant-numeric: tabular-nums;
}

.game-score.winner {
    color: var(--vegas-blue);
    font-weight: bold;
}

.game-at {
    color: var(--vegas-muted);
    font-weight: bold;
}

.game-status {
    padding: 0.05rem 0.45rem;
    border-radius: 0;
    background: var(--vegas-lightgray);
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
}

.game-meta {
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.35;
}

.game-time {
    font-weight: bold;
}

.game-venue {
    color: var(--vegas-muted);
}

.game-panels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem;
}

.game-panel {
    flex: 1 1 16rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--vegas-border);
    border-radius: 0;
    overflow: hidden;
}

.game-panel-final {
    flex: 0.8 1 13rem;
}

.game-panel-odds {
    flex: 1.8 1 22rem;
}

.game-panel-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2rem;
    padding: 0 0.6rem;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    font-weight: bold;
    font-size: 0.9rem;
}

.game-panel-heading .dk-logo-img {
    width: auto;
    height: 1.6rem;
    padding: 0.2rem 0;
    margin: 0;
}

.game-panel-heading .updated-label {
    position: absolute;
    right: 0.6rem;
    flex: none;
    margin: 0;
    font-size: 0.72rem;
    font-weight: normal;
    opacity: 0.85;
}

.game-panel-odds .game-panel-heading {
    position: relative;
}

/* the full "Last updated 12 minutes 34 seconds ago" runs into the logo once the panel gets narrow */
.game-panel-odds {
    container-type: inline-size;
}

.updated-short {
    display: none;
}

@container (max-width: 38rem) {
    .game-panel-heading .updated-long {
        display: none;
    }

    .game-panel-heading .updated-short {
        display: inline;
    }
}

.game-table {
    width: 100%;
    margin: 0.25rem 0;
    border-collapse: collapse;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.game-table th {
    padding: 0.2rem 0.25rem;
    font-size: 0.75rem;
    color: var(--vegas-muted);
    font-weight: bold;
}

.game-table td {
    padding: 0.25rem;
    vertical-align: middle;
}

.game-table tr + tr td {
    border-top: 1px solid var(--vegas-border);
}

.game-table-group th {
    padding-bottom: 0;
    color: var(--vegas-blue);
    font-size: 0.8rem;
}

.game-table-sub th {
    font-weight: normal;
    font-size: 0.7rem;
}

.game-table .group-end {
    border-right: 1px solid var(--vegas-border);
}

.game-table-logo {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.game-table-team {
    font-weight: bold;
    color: var(--vegas-blue);
}

.game-table-total {
    font-weight: bold;
}

.ou-short {
    display: none;
}

.game-panel .projection-empty {
    padding: 1rem;
    text-align: center;
    color: var(--vegas-muted);
}

.game-panel .projection-model-note {
    margin: auto 0.6rem 0.35rem;
    color: var(--vegas-muted);
}

/* Show/Hide Game Info bar under each matchup: centered, with a light gold tint and a gold chevron badge
   so it reads as something to click rather than a footer */
.game-expander {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-top: 1px solid var(--vegas-border);
    background: color-mix(in srgb, var(--vegas-lightgold) 30%, var(--vegas-white));
    color: var(--vegas-blue);
    font-size: 0.875rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.game-expander:hover {
    background: var(--vegas-lightgold);
}

.game-expander:focus-visible {
    outline: 2px solid var(--vegas-blue);
    outline-offset: -2px;
}

.game-expander .expander {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0;
    border-radius: 50%;
    background: var(--vegas-gold);
    color: var(--vegas-blue);
    font-size: 0.7rem;
}

.game-details.expanded {
    padding: 0.75rem;
}

/* field + weather pills under the stadium line in the game header */
.game-conditions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.game-condition {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.1rem 0.45rem;
    border: 1px solid var(--vegas-border);
    border-radius: 0;
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: nowrap;
}

.game-condition-icon {
    font-size: 0.7rem;
    color: var(--vegas-muted);
}

.game-weather-icon {
    height: 1rem;
}

.injury-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.injury-panel {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.injury-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-bottom: 2px solid var(--vegas-blue);
}

.injury-team-logo {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.injury-team {
    font-weight: bold;
    color: var(--vegas-blue);
}

.injury-panel-label {
    flex: 1;
    font-size: 0.8rem;
    color: var(--vegas-muted);
}

.injury-count {
    min-width: 1.4rem;
    padding: 0 0.3rem;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
}

.injury-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
}

.injury-row + .injury-row {
    border-top: 1px solid var(--vegas-border);
}

/* ESPN headshots are wide with the face near the top, so crop to a square on the face */
.injury-headshot {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    object-fit: cover;
    object-position: center top;
    background: var(--vegas-offwhite);
    border: 1px solid var(--vegas-border);
}

.injury-main {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.injury-name,
.injury-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.injury-name {
    font-weight: bold;
    font-size: 0.9rem;
}

.injury-sub {
    font-size: 0.78rem;
    color: var(--vegas-muted);
}

.injury-status {
    flex: 0 0 auto;
    padding: 0.1rem 0.4rem;
    border-left: 3px solid var(--vegas-gray);
    background: var(--vegas-offwhite);
    font-size: 0.72rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    white-space: nowrap;
}

.injury-status.out {
    border-left-color: #c62828;
    background: #fdecec;
    color: #9b1c1c;
}

.injury-status.doubtful {
    border-left-color: #e8711a;
    background: #fdf0e6;
    color: #9a4a0c;
}

.injury-status.questionable {
    border-left-color: var(--vegas-gold);
    background: #fdf6e3;
    color: #7a5b12;
}

.injury-news {
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.85rem;
}

.injury-news:hover {
    border-color: var(--vegas-blue);
    background: var(--vegas-offwhite);
}

.injury-empty {
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--vegas-muted);
    text-align: center;
}

/* HISTORY TAB (head to head + time slot, see FootballHistory) */
.hist-tab {
    --hist-good: #2e7d32;
    --hist-good-bg: #e8f5e9;
    --hist-bad: #c62828;
    --hist-bad-bg: #fdecec;
    --hist-over: #7a5b12;
    --hist-over-bg: #fdf6e3;
    --hist-under: var(--vegas-blue);
    --hist-under-bg: #e8eff3;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.hist-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hist-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.2rem 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--vegas-blue);
}

.hist-title {
    font-weight: bold;
    color: var(--vegas-blue);
}

.hist-title i {
    color: var(--vegas-gold);
    margin-right: 0.15rem;
}

.hist-sub,
.hist-note,
.hist-footnote,
.hist-muted {
    color: var(--vegas-muted);
}

.hist-sub {
    font-size: 0.78rem;
}

.hist-note {
    font-size: 0.78rem;
}

.hist-footnote {
    font-size: 0.72rem;
    line-height: 1.35;
}

.hist-empty {
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--vegas-muted);
    text-align: center;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.hist-panel .hist-empty {
    border: 0;
}

.hist-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.hist-tile {
    padding: 0.4rem 0.6rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-left: 3px solid var(--vegas-gold);
    min-width: 0;
}

.hist-tile-label {
    font-size: 0.68rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    color: var(--vegas-muted);
}

.hist-tile-value {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.35rem;
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--vegas-blue);
    white-space: nowrap;
}

.hist-tile-unit {
    font-size: 0.72rem;
    font-weight: normal;
    color: var(--vegas-muted);
}

.hist-leader {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.hist-logo,
.hist-logo-sm {
    object-fit: contain;
    flex: 0 0 auto;
}

.hist-logo {
    width: 1.5rem;
    height: 1.5rem;
}

.hist-logo-sm {
    width: 1.1rem;
    height: 1.1rem;
}

.hist-games {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

/* date | score | lines on wide screens; phones stack the date over the other two (see the 640px block) */
.hist-game {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
    grid-template-areas: "meta score lines";
    align-items: center;
    gap: 0.35rem 0.75rem;
    padding: 0.45rem 0.6rem;
}

.hist-game + .hist-game {
    border-top: 1px solid var(--vegas-border);
}

.hist-game-meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 1.25;
}

.hist-game-sub {
    font-size: 0.72rem;
    font-weight: normal;
    color: var(--vegas-muted);
}

.hist-scoreline {
    grid-area: score;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
}

.hist-score-side {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--vegas-muted);
}

.hist-score-side.home {
    flex-direction: row-reverse;
}

.hist-score-side.won {
    color: var(--vegas-blue);
}

.hist-score-abbr {
    font-size: 0.85rem;
    font-weight: bold;
}

.hist-score {
    min-width: 1.6rem;
    font-size: 1.1rem;
    text-align: center;
}

.hist-score-side.won .hist-score {
    font-weight: bold;
}

.hist-at {
    font-size: 0.75rem;
    color: var(--vegas-muted);
}

.hist-lines {
    grid-area: lines;
    display: flex;
    gap: 0.35rem;
}

.hist-chip {
    display: inline-flex;
    flex-direction: column;
    min-width: 6.25rem;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-offwhite);
    line-height: 1.25;
    white-space: nowrap;
}

.hist-chip-main {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--vegas-blue);
}

.hist-chip-sub {
    font-size: 0.7rem;
    color: var(--vegas-muted);
}

.hist-chip-sub.over {
    color: var(--hist-over);
    font-weight: bold;
}

.hist-chip-sub.under {
    color: var(--hist-under);
    font-weight: bold;
}

.hist-slot-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.hist-panel {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.hist-panel-heading {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-bottom: 2px solid var(--vegas-blue);
}

.hist-panel-logo {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.hist-panel-team {
    font-weight: bold;
    color: var(--vegas-blue);
}

.hist-panel-record {
    font-size: 0.85rem;
    font-weight: bold;
}

.hist-form {
    display: inline-flex;
    gap: 0.15rem;
    margin-left: auto;
}

.hist-form-dot {
    width: 1.15rem;
    height: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: bold;
    color: var(--vegas-white);
    background: var(--vegas-gray);
}

.hist-form-dot.good {
    background: var(--hist-good);
}

.hist-form-dot.bad {
    background: var(--hist-bad);
}

.hist-panel-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.9rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.78rem;
    background: var(--vegas-offwhite);
    border-bottom: 1px solid var(--vegas-border);
}

.hist-panel-stats b {
    color: var(--vegas-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
}

.hist-slot-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 4.6rem 3.4rem 3.9rem;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
}

.hist-slot-row + .hist-slot-row {
    border-top: 1px solid var(--vegas-border);
}

.hist-slot-head {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.66rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    color: var(--vegas-muted);
}

.hist-center {
    text-align: center;
}

.hist-slot-game {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.hist-slot-date {
    font-size: 0.7rem;
    color: var(--vegas-muted);
}

.hist-slot-opp {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
}

.hist-slot-opp-abbr {
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hist-slot-result {
    white-space: nowrap;
}

.hist-slot-result.good b {
    color: var(--hist-good);
}

.hist-slot-result.bad b {
    color: var(--hist-bad);
}

.hist-badge {
    padding: 0.1rem 0.25rem;
    font-size: 0.74rem;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    background: var(--vegas-offwhite);
    color: var(--vegas-muted);
}

.hist-badge.good {
    background: var(--hist-good-bg);
    color: var(--hist-good);
}

.hist-badge.bad {
    background: var(--hist-bad-bg);
    color: var(--hist-bad);
}

.hist-badge.over {
    background: var(--hist-over-bg);
    color: var(--hist-over);
}

.hist-badge.under {
    background: var(--hist-under-bg);
    color: var(--hist-under);
}

@media (max-width: 640px) {
    .hist-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* date, then the score, then the two line chips side by side */
    .hist-game {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "meta"
            "score"
            "lines";
    }

    .hist-game-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 0.4rem;
    }

    .hist-scoreline {
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .hist-chip {
        flex: 1 1 0;
        min-width: 0;
    }

    .hist-slot-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .hist-slot-row {
        grid-template-columns: minmax(0, 1fr) 4.2rem 3.1rem 3.7rem;
        gap: 0.3rem;
        padding-left: 0.45rem;
        padding-right: 0.45rem;
    }
}

/* FINAL GAME STATS (team stats head to head + player box score, NFL and CFB) */
.gs-tab {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-variant-numeric: tabular-nums;
}

/* away / home key across the top, pinned while the team stats scroll */
.gs-teams-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    min-height: 2rem;
    padding: 0.25rem 0.6rem;
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.gs-team-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: bold;
}

.gs-team-tag.home {
    justify-self: end;
}

.gs-team-tag img {
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.1rem;
    object-fit: contain;
    background: var(--vegas-white);
}

.gs-teams-bar-label {
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vegas-lightgold);
}

.gs-group-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vegas-muted);
}

.gs-group-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--vegas-border);
}

.gs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 0.6rem;
    align-items: start;
}

.gs-panel {
    min-width: 0;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.gs-panel-heading {
    padding: 0.3rem 0.6rem;
    border-bottom: 2px solid var(--vegas-blue);
    color: var(--vegas-blue);
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
}

/* one stat: away value, label, home value, then bars growing out from the middle; the leader is blue */
.gs-row {
    display: grid;
    grid-template-columns: 4.25rem minmax(0, 1fr) 4.25rem;
    grid-template-areas:
        "away label home"
        "bar bar bar";
    align-items: center;
    column-gap: 0.4rem;
    row-gap: 0.2rem;
    padding: 0.35rem 0.6rem;
}

.gs-row + .gs-row {
    border-top: 1px solid var(--vegas-border);
}

.gs-val {
    grid-area: away;
    color: var(--vegas-muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.gs-val.home {
    grid-area: home;
    text-align: right;
}

.gs-val.lead {
    color: var(--vegas-blue);
    font-weight: bold;
}

.gs-label {
    grid-area: label;
    overflow: hidden;
    color: var(--vegas-blue);
    font-size: 0.78rem;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gs-bar {
    grid-area: bar;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    height: 5px;
}

.gs-bar-side {
    display: flex;
    background: var(--vegas-offwhite);
}

.gs-bar-side.away {
    justify-content: flex-end;
}

.gs-bar-side span {
    display: block;
    height: 100%;
    background: #c9d1d8;
}

.gs-bar-side span.lead {
    background: var(--vegas-blue);
}

/* volume stats (attempts, punts, plays) have no leader */
.gs-bar.neutral .gs-bar-side span {
    background: #9aabb8;
}

/* key stats: two columns once there's room, no row lines */
.gs-rows-key {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0.15rem 0;
}

.gs-rows-key .gs-row {
    border-top: 0;
}

.gs-rows-key .gs-label {
    font-weight: bold;
}

@container (min-width: 40rem) {
    .gs-rows-key {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1rem;
    }
}

/* player box score: one team at a time on phones, side by side when there's room */
.gs-player-toolbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: none;
    justify-content: center;
    padding: 0.1rem 0 0.3rem;
    background: var(--vegas-offwhite);
}

.gs-box-category {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gs-box-teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    align-items: start;
}

.gs-box-team {
    min-width: 0;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.gs-box-scroll {
    overflow-x: auto;
}

.gs-box-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    text-align: right;
    white-space: nowrap;
}

.gs-box-table th {
    padding: 0.3rem 0.45rem;
    border-bottom: 2px solid var(--vegas-blue);
    color: var(--vegas-muted);
    font-size: 0.7rem;
    font-weight: bold;
}

.gs-box-table td {
    padding: 0.3rem 0.45rem;
}

.gs-box-table tbody tr + tr td {
    border-top: 1px solid var(--vegas-border);
}

/* the player column stays put while the numbers scroll sideways */
.gs-box-table .gs-box-player {
    position: sticky;
    left: 0;
    z-index: 1;
    max-width: 13rem;
    background: var(--vegas-white);
    text-align: left;
}

.gs-box-team-name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--vegas-blue);
    font-size: 0.8rem;
}

.gs-box-team-name img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.gs-box-who {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

/* ESPN headshots are wide with the face near the top, so crop to a square on the face */
.gs-box-headshot {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    object-fit: cover;
    object-position: center top;
    background: var(--vegas-offwhite);
    border: 1px solid var(--vegas-border);
}

.gs-box-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--vegas-blue);
    font-size: 0.62rem;
    font-weight: bold;
}

.gs-box-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

.gs-box-none {
    color: var(--vegas-muted);
    font-style: italic;
}

/* short names ("J. Burrow") unless the table has the room */
.gs-name-long {
    display: none;
}

@container (min-width: 30rem) and (max-width: 47.99rem) {
    .gs-name-long {
        display: inline;
    }

    .gs-name-short {
        display: none;
    }
}

@container (min-width: 72rem) {
    .gs-name-long {
        display: inline;
    }

    .gs-name-short {
        display: none;
    }
}

@container (max-width: 47.99rem) {
    .gs-player-toolbar {
        display: flex;
    }

    .gs-box-teams {
        grid-template-columns: minmax(0, 1fr);
    }

    .gs-box-team:not(.selected) {
        display: none;
    }

    .gs-box-table th,
    .gs-box-table td {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
    }

    .gs-box-headshot {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* PLAYER INSIGHTS (TD scorers + player props tabs) */
.matchup-tab-control .rz-tabview-panels {
    overflow-y: auto;
}

.pi-tab {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-variant-numeric: tabular-nums;
}

.pi-muted {
    color: var(--vegas-muted);
    font-weight: normal;
}

.pi-empty {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    color: var(--vegas-muted);
    text-align: center;
}

.pi-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.pi-outlooks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pi-outlook {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-left: 3px solid var(--vegas-blue);
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.pi-outlook-logo {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.pi-outlook-team {
    color: var(--vegas-blue);
}

.pi-chips {
    display: flex;
    gap: 0.3rem;
}

.pi-chips-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 100%;
}

.pi-chips-scroll::-webkit-scrollbar {
    display: none;
}

.pi-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.pi-chip img {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
}

.pi-chip:hover {
    border-color: var(--vegas-blue);
}

.pi-chip.active {
    background: var(--vegas-blue);
    border-color: var(--vegas-blue);
    color: var(--vegas-white);
}

.pi-list {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-top: 2px solid var(--vegas-blue);
}

.pi-row {
    display: grid;
    align-items: center;
    column-gap: 0.65rem;
    padding: 0.5rem 0.6rem;
}

.pi-row + .pi-row {
    border-top: 1px solid var(--vegas-border);
}

.pi-td-row {
    grid-template-columns: 1.4rem 2.75rem minmax(0, 1fr) auto 6.5rem;
    grid-template-areas: "rank photo main recent prob";
}

.pi-prop-row {
    grid-template-columns: 2.75rem minmax(0, 1fr) 10rem 8rem;
    grid-template-areas: "photo main bars call";
}

.pi-rank {
    grid-area: rank;
    color: var(--vegas-muted);
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.pi-photo {
    grid-area: photo;
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
}

/* ESPN headshots are wide with the face near the top, so crop to a square on the face */
.pi-headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--vegas-offwhite);
    border: 1px solid var(--vegas-border);
}

.pi-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vegas-blue);
    font-weight: bold;
}

.pi-team-badge {
    position: absolute;
    right: -0.35rem;
    bottom: -0.35rem;
    width: 1.3rem;
    height: 1.3rem;
    padding: 0.1rem;
    object-fit: contain;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.pi-main {
    grid-area: main;
    min-width: 0;
    line-height: 1.3;
}

.pi-name-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.pi-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: bold;
    font-size: 0.92rem;
}

.pi-pos {
    flex: 0 0 auto;
    padding: 0 0.3rem;
    background: var(--vegas-lightgray);
    color: var(--vegas-blue);
    font-size: 0.68rem;
    font-weight: bold;
}

.pi-injury {
    flex: 0 0 auto;
    padding: 0 0.3rem;
    border-left: 3px solid var(--vegas-gold);
    background: #fdf6e3;
    color: #7a5b12;
    font-size: 0.68rem;
    font-weight: bold;
    text-transform: uppercase;
}

.pi-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    color: var(--vegas-muted);
}

.pi-sub b {
    color: var(--vegas-blue);
}

.pi-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.2rem;
}

.pi-tags:empty {
    display: none;
}

.pi-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.05rem 0.4rem;
    border-left: 3px solid var(--vegas-gray);
    background: var(--vegas-offwhite);
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
}

.pi-tag.fire {
    border-left-color: #e8711a;
    background: #fdf0e6;
    color: #9a4a0c;
}

.pi-tag.up,
.pi-tag.good {
    border-left-color: #2e8b57;
    background: #e9f5ee;
    color: #1f6640;
}

.pi-tag.down,
.pi-tag.bad {
    border-left-color: #c62828;
    background: #fdecec;
    color: #9b1c1c;
}

/* last 5 games: a box per game, gold with the count when they scored */
.pi-recent {
    grid-area: recent;
    text-align: center;
}

.pi-dots {
    display: flex;
    gap: 0.2rem;
}

.pi-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-offwhite);
    color: var(--vegas-muted);
    font-size: 0.68rem;
    font-weight: bold;
}

.pi-dot.td {
    border-color: var(--vegas-gold);
    background: var(--vegas-gold);
    color: var(--vegas-blue);
}

.pi-dot.missed {
    border-style: dashed;
    background: transparent;
}

.pi-dots-label {
    margin-top: 0.1rem;
    color: var(--vegas-muted);
    font-size: 0.65rem;
}

.pi-prob {
    grid-area: prob;
    text-align: right;
}

.pi-prob-value {
    color: var(--vegas-blue);
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.1;
}

.pi-prob-bar {
    height: 0.3rem;
    margin: 0.2rem 0 0.15rem;
    background: var(--vegas-lightgray);
}

.pi-prob-bar span {
    display: block;
    height: 100%;
    background: var(--vegas-blue);
}

.pi-prob-bar span.hot {
    background: var(--vegas-gold);
}

.pi-fair {
    color: var(--vegas-muted);
    font-size: 0.7rem;
}

/* last few games as bars, with the line drawn across */
.pi-bars {
    grid-area: bars;
    min-width: 0;
}

.pi-bars-plot {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 0.2rem;
    height: 2.75rem;
    padding-top: 0.7rem;
    border-bottom: 1px solid var(--vegas-gray);
}

.pi-bar {
    position: relative;
    flex: 1;
    min-height: 2px;
    background: var(--vegas-gray);
}

.pi-bar.over {
    background: var(--vegas-gold);
}

.pi-bar span {
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    color: var(--vegas-muted);
    font-size: 0.6rem;
    line-height: 1.1;
    white-space: nowrap;
}

.pi-bars-line {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    border-top: 2px dashed var(--vegas-blue);
}

.pi-call {
    grid-area: call;
    text-align: right;
    line-height: 1.35;
}

.pi-lean {
    display: inline-block;
    padding: 0.05rem 0.45rem;
    background: var(--vegas-lightgray);
    color: var(--vegas-blue);
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
}

.pi-lean.over {
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.pi-lean.under {
    background: var(--vegas-gold);
    color: var(--vegas-blue);
}

.pi-proj,
.pi-hit {
    font-size: 0.75rem;
    white-space: nowrap;
}

.pi-hit {
    color: var(--vegas-muted);
}

.pi-more {
    align-self: center;
    padding: 0.3rem 1rem;
    border: 1px solid var(--vegas-blue);
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.8rem;
    font-weight: bold;
}

.pi-more:hover {
    background: var(--vegas-offwhite);
}

.pi-how {
    font-size: 0.8rem;
    color: var(--vegas-muted);
}

.pi-how summary {
    color: var(--vegas-blue);
    font-weight: bold;
    cursor: pointer;
}

.pi-how p {
    margin: 0.4rem 0 0;
}

/* RANKING CARD */
.rank-card {
    container-type: inline-size;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(2, 53, 75, 0.06);
    overflow: hidden;
}

.rank-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.rank-card-title {
    flex: 1;
    min-width: 0;
    font-weight: bold;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-badge {
    flex: 0 0 auto;
    padding: 0.05rem 0.45rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    white-space: nowrap;
}

.rank-badge.yours {
    background: var(--vegas-gold);
    color: var(--vegas-blue);
    font-weight: bold;
}

.rank-card-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.15);
    color: var(--vegas-white);
    font-size: 0.8rem;
}

.rank-card-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rank-card-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.3rem 0.6rem;
    background: var(--vegas-lightgold);
    font-size: 0.8rem;
}

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0.2rem 0;
}

@container (min-width: 36rem) {
    .rank-list {
        columns: 2;
        column-gap: 0;
    }
}

@container (min-width: 56rem) {
    .rank-list {
        columns: 3;
    }
}

@container (min-width: 76rem) {
    .rank-list {
        columns: 4;
    }
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.85rem;
    line-height: 1.2;
    cursor: grab;
    break-inside: avoid;
    border-top: 2px solid transparent;
}

.rank-row:nth-child(even) {
    background: var(--vegas-offwhite);
}

.rank-row:hover {
    background: #eef3f6;
}

.rank-row.selected {
    background: var(--vegas-lightgold);
    box-shadow: inset 3px 0 0 var(--vegas-gold);
}

.rank-row.drop-target {
    border-top-color: var(--vegas-gold);
}

.rank-num {
    flex: 0 0 1.4rem;
    text-align: right;
    font-weight: bold;
    color: var(--vegas-blue);
    font-variant-numeric: tabular-nums;
}

.rank-logo {
    flex: 0 0 auto;
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.rank-team {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-team-short {
    display: none;
}

/* narrow cards (three across on a laptop) drop the city */
@container (max-width: 17.5rem) {
    .rank-team-full {
        display: none;
    }

    .rank-team-short {
        display: inline;
    }
}

.rank-score {
    flex: 0 0 auto;
    min-width: 2.6rem;
    text-align: right;
    font-size: 0.78rem;
    color: var(--vegas-muted);
    font-variant-numeric: tabular-nums;
}

.rank-up,
.rank-down {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.rank-up {
    color: #2e7d32;
}

.rank-down {
    color: #c62828;
}

.rank-card-more {
    display: none;
    width: 100%;
    padding: 0.4rem;
    border: 0;
    border-top: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.85rem;
    font-weight: bold;
}

/* RANKINGS: ADVANCED MODE */
.model-editor {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.model-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--vegas-offwhite);
    border: 1px solid var(--vegas-border);
    border-radius: 0;
}

.model-toolbar-group,
.model-window {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.model-toolbar-group label,
.model-window label {
    font-weight: bold;
    font-size: 0.85rem;
}

.model-select {
    width: auto;
    min-width: 12rem;
}

.model-window-select {
    width: auto;
}

.model-name {
    width: 12rem;
}

.model-weeks {
    width: 4.5rem;
}

.model-active-label {
    background: var(--vegas-gold);
    padding: 0.2rem 0.5rem;
    border-radius: 0;
    font-size: 0.8rem;
}

.model-message {
    padding: 0.5rem 0.75rem;
    background: var(--vegas-lightgold);
    border-radius: 0;
}

.model-message.error {
    background: var(--vegas-red);
}

.model-tabs .rz-tabview-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.model-tabs .rz-tabview-nav li {
    flex: 0 0 auto;
}

.metric-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-row {
    display: grid;
    grid-template-columns: minmax(10rem, 2fr) minmax(9rem, 1.5fr) 7rem 6rem minmax(9rem, 1fr) 2rem;
    gap: 0.5rem;
    align-items: center;
}

.metric-header {
    font-weight: bold;
    font-size: 0.85rem;
}

.metric-field {
    min-width: 0;
}

.metric-label {
    display: none;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--vegas-muted);
    margin-bottom: 0.15rem;
}

.metric-stat {
    width: 100%;
}

.metric-weight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.metric-weight input {
    flex: 1;
    min-width: 0;
}

.metric-weight span {
    min-width: 2.5rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.metric-remove {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--vegas-lightgold);
    color: var(--vegas-blue);
}

.overall-grid {
    display: grid;
    grid-template-columns: minmax(6rem, 10rem) minmax(6rem, 20rem) 3rem;
    gap: 0.5rem 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.projection-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.projection-setting {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
}

.projection-setting-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}

.projection-setting-head label {
    font-weight: bold;
    font-size: 0.9rem;
}

.projection-setting-value {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--vegas-blue);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.projection-setting input[type=range] {
    width: 100%;
}

.projection-setting-help {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--vegas-muted);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.preview-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--vegas-blue);
}

.preview-games td {
    vertical-align: top;
}

.backtest-edge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.backtest-edge select {
    width: auto;
}

.backtest-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 0.5rem;
}

.backtest-tile {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--vegas-border);
    border-top: 3px solid var(--vegas-gray);
    background: var(--vegas-white);
}

/* above break-even, or a smaller miss than the book */
.backtest-tile.good {
    border-top-color: #2e7d32;
}

.backtest-tile-label {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--vegas-muted);
    text-transform: uppercase;
    letter-spacing: 0.03rem;
}

.backtest-tile-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--vegas-blue);
    font-variant-numeric: tabular-nums;
}

.backtest-tile-sub,
.backtest-tile-was {
    font-size: 0.78rem;
    color: var(--vegas-muted);
    font-variant-numeric: tabular-nums;
}

.backtest-tile-was {
    font-style: italic;
}

/* RANKINGS GUIDE */
.guide-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    padding: 0.25rem 0.7rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
}

.guide-button:hover {
    border-color: var(--vegas-blue);
}

.guide-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(2, 53, 75, 0.45);
}

.guide {
    display: flex;
    flex-direction: column;
    width: min(46rem, 100%);
    max-height: calc(100vh - 2rem);
    background: var(--vegas-white);
    border-top: 3px solid var(--vegas-blue);
    box-shadow: 0 10px 30px rgba(2, 53, 75, 0.25);
}

.guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.guide-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--vegas-blue);
}

.guide-close {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    color: var(--vegas-blue);
}

.guide-close:hover {
    border-color: var(--vegas-blue);
}

.guide-nav {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--vegas-border);
    scrollbar-width: none;
}

.guide-nav button {
    flex: 0 0 auto;
    padding: 0.45rem 0.9rem;
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    color: var(--vegas-muted);
    font-size: 0.85rem;
    font-weight: bold;
}

.guide-nav button.active {
    border-bottom-color: var(--vegas-blue);
    color: var(--vegas-blue);
}

.guide-body {
    overflow-y: auto;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.guide-body h3 {
    margin: 1.1rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--vegas-blue);
}

.guide-body h3:first-child {
    margin-top: 0;
}

.guide-body p {
    margin: 0 0 0.5rem;
}

.guide-body ul,
.guide-body ol {
    margin: 0 0 0.5rem;
    padding-left: 1.2rem;
}

.guide-body li {
    margin-bottom: 0.3rem;
}

.guide-note {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid var(--vegas-gold);
    background: var(--vegas-offwhite);
    font-size: 0.85rem;
}

.guide-setting {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--vegas-border);
}

.guide-setting-name {
    font-weight: bold;
    color: var(--vegas-blue);
}

.guide-setting-default {
    font-size: 0.78rem;
    color: var(--vegas-muted);
}

.preview-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--vegas-border);
    border-radius: 0;
}

.preview-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

.preview-table th,
.preview-table td {
    padding: 0.25rem 0.6rem;
    border-bottom: 1px solid var(--vegas-border);
    text-align: center;
    white-space: nowrap;
}

.preview-table th {
    background: var(--vegas-blue);
    color: var(--vegas-white);
    font-weight: bold;
}

/* team column stays put while the unit columns scroll on phones */
.preview-table th:first-child,
.preview-table td:first-child {
    position: sticky;
    left: 0;
    text-align: left;
    z-index: 1;
}

.preview-table td:first-child {
    background: var(--vegas-white);
}

.preview-table tbody tr:nth-child(even),
.preview-table tbody tr:nth-child(even) td:first-child {
    background: var(--vegas-offwhite);
}

.preview-team .rank-logo {
    margin-right: 0.25rem;
    vertical-align: middle;
}

.preview-score {
    color: var(--vegas-muted);
    font-size: 0.78rem;
}

/* WEEK PAGES: PHONES */
@media (max-width: 640px) {
    /* px-4 on the layout's <article> is !important, so match it */
    .content {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* the full 7-day carousel is ~510px wide; keep just the neighbors on each side */
    .date-carousel-fade-2,
    .date-carousel-fade-3 {
        display: none;
    }
    .guide-backdrop {
        padding: 0;
    }

    .guide {
        width: 100%;
        height: 100%;
        max-height: none;
    }


    .game-header {
        padding: 0.5rem 0.6rem;
    }

    /* time, stadium and conditions drop under the teams as one full-width block */
    .game-meta {
        text-align: left;
        flex-basis: 100%;
    }

    .game-conditions {
        justify-content: flex-start;
    }

    .game-panels {
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .game-panel,
    .game-panel-final,
    .game-panel-odds {
        flex-basis: 100%;
    }

    .game-table td {
        padding: 0.2rem 0.15rem;
    }

    .game-table .spread-label {
        font-size: 0.85rem;
    }

    .ou-long {
        display: none;
    }

    .ou-short {
        display: inline;
    }

    /* let the expanded details grow instead of scrolling inside the card */
    .game-details.expanded {
        max-height: none;
        padding: 0.5rem;
    }

    .matchup-tab-control .rz-tabview-panels {
        min-height: 0;
        max-height: none;
    }

    /* game tabs: a grid instead of one row that runs off the screen. Six columns, each tab spans two
       (three per row); the counts that would leave a gap get wider tabs instead:
       1 tab full width, 2 tabs halves, 4 tabs a 2x2, 5 tabs three over two. The theme loads after app.css,
       hence ul/li in the selectors and !important on the borders. */
    .matchup-tab-control ul.rz-tabview-nav {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        margin-bottom: 0.5rem;
    }

    .matchup-tab-control ul.rz-tabview-nav > li {
        grid-column: span 2;
        min-width: 0;
        margin: 0 -1px -1px 0;
        border: 1px solid var(--vegas-border) !important;
        border-radius: 0 !important;
        background: var(--vegas-white);
        color: var(--vegas-blue);
    }

    .matchup-tab-control ul.rz-tabview-nav > li:only-child {
        grid-column: span 6;
    }

    .matchup-tab-control ul.rz-tabview-nav > li:first-child:nth-last-child(2),
    .matchup-tab-control ul.rz-tabview-nav > li:first-child:nth-last-child(2) ~ li,
    .matchup-tab-control ul.rz-tabview-nav > li:first-child:nth-last-child(4),
    .matchup-tab-control ul.rz-tabview-nav > li:first-child:nth-last-child(4) ~ li,
    .matchup-tab-control ul.rz-tabview-nav > li:first-child:nth-last-child(5) ~ li:nth-child(n+4) {
        grid-column: span 3;
    }

    .matchup-tab-control ul.rz-tabview-nav > li > a,
    .matchup-tab-control ul.rz-tabview-nav > li > button {
        width: 100%;
        height: 100%;
        justify-content: center;
        padding: 0.55rem 0.25rem;
        font-size: 0.85rem;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .matchup-tab-control ul.rz-tabview-nav > li.rz-tabview-selected {
        margin: 0 -1px -1px 0;
        border-color: var(--vegas-blue) !important;
        background: var(--vegas-blue);
        color: var(--vegas-white);
        /* keep the selected cell's border on top of its neighbours' */
        z-index: 1;
    }

    /* status tag drops under the name so long ones ("Injured Reserve") don't squeeze it */
    .injury-row {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "photo main news"
            "photo status news";
        row-gap: 0.2rem;
    }

    .injury-headshot {
        grid-area: photo;
    }

    .injury-main {
        grid-area: main;
    }

    .injury-status {
        grid-area: status;
        justify-self: start;
    }

    .injury-news {
        grid-area: news;
    }

    /* player insight rows: rank goes, last-5 boxes and bars drop under the name */
    .pi-row {
        column-gap: 0.55rem;
        row-gap: 0.3rem;
        padding: 0.5rem;
    }

    .pi-td-row {
        grid-template-columns: 2.75rem minmax(0, 1fr) 4.75rem;
        grid-template-areas:
            "photo main prob"
            "photo recent prob";
    }

    .pi-rank {
        display: none;
    }

    .pi-recent {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .pi-dots-label {
        margin: 0;
    }

    .pi-prop-row {
        grid-template-columns: 2.75rem minmax(0, 1fr) auto;
        grid-template-areas:
            "photo main call"
            "bars bars bars";
    }

    .pi-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .pi-toolbar .pi-chips {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .pi-toolbar .pi-chips::-webkit-scrollbar {
        display: none;
    }

    .page-header-title {
        font-size: 1.35rem;
    }

    .week-filters {
        gap: 0.5rem;
    }

    /* one swipeable row of weeks instead of a wall of buttons */
    .week-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 0.1rem;
    }

    .week-strip::-webkit-scrollbar {
        display: none;
    }

    .rankings-grid {
        grid-template-columns: 1fr;
    }

    .rank-row {
        padding: 0.35rem 0.6rem;
        font-size: 0.9rem;
    }

    .rank-card:not(.expanded) .rank-row:nth-child(n+11) {
        display: none;
    }

    .rank-card-more {
        display: block;
    }

    .model-toolbar,
    .model-toolbar-group {
        flex-direction: column;
        align-items: stretch;
    }

    .model-select,
    .model-name {
        width: 100%;
        min-width: 0;
    }

    .metric-header-row {
        display: none;
    }

    /* each stat becomes a small card with labeled fields */
    .metric-row {
        grid-template-columns: 1fr 1fr;
        padding: 0.6rem;
        border: 1px solid var(--vegas-border);
        border-radius: 0;
        background: var(--vegas-offwhite);
    }

    .metric-label {
        display: block;
    }

    .metric-field-stat,
    .metric-field-per {
        grid-column: 1 / -1;
    }

    .metric-remove {
        justify-self: end;
        align-self: end;
    }

    .overall-grid {
        grid-template-columns: minmax(5.5rem, auto) 1fr 3rem;
        gap: 0.5rem;
    }

    .overall-grid label {
        font-size: 0.85rem;
    }

    .preview-table th,
    .preview-table td {
        padding: 0.25rem 0.45rem;
    }
}

/* DATE CAROUSEL */
.date-carousel {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 0;
}

.date-carousel-center {
    display: flex;
    align-items: center;
    z-index: 1;
}

.date-carousel-center .rz-datepicker {
    font-weight: bold;
}

.date-carousel-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--vegas-blue);
    border-radius: 0.35rem;
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 3.5rem;
}

.date-carousel-item:hover {
    background: var(--vegas-lightgold);
    border-color: var(--vegas-gold);
}

.date-carousel-day {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
}

.date-carousel-date {
    font-size: 0.9rem;
    font-weight: bold;
}

.date-carousel-fade-1 {
    opacity: 0.85;
}

.date-carousel-fade-2 {
    opacity: 0.55;
}

.date-carousel-fade-3 {
    opacity: 0.3;
}
/* COMING SOON (sport pages that aren't live yet) */
.coming-soon {
    display: flex;
    justify-content: center;
    padding: 2.5rem 0 3rem;
}

.coming-soon-card {
    position: relative;
    width: 100%;
    max-width: 40rem;
    padding: 3rem 2.5rem 2.75rem;
    text-align: center;
    color: var(--vegas-white);
    background:
        repeating-linear-gradient(135deg, rgba(223, 181, 85, 0.06) 0 1px, transparent 1px 14px),
        radial-gradient(circle at 50% 0%, #0a4d6b 0%, var(--vegas-blue) 70%);
    border-top: 4px solid var(--vegas-gold);
    box-shadow: 0 12px 32px rgba(2, 53, 75, 0.25);
    overflow: hidden;
}

/* thin inset frame for a ticket-like feel */
.coming-soon-card::after {
    content: "";
    position: absolute;
    inset: 0.6rem;
    border: 1px solid rgba(223, 181, 85, 0.3);
    pointer-events: none;
}

.coming-soon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    color: var(--vegas-gold);
    border: 2px solid var(--vegas-gold);
    transform: rotate(45deg);
}

.coming-soon-icon > span {
    transform: rotate(-45deg);
}

.coming-soon-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vegas-lightgold);
}

.coming-soon-title {
    margin: 0.35rem 0 0;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.04em;
    color: var(--vegas-white);
}

.coming-soon-rule {
    width: 4rem;
    height: 2px;
    margin: 1rem auto 1.25rem;
    background: var(--vegas-gold);
}

.coming-soon-text {
    max-width: 28rem;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.coming-soon-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--vegas-blue);
    background: var(--vegas-gold);
    border: 1px solid var(--vegas-gold);
    transition: all 0.25s ease;
}

.coming-soon-cta:hover,
.coming-soon-cta:focus-visible {
    color: var(--vegas-blue);
    background: var(--vegas-lightgold);
    border-color: var(--vegas-lightgold);
}

.coming-soon-cta .fa-arrow-right {
    transition: transform 0.25s ease;
}

.coming-soon-cta:hover .fa-arrow-right {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .coming-soon {
        padding: 1rem 0 2rem;
    }

    .coming-soon-card {
        padding: 2.25rem 1.25rem 2rem;
    }

    .coming-soon-title {
        font-size: 2.25rem;
    }

    .coming-soon-text {
        font-size: 0.95rem;
    }
}

/* Settings page */
.settings-page {
    max-width: 32rem;
    margin: 0 auto;
    padding: 1rem;
}

.settings-section {
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    padding: 1rem;
}

.settings-label {
    display: block;
    font-weight: 600;
    color: var(--vegas-blue);
}

.settings-hint {
    margin: 0.25rem 0 0.75rem;
    font-size: 0.85rem;
    color: var(--vegas-muted);
}

.settings-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.settings-row .rz-textbox {
    flex: 1;
    min-width: 0;
}

.settings-row .vegas-button {
    display: flex;
    align-items: center;
    padding: 0.35rem 1rem;
}

/* Login, register, forgot and reset password: one centered card with the badge's gold top edge */
.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0 3rem;
}

.auth-card {
    width: 100%;
    max-width: 24rem;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-top: 4px solid var(--vegas-gold);
    box-shadow: 0 8px 24px rgba(2, 53, 75, 0.08);
    color: var(--vegas-blue);
    /* body turns selection off app-wide; text fields and messages need it back (iOS won't edit or autofill otherwise) */
    user-select: text;
    -webkit-user-select: text;
}

.auth-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.auth-logo {
    width: 3.5rem;
    height: auto;
}

.auth-wordmark .heading-the-label,
.auth-wordmark .heading-insiders-label {
    font-size: 1.5rem;
}

.auth-intro {
    text-align: center;
    margin-bottom: 1.25rem;
}

.auth-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9a7424;
}

.auth-title {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vegas-blue);
}

.auth-text {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--vegas-muted);
}

.auth-message {
    margin-bottom: 1rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    border-left: 4px solid;
}

.auth-message-info {
    background: #fdf6e3;
    border-color: var(--vegas-gold);
    color: var(--vegas-blue);
}

.auth-message-error {
    background: #fdecec;
    border-color: var(--vegas-red);
    color: #8a1c1c;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.auth-label {
    display: block;
    margin: 0 0 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--vegas-blue);
}

.auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.auth-input + .auth-label,
.auth-password + .auth-label,
.auth-input + .auth-label-row,
.auth-password + .auth-label-row {
    margin-top: 1rem;
}

.auth-input {
    width: 100%;
    min-width: 0;
    padding: 0.6rem 0.75rem;
    /* 16px or larger, or iOS zooms the page when the field gets focus */
    font-size: 1rem;
    color: var(--vegas-blue);
    background: var(--vegas-white);
    border: 1px solid var(--vegas-gray);
    border-radius: 0;
    outline: none;
    user-select: text;
    -webkit-user-select: text;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
    border-color: var(--vegas-blue);
    box-shadow: 0 0 0 3px rgba(223, 181, 85, 0.4);
}

.auth-password {
    position: relative;
}

.auth-password .auth-input {
    padding-right: 2.75rem;
}

.auth-reveal {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--vegas-muted);
    cursor: pointer;
}

.auth-reveal:hover,
.auth-reveal:focus-visible {
    color: var(--vegas-blue);
}

.auth-submit {
    margin-top: 1.4rem;
    height: 44px;
    border: 1px solid var(--vegas-blue);
    background: var(--vegas-blue);
    color: var(--vegas-white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.auth-submit:not(:disabled):hover {
    background: #034866;
}

.auth-submit:not(:disabled):active {
    transform: translateY(1px);
}

.auth-submit:disabled {
    cursor: default;
    opacity: 0.55;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0 1.1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--vegas-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--vegas-border);
}

.auth-providers {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--vegas-muted);
}

.auth-link {
    font-weight: 600;
    color: var(--vegas-blue);
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-label-row .auth-link {
    font-size: 0.8rem;
}

.auth-legal {
    max-width: 24rem;
    margin: 1.25rem 0 0;
    padding: 0 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--vegas-muted);
    user-select: text;
    -webkit-user-select: text;
}

/* First-login welcome: the badge unlocks, drops off screen, then the display name form rises in.
   Timeline (after .is-playing): keyhole turns 0.3s, sparks 0.85s, shackle pops 0.9s,
   jolt 1.3s, fall 1.6s, form 2.35s. */
.welcome {
    position: fixed;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: radial-gradient(ellipse at 50% 40%, #0a4a66 0%, var(--vegas-blue) 55%, #011c29 100%);
    color: var(--vegas-white);
}

.welcome-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 60vmin;
    height: 60vmin;
    transform: translate(-50%, -50%) scale(0.4);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 181, 85, 0.45) 0%, rgba(223, 181, 85, 0) 65%);
    opacity: 0;
    pointer-events: none;
}

.welcome-lock {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(120px, 34vw, 210px);
    transform: translate(-50%, -55%);
    z-index: 2;
}

.welcome-lock-shake {
    position: relative;
}

.welcome-badge {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

.welcome-shackle {
    transform-box: view-box;
    transform-origin: 15px 7px;
}

.welcome-keyhole {
    fill: var(--vegas-gold);
    transform-box: view-box;
    transform-origin: 26px 26.5px;
}

/* sparks burst from the keyhole (about 60% down the badge) */
.welcome-sparks {
    position: absolute;
    left: 50%;
    top: 60%;
    width: 0;
    height: 0;
}

.welcome-sparks span {
    position: absolute;
    left: -4px;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vegas-lightgold);
    box-shadow: 0 0 10px 2px var(--vegas-gold);
    opacity: 0;
}

.welcome-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 26rem;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    user-select: text;
    -webkit-user-select: text;
}

.welcome-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vegas-gold);
}

.welcome-title {
    margin: 0.35rem 0 0.75rem;
    font-size: clamp(2rem, 7vw, 2.75rem);
    font-weight: 700;
    color: var(--vegas-white);
}

.welcome-text {
    margin: 0 0 0.6rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

.welcome-text b {
    color: var(--vegas-lightgold);
}

.welcome-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.welcome-form .welcome-input {
    flex: 1;
    min-width: 0;
    border-radius: 0;
    border: 1px solid var(--vegas-gold);
    background: rgba(255, 255, 255, 0.96);
    color: var(--vegas-blue);
    font-size: 1rem;
}

.welcome-button {
    display: flex;
    align-items: center;
    padding: 0.4rem 1.1rem;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    background: var(--vegas-gold);
    color: var(--vegas-blue);
    border: 1px solid var(--vegas-gold);
    transition: background 0.2s ease, transform 0.1s ease;
}

.welcome-button:not(.disabled):hover {
    background: var(--vegas-lightgold);
}

.welcome-button:not(.disabled):active {
    transform: translateY(1px);
}

.welcome-button.disabled {
    cursor: default;
    opacity: 0.55;
}

.welcome-hint {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.welcome-error {
    margin-top: 0.75rem;
    padding: 0.35rem 0.5rem;
    background: var(--vegas-red);
    color: var(--vegas-blue);
}

/* the timeline */
.welcome.is-playing .welcome-keyhole {
    animation: welcome-turn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.welcome.is-playing .welcome-glow {
    animation: welcome-glow 1.4s ease-out 0.75s both;
}

.welcome.is-playing .welcome-sparks span {
    animation: welcome-spark 0.7s ease-out 0.85s both;
}

.welcome.is-playing .welcome-shackle {
    animation: welcome-shackle 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s both;
}

.welcome.is-playing .welcome-lock-shake {
    animation: welcome-jolt 0.3s ease-in-out 1.3s both;
}

.welcome.is-playing .welcome-lock {
    animation: welcome-fall 1s cubic-bezier(0.55, 0, 0.9, 0.4) 1.6s both;
}

.welcome.is-playing .welcome-content {
    animation: welcome-rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 2.35s both;
}

@keyframes welcome-turn {
    from {
        transform: rotate(0deg);
        fill: var(--vegas-gold);
    }
    to {
        transform: rotate(90deg);
        fill: var(--vegas-lightgold);
    }
}

@keyframes welcome-glow {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
    }
    35% {
        opacity: 1;
    }
    100% {
        opacity: 0.35;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

@keyframes welcome-spark {
    0% {
        opacity: 1;
        transform: rotate(var(--a)) translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: rotate(var(--a)) translateX(var(--d)) scale(0.3);
    }
}

@keyframes welcome-shackle {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    45% {
        transform: translateY(-7px) rotate(0deg);
    }
    100% {
        transform: translateY(-7px) rotate(-24deg);
    }
}

@keyframes welcome-jolt {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    60% {
        transform: rotate(4deg);
    }
}

@keyframes welcome-fall {
    0% {
        transform: translate(-50%, -55%) rotate(0deg);
    }
    18% {
        transform: translate(-50%, -64%) rotate(-5deg);
    }
    100% {
        transform: translate(-40%, 75vh) rotate(32deg);
    }
}

@keyframes welcome-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* tap to skip, and no motion for people who ask for less */
.welcome.is-skipped .welcome-lock,
.welcome.is-skipped .welcome-glow {
    display: none;
}

.welcome.is-skipped .welcome-content {
    animation: none;
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .welcome .welcome-lock,
    .welcome .welcome-glow {
        display: none;
    }

    .welcome .welcome-content,
    .welcome.is-playing .welcome-content {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Settings: OpenRouter connection */
.settings-section + .settings-section {
    margin-top: 1rem;
}

.openrouter-details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.25rem 1rem;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.openrouter-details dt {
    font-weight: 600;
    color: var(--vegas-blue);
}

.openrouter-details dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.openrouter-revoke-hint {
    margin: 0.75rem 0 0;
}

/* AI chat panel (AiChatPanel.razor). Desktop: docked to the right, the page makes room. Phones and tablets: a bubble
   that opens a full-screen chat. The 991.98px breakpoint matches where the site menu collapses. */
:root {
    --ai-chat-width: 380px;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    :root {
        --ai-chat-width: 340px;
    }
}

@media (min-width: 992px) {
    .page {
        transition: margin-right 0.2s ease;
    }

    body.ai-chat-docked .page {
        margin-right: var(--ai-chat-width);
    }
}

/* keep the bubble from covering the bottom of the page */
@media (max-width: 991.98px) {
    body.ai-chat-ready .content {
        padding-bottom: 5.5rem;
    }

    body.ai-chat-mobile-open {
        overflow: hidden;
    }
}

.ai-chat {
    position: fixed;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    background: var(--vegas-white);
    color: var(--vegas-blue);
}

.ai-chat.is-docked {
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--ai-chat-width);
    border-left: 1px solid var(--vegas-border);
    box-shadow: -2px 0 12px rgba(2, 53, 75, 0.08);
}

.ai-chat.is-mobile {
    inset: 0;
    height: 100vh;
    height: 100dvh;
    padding-bottom: env(safe-area-inset-bottom);
}

.ai-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    flex-shrink: 0;
}

.ai-chat-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-chat-title i {
    color: var(--vegas-gold);
    margin-right: 0.25rem;
}

.ai-chat-header-actions {
    display: flex;
    gap: 0.25rem;
}

.ai-chat-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.ai-chat-icon-button:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.ai-chat-icon-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.ai-chat-picker-head .ai-chat-icon-button:hover {
    background: var(--vegas-lightgray);
}

.ai-chat-model {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    border: none;
    border-bottom: 1px solid var(--vegas-border);
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    flex-shrink: 0;
}

.ai-chat-model:hover {
    background: var(--vegas-lightgray);
}

.ai-chat-model-label {
    color: var(--vegas-muted);
}

.ai-chat-model-current {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ai-chat-empty {
    color: var(--vegas-muted);
    font-size: 0.9rem;
}

.ai-chat-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ai-chat-suggestion {
    border: 1px solid var(--vegas-border);
    border-radius: 8px;
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    padding: 0.45rem 0.6rem;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
}

.ai-chat-suggestion:hover:not(:disabled) {
    border-color: var(--vegas-gold);
    background: var(--vegas-white);
}

.ai-chat-message {
    max-width: 92%;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.ai-chat-message.from-user {
    align-self: flex-end;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    border-bottom-right-radius: 3px;
    white-space: pre-wrap;
}

.ai-chat-message.from-assistant {
    align-self: flex-start;
    background: var(--vegas-lightgray);
    color: var(--vegas-blue);
    border-bottom-left-radius: 3px;
}

.ai-chat-message.is-error {
    background: #fde8e8;
    color: #8a1f1f;
}

.ai-chat-markdown > :first-child {
    margin-top: 0;
}

.ai-chat-markdown > :last-child {
    margin-bottom: 0;
}

.ai-chat-markdown p,
.ai-chat-markdown ul,
.ai-chat-markdown ol {
    margin: 0 0 0.5rem;
}

.ai-chat-markdown ul,
.ai-chat-markdown ol {
    padding-left: 1.2rem;
}

.ai-chat-markdown h1,
.ai-chat-markdown h2,
.ai-chat-markdown h3,
.ai-chat-markdown h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0.5rem 0 0.25rem;
}

.ai-chat-markdown table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 0.25rem 0 0.5rem;
    font-size: 0.8rem;
}

.ai-chat-markdown th,
.ai-chat-markdown td {
    border: 1px solid var(--vegas-gray);
    padding: 0.2rem 0.4rem;
    white-space: nowrap;
}

.ai-chat-markdown th {
    background: var(--vegas-offwhite);
}

.ai-chat-markdown code {
    font-size: 0.8rem;
}

.ai-chat-meta {
    margin-top: 0.35rem;
    font-size: 0.7rem;
    color: var(--vegas-muted);
}

.ai-chat-typing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--vegas-muted);
}

.ai-chat-dots {
    display: inline-flex;
    gap: 3px;
}

.ai-chat-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vegas-muted);
    animation: ai-chat-dot 1.2s infinite ease-in-out;
}

.ai-chat-dots i:nth-child(2) {
    animation-delay: 0.15s;
}

.ai-chat-dots i:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes ai-chat-dot {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-chat-dots i {
        animation: none;
    }
}

.ai-chat-input {
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem 0.3rem;
    border-top: 1px solid var(--vegas-border);
    flex-shrink: 0;
}

.ai-chat-input input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--vegas-gray);
    border-radius: 6px;
    padding: 0.45rem 0.6rem;
    color: var(--vegas-blue);
    font-size: 0.9rem;
}

.ai-chat-input input:focus {
    outline: none;
    border-color: var(--vegas-blue);
}

/* 16px stops iOS from zooming in when a field gets focus */
.ai-chat.is-mobile .ai-chat-input input,
.ai-chat.is-mobile .ai-chat-picker-search {
    font-size: 16px;
}

.ai-chat-send {
    flex-shrink: 0;
    width: 2.5rem;
    border: none;
    border-radius: 6px;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    cursor: pointer;
}

.ai-chat-send:disabled {
    background: var(--vegas-gray);
    cursor: default;
}

.ai-chat-footnote {
    padding: 0 0.75rem 0.5rem;
    font-size: 0.7rem;
    color: var(--vegas-muted);
    flex-shrink: 0;
}

.ai-chat-notice {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
}

.ai-chat-notice-hint {
    font-size: 0.8rem;
    color: var(--vegas-muted);
}

.ai-chat-notice-button {
    display: inline-block;
    padding: 0.35rem 1rem;
    text-decoration: none;
}

.ai-chat-picker {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ai-chat-picker-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.75rem 0.3rem;
}

.ai-chat-picker-search {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--vegas-gray);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: var(--vegas-blue);
    font-size: 0.9rem;
}

.ai-chat-picker-filter {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.75rem 0.5rem;
    font-size: 0.85rem;
}

.ai-chat-picker-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    border-top: 1px solid var(--vegas-border);
}

.ai-chat-model-option {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    border-bottom: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    color: var(--vegas-blue);
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
}

.ai-chat-model-option:hover {
    background: var(--vegas-offwhite);
}

.ai-chat-model-option.selected {
    background: var(--vegas-lightgold);
    font-weight: 600;
}

.ai-chat-model-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ai-chat-model-price {
    flex-shrink: 0;
    color: var(--vegas-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.ai-chat-picker-more,
.ai-chat-picker-note {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--vegas-muted);
    margin: 0;
}

.ai-chat-picker-note {
    border-top: 1px solid var(--vegas-border);
    flex-shrink: 0;
}

.ai-chat-launcher {
    position: fixed;
    z-index: 1030;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    box-shadow: 0 4px 14px rgba(2, 53, 75, 0.3);
    cursor: pointer;
}

.ai-chat-launcher:hover {
    background: #034a69;
}

.ai-chat-launcher i {
    color: var(--vegas-gold);
}

.ai-chat-launcher.is-mobile {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    font-size: 1.35rem;
}

.ai-chat-launcher.is-mobile .ai-chat-launcher-text {
    display: none;
}

.ai-chat-launcher.is-docked {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-weight: 600;
}

/* FEATURED GAMES + AI INSIGHTS TAB (FootballMatchup.razor, MatchupAiInsights.razor) */
.game-card.is-featured {
    border-color: var(--vegas-gold);
    box-shadow: 0 1px 6px rgba(223, 181, 85, 0.35);
}

/* full-width ribbon across the top of a featured game's card */
.game-featured-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.15rem 0.75rem;
    padding: 0.3rem 0.75rem;
    background: var(--vegas-blue);
    border-bottom: 3px solid var(--vegas-gold);
    color: var(--vegas-white);
}

.game-featured-banner-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-featured-banner-label i {
    color: var(--vegas-gold);
}

.game-featured-banner-note {
    font-size: 0.72rem;
    color: var(--vegas-lightgold);
}

.game-feature-toggle {
    margin-left: 0.3rem;
    padding: 0 0.2rem;
    border: none;
    background: none;
    color: var(--vegas-muted);
    font-size: 0.85rem;
    line-height: 1;
    cursor: pointer;
}

.game-feature-toggle:hover:not(:disabled),
.game-feature-toggle.is-on {
    color: var(--vegas-gold);
}

.game-feature-toggle:focus-visible {
    outline: 2px solid var(--vegas-blue);
    outline-offset: 1px;
}

.ai-insights {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 48rem;
    color: var(--vegas-blue);
    font-size: 0.9rem;
}

.ai-insights-views {
    display: flex;
    gap: 0.3rem;
}

.ai-insights-empty,
.ai-insights-model,
.ai-insights-meta {
    color: var(--vegas-muted);
    font-size: 0.75rem;
}

.ai-insights-intro p {
    margin: 0 0 0.4rem;
}

.ai-insights-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ai-insights-body {
    padding: 0.6rem 0.75rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-top: 2px solid var(--vegas-blue);
    line-height: 1.45;
}

.ai-insights-body h3 {
    margin-top: 0.75rem;
    color: var(--vegas-blue);
}

.ai-insights-stale,
.ai-insights-error {
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--vegas-border);
    font-size: 0.8rem;
}

.ai-insights-stale {
    background: var(--vegas-lightgold);
}

.ai-insights-error {
    border-color: var(--vegas-red);
    background: var(--vegas-white);
}

.ai-insights-sources {
    font-size: 0.8rem;
}

.ai-insights-sources summary {
    cursor: pointer;
    font-weight: bold;
}

.ai-insights-sources ul {
    margin: 0.3rem 0 0;
    padding-left: 1.2rem;
}

.ai-insights-sources a {
    overflow-wrap: anywhere;
}

.ai-insights-progress {
    padding: 0.6rem 0.75rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.ai-insights-progress-title {
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.ai-insights-steps {
    list-style: none;
    margin: 0 0 0.6rem;
    padding: 0;
}

.ai-insights-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.15rem 0;
    color: var(--vegas-muted);
}

.ai-insights-step i {
    width: 1rem;
    text-align: center;
}

.ai-insights-step.is-running,
.ai-insights-step.is-done {
    color: var(--vegas-blue);
}

.ai-insights-step.is-failed i {
    color: var(--vegas-red);
}

@media (prefers-reduced-motion: reduce) {
    .ai-insights-step .fa-spin {
        animation: none;
    }
}

/* Admin panel (Pages/Auth/Admin.razor). Desktop: user list on the left, details on the right.
   Phones and tablets: the list, then the details on their own screen once a user is picked. */
.admin-page {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 0 2rem;
    color: var(--vegas-blue);
}

.admin-page dd,
.admin-user-row-email,
.admin-profile-email,
.admin-rows-email,
.admin-mono {
    -webkit-user-select: text;
    user-select: text;
}

.admin-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1rem;
}

.admin-header h3 {
    margin: 0;
}

.admin-header h3 .fa-solid {
    color: var(--vegas-gold);
    margin-right: 0.25rem;
}

.admin-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--vegas-muted);
}

.admin-totals li {
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    padding: 0.2rem 0.6rem;
}

.admin-totals strong {
    color: var(--vegas-blue);
}

.admin-layout {
    display: grid;
    grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.admin-list-pane {
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-search {
    position: relative;
    padding: 0.75rem;
    border-bottom: 1px solid var(--vegas-border);
}

.admin-search .fa-magnifying-glass {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vegas-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.admin-search-input {
    width: 100%;
    border: 1px solid var(--vegas-gray);
    padding: 0.5rem 0.75rem 0.5rem 2.1rem;
    font-size: 16px; /* 16px stops iOS zooming in on focus */
    color: var(--vegas-blue);
    background: var(--vegas-offwhite);
    outline: none;
    -webkit-user-select: text;
    user-select: text;
}

.admin-search-input:focus {
    border-color: var(--vegas-gold);
    background: var(--vegas-white);
    box-shadow: 0 0 0 2px rgba(223, 181, 85, 0.35);
}

.admin-list-caption {
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vegas-muted);
}

.admin-user-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem;
    overflow-y: auto;
}

.admin-user-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-left: 3px solid transparent;
    background: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.admin-user-row:hover {
    background: var(--vegas-offwhite);
}

.admin-user-row.selected {
    background: #fdf6e3;
    border-left-color: var(--vegas-gold);
}

.admin-user-row:focus-visible {
    outline: 2px solid var(--vegas-gold);
    outline-offset: -2px;
}

.admin-user-row-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.admin-user-row-name {
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-row-email {
    font-size: 0.8rem;
    color: var(--vegas-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-row-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
    flex-shrink: 0;
}

.admin-user-row-date {
    font-size: 0.75rem;
    color: var(--vegas-muted);
    white-space: nowrap;
}

.admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--vegas-blue);
    color: var(--vegas-gold);
    font-weight: 700;
}

.admin-avatar-lg {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
}

.admin-badges {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.admin-badge {
    display: inline-block;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--vegas-gold);
    background: #fdf6e3;
    color: #7a5b12;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-badge-admin {
    border-color: var(--vegas-blue);
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.admin-badge-ai {
    border-color: #2e7d32;
    background: #e8f5e9;
    color: #2e7d32;
}

.admin-badge-inactive {
    border-color: #b42318;
    background: #fdecea;
    color: #b42318;
}

/* inactive users stay in the list, faded so they stand apart */
.admin-user-row.inactive .admin-user-row-text,
.admin-user-row.inactive .admin-avatar {
    opacity: 0.55;
}

.admin-detail-pane {
    min-width: 0;
}

.admin-placeholder {
    border: 1px dashed var(--vegas-gray);
    padding: 3rem 1rem;
    text-align: center;
    color: var(--vegas-muted);
}

.admin-placeholder .fa-solid {
    font-size: 2rem;
    color: var(--vegas-gray);
}

.admin-placeholder p {
    margin: 0.75rem 0 0;
}

.admin-empty {
    padding: 1rem 0.75rem;
    margin: 0;
    color: var(--vegas-muted);
}

.admin-back {
    display: none;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--vegas-blue);
    background: var(--vegas-offwhite);
    color: var(--vegas-blue);
    cursor: pointer;
}

.admin-card {
    border: 1px solid var(--vegas-border);
    background: var(--vegas-white);
    padding: 1rem;
}

.admin-card + .admin-card {
    margin-top: 1rem;
}

.admin-card h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vegas-blue);
}

.admin-h5-note {
    margin-left: auto;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.admin-count {
    display: inline-block;
    min-width: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    font-size: 0.7rem;
    text-align: center;
    letter-spacing: 0;
}

.admin-card-empty {
    margin: 0;
    font-size: 0.9rem;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 4px solid var(--vegas-gold);
}

.admin-profile-text {
    min-width: 0;
}

.admin-profile h4 {
    margin: 0;
    overflow-wrap: anywhere;
}

.admin-profile-email {
    color: var(--vegas-muted);
    overflow-wrap: anywhere;
    margin-bottom: 0.35rem;
}

.admin-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
}

.admin-toggle-row + .admin-toggle-row {
    border-top: 1px solid var(--vegas-border);
}

.admin-toggle-label {
    font-weight: 600;
}

.admin-toggle-hint {
    font-size: 0.85rem;
    color: var(--vegas-muted);
}

/* AdminFeaturedInsightsCard: the job card between the header and the users */
.admin-job {
    margin-bottom: 1rem;
    border-left: 4px solid var(--vegas-gold);
}

.admin-job-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.admin-job-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.admin-job-force {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.85rem;
    color: var(--vegas-muted);
    cursor: pointer;
}

.admin-job .btn .fa-solid {
    margin-right: 0.25rem;
}

.admin-switch {
    position: relative;
    flex-shrink: 0;
    width: 3rem;
    height: 1.7rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--vegas-gray);
    cursor: pointer;
    transition: background 0.2s ease;
}

.admin-switch.on {
    background: var(--vegas-gold);
}

.admin-switch-danger.on {
    background: #b42318;
}

.admin-switch:disabled {
    cursor: default;
    opacity: 0.55;
}

.admin-switch:focus-visible {
    outline: 2px solid var(--vegas-blue);
    outline-offset: 2px;
}

.admin-switch-knob {
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--vegas-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}

.admin-switch.on .admin-switch-knob {
    transform: translateX(1.3rem);
}

.admin-message {
    margin-top: 0.5rem;
    padding: 0.4rem 0.65rem;
    background: #fdf6e3;
    border-left: 3px solid var(--vegas-gold);
    font-size: 0.85rem;
}

.admin-message-error {
    background: #fdecec;
    border-left-color: #c62828;
    color: #c62828;
}

.admin-facts {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.55rem 1.25rem;
    margin: 0;
    font-size: 0.9rem;
}

.admin-facts dt {
    font-weight: 600;
    color: var(--vegas-muted);
}

.admin-facts dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.05rem 0.5rem;
    border: 1px solid var(--vegas-border);
    background: var(--vegas-offwhite);
    font-size: 0.8rem;
}

.admin-muted {
    color: var(--vegas-muted);
}

.admin-mono {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.8rem;
}

.admin-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--vegas-blue);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--vegas-gold);
    text-underline-offset: 2px;
    cursor: pointer;
}

.admin-status {
    font-weight: 600;
    color: var(--vegas-muted);
}

.admin-status-on {
    color: #2e7d32;
}

.admin-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.admin-rows li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.6rem;
    padding: 0.5rem 0;
}

.admin-rows li + li {
    border-top: 1px solid var(--vegas-border);
}

.admin-rows-main {
    flex: 1 1 12rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-rows-side {
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Sign-ins card: method icon, device + failure badge, then location and IP underneath */
.admin-logins li {
    flex-wrap: nowrap;
    align-items: flex-start;
}

.admin-login-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--vegas-offwhite);
    border: 1px solid var(--vegas-border);
    color: var(--vegas-blue);
    font-size: 0.8rem;
}

.admin-logins li.failed .admin-login-icon {
    border-color: #f3b8b2;
    background: #fdecea;
    color: #b42318;
}

.admin-login-device {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.4rem;
    font-weight: 600;
    color: var(--vegas-blue);
}

.admin-login-device > .fa-solid {
    width: 0.9rem;
    color: var(--vegas-muted);
    font-size: 0.8rem;
    text-align: center;
}

.admin-login-where {
    display: block;
    margin-top: 0.1rem;
    color: var(--vegas-muted);
    font-size: 0.8rem;
}

.admin-logins .admin-rows-side {
    padding-top: 0.15rem;
    color: var(--vegas-muted);
}

.admin-login-failed-note {
    color: #b42318;
}

.admin-sport {
    display: inline-block;
    min-width: 2.6rem;
    padding: 0.05rem 0.3rem;
    background: var(--vegas-blue);
    color: var(--vegas-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
}

/* phones and tablets: one pane at a time, matching where the site menu collapses */
@media (max-width: 991.98px) {
    .admin-page {
        padding-top: 0.5rem;
    }

    .admin-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-list-pane {
        position: static;
        max-height: none;
    }

    .admin-layout.has-selection .admin-list-pane,
    .admin-layout:not(.has-selection) .admin-detail-pane {
        display: none;
    }

    .admin-back {
        display: inline-flex;
    }

    .admin-user-row {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .admin-facts {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.1rem;
    }

    .admin-facts dd + dt {
        margin-top: 0.6rem;
    }

    .admin-rows-side {
        white-space: normal;
    }

    /* the time drops under the device and location instead of squeezing them */
    .admin-logins li {
        flex-wrap: wrap;
    }

    .admin-logins .admin-rows-side {
        flex-basis: 100%;
        padding-left: calc(1.75rem + 0.6rem);
        padding-top: 0;
    }

    .admin-profile {
        gap: 0.75rem;
    }

    .admin-avatar-lg {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.2rem;
    }
}

/* MATCHUP TAB (FootballMatchup): Rankings face-off (MatchupRankings) and Stat Trends (MatchupStatTrends) */
.mu-tab {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    container-type: inline-size;
    font-variant-numeric: tabular-nums;
}

.mu-switch,
.st-range {
    display: inline-flex;
    align-self: flex-start;
    border: 1px solid var(--vegas-blue);
    background: var(--vegas-white);
}

.mu-switch button,
.st-range button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.3rem 0.9rem;
    border: 0;
    background: transparent;
    color: var(--vegas-blue);
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    cursor: pointer;
}

.mu-switch button + button,
.st-range button + button {
    border-left: 1px solid var(--vegas-blue);
}

.mu-switch button:not(.active):hover,
.st-range button:not(.active):hover {
    background: var(--vegas-lightgray);
}

.mu-switch button.active,
.st-range button.active {
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.mu-switch button i {
    color: var(--vegas-gold);
}

.mr-empty {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
    color: var(--vegas-muted);
    text-align: center;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.mr-tab {
    --mr-label-w: 8.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* overall face-off */
.mr-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
        "away label home"
        "away verdict home";
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-top: 3px solid var(--vegas-blue);
}

.mr-hero-team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.mr-hero-away {
    grid-area: away;
}

.mr-hero-home {
    grid-area: home;
    justify-content: flex-end;
    text-align: right;
}

.mr-hero-logo {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.mr-hero-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mr-hero-abbr,
.mr-hero-rank {
    font-weight: bold;
    color: var(--vegas-muted);
}

.mr-hero-abbr {
    font-size: 0.8rem;
}

.mr-hero-rank {
    font-size: 1.4rem;
}

.mr-hero-team.ahead .mr-hero-abbr,
.mr-hero-team.ahead .mr-hero-rank {
    color: var(--vegas-blue);
}

.mr-hero-label,
.mr-hero-verdict {
    text-align: center;
    line-height: 1.2;
}

.mr-hero-label {
    grid-area: label;
    align-self: end;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--vegas-blue);
}

.mr-hero-verdict {
    grid-area: verdict;
    align-self: start;
    font-size: 0.75rem;
    color: var(--vegas-muted);
}

.mr-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

@container (min-width: 46rem) {
    .mr-columns {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }
}

.mr-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.mr-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.2rem 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid var(--vegas-blue);
}

.mr-title {
    font-weight: bold;
    color: var(--vegas-blue);
}

.mr-title i {
    color: var(--vegas-gold);
    margin-right: 0.15rem;
}

.mr-sub {
    font-size: 0.78rem;
    color: var(--vegas-muted);
}

/* unit rows: away rank, then label and track, then home rank */
.mr-units {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
}

.mr-scale,
.mr-unit {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.5rem;
}

.mr-unit + .mr-unit {
    border-top: 1px solid var(--vegas-border);
}

.mr-scale {
    padding-top: 0.25rem;
    padding-bottom: 0.1rem;
    font-size: 0.68rem;
    font-weight: bold;
    color: var(--vegas-muted);
    text-align: center;
    border-bottom: 1px solid var(--vegas-border);
}

.mr-scale-track {
    display: flex;
    justify-content: space-between;
    padding: 0 0.1rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
}

.mr-rank {
    padding: 0.15rem 0;
    border: 1px solid var(--vegas-border);
    color: var(--vegas-muted);
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
}

.mr-rank.ahead {
    background: var(--vegas-blue);
    border-color: var(--vegas-blue);
    color: var(--vegas-white);
}

.mr-unit-main {
    min-width: 0;
}

.mr-unit-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--vegas-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mr-yours {
    padding: 0 0.3rem;
    background: var(--vegas-lightgold);
    color: var(--vegas-blue);
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
}

.mr-track {
    position: relative;
    height: 1.5rem;
}

/* the rail */
.mr-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    background: var(--vegas-lightgray);
}

/* keeps the logos at #1 and last inside the rail's ends */
.mr-track-inner {
    position: absolute;
    inset: 0 0.75rem;
}

.mr-gap {
    position: absolute;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: var(--vegas-gold);
    opacity: 0.7;
}

.mr-marker {
    position: absolute;
    top: 50%;
    width: 1.5rem;
    height: 1.5rem;
    padding: 1px;
    object-fit: contain;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.mr-marker.away {
    z-index: 2;
}

.mr-marker.home {
    z-index: 1;
}

/* offense vs defense cards */
.mr-clash {
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-left: 3px solid var(--vegas-gold);
}

.mr-clash-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.82rem;
    color: var(--vegas-blue);
    border-bottom: 1px solid var(--vegas-border);
}

.mr-clash-logo {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.mr-vs {
    font-size: 0.72rem;
    color: var(--vegas-muted);
}

.mr-clash-row {
    display: grid;
    grid-template-columns: minmax(4rem, 1fr) auto 5.75rem;
    align-items: center;
    gap: 0.5rem;
    padding: 0.22rem 0.6rem;
    font-size: 0.82rem;
}

.mr-clash-row + .mr-clash-row {
    border-top: 1px solid var(--vegas-lightgray);
}

.mr-clash-label {
    font-weight: bold;
    color: var(--vegas-blue);
}

.mr-clash-ranks {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-weight: bold;
    color: var(--vegas-muted);
}

.mr-clash-ranks .ahead {
    color: var(--vegas-blue);
}

.mr-edge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--vegas-blue);
    color: var(--vegas-blue);
    font-size: 0.72rem;
    font-weight: bold;
    white-space: nowrap;
}

.mr-edge img {
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.mr-edge.big {
    background: var(--vegas-blue);
    color: var(--vegas-white);
}

.mr-edge.big img {
    background: var(--vegas-white);
    border-radius: 50%;
    padding: 1px;
}

.mr-edge.even {
    border-color: var(--vegas-border);
    color: var(--vegas-muted);
    font-weight: normal;
}

.mr-footnote {
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--vegas-muted);
}

/* wide cards: the unit label sits beside its track instead of above it */
@container (min-width: 34rem) {
    .mr-unit-main {
        display: grid;
        grid-template-columns: var(--mr-label-w) minmax(0, 1fr);
        align-items: center;
        gap: 0.5rem;
    }

    .mr-scale-track {
        margin-left: calc(var(--mr-label-w) + 0.5rem);
    }
}

/* stat trends */
.st-tab {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.st-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.st-pickers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.st-stat-picker {
    flex: 1 1 14rem;
    min-width: 0;
    max-width: 24rem;
}

.st-range {
    align-self: auto;
}

.st-range button {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
}

.st-description {
    font-size: 0.75rem;
    color: var(--vegas-muted);
}

.st-teams {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.st-team {
    padding: 0.4rem 0.6rem;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-left: 4px solid var(--vegas-blue);
    min-width: 0;
}

.st-team-head {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.st-swatch {
    width: 0.6rem;
    height: 0.6rem;
    flex: 0 0 auto;
}

.st-swatch.away {
    border-radius: 50%;
}

.st-team-logo {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
}

.st-team-abbr {
    font-weight: bold;
    color: var(--vegas-blue);
}

.st-team-games {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--vegas-muted);
    white-space: nowrap;
}

.st-team-empty {
    padding-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--vegas-muted);
}

.st-team-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.st-team-stats > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.st-label {
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    color: var(--vegas-muted);
}

.st-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--vegas-blue);
    white-space: nowrap;
}

.st-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.st-chart-wrap {
    padding: 0.25rem 0.25rem 0;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    min-width: 0;
}

.st-chart {
    height: 15rem;
}

/* wide cards: chart first, the two team summaries stacked in a column beside it */
@container (min-width: 46rem) {
    .st-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 14rem;
        align-items: stretch;
    }

    .st-body .st-chart-wrap,
    .st-body .st-chart-empty {
        grid-column: 1;
        grid-row: 1;
    }

    .st-body .st-teams {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 1fr;
    }

    .st-body .st-team-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.2rem;
    }

    .st-body .st-team-stats .st-value {
        font-size: 1.1rem;
    }
}

.st-tooltip {
    font-size: 0.8rem;
}

.st-tooltip-value {
    font-size: 1rem;
    font-weight: bold;
}

/* phones: full-width switches, two stats per row in the team cards, a shorter chart */
@container (max-width: 30rem) {
    .mu-switch {
        align-self: stretch;
    }

    .mu-switch button {
        flex: 1 1 0;
    }

    .st-range {
        flex: 1 1 100%;
    }

    .st-range button {
        flex: 1 1 0;
    }

    .st-stat-picker {
        flex-basis: 100%;
        max-width: none;
    }

    .st-team-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.15rem;
    }

    .st-team-games {
        display: none;
    }

    .st-chart {
        height: 13rem;
    }

    /* the "who ranks higher" line gets its own row so it can't squeeze the two ranks */
    .mr-hero {
        grid-template-areas:
            "away label home"
            "verdict verdict verdict";
        row-gap: 0.1rem;
    }

    .mr-hero-verdict {
        padding-top: 0.2rem;
        border-top: 1px solid var(--vegas-lightgray);
    }

    .mr-hero-logo {
        width: 2rem;
        height: 2rem;
    }

    .mr-hero-rank {
        font-size: 1.25rem;
    }

    .mr-clash-row {
        grid-template-columns: minmax(3.5rem, 1fr) auto 5.25rem;
        gap: 0.35rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Sportsbooks: book marks in odds headings (BookLogo.razor) */
.book-wordmark {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

/* a white logo on the book's color */
.book-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 0.25rem;
    line-height: 0;
}

.book-badge img {
    display: block;
    width: auto;
    height: 0.95rem;
}

.book-fanduel {
    background: #0070eb;
}

.book-fallback {
    color: var(--vegas-muted);
    font-size: 0.8rem;
    cursor: help;
}

/* the odds panel's heading is dark blue */
.game-panel-heading .book-fallback {
    color: rgba(255, 255, 255, 0.8);
}

/* Lines tab (MatchupLines.razor): built from the Matchup tab's pieces (mu-switch, mr-section, gold-edged panels) */
.ln-tab {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    container-type: inline-size;
    font-variant-numeric: tabular-nums;
}

.ln-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
}

.ln-top .mu-switch button:disabled {
    cursor: default;
}

.ln-top-note {
    font-size: 0.75rem;
    color: var(--vegas-muted);
}

.ln-key {
    padding: 0 0.3rem;
    background: var(--vegas-lightgold);
    color: var(--vegas-blue);
    font-weight: bold;
}

/* three across when there's room; panels for markets nobody has posted are left out, and the rest widen */
.ln-markets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 0.6rem;
}

/* panels in a row share the tallest one's height (the grid stretches them) */
.ln-market {
    display: flex;
    flex-direction: column;
    background: var(--vegas-white);
    border: 1px solid var(--vegas-border);
    border-left: 3px solid var(--vegas-gold);
}

/* side label, then one column per book. The side rows split the panel's height evenly, so a shorter market
   (moneylines have no price line) still lines up with the panels beside it */
.ln-grid {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(3.75rem, auto) repeat(var(--ln-books, 2), minmax(0, 1fr));
    grid-template-rows: auto;
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.ln-grid > * {
    min-width: 0;
    padding: 0.3rem 0.4rem;
    border-top: 1px solid var(--vegas-lightgray);
}

/* header row: market name, then each book's logo, on the dark blue of the card's odds heading */
.ln-market-title,
.ln-book {
    border-top: 0;
    background: var(--vegas-blue);
}

.ln-market-title {
    display: flex;
    align-items: center;
    padding-left: 0.6rem;
    font-size: 0.82rem;
    font-weight: bold;
    color: var(--vegas-white);
}

.ln-book {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ln-book .dk-logo-img {
    width: auto;
    height: 1.25rem;
    padding: 0;
    margin: 0;
}

.ln-book .book-badge {
    padding: 0.22rem 0.4rem;
}

.ln-book .book-badge img {
    height: 0.7rem;
}

/* the user's book: a gold bar under its logo */
.ln-book.is-default::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 3rem;
    height: 2px;
    transform: translateX(-50%);
    background: var(--vegas-gold);
}

.ln-side {
    display: flex;
    align-items: center;
    padding-left: 0.6rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--vegas-muted);
}

.ln-team {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.ln-team img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
}

.ln-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
}

.ln-line {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--vegas-blue);
}

.ln-price {
    font-size: 0.75rem;
    color: var(--vegas-muted);
}

.ln-open {
    font-size: 0.66rem;
    color: var(--vegas-muted);
    white-space: nowrap;
}

/* the best number for a side gets a light gold fill */
.ln-cell.best {
    background: var(--vegas-lightgold);
}

.ln-cell.best .ln-price,
.ln-cell.best .ln-open {
    color: #6b5420;
}

.ln-none {
    color: var(--vegas-gray);
}

.ln-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.9rem;
    font-size: 0.72rem;
    color: var(--vegas-muted);
}
