/* t967 — isolated staging delayed-live history & 3-digit score safety.
 * This stylesheet does not change the production scoreboard timeline. */
body .vhb-countdown-live .vhb-scoreboard-team,
.vhb-lgl-p1 .vhb-scoreboard-team{min-width:0!important;overflow:visible!important;}
/* The original 24.5cqi two-digit typography overflows narrow side columns
 * at 100+ points. Only scale scores that actually contain 3+ digits. */
body .vhb-countdown-live .vhb-scoreboard-score.vhb-t967-three-digits{
  font-size:clamp(35px,16cqi,75px)!important;
  letter-spacing:-.045em!important;
  max-width:100%!important;
  width:auto!important;
  white-space:nowrap!important;
  justify-self:center!important;
}
.vhb-lgl-p1 .vhb-scoreboard-score.vhb-t967-three-digits{
  font-size:clamp(35px,16cqw,78px)!important;
  letter-spacing:-.045em!important;
  max-width:100%!important;
  width:auto!important;
  white-space:nowrap!important;
  justify-self:center!important;
}
/* On t966, 3 children were laid out into 2 grid columns; the logo landed in
 * an unexpected row. Keep logo, timestamp and description together. */
body .vhb-countdown-live .vhb-lastplay>p,
.vhb-lgl-p1 .vhb-lastplay>p{
  display:flex!important;flex-flow:row nowrap!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:clamp(3px,1.5cqi,8px)!important;
  min-width:0!important;width:100%!important;
}
body .vhb-countdown-live .vhb-lastplay>p .vhb-lastplay-team-logo,
.vhb-lgl-p1 .vhb-lastplay>p .vhb-lastplay-team-logo{
  grid-column:auto!important;grid-row:auto!important;position:static!important;
  width:clamp(11px,4.1cqi,16px)!important;height:clamp(11px,4.1cqi,16px)!important;
  margin:2px 0 0!important;float:none!important;flex:0 0 auto!important;
  object-fit:contain!important;vertical-align:baseline!important;
}
.vhb-lgl-p1 .vhb-lastplay>p .vhb-lastplay-team-logo{
  width:clamp(12px,3.8cqw,18px)!important;height:clamp(12px,3.8cqw,18px)!important;
}
body .vhb-countdown-live .vhb-lastplay>p b,
.vhb-lgl-p1 .vhb-lastplay>p b{
  grid-column:auto!important;grid-row:auto!important;flex:0 0 auto!important;
  width:auto!important;white-space:nowrap!important;margin:0!important;
}
body .vhb-countdown-live .vhb-lastplay>p em,
.vhb-lgl-p1 .vhb-lastplay>p em{
  grid-column:auto!important;grid-row:auto!important;min-width:0!important;
  flex:1 1 auto!important;max-width:100%!important;white-space:normal!important;
  overflow-wrap:break-word!important;word-break:normal!important;
}
/* In delayed mode, the one-line Latest Play element remains in the DOM so the
 * original renderer retains its bindings. The new pane owns the visual list. */
