/* SCOREBOOK_LIVESCORE_MOBILE_RESPONSIVE_INTEGRATED_CSS_V16_4_6 */
:root{
  --sb-v1646-safe-top:env(safe-area-inset-top,0px);
  --sb-v1646-safe-right:env(safe-area-inset-right,0px);
  --sb-v1646-safe-bottom:env(safe-area-inset-bottom,0px);
  --sb-v1646-safe-left:env(safe-area-inset-left,0px);
  --sb-v1646-touch:44px;
}
html.scorebook-livescore-mobile-embed-v1646,
html.scorebook-livescore-mobile-embed-v1646 body,
html.sb-v1646-mobile,
html.sb-v1646-mobile body{
  width:100%!important;max-width:100%!important;min-width:0!important;
  overflow-x:hidden!important;-webkit-text-size-adjust:100%;text-size-adjust:100%;
  overscroll-behavior-x:none;background:#eef4f7!important;
}
html.sb-v1646-mobile *,html.sb-v1646-tablet *{box-sizing:border-box}
html.sb-v1646-mobile button,html.sb-v1646-mobile [role="button"],
html.sb-v1646-mobile input,html.sb-v1646-mobile select{touch-action:manipulation}
html.sb-v1646-mobile input,html.sb-v1646-mobile select,html.sb-v1646-mobile textarea{font-size:16px!important}

/* Parent live-score shell: remove fixed desktop width on tablet/mobile. */
@media(max-width:1024px){
  html.sb-livescore-wide-v1645,html.sb-livescore-wide-v1645 body,
  html.sb-livescore-tablet-v1646,html.sb-livescore-tablet-v1646 body,
  html.sb-livescore-mobile-v1646,html.sb-livescore-mobile-v1646 body{
    width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important
  }
  html.sb-livescore-wide-v1645 .classic-portal-layout,
  html.sb-livescore-wide-v1645 #container:not(.classic-center-stage),
  html.sb-livescore-tablet-v1646 .classic-portal-layout,
  html.sb-livescore-tablet-v1646 #container:not(.classic-center-stage),
  html.sb-livescore-mobile-v1646 .classic-portal-layout,
  html.sb-livescore-mobile-v1646 #container:not(.classic-center-stage){
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important
  }
  html.sb-livescore-wide-v1645 .classic-left-rail,
  html.sb-livescore-wide-v1645 .classic-right-rail,
  html.sb-livescore-wide-v1645 .scorebook-right-rail,
  html.sb-livescore-wide-v1645 [data-scorebook-right-rail],
  html.sb-livescore-wide-v1645 [data-portal-right-rail],
  html.sb-livescore-wide-v1645 #aside,
  html.sb-livescore-tablet-v1646 .classic-left-rail,
  html.sb-livescore-tablet-v1646 .classic-right-rail,
  html.sb-livescore-tablet-v1646 #aside,
  html.sb-livescore-mobile-v1646 .classic-left-rail,
  html.sb-livescore-mobile-v1646 .classic-right-rail,
  html.sb-livescore-mobile-v1646 #aside{display:none!important}
  html.sb-livescore-wide-v1645 .classic-center-stage,
  html.sb-livescore-wide-v1645 #frame,
  html.sb-livescore-tablet-v1646 .classic-center-stage,
  html.sb-livescore-tablet-v1646 #frame,
  html.sb-livescore-mobile-v1646 .classic-center-stage,
  html.sb-livescore-mobile-v1646 #frame{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important
  }
  html.sb-livescore-wide-v1645 #scorebook-content-frame,
  html.sb-livescore-wide-v1645 .scorebook-content-frame,
  html.sb-livescore-wide-v1645 #content,
  html.sb-livescore-wide-v1645 #frame iframe,
  html.sb-livescore-tablet-v1646 #scorebook-content-frame,
  html.sb-livescore-tablet-v1646 .scorebook-content-frame,
  html.sb-livescore-tablet-v1646 #content,
  html.sb-livescore-mobile-v1646 #scorebook-content-frame,
  html.sb-livescore-mobile-v1646 .scorebook-content-frame,
  html.sb-livescore-mobile-v1646 #content{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;border:0!important
  }
}

