/* SureToBet v1.0.76 — restrained black UI, precise link feedback, ticket redesign. */
html[data-stb-theme="dark"] body.bm-public :is(.bm-section-top--landing,.bm-match-head,.info-strip){
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  box-shadow:none!important;
}
html[data-stb-theme="dark"] body.bm-public .info-strip{
  border:0!important;outline:0!important;box-shadow:none!important;
  padding:12px 0!important;border-radius:0!important;
  color:#a4abb3!important;
}
html[data-stb-theme="dark"] body.bm-public .bm-section-top--landing::before,
html[data-stb-theme="dark"] body.bm-public .bm-section-top--landing::after{background:none!important;box-shadow:none!important;}
/* Only text should highlight on touch. Block navigation continues to use its visible button backgrounds. */
html[data-stb-theme="dark"] body.bm-public a{-webkit-tap-highlight-color:transparent;}
html[data-stb-theme="dark"] body.bm-public :is(
  .bm-fixture-teams>a,.bm-fixture-market-link,.ticket-fixture-link,.ticket-pick-link,
  .home-auto-match-link,.bm-bread a,.bm-match-panel .bm-side-more,
  .home-ticket-foot>a,.daily-spotlight-foot a,.back-link a,
  .bm-home-card h3 a,.editorial-card h3 a,.article-head a,.blog-post h3 a
){
  display:inline!important;
  width:auto!important;max-width:100%!important;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;
  overflow-wrap:anywhere;
}
html[data-stb-theme="dark"] body.bm-public a:focus-visible{
  outline:2px solid #bcd5fd!important;outline-offset:2px;
}
/* Header management controls remain separate, black and slightly rounded. */
html[data-stb-theme="dark"] body.bm-public .bm-match-actions{
  background:transparent!important;gap:9px!important;padding:16px 0 0!important;
}
html[data-stb-theme="dark"] body.bm-public .bm-match-actions :is(a,.bm-match-manage-delete){
  box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;
  gap:7px;padding:9px 12px!important;min-height:38px;
  background:#000!important;border:1px solid #3b4046!important;
  border-radius:7px!important;color:#e7eaee!important;
  font-size:12px;line-height:1.3;text-decoration:none;white-space:normal;
  cursor:pointer;box-shadow:none!important;
}
html[data-stb-theme="dark"] body.bm-public .bm-match-actions :is(a,.bm-match-manage-delete):hover{
  background:#090c10!important;border-color:#6d7e8e!important;
}
html[data-stb-theme="dark"] body.bm-public .bm-match-actions .bm-match-manage-delete{
  color:#de777f!important;border-color:#65343a!important;
}
@media(max-width:600px){
 html[data-stb-theme="dark"] body.bm-public .bm-match-actions{gap:7px!important;}
 html[data-stb-theme="dark"] body.bm-public .bm-match-actions :is(a,.bm-match-manage-delete){
   padding:8px 10px!important;font-size:11px;min-height:36px;
 }
}
/* Ticket overview: clean black hero and code with comfortably separated info. */
html[data-stb-theme="dark"] body.bm-public .ticket-view .stb-ticket-hero{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(200px,270px);
  align-items:start;gap:26px;padding:26px 0 28px!important;
  border-top:1px solid #30353c!important;border-bottom:1px solid #30353c!important;
  border-left:0!important;border-right:0!important;border-radius:0!important;
  background:transparent!important;
}
html[data-stb-theme="dark"] body.bm-public .ticket-view .stb-ticket-hero h1{
  margin:10px 0 10px!important;font-size:clamp(23px,3vw,35px);
  line-height:1.2;overflow-wrap:anywhere;letter-spacing:-.025em;
}
html[data-stb-theme="dark"] body.bm-public .ticket-view .stb-ticket-hero p{
  margin:6px 0!important;line-height:1.7;color:#aeb5bc!important;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;
  margin:25px 0 0;max-width:650px;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary>div{
  background:#060708;border:1px solid #2b3036;border-radius:8px;
  padding:12px;display:flex;flex-direction:column;gap:6px;min-width:0;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary small{
  color:#aab3bd;font-size:11px;line-height:1.4;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary strong{
  font-size:23px;line-height:1.15;color:#f3f5f7;overflow-wrap:anywhere;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary strong.stb-ticket-status{font-size:15px;margin-top:4px;}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary .won{color:#6dc9a1!important;}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary .lost{color:#df8589!important;}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-code{
  background:#08090a;border:1px solid #333a42;border-radius:8px;
  padding:18px;min-width:0;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-code small{
  display:block;font-size:10px;font-weight:750;color:#aab2bb;letter-spacing:.11em;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-code>strong{
  display:block;color:#c7dafa;font-size:26px;letter-spacing:.035em;
  margin:14px 0;overflow-wrap:anywhere;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-code>strong.stb-code-empty{
  font-size:16px;letter-spacing:0;color:#c3c8ce;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-code .copy-code{
  display:block;max-width:100%;background:#f1f2f4!important;color:#111!important;
  padding:10px 14px;border-radius:6px!important;border:1px solid #eee!important;
  font-weight:750;cursor:pointer;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-code p{font-size:11px;line-height:1.65;margin-top:12px!important;}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-progress{
  display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;
  border-bottom:1px solid #262b30;padding:12px 0 14px;font-size:12px;color:#abb3bc;
}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-progress span{display:inline-flex;gap:5px;}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-progress b{color:#f2f3f5;}
html[data-stb-theme="dark"] body.bm-public .stb-ticket-progress a{
  margin-left:auto;color:#bcd5f9;text-decoration:none;
}
html[data-stb-theme="dark"] body.bm-public .ticket-view .ticket-detail-list{margin:28px 0 40px;}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .match-table{
  background:#000!important;border:0!important;display:block!important;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .match-table-head{
  background:#08090a!important;border:1px solid #292f34;border-radius:7px;
  padding:12px 14px;margin:0 0 10px;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row{
  background:#060708!important;border:1px solid #282e34!important;
  border-radius:8px!important;margin:0 0 10px;padding:17px 15px;
  align-items:center;gap:12px;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .meta-cell small{
  color:#9da8b3;line-height:1.5;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .teams-cell{
  min-width:0;overflow-wrap:anywhere;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .teams-cell strong{
  font-size:14px;line-height:1.5;color:#f3f4f6;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .tip-cell{
  color:#c4d9f9!important;line-height:1.5;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .odds-cell{
  font-size:17px;font-weight:750;color:#e9edf2!important;
  font-variant-numeric:tabular-nums;
}
html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .stb-ticket-cell-label{
  display:none;color:#89949f;font-size:10px;letter-spacing:.08em;font-weight:700;
}
@media(max-width:760px){
 html[data-stb-theme="dark"] body.bm-public .ticket-view .stb-ticket-hero{grid-template-columns:1fr;gap:18px;padding:20px 0!important;}
 html[data-stb-theme="dark"] body.bm-public .stb-ticket-code{padding:16px;}
 html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary{gap:8px;margin-top:16px;}
 html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary>div{padding:10px;}
 html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary strong{font-size:20px;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .match-table-head{display:none!important;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row{
   display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-areas:"meta meta" "teams teams" "tip odds" "result result"!important;
   gap:10px 16px!important;padding:15px!important;
 }
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row :is(.meta-cell,.teams-cell,.tip-cell,.odds-cell,.result-cell){
   grid-column:auto!important;grid-row:auto!important;min-width:0;
 }
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .meta-cell{grid-area:meta!important;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .teams-cell{grid-area:teams!important;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .tip-cell{grid-area:tip!important;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .odds-cell{grid-area:odds!important;text-align:right!important;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .ticket-leg-row .result-cell{grid-area:result!important;}
 html[data-stb-theme="dark"] body.bm-public .ticket-detail-list .stb-ticket-cell-label{
   display:block;margin:0 0 4px;
 }
 html[data-stb-theme="dark"] body.bm-public .stb-ticket-progress a{margin-left:0;}
}
@media(max-width:360px){html[data-stb-theme="dark"] body.bm-public .stb-ticket-summary{grid-template-columns:1fr 1fr;}}
