/* Bet Scanner v4: one-screen overview, meaningful disclosures and native navigation.
 * Respect whichever NFL/NBA palette is currently selected. */
body.dchan-v4-active[data-team-theme]{
 --v4-panel:var(--team-panel-deep,#0b192c);
 --v4-card:var(--team-card-dark,#111e30);
 --v4-line:color-mix(in srgb,var(--team-border-light,#436180) 45%,transparent);
 --v4-text:var(--team-fg,#eef7ff);
 --v4-muted:var(--team-muted,#9fb4cf);
 --v4-accent:var(--team-accent-light,#7fc7ff);
}
body.dchan-v4-active[data-team-theme] .wrap{
 padding-top:4px!important
}
body.dchan-v4-active[data-team-theme] .dchan-pro-header{
 height:auto!important;min-height:0!important;padding:3px 0 5px!important;
 margin:0 0 4px!important
}
body.dchan-v4-active[data-team-theme] .dchan-pro-brand .mark{
 width:39px!important;min-width:39px!important;flex:0 0 39px!important;
 height:39px!important;border-radius:12px!important
}
body.dchan-v4-active[data-team-theme] .dchan-pro-eyebrow{
 display:none!important
}
body.dchan-v4-active[data-team-theme] .system-brand-title .dchan-title-line{
 font-size:19px!important;line-height:1!important
}
body.dchan-v4-active[data-team-theme] .system-brand-title .dchan-title-secondary{
 font-size:10px!important;letter-spacing:.09em!important
}
body.dchan-v4-active[data-team-theme] .dchan-brand-disclosure{
 margin:0 0 5px!important;line-height:1!important
}
body.dchan-v4-active[data-team-theme] .dchan-brand-disclosure summary{
 min-height:24px!important;font-size:9px!important;padding:2px 4px!important
}
body.dchan-v4-active[data-team-theme] #dchan-account-bar{
 margin:0 0 5px!important;padding:6px 9px!important;
 min-height:0!important;gap:6px!important;border-radius:11px!important
}
body.dchan-v4-active[data-team-theme] #dchan-profile-photo-wrap{
 transform:scale(.88);transform-origin:center!important
}
body.dchan-v4-active[data-team-theme] #dchan-account-email{
 font-size:11px!important
}
body.dchan-v4-active[data-team-theme] #dchan-profile-social-counts,
body.dchan-v4-active[data-team-theme] #dchan-account-sync{
 font-size:9px!important
}
/* Keep the market-comparison deep link, but remove the extra promo-card feel. */
body.dchan-v4-active[data-team-theme] .dchan-workspace-switch{
 min-height:0!important;padding:4px 8px!important;margin:0 0 5px!important;
 border-radius:9px!important;box-shadow:none!important;
 background:var(--v4-card)!important
}
body.dchan-v4-active[data-team-theme] .dchan-workspace-switch__copy{
 gap:0!important
}
body.dchan-v4-active[data-team-theme] .dchan-workspace-switch__copy b{
 font-size:10px!important
}
body.dchan-v4-active[data-team-theme] .dchan-workspace-switch__copy small{
 font-size:9px!important
}
body.dchan-v4-active[data-team-theme] .dchan-workspace-switch__link{
 min-height:27px!important;padding:4px 8px!important;font-size:10px!important
}
body.dchan-v4-active[data-team-theme] #research-shortcuts.dchan-pro-main-nav{
 margin:0 0 5px!important;padding:3px!important;gap:2px!important;
 border-radius:11px!important
}
body.dchan-v4-active[data-team-theme] #research-shortcuts.dchan-pro-main-nav button{
 min-height:43px!important;height:auto!important;font-size:9px!important;
 padding:4px 1px!important;gap:2px!important;border-radius:8px!important
}
body.dchan-v4-active[data-team-theme] #research-shortcuts .dchan-nav-icon{
 width:19px!important;height:19px!important;min-height:19px!important
}
/* Two stacked sport/team bars become succinct selectors, while both working
 * sport and theme dropdown buttons are kept intact. */