/* Keep sport and status controls usable without shrinking labels. */
@media(max-width:1024px){
  [data-live-sports],[data-sport-list],.sb-live-sports,.scorebook-live-sports,.live-sport-tabs,
  .sb-live-filter-sports,[data-live-status-tabs],.sb-live-status-tabs,.live-status-tabs,
  .sb-v1644-inline-detail .sb-v163-sport-tabs{
    display:flex!important;flex-wrap:nowrap!important;max-width:100%!important;
    overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x proximity
  }
  [data-live-sports]::-webkit-scrollbar,[data-sport-list]::-webkit-scrollbar,
  .sb-live-sports::-webkit-scrollbar,.scorebook-live-sports::-webkit-scrollbar,
  .live-sport-tabs::-webkit-scrollbar,.sb-live-status-tabs::-webkit-scrollbar,
  .sb-v1644-inline-detail .sb-v163-sport-tabs::-webkit-scrollbar{display:none}
  [data-live-sports]>* ,[data-sport-list]>* ,.sb-live-sports>* ,.scorebook-live-sports>*,
  .live-sport-tabs>* ,[data-live-status-tabs]>* ,.sb-live-status-tabs>*,
  .sb-v1644-inline-detail .sb-v163-sport-tabs>*{flex:0 0 auto!important;scroll-snap-align:start}
}

/* Tablet layout */
@media(max-width:1024px){
  .sb-v1644-root{gap:10px!important;width:100%!important;min-width:0!important;padding:0 8px 12px!important}
  .sb-v1644-league-trigger{min-height:54px!important;padding:8px 10px!important}
  .sb-v1644-league-trigger>div:first-child small{display:none!important}
  .sb-v1644-inline-detail .sb-v1643-live-overview{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr)!important}
  .sb-v1644-inline-detail .sb-v1643-event-board{grid-column:1/-1!important}
  .sb-v1644-match-row{padding-left:9px!important;padding-right:9px!important}
  .sb-v1644-league-buckets,.sb-v1644-league-buckets.is-all{grid-template-columns:1fr 1fr!important}
}

