/* Multi-sport shell, official imagery, and persistent sport atmospheres. */

:root {
    --sport-accent: #667eea;
    --sport-accent-soft: #b6b8ff;
    --sport-glow: rgba(102, 126, 234, .14);
}

html[data-sport="mlb"] {
    --sport-accent: #d94a55;
    --sport-accent-soft: #f1a0a7;
    --sport-glow: rgba(217, 74, 85, .13);
}

html[data-sport="nfl"] {
    --sport-accent: #2c8bd8;
    --sport-accent-soft: #8bc9f4;
    --sport-glow: rgba(44, 139, 216, .14);
}

html[data-sport="f1"] {
    --sport-accent: #ff3b45;
    --sport-accent-soft: #ff9ca2;
    --sport-glow: rgba(255, 59, 69, .14);
}

html[data-sport="golf"] {
    --sport-accent: #d2aa63;
    --sport-accent-soft: #ead2a4;
    --sport-glow: rgba(78, 210, 138, .13);
}

html[data-sport="ufc"] {
    --sport-accent: #e43b45;
    --sport-accent-soft: #ff9ca2;
    --sport-surface: #170f11;
}

.f1-next-race-note {
    display: block;
    margin-top: 5px;
    color: #88838e;
    font-family: var(--bt-mono);
    font-size: 7px;
    line-height: 1.35;
}

