@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700;800&display=swap');
/* Loaded last only on approved pages. Savant, History and admin retain their layouts. */
html body, html body.light {
 --bg:#fff;--surface:#f3f5f7;--card:#fff;--card-hover:#f4f6f8;
 --border:#dce1e6;--border-sub:#e5e8ec;--text:#12243b;--text-sub:#445468;--muted:#607084;
 --accent:#b52f3b;--accent-dim:#f8e9ec;--green:#16713b;--red:#b52f3b;--gold:#906013;
 --radius-sm:2px;--radius:2px;--radius-lg:2px;--font:'DM Sans',Arial,sans-serif;
 background:var(--bg);color:var(--text);color-scheme:light;font-family:var(--font);
}
html:not([data-editorial-theme=light]) body {
 --bg:#111923;--surface:#1c2836;--card:#111923;--card-hover:#202d3d;
 --border:#354252;--border-sub:#293646;--text:#e7ecf2;--text-sub:#c0cad6;--muted:#a6b2c2;
 --accent:#f18e98;--accent-dim:#3c2630;--green:#73d79b;--red:#f58d96;--gold:#edc372;color-scheme:dark;
}
html body .site-header{height:auto;position:relative;background:#12243b;border:0;color:#fff}
html body .header-inner{display:flex;flex-wrap:wrap;max-width:1440px;min-height:86px;height:auto;gap:14px;padding:20px 28px 0}
html body .header-logo{margin-right:auto;gap:16px;color:#fff}
.editorial-brand{font-size:11px;font-weight:700;letter-spacing:1.5px;max-width:160px;line-height:1.6}
html body .header-logo img{height:42px}
html body .header-nav{order:10;width:100%;height:48px;gap:23px;background:none;justify-content:flex-start}
html body .nav-link{padding:10px 0;color:#d5dfe9;font-size:12px;font-weight:700;border-top:0}
html body .nav-link.active,html body .nav-link:hover{color:#fff;background:none;border-bottom-color:#eb7885}
html body .header-search-wrap{margin-left:auto}
html body .header-search-wrap input{border-radius:2px;width:210px;background:var(--card);color:var(--text);border-color:var(--border)}
html body .theme-toggle{border-radius:2px;width:auto;min-width:54px;min-height:36px;padding:7px 10px;font-size:12px;color:white;border-color:#637187}
html body .nav-login-btn{color:#fff;background:none;border-color:#637187;border-radius:2px}
html body .page-wrap,html body .home-wrap,html body .page-hero-inner{max-width:1440px;padding-left:28px;padding-right:28px}
html body .page-hero{background:var(--bg);border-bottom:1px solid var(--border);padding:28px 0 18px}
html body .page-hero-title{font:700 38px/1.1 'Barlow Condensed',sans-serif;text-transform:uppercase;color:var(--text)}
html body .page-hero-label{display:none}
html body .home-grid-2col{grid-template-columns:1.2fr 1fr .95fr;gap:28px;max-width:none}
html body .home-mid{grid-column:auto;grid-row:auto}
html body .widget-card,html body .tx-card,html body .info-card,html body .yt-card{border:0;border-radius:0;background:var(--card);box-shadow:none}
html body .widget-header,html body .tx-card-header,html body .info-header,html body .yt-header{padding:12px 0;border-bottom:2px solid var(--text);background:none}
html body .widget-title,html body .tx-card-title,html body .info-title,html body .yt-title{font-size:17px;letter-spacing:0;text-transform:none;color:var(--text)}
html body .widget-underline,html body .tx-card-underline{display:none}
html body .w-row{padding:14px 0;border-bottom:1px solid var(--border)}
html body .rr-card{border:0;border-bottom:1px solid var(--border);border-radius:0;padding:8px 0;box-shadow:none}
html body .score-ticker-bar,html body .ticker-date-label{background:var(--surface);border-color:var(--border)}
html body .std-div-header{background:none;border-bottom:2px solid var(--text);border-radius:0;color:var(--text)}
html body .std-table-wrap{overflow-x:auto;border:0;border-radius:0}
html body .std-table{min-width:1050px}
html body .std-table th,html body .std-table td{display:table-cell;padding:14px 10px;white-space:nowrap}
html body .std-next{border-left:1px solid var(--border);min-width:145px}
html body .std-next a{color:var(--accent)}
html body .team-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,510px),1fr));gap:28px}
html body .team-card{border:1px solid var(--border);border-top:4px solid var(--tc);border-radius:0;background:var(--card)}
html body .tc-header{padding:22px;background:none}
html body .tc-cap-bar{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
html body table.roster-tbl td{padding:15px 20px}
html body .signup-player{background:var(--card)}
html body .signup-player[open],html body .player-detail{background:var(--surface)}
html body .summary-card{border:0;border-radius:0;background:none;padding:16px}
html body .summary-card h3{border-bottom:2px solid var(--accent);padding-bottom:10px;color:var(--text)}
html body .stat-box{background:none;border:0;border-radius:0}
html body .stats-table{font-variant-numeric:tabular-nums}
html body .stats-table th,html body .stats-table td{padding:15px 12px}
html body table th{background:var(--surface);color:var(--muted)}
html body table td{color:var(--text-sub)}
html body table tbody tr:hover td{background:var(--card-hover)}
html body .stat-tab.active,html body .page-hero-tab.active,html body .filter-btn.active{color:var(--accent);border-color:var(--accent)}
html body .stat-tab,html body .page-hero-tab{color:var(--muted)}
html body .stats-table-wrap{overflow-x:auto;border:0;border-radius:0}
html body .stats-table th,html body .stats-table td{display:table-cell}
html body #min-filter{background:var(--card)!important;color:var(--text)!important;border-color:var(--border)!important}
html body #btn-regular,html body #btn-playoffs{background:transparent!important;color:var(--muted)!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;padding:12px 16px!important}
html body #btn-regular[aria-pressed=true],html body #btn-playoffs[aria-pressed=true]{color:var(--accent)!important;border-bottom-color:var(--accent)!important}
html body .rr-team.winner .rr-team-name,html body .rr-team.winner .rr-team-score,html body .page-title,html body .date-slot-num,html body .game-team-name,html body .game-team-score{color:var(--text)}
html body .view-btn.active{color:var(--accent)}
html body .rpill.active{color:var(--accent)}
html body .gcard-tname.win,html body .sc.win,html body .h2h-val{color:var(--text)}
html body .std-team-name,html body .tc-name,html body .player-link,html body .player-name-link,html body .w-name,html body .w-value,html body .rr-team-name,html body .rr-score,html body .stat-v,html body .stats-table td:first-child,html body .std-div-name{color:var(--text)}
html body input,html body select{color:var(--text);background:var(--card);border-color:var(--border);border-radius:2px}
html body .search-dropdown,html body .nav-user-menu{background:var(--card);border-color:var(--border)}
html body .search-result-name,html body .nav-user-menu a{color:var(--text)}
html body .site-footer{background:var(--surface);border-color:var(--border)}
html body .footer-brand-name,html body .footer-link{color:var(--text-sub)}
/* Match the approved masthead: full-width brand/tools, separate paper navigation. */
html body .header-inner{max-width:none;padding:18px 28px 0;gap:16px;min-height:0}
html body .header-logo{gap:14px}
html body .header-logo img{height:58px;width:58px;object-fit:contain;flex-shrink:0}
.editorial-brand{border-left:1px solid #ffffff55;padding-left:18px;max-width:205px;font-size:11px;line-height:1.7}
html body .header-nav{flex:0 0 calc(100% + 56px);width:calc(100% + 56px);margin:2px -28px 0;padding:0 28px;gap:25px;background:var(--bg);border-bottom:1px solid var(--border);height:49px}
html body .header-nav .nav-link{color:var(--text-sub);padding:14px 4px;font-size:14px}
html body .header-nav .nav-link:hover,html body .header-nav .nav-link.active{color:var(--accent);border-bottom-color:var(--accent)}
html body .header-search-wrap input{height:38px}
html body .theme-toggle{height:38px;min-width:83px;white-space:nowrap}
html[data-editorial-theme=light] body .site-header{background:var(--bg);color:var(--text)}
html[data-editorial-theme=light] body .header-logo,
html[data-editorial-theme=light] body .theme-toggle,
html[data-editorial-theme=light] body .nav-login-btn,
html[data-editorial-theme=light] body .mobile-nav-btn{color:var(--text);border-color:var(--border)}
html[data-editorial-theme=light] body .editorial-brand{color:var(--text);border-color:var(--border)}
html[data-league=ncaa-p] body #savant-section{display:none!important}
.home-empty{min-height:160px;display:grid;place-items:center;text-align:center;padding:24px;color:var(--muted);border:1px solid var(--border);background:var(--surface)}
html body #nav-auth{margin-left:0}
/* Neutral text follows its surface; intentional white-on-brand elements stay white. */
html body .tc-score.winner,html body .highlight,html body .stat-highlight,html body .stats-player-name,html body .std-w,html body .team-full-name,html body .division-name,html body h1,html body .sch-team-name.winner,html body .sch-score.winner{color:var(--text)}
html body .data-table .highlight{color:var(--text)}
html body .pickem-tab.active,html body .hero-tab.active,html body .sch-date-pill.active{color:var(--accent)}
html body .role-other{color:var(--text-sub);background:var(--surface)}
html body .role-bench{color:var(--gold)}
html body .tx-type-trade,html body .rr-badge.shutout{color:var(--accent);background:var(--accent-dim)}
html body .rating-badge{color:var(--text);background:var(--surface);border:1px solid var(--border)}
html body .tc-view-btn{color:var(--accent);opacity:1}
html body .search-dropdown a,html body .search-dropdown a div{color:var(--text)!important}
html body .search-dropdown{color:var(--text)}
html body [style*="color:#555"],html body [style*="color: #555"],html body [style*="color:#444"],html body [style*="color: #444"]{color:var(--muted)!important}
html body .stats-table td[style*="color:#4a9eff"]{color:var(--accent)!important}
html body .std-table td[style*="#4caf50"]{color:var(--green)!important}
html body .std-table td[style*="#ff5252"]{color:var(--red)!important}
html body .btn-primary,html body .pickem-submit-btn{background:#b52f3b;color:#fff}
@media(max-width:1000px){html body .home-grid-2col{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html body .home-mid{grid-column:1/-1;grid-row:2}}
@media(max-width:900px){html body .header-inner{padding:14px 18px;gap:12px}html body .header-nav{display:none;order:10;height:auto;position:static;width:100%;flex-wrap:wrap;padding:12px 0;box-shadow:none;border:0}html body.mobile-nav-open .header-nav{display:flex;background:#12243b}html body .mobile-nav-btn{display:flex}html body .mobile-nav-backdrop{display:none!important}html body .header-search-wrap{display:block;order:5;flex:1 1 100%;margin:0}html body .header-search-wrap input{width:100%;font-size:16px}html body .editorial-brand{max-width:135px;font-size:10px}html body #nav-auth{margin-left:0}}
@media(max-width:650px){html body .home-grid-2col{grid-template-columns:minmax(0,1fr)}html body .home-mid{grid-column:auto;grid-row:auto}html body .home-wrap,html body .page-wrap,html body .page-hero-inner{padding-left:16px;padding-right:16px}html body .summary-grid{grid-template-columns:1fr}html body .editorial-brand{display:none}html body .widget-header{flex-wrap:wrap;gap:10px}}
@media(max-width:900px){html body .header-nav{flex-basis:calc(100% + 36px);width:calc(100% + 36px);margin:0 -18px -14px;padding:10px 18px;gap:18px}html body.mobile-nav-open .header-nav{background:var(--bg)}html body .editorial-brand{max-width:185px}html body .header-logo{gap:10px}html body .editorial-wordmark{font-size:30px}}
@media(max-width:420px){html body .header-logo img{height:46px;width:46px}html body .header-inner{gap:10px}html body .nav-username{max-width:75px;overflow:hidden;text-overflow:ellipsis}html body .theme-toggle{min-width:77px}}