body .vhb-countdown-live .vhb-scorecard.is-vhb-t967-delayed .vhb-lastplay>p,
.vhb-lgl-p1 .vhb-scorecard.is-vhb-t967-delayed .vhb-lastplay>p{display:none!important;}
.vhb-t967-play-history[hidden]{display:none!important;}
body .vhb-countdown-live .vhb-t967-play-history,
.vhb-lgl-p1 .vhb-t967-play-history{width:100%;min-width:0;margin-top:4px;}
body .vhb-countdown-live .vhb-t967-history-viewport,
.vhb-lgl-p1 .vhb-t967-history-viewport{
  max-height:clamp(68px,26cqi,108px);
  overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-width:thin;scrollbar-color:#ff8200 #161b23;
  border:1px solid rgba(255,130,0,.25);border-radius:6px;
  background:rgba(7,11,16,.65);
}
.vhb-lgl-p1 .vhb-t967-history-viewport{max-height:clamp(78px,25cqw,145px);}
body .vhb-countdown-live .vhb-t967-history-viewport:focus-visible,
.vhb-lgl-p1 .vhb-t967-history-viewport:focus-visible{outline:2px solid #ff8200;outline-offset:2px;}
body .vhb-countdown-live .vhb-t967-history-viewport ol,
.vhb-lgl-p1 .vhb-t967-history-viewport ol{list-style:none!important;margin:0!important;padding:0!important;}
body .vhb-countdown-live .vhb-t967-history-entry,
.vhb-lgl-p1 .vhb-t967-history-entry{
  display:flex!important;align-items:flex-start!important;gap:5px!important;
  margin:0!important;padding:5px 6px!important;border-bottom:1px solid rgba(255,255,255,.1);
  min-width:0!important;white-space:normal!important;
  color:#dce3e9!important;font-size:clamp(10px,3.3cqi,13px)!important;
  line-height:1.33!important;text-align:left!important;
}
.vhb-lgl-p1 .vhb-t967-history-entry{font-size:clamp(11px,3.05cqw,15px)!important;}
body .vhb-countdown-live .vhb-t967-history-entry:first-child,
.vhb-lgl-p1 .vhb-t967-history-entry:first-child{background:rgba(255,130,0,.08);}
body .vhb-countdown-live .vhb-t967-history-entry:last-child,
.vhb-lgl-p1 .vhb-t967-history-entry:last-child{border-bottom:none;}
body .vhb-countdown-live .vhb-t967-history-logo,
.vhb-lgl-p1 .vhb-t967-history-logo{
  display:inline-block!important;width:14px!important;height:14px!important;
  object-fit:contain!important;margin-top:1px!important;flex:0 0 14px!important;
}
body .vhb-countdown-live .vhb-t967-history-copy,
.vhb-lgl-p1 .vhb-t967-history-copy{
  display:inline!important;min-width:0!important;flex:1 1 auto!important;
  font-size:inherit!important;line-height:inherit!important;color:inherit!important;
  font-weight:400!important;text-transform:none!important;
}
body .vhb-countdown-live .vhb-t967-history-clock,
.vhb-lgl-p1 .vhb-t967-history-clock{
  font-weight:800!important;margin-right:5px!important;
  font-size:inherit!important;color:#fff!important;white-space:nowrap!important;
}
body .vhb-countdown-live .vhb-t967-history-more,
.vhb-lgl-p1 .vhb-t967-history-more{
  width:100%;display:flex;justify-content:center;align-items:center;gap:5px;
  background:transparent;border:0;border-radius:4px;color:#ff9b35;
  font-family:inherit;font-weight:700;font-size:11px;line-height:1.4;cursor:pointer;min-height:24px;padding:2px;
}
body .vhb-countdown-live .vhb-t967-history-more[hidden],
.vhb-lgl-p1 .vhb-t967-history-more[hidden]{display:none!important;}
body .vhb-countdown-live .vhb-t967-history-more:focus-visible,
.vhb-lgl-p1 .vhb-t967-history-more:focus-visible{outline:2px solid #ff8200;}
body .vhb-countdown-live .is-vhb-t967-delayed .vhb-lastplay,
.vhb-lgl-p1 .is-vhb-t967-delayed .vhb-lastplay{padding-top:3cqi!important;}
body .vhb-countdown-live .vhb-clock-buffer-note[data-vhb-clock-buffer-note]{line-height:1.1!important;}
/* The scoreboard's narrow sidebar should never crop a three-digit home score. */
body .vhb-countdown-live .vhb-scorecard-stage,
.vhb-lgl-p1 .vhb-scorecard-stage{overflow:visible!important;}

/* t966 selector specificity is higher than the generic scorecard override. */
body .vhb-countdown-live-scorecard .vhb-lastplay p img.vhb-lastplay-team-logo,
.vhb-lgl-p1 article[data-vhb-scorecard] .vhb-lastplay p img.vhb-lastplay-team-logo{
  display:inline-block!important;position:static!important;float:none!important;
  flex:0 0 14px!important;width:14px!important;height:14px!important;
  min-width:14px!important;max-width:14px!important;min-height:14px!important;
  max-height:14px!important;align-self:flex-start!important;margin:2px 0 0!important;
}

/* Legacy .vhb-lastplay span rule uses display:block for ALL nested spans.
 * Counter it on the event text so timestamp and description share one line. */
body .vhb-countdown-live .vhb-t967-history-copy>span,
.vhb-lgl-p1 .vhb-t967-history-copy>span{
  display:inline!important;color:inherit!important;font-size:inherit!important;
  line-height:inherit!important;font-weight:inherit!important;
}

/* t968: the pane is the PRIMARY delayed-view Latest Plays surface.
   Preserve sidebar shell dimensions while keeping 2–3 entries scrollable. */
body .vhb-countdown-live .is-vhb-t967-delayed .vhb-t967-play-history:not([hidden]),
.vhb-lgl-p1 .is-vhb-t967-delayed .vhb-t967-play-history:not([hidden]){
  display:block!important;min-width:0!important;overflow:visible!important;
}
body .vhb-countdown-live .is-vhb-t967-delayed .vhb-t967-history-viewport,
.vhb-lgl-p1 .is-vhb-t967-delayed .vhb-t967-history-viewport{
  height:auto!important;min-height:58px!important;max-height:112px!important;
  overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;
  -webkit-overflow-scrolling:touch!important;
}
body .vhb-countdown-live .is-vhb-t967-delayed .vhb-t967-history-copy>span,
.vhb-lgl-p1 .is-vhb-t967-delayed .vhb-t967-history-copy>span{
  display:inline!important;white-space:normal!important;
}
body .vhb-countdown-live .is-vhb-t967-delayed .vhb-t967-history-more:not([hidden]),
.vhb-lgl-p1 .is-vhb-t967-delayed .vhb-t967-history-more:not([hidden]){
  display:flex!important;
}
/* The old t966 logo row may be grid-wrapped by extremely specific legacy CSS. */
body .vhb-countdown-live-scorecard:not(.is-vhb-t967-delayed) .vhb-lastplay>p,
.vhb-lgl-p1 article[data-vhb-scorecard]:not(.is-vhb-t967-delayed) .vhb-lastplay>p{
  display:flex!important;flex-flow:row nowrap!important;align-items:flex-start!important;
}
