/* Exact approved dark palette. Layout and typography belong to production CSS. */
:root {
 color-scheme:dark;
 --bg:#1C130D; --card:#2A1F17; --border:#46362A;
 --text:#F2EBDD; --body:#DDD3C5; --muted:#B0A393;
 --gold:#F2C879; --accent:#3B82F6; --accent-fg:#FFFFFF;
 --win:#22C55E; --loss:#EF4444;
 --raised:var(--card); --line:var(--border); --control-border:var(--border);
 --green:var(--win); --red:var(--loss); --warning:var(--gold);
 --action:var(--accent); --action-text:var(--accent-fg); --shadow:var(--bg);
 --panel:var(--card); --nav-bg:var(--card); --control-bg:var(--card);
 --control-text:var(--text); --input-bg:var(--card); --search-bg:var(--card);
 --search-placeholder:var(--muted); --selection-fill:var(--card);
 --espresso:var(--bg); --cocoa:var(--card); --terracotta:var(--accent);
 --champagne:var(--gold); --cream:var(--text);
}
/* Preserve the existing warm light palette, independently of dark tokens. */
html[data-theme=light] {
 color-scheme:light; --espresso:#161310; --cocoa:#302720; --terracotta:#7A3E31;
 --champagne:#D8BC91; --cream:#F5EEE3;
 --bg:var(--cream); --card:#FFFCF7; --raised:#EEE3D3; --line:#D4C4AE;
 --border:var(--line); --control-border:#8A7561; --text:var(--espresso);
 --body:var(--text); --muted:#716252; --gold:var(--champagne);
 --accent:#3B82F6; --accent-fg:#FFFFFF;
 --action:var(--accent); --action-text:var(--accent-fg);
 --green:#16A34A; --red:#EF4444; --win:var(--green); --loss:var(--red);
 --warning:#74572F; --shadow:var(--espresso); --selection-fill:#E7D5BB;
}
/* Accessibility additions do not rearrange production content. */
.skip-link {position:fixed;top:8px;left:16px;transform:translateY(-160%);z-index:100;background:var(--action);color:var(--action-text);padding:12px 16px;border-radius:6px}
.skip-link:focus {transform:none}
/* Prevent the prior redesign's large second filter row; preserve production flex sizing. */
@media(min-width:1251px) {
 .filters:not(.picks-filters) {flex-wrap:nowrap}
.filters:not(.picks-filters)>.filter {flex:1;min-width:0}
.filters:not(.picks-filters)>.search {flex:1.65}
}
/* Value padding is a clipping correction, not a new component arrangement. */
html[data-theme] body #app :is(.consistent-select>summary,.market-select-button) {padding-inline:10px 28px!important;white-space:nowrap!important}
html[data-theme] body #app .market-select-button>.control-value {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Dark color application, including generated public and account templates. */
html:not([data-theme=light]) body {
 background:var(--bg);
 color:var(--text);
}
/* A legacy 1,000px body overlay left rectangular seams on long pages and tours. */
html body {background:var(--bg);background-image:none}
html body::before {content:none;display:none}
html:not([data-theme=light]) :is(#app,.workspace-grid,main,.home-page,.account-page) {background:transparent}
html:not([data-theme=light]) :is(p,.module-note,.home-copy>p,.legal-page p) {color:var(--body)}
html:not([data-theme=light]) :is(.eyebrow,.home-page .eyebrow,.home-tool-grid article>span,.home-detail-list article>span,.home-copy h2 em,.home-copy h2 span) {color:var(--gold)}
html:not([data-theme=light]) body .primary {background:var(--accent);color:var(--accent-fg);border-color:var(--accent);box-shadow:0 4px 22px rgba(59,130,246,.4)}
html:not([data-theme=light]) body .primary:hover:not(:disabled) {background:var(--accent);color:var(--accent-fg)}
html:not([data-theme=light]) :is(input,select,textarea,.consistent-select>summary,.market-select-button) {background:var(--card);color:var(--text);border-color:var(--border)}
html:not([data-theme=light]) :is(input,textarea)::placeholder {color:var(--muted);opacity:1}
html:not([data-theme=light]) body .sport.active {color:var(--text)}
html:not([data-theme=light]) body .sport.active:after {background:var(--accent)}
html:not([data-theme=light]) body :is(.status,.status.out,.injury-badge,.badge.injured,.availability-stats .availability-out,.account-delete) {color:var(--muted)}
html:not([data-theme=light]) body :is(.home-proof span:before,.account-promises span:before) {color:var(--accent)}
html:not([data-theme=light]) body .research-module-body .diagnostic-grid article:nth-child(3) {border-top-color:var(--accent)}
html:not([data-theme=light]) body .segmented button.active {color:var(--accent);background:var(--card);box-shadow:inset 0 0 0 1px var(--accent)}
html:not([data-theme=light]) body .segmented.has-selection-glide button.active {background:transparent;box-shadow:none}
html:not([data-theme=light]) body .selection-glide {background:var(--card);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
html:not([data-theme=light]) body .exchange-offer[aria-pressed=true] {background:var(--card);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
html:not([data-theme=light]) body :is(.dropdown-popup button:focus-visible,.research-share-dialog .share-actions :is(button,a):focus-visible) {outline-color:var(--accent)}
html:not([data-theme=light]) .prediction-outcomes>div {background:var(--card)}
html:not([data-theme=light]) :is(.quick-guide-dialog,.cl-modalBackdrop)::backdrop {background:color-mix(in srgb,var(--bg) 75%,transparent)}
html:not([data-theme=light]) .construction-tape {text-shadow:none}
/* Original chart roles: actual hits/misses, neutral ties and an independent line threshold. */
html:not([data-theme=light]) .history-chart rect[fill="#32b888"] {fill:var(--win)}
html:not([data-theme=light]) .history-chart rect[fill="#ce6675"] {fill:var(--loss)}
html:not([data-theme=light]) .history-chart rect[fill="#69778e"] {fill:var(--muted)}
html:not([data-theme=light]) .history-chart [stroke="#273044"] {stroke:var(--border)}
html:not([data-theme=light]) .history-chart [stroke="#d7e4ff"] {stroke:var(--accent)}
html:not([data-theme=light]) .history-chart rect[fill="#d7e4ff"] {fill:var(--accent)}
html:not([data-theme=light]) .history-chart text[fill="#d4ddeb"] {fill:var(--text)}
html:not([data-theme=light]) .history-chart .analysis-threshold-label {fill:var(--accent-fg)!important}
html[data-theme=light] body{background:var(--bg);color:var(--text)}
html[data-theme=light] body :is(h1,h2,h3){color:var(--text)}
html[data-theme=light] body :is(input,select,textarea){color:var(--text);background:var(--control-bg);border-color:var(--control-border)}
html[data-theme=light] body input::placeholder{color:var(--muted);opacity:1}
html[data-theme=light] body :is(button,a,input,select,summary,textarea,tr):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html[data-theme=light] body .primary{background:var(--action);color:var(--action-text);border:1px solid var(--action)}
html[data-theme=light] body .primary:hover:not(:disabled){background:color-mix(in srgb,var(--action) 88%,white)}
html[data-theme=light] body :is(.secondary,.market-select-button,.consistent-select>summary){background:var(--card);color:var(--text);border:1px solid var(--control-border)}
html[data-theme=light] body :is(.secondary,.market-select-button,.consistent-select>summary):hover{background:var(--raised)}
html[data-theme=light] body button:disabled{opacity:.5}
html[data-theme=light] body .sport{color:var(--muted);background:none}
html[data-theme=light] body .sport.active{color:var(--accent);background:none;box-shadow:inset 0 -2px var(--accent)}
html[data-theme=light] .skip-link{background:var(--action);color:var(--action-text)}
html[data-theme=light] body :is(#app,.workspace-grid){background:var(--bg)}
html[data-theme=light] body main#main{background:transparent}
html[data-theme=light] body .page-heading h1>span{color:var(--muted)}
html[data-theme=light] body .page-heading h1>span{background:none;border:0}
html[data-theme=light] body .eyebrow{color:var(--muted)}
html[data-theme=light] body .board-overview{background:none;border:0}
html[data-theme=light] body .board-overview>div{background:none;border:0}
html[data-theme=light] body .board-overview b{color:var(--text)}
html[data-theme=light] body .board-overview span{color:var(--muted)}
html[data-theme=light] body .source-status{color:var(--muted)}
html[data-theme=light] body .source-status b{color:var(--text)}
html[data-theme=light] body .filter>span{color:var(--muted)}
html[data-theme=light] body .input-wrap{border-color:var(--control-border)!important}
html[data-theme=light] body .input-wrap:focus-within{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}
html[data-theme=light] body .command-tool{background:transparent;border-color:var(--line)}
html[data-theme=light] body .command-tool>summary{color:var(--muted)}
html[data-theme=light] body #app .command-tool>summary{background:none;border:0}
html[data-theme=light] body .table-toolbar{color:var(--muted)}
html[data-theme=light] body .table-toolbar b{color:var(--text)}
html[data-theme=light] body .table-help{color:var(--muted)}
html[data-theme=light] body .green-dot{background:var(--green)}
html[data-theme=light] body .red-dot{background:var(--red)}
html[data-theme=light] body .neutral-dot{background:var(--muted)}
html[data-theme=light] body :is(.player-meta,.subtext){color:var(--muted)}
html[data-theme=light] body .metric>span{background:none}
html[data-theme=light] body .book-lines b{color:var(--text)}
html[data-theme=light] body .star{color:var(--muted)}
html[data-theme=light] body .star.picked{color:var(--accent);background:var(--raised)}
html[data-theme=light] body .sort-arrow.selected{color:var(--accent)}
html[data-theme=light] body .table-bottom{color:var(--muted)}
html[data-theme=light] body .info-strip{color:var(--muted);background:transparent;border-color:var(--line)}
html[data-theme=light] body dialog{border-color:var(--control-border)}
html[data-theme=light] body :is(.market-options label,.source-choices label){color:var(--text)}
html[data-theme=light] body input[type=checkbox]{accent-color:var(--accent)}
html[data-theme=light] body .dropdown-menu{background:var(--card);border-color:var(--control-border)}
html[data-theme=light] body .dropdown-option{color:var(--text)}
html[data-theme=light] body .dropdown-option.selected{background:var(--raised);color:var(--accent)}
html[data-theme=light] body .selection-glide{background:var(--selection-fill);box-shadow:none}
html[data-theme=light] body :is(.loading-screen,.loading-content){background:var(--bg);color:var(--text)}
html[data-theme=light] body :is(.loading-filters i,.loading-cards article,.loading-chart i){background:var(--raised);border-color:var(--line)}
html[data-theme=light] body .history-chart rect[fill="#32b888"]{fill:var(--green)}
html[data-theme=light] body .history-chart rect[fill="#ce6675"]{fill:var(--red)}
html[data-theme=light] body .history-chart rect[fill="#69778e"]{fill:var(--muted)}
html[data-theme=light] body .history-chart [stroke="#273044"]{stroke:var(--line)}
html[data-theme=light] body .history-chart [stroke="#d7e4ff"]{stroke:var(--accent)}
html[data-theme=light] body .history-chart rect[fill="#d7e4ff"]{fill:var(--accent)}
html[data-theme=light] body .history-chart text[fill="#d4ddeb"]{fill:var(--text)}
html[data-theme=light] body .history-chart .analysis-threshold-label{fill:var(--espresso)!important}
html[data-theme=light] body .history-chart .analysis-threshold-label{fill:var(--cream)!important}
@media(max-width:760px) {html[data-theme=light] body #app .filters>.reset{border:1px solid var(--control-border);background:var(--card)}
}
html[data-theme=light] body .selection-glide{background:var(--selection-fill);border:1px solid var(--accent)}
html[data-theme=light] body .segmented button.active{background:var(--selection-fill);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
html[data-theme=light] body .segmented.has-selection-glide button.active{background:transparent;box-shadow:none}
html[data-theme=light] body .exchange-offer[aria-pressed=true]{background:var(--selection-fill);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
:root {--auth-accent:var(--accent);--auth-accent-fg:var(--accent-fg)}
html:not([data-theme=light]) body :is(.board-overview b,.summary-cards b,.home-preview-stats b) {color:var(--text)}
html:not([data-theme=light]) .history-chart text {fill:var(--muted)}
html:not([data-theme=light]) .history-chart text[fill="#d4ddeb"] {fill:var(--text)}
html:not([data-theme=light]) .history-chart .analysis-threshold-label {fill:var(--accent-fg)!important}
html:not([data-theme=light]) body :is(.positive-text,.watch-result.hit,.result.hit) {color:var(--win)}
html:not([data-theme=light]) body :is(.negative-text,.watch-result.miss,.result.miss) {color:var(--loss)}
/* Tablet source label needs a few extra pixels; keep production's wrapping order. */
@media(min-width:761px) and (max-width:1250px) {
 .filters>.filter:has(:is(#choose-books,#pick-sources-dialog)) {flex:1.12 1 146px}
}
html:not([data-theme=light]) body button:disabled {opacity:1;color:var(--muted);background:var(--card);border-color:var(--border);box-shadow:none}
/* Noninteractive captions use readable muted text. */
html:not([data-theme=light]) :is(th) {color:var(--muted)}
html:not([data-theme=light]) :is(.prop span) {color:var(--muted)}
html:not([data-theme=light]) :is(.subtext) {color:var(--muted)}
html:not([data-theme=light]) :is(.expand) {color:var(--muted)}
html:not([data-theme=light]) :is(.info-strip) {color:var(--muted)}
html:not([data-theme=light]) :is(.info-strip>span) {color:var(--muted)}
html:not([data-theme=light]) :is(.drawer-icon) {color:var(--muted)}
html:not([data-theme=light]) :is(.count) {color:var(--muted)}
html:not([data-theme=light]) :is(.remove-all) {color:var(--muted)}
html:not([data-theme=light]) :is(.empty) {color:var(--muted)}
html:not([data-theme=light]) :is(.empty-symbol) {color:var(--muted)}
html:not([data-theme=light]) :is(.back) {color:var(--muted)}
html:not([data-theme=light]) :is(.large-avatar span) {color:var(--muted)}
html:not([data-theme=light]) :is(.line-display b) {color:var(--muted)}
html:not([data-theme=light]) :is(.line-display small) {color:var(--muted)}
html:not([data-theme=light]) :is(.module-note) {color:var(--muted)}
html:not([data-theme=light]) :is(.matchup-grid span) {color:var(--muted)}
html:not([data-theme=light]) :is(.observe>p) {color:var(--muted)}
html:not([data-theme=light]) :is(dialog p) {color:var(--muted)}
html:not([data-theme=light]) :is(dialog small) {color:var(--muted)}
html:not([data-theme=light]) :is(.dialog-line span) {color:var(--muted)}
html:not([data-theme=light]) :is(.view-tab) {color:var(--muted)}
html:not([data-theme=light]) :is(.source-status) {color:var(--muted)}
html:not([data-theme=light]) :is(.roster-pagination) {color:var(--muted)}
html:not([data-theme=light]) :is(.badge) {color:var(--muted)}
html:not([data-theme=light]) :is(.subtext,.player-meta,.research-header p) {color:var(--muted)}
html:not([data-theme=light]) :is(.app-exports small) {color:var(--muted)}
html:not([data-theme=light]) :is(.projection-pagination) {color:var(--muted)}

html:not([data-theme=light]) :is(.injury-context p) {color:var(--muted)}
html:not([data-theme=light]) :is(.more-books) {color:var(--muted)}
html:not([data-theme=light]) :is(.availability-hero p) {color:var(--muted)}
html:not([data-theme=light]) :is(.availability-stats span,.availability-stats small) {color:var(--muted)}
html:not([data-theme=light]) :is(.availability-stats b) {color:var(--muted)}
html:not([data-theme=light]) :is(.workload-table small) {color:var(--muted)}
html:not([data-theme=light]) :is(.availability-note p) {color:var(--muted)}
html:not([data-theme=light]) :is(.coverage-note) {color:var(--muted)}
html:not([data-theme=light]) :is(.opponent-topline small) {color:var(--muted)}
html:not([data-theme=light]) :is(.opponent-stat-grid span) {color:var(--muted)}
html:not([data-theme=light]) :is(.opponent-stat-grid b small) {color:var(--muted)}
html:not([data-theme=light]) :is(.position-pill) {color:var(--muted)}
html:not([data-theme=light]) :is(.opponent-footnote) {color:var(--muted)}
html:not([data-theme=light]) :is(.coverage-details) {color:var(--muted)}
html:not([data-theme=light]) :is(.coverage-details small) {color:var(--muted)}
html:not([data-theme=light]) :is(.pick-source) {color:var(--muted)}
html:not([data-theme=light]) :is(.pick-export-tools) {color:var(--muted)}
html:not([data-theme=light]) :is(.board-overview b) {color:var(--muted)}
html:not([data-theme=light]) :is(.board-overview span) {color:var(--muted)}
html:not([data-theme=light]) :is(.pick-identity p) {color:var(--muted)}
html:not([data-theme=light]) :is(.drawer-bottom .transfer-note) {color:var(--muted)}
html:not([data-theme=light]) :is(.top-pick-rank>span:first-child) {color:var(--muted)}
html:not([data-theme=light]) :is(.usage-trend i) {color:var(--muted)}
html:not([data-theme=light]) :is(.usage-visual small) {color:var(--muted)}
html:not([data-theme=light]) :is(.analysis-diagnostics small) {color:var(--muted)}
html:not([data-theme=light]) :is(.command-search p) {color:var(--muted)}
html:not([data-theme=light]) :is(.research-module-body .exclusion-choice[aria-pressed=true]) {color:var(--muted)}
html:not([data-theme=light]) :is(.small-table th,.workload-table th) {color:var(--muted)}
html:not([data-theme=light]) :is(.loading-brand small) {color:var(--muted)}
html:not([data-theme=light]) :is(.loading-logo) {color:var(--muted)}
html:not([data-theme=light]) :is(.loading-nav) {color:var(--muted)}
html:not([data-theme=light]) :is(.loading-content>p) {color:var(--muted)}
html:not([data-theme=light]) :is(.matchup-grid span) {color:var(--muted)}
html:not([data-theme=light]) :is(.command-badge) {color:var(--muted)}
html:not([data-theme=light]) :is(.command-symbol) {color:var(--muted)}
html:not([data-theme=light]) :is(.usage-metric>b) {color:var(--muted)}
html:not([data-theme=light]) :is(.usage-metric small,.usage-coverage) {color:var(--muted)}
html:not([data-theme=light]) :is(.rest-pair span) {color:var(--muted)}
html:not([data-theme=light]) :is(.home-lead em) {color:var(--muted)}
html:not([data-theme=light]) :is(.home-proof) {color:var(--muted)}
html:not([data-theme=light]) :is(.home-proof span:first-child) {color:var(--muted)}
html:not([data-theme=light]) :is(.guide-example) {color:var(--muted)}
html:not([data-theme=light]) :is(:is(#account-mount,.account-mount) .cl-footerActionLink) {color:var(--muted)}
html:not([data-theme=light]) body .home-proof span:before,
html:not([data-theme=light]) body .account-promises span:before {color:var(--accent)}
html:not([data-theme=light]) body .home-copy .home-lead {color:var(--text)}
html:not([data-theme=light]) body .home-lead em {color:var(--gold)}
html:not([data-theme=light]) body .coming-dot {background:var(--muted)}
html:not([data-theme=light]) body .summary-cards b[style*="#a2adbf"] {color:var(--muted)!important}
html:not([data-theme=light]) body .primary.primary {background:var(--accent);color:var(--accent-fg);border-color:var(--accent);box-shadow:0 4px 22px rgba(59,130,246,.4)}
html:not([data-theme=light]) body .primary.primary:disabled {color:var(--muted);background:var(--card);border-color:var(--border);box-shadow:none}
/* Long established market names require room without hiding or replacing controls. */
.research-controls>.filter:has(#market) {flex-grow:1.4;min-width:min(244px,100%);max-width:none}
@media(max-width:760px) {
 html[data-theme] body #app .research-controls>.filter:has(#market) {grid-column:1/-1;width:100%;min-width:0!important;max-width:none}
html[data-theme] body #app .research-actions {flex-wrap:wrap!important;overflow:visible}
html[data-theme] body #app .opponent-filters {flex-wrap:wrap;gap:12px}
html[data-theme] body #app .opponent-filters .filter {flex:1 1 180px;min-width:180px!important;max-width:none}
}
html:not([data-theme=light]) body .dropdown-popup .consistent-options button:hover,
html:not([data-theme=light]) body .dropdown-popup .consistent-options button:focus-visible {outline-color:var(--accent)}
html:not([data-theme=light]) .cl-modalBackdrop {background:color-mix(in srgb,var(--bg) 75%,transparent)}
/* Fix an inherited phone-header collision without removing any existing action. */
@media(max-width:760px) {
 .landing-page .topbar {flex-wrap:wrap!important;height:auto}
.landing-page .topbar>.brand {flex-shrink:0}
.landing-page .home-header-actions {width:100%!important;justify-content:space-between}
}

/* Shared controls: theme tokens own surfaces; wrappers own composite input paint. */
:root {
 --side-over-ink:color-mix(in srgb,var(--accent) 58%,var(--text));
 --side-under-ink:var(--gold);
 --side-over-bg:color-mix(in srgb,var(--accent) 12%,var(--card));
 --side-under-bg:color-mix(in srgb,var(--gold) 10%,var(--card));
 --side-over-border:color-mix(in srgb,var(--accent) 55%,var(--border));
 --side-under-border:color-mix(in srgb,var(--gold) 50%,var(--border));
}
html[data-theme=light] {
 --control-bg:var(--card); --search-bg:var(--control-bg); --input-bg:var(--control-bg);
 --side-over-ink:color-mix(in srgb,var(--accent) 65%,var(--text));
 --side-under-ink:var(--warning);
 --side-over-border:color-mix(in srgb,var(--accent) 60%,var(--border));
 --side-under-border:color-mix(in srgb,var(--warning) 55%,var(--border));
}
html body :is(input,select,textarea,.consistent-select>summary,.market-select-button) {
 accent-color:var(--accent);
}
html body :is(button,a,input,select,summary,textarea,[tabindex]:not([tabindex="-1"])):focus-visible {
 outline:2px solid var(--accent); outline-offset:3px;
}
html body .input-wrap {
 background:var(--control-bg); border-color:var(--control-border); border-radius:6px;
}
html[data-theme] body .input-wrap>input {
 background:transparent; color:var(--text); border:0; box-shadow:none;
}
html body .input-wrap>input:focus-visible {outline:none}
html body .input-wrap:focus-within {outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}
html body .input-wrap>span {color:var(--muted);background:transparent}
html body :is(.market-select-button,.consistent-select>summary) {
 background:var(--control-bg);color:var(--text);border-color:var(--control-border);border-radius:6px;
}
html body :is(.market-select-button,.consistent-select>summary):hover {
 background:color-mix(in srgb,var(--accent) 5%,var(--control-bg));
}
html body :is(input,textarea)::placeholder {color:var(--muted);opacity:1}
html body :is(.dropdown-popup,.dropdown-scroll-hint) {background:var(--card);color:var(--text);border-color:var(--border)}
html body .dropdown-popup .consistent-options button {color:var(--text)}
html body .dropdown-popup .consistent-options button[aria-selected=true] {background:var(--side-over-bg);color:var(--text);box-shadow:inset 3px 0 var(--accent)}
html body .dropdown-popup .consistent-options button:is(:hover,:focus-visible) {background:color-mix(in srgb,var(--accent) 12%,var(--card))}
/* Checkbox selection uses its native check and a soft row tint, never a focus-like box. */
html body :is(.market-options,.book-options,.source-choices) label {
 outline:none; border:0; background:transparent;color:var(--text);gap:10px;border-radius:5px;
}
html body :is(.market-options,.book-options,.source-choices) label:has(input:checked) {background:transparent}
html body :is(.market-options,.book-options,.source-choices) label:hover {background:transparent}
html body :is(.market-options,.book-options,.source-choices) input {
 width:16px;height:16px;min-height:16px;flex:0 0 16px;margin:0;accent-color:var(--accent);
}
html body :is(.market-options,.book-options,.source-choices) label:has(input:focus-visible) {outline:2px solid var(--accent);outline-offset:-2px}
html body :is(.market-options,.book-options,.source-choices,.consistent-options,.game-log) {
 scrollbar-color:var(--muted) var(--card);
}
/* Prop sides are independent of win/loss. Explicit Over/Under labels remain. */
html body :is(.direction.over,.pick-detail b.over,.pick-side:not(.under),.side-buttons button:first-child) {
 color:var(--side-over-ink);background:var(--side-over-bg);border-color:var(--side-over-border);
}
html body :is(.direction.under,.pick-detail b.under,.pick-side.under,.side-buttons button:last-child) {
 color:var(--side-under-ink);background:var(--side-under-bg);border-color:var(--side-under-border);
}
html body .pick-detail b {border:1px solid}
html body .filter:has(select:is(#side,#side-filter,#pick-side)>option[value="Over"]:checked)>.consistent-select>summary {
 color:var(--side-over-ink);background:var(--side-over-bg);border-color:var(--side-over-border);
}
html body .filter:has(select:is(#side,#side-filter,#pick-side)>option[value="Under"]:checked)>.consistent-select>summary {
 color:var(--side-under-ink);background:var(--side-under-bg);border-color:var(--side-under-border);
}
/* Logos keep their supplied pixels; no extra frame or arbitrary circular clipping. */
html body .book-icon.app-logo {border:0;background:transparent;box-shadow:none;padding:0!important}
html body .book-icon.app-logo img {border:0;background:transparent;box-shadow:none;border-radius:0;display:block}

/* Props-specific image wrappers and selected controls. */
html body .prop .book-icon,html body .prop .reference-book {background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0;padding:0!important}
html body .dropdown-popup .consistent-options button:focus-visible {outline-offset:-3px!important}
html body .exchange-ladder {padding:5px 5px 10px}
html body .exchange-offer[aria-pressed=true] {border-color:var(--accent);box-shadow:inset 0 0 0 2px var(--accent)}
html body .headshot {object-fit:contain;background:transparent}
html body .large-avatar,html body .player-avatar {border:0;background:transparent;box-shadow:none;border-radius:0}
html[data-theme=light] body .sport.active {color:var(--accent);border-color:var(--accent);background:transparent;box-shadow:none}
html[data-theme=light] body .sport.active:after {background:var(--accent)}
html body #app .reference-book,html body #app .reference-book .book-icon {padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
html body .dropdown-popup .consistent-options button:focus-visible {outline-offset:-3px!important}

html[data-theme=light] body .dropdown-popup {background:var(--card);border-color:var(--border)}

/* Requested shared refinements: option labels are neutral; prop badges retain side semantics. */
html body .dropdown-popup .consistent-options button {color:var(--text)}
html body .book-icon:is(.logo-kalshi,.logo-dk,.logo-pp) {border-radius:50%!important;overflow:hidden!important}
html body .book-icon:is(.logo-kalshi,.logo-dk,.logo-pp) img {border-radius:50%;object-fit:contain}
html body.landing-page {background:var(--bg);background-image:none}
html body.landing-page :is(.home-page,.home-hero,.home-community,.home-visual) {background:transparent;background-image:none;box-shadow:none}
html body.landing-page .home-visual {border-color:var(--border)}
html body.landing-page .home-bars i {background:var(--accent);opacity:.7}
html body.landing-page .home-bars i:nth-child(2n) {background:var(--gold);opacity:.85}
html body.landing-page .home-bar-line {border-color:var(--muted)}
.research-skeleton {padding:32px 24px;max-width:1600px;margin:auto}
.research-skeleton i,.skeleton-heading,.skeleton-subtitle {display:block;background:color-mix(in srgb,var(--muted) 18%,var(--card));border-radius:4px}
.skeleton-heading {width:220px;height:32px;margin-bottom:18px}.skeleton-subtitle {width:35%;height:14px;margin-bottom:30px}
.skeleton-controls {display:grid;grid-template-columns:1.6fr repeat(6,1fr);gap:12px;padding:18px;border:1px solid var(--border);border-radius:8px;margin-bottom:28px}.skeleton-controls i {height:44px}
.skeleton-table {border:1px solid var(--border);border-radius:8px}.skeleton-table>div {display:grid;grid-template-columns:1.6fr 1fr 1fr repeat(3,.6fr);gap:24px;padding:22px;border-bottom:1px solid var(--border)}.skeleton-table>div:last-child {border-bottom:0}.skeleton-table i {height:16px}
.research-entry #entry-status {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.js-loading .seo-initial {display:none!important}
.load-failed .research-entry #entry-status {position:static;width:auto;height:auto;overflow:visible;clip-path:none}
.load-failed .research-skeleton {display:none}
@media(max-width:760px){.research-skeleton{padding:24px 16px}.skeleton-controls{grid-template-columns:repeat(2,1fr)}.skeleton-controls i:first-child{grid-column:1/-1}.skeleton-table>div{grid-template-columns:1.4fr 1fr .7fr;gap:12px;padding:20px 14px}.skeleton-table i:nth-child(n+4){display:none}}

/* Review fixes: stable research alignment and visible recorded workload. */
html body #app .reference-book .book-icon:is(.logo-kalshi,.logo-dk,.logo-pp) {border-radius:50%!important;overflow:hidden!important}
html body .usage-track {height:5px;min-width:60px;background:var(--border);overflow:hidden}
html body .usage-track i {height:100%;background:var(--accent)}
@media(min-width:1101px){html body #app .filters:not(.picks-filters):not(.nfl-live-controls) {display:flex;flex-wrap:nowrap}html body #app .filters:not(.picks-filters)>.filter {flex:1;min-width:0}html body #app .filters:not(.picks-filters)>.search {flex:1.65}html body #app .filters:not(.picks-filters)>.reset {flex:0 0 44px;width:44px!important}}

/* Consistent source badges and clear numeric glyphs. */
html body .book-icon.app-logo,html body #app .book-icon.app-logo,html body #app .reference-book .book-icon.app-logo {width:24px;height:24px;border-radius:50%!important;overflow:hidden!important;aspect-ratio:1;flex-shrink:0}
html body .book-icon.app-logo img {width:100%;height:100%;border-radius:50%!important;object-fit:cover}
html body #app .filters>.reset {border:1px solid var(--control-border,var(--border));background:transparent;color:var(--muted);border-radius:8px!important;transition:color .16s,background .16s,border-color .16s}
html body #app .filters>.reset:hover {color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--card));border-color:var(--accent)}
html body #app .filters>.reset:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
html body .filters>.reset svg {width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none}
html body .movement-row svg {height:auto;min-height:120px;max-height:none;aspect-ratio:640/140;margin-top:18px;overflow:visible}
html body .movement-axis-note {color:var(--muted);font-size:11px;line-height:1.5;margin:0 0 10px}
@media(max-width:700px){html body .movement-row svg {min-height:100px}html body .movement-axis-note {font-size:10px}}

html body #app .filters>.reset>span {display:inline!important;font-size:12px;font-weight:500}
@media(min-width:1101px){html body #app .filters:not(.picks-filters)>.reset {flex:0 0 84px;width:84px!important}}

html body #app .filters>.reset>span {white-space:nowrap}

/* Keep comparison counts inside Lines{position:static!important;inset:auto!important;margin:0!important;transform:none!important}
/* Source silhouettes: circular badges only where the mark supports them. */
html body .book-icon.app-logo,html body #app .book-icon.app-logo,html body #app .reference-book .book-icon.app-logo {border-radius:4px!important}
html body .book-icon.app-logo img {border-radius:4px!important;object-fit:contain}
html body .book-icon.app-logo:is(.logo-kalshi,.logo-pp,.logo-ud,.logo-sleeper,.logo-dk),html body #app .reference-book .book-icon.app-logo:is(.logo-kalshi,.logo-pp,.logo-ud,.logo-sleeper,.logo-dk) {border-radius:50%!important}
html body .book-icon.app-logo:is(.logo-kalshi,.logo-pp,.logo-ud,.logo-sleeper,.logo-dk) img {border-radius:50%!important}
html body {--side-under-ink:var(--side-over-ink);--side-under-bg:var(--side-over-bg);--side-under-border:var(--side-over-border)}
html body .consistent-select:has([data-select-value="Under"][aria-selected="true"])>summary {color:var(--side-over-ink)!important;border-color:var(--side-over-border)!important;background:var(--side-over-bg)!important}
html body .history-chart {--green:#37975C;--red:#CA5752;--win:#37975C;--loss:#CA5752}
html body .live-preview-board {opacity:.65;filter:blur(5px)}
html body .live-preview-overlay {background:color-mix(in srgb,var(--card) 62%,transparent)!important;backdrop-filter:blur(2px)}
html body .live-preview-filters span {background:var(--raised);border:1px solid var(--border)}
html body .live-preview-row {background:var(--raised);margin-block:12px;border:1px solid var(--border);border-radius:8px}
html body .construction-tape {background:repeating-linear-gradient(135deg,#161310 0 14px,#E6BA57 14px 28px)!important;color:#161310!important;border-block:3px solid #161310;padding:12px 18px;font-weight:800;text-shadow:0 0 2px #E6BA57,0 0 5px #E6BA57!important;letter-spacing:2px}

html body .construction-tape {position:relative;background:#E6BA57!important;text-shadow:none!important;padding:20px 18px;color:#161310!important;z-index:1}
html body .construction-tape::before,html body .construction-tape::after {content:"";position:absolute;left:0;right:0;height:7px;background:repeating-linear-gradient(135deg,#161310 0 12px,#E6BA57 12px 24px)}
html body .construction-tape::before {top:0}html body .construction-tape::after {bottom:0}
html body .construction-page {position:relative;overflow:hidden}
html body .construction-content {position:relative;z-index:1;background:color-mix(in srgb,var(--card) 80%,transparent)}
html body .construction-backdrop {position:absolute;inset:80px 24px 24px;filter:blur(6px);opacity:.5;pointer-events:none;user-select:none}
html body .construction-backdrop>div {display:grid;grid-template-columns:36px 2fr repeat(3,1fr);gap:22px;align-items:center;padding:28px;border-bottom:1px solid var(--border);background:var(--raised)}
html body .construction-backdrop i {width:30px;height:30px;border-radius:50%;background:var(--accent)}
html body .construction-backdrop span {height:12px;background:var(--muted);border-radius:3px;opacity:.6}

/* Release accessibility: state-specific inks/fills preserve brand and chart colors. */
:root {--action-aa:#2872E3;--action-aa-hover:#2164CB;--loss-ink:#F05252}
html:not([data-theme=light]) body {--red:var(--loss-ink)}
html[data-theme=light] body {--red:#B42318;--green:#126D32;--link-ink:#1F5BB9}
html body :is(.primary,.skip-link),html:not([data-theme=light]) body .primary,html[data-theme=light] body .primary {background:var(--action-aa)!important;border-color:var(--action-aa)!important;color:#FFFFFF!important}
html body .primary:hover:not(:disabled),html body .primary:active:not(:disabled) {background:var(--action-aa-hover)!important;border-color:var(--action-aa-hover)!important;color:#FFFFFF!important}
html[data-theme=light] body .history-chart .analysis-threshold-label {fill:#FFFFFF!important}
html body .history-chart rect[fill="#d7e4ff"] {fill:var(--action-aa)!important}

:root {--auth-accent:var(--action-aa)}

/* Keep the scrolling section indicator visible in both themes. */
html body #app .research-mini-nav a.active {color:var(--accent);background:transparent}
html body #app .research-mini-nav a.active::after {background:var(--accent)}
.pick-placeholder {display:block;flex-shrink:0;height:14px;border-radius:4px;background:color-mix(in srgb,var(--muted) 20%,var(--card));animation:pick-placeholder-pulse 1.4s ease-in-out infinite alternate;margin-block:8px}
.placeholder-short {width:85px;max-width:100%}.placeholder-title {width:170px;max-width:100%;height:24px}.placeholder-description {width:85%;height:14px}.placeholder-chip {width:135px;height:20px}.placeholder-avatar {width:44px;height:48px;border-radius:8px}.placeholder-stat {width:60px;height:28px}.placeholder-button {width:100%;height:40px;margin-top:20px}.picks-loading .player-cell>div {min-width:0}.picks-loading .top-pick-rank {justify-content:space-between}.picks-loading .top-picks-heading>div {width:100%}
@keyframes pick-placeholder-pulse {to {opacity:.45}}
@media(prefers-reduced-motion:reduce){.pick-placeholder{animation:none}}

.picks-loading .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Mobile browser layout: explicit sizing prevents inherited desktop table paint. */
.status-mobile-label{display:none}
.sort-direction-icon{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html body .sort-control>div>button {display:grid;place-items:center;background:transparent!important;border:0!important;border-radius:6px;flex:0 0 44px;width:44px;height:44px;padding:0}
html body .sort-control>div>button:hover:not(:disabled){color:var(--accent)}
html body .sort-control>div>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:760px){
 html,body{width:100%;max-width:100%;overflow-x:clip;overscroll-behavior-x:none}
 html{scrollbar-gutter:auto}body{min-width:0}
 html body .source-status{display:flex;align-items:center;gap:8px;width:100%;min-width:0;margin-block:12px 18px}
 html body .source-status>div{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:5px;min-width:0;flex:1;font-size:10px;line-height:1.5}
 html body .source-status>div>b{white-space:nowrap;font-weight:500}
 html body .source-status>div>span{padding:0}
 .status-desktop-label{display:none}.status-mobile-label{display:inline}
 html body .source-status .quick-guide-launch{flex:0 0 auto;min-height:44px;padding:7px!important;font-size:10px;white-space:nowrap}
 html body .pick-method-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 html body .pick-method-summary>span{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:9px 10px;line-height:1.45}
 html body .top-pick-rank{gap:8px;flex-wrap:wrap}
 html body .top-pick-rank>span{min-width:0}
 html body input[type=search],html body input[type=number],html body input[type=text],html body input[type=email],html body input[type=password],html body textarea{font-size:16px!important}
}
@media(max-width:360px){
 html body .source-status{gap:4px}
 html body .source-status>div{font-size:9px;gap:3px}
 html body .source-status .quick-guide-launch{font-size:9px;padding:5px!important}
}

@media(max-width:760px){html body.landing-page .home-actions{display:grid;grid-template-columns:1fr;gap:10px}html body.landing-page .home-actions a{width:100%;justify-content:center;min-height:48px;white-space:nowrap}html body .source-status>div{font-size:11px;justify-content:flex-start;gap:5px}html body .source-status .quick-guide-launch{min-height:44px!important}}
@media(max-width:360px){html body .source-status>div{font-size:9px;gap:3px}}

/* Player interactions and source selection share the same theme surfaces. */
html body #app .research-share{display:inline-flex;align-items:center;justify-content:center;gap:8px}
html body .share-icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:var(--accent);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body :is(.wide-source-dialog,.wide-market-dialog) .source-dialog-footer{background:transparent!important;border-top:1px solid var(--line);padding:16px 0 0;margin-top:16px;gap:12px;align-items:center}
html body :is(.wide-source-dialog,.wide-market-dialog)>p{color:var(--muted)!important;line-height:1.6}
html body :is(.wide-source-dialog,.wide-market-dialog) .dialog-close{background:transparent;border:0;border-radius:8px;min-width:44px;min-height:44px}
html body .book-options label{border-radius:8px;padding:12px;align-items:center}
html body .book-options label:has(input:checked){background:color-mix(in srgb,var(--accent) 7%,var(--card))}
html body .book-options input{accent-color:var(--action-aa)}
@media(max-width:760px){html body .source-dialog-footer .primary{width:100%;min-height:48px}}

.defense-analysis{margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.defense-analysis h3{font-size:16px;margin-bottom:16px}.defense-analysis .matchup-grid small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:6px}.defense-analysis .matchup-grid b>small{display:inline}

/* Mobile surfaces and compact actions use the same spacing in every state. */
.home-faq details:last-child{border-bottom:0!important}
html body .construction-page .construction-backdrop{display:none}
html body .construction-page .construction-tape{transform:none!important;margin:0!important;z-index:3;isolation:isolate}
html body .construction-page .construction-content{background:var(--card)!important;z-index:1}
@media(max-width:760px){
 html body .simple-research-header .research-actions{overflow:visible;gap:4px!important;padding:0;justify-content:flex-start!important}
 html body #app .simple-research-header .research-actions>:is(button,a){flex:1 1 auto!important;min-width:44px!important;min-height:44px!important;padding:8px 5px!important;font-size:11px!important;white-space:nowrap!important;gap:4px!important;box-sizing:border-box}
 html body #app .simple-research-header .research-actions>[data-pick],html body #app .simple-research-header .research-actions>[data-watch-line],html body #app .simple-research-header .research-actions>.watch-view-link,html body #app .simple-research-header .research-actions>.quick-guide-launch{font-size:0!important}
 .research-actions>[data-pick]::after{content:'Add pick';font-size:11px}
 .research-actions>[data-watch-line]::after{content:'Watchlist';font-size:11px}
 .research-actions>[data-watch-state=saved]::after{content:'Saved'}
 .research-actions>[data-watch-state=pending]::after{content:'Checking…'}
 .research-actions>[data-watch-state=saving]::after{content:'Saving…'}
 .research-actions>.watch-view-link::after{content:'View';font-size:11px}
 .research-actions>.quick-guide-launch::after{content:'Quick guide';font-size:11px}
}
html[data-theme] body #app .simple-research-header .research-actions{grid-column:1/-1;flex-wrap:nowrap!important;flex-direction:row!important;width:100%!important;flex:1 0 100%!important;max-width:100%;min-width:0!important}

/* Clear research controls and separated surfaces. */
html body .sideline-tour .tour-actions .primary:disabled{background:var(--raised)!important;color:var(--muted)!important;border:1px solid var(--line)!important;box-shadow:none!important;opacity:1!important;cursor:not-allowed}
html body .research-actions{overflow:visible!important;padding:5px 3px!important;box-sizing:border-box}
html body .watch-save-status{display:block;flex:1 0 100%;width:100%;box-sizing:border-box;padding:12px 14px!important;margin:8px 0 0!important;border-radius:10px;background:color-mix(in srgb,var(--accent) 8%,var(--bg));color:var(--muted);line-height:1.6;font-size:12px}
.watch-save-status a{display:inline-block;margin-left:6px;white-space:nowrap}
html body .pick-drawer{background:var(--bg)!important;padding:20px!important;gap:18px;border-left:1px solid var(--line)}
html body .pick-drawer .drawer-title{margin:0;padding:0 0 16px;border-bottom:1px solid var(--line)}
.pick-drawer .drawer-title>div{display:flex;align-items:center;gap:10px}
.pick-drawer .count{border-radius:20px;padding:4px 9px;background:color-mix(in srgb,var(--accent) 15%,var(--bg));color:var(--accent)}
html body .pick-drawer .icon-btn{display:grid;place-items:center;width:40px;height:40px;padding:10px;border:0!important;background:transparent!important;border-radius:50%;flex-shrink:0;box-shadow:none!important}
.pick-drawer .icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html body .pick-drawer .icon-btn:hover{background:var(--raised)!important}
.pick-drawer .drawer-subtitle{font-size:10px;letter-spacing:1px;color:var(--muted);margin:0 0 16px}
html body .pick-drawer .picks{display:grid;gap:12px;margin:0}
html body .pick-drawer .pick-card{padding:16px;border-radius:14px;background:var(--card);border:1px solid var(--line);box-shadow:0 4px 14px color-mix(in srgb,var(--shadow) 8%,transparent)}
.pick-drawer .pick-identity{align-items:center;gap:10px}.pick-drawer .pick-identity>div{flex:1;min-width:0}
.pick-drawer .pick-identity h3{font-size:15px;margin:0 0 5px}.pick-drawer .pick-identity p{font-size:11px;margin:0;color:var(--muted)}
html body .pick-drawer .pick-detail{margin-top:16px;padding-top:12px;border-top:1px solid var(--line);gap:8px;align-items:center;font-size:12px}
html body .pick-drawer .pick-detail b{background:color-mix(in srgb,var(--accent) 13%,var(--card));border-color:color-mix(in srgb,var(--accent) 35%,var(--line));color:var(--accent);white-space:nowrap;padding:7px 10px;border-radius:7px}
.drawer-section-title{font-size:12px;margin:0 0 12px;color:var(--text)}
html body .pick-drawer .exchange-handoff-details{display:block;padding:14px;border-radius:12px;background:color-mix(in srgb,var(--accent) 6%,var(--card));border:1px solid var(--line)}
.exchange-handoff-details summary{font-size:12px;font-weight:600;cursor:pointer;line-height:1.6}.exchange-handoff-details>span{display:block;margin:12px 0;color:var(--accent)}
.exchange-handoff-details p{font-size:11px}.exchange-handoff-details .secondary{margin-top:12px!important}
html body .pick-drawer .drawer-bottom{border:0;padding-top:22px}.pick-drawer .transfer-note,.pick-drawer .watch-note{font-size:11px;color:var(--muted)}
html body .pick-drawer .pick-utility{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;background:var(--bg)}
.pick-drawer .pick-utility button{min-height:44px;margin:0;border-radius:8px;font-size:12px}
html body .pick-drawer .drawer-watchlist{display:block;text-align:center;border:0;background:transparent;color:var(--accent)}
html body .opponent-topline{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,44%);gap:24px;align-items:end;padding:0 0 20px}
.opponent-topline>div:first-child{padding:0}.opponent-topline p{margin:0 0 8px!important}.opponent-topline small{line-height:1.5}
html body .opponent-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;width:100%}.opponent-filters .filter{min-width:0;width:auto!important}.opponent-filters select{width:100%;height:44px}
html body .availability-report{background:var(--raised);border-color:var(--line);border-left:3px solid var(--warning);border-radius:12px;padding:16px}
.availability-report .injured{padding:5px 9px;border-radius:20px;background:color-mix(in srgb,var(--warning) 14%,var(--raised));color:var(--warning)}
html body .availability-note{background:color-mix(in srgb,var(--accent) 7%,var(--bg));border-left:3px solid var(--accent);border-radius:12px;padding:18px;margin-top:16px}
html body .depth-team{background:var(--bg);border-radius:10px;padding:12px;margin-top:12px}
.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.share-actions>*{box-sizing:border-box;text-align:center;min-height:44px;display:flex;align-items:center;justify-content:center;padding:10px!important;margin:0!important}.share-actions>[hidden]{display:none!important}
@media(max-width:760px){html body .opponent-topline{grid-template-columns:1fr;gap:18px}.opponent-filters select{font-size:12px}html body .pick-drawer{width:min(380px,94vw);max-width:94vw;box-sizing:border-box;padding:20px 16px!important;max-height:100dvh;padding-bottom:max(16px,env(safe-area-inset-bottom))!important}html body .research-actions{gap:6px!important}.share-actions{font-size:12px}}
html body .pick-drawer .pick-app-links{max-height:none!important;overflow:visible!important}
html body .opponent-topline .opponent-filters{padding:0!important}
html body .availability-report{background:color-mix(in srgb,var(--warning) 7%,var(--raised))!important}html body .availability-note{background:color-mix(in srgb,var(--accent) 9%,var(--bg))!important;border-left-color:var(--accent)!important}

/* Research chart and selected-stat contrast in both themes. */
html body .distribution-bars i{background:var(--accent);border:1px solid color-mix(in srgb,var(--accent) 65%,var(--text));box-sizing:border-box;min-height:0;flex-shrink:0}
html body .distribution-bars [data-margin-direction=negative] i{background:color-mix(in srgb,var(--warning) 70%,var(--card));border-color:var(--warning)}
html body .distribution-bars [data-margin-direction=tie] i{background:var(--muted);border-color:var(--muted)}
html body .distribution-bars{min-height:145px}.distribution-bars>div>span{color:var(--text);font-weight:600}.distribution-bars i[style="height:0px"]{border:0}
html:not([data-theme=light]) body .opponent-results :is(th,td).actual-stat{background:#3C342A;color:var(--text);border-left:1px solid #544635;border-right:1px solid #544635}
html body .availability-note{background:var(--card)!important;border-left-color:var(--warning)!important}
html body .alternate-presets button.active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important;font-weight:700;box-shadow:0 0 0 1px var(--accent)}
html body .alternate-presets button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html body .alternate-presets button.active{background:#315CC6!important;border-color:#315CC6!important;color:#fff!important}

/* Center the complete source group{display:flex;width:100%;max-width:100%;margin-inline:auto;justify-content:center!important;align-items:center;gap:10px;flex-wrap:nowrap}

/* Shared internal-link arrows: one optical size and baseline in every CTA. */
html body .home-page .ui-arrow{display:inline-block;width:20px!important;height:20px!important;flex:0 0 20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;transform:none}
html body .home-actions :is(.primary,.secondary){display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;line-height:1.3}
html body .home-page :is(.home-start-grid b,.home-sports-note a){display:inline-flex;align-items:center;gap:8px}
.board-filter-fields{display:contents}
html body #app .filters:not(.picks-filters) .board-filter-fields>.filter{flex:1;min-width:0}
/* Keep "Exchange buy price" on one line: this field takes the width its label needs. */
html body #app .filters:not(.picks-filters) .board-filter-fields>.filter.buy-price-filter{min-width:164px}
html body #app .filters .buy-price-filter>span{white-space:nowrap}
html body #app .board-filter-fields>.reset{flex:0 0 84px;width:84px!important;border:1px solid var(--control-border,var(--border));background:transparent;color:var(--muted);border-radius:8px!important}
html body #app .board-filter-fields>.reset svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none}
html body #app .board-filter-fields>.reset>span{display:inline!important;font-size:12px;white-space:nowrap}
html body #app .board-filter-fields>.reset:hover{color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,var(--card));border-color:var(--accent)}
html body #app .board-filter-toggle{display:none}
html body :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html body :is(.market-select-button,.consistent-select>summary,details:not(.consistent-select)>summary)::after{border-right-color:currentColor;border-bottom-color:currentColor}

@media(min-width:761px) and (max-width:1100px){
  html body #app .filters:not(.nfl-live-controls){display:flex!important;flex-wrap:wrap!important}
  html body #app .filters>.search{flex:1 1 100%!important}
  html body #app .filters .board-filter-fields>.filter{flex:1 1 160px!important;min-width:160px!important}
}

@media(max-width:760px){
  /* Keep search and the results reachable; secondary filters are an explicit disclosure. */
  html body #app .filters{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end;gap:12px!important;padding:14px!important}
  html body #app .filters>.search{grid-column:1!important;width:100%!important;min-width:0!important;margin:0!important}
  html body #app .board-filter-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--card);color:var(--text);font:inherit;font-size:14px;font-weight:600;white-space:nowrap}
  html body #app .board-filter-toggle svg{flex-shrink:0;transition:transform .15s ease}
  html body #app .board-filter-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
  .filter-count{display:inline-grid;place-items:center;min-width:20px;min-height:20px;border-radius:10px;background:var(--accent);color:var(--accent-fg);font-size:12px}
  html body #app .board-filter-fields{display:none!important;grid-column:1/-1;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;padding-top:14px;border-top:1px solid var(--border)}
  html body #app .board-filter-fields.is-open{display:grid!important}
  html body #app .board-filter-fields>*{min-width:0!important;width:100%!important;max-width:none!important;grid-column:auto!important;margin:0!important}
  html body #app .board-filter-fields>.reset{grid-column:1/-1!important;min-height:44px;justify-content:center}
  html body #app :is(.filter input,.filter select,.filter-button,.consistent-select>summary){min-height:46px!important;font-size:16px!important}
  html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),textarea,select){font-size:16px!important}
  html body #app .filter>span{font-size:11px!important;line-height:1.4;letter-spacing:.06em}
  html body .sport-nav{overscroll-behavior-x:contain;scroll-padding-inline:12px}
  html body .sport-nav a{min-height:48px;display:inline-flex;align-items:center;flex-shrink:0}
  html body #app .board-overview{min-height:64px!important;padding:10px 12px!important;margin-top:14px!important}
  html body #app .board-overview>div{padding:0 8px!important;gap:4px!important}
  html body #app .board-overview b{font-size:22px!important;line-height:1.2!important}
  html body #app .board-overview span{font-size:10px!important}
  html body #app .mobile-sort{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
  html body #app .sort-control{min-width:0!important;width:100%!important;flex:none!important}
  html body #app .sort-control>div{display:flex;min-width:0;gap:4px!important}
  html body #app .sort-control .consistent-select{flex:1;min-width:0;width:auto!important}
  html body #app .sort-control .consistent-select>summary{min-height:44px!important;padding-inline:9px!important;font-size:13px!important}
  html body #app .sort-control .control-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html body #app .sort-control button:is(#sort-direction,#sort-secondary-direction){flex:0 0 36px;min-width:36px!important;min-height:44px!important;width:36px!important;padding:6px!important}
  html body #app .command-tool>summary{padding:13px 14px!important;gap:4px!important}
  html body :is(.research-actions,.share-actions){gap:8px!important}
  html body .research-actions>*{min-height:44px!important;flex:1 1 auto}
  html body .research-actions button{padding-inline:10px!important}
  html body dialog:not(.premium-dialog){max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto;overscroll-behavior:contain}
  html body :is(.dialog-close,#drawer-close){min-height:44px!important;min-width:44px!important}
  html body :is(.dropdown-popup,.menu-options){max-height:min(60dvh,420px);overflow-y:auto;overscroll-behavior:contain}
  html body .home-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body .home-actions :is(.primary,.secondary){width:100%!important;min-width:0!important;padding:14px 4px!important;font-size:14px!important;gap:6px}
  html body .home-actions .primary:only-child{grid-column:1/-1}
}
@media(max-width:360px){
  html body #app .filters{grid-template-columns:minmax(0,1fr)!important}
  html body #app .board-filter-toggle{grid-column:1;width:100%}
  html body #app .board-filter-fields{grid-template-columns:minmax(0,1fr)}
  html body .home-actions{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.board-filter-toggle svg{transition:none!important}}
/* Phone audit: keep related controls together and long notes within their cells. */
html body #app .game-log .partial-game-flag{display:block;white-space:normal;overflow-wrap:anywhere;max-width:150px;margin-top:7px;line-height:1.5;font-size:11px}
html body #app .game-log td:has(.partial-game-flag){vertical-align:top;padding-block:14px}
html body #app .teammate-tools{box-sizing:border-box;padding:18px!important;border:1px solid var(--line);border-radius:10px;background:var(--raised);width:100%;min-width:0}
html body #app .teammate-tools>h3{margin:0;line-height:1.4}
html body #app .teammate-tools>p{margin:10px 0 0;line-height:1.6}
@media(max-width:760px){
 html body #app .board-filter-fields>.reset{grid-column:auto!important;width:100%!important;min-height:46px!important;height:46px!important;align-self:end;display:flex;align-items:center;justify-content:center;gap:8px}
 html body #app .comparison-panel>.panel-heading{display:flex!important;flex-wrap:nowrap;align-items:center;gap:10px}
 html body #app .comparison-panel>.panel-heading>h2{flex:1;min-width:0}
 html body #app .comparison-panel #clear-comparison{width:auto!important;flex:0 0 auto;min-height:44px;padding:8px 12px;margin:0;border:1px solid var(--line);border-radius:8px;font-size:12px}
 html body #app .comparison-panel>.panel-heading>.section-toggle{margin-left:0}
 html body #app .teammate-tools{padding:14px!important}
}
/* Follow-up phone audit: controls keep their text{width:auto!important;max-width:none!important;min-width:0!important;flex:0 0 auto!important}
html body .home-market-story li::before{background:var(--muted)}
html body .home-market-story li{color:var(--body,var(--text));line-height:1.7}
html body .home-guides{display:grid;grid-template-columns:1fr 1fr;gap:56px;padding:64px 0 32px;border-top:1px solid var(--line)}
.home-guides h2{font-size:clamp(28px,3.2vw,42px);line-height:1.15;letter-spacing:-.03em;margin:16px 0}
.home-guides-intro>p{max-width:48ch;line-height:1.8;color:var(--muted);margin:16px 0 22px}
.home-guide-links{min-width:0}.home-guide-links>a{display:flex;align-items:center;gap:18px;padding:22px 0;border-bottom:1px solid var(--line);color:var(--text)}
.home-guide-links>a:first-child{border-top:1px solid var(--line)}.home-guide-links>a>span{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}.home-guide-links>a>div{flex:1;min-width:0}.home-guide-links strong{display:block;font-size:16px;font-weight:600}.home-guide-links small{display:block;color:var(--muted);font-size:13px;line-height:1.6;margin-top:6px}.home-guide-links .ui-arrow{flex-shrink:0;color:var(--accent)}
html body #app .command-search .command-examples{min-width:0;max-width:100%}
html body #app .command-examples button{max-width:100%;white-space:normal!important;overflow-wrap:anywhere;text-align:left;line-height:1.5;min-height:40px}
html body #app #command-query{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;text-align:left!important;resize:vertical;min-height:96px;line-height:1.6;padding:12px 14px 12px 36px;border:1px solid var(--control-border);border-radius:8px;background:var(--card);color:var(--text);font:inherit;grid-column:1/-1}
.pick-builder-backdrop{display:none}.drawer-empty{padding-top:24px}.drawer-empty h3{font-size:20px;line-height:1.4}.drawer-empty p{line-height:1.7;color:var(--muted);margin:14px 0 24px}
@media(max-width:760px){
 html.pick-builder-open,html.pick-builder-open body{overflow:hidden;overscroll-behavior:none}
 html body .pick-builder-backdrop{display:block;position:fixed;inset:0;background:rgb(0 0 0 / .38);z-index:59;touch-action:none}
 html body .pick-drawer{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;position:fixed!important;inset:12px!important;width:calc(100% - 24px)!important;max-width:none!important;height:auto!important;max-height:calc(100dvh - 24px)!important;margin:0!important;padding:18px 16px!important;border:1px solid var(--line);border-radius:16px;z-index:60;gap:14px;overflow:hidden}
 html body .pick-drawer:has(.drawer-empty){bottom:auto!important;max-height:calc(100dvh - 24px)!important;grid-template-rows:auto minmax(0,1fr)}
 html body .pick-drawer .pick-drawer-body{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:8px}
 html body .pick-drawer .drawer-title{padding-bottom:12px;min-width:0}.pick-drawer .drawer-title h2{margin:0;font-size:18px}
 html body .pick-drawer .pick-utility{padding-top:12px;border-top:1px solid var(--line)}
 html body .pick-drawer .pick-app-links :is(a,button){white-space:normal;line-height:1.5;overflow-wrap:anywhere}
 html body .home-guides{grid-template-columns:minmax(0,1fr);gap:28px;padding:40px 0 20px}.home-guides h2{font-size:30px}.home-guide-links>a{padding:18px 0}
 html body #app .command-search .command-input-row{grid-template-columns:minmax(0,1fr) auto;min-width:0}
 html body #app .command-search #command-query{font-size:16px!important;min-height:108px}
 html body #app .command-examples button{flex:1 1 100%;border-radius:8px;padding:10px 12px}
}
html body .segmented .selection-glide{display:none!important}
html body .segmented button.active{background:var(--selection-fill,var(--raised))!important;box-shadow:inset 0 0 0 1px var(--accent)!important;color:var(--text)!important}html body .research-mini-nav a.active::after{display:none!important;content:none!important}html body .research-mini-nav a.active{box-shadow:inset 0 -2px 0 var(--accent);position:relative}
html body .interest-panel .interest-privacy{display:block;margin-top:16px;max-width:60ch;color:var(--muted);font-size:12px;line-height:1.7}
html body .interest-panel .interest-privacy a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
html body .interest-panel .interest-account{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;padding-top:22px;margin-top:24px;border-top:1px solid var(--line);font-size:14px;line-height:1.6}
html body .interest-panel .interest-account a{display:inline-flex;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--accent);font-weight:600;font-size:14px}
html body .interest-panel .interest-account span{color:var(--muted);font-size:12px}
@media(max-width:760px){
 html body .interest-panel .interest-account{align-items:flex-start;flex-direction:column}
}
html body .interest-panel form [role=status]:empty{display:none}
html body .interest-panel form>.primary{min-height:44px}
html body .interest-panel .interest-privacy{margin-top:6px}
html body.landing-page .home-note{border-top:0}

.profile-history{overflow-x:auto;margin:24px 0;border:1px solid var(--line);border-radius:10px}.profile-history table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.6}.profile-history :is(td,th){padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.profile-history th{background:var(--raised);color:var(--muted)}.profile-history td:first-child{white-space:nowrap}.historical-player-profile>p{line-height:1.8}.historical-player-profile>h2{margin-top:32px}

/* A programmatic destination is not a control: its outline spans the entire board. */
html body #main:focus{outline:none!important}
html body #main h1[tabindex="-1"]{width:fit-content;max-width:100%}
html body #main h1[tabindex="-1"]:focus-visible{outline:2px solid var(--accent);outline-offset:5px;border-radius:3px}

.research-guide{max-width:900px;margin-inline:auto}.research-guide>section{margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}
.research-guide h1{max-width:22ch;text-wrap:balance;font-size:clamp(32px,4vw,48px);line-height:1.15;letter-spacing:-.025em}.research-guide p{max-width:70ch;line-height:1.8;font-size:15px}.research-guide .guide-lead{font-size:clamp(17px,2vw,21px);line-height:1.7}
.research-guide .guide-byline{font-size:12px;color:var(--muted)}.guide-sports,.guide-next{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;margin-block:24px}.guide-sports a{padding:10px 14px;border:1px solid var(--line);border-radius:8px}
.research-guide h2{font-size:clamp(23px,3vw,30px);line-height:1.3}.research-guide h3{font-size:18px;line-height:1.4;margin-top:28px}.guide-steps{padding-left:24px}.guide-steps li{padding-left:8px}.guide-steps li::marker{color:var(--accent);font-weight:600}.guide-features>div{margin-block:24px}.guide-features dt{font-weight:600}.guide-features dd{margin:8px 0 0;line-height:1.8;color:var(--muted)}
@media(max-width:760px){.research-guide{padding-inline:20px}.guide-sports{gap:10px}.guide-sports a{font-size:13px}.research-guide>section{margin-top:36px}.guide-next{align-items:flex-start;flex-direction:column}}

/* Mobile feedback: consistent inset, contained artwork and separated hero sections. */
html body .home-page .home-actions :is(.primary,.secondary),html body .home-live-actions .secondary{padding:16px 20px!important;gap:14px;min-height:48px;white-space:normal;line-height:1.4}
html body .home-page .home-actions .ui-arrow,html body .home-live-actions .ui-arrow{flex-shrink:0}
.home-live-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
html body .home-live-actions .secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
html body .offseason-court{overflow:hidden;isolation:isolate}
html body .offseason-court svg{inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);transform:none;pointer-events:none}
html body :is(button,a.primary,a.secondary,summary){touch-action:manipulation}
html body :is(button,a.primary,a.secondary,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(hover:hover){html body :is(a.primary,a.secondary,button:not(:disabled)):hover{filter:brightness(1.06)}}
html body :is(a.primary,a.secondary,button:not(:disabled)):active{transform:translateY(1px)}
.line-type-label{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:4px}
@media(max-width:760px){
 html body .home-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
 html body .home-hero .home-research-map{margin:0;min-width:0}
 html body .home-page .home-sports .home-actions{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html body .home-sports .home-actions .secondary{justify-content:space-between}
 html body .home-live-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
 html body .home-live-actions .secondary{justify-content:space-between;width:100%}
 html body .home-research-map>a{gap:12px;min-height:64px}
 html body .home-research-map>a>div{min-width:0}
 html body .home-map-footer{flex-wrap:wrap;line-height:1.6}
 html body .offseason-court{min-height:180px}
}
@media(prefers-reduced-motion:reduce){html body :is(a.primary,a.secondary,button:not(:disabled)):active{transform:none}}

/* Reserve independent tracks for side{display:grid;grid-template-columns:48px minmax(56px,1fr) 28px;align-items:center;justify-content:normal!important;gap:8px;width:100%;min-width:148px}