body.dchan-v4-active[data-team-theme] #dchan-sport-bar{
 min-height:39px!important;padding:5px 8px!important;margin:0 0 4px!important;
 border-radius:10px!important
}
body.dchan-v4-active[data-team-theme] #dchan-sport-bar .dchan-sport-copy b{
 font-size:12px!important
}
body.dchan-v4-active[data-team-theme] #dchan-sport-bar .dchan-sport-copy small{
 display:none!important
}
body.dchan-v4-active[data-team-theme] #dchan-official-league-mark{
 padding:2px 4px!important;font-size:10px!important;border:0!important
}
body.dchan-v4-active[data-team-theme] .theme-bar,
body.dchan-v4-active[data-team-theme] .theme-bar-controls{
 margin-top:0!important;margin-bottom:5px!important
}
body.dchan-v4-active[data-team-theme] #theme-manager-open{
 min-height:37px!important;padding:5px 8px!important
}
/* The main navigation already provides Home; do not add Home to every panel. */
body.dchan-v4-active[data-team-theme] .focus-home-button{
 display:none!important
}
body.dchan-v4-active[data-team-theme] #scanner-hero{
 display:none!important
}
body.dchan-v4-active[data-team-theme] #live-score-panel{
 margin-bottom:7px!important;padding:10px!important
}
body.dchan-v4-active[data-team-theme] #scan-panel{
 margin:0 0 8px!important;padding:10px!important
}
body.dchan-v4-active[data-team-theme] #scan-panel .toolrow{
 display:flex!important;flex-wrap:wrap!important;gap:5px!important
}
body.dchan-v4-active[data-team-theme] #scan-panel .toolrow .muted{
 font-size:10px!important
}
/* Secondary workflows are still here and still functional, just not expanded
 * by default between the scores and the game slate. */
body.dchan-v4-active[data-team-theme] .dchan-v4-fold{
 display:block;margin:0 0 8px;padding:0!important;
 border:1px solid var(--v4-line)!important;border-radius:12px;
 background:var(--v4-panel);box-shadow:none!important;overflow:clip
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold-heading{
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 margin:0!important;padding:10px 12px!important;
 min-height:49px;list-style:none!important;cursor:pointer;
 color:var(--v4-text);background:var(--v4-card)
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold-heading::-webkit-details-marker{
 display:none
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold-copy{
 display:grid;min-width:0;gap:3px
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold-copy strong{
 font-size:13px;line-height:1.25;letter-spacing:-.01em
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold-copy small{
 font-size:10px;line-height:1.3;color:var(--v4-muted)
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold-chevron{
 font-size:17px;color:var(--v4-accent);transition:transform .16s
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold[open]>.dchan-v4-fold-heading .dchan-v4-fold-chevron{
 transform:rotate(180deg)
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold>:not(summary){
 width:calc(100% - 12px)!important;margin:6px!important
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold .score-history-stack{
 width:calc(100% - 12px)!important;margin:6px!important
}
/* Full bet-slip mode owns the screen: collapse-only containers must not
   leave empty summaries behind when their original panels are hidden. */
body.dchan-v4-active[data-team-theme]:has(#probability-lab:not([hidden])) .dchan-v4-fold{
 display:none!important
}
body.dchan-v4-active[data-team-theme].section-focus-active .dchan-v4-fold:not(:has(.section-focused)){
 display:none!important
}
body.dchan-v4-active[data-team-theme].section-focus-active .dchan-v4-fold:has(.section-focused){
 display:block!important
}
body.dchan-v4-active[data-team-theme] .dchan-v4-fold>.panel{
 padding:9px!important;background:var(--v4-card)!important
}
body.dchan-v4-active[data-team-theme] .live-score-meta{
 margin:3px 0 7px!important
}
@media(max-width:430px){
 body.dchan-v4-active[data-team-theme] .wrap{
  padding-inline:8px!important
 }
 body.dchan-v4-active[data-team-theme] .dchan-pro-header{
  padding:2px 0 4px!important
 }
 body.dchan-v4-active[data-team-theme] .dchan-workspace-switch{
  padding:4px 6px!important
 }
 body.dchan-v4-active[data-team-theme] .dchan-v4-fold-heading{
  padding:9px 10px!important
 }
}
@media(prefers-reduced-motion:reduce){
 body.dchan-v4-active[data-team-theme] .dchan-v4-fold-chevron{
  transition:none!important
 }
}