
body[data-theme] {}
body[data-theme] :is(.shell,.main) {}
body[data-theme] :is(.topbar,.topbar-inner,.panel,.home-hero,.home-league-selector,.home-fixtures-workspace,.fixture-detail,.home-match-filter,.home-filter-card,.match-card,.match-card-body,.racha-block,.racha-list,.analysis-meter-card,.team-performance-chart,.performance-chart,.ios-filter-panel,.streak-team-card,.trend-card,.pricing-card,.auth-card,.login-card,.modal-content,.trend-chart-modal,.home-more-leagues[open],.result-pie::after) {}
body[data-theme] :is(h1,h2,h3,h4,.brand-title,.team-name,.team strong,.section-head strong,.home-filter-card strong,.racha-row strong,.fixture-detail-title,.analysis-meter-card strong,.analysis-meter-card b,.home-filter-card h3,.home-hero h1) {}
body[data-theme] :is(p,small,label,.brand-subtitle,.muted,.home-hero p,.racha-head,.racha-row,.analysis-meter-legend,.filter-range-scale,.home-filter-card small,.team-performance-meta,.match-card-league,.home-filter-summary-actions) {}
body[data-theme] :is(input,select,textarea,.chip,.nav-button,.home-date-tab,.date-tab,.home-filter-line-row button,.filter-card-toggle,.home-filter-scope button,.fixture-detail-actions button,.racha-block button,.home-more-leagues summary) {}
body[data-theme] :is(button:hover,.chip:hover,.nav-button:hover) {}
body[data-theme] :is(.nav-button.active,.chip.active,.home-date-tab.active,.date-tab.active) {}
body[data-theme] :is(.home-filter-line-row button.selected,.filter-card-toggle.active,.fixture-detail-actions button.active,.racha-block button.active,.home-filter-scope button.active) {}
body[data-theme] .match-card.active {}
body[data-theme] :is(.match-card-head,.racha-head,thead,th,.home-match-filter summary,.home-filter-footer,.team-performance-head) {}
body[data-theme] :is(.racha-row,td,tr) {}
body[data-theme] :is(.racha-row:nth-child(even),tbody tr:nth-child(even)) {}
body[data-theme] :is(.racha-average,.racha-mean,.racha-summary) {}
body[data-theme] :is(.home-filter-card.enabled,.outcome-card) {}
body[data-theme] :is(.analysis-meter-track,.filter-range input) {}
body[data-theme] .filter-range input {}
body[data-theme] :is(.seo-footer,.seo-footer a) {}
body[data-theme] :is(.team-logo,.brand-mark) {}
body[data-theme] .vs {}
body[data-theme] svg text {}
body[data-theme] :is(.auth-modal,.trend-chart-modal-backdrop) {}
body[data-theme] :is(.filter-range>span,.home-match-filter summary strong,.home-filter-card .filter-range>span) {}
body[data-theme] :is(.home-filter-size,.home-filter-scope>div,.home-filter-summary-actions>small) {}
body[data-theme] .home-filter-size button {}
body[data-theme] .home-filter-size button.active {}
body[data-theme] .home-filter-line-row button {}
body[data-theme] .filter-range {}
body[data-theme] .home-filter-card:not(.enabled) .filter-range>span {}
body[data-theme] :is(.daily-pick-card,.daily-pick,.daily-pick-match,.daily-pick-analysis,.daily-pick-recommendation,.card-model-card,.card-model-match,.card-market-panel,.card-formula-panel,.corner-line-card,.price-card,.filter-card,.trend-team-card,.trend-chart-modal-dialog,.login-panel,.streak-run-match,.performance-chart-card,.team-performance-panel) {}
body[data-theme] :is(.daily-picks-list,.cards-analysis-list,.trend-charts-grid,.view-lab,.view-allstats,.view-streaks,.view-corners,.view-cards,.view-pricing) :is(strong,b,h2,h3,h4) {}
body[data-theme] :is(.daily-pick-time,.daily-pick-league,.card-market-kicker,.card-model-card span,.daily-pick-card span,.trend-team-card span) {}


body[data-theme] :is(.hero,.trend-dashboard-head,.headline,.blog-placeholder,.pricing-intro,.daily-pick-markets,.daily-market,.metric,.metric-card,.metric-grid>div,.radar-results,.season-picker,.system-teams,.selected-teams,.preset,.preset-row,.empty,.system-empty,.daily-no-pick,.analysis-breakdown,.streak-run-list,.streak-team-main,.trend-chart,.chart-panel,.chart-wrap) {}
body[data-theme] :is(.panel,.home-hero,.home-league-selector,.home-fixtures-workspace,.home-match-filter,.home-filter-card,.match-card,.racha-block,.analysis-meter-card,.daily-pick-card,.card-model-card,.streak-team-card,.trend-team-card,.filter-card,.price-card,.ios-filter-panel,.trend-dashboard-head,.hero) {}
body[data-theme] :is(.main p,.main small,.main label,.main time,.main .muted,.home-filter-result-summary span,.home-filter-card>header,.hero-copy,.hero-message,.trend-dashboard-head p,.streak-run-fixture,.streak-run-fixture span,.streak-run-date,.analysis-breakdown span,.analysis-breakdown b,.daily-confidence span,.daily-market small,.daily-pick-league,.metric span,.metric small,.empty,.filter-range>span) {}
body[data-theme] :is(.hero-message h1,.headline h1,.trend-dashboard-head h1,.daily-pick-teams strong,.streak-run-fixture strong,.metric strong,.metric-grid strong,.radar-results h2) {}
body[data-theme] :is(.streak-result-badge,.streak-run-index,.streak-score-pill) {
  font-weight: 800}
