/* vMix 1920x1080 Transparent Web Broadcast Overlays (SOW 2.7 & 2.8) */

html.route-overlay,
body.route-overlay {
  background: transparent !important;
  background-color: transparent !important;
  overflow: hidden !important;
}

/* Hide standard website shell elements in broadcast overlay mode */
html.route-overlay .topbar,
html.route-overlay .sidenav,
html.route-overlay .tabbar,
html.route-overlay .footer,
html.route-overlay .backdrop,
html.route-overlay #ball-canvas,
html.route-overlay #ball-dock,
html.route-overlay .dot-canvas {
  display: none !important;
}

html.route-overlay .view-host {
  padding: 0 !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  margin: 0 !important;
}

.vmix-overlay-1080 {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Passes clicks through so streamer can interact if needed */
  overflow: hidden;
  font-family: var(--font-body, 'Manrope', sans-serif);
}

/* 1. Scorebug Layer (Bottom Center) */
.overlay-scorebug-layer {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
}

.scorebug-wrapper {
  display: flex;
  align-items: center;
  background: rgba(10, 8, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 3px solid var(--team-bat, #FF3366);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  height: 64px;
}

.scorebug-capsule {
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bug-crest {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bug-team-score {
  display: flex;
  flex-direction: column;
}

.bug-team-code {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 13px;
  font-weight: 800;
  color: var(--team-bat, #FF3366);
  letter-spacing: 0.05em;
}

.bug-score-num {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.bug-score-num b {
  color: #FFF;
}

.bug-overs-rate {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 11px;
  color: #aaa;
  margin-left: 4px;
}

.bug-overs {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-weight: 700;
  color: #eee;
  font-size: 13px;
}

.bug-crr {
  color: #FFD700;
  font-weight: 700;
}

.scorebug-target-capsule {
  display: flex;
  flex-direction: column;
  padding: 0 14px;
  font-size: 11px;
  color: #ccc;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 51, 102, 0.1);
}

.scorebug-target-capsule b {
  color: #fff;
  font-family: var(--font-display, 'Orbitron', sans-serif);
}

.scorebug-batters-capsule {
  display: flex;
  gap: 16px;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bug-batter {
  display: flex;
  flex-direction: column;
}

.bug-batter.is-strike .b-name {
  color: #FFD700;
  font-weight: 800;
}

.b-name {
  font-size: 12px;
  color: #bbb;
  font-weight: 600;
}

.b-runs {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 14px;
  color: #fff;
}

.b-runs small {
  color: #888;
  font-size: 11px;
}

.scorebug-bowler-capsule {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.bug-bowler-meta {
  display: flex;
  flex-direction: column;
}

.bowler-lbl {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #3BA9F0;
  font-weight: 800;
}

.bowler-name {
  font-size: 12px;
  font-weight: 700;
  color: #eee;
}

.bowler-figs {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 15px;
  color: #fff;
}

.bowler-figs small {
  color: #888;
  font-size: 11px;
}

.scorebug-dots-strip {
  display: flex;
  gap: 5px;
  padding: 0 14px;
}

.scorebug-ball-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dot-four {
  background: #3B82F6;
  color: #fff;
}

.dot-six {
  background: #F59E0B;
  color: #000;
}

.dot-wkt {
  background: #EF4444;
  color: #fff;
}

.dot-extra {
  background: #8B5CF6;
  color: #fff;
}

.scorebug-brand-badge {
  padding: 0 14px;
  display: flex;
  align-items: center;
}

/* 2. Lower-Third Layer (Bottom Left) */
.overlay-lowerthird-layer {
  position: absolute;
  bottom: 110px;
  left: 64px;
  z-index: 40;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.overlay-lowerthird-layer.active {
  opacity: 1;
  transform: translateY(0);
}

.lower-third-card {
  display: flex;
  background: rgba(12, 10, 16, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  min-width: 440px;
}

.lt-accent-bar {
  width: 8px;
  background: #FF3366;
}

.lt-body {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.lt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lt-role-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FF5A8D;
  text-transform: uppercase;
}

.lt-team-name {
  font-size: 11px;
  font-weight: 700;
  color: #888;
}

.lt-title {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: 0.04em;
}

.lt-stats-row {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lt-stat {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: #888;
}

.lt-stat b {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 16px;
  color: #fff;
}

/* 3. Fullscreen Broadcast Graphics Layer (Centered) */
.overlay-fullscreen-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  background: rgba(4, 3, 6, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay-fullscreen-layer.active {
  opacity: 1;
  pointer-events: auto;
}

.fs-card {
  max-width: 900px;
  width: 90%;
  background: linear-gradient(145deg, rgba(20, 16, 26, 0.95) 0%, rgba(8, 7, 12, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.fs-logo {
  height: 64px;
}

.fs-eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #FF5A8D;
  text-transform: uppercase;
}

.fs-headline {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
}

.fs-toss-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 36px;
  width: 100%;
}

.fs-toss-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 18px;
}

.fs-t-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-weight: 800;
  font-size: 18px;
}

.fs-vs {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 24px;
  color: #FFD700;
  font-weight: 900;
}

.fs-toss-decision {
  font-size: 18px;
  color: #eee;
  margin: 0;
}

.fs-toss-decision b {
  color: #FFD700;
}

/* Teamsheets Fullscreen */
.fs--teamsheets {
  max-width: 1100px;
}

.fs-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.fs-header-row h2 {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 24px;
  color: #fff;
  margin: 0;
}

.fs-teams-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  width: 100%;
  margin-top: 16px;
}

.fs-squad-col {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
}

.fs-squad-head {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--team-col, #FF3366);
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.fs-squad-head h3 {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 18px;
  color: #fff;
  margin: 0;
}

.fs-squad-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-squad-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.fs-squad-list li small {
  color: #888;
}

/* Standings Table Fullscreen */
.fs--table {
  max-width: 900px;
}

.fs-table-wrap {
  width: 100%;
}

.fs-standings-table {
  width: 100%;
  border-collapse: collapse;
}

.fs-standings-table th, .fs-standings-table td {
  padding: 10px 14px;
  text-align: center;
}

.fs-standings-table th {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fs-standings-table td {
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.t-team-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left !important;
  font-weight: 700;
}

.is-qualifier td {
  background: rgba(34, 197, 94, 0.05);
}

.t-pts {
  color: #FFD700;
}

/* POTM Fullscreen */
.fs-potm-body {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
}

.fs-potm-img {
  width: 220px;
  height: 260px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #FFD700;
}

.fs-potm-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.fs-potm-name {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.fs-potm-team {
  font-size: 16px;
  color: #FF5A8D;
  font-weight: 700;
  margin: 0;
}

.fs-potm-stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.fs-potm-stats div {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: #888;
}

.fs-potm-stats b {
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 20px;
  color: #FFD700;
}

/* 4. Event Animation Takeover Layer (Four, Six, Wicket) */
.overlay-animation-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.overlay-animation-layer.active {
  opacity: 1;
}

.anim-pop-banner {
  padding: 24px 64px;
  border-radius: 16px;
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: zoom-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
}

.anim--four {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  color: #FFFFFF;
  border: 4px solid #60A5FA;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.8);
}

.anim--six {
  background: linear-gradient(135deg, #B45309 0%, #F59E0B 100%);
  color: #FFFFFF;
  border: 4px solid #FCD34D;
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.8);
}

.anim--wicket {
  background: linear-gradient(135deg, #991B1B 0%, #EF4444 100%);
  color: #FFFFFF;
  border: 4px solid #F87171;
  box-shadow: 0 0 60px rgba(239, 68, 68, 0.8);
}

@keyframes zoom-pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.anim-pop-detail { margin-top: 10px; font-size: 24px; font-weight: 700; letter-spacing: .06em; text-align: center; opacity: .95; }
.anim--team { color: #fff; }
.anim--team .anim-pop-text { font-size: 72px; }

/* ===== Scorebug, rebuilt for 1920x1080 =====
   The old bar sat at left:50% so it could only grow to half the screen and everything wrapped. */
.overlay-scorebug-layer { left: 0; right: 0; bottom: 36px; transform: none; display: flex; justify-content: center; pointer-events: none; }
.scorebug-wrapper { height: 88px; border-radius: 12px; border-bottom-width: 4px; max-width: 1840px; }
.scorebug-wrapper, .scorebug-wrapper * { white-space: nowrap; }
.scorebug-capsule { padding: 0 24px; gap: 16px; }
.bug-crest { width: 62px; height: 62px; flex: none; }
.bug-crest .crest { width: 62px !important; height: 62px !important; }
.bug-team-score { gap: 3px; }
.bug-team-code { font-size: 15px; }
.bug-score-num { font-size: 36px; }
.bug-overs-rate { align-items: flex-start; font-size: 14px; gap: 3px; margin-left: 8px; }
.bug-overs { font-size: 20px; }
.bug-overs small { font-size: 14px; opacity: .6; }
.bug-crr { font-size: 14px; }
.scorebug-target-capsule { flex-direction: column; justify-content: center; gap: 3px; padding: 0 22px; font-size: 14px; }
.scorebug-batters-capsule { gap: 28px; padding: 0 24px; align-items: center; }
.bug-batter { gap: 2px; }
.b-name { font-size: 17px; }
.b-runs { font-size: 24px; }
.b-runs small { font-size: 14px; }
.scorebug-bowler-capsule { padding: 0 24px; gap: 18px; }
.bowler-lbl { font-size: 11px; }
.bowler-name { font-size: 17px; }
.bowler-figs { font-size: 24px; }
.bowler-figs small { font-size: 14px; }
.scorebug-dots-strip { gap: 8px; padding: 0 22px; align-items: center; }
.scorebug-ball-dot { width: 32px; height: 32px; font-size: 14px; flex: none; }
.scorebug-brand-badge { padding: 0 22px; }
.scorebug-brand-badge img { height: 46px; width: auto; max-width: none; }
.scorebug-wrapper { width: max-content; }
.scorebug-wrapper > * { flex: none; }

/* The overlay stage must be the full 1920x1080 frame. The site's generic page rule
   (.view-host > :not(.view) { max-width: 1280px; margin: auto }) was squeezing every graphic into a centred 1280px column. */
html.route-overlay .view-host > .vmix-overlay-1080 { max-width: none !important; width: 100vw !important; margin: 0 !important; padding: 0 !important; left: 0; top: 0; }
html.route-overlay .shell { margin-left: 0 !important; }

/* =====================================================================
   BROADCAST GRAPHICS: lower-thirds, milestone, wicket, new batter, full-screen cards
   ===================================================================== */
html.route-overlay .dot-canvas { display: block !important; }                /* the showpiece animations draw particles here */
html.route-overlay .event-takeover-overlay.active { background-color: transparent !important; pointer-events: none; cursor: default; }
html.route-overlay .skip-hint { display: none !important; }

.overlay-lowerthird-layer { bottom: 150px; left: 64px; }
.overlay-lowerthird-layer.is-auto { z-index: 41; }
.ov-static, .ov-static * { animation: none !important; }                      /* redrawn with new numbers: no re-entrance */
.ov-static .ov-chip { opacity: 1; }

/* ---- tiny "powered by" credit: a watermark, not a feature ---- */
.ov-powered { display: inline-flex; align-items: center; gap: 6px; opacity: .5; }
.ov-powered small { font: 700 8px/1 var(--font-body, sans-serif); letter-spacing: .24em; color: #dcdce6; }
.ov-powered img { height: 10px; width: auto; max-width: none; filter: grayscale(.2); }
.ov-powered-layer { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; z-index: 45; opacity: 0; transition: opacity .5s; pointer-events: none; }
.ov-powered-layer.active { opacity: 1; }
.ov-fs__foot { margin-top: 26px; display: flex; justify-content: center; }
.ov-fs__foot .ov-powered { opacity: .42; }

/* ---- the lower-third card ---- */
.ov-lt { position: relative; display: flex; align-items: center; gap: 24px; min-width: 780px; max-width: 1180px; padding: 20px 34px 20px 26px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(110deg, rgba(9,8,13,.97), rgba(20,18,28,.95)); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 26px 60px rgba(0,0,0,.75), 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent), 0 0 46px color-mix(in srgb, var(--c) 32%, transparent);
  animation: ovLtIn .75s cubic-bezier(.16,1,.3,1) both; }
.ov-lt::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 9px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 35%, #000)); }
.ov-lt::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); pointer-events: none; }
.ov-lt__sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.22) 50%, transparent 62%); transform: translateX(-130%); animation: ovSweep 1.5s .4s ease-out 1 both; }
.ov-lt__photo { flex: none; width: 116px; height: 116px; border-radius: 50%; padding: 4px; background: conic-gradient(from 0deg, var(--c), #fff 25%, var(--c) 50%, #fff 75%, var(--c)); animation: ovSpin 6s linear infinite; position: relative; z-index: 1; }
.ov-lt__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #0b0a10; border: 4px solid #0b0a10; animation: ovSpin 6s linear infinite reverse; }
.ov-lt__photo:empty { display: none; }
.ov-lt__body { position: relative; z-index: 1; min-width: 0; }
.ov-lt__kicker { font: 800 14px/1.2 var(--font-display, sans-serif); letter-spacing: .2em; color: var(--c); text-transform: uppercase; animation: ovUp .5s .25s both; }
.ov-lt__title { margin: 3px 0 6px; font: 900 48px/1 var(--font-display, sans-serif); color: #fff; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 4px 26px rgba(0,0,0,.65); animation: ovUp .55s .3s both; white-space: nowrap; }
.ov-lt__title em { font-style: normal; color: var(--c); margin-left: 8px; }
.ov-lt__sub { font: 600 21px/1.2 var(--font-body, sans-serif); color: #e2e2ea; margin-bottom: 10px; animation: ovUp .55s .38s both; }
.ov-lt__chips { display: flex; gap: 12px; white-space: nowrap; }
.ov-chip { min-width: 96px; padding: 9px 15px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); display: flex; flex-direction: column; animation: ovChip .55s calc(.5s + var(--i, 0) * .07s) both; }
.ov-chip b { font: 900 29px/1 var(--font-display, sans-serif); color: #fff; }
.ov-chip b small { font-size: 15px; opacity: .6; margin-left: 4px; font-weight: 600; }
.ov-chip span { font: 700 11px/1 var(--font-body, sans-serif); letter-spacing: .16em; color: #b9b9c6; margin-top: 6px; }

.ov-lt--bowler .ov-lt__photo { background: conic-gradient(from 0deg, #3BA9F0, #fff 25%, #3BA9F0 50%, #fff 75%, #3BA9F0); }
.ov-lt--newbat { --c: #22c55e; }
.ov-lt--newbat .ov-lt__kicker { color: #4ade80; }

/* wicket: red, with a shock flash */
.ov-lt--wicket { background: linear-gradient(110deg, rgba(40,6,8,.97), rgba(22,10,12,.96)); animation: ovLtIn .6s cubic-bezier(.16,1,.3,1) both, ovShake .5s .1s both; }
.ov-lt--wicket::after { inset: 0; right: 0; top: 0; width: auto; height: auto; border-radius: 0; background: radial-gradient(circle at 20% 50%, rgba(239,68,68,.55), transparent 55%); animation: ovFlash 1.1s ease-out both; }

/* partnership */
.ov-lt--part { flex-direction: column; align-items: stretch; gap: 10px; min-width: 760px; }
.ov-part__label { font: 800 14px var(--font-display, sans-serif); letter-spacing: .22em; color: #F59E0B; position: relative; z-index: 1; }
.ov-part__main { display: flex; align-items: baseline; gap: 14px; position: relative; z-index: 1; }
.ov-part__main b { font: 900 74px/1 var(--font-display, sans-serif); color: #fff; }
.ov-part__main span { font: 800 22px var(--font-display, sans-serif); color: #F59E0B; letter-spacing: .1em; }
.ov-part__main i { font: 600 20px var(--font-body, sans-serif); color: #ccc; font-style: normal; margin-left: auto; }
.ov-part__bar { display: flex; height: 16px; border-radius: 9px; overflow: hidden; background: rgba(255,255,255,.08); position: relative; z-index: 1; }
.ov-part__bar span { background: linear-gradient(90deg, #F59E0B, #ffcf6b); transform-origin: left; animation: ovGrow 1s .5s both; }
.ov-part__bar span.b { background: linear-gradient(90deg, #3BA9F0, #8ad3ff); }
.ov-part__names { display: flex; justify-content: space-between; position: relative; z-index: 1; }
.ov-part__names div { display: flex; gap: 12px; align-items: baseline; }
.ov-part__names b { font: 800 22px var(--font-display, sans-serif); color: #fff; text-transform: uppercase; }
.ov-part__names span { font: 900 26px var(--font-display, sans-serif); color: #FFD700; }

/* milestone: gold, rays, confetti */
.ov-lt--milestone { --c: #FFD700; min-width: 900px; padding-left: 20px; background: linear-gradient(110deg, rgba(36,26,4,.97), rgba(18,14,6,.96)); }
.ov-ms__num { position: relative; flex: none; width: 168px; height: 168px; display: grid; place-items: center; z-index: 1; }
.ov-ms__rays { position: absolute; inset: -30px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,215,0,.5) 0 8deg, transparent 8deg 22deg); mask: radial-gradient(circle, transparent 38%, #000 40%, transparent 72%); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%, transparent 72%); animation: ovSpin 9s linear infinite; }
.ov-ms__num b { position: relative; font: 900 104px/1 var(--font-display, sans-serif); background: linear-gradient(180deg, #fff3b0, #FFD700 55%, #b8860b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 22px rgba(255,215,0,.6)); animation: ovPop .8s .15s cubic-bezier(.2,1.6,.4,1) both; }
.ov-lt--milestone.is-hundred .ov-ms__num b { font-size: 90px; }
.ov-lt--milestone .ov-lt__kicker { color: #FFD700; }
.ov-ms__confetti { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.ov-ms__confetti i { position: absolute; top: -14px; left: var(--x); width: 9px; height: 16px; background: var(--c); transform: rotate(var(--r)); animation: ovFall 2.4s var(--d) ease-in both; opacity: 0; border-radius: 2px; }

/* ---- full-screen cards ---- */
.overlay-fullscreen-layer { background: radial-gradient(circle at 50% 40%, rgba(24,10,22,.92), rgba(3,2,6,.96)); }
.ov-fs { position: relative; overflow: hidden; max-width: 1280px; width: 86%; animation: ovFsIn .8s cubic-bezier(.16,1,.3,1) both; border-color: rgba(255,255,255,.14); box-shadow: 0 30px 90px rgba(0,0,0,.9), 0 0 80px rgba(255,64,128,.18); }
.ov-fs__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.1) 50%, transparent 60%); transform: translateX(-130%); animation: ovSweep 2s .5s ease-out 1 both; }
.ov-fs__logo { height: 58px; width: auto; max-width: none; }
.ov-fs .fs-headline { animation: ovUp .6s .2s both; }
.ov-fs .fs-standings-table tbody tr, .ov-fs .fs-squad-list li { animation: ovRow .55s calc(.3s + var(--i, 0) * .08s) both; }
.ov-fs .fs-t-unit { animation: ovPop .8s .25s cubic-bezier(.2,1.4,.4,1) both; }
.ov-fs.fs--potm .fs-potm-img { animation: ovPop .9s .2s cubic-bezier(.2,1.3,.4,1) both; border-radius: 16px; max-height: 420px; object-fit: cover; }
.ov-sum__team { display: flex; align-items: center; gap: 28px; margin: 10px 0 22px; }
.ov-sum__team h1 { margin: 0; font: 900 44px var(--font-display, sans-serif); color: #fff; text-transform: uppercase; }
.ov-sum__team b { display: block; font: 900 96px/1 var(--font-display, sans-serif); color: #FFD700; }
.ov-sum__team span { font: 600 22px var(--font-body, sans-serif); color: #cfcfda; }
.ov-sum__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ov-sum__card { padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); animation: ovChip .6s .5s both; }
.ov-sum__card small { display: block; font: 800 11px var(--font-body, sans-serif); letter-spacing: .2em; color: #9d9dab; }
.ov-sum__card b { display: block; font: 800 24px var(--font-display, sans-serif); color: #fff; margin: 4px 0; text-transform: uppercase; }
.ov-sum__card span { font: 900 32px var(--font-display, sans-serif); color: #FFD700; } .ov-sum__card i { font-size: 18px; color: #aaa; font-style: normal; }
.ov-sum__card.is-target { background: rgba(255,51,102,.14); border-color: rgba(255,51,102,.4); }

@keyframes ovLtIn { from { opacity: 0; transform: translateX(-60px); clip-path: inset(0 100% 0 0 round 20px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 20px); } }
@keyframes ovSweep { to { transform: translateX(130%); } }
@keyframes ovSpin { to { transform: rotate(360deg); } }
@keyframes ovUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ovChip { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ovPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ovGrow { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ovShake { 0%, 100% { translate: 0 0; } 20% { translate: -10px 0; } 40% { translate: 9px 0; } 60% { translate: -6px 0; } 80% { translate: 4px 0; } }
@keyframes ovFlash { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ovFall { 0% { opacity: 0; transform: translateY(0) rotate(var(--r)); } 12% { opacity: 1; } 100% { opacity: 0; transform: translateY(230px) rotate(calc(var(--r) + 540deg)); } }
@keyframes ovFsIn { from { opacity: 0; transform: scale(.9) translateY(30px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ovRow { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.ov-freehit { width: auto !important; padding: 0 12px; border-radius: 16px !important; animation: ovFlash 1s ease-in-out infinite alternate !important; }
@media (prefers-reduced-motion: reduce) { .ov-lt, .ov-lt *, .ov-fs, .ov-fs * { animation-duration: .01s !important; animation-delay: 0s !important; } }

/* =====================================================================
   MILESTONE CELEBRATION (50 / 100): a full-screen moment, not a corner card
   ===================================================================== */
.ov-celebrate-layer { position: absolute; inset: 0; z-index: 66; pointer-events: none; opacity: 0; }
.ov-celebrate-layer.active { opacity: 1; }
.ov-celebrate-layer.is-out { animation: ovCelOut .7s ease-in both; }
.ov-cel { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.ov-cel__vignette { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(255,190,40,.30), rgba(0,0,0,.74) 70%); animation: ovFadeIn .4s both; }
.ov-cel__rays { position: absolute; width: 1900px; height: 1900px; left: 50%; top: 46%; margin: -950px 0 0 -950px;
  background: repeating-conic-gradient(from 0deg, rgba(255,215,0,.30) 0 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 16%, transparent 60%); mask: radial-gradient(circle, #000 0 16%, transparent 60%);
  animation: ovSpin 14s linear infinite, ovFadeIn .6s .25s both; }
.ov-cel__ring { position: absolute; left: 50%; top: 46%; width: 320px; height: 320px; margin: -160px 0 0 -160px; border: 7px solid #FFD700; border-radius: 50%; opacity: 0; animation: ovShock 1.6s var(--dl, 0s) ease-out both; }
.ov-cel__ring.r1 { --dl: .25s; } .ov-cel__ring.r2 { --dl: .5s; border-color: #fff; } .ov-cel__ring.r3 { --dl: .78s; }
.ov-cel__num { position: relative; z-index: 3; margin-top: -110px; animation: ovSlam .95s .22s cubic-bezier(.2,1.5,.35,1) both; }
.ov-cel__num span { display: block; font: 900 430px/.9 var(--font-display, sans-serif); background: linear-gradient(180deg, #fffbe0 0%, #FFD700 42%, #b8860b 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 42px rgba(255,200,40,.85)) drop-shadow(0 14px 30px rgba(0,0,0,.75)); animation: ovGlowPulse 1.4s 1.2s ease-in-out infinite alternate; }
.ov-cel.is-hundred .ov-cel__num span { font-size: 370px; }
.ov-cel__word { position: relative; z-index: 3; margin-top: -26px; font: 900 96px/1 var(--font-display, sans-serif); letter-spacing: .14em; color: #fff; text-shadow: 0 0 34px rgba(255,200,40,.95), 0 6px 20px rgba(0,0,0,.85); animation: ovWord .65s .75s cubic-bezier(.2,1.5,.4,1) both; }
.ov-cel__band { position: relative; z-index: 3; margin-top: 20px; padding: 14px 84px 14px 60px; display: flex; align-items: baseline; gap: 18px; background: linear-gradient(100deg, #FFD700, #b8860b); background: linear-gradient(100deg, var(--tc, #FFD700), #3a2a00);
  clip-path: polygon(0 0, 100% 0, calc(100% - 38px) 100%, 0 100%); box-shadow: 0 18px 50px rgba(0,0,0,.6); animation: ovBandIn .65s .95s cubic-bezier(.16,1,.3,1) both; }
.ov-cel__band b { font: 900 58px/1 var(--font-display, sans-serif); color: #fff; text-transform: uppercase; text-shadow: 0 3px 14px rgba(0,0,0,.55); }
.ov-cel__band small { font: 700 20px var(--font-body, sans-serif); letter-spacing: .22em; color: rgba(255,255,255,.88); }
.ov-cel__chips { position: relative; z-index: 3; display: flex; gap: 16px; margin-top: 24px; }
.ov-cel__chips .ov-chip { min-width: 156px; padding: 14px 24px; background: rgba(0,0,0,.6); border-color: rgba(255,215,0,.45); animation: ovChipPop .6s calc(1.2s + var(--i, 0) * .09s) cubic-bezier(.2,1.7,.4,1) both; }
.ov-cel__chips .ov-chip b { font-size: 46px; }
.ov-cel__chips .ov-chip span { font-size: 13px; }
.ov-cel__streak { position: absolute; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, transparent, #FFD700 30%, #fff 50%, #FFD700 70%, transparent); animation: ovStreak 1s .15s ease-out both; }
.ov-cel__streak.top { top: 150px; } .ov-cel__streak.bottom { bottom: 150px; animation-delay: .3s; }
.ov-cel__confetti { position: absolute; inset: 0; overflow: hidden; z-index: 4; }
.ov-cel__confetti i { position: absolute; top: -40px; left: var(--x); width: var(--w); height: calc(var(--w) * 1.7); background: var(--c); transform: rotate(var(--r)); opacity: 0; border-radius: 2px; animation: ovConf var(--t) var(--d) cubic-bezier(.3,.1,.6,1) infinite; }
.ov-cel__burst { position: absolute; width: 0; height: 0; z-index: 2; }
.ov-cel__burst b { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px var(--c); opacity: 0; animation: ovSpark 1.5s calc(.3s + var(--k, 0s)) ease-out both; }

@keyframes ovFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ovCelOut { to { opacity: 0; transform: scale(1.08); } }
@keyframes ovShock { 0% { opacity: .95; transform: scale(.3); } 100% { opacity: 0; transform: scale(5.5); } }
@keyframes ovSlam { 0% { opacity: 0; transform: scale(5) rotate(-6deg); filter: blur(18px); } 55% { opacity: 1; transform: scale(.9) rotate(1deg); filter: none; } 75% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes ovWord { from { opacity: 0; transform: translateY(40px) scale(.6); letter-spacing: .5em; } to { opacity: 1; transform: none; } }
@keyframes ovBandIn { from { opacity: 0; transform: translateX(-120%) skewX(-18deg); } to { opacity: 1; transform: none; } }
@keyframes ovChipPop { from { opacity: 0; transform: translateY(40px) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes ovStreak { 0% { opacity: 0; transform: scaleX(0); } 40% { opacity: 1; } 100% { opacity: .55; transform: scaleX(1); } }
@keyframes ovGlowPulse { from { filter: drop-shadow(0 0 34px rgba(255,200,40,.7)) drop-shadow(0 14px 30px rgba(0,0,0,.75)); } to { filter: drop-shadow(0 0 70px rgba(255,220,90,1)) drop-shadow(0 14px 30px rgba(0,0,0,.75)); } }
@keyframes ovConf { 0% { opacity: 0; transform: translateY(0) rotate(var(--r)); } 8% { opacity: 1; } 100% { opacity: .9; transform: translateY(1160px) rotate(calc(var(--r) + 720deg)); } }
@keyframes ovSpark { 0% { opacity: 1; transform: translate(0, 0) scale(1.3); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }

/* punchier lower-third entrances: overshoot and slam */
@keyframes ovLtIn { 0% { opacity: 0; transform: translateX(-180px) skewX(-10deg); clip-path: inset(0 100% 0 0 round 20px); } 55% { opacity: 1; transform: translateX(16px) skewX(2deg); } 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 20px); } }
@keyframes ovUp { from { opacity: 0; transform: translateY(24px) scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes ovChip { from { opacity: 0; transform: translateY(22px) scale(.7); } 70% { transform: translateY(-3px) scale(1.04); } to { opacity: 1; transform: none; } }
.ov-lt { animation-duration: .9s; }
.ov-lt--wicket .ov-lt__title { animation: ovSlam .7s .15s cubic-bezier(.2,1.5,.35,1) both; }
.ov-lt--newbat .ov-lt__photo { animation: ovPop .8s .2s cubic-bezier(.2,1.5,.4,1) both, ovSpin 6s 1s linear infinite; }

/* engines without color-mix() (older embedded Chromium): plain fallbacks */
@supports not (background: color-mix(in srgb, red, blue)) {
  .ov-lt { box-shadow: 0 26px 60px rgba(0,0,0,.75), 0 0 46px rgba(255,255,255,.12); }
  .ov-lt::before { background: var(--c); }
  .ov-lt::after { background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); }
  .ov-cel__band { background: linear-gradient(100deg, #FFD700, #7a5a00); }
}

/* =====================================================================
   MOMENTS: each one themed through CSS variables (--g1..g3 colours, --ray, --glow, --tc team colour)
   ===================================================================== */
.ov-cel__vignette { background: radial-gradient(circle at 50% 46%, rgba(var(--glow), .30), rgba(0,0,0,.76) 70%); }
.ov-cel__rays { background: repeating-conic-gradient(from 0deg, var(--ray) 0 6deg, transparent 6deg 18deg); }
.ov-cel__ring { border-color: var(--g2); }
.ov-cel__ring.r2 { border-color: #fff; }
.ov-cel__num span { font-size: var(--ns, 430px); background: linear-gradient(180deg, var(--g1) 0%, var(--g2) 42%, var(--g3) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 42px rgba(var(--glow), .85)) drop-shadow(0 14px 30px rgba(0,0,0,.75)); }
@keyframes ovGlowPulse { from { filter: drop-shadow(0 0 30px rgba(var(--glow), .6)) drop-shadow(0 14px 30px rgba(0,0,0,.75)); } to { filter: drop-shadow(0 0 74px rgba(var(--glow), 1)) drop-shadow(0 14px 30px rgba(0,0,0,.75)); } }
.ov-cel__word { text-shadow: 0 0 34px rgba(var(--glow), .95), 0 6px 20px rgba(0,0,0,.85); }
.ov-cel__band { background: linear-gradient(100deg, var(--tc), #12090a); background: linear-gradient(100deg, var(--tc), color-mix(in srgb, var(--tc) 35%, #000)); }
.ov-cel__chips .ov-chip { border-color: rgba(var(--glow), .5); }
.ov-cel__streak { background: linear-gradient(90deg, transparent, var(--g2) 30%, #fff 50%, var(--g2) 70%, transparent); }
.ov-cel__sub { position: relative; z-index: 3; margin-top: 14px; font: 800 30px var(--font-display, sans-serif); letter-spacing: .12em; color: #fff; text-shadow: 0 0 24px rgba(var(--glow), .9); animation: ovWord .6s 1.1s both; }
.ov-cel__crest { position: relative; z-index: 3; margin-top: -60px; animation: ovSlam .95s .22s cubic-bezier(.2,1.5,.35,1) both; filter: drop-shadow(0 0 50px rgba(var(--glow), .8)); }
.ov-cel--team .ov-cel__word:empty { display: none; }
.ov-cel--team .ov-cel__band b { font-size: 74px; }
.ov-cel--win .ov-cel__crest { margin-top: -30px; }
.ov-cel__trophy { position: absolute; right: 12%; top: 24%; z-index: 3; filter: drop-shadow(0 0 40px rgba(255,200,40,.9)); animation: ovSlam 1s .5s cubic-bezier(.2,1.5,.35,1) both, ovGlowPulse 1.4s 1.5s ease-in-out infinite alternate; }

/* FOUR: a ball streaks across to the rope */
.ov-cel__ball { position: absolute; left: 0; top: 0; width: 96px; height: 96px; border-radius: 50%; z-index: 5;
  background: radial-gradient(circle at 34% 30%, #fff 0 22%, #e8e8ef 55%, #9aa0ae 100%); box-shadow: 0 0 60px rgba(255,255,255,.9), 0 0 120px rgba(var(--glow), .8); }
.ov-cel__ball::after { content: ""; position: absolute; right: 60%; top: 24%; width: 620px; height: 48px; border-radius: 50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.9)); filter: blur(8px); }
.ov-cel__ball.is-four { animation: ovBallFour 1.15s .12s cubic-bezier(.25,.7,.3,1) both; }
.ov-cel__ball.is-six { animation: ovBallSix 1.7s .1s cubic-bezier(.4,0,.8,.6) both; }
.ov-cel__ball.is-six::after { right: auto; top: 90%; left: 20%; width: 48px; height: 520px; background: linear-gradient(0deg, rgba(255,255,255,.9), transparent); }
.ov-cel__rope { position: absolute; right: 0; top: 0; bottom: 0; width: 14px; z-index: 4; background: linear-gradient(180deg, transparent, var(--g2), #fff, var(--g2), transparent); box-shadow: 0 0 60px rgba(var(--glow), 1); opacity: 0; animation: ovRope 1.4s .9s ease-out both; }
@keyframes ovBallFour { 0% { transform: translate(-160px, 760px) scale(.5) rotate(0); opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(1900px, 330px) scale(1.15) rotate(900deg); opacity: 0; } }
@keyframes ovBallSix { 0% { transform: translate(900px, 980px) scale(.45); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(900px, 280px) scale(9); opacity: 0; } }
@keyframes ovRope { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

/* WICKET: red flash, cracked glass, flying stumps and bails */
.ov-cel--wicket .ov-cel__vignette { background: radial-gradient(circle at 50% 46%, rgba(160,10,20,.45), rgba(0,0,0,.84) 72%); }
.ov-cel__flash { position: absolute; inset: 0; z-index: 6; background: #ff2d2d; opacity: 0; animation: ovRedFlash .8s .12s ease-out both; mix-blend-mode: screen; }
.ov-cel__crack { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; opacity: 0; animation: ovCrack 1.8s .15s ease-out both; filter: drop-shadow(0 0 10px rgba(255,255,255,.9)); }
.ov-cel__stumps { position: absolute; left: 50%; bottom: 120px; width: 220px; height: 320px; margin-left: -110px; z-index: 2; }
.ov-cel__stumps .st { position: absolute; bottom: 0; width: 22px; height: 300px; border-radius: 6px 6px 2px 2px; background: linear-gradient(90deg, #f6e7b4, #b89b55); box-shadow: 0 0 30px rgba(255,255,255,.25); }
.ov-cel__stumps .s1 { left: 20px; animation: ovStumpL 1.4s .55s cubic-bezier(.2,.8,.3,1) both; }
.ov-cel__stumps .s2 { left: 99px; animation: ovStumpM 1.4s .5s cubic-bezier(.2,.8,.3,1) both; }
.ov-cel__stumps .s3 { left: 178px; animation: ovStumpR 1.4s .6s cubic-bezier(.2,.8,.3,1) both; }
.ov-cel__stumps .bl { position: absolute; top: 14px; width: 80px; height: 12px; border-radius: 6px; background: #fff3c4; z-index: 3; }
.ov-cel__stumps .b1 { left: 28px; animation: ovBailA 1.5s .5s ease-out both; } .ov-cel__stumps .b2 { left: 108px; animation: ovBailB 1.5s .5s ease-out both; }
@keyframes ovRedFlash { 0% { opacity: .85; } 100% { opacity: 0; } }
@keyframes ovCrack { 0% { opacity: 0; } 8% { opacity: 1; } 60% { opacity: .8; } 100% { opacity: 0; } }
@keyframes ovStumpL { to { transform: translate(-260px, 40px) rotate(-62deg); opacity: 0; } }
@keyframes ovStumpM { to { transform: translate(40px, -180px) rotate(14deg); opacity: 0; } }
@keyframes ovStumpR { to { transform: translate(280px, 30px) rotate(58deg); opacity: 0; } }
@keyframes ovBailA { to { transform: translate(-200px, -380px) rotate(-540deg); opacity: 0; } }
@keyframes ovBailB { to { transform: translate(220px, -420px) rotate(620deg); opacity: 0; } }

/* FREE HIT: hazard tape and a pulsing word */
.ov-cel__hazard { position: absolute; left: -10%; right: -10%; height: 84px; z-index: 4; background: repeating-linear-gradient(45deg, #ff2bd6 0 28px, #14061a 28px 56px); background-size: 79px 79px; animation: ovHazard 1.2s linear infinite, ovFadeIn .4s both; box-shadow: 0 0 50px rgba(255,43,214,.7); }
.ov-cel__hazard.top { top: 170px; transform: rotate(-2deg); } .ov-cel__hazard.bottom { bottom: 170px; transform: rotate(2deg); animation-direction: reverse, normal; }
.ov-cel__hazardword { position: relative; z-index: 5; animation: ovSlam .8s .2s cubic-bezier(.2,1.5,.35,1) both; }
.ov-cel__hazardword span { display: block; font: 900 250px/1 var(--font-display, sans-serif); letter-spacing: .04em; color: #fff; text-shadow: 0 0 40px #ff2bd6, 0 0 90px #ff2bd6, 0 12px 30px rgba(0,0,0,.8); animation: ovHitPulse .5s .9s ease-in-out infinite alternate; }
@keyframes ovHazard { to { background-position: 79px 0; } }
@keyframes ovHitPulse { from { transform: scale(1); } to { transform: scale(1.045); } }

/* INNINGS SUMMARY */
.fs--innings { padding: 36px 44px; }
.ov-sum { --tc: #ff3366; display: flex; flex-direction: column; gap: 22px; }
.ov-sum__head { display: flex; align-items: center; gap: 34px; padding: 18px 26px; border-radius: 18px; background: linear-gradient(100deg, rgba(255,255,255,.07), transparent); border-left: 10px solid var(--tc); animation: ovBandIn .7s .15s cubic-bezier(.16,1,.3,1) both; }
.ov-sum__score h1 { margin: 0; font: 900 40px/1 var(--font-display, sans-serif); text-transform: uppercase; color: #fff; letter-spacing: .03em; }
.ov-sum__score b { display: block; font: 900 130px/1 var(--font-display, sans-serif); color: #FFD700; text-shadow: 0 0 40px rgba(255,200,40,.5); } .ov-sum__score b i { font-style: normal; font-size: 70px; color: #fff; opacity: .8; }
.ov-sum__score span { font: 600 22px var(--font-body, sans-serif); color: #cfcfda; }
.ov-sum__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.ov-sum__col { padding: 18px 24px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.ov-sum__col > small { display: block; font: 800 13px var(--font-body, sans-serif); letter-spacing: .24em; color: #9d9dab; margin-bottom: 12px; }
.ov-sum__row { margin-bottom: 14px; animation: ovRow .55s calc(.5s + var(--i, 0) * .12s) both; }
.ov-sum__rowtop { display: flex; justify-content: space-between; align-items: baseline; }
.ov-sum__rowtop b { font: 800 28px var(--font-display, sans-serif); color: #fff; text-transform: uppercase; }
.ov-sum__rowtop span { font: 900 34px var(--font-display, sans-serif); color: #FFD700; } .ov-sum__rowtop i { font: 600 20px var(--font-body, sans-serif); color: #aaa; font-style: normal; }
.ov-sum__bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,.1); margin: 6px 0 4px; overflow: hidden; } .ov-sum__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--tc), #FFD700); transform-origin: left; animation: ovGrow .9s .8s both; border-radius: 6px; }
.ov-sum__row em { font: 600 16px var(--font-body, sans-serif); color: #9d9dab; font-style: normal; }
.ov-sum__none { color: #8d8da0; font-size: 18px; }
.ov-sum__target { display: flex; align-items: baseline; justify-content: center; gap: 18px; padding: 16px 24px; border-radius: 16px; background: linear-gradient(100deg, rgba(255,51,102,.35), rgba(255,51,102,.12)); border: 1px solid rgba(255,51,102,.55); animation: ovPop .7s 1.1s cubic-bezier(.2,1.4,.4,1) both; }
.ov-sum__target span { font: 800 24px var(--font-display, sans-serif); letter-spacing: .14em; color: #fff; } .ov-sum__target b { font: 900 76px/1 var(--font-display, sans-serif); color: #FFD700; }
.ov-sum__target.is-result b { font-size: 46px; color: #fff; }

.ov-sum__rowtop { gap: 22px; }

/* ===== Scorebug, rebuilt to the broadcast deck: top-right panel, bottom-left score pill, event logo top-left ===== */
.overlay-scorebug-layer { position: absolute; inset: 0; left: 0; right: 0; bottom: 0; transform: none; display: block; pointer-events: none; }
.ob { position: absolute; inset: 0; font-family: var(--font-display, 'Barlow Condensed', sans-serif); color: #fff; text-transform: uppercase; }
.ob-event { position: absolute; left: 60px; top: 48px; height: 118px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.ob-panel { position: absolute; right: 56px; top: 48px; width: 420px; border-radius: 30px; overflow: hidden; border: 3px solid var(--tc); background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.ob-head { display: flex; align-items: center; justify-content: center; gap: 10px; height: 62px; background: #000; font-size: 40px; font-weight: 800; letter-spacing: .06em; }
.ob-head img { height: 34px; width: auto; }
.ob-body { background: rgba(58,56,60,.96); padding: 12px 24px 14px; }
.ob-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 31px; font-weight: 600; line-height: 1.5; position: relative; }
.ob-row b { font-weight: 700; } .ob-row small { font-size: .85em; font-weight: 500; opacity: .85; }
.ob-row.is-strike::before { content: ""; position: absolute; left: -17px; top: 50%; border: 8px solid transparent; border-left: 12px solid var(--tc); transform: translateY(-50%); }
.ob-bowl { border-top: 1px solid rgba(255,255,255,.18); margin-top: 4px; padding-top: 4px; }
.ob-need { text-align: center; font-size: 40px; font-weight: 800; letter-spacing: .04em; border-top: 1px solid rgba(255,255,255,.18); margin-top: 6px; padding-top: 6px; color: var(--tc); }
.ob-ball { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; gap: 8px; padding: 10px 26px 12px; background: #000; border: 3px solid var(--tc); border-top: 0; border-radius: 0 0 22px 22px; min-height: 58px; align-items: center; }
.ob-ball:empty { display: none; }
.ob-score { position: absolute; left: 70px; bottom: 56px; display: flex; align-items: flex-end; }
.ob-crest { width: 120px; height: 120px; margin-right: -26px; position: relative; z-index: 2; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.ob-crest .crest { width: 120px !important; height: 120px !important; }
.ob-pill { display: grid; background: #000; border: 3px solid var(--tc); border-radius: 36px; padding: 6px 40px 6px 44px; min-width: 250px; margin-bottom: 8px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.ob-face { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.ob-face b { font-size: 58px; font-weight: 800; letter-spacing: .02em; }
.ob-face small { font-size: 24px; font-weight: 600; letter-spacing: .08em; opacity: .9; padding-bottom: 4px; }
.ob-f1 { animation: ob-a 14s infinite; } .ob-f2 { animation: ob-b 14s infinite; }
@keyframes ob-a { 0%,42% { opacity: 1; } 50%,92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ob-b { 0%,42% { opacity: 0; } 50%,92% { opacity: 1; } 100% { opacity: 0; } }
.ob-power { position: absolute; right: 60px; bottom: 56px; width: 150px; height: 150px; border-radius: 34px; border: 3px solid var(--tc); background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: .95; font-style: italic; font-weight: 800; transform: rotate(-4deg); }
.ob-power span { font-size: 44px; } .ob-power b { font-size: 46px; color: var(--tc); }
.ob-ball { flex-direction: column; gap: 6px; align-items: center; padding: 8px 26px 14px; }
.ob-ball__head { display: flex; gap: 14px; align-items: baseline; font-size: 24px; letter-spacing: .1em; font-weight: 700; }
.ob-ball__head b { color: var(--tc); font-size: 28px; } .ob-ball__head span { opacity: .75; font-size: 20px; }
.ob-ball__dots { display: flex; gap: 8px; }
.ob .scorebug-ball-dot { width: 40px; height: 40px; font-size: 20px; }
.ob .ob-empty { background: transparent !important; border: 2px dashed rgba(255,255,255,.3) !important; box-shadow: none; }
.ob-ball:empty { display: none; }
