/* =========================================================
   SPORTS ANALYTICS AI
   COMPLETE APPLICATION STYLESHEET
   ========================================================= */

:root {
    --background-primary: #050b14;
    --background-secondary: #071221;
    --background-tertiary: #0a1829;

    --panel-primary: rgba(12, 29, 50, 0.84);
    --panel-secondary: rgba(15, 38, 65, 0.78);
    --panel-hover: rgba(22, 53, 86, 0.9);

    --border-soft: rgba(118, 174, 222, 0.12);
    --border-medium: rgba(91, 183, 244, 0.25);
    --border-bright: rgba(70, 200, 255, 0.55);

    --text-primary: #f4f9ff;
    --text-secondary: #a8bdd3;
    --text-muted: #6f8ba7;
    --text-dark: #39516a;

    --blue-primary: #1faeff;
    --blue-secondary: #1685dc;
    --cyan-primary: #67e8f9;

    --green-primary: #4ade80;
    --yellow-primary: #facc15;
    --red-primary: #f87171;
    --purple-primary: #a78bfa;

    --font-interface: "Inter", sans-serif;
    --font-display: "Orbitron", sans-serif;
    --font-numbers: "JetBrains Mono", monospace;

    --radius-small: 8px;
    --radius-medium: 13px;
    --radius-large: 19px;
    --radius-extra-large: 26px;

    --shadow-panel:
        0 22px 55px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    --shadow-glow:
        0 0 30px rgba(31, 174, 255, 0.12);

    --transition-fast: 160ms ease;
    --transition-normal: 240ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    color: var(--text-primary);
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(15, 105, 180, 0.12),
            transparent 34%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(30, 192, 210, 0.07),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--background-primary),
            var(--background-secondary) 55%,
            #040912
        );

    font-family: var(--font-interface);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;

    overflow-x: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

::selection {
    color: white;
    background: rgba(31, 174, 255, 0.45);
}


/* =========================================================
   BACKGROUND EFFECTS
   ========================================================= */

.background-effects {
    position: fixed;
    inset: 0;
    z-index: -10;

    pointer-events: none;
    overflow: hidden;
}

.background-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(72, 146, 203, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(72, 146, 203, 0.035) 1px,
            transparent 1px
        );

    background-size: 42px 42px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8),
            transparent 82%
        );
}

.background-glow {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.13;
}

.background-glow-one {
    top: -180px;
    left: -130px;
    background: var(--blue-primary);
}

.background-glow-two {
    top: 220px;
    right: -230px;
    background: var(--cyan-primary);
}


/* =========================================================
   HEADER
   ========================================================= */