body[data-theme] :is(.streak-run-match,.streak-run-head,.racha-row,td,th,.analysis-breakdown>div,.daily-pick-match,.daily-pick-markets,.section-head) {}
body[data-theme] :is(.daily-rank,.daily-market-number) {}
body[data-theme] .daily-confidence strong {}
body[data-theme] .analysis-risk-control {}
body[data-theme] .analysis-risk-control small {}
body[data-theme] .analysis-risk-control input {}
body[data-theme] :is(.analysis-meter-track,.filter-range input) {}
body[data-theme] .filter-range input { height: 7px}
body[data-theme] .filter-range input::-webkit-slider-thumb {}
body[data-theme] .filter-range input::-moz-range-thumb {}
body[data-theme] .home-filter-card:not(.enabled) .filter-range {}
body[data-theme] .home-filter-card:not(.enabled) .filter-range>span {}
body[data-theme] :is(.season-picker,.system-teams,.selected-teams,.preset-list) {}
body[data-theme] :is(.radar-filters button:not(.primary-button):not(.active),.radar-filters .chip:not(.active)) {}
body[data-theme] .main button:focus-visible {}
body[data-theme] :is(label>span,.ios-select-field>span,.field>span,.field>label,.streak-run-head span,.system-team-list span,.system-team-list p,.preset-list span,.metric-grid span) {}
body[data-theme] :is(.streak-venue-control,.segmented-control,.system-team-list,.system-team,.preset-actions,.trend-selected-teams) {}
body[data-theme] :is(select,input,textarea,.ios-filter-panel,.streak-venue-control) {}
body[data-theme] option {}
body[data-theme] :is(.stat-value,.stat-label,.small-note,.system-box,.table-toolbar,.table-tools,.table-controls,.table-wrap,.radar-table,.allstats-pager,.radar-filters .system-box) {}
body[data-theme] :is(table,tbody,tr,td) {}
body[data-theme] :is(tbody tr:nth-child(even),tbody tr:nth-child(even) td) {}
body[data-theme] :is(tbody tr:hover,tbody tr:hover td) {}
body[data-theme] :is(.table-wrap button,.system-box button) {}
body[data-theme] :is(.profit,.stat-value.profit) {}
body[data-theme] :is(.loss,.stat-value.loss) {}
body[data-theme] .table-title {}
body[data-theme] :is(.table-toolbar span,.table-tools span,.table-controls span,.table-wrap .small-note,.table-title p,.table-title span) {}
body[data-theme] :is(.ios-filter-panel,.streaks-filters) {}
body[data-theme] .trend-filter-list {}
body[data-theme] .table-toolbar {}
body[data-theme] .table-toolbar :is(b,strong,small) {}
body[data-theme] {}
body[data-theme] .daily-pick-teams strong { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.35}
body[data-theme] .table-toolbar * {}
body[data-theme] .table-wrap .small-note {}
html:has(body[data-theme]) {}
html:has(body[data-theme])::-webkit-scrollbar,
body[data-theme] ::-webkit-scrollbar { width: 9px; height: 9px}
html:has(body[data-theme])::-webkit-scrollbar-track,
body[data-theme] ::-webkit-scrollbar-track {}
html:has(body[data-theme])::-webkit-scrollbar-thumb,
body[data-theme] ::-webkit-scrollbar-thumb { border-radius: 20px}
body[data-theme] * {}
body[data-theme] :is(.corners-venue-control,.streak-venue-control,.corners-venue-control>div,.card-confidence,.card-confidence.recommended,.trend-filter-list,.table-title) {}
body[data-theme] :is(.corners-venue-control>span,.streak-venue-control>span,.card-confidence span,.card-confidence strong,.table-title h3,.table-title p) {}
body[data-theme] .corners-venue-control button {}
body[data-theme] :is(.corners-venue-control button.active,#streakApplyButton) {}
body[data-theme] .main .trend-filter-list {}
body[data-theme] .table-wrap td .small-note {}
body[data-theme] .home-filter-card { border-width: 2px}
body[data-theme] .filter-range input { height: 9px !important}
body[data-theme] :is(.analysis-meter-track,.analysis-meter-line,.distribution-lines>div>i) { height: 6px !important}
body[data-theme] :is(.distribution-lines span,.distribution-lines strong,.distribution-lines small,.analysis-meter-scale span,.analysis-meter-legend span,.analysis-meter-legend b) {}
body[data-theme] .distribution-lines span { font-size: 11px}
body[data-theme] .distribution-lines strong small { font-size: 10px}
body[data-theme] .analysis-meter-head>strong { font-size: 30px !important}
body[data-theme] .analysis-meter-legend b { font-size: 13px}
body[data-theme] .analysis-meter-scale { font-size: 10px}
body[data-theme] .team-crest-feature .team-crest { width: 124px !important; height: 124px !important; border-radius: 0 !important}
body[data-theme] .team-crest-feature .team-crest img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; padding: 0}
body[data-theme] .brand-mark img { border-radius: 12px}
body[data-theme] .home-match-filter>summary { padding: 14px 12px}
body[data-theme] .home-filter-summary-actions { gap: 10px}
body[data-theme] .home-match-filter-body { padding-top: 16px}
body[data-theme] .home-filter-grid { gap: 12px}
body[data-theme] .match-card-head .league-name {}
body[data-theme] .analysis-risk-control {}
body[data-theme] #analyzeFixture { font-weight: 800}
body[data-theme] .analysis-match-crests { border-radius: 0 !important; padding: 0}
body[data-theme] .home-filter-active-markets { display: flex; align-items: center; justify-content: center; width: 100%}
body[data-theme] .home-filter-active-markets>span { display: inline-flex; align-items: center; justify-content: center; text-align: center}
body[data-theme] .home-filter-card:not(.outcome-card) .home-filter-line-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 6px}
body[data-theme] .home-filter-card .home-filter-line-row button { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 32px; height: auto; padding: 5px 4px; white-space: normal; line-height: 1.3}
body[data-theme] .streak-venue-action-row { margin-top: 14px}
body[data-theme] .section-banner {}
body[data-theme] .section-banner-copy strong {}
body[data-theme] .section-banner-controls button {}
body[data-theme] .outcome-card .home-filter-line-row button:nth-child(1) {}
body[data-theme] .outcome-card .home-filter-line-row button:nth-child(2) {}
body[data-theme] .outcome-card .home-filter-line-row button:nth-child(3) {}
body[data-theme] .outcome-card .outcome-preview { height: 10px; border-width: 2px}
body[data-theme] .outcome-card .outcome-home {}
body[data-theme] .daily-market h3 { display: inline-block; margin: 10px 0; padding: 10px 14px; border-radius: 5px; font-size: 22px; line-height: 1.35}
body[data-theme] .section-banner { min-height: 116px; padding: 20px}
body[data-theme] .section-banner-copy strong { display: block; font-size: 22px; margin-top: 5px}
body[data-theme] .section-banner-copy small { font-size: 10px; font-weight: 800}
body[data-theme] .section-banner-copy p { font-size: 14px; max-width: 850px}
body[data-theme] .section-banner-controls { flex-direction: column; align-items: flex-end}
body[data-theme] .section-banner-controls button { width: auto; height: auto; min-height: 40px; padding: 10px 16px; font-weight: 750}
body[data-theme] .section-banner-navigation button[data-banner-step] { width: 32px; min-height: 32px; height: 32px; padding: 0}
body[data-theme] :is(.home-filter-footer,.home-filter-active-markets,.home-filter-size,.home-filter-scope>div) {}
body[data-theme] .analysis-risk-control {}
body[data-theme] .corners-lookback-select {}
body[data-theme] .corners-lookback-select>span {}
body[data-theme] .card-chart-track {}
body[data-theme] .fixture-detail .racha-tabs .chip {}
body[data-theme] .fixture-detail .racha-tabs .chip.active {}
body[data-theme] .fixture-detail .racha-tabs .chip:hover:not(.active) {}
body[data-theme] .fixture-detail .recent-match-row,
body[data-theme] .fixture-detail .recent-match-row:hover {}
body[data-theme] .fixture-detail .recent-match-metric {}
body[data-theme] .fixture-detail :is(.recent-match-opponent strong,.recent-match-opponent small,.recent-match-metric strong,.recent-match-metric small,.recent-match-metric em,.recent-match-metric strong i) {}
body[data-theme] .fixture-detail .recent-match-result {}
body[data-theme] .h2h-duel-feature>div {}
body[data-theme] .h2h-duel-feature .team-crest { width: 84px !important; height: 84px !important; max-width: 100%; border-radius: 0 !important}
body[data-theme] .h2h-duel-feature .team-crest img { width: 100%; height: 100%; object-fit: contain; border-radius: 0}
@media(min-width:761px) {
  body[data-theme] .sidebar-toggle { right: 10px !important; top: 12px !important; width: 28px; height: 28px}
  body[data-theme] .topbar .brand { padding-right: 30px}
  body[data-theme] .shell.sidebar-collapsed .sidebar-toggle { right: 8px !important; top: 76px !important}
  body[data-theme] .shell.sidebar-collapsed .topbar .brand { padding-right: 0}
}
@media(max-width:600px) { body[data-theme] .section-banner { flex-direction: column; align-items: stretch; min-height: 190px; padding: 16px} body[data-theme] .section-banner-controls { flex-direction: row; align-items: center; justify-content: space-between} }


