/* Measured from databallr.com/stats: preserve the source theme tokens and type. */
:root{--background:220 24% 14%;--foreground:0 0% 98%;--card:220 24% 18%;--card-foreground:0 0% 98%;--popover:220 26% 22%;--popover-foreground:0 0% 98%;--primary:42 100% 67%;--primary-foreground:220 24% 10%;--secondary:198 93% 60%;--muted-foreground:220 10% 72%;--border:220 18% 22%;--input:220 20% 26%;--accent:220 20% 30%;--radius:1rem;--font-ui:ui-sans-serif,system-ui,sans-serif;--font-numeric:'Lato',ui-sans-serif,system-ui,sans-serif;--bg:hsl(var(--background));--paper:hsl(var(--card));--soft:hsl(220 20% 22%);--ink:hsl(var(--foreground));--muted:hsl(var(--muted-foreground));--line:hsl(var(--border));--orange:hsl(var(--primary));--green:#7dd3b1;--table-header:#2d3443;--table-hover:#343d50;--table-stripe:#232a39}
body{background:var(--bg);color:var(--ink);font:400 16px/1.5 var(--font-ui);-webkit-font-smoothing:antialiased}
body *,body *::before,body *::after{font-family:var(--font-ui)!important}
h1,h2,h3,h4{font-weight:700;color:var(--ink);letter-spacing:-.025em}
h1,.page-heading h1,.league-page-heading h1{font-size:36px;line-height:40px;letter-spacing:-.025em}
h2,.board-heading h2,.roto-heading h3,.box-heading h2{font-size:22px;line-height:1.35}
.page-heading{padding:28px 0 22px}.page-heading p,.league-page-heading p{font-size:14px;line-height:20px;color:var(--muted)}
.eyebrow,.detail-section-title,.metric-label,.nav-caption{letter-spacing:.04em;font-weight:600}
a{color:var(--orange)}a:hover{color:#ffdb85}
button,input,select,textarea{border-radius:6px}.button,.today-button,.scoring-switch button,.preset-row button,.icon-button,.refresh-button,.player-modal-close{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:6px;font-weight:500;box-shadow:none}
button:hover:not(:disabled),.button:hover{filter:none}.button:hover,.icon-button:hover,.refresh-button:hover{background:var(--table-hover)}
.button-dark,.skip-link{background:var(--orange);color:hsl(var(--primary-foreground));border-color:var(--orange);font-weight:600}.button-dark:hover{background:#ffda7b;color:#141923}
.sidebar,.topbar{background:#1b212c;border-color:var(--line)}.sidebar{padding-top:22px}.brand{color:var(--orange);font-weight:750;letter-spacing:-.6px}.brand-sub{color:var(--muted);letter-spacing:.06em;font-weight:400}.nav{min-height:40px;padding:9px 12px;border-radius:6px;border:1px solid transparent;box-shadow:none;font-size:14px;font-weight:500;color:var(--muted)}.nav svg{width:16px;height:16px}.nav.active{background:hsl(var(--primary)/.12);border-color:hsl(var(--primary)/.28);color:var(--orange);box-shadow:none}.nav:hover{background:var(--soft);color:var(--ink)}.nav.active:hover{color:var(--orange)}.sidebar-bottom{border-color:var(--line)}.sidebar-bottom p,.sidebar-bottom .independent,.nav-caption{color:var(--muted)}.nav-count,.team-tag{background:var(--soft);color:var(--muted);border-radius:4px}
.topbar{height:58px}.breadcrumb,.connection{font-size:13px;color:var(--muted)}main{padding:0 24px}.page-heading .eyebrow,.board-heading .eyebrow{display:none}
.date-control,.search-box,.board-toolbar select,.yahoo-toolbar select,.roto-focus select,.rec-controls select,.rec-model-controls select,.rec-weights select,.review-toolbar select,#team-picker,.social-save input,.assumption-label input,.game-choice-card select,textarea{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:6px;box-shadow:none;font-size:14px;font-weight:500}
input::placeholder,textarea::placeholder{color:var(--muted)!important}.search-box:focus-within{outline:1px solid var(--orange)}:is(button,a,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.scoring-switch,.roto-segment,.preset-row{background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:3px}.scoring-switch button,.roto-segment button,.preset-row button{color:var(--muted);font-size:13px;background:transparent;border:1px solid transparent;border-radius:5px}.scoring-switch button.active,.roto-segment button[aria-pressed=true],.preset-row button.active{color:var(--orange);background:hsl(var(--primary)/.12);border:1px solid hsl(var(--primary)/.4);box-shadow:0 0 0 1px hsl(var(--primary)/.08)}
.game-card,.summary-grid,.summary-grid article,.player-board,.workspace-guide,.box-workspace,.yahoo-workspace .yahoo-toolbar,.yahoo-workspace [data-league-panel],.yahoo-workspace .yahoo-connect-card,.yahoo-portfolio,.yahoo-portfolio-metrics article,.roto-summary article,.roto-category,.roto-race-panel,.rec-card,.rec-method,.rec-weights,.review-summary article,.social-embed,.insight-band,.principle-card,.data-card{background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:8px;box-shadow:none}
.game-card.selected,.roto-category.selected{background:hsl(var(--primary)/.08);border-color:hsl(var(--primary)/.5);box-shadow:none}.summary-grid article{padding:20px}.summary-grid .metric-number{font-size:32px;font-weight:700;line-height:1.2}.summary-grid .metric-label{font-size:11px}.summary-grid p{font-size:12px;line-height:1.5}.summary-grid article.strategy-card,.yahoo-notice,.yahoo-verified,.league-rules-disclosure .yahoo-rules,.rec-tradeoffs,.review-method,.evidence-box,.game-choice-card{background:var(--soft);border-color:var(--line)}
.board-heading{padding:20px 20px 14px}.board-heading p{font-size:13px;line-height:1.5;margin-top:6px}.board-toolbar{padding:0 20px 14px}.scope-row{padding:10px 20px;border-color:var(--line)}.scope{font-size:12px;min-height:30px;padding:5px 10px;border-radius:5px;color:var(--muted)}.scope.active{background:hsl(var(--primary)/.12);color:var(--orange)}
.table-container table,.yahoo-table,.review-table,.played-table,.box-table,.roto-table-wrap table{font-size:13px;border-color:var(--line);background:var(--bg);font-variant-numeric:tabular-nums}
:is(.player-board,.yahoo-workspace,.review-page,.box-workspace,.roto-table-wrap) :is(th,td){border-color:var(--line)}
:is(.player-board,.yahoo-workspace,.review-page,.box-workspace,.roto-table-wrap) thead th,.player-board th:nth-child(2),.roto-standings .yahoo-table th:nth-child(2),.box-table thead tr>*:first-child{background:var(--table-header);color:var(--ink);font-size:11px;font-weight:600;letter-spacing:.015em;padding:11px 10px}
.player-board td,.yahoo-table td,.review-table td,.box-table td{padding:12px 10px;background:var(--bg);border-color:var(--line)}.player-board tbody tr:nth-child(even)>td,.yahoo-table tbody tr:nth-child(even)>td,.review-table tbody tr:nth-child(even)>td,.box-table tbody tr:nth-child(even)>*{background:var(--table-stripe)}
.player-board td:nth-child(2),.roto-standings .yahoo-table td:nth-child(2),.box-table tbody tr>*:first-child{background:var(--bg)}.player-board tbody tr:nth-child(even)>td:nth-child(2),.roto-standings .yahoo-table tbody tr:nth-child(even)>td:nth-child(2){background:var(--table-stripe)}
.player-board tbody tr:hover>td,.player-board tbody tr.selected>td,.yahoo-table tbody tr:hover>td,.review-table tbody tr:hover>td,.box-table tbody tr:hover>*{background:var(--table-hover)}.roto-selected-team,.roto-selected-team>td,.roto-standings .roto-selected-team td:nth-child(2),.yahoo-own-team>td{background:hsl(var(--primary)/.1)}
.player-name{font-size:14px;font-weight:600;letter-spacing:0;color:var(--ink)}.player-meta,.evidence-label,.value-cell small,.minutes-cell small{font-size:11px;line-height:1.5;color:var(--muted)}.player-board .avatar{width:34px;height:34px;border-radius:50%;background:transparent;box-shadow:none}.player-cell{gap:9px}.player-name-line{gap:8px}.table-footer{font-size:11px;padding:12px 20px;color:var(--muted)}
:is(.metric-number,.value-cell,.minutes-cell,.stat-grid b,.detail-value b,.roto-summary strong,.rec-gain strong,.box-scoreboard strong,.box-table td,.yahoo-table td:not(:nth-child(2)),.review-table td:not(:nth-child(2)),.played-table td:not(:nth-child(2))){font-family:var(--font-numeric)!important;font-variant-numeric:tabular-nums;letter-spacing:0}
#player-detail,dialog{background:var(--paper);border:1px solid var(--line);border-radius:10px;box-shadow:0 20px 70px #0008}#player-detail::backdrop,dialog::backdrop{background:#090d17b3;backdrop-filter:blur(3px)}#player-detail .detail-right{border-color:var(--line)}#player-detail .detail-profile h2{font-size:25px;font-weight:700;letter-spacing:-.025em}.availability-detail,#player-detail .stat-grid>div{background:var(--bg);border-color:var(--line);border-radius:6px}.availability-detail.is-out{border-left-color:#ef8f97}#player-detail .stat-grid b{font-size:19px}#player-detail .stat-grid small{font-size:11px}.profile-disclosure,.social-research,.player-feed-tabs{border-color:var(--line)}.player-feed-tabs button[aria-pressed=true]{color:var(--orange);border-bottom-color:var(--orange)}.player-feed-tabs button{font-size:13px}.player-feed-heading h3{font-size:18px}.x-post-card{background:var(--bg);border-color:var(--line);border-radius:8px}.x-post-card.x-embed-ready{background:transparent}.x-post-metrics{border-color:var(--line)}.x-post-author{color:var(--ink)}.x-post-date,.x-post-author small{color:var(--muted)}#player-detail .x-post-text{font-size:15px;line-height:1.6}
.impact-tag,.roto-heat.strong{background:#193f3a;color:#94dfc8}.impact-tag.negative,.roto-heat.weak{background:#493641;color:#f0b2b9}.badge{border-radius:5px;letter-spacing:0;font-size:11px}.badge.start{background:#193f3a;color:#94dfc8!important}.badge.monitor{background:#453e2c;color:var(--orange)!important}.badge.sit{background:#49313c;color:#f0b2b9}.evidence-bars i.on,.evidence-track span{background:var(--orange)}.minutes-chart .chart-column i{background:#788696}.minutes-chart .chart-column.current i{background:var(--orange)}.chart-legend span:last-child i{background:var(--orange)}
.detail-source,.chart-note,.roto-note,.rec-evidence,.roto-gap,.roto-points,.roto-team-name small,.yahoo-footnote,.review-footer,.privacy-page p,.social-save label{color:var(--muted)}.brand,.footer-brand{font-family:var(--font-ui)!important}footer{border-color:var(--line);font-size:12px}
@media(max-width:800px){main{padding:0 16px}.sidebar{background:var(--bg)}.sidebar .nav{padding:8px 10px;min-height:36px;font-size:13px}.page-heading h1,.league-page-heading h1{font-size:28px;line-height:34px}.page-heading p{font-size:13px}.summary-grid article{padding:15px}.board-toolbar{padding-left:16px;padding-right:16px}}
.portfolio-board,.portfolio-metrics article,.portfolio-method,.portfolio-connect,.games-summary,.games-summary article{background:var(--paper);border-color:var(--line);border-radius:8px;box-shadow:none}.portfolio-toolbar select,.games-controls input,.games-controls select,.games-filters input,.games-filters select{background:var(--paper);border-color:var(--line);border-radius:6px}.portfolio-table,.games-table{background:var(--bg);color:var(--ink);font-size:13px}.portfolio-table th,.portfolio-table th:first-child,.games-table th{background:var(--table-header);color:var(--ink);border-color:var(--line);font-size:11px;padding:11px 10px}.portfolio-table td,.portfolio-table td:first-child,.games-table td{background:var(--bg);border-color:var(--line);font-size:13px;padding:12px 10px}.portfolio-table tbody tr:nth-child(even) td,.games-table tbody tr:nth-child(even)>*{background:var(--table-stripe)}.portfolio-table tbody tr:hover td,.games-table tbody tr:hover>*{background:var(--table-hover)}.portfolio-metrics strong,.portfolio-score strong,.portfolio-table td:not(:first-child):not(:nth-child(3)),.games-table td:not(:first-child):not(:nth-child(2)),.games-summary strong{font-family:var(--font-numeric)!important;font-variant-numeric:tabular-nums}.portfolio-board h2{font-size:22px;letter-spacing:-.025em}.portfolio-metrics span{letter-spacing:.04em}.portfolio-leagues a{background:hsl(var(--primary)/.1);border-color:hsl(var(--primary)/.25);color:var(--orange)}.table-scroll-controls{background:var(--soft);border-color:var(--line)}