.app-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        linear-gradient(
            180deg,
            rgba(4, 13, 26, 0.98),
            rgba(5, 18, 35, 0.95)
        );

    border-bottom: 1px solid var(--border-soft);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.32),
        inset 0 -1px 0 rgba(255, 255, 255, 0.015);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.header-top {
    width: min(1500px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: var(--text-primary);
    text-decoration: none;
}

.brand-logo {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            rgba(31, 174, 255, 0.23),
            rgba(8, 66, 130, 0.3)
        );

    border: 1px solid rgba(90, 200, 255, 0.34);
    border-radius: 15px;

    box-shadow:
        0 0 24px rgba(31, 174, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand-football {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.brand-description {
    color: var(--text-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-status {
    min-height: 34px;
    padding: 8px 12px;

    display: flex;
    align-items: center;
    gap: 8px;

    color: #8bf5b6;
    background: rgba(74, 222, 128, 0.065);

    border: 1px solid rgba(74, 222, 128, 0.18);
    border-radius: 999px;

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.system-status-dot {
    width: 7px;
    height: 7px;

    background: var(--green-primary);
    border-radius: 50%;

    box-shadow:
        0 0 10px rgba(74, 222, 128, 0.9);

    animation: statusPulse 2s infinite;
}

.header-icon-button {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    color: var(--text-secondary);
    background: rgba(14, 36, 61, 0.75);

    border: 1px solid var(--border-soft);
    border-radius: 11px;

    text-decoration: none;

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast);
}

.header-icon-button:hover {
    color: white;
    background: rgba(24, 72, 114, 0.8);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-navigation {
    width: min(1500px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 14px;

    display: flex;
    align-items: stretch;
    gap: 8px;

    overflow-x: auto;
    overscroll-behavior-inline: contain;

    scrollbar-width: none;
}

.main-navigation::-webkit-scrollbar {
    display: none;
}

.navigation-tab {
    position: relative;

    min-width: 105px;
    min-height: 61px;
    padding: 9px 13px;

    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    color: #809ab7;

    background:
        linear-gradient(
            145deg,
            rgba(11, 31, 55, 0.7),
            rgba(6, 20, 40, 0.86)
        );

    border: 1px solid rgba(102, 160, 211, 0.11);
    border-radius: 11px;

    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    transition:
        color var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.navigation-tab::after {
    content: "";

    position: absolute;
    left: 17px;
    right: 17px;
    bottom: -1px;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--blue-primary),
            var(--cyan-primary),
            transparent
        );

    border-radius: 999px;

    opacity: 0;
    transform: scaleX(0.35);

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.navigation-tab:hover {
    color: var(--text-primary);

    background:
        linear-gradient(
            145deg,
            rgba(18, 57, 96, 0.84),
            rgba(8, 29, 57, 0.95)
        );

    border-color: rgba(70, 190, 250, 0.3);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.22),
        0 0 18px rgba(31, 174, 255, 0.07);
}

.navigation-tab:hover::after {
    opacity: 0.55;
    transform: scaleX(1);
}

.navigation-tab.active {
    color: white;

    background:
        linear-gradient(
            145deg,
            rgba(20, 115, 194, 0.38),
            rgba(8, 43, 88, 0.95)
        );

    border-color: rgba(86, 202, 255, 0.54);

    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.25),
        0 0 22px rgba(31, 174, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.075);
}

.navigation-tab.active::after {
    opacity: 1;
    transform: scaleX(1);

    box-shadow:
        0 0 10px rgba(31, 174, 255, 0.7);
}

.navigation-icon {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    color: #60cfff;
    background: rgba(31, 174, 255, 0.07);

    border: 1px solid rgba(78, 192, 245, 0.12);
    border-radius: 8px;

    font-size: 15px;
    font-weight: 900;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.navigation-tab:hover .navigation-icon,
.navigation-tab.active .navigation-icon {
    color: white;
    background: rgba(31, 174, 255, 0.19);

    box-shadow:
        0 0 13px rgba(31, 174, 255, 0.14);
}

.navigation-label {
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.app-main {
    width: min(1500px, calc(100% - 40px));
    min-height: calc(100vh - 230px);
    margin: 0 auto;
    padding: 40px 0 80px;
}

.page-header {
    margin-bottom: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.page-header-content {
    min-width: 0;
}

.page-eyebrow {
    margin-bottom: 8px;

    color: var(--blue-primary);

    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-title {
    margin: 0;

    color: var(--text-primary);

    font-family: var(--font-display);
    font-size: clamp(29px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.page-description {
    max-width: 720px;
    margin: 12px 0 0;

    color: var(--text-secondary);

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-family: var(--font-display);
}

h1 {
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -0.055em;
}

h2 {
    letter-spacing: -0.035em;
}

h3 {
    letter-spacing: -0.025em;
}

p {
    color: var(--text-secondary);
}

.mono,
.stat-number,
.projection-number,
.player-points-number {
    font-family: var(--font-numbers);
}


/* =========================================================
   PANELS AND CARDS
   ========================================================= */

.panel,
.card {
    position: relative;

    background:
        linear-gradient(
            145deg,
            var(--panel-secondary),
            var(--panel-primary)
        );

    border: 1px solid var(--border-soft);
    border-radius: var(--radius-large);

    box-shadow: var(--shadow-panel);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.panel {
    padding: 24px;
}

.card {
    padding: 20px;
}

.panel::before,
.card::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            125deg,
            rgba(255, 255, 255, 0.025),
            transparent 35%
        );

    pointer-events: none;
}

.interactive-card {
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        background var(--transition-normal),
        box-shadow var(--transition-normal);
}

.interactive-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(18, 47, 78, 0.91),
            rgba(10, 29, 52, 0.95)
        );

    border-color: var(--border-medium);

    transform: translateY(-4px);

    box-shadow:
        0 26px 58px rgba(0, 0, 0, 0.34),
        var(--shadow-glow);
}

.panel-header {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.panel-title {
    margin: 0;

    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.panel-subtitle {
    margin: 5px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}


/* =========================================================
   GRID LAYOUTS
   ========================================================= */

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

.grid-full {
    grid-column: span 12;
}

.grid-two-thirds {
    grid-column: span 8;
}

.grid-half {
    grid-column: span 6;
}

.grid-third {
    grid-column: span 4;
}

.grid-quarter {
    grid-column: span 3;
}

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

.stat-card {
    min-height: 128px;
    padding: 19px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.stat-label {
    color: var(--text-muted);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.stat-icon {
    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    color: var(--cyan-primary);
    background: rgba(31, 174, 255, 0.08);

    border: 1px solid rgba(77, 194, 248, 0.12);
    border-radius: 9px;
}

.stat-number {
    color: var(--text-primary);

    font-size: clamp(24px, 3vw, 35px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
}

.stat-change {
    color: var(--green-primary);
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   FORMS
   ========================================================= */

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 7px;

    color: var(--text-secondary);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;

    color: var(--text-primary);
    background: rgba(4, 17, 33, 0.84);

    border: 1px solid rgba(94, 153, 204, 0.17);
    border-radius: 11px;

    outline: none;

    font-family: var(--font-interface);
    font-weight: 600;

    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
    color: #536d88;
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(91, 183, 244, 0.3);
}

input:focus,
select:focus,
textarea:focus {
    background: rgba(6, 23, 44, 0.94);
    border-color: rgba(31, 174, 255, 0.7);

    box-shadow:
        0 0 0 3px rgba(31, 174, 255, 0.1),
        0 0 24px rgba(31, 174, 255, 0.08);
}

select {
    cursor: pointer;
}

textarea {
    min-height: 120px;
    resize: vertical;
}


/* =========================================================
   SEARCH
   ========================================================= */

.search-container {
    position: relative;
}

.search-box {
    position: relative;
}

.search-input {
    min-height: 58px;
    padding-left: 51px;
    padding-right: 18px;

    border-radius: 15px;

    font-size: 16px;
    font-weight: 700;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 18px;

    color: var(--blue-primary);

    font-size: 20px;

    transform: translateY(-50%);
    pointer-events: none;
}

.search-results-dropdown,
.autocomplete-results {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 500;

    max-height: 390px;
    padding: 7px;

    background: rgba(6, 20, 39, 0.98);

    border: 1px solid var(--border-medium);
    border-radius: 15px;

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.46),
        0 0 25px rgba(31, 174, 255, 0.08);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    overflow-y: auto;
}

.search-result-item,
.autocomplete-item {
    width: 100%;
    padding: 12px 13px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    color: var(--text-primary);
    background: transparent;

    border: 1px solid transparent;
    border-radius: 10px;

    text-align: left;
    text-decoration: none;
    cursor: pointer;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.search-result-item:hover,
.search-result-item.active,
.autocomplete-item:hover,
.autocomplete-item.active {
    background: rgba(31, 174, 255, 0.1);
    border-color: rgba(31, 174, 255, 0.2);
}

.player-name {
    color: var(--text-primary);

    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.player-details {
    margin-top: 3px;

    color: var(--text-muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.player-points-number {
    color: var(--cyan-primary);
    font-size: 15px;
    font-weight: 800;
}

.player-points-label {
    color: var(--text-muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button,
.btn,
button[type="submit"],
input[type="submit"] {
    min-height: 43px;
    padding: 10px 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue-primary),
            var(--blue-secondary)
        );

    border: 1px solid rgba(100, 211, 255, 0.45);
    border-radius: 10px;

    box-shadow:
        0 10px 22px rgba(0, 107, 181, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform var(--transition-fast),
        filter var(--transition-fast),
        box-shadow var(--transition-fast);
}

.button:hover,
.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
    filter: brightness(1.11);
    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(0, 124, 210, 0.28),
        0 0 18px rgba(31, 174, 255, 0.12);
}

.button:active,
.btn:active {
    transform: translateY(0);
}

.button-secondary,
.btn-secondary {
    color: var(--text-secondary);
    background: rgba(16, 39, 66, 0.82);

    border-color: var(--border-soft);
    box-shadow: none;
}

.button-secondary:hover,
.btn-secondary:hover {
    color: white;
    border-color: var(--border-medium);
}


/* =========================================================
   TABLES
   ========================================================= */

.table-container {
    width: 100%;

    border: 1px solid var(--border-soft);
    border-radius: 15px;

    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(6, 23, 43, 0.86);
}

th {
    padding: 13px 15px;

    color: #7591ad;

    border-bottom: 1px solid var(--border-soft);

    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

td {
    padding: 14px 15px;

    color: var(--text-secondary);

    border-bottom: 1px solid rgba(110, 164, 211, 0.075);

    font-size: 13px;
    font-weight: 600;
}

tbody tr {
    transition:
        background var(--transition-fast),
        transform var(--transition-fast);
}

tbody tr:hover {
    background: rgba(31, 174, 255, 0.045);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.table-number {
    color: var(--text-primary);
    font-family: var(--font-numbers);
    font-weight: 700;
}


/* =========================================================
   BADGES
   ========================================================= */

.badge,
.position-badge,
.team-badge,
.matchup-badge {
    min-height: 25px;
    padding: 5px 9px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--cyan-primary);
    background: rgba(31, 174, 255, 0.08);

    border: 1px solid rgba(31, 174, 255, 0.16);
    border-radius: 999px;

    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-success,
.matchup-great,
.matchup-good {
    color: #88f3ae;
    background: rgba(74, 222, 128, 0.075);
    border-color: rgba(74, 222, 128, 0.18);
}

.badge-warning,
.matchup-neutral {
    color: #ffe56e;
    background: rgba(250, 204, 21, 0.075);
    border-color: rgba(250, 204, 21, 0.18);
}

.badge-danger,
.matchup-difficult {
    color: #ffa0a0;
    background: rgba(248, 113, 113, 0.075);
    border-color: rgba(248, 113, 113, 0.18);
}


/* =========================================================
   PLAYER PROFILE
   ========================================================= */

.player-profile-header {
    margin-bottom: 23px;
    padding: 26px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background:
        linear-gradient(
            120deg,
            rgba(19, 58, 96, 0.72),
            rgba(8, 25, 46, 0.92)
        );

    border: 1px solid var(--border-medium);
    border-radius: var(--radius-extra-large);

    box-shadow:
        var(--shadow-panel),
        0 0 35px rgba(31, 174, 255, 0.07);
}

.player-profile-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.player-avatar {
    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    color: var(--cyan-primary);

    background:
        linear-gradient(
            145deg,
            rgba(31, 174, 255, 0.18),
            rgba(10, 55, 101, 0.3)
        );

    border: 1px solid rgba(82, 198, 251, 0.3);
    border-radius: 20px;

    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 800;
}

.player-profile-name {
    margin: 0;

    font-size: clamp(25px, 4vw, 39px);
    font-weight: 800;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.player-profile-meta {
    margin-top: 8px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.player-projection-summary {
    text-align: right;
}

.projection-label {
    color: var(--text-muted);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projection-number {
    margin-top: 4px;

    color: var(--cyan-primary);

    font-size: clamp(31px, 4vw, 46px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
}

.projection-unit {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}


/* =========================================================
   PROFILE TABS
   ========================================================= */

.profile-tabs,
.content-tabs {
    margin-bottom: 21px;
    padding: 6px;

    display: flex;
    gap: 6px;

    background: rgba(5, 18, 35, 0.79);

    border: 1px solid var(--border-soft);
    border-radius: 13px;

    overflow-x: auto;
    scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar,
.content-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tab,
.content-tab {
    min-height: 40px;
    padding: 9px 15px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--text-muted);
    background: transparent;

    border: 1px solid transparent;
    border-radius: 9px;

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.profile-tab:hover,
.content-tab:hover {
    color: var(--text-primary);
    background: rgba(31, 174, 255, 0.065);
}

.profile-tab.active,
.content-tab.active {
    color: white;
    background: rgba(31, 174, 255, 0.14);
    border-color: rgba(31, 174, 255, 0.28);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 15px rgba(31, 174, 255, 0.07);
}


/* =========================================================
   WEEK SELECTOR
   ========================================================= */

.week-selector {
    display: flex;
    align-items: center;
    gap: 7px;

    overflow-x: auto;
    padding-bottom: 7px;

    scrollbar-width: none;
}

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

.week-button {
    min-width: 42px;
    min-height: 39px;
    padding: 8px 11px;

    flex: 0 0 auto;

    color: var(--text-muted);
    background: rgba(8, 27, 49, 0.78);

    border: 1px solid var(--border-soft);
    border-radius: 9px;

    font-family: var(--font-numbers);
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}

.week-button:hover {
    color: white;
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.week-button.active {
    color: white;

    background:
        linear-gradient(
            135deg,
            var(--blue-primary),
            var(--blue-secondary)
        );

    border-color: rgba(94, 206, 255, 0.6);

    box-shadow:
        0 8px 18px rgba(0, 118, 199, 0.22);
}


/* =========================================================
   FLASH MESSAGES
   ========================================================= */

.flash-messages {
    margin-bottom: 20px;
}

.flash-message {
    margin-bottom: 10px;
    padding: 12px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    color: var(--text-primary);
    background: rgba(31, 174, 255, 0.08);

    border: 1px solid rgba(31, 174, 255, 0.18);
    border-radius: 11px;

    font-size: 13px;
    font-weight: 600;
}

.flash-success {
    background: rgba(74, 222, 128, 0.075);
    border-color: rgba(74, 222, 128, 0.18);
}

.flash-error,
.flash-danger {
    background: rgba(248, 113, 113, 0.075);
    border-color: rgba(248, 113, 113, 0.18);
}

.flash-close {
    padding: 0;

    color: var(--text-secondary);
    background: transparent;

    border: 0;

    font-size: 20px;
    cursor: pointer;
}


/* =========================================================
   EMPTY STATES
   ========================================================= */

.empty-state {
    min-height: 260px;
    padding: 35px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.empty-state-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 17px;

    display: grid;
    place-items: center;

    color: var(--blue-primary);
    background: rgba(31, 174, 255, 0.08);

    border: 1px solid rgba(31, 174, 255, 0.16);
    border-radius: 17px;

    font-size: 25px;
}

.empty-state-title {
    margin: 0 0 7px;

    font-size: 16px;
    font-weight: 750;
    text-transform: uppercase;
}

.empty-state-text {
    max-width: 480px;
    margin: 0;

    color: var(--text-muted);
    font-size: 13px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.app-footer {
    width: min(1500px, calc(100% - 40px));
    min-height: 70px;
    margin: 0 auto;
    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    color: var(--text-dark);

    border-top: 1px solid rgba(100, 160, 211, 0.07);

    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.footer-status-dot {
    width: 5px;
    height: 5px;

    background: var(--green-primary);
    border-radius: 50%;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #040b14;
}

::-webkit-scrollbar-thumb {
    background: rgba(81, 126, 164, 0.35);
    border: 2px solid #040b14;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(31, 174, 255, 0.46);
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes statusPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.82);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel,
.card,
.player-profile-header {
    animation: fadeUp 350ms ease both;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

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

    .grid-two-thirds,
    .grid-half,
    .grid-third,
    .grid-quarter {
        grid-column: span 6;
    }
}

@media (max-width: 800px) {
    .header-top,
    .main-navigation,
    .app-main,
    .app-footer {
        width: calc(100% - 24px);
    }

    .system-status {
        display: none;
    }

    .navigation-tab {
        min-width: 92px;
    }

    .page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .player-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .player-projection-summary {
        text-align: left;
    }

    .grid-two-thirds,
    .grid-half,
    .grid-third,
    .grid-quarter {
        grid-column: span 12;
    }
}

@media (max-width: 560px) {
    .header-top {
        min-height: 69px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-description {
        display: none;
    }

    .main-navigation {
        gap: 6px;
        padding-bottom: 11px;
    }

    .navigation-tab {
        min-width: 82px;
        min-height: 56px;
        padding: 7px 9px;
    }

    .navigation-label {
        font-size: 8px;
    }

    .app-main {
        padding-top: 27px;
    }

    .panel {
        padding: 18px;
    }

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

    .player-profile-header {
        padding: 20px;
    }

    .player-profile-main {
        align-items: flex-start;
    }

    .player-avatar {
        width: 58px;
        height: 58px;
        border-radius: 15px;
        font-size: 19px;
    }

    .player-profile-name {
        font-size: 23px;
    }

    .app-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   PLAYER PROFILE TAB CONTENT
   ========================================================= */

.profile-tab-panel {
    display: none;
}

.profile-tab-panel.active {
    display: block;
    animation: fadeUp 260ms ease both;
}

.player-overview-grid {
    margin-top: 18px;
}

.snapshot-list {
    display: flex;
    flex-direction: column;
}

.snapshot-row {
    min-height: 54px;
    padding: 12px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-bottom: 1px solid var(--border-soft);
}

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

.snapshot-label {
    color: var(--text-muted);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.snapshot-value {
    color: var(--text-primary);
    font-family: var(--font-numbers);
    font-size: 13px;
}

.snapshot-success {
    color: var(--green-primary);
}

.weekly-detail-container {
    margin-top: 20px;
}

.weekly-detail-panel {
    display: none;
}

.weekly-detail-panel.active {
    display: block;
    animation: fadeUp 250ms ease both;
}

.weekly-matchup-header {
    min-height: 170px;
    padding: 25px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(31, 174, 255, 0.15),
            transparent 33%
        ),
        linear-gradient(
            130deg,
            rgba(17, 52, 88, 0.86),
            rgba(7, 23, 43, 0.96)
        );

    border: 1px solid var(--border-medium);
    border-radius: var(--radius-large);
}

.weekly-matchup-title {
    margin: 0;

    font-size: clamp(28px, 5vw, 50px);
    font-weight: 800;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.weekly-matchup-meta {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.weekly-main-projection {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;

    text-align: right;
}

.weekly-stat-grid,
.season-total-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(150px, 1fr)
    );
    gap: 12px;
}

.weekly-stat-card {
    min-height: 112px;
    padding: 17px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(14, 39, 67, 0.78),
            rgba(7, 24, 45, 0.92)
        );

    border: 1px solid var(--border-soft);
    border-radius: 13px;

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast);
}

.weekly-stat-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(19, 53, 89, 0.85),
            rgba(9, 31, 57, 0.96)
        );

    border-color: var(--border-medium);
    transform: translateY(-3px);
}

.weekly-stat-label {
    color: var(--text-muted);

    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.weekly-stat-number {
    color: var(--text-primary);

    font-family: var(--font-numbers);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}

.weekly-table {
    margin-top: 22px;
}

.clickable-week-row {
    cursor: pointer;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(175px, 1fr)
    );
    gap: 13px;
}

.schedule-card {
    min-height: 160px;
    padding: 17px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;

    color: var(--text-primary);

    background:
        linear-gradient(
            145deg,
            rgba(14, 39, 67, 0.78),
            rgba(7, 24, 45, 0.92)
        );

    border: 1px solid var(--border-soft);
    border-radius: 14px;

    text-align: left;
    cursor: pointer;

    transition:
        transform var(--transition-fast),
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.schedule-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(20, 58, 96, 0.88),
            rgba(9, 31, 58, 0.97)
        );

    border-color: var(--border-medium);
    transform: translateY(-4px);

    box-shadow:
        0 17px 35px rgba(0, 0, 0, 0.24),
        0 0 20px rgba(31, 174, 255, 0.07);
}

.schedule-week {
    color: var(--blue-primary);

    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.schedule-opponent {
    color: var(--text-primary);

    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.schedule-points {
    color: var(--cyan-primary);

    font-family: var(--font-numbers);
    font-size: 13px;
    font-weight: 800;
}

.compare-placeholder {
    min-height: 300px;
    padding: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    text-align: left;
}

.compare-placeholder-title {
    margin: 0;

    font-size: clamp(23px, 4vw, 35px);
    text-transform: uppercase;
}

.compare-placeholder-text {
    max-width: 600px;
    margin: 9px 0 0;
}

@media (max-width: 700px) {
    .weekly-matchup-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .weekly-main-projection {
        align-items: flex-start;
        text-align: left;
    }

    .compare-placeholder {
        align-items: flex-start;
        flex-direction: column;
    }
}

.autocomplete-message {
    padding: 16px;

    color: var(--text-muted);

    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.autocomplete-points {
    flex-shrink: 0;
    text-align: right;
}

.autocomplete-results[hidden] {
    display: none;
}

/* ============================
   PLAYER PROFILE UI FIX
============================ */

.player-summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:24px;
    margin:35px 0;
}

.player-summary-grid .panel{
    padding:24px;
}

.panel{
    margin-bottom:32px;
}

.table-wrapper{
    overflow-x:auto;
    margin-top:25px;
}

.data-table{
    width:100%;
    border-collapse:collapse;
}

.data-table th{
    padding:16px 18px;
    text-align:left;
    border-bottom:2px solid rgba(255,255,255,.15);
}

.data-table td{
    padding:14px 18px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.data-table tbody tr:hover{
    background:rgba(255,255,255,.05);
}

.player-stat-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:24px;
}

.player-stat-box{
    padding:18px;
}

.player-stat-box span{
    display:block;
    margin-bottom:8px;
    color:#aaa;
    font-size:.9rem;
}

.player-stat-box strong{
    font-size:1.45rem;
}

.page-header{
    margin-bottom:40px;
}

.section-title{
    margin-bottom:20px;
}

.page-eyebrow{
    margin-bottom:8px;
}

.section-heading-row{
    margin-bottom:20px;
}

.empty-state{
    padding:35px;
    text-align:center;
}

/* =========================================================
   PROJECTION LOCATION AND MATCHUP COLOURS
   ========================================================= */

.location-badge,
.matchup-rating {
    min-width: 72px;
    min-height: 28px;
    padding: 6px 11px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 999px;

    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.065em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;

    transition:
        filter var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

/* Location badges */

.location-home {
    color: #8edcff;
    background: rgba(31, 174, 255, 0.12);
    border-color: rgba(31, 174, 255, 0.32);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 14px rgba(31, 174, 255, 0.08);
}

.location-away {
    color: #ffe277;
    background: rgba(250, 204, 21, 0.10);
    border-color: rgba(250, 204, 21, 0.27);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 14px rgba(250, 204, 21, 0.06);
}

.location-bye {
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.11);
    border-color: rgba(167, 139, 250, 0.28);
}

.location-unknown {
    color: var(--text-muted);
    background: rgba(111, 139, 167, 0.08);
    border-color: rgba(111, 139, 167, 0.16);
}

/* Matchup badges */

.matchup-rating-excellent,
.matchup-rating-great,
.matchup-rating-very-good {
    color: #a7f3c1;
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(74, 222, 128, 0.36);

    box-shadow: 0 0 15px rgba(74, 222, 128, 0.10);
}

.matchup-rating-good,
.matchup-rating-easy {
    color: #d0f7a2;
    background: rgba(132, 204, 22, 0.12);
    border-color: rgba(163, 230, 53, 0.30);
}

.matchup-rating-neutral,
.matchup-rating-average {
    color: #a8d8f0;
    background: rgba(100, 160, 211, 0.10);
    border-color: rgba(100, 160, 211, 0.23);
}

.matchup-rating-tough,
.matchup-rating-hard {
    color: #ffd78a;
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(251, 146, 60, 0.30);
}

.matchup-rating-difficult,
.matchup-rating-very-tough {
    color: #ffaaaa;
    background: rgba(239, 68, 68, 0.13);
    border-color: rgba(248, 113, 113, 0.32);

    box-shadow: 0 0 15px rgba(248, 113, 113, 0.08);
}

.matchup-rating-bye {
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.11);
    border-color: rgba(167, 139, 250, 0.28);
}

.data-table tbody tr:hover .location-badge,
.data-table tbody tr:hover .matchup-rating {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .location-badge,
    .matchup-rating {
        min-width: 62px;
        padding: 6px 9px;
        font-size: 7px;
    }
}


/* =========================================================
   RELIABLE PROJECTION BADGES — HOME, AWAY, NEUTRAL, MATCHUPS
   ========================================================= */

.projection-badge {
    min-width: 78px;
    min-height: 30px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.065em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.projection-location-home { color:#9be2ff !important; background:rgba(31,174,255,.18) !important; border-color:rgba(31,174,255,.48) !important; }
.projection-location-away { color:#ffe88c !important; background:rgba(250,204,21,.16) !important; border-color:rgba(250,204,21,.42) !important; }
.projection-location-neutral { color:#d9c7ff !important; background:rgba(167,139,250,.16) !important; border-color:rgba(167,139,250,.42) !important; }
.projection-location-bye { color:#efb9ff !important; background:rgba(217,70,239,.15) !important; border-color:rgba(217,70,239,.40) !important; }
.projection-location-unknown { color:#a8bdd3 !important; background:rgba(111,139,167,.12) !important; border-color:rgba(111,139,167,.28) !important; }

.projection-matchup-excellent { color:#b5ffd0 !important; background:rgba(22,163,74,.22) !important; border-color:rgba(74,222,128,.55) !important; }
.projection-matchup-good { color:#e1ffad !important; background:rgba(101,163,13,.20) !important; border-color:rgba(163,230,53,.48) !important; }
.projection-matchup-neutral { color:#b9dcf2 !important; background:rgba(71,112,148,.20) !important; border-color:rgba(125,180,220,.42) !important; }
.projection-matchup-tough { color:#ffd99a !important; background:rgba(234,88,12,.20) !important; border-color:rgba(251,146,60,.50) !important; }
.projection-matchup-difficult { color:#ffb4b4 !important; background:rgba(220,38,38,.22) !important; border-color:rgba(248,113,113,.55) !important; }
.projection-matchup-bye { color:#efb9ff !important; background:rgba(217,70,239,.15) !important; border-color:rgba(217,70,239,.40) !important; }

.data-table tbody tr:hover .projection-badge { filter:brightness(1.15); transform:translateY(-1px); }

@media (max-width:700px) {
    .projection-badge { min-width:66px; padding:6px 9px; font-size:7px; }
}

/* =========================================================
   MULTI-USER ACCOUNT + LEAGUE CONTEXT
   ========================================================= */

.header-league-form {
    margin: 0;
}

.header-league-select {
    min-height: 34px;
    max-width: 210px;
    padding: 0 30px 0 10px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 9px;
    background: #08172a;
    color: #dceafa;
    font-family: var(--font-mono, "JetBrains Mono", monospace);
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.header-league-empty,
.header-account-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 9px;
    background: rgba(47, 143, 255, 0.07);
    color: #9ecbfa;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.header-account-button {
    color: #ffffff;
}

.header-league-empty:hover,
.header-account-button:hover {
    border-color: rgba(96, 165, 250, 0.34);
    background: rgba(47, 143, 255, 0.12);
}

@media (max-width: 900px) {
    .header-league-select {
        max-width: 150px;
    }
}


/* Bulk 4 — AI GM */
.ai-gm-page{padding-bottom:40px}.gm-metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0}.gm-metric,.panel-card{background:rgba(10,30,56,.72);border:1px solid rgba(70,150,230,.22);border-radius:18px;padding:20px}.gm-metric span{display:block;color:#94aac3;font-size:12px;text-transform:uppercase;font-weight:700}.gm-metric strong{display:block;font-size:28px;margin-top:8px}.gm-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}.gm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.gm-form-grid label{font-size:12px;font-weight:700;color:#a9bdd2}.gm-form-grid input,.gm-form-grid select{width:100%;margin-top:6px;background:#0d1d33;border:1px solid #244d78;color:#f6f9ff;border-radius:10px;padding:11px}.gm-form-grid .primary-button{grid-column:1/-1}.gm-opportunities{display:grid;gap:10px;margin-top:12px}.gm-opportunity{display:flex;gap:12px;align-items:flex-start;padding:12px;background:#0b1a2d;border-radius:12px}.gm-opportunity p{margin:4px 0 0;color:#91a8c1}.gm-badge{min-width:58px;text-align:center;background:#12365d;color:#67b7ff;border-radius:999px;padding:6px 8px;font-size:11px;font-weight:800}.muted-note{color:#849bb4;font-size:12px}.pick-list{display:grid;gap:9px;margin-top:16px}.pick-row{display:flex;align-items:center;justify-content:space-between;background:#0b1a2d;border-radius:11px;padding:12px}.pick-row span{display:block;color:#8fa6bf;font-size:12px;margin-top:3px}.text-button{background:none;border:0;color:#67b7ff;cursor:pointer}.positive-text{color:#5ee39a}.negative-text{color:#ff8383}.empty-state{padding:22px;color:#8fa6bf}.table-scroll{overflow-x:auto}.data-table small{display:block;color:#7990aa;margin-top:3px}
@media(max-width:1000px){.gm-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gm-grid-two{grid-template-columns:1fr}}@media(max-width:620px){.gm-metric-grid,.gm-form-grid{grid-template-columns:1fr}}

/* =========================================================
   FANTASY MVP — PRO EXPERIENCE V1
   ========================================================= */
.header-go-pro,
.header-pro-badge{
    min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;
    padding:0 11px;border-radius:9px;text-decoration:none;white-space:nowrap;font-size:10px;font-weight:900;
}
.header-go-pro{border:1px solid rgba(168,85,247,.48);background:linear-gradient(135deg,rgba(124,58,237,.22),rgba(88,28,135,.28));color:#e9d5ff;box-shadow:0 0 18px rgba(124,58,237,.12)}
.header-go-pro:hover{border-color:rgba(192,132,252,.72);background:linear-gradient(135deg,rgba(124,58,237,.34),rgba(88,28,135,.40));transform:translateY(-1px)}
.header-pro-badge{border:1px solid rgba(192,132,252,.45);background:linear-gradient(135deg,rgba(91,33,182,.36),rgba(126,34,206,.24));color:#f3e8ff;box-shadow:0 0 20px rgba(147,51,234,.16)}
.header-pro-badge img{width:23px;height:23px;border-radius:50%;object-fit:cover;box-shadow:0 0 10px rgba(168,85,247,.32)}
.header-pro-badge span{letter-spacing:.08em}
.tier-pro{--pro-purple:#8b5cf6;--pro-violet:#a855f7;--pro-soft:#c4b5fd}
.tier-pro .app-header{box-shadow:0 10px 36px rgba(88,28,135,.08)}
.tier-pro .desktop-nav-link.active,.tier-pro .nav-menu[data-active="true"]>summary{border-color:rgba(168,85,247,.48)!important;box-shadow:0 0 16px rgba(124,58,237,.10)}
.tier-pro .panel-card,.tier-pro .gm-metric{border-color:rgba(168,85,247,.18)}
.tier-pro .primary-button{background:linear-gradient(135deg,#6d28d9,#9333ea)!important;box-shadow:0 8px 24px rgba(109,40,217,.18)}
.pro-mode-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:18px 20px;border:1px solid rgba(168,85,247,.35);border-radius:17px;background:radial-gradient(circle at 90% 50%,rgba(147,51,234,.18),transparent 30%),linear-gradient(135deg,rgba(61,28,121,.42),rgba(36,18,71,.46));box-shadow:0 16px 40px rgba(55,23,100,.12)}
.pro-mode-banner-copy{display:flex;align-items:center;gap:14px}.pro-mode-banner img{width:54px;height:54px;border-radius:50%;object-fit:cover;box-shadow:0 0 20px rgba(168,85,247,.35)}
.pro-mode-banner strong{display:block;color:#fff;font-family:"Orbitron",sans-serif;font-size:.9rem}.pro-mode-banner span{display:block;margin-top:4px;color:#c4b5fd;font-size:.68rem;line-height:1.45}.pro-mode-pill{padding:7px 10px;border-radius:999px;border:1px solid rgba(192,132,252,.38);background:rgba(126,34,206,.24);color:#e9d5ff!important;font-family:"JetBrains Mono",monospace;font-size:.6rem!important;font-weight:900;letter-spacing:.08em}
@media(max-width:760px){.header-go-pro,.header-pro-badge{padding:0 9px}.header-pro-badge img{width:20px;height:20px}.pro-mode-banner{align-items:flex-start}.pro-mode-pill{display:none!important}}


/* Fantasy MVP Pro Icon Flash Fix V1 — defensive bounds */
img[src*="fantasy-mvp-pro.png"]{object-fit:cover;box-sizing:border-box}
.header-pro-badge img[src*="fantasy-mvp-pro.png"]{width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;flex:0 0 23px}
.pro-mode-banner img[src*="fantasy-mvp-pro.png"]{width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;flex:0 0 54px}
.subscription-card img[src*="fantasy-mvp-pro.png"]{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important;flex:0 0 52px}
.pro-current img[src*="fantasy-mvp-pro.png"]{width:30px!important;height:30px!important;max-width:30px!important;max-height:30px!important;flex:0 0 30px}

/* =========================================================
   FANTASY MVP WEEKLY — HIDE HORIZONTAL SCROLLBAR (V2.4)
   The global scrollbar theme is intentionally broad. Weekly Rankings keeps
   horizontal scrolling available but never paints the scrollbar/blue thumb.
   This lives after the global ::-webkit-scrollbar rules so filter reloads
   cannot restore the themed bar.
   ========================================================= */
html body .weekly-page .weekly-table-card {
    overflow: hidden !important;
}
html body .weekly-page .weekly-table-scroll {
    overflow-x: auto !important;
    overflow-y: visible !important;
    max-width: 100% !important;
    scrollbar-width: none !important;
    scrollbar-color: transparent transparent !important;
    -ms-overflow-style: none !important;
}
html body .weekly-page .weekly-table-scroll::-webkit-scrollbar,
html body .weekly-page .weekly-table-scroll::-webkit-scrollbar:horizontal,
html body .weekly-page .weekly-table-scroll::-webkit-scrollbar-track,
html body .weekly-page .weekly-table-scroll::-webkit-scrollbar-thumb,
html body .weekly-page .weekly-table-scroll::-webkit-scrollbar-corner {
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: none !important;
    opacity: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Weekly Rankings: remove custom top scrollbar */
.weekly-page .sai-top-scroll,
.weekly-page .sai-scroll-shell > .sai-top-scroll {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Fantasy MVP Availability Trend V2.6 */
.availability-subsignal{display:inline-flex;align-items:center;justify-content:center;margin-left:3px;padding:0 3px;min-width:15px;height:16px;border-radius:5px;font:800 .48rem/1 "Orbitron",sans-serif;vertical-align:middle;white-space:nowrap}
.availability-trend-up{color:#63df91;background:rgba(72,209,122,.11);border:1px solid rgba(72,209,122,.22)}
.availability-trend-neutral{color:#ffd166;background:rgba(255,193,7,.10);border:1px solid rgba(255,193,7,.20)}
.availability-trend-down{color:#ff8e8e;background:rgba(255,99,99,.11);border:1px solid rgba(255,99,99,.22)}
/* Fantasy MVP Draft Status Symbols V2.6.1 */
.draft-page .live-status,.draft-page .injury-status,.draft-page .draft-live-status,
.availability-badge-fixed{display:inline-flex!important;align-items:center!important;gap:4px!important;width:auto!important;max-width:max-content!important;white-space:nowrap!important;line-height:1!important;vertical-align:middle!important}
.availability-badge-fixed .availability-subsignal{position:static!important;display:inline-flex!important;margin:0!important;transform:none!important;float:none!important;vertical-align:middle!important;flex:0 0 auto!important}
/* Never leave an old V2.6 orphan signal beside a status badge. */
.draft-page .availability-subsignal:not(.availability-badge-fixed .availability-subsignal){display:none!important}