/* Same sidebar and banner geometry in both color themes. */
.goal-fixture-dashboard{border:1px solid var(--cf-border);border-radius:15px;background:var(--tp-surface,#fff);overflow:hidden;margin-bottom:18px}
.goal-fixture-dashboard>header{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:15px 20px;border-bottom:1px solid var(--cf-border);font-size:12px}
.goal-fixture-dashboard>header>small{margin-left:auto;color:#169ddc;font-weight:800;font-size:10px}
.goal-fixture-teams{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px}
.goal-team-panel{min-width:0}.goal-team-panel>.corner-team>small{margin-left:auto;font-size:10px;opacity:.7}
.goal-fixture-chart{margin:12px 0}.goal-fixture-chart svg{width:100%;height:auto;display:block}.goal-fixture-chart>small{display:block;font-size:10px;color:#7890aa;text-align:center}
.goal-team-averages{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.goal-team-averages>div{display:grid;gap:6px;border-left:2px solid var(--goal-color);padding:5px 10px}.goal-team-averages span{font-size:11px;color:#7890aa}.goal-team-averages strong{font-size:23px}
.goal-line-evidence{display:flex;justify-content:space-between;gap:10px;font-size:11px;border-top:1px solid var(--cf-border);margin-top:14px;padding-top:12px}.goal-line-evidence strong{color:var(--goal-color)}
.goal-recommendations{padding:18px 20px;border-top:1px solid var(--cf-border);background:#189cdd06}.goal-recommendations h3{font-size:14px;margin:0 0 13px}.goal-recommendations>small{display:block;font-size:10px;color:#7890aa;line-height:1.6;margin-top:12px}.goal-recommendations>p{font-size:12px;color:#7890aa}
.goal-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.goal-pick{display:grid;grid-template-columns:1fr auto;gap:8px;background:#15b68a0b;border:1px solid #15b68a35;border-radius:10px;padding:13px}.goal-pick>div{display:grid;gap:6px}.goal-pick strong{font-size:14px}.goal-pick span,.goal-pick>small{font-size:10px;color:#7890aa}.goal-pick>b{font-size:25px;color:#10ae83}.goal-pick>small{grid-column:1/-1}
body[data-theme="dark"] .goal-fixture-dashboard{background:#101e2e}
@media(max-width:650px){.goal-fixture-teams{grid-template-columns:1fr;padding:14px}.goal-team-panel+ .goal-team-panel{padding-top:14px;border-top:1px solid var(--cf-border)}.goal-picks{grid-template-columns:1fr}.goal-fixture-dashboard>header{padding:12px;gap:8px}.goal-team-averages strong{font-size:20px}}
.finder-fullscreen-button{display:none}
.finder-fullscreen-open{overflow:hidden!important}
body[data-theme] .shell .corner-results.finder-expanded{position:fixed!important;inset:0!important;z-index:99999!important;width:100vw!important;height:100dvh!important;margin:0!important;border-radius:0!important;display:flex;flex-direction:column;background:#fff!important;color:#152644!important;padding:12px!important;box-sizing:border-box}
body[data-theme="dark"] .shell .corner-results.finder-expanded{background:#0d1928!important;color:#edf4ff!important}
.corner-results.finder-expanded>.corner-table-scroll{flex:1;min-height:0;overflow:auto!important}
.corner-results.finder-expanded .finder-fullscreen-button{display:block!important}
.corner-results.finder-expanded>header{flex-shrink:0}
@media(max-width:1024px){
  body[data-theme] .shell .view-home .home-hero{display:none!important}
  body[data-theme] .shell .home-match-filter:not([open])>summary{padding:10px!important;gap:5px!important;min-height:0!important;flex-direction:row!important;align-items:center!important}
  body[data-theme] .shell .home-match-filter:not([open])>summary>span strong,body[data-theme] .shell .home-match-filter:not([open]) .home-filter-scope,body[data-theme] .shell .home-match-filter:not([open]) .home-filter-size{display:none!important}
  body[data-theme] .shell .home-match-filter:not([open]) .home-filter-summary-actions{width:auto!important;gap:8px!important;margin-left:auto}
  body[data-theme] .shell .nav-account>*{min-height:30px!important;height:30px!important;padding:4px 6px!important;font-size:10px!important;gap:4px!important}
  body[data-theme] .shell .nav-account>*:before{font-size:15px!important}
  body[data-theme] .shell .nav-account{gap:5px!important;padding-top:7px!important}
  body[data-theme] .shell .nav-account .user-name{font-size:10px!important}
  body[data-theme] .shell .nav-account .user-status{font-size:9px!important;padding:2px 4px!important}
  .team-profile .tp-identity{padding:10px 0;gap:10px}
  .team-profile .tp-identity>.team-crest{width:48px;height:48px;flex-basis:48px}
  .team-profile .tp-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 4px;margin-top:10px}
  .team-profile .tp-overview>div{padding:0 4px;gap:4px}
  .team-profile .tp-overview span{font-size:9px}.team-profile .tp-overview strong{font-size:15px}
  .team-profile .tp-results-wide{padding:10px}.team-profile .tp-results-wide h3{font-size:13px;margin-bottom:9px}
  .team-profile .tp-results-wide .tp-table th,.team-profile .tp-results-wide .tp-table td{padding:6px 4px;font-size:10px}
  .team-profile .tp-results-wide .tp-form{gap:4px;margin-bottom:8px}
  .team-profile .tp-results-wide .tp-result{width:20px;height:21px;font-size:10px}
  .team-profile .tp-results-wide .tp-opponent .team-crest{width:18px;height:18px;flex-basis:18px}
  .corner-results .finder-fullscreen-button{display:block;font-size:11px;padding:8px!important;white-space:nowrap}
}
.shell .nav-primary .nav-button[data-view="goals"]{--nav-accent:#259fee}
.shell .nav-primary .nav-button[data-view="goals"] .sidebar-reference-art{background-size:contain!important;background-repeat:no-repeat!important;background-color:transparent!important;border-radius:0!important}
.view-goals .section-reference-icon{object-fit:contain!important;background:transparent!important}
.view-cards .corner-eyebrow{color:#e6a11b}.view-goals .corner-eyebrow{color:#168eea}
body[data-theme] .shell .corner-finder .corner-filter-main{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px!important;overflow-x:auto;padding-bottom:6px;align-items:flex-end}
body[data-theme] .shell .corner-filter-main>label{flex:1 0 135px;min-width:135px;font-size:12px}
body[data-theme] .shell .corner-filter-main>.corner-search{flex:0 0 110px;min-height:44px;grid-column:auto}
body[data-theme] .shell .corner-filter-main select{min-height:44px;font-size:12px}
body[data-theme] .shell .nav-primary .nav-button[data-view="corners"] .sidebar-badge{display:block!important;color:#098e65;background:#b6f7dd;border:1px solid #35c998}
@media(max-width:1024px){body[data-theme] .shell .nav-primary .nav-button[data-view="corners"] .sidebar-badge{position:absolute;right:3px;top:3px;font-size:7px;padding:2px 3px}body[data-theme] .shell.sidebar-collapsed .nav-primary .nav-button[data-view="corners"] .sidebar-badge{display:none!important}}
.corner-calendar-dates{display:flex;flex-wrap:wrap;gap:7px;padding:14px 18px;border-bottom:1px solid var(--cf-border)}
.corner-calendar-dates button{background:transparent;border:1px solid var(--cf-border);color:inherit;border-radius:8px;padding:9px 12px;cursor:pointer;font-size:12px}
.corner-calendar-dates button.active{background:#168eea;color:#fff;border-color:#168eea}
.shell .section-reference-icon{display:inline-block!important;flex:0 0 64px!important;width:64px!important;height:48px!important;object-fit:contain!important;border-radius:11px!important;vertical-align:middle;margin-right:12px;box-shadow:none!important}
.shell .section-icon-heading{display:flex;align-items:center;gap:0}
.shell .daily-tool-icon{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;width:64px!important;height:48px!important;flex:0 0 64px!important}
.shell .daily-tool-icon .section-reference-icon{margin:0}
@media(max-width:600px){.shell .section-reference-icon{width:48px!important;height:36px!important;flex-basis:48px!important;margin-right:9px}}
body[data-theme] .shell .nav-primary .sidebar-label{font-family:inherit!important;line-height:1.3!important}
body[data-theme="dark"] .nav-account .user-name{color:#dceaff!important}
body[data-theme="dark"] .home-hero p,body[data-theme="dark"] .section-banner-copy p{color:#aabbd0!important}
body[data-theme] .shell .section-banner-copy strong{display:block;font-size:22px;margin-top:5px}
body[data-theme] .shell .section-banner-copy small{font-size:10px;font-weight:800}
body[data-theme] .shell .section-banner-copy p{font-size:14px;line-height:1.5;max-width:850px}
body[data-theme] .shell .section-banner{display:flex;min-height:116px;padding:20px;border-width:2px;border-left-width:6px}
body[data-theme="dark"] .section-banner{background:#102b29;border-color:#397d6b;color:#d8ede7}
body[data-theme="dark"] .section-banner-copy strong{color:#5ce5b7}
body[data-theme="dark"] .section-banner-copy small{color:#8ce8c9!important}
body[data-theme] .shell .brand .brand-reference-logo{background:transparent!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important;mix-blend-mode:normal!important}
@media(min-width:1025px){
body[data-theme] .shell #sidebarToggle.sidebar-toggle{top:25px!important;right:8px!important;width:32px!important;height:32px!important;transform:none!important}
body[data-theme] .shell.sidebar-collapsed #sidebarToggle.sidebar-toggle{top:77px!important;right:20px!important}
}
@media(max-width:1024px){
body[data-theme] .shell .topbar-inner{min-height:0!important;gap:12px!important;flex-direction:row!important}
body[data-theme] .shell .nav-actions{height:auto!important;min-height:0!important;overflow:visible!important}
body[data-theme] .shell .nav-primary{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:auto!important;overflow:visible!important;gap:6px!important;padding:0!important}
body[data-theme] .shell .nav-primary .nav-button{flex:none!important;min-width:0!important;width:100%!important;height:76px!important;min-height:76px!important;flex-direction:column!important}
body[data-theme] .shell .nav-primary .sidebar-art{flex:none!important;width:40px!important;height:34px!important;min-height:34px!important}
body[data-theme] .shell .nav-primary .sidebar-label{font-size:9px!important;white-space:normal!important}
body[data-theme] .shell .nav-account{display:grid!important;grid-template-columns:1fr 1fr!important;flex:none!important;margin:0!important}
body[data-theme] .shell .section-banner{flex-direction:column!important;align-items:stretch!important;min-height:220px!important;padding:14px!important}
body[data-theme] .shell .section-banner-controls{flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
}

/* Fit all eleven desktop sections within the viewport without sidebar scrolling. */
@media(min-width:1025px){
  body[data-theme] .shell .topbar{height:100dvh!important;min-height:0!important;overflow:hidden!important}
  body[data-theme] .shell .topbar-inner{height:100%!important;min-height:0!important;max-height:100%!important;padding:10px 12px!important;gap:8px!important;box-sizing:border-box}
  body[data-theme] .shell .brand{flex:0 0 58px!important;min-height:0!important}
  body[data-theme] .shell .nav-actions{flex:1!important;min-height:0!important;gap:8px!important;overflow:hidden!important}
  body[data-theme] .shell .nav-primary{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(11,minmax(0,1fr))!important;gap:4px!important;flex:1!important;min-height:0!important;overflow:hidden!important;padding:0!important}
  body[data-theme] .shell .nav-primary .nav-button{height:100%!important;min-height:0!important;max-height:42px!important;flex:none!important;width:100%!important;align-self:center;gap:8px!important;border-radius:10px!important}
  body[data-theme] .shell .nav-primary .sidebar-reference-art{height:100%!important;min-height:0!important;max-height:40px!important;width:48px!important;flex:0 0 48px!important;border-radius:9px!important;background-size:100% 100%!important}
  body[data-theme] .shell .nav-primary .sidebar-label{font-size:11px!important}
  body[data-theme] .shell .nav-primary .sidebar-badge{font-size:8px!important;padding:2px 4px!important}
  body[data-theme] .shell .nav-primary .sidebar-chevron{font-size:20px!important}
  body[data-theme] .shell .nav-account{flex:0 0 auto!important;gap:5px!important;padding-top:7px!important}
  body[data-theme] .shell .nav-account>*{height:32px!important;min-height:32px!important;padding:4px 6px!important}
  body[data-theme] .shell.sidebar-collapsed .topbar-inner{gap:34px!important}
  body[data-theme] .shell.sidebar-collapsed .nav-primary .nav-button{width:48px!important}
}

/* Home prioritises fixtures; both themes share the same compact layout. */
body[data-theme] .shell .home-workspace-title h1{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.15;color:var(--app-ink)}
body[data-theme] .shell .home-match-filter:not([open])>summary{padding:10px!important;gap:8px!important;min-height:0!important}
body[data-theme] .shell .home-match-filter:not([open])>summary>span strong{display:none!important}
body[data-theme] .shell .home-fixtures-workspace>.section-banner{margin-top:24px!important}
body[data-theme] .shell .view-home .home-league-selector{display:block!important;padding:12px!important}
body[data-theme] .shell .view-home .home-league-selector>div:first-child{display:none!important}
body[data-theme] .shell .view-home .home-primary-leagues{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px!important}
body[data-theme] .shell .view-home .home-primary-leagues .chip{min-width:0!important;min-height:36px!important;padding:6px!important;font-size:12px!important;border-radius:10px!important}
body[data-theme] .shell .view-home .home-primary-leagues .league-badge{width:20px!important;height:22px!important}
body[data-theme] .shell .view-home .home-more-leagues>summary{min-height:30px!important;padding:5px 12px!important;font-size:11px!important}

/* Override legacy light-only ink values on dark fixture and analysis panels. */
body[data-theme="dark"] .shell .home-fixtures-workspace :is(.team-name,.match-date,.match-versus),
body[data-theme="dark"] .shell .fixture-detail :is(h2,h3,h4,.racha-head>strong,.racha-team-name,.team-profile-link,.team-form-card-head>span,.team-form-card-head span,.analysis-market-main strong,.analysis-breakdown strong,.analysis-meter-head>span,.analysis-meter-head>strong,.recent-match-opponent strong,.recent-match-metric strong,.recent-match-metric strong i,.team-average-card strong,.team-average-panel strong,.h2h-duel-feature strong,.metric-tile strong,.distribution-lines strong){color:#edf4ff!important}
body[data-theme="dark"] .shell .fixture-detail :is(p,.analysis-breakdown span,.analysis-limited-sample,.analysis-empty,.team-average-heading,.team-average-card span,.recent-match-opponent small,.recent-match-metric small,.recent-match-metric em,.distribution-lines>div>span,.analysis-meter-legend,.analysis-meter-scale,.team-form-card-head>small){color:#b6c7da!important}
body[data-theme="dark"] .shell .fixture-analysis .analysis-market{background:#101e2e!important;border-color:#34465c!important;color:#edf4ff!important}
body[data-theme="dark"] .shell .fixture-analysis .analysis-breakdown>div{background:#15263a!important;border-color:#34465c!important}
body[data-theme="dark"] .shell .fixture-analysis .analysis-rank{color:#48dcbc!important}
/* Match Daily Edge's light cards instead of inheriting the dark translucent fill. */
body[data-theme="light"] .shell .fixture-analysis .analysis-market{background:#fff!important;border-color:#cbd7e1!important;color:#172331!important;box-shadow:0 4px 14px #17233108}
body[data-theme="light"] .shell .fixture-analysis .analysis-market-main strong{display:block;color:#07543f!important;background:#e5f4ec!important;border-left:4px solid #08765c;border-radius:5px;padding:10px 14px;font-size:22px;line-height:1.35}
body[data-theme="light"] .shell .fixture-analysis .analysis-breakdown>div{background:transparent!important;border-color:#d9e1e8!important}
body[data-theme="light"] .shell .fixture-analysis .analysis-breakdown span{color:#526579!important}
body[data-theme="light"] .shell .fixture-analysis .analysis-breakdown strong{color:#172331!important}
body[data-theme="light"] .shell .fixture-analysis .analysis-rank{color:#08765c!important;font-size:28px}
.premium-crown{flex:0 0 auto;color:#f4bd34;font-size:20px;line-height:1;text-shadow:0 2px 7px #c68d2530}
body[data-theme="dark"] .shell .home-fixtures-workspace .league-name{color:#b6c7da!important}

/* Team search and compact fixtures: shared geometry for light and dark themes. */
.header-team-search{position:relative;flex:0 0 auto;min-width:0;width:100%;margin:0;color:var(--app-ink)}
.header-team-search>label{display:block;font-size:11px;font-weight:700;margin:0 0 4px}
.header-team-search>div:first-of-type{display:flex;min-width:0;border:1px solid var(--app-border,#b5c5d6);border-radius:10px;background:var(--app-panel,#fff);overflow:hidden}
.header-team-search input{width:100%;min-width:0;height:32px;padding:6px 9px;border:0;background:transparent;color:inherit;font-size:12px}
.header-team-search button{cursor:pointer;color:inherit}
.header-team-search>div>button{border:0;background:transparent;min-width:32px;font-size:22px}
.header-team-search-results{position:absolute;z-index:100;top:100%;left:0;right:0;padding:6px;border:1px solid #a7b8ca;border-radius:10px;background:#fff;color:#12263e;box-shadow:0 10px 25px #00192c26}
.header-team-search-results[hidden]{display:none!important}
.header-team-search-results button{display:block;width:100%;text-align:left;padding:9px!important;min-height:34px!important;font-size:12px!important;border-radius:6px}
.header-team-search-results button:hover,.header-team-search-results button:focus-visible{background:#dceffd;outline:2px solid #168ddd}
.home-league-group{min-width:0;margin:0 0 20px}
body[data-theme] .shell .home-league-group>h2{display:flex;align-items:center;gap:8px;margin:0 0 9px;padding:9px 10px;border-bottom:2px solid #168ddd;font-size:15px;color:var(--app-ink)}
.home-league-group>h2 .league-badge{width:22px;height:22px;object-fit:contain}
.home-league-group>h2 small{margin-left:auto;font-size:10px;font-weight:500;opacity:.75}
body[data-theme] .shell .home-fixtures-workspace .matches-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr))!important;gap:8px!important}
body[data-theme] .shell .home-fixtures-workspace .home-date-tabs{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr)) 28px!important;gap:6px!important;width:100%!important;margin:0 0 10px!important;padding:0 0 5px!important;overflow-x:auto!important;align-items:stretch}
body[data-theme] .shell .home-fixtures-workspace .home-date-tab{min-width:0!important;min-height:42px!important;padding:6px 4px!important;border-radius:11px!important;gap:3px!important}
body[data-theme] .shell .home-fixtures-workspace .home-date-tab strong{font-size:12px!important;line-height:1.15!important}
body[data-theme] .shell .home-fixtures-workspace .home-date-tab span{font-size:9px!important;line-height:1.15!important}
body[data-theme] .shell .home-fixtures-workspace .home-date-next{position:static!important;min-width:28px!important;width:28px!important;height:auto!important;min-height:42px!important;padding:0!important;border-radius:10px!important}
@media(max-width:520px){body[data-theme] .shell .home-fixtures-workspace .home-date-tabs{grid-template-columns:repeat(7,66px) 28px!important}}
body[data-theme] .shell .home-fixtures-workspace .match-card{min-height:0!important;border-radius:13px!important}
body[data-theme] .shell .home-fixtures-workspace .match-card-head{padding:7px 10px!important;min-height:0!important}
body[data-theme] .shell .home-fixtures-workspace .match-card-body{min-height:0!important;padding:9px 7px!important;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr)!important;gap:4px!important}
body[data-theme] .shell .home-fixtures-workspace .team-crest{width:32px!important;height:32px!important;flex-basis:32px!important}
body[data-theme] .shell .home-fixtures-workspace .team-name{font-size:12px!important;line-height:1.25!important}
body[data-theme] .shell .home-fixtures-workspace .team{min-width:0!important;gap:5px!important}
body[data-theme] .shell .home-fixtures-workspace .match-versus{width:28px!important;height:28px!important;font-size:10px!important}
.fixture-form{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:nowrap}
body[data-theme] .shell .fixture-form>span{display:inline-flex;align-items:center;justify-content:center;width:16px;height:18px;min-width:16px;border-radius:4px;font:800 10px/1 system-ui;color:#fff!important}
body[data-theme] .shell .fixture-form .form-w{background:#087e52}
body[data-theme] .shell .fixture-form .form-d{background:#f3bd2b;color:#172333!important}
body[data-theme] .shell .fixture-form .form-l{background:#d42e50}
body[data-theme] .shell .fixture-form .form-empty{background:#64748b}
body[data-theme="dark"] .header-team-search>div:first-of-type{background:#101f30;color:#edf4ff}
body[data-theme="dark"] .header-team-search-results{background:#122437;color:#edf4ff;border-color:#47637e}
body[data-theme="dark"] .header-team-search-results button:hover,body[data-theme="dark"] .header-team-search-results button:focus-visible{background:#244563}
@media(min-width:1025px){
  body[data-theme] .shell .topbar-inner{overflow:visible!important}
  body[data-theme] .shell.sidebar-collapsed .header-team-search{display:none}
}
@media(max-width:1024px){.header-team-search{max-width:420px}.header-team-search input{height:34px}}
@media(max-width:400px){body[data-theme] .shell .home-fixtures-workspace .matches-grid{grid-template-columns:1fr!important}}
/* League sections stay intact at every density and viewport. */
@media(min-width:1025px){
  body[data-theme] .shell .home-fixtures-list{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}
  .home-league-columns{display:block;width:100%;min-width:0}
  body[data-theme] .shell .home-fixtures-list>.home-filter-result-summary,
  body[data-theme] .shell .home-fixtures-list>.empty{grid-column:1/-1;margin:0}
  body[data-theme] .shell .home-league-columns .home-league-group{display:block}
  body[data-theme] .shell .home-league-columns .home-league-group>h2{display:flex}
  body[data-theme] .shell .home-league-columns .home-league-group .matches-grid{display:grid!important}
}

/* Give the identity most of the final row, not half a tiny footer tile. */
body[data-theme] .shell .nav-account.account-signed-in{grid-template-columns:repeat(6,minmax(0,1fr))!important}
body[data-theme] .shell .nav-account.account-signed-in>[data-interface-theme],
body[data-theme] .shell .nav-account.account-signed-in>[data-lang]{grid-column:span 3}
body[data-theme] .shell .nav-account.account-signed-in>.user-pill{grid-column:span 5;justify-content:flex-start!important;gap:6px!important;min-width:0!important}
body[data-theme] .shell .nav-account.account-signed-in .user-name{flex:1;min-width:0;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;overflow-wrap:normal!important;font-size:12px!important;line-height:1.4}
body[data-theme] .shell .nav-account.account-signed-in .user-status{font-size:8px!important;padding:2px 3px!important}
body[data-theme] .shell .nav-account.account-signed-in>#logoutButton{grid-column:span 1;padding:3px 2px!important;font-size:10px!important;min-width:0!important;white-space:nowrap}
@media(max-width:1024px){
  body[data-theme] .shell .view-home .home-league-selector{padding:10px!important;gap:8px!important}
  body[data-theme] .shell .view-home .home-league-selector>div:first-child{display:none!important}
  body[data-theme] .shell .view-home .home-primary-leagues{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[data-theme] .shell .view-home .home-primary-leagues .chip{min-height:32px!important;font-size:11px!important}
}

/* Invite discovery without keeping a moving control open or ignoring reduced motion. */
body[data-theme] .shell .home-filter-disclosure{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:5px 9px;border-radius:9px;background:#087fb9;color:#fff!important;font-size:11px;line-height:1.2;box-shadow:0 2px 7px #0784b32b;transform-origin:center}
body[data-theme] .shell .home-match-filter:not([open]) .home-filter-disclosure{animation:filter-discover 3.6s ease-in-out infinite}
body[data-theme] .shell .home-match-filter[open] .home-filter-disclosure{background:#156a56;animation:none}
body[data-theme] .shell .home-match-filter>summary:hover .home-filter-disclosure,
body[data-theme] .shell .home-match-filter>summary:focus-visible .home-filter-disclosure{animation:none;background:#076798}
@keyframes filter-discover{0%,60%,100%{transform:translateY(0) scale(1)}68%,84%{transform:translateY(-2px) scale(1.025)}76%,92%{transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){body[data-theme] .shell .home-match-filter .home-filter-disclosure{animation:none!important;transform:none!important}}

/* Compact touch navigation: smaller artwork, with usable button targets. */
@media(max-width:1024px){
  body[data-theme] .shell .topbar-inner{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;gap:8px!important;padding:10px 12px!important;align-items:center!important}
  body[data-theme] .shell .topbar .brand{grid-column:1;min-height:44px!important;height:auto!important;width:auto!important;gap:6px!important;padding:0!important;margin:0!important}
  body[data-theme] .shell .topbar .brand-mark{width:40px!important;height:38px!important;min-width:40px!important;flex:0 0 40px!important}
  body[data-theme] .shell .topbar .brand-mark img{width:100%!important;height:100%!important;object-fit:contain!important}
  body[data-theme] .shell .topbar .brand-title{font-size:17px!important;line-height:1.1!important}
  body[data-theme] .shell .topbar .brand-subtitle{font-size:8px!important;line-height:1.2!important;max-width:110px}
  body[data-theme] .shell .header-team-search{grid-column:2;max-width:none}
  body[data-theme] .shell .header-team-search>label{font-size:9px;margin-bottom:3px}
  body[data-theme] .shell .header-team-search input{font-size:11px;height:30px;padding:5px 7px}
  body[data-theme] .shell .header-team-search>div>button{min-width:26px;font-size:18px}
  body[data-theme] .shell .nav-actions{grid-column:1/-1;gap:6px!important;width:100%!important}
  body[data-theme] .shell .nav-primary{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important}
  body[data-theme] .shell .nav-primary .nav-button{height:50px!important;min-height:50px!important;padding:4px 2px!important;gap:2px!important;border-radius:9px!important;justify-content:center!important}
  body[data-theme] .shell .nav-primary .sidebar-art{width:27px!important;height:22px!important;min-height:22px!important;flex:none!important;border-radius:5px!important;background-size:100% 100%!important}
  body[data-theme] .shell .nav-primary .sidebar-label{font-size:8px!important;line-height:1.1!important;margin:0!important;max-width:100%}
  body[data-theme] .shell .nav-primary .sidebar-badge{font-size:6px!important;padding:1px 2px!important;top:2px!important;right:2px!important}
  body[data-theme] .shell .nav-account{gap:4px!important;padding-top:5px!important}
  body[data-theme] .shell .nav-account>*{height:28px!important;min-height:28px!important;padding:3px 4px!important;font-size:9px!important;gap:3px!important}
  body[data-theme] .shell .nav-account>*:before{font-size:12px!important}
}
@media(max-width:359px){body[data-theme] .shell .nav-primary{grid-template-columns:repeat(5,minmax(0,1fr))!important}}

/* On phones, the fixture calendar is the focus rather than a large heading. */
.mobile-user-menu{display:none}
.fixture-density-switch,.fixture-ppp{display:none}
.team-crest-ppp{display:inline-flex;align-items:center;justify-content:center;gap:4px;flex:0 0 auto}
@media(max-width:760px){
  body[data-theme] .shell .nav-primary{grid-template-columns:repeat(11,minmax(0,1fr))!important;gap:2px!important;padding:2px 0!important}
  body[data-theme] .shell .nav-primary .nav-button{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
  body[data-theme] .shell .nav-primary .nav-button::before{display:none!important}
  body[data-theme] .shell .nav-primary .nav-button::after{display:none!important}
  body[data-theme] .shell .nav-primary .nav-button.active::after{content:'';display:block!important;position:absolute;bottom:0;left:calc(50% - 5px);width:10px;height:2px;border-radius:2px;background:#098bce}
  body[data-theme] .shell .nav-primary :is(.sidebar-label,.sidebar-badge,.sidebar-chevron){display:none!important}
  body[data-theme] .shell .nav-primary .nav-button[data-view] .sidebar-badge{display:none!important}
  body[data-theme] .shell .nav-primary .nav-button[data-view] .sidebar-reference-art{display:block!important;width:28px!important;height:26px!important;min-height:26px!important;flex:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background-size:100% 100%!important}
  body[data-theme] .shell .nav-primary .nav-button:focus-visible{outline:2px solid #168ddd!important;outline-offset:1px!important}
  body[data-theme] .shell .home-fixtures-workspace{padding:10px!important;border-radius:14px!important}
  body[data-theme] .shell .home-workspace-title{display:flex!important;align-items:center!important;min-height:0!important;margin:0 0 8px!important;padding:0!important;gap:0!important;border:0!important}
  body[data-theme] .shell .home-workspace-title h1{font-size:15px!important;line-height:20px!important;font-weight:750!important;letter-spacing:0!important;margin:0!important;padding:0!important}
  body[data-theme] .shell .home-workspace-title p{display:none!important}
  body[data-theme] .shell .topbar-inner{position:relative!important;row-gap:3px!important}
  body[data-theme] .shell .topbar .brand{grid-row:1/span 2!important}
  body[data-theme] .shell .mobile-user-menu{display:flex;grid-column:2;grid-row:1;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
  body[data-theme] .shell .mobile-user-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:700;line-height:1.4;color:var(--app-ink)}
  body[data-theme] .shell #mobileOptionsToggle{display:flex;align-items:center;justify-content:center;flex:0 0 30px;min-width:30px;height:28px;padding:2px;border:0;background:transparent;color:var(--app-ink);cursor:pointer}
  body[data-theme] .shell .header-team-search{grid-column:2!important;grid-row:2!important}
  body[data-theme] .shell .header-team-search>label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  body[data-theme] .shell .nav-actions{grid-row:3!important}
  body[data-theme] .shell .nav-account{display:none!important}
  body[data-theme] .shell .nav-account.mobile-options-open{display:grid!important;position:absolute!important;z-index:110;top:42px;right:12px;width:min(270px,calc(100% - 24px))!important;padding:10px!important;border:1px solid #c4d3e1;border-radius:12px;background:#fff;box-shadow:0 8px 24px #07182f29}
  body[data-theme="dark"] .shell .nav-account.mobile-options-open{background:#122437;border-color:#47637e}
  body[data-theme] .shell .home-league-group>h2{font-size:12px!important;line-height:18px!important;padding:5px 3px!important;margin-bottom:6px!important;border-bottom-width:1px!important;gap:6px!important}
  body[data-theme] .shell .home-league-group>h2 .league-badge{width:17px!important;height:17px!important}
  body[data-theme] .shell .home-league-group>h2 small{font-size:9px!important}
}
/* The density control and PPP colours are shared by mobile and desktop. */
  body[data-theme] .shell .home-filter-result-summary{display:flex!important;align-items:center;gap:6px!important;min-width:0}
  body[data-theme] .shell .home-filter-result-summary>span{min-width:0;font-size:11px;flex:1}
  body[data-theme] .shell .fixture-density-switch{display:inline-flex;align-items:center;justify-content:flex-end;gap:5px;padding:4px 0 4px 5px;min-height:32px;flex:0 0 auto;border:0;background:transparent;color:var(--app-ink);font-size:10px;cursor:pointer}
  .density-switch-track{display:block;width:34px;height:20px;padding:2px;border-radius:20px;background:#8a9caf;transition:background .18s}
  .density-switch-track>span{display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .18s}
  [aria-checked="true"] .density-switch-track{background:#098bce}
  [aria-checked="true"] .density-switch-track>span{transform:translateX(14px)}
  body[data-theme] .shell .fixture-density-switch:focus-visible{outline:2px solid #168ddd;outline-offset:3px;border-radius:5px}
  body[data-theme] .shell .fixture-form{gap:2px!important}
  body[data-theme] .shell .fixture-ppp{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto;min-height:18px;margin:0;padding:0 4px;border-radius:4px;font-size:10px;font-weight:800;line-height:18px;white-space:nowrap}
  body[data-theme] .shell .fixture-ppp.ppp-high{background:#25bd85;color:#082e22!important}
  body[data-theme] .shell .fixture-ppp.ppp-mid{background:#e6a63c;color:#171107!important}
  body[data-theme] .shell .fixture-ppp.ppp-low{background:#c63f52;color:#fff!important}
  body[data-theme] .shell .fixture-ppp.ppp-empty{background:#64748b;color:#fff!important}
  .fixture-ppp abbr{font-size:7px;font-weight:600;text-decoration:none;opacity:.75}
  body[data-theme] .shell .home-fixtures-list.is-compact .home-league-group{margin-bottom:10px!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .matches-grid{gap:3px!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:4px!important;min-height:56px!important;border-radius:6px!important;box-shadow:none!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card-head{grid-column:1;grid-row:1;display:flex!important;align-items:center!important;justify-content:center!important;padding:4px!important;border:0!important;background:transparent!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-date{padding:0!important;min-width:0!important;width:auto!important;font-size:10px!important;border:0!important}
  body[data-theme] .shell .home-fixtures-list.is-compact :is(.match-card-head .league-name,.match-versus,.match-probability,.match-filter-result){display:none!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card-body{grid-column:2;grid-row:1;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:3px!important;padding:6px!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .team{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:5px!important;min-height:19px!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .team-identity{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;min-width:0;flex:1}
  body[data-theme] .shell .home-fixtures-list.is-compact .team-crest{width:17px!important;height:17px!important;min-width:17px!important;flex:0 0 17px!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .team-name{font-size:11px!important;line-height:16px!important;max-width:none!important;text-align:left!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-theme] .shell .home-fixtures-list.is-compact .fixture-form{display:none!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .fixture-ppp{min-height:16px;line-height:16px}
  body[data-theme] .shell .home-fixtures-list.is-compact .fixture-ppp abbr{display:none}
@media(max-width:760px){
  body[data-theme] .shell .fixture-detail .analysis-match-heading{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-align:center!important}
  body[data-theme] .shell .fixture-detail .analysis-match-heading>div:last-child{flex:none!important;width:100%;text-align:center!important}
  body[data-theme] .shell .fixture-detail .analysis-match-crests{display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;margin:0 auto!important;padding:6px!important;gap:12px!important}
  body[data-theme] .shell .fixture-detail .analysis-match-heading h2{font-size:21px!important;line-height:1.2!important;margin:4px 0!important;text-align:center!important}
  body[data-theme] .shell .fixture-detail .analysis-match-heading p{font-size:10px!important;line-height:1.4!important;margin:3px 0 0!important;text-align:center!important}
  body[data-theme] .shell .fixture-detail .team-dashboard-hero{gap:8px!important;padding-bottom:8px!important}
  body[data-theme] .shell .fixture-detail .team-crest-feature{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:2px 8px!important;min-height:0!important;height:auto!important;padding:8px!important;align-items:center!important;justify-content:start!important;text-align:left!important;border:0!important}
  body[data-theme] .shell .fixture-detail .team-crest-feature .team-feature-kicker{grid-column:2;grid-row:1;font-size:8px!important;line-height:10px!important;letter-spacing:.04em!important;margin:0!important;align-self:auto!important}
  body[data-theme] .shell .fixture-detail .team-crest-feature>.team-crest{grid-column:1;grid-row:1/span 3;width:38px!important;height:38px!important;min-width:38px!important;margin:0!important}
  body[data-theme] .shell .fixture-detail .team-crest-feature>strong{grid-column:2;grid-row:2;font-size:15px!important;line-height:18px!important;margin:0!important}
  body[data-theme] .shell .fixture-detail .team-crest-feature>small{grid-column:2;grid-row:3;font-size:9px!important;line-height:12px!important;margin:0!important}
  body[data-theme] .shell .fixture-detail .distribution-lines{gap:10px!important;margin-top:10px!important}
  body[data-theme] .shell .fixture-detail .distribution-lines>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 6px!important;align-items:center!important;min-width:0}
  body[data-theme] .shell .fixture-detail .distribution-lines>div>span{grid-column:1;grid-row:1;font-size:10px!important;white-space:normal!important}
  body[data-theme] .shell .fixture-detail .distribution-lines>div>strong{grid-column:2;grid-row:1;font-size:11px!important;white-space:nowrap}
  body[data-theme] .shell .fixture-detail .distribution-lines>div>strong small{font-size:8px!important}
  body[data-theme] .shell .fixture-detail .distribution-lines>div>i{grid-column:1/-1;grid-row:2;display:block!important;width:100%!important;min-width:0!important;height:5px!important;background:#d4deea!important}
  body[data-theme="dark"] .shell .fixture-detail .distribution-lines>div>i{background:#354b64!important}
  body[data-theme] .shell .fixture-detail .distribution-lines>div>i>b{height:100%!important;min-height:5px!important;background:var(--line-color)!important}
}
@media(max-width:359px){body[data-theme] .shell .fixture-form>span{width:12px!important;min-width:12px!important;font-size:8px!important}}
@media(min-width:761px){
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card-head{grid-column:1;grid-row:1;justify-content:flex-start!important;gap:8px!important;padding:5px 8px!important}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card-head .league-name{display:block!important;min-width:0;font-size:9px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-theme] .shell .home-fixtures-list.is-compact .match-card-body{grid-column:1;grid-row:2;padding:5px 8px!important}
}
.home-league-columns{display:block;width:100%;min-width:0}
body[data-theme] .shell .home-fixtures-list.is-compact .home-league-group .matches-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
body[data-theme] .shell .home-fixtures-list.is-compact .match-card{grid-template-columns:54px minmax(0,1fr)!important;gap:0!important;min-height:62px!important;border-radius:0!important;border-width:0 0 1px!important;align-items:stretch}
body[data-theme] .shell .home-fixtures-list.is-compact .match-card-head{grid-column:1!important;grid-row:1!important;justify-content:center!important;padding:6px!important}
body[data-theme] .shell .home-fixtures-list.is-compact .match-card-head .league-name{display:none!important}
body[data-theme] .shell .home-fixtures-list.is-compact .match-card-body{grid-column:2!important;grid-row:1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 60px!important;grid-template-rows:repeat(2,minmax(22px,auto));gap:2px 8px!important;padding:6px 10px!important}
body[data-theme] .shell .home-fixtures-list.is-compact .home-team{grid-column:1;grid-row:1}
body[data-theme] .shell .home-fixtures-list.is-compact .away-team{grid-column:1;grid-row:2}
body[data-theme] .shell .home-fixtures-list.is-compact .match-card .match-card-body .match-versus{display:grid!important;grid-column:2;grid-row:1/span 2;align-self:center;width:auto!important;min-width:0!important;height:auto!important;padding:4px!important;font-size:18px!important;font-weight:800!important;line-height:1.2!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body[data-theme] .shell .home-fixtures-list.is-compact .is-upcoming .match-versus{visibility:hidden}
body[data-theme] .shell .home-fixtures-list.is-compact .completed-match-label{display:none}
body[data-theme] .shell .home-fixtures-list.is-compact .team-identity{justify-content:flex-start!important}
@media(prefers-reduced-motion:reduce){.density-switch-track,.density-switch-track>span{transition:none}}

.poisson-preview {
  grid-column: 1 / -1;
  box-sizing: border-box;
  max-width: calc(100% - 32px);
  margin: 16px;
  padding: 16px;
  border: 1px solid #218269;
  border-radius: 8px;
  background: #fff;
  color: #142531;
  min-width: 0;
}
.poisson-preview header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.poisson-preview h3 { margin: 0; font-size: 17px; letter-spacing: 0; }
.poisson-preview header span { color: #805000; font-size: 12px; font-weight: 700; }
.poisson-expectations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 16px 0; }
.poisson-expectations div { min-width: 0; }
.poisson-expectations dt { font-size: 12px; overflow-wrap: anywhere; }
.poisson-expectations dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; color: #086348; }
.poisson-preview table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; }
.poisson-preview th, .poisson-preview td { padding: 9px 4px; border-bottom: 1px solid #dce5e0; text-align: right; overflow-wrap: anywhere; color: #142531; background: #fff; }
.poisson-preview th:first-child { text-align: left; }
.poisson-preview p { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #435464; }
.poisson-probability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; min-width: 0; margin-top: 18px; }
.poisson-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 10px 0; border-bottom: 1px solid #dce5e0; font-size: 13px; }
.poisson-row > * { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.poisson-row > :first-child { text-align: left; }
.poisson-column-head { font-size: 11px; color: #435464; }
.poisson-expected { display: block; font-size: 25px; color: #086348; margin-bottom: 14px; }
.poisson-expected small { display: block; font-size: 11px; font-weight: 400; color: #435464; }
.poisson-method { margin-top: 14px; font-size: 11px; color: #435464; }
body[data-theme] .shell .poisson-preview .poisson-expected { color: #087847 !important; font-size: 28px; }
.poisson-preview .poisson-probabilities { padding-top: 12px; border-top: 3px solid #16815c; }
.poisson-preview .poisson-row:nth-child(even) { background: #edf6f1; }
.poisson-preview .poisson-row { padding: 10px 6px; }
.poisson-suggestion { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 14px 0; margin-top: 16px; border-top: 1px solid #aacbbb; }
.poisson-suggestion > span, .poisson-suggestion > small { flex-basis: 100%; font-size: 11px; color: #435464; }
.poisson-suggestion > strong { font-size: 16px; }
.poisson-suggestion > b { color: #087847; }
.poisson-preview > header { display: block; }
.poisson-preview > header .poisson-suggestion { margin: 8px 0 0; padding: 8px 0; border: 0; }
.poisson-preview > header .poisson-suggestion > span { display: none; }
.poisson-preview > header .poisson-method { margin-top: 4px; }
body[data-theme] .shell .poisson-preview > header .poisson-suggestion { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 16px; margin: 14px 0; background: #e3f3eb; border-left: 4px solid #087847; }
body[data-theme] .shell .poisson-preview .poisson-suggestion > strong { font-size: 24px; line-height: 1.3; color: #142531; overflow-wrap: anywhere; }
body[data-theme] .shell .poisson-preview .poisson-suggestion > b { font-size: 24px; line-height: 1.3; color: #087847; }
@media (max-width: 700px) {
  body[data-theme] .shell .poisson-preview > header .poisson-suggestion { grid-template-columns: minmax(0,1fr); padding: 12px; }
  body[data-theme] .shell .poisson-preview .poisson-suggestion > strong,
  body[data-theme] .shell .poisson-preview .poisson-suggestion > b { font-size: 21px; }
}
.corner-chart-only { padding: 4px 20px 20px; min-width: 0; }
.corner-chart-only .corner-history-chart { margin-top: 8px; }
.completed-match-label { padding: 6px; text-align: center; color: #086348; font-size: 11px; font-weight: 700; }
.shell .match-card .match-versus { white-space: nowrap; min-width: 42px; width: auto; }
body[data-theme] .shell .home-fixtures-list:not(.is-compact) .match-card.is-completed .match-versus { font-size: 18px !important; font-weight: 800 !important; line-height: 1.2 !important; min-width: 58px !important; }
body[data-theme] .shell .home-fixtures-list:not(.is-compact) .match-card.is-completed .match-card-body { grid-template-columns: minmax(0,1fr) 58px minmax(0,1fr) !important; }
.completed-fixture-stats { margin: 16px 0; padding: 12px 0; border-block: 1px solid #dce5e0; }
.completed-stats-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(90px,1fr) minmax(0,1fr); text-align: center; gap: 10px; padding: 9px 0; }
.completed-stats-row > * { min-width: 0; overflow-wrap: anywhere; }
.completed-stats-row:nth-child(even) { background: #edf6f1; }
.home-filters-paywall { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-block: 1px solid #dce5e0; }
.home-filters-paywall > strong { font-size: 13px; }
.home-filters-paywall button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #087847; border-radius: 6px; background: #fff; color: #086348; cursor: pointer; font-weight: 700; }
.home-filters-paywall button svg { width: 16px; height: 16px; }
.daily-access-paywall { padding: 24px 0; border-top: 1px solid #dce5e0; }
.daily-access-paywall h2 { font-size: 21px; }
.daily-access-paywall p { line-height: 1.5; }
.analyze-button:disabled { cursor: not-allowed; opacity: .65; }
.trial-offer { display: block; margin: 12px 0 6px; color: #087847; font-size: 21px; font-weight: 800; }
.subscription-cancel { border-top: 1px solid #dce5e0; margin-top: 16px; padding-top: 12px; }
.subscription-cancel p { font-size: 13px; line-height: 1.5; }
.subscription-cancel button { min-height: 40px; }
body[data-theme] .shell .corner-chart-toggles label { display: inline-flex !important; flex-direction: row !important; align-items: center !important; gap: 7px; }
body[data-theme] .shell .corner-chart-toggles input { margin: 0; flex: 0 0 16px; }
.corner-history-chart { min-width: 0; width: 100%; margin-top: 20px; }
.corner-history-chart h4 { margin: 0 0 12px; }
.corner-chart-toggles { display: flex; flex-wrap: wrap; gap: 14px; }
.corner-chart-toggles label { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; cursor: pointer; }
.corner-chart-toggles input { width: 16px; height: 16px; }
.corner-history-chart svg { display: block; width: 100%; height: auto; aspect-ratio: 760 / 208; margin-top: 12px; }
.corner-history-chart .series-home { stroke: #17844c; accent-color: #17844c; }
.corner-history-chart .series-away { stroke: #1682cd; accent-color: #1682cd; }
.corner-history-chart .series-total { stroke: #a5680a; accent-color: #a5680a; }
.corner-history-chart .series-home circle { fill: #17844c; }
.corner-history-chart .series-away circle { fill: #1682cd; }
.corner-history-chart .series-total circle { fill: #a5680a; }
.corner-history-chart:has([data-corner-series="home"]:not(:checked)) .chart-series.series-home,
.corner-history-chart:has([data-corner-series="away"]:not(:checked)) .chart-series.series-away,
.corner-history-chart:has([data-corner-series="total"]:not(:checked)) .chart-series.series-total { display: none; }
.corner-history-chart > small { display: block; font-size: 11px; color: #435464; }
.shell .today-league-only .corner-filter-main { display: grid !important; grid-template-columns: minmax(0,320px) !important; }
.corner-results th > button[data-finder-sort] { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 100%; min-height: 38px; border: 0; border-radius: 0; padding: 3px; background: transparent; color: inherit; font: inherit; font-weight: 700; text-transform: inherit; white-space: normal; cursor: pointer; }
.corner-results th[aria-sort="ascending"], .corner-results th[aria-sort="descending"] { background: #dcefe7; color: #086348; }
.corner-results th > button[data-finder-sort]:focus-visible { outline: 2px solid #1682cd; outline-offset: 2px; }
.poisson-probabilities { min-width: 0; }
.account-name-button { cursor: pointer; font: inherit; text-align: left; }
.account-dropdown { position: fixed; z-index: 1000; width: 232px; max-width: calc(100vw - 16px); padding: 6px; border: 1px solid #ced9e4; border-radius: 8px; background: #fff; color: #152644; box-shadow: 0 6px 24px #142c5126; }
.account-dropdown[hidden] { display: none; }
.account-dropdown button { display: block; width: 100%; padding: 12px; border: 0; border-radius: 5px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.account-dropdown button:hover,.account-dropdown button:focus-visible { background: #edf5fa; }
.account-dropdown [data-account-cancel] { color: #b32c43; }
.account-dropdown button:disabled { color: #68768a; cursor: default; }
.account-dropdown small { display: block; padding: 8px 12px; line-height: 1.4; }
body[data-theme="dark"] .account-dropdown { background: #19222c; color: #edf4fa; border-color: #526373; }
.mobile-user-name.account-name-button { border: 0; background: transparent; color: inherit; padding: 0; }
.account-name-button:focus-visible { outline: 2px solid #098bce; outline-offset: 2px; }
body[data-theme] .shell .section-banner { border-radius: 8px; overflow: hidden; }
.poisson-probabilities h4 { margin: 0 0 8px; font-size: 14px; overflow-wrap: anywhere; }
.shell .corner-model-card { min-width: 0; max-width: 100%; }
.shell .corner-model-card > .card-model-match { grid-template-columns: minmax(0,130px) minmax(0,1fr); }
@media (max-width: 1200px) {
  .poisson-probability-grid { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 1025px) {
  body[data-theme] .shell .topbar { left: 0 !important; top: 0 !important; margin: 0 !important; border-radius: 0 !important; }
  body[data-theme] .shell .nav-primary { grid-template-rows: none !important; grid-auto-rows: 42px !important; align-content: start !important; gap: 0 !important; }
  body[data-theme] .shell .nav-primary .nav-button { max-height: 42px !important; }
  body[data-theme] .shell .nav-primary .sidebar-label { font-size: 11px !important; }
  body[data-theme] .shell .nav-primary .nav-button { align-self: stretch !important; margin: 0 !important; border-radius: 10px !important; }
}
@media (max-width: 480px) {
  .poisson-preview { margin: 10px; padding: 12px; max-width: calc(100% - 20px); }
  .shell .corner-model-card > .card-model-match { grid-template-columns: minmax(0,1fr); }
  .poisson-expectations { gap: 8px; }
  .poisson-expectations dd { font-size: 21px; }
}