.nfl-player-outlook { display: flex; flex-direction: column; gap: 10px; }
.nfl-outlook-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .36fr); gap: 1px; border: 1px solid #302d36; background: #302d36; }
.nfl-outlook-summary > div { padding: 16px; background: #111116; }
.nfl-outlook-summary span,
.nfl-outlook-note strong { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 8px; letter-spacing: .08em; }
.nfl-outlook-summary strong { display: block; margin: 5px 0; font-size: 17px; font-weight: 600; }
.nfl-outlook-summary p,
.nfl-outlook-note p { margin: 0; color: #827d88; font-size: 10px; line-height: 1.5; }
.nfl-team-forecast strong { color: #fff; font-size: 23px; }
.nfl-team-forecast small { color: #827d88; font-size: 8px; }
.nfl-outlook-metrics { border: 1px solid #302d36; background: #111116; }
.nfl-outlook-note { padding: 14px; border: 1px solid #302d36; background: #111116; }
.nfl-outlook-note button { margin-top: 10px; padding: 9px 12px; border: 1px solid var(--sport-accent); background: color-mix(in srgb, var(--sport-accent) 12%, #111116); color: #fff; cursor: pointer; font-size: 9px; }

@media (max-width: 620px) {
    .nfl-outlook-summary { grid-template-columns: 1fr; }
}

html[data-sport="golf"] body {
    --sport-glow: rgba(210, 170, 99, .10);
}

html[data-sport="ufc"] body {
    background: repeating-linear-gradient(135deg, transparent 0 58px, rgba(255,255,255,.011) 58px 59px), radial-gradient(circle at 78% -10%, rgba(228,59,69,.17), transparent 38%), #0d0809;
}

html[data-sport="nba"] body {
    background:
        linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px),
        radial-gradient(circle at 76% -20%, rgba(102,126,234,.13), transparent 38%),
        #09090d;
    background-size: 44px 44px, 44px 44px, auto, auto;
}

html[data-sport="mlb"] body {
    background:
        repeating-linear-gradient(90deg, transparent 0 88px, rgba(255,255,255,.012) 88px 89px),
        radial-gradient(ellipse at 50% 115%, rgba(130,31,39,.19), transparent 45%),
        radial-gradient(circle at 80% -12%, rgba(217,74,85,.13), transparent 36%),
        #09090d;
}

html[data-sport="nfl"] body {
    background:
        repeating-linear-gradient(0deg, transparent 0 63px, rgba(255,255,255,.015) 63px 64px),
        linear-gradient(90deg, transparent 49.85%, rgba(255,255,255,.025) 50%, transparent 50.15%),
        radial-gradient(circle at 78% -10%, rgba(44,139,216,.16), transparent 38%),
        #080b10;
    background-size: auto, 180px 100%, auto, auto;
}

html[data-sport="f1"] body {
    background: repeating-linear-gradient(135deg, transparent 0 52px, rgba(255,255,255,.012) 52px 53px), radial-gradient(circle at 80% -10%, rgba(255,59,69,.16), transparent 38%), #0c080a;
}

html[data-sport="golf"] body {
    background: linear-gradient(rgba(255,255,255,.01) 1px, transparent 1px), radial-gradient(ellipse at 50% 115%, rgba(36,132,77,.17), transparent 48%), radial-gradient(circle at 78% -10%, rgba(78,210,138,.13), transparent 38%), #07100b;
    background-size: 54px 54px, auto, auto, auto;
}

html[data-sport="mlb"] .brand-ball {
    border-radius: 50%;
    border-color: #ef9aa1;
    background: radial-gradient(circle at 38% 35%, #242029, #120f13);
}

html[data-sport="mlb"] .brand-ball::before,
html[data-sport="mlb"] .brand-ball::after {
    inset: -2px 13px;
    border: 0;
    border-left: 1px dashed rgba(239,154,161,.9);
    border-radius: 50%;
    transform: rotate(0);
}

html[data-sport="mlb"] .brand-ball::after {
    inset: -2px 13px;
    border-left: 0;
    border-right: 1px dashed rgba(239,154,161,.9);
}

html[data-sport="nfl"] .brand-ball {
    width: 31px;
    border-color: #8bc9f4;
    border-radius: 55% 45% 55% 45%;
    background: linear-gradient(135deg, #293849, #111821);
    transform: rotate(-35deg);
}

html[data-sport="nfl"] .brand-ball::before {
    inset: 12px 6px;
    border: 0;
    border-top: 1px solid rgba(139,201,244,.8);
    transform: rotate(0);
}

html[data-sport="nfl"] .brand-ball::after {
    inset: 7px 14px;
    border: 0;
    border-left: 1px dashed rgba(139,201,244,.75);
    transform: rotate(0);
}

/* Sport-native masthead marks. The shell should never look like basketball
   after the user has moved into the paddock or onto the course. */
html[data-sport="f1"] .brand-ball {
    width: 38px;
    overflow: visible;
    border: 0;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
    transform: skew(-10deg);
}

html[data-sport="f1"] .brand-ball::before {
    content: 'F1';
    inset: 4px 0;
    display: grid;
    place-items: center;
    border: 2px solid var(--sport-accent-soft);
    border-right: 6px solid var(--sport-accent);
    border-radius: 2px;
    background: linear-gradient(110deg, rgba(255,59,69,.28), rgba(255,59,69,.04));
    color: #fff;
    font-family: var(--bt-display);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.08em;
    line-height: 1;
    transform: none;
}

html[data-sport="f1"] .brand-ball::after {
    inset: auto -5px 6px 5px;
    height: 2px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, transparent, var(--sport-accent));
    transform: none;
}

html[data-sport="golf"] .brand-ball {
    width: 34px;
    height: 34px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 50%;
    background:
        radial-gradient(circle at 28% 30%, rgba(7,16,11,.45) 0 1px, transparent 1.5px),
        radial-gradient(circle at 66% 28%, rgba(7,16,11,.38) 0 1px, transparent 1.5px),
        radial-gradient(circle at 48% 54%, rgba(7,16,11,.38) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 70%, rgba(7,16,11,.32) 0 1px, transparent 1.5px),
        linear-gradient(145deg, #f9fff9, #a8f0c8 76%);
    box-shadow: 0 0 22px rgba(78,210,138,.2);
}

html[data-sport="golf"] .brand-ball::before {
    inset: -7px auto 9px 15px;
    width: 1px;
    border: 0;
    border-radius: 0;
    background: var(--sport-accent);
    transform: none;
}

html[data-sport="golf"] .brand-ball::after {
    inset: -7px auto auto 16px;
    width: 12px;
    height: 8px;
    border: 0;
    border-radius: 0 2px 2px 0;
    background: var(--sport-accent);
    clip-path: polygon(0 0, 100% 18%, 0 100%);
    transform: none;
}

html[data-sport="ufc"] .brand-ball {
    width: 39px;
    overflow: visible;
    border: 0;
    border-radius: 2px;
    background: #e43b45;
    box-shadow: none;
    transform: skew(-9deg);
}

html[data-sport="ufc"] .brand-ball::before {
    content: 'UFC';
    inset: 5px 1px;
    display: grid;
    place-items: center;
    border: 0;
    color: #100708;
    font-family: var(--bt-display);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.08em;
    transform: none;
}

html[data-sport="ufc"] .brand-ball::after { display: none; }

html[data-sport] .header .brand-copy h1 {
    background: linear-gradient(110deg, #fff 8%, var(--sport-accent-soft) 62%, var(--sport-accent));
    background-clip: text;
    -webkit-background-clip: text;
}

html[data-sport] .brand-copy > span,
html[data-sport] .refresh-icon { color: var(--sport-accent-soft); }
html[data-sport] .header::after,
html[data-sport] .nav-view-btn.active::after { background: var(--sport-accent); }

.hidden,
#multiSportExplorer.hidden,
#sportAthletesView.hidden,
#sportTeamsView.hidden,
#sportPredictorView.hidden,
.sport-landing.hidden,
.primary-nav.hidden {
    display: none !important;
}

/* Keep display typography strong without crushing letterforms. */
.header .brand-copy h1 {
    font-weight: 800;
}

.player-info h2,
.season-hero h2,
.finals-copy h3,
.conference-heading strong,
.team-context-heading h3 {
    font-weight: 700;
    letter-spacing: -.018em;
}

.season-hero h2 {
    line-height: .93;
}

/* Shared media fallback */
.media-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-shell::after {
    content: attr(data-fallback);
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    font-family: var(--bt-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.media-shell img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-shell img.media-failed,
.media-shell.has-failed img {
    opacity: 0;
}

/* Compact NBA player-lab entry */
.nba-lab-home {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    padding: 8px 0 10px;
    border-bottom: 1px solid #292731;
}

.nba-lab-home.hidden { display: none; }

.nba-lab-home-label {
    display: flex;
    width: 128px;
    flex: 0 0 128px;
    flex-direction: column;
    gap: 4px;
}

.nba-lab-home-label span {
    color: var(--bt-lilac);
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.nba-lab-home-label small {
    color: #6d6974;
    font-family: var(--bt-mono);
    font-size: 6px;
    line-height: 1.35;
    text-transform: uppercase;
}

.nba-lab-featured {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.nba-lab-featured button {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
    min-height: 78px;
    padding: 5px;
    border: 1px solid #292731;
    border-radius: 0;
    background: #15141b;
    color: #ece9ef;
    cursor: pointer;
    text-align: left;
}

.nba-lab-featured button:hover {
    border-color: var(--bt-indigo);
    background: #1a1921;
}

.nba-home-player-photo {
    width: 54px;
    height: 68px;
    background: rgba(102,126,234,.08);
}

.nba-home-player-photo img { object-fit: contain; object-position: bottom; }

.nba-lab-featured button > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.nba-home-team-logo {
    width: 18px;
    height: 18px;
    margin-bottom: 3px;
}

.nba-lab-featured strong {
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.nba-lab-featured small {
    margin-top: 3px;
    color: #6d6974;
    font-family: var(--bt-mono);
    font-size: 6px;
}

.nba-lab-home-return {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.62);
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

.nba-lab-home-return:hover { color: #fff; }

/* Entry screen */
.sport-landing {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    overflow-y: auto;
    background: rgba(7,7,10,.92);
    backdrop-filter: blur(18px);
}

.sport-landing-inner {
    width: min(1180px, calc(100% - 36px));
    margin: auto;
    padding: 48px 0;
}

.sport-landing-kicker {
    display: flex;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #2d2c35;
    color: #888491;
    font-family: var(--bt-mono);
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sport-landing-kicker span {
    color: var(--sport-accent-soft);
}

.sport-landing-copy {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
    align-items: end;
    gap: 50px;
    padding: 44px 0 36px;
}

.sport-landing-copy h1 {
    max-width: 740px;
    font-family: var(--bt-display);
    font-size: clamp(54px, 9vw, 108px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: .8;
    text-transform: uppercase;
}

.sport-landing-copy p {
    color: #aaa6b1;
    font-size: 14px;
    line-height: 1.65;
}

.sport-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.sport-choice-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #34323d;
    border-radius: 1px;
    background: #111117;
    color: #fff;
    cursor: pointer;
    text-align: left;
}

.sport-choice-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .16;
    background: linear-gradient(145deg, var(--card-color), transparent 52%);
}

.sport-choice-card::after {
    content: 'ENTER  →';
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #9b97a4;
    font-family: var(--bt-mono);
    font-size: 8px;
    letter-spacing: .1em;
}

.sport-choice-card:hover,
.sport-choice-card:focus-visible {
    z-index: 1;
    border-color: var(--card-color);
    background: #17171e;
    transform: translateY(-3px);
}

.sport-choice-card.nba { --card-color: #7d83f5; }
.sport-choice-card.mlb { --card-color: #d94a55; }
.sport-choice-card.nfl { --card-color: #2c8bd8; }
.sport-choice-card.f1 { --card-color: #ff3b45; }
.sport-choice-card.golf { --card-color: #4ed28a; }
.sport-choice-card.ufc { --card-color: #e43b45; }

.sport-card-faces img {
    border-radius: 50%;
    background: #202028;
    object-fit: cover;
    object-position: top;
}

.individual-predictor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bt-line);
}

.individual-predictor-toolbar > div { display: flex; gap: 6px; }
.individual-predictor-toolbar button {
    padding: 9px 12px;
    border: 1px solid #35333f;
    border-radius: 2px;
    background: #121218;
    color: #aaa7b1;
    font-family: var(--bt-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.individual-predictor-toolbar button:hover,
.individual-predictor-toolbar button.active { border-color: var(--sport-accent); color: #fff; }
.individual-predictor-toolbar button.primary { background: var(--sport-accent); color: #08090a; }
.individual-model-status { min-height: 29px; margin: 0; padding: 9px 0; color: #817e89; font-family: var(--bt-mono); font-size: 8px; }
.individual-model-table-wrap { overflow-x: auto; border: 1px solid #292731; }
.individual-model-table { width: 100%; border-collapse: collapse; }
.individual-model-table th { padding: 9px 12px; border-bottom: 1px solid #37343f; color: #77737e; font-family: var(--bt-mono); font-size: 7px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.individual-model-table td { padding: 8px 12px; border-bottom: 1px solid #211f27; color: #dedbe2; font-family: var(--bt-mono); font-size: 9px; }
.individual-model-table tr:hover td { background: rgba(255,255,255,.018); }
.individual-model-table td small { color: #625f68; font-size: 7px; }
.individual-rank { color: var(--sport-accent); font-family: var(--bt-display); font-size: 18px; font-weight: 600; }
.individual-identity { display: flex; align-items: center; gap: 9px; min-width: 180px; }
.individual-identity > span { display: flex; min-width: 0; flex-direction: column; }
.individual-identity strong { font-family: var(--bt-display); font-size: 13px; font-weight: 600; text-transform: uppercase; }
.individual-identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.individual-predictor-photo { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #1c1b22; }
.individual-predictor-photo img { object-fit: contain; object-position: bottom; }
.individual-projection-input { width: 78px; padding: 6px; border: 1px solid var(--sport-accent); background: #0b0b10; color: #fff; font-family: var(--bt-mono); }
.individual-strength { display: flex; align-items: center; gap: 6px; }
.individual-strength i { width: 52px; height: 3px; background: #292731; }
.individual-strength i b { display: block; height: 100%; background: var(--sport-accent); }
.individual-card-list { display: flex; flex-direction: column; border-top: 1px solid #292731; }
.individual-card-list article { display: grid; grid-template-columns: 34px 42px minmax(160px, 1fr) 150px; align-items: center; gap: 10px; min-height: 62px; padding: 8px 12px; border-bottom: 1px solid #292731; border-left: 3px solid var(--feature-color, var(--sport-accent)); background: #111117; }
.individual-card-list article > b { color: var(--sport-accent); font-family: var(--bt-display); font-size: 18px; }
.individual-card-list article > div { display: flex; flex-direction: column; }
.individual-card-list article > div > strong { font-family: var(--bt-display); font-size: 15px; font-weight: 600; text-transform: uppercase; }
.individual-card-list article small { color: #74717c; font-family: var(--bt-mono); font-size: 7px; }
.individual-card-list article em { color: #f0edf3; font-family: var(--bt-mono); font-size: 14px; font-style: normal; text-align: right; }
.individual-constructor-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #393640; color: #aaa7b1; font-family: var(--bt-display); font-size: 10px; }
.individual-card-list.golf-event article { grid-template-columns: 34px minmax(210px, 1fr) 80px 90px 90px; border-left: 0; }
.individual-event-heading { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; }
.individual-event-heading span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 8px; }
.individual-event-heading strong { font-family: var(--bt-display); font-size: 19px; font-weight: 600; text-transform: uppercase; }
.individual-event-heading small { color: #6d6974; font-family: var(--bt-mono); font-size: 8px; }
.individual-model-empty { padding: 30px; border: 1px solid #292731; color: #98949e; text-align: center; }

@media (max-width: 1180px) {
    .sport-choice-grid { grid-template-columns: repeat(3, 1fr); }
}

.sport-card-index {
    position: relative;
    z-index: 2;
    color: var(--card-color);
    font-family: var(--bt-mono);
    font-size: 8px;
    letter-spacing: .11em;
}

.sport-card-logos {
    position: absolute;
    top: 48px;
    right: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
}

.sport-card-logos img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 16px 18px rgba(0,0,0,.34));
}

.sport-card-logos img:first-child {
    margin-right: -25px;
    transform: translateY(12px) rotate(-8deg) scale(.8);
    opacity: .6;
}

.sport-card-logos img:nth-child(2) {
    z-index: 1;
}

.sport-card-logos img:last-child {
    margin-left: -25px;
    transform: translateY(12px) rotate(8deg) scale(.8);
    opacity: .6;
}

.sport-choice-card > strong {
    position: absolute;
    bottom: 62px;
    left: 20px;
    z-index: 2;
    font-family: var(--bt-display);
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1;
    text-transform: uppercase;
}

.sport-choice-card > small {
    position: absolute;
    bottom: 43px;
    left: 21px;
    z-index: 2;
    color: #85818e;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.sport-landing-source {
    margin-top: 16px;
    color: #615e69;
    font-family: var(--bt-mono);
    font-size: 8px;
}

/* Persistent header sport selector */
.header-brand {
    gap: 24px;
}

.sport-switcher {
    display: flex;
    gap: 2px;
    padding: 3px;
    border: 1px solid #2b2a33;
    background: #0d0d12;
}

.sport-switch-btn {
    min-width: 36px;
    padding: 5px 7px;
    border: 0;
    background: transparent;
    color: #6f6c78;
    font-family: var(--bt-mono);
    font-size: 8px;
    cursor: pointer;
}

.sport-switch-btn:hover {
    color: #dddbe2;
}

.sport-switch-btn.active {
    background: var(--sport-accent);
    color: #fff;
}

html[data-sport="mlb"] .header::after,
html[data-sport="nfl"] .header::after,
html[data-sport="mlb"] .nav-view-btn.active::after,
html[data-sport="nfl"] .nav-view-btn.active::after {
    background: var(--sport-accent);
}

/* NBA imagery */
.player-header {
    display: grid;
    grid-template-columns: 122px 1fr auto;
    align-items: end;
    gap: 22px;
    min-height: 142px;
    padding-top: 10px;
    padding-bottom: 0;
}

.player-headshot-shell {
    align-self: stretch;
    width: 122px;
    min-height: 132px;
    z-index: 2;
    background: rgba(0,0,0,.13);
}

.player-headshot-shell img {
    object-fit: cover;
    object-position: top center;
}

.player-info {
    z-index: 2;
    align-self: center;
    padding-bottom: 12px;
}

.player-info p {
    display: flex;
    align-items: center;
    gap: 7px;
}

.inline-team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.player-number {
    z-index: 2;
    align-self: center;
    padding-bottom: 10px;
    font-size: 58px;
}

.search-result-item {
    justify-content: flex-start;
    gap: 10px;
}

.result-media {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border: 1px solid #292832;
    background: #18171f;
}

.result-media img {
    object-fit: cover;
    object-position: top;
}

.result-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.result-team-logo {
    width: 23px;
    height: 23px;
    margin-left: auto;
}

.dropdown-item {
    gap: 9px;
}

.dropdown-player-media {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    background: #191820;
}

.dropdown-player-media img {
    object-fit: cover;
    object-position: top;
}

.dropdown-item-team {
    margin-left: auto;
}

.comparison-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.compare-player-lockup {
    display: flex;
    align-items: center;
    gap: 9px;
}

.compare-player-lockup.right {
    justify-content: flex-end;
    text-align: right;
}

.compare-player-photo {
    width: 46px;
    height: 46px;
    border: 1px solid #34323e;
    background: #1a1920;
}

.compare-player-photo img {
    object-fit: cover;
    object-position: top;
}

.source-player-lockup {
    display: flex;
    align-items: center;
    gap: 8px;
}

.source-player-photo {
    width: 34px;
    height: 34px;
    border: 1px solid #34323e;
    background: #1a1920;
}

.source-player-photo img {
    object-fit: cover;
    object-position: top;
}

.similar-player-card {
    display: grid;
    grid-template-columns: auto 42px 1fr auto;
}

.similar-player-card > .similar-categories {
    grid-column: 1 / -1;
}

.similar-player-photo {
    width: 42px;
    height: 42px;
    background: #1b1a22;
}

.similar-player-photo img {
    object-fit: cover;
    object-position: top;
}

.team-mark,
.bracket-team-code,
.team-context-logo {
    padding: 4px;
    border: 1px solid #3a3742;
    background: rgba(255,255,255,.045);
}

.team-mark img,
.bracket-team-code img,
.team-context-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-mark-code,
.bracket-team-code small {
    display: none;
}

.playoff-summary strong {
    display: flex;
    align-items: center;
    gap: 7px;
}

.summary-team-logo {
    width: 25px;
    height: 25px;
}

.finals-copy {
    position: relative;
    padding-left: 68px;
}

.finals-team-logo {
    position: absolute;
    top: 50%;
    left: 0;
    width: 54px;
    height: 54px;
    transform: translateY(-50%);
}

/* Shared MLB / NFL explorer */
.multi-sport-explorer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.multi-sport-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #27262e;
}

.multi-sport-search {
    width: min(680px, 100%);
}

.multi-sport-search label {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 8px;
}

.multi-sport-search label span,
.sport-section-heading span,
.sport-feature-copy > span,
.multi-sport-sources span {
    color: var(--sport-accent);
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .12em;
}

.multi-sport-search label strong {
    font-family: var(--bt-display);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.multi-sport-search > div {
    position: relative;
    border-left: 3px solid var(--sport-accent);
}

#multiSportSearch {
    width: 100%;
    height: 52px;
    padding: 12px 16px 12px 47px;
    border: 1px solid #2c2a34;
    border-left: 0;
    border-radius: 0;
    outline: 0;
    background: #101016;
    color: #f3f1f6;
    font-family: var(--bt-display);
    font-size: 16px;
    font-weight: 500;
}

#multiSportSearch:focus {
    border-color: #56515f;
    box-shadow: inset 0 -2px 0 var(--sport-accent);
}

.multi-sport-count {
    color: #65616d;
    font-family: var(--bt-mono);
    font-size: 8px;
}

.sport-athlete-feature {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 176px;
    overflow: hidden;
    border: 1px solid #302e38;
    background: #101016;
}

.sport-feature-photo {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--feature-color), transparent 72%), transparent 62%),
        #15141b;
}

.sport-feature-photo::after {
    content: '';
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.sport-feature-headshot {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.sport-feature-headshot img {
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,.34));
}

.sport-feature-team-logo {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 6px;
    border: 1px solid #3a3742;
    border-radius: 50%;
    background: rgba(11,11,15,.86);
}

.sport-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 26px;
}

.sport-feature-copy h3 {
    margin: 7px 0 3px;
    font-family: var(--bt-display);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: .92;
    text-transform: uppercase;
}

.sport-feature-copy > p {
    color: #8e8a96;
    font-family: var(--bt-mono);
    font-size: 8px;
    text-transform: uppercase;
}

.sport-feature-copy > small {
    margin-top: 9px;
    color: #716d78;
    font-size: 10px;
}

.sport-feature-copy > small a {
    color: var(--sport-accent-soft);
    text-decoration: none;
}

.sport-feature-metrics {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    margin-top: 25px;
    border: 1px solid #292731;
    background: #292731;
}

.sport-feature-metrics > div {
    display: flex;
    flex-direction: column;
    min-height: 74px;
    justify-content: center;
    padding: 10px;
    background: #15141b;
    text-align: center;
}

.sport-feature-metrics strong {
    font-family: var(--bt-mono);
    font-size: 18px;
    font-weight: 500;
}

.sport-feature-metrics span {
    margin-top: 5px;
    color: #77727f;
    font-family: var(--bt-display);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
}

.sport-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 28px 0 10px;
}

.sport-section-heading h3 {
    margin-top: 3px;
    font-family: var(--bt-display);
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-section-heading small {
    color: #625f6a;
    font-family: var(--bt-mono);
    font-size: 7px;
}

.sport-athlete-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.sport-athlete-card {
    position: relative;
    display: grid;
    grid-template-columns: 28px 68px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 86px;
    padding: 8px 12px 8px 8px;
    border: 1px solid #292832;
    border-left: 2px solid #3a3742;
    border-radius: 0;
    background: #121218;
    color: #f1eff4;
    cursor: pointer;
    text-align: left;
}

.sport-athlete-card:hover,
.sport-athlete-card.active {
    border-left-color: var(--sport-accent);
    background: #18171f;
}

.athlete-card-rank {
    color: #5f5b66;
    font-family: var(--bt-mono);
    font-size: 8px;
}

.athlete-card-photo {
    width: 68px;
    height: 68px;
    background: linear-gradient(145deg, var(--sport-glow), #17161d);
}

.athlete-card-photo img {
    object-fit: contain;
    object-position: bottom;
}

.athlete-card-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.athlete-card-copy > span {
    height: 17px;
}

.athlete-card-team-logo {
    width: 17px;
    height: 17px;
}

.athlete-card-copy strong {
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.athlete-card-copy small {
    overflow: hidden;
    color: #77737e;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.athlete-card-lead {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.athlete-card-lead strong {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 14px;
    font-weight: 500;
}

.athlete-card-lead small {
    color: #68646e;
    font-family: var(--bt-mono);
    font-size: 7px;
}

.sport-empty-state {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px dashed #34313b;
    color: #77737e;
    text-align: center;
}

.multi-sport-search-results {
    top: calc(100% + 1px);
    left: -3px;
    z-index: 120;
    max-height: 430px;
    border: 1px solid #383642;
    border-top: 0;
    border-left: 3px solid var(--sport-accent);
    border-radius: 0;
    background: #111117;
    box-shadow: 0 18px 45px rgba(0,0,0,.44);
}

.multi-search-result {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 6px 10px;
    border: 0;
    border-bottom: 1px solid #26242d;
    border-radius: 0;
    background: transparent;
    color: #e8e5eb;
    cursor: pointer;
    text-align: left;
}

.multi-search-result:hover,
.multi-search-result:focus-visible {
    outline: 0;
    background: #1a1921;
}

.multi-search-result .result-media {
    width: 44px;
    height: 44px;
    background: var(--sport-glow);
}

.multi-search-result .result-media img { object-fit: contain; object-position: bottom; }

.multi-search-result > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.multi-search-result strong {
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.multi-search-result small {
    color: #706c77;
    font-family: var(--bt-mono);
    font-size: 7px;
}

.multi-search-result .result-team-logo {
    width: 27px;
    height: 27px;
}

.multi-search-result > b {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 12px;
    font-weight: 500;
}

.multi-search-empty {
    padding: 20px;
    color: #77727e;
    font-size: 10px;
    text-align: center;
}

.sport-player-workbench {
    display: grid;
    grid-template-columns: 165px minmax(0, 1fr);
    margin-top: 8px;
    border: 1px solid #2d2b34;
    background: #101016;
}

.sport-player-tabs {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 8px;
    border-right: 1px solid #2d2b34;
    background: #0d0d12;
}

.sport-player-tabs button {
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #77727e;
    font-family: var(--bt-display);
    font-size: 11px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.sport-player-tabs button:hover { color: #ddd9e2; background: #15141b; }

.sport-player-tabs button.active {
    border-left-color: var(--sport-accent);
    background: var(--sport-glow);
    color: #fff;
}

.sport-player-tab-content {
    min-width: 0;
    min-height: 285px;
}

.sport-player-panel {
    padding: 20px;
}

.sport-player-panel.hidden { display: none; }

.sport-tab-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #292731;
}

.sport-tab-heading span {
    color: var(--sport-accent);
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .12em;
}

.sport-tab-heading h3 {
    margin-top: 3px;
    font-family: var(--bt-display);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-tab-heading small {
    color: #6b6772;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-align: right;
}

.sport-tab-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid #292731;
    background: #292731;
}

.sport-tab-metrics > div {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    padding: 9px;
    background: #15141b;
    text-align: center;
}

.sport-tab-metrics strong {
    font-family: var(--bt-mono);
    font-size: 17px;
    font-weight: 500;
}

.sport-tab-metrics span {
    margin-top: 5px;
    color: #716d78;
    font-family: var(--bt-display);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .07em;
}

.sport-stat-groups {
    display: grid;
    gap: 12px;
}

.sport-stat-groups section h4 {
    margin-bottom: 5px;
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sport-profile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid #292731;
    background: #292731;
}

.sport-profile-facts > div {
    display: flex;
    min-height: 66px;
    flex-direction: column;
    justify-content: center;
    padding: 10px 14px;
    background: #15141b;
}

.sport-profile-facts span {
    color: #6f6a76;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.sport-profile-facts strong {
    margin-top: 4px;
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 16px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sport-player-empty {
    display: flex;
    min-height: 230px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #77727e;
    text-align: center;
}

.sport-player-empty strong {
    color: #d8d4dc;
    font-family: var(--bt-display);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-player-empty p { max-width: 520px; margin-top: 6px; font-size: 10px; line-height: 1.5; }

.sport-player-team-impact {
    overflow: hidden;
    border: 1px solid #2d2b34;
    background: #101016;
}

.sport-impact-lead {
    display: grid;
    grid-template-columns: 112px minmax(180px, .8fr) minmax(260px, 1.2fr);
    align-items: center;
    gap: 16px;
    min-height: 106px;
    padding: 14px 18px;
    border-bottom: 1px solid #2b2932;
    background: linear-gradient(90deg, color-mix(in srgb, var(--feature-color), transparent 86%), transparent 62%);
}

.sport-impact-score {
    display: flex;
    height: 78px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--sport-accent), #35323c 35%);
    background: #0d0d12;
}

.sport-impact-score strong {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 31px;
    font-weight: 500;
    line-height: 1;
}

.sport-impact-score span,
.sport-impact-summary > span,
.sport-impact-section-label {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.sport-impact-score.unrated strong { color: #77727e; }

.sport-impact-summary h3 {
    margin-top: 4px;
    font-family: var(--bt-display);
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.sport-impact-summary p {
    margin-top: 5px;
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.sport-impact-team {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding-left: 18px;
    border-left: 1px solid #302e37;
}

.sport-player-team-logo { width: 52px; height: 52px; }

.sport-impact-team > div { display: flex; min-width: 0; flex-direction: column; }

.sport-impact-team span,
.sport-impact-team small {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-impact-team strong {
    margin: 2px 0;
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 17px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sport-impact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sport-impact-columns > section { padding: 16px 18px 18px; }
.sport-impact-columns > section + section { border-left: 1px solid #2b2932; }

.sport-impact-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 8px;
    border: 1px solid #292731;
    background: #292731;
}

.sport-impact-facts > div {
    display: flex;
    min-height: 52px;
    flex-direction: column;
    justify-content: center;
    padding: 8px 10px;
    background: #15141b;
}

.sport-impact-facts span {
    color: #6f6a76;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-impact-facts strong {
    margin-top: 3px;
    font-family: var(--bt-display);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-impact-bar { margin-top: 12px; }

.sport-impact-bar > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-impact-bar > div strong { color: #c8c4ce; font-weight: 500; }

.sport-impact-bar > i {
    display: block;
    height: 5px;
    overflow: hidden;
    background: #26242c;
}

.sport-impact-bar > i > b {
    display: block;
    height: 100%;
    background: var(--sport-accent);
}

.sport-impact-method,
.sport-comparison-method {
    padding: 10px 18px;
    border-top: 1px solid #292731;
    color: #706c77;
    font-family: var(--bt-mono);
    font-size: 7px;
    line-height: 1.5;
}

.sport-player-tools {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 10px;
    margin-top: 10px;
}

.sport-compare-panel,
.sport-similar-panel {
    min-width: 0;
    padding: 18px;
    border: 1px solid #2d2b34;
    background: #101016;
}

.sport-tool-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #292731;
}

.sport-tool-heading span {
    color: var(--sport-accent);
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .12em;
}

.sport-tool-heading h3 {
    margin-top: 3px;
    font-family: var(--bt-display);
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-tool-heading label,
.sport-tool-heading small {
    color: #6f6a76;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

#sportCompareSelect {
    display: block;
    width: min(285px, 38vw);
    margin-top: 5px;
    padding: 7px 26px 7px 8px;
    border: 1px solid #393641;
    border-radius: 0;
    background: #17171e;
    color: #ddd9e2;
    font-family: var(--bt-mono);
    font-size: 8px;
}

.sport-comparison {
    min-height: 245px;
}

.sport-comparison-verdict {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #292731;
    border-bottom: 0;
    background: color-mix(in srgb, var(--sport-accent), transparent 93%);
}

.sport-comparison-verdict span,
.sport-comparison-verdict small {
    color: #706c77;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-comparison-verdict strong {
    color: var(--sport-accent-soft);
    font-family: var(--bt-display);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-comparison-verdict small { margin-left: auto; }

.sport-comparison-headtohead {
    display: grid;
    grid-template-columns: 130px minmax(210px, 1fr) 130px;
    align-items: stretch;
}

.sport-comparison-player {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--sport-glow), #15141b);
}

.sport-comparison-player.b { text-align: right; }

.sport-comparison-photo {
    width: 100%;
    height: 145px;
    margin-bottom: 7px;
}

.sport-comparison-photo img {
    object-fit: contain;
    object-position: bottom;
}

.sport-comparison-player > span,
.sport-comparison-player > small {
    color: #6d6974;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-comparison-player > strong {
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 17px;
    font-weight: 600;
    line-height: .95;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.sport-comparison-metrics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #292731;
}

.sport-comparison-metrics > div {
    display: grid;
    grid-template-columns: 1fr 52px 1fr;
    align-items: center;
    min-height: 31px;
    border-top: 1px solid #23212a;
    text-align: center;
}

.sport-comparison-metrics > div:first-child { border-top: 0; }

.sport-comparison-metrics strong {
    font-family: var(--bt-mono);
    font-size: 11px;
    font-weight: 500;
}

.sport-comparison-metrics strong.better { color: var(--sport-accent-soft); }

.sport-comparison-metrics span {
    color: #66616d;
    font-family: var(--bt-mono);
    font-size: 6px;
}

.sport-comparison-impact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 6px;
    border: 1px solid #292731;
    background: #292731;
}

.sport-comparison-impact-cards article {
    padding: 10px 12px;
    background: #15141b;
}

.sport-comparison-impact-cards article > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sport-comparison-impact-cards article > div:first-child span {
    color: #d8d4dc;
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-comparison-impact-cards article > div:first-child strong {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 18px;
    font-weight: 500;
}

.sport-comparison-impact-cards article > div:first-child small { font-size: 7px; }

.sport-comparison-impact-cards article > p {
    margin: 3px 0 8px;
    color: #6f6a76;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-comparison-impact-cards article > div:last-child {
    padding-top: 7px;
    border-top: 1px solid #292731;
    color: #8e8995;
    font-family: var(--bt-mono);
    font-size: 7px;
}

.sport-comparison-impact-cards article > div:last-child span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sport-comparison-team-logo { width: 20px; height: 20px; }
.sport-comparison-method { border: 1px solid #292731; border-top: 0; }

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

.sport-similar-grid button {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 4px 7px 4px 4px;
    border: 1px solid #292731;
    border-radius: 0;
    background: #15141b;
    color: #e7e3e9;
    cursor: pointer;
    text-align: left;
}

.sport-similar-grid button:hover {
    border-color: var(--sport-accent);
    background: #1a1920;
}

.sport-similar-photo {
    width: 48px;
    height: 48px;
    background: var(--sport-glow);
}

.sport-similar-photo img { object-fit: contain; object-position: bottom; }

.sport-similar-grid button > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.sport-similar-grid button strong {
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sport-similar-grid button small {
    color: #6f6a76;
    font-family: var(--bt-mono);
    font-size: 6px;
}

.sport-similar-grid button > b {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 13px;
    font-weight: 500;
}

.sport-similar-grid button > b i { font-size: 6px; font-style: normal; }

.sport-team-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    gap: 10px;
}

.sport-team-table-wrap,
.sport-team-detail {
    border: 1px solid #2d2b34;
    background: #101016;
}

.sport-team-table-wrap {
    max-height: 790px;
    overflow: auto;
}

.sport-team-table {
    width: 100%;
    border-collapse: collapse;
}
.sport-team-table tbody > tr[data-team-id],
.sport-team-table tbody > tr[data-golfer-id] { cursor: pointer; }
.sport-inline-detail { display: none; }
.sport-inline-detail.golf-table-detail { display: table-row; }
.sport-inline-detail > td { padding: 0 !important; background: #131218; }
.sport-inline-detail > td > .sport-team-detail-heading,
.sport-inline-detail > td > .sport-team-detail-strength,
.sport-inline-detail > td > .sport-team-metrics { position: static; }
.golf-table-expanded > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; }
.golf-table-expanded > header > div { display: flex; flex-direction: column; gap: 2px; }
.golf-table-expanded > header span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 8px; }
.golf-table-expanded > header strong { font-family: var(--bt-display); font-size: 18px; font-weight: 600; }
.golf-table-expanded > header small { color: #817b86; font-size: 9px; }
.golf-table-expanded > header button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--sport-accent); background: transparent; color: #ddd9e0; cursor: pointer; font-family: var(--bt-mono); font-size: 8px; }

.sport-team-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 12px;
    border-bottom: 1px solid #302e37;
    background: #111117;
    color: #64606b;
    font-family: var(--bt-mono);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}

.sport-team-table td {
    height: 56px;
    padding: 6px 12px;
    border-top: 1px solid #211f27;
    color: #a9a5af;
    font-family: var(--bt-mono);
    font-size: 8px;
}

.sport-team-table tr {
    cursor: pointer;
}

.sport-team-table tbody tr:hover,
.sport-team-table tbody tr.selected {
    background: #18171e;
    box-shadow: inset 2px 0 0 var(--sport-accent);
}

.sport-table-team {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.sport-table-team > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.sport-table-team strong {
    overflow: hidden;
    color: #e6e3e9;
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sport-table-team small {
    color: #67636e;
    font-size: 7px;
}

.sport-table-logo {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.sport-team-table .positive { color: #73d69a; }
.sport-team-table .negative { color: #da7880; }

.sport-strength {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sport-strength strong {
    width: 18px;
    color: #ddd9e2;
    font-weight: 500;
}

.sport-strength i {
    width: 55px;
    height: 3px;
    overflow: hidden;
    background: #292731;
}

.sport-strength i b {
    display: block;
    height: 100%;
    background: var(--sport-accent);
}

.sport-form {
    display: flex;
    gap: 2px;
}

.sport-form i {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 50%;
    background: #292731;
    color: #8e8994;
    font-size: 6px;
    font-style: normal;
}

.sport-form .w { background: #255c3b; color: #a7e9bd; }
.sport-form .l { background: #5c292f; color: #efb0b5; }
.sport-form .d { background: #4b4851; color: #d0ccd3; }

.sport-team-detail {
    align-self: start;
    position: sticky;
    top: 12px;
}

.sport-team-detail-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
    border-bottom: 1px solid #292731;
    background: linear-gradient(100deg, color-mix(in srgb, var(--feature-color), transparent 88%), transparent);
}

.sport-team-detail-logo {
    width: 68px;
    height: 68px;
}

.sport-team-detail-heading span {
    color: #79747f;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.sport-team-detail-heading h3 {
    margin-top: 3px;
    font-family: var(--bt-display);
    font-size: 25px;
    font-weight: 600;
    line-height: .95;
    text-transform: uppercase;
}

.sport-team-detail-strength {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding: 18px 20px;
}

.sport-team-detail-strength span {
    color: #736f79;
    font-family: var(--bt-mono);
    font-size: 7px;
}

.sport-team-detail-strength strong {
    font-family: var(--bt-mono);
    font-size: 20px;
    font-weight: 500;
}

.sport-team-detail-strength i {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    background: #292731;
}

.sport-team-detail-strength i b {
    display: block;
    height: 100%;
    background: var(--sport-accent);
}

.sport-team-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    border-top: 1px solid #292731;
    background: #292731;
}

.sport-team-metrics div {
    display: flex;
    min-height: 66px;
    flex-direction: column;
    justify-content: center;
    padding: 12px 18px;
    background: #131319;
}

.sport-team-metrics span {
    color: #716c77;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.sport-team-metrics strong {
    margin-top: 3px;
    font-family: var(--bt-display);
    font-size: 20px;
    font-weight: 600;
}

.sport-recent-matches {
    padding: 18px 20px;
    border-top: 1px solid #292731;
}

.sport-recent-matches > span {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 7px;
}

.sport-recent-matches > div {
    display: grid;
    grid-template-columns: 29px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #23212a;
}

.sport-match-logo {
    width: 29px;
    height: 29px;
}

.sport-recent-matches div span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.sport-recent-matches strong {
    font-family: var(--bt-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.sport-recent-matches small {
    overflow: hidden;
    color: #66626d;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sport-recent-matches b {
    font-family: var(--bt-mono);
    font-size: 11px;
    font-weight: 500;
}

.multi-sport-sources {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 16px 0;
    border-top: 1px solid #282630;
}

.multi-sport-sources > div:first-child {
    display: flex;
    flex-direction: column;
}

.multi-sport-sources strong {
    margin-top: 3px;
    color: #77737e;
    font-size: 10px;
    font-weight: 400;
}

#multiSportSources {
    display: flex;
    gap: 7px;
}

#multiSportSources a {
    padding: 5px 7px;
    border: 1px solid #34313b;
    color: #8d8994;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-decoration: none;
}

#multiSportSources a:hover {
    border-color: var(--sport-accent);
    color: #fff;
}

@media (max-width: 1040px) {
    .header-brand {
        gap: 14px;
    }

    .sport-athlete-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sport-feature-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .sport-player-tools {
        grid-template-columns: 1fr;
    }

    .nba-lab-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sport-tab-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .trade-system-levels { grid-template-columns: repeat(4, 1fr); }
    .trade-system-levels p { grid-column: 1 / -1; }
    .sport-landing-copy,
    .sport-athlete-feature,
    .sport-team-layout {
        grid-template-columns: 1fr;
    }

    .sport-landing-copy {
        gap: 18px;
    }

    .sport-choice-grid {
        grid-template-columns: 1fr;
    }

    .sport-choice-card {
        min-height: 200px;
    }

    .sport-card-logos {
        top: 31px;
        right: 30px;
        left: auto;
        width: 230px;
    }

    .sport-feature-photo {
        min-height: 150px;
    }

    .sport-team-detail {
        display: none;
        position: static;
    }
    .sport-inline-detail { display: table-row; }

    .sport-comparison-headtohead {
        grid-template-columns: 105px minmax(190px, 1fr) 105px;
    }

    .nba-lab-home {
        gap: 12px;
    }
}

@media (max-width: 700px) {
    .trade-system-levels { grid-template-columns: 1fr 1fr; }
    .trade-system-levels p { grid-column: 1 / -1; }
    .sport-landing-inner {
        width: min(100% - 24px, 1180px);
        padding: 24px 0;
    }

    .sport-landing-copy {
        padding: 28px 0;
    }

    .sport-landing-copy h1 {
        font-size: 58px;
    }

    .sport-card-logos {
        width: 190px;
        opacity: .75;
    }

    .sport-card-logos img {
        width: 76px;
        height: 76px;
    }

    .header-brand {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sport-switcher {
        order: 2;
    }

    .individual-predictor-toolbar { align-items: stretch; flex-direction: column; }
    .individual-predictor-toolbar > div { overflow-x: auto; }
    .individual-card-list.golf-event article { grid-template-columns: 30px minmax(170px, 1fr) 70px; }
    .individual-card-list.golf-event article em:last-child,
    .individual-card-list.golf-event article > span { display: none; }

    .primary-nav {
        order: 3;
        width: 100%;
    }

    .player-header {
        grid-template-columns: 110px 1fr;
        min-height: 154px;
    }

    .player-headshot-shell {
        width: 110px;
        min-height: 150px;
    }

    .player-number {
        display: none;
    }

    .multi-sport-toolbar,
    .sport-section-heading,
    .multi-sport-sources {
        align-items: flex-start;
        flex-direction: column;
    }

    .sport-athlete-grid {
        grid-template-columns: 1fr;
    }

    .sport-player-workbench {
        grid-template-columns: 1fr;
    }

    .sport-player-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid #2d2b34;
    }

    .sport-player-tabs button {
        min-width: max-content;
        border-bottom: 2px solid transparent;
        border-left: 0;
    }

    .sport-player-tabs button.active {
        border-bottom-color: var(--sport-accent);
        border-left: 0;
    }

    .sport-profile-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sport-tool-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    #sportCompareSelect {
        width: min(100%, 360px);
    }

    .sport-comparison-headtohead {
        grid-template-columns: 82px minmax(170px, 1fr) 82px;
    }

    .sport-comparison-photo {
        height: 105px;
    }
}

@media (max-width: 520px) {
    .sport-landing-kicker small,
    .sport-card-logos img:first-child,
    .sport-card-logos img:last-child {
        display: none;
    }

    .sport-card-logos {
        right: 15px;
        width: 100px;
    }

    .sport-choice-card > strong {
        font-size: 34px;
    }

    .sport-feature-photo {
        min-height: 142px;
    }

    .sport-feature-copy {
        padding: 25px 18px;
    }

    .sport-feature-copy h3 {
        font-size: 34px;
    }

    .sport-feature-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .sport-player-tools {
        margin-right: -6px;
        margin-left: -6px;
    }

    .sport-compare-panel,
    .sport-similar-panel {
        padding: 12px;
    }

    .sport-comparison-headtohead {
        grid-template-columns: 1fr;
    }

    .sport-comparison-player {
        display: grid;
        grid-template-columns: 68px 1fr;
        min-height: 76px;
        text-align: left !important;
    }

    .sport-comparison-photo {
        grid-row: 1 / 4;
        width: 68px;
        height: 68px;
        margin: 0 9px 0 0;
    }

    .sport-comparison-metrics {
        order: 3;
    }

    .sport-impact-lead,
    .sport-impact-columns,
    .sport-comparison-impact-cards {
        grid-template-columns: 1fr;
    }

    .sport-impact-team {
        padding: 10px 0 0;
        border-top: 1px solid #302e37;
        border-left: 0;
    }

    .sport-impact-columns > section + section { border-top: 1px solid #2b2932; border-left: 0; }

    .sport-comparison-verdict {
        align-items: flex-start;
        flex-direction: column;
    }

    .sport-comparison-verdict small { margin-left: 0; }

    .sport-similar-grid {
        grid-template-columns: 1fr;
    }

    .nba-lab-featured,
    .sport-tab-metrics,
    .sport-profile-facts {
        grid-template-columns: 1fr 1fr;
    }

    .sport-player-panel {
        padding: 14px;
    }

    .sport-tab-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sport-team-table th:nth-child(4),
    .sport-team-table td:nth-child(4),
    .sport-team-table th:nth-child(5),
    .sport-team-table td:nth-child(5) {
        display: none;
    }

    #multiSportSources {
        flex-direction: column;
    }
}

/* Clear sport workspace: one destination and one vertical reading path. */
.sport-view-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 2px 10px;
    border-bottom: 1px solid #2c2932;
}

.sport-view-heading h2 {
    margin: 0;
    font-family: var(--bt-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
}

.sport-view-heading p {
    max-width: 620px;
    margin: 0;
    color: #8d8792;
    font-size: 12px;
    line-height: 1.45;
    text-align: right;
}

.sport-simple-empty {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #2c2932;
    background: #111116;
    color: #8d8792;
    text-align: center;
}

.sport-simple-empty strong { color: #eeeaf1; font-weight: 600; }
.sport-simple-empty.hidden,
.sport-athlete-feature.hidden,
.sport-player-workbench.hidden,
.sport-section-heading.hidden,
.sport-athlete-grid.hidden { display: none; }

.sport-directory-return {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 11px;
    cursor: pointer;
}

.sport-directory-return:hover { color: #fff; }

.sport-athlete-feature {
    grid-template-columns: 150px minmax(0, 1fr);
    min-height: 148px;
}

.sport-feature-copy { padding: 18px 22px; }
.sport-feature-copy h3 { font-size: clamp(26px, 3.2vw, 36px); }

.sport-athlete-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sport-athlete-card {
    width: 100%;
    grid-template-columns: 34px 58px minmax(0, 1fr) minmax(70px, auto);
    min-height: 72px;
}

.athlete-card-photo { width: 56px; height: 56px; }
.live-model-evidence a { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 10px; text-decoration: none; }

@media (max-width: 700px) {
    .sport-view-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
    .sport-view-heading p { font-size: 11px; text-align: left; }
    .sport-athlete-feature { grid-template-columns: 100px minmax(0, 1fr); }
    .sport-feature-copy { padding: 14px 15px; }
    .sport-feature-copy > small { display: none; }
}

@media (max-width: 430px) {
    .sport-athlete-card { grid-template-columns: 26px 48px minmax(0, 1fr) 58px; padding-inline: 5px 8px; }
    .athlete-card-photo { width: 46px; height: 46px; }
    .athlete-card-copy strong { font-size: 14px; }
    .sport-athlete-feature { grid-template-columns: 82px minmax(0, 1fr); }
    .sport-feature-copy h3 { font-size: 23px; }
}

/* Golf uses a neutral scorecard hierarchy; green is reserved for under-par outcomes. */
.golf-course-map {
    padding: 14px;
    border-bottom: 1px solid #302d36;
    background: #111116;
}

.golf-course-map > header,
.golf-player-live-detail > header,
.golf-player-live-detail > header > div,
.golf-player-live-detail footer {
    display: flex;
    align-items: center;
}

.golf-course-map > header { justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.golf-course-map > header div { display: flex; flex-direction: column; }
.golf-course-map > header span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 9px; letter-spacing: .08em; }
.golf-course-map > header strong { margin-top: 2px; font-family: var(--bt-display); font-size: 18px; font-weight: 600; }
.golf-course-map > header small { color: #87818c; font-size: 10px; }
.golf-course-map > div { display: grid; grid-template-columns: repeat(9, minmax(58px, 1fr)); gap: 5px; }
.golf-course-map > div > span { display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; min-height: 48px; padding: 7px; border: 1px solid #35313a; border-radius: 6px; background: #18171c; }
.golf-course-map > div > span::before { content: ''; grid-row: 1 / 3; width: 3px; border-radius: 2px; background: #77717d; }
.golf-course-map > div > span.hard::before { background: #dc777f; }
.golf-course-map > div > span.easy::before { background: #65c58a; }
.golf-course-map b { font-family: var(--bt-mono); font-size: 13px; }
.golf-course-map small,
.golf-course-map em { color: #8b8590; font-family: var(--bt-mono); font-size: 8px; font-style: normal; }

button.golf-live-row { width: 100%; border: 0; border-bottom: 1px solid #27242d; color: #eeeaf1; cursor: pointer; text-align: left; }
button.golf-live-row:hover,
button.golf-live-row.selected { background: #1a181d; box-shadow: inset 3px 0 var(--sport-accent); }
.golf-live-row > span strong { color: #eeeaf1; }

.golf-player-live-detail { border-bottom: 1px solid #3a3540; background: #151419; }
.golf-live-tracker-list > .golf-player-live-detail { margin: 0 0 3px 52px; border-left: 2px solid var(--sport-accent); }
.golf-player-live-detail > header { justify-content: space-between; gap: 12px; padding: 12px 14px; }
.golf-player-live-detail > header > div { gap: 10px; }
.golf-player-live-detail > header span { display: flex; flex-direction: column; }
.golf-player-live-detail > header small { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 9px; }
.golf-player-live-detail > header strong { font-family: var(--bt-display); font-size: 19px; font-weight: 600; }
.golf-player-live-detail > header em { color: #918b96; font-family: var(--bt-mono); font-size: 10px; font-style: normal; }
.golf-player-live-detail > header button { min-height: 34px; padding: 6px 10px; border: 1px solid #48424d; background: transparent; color: #aaa4af; cursor: pointer; }
.golf-detail-photo { width: 48px; height: 48px; border-radius: 50%; background: #242129; }
.golf-hole-scorecard { display: grid; grid-template-columns: repeat(9, minmax(65px, 1fr)); gap: 1px; border-block: 1px solid #302d36; background: #302d36; }
.golf-hole-scorecard article { display: grid; grid-template-columns: auto 1fr; gap: 3px 7px; min-height: 70px; padding: 8px; background: #111116; }
.golf-hole-scorecard article > b { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 12px; }
.golf-hole-scorecard article > small { color: #7f7984; font-family: var(--bt-mono); font-size: 8px; text-align: right; }
.golf-hole-scorecard article > strong { font-family: var(--bt-display); font-size: 19px; font-weight: 600; }
.golf-hole-scorecard article > em { grid-column: 1 / -1; color: #918b96; font-family: var(--bt-mono); font-size: 8px; font-style: normal; }
.golf-hole-scorecard article.actual > em { color: #bbb5bf; }
.golf-player-live-detail footer { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
.golf-player-live-detail footer span { padding-right: 9px; border-right: 1px solid #3a3540; color: #89838e; font-size: 10px; }
.golf-player-live-detail footer b { margin-left: 4px; color: #eeeaf1; }
.golf-round-summary { display: grid; grid-template-columns: repeat(4, minmax(70px, 1fr)); gap: 1px; border-top: 1px solid #302d36; background: #302d36; }
.golf-round-summary > span { display: flex; min-height: 48px; justify-content: center; flex-direction: column; gap: 2px; padding: 7px 11px; background: #111116; }
.golf-round-summary small { color: #77717d; font-family: var(--bt-mono); font-size: 8px; }
.golf-round-summary strong { color: #eeeaf1; font-family: var(--bt-mono); font-size: 14px; font-weight: 500; }
.golf-row-rounds { display: flex; gap: 4px; margin-top: 3px; }
.golf-row-rounds i { display: flex; gap: 3px; padding: 2px 4px; border: 1px solid #37323b; color: #a9a3ad; font-family: var(--bt-mono); font-size: 8px; font-style: normal; }
.golf-row-rounds i small { color: #746f79; font-size: 7px; }
.golf-row-rounds i b { font-weight: 500; }

@media (max-width: 900px) {
    .golf-course-map > div,
    .golf-hole-scorecard { grid-template-columns: repeat(6, minmax(62px, 1fr)); }
}

@media (max-width: 560px) {
    .golf-course-map { padding: 10px; }
    .golf-course-map > header { align-items: flex-start; flex-direction: column; gap: 3px; }
    .golf-course-map > div,
    .golf-hole-scorecard { grid-template-columns: repeat(3, minmax(70px, 1fr)); }
    .golf-player-live-detail > header { align-items: flex-start; }
    .golf-live-tracker-list > .golf-player-live-detail { margin-left: 0; }
    .golf-round-summary { grid-template-columns: 1fr 1fr; }
}

/* NBA player dossier — aligned with the MLB / NFL workbench. */
/* UFC fighter files, rankings, and editable card model. */
.ufc-fighter-prediction,
.ufc-division-context { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid #342f38; background: #111116; }
.ufc-fighter-prediction header span,
.ufc-division-context header span,
.ufc-predictor-bar span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 8px; letter-spacing: .09em; }
.ufc-fighter-prediction header strong { display: block; margin: 5px 0; font-family: var(--bt-display); font-size: 23px; font-weight: 600; }
.ufc-fighter-prediction header strong i { margin: 0 8px; color: #706a75; font-size: 11px; font-style: normal; }
.ufc-fighter-prediction header small { color: #89838e; font-size: 9px; }
.ufc-fight-probability { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 16px; padding: 13px; background: #17161b; }
.ufc-fight-probability > div { display: flex; flex-direction: column; }
.ufc-fight-probability span { color: #77717b; font-family: var(--bt-mono); font-size: 7px; }
.ufc-fight-probability strong { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 26px; font-weight: 500; }
.ufc-fight-probability small { color: #706a75; font-size: 7px; }
.ufc-fight-probability > i { height: 6px; overflow: hidden; background: #29262e; }
.ufc-fight-probability > i b { display: block; height: 100%; background: var(--sport-accent); }
.ufc-prediction-factors { display: flex; flex-wrap: wrap; gap: 5px; }
.ufc-prediction-factors span { padding: 5px 7px; border: 1px solid #39353e; color: #aaa4ae; font-family: var(--bt-mono); font-size: 7px; }
.ufc-fighter-prediction p { margin: 0; color: #7d7782; font-size: 9px; line-height: 1.5; }
.ufc-fighter-prediction button { align-self: flex-start; padding: 9px 12px; border: 1px solid var(--sport-accent); background: color-mix(in srgb, var(--sport-accent) 10%, #111116); color: #fff; cursor: pointer; font-size: 9px; }
.ufc-division-context > header { display: flex; align-items: center; gap: 11px; }
.ufc-division-context > header > div { display: flex; flex-direction: column; }
.ufc-division-context > header strong { font-size: 18px; font-weight: 600; }
.ufc-division-context > header small { color: #77717b; font-size: 8px; }
.ufc-division-ranking { display: flex; flex-direction: column; margin-top: 12px; border-top: 1px solid #312d36; }
.ufc-division-ranking button { display: grid; grid-template-columns: 26px 36px minmax(0,1fr) 34px; align-items: center; gap: 8px; min-height: 53px; padding: 6px 2px; border: 0; border-bottom: 1px solid #2b2830; background: transparent; color: #eeeaf0; cursor: pointer; text-align: left; }
.ufc-division-ranking button:hover { background: #18171c; }
.ufc-division-ranking button > b,
.ufc-division-ranking button > em { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 10px; font-style: normal; text-align: center; }
.ufc-division-ranking button span { display: flex; min-width: 0; flex-direction: column; }
.ufc-division-ranking button strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ufc-division-ranking button small { color: #77717b; font-size: 7px; }
.ufc-ranking-photo { display: grid; width: 34px; height: 34px; place-items: center; overflow: hidden; border-radius: 50%; background: #242129; }
.ufc-ranking-photo img { width: 100%; height: 100%; object-fit: contain; }
.ufc-predictor { display: flex; flex-direction: column; gap: 10px; }
.ufc-predictor-bar { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 14px; border: 1px solid #342f38; background: #111116; }
.ufc-predictor-bar > div:first-child { display: flex; flex-direction: column; }
.ufc-predictor-bar strong { margin: 4px 0; font-family: var(--bt-display); font-size: 22px; font-weight: 600; }
.ufc-predictor-bar small { color: #827c87; font-size: 8px; }
.ufc-predictor-bar > div:last-child { display: flex; gap: 5px; }
.ufc-predictor-bar button { min-height: 37px; padding: 0 11px; border: 1px solid #3b3740; background: #17161b; color: #ddd9df; cursor: pointer; font-size: 8px; }
.ufc-predictor-bar button:first-child { border-color: var(--sport-accent); background: var(--sport-accent); color: #100708; font-weight: 700; }
.ufc-bout-list { display: flex; flex-direction: column; gap: 7px; }
.ufc-bout-card { border: 1px solid #342f38; background: #111116; }
.ufc-bout-card > header { display: flex; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid #2c2931; }
.ufc-bout-card > header span,
.ufc-bout-card > header small { color: #7d7782; font-family: var(--bt-mono); font-size: 7px; }
.ufc-bout-card > div { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: stretch; }
.ufc-bout-card > div > i { display: grid; place-items: center; color: #655f69; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.ufc-pick-fighter { display: grid; grid-template-columns: 54px minmax(0,1fr) 52px; align-items: center; gap: 10px; min-height: 76px; padding: 7px 11px; border: 0; background: transparent; color: #eeeaf0; cursor: pointer; text-align: left; }
.ufc-pick-fighter:last-child { direction: rtl; text-align: right; }
.ufc-pick-fighter:last-child > * { direction: ltr; }
.ufc-pick-fighter.picked { background: color-mix(in srgb, var(--sport-accent) 9%, #111116); box-shadow: inset 3px 0 var(--sport-accent); }
.ufc-pick-fighter:last-child.picked { box-shadow: inset -3px 0 var(--sport-accent); }
.ufc-pick-photo { display: grid; width: 52px; height: 62px; place-items: end center; overflow: hidden; background: #211e24; }
.ufc-pick-photo img { width: 100%; height: 100%; object-fit: contain; }
.ufc-pick-fighter > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.ufc-pick-fighter small { color: #6f6974; font-family: var(--bt-mono); font-size: 6px; }
.ufc-pick-fighter strong { overflow: hidden; font-family: var(--bt-display); font-size: 17px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ufc-pick-fighter em { color: #8a848f; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.ufc-pick-fighter > b { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 22px; font-weight: 500; text-align: center; }
.ufc-pick-fighter > b small { font-size: 8px; }
.ufc-bout-card > footer { display: grid; grid-template-columns: 42px minmax(80px,1fr) minmax(130px,.4fr); align-items: center; gap: 8px; padding: 7px 10px; border-top: 1px solid #2c2931; }
.ufc-bout-card > footer span { color: #6e6872; font-family: var(--bt-mono); font-size: 6px; }
.ufc-bout-card > footer i { height: 3px; overflow: hidden; background: #29262e; }
.ufc-bout-card > footer i b { display: block; height: 100%; background: linear-gradient(90deg, #db3f48, #6887d8); }
.ufc-bout-card > footer strong { overflow: hidden; font-size: 8px; font-weight: 500; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.ufc-live-card { display: flex; flex-direction: column; border: 1px solid #342f38; background: #111116; }
.ufc-live-card article { display: grid; grid-template-columns: 30px minmax(0,1fr) 28px minmax(0,1fr); align-items: center; gap: 9px; min-height: 64px; padding: 8px 10px; border-bottom: 1px solid #2c2931; }
.ufc-live-card article:last-child { border-bottom: 0; }
.ufc-live-card article > b { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 10px; }
.ufc-live-card article > i { color: #635d67; font-family: var(--bt-mono); font-size: 7px; font-style: normal; text-align: center; }
.ufc-live-card article > span { display: flex; min-width: 0; flex-direction: column; }
.ufc-live-card article > span:last-child { text-align: right; }
.ufc-live-card small { color: #78727d; font-family: var(--bt-mono); font-size: 6px; }
.ufc-live-card strong { overflow: hidden; margin: 2px 0; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ufc-live-card em { color: #8b8590; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
@media (max-width: 620px) {
    .ufc-fight-probability { grid-template-columns: 1fr; }
    .ufc-predictor-bar { align-items: stretch; flex-direction: column; }
    .ufc-predictor-bar > div:last-child button { flex: 1; }
    .ufc-bout-card > div { grid-template-columns: 1fr; }
    .ufc-bout-card > div > i { min-height: 24px; }
    .ufc-pick-fighter:last-child { direction: ltr; text-align: left; }
    .ufc-pick-fighter:last-child.picked { box-shadow: inset 3px 0 var(--sport-accent); }
    .ufc-live-card article { grid-template-columns: 24px minmax(0,1fr) 20px minmax(0,1fr); padding-inline: 6px; }
}

html[data-sport="nba"] #playerExplorer {
    --nba-panel: #101016;
    --nba-panel-raised: #15151c;
    --nba-line: #2b2932;
    --nba-muted: #736f7c;
}

html[data-sport="nba"] #playerExplorer .search-container {
    margin-bottom: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--nba-line);
}

html[data-sport="nba"] #playerExplorer .search-heading {
    margin-bottom: 7px;
}

html[data-sport="nba"] #playerExplorer #playerSearch {
    height: 46px;
    border-color: #302e38;
    background: #101016;
    font-family: var(--bt-mono);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .015em;
}

html[data-sport="nba"] #playerExplorer #playerSearch:focus {
    border-color: #53568a;
    box-shadow: inset 0 -2px 0 var(--bt-indigo);
}

html[data-sport="nba"] #playerExplorer .search-glyph {
    font-size: 19px;
}

html[data-sport="nba"] #playerExplorer .search-results {
    max-height: 390px;
    border-color: #35333e;
    background: #101016;
}

html[data-sport="nba"] #playerExplorer .search-result-item {
    min-height: 52px;
    padding: 6px 10px;
}

html[data-sport="nba"] #playerExplorer .result-media {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border: 0;
    background: rgba(102,126,234,.08);
}

html[data-sport="nba"] #playerExplorer .result-name {
    font-size: 13px;
    font-weight: 600;
}

html[data-sport="nba"] #playerExplorer .player-card {
    overflow: visible;
    border: 0;
    background: transparent;
}

html[data-sport="nba"] #playerExplorer .player-header {
    display: grid;
    grid-template-columns: 148px minmax(220px, .85fr) minmax(300px, 1.15fr) 66px;
    align-items: center;
    gap: 18px;
    min-height: 164px;
    padding: 0 18px 0 0;
    overflow: hidden;
    border: 1px solid #34323d;
    border-left: 4px solid var(--bt-indigo);
    background: #111117;
}

html[data-sport="nba"] #playerExplorer .player-header::before {
    background: var(--team-gradient, linear-gradient(135deg, #343440, #15151c));
    opacity: .16;
}

html[data-sport="nba"] #playerExplorer .player-header::after {
    top: 0;
    right: 0;
    width: 48%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: repeating-linear-gradient(90deg, transparent 0 61px, rgba(255,255,255,.018) 61px 62px);
    box-shadow: none;
}

html[data-sport="nba"] #playerExplorer .player-headshot-shell {
    align-self: stretch;
    width: 148px;
    min-height: 162px;
    border-right: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(102,126,234,.04), rgba(0,0,0,.2));
}

html[data-sport="nba"] #playerExplorer .player-headshot-shell img {
    object-fit: contain;
    object-position: center bottom;
}

html[data-sport="nba"] #playerExplorer .player-info {
    align-self: center;
    padding: 12px 0;
}

html[data-sport="nba"] #playerExplorer .nba-lab-home-return {
    margin-bottom: 8px;
    color: #85808d;
}

html[data-sport="nba"] #playerExplorer .player-file-label {
    margin-bottom: 4px;
    color: var(--bt-lilac);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .player-info h2 {
    margin: 0 0 7px;
    font-size: clamp(28px, 3.5vw, 39px);
    font-weight: 600;
    letter-spacing: -.02em;
}

html[data-sport="nba"] #playerExplorer .player-info p {
    color: #928e99;
    font-size: 7px;
    line-height: 1.4;
}

html[data-sport="nba"] #playerExplorer .inline-team-logo {
    width: 27px;
    height: 27px;
}

.nba-header-metrics {
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(11,11,16,.48);
}

.nba-header-metrics > div {
    display: flex;
    min-height: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(255,255,255,.08);
}

.nba-header-metrics > div:first-child { border-left: 0; }

.nba-header-metrics strong {
    font-family: var(--bt-mono);
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 500;
    letter-spacing: -.045em;
}

.nba-header-metrics span,
.player-number-block > span {
    margin-top: 4px;
    color: #77727f;
    font-family: var(--bt-mono);
    font-size: 6px;
    letter-spacing: .1em;
}

.player-number-block {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 14px;
    border-left: 1px solid rgba(255,255,255,.1);
}

.player-number-block > strong {
    margin-top: 4px;
    color: rgba(255,255,255,.64);
    font-family: var(--bt-display);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -.04em;
}

html[data-sport="nba"] #playerExplorer .stats-layout {
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    margin-top: 8px;
    border: 1px solid var(--nba-line);
    background: var(--nba-panel);
}

html[data-sport="nba"] #playerExplorer .stats-toggle {
    min-width: 0;
    padding: 8px 0;
    gap: 0;
    border-right: 1px solid var(--nba-line);
    background: #0d0d12;
    counter-reset: nba-tab;
}

html[data-sport="nba"] #playerExplorer .toggle-btn {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    min-height: 42px;
    padding: 7px 12px 7px 9px;
    border: 0;
    border-left: 2px solid transparent;
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 7px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    counter-increment: nba-tab;
}

html[data-sport="nba"] #playerExplorer .toggle-btn::before {
    content: "0" counter(nba-tab);
    color: #4f4c56;
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .toggle-btn:hover {
    background: #14131a;
    color: #d0ccd5;
}

html[data-sport="nba"] #playerExplorer .toggle-btn.active {
    border-left-color: var(--bt-indigo);
    background: linear-gradient(90deg, rgba(102,126,234,.14), transparent);
    color: #f0edf2;
}

html[data-sport="nba"] #playerExplorer .toggle-btn.active::before { color: var(--bt-lilac); }
html[data-sport="nba"] #playerExplorer .toggle-btn.active::after { display: none; }

html[data-sport="nba"] #playerExplorer .stats-content {
    min-width: 0;
    background: #101016;
}

html[data-sport="nba"] #playerExplorer .stats-section {
    padding: 17px;
}

html[data-sport="nba"] #playerExplorer .section-label {
    gap: 8px;
    margin: 17px 0 7px;
    color: #77727e;
    font-size: 6px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .section-label:first-child { margin-top: 0; }

html[data-sport="nba"] #playerExplorer .stats-grid {
    gap: 1px;
    border-color: var(--nba-line);
    background: var(--nba-line);
}

html[data-sport="nba"] #playerExplorer .stat-box,
html[data-sport="nba"] #playerExplorer .stat-box.highlight,
html[data-sport="nba"] #playerExplorer .stat-box.prediction,
html[data-sport="nba"] #playerExplorer .stat-box.prediction.highlight {
    min-height: 67px;
    padding: 10px 7px;
    border: 0;
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .stats-grid.six:first-of-type .stat-box {
    min-height: 82px;
}

html[data-sport="nba"] #playerExplorer .stat-box:hover { background: #191820; }

html[data-sport="nba"] #playerExplorer .stat-box.highlight {
    background: color-mix(in srgb, var(--bt-indigo), #15151c 86%);
    box-shadow: inset 0 -2px 0 var(--bt-indigo);
}

html[data-sport="nba"] #playerExplorer .stat-value {
    font-size: 19px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .stat-label {
    font-family: var(--bt-mono);
    font-size: 6px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .predictions-section {
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #294233;
    background: #0f1511;
}

html[data-sport="nba"] #playerExplorer .prediction-header {
    margin: 0 0 10px;
    padding: 0 0 9px;
    border-top: 0;
}

html[data-sport="nba"] #playerExplorer .prediction-title strong {
    font-size: 14px;
    font-weight: 600;
}

html[data-sport="nba"] #playerExplorer .prediction-matchup {
    padding: 5px 7px;
    border: 1px solid #304b39;
    font-size: 7px;
}

html[data-sport="nba"] #playerExplorer .stat-box.prediction,
html[data-sport="nba"] #playerExplorer .stat-box.prediction.highlight {
    background: #131b16;
}

html[data-sport="nba"] #playerExplorer .prediction-footer {
    margin-top: 9px;
    padding: 8px 0 0;
    border-top: 1px solid #263a2d;
    background: transparent;
    color: #758078;
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .onoff-comparison {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 0;
    border: 1px solid var(--nba-line);
    background: var(--nba-line);
}

html[data-sport="nba"] #playerExplorer .onoff-box {
    min-height: 66px;
    padding: 10px 6px;
    border: 0;
    border-top: 2px solid #565260;
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .onoff-box.on { border-top-color: var(--bt-green); }
html[data-sport="nba"] #playerExplorer .onoff-box.off { border-top-color: #c65d67; }

html[data-sport="nba"] #playerExplorer .onoff-value {
    font-family: var(--bt-mono);
    font-size: 17px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .onoff-label {
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .onoff-stats-table {
    margin-bottom: 0;
    overflow: hidden;
    border: 1px solid var(--nba-line);
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .onoff-stats-row {
    min-height: 37px;
    padding: 7px 10px;
    border-bottom-color: #292731;
}

html[data-sport="nba"] #playerExplorer .onoff-stats-row.header {
    background: #0d0d12;
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .onoff-stat-label,
html[data-sport="nba"] #playerExplorer .onoff-stat-value {
    font-family: var(--bt-mono);
    font-size: 8px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .share-note span {
    color: #77727e !important;
    font-family: var(--bt-mono);
    font-size: 6px !important;
    text-transform: uppercase;
}

html[data-sport="nba"] #playerExplorer .share-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

html[data-sport="nba"] #playerExplorer .share-item {
    gap: 8px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid var(--nba-line);
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .share-label {
    width: 64px;
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .share-bar-container {
    height: 5px;
    border-radius: 0;
    background: #292731;
}

html[data-sport="nba"] #playerExplorer .share-bar {
    border-radius: 0;
    background: var(--bt-indigo);
}

html[data-sport="nba"] #playerExplorer .share-value {
    width: 39px;
    font-family: var(--bt-mono);
    font-size: 8px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .starter-bench-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--nba-line);
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .starter-badge {
    margin: 0;
    padding: 4px 7px;
    border: 1px solid #4a4753;
    border-radius: 0;
    background: transparent;
    color: #d6d2db;
    font-family: var(--bt-mono);
    font-size: 6px;
    font-weight: 500;
    text-transform: uppercase;
}

html[data-sport="nba"] #playerExplorer .start-ratio {
    color: #817d88;
    font-family: var(--bt-mono);
    font-size: 7px;
}

html[data-sport="nba"] #playerExplorer .similar-description {
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid var(--nba-line);
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 7px;
}

html[data-sport="nba"] #playerExplorer .similar-players-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
}

html[data-sport="nba"] #playerExplorer .similar-player-card {
    display: grid;
    grid-template-columns: 25px 52px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 64px;
    padding: 5px 8px 5px 5px;
    border: 1px solid var(--nba-line);
    border-left: 2px solid #3d3a45;
    border-radius: 0;
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .similar-player-card:hover {
    border-left-color: var(--bt-indigo);
    background: #191820;
    transform: none;
}

html[data-sport="nba"] #playerExplorer .similar-player-photo {
    width: 52px;
    height: 52px;
    background: rgba(102,126,234,.07);
}

html[data-sport="nba"] #playerExplorer .similar-rank,
html[data-sport="nba"] #playerExplorer .similar-rank.top-3 {
    width: 25px;
    height: 25px;
    border: 0;
    color: #77727e;
    font-size: 7px;
}

html[data-sport="nba"] #playerExplorer .similar-rank.top-3 { color: var(--bt-lilac); }

html[data-sport="nba"] #playerExplorer .similar-player-name {
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

html[data-sport="nba"] #playerExplorer .similar-player-meta,
html[data-sport="nba"] #playerExplorer .similar-sub-score {
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .similar-main-score {
    color: var(--bt-lilac);
    font-family: var(--bt-mono);
    font-size: 14px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .similar-player-card > .similar-categories {
    grid-column: 1 / -1;
    gap: 1px;
    margin: 0;
    padding: 5px 0 0;
    border-top-color: var(--nba-line);
}

html[data-sport="nba"] #playerExplorer .category-score {
    padding: 6px 8px;
    border-radius: 0;
    background: #111117;
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .compare-section {
    margin: 0 0 8px;
    padding: 12px;
    border: 1px solid var(--nba-line);
    background: #121218;
}

html[data-sport="nba"] #playerExplorer .compare-section:last-child { margin-bottom: 0; }

html[data-sport="nba"] #playerExplorer .compare-title {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

html[data-sport="nba"] #playerExplorer .compare-icon {
    min-width: 48px;
    border-color: #45414f;
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .custom-search {
    height: 39px;
    padding: 9px 11px;
    border-color: #34313c;
    background: #0f0f15;
    font-family: var(--bt-mono);
    font-size: 8px;
}

html[data-sport="nba"] #playerExplorer .custom-search:focus { border-color: var(--bt-indigo); }

html[data-sport="nba"] #playerExplorer .select-dropdown {
    border-color: #34313c;
    background: #111117;
}

.nba-comparison-verdict {
    display: flex;
    align-items: baseline;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid #34313c;
    border-bottom: 0;
    background: rgba(102,126,234,.08);
}

.nba-comparison-verdict span,
.nba-comparison-verdict small {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.nba-comparison-verdict strong {
    color: var(--bt-lilac);
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.nba-comparison-verdict small { margin-left: auto; }

html[data-sport="nba"] #playerExplorer .comparison-result { margin-top: 9px; }

html[data-sport="nba"] #playerExplorer .comparison-header {
    min-height: 60px;
    padding: 7px 9px;
    border: 1px solid #34313c;
    border-radius: 0;
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .compare-player-photo {
    width: 43px;
    height: 43px;
    border: 0;
    background: rgba(102,126,234,.07);
}

html[data-sport="nba"] #playerExplorer .compare-player-name {
    color: #ddd9e2;
    font-family: var(--bt-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

html[data-sport="nba"] #playerExplorer .vs-badge {
    padding: 3px 6px;
    border: 1px solid #44414d;
    border-radius: 0;
    background: transparent;
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .comparison-rows {
    border: 1px solid #34313c;
    border-top: 0;
    border-radius: 0;
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .comparison-row {
    min-height: 31px;
    padding: 6px 10px;
    border-bottom-color: #292731;
}

html[data-sport="nba"] #playerExplorer .comparison-row.highlight-row {
    background: rgba(102,126,234,.06);
}

html[data-sport="nba"] #playerExplorer .compare-value {
    font-family: var(--bt-mono);
    font-size: 10px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .compare-value.winner { color: var(--bt-lilac); }

html[data-sport="nba"] #playerExplorer .compare-stat-name {
    color: #6f6a76;
    font-family: var(--bt-mono);
    font-size: 6px;
}

html[data-sport="nba"] #playerExplorer .historical-note {
    margin-top: 0;
    padding: 7px 9px;
    border: 1px solid #34313c;
    border-top: 0;
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    font-style: normal;
}

@media (max-width: 980px) {
    html[data-sport="nba"] #playerExplorer .player-header {
        grid-template-columns: 130px minmax(0, 1fr) 62px;
        gap: 14px;
    }

    html[data-sport="nba"] #playerExplorer .player-headshot-shell {
        grid-row: 1 / 3;
        width: 130px;
    }

    html[data-sport="nba"] #playerExplorer .player-info { grid-column: 2; }
    html[data-sport="nba"] #playerExplorer .player-number-block { grid-column: 3; grid-row: 1; }
    html[data-sport="nba"] #playerExplorer .nba-header-metrics { grid-column: 2 / 4; grid-row: 2; margin-bottom: 12px; }
}

@media (max-width: 700px) {
    html[data-sport="nba"] #playerExplorer .nba-lab-home {
        align-items: stretch;
        flex-direction: column;
    }

    html[data-sport="nba"] #playerExplorer .nba-lab-home-label {
        width: auto;
        flex-basis: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    html[data-sport="nba"] #playerExplorer .player-header {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 142px;
        padding-right: 12px;
    }

    html[data-sport="nba"] #playerExplorer .player-headshot-shell {
        grid-row: 1 / 3;
        width: 104px;
        min-height: 140px;
    }

    html[data-sport="nba"] #playerExplorer .player-info { grid-column: 2; grid-row: 1; }
    html[data-sport="nba"] #playerExplorer .player-number-block { display: none; }
    html[data-sport="nba"] #playerExplorer .nba-header-metrics { grid-column: 1 / 3; grid-row: 3; margin: 0 -12px 0 0; }
    html[data-sport="nba"] #playerExplorer .nba-header-metrics > div { min-height: 58px; }

    html[data-sport="nba"] #playerExplorer .stats-layout {
        grid-template-columns: 1fr;
    }

    html[data-sport="nba"] #playerExplorer .stats-toggle {
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        border-right: 0;
        border-bottom: 1px solid var(--nba-line);
    }

    html[data-sport="nba"] #playerExplorer .toggle-btn {
        grid-template-columns: 1fr;
        min-width: max-content;
        min-height: 38px;
        padding: 7px 11px;
        border-left: 0;
        border-bottom: 2px solid transparent;
        text-align: center;
    }

    html[data-sport="nba"] #playerExplorer .toggle-btn::before { display: none; }
    html[data-sport="nba"] #playerExplorer .toggle-btn.active { border-bottom-color: var(--bt-indigo); }
    html[data-sport="nba"] #playerExplorer .similar-players-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    html[data-sport="nba"] #playerExplorer .player-info h2 { font-size: 26px; }
    html[data-sport="nba"] #playerExplorer .player-info p { align-items: flex-start; line-height: 1.5; }
    html[data-sport="nba"] #playerExplorer .stats-section { padding: 11px; }
    html[data-sport="nba"] #playerExplorer .onoff-comparison,
    html[data-sport="nba"] #playerExplorer .share-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html[data-sport="nba"] #playerExplorer .onoff-stats-table { overflow-x: auto; }
    html[data-sport="nba"] #playerExplorer .onoff-stats-row { min-width: 430px; }
    html[data-sport="nba"] #playerExplorer .starter-bench-info { align-items: flex-start; flex-direction: column; }
    .nba-comparison-verdict { align-items: flex-start; flex-direction: column; }
    .nba-comparison-verdict small { margin-left: 0; }
    html[data-sport="nba"] #playerExplorer .comparison-header { grid-template-columns: 1fr auto 1fr; }
    html[data-sport="nba"] #playerExplorer .compare-player-lockup { align-items: flex-start; flex-direction: column; }
    html[data-sport="nba"] #playerExplorer .compare-player-lockup.right { align-items: flex-end; }
}

/* Ranked similarity lab --------------------------------------------------- */
.match-elite { --similarity-color: #4ee08a; --similarity-soft: rgba(78,224,138,.12); }
.match-strong { --similarity-color: #70d995; --similarity-soft: rgba(112,217,149,.1); }
.match-good { --similarity-color: #a5cd7a; --similarity-soft: rgba(165,205,122,.09); }
.match-low { --similarity-color: #c6a66c; --similarity-soft: rgba(198,166,108,.08); }

.similarity-radar-layout {
    display: grid;
    grid-template-columns: minmax(310px, .9fr) minmax(270px, 1.1fr);
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: linear-gradient(115deg, var(--similarity-soft), transparent 46%), #101016;
}

.similarity-radar {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: auto;
    overflow: visible;
}

.similarity-radar-ring {
    fill: none;
    stroke: #35333d;
    stroke-width: 1;
}

.similarity-radar-axis {
    stroke: #302e37;
    stroke-width: 1;
}

.similarity-radar-shape {
    fill: var(--similarity-soft);
    stroke: var(--similarity-color);
    stroke-linejoin: round;
    stroke-width: 2;
    filter: drop-shadow(0 0 7px var(--similarity-soft));
}

.similarity-radar-point {
    fill: var(--similarity-color);
    stroke: #101016;
    stroke-width: 1.5;
}

.similarity-radar-label {
    fill: #aaa5b0;
    font-family: var(--bt-mono);
    font-size: 8px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.similarity-radar-label-value {
    fill: var(--similarity-color);
    font-size: 8px;
    font-weight: 700;
}

.similarity-metric-panel { min-width: 0; }

.similarity-detail-label {
    display: block;
    margin-bottom: 10px;
    color: #85808b;
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.similarity-metric-bars {
    display: grid;
    gap: 8px;
}

.similarity-metric-bar > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #a7a2ad;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.similarity-metric-bar strong {
    color: var(--similarity-color);
    font-size: 8px;
    font-weight: 650;
}

.similarity-metric-bar > i {
    display: block;
    height: 4px;
    margin-top: 4px;
    overflow: hidden;
    background: #292730;
}

.similarity-metric-bar > i > b {
    display: block;
    height: 100%;
    background: var(--similarity-color);
}

.similarity-preview {
    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    gap: 4px;
    min-width: 0;
}

.similarity-preview > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 6px 7px;
    border-left: 1px solid #34313b;
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    line-height: 1.3;
    text-transform: uppercase;
}

.similarity-preview b {
    color: var(--similarity-color);
    font-size: 9px;
    font-weight: 650;
}

.similar-expand-mark {
    color: var(--similarity-color);
    font-family: var(--bt-mono);
    font-size: 15px;
    font-weight: 400;
    transition: transform .18s ease;
}

.expanded > .similar-player-summary .similar-expand-mark,
.expanded > .sport-similar-summary .similar-expand-mark { transform: rotate(45deg); }

.open-similar-player,
.sport-open-similar-player {
    width: 100%;
    margin-top: 13px;
    padding: 9px 12px;
    border: 1px solid var(--similarity-color);
    border-radius: 0;
    background: var(--similarity-soft);
    color: #dcd9df;
    font-family: var(--bt-mono);
    font-size: 7px;
    cursor: pointer;
    text-transform: uppercase;
}

.sport-similar-grid .sport-open-similar-player {
    display: block;
    grid-template-columns: none;
    min-height: 0;
    padding: 9px 12px;
    text-align: center;
}

.open-similar-player:hover,
.sport-open-similar-player:hover { background: var(--similarity-color); color: #0d1711; }

html[data-sport="nba"] #playerExplorer .similar-players-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

html[data-sport="nba"] #playerExplorer .similar-player-card {
    display: block;
    min-height: 0;
    padding: 0;
    border: 1px solid #302e37;
    border-left: 3px solid var(--similarity-color);
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .similar-player-card:hover {
    border-left-color: var(--similarity-color);
    background: #18181f;
}

html[data-sport="nba"] #playerExplorer .similar-player-summary,
.sport-similar-summary {
    display: grid;
    grid-template-columns: 28px 56px minmax(150px, .8fr) minmax(260px, 1.3fr) 76px 16px;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 66px;
    padding: 5px 10px 5px 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #e8e4eb;
    cursor: pointer;
    text-align: left;
}

html[data-sport="nba"] #playerExplorer .similar-player-summary:focus-visible,
.sport-similar-summary:focus-visible {
    outline: 1px solid var(--similarity-color);
    outline-offset: -2px;
}

html[data-sport="nba"] #playerExplorer .similar-player-photo {
    width: 56px;
    height: 56px;
    background: var(--similarity-soft);
}

html[data-sport="nba"] #playerExplorer .similar-player-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

html[data-sport="nba"] #playerExplorer .similar-scores,
.sport-similar-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

html[data-sport="nba"] #playerExplorer .similar-main-score,
.sport-similar-score > b {
    color: var(--similarity-color);
    font-family: var(--bt-mono);
    font-size: 15px;
    font-weight: 650;
}

html[data-sport="nba"] #playerExplorer .similar-sub-score,
.sport-similar-score small {
    color: #716d77;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

html[data-sport="nba"] #playerExplorer .similar-player-card > .similar-categories {
    display: block;
    margin: 0;
    padding: 0;
    border-top: 1px solid #302e37;
}

html[data-sport="nba"] #playerExplorer .similar-player-card > .similar-categories.hidden { display: none; }

.sport-similar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
}

.sport-similar-card {
    border: 1px solid #302e37;
    border-left: 3px solid var(--similarity-color);
    background: #15151c;
}

.sport-similar-grid .sport-similar-summary {
    grid-template-columns: 28px 56px minmax(150px, .8fr) minmax(260px, 1.3fr) 76px 16px;
    min-height: 66px;
}

.sport-similar-grid .sport-similar-summary:hover {
    border-color: transparent;
    background: #191920;
}

.sport-similar-rank {
    color: var(--similarity-color);
    font-family: var(--bt-mono);
    font-size: 8px;
    text-align: center;
}

.sport-similar-photo { width: 56px; height: 56px; background: var(--similarity-soft); }

.sport-similar-info {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.sport-similar-info strong {
    overflow: hidden;
    font-family: var(--bt-display);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.sport-similar-info small {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
}

.sport-similarity-detail { border-top: 1px solid #302e37; }
.sport-similarity-detail.hidden { display: none; }

@media (max-width: 900px) {
    html[data-sport="nba"] #playerExplorer .similar-player-summary,
    .sport-similar-grid .sport-similar-summary {
        grid-template-columns: 26px 52px minmax(130px, 1fr) 72px 14px;
    }

    .similarity-preview { display: none; }
    .similarity-radar-layout { grid-template-columns: 1fr; }
    .similarity-radar { max-width: 480px; }
}

@media (max-width: 520px) {
    html[data-sport="nba"] #playerExplorer .similar-player-summary,
    .sport-similar-grid .sport-similar-summary {
        grid-template-columns: 23px 48px minmax(0, 1fr) 62px 12px;
        gap: 6px;
        padding-right: 7px;
    }

    html[data-sport="nba"] #playerExplorer .similar-player-photo,
    .sport-similar-photo { width: 48px; height: 48px; }
    .similarity-radar-layout { padding: 8px; }
    .similarity-radar-label { font-size: 7px; }
}

/* Every ranked directory reads in one uninterrupted top-to-bottom order. */
.sport-athlete-grid {
    grid-template-columns: 1fr;
}

.sport-athlete-card {
    grid-template-columns: 34px 72px minmax(0, 1fr) 90px;
    min-height: 90px;
}

.athlete-card-photo {
    width: 72px;
    height: 72px;
}

@media (max-width: 520px) {
    .sport-athlete-card {
        grid-template-columns: 24px 56px minmax(0, 1fr) 60px;
    }

    .athlete-card-photo {
        width: 56px;
        height: 56px;
    }
}

/* F1 and golf: vertical championship, session, and live-leaderboard files. */
.individual-ranked-list,
.individual-session-list,
.individual-ceiling-stack,
.individual-ceiling-section,
.golf-live-list { display: flex; flex-direction: column; gap: 7px; }

.individual-ranked-row {
    display: grid;
    grid-template-columns: 34px minmax(190px, 1.2fr) repeat(3, minmax(92px, .48fr)) minmax(205px, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 82px;
    padding: 9px 12px;
    border: 1px solid #292731;
    border-left: 3px solid var(--feature-color, var(--sport-accent));
    background: #111117;
}

.individual-ranked-row.constructor { grid-template-columns: 34px 42px minmax(190px, 1fr) repeat(3, minmax(100px, .55fr)); }
.individual-row-stat { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.individual-row-stat small,
.individual-row-stat em,
.individual-probability small,
.individual-session-card small,
.individual-schedule-card small,
.individual-ceiling-card small,
.golf-live-list small { color: #74717c; font-family: var(--bt-mono); font-size: 7px; font-style: normal; text-transform: uppercase; }
.individual-row-stat strong { font-family: var(--bt-mono); font-size: 12px; font-weight: 500; }
.individual-row-stat.ceiling strong { color: #75e49d; font-size: 18px; }
.individual-row-stat em { text-transform: none; }
.individual-row-chances { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.individual-row-chances.wide { display: grid; grid-template-columns: 1fr 1fr; }
.individual-probability { display: grid; grid-template-columns: minmax(70px, 1fr) minmax(45px, 1fr) 35px; align-items: center; gap: 7px; }
.individual-probability i { display: block; height: 4px; overflow: hidden; background: #292731; }
.individual-probability i b { display: block; height: 100%; background: linear-gradient(90deg, var(--sport-accent), #4ee08a); }
.individual-probability strong { color: #cfcbd4; font-family: var(--bt-mono); font-size: 8px; font-weight: 500; text-align: right; }

.individual-ceiling-section > h3 { margin: 13px 0 3px; color: #9e9aa5; font-family: var(--bt-mono); font-size: 9px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.individual-ceiling-card { border: 1px solid #292731; background: #111117; }
.individual-ceiling-card summary { display: grid; grid-template-columns: 30px minmax(210px, 1fr) 110px 110px 130px; align-items: center; gap: 10px; min-height: 70px; padding: 8px 12px; cursor: pointer; list-style: none; }
.individual-ceiling-card summary::-webkit-details-marker { display: none; }
.individual-ceiling-card summary > b { color: var(--sport-accent); font-family: var(--bt-display); font-size: 17px; }
.individual-ceiling-card summary > div:not(.individual-identity),
.individual-ceiling-card summary > span:not(.individual-constructor-mark) { display: flex; flex-direction: column; }
.individual-ceiling-card summary > span strong { color: #75e49d; font-family: var(--bt-mono); font-size: 15px; font-weight: 500; }
.individual-ceiling-card summary > i { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 7px; font-style: normal; text-align: right; text-transform: uppercase; }
.individual-ceiling-path { padding: 9px 12px 12px; border-top: 1px solid #292731; }
.individual-ceiling-path p { margin: 0 0 8px; color: #77727e; font-family: var(--bt-mono); font-size: 7px; line-height: 1.5; }
.individual-ceiling-path > div { display: grid; grid-template-columns: minmax(180px, 1fr) 80px 80px 42px; gap: 9px; min-height: 32px; align-items: center; padding: 5px 8px; border-bottom: 1px solid #25232b; background: #15151c; }
.individual-ceiling-path span { font-family: var(--bt-display); font-size: 11px; font-weight: 500; text-transform: uppercase; }
.individual-ceiling-path small,
.individual-ceiling-path em { color: #77727e; font-family: var(--bt-mono); font-size: 7px; font-style: normal; text-transform: uppercase; }
.individual-ceiling-path strong { color: #75e49d; font-family: var(--bt-mono); font-size: 9px; font-weight: 500; }

.individual-session-card,
.individual-schedule-card { border: 1px solid #292731; background: #111117; }
.individual-session-card summary { display: grid; grid-template-columns: minmax(210px, 1fr) 150px 90px minmax(180px, .8fr); align-items: center; gap: 12px; min-height: 70px; padding: 9px 12px; cursor: pointer; list-style: none; }
.individual-session-card summary::-webkit-details-marker { display: none; }
.individual-session-card summary > span { display: flex; flex-direction: column; gap: 2px; }
.individual-session-card summary > span > strong { font-family: var(--bt-display); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.individual-session-card summary em { color: #77727e; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.individual-session-flags { color: var(--sport-accent-soft); font-family: var(--bt-mono); font-size: 7px; text-align: right; }
.individual-session-results { border-top: 1px solid #292731; }
.individual-session-results > div { display: grid; grid-template-columns: 36px minmax(180px, 1fr) 55px; align-items: center; gap: 8px; min-height: 34px; padding: 5px 12px; border-bottom: 1px solid #24222a; }
.individual-session-results > div > b { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 9px; }
.individual-session-results > div > span { display: flex; flex-direction: column; font-family: var(--bt-display); font-size: 11px; text-transform: uppercase; }
.individual-session-results > div > span small { text-transform: none; }
.individual-session-results > div > strong { color: #75e49d; font-family: var(--bt-mono); font-size: 8px; text-align: right; }
.individual-session-results > div.retired { opacity: .6; }
.individual-session-results > div.retired > strong { color: #db777f; }
.individual-schedule-card { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(360px, 1.4fr) 130px; align-items: center; gap: 16px; min-height: 90px; padding: 10px 12px; }
.individual-schedule-card > span { display: flex; flex-direction: column; }
.individual-schedule-card > span strong { margin: 3px 0; font-family: var(--bt-display); font-size: 14px; text-transform: uppercase; }
.individual-schedule-card > span em { color: #77727e; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.individual-schedule-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.individual-schedule-card > strong { color: #75e49d; font-family: var(--bt-mono); font-size: 22px; font-weight: 500; text-align: right; }
.individual-schedule-card > strong small { display: block; text-transform: none; }

.golf-live-list article { display: grid; grid-template-columns: 36px minmax(190px, 1fr) 75px 210px 85px minmax(170px, .7fr); align-items: center; gap: 10px; min-height: 72px; padding: 8px 12px; border: 1px solid #292731; background: #111117; }
.golf-live-list article > b { color: var(--sport-accent); font-family: var(--bt-display); font-size: 17px; }
.golf-live-list article > span { display: flex; flex-direction: column; }
.golf-live-list article > span strong { font-family: var(--bt-mono); font-size: 12px; font-weight: 500; }
.golf-live-list article > span em { color: #77727e; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.golf-rounds,
.golf-table-rounds { display: flex !important; flex-direction: row !important; gap: 4px; }
.golf-rounds i,
.golf-table-rounds i { display: flex; min-width: 34px; flex-direction: column; align-items: center; padding: 4px; border: 1px solid #292731; font-style: normal; }
.golf-rounds i b,
.golf-table-rounds i b { font-family: var(--bt-mono); font-size: 8px; font-weight: 500; }
.golf-leaderboard-summary { padding: 15px; }
.golf-leaderboard-summary > span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 7px; }
.golf-leaderboard-summary h3 { margin: 4px 0; font-family: var(--bt-display); font-size: 20px; font-weight: 600; text-transform: uppercase; }
.golf-leaderboard-summary p { color: #77727e; font-family: var(--bt-mono); font-size: 8px; }
.golf-leaderboard-summary button { margin-top: 10px; padding: 8px 10px; border: 1px solid var(--sport-accent); background: transparent; color: #fff; font-family: var(--bt-mono); font-size: 7px; text-transform: uppercase; }

.individual-condition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-top: 1px solid #292731; background: #292731; }
.individual-condition-grid > div { display: flex; min-height: 58px; flex-direction: column; justify-content: center; padding: 8px 10px; background: #14141a; }
.individual-condition-grid span,
.golf-event-forecast > section > span { color: #77727e; font-family: var(--bt-mono); font-size: 6px; text-transform: uppercase; }
.individual-condition-grid strong { margin-top: 4px; color: #ddd9e1; font-family: var(--bt-mono); font-size: 10px; font-weight: 500; }
.golf-event-forecast { display: flex; flex-direction: column; gap: 1px; border-top: 1px solid #292731; background: #292731; }
.golf-event-forecast > section { padding: 11px 12px; background: #111117; }
.golf-round-forecast { display: flex; flex-direction: column; gap: 5px; margin-top: 7px; }
.golf-round-forecast article { display: grid; grid-template-columns: 100px 80px 1fr; align-items: center; min-height: 35px; padding: 5px 9px; border: 1px solid #292731; background: #15151c; }
.golf-round-forecast strong { color: #75e49d; font-family: var(--bt-mono); font-size: 11px; font-weight: 500; }
.golf-round-forecast small,
.golf-round-forecast em { color: #77727e; font-family: var(--bt-mono); font-size: 7px; font-style: normal; text-transform: uppercase; }
.golf-hole-rounds { margin-top: 7px; }
.golf-hole-rounds details { margin-bottom: 5px; border: 1px solid #292731; background: #15151c; }
.golf-hole-rounds summary { display: flex; min-height: 36px; align-items: center; justify-content: space-between; padding: 6px 9px; cursor: pointer; font-family: var(--bt-display); font-size: 11px; text-transform: uppercase; }
.golf-hole-rounds summary small { color: #77727e; font-family: var(--bt-mono); font-size: 6px; }
.golf-hole-rounds details > div { display: flex; flex-direction: column; border-top: 1px solid #292731; }
.golf-hole-rounds article { display: grid; grid-template-columns: 32px 55px 75px minmax(180px, 1fr); align-items: center; gap: 8px; min-height: 34px; padding: 5px 8px; border-bottom: 1px solid #24222a; }
.golf-hole-rounds article > b { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 8px; }
.golf-hole-rounds article span { display: flex; flex-direction: column; }
.golf-hole-rounds article span small { color: #77727e; font-family: var(--bt-mono); font-size: 5px; }
.golf-hole-rounds article span strong { font-family: var(--bt-mono); font-size: 8px; font-weight: 500; }
.golf-hole-rounds article i,
.golf-hole-rounds article em { color: #8f8a96; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }

@media (max-width: 1080px) {
    .individual-predictor-toolbar { align-items: stretch; flex-direction: column; }
    .individual-predictor-toolbar > div { flex-wrap: wrap; overflow: visible; }
    .individual-ranked-row,
    .individual-ranked-row.constructor { grid-template-columns: 34px minmax(180px, 1fr) repeat(3, 92px); }
    .individual-row-chances { grid-column: 2 / -1; flex-direction: row; }
    .individual-row-chances .individual-probability { min-width: 190px; }
    .golf-live-list article { grid-template-columns: 34px minmax(180px, 1fr) 70px 190px 80px; }
    .golf-live-list article > div:last-child { grid-column: 2 / -1; }
    .individual-schedule-card { grid-template-columns: 1fr; }
    .individual-schedule-card > strong { text-align: left; }
    .individual-session-card summary { grid-template-columns: minmax(210px, 1fr) 150px 90px; }
    .individual-session-flags { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
    .individual-ranked-row,
    .individual-ranked-row.constructor { grid-template-columns: 28px minmax(0, 1fr) 75px; }
    .individual-ranked-row > .individual-row-stat:nth-of-type(n+2) { display: none; }
    .individual-row-chances { grid-column: 2 / -1; flex-direction: column; }
    .individual-row-chances.wide { display: flex; }
    .individual-ceiling-card summary { grid-template-columns: 28px minmax(0, 1fr) 75px; }
    .individual-ceiling-card summary > span:nth-last-of-type(1),
    .individual-ceiling-card summary > i { display: none; }
    .individual-ceiling-path > div { grid-template-columns: minmax(0, 1fr) 65px 45px; }
    .individual-ceiling-path > div small { display: none; }
    .individual-session-card summary { grid-template-columns: 1fr 90px; }
    .individual-session-card summary > span:nth-child(n+3) { display: none; }
    .golf-live-list article { grid-template-columns: 30px minmax(0, 1fr) 60px; }
    .golf-live-list article > .golf-rounds,
    .golf-live-list article > span:nth-of-type(n+2) { display: none !important; }
    .golf-live-list article > div:last-child { grid-column: 2 / -1; }
    .individual-condition-grid { grid-template-columns: 1fr 1fr; }
    .golf-hole-rounds article { grid-template-columns: 28px 45px 60px minmax(120px, 1fr); }
}

/* Shared evidence-first player impact ------------------------------------ */
.sport-impact-signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border-bottom: 1px solid #2b2932;
    background: #2b2932;
}

.sport-impact-evidence {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 92px;
    align-items: center;
    gap: 6px 12px;
    min-height: 66px;
    padding: 11px 14px;
    background: #131319;
}

.sport-impact-evidence > div {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.sport-impact-evidence span,
.sport-impact-evidence small,
.sport-impact-stat-list span {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.sport-impact-evidence strong {
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
}

.sport-impact-evidence > i {
    display: block;
    grid-column: 1 / 3;
    height: 5px;
    overflow: hidden;
    background: #292731;
}

.sport-impact-evidence > i b {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, color-mix(in srgb, var(--sport-accent), #4ee08a 32%), #4ee08a);
}

.sport-impact-evidence small { grid-column: 1 / 3; }

.sport-impact-stat-list {
    margin-top: 8px;
    border: 1px solid #292731;
}

.sport-impact-stat-list > div {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 10px;
    border-bottom: 1px solid #292731;
    background: #15151c;
}

.sport-impact-stat-list > div:last-child { border-bottom: 0; }
.sport-impact-stat-list strong { color: #ddd9e1; font-family: var(--bt-mono); font-size: 9px; font-weight: 500; }

.sport-player-team-impact .sport-impact-method {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 12px 18px;
}

.sport-player-team-impact .sport-impact-method strong {
    color: #c7c2cc;
    font-weight: 500;
    text-transform: uppercase;
}

.sport-player-team-impact .sport-impact-method small {
    grid-column: 2;
    color: #58545e;
}

/* NBA availability and floor-split impact use the same visual language. */
html[data-sport="nba"] #playerExplorer .nba-impact-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 16px;
    border: 1px solid var(--nba-line);
    background: var(--nba-line);
}

html[data-sport="nba"] #playerExplorer .nba-impact-summary > div {
    display: flex;
    min-height: 67px;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
    background: #14141a;
}

html[data-sport="nba"] #playerExplorer .nba-impact-summary span,
html[data-sport="nba"] #playerExplorer .impact-record-panel span,
html[data-sport="nba"] #playerExplorer .impact-method-note,
html[data-sport="nba"] #playerExplorer .impact-empty {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

html[data-sport="nba"] #playerExplorer .nba-impact-summary strong {
    margin-top: 4px;
    color: #ddd9e1;
    font-family: var(--bt-mono);
    font-size: 12px;
    font-weight: 500;
}

html[data-sport="nba"] #playerExplorer .nba-impact-summary .positive strong { color: #4ee08a; }
html[data-sport="nba"] #playerExplorer .nba-impact-summary .negative strong { color: #db777f; }

html[data-sport="nba"] #playerExplorer .nba-impact-record-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 17px;
}

html[data-sport="nba"] #playerExplorer .nba-impact-record-grid .section-label { margin-top: 0; }
html[data-sport="nba"] #playerExplorer .nba-impact-record-grid .onoff-comparison { display: block; margin-bottom: 0; }

html[data-sport="nba"] #playerExplorer .impact-record-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    min-height: 84px;
    padding: 13px 14px;
    border: 1px solid var(--nba-line);
    border-top: 2px solid #4ee08a;
    background: #15151c;
}

html[data-sport="nba"] #playerExplorer .impact-record-panel.missed { border-top-color: #c97078; }
html[data-sport="nba"] #playerExplorer .impact-record-panel > div { display: flex; flex-direction: column; }
html[data-sport="nba"] #playerExplorer .impact-record-panel strong { font-family: var(--bt-mono); font-size: 17px; font-weight: 500; }
html[data-sport="nba"] #playerExplorer .impact-record-panel > i {
    display: block;
    grid-column: 1 / 3;
    height: 5px;
    overflow: hidden;
    background: #292731;
}

html[data-sport="nba"] #playerExplorer .impact-record-panel > i b { display: block; height: 100%; background: #4ee08a; }
html[data-sport="nba"] #playerExplorer .impact-record-panel.missed > i b { background: #c97078; }

html[data-sport="nba"] #playerExplorer .onoff-stats-row {
    grid-template-columns: minmax(120px, 1fr) 82px 82px minmax(125px, .8fr);
}

html[data-sport="nba"] #playerExplorer .impact-delta-cell {
    display: grid;
    grid-template-columns: 55px minmax(38px, 1fr);
    align-items: center;
    gap: 8px;
}

html[data-sport="nba"] #playerExplorer .impact-delta-cell > i { display: block; height: 4px; background: #292731; }
html[data-sport="nba"] #playerExplorer .impact-delta-cell > i b { display: block; height: 100%; }
html[data-sport="nba"] #playerExplorer .impact-delta-cell > i b.positive { background: #4ee08a; }
html[data-sport="nba"] #playerExplorer .impact-delta-cell > i b.negative { background: #db777f; }
html[data-sport="nba"] #playerExplorer .share-note { margin-bottom: 8px; color: #77727e; font-family: var(--bt-mono); font-size: 6px; text-transform: uppercase; }
html[data-sport="nba"] #playerExplorer .impact-method-note { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--nba-line); line-height: 1.55; text-transform: none; }
html[data-sport="nba"] #playerExplorer .impact-empty { padding: 17px; border: 1px solid var(--nba-line); background: #15151c; }

@media (max-width: 820px) {
    .sport-impact-signal-grid,
    html[data-sport="nba"] #playerExplorer .nba-impact-summary { grid-template-columns: 1fr 1fr; }
    .sport-player-team-impact .sport-impact-method { grid-template-columns: 1fr; }
    .sport-player-team-impact .sport-impact-method small { grid-column: 1; }
}

@media (max-width: 520px) {
    .sport-impact-signal-grid,
    html[data-sport="nba"] #playerExplorer .nba-impact-summary,
    html[data-sport="nba"] #playerExplorer .nba-impact-record-grid { grid-template-columns: 1fr; }
    .sport-impact-evidence { grid-template-columns: minmax(0, 1fr) 76px; }
}

/* MLB next-game player model --------------------------------------------- */
.mlb-player-prediction,
.mlb-prediction-empty { border: 1px solid #302e37; background: #101016; }
.mlb-prediction-strip { display: grid; grid-template-columns: 1fr 210px; gap: 1px; background: #302e37; }
.mlb-prediction-strip > div { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: 11px 14px; background: #14141a; }
.mlb-prediction-strip span,
.mlb-prediction-strip small,
.mlb-prediction-groups > section > span,
.mlb-prediction-groups section div span,
.mlb-prediction-evidence,
.mlb-prediction-empty p { color: #77727e; font-family: var(--bt-mono); font-size: 7px; text-transform: uppercase; }
.mlb-prediction-strip strong { margin: 3px 0; font-family: var(--bt-display); font-size: 17px; font-weight: 600; text-transform: uppercase; }
.mlb-prediction-strip > div:last-child strong { color: #4ee08a; font-family: var(--bt-mono); }
.mlb-prediction-strip i { display: block; height: 5px; margin-top: 5px; background: #292731; }
.mlb-prediction-strip i b { display: block; height: 100%; background: #4ee08a; }
.mlb-prediction-groups { display: grid; gap: 1px; background: #292731; }
.mlb-prediction-groups > section { padding: 11px 13px; background: #121218; }
.mlb-prediction-groups > section > div { margin-top: 7px; border: 1px solid #292731; }
.mlb-prediction-groups section div > div { display: flex; min-height: 35px; align-items: center; justify-content: space-between; padding: 7px 10px; border-bottom: 1px solid #292731; background: #15151c; }
.mlb-prediction-groups section div > div:last-child { border-bottom: 0; }
.mlb-prediction-groups section div strong { font-family: var(--bt-mono); font-size: 10px; font-weight: 500; }
.mlb-prediction-evidence { padding: 12px 14px; border-top: 1px solid #302e37; line-height: 1.55; text-transform: none; }
.mlb-prediction-evidence > strong { color: #c9c5ce; font-weight: 500; text-transform: uppercase; }
.mlb-prediction-evidence p { margin-top: 5px; }
.mlb-prediction-evidence p::before { content: '— '; color: var(--sport-accent-soft); }
.mlb-prediction-evidence small { display: block; margin-top: 8px; color: #58545e; }
.mlb-prediction-empty { min-height: 180px; padding: 30px; text-align: center; }
.mlb-prediction-empty strong { font-family: var(--bt-display); font-size: 17px; font-weight: 600; text-transform: uppercase; }
.mlb-prediction-empty p { max-width: 620px; margin: 7px auto 0; line-height: 1.55; text-transform: none; }

@media (max-width: 620px) {
    .mlb-prediction-strip { grid-template-columns: 1fr; }
}

/* NBA first-field-goal and regulation-period file ------------------------ */
.nba-first-basket-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 17px;
    border: 1px solid var(--nba-line);
    background: var(--nba-line);
}

.nba-first-basket-summary > div {
    display: flex;
    min-height: 66px;
    flex-direction: column;
    justify-content: center;
    padding: 9px 11px;
    background: #14141a;
}

.nba-first-basket-summary span,
.nba-period-metrics span,
.nba-period-overview-head,
.nba-period-overview-row > strong {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 6px;
    text-transform: uppercase;
}

.nba-first-basket-summary strong {
    margin-top: 4px;
    color: #ddd9e1;
    font-family: var(--bt-mono);
    font-size: 13px;
    font-weight: 500;
}

.nba-first-basket-summary > div:nth-child(2) strong,
.nba-first-basket-summary > div:nth-child(4) strong { color: #4ee08a; }

.nba-period-selector {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 8px;
    border: 1px solid var(--nba-line);
}

.nba-period-selector button {
    min-height: 35px;
    border: 0;
    border-right: 1px solid var(--nba-line);
    border-radius: 0;
    background: #15151c;
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 7px;
}

.nba-period-selector button:last-child { border-right: 0; }
.nba-period-selector button.active { background: rgba(78, 224, 138, .08); color: #86efad; box-shadow: inset 0 -2px #4ee08a; }

.nba-period-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 14px;
    border: 1px solid var(--nba-line);
    background: var(--nba-line);
}

.nba-period-metrics > div {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    background: #15151c;
}

.nba-period-metrics strong {
    color: #ddd9e1;
    font-family: var(--bt-mono);
    font-size: 10px;
    font-weight: 500;
}

.nba-period-overview { margin-bottom: 14px; border: 1px solid var(--nba-line); }
.nba-period-overview-head,
.nba-period-overview-row { display: grid; grid-template-columns: 54px minmax(135px, 1fr) 72px 72px; align-items: center; }
.nba-period-overview-head { min-height: 29px; border-bottom: 1px solid var(--nba-line); background: #111117; }
.nba-period-overview-head > *,
.nba-period-overview-row > * { padding: 6px 9px; }
.nba-period-overview-head > span:not(:first-child) { text-align: right; }
.nba-period-overview-row { min-height: 37px; border-bottom: 1px solid var(--nba-line); background: #15151c; }
.nba-period-overview-row:last-child { border-bottom: 0; }
.nba-period-overview-row > span { color: #c8c4cd; font-family: var(--bt-mono); font-size: 8px; text-align: right; }
.nba-period-overview-row > span:nth-child(2) { display: grid; grid-template-columns: minmax(50px, 1fr) 35px; align-items: center; gap: 8px; }
.nba-period-overview-row > span:nth-child(2) > b { display: block; height: 5px; background: linear-gradient(90deg, #4ee08a, #86efad); }
.nba-period-overview-row em { font-style: normal; }

@media (max-width: 720px) {
    .nba-first-basket-summary { grid-template-columns: 1fr 1fr; }
    .nba-period-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .nba-first-basket-summary { grid-template-columns: 1fr; }
    .nba-period-selector { grid-template-columns: 1fr 1fr 1fr; }
    .nba-period-selector button:nth-child(3) { border-right: 0; }
    .nba-period-selector button:nth-child(-n+3) { border-bottom: 1px solid var(--nba-line); }
    .nba-period-overview-head,
    .nba-period-overview-row { grid-template-columns: 42px minmax(108px, 1fr) 55px 55px; }
}

/* Viewport-fit pass ------------------------------------------------------
   Desktop density is preserved, while phones receive real reflowed layouts
   and a native system display face instead of a squeezed condensed font. */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.app {
    width: min(100%, 1200px);
    min-width: 0;
    padding-right: clamp(12px, 2.2vw, 20px);
    padding-left: clamp(12px, 2.2vw, 20px);
}
.multi-sport-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.multi-sport-search { width: 100%; max-width: none; }

.app > *,
.header > *,
.header-brand > *,
.multi-sport-explorer > *,
.season-predictor > * { min-width: 0; }

@media (max-width: 900px) {
    .sport-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .sport-choice-card {
        min-height: 168px;
        padding: 16px;
    }

    .sport-card-logos {
        top: 26px;
        right: 12px;
        left: auto;
        width: 132px;
        height: 92px;
    }

    .sport-card-logos img {
        width: 68px;
        height: 68px;
    }
}

@media (max-width: 700px) {
    :root {
        --bt-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        --bt-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    }

    .header {
        align-items: flex-start;
        gap: 8px;
    }

    .header-brand {
        gap: 10px;
    }

    .sport-switcher,
    .primary-nav,
    .individual-predictor-toolbar > div,
    .sport-player-tabs {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .sport-switcher::-webkit-scrollbar,
    .primary-nav::-webkit-scrollbar,
    .individual-predictor-toolbar > div::-webkit-scrollbar,
    .sport-player-tabs::-webkit-scrollbar { display: none; }

    .primary-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        overflow: visible;
    }

    .primary-nav .nav-view-btn {
        width: 100%;
        min-width: 0;
        padding: 8px 6px;
        white-space: normal;
    }

    .sport-switch-btn,
    .nav-view-btn,
    .sport-player-tabs button,
    .individual-predictor-toolbar button {
        min-height: 42px;
        flex: 0 0 auto;
        font-size: 11px;
    }

    .individual-model-status,
    .league-predictor-status,
    .sport-section-heading small,
    .sport-tool-heading small,
    .multi-sport-sources,
    .league-predictor-notes,
    .individual-row-stat small,
    .individual-row-stat em,
    .individual-probability small,
    .sport-feature-copy span,
    .sport-feature-copy p,
    .sport-profile-facts span {
        font-size: 9px;
        line-height: 1.45;
    }

    input,
    select,
    textarea { font-size: 16px; }
}

@media (max-width: 560px) {
    .sport-landing-inner {
        width: min(100% - 20px, 1180px);
        padding: 14px 0 24px;
    }

    .sport-landing-copy {
        gap: 10px;
        padding: 16px 0 18px;
    }

    .sport-landing-copy h1 {
        font-size: clamp(42px, 14vw, 58px);
        line-height: .9;
    }

    .sport-landing-copy p {
        font-size: 13px;
        line-height: 1.5;
    }

    .sport-choice-grid { grid-template-columns: 1fr; }

    .sport-choice-card {
        min-height: 112px;
        padding: 14px 15px;
    }

    .sport-choice-card > strong { font-size: 29px; }
    .sport-choice-card::after { right: 14px; bottom: 12px; font-size: 9px; }
    .sport-card-index { font-size: 9px; }

    .sport-card-logos {
        top: 8px;
        right: 32px;
        width: 92px;
        height: 76px;
        opacity: .78;
    }

    .sport-card-logos img {
        width: 66px;
        height: 66px;
    }

    .header-actions { align-self: flex-end; }
    .refresh-btn { min-width: 42px; padding: 8px; }
    .refresh-text { display: none; }
    .sports-news-controls button:last-child { font-size: 0; }
    .sports-news-controls button:last-child::after { content: 'Prefs'; font-size: 10px; }
}

/* F1 championship requirements + session forecasts --------------------- */
.f1-path-shortcut {
    min-height: 30px;
    padding: 6px 8px;
    border: 1px solid #3a3741;
    border-radius: 2px;
    background: #15151c;
    color: var(--sport-accent-soft);
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}

.f1-path-shortcut:hover { border-color: var(--sport-accent); color: #fff; }
.individual-ranked-row.constructor { grid-template-columns: 34px 42px minmax(180px, 1fr) 84px 90px minmax(145px, .7fr) 112px; }

.f1-focus-toolbar {
    display: grid;
    grid-template-columns: max-content minmax(220px, 1fr) minmax(130px, .35fr);
    align-items: end;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 10px;
    border: 1px solid #302e37;
    background: #101016;
}

.f1-focus-kind { display: flex; height: 39px; border: 1px solid #36333e; }
.f1-focus-kind button {
    min-width: 92px;
    border: 0;
    border-right: 1px solid #36333e;
    border-radius: 0;
    background: #15151c;
    color: #85818d;
    font-family: var(--bt-mono);
    font-size: 8px;
    text-transform: uppercase;
}
.f1-focus-kind button:last-child { border-right: 0; }
.f1-focus-kind button.active { background: rgba(255,59,69,.1); color: #fff; box-shadow: inset 0 -2px var(--sport-accent); }
.f1-focus-toolbar label { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.f1-focus-toolbar label span,
.f1-path-summary span,
.f1-required-path article > div span,
.f1-forecast-result span {
    color: #77727e;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}
.f1-focus-toolbar select {
    width: 100%;
    height: 39px;
    padding: 0 10px;
    border: 1px solid #36333e;
    border-radius: 0;
    background: #15151c;
    color: #eeeaf1;
    font-family: var(--bt-mono);
    font-size: 10px;
}

.f1-path-summary {
    display: grid;
    grid-template-columns: minmax(210px, 1.2fr) repeat(3, minmax(120px, .55fr));
    align-items: center;
    gap: 1px;
    border: 1px solid #302e37;
    background: #302e37;
}
.f1-path-summary > * { height: 100%; min-height: 76px; padding: 12px; background: #131319; }
.f1-path-summary > div { display: flex; flex-direction: column; justify-content: center; }
.f1-path-summary .f1-path-identity { flex-direction: row; align-items: center; gap: 10px; }
.f1-path-summary strong { margin-top: 4px; color: #f0edf3; font-family: var(--bt-mono); font-size: 15px; font-weight: 500; }
.f1-path-summary small { margin-top: 3px; color: #77727e; font-family: var(--bt-mono); font-size: 7px; }
.f1-path-summary > p {
    grid-column: 1 / -1;
    min-height: 0;
    margin: 0;
    border-top: 1px solid #302e37;
    color: #a29da8;
    font-family: var(--bt-mono);
    font-size: 8px;
    line-height: 1.55;
}
.f1-path-summary > p.unavailable { color: #e0959c; }

.f1-required-path,
.f1-forecast-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.f1-required-path article {
    display: grid;
    grid-template-columns: 82px minmax(210px, 1fr) 105px 125px 50px;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 11px;
    border: 1px solid #292731;
    background: #111117;
}
.f1-session-type {
    display: grid;
    min-height: 26px;
    place-items: center;
    border: 1px solid #44404a;
    color: #b8b3bd;
    font-family: var(--bt-mono);
    font-size: 7px;
    letter-spacing: .05em;
}
.f1-session-type.sprint { border-color: var(--sport-accent); background: rgba(255,59,69,.09); color: #fff; }
.f1-required-path article > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.f1-required-path article > div:first-of-type strong { overflow: hidden; font-family: var(--bt-display); font-size: 13px; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.f1-required-path article > div small { color: #77727e; font-family: var(--bt-mono); font-size: 7px; }
.f1-required-path article > div:not(:first-of-type) strong { color: #e1dde5; font-family: var(--bt-mono); font-size: 10px; font-weight: 500; }
.f1-required-path article > div:last-of-type strong { color: #75e49d; }
.f1-required-path article > em { color: #75e49d; font-family: var(--bt-mono); font-size: 11px; font-style: normal; text-align: right; }

.f1-forecast-card {
    display: grid;
    grid-template-columns: 82px minmax(210px, 1fr) 110px minmax(290px, 1.35fr);
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 10px 12px;
    border: 1px solid #292731;
    background: #111117;
}
.f1-forecast-event,
.f1-forecast-result { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.f1-forecast-event > strong { overflow: hidden; font-family: var(--bt-display); font-size: 14px; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.f1-forecast-event small,
.f1-forecast-event em,
.f1-forecast-result small { color: #77727e; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.f1-forecast-result strong { color: #75e49d; font-family: var(--bt-mono); font-size: 16px; font-weight: 500; }
.f1-forecast-probabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }

.f1-player-path-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 14px;
    border-top: 1px solid #302e37;
    background: linear-gradient(90deg, rgba(255,59,69,.09), transparent 62%), #121218;
}
.f1-player-path-callout > div { display: flex; flex-direction: column; gap: 3px; }
.f1-player-path-callout span,
.f1-player-path-callout small { color: #8a858f; font-family: var(--bt-mono); font-size: 7px; }
.f1-player-path-callout strong { color: #fff; font-family: var(--bt-display); font-size: 16px; font-weight: 600; text-transform: uppercase; }
.f1-player-path-callout button { padding: 9px 11px; border: 1px solid var(--sport-accent); background: transparent; color: #fff; font-family: var(--bt-mono); font-size: 7px; text-transform: uppercase; }

@media (max-width: 900px) {
    .individual-ranked-row.constructor { grid-template-columns: 30px 40px minmax(170px, 1fr) 80px 90px; }
    .individual-ranked-row.constructor > .individual-row-stat:last-of-type,
    .individual-ranked-row.constructor > .f1-path-shortcut { grid-column: 3 / -1; }
    .f1-forecast-card { grid-template-columns: 74px minmax(180px, 1fr) 100px; }
    .f1-forecast-probabilities { grid-column: 2 / -1; }
}

@media (max-width: 700px) {
    .f1-focus-toolbar { grid-template-columns: 1fr 1fr; }
    .f1-focus-kind { grid-column: 1 / -1; }
    .f1-focus-kind button { flex: 1; }
    .f1-path-summary { grid-template-columns: 1fr 1fr; }
    .f1-path-summary .f1-path-identity { grid-column: 1 / -1; }
    .f1-path-summary > p { grid-column: 1 / -1; }
    .f1-required-path article { grid-template-columns: 70px minmax(0, 1fr) 90px 44px; }
    .f1-required-path article > div:nth-of-type(2) { display: none; }
    .f1-forecast-card { grid-template-columns: 68px minmax(0, 1fr) 88px; }
    .f1-forecast-probabilities { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .f1-focus-toolbar { grid-template-columns: 1fr; }
    .f1-focus-kind,
    .f1-focus-toolbar label { grid-column: 1; }
    .f1-path-summary { grid-template-columns: 1fr 1fr; }
    .f1-path-summary > div { min-height: 65px; padding: 9px; }
    .f1-path-summary > div:nth-of-type(4) { grid-column: 1 / -1; }
    .f1-required-path article { grid-template-columns: 58px minmax(0, 1fr) 74px 36px; gap: 6px; padding: 7px; }
    .f1-required-path article > div:first-of-type strong { font-size: 11px; white-space: normal; }
    .f1-session-type { font-size: 6px; }
    .f1-forecast-card { grid-template-columns: 58px minmax(0, 1fr) 72px; gap: 7px; padding: 8px; }
    .f1-forecast-event > strong { font-size: 12px; white-space: normal; }
    .f1-forecast-probabilities { grid-template-columns: 1fr; }
    .f1-player-path-callout { align-items: stretch; flex-direction: column; }
}

/* Live F1 + MLB control room -------------------------------------------- */
.live-tracker-panel {
    margin: 0 0 18px;
    border: 1px solid #302d36;
    background: #0d0d12;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.live-tracker-bar {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 12px;
    border-bottom: 1px solid #302d36;
    background: linear-gradient(90deg, color-mix(in srgb, var(--sport-accent) 7%, transparent), transparent 45%), #111116;
}

.live-tracker-title,
.live-tracker-actions,
.f1-live-context > div,
.f1-live-driver,
.f1-live-forecast,
.mlb-live-team > span,
.mlb-live-situation > div { display: flex; min-width: 0; flex-direction: column; }
.live-tracker-title { display: grid; grid-template-columns: auto auto minmax(150px, 1fr); align-items: center; gap: 9px; }
.live-tracker-title > strong { font-family: var(--bt-display); font-size: 14px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; }
.live-tracker-title > small { overflow: hidden; color: #8f8995; font-family: var(--bt-mono); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.live-state { display: inline-flex; align-items: center; gap: 5px; color: #9d98a3; font-family: var(--bt-mono); font-size: 7px; letter-spacing: .08em; }
.live-state i { width: 6px; height: 6px; border-radius: 50%; background: #67626c; }
.live-state.active { color: #86e6a6; }
.live-state.active i { background: #57da83; box-shadow: 0 0 0 4px rgba(87, 218, 131, .12); animation: balltalk-live-pulse 1.8s ease-out infinite; }
@keyframes balltalk-live-pulse { 50% { box-shadow: 0 0 0 7px rgba(87, 218, 131, 0); } }
.live-tracker-actions { flex-direction: row; align-items: center; gap: 9px; }
.live-tracker-actions > span { color: #77727d; font-family: var(--bt-mono); font-size: 7px; white-space: nowrap; }
.live-tracker-actions button,
.live-tracker-error button {
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #45404b;
    background: #17171d;
    color: #d9d5dd;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}
.live-tracker-actions button:hover,
.live-tracker-error button:hover { border-color: var(--sport-accent); color: #fff; }

.f1-live-session-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 1px;
    overflow-x: auto;
    border-bottom: 1px solid #302d36;
    background: #302d36;
}
.f1-live-session-rail > div {
    display: grid;
    grid-template-columns: 7px 1fr auto;
    align-items: center;
    gap: 4px 7px;
    min-width: 128px;
    min-height: 47px;
    padding: 7px 9px;
    background: #121217;
}
.f1-live-session-rail i { grid-row: 1 / 3; width: 6px; height: 6px; border: 1px solid #5c5661; border-radius: 50%; }
.f1-live-session-rail .complete i { border-color: #58cc7f; background: #58cc7f; }
.f1-live-session-rail .live i { border-color: var(--sport-accent); background: var(--sport-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sport-accent) 14%, transparent); }
.f1-live-session-rail span { font-family: var(--bt-display); font-size: 10px; font-weight: 500; text-transform: uppercase; }
.f1-live-session-rail small,
.f1-live-session-rail b { color: #77727d; font-family: var(--bt-mono); font-size: 6px; font-weight: 400; text-transform: uppercase; }
.f1-live-session-rail b { grid-column: 3; grid-row: 2; color: #98929e; text-align: right; }

.f1-live-context {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-bottom: 1px solid #302d36;
    background: #302d36;
}
.f1-live-context > div { min-height: 55px; justify-content: center; gap: 3px; padding: 8px 11px; background: #101015; }
.f1-live-context span,
.f1-live-forecast span,
.f1-live-order-label span,
.live-model-evidence > span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 6px; letter-spacing: .07em; text-transform: uppercase; }
.f1-live-context strong { overflow: hidden; font-family: var(--bt-mono); font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.f1-live-context small { color: #77727d; font-family: var(--bt-mono); font-size: 6px; }
.f1-live-order-label { display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding: 7px 11px; border-bottom: 1px solid #28252d; background: #15141a; }
.f1-live-order-label small { color: #716c76; font-family: var(--bt-mono); font-size: 6px; text-transform: uppercase; }
.f1-live-order { display: flex; flex-direction: column; }
.f1-live-row {
    display: grid;
    grid-template-columns: 48px 44px minmax(180px, 1fr) 128px minmax(360px, 1.45fr);
    align-items: center;
    gap: 9px;
    min-height: 69px;
    padding: 7px 11px 7px 8px;
    border-bottom: 1px solid #25232a;
    border-left: 3px solid var(--driver-color);
    background: #101015;
}
.f1-live-row:nth-child(even) { background: #121217; }
.f1-live-position { color: #f2eef5; font-family: var(--bt-mono); font-size: 15px; font-weight: 500; text-align: center; }
.f1-live-photo { display: grid; width: 40px; height: 40px; overflow: hidden; place-items: center; border-radius: 50%; background: #201e25; color: #aaa4af; font-family: var(--bt-mono); font-size: 8px; }
.f1-live-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.f1-live-driver { gap: 2px; }
.f1-live-driver strong { overflow: hidden; font-family: var(--bt-display); font-size: 12px; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.f1-live-driver span,
.f1-live-driver small,
.f1-live-forecast small { color: #77727d; font-family: var(--bt-mono); font-size: 6px; }
.f1-live-forecast { gap: 2px; }
.f1-live-forecast strong { color: #7fe5a1; font-family: var(--bt-mono); font-size: 16px; font-weight: 500; }
.f1-live-forecast small.positive { color: #76dc99; }
.f1-live-forecast small.negative { color: #dc7a83; }
.f1-live-chances { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; }
.live-probability { display: grid; grid-template-columns: 42px minmax(45px, 1fr) 34px; align-items: center; gap: 6px; }
.live-probability small,
.live-probability strong { color: #8c8792; font-family: var(--bt-mono); font-size: 6px; font-weight: 500; }
.live-probability strong { color: #cbc6cf; text-align: right; }
.live-probability i { height: 3px; overflow: hidden; background: #2b2830; }
.live-probability i b { display: block; height: 100%; background: linear-gradient(90deg, var(--driver-color, var(--sport-accent)), #69d991); }

.live-model-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-top: 1px solid #302d36; background: #0f0f14; }
.live-model-evidence b { padding: 4px 6px; border: 1px solid #302d36; color: #8f8995; font-family: var(--bt-mono); font-size: 6px; font-weight: 400; }

.mlb-live-list { display: flex; flex-direction: column; gap: 7px; padding: 8px; }
.mlb-live-game { border: 1px solid #2c2931; background: #111116; }
.mlb-live-game > header { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px; min-height: 35px; padding: 6px 9px; border-bottom: 1px solid #28252d; }
.mlb-live-game > header > strong { font-family: var(--bt-mono); font-size: 8px; font-weight: 500; }
.mlb-live-game > header > small { color: #77727d; font-family: var(--bt-mono); font-size: 6px; text-align: right; }
.mlb-live-scoreboard { display: flex; flex-direction: column; }
.mlb-live-team {
    display: grid;
    grid-template-columns: 38px minmax(170px, 1fr) 58px 45px 44px;
    align-items: center;
    gap: 9px;
    min-height: 53px;
    padding: 6px 10px;
    border-bottom: 1px solid #25232a;
}
.mlb-live-team.favorite { background: linear-gradient(90deg, rgba(88, 214, 130, .055), transparent 48%); }
.mlb-live-logo { display: grid; width: 32px; height: 32px; place-items: center; color: #938e98; font-family: var(--bt-mono); font-size: 7px; }
.mlb-live-logo img { width: 100%; height: 100%; object-fit: contain; }
.mlb-live-team > span { gap: 2px; }
.mlb-live-team > span strong { font-family: var(--bt-display); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.mlb-live-team > span small,
.mlb-live-team > em small { color: #77727d; font-family: var(--bt-mono); font-size: 6px; }
.mlb-live-team > em { display: flex; flex-direction: column; color: #aaa5af; font-family: var(--bt-mono); font-size: 8px; font-style: normal; }
.mlb-live-team > b { font-family: var(--bt-mono); font-size: 19px; font-weight: 500; text-align: center; }
.mlb-live-team > i { color: #7fe5a1; font-family: var(--bt-mono); font-size: 9px; font-style: normal; text-align: right; }
.mlb-live-win { display: grid; grid-template-columns: 105px minmax(90px, 1fr) 42px minmax(120px, .7fr); align-items: center; gap: 8px; min-height: 34px; padding: 6px 10px; border-bottom: 1px solid #28252d; }
.mlb-live-win span,
.mlb-live-win small { color: #85808b; font-family: var(--bt-mono); font-size: 6px; text-transform: uppercase; }
.mlb-live-win i { height: 4px; overflow: hidden; background: #2b2830; }
.mlb-live-win i b { display: block; height: 100%; background: linear-gradient(90deg, var(--sport-accent), #68dc92); }
.mlb-live-win strong { color: #7fe5a1; font-family: var(--bt-mono); font-size: 10px; font-weight: 500; }
.mlb-live-situation { display: grid; grid-template-columns: 48px minmax(220px, .8fr) minmax(220px, 1.2fr); align-items: center; gap: 12px; min-height: 59px; padding: 7px 10px; background: #0f0f14; }
.mlb-live-situation > div { gap: 2px; }
.mlb-live-situation > div > span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 6px; }
.mlb-live-situation > div > strong { font-family: var(--bt-display); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.mlb-live-situation > div > strong small,
.mlb-live-situation > div > em,
.mlb-live-situation > p { color: #77727d; font-family: var(--bt-mono); font-size: 6px; font-style: normal; }
.mlb-live-situation > p { margin: 0; line-height: 1.45; }
.mlb-bases { position: relative; display: block; width: 39px; height: 35px; }
.mlb-bases i { position: absolute; width: 12px; height: 12px; transform: rotate(45deg); border: 1px solid #514b56; background: #1c1a20; }
.mlb-bases i.on { border-color: #71dc96; background: #71dc96; box-shadow: 0 0 9px rgba(113, 220, 150, .25); }
.mlb-bases .second { top: 1px; left: 14px; }
.mlb-bases .third { top: 15px; left: 1px; }
.mlb-bases .first { top: 15px; right: 1px; }
.mlb-live-probables { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; padding: 8px 10px; color: #918b96; font-family: var(--bt-mono); font-size: 6px; }
.mlb-live-probables span:last-child { text-align: right; }
.mlb-live-probables i { color: #625e67; font-style: normal; }
.mlb-player-live-context { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 5px 10px; padding: 9px 11px; border-bottom: 1px solid #302d36; background: rgba(87, 218, 131, .055); }
.mlb-player-live-context > span { display: flex; align-items: center; gap: 5px; color: #75df99; font-family: var(--bt-mono); font-size: 6px; }
.mlb-player-live-context > span i { width: 6px; height: 6px; border-radius: 50%; background: #57da83; }
.mlb-player-live-context > strong { font-family: var(--bt-mono); font-size: 10px; font-weight: 500; }
.mlb-player-live-context > small,
.mlb-player-live-context > em { color: #817b86; font-family: var(--bt-mono); font-size: 6px; font-style: normal; }
.mlb-player-live-context > em { grid-column: 1 / -1; }

.live-tracker-loading,
.live-tracker-error { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 9px; padding: 14px; color: #99939f; font-family: var(--bt-mono); font-size: 8px; }
.live-tracker-loading i { width: 13px; height: 13px; border: 2px solid #3b3740; border-top-color: var(--sport-accent); border-radius: 50%; animation: spin .8s linear infinite; }
.live-tracker-error { flex-wrap: wrap; }
.live-tracker-warning { margin: 0; padding: 6px 10px; border-top: 1px solid #302d36; color: #c4936f; font-family: var(--bt-mono); font-size: 6px; }
.live-tracker-empty { margin: 0; padding: 18px; color: #817b86; font-family: var(--bt-mono); font-size: 8px; text-align: center; }
.individual-model-status.live-conditioned { border-color: rgba(87, 218, 131, .28); color: #a8dcb9; }

@media (max-width: 980px) {
    .f1-live-row { grid-template-columns: 44px 42px minmax(170px, 1fr) 112px; }
    .f1-live-chances { grid-column: 3 / -1; }
}

@media (max-width: 700px) {
    .live-tracker-bar { align-items: stretch; flex-direction: column; }
    .live-tracker-title { grid-template-columns: auto 1fr; }
    .live-tracker-title > small { grid-column: 1 / -1; white-space: normal; }
    .live-tracker-actions { justify-content: space-between; }
    .f1-live-session-rail { grid-template-columns: repeat(5, 138px); }
    .f1-live-context { grid-template-columns: 1fr; }
    .f1-live-context > div { min-height: 47px; }
    .f1-live-row { grid-template-columns: 36px 38px minmax(0, 1fr) 77px; gap: 6px; padding: 7px 7px 8px 5px; }
    .f1-live-photo { width: 36px; height: 36px; }
    .f1-live-driver strong { font-size: 10px; }
    .f1-live-forecast strong { font-size: 13px; }
    .f1-live-chances { grid-column: 2 / -1; gap: 5px 8px; }
    .live-probability { grid-template-columns: 35px minmax(30px, 1fr) 31px; }
    .mlb-live-team { grid-template-columns: 34px minmax(0, 1fr) 42px 38px; }
    .mlb-live-team > em { display: none; }
    .mlb-live-win { grid-template-columns: 85px 1fr 38px; }
    .mlb-live-win small { grid-column: 1 / -1; }
    .mlb-live-situation { grid-template-columns: 43px minmax(0, 1fr); }
    .mlb-live-situation > p { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
    .live-tracker-panel { margin-inline: -1px; }
    .f1-live-row { grid-template-columns: 32px 34px minmax(0, 1fr) 66px; }
    .f1-live-position { font-size: 12px; }
    .f1-live-photo { width: 32px; height: 32px; }
    .f1-live-driver span { display: none; }
    .f1-live-chances { grid-template-columns: 1fr 1fr; }
    .mlb-live-game > header { grid-template-columns: auto 1fr; }
    .mlb-live-game > header > small { grid-column: 1 / -1; text-align: left; }
    .mlb-live-team { grid-template-columns: 30px minmax(0, 1fr) 34px 38px; gap: 6px; padding-inline: 7px; }
    .mlb-live-logo { width: 27px; height: 27px; }
    .mlb-live-team > span strong { font-size: 10px; }
    .mlb-player-live-context { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .live-state.active i,
    .live-tracker-loading i { animation: none; }
}

/* Readable live control room + consistent viewport -----------------------
   This pass deliberately replaces the old 6–7px telemetry type. */
.app {
    width: min(100%, 1440px);
    max-width: 1440px;
    padding-right: clamp(16px, 3vw, 34px);
    padding-left: clamp(16px, 3vw, 34px);
}

.live-tracker-panel { border-radius: 10px; overflow: hidden; }
.live-tracker-bar { min-height: 68px; padding: 12px 16px; }
.live-tracker-title { grid-template-columns: auto auto minmax(180px, 1fr); gap: 10px 12px; }
.live-tracker-title > strong { font-size: 18px; }
.live-tracker-title > small,
.live-tracker-actions > span,
.live-state,
.live-tracker-actions button,
.live-tracker-error button { font-size: 11px; line-height: 1.35; }
.live-tracker-actions button,
.live-tracker-error button { min-height: 38px; padding-inline: 13px; }

.f1-live-session-rail > div { min-height: 58px; padding: 9px 11px; }
.f1-live-session-rail span { font-size: 13px; }
.f1-live-session-rail small,
.f1-live-session-rail b { font-size: 9px; }
.f1-live-context > div { min-height: 68px; padding: 11px 14px; }
.f1-live-context span,
.f1-live-forecast span,
.f1-live-order-label > span,
.live-model-evidence > span { font-size: 9px; }
.f1-live-context strong { font-size: 13px; }
.f1-live-context small { font-size: 10px; line-height: 1.4; }

.f1-live-order-label { min-height: 50px; gap: 12px; padding: 8px 14px; }
.f1-live-sort { display: flex; gap: 4px; }
.f1-live-sort button {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #3d3943;
    background: transparent;
    color: #918b97;
    font-family: var(--bt-mono);
    font-size: 10px;
    cursor: pointer;
}
.f1-live-sort button.active { border-color: var(--sport-accent); background: color-mix(in srgb, var(--sport-accent) 10%, transparent); color: #fff; }
.f1-live-row {
    grid-template-columns: 58px 52px minmax(210px, 1fr) 190px minmax(340px, 1.35fr);
    min-height: 88px;
    gap: 12px;
    padding: 10px 15px 10px 10px;
}
.f1-live-position { display: flex; flex-direction: column; gap: 2px; font-size: 22px; }
.f1-live-position small { color: #746f79; font-family: var(--bt-mono); font-size: 8px; font-weight: 500; }
.f1-live-photo { width: 48px; height: 48px; }
.f1-live-driver strong { font-size: 17px; }
.f1-live-driver span,
.f1-live-driver small,
.f1-live-forecast small,
.f1-live-forecast em { color: #8f8994; font-family: var(--bt-mono); font-size: 10px; font-style: normal; line-height: 1.35; }
.f1-live-forecast strong { font-size: 24px; }
.f1-live-forecast em { color: #aaa4af; }
.live-probability { grid-template-columns: 58px minmax(55px, 1fr) 42px; gap: 8px; }
.live-probability small,
.live-probability strong { font-size: 9px; }
.live-probability i { height: 5px; }
.live-model-evidence { gap: 8px; padding: 10px 13px; }
.live-model-evidence b { padding: 6px 8px; font-size: 9px; }
.live-tracker-warning,
.live-tracker-empty,
.live-tracker-loading,
.live-tracker-error { font-size: 11px; line-height: 1.45; }

.golf-live-header,
.golf-live-row {
    display: grid;
    grid-template-columns: 44px 52px minmax(210px, 1fr) 105px 125px minmax(280px, .9fr);
    align-items: center;
    gap: 11px;
}
.golf-live-header { min-height: 40px; padding: 8px 14px; border-bottom: 1px solid #302d36; color: #88828d; font-family: var(--bt-mono); font-size: 9px; }
.golf-live-header span:nth-child(2) { grid-column: 2 / 4; }
.golf-live-tracker-list { display: flex; flex-direction: column; }
.golf-live-row { min-height: 76px; padding: 9px 14px; border-bottom: 1px solid #27242d; background: #101015; }
.golf-live-row:nth-child(even) { background: #121217; }
.golf-live-row > b { color: var(--sport-accent); font-family: var(--bt-display); font-size: 20px; text-align: center; }
.golf-live-photo { display: grid; width: 44px; height: 44px; overflow: hidden; place-items: center; border-radius: 50%; background: #201e25; color: #aaa4af; font-size: 10px; }
.golf-live-photo img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.golf-live-row > div:not(.golf-live-odds),
.golf-live-row > span { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.golf-live-row > div > strong { overflow: hidden; font-family: var(--bt-display); font-size: 16px; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.golf-live-row small,
.golf-live-row em { color: #88828d; font-family: var(--bt-mono); font-size: 9px; font-style: normal; }
.golf-live-row > span strong { color: #7fe5a1; font-family: var(--bt-mono); font-size: 16px; font-weight: 500; }
.golf-live-odds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

html[data-sport="f1"] .individual-model-status,
html[data-sport="golf"] .individual-model-status,
html[data-sport="f1"] .individual-row-stat small,
html[data-sport="f1"] .individual-row-stat em,
html[data-sport="golf"] .individual-row-stat small,
html[data-sport="golf"] .individual-row-stat em,
html[data-sport="golf"] .golf-live-list small,
html[data-sport="golf"] .golf-live-list article > span em,
html[data-sport="f1"] .individual-session-card summary em,
html[data-sport="f1"] .individual-schedule-card > span em { font-size: 10px; line-height: 1.4; }
html[data-sport="f1"] .individual-ranked-row,
html[data-sport="golf"] .individual-ranked-row,
html[data-sport="golf"] .golf-live-list article { min-height: 82px; }
html[data-sport="golf"] .golf-live-list article > span strong { font-size: 15px; }
.golf-predictor-entry { display: flex; flex-direction: column; }
button.golf-expand-row { width: 100%; border: 0; border-bottom: 1px solid #302d36; border-radius: 0; background: #111116; color: inherit; cursor: pointer; text-align: left; }
button.golf-expand-row:hover,
button.golf-expand-row.selected,
html[data-sport="golf"] .golf-live-list article.selected { background: #19181d; box-shadow: inset 3px 0 var(--sport-accent); }
html[data-sport="golf"] .golf-live-list article[data-golf-expand] { cursor: pointer; }
.golf-inline-projection { margin: 0 0 4px 42px; border: 1px solid #3a3540; border-left: 2px solid var(--sport-accent); background: #141318; }
.golf-inline-projection > header { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 10px 12px; }
.golf-inline-projection > header div { display: flex; flex-direction: column; gap: 2px; }
.golf-inline-projection > header span { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 8px; }
.golf-inline-projection > header strong { font-family: var(--bt-display); font-size: 17px; font-weight: 600; }
.golf-inline-projection > header small { color: #77717d; font-size: 8px; }
.golf-inline-rounds { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #302d36; }
.golf-inline-rounds span { display: flex; min-height: 52px; flex-direction: column; gap: 2px; padding: 8px 11px; background: #101015; }
.golf-inline-rounds small,.golf-inline-rounds em { color: #77717d; font-family: var(--bt-mono); font-size: 8px; font-style: normal; }
.golf-inline-rounds strong { color: #eeeaf1; font-family: var(--bt-mono); font-size: 14px; font-weight: 500; }
.golf-inline-holes { display: grid; grid-template-columns: repeat(9,minmax(62px,1fr)); gap: 1px; border-top: 1px solid #302d36; background: #302d36; }
.golf-inline-holes > span { display: grid; grid-template-columns: auto 1fr; gap: 3px 6px; min-height: 61px; padding: 7px; background: #111116; }
.golf-inline-holes b { color: var(--sport-accent); font-family: var(--bt-mono); font-size: 10px; }
.golf-inline-holes small,.golf-inline-holes em { color: #77717d; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.golf-inline-holes strong { font-family: var(--bt-display); font-size: 17px; font-weight: 600; }
.golf-inline-holes em { grid-column: 1 / -1; }
.golf-inline-holes > p { padding: 13px; background: #111116; color: #77717d; font-size: 9px; }
html[data-sport="golf"] .golf-leaderboard-summary > span,
html[data-sport="golf"] .golf-leaderboard-summary p,
html[data-sport="golf"] .golf-leaderboard-summary button { font-size: 10px; line-height: 1.4; }

@media (max-width: 980px) {
    .f1-live-row { grid-template-columns: 52px 48px minmax(170px, 1fr) 170px; }
    .f1-live-chances { grid-column: 3 / -1; }
    .golf-live-header,
    .golf-live-row { grid-template-columns: 40px 46px minmax(170px, 1fr) 90px 110px; }
    .golf-live-row > .golf-live-odds { grid-column: 3 / -1; }
    .golf-live-header span:last-child { display: none; }
}

@media (max-width: 700px) {
    .app { width: 100%; padding-right: 12px; padding-left: 12px; }
    .live-tracker-bar { padding: 11px 12px; }
    .live-tracker-title { grid-template-columns: auto 1fr; }
    .live-tracker-title > strong { font-size: 16px; }
    .f1-live-context { grid-template-columns: 1fr; }
    .f1-live-context > div { min-height: 58px; }
    .f1-live-order-label { align-items: stretch; flex-direction: column; }
    .f1-live-sort { width: 100%; }
    .f1-live-sort button { min-height: 40px; flex: 1; }
    .f1-live-row { grid-template-columns: 44px 42px minmax(0, 1fr) 104px; min-height: 92px; gap: 8px; padding: 9px 8px 10px 6px; }
    .f1-live-position { font-size: 18px; }
    .f1-live-photo { width: 40px; height: 40px; }
    .f1-live-driver strong { font-size: 15px; white-space: normal; }
    .f1-live-forecast strong { font-size: 20px; }
    .f1-live-chances { grid-column: 2 / -1; gap: 7px 10px; }
    .live-probability { grid-template-columns: 54px minmax(35px, 1fr) 38px; }
    .golf-live-header { display: none; }
    .golf-live-row { grid-template-columns: 34px 40px minmax(0, 1fr) 66px 76px; min-height: 86px; gap: 7px; padding: 8px; }
    .golf-live-photo { width: 38px; height: 38px; }
    .golf-live-row > div > strong { font-size: 14px; white-space: normal; }
    .golf-live-row > span strong { font-size: 14px; }
    .golf-live-row > .golf-live-odds { grid-column: 2 / -1; }
    .golf-inline-projection { margin-left: 0; }
    .golf-inline-holes { grid-template-columns: repeat(6,minmax(60px,1fr)); }
}

@media (max-width: 430px) {
    .app { padding-right: 10px; padding-left: 10px; }
    .f1-live-row { grid-template-columns: 38px minmax(0, 1fr) 88px; }
    .f1-live-photo { display: none; }
    .f1-live-chances { grid-column: 1 / -1; }
    .golf-live-row { grid-template-columns: 30px minmax(0, 1fr) 58px 68px; }
    .golf-live-photo { display: none; }
    .golf-live-row > .golf-live-odds { grid-column: 1 / -1; }
    .golf-inline-rounds { grid-template-columns: 1fr 1fr; }
    .golf-inline-holes { grid-template-columns: repeat(3,minmax(70px,1fr)); }
}

@media (max-width: 560px) {
    .sport-choice-card { min-height: 124px; }
    .sport-card-index { position: absolute; top: 13px; left: 15px; font-size: 9px; }
    .sport-choice-card > strong { top: 36px; bottom: auto; left: 15px; font-size: 31px; }
    .sport-choice-card > small { top: 73px; right: 118px; bottom: auto; left: 16px; font-size: 9px; line-height: 1.35; }
    .sport-card-logos { top: 20px; right: 34px; width: 76px; height: 72px; }
    .sport-card-logos img { width: 66px; height: 66px; }
}

/* NBA trade lab --------------------------------------------------------- */
.nba-trade-lab { padding-bottom: 28px; }
.trade-lab-bar,
.trade-section-line,
.trade-sources {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 54px;
    padding: 9px 12px;
    border: 1px solid #302e37;
    background: #101016;
}
.trade-lab-bar > div:first-child,
.trade-section-line > div,
.trade-sources > div { display: flex; flex-direction: column; gap: 3px; }
.trade-lab-bar span,
.trade-section-line span,
.trade-section-line small,
.trade-sources span,
.trade-sources a,
.trade-side header label span,
.trade-side header > div small,
.trade-team-needs,
.trade-asset-row span,
.trade-roster-search span,
.trade-package-player small,
.trade-roster-list button small,
.trade-roster-list button em,
.trade-verdict span,
.trade-verdict p,
.trade-team-grade header span,
.trade-team-grade header small,
.trade-fit-bars,
.trade-team-grade li,
.trade-team-grade a,
.trade-legality,
.trade-move-board article small {
    color: #7d7884;
    font-family: var(--bt-mono);
    font-size: 7px;
}
.trade-lab-bar strong,
.trade-section-line strong,
.trade-sources strong { color: #ddd9e1; font-family: var(--bt-display); font-size: 14px; font-weight: 600; text-transform: uppercase; }
.trade-lab-bar > div:last-child { display: flex; gap: 6px; }
.trade-lab-bar button,
.trade-move-board article button,
.trade-verdict button {
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid #3a3741;
    border-radius: 1px;
    background: #15151c;
    color: #bdb8c2;
    font-family: var(--bt-mono);
    font-size: 7px;
    text-transform: uppercase;
}
.trade-lab-bar button:hover,
.trade-move-board article button:hover,
.trade-verdict button:hover { border-color: var(--sport-accent); color: #fff; }

.trade-move-board { margin: 8px 0; border: 1px solid #302e37; }
.trade-move-board .trade-section-line { border: 0; border-bottom: 1px solid #302e37; }
.trade-move-board > div:last-child { display: flex; flex-direction: column; }
.trade-move-board article {
    display: grid;
    grid-template-columns: 28px minmax(190px, 1fr) 28px minmax(190px, 1fr) 72px 100px;
    align-items: center;
    gap: 9px;
    min-height: 62px;
    padding: 7px 10px;
    border-bottom: 1px solid #292731;
    background: #121218;
}
.trade-move-board article:last-child { border-bottom: 0; }
.trade-move-board article > b { color: var(--bt-indigo); font-family: var(--bt-display); font-size: 17px; font-weight: 600; }
.trade-move-team { display: flex; min-width: 0; align-items: center; gap: 8px; }
.trade-move-team > span { display: flex; min-width: 0; flex-direction: column; }
.trade-move-team strong { overflow: hidden; font-family: var(--bt-display); font-size: 12px; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.trade-move-board article > div:nth-last-of-type(1) { display: flex; flex-direction: column; text-align: right; }
.trade-move-board article > div:nth-last-of-type(1) strong { color: #75e49d; font-family: var(--bt-mono); font-size: 13px; font-weight: 500; }
.trade-arrow { color: #5f5a65; text-align: center; }
.trade-team-logo { width: 34px; height: 34px; flex: 0 0 34px; }
.trade-team-logo img { object-fit: contain; }

.trade-workbench {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
}
.trade-center-mark { display: flex; min-height: 220px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #696571; text-align: center; }
.trade-center-mark span,
.trade-center-mark small { font-family: var(--bt-mono); font-size: 6px; text-transform: uppercase; }
.trade-center-mark b { color: var(--bt-indigo); font-size: 20px; font-weight: 400; }

.trade-side { overflow: hidden; border: 1px solid #302e37; background: #101016; }
.trade-side > header {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 9px;
    min-height: 66px;
    padding: 8px 11px;
    border-bottom: 1px solid #302e37;
    background: linear-gradient(110deg, rgba(102,126,234,.07), transparent 58%), #131319;
}
.trade-side > header .trade-team-logo { width: 42px; height: 42px; }
.trade-side header label { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.trade-side header select,
.trade-asset-row select,
.trade-roster-search input {
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid #3a3741;
    border-radius: 0;
    background: #111117;
    color: #eeeaf1;
    font-family: var(--bt-mono);
    font-size: 9px;
}
.trade-side header > div { display: flex; align-items: flex-end; flex-direction: column; }
.trade-side header > div strong { color: #75e49d; font-family: var(--bt-mono); font-size: 15px; font-weight: 500; }
.trade-team-needs { display: flex; align-items: center; gap: 5px; min-height: 34px; padding: 6px 10px; border-bottom: 1px solid #292731; text-transform: uppercase; }
.trade-team-needs b { padding: 4px 6px; border: 1px solid #383540; color: #bdb8c2; font-size: 7px; font-weight: 500; }

.trade-selected-package { display: flex; min-height: 58px; flex-direction: column; border-bottom: 1px solid #292731; }
.trade-selected-package > p { padding: 20px 11px; color: #68636e; font-family: var(--bt-mono); font-size: 8px; }
.trade-package-player {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 42px 26px;
    align-items: center;
    gap: 7px;
    min-height: 52px;
    padding: 5px 8px;
    border-bottom: 1px solid #292731;
    background: rgba(102,126,234,.035);
}
.trade-package-player:last-child { border-bottom: 0; }
.trade-package-player > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.trade-package-player > div strong { overflow: hidden; font-family: var(--bt-display); font-size: 12px; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.trade-package-player > span { display: flex; flex-direction: column; color: #75e49d; font-family: var(--bt-mono); font-size: 11px; text-align: right; }
.trade-package-player > span small { font-size: 5px; }
.trade-package-player > button { width: 25px; height: 25px; border: 1px solid #413d47; background: #15151c; color: #aaa5af; }
.trade-player-photo { width: 38px; height: 38px; background: #1c1b22; }
.trade-player-photo img { object-fit: contain; object-position: bottom; }

.trade-asset-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 8px 10px; border-bottom: 1px solid #292731; }
.trade-asset-row label,
.trade-roster-search { display: flex; flex-direction: column; gap: 4px; }
.trade-roster-search { padding: 8px 10px; border-bottom: 1px solid #292731; }
.trade-roster-list { display: flex; max-height: 430px; overflow-y: auto; flex-direction: column; }
.trade-roster-list > button {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 7px;
    min-height: 50px;
    padding: 5px 8px;
    border: 0;
    border-bottom: 1px solid #25232b;
    border-radius: 0;
    background: #121218;
    color: #ddd9e1;
    text-align: left;
}
.trade-roster-list > button:hover { background: #181820; }
.trade-roster-list > button.selected { background: rgba(102,126,234,.1); box-shadow: inset 3px 0 var(--bt-indigo); }
.trade-roster-list button > span { display: flex; min-width: 0; flex-direction: column; }
.trade-roster-list button strong { overflow: hidden; font-family: var(--bt-display); font-size: 11px; font-weight: 600; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.trade-roster-list button em { color: #75e49d; font-size: 9px; font-style: normal; text-align: right; }

.trade-result { margin-top: 8px; border: 1px solid #302e37; background: #101016; }
.trade-verdict {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) max-content;
    align-items: center;
    gap: 13px;
    min-height: 92px;
    padding: 10px 12px;
    border-bottom: 1px solid #302e37;
}
.trade-grade-ring {
    display: grid;
    width: 62px;
    height: 62px;
    place-content: center;
    border: 1px solid #44404a;
    border-radius: 50%;
    background: conic-gradient(#75e49d calc(var(--grade) * 1%), #24222a 0);
    box-shadow: inset 0 0 0 8px #101016;
    text-align: center;
}
.trade-grade-ring strong { color: #fff; font-family: var(--bt-display); font-size: 19px; font-weight: 600; }
.trade-grade-ring small { color: #8d8893; font-family: var(--bt-mono); font-size: 6px; }
.trade-verdict > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.trade-verdict h3 { margin: 0; font-family: var(--bt-display); font-size: 20px; font-weight: 600; text-transform: uppercase; }
.trade-team-grades { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #302e37; }
.trade-team-grade { padding: 12px; background: #111117; }
.trade-team-grade > header { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 9px; }
.trade-team-grade header > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 1px 8px; }
.trade-team-grade header strong { grid-row: 1 / 3; grid-column: 2; color: #75e49d; font-family: var(--bt-display); font-size: 28px; font-weight: 600; }
.trade-fit-bars { display: flex; flex-direction: column; gap: 6px; }
.trade-fit-bars > div { display: grid; grid-template-columns: 72px minmax(60px, 1fr) 42px; align-items: center; gap: 7px; }
.trade-fit-bars i { position: relative; display: block; height: 5px; background: #292731; }
.trade-fit-bars i b,
.trade-fit-bars i em { position: absolute; top: 0; bottom: 0; left: 0; }
.trade-fit-bars i b { background: #55505b; }
.trade-fit-bars i em { height: 2px; margin-top: 1px; background: #75e49d; }
.trade-fit-bars strong { font-family: var(--bt-mono); font-size: 8px; font-weight: 500; text-align: right; }
.trade-fit-bars strong.positive { color: #75e49d; }
.trade-fit-bars strong.negative { color: #db777f; }
.trade-team-grade ul { margin: 10px 0 0 15px; }
.trade-team-grade li { margin-bottom: 5px; line-height: 1.45; }
.trade-team-grade a { display: block; margin-top: 9px; padding-top: 8px; border-top: 1px solid #292731; color: #aaa5af; line-height: 1.4; text-decoration: none; }
.trade-team-grade a span { display: block; color: var(--bt-indigo); font-size: 6px; text-transform: uppercase; }
.trade-legality { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 12px; border-top: 1px solid #302e37; line-height: 1.5; }
.trade-legality strong { color: #cbb472; font-weight: 500; }
.trade-sources { margin-top: 8px; }
.trade-sources > a { color: #8f8a96; text-decoration: none; }
.trade-sources > div > small { max-width: 760px; color: #68636e; font-size: 7px; line-height: 1.45; }

.trade-system-levels {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr)) minmax(240px, 2.2fr);
    gap: 1px;
    margin-top: 8px;
    border: 1px solid #302e37;
    background: #302e37;
}
.trade-system-levels > span { display: flex; min-height: 54px; justify-content: center; flex-direction: column; gap: 3px; padding: 8px 11px; background: #111117; }
.trade-system-levels small { color: #726d78; font-family: var(--bt-mono); font-size: 7px; letter-spacing: .08em; }
.trade-system-levels strong { color: #e5e0e8; font-family: var(--bt-mono); font-size: 12px; font-weight: 500; }
.trade-system-levels p { display: flex; align-items: center; margin: 0; padding: 9px 12px; background: #111117; color: #8c8792; font-size: 9px; line-height: 1.45; }

.trade-cap-sheet { padding: 9px 10px; border-bottom: 1px solid #292731; background: #0d0d12; }
.trade-cap-head { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 7px; }
.trade-cap-head > span { color: #817c87; font-family: var(--bt-mono); font-size: 7px; letter-spacing: .05em; }
.trade-cap-head > strong { color: #e4e0e7; font-family: var(--bt-mono); font-size: 11px; font-weight: 500; }
.trade-cap-head > b { padding: 3px 5px; border: 1px solid #494450; color: #b7b1bc; font-family: var(--bt-mono); font-size: 7px; font-weight: 500; }
.trade-cap-head > b.band-second-apron { border-color: #7a343e; color: #ef8e98; }
.trade-cap-head > b.band-first-apron { border-color: #72562d; color: #ddb66d; }
.trade-cap-head > b.band-cap-room { border-color: #28543a; color: #79d79b; }
.trade-cap-track { position: relative; height: 7px; margin: 8px 0 7px; overflow: visible; background: #26242c; }
.trade-cap-track > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #5b6fc8, #d49c55); }
.trade-cap-track > b { position: absolute; top: -2px; width: 1px; height: 11px; background: #d9d5dd; opacity: .6; }
.trade-cap-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.trade-cap-facts span { display: flex; flex-direction: column; color: #6f6a75; font-family: var(--bt-mono); font-size: 7px; }
.trade-cap-facts b { color: #a8a2ad; font-size: 9px; font-weight: 500; }
.trade-cap-sheet > small { display: block; margin-top: 7px; color: #5f5a65; font-size: 7px; line-height: 1.4; }

.trade-package-player > div > em { color: #a99c74; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }
.trade-pick-vault { border-bottom: 1px solid #292731; background: #101016; }
.trade-pick-vault > summary { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; cursor: pointer; list-style: none; }
.trade-pick-vault > summary::-webkit-details-marker { display: none; }
.trade-pick-vault > summary::after { content: '+'; color: #77727d; font-family: var(--bt-mono); }
.trade-pick-vault[open] > summary::after { content: '−'; }
.trade-pick-vault > summary span { color: #7d7884; font-family: var(--bt-mono); font-size: 7px; }
.trade-pick-vault > summary strong { margin-left: auto; color: #c4bec8; font-family: var(--bt-mono); font-size: 9px; font-weight: 500; }
.trade-draft-outlook { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-top: 1px solid #292731; border-bottom: 1px solid #292731; background: rgba(102,126,234,.045); }
.trade-draft-outlook span { color: var(--bt-indigo); font-family: var(--bt-mono); font-size: 7px; }
.trade-draft-outlook b { color: #ddd8e0; font-size: 11px; font-weight: 500; }
.trade-draft-outlook small { color: #77717c; font-size: 8px; }
.trade-pick-list { display: flex; max-height: 290px; overflow-y: auto; flex-direction: column; }
.trade-pick-list > button { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; gap: 7px; min-height: 48px; padding: 6px 9px; border: 0; border-bottom: 1px solid #25232b; border-radius: 0; background: #121218; color: #ddd9e1; text-align: left; }
.trade-pick-list > button:hover { background: #181820; }
.trade-pick-list > button.selected { background: rgba(117,228,157,.08); box-shadow: inset 3px 0 #75e49d; }
.trade-pick-list > button > b { display: flex; flex-direction: column; color: #e1dce4; font-family: var(--bt-mono); font-size: 9px; font-weight: 500; }
.trade-pick-list > button > b small { color: #77727d; font-size: 6px; }
.trade-pick-list > button > span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.trade-pick-list > button > span strong { font-size: 9px; font-weight: 500; }
.trade-pick-list > button > span small { overflow: hidden; color: #76717c; font-size: 7px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.trade-pick-list > button > em { color: #b9aa79; font-family: var(--bt-mono); font-size: 7px; font-style: normal; text-align: right; }
.trade-pick-list > p { padding: 15px 10px; color: #6e6974; font-size: 8px; }
.trade-pick-note { display: block; padding: 7px 10px; border-top: 1px solid #292731; color: #625d67; font-size: 7px; line-height: 1.4; }
.trade-roster-list button > span i { color: #9a8f72; font-family: var(--bt-mono); font-size: 7px; font-style: normal; }

.trade-rule-check { border-bottom: 1px solid #302e37; }
.trade-rule-verdict { display: grid; grid-template-columns: 120px minmax(180px, .8fr) minmax(220px, 2fr); align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; background: #0e0e13; }
.trade-rule-verdict span { color: #7b7681; font-family: var(--bt-mono); font-size: 7px; }
.trade-rule-verdict strong { color: #75e49d; font-family: var(--bt-mono); font-size: 10px; font-weight: 500; }
.trade-rule-check.review .trade-rule-verdict strong { color: #d6b26d; }
.trade-rule-check.fail .trade-rule-verdict strong { color: #e27c86; }
.trade-rule-verdict small { color: #827d88; font-size: 8px; }
.trade-rule-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #302e37; }
.trade-rule-team { padding: 10px 12px; background: #111117; }
.trade-rule-team > header { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 7px; margin-bottom: 8px; }
.trade-rule-team > header .trade-team-logo { width: 28px; height: 28px; }
.trade-rule-team > header strong { font-family: var(--bt-display); font-size: 11px; font-weight: 600; text-transform: uppercase; }
.trade-rule-team > header b { padding: 3px 5px; border: 1px solid #28543a; color: #75e49d; font-family: var(--bt-mono); font-size: 7px; font-weight: 500; }
.trade-rule-team > header b.review { border-color: #6d552c; color: #d6b26d; }
.trade-rule-team > header b.fail { border-color: #71313a; color: #e27c86; }
.trade-rule-team > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.trade-rule-team > div span { display: flex; flex-direction: column; color: #6f6a75; font-family: var(--bt-mono); font-size: 7px; }
.trade-rule-team > div strong { color: #aaa4af; font-size: 9px; font-weight: 500; }
.trade-rule-team > p { display: grid; grid-template-columns: 16px 1fr; align-items: center; gap: 5px; margin: 7px 0 0; color: #85808b; font-size: 8px; }
.trade-rule-team > p b { color: #75e49d; font-family: var(--bt-mono); font-weight: 500; }
.trade-rule-check.fail .trade-rule-team > p b { color: #e27c86; }
.trade-rule-limit { margin: 0; padding: 8px 12px; border-top: 1px solid #292731; background: #0e0e13; color: #67626d; font-size: 8px; line-height: 1.45; }

@media (max-width: 900px) {
    .trade-move-board article { grid-template-columns: 24px minmax(150px, 1fr) 24px minmax(150px, 1fr) 65px; }
    .trade-move-board article button { grid-column: 2 / -1; }
    .trade-workbench { grid-template-columns: 1fr; }
    .trade-center-mark { min-height: 52px; flex-direction: row; }
    .trade-center-mark b { transform: rotate(90deg); }
}

@media (max-width: 700px) {
    .trade-system-levels { grid-template-columns: 1fr 1fr; }
    .trade-system-levels p { grid-column: 1 / -1; }
    .trade-lab-bar,
    .trade-section-line,
    .trade-sources { align-items: flex-start; flex-direction: column; }
    .trade-move-board article { grid-template-columns: 22px minmax(0, 1fr) 18px minmax(0, 1fr); }
    .trade-move-board article > div:nth-last-of-type(1) { grid-column: 2 / 4; text-align: left; }
    .trade-move-board article button { grid-column: 4; }
    .trade-team-grades { grid-template-columns: 1fr; }
    .trade-rule-verdict { grid-template-columns: 1fr; gap: 3px; }
    .trade-rule-teams { grid-template-columns: 1fr; }
    .trade-verdict { grid-template-columns: 62px minmax(0, 1fr); }
    .trade-verdict button { grid-column: 1 / -1; }
    .trade-legality { grid-template-columns: 1fr; }
    .trade-lab-bar span,
    .trade-section-line span,
    .trade-section-line small,
    .trade-sources span,
    .trade-sources a,
    .trade-side header label span,
    .trade-side header > div small,
    .trade-team-needs,
    .trade-asset-row span,
    .trade-roster-search span,
    .trade-package-player small,
    .trade-roster-list button small,
    .trade-verdict span,
    .trade-verdict p,
    .trade-team-grade header span,
    .trade-team-grade header small,
    .trade-fit-bars,
    .trade-team-grade li,
    .trade-team-grade a,
    .trade-legality,
    .trade-move-board article small { font-size: 9px; }
}

@media (max-width: 520px) {
    .trade-system-levels { grid-template-columns: 1fr 1fr; }
    .trade-move-board article { grid-template-columns: 20px minmax(0, 1fr); gap: 6px; }
    .trade-move-board .trade-arrow { display: none; }
    .trade-move-team,
    .trade-move-board article > div:nth-last-of-type(1),
    .trade-move-board article button { grid-column: 2; }
    .trade-asset-row { grid-template-columns: 1fr; }
    .trade-cap-facts { grid-template-columns: 1fr 1fr 1fr; }
    .trade-rule-team > div { grid-template-columns: 1fr 1fr; }
    .trade-side > header { grid-template-columns: 42px minmax(0, 1fr); }
    .trade-side > header > div { grid-column: 2; align-items: flex-start; flex-direction: row; gap: 5px; }
    .trade-fit-bars > div { grid-template-columns: 65px minmax(50px, 1fr) 38px; }
}
