/* SureToBet 1.0.26: permanent near-black public theme. No theme switcher or user preference. */
html[data-stb-theme="dark"]{color-scheme:dark;--bm-green:#179561;--bm-dark:#123923;--bm-border:#292e34;--bm-bg:#0b0d0f;--bm-muted:#aeb6bb;--bm-text:#ecf0ed;--line:#293c3c;--muted:#aeb6bb;--text:#ecf0ed;background:#0b0d0f}
html[data-stb-theme="dark"] body.bm-public{background:#0b0d0f;color:#ecf0ed}
html[data-stb-theme="dark"] .bm-public .bm-topbar{background:#101b17;border-bottom-color:#185b3d}
html[data-stb-theme="dark"] .bm-public .bm-tool-rail{background:#111417;border-color:#292e33}
html[data-stb-theme="dark"] .bm-public .bm-navigation-rail{background:#14171b;border-color:#292e33}
html[data-stb-theme="dark"] .bm-public .bm-page-shell,
html[data-stb-theme="dark"] .bm-public .bm-workspace,
html[data-stb-theme="dark"] .bm-public .bm-main,
html[data-stb-theme="dark"] .bm-public .public-main{background:#0b0d0f;color:#e5efea}
html[data-stb-theme="dark"] .bm-public :is(.bm-side-title,.bm-side-panel h2,.bm-section-top h1,.bm-section-top h2,.bm-match-title strong,.bm-match-panel h2,.bm-home-card h3,.bm-no-data strong,.bm-dashboard-intro strong,.page-title,.ticket-head h3,.ticket-head h2,.ticket-leg-main strong,.bm-rail-help strong){color:#ecf0ed}
html[data-stb-theme="dark"] .bm-public :is(.bm-tool,.bm-side-item,.bm-side-more,.bm-fixture-market,.bm-fixture-time,.bm-match-meta,.bm-analysis-text,.bm-fixture-prob,.bm-home-card p,.bm-home-card a,.bm-form-list,.description,.field-caption,.bm-side-panel small){color:#b7c1c2}
html[data-stb-theme="dark"] .bm-public :is(.bm-tool:hover,.bm-tool.active,.bm-side-item:hover,.bm-side-item.selected){background:#173427;color:#e6f5ed}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixtures,.bm-fixture-header,.bm-fixture,.bm-match-head,.bm-match-panel,.bm-no-data,.bm-filter-bar,.bm-home-card,.bm-date-strip a,.bm-market-strip a,.bm-dashboard-intro,.bm-side-panel,.bm-rail-search,.bm-rail-search input,.bm-fixture-group-head,.bm-rail-help,.panel,.ticket-panel,.ticket-head,.ticket-leg,.ticket-card,.daily-spotlight,.daily-spotlight-head,.daily-spotlight-leg,.daily-spotlight-foot,.daily-spotlight-labels,.home-featured-section,.home-ticket,.home-auto-row,.home-leg,.stb-date-nav,.stb-blog-teasers article,.bet-slip-summary,.league-public-row,.league-public,.info-strip,.responsible,.bm-chip.neutral){background:#171a1e;color:#e8edf0;border-color:#2e333a;box-shadow:none}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-header,.bm-fixture-group-head,.daily-spotlight-labels,.bm-chip.neutral){background:#22262b;color:#a8c6b8}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture:hover,.bm-home-card:hover){background:#20252a}
html[data-stb-theme="dark"] .bm-public :is(.bm-filter-bar input,.bm-filter-bar select,.bm-rail-search input,.stb-date-nav input,.stb-date-nav select,.bm-public select,.bm-public textarea,.bm-public input[type=text],.bm-public input[type=date],.bm-public input[type=search]){background:#101316;color:#ecf0ed;border-color:#3b4348}
html[data-stb-theme="dark"] .bm-public input::placeholder{color:#8ca79b}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-teams>a,.bm-fixture-market strong,.bm-match-pick-name strong,.bm-home-card h3,.bm-match-title strong,.daily-spotlight-leg strong,.daily-spotlight-head h2,.ticket-leg-main strong,.ticket-leg-market strong,.stb-blog-teasers article a){color:#e1f1e6}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-odds span,.bm-chip,.bm-fixture-market strong,.bm-fixture-odds,.daily-spotlight-score strong){color:#75dda2}
html[data-stb-theme="dark"] .bm-public .bm-fixture-odds span{background:#163b2b;border-color:#247e52}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-teams small,.bm-match-pick-name small,.bm-fixture-market span,.bm-home-card p,.bm-footer,.bm-rail-help span,.bm-match-meta,.daily-spotlight-head p,.daily-spotlight-score small,.ticket-footnote,.bm-match-pick-bookmaker){color:#aab3b7}
html[data-stb-theme="dark"] .bm-public :is(.bm-match-panel,.bm-fixtures,.bm-match-head,.bm-home-card,.daily-spotlight,.ticket-panel){border:1px solid #2e333a}
html[data-stb-theme="dark"] .bm-public :is(.bm-form-list>div,.bm-fixture,.bm-analysis-text,.daily-spotlight-leg,.ticket-leg){border-color:#2a3036!important}
html[data-stb-theme="dark"] .bm-public :is(.status.pending,.bm-form-spot.d){background:#3a3d29;color:#e6d5a4}
html[data-stb-theme="dark"] .bm-public .status.won{background:#194833;color:#95e3b6}
html[data-stb-theme="dark"] .bm-public .status.lost{background:#493034;color:#ffb0b0}
html[data-stb-theme="dark"] .bm-public .bm-footer{border-color:#2b3137}
html[data-stb-theme="dark"] .bm-public .bm-topbar a{color:#f3f8f4}
html[data-stb-theme="dark"] .bm-public .bm-mobile-menu nav{background:#151a1e;border-color:#30373c}
html[data-stb-theme="dark"] .bm-public .bm-mobile-menu nav a{color:#e0f2e9}
html[data-stb-theme="dark"] .bm-public .bm-account .stb-account-chip{background:#172b21;border-color:#2e6147}
html[data-stb-theme="dark"] .bm-public .bm-advanced-info{background:#171b20;color:#b8d0c3;border-color:#33463d}
html[data-stb-theme="dark"] .bm-public .bm-match-panel :is(.bm-form-list strong,.bm-details-grid strong){color:#dbeee4}
/* Match admin and factual fixture information also work in dark mode. */
html[data-stb-theme="dark"] .bm-public :is(.bm-match-actions,.bm-details-grid){border-color:#30373c;background:#171a1e;color:#ecf0ed}
html[data-stb-theme="dark"] .bm-public .bm-match-actions a{color:#75dda2}
html[data-stb-theme="dark"] .bm-public .bm-details-grid dt{color:#9ab1a8}

html[data-stb-theme="dark"] .bm-public .bm-footer{background:#111417!important;color:#acc5b7!important;border-top-color:#345149!important}
html[data-stb-theme="dark"] .bm-public :is(.bm-dashboard-intro p,.bm-home-card p,.bm-kicker){color:#acc8ba!important}
html[data-stb-theme="dark"] .bm-public .bm-dashboard-intro a{color:#75dda2}

/* Article, comments and ticket views use the same dark surfaces as match pages. */
html[data-stb-theme="dark"] .bm-public :is(.editorial-card,.editorial-card-body,.editorial-intro,.article-body,.article-head,.discussion,.discussion-comment,.comment-form,.ticket-view-head,.ticket-note,.match-table,.match-entry,.match-table-head,.blog-feed,.blog-post,.soft-panel,.aside-panel,.ticket-grid .ticket-card,.stb-bet-analysis,.stb-analysis-copy,.editorial-topics a,.home-ticket-summary,.home-code,.home-code-inline,.home-leg-head,.home-leg,.ticket-details,.ticket-actions){background:#171a1e!important;border-color:#30363d!important;color:#e2e8e9!important}
html[data-stb-theme="dark"] .bm-public :is(.editorial-card h3,.editorial-card h3 a,.article-head h1,.article-body,.blog-post h3,.ticket-view-head h1,.section-heading h2,.discussion-heading h2,.stb-bet-analysis h2,.ticket-code-block strong,.match-entry strong,.match-table .teams-cell strong,.stb-modern-discussion .discussion-main p){color:#ebeff0!important}
html[data-stb-theme="dark"] .bm-public :is(.editorial-card p,.article-standfirst,.article-byline,.editorial-card-meta,.discussion-heading p,.discussion-comment time,.ticket-note,.ticket-view-head p,.tip-cell,.match-table .meta-cell small,.ticket-details,.ticket-actions,.stb-analysis-copy){color:#b0b7b8!important}
html[data-stb-theme="dark"] .bm-public :is(.discussion input,.discussion textarea,.comment-form textarea,.comment-form input){background:#101316;color:#ecf5f0;border-color:#46655b}
html[data-stb-theme="dark"] .bm-public :is(.status,.bm-chip){border-color:#315848}

/* v1.0.26 — BetMines-inspired charcoal/black hierarchy, SureToBet branding. */
html[data-stb-theme="dark"]{--bm-green:#18a467;--bm-dark:#101b17;--bm-border:#2b3036;--bm-bg:#0b0d0f;--bm-muted:#a3adb4;--bm-text:#e8edf0;--line:#2e3439;--muted:#aab3b9;--text:#ecf0f2;background:#0b0d0f;color-scheme:dark}
html[data-stb-theme="dark"] .bm-public .bm-topbar{background:#111715;border-bottom:2px solid #178653}
html[data-stb-theme="dark"] .bm-public .bm-tool-rail{background:#101316;border-color:#262b31}
html[data-stb-theme="dark"] .bm-public .bm-navigation-rail{background:#15181c;border-color:#292e33}
html[data-stb-theme="dark"] .bm-public .bm-main,html[data-stb-theme="dark"] .bm-public .public-main{background:#0b0d0f}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixtures,.bm-filter-bar,.bm-home-card,.bm-match-head,.bm-match-panel,.bm-no-data,.daily-spotlight,.ticket-panel,.ticket-card,.panel,.editorial-card,.discussion,.article-body){background:#171a1e;border-color:#30353c;color:#ebf0f2;box-shadow:none}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-group-head,.bm-fixture-header,.daily-spotlight-labels,.match-table-head){background:#24282d;color:#b3bec3;border-color:#353b42}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture:hover,.bm-home-card:hover){background:#21262b}
html[data-stb-theme="dark"] .bm-public .bm-side-item.selected,html[data-stb-theme="dark"] .bm-public .bm-tool.active{background:#193326;color:#88e2b0;border-left:2px solid #25b877}
html[data-stb-theme="dark"] .bm-public :is(.bm-market-strip a,.bm-date-strip a){background:#1b1e23;border-color:#343a41;color:#d4dde1}
html[data-stb-theme="dark"] .bm-public :is(.bm-market-strip a.current,.bm-date-strip a.current){background:#176b46;border-color:#27945e;color:#f3fbf6}
html[data-stb-theme="dark"] .bm-public :is(.bm-chip,.bm-fixture-odds span){background:#163527;border:1px solid #2c6c4e;color:#86e2ad}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-teams>a,.bm-match-title strong,.ticket-head strong,.daily-spotlight h2,.article-head h1,.bm-section-top h1){color:#f1f4f5}
html[data-stb-theme="dark"] .bm-public :is(.bm-fixture-market strong,.bm-match-pick-name strong,.daily-spotlight-score strong,.bm-home-card a,.bm-side-more){color:#7ce0a8}
html[data-stb-theme="dark"] .bm-public :is(.bm-filter-bar input,.bm-filter-bar select,.bm-rail-search input,.bm-public input,.bm-public textarea,.bm-public select){background:#101418;color:#e7edf0;border-color:#3c444b}
html[data-stb-theme="dark"] .bm-public :is(.bm-filter-bar input,.bm-filter-bar select,.bm-public input,.bm-public textarea,.bm-public select):focus-visible{outline:2px solid #349d69;outline-offset:1px}
html[data-stb-theme="dark"] .bm-public .bm-footer{background:#101316!important;border-color:#2b3238!important;color:#9da9ae!important}
html[data-stb-theme="dark"] .bm-public .bm-mobile-menu nav{background:#171b1f;border-color:#383f44}
html[data-stb-theme="dark"] .bm-public .bm-account .stb-account-chip{background:#1b2922;border-color:#355743;color:#ebf2ed}
html[data-stb-theme="dark"] .bm-public a:not(.bm-tool):focus-visible{outline:2px solid #67cf98;outline-offset:2px}
html[data-stb-theme="dark"] .bm-public :is(.status.pending,.bm-form-spot.d){background:#403b2d;color:#f2d8a4}
html[data-stb-theme="dark"] .bm-public :is(.status.won,.bm-form-spot.w){background:#183c2b;color:#87e4ac}
html[data-stb-theme="dark"] .bm-public :is(.status.lost,.bm-form-spot.l){background:#44272b;color:#f5a2a8}
/* Ensure legacy components used inside modern public views never expose white card surfaces. */
html[data-stb-theme="dark"] .bm-public :is(.section-header,.section-heading,.page-head,.ticket-grid,.ticket-view,.results-grid,.pred-table,.data-shell,.page-grid,.ticket-code-block,.home-copy-btn,.home-ticket-summary,.home-leg,.stb-modern-discussion,.discussion-card,.comment-card,.editorial-card-body){color:#e7ebee;border-color:#30363d}
html[data-stb-theme="dark"] .bm-public :is(.home-code,.home-code-inline,.ticket-code-block,.discussion-card,.comment-card,.ticket-grid .ticket-card){background:#171a1e;color:#e7ebee}
html[data-stb-theme="dark"] .bm-public :is(.ticket-code-block code,.home-code code,.home-code-inline code){color:#8ce2af}
@media(max-width:720px){html[data-stb-theme="dark"] .bm-public .bm-topbar{border-bottom-width:1px}}