/* Phone layout */
@media(max-width:768px){
  body{margin:0!important;padding:0 0 calc(10px + var(--sb-v1646-safe-bottom))!important}
  .sb-v1644-root{gap:8px!important;padding:0 5px 12px!important}

  /* League selector becomes a full-height sheet. */
  .sb-v1644-league-trigger{min-height:52px!important;padding:7px 8px!important;border-radius:8px!important}
  .sb-v1644-league-trigger>div:first-child{min-width:0!important}
  .sb-v1644-league-trigger>div:first-child>span{flex:0 0 34px!important}
  .sb-v1644-league-trigger>div:first-child b{font-size:13px!important;white-space:nowrap}
  .sb-v1644-league-trigger>div:last-child{margin-left:auto!important}
  .sb-v1644-league-trigger button{min-height:var(--sb-v1646-touch)!important}
  .sb-v1644-league-panel{
    position:fixed!important;z-index:2147482000!important;
    top:var(--sb-v1646-viewport-offset-top,0px)!important;right:0!important;bottom:auto!important;left:0!important;
    width:100vw!important;max-width:100vw!important;height:var(--sb-v1646-vh,100dvh)!important;
    max-height:var(--sb-v1646-vh,100dvh)!important;border:0!important;border-radius:0!important;
    box-shadow:none!important;overflow:hidden!important;padding-top:var(--sb-v1646-safe-top)!important;background:#fff!important
  }
  html.sb-v1646-league-sheet-open,html.sb-v1646-league-sheet-open body{overflow:hidden!important;touch-action:none}
  .sb-v1644-league-panel-head{
    position:sticky!important;top:0!important;z-index:5!important;min-height:60px!important;
    padding:8px max(8px,var(--sb-v1646-safe-right)) 8px max(10px,var(--sb-v1646-safe-left))!important;background:#fff!important
  }
  .sb-v1644-league-panel-head>div>span{font-size:20px!important}
  .sb-v1644-league-panel-head section b{font-size:16px!important}
  .sb-v1644-league-panel-head section small,.sb-v1644-league-panel-head aside>span{display:none!important}
  .sb-v1644-league-panel-head>aside{gap:4px!important}
  .sb-v1644-league-panel-head button{min-width:44px!important;min-height:44px!important;padding:0 8px!important;font-size:10px!important}
  .sb-v1644-league-panel-head button.close{width:44px!important;font-size:26px!important}
  .sb-v1644-league-panel-grid{
    display:flex!important;flex-direction:column!important;
    height:calc(var(--sb-v1646-vh,100dvh) - 60px - var(--sb-v1646-safe-top))!important;min-height:0!important
  }
  .sb-v1644-league-sports{
    flex:0 0 auto!important;flex-direction:row!important;gap:4px!important;padding:6px 8px!important;
    overflow-x:auto!important;overflow-y:hidden!important;border-right:0!important;border-bottom:1px solid #dce6ed!important;
    -webkit-overflow-scrolling:touch;scrollbar-width:none
  }
  .sb-v1644-league-sports::-webkit-scrollbar{display:none}
  .sb-v1644-league-sports button{flex:0 0 auto!important;min-height:44px!important;padding:0 12px!important}
  .sb-v1644-league-browser{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;padding:8px 8px 0!important}
  .sb-v1644-league-search{flex:0 0 46px!important;height:46px!important}
  .sb-v1644-league-body{
    flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch
  }
  .sb-v1644-league-buckets,.sb-v1644-league-buckets.is-all{grid-template-columns:1fr!important;gap:8px!important;padding-bottom:90px!important}
  .sb-v1644-league-bucket-list{max-height:none!important}
  .sb-v1644-league-option{min-height:48px!important;padding:7px 10px!important}
  .sb-v1644-league-option input{width:18px!important;height:18px!important}
  .sb-v1644-league-option span b{font-size:12px!important}
  .sb-v1644-league-option span small{display:block!important;margin-top:2px!important;font-size:9px!important}
  .sb-v1644-league-option em{font-size:10px!important}
  .sb-v1644-league-footer{
    position:sticky!important;z-index:6!important;bottom:0!important;flex:0 0 auto!important;min-height:66px!important;
    padding:8px max(8px,var(--sb-v1646-safe-right)) calc(8px + var(--sb-v1646-safe-bottom)) max(8px,var(--sb-v1646-safe-left))!important;
    border-top:1px solid #dce6ed!important;background:rgba(255,255,255,.98)!important;backdrop-filter:blur(10px)
  }
  .sb-v1644-league-footer button{min-width:90px!important;min-height:46px!important;font-size:12px!important}

  /* Match rows use three levels: meta, matchup, odds. */
  .sb-v1644-scoreboard{border-radius:8px!important}
  .sb-v1644-list-head{min-height:38px!important}
  .sb-v1644-list-head>small{padding:0 9px!important;font-size:10px!important}
  .sb-v1644-columns{display:none!important}
  .sb-v1644-match-row{
    display:grid!important;grid-template-columns:52px minmax(0,1fr) 58px!important;
    grid-template-areas:"time league actions" "matchup matchup matchup" "odds odds odds"!important;
    gap:5px 7px!important;min-height:112px!important;padding:8px!important
  }
  .sb-v1644-time{grid-area:time!important;align-self:start!important}
  .sb-v1644-league{grid-area:league!important;align-self:center!important}
  .sb-v1644-matchup{
    grid-area:matchup!important;grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr)!important;
    min-height:42px!important;gap:5px!important
  }
  .sb-v1644-matchup b{font-size:11px!important}
  .sb-v1644-matchup strong{font-size:19px!important}
  .sb-v1644-matchup .sb-v163-team-mark{flex:0 0 28px!important;width:28px!important;height:28px!important}
  .sb-v1644-odds{grid-area:odds!important;min-width:0!important;width:100%!important}
  .sb-v1644-odds .sb-v1641-odds-chips{
    display:flex!important;gap:5px!important;max-width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;
    padding:1px 0 3px!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none
  }
  .sb-v1644-odds .sb-v1641-odds-chips::-webkit-scrollbar{display:none}
  .sb-v1644-odds .sb-v1641-odds-chips span{
    flex:0 0 auto!important;min-width:62px!important;height:34px!important;scroll-snap-align:start
  }
  .sb-v1644-actions{grid-area:actions!important;align-self:start!important}
  .sb-v1644-actions .sb-v163-view{min-width:54px!important;min-height:44px!important;height:44px!important;padding:0 8px!important}
  .sb-v1644-actions .chevron{display:none!important}

  /* Selected detail stacks vertically. */
  .sb-v1644-inline-detail{scroll-margin-top:6px}
  .sb-v1644-inline-detail .sb-v163-sport-tabs{
    min-height:48px!important;padding:0 4px!important;overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;scrollbar-width:none
  }
  .sb-v1644-inline-detail .sb-v163-sport-tabs button{
    flex:0 0 auto!important;min-width:78px!important;min-height:46px!important;padding:0 12px!important;font-size:11px!important
  }
  .sb-v1644-inline-detail .sb-v1643-live-overview{
    display:flex!important;flex-direction:column!important;gap:8px!important;padding:8px!important
  }
  .sb-v1644-inline-detail .sb-v1643-field-card,
  .sb-v1644-inline-detail .sb-v1643-odds-board,
  .sb-v1644-inline-detail .sb-v1643-event-board{
    width:100%!important;min-width:0!important;min-height:0!important;border-radius:7px!important
  }
  .sb-v1644-inline-detail .sb-v1643-field-card{order:1}
  .sb-v1644-inline-detail .sb-v1643-odds-board{order:2}
  .sb-v1644-inline-detail .sb-v1643-event-board{order:3}
  .sb-v1644-inline-detail .sb-v1643-surface{min-height:200px!important;max-height:260px!important}
  .sb-v1643-score-hero{padding:10px!important}
  .sb-v1643-score-hero .score,.sb-v1643-score-hero>div{min-width:0!important}
  .sb-v1643-odds-board{overflow:hidden!important}
  .sb-v1643-odds-table{
    display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;white-space:nowrap
  }
  .sb-v1643-event-board ol{max-height:none!important}
  .sb-v1643-empty-panel{min-height:150px!important}

  .sb-v1644-root a,.sb-v1644-root button{min-height:var(--sb-v1646-touch)}
  .sb-v1644-root,.sb-v1644-scoreboard,.sb-v1644-match-block,.sb-v1644-inline-detail,.sb-v1643-live-overview{
    max-width:100%!important;min-width:0!important
  }

  /* Keep site global navigation horizontally usable. */
  html.sb-livescore-mobile-v1646 #gnb,
  html.sb-livescore-mobile-v1646 .gnb_wrap,
  html.sb-livescore-mobile-v1646 .classic-global-nav,
  html.sb-livescore-mobile-v1646 .scorebook-gnb,
  html.sb-livescore-mobile-v1646 .main-nav,
  html.sb-livescore-mobile-v1646 .top-nav{
    max-width:100vw!important;overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch;scrollbar-width:none
  }
  html.sb-livescore-mobile-v1646 #gnb::-webkit-scrollbar,
  html.sb-livescore-mobile-v1646 .gnb_wrap::-webkit-scrollbar,
  html.sb-livescore-mobile-v1646 .classic-global-nav::-webkit-scrollbar,
  html.sb-livescore-mobile-v1646 .scorebook-gnb::-webkit-scrollbar,
  html.sb-livescore-mobile-v1646 .main-nav::-webkit-scrollbar,
  html.sb-livescore-mobile-v1646 .top-nav::-webkit-scrollbar{display:none}
  html.sb-livescore-mobile-v1646 #gnb ul,
  html.sb-livescore-mobile-v1646 .gnb_1dul,
  html.sb-livescore-mobile-v1646 .classic-global-nav ul,
  html.sb-livescore-mobile-v1646 .scorebook-gnb ul,
  html.sb-livescore-mobile-v1646 .main-nav ul,
  html.sb-livescore-mobile-v1646 .top-nav ul{
    display:flex!important;flex-wrap:nowrap!important;width:max-content!important;min-width:100%!important
  }
  html.sb-livescore-mobile-v1646 #gnb li,
  html.sb-livescore-mobile-v1646 .gnb_1dli,
  html.sb-livescore-mobile-v1646 .classic-global-nav li,
  html.sb-livescore-mobile-v1646 .scorebook-gnb li,
  html.sb-livescore-mobile-v1646 .main-nav li,
  html.sb-livescore-mobile-v1646 .top-nav li{flex:0 0 auto!important}

  html.sb-livescore-mobile-v1646 .scorebook-ad-slot,
  html.sb-livescore-mobile-v1646 .classic-ad-slot,
  html.sb-livescore-mobile-v1646 [data-scorebook-ad-slot],
  html.sb-livescore-mobile-v1646 .right-rail-ad,
  html.sb-livescore-mobile-v1646 .left-rail-ad{display:none!important}
}

@media(max-width:430px){
  .sb-v1644-root{padding-left:3px!important;padding-right:3px!important}
  .sb-v1644-league-trigger>div:first-child small,
  .sb-v1644-league-trigger>div:last-child>button:last-child{display:none!important}
  .sb-v1644-league-trigger>div:last-child .sb-v1640-league-open{max-width:142px!important;padding:0 9px!important}
  .sb-v1644-match-row{grid-template-columns:47px minmax(0,1fr) 54px!important;padding:7px 6px!important}
  .sb-v1644-matchup{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr)!important}
  .sb-v1644-matchup b{font-size:10px!important}
  .sb-v1644-matchup strong{font-size:17px!important}
  .sb-v1644-inline-detail .sb-v1643-surface{min-height:178px!important}
}

@media(max-width:900px) and (max-height:520px) and (orientation:landscape){
  .sb-v1644-inline-detail .sb-v1643-live-overview{
    display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)!important
  }
  .sb-v1644-inline-detail .sb-v1643-event-board{grid-column:1/-1!important}
  .sb-v1644-league-panel-grid{flex-direction:row!important}
  .sb-v1644-league-sports{flex:0 0 116px!important;flex-direction:column!important;overflow-y:auto!important}
}

@media(prefers-reduced-motion:reduce){
  .sb-v1644-root *,.sb-v1644-league-panel *{
    scroll-behavior:auto!important;animation-duration:.001ms!important;
    animation-iteration-count:1!important;transition-duration:.001ms!important
  }
}
