/* Broadcast overlay for vMix / OBS, 1920 x 1080, transparent background.
   Every theme is a set of colour variables plus a shape (slant, pill, rounded, flat, glass).
   Themes are original designs inspired by tournament broadcast looks; no official logos. */

body {
  --font: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --bar-bg: #0b1220; --bar-fg: #fff; --mid-bg: #16213a; --muted: #9fb0c9;
  --score-bg: #fff; --score-fg: #0b1220;
  --acc: #ffc400; --acc2: #ff4081;
  --strip-bg: var(--acc); --strip-fg: #0b1220;
  --card-bg: rgba(11, 18, 32, .96); --head-bg: var(--acc); --head-fg: #0b1220; --row-alt: rgba(255,255,255,.04);
  --four: #2979ff; --six: #7c4dff; --wkt: #ff1744;
  --radius: 10px;
  --bat: #1e88e5; --bowlc: #e53935;
}

html, body { margin: 0; width: 1920px; height: 1080px; overflow: hidden; background: transparent; font-family: var(--font); color: var(--bar-fg); }
body.green { background: #00b140; }
.fade { transition: opacity .45s ease, transform .45s ease; }
.hide { opacity: 0 !important; transform: translateY(40px); pointer-events: none; }

/* ---------- Status tag ---------- */
#status { position: absolute; left: 60px; top: 50px; padding: 8px 22px; font-size: 30px; font-weight: 800; letter-spacing: 2px; background: var(--bar-bg); border-left: 8px solid var(--acc); border-radius: var(--radius); }
#status .dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--wkt); margin-right: 12px; animation: blink 1.2s infinite; vertical-align: middle; }
#status.hide { transform: translateY(-20px); }
@keyframes blink { 50% { opacity: .2; } }

/* ---------- Score bar ---------- */
#bug { position: absolute; left: 60px; right: 60px; bottom: 50px; }
#bar { display: flex; height: 96px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.45); background: var(--bar-bg); }
.team { width: 170px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 44px; font-weight: 800; letter-spacing: 1px; background: var(--bat); }
.team img { height: 64px; width: 64px; object-fit: contain; }
.score { width: 250px; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; background: var(--score-bg); color: var(--score-fg); }
.score .runs { font-size: 60px; font-weight: 800; line-height: .95; }
.score .ov { font-size: 24px; font-weight: 600; opacity: .8; }
.bats { flex: 1.25; display: flex; flex-direction: column; justify-content: center; padding: 0 26px; gap: 2px; border-right: 2px solid rgba(255,255,255,.08); }
.bat { display: flex; justify-content: space-between; align-items: center; font-size: 30px; font-weight: 600; line-height: 1.15; opacity: .78; }
.bat.on { opacity: 1; }
.bat.on .nm::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); margin-right: 10px; vertical-align: middle; }
.bat .r { font-weight: 800; } .bat .bl { font-weight: 500; color: var(--muted); font-size: 24px; margin-left: 6px; }
.bowl { flex: 1.2; display: flex; flex-direction: column; justify-content: center; padding: 0 26px; gap: 6px; background: var(--mid-bg); }
.bowl .top { display: flex; justify-content: space-between; font-size: 30px; font-weight: 600; }
.bowl .top .fig { font-weight: 800; }
.balls { display: flex; gap: 6px; }
.ball { min-width: 32px; height: 32px; padding: 0 5px; box-sizing: border-box; border-radius: 16px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; font-family: 'Barlow Condensed', sans-serif; }
.ball.four { background: var(--four); } .ball.six { background: var(--six); } .ball.w { background: var(--wkt); } .ball.ex { color: var(--acc); }
.bowlteam { width: 130px; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; background: var(--bowlc); }
.bowlteam img { height: 56px; width: 56px; object-fit: contain; }
#strip { margin: 0 auto; width: max-content; max-width: 100%; background: var(--strip-bg); color: var(--strip-fg); font-size: 28px; font-weight: 700; padding: 4px 28px; border-radius: 0 0 var(--radius) var(--radius); letter-spacing: .5px; text-transform: uppercase; }
#strip:empty { display: none; }
#strip b { font-weight: 800; }
#strip .sep { opacity: .5; margin: 0 12px; }
#banner { margin: 0 auto 10px; width: max-content; background: var(--bar-bg); border-left: 8px solid var(--acc); font-size: 34px; font-weight: 800; padding: 6px 28px; letter-spacing: 2px; text-transform: uppercase; border-radius: var(--radius); }
#banner:empty { display: none; }

/* ---------- Lower third (pop-ups and small graphics) ---------- */
#lower { position: absolute; left: 60px; bottom: 210px; display: flex; align-items: stretch; min-width: 760px; max-width: 1500px; background: var(--card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
#lower.hide { transform: translateX(-60px); }
#lower .ph { width: 190px; flex: none; background: linear-gradient(160deg, var(--tc, var(--bat)), rgba(0,0,0,.6)); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
#lower .ph img { width: 190px; height: 190px; object-fit: cover; }
#lower .ph .ini { font-size: 80px; font-weight: 800; align-self: center; opacity: .9; }
#lower .bd { padding: 16px 34px 18px; display: flex; flex-direction: column; justify-content: center; min-height: 158px; }
#lower .tag { display: inline-block; align-self: flex-start; background: var(--acc); color: var(--strip-fg); font-size: 26px; font-weight: 800; letter-spacing: 3px; padding: 2px 16px; border-radius: 6px; margin-bottom: 6px; }
#lower .tag.w { background: var(--wkt); color: #fff; } #lower .tag.four { background: var(--four); color: #fff; } #lower .tag.six { background: var(--six); color: #fff; }
#lower .nm { font-size: 64px; font-weight: 800; line-height: 1; text-transform: uppercase; }
#lower .nm small { font-size: 34px; color: var(--muted); font-weight: 600; margin-left: 12px; }
#lower .st { font-size: 34px; font-weight: 600; margin-top: 8px; color: #e6ecf5; }
#lower .st b { font-size: 40px; color: #fff; }
#lower .sub { font-size: 26px; color: var(--muted); margin-top: 4px; }
#lower .chips { display: flex; gap: 10px; margin-top: 10px; }
#lower .chips .ball { min-width: 48px; height: 48px; border-radius: 24px; font-size: 26px; }
#lower .cols { display: flex; gap: 40px; margin-top: 8px; font-size: 32px; font-weight: 600; }
#lower .cols div b { display: block; font-size: 46px; }
#lower .cols div span { font-size: 22px; color: var(--muted); }

/* Big boundary / wicket flash */
#flash { position: absolute; left: 0; right: 0; bottom: 230px; display: flex; justify-content: center; pointer-events: none; }
#flash .box { font-size: 150px; font-weight: 800; letter-spacing: 12px; padding: 0 70px; border-radius: 16px; transform: scale(.4); opacity: 0; text-shadow: 0 6px 24px rgba(0,0,0,.4); }
#flash .box.show { animation: pop 2.4s ease forwards; }
#flash .four { background: linear-gradient(90deg, var(--four), var(--acc2)); }
#flash .six { background: linear-gradient(90deg, var(--six), var(--acc2)); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 12% { transform: scale(1.08); opacity: 1; } 20% { transform: scale(1); } 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }

/* ---------- Full-screen cards ---------- */
.card { position: absolute; left: 50%; top: 90px; width: 1240px; margin-left: -620px; background: var(--card-bg); border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: 0 12px 50px rgba(0,0,0,.5); }
.card.hide { transform: translateY(30px); }
.card .head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 34px; background: var(--head-bg); color: var(--head-fg); font-size: 42px; font-weight: 800; text-transform: uppercase; }
.card .head img { height: 60px; }
.card .head .s { font-size: 26px; font-weight: 600; opacity: .85; text-transform: none; }
.card table { width: 100%; border-collapse: collapse; font-size: 30px; }
.card th { text-align: right; color: var(--muted); font-weight: 600; font-size: 22px; padding: 10px 34px 6px; text-transform: uppercase; }
.card th:first-child, .card td:first-child { text-align: left; }
.card td { padding: 7px 34px; text-align: right; border-top: 1px solid rgba(255,255,255,.06); }
.card tr:nth-child(even) td { background: var(--row-alt); }
.card td .how { font-size: 22px; color: var(--muted); margin-left: 14px; }
.card td .pic { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; vertical-align: middle; margin-right: 14px; background: rgba(255,255,255,.1); }
.card tr.on td { background: rgba(255,196,0,.14); }
.card td.b { font-weight: 800; }
.card .foot { display: flex; justify-content: space-between; padding: 14px 34px; background: var(--mid-bg); font-size: 28px; font-weight: 600; }
.card .body { padding: 22px 34px; font-size: 32px; }
.card .big { font-size: 64px; font-weight: 800; }
.card .result { background: var(--strip-bg); color: var(--strip-fg); text-align: center; font-size: 42px; font-weight: 800; padding: 14px; text-transform: uppercase; }
.sum .inn { display: flex; justify-content: space-between; align-items: center; padding: 20px 34px; font-size: 44px; font-weight: 800; border-top: 1px solid rgba(255,255,255,.08); }
.sum .inn .tm { display: flex; align-items: center; gap: 18px; }
.sum .inn .sw { width: 18px; height: 54px; border-radius: 4px; }
.sum .inn .tm img { height: 56px; }
.sum .inn .ov { font-size: 30px; color: var(--muted); font-weight: 600; margin-left: 12px; }
.sum .tops { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 0 34px 16px; font-size: 26px; color: #c7d2e4; }
.sum .tops div { display: flex; justify-content: space-between; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 40px 34px; text-align: center; }
.vs .t img { height: 180px; }
.vs .t .sw { width: 180px; height: 180px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-size: 70px; font-weight: 800; }
.vs .t .n { font-size: 46px; font-weight: 800; margin-top: 14px; text-transform: uppercase; }
.vs .x { font-size: 70px; font-weight: 800; color: var(--acc); }
.xi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 34px; }
.xi .p { text-align: center; }
.xi .p img, .xi .p .ini { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 4px solid var(--acc); background: rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; }
.xi .p .n { font-size: 26px; font-weight: 700; margin-top: 6px; }
.xi .p .r { font-size: 20px; color: var(--muted); }
.pill { background: var(--acc); color: var(--strip-fg); border-radius: 6px; padding: 0 8px; font-size: 20px; margin-left: 6px; vertical-align: middle; }
.potm { display: flex; align-items: center; gap: 30px; padding: 24px 34px; border-top: 1px solid rgba(255,255,255,.08); }
.potm img, .potm .ini { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--acc); display: inline-flex; align-items: center; justify-content: center; font-size: 50px; font-weight: 800; background: rgba(255,255,255,.08); }
.potm .lbl { font-size: 26px; color: var(--acc); font-weight: 800; letter-spacing: 3px; }
.potm .n { font-size: 54px; font-weight: 800; text-transform: uppercase; }
.potm .f { font-size: 32px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 340px 1fr; gap: 10px 20px; padding: 26px 34px; font-size: 34px; }
.kv div:nth-child(odd) { color: var(--muted); }

/* =====================================================================
   SHAPES
   ===================================================================== */
body.s-slant #bar, body.s-slant #lower { border-radius: 0; clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); box-shadow: none; }
body.s-slant .score { clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
body.s-slant .team { padding-left: 18px; }
body.s-slant .ball { border-radius: 4px; transform: skewX(-10deg); }
body.s-slant #strip { border-radius: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 14px 100%); padding: 2px 40px; }
body.s-slant #banner, body.s-slant #status { border-radius: 0; transform: skewX(-8deg); }
body.s-slant .card { border-radius: 0; clip-path: polygon(30px 0, 100% 0, calc(100% - 30px) 100%, 0 100%); }
body.s-slant .card .head, body.s-slant .card td:first-child, body.s-slant .card th:first-child { padding-left: 54px; }
body.s-slant #flash .box, body.s-slant #lower .tag { border-radius: 0; transform: skewX(-10deg); }

body.s-pill #bug { left: 110px; right: 110px; }
body.s-pill #bar { border-radius: 48px; border: 3px solid var(--acc); box-shadow: 0 0 0 6px color-mix(in srgb, var(--acc) 25%, transparent), 0 10px 30px rgba(0,0,0,.4); }
body.s-pill .score { border-radius: 0 44px 44px 0; margin-right: 10px; }
body.s-pill #strip { border-radius: 0 0 22px 22px; }
body.s-pill #lower { border-radius: 100px 30px 30px 100px; border: 3px solid var(--acc); }
body.s-pill #lower .ph { border-radius: 100px; margin: 10px; width: 170px; height: 170px; align-self: center; }
body.s-pill #lower .ph img { width: 170px; height: 170px; }
body.s-pill .card { border: 3px solid var(--acc); border-radius: 30px; }
body.s-pill #banner, body.s-pill #status { border: 3px solid var(--acc); border-radius: 30px; }
body.s-pill #flash .box { border-radius: 90px; border: 6px solid #fff; }

body.s-flat #bar, body.s-flat #lower, body.s-flat .card, body.s-flat #status, body.s-flat #banner { border-radius: 0; }
body.s-flat #bar, body.s-flat .card, body.s-flat #lower { border-top: 6px solid var(--acc); }
body.s-flat #strip { border-radius: 0; }

body.s-glass #bar, body.s-glass #lower, body.s-glass .card { background: color-mix(in srgb, var(--bar-bg) 82%, transparent); backdrop-filter: blur(12px); box-shadow: 0 0 30px color-mix(in srgb, var(--acc) 45%, transparent), inset 0 0 0 2px rgba(255,255,255,.08); }
body.s-glass #bar { position: relative; overflow: visible; border-radius: 18px; }
body.s-glass #bar::before { content: ''; position: absolute; left: 0; right: 0; top: -4px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--acc), var(--acc2), var(--acc)); background-size: 200% 100%; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: 200% 0; } }
body.s-glass .team { border-radius: 18px 0 0 18px; font-style: italic; }
body.s-glass .bowlteam { border-radius: 0 18px 18px 0; font-style: italic; }
body.s-glass .score .runs { font-style: italic; }
body.s-glass .ball { background: transparent; border: 2px solid rgba(255,255,255,.4); }
body.s-glass .ball.four, body.s-glass .ball.six, body.s-glass .ball.w { border-color: transparent; box-shadow: 0 0 10px currentColor; }
body.s-glass #strip { margin-top: 8px; border-radius: 30px; background: color-mix(in srgb, var(--bar-bg) 85%, transparent); color: #fff; border: 1px solid var(--acc); }
body.s-glass #lower .tag { box-shadow: 0 0 16px var(--acc); }

/* =====================================================================
   THEMES (palettes)
   ===================================================================== */
body.t-ipl19 { --font: 'Oswald', sans-serif; --bar-bg: linear-gradient(180deg, #0d2f7e, #071a45); --mid-bg: #0a2462; --score-bg: linear-gradient(135deg, #ffd000, #f5a400); --score-fg: #0b1a45; --acc: #ffcc00; --acc2: #ff4f00; --head-bg: linear-gradient(90deg, #ffd000, #f5a400); --head-fg: #0b1a45; --card-bg: rgba(8,26,72,.96); --four: #ff6a00; --six: #e5007e; }
body.t-ipl23 { --font: 'Exo 2', sans-serif; --bar-bg: linear-gradient(180deg, #1f2a8a, #0b1250); --mid-bg: #161f6e; --score-bg: linear-gradient(135deg, #ff4081, #ff9100); --score-fg: #fff; --acc: #ff4081; --acc2: #ff9100; --head-bg: linear-gradient(90deg, #ff4081, #ff9100); --head-fg: #fff; --strip-fg: #fff; --card-bg: rgba(11,18,80,.96); --radius: 14px; --four: #ff9100; --six: #ff4081; }
body.t-ipl26 { --font: 'Exo 2', sans-serif; --bar-bg: #0a0819; --mid-bg: transparent; --score-bg: linear-gradient(135deg, #7c3aed, #06b6d4); --score-fg: #fff; --acc: #22d3ee; --acc2: #ec4899; --head-bg: linear-gradient(90deg, #7c3aed, #06b6d4); --head-fg: #fff; --strip-fg: #fff; --card-bg: rgba(10,8,25,.9); --muted: #a5b4fc; --four: #06b6d4; --six: #7c3aed; --wkt: #ec4899; }
body.t-asia25 { --font: 'Rajdhani', sans-serif; --bar-bg: linear-gradient(90deg, #00332e, #004d40 60%, #00332e); --mid-bg: transparent; --score-bg: #fff; --score-fg: #004d40; --acc: #1de9b6; --acc2: #ff4081; --head-bg: linear-gradient(90deg, #00897b, #004d40); --head-fg: #fff; --strip-bg: linear-gradient(90deg, #ff4081, #f50057); --strip-fg: #fff; --card-bg: rgba(0,51,46,.97); --muted: #80cbc4; --four: #00bfa5; --six: #ff4081; --wkt: #d50000; }

/* =====================================================================
   ANIMATIONS
   Elements get .enter for a moment when they appear (see show() in overlay.js),
   so content that refreshes every ball does not replay its entrance.
   Keyframes with only a "from" step end on the element's own transform,
   so the skewed shapes of the slant themes are kept.
   ===================================================================== */
body { --pop: cubic-bezier(.2, .9, .3, 1.25); --glide: cubic-bezier(.2, .8, .2, 1); --swing: cubic-bezier(.7, 0, .2, 1); }

/* ---------- Bottom ticker ---------- */
#bug.fade { transition: opacity .5s ease; }
#bug.hide { transform: none; }
#bar { transform-origin: center; transition: transform .6s var(--swing); }
#bug.hide #bar { transform: scaleX(.04); }
#bug.enter #bar > * { animation: segIn .55s var(--glide) both; }
#bug.enter #bar > :nth-child(1) { animation-delay: .35s; }
#bug.enter #bar > :nth-child(2) { animation-delay: .42s; }
#bug.enter #bar > :nth-child(3) { animation-delay: .5s; }
#bug.enter #bar > :nth-child(4) { animation-delay: .58s; }
#bug.enter #bar > :nth-child(5) { animation-delay: .66s; }
#bug.enter #strip { animation: dropIn .5s .8s var(--glide) both; }
#bug.enter #banner { animation: dropIn .5s .1s var(--glide) both; }
@keyframes segIn { from { opacity: 0; transform: translateY(100%); } }
@keyframes dropIn { from { opacity: 0; transform: translateY(-24px); } }

/* Score box: a light sweep every few seconds, and a reaction when the score moves */
.score { position: relative; overflow: hidden; }
.score::after { content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.6), transparent); animation: shine 8s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 82% { left: -80%; } 100% { left: 130%; } }
.score.bump .runs, .score.big .runs { animation: bump .55s var(--pop); }
.score.big { animation: bigFlash 1s ease; }
.score.wk { animation: wkFlash 1.3s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
@keyframes bigFlash { 25% { background: var(--acc); color: var(--strip-fg); } }
@keyframes wkFlash { 12%, 42% { background: var(--wkt); color: #fff; } 27% { background: var(--score-bg); } }
.bat .r { display: inline-block; }
.bat .r.bump { animation: bump .55s var(--pop); }
.bat.newbat { animation: slideIn .6s var(--glide); }
.bowl.swap { animation: fadeUp .6s var(--glide); }
.ball.new { animation: ballPop .5s var(--pop); }
@keyframes ballPop { from { transform: scale(0); opacity: 0; } 70% { transform: scale(1.3); opacity: 1; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }

/* Rotating slot on the ticker strip */
#strip { overflow: hidden; }
#strip .tick { display: inline-block; }
#strip .tick.roll { animation: roll .55s var(--glide); }
#banner.roll { animation: dropIn .5s var(--glide); }
@keyframes roll { from { opacity: 0; transform: translateY(110%); } }

/* ---------- Status tag ---------- */
#status.fade { transition: opacity .4s ease, transform .4s var(--swing); }
#status.hide { transform: translateX(-60px); }
#status.enter { animation: tagIn .65s var(--pop) both; }
@keyframes tagIn { from { opacity: 0; transform: translateX(-120%); } }

/* ---------- Lower thirds (pop-ups and graphics) ---------- */
#lower.fade { transition: opacity .45s ease, transform .5s var(--swing); }
#lower.hide { transform: translateX(-80px); }
#lower.enter .ph { animation: phIn .6s var(--glide) both; }
#lower.enter .ph img, #lower.enter .ph .ini { animation: zoomIn .9s .15s var(--glide) both; }
#lower.enter .bd > * { animation: textIn .5s var(--glide) both; }
#lower.enter .bd > :nth-child(1) { animation-delay: .25s; }
#lower.enter .bd > :nth-child(2) { animation-delay: .33s; }
#lower.enter .bd > :nth-child(3) { animation-delay: .41s; }
#lower.enter .bd > :nth-child(4) { animation-delay: .49s; }
#lower.enter .bd > :nth-child(5) { animation-delay: .57s; }
#lower.enter .chips .ball { animation: ballPop .45s var(--pop) both; }
#lower.enter .chips .ball:nth-child(1) { animation-delay: .5s; } #lower.enter .chips .ball:nth-child(2) { animation-delay: .56s; }
#lower.enter .chips .ball:nth-child(3) { animation-delay: .62s; } #lower.enter .chips .ball:nth-child(4) { animation-delay: .68s; }
#lower.enter .chips .ball:nth-child(5) { animation-delay: .74s; } #lower.enter .chips .ball:nth-child(6) { animation-delay: .8s; }
#lower.enter .chips .ball:nth-child(n+7) { animation-delay: .86s; }
#lower.enter::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); animation: sweep 1.1s .45s ease-out both; pointer-events: none; }
@keyframes phIn { from { transform: translateX(-100%); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(1.35); } }
@keyframes textIn { from { opacity: 0; transform: translateX(-40px); } }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Full-screen cards ---------- */
.card.fade { transition: opacity .45s ease, transform .5s var(--swing); }
.card.hide { transform: translateY(30px) scale(.97); }
.card.enter { animation: cardIn .6s var(--glide); }
.card.enter .head { animation: headIn .55s .1s var(--glide) both; }
.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .tops > div { animation: rowIn .45s var(--glide) both; }
.card.enter .xi .p { animation: popIn .5s var(--pop) both; }
.card.enter .foot, .card.enter .result, .card.enter .potm, .card.enter .body { animation: rowIn .5s .75s var(--glide) both; }
.card.enter .vs .t:first-child { animation: fromLeft .7s .25s var(--glide) both; }
.card.enter .vs .t:last-child { animation: fromRight .7s .25s var(--glide) both; }
.card.enter .vs .x { animation: popIn .6s .6s var(--pop) both; }
@keyframes cardIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes headIn { from { opacity: 0; transform: translateY(-100%); } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-36px); } }
@keyframes popIn { from { opacity: 0; transform: scale(.5); } }
@keyframes fromLeft { from { opacity: 0; transform: translateX(-160px); } }
@keyframes fromRight { from { opacity: 0; transform: translateX(160px); } }
body.s-slant .card.enter { animation: none; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(1) { animation-delay: 0.27s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(2) { animation-delay: 0.32s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(3) { animation-delay: 0.37s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(4) { animation-delay: 0.42s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(5) { animation-delay: 0.47s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(6) { animation-delay: 0.52s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(7) { animation-delay: 0.57s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(8) { animation-delay: 0.62s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(9) { animation-delay: 0.67s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(10) { animation-delay: 0.72s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(11) { animation-delay: 0.77s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(12) { animation-delay: 0.82s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(13) { animation-delay: 0.87s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(14) { animation-delay: 0.92s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(15) { animation-delay: 0.97s; }
:is(.card.enter tr, .card.enter .inn, .card.enter .kv > div, .card.enter .xi .p, .card.enter .tops > div):nth-child(16) { animation-delay: 1.02s; }

/* Big boundary / wicket flash: a ring bursts out behind the word */
#flash .box { position: relative; }
#flash .box.show::before { content: ''; position: absolute; inset: -10px; border-radius: inherit; border: 6px solid var(--acc); animation: ring .9s .1s ease-out both; pointer-events: none; }
@keyframes ring { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.5); } }

/* ---------- Text ---------- */
/* Digits that change roll in like an odometer. */
.ch { display: inline-block; animation: chRoll .5s var(--pop); }
@keyframes chRoll { from { opacity: 0; transform: translateY(-80%) scale(.8); } }
/* Letters appear one after another (each has --i, its position). */
.ltr { display: inline-block; animation: ltrIn .45s calc(var(--d, 0s) + var(--i) * 28ms) var(--glide) both; }
@keyframes ltrIn { from { opacity: 0; transform: translateY(55%) rotateX(80deg); filter: blur(4px); } }
#lower .tag .ltr { animation-name: ltrFade; }
@keyframes ltrFade { from { opacity: 0; } }

/* =====================================================================
   BROADCAST PACK: moments, stat sheets, top ticker, brand bar, corner logo, clock
   ===================================================================== */
body { --sh-bg: rgba(8, 13, 34, .94); --sh-line: rgba(255,255,255,.08); --sh-red: #e3262f; --sh-gold: var(--acc); --sh-sky: #4fc3f7; --big: 'Archivo Black', 'Barlow Condensed', sans-serif; }

/* Free hit on the bottom ticker */
.bowl.freehit .balls::after { content: 'FREE HIT'; display: flex; align-items: center; padding: 0 12px; border-radius: 16px; background: var(--acc); color: #0b1220; font-size: 19px; font-weight: 800; letter-spacing: 1px; animation: blink 1s infinite; }

/* Hide the bottom ticker while a moment or a sheet with the brand bar is up */
#bug { transition: opacity .35s ease, transform .45s ease; }
body.moment-on #bug, body.bar-on #bug, body.sheet-on #bug { opacity: 0; transform: translateY(40px); }
body.moment-on #lower { opacity: 0; }
body.corner-on #status { top: 200px; }

/* ---------- Moments: FOUR / SIX / OUT / NO BALL / WIDE ---------- */
#moment { position: absolute; inset: 0; pointer-events: none; --mc: var(--four); --mc2: #82b1ff; }
#moment.hide { display: none; }
#moment.m-six { --mc: var(--six); --mc2: var(--acc); }
#moment.m-wicket { --mc: var(--sh-red); --mc2: #ff8a80; }
#moment.m-noBall { --mc: #ff6d00; --mc2: #ffd180; }
#moment.m-wide { --mc: #00bfa5; --mc2: #a7ffeb; }
#moment .mband { position: absolute; left: 0; right: 0; top: 380px; height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--mc) 45%, transparent), transparent 70%), linear-gradient(90deg, rgba(5,8,22,.2), rgba(5,8,22,.92) 20%, rgba(5,8,22,.92) 80%, rgba(5,8,22,.2));
  border-top: 4px solid var(--mc); border-bottom: 4px solid var(--mc); box-shadow: 0 0 60px color-mix(in srgb, var(--mc) 60%, transparent); }
#moment .mword { font-family: var(--big); font-size: 170px; line-height: 1; letter-spacing: 14px; font-style: italic; color: #fff;
  text-shadow: 0 0 18px var(--mc), 0 0 50px var(--mc), 4px 6px 0 rgba(0,0,0,.5); }
#moment.m-noBall .mword, #moment.m-wide .mword { font-size: 140px; }
#moment .msub { margin-top: 6px; font-size: 38px; font-weight: 800; letter-spacing: 6px; color: var(--mc2); text-transform: uppercase; }
#moment .streak { position: absolute; top: 0; bottom: 0; width: 360px; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); left: -400px; }
#moment .ln { position: absolute; top: 50%; height: 4px; width: 520px; background: linear-gradient(90deg, transparent, var(--mc2)); }
#moment .ln.l { left: 60px; } #moment .ln.r { right: 60px; transform: scaleX(-1); }
#moment .mfoot { position: absolute; left: 0; right: 0; bottom: 50px; height: 130px; background: linear-gradient(90deg, var(--mc), color-mix(in srgb, var(--mc) 40%, #050816) 30%, #050816 50%, color-mix(in srgb, var(--mc) 40%, #050816) 70%, var(--mc)); overflow: hidden; }
#moment .mghost { position: absolute; left: 0; right: 0; top: -30px; text-align: center; font-family: var(--big); font-size: 200px; font-style: italic; letter-spacing: 30px; color: rgba(255,255,255,.07); white-space: nowrap; }
#moment .mcols { position: relative; display: flex; align-items: center; height: 100%; }
#moment .mcols > div { flex: 1; text-align: center; }
#moment .mcols b { display: block; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: 2px; }
#moment .mcols span { font-size: 24px; font-weight: 700; letter-spacing: 6px; color: var(--mc2); }
#moment .mcols .sep { width: 4px; height: 80px; background: rgba(255,255,255,.5); transform: skewX(-15deg); }
#moment.on .mband { animation: mbandIn .5s var(--glide) both; }
#moment.on .mword { animation: mwordIn .7s .1s var(--pop) both, glow 1.2s .8s ease-in-out infinite alternate; }
#moment.on .mword .ltr { animation-name: mltr; }
#moment.on .msub { animation: rowIn .5s .55s var(--glide) both; }
#moment.on .streak { animation: streak 1.1s .35s ease-out both; }
#moment.on .ln.l, #moment.on .ln.r { animation: lnIn .6s .3s var(--glide) both; }
#moment.on .mfoot { animation: mfootIn .55s .2s var(--glide) both; }
#moment.on .mghost { animation: ghost 3.4s linear both; }
#moment.on .mcols > div:first-child { animation: fromLeft .6s .5s var(--glide) both; }
#moment.on .mcols > div:last-child { animation: fromRight .6s .5s var(--glide) both; }
#moment.out .mband { animation: mbandOut .45s ease-in both; }
#moment.out .mfoot { animation: mfootOut .45s ease-in both; }
@keyframes mbandIn { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes mbandOut { to { clip-path: inset(50% 0 50% 0); opacity: 0; } }
@keyframes mwordIn { from { transform: scale(2.4); opacity: 0; filter: blur(10px); } }
@keyframes mltr { from { opacity: 0; transform: translateX(80px) skewX(-20deg); } }
@keyframes glow { to { text-shadow: 0 0 30px var(--mc), 0 0 90px var(--mc), 4px 6px 0 rgba(0,0,0,.5); } }
@keyframes streak { to { left: 110%; } }
@keyframes lnIn { from { transform: scaleX(0); } }
#moment.on .ln.r { animation-name: lnInR; } @keyframes lnInR { from { transform: scaleX(0); } to { transform: scaleX(-1); } }
@keyframes mfootIn { from { transform: translateY(100%); } }
@keyframes mfootOut { to { transform: translateY(100%); } }
@keyframes ghost { from { transform: translateX(8%); } to { transform: translateX(-8%); } }

/* ---------- Stat sheets ---------- */
.card.sheet { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; top: 130px; }
.card.sheet.sh-wide { width: 1560px; margin-left: -780px; }
.card.sheet.sh-mid { width: 1180px; margin-left: -590px; }
.card.sheet.sh-full { width: 1720px; margin-left: -860px; top: 160px; }
.card.sheet table { font-size: 30px; }
.sh-title { display: flex; align-items: center; justify-content: center; gap: 26px; margin-bottom: 18px; font-family: var(--big); font-size: 60px; letter-spacing: 3px; text-transform: uppercase; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.sh-title i { flex: 0 0 140px; height: 5px; background: linear-gradient(90deg, transparent, var(--sh-red)); }
.sh-title i:last-child { transform: scaleX(-1); }
.sh-panel { background: var(--sh-bg); border: 2px solid var(--sh-line); border-top: 6px solid var(--sh-red); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.55); }
.sh-panel.pad { padding: 40px; font-size: 34px; text-align: center; }
.card .sh-table th { background: rgba(255,255,255,.05); color: #fff; font-size: 24px; letter-spacing: 2px; padding: 14px 22px; text-align: center; }
.card .sh-table td { padding: 12px 22px; text-align: center; font-weight: 700; border-top: 1px solid var(--sh-line); }
.card .sh-table .l { text-align: left; }
.card .sh-table .red { color: #ff6b6b; } .card .sh-table th.red { color: #ff6b6b; }
.card .sh-table .gold { color: var(--sh-gold); font-weight: 800; }
.card .sh-table .sky { color: var(--sh-sky); }
.card .sh-table .dim, .sh-panel .dim, .dim { color: var(--muted); }
.card .sh-table .dash { color: rgba(255,255,255,.3); }
.card .sh-table td.nm, .sh-table .nm { font-weight: 800; letter-spacing: 1px; }
.sh-table.sheet .num { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); font-style: normal; font-size: 24px; }
.sh-table.sheet .st { font-size: 19px; font-weight: 600; letter-spacing: 1px; color: var(--muted); }
.sh-table.sheet td { padding: 7px 22px; }
.card .sh-table tr.out td { background: rgba(227,38,47,.22); }
.card .sh-table tr.out .st { color: #ff8a80; }
.card .sh-table tr.on td { background: rgba(255,196,0,.12); }
.card .sh-table tr.on .num { background: var(--sh-gold); color: #0b1220; }
.sh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 18px 30px; margin-bottom: 12px; background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 30%, var(--tc-mx, #070b1e)) 70%); border-left: 10px solid var(--sh-gold); }
.sh-head .t { font-family: var(--big); font-size: 58px; line-height: 1; text-transform: uppercase; }
.sh-head .s { font-size: 26px; font-weight: 700; letter-spacing: 3px; color: #e8ecf5; }
.sh-head .s i { font-style: normal; color: var(--sh-gold); margin: 0 10px; }
.sh-foot { display: flex; justify-content: space-between; margin-top: 10px; padding: 12px 30px; background: var(--sh-bg); font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.sh-foot b { color: var(--sh-gold); }
.sh-hero { display: flex; align-items: center; gap: 34px; padding: 26px 34px; background: linear-gradient(90deg, rgba(227,38,47,.9), rgba(8,13,34,.94) 70%); border-radius: 6px 6px 0 0; }
.sh-hero .av { width: 170px; height: 170px; flex: none; border-radius: 50%; overflow: hidden; border: 5px solid var(--sh-gold); background: rgba(255,255,255,.1); display: flex; align-items: flex-end; justify-content: center; }
.sh-hero .av img { width: 100%; height: 100%; object-fit: cover; }
.sh-hero .av svg { width: 130px; fill: rgba(255,255,255,.55); }
.sh-hero .kick { font-size: 24px; font-weight: 800; letter-spacing: 5px; color: var(--sh-gold); text-transform: uppercase; }
.sh-hero .big-name { font-family: var(--big); font-size: 66px; line-height: 1.05; }
.sh-hero .big-name small { font-family: var(--font); font-size: 36px; color: var(--sh-gold); }
.sh-hero .meta { font-size: 28px; font-weight: 700; letter-spacing: 2px; color: #e3e8f2; }
.sh-tiles { display: grid; grid-template-columns: 330px 1fr; gap: 14px; padding: 14px; background: var(--sh-bg); }
.sh-tiles .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { display: flex; flex-direction: column; justify-content: center; padding: 14px 26px; background: rgba(255,255,255,.05); border-left: 6px solid var(--sh-sky); border-radius: 4px; }
.tile span { font-size: 22px; font-weight: 700; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.tile b { font-family: var(--big); font-size: 58px; line-height: 1.1; }
.tile.hero { align-items: center; text-align: center; background: linear-gradient(160deg, var(--sh-red), #7a0c12); border: 0; }
.tile.hero span { color: #ffd6d6; } .tile.hero b { font-size: 150px; line-height: 1; color: #fff; }
.sh-strip { display: flex; align-items: center; gap: 30px; padding: 12px 30px; background: #04071a; border-radius: 0 0 6px 6px; font-size: 26px; font-weight: 700; letter-spacing: 2px; }
.sh-strip img { height: 40px; }
.sh-strip .bn { flex: 1; color: var(--sh-gold); }
.sh-strip .kv b { color: #fff; margin-left: 6px; }
.sh-pill { width: max-content; margin: -4px auto 22px; padding: 6px 30px; background: var(--sh-red); font-size: 26px; font-weight: 800; letter-spacing: 5px; border-radius: 30px; }
.bd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bd { display: flex; flex-direction: column; align-items: center; padding: 30px 0 24px; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.bd.four { background: linear-gradient(160deg, var(--four), #0d2a6b); }
.bd.six { background: linear-gradient(160deg, var(--six), #2a0b5e); }
.bd b { font-family: var(--big); font-size: 200px; line-height: 1; text-shadow: 0 8px 30px rgba(0,0,0,.4); }
.bd span { font-size: 40px; font-weight: 800; letter-spacing: 12px; }
.bd-note { margin-top: 18px; text-align: center; font-size: 30px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; background: var(--sh-bg); padding: 12px; }
.mu-title { text-align: center; font-family: var(--big); font-size: 64px; letter-spacing: 6px; margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.mu { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 470px; }
.mu-team { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 120px 0 70px; background: linear-gradient(135deg, var(--tc), color-mix(in srgb, var(--tc) 25%, var(--tc-mx, #050816)) 85%); }
.mu-a { clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%); }
.mu-b { clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%); margin-left: -90px; padding: 0 70px 0 160px; align-items: flex-end; text-align: right; background: linear-gradient(225deg, var(--tc), color-mix(in srgb, var(--tc) 25%, var(--tc-mx, #050816)) 85%); }
.mu-team .kick { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 800; letter-spacing: 6px; color: rgba(255,255,255,.85); }
.mu-team .kick i { width: 50px; height: 5px; background: var(--sh-gold); }
.mu-b .kick { flex-direction: row-reverse; }
.mu-team .row1 { display: flex; align-items: center; gap: 26px; }
.mu-b .row1 { flex-direction: row-reverse; }
.mu-team .row1 img { height: 150px; width: 150px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,.5)); }
.mu-team .tn { font-family: var(--big); font-size: 76px; line-height: 1; text-shadow: 0 6px 20px rgba(0,0,0,.5); }
.mu-team .meta { display: flex; align-items: center; gap: 16px; font-size: 32px; font-weight: 800; letter-spacing: 2px; }
.mu-team .chip { padding: 4px 18px; background: var(--sh-gold); color: #0b1220; font-size: 24px; letter-spacing: 3px; border-radius: 4px; }
.mu-vs { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #050816; border: 6px solid var(--sh-gold); font-family: var(--big); font-size: 64px; font-style: italic; box-shadow: 0 0 50px rgba(0,0,0,.8); z-index: 2; }
.mu-result { margin-top: 20px; text-align: center; background: var(--sh-gold); color: #0b1220; font-size: 40px; font-weight: 800; letter-spacing: 2px; padding: 14px; }
/* Sheet entrance */
.card.sheet.enter { animation: none; }
.card.sheet.enter .sh-title, .card.sheet.enter .mu-title { animation: headIn .55s .05s var(--glide) both; }
.card.sheet.enter .sh-panel, .card.sheet.enter .sh-head { animation: cardIn .6s .15s var(--glide) both; }
.card.sheet.enter .sh-hero { animation: fromLeft .6s .1s var(--glide) both; }
.card.sheet.enter .tile, .card.sheet.enter .bd { animation: popIn .5s var(--pop) both; }
.card.sheet.enter .tile.hero { animation-delay: .35s; }
.card.sheet.enter .grid .tile:nth-child(1) { animation-delay: .45s; } .card.sheet.enter .grid .tile:nth-child(2) { animation-delay: .52s; }
.card.sheet.enter .grid .tile:nth-child(3) { animation-delay: .59s; } .card.sheet.enter .grid .tile:nth-child(4) { animation-delay: .66s; }
.card.sheet.enter .bd.six { animation-delay: .15s; }
.card.sheet.enter .mu-a { animation: fromLeft .8s .1s var(--glide) both; }
.card.sheet.enter .mu-b { animation: fromRight .8s .1s var(--glide) both; }
.card.sheet.enter .mu-vs { animation: popIn .6s .7s var(--pop) both; }
.card.sheet.enter .sh-strip, .card.sheet.enter .sh-foot, .card.sheet.enter .bd-note, .card.sheet.enter .sh-pill, .card.sheet.enter .mu-result { animation: rowIn .5s .8s var(--glide) both; }

/* ---------- Scrolling top ticker ---------- */
#topTicker { position: absolute; left: 0; right: 0; top: 0; height: 64px; overflow: hidden; background: linear-gradient(90deg, #04071a, #0b1235 50%, #04071a); border-bottom: 4px solid var(--sh-red); }
#topTicker.hide { transform: translateY(-100%); }
.tt-track { display: flex; width: max-content; height: 100%; animation: tt linear infinite; }
.tt-run { display: flex; align-items: center; }
.ti { display: flex; align-items: center; gap: 10px; padding: 0 34px; font-size: 28px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; border-right: 2px solid rgba(255,255,255,.15); }
.ti b { color: var(--sh-gold); font-weight: 800; letter-spacing: 3px; }
.ti i { font-style: normal; color: var(--sh-red); }
@keyframes tt { to { transform: translateX(-50%); } }

/* ---------- Brand bar ---------- */
#brandBar { position: absolute; left: 0; right: 0; bottom: 40px; height: 104px; display: flex; }
#brandBar.hide { transform: translateY(140%); }
#bbBrand { display: flex; align-items: center; gap: 22px; padding: 0 70px 0 60px; background: linear-gradient(90deg, #8e0e16, var(--sh-red)); clip-path: polygon(0 0, 100% 0, calc(100% - 50px) 100%, 0 100%); min-width: 520px; }
#bbBrand img { height: 76px; }
#bbBrand small, #bbMatch small { display: block; font-size: 22px; font-weight: 700; letter-spacing: 4px; opacity: .85; }
#bbBrand b { display: block; font-family: var(--big); font-size: 44px; line-height: 1.05; }
#bbMatch { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 0 70px; margin-left: -50px; background: linear-gradient(90deg, #04071a, #0b1235); border-top: 4px solid var(--sh-gold); }
#bbMatch .vsline { font-family: var(--big); font-size: 40px; }
#bbMatch .vsline i { font-style: italic; color: var(--sh-gold); margin: 0 12px; }
#bbMatch small { color: var(--sh-gold); }
#brandBar.enter #bbBrand { animation: fromLeft .6s var(--glide) both; }
#brandBar.enter #bbMatch { animation: fromRight .6s .1s var(--glide) both; }

/* ---------- Corner logo and clock ---------- */
#cornerLogo { position: absolute; left: 60px; top: 44px; display: grid; grid-template-columns: auto 260px; grid-template-rows: auto auto; column-gap: 18px; align-items: center; }
#cornerLogo.hide { transform: translateX(-60px); }
#cornerLogo img { grid-row: span 2; height: 110px; max-width: 220px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); }
#cornerLogo .cn { font-family: var(--big); font-size: 34px; line-height: 1.1; text-shadow: 0 3px 12px rgba(0,0,0,.7); }
#cornerLogo .ct { overflow: hidden; white-space: nowrap; background: var(--sh-red); font-size: 20px; font-weight: 700; letter-spacing: 2px; padding: 3px 0; }
#cornerLogo .ct span { display: inline-block; padding-left: 100%; animation: ct 12s linear infinite; }
@keyframes ct { to { transform: translateX(-100%); } }
#cornerLogo.enter img { animation: popIn .6s var(--pop) both; }
#cornerLogo.enter .cn, #cornerLogo.enter .ct { animation: rowIn .5s .25s var(--glide) both; }
#clock { position: absolute; right: 60px; top: 40px; text-align: right; text-shadow: 0 3px 12px rgba(0,0,0,.8); }
#clock.hide { transform: translateX(60px); }
#clock .wx { font-size: 30px; font-weight: 700; }
#clock .loc { font-size: 22px; font-weight: 700; letter-spacing: 3px; color: var(--sh-gold); }
#clock .tm { font-family: var(--big); font-size: 46px; line-height: 1.05; }
#clock .dt { font-size: 22px; font-weight: 700; letter-spacing: 3px; opacity: .85; }

/* ---------- Redline theme (dark navy, red and gold) ---------- */
body.t-redline { --font: 'Saira Condensed', sans-serif; --bar-bg: linear-gradient(90deg, #04071a, #0b1235); --mid-bg: rgba(255,255,255,.04); --score-bg: linear-gradient(135deg, #e3262f, #8e0e16); --score-fg: #fff;
  --acc: #ffc400; --acc2: #e3262f; --head-bg: linear-gradient(90deg, #e3262f, #8e0e16); --head-fg: #fff; --strip-bg: #ffc400; --strip-fg: #04071a; --card-bg: rgba(8,13,34,.96); --muted: #9aa6c4; --four: #1e6bff; --six: #8e24ff; --wkt: #e3262f; }
/* Team sheets fit up to 12 players above the brand bar */
.card .sh-table.sheet td { padding: 3px 22px; }
.sh-table.sheet .num { width: 38px; height: 38px; font-size: 21px; }
.sh-table.sheet .nm { font-size: 27px; line-height: 1.1; }
.sh-table.sheet .st { font-size: 16px; }
.card .sh-table.sheet th { padding: 8px 22px; }
.sh-head { padding: 12px 30px; margin-bottom: 8px; }
.sh-head .t { font-size: 50px; }
.sh-strip .kv { display: flex; gap: 10px; }
.tt-run, .ti { flex: none; }
/* =====================================================================
   BOTTOM TICKER LAYOUT THEMES (change the shape of the bottom ticker, not just colours)
   ===================================================================== */
/* IPL 2019 broadcast style: edge-to-edge navy band, gold rule on top, angled team and score
   blocks, both batters side by side. */
body.t-ipl19b { --font: 'Oswald', sans-serif; --bar-bg: linear-gradient(180deg, #0f2f86 0%, #081c55 55%, #05123a 100%); --mid-bg: rgba(0,0,0,.18);
  --score-bg: linear-gradient(180deg, #0a2369, #051540); --score-fg: #fff; --acc: #f8c300; --acc2: #ff5a00; --strip-bg: #f8c300; --strip-fg: #071845;
  --head-bg: linear-gradient(90deg, #f8c300, #ff9d00); --head-fg: #071845; --card-bg: rgba(8,28,85,.96); --four: #ff6a00; --six: #e5007e; --radius: 0px; }
body.t-ipl19b #bug { left: 0; right: 0; bottom: 34px; }
body.t-ipl19b #bar { height: 86px; border-radius: 0; border-top: 4px solid var(--acc); box-shadow: 0 -6px 30px rgba(0,0,0,.35); padding-left: 60px; padding-right: 60px; }
body.t-ipl19b .team { width: 190px; clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%); padding-right: 20px; font-size: 40px; }
body.t-ipl19b .score { width: 260px; margin-left: -22px; padding-left: 44px; clip-path: polygon(26px 0, 100% 0, calc(100% - 26px) 100%, 0 100%); flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 14px; padding-top: 10px; }
body.t-ipl19b .score .runs { font-size: 58px; }
body.t-ipl19b .score .ov { font-size: 24px; color: var(--acc); opacity: 1; }
body.t-ipl19b .bats { flex-direction: row; align-items: center; gap: 34px; flex: 1.5; border-right: 0; }
body.t-ipl19b .bat { flex: 1; font-size: 30px; padding: 6px 0; border-bottom: 3px solid transparent; }
body.t-ipl19b .bat.on { border-bottom-color: var(--acc); }
body.t-ipl19b .bat.on .nm::before { display: none; }
body.t-ipl19b .bat .nm { text-transform: uppercase; letter-spacing: .5px; }
body.t-ipl19b .bowl { background: linear-gradient(90deg, rgba(0,0,0,.25), transparent); clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%); padding-left: 44px; }
body.t-ipl19b .bowl .top { text-transform: uppercase; font-size: 28px; }
body.t-ipl19b .ball { border-radius: 4px; }
body.t-ipl19b .bowlteam { width: 140px; clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%); padding-left: 16px; }
body.t-ipl19b #strip { position: absolute; left: 50%; transform: translateX(-50%); top: -36px; border-radius: 0; padding: 2px 34px; font-size: 24px; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 100%, 0 100%); }
body.t-ipl19b #strip .sep { opacity: .4; }
body.t-ipl19b #banner { margin-bottom: 46px; border-radius: 0; }
body.t-ipl19b #lower { bottom: 190px; }

/* LPL style: deep blue bar with a raised yellow score badge, red rule and red info strip. */
body.t-lpl { --font: 'Saira Condensed', sans-serif; --bar-bg: linear-gradient(180deg, #0b2a7a, #06184d); --mid-bg: rgba(255,255,255,.04);
  --score-bg: linear-gradient(160deg, #ffe14d, #ffb800); --score-fg: #06184d; --acc: #ffd400; --acc2: #e4002b; --strip-bg: linear-gradient(90deg, #e4002b, #a8001f); --strip-fg: #fff;
  --head-bg: linear-gradient(90deg, #e4002b, #a8001f); --head-fg: #fff; --card-bg: rgba(6,24,77,.96); --muted: #9fb3e6; --four: #0091ff; --six: #e4002b; --wkt: #e4002b; --radius: 6px; }
body.t-lpl #bug { left: 70px; right: 70px; bottom: 46px; }
body.t-lpl #bar { height: 84px; overflow: visible; border-radius: 6px; border-bottom: 4px solid var(--acc2); }
body.t-lpl .team { border-radius: 6px 0 0 6px; font-style: italic; font-size: 40px; }
body.t-lpl .score { position: relative; z-index: 1; width: 250px; margin-top: -18px; height: calc(100% + 18px); border-radius: 8px 8px 0 0; box-shadow: 0 -4px 20px rgba(0,0,0,.35); text-align: center; align-items: center; padding: 0 14px; }
body.t-lpl .score .runs { font-size: 64px; font-style: italic; }
body.t-lpl .score .ov { font-size: 22px; font-weight: 700; }
body.t-lpl .bats { border-right: 2px solid rgba(255,255,255,.12); }
body.t-lpl .bat .nm { font-style: italic; }
body.t-lpl .bat.on .nm::before { border-radius: 2px; transform: rotate(45deg); background: var(--acc2); }
body.t-lpl .bowl .top { font-style: italic; }
body.t-lpl .ball { border-radius: 4px; transform: skewX(-10deg); }
body.t-lpl .bowlteam { border-radius: 0 6px 6px 0; font-style: italic; }
body.t-lpl #strip { border-radius: 0 0 6px 6px; font-style: italic; letter-spacing: 1px; }
body.t-lpl #banner { background: var(--acc2); border-left-color: var(--acc); }
body.t-ipl19b .bat { min-width: 0; white-space: nowrap; gap: 12px; }
body.t-ipl19b .bat .nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.t-ipl19b .bats .bat > span:last-child { flex: none; }

/* =====================================================================
   FULL BROADCAST PACKS: ipl26b (IPL 2026 style) and wc23b (World Cup 2023 style)
   Own bottom ticker (#tk, built by tickers.js) plus lower thirds, cards and moments.
   ===================================================================== */
#tk { position: absolute; left: 0; right: 0; bottom: 44px; display: flex; align-items: stretch; transition: opacity .45s ease, transform .5s var(--glide); }
#tk.hide { transform: translateY(140%); }
body.moment-on #tk, body.bar-on #tk, body.sheet-on #tk, body.full-on #tk { opacity: 0; transform: translateY(140%); }
.flip { animation: tkFlip .5s var(--glide); }
@keyframes tkFlip { from { opacity: 0; transform: perspective(300px) rotateX(85deg); } }
.bx.pop { animation: ballPop .45s var(--pop); }

/* ---------- IPL 2026 ---------- */
body.t-ipl26b { --font: 'Saira Condensed', 'Barlow Condensed', sans-serif; --gold: #f3c34b; --bar-bg: #0c1f4d; --mid-bg: rgba(0,0,0,.2); --score-bg: #0c1f4d; --score-fg: var(--gold);
  --acc: #f3c34b; --acc2: #e0263a; --strip-bg: #f3c34b; --strip-fg: #0c1f4d; --head-bg: transparent; --head-fg: #fff; --card-bg: rgba(10,22,58,.97); --muted: #9fb0d6;
  --four: #f3c34b; --six: #e0263a; --wkt: #e0263a; --radius: 0px; }
.tk-ipl26b { height: 94px; font-family: 'Saira Condensed', sans-serif; color: #fff; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.tk-ipl26b .i-logo { width: 112px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tb); background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--tb) 70%, var(--tb-mx, #000)) 40%, var(--tb) 41%, color-mix(in srgb, var(--tb) 60%, var(--tb-mx, #000))); position: relative; }
.tk-ipl26b .i-logo::after { content: ''; position: absolute; width: 78px; height: 78px; border-radius: 50%; border: 3px solid var(--gold); box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 30%, transparent); }
.tk-ipl26b .i-logo img { width: 66px; height: 66px; object-fit: contain; position: relative; z-index: 1; }
.tk-ipl26b .i-logo span { font-size: 26px; font-weight: 800; color: var(--gold); position: relative; z-index: 1; }
.tk-ipl26b .i-logo.r { background: var(--tw); background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--tw) 70%, var(--tw-mx, #000)) 40%, var(--tw) 41%, color-mix(in srgb, var(--tw) 60%, var(--tw-mx, #000))); }
.tk-ipl26b .i-left { display: flex; align-items: stretch; background: var(--tb); background: linear-gradient(90deg, color-mix(in srgb, var(--tb) 70%, var(--tb-mx, #000)), var(--tb)); }
.tk-ipl26b .i-id { display: flex; flex-direction: column; justify-content: center; padding: 0 18px 0 16px; }
.tk-ipl26b .i-short { font-size: 38px; line-height: 1; font-weight: 700; }
.tk-ipl26b .i-vs { font-size: 22px; font-weight: 600; opacity: .9; }
.tk-ipl26b .i-sc { display: flex; flex-direction: column; justify-content: center; padding-right: 24px; min-width: 250px; }
.tk-ipl26b .i-l1 { display: flex; align-items: center; gap: 14px; }
.tk-ipl26b .i-runs { font-size: 50px; line-height: 1; font-weight: 800; color: var(--gold); }
.tk-ipl26b .i-pp { font-style: normal; font-size: 20px; font-weight: 800; background: var(--gold); color: #0c1f4d; padding: 0 6px; border-radius: 3px; }
.tk-ipl26b .i-ov { font-size: 28px; font-weight: 600; }
.tk-ipl26b .i-sub { font-size: 21px; font-weight: 700; letter-spacing: .5px; text-align: center; }
.tk-ipl26b .i-main { flex: 1; display: flex; align-items: stretch; position: relative; overflow: hidden; max-width: 1400px; transition: max-width .6s var(--glide), opacity .4s ease; }
.tk-ipl26b .i-rule { width: 3px; margin: 14px 0; background: var(--gold); flex: none; }
.tk-ipl26b .i-bats { width: 400px; display: flex; flex-direction: column; justify-content: center; padding: 0 26px; background: var(--tb); }
.tk-ipl26b .i-bat { display: grid; grid-template-columns: 26px 1fr 54px 36px; align-items: baseline; font-size: 30px; font-weight: 700; line-height: 1.12; }
.tk-ipl26b .i-bat::before { content: ''; }
.tk-ipl26b .i-bat.on::before { content: '›'; color: #fff; font-weight: 800; }
.tk-ipl26b .i-bat b { text-align: right; font-weight: 800; }
.tk-ipl26b .i-bat small { text-align: right; font-size: 21px; opacity: .85; }
.tk-ipl26b .i-mid { width: 270px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(90deg, var(--tb), #050505 30%, #050505 70%, var(--tw)); }
.tk-ipl26b .i-mid small { font-size: 24px; font-weight: 700; letter-spacing: .5px; }
.tk-ipl26b .i-mid b { font-size: 38px; line-height: 1; font-weight: 800; }
.tk-ipl26b .i-mid b small { font-size: 22px; }
.tk-ipl26b .i-bowl { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 28px; background: var(--tw); background: linear-gradient(90deg, var(--tw), color-mix(in srgb, var(--tw) 80%, #fff)); border-left: 3px solid var(--gold); }
.tk-ipl26b .i-bw { display: flex; justify-content: space-between; font-size: 30px; font-weight: 700; }
.tk-ipl26b .i-bw .fig::after { content: ' ' attr(data-ov); font-size: 21px; font-weight: 600; }
.tk-ipl26b .i-boxes { display: flex; gap: 6px; }
.tk-ipl26b .bx { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 20px; font-weight: 800; border: 2px solid rgba(255,255,255,.75); box-sizing: border-box; }
.tk-ipl26b .bx.r, .tk-ipl26b .bx.dot { background: #fff; color: #0c1f4d; border-color: #fff; }
.tk-ipl26b .bx.b4, .tk-ipl26b .bx.b6 { background: var(--gold); color: #0c1f4d; border-color: var(--gold); }
.tk-ipl26b .bx.w { background: #e0263a; color: #fff; border-color: #fff; }
.tk-ipl26b .bx.ex { background: #fff; color: #e0263a; border-color: #fff; font-size: 14px; width: auto; padding: 0 4px; }
.tk-ipl26b .i-rb { display: none; flex: 1; align-items: center; justify-content: space-around; background: linear-gradient(90deg, #050505, var(--tb) 30%, var(--tb)); }
.tk-ipl26b .i-rb div { text-align: center; }
.tk-ipl26b .i-rb small { display: block; font-size: 24px; font-weight: 700; }
.tk-ipl26b .i-rb b { font-size: 46px; line-height: 1; font-weight: 800; }
.tk-ipl26b.m-fin .i-bowl { display: none; }
.tk-ipl26b.m-fin .i-rb { display: flex; animation: tkWipe .6s var(--glide); }
.tk-ipl26b .i-info { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--tw); background: linear-gradient(90deg, color-mix(in srgb, var(--tw) 85%, var(--tw-mx, #000)), color-mix(in srgb, var(--tw) 70%, #4da3ff) 50%, color-mix(in srgb, var(--tw) 85%, var(--tw-mx, #000)));
  clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--glide); }
.tk-ipl26b .i-info .t { background: rgba(255,255,255,.18); padding: 0 16px; font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.tk-ipl26b .i-info .t i { color: var(--gold); font-style: normal; margin: 0 10px; }
.tk-ipl26b .i-info .s { display: flex; gap: 40px; font-size: 26px; font-weight: 600; }
.tk-ipl26b .i-info .s b { font-size: 30px; margin-left: 6px; }
.tk-ipl26b.m-info .i-info, .tk-ipl26b.m-pre .i-info { clip-path: inset(0 0 0 0); }
@keyframes tkWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
/* Entrance: halves slide in from each side, centre opens out. */
.tk-ipl26b.enter .i-left { animation: fromLeft .6s var(--glide) both; }
.tk-ipl26b.enter .i-logo.r { animation: fromRight .6s var(--glide) both; }
.tk-ipl26b.enter .i-main { animation: tkOpen .7s .2s var(--glide) both; }
.tk-ipl26b.enter .i-bat, .tk-ipl26b.enter .i-bw, .tk-ipl26b.enter .i-mid > * { animation: rowIn .45s .55s var(--glide) both; }
.tk-ipl26b.enter .bx { animation: ballPop .4s .75s var(--pop) both; }
@keyframes tkOpen { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
/* A wicket or player card shrinks the ticker to the score box. */
body.lower-on .tk-ipl26b .i-main { max-width: 0; opacity: 0; }
body.lower-on .tk-ipl26b .i-logo.r { display: none; }
body.lower-on .tk-ipl26b { right: auto; }
/* Lower third: player panel with a gold detail strip (dismissal / stats). */
body.t-ipl26b #lower { left: 640px; bottom: 44px; min-width: 0; max-width: 1240px; min-height: 94px; border-radius: 0; background: linear-gradient(90deg, #0c1f4d, #13306e); border-left: 6px solid var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
body.t-ipl26b #lower .ph { width: 120px; background: var(--tc); background: radial-gradient(circle, color-mix(in srgb, var(--tc) 60%, var(--tc-mx, #000)) 55%, var(--tc)); }
body.t-ipl26b #lower .ph img { width: 120px; height: 120px; }
body.t-ipl26b #lower .ph .ini { font-size: 44px; color: var(--gold); }
body.t-ipl26b #lower .bd { min-height: 0; padding: 8px 30px 10px 24px; }
body.t-ipl26b #lower .tag { background: none; color: var(--gold); font-size: 20px; padding: 0; letter-spacing: 3px; margin: 0; }
body.t-ipl26b #lower .tag.w { background: #e0263a; color: #fff; padding: 0 10px; }
body.t-ipl26b #lower .nm { font-size: 46px; font-weight: 700; }
body.t-ipl26b #lower .st { display: inline-block; align-self: flex-start; margin-top: 6px; background: linear-gradient(90deg, #c9a24a, var(--gold)); color: #0c1f4d; font-size: 24px; font-weight: 700; padding: 1px 16px; }
body.t-ipl26b #lower .st b { color: #0c1f4d; font-size: 26px; }
body.t-ipl26b #lower .sub { font-size: 22px; color: #dfe6f5; }
body.t-ipl26b #lower.enter .bd > .st { animation: tkWipe .6s .4s var(--glide) both; }
/* Cards: navy panel, gold edge, big two-tone heading, red footer band. */
body.t-ipl26b .card { background: linear-gradient(180deg, rgba(12,31,77,.97), rgba(8,20,52,.97)); border-left: 10px solid var(--gold); border-radius: 0; }
body.t-ipl26b .card .head { background: transparent; color: #4fc3f7; font-size: 54px; font-weight: 700; padding: 22px 34px 10px; border-bottom: 2px solid rgba(243,195,75,.35); }
body.t-ipl26b .card .head .s { color: #fff; font-size: 24px; letter-spacing: 1px; text-transform: uppercase; }
body.t-ipl26b .card th { color: var(--gold); }
body.t-ipl26b .card td { border-top-color: rgba(255,255,255,.07); text-transform: uppercase; }
body.t-ipl26b .card td.b { color: var(--gold); }
body.t-ipl26b .card .foot { background: linear-gradient(90deg, #8e0f1f, #e0263a 50%, #8e0f1f); font-weight: 700; text-transform: uppercase; }
body.t-ipl26b .card .result { background: linear-gradient(90deg, #8e0f1f, #e0263a 50%, #8e0f1f); color: #fff; }

/* ---------- World Cup 2023 ---------- */
body.t-wc23b { --font: 'Montserrat', sans-serif; --pink: #ff1f8f; --purple: #3c0a8c; --bar-bg: #fff; --bar-fg: #2a0866; --mid-bg: #f3f0fa; --score-bg: var(--pink); --score-fg: #fff;
  --acc: #ff1f8f; --acc2: #ffd400; --strip-bg: #3c0a8c; --strip-fg: #fff; --head-bg: linear-gradient(90deg, #ff1f8f, #7a1fd6); --head-fg: #fff; --card-bg: rgba(42,8,102,.97); --muted: #c7b7ec;
  --four: #ff1f8f; --six: #2f7bff; --wkt: #8a0f3c; --radius: 0px; }
.tk-wc23b { height: 82px; font-family: 'Montserrat', sans-serif; font-weight: 800; color: #2a0866; background: linear-gradient(180deg, #fff, #ecebf3); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.tk-wc23b .w-flag { width: 150px; flex: none; display: flex; align-items: center; justify-content: center; }
.tk-wc23b .w-flag img { height: 52px; max-width: 96px; object-fit: contain; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tk-wc23b .w-flag span { min-width: 90px; height: 54px; display: flex; align-items: center; justify-content: center; background: var(--tb); color: #fff; font-size: 24px; }
.tk-wc23b .w-flag.r span { background: var(--tw); }
.tk-wc23b .w-zz { width: 18px; flex: none; background: radial-gradient(circle at 0 50%, transparent 4px, #3c0a8c 5px) 0 0 / 18px 14px; }
.tk-wc23b .w-zz.r { transform: scaleX(-1); }
.tk-wc23b .w-bats { width: 460px; display: flex; flex-direction: column; justify-content: center; padding: 0 30px 0 22px; }
.tk-wc23b .w-bat { display: grid; grid-template-columns: 22px 1fr 60px 40px; align-items: baseline; font-size: 27px; line-height: 1.2; }
.tk-wc23b .w-bat::before { content: ''; }
.tk-wc23b .w-bat.on::before { content: ''; width: 0; height: 0; border-left: 12px solid var(--pink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; align-self: center; }
.tk-wc23b .w-bat b { text-align: right; font-size: 30px; }
.tk-wc23b .w-bat small { text-align: right; font-size: 20px; font-weight: 600; }
.tk-wc23b .w-mid { width: 600px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff;
  background: linear-gradient(180deg, #5512c4, #3c0a8c); clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 34px 100%, 0 50%); }
.tk-wc23b .w-l1 { display: flex; align-items: center; gap: 14px; }
.tk-wc23b .w-vs { font-size: 22px; } .tk-wc23b .w-vs small { font-size: 16px; }
.tk-wc23b .w-score { background: var(--pink); padding: 0 22px; font-size: 34px; line-height: 1.25; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); }
.tk-wc23b .w-pp { font-style: normal; background: #ffd400; color: #3c0a8c; font-size: 18px; padding: 2px 12px 2px 8px; margin-left: -10px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.tk-wc23b .w-ov { font-size: 22px; } .tk-wc23b .w-ov small { font-size: 15px; }
.tk-wc23b .w-l2 { font-size: 18px; letter-spacing: .5px; }
.tk-wc23b .w-bowl { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 26px 0 34px; }
.tk-wc23b .w-bw { display: flex; justify-content: space-between; font-size: 27px; }
.tk-wc23b .w-bw small { font-size: 19px; font-weight: 600; }
.tk-wc23b .w-boxes { display: flex; gap: 6px; }
.tk-wc23b .bx { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #3c0a8c; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; color: #fff; }
.tk-wc23b .bx.dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #3c0a8c; }
.tk-wc23b .bx.r { background: #3c0a8c; }
.tk-wc23b .bx.b4 { background: var(--pink); border-color: var(--pink); }
.tk-wc23b .bx.b6 { background: #2f7bff; border-color: #2f7bff; }
.tk-wc23b .bx.w { background: #8a0f3c; border-color: #8a0f3c; }
.tk-wc23b .bx.ex { background: #ffd400; border-color: #ffd400; color: #3c0a8c; font-size: 11px; }
.tk-wc23b .w-need, .tk-wc23b .w-ms, .tk-wc23b .w-full { display: none; }
.tk-wc23b .w-need { flex: 1; align-items: center; gap: 30px; padding: 0 30px; }
.tk-wc23b .w-nt { background: var(--pink); color: #fff; font-size: 22px; line-height: 1.1; text-align: center; padding: 6px 30px; }
.tk-wc23b .w-nn { font-size: 26px; flex: 1; text-align: center; }
.tk-wc23b .w-nn b { color: var(--pink); font-size: 46px; margin: 0 10px; }
.tk-wc23b .w-ms { flex: 1; align-items: stretch; }
.tk-wc23b .w-mn { background: var(--pink); color: #fff; font-size: 24px; line-height: 1.05; text-align: center; padding: 8px 28px; display: flex; align-items: center; margin: 8px 0 8px 30px; }
.tk-wc23b .w-mr { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 60px; } .tk-wc23b .w-mr small { font-size: 34px; margin-left: 14px; }
.tk-wc23b .w-msr { width: 260px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #f3f0fa; font-size: 20px; } .tk-wc23b .w-msr b { color: var(--pink); font-size: 32px; }
.tk-wc23b .w-full { flex: 1; align-items: center; justify-content: space-between; }
.tk-wc23b .w-full .tn { flex: 1; text-align: center; color: var(--pink); font-size: 30px; }
.tk-wc23b .w-full .msg { width: 640px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(180deg, #5512c4, #3c0a8c); clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 34px 100%, 0 50%); }
.tk-wc23b .w-full .msg b { font-size: 26px; } .tk-wc23b .w-full .msg small { font-size: 18px; color: #ffd400; }
.tk-wc23b.m-fin .w-bats, .tk-wc23b.m-ms .w-bats, .tk-wc23b.m-fin .w-bowl, .tk-wc23b.m-ms .w-bowl { display: none; }
.tk-wc23b.m-fin .w-mid, .tk-wc23b.m-ms .w-mid { margin-left: 10px; }
.tk-wc23b.m-fin .w-need { display: flex; animation: tkWipe .6s var(--glide); }
.tk-wc23b.m-ms .w-ms { display: flex; animation: tkWipe .6s var(--glide); }
.tk-wc23b.m-start > :not(.w-flag):not(.w-zz):not(.w-full) { display: none; }
.tk-wc23b.m-start .w-full { display: flex; animation: tkOpen .7s var(--glide); }
.tk-wc23b.enter { animation: tkGrowY .45s var(--glide) both; }
.tk-wc23b.enter .w-flag.l { animation: fromLeft .6s .2s var(--glide) both; }
.tk-wc23b.enter .w-flag.r { animation: fromRight .6s .2s var(--glide) both; }
.tk-wc23b.enter .w-mid { animation: tkOpen .6s .3s var(--pop) both; }
.tk-wc23b.enter .w-bat, .tk-wc23b.enter .w-bw { animation: rowIn .45s .55s var(--glide) both; }
.tk-wc23b.enter .bx { animation: ballPop .4s .75s var(--pop) both; }
@keyframes tkGrowY { from { transform: scaleY(0); } }
body.t-wc23b #lower { bottom: 150px; border-radius: 0; background: linear-gradient(90deg, #3c0a8c, #5512c4); border-bottom: 6px solid var(--pink); }
body.t-wc23b #lower .ph { background: linear-gradient(160deg, var(--pink), #3c0a8c); }
body.t-wc23b #lower .tag { background: var(--pink); color: #fff; border-radius: 0; }
body.t-wc23b #lower .tag.w { background: #ffd400; color: #3c0a8c; }
body.t-wc23b #lower .st b { color: #ffd400; }
body.t-wc23b .card { border-radius: 0; border-top: 8px solid var(--pink); }
body.t-wc23b .card td.b { color: #ffd400; }
body.t-wc23b .card .foot { background: #2a0866; }
body.t-wc23b .card .result { background: var(--pink); color: #fff; }

/* Per-over runs chart on the batting card (broadcast packs only). */
.oc { display: none; }
body.t-ipl26b .oc, body.t-wc23b .oc { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 34px 34px 6px; position: relative; border-top: 1px solid rgba(255,255,255,.08); }
.oc i { flex: 1; max-width: 40px; position: relative; background: linear-gradient(180deg, var(--acc), color-mix(in srgb, var(--acc) 40%, transparent)); min-height: 3px; }
.oc i.w::after { content: ''; position: absolute; top: -14px; left: 50%; margin-left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--wkt); }
.card.enter .oc i { animation: ocGrow .6s var(--glide) both; transform-origin: bottom; }
@keyframes ocGrow { from { transform: scaleY(0); } }

.oc i s { position: absolute; bottom: 100%; left: 0; right: 0; text-align: center; text-decoration: none; font-size: 16px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.oc i.w s { padding-bottom: 16px; }
.oc em { position: absolute; top: 8px; right: 34px; font-style: normal; font-size: 16px; letter-spacing: 2px; color: var(--muted); }
body.t-ipl26b .card .head > span:first-child, body.t-wc23b .card .head > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.t-ipl26b .card .head { font-size: 46px; }
body.t-ipl26b .card .head .s, body.t-wc23b .card .head .s { flex: none; max-width: 40%; text-align: right; }
body.t-wc23b .card { color: #fff; }
.tk-wc23b .w-mn { flex-direction: column; justify-content: center; }
.tk-wc23b .w-mn > span { display: block; white-space: nowrap; }
body.t-wc23b #lower { color: #fff; }
body.t-ipl26b .card td .how { font-size: 18px; }
body.t-ipl26b .card td:first-child { white-space: nowrap; }

/* ---------- LPL 2026 ---------- */
body.t-lpl26b { --font: 'Barlow Condensed', sans-serif; --navy: #1b2a8c; --navy2: #101a5e; --lgold: #e9c46a; --bar-bg: var(--navy); --mid-bg: rgba(0,0,0,.2);
  --acc: #e9c46a; --acc2: #d62839; --strip-bg: #e9c46a; --strip-fg: #101a5e; --head-bg: linear-gradient(90deg, #101a5e, #1b2a8c); --head-fg: #fff; --card-bg: rgba(16,26,94,.97); --muted: #aab4e8;
  --four: #e9c46a; --six: #d62839; --wkt: #d62839; --radius: 0px; }
.tk-lpl26b { height: 92px; font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 700; color: #fff; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.tk-lpl26b .l-logo { width: 120px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--tb); background: linear-gradient(90deg, color-mix(in srgb, var(--tb) 35%, var(--tb-mx, #0b0f1e)), color-mix(in srgb, var(--tb) 55%, var(--tb-mx, #0b0f1e))); border-right: 8px solid var(--lgold); }
.tk-lpl26b .l-logo.r { background: var(--tw); background: linear-gradient(90deg, color-mix(in srgb, var(--tw) 55%, var(--tw-mx, #0b0f1e)), color-mix(in srgb, var(--tw) 35%, var(--tw-mx, #0b0f1e))); border-right: 0; border-left: 8px solid var(--lgold); }
.tk-lpl26b .l-logo img { max-width: 120px; max-height: 70px; object-fit: contain; }
.tk-lpl26b .l-logo span { font-size: 34px; color: var(--lgold); }
.tk-lpl26b .l-team { min-width: 170px; flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: 0 22px; background: linear-gradient(180deg, #24379f, var(--navy2)); }
.tk-lpl26b .l-tn { font-size: 40px; line-height: .95; white-space: nowrap; }
.tk-lpl26b .l-vs { font-size: 30px; font-weight: 600; }
.tk-lpl26b .l-score { width: 210px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff, #e6e8ef); color: #1a1a2e; }
.tk-lpl26b .l-runs { font-size: 60px; line-height: .95; font-style: normal; font-weight: 800; letter-spacing: 1px; }
.tk-lpl26b .l-score small { font-size: 28px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tk-lpl26b .l-pp { background: #1a1a2e; color: #fff; font-size: 20px; padding: 0 5px; font-style: normal; }
.tk-lpl26b .l-info { width: 210px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(90deg, #d9dbe3, #f4f5f9 60%, #e1e3ea); color: #1a1a2e; text-align: center; }
.tk-lpl26b .l-info small { font-size: 26px; font-weight: 600; line-height: 1; }
.tk-lpl26b .l-info b { font-size: 36px; line-height: 1.05; }
.tk-lpl26b .l-info b small { font-size: 24px; }
.tk-lpl26b .l-main { flex: 1; display: flex; position: relative; overflow: hidden; background: linear-gradient(180deg, #24379f, var(--navy2)); transition: max-width .6s var(--glide), opacity .4s ease; max-width: 1400px; }
.tk-lpl26b .l-bats { flex: 1; display: flex; align-items: center; padding: 0 10px; min-width: 0; }
.tk-lpl26b .l-bat { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; overflow: hidden; }
.tk-lpl26b .l-bat .nm { font-size: 34px; line-height: 1; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tk-lpl26b .l-bat.on .nm::before { content: ''; display: inline-block; width: 8px; height: 26px; margin-right: 12px; background: #fff; border-radius: 2px 2px 4px 4px; transform: rotate(35deg); }
.tk-lpl26b .l-bat .rb b { font-size: 40px; margin-right: 10px; }
.tk-lpl26b .l-bat .rb small { font-size: 26px; font-weight: 600; }
.tk-lpl26b .l-panel { width: 430px; flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 28px; background: var(--tw); background: linear-gradient(90deg, color-mix(in srgb, var(--tw) 85%, var(--tw-mx, #000)), var(--tw)); }
.tk-lpl26b .l-panel.alt { background: linear-gradient(90deg, #a5121f, #d62839); }
.tk-lpl26b .l-bw { display: flex; justify-content: space-between; align-items: baseline; font-size: 36px; line-height: 1.1; }
.tk-lpl26b .l-bw small { font-size: 24px; }
.tk-lpl26b .l-boxes { display: flex; gap: 6px; margin-top: 4px; }
.tk-lpl26b .bx { width: 30px; height: 26px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 18px; font-weight: 800; background: rgba(255,255,255,.18); transform: skewX(-12deg); }
.tk-lpl26b .bx.r, .tk-lpl26b .bx.dot { background: #fff; color: var(--navy2); }
.tk-lpl26b .bx.b4, .tk-lpl26b .bx.b6 { background: var(--lgold); color: var(--navy2); }
.tk-lpl26b .bx.w { background: #d62839; color: #fff; outline: 2px solid #fff; }
.tk-lpl26b .bx.ex { background: #fff; color: #d62839; font-size: 13px; width: auto; padding: 0 4px; }
.tk-lpl26b .l-pt { text-align: center; font-size: 32px; line-height: 1; }
.tk-lpl26b .l-pr { display: flex; justify-content: center; align-items: center; gap: 40px; font-size: 28px; font-weight: 600; }
.tk-lpl26b .l-pr b { font-size: 38px; margin-left: 8px; }
.tk-lpl26b .l-pr i { width: 2px; height: 34px; background: rgba(255,255,255,.6); }
.tk-lpl26b .l-need { display: flex; align-items: baseline; justify-content: center; gap: 12px; font-size: 28px; white-space: nowrap; }
.tk-lpl26b .l-need b { font-size: 48px; line-height: 1; color: var(--lgold); }
.tk-lpl26b .l-proj { display: flex; align-items: center; gap: 0; margin: 0 -28px; height: 100%; }
.tk-lpl26b .l-proj > div { flex: 1; text-align: center; border-left: 2px solid rgba(255,255,255,.25); display: flex; flex-direction: column; justify-content: center; height: 100%; }
.tk-lpl26b .l-proj .h { font-size: 24px; line-height: 1.05; border-left: 0; background: rgba(0,0,0,.2); }
.tk-lpl26b .l-proj small { font-size: 18px; font-weight: 600; }
.tk-lpl26b .l-proj b { font-size: 36px; line-height: 1; }
.tk-lpl26b .l-wide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #24379f, var(--navy2)); clip-path: inset(0 0 0 100%); transition: clip-path .6s var(--glide); }
.tk-lpl26b .l-wide .t { font-size: 36px; line-height: 1.05; }
.tk-lpl26b .l-wide .s { font-size: 30px; display: flex; gap: 36px; }
.tk-lpl26b .l-wide .s b { color: var(--lgold); margin-left: 6px; }
.tk-lpl26b.m-wide .l-wide { clip-path: inset(0 0 0 0); }
.tk-lpl26b.enter .l-logo.l, .tk-lpl26b.enter .l-team { animation: fromLeft .55s var(--glide) both; }
.tk-lpl26b.enter .l-score { animation: tkGrowY .5s .15s var(--glide) both; }
.tk-lpl26b.enter .l-info { animation: tkWipe .5s .3s var(--glide) both; }
.tk-lpl26b.enter .l-main { animation: tkWipe .7s .4s var(--glide) both; }
.tk-lpl26b.enter .l-logo.r { animation: fromRight .55s .5s var(--glide) both; }
.tk-lpl26b.enter .bx { animation: ballPop .4s .9s var(--pop) both; }
body.lower-on .tk-lpl26b .l-info, body.lower-on .tk-lpl26b .l-main, body.lower-on .tk-lpl26b .l-logo { display: none; }
body.lower-on .tk-lpl26b { right: auto; left: 100px; }
body.t-lpl26b #lower { left: 600px; bottom: 44px; min-width: 0; max-width: 1240px; border-radius: 0; background: linear-gradient(180deg, #24379f, #101a5e); border-left: 0; box-shadow: 0 8px 24px rgba(0,0,0,.5); font-family: 'Barlow Condensed', sans-serif; font-style: italic; }
body.t-lpl26b #lower .ph { width: 150px; background: var(--tc); background: linear-gradient(180deg, color-mix(in srgb, var(--tc) 70%, var(--tc-mx, #000)), color-mix(in srgb, var(--tc) 40%, var(--tc-mx, #000))); border-right: 2px solid rgba(255,255,255,.2); }
body.t-lpl26b #lower .ph img { width: 150px; height: 150px; }
body.t-lpl26b #lower .ph .ini { font-size: 54px; color: var(--lgold); }
body.t-lpl26b #lower .bd { min-height: 0; padding: 8px 26px 10px 20px; gap: 4px; }
body.t-lpl26b #lower .tag { background: none; color: var(--lgold); font-size: 22px; padding: 0; letter-spacing: 3px; margin: 0; border-radius: 0; }
body.t-lpl26b #lower .tag.w { color: #ff6b78; }
body.t-lpl26b #lower .nm { font-size: 52px; font-weight: 700; }
body.t-lpl26b #lower .st, body.t-lpl26b #lower .sub { background: linear-gradient(90deg, #b8913d, var(--lgold) 70%, #b8913d); color: #101a5e; font-size: 26px; font-weight: 700; padding: 0 16px; align-self: stretch; }
body.t-lpl26b #lower .st b { color: #101a5e; font-size: 30px; }
body.t-lpl26b #lower.enter .st, body.t-lpl26b #lower.enter .sub { animation: tkWipe .55s .35s var(--glide) both; }
body.t-lpl26b .card { border-radius: 0; border-top: 8px solid var(--lgold); font-family: 'Barlow Condensed', sans-serif; }
body.t-lpl26b .card .head { font-style: italic; font-size: 52px; font-weight: 700; }
body.t-lpl26b .card .head .s { color: var(--lgold); font-size: 28px; }
body.t-lpl26b .card th { color: var(--lgold); font-style: italic; }
body.t-lpl26b .card td { text-transform: uppercase; font-weight: 600; font-size: 32px; }
body.t-lpl26b .card td.b { color: var(--lgold); }
body.t-lpl26b .card .foot { background: linear-gradient(90deg, #a5121f, #d62839); font-style: italic; font-weight: 700; text-transform: uppercase; }
body.t-lpl26b .card .result { background: var(--lgold); color: #101a5e; }

/* ---------- Sri Lanka Test 2026 ---------- */
body.t-test26b { --font: 'Lato', 'Montserrat', sans-serif; --tp1: #2a0a8f; --tp2: #4d17c9; --tcy: #5fd3ff; --tyl: #ffe14a; --bar-bg: var(--tp1); --mid-bg: rgba(0,0,0,.2);
  --acc: #5fd3ff; --acc2: #ffe14a; --strip-bg: #5fd3ff; --strip-fg: #1a0a5e; --head-bg: transparent; --head-fg: #fff; --card-bg: linear-gradient(135deg, rgba(110,20,170,.96), rgba(40,20,140,.96) 45%, rgba(14,24,92,.97)); --muted: #b9b2e8;
  --four: #5fd3ff; --six: #ffe14a; --wkt: #ff4f7b; --radius: 0px; }
.tk-test26b { height: 62px; bottom: 54px; left: 50px; right: 50px; font-family: 'Lato', sans-serif; font-weight: 700; color: #fff; }
.tk-test26b .t-logo { width: 64px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(120,120,140,.55); }
.tk-test26b .t-logo img { max-width: 48px; max-height: 48px; object-fit: contain; }
.tk-test26b .t-logo span { font-size: 18px; font-weight: 900; }
.tk-test26b .t-bar { flex: 1; display: flex; align-items: stretch; position: relative; background: linear-gradient(90deg, var(--tp1), var(--tp2) 35%, var(--tp1) 70%, #3a10b0); box-shadow: 0 6px 18px rgba(0,0,0,.4); overflow: hidden; }
.tk-test26b .t-bar::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%); background-size: 300% 100%; animation: tkSheen 7s linear infinite; pointer-events: none; }
@keyframes tkSheen { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.tk-test26b .t-sc { display: flex; align-items: center; gap: 26px; padding: 0 28px; }
.tk-test26b .t-tn { color: var(--tcy); font-size: 30px; font-weight: 900; }
.tk-test26b .t-runs { color: var(--tyl); font-size: 44px; font-weight: 900; min-width: 110px; }
.tk-test26b .t-ov { color: var(--tcy); font-size: 30px; }
.tk-test26b .t-box { width: 180px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff, #e8e8f0); color: #1a0a5e; line-height: 1.05; }
.tk-test26b .t-box small { font-size: 21px; font-weight: 700; }
.tk-test26b .t-box b { font-size: 23px; font-weight: 700; }
.tk-test26b .t-row { flex: 1; display: flex; align-items: center; position: relative; align-self: stretch; }
.tk-test26b .t-bats { flex: 1; display: flex; }
.tk-test26b .t-bat { flex: 1; display: flex; align-items: baseline; gap: 10px; padding-left: 28px; font-size: 32px; }
.tk-test26b .t-bat .nm { flex: 1; white-space: nowrap; }
.tk-test26b .t-bat.on .nm::before { content: ''; display: inline-block; width: 6px; height: 26px; margin-right: 12px; background: var(--tyl); border-radius: 2px 2px 4px 4px; transform: rotate(30deg); }
.tk-test26b .t-bat b { font-size: 34px; } .tk-test26b .t-bat small { font-size: 22px; width: 50px; }
.tk-test26b .t-bowl { width: 420px; flex: none; display: flex; align-items: baseline; gap: 12px; padding: 0 26px; font-size: 32px; }
.tk-test26b .t-bowl .nm { flex: 1; white-space: nowrap; }
.tk-test26b .t-bowl .fig { font-size: 34px; } .tk-test26b .t-bowl .ov { font-size: 22px; }
.tk-test26b .t-wide { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 26px; background: linear-gradient(90deg, #3a10b0, var(--tp2)); clip-path: inset(0 0 0 100%); transition: clip-path .55s var(--glide); }
.tk-test26b .t-wide > b:first-child { background: #fff; color: #1a0a5e; padding: 2px 12px; font-size: 22px; }
.tk-test26b .t-wide span b { color: var(--tyl); }
.tk-test26b .t-wide small { font-size: 20px; }
.tk-test26b.m-wide .t-wide { clip-path: inset(0 0 0 0); }
.tk-test26b .t-over { position: absolute; right: 64px; bottom: 100%; display: flex; align-items: center; gap: 14px; padding: 4px 16px; background: linear-gradient(180deg, #fff, #ecebf5); color: #1a0a5e; font-size: 22px; font-weight: 900; border-radius: 6px 6px 0 0; }
.tk-test26b .t-balls { display: flex; gap: 6px; }
.tk-test26b .bx { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; font-weight: 900; border: 2px solid #1a0a5e; box-sizing: border-box; color: #1a0a5e; }
.tk-test26b .bx.dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1a0a5e; }
.tk-test26b .bx.r { color: var(--tp2); }
.tk-test26b .bx.b4 { background: var(--tcy); border-color: var(--tcy); }
.tk-test26b .bx.b6 { background: var(--tyl); border-color: var(--tyl); }
.tk-test26b .bx.w { background: #ff4f7b; border-color: #ff4f7b; color: #fff; }
.tk-test26b .bx.ex { width: auto; padding: 0 5px; border-radius: 12px; font-size: 13px; }
.tk-test26b .bx:not(.r):not(.dot):not(.b4):not(.b6):not(.w):not(.ex) { opacity: .35; }
.tk-test26b.enter .t-logo.l { animation: fromLeft .5s var(--glide) both; }
.tk-test26b.enter .t-bar { animation: tkWipe .7s .15s var(--glide) both; }
.tk-test26b.enter .t-logo.r { animation: fromRight .5s .4s var(--glide) both; }
.tk-test26b.enter .t-over { animation: tkGrowY .45s .8s var(--glide) both; transform-origin: bottom; }
.tk-test26b.enter .t-bat, .tk-test26b.enter .t-bowl, .tk-test26b.enter .t-box { animation: rowIn .4s .6s var(--glide) both; }
body.lower-on .tk-test26b .t-over { opacity: 0; }
body.t-test26b #lower { left: 50%; transform: translateX(-50%); bottom: 130px; min-width: 900px; border-radius: 0; background: linear-gradient(90deg, #3a0f9c, #2410a0 60%, #1b1588); box-shadow: 0 8px 24px rgba(0,0,0,.45); font-family: 'Lato', sans-serif; }
body.t-test26b #lower.hide { transform: translate(-50%, 30px); }
body.t-test26b #lower .ph { width: 110px; background: rgba(120,120,140,.6); }
body.t-test26b #lower .ph img { width: 110px; height: 110px; }
body.t-test26b #lower .ph .ini { font-size: 40px; }
body.t-test26b #lower .bd { min-height: 0; padding: 0; flex: 1; }
body.t-test26b #lower .tag { align-self: stretch; background: linear-gradient(90deg, #5a14c8, #3f12b5); color: var(--tcy); font-size: 18px; padding: 8px 22px 0; margin: 0; letter-spacing: 2px; border-radius: 0; }
body.t-test26b #lower .tag.w { color: #ff8fab; }
body.t-test26b #lower .nm { font-size: 34px; font-weight: 900; padding: 6px 30px 8px 22px; background: linear-gradient(90deg, #5a14c8, #3f12b5); }
body.t-test26b #lower .nm small { font-size: 22px; color: var(--tyl); }
body.t-test26b #lower .st { font-size: 26px; padding: 8px 22px 2px; color: #fff; }
body.t-test26b #lower .st b { color: var(--tyl); font-size: 30px; }
body.t-test26b #lower .sub { font-size: 20px; color: var(--muted); padding: 0 22px 10px; }
body.t-test26b #lower.enter .nm { animation: tkWipe .5s .2s var(--glide) both; }
body.t-test26b .card { box-sizing: border-box; border-radius: 14px; background: var(--card-bg); padding-left: 90px; font-family: 'Lato', sans-serif; }
body.t-test26b .card::before { content: attr(data-side); position: absolute; left: 0; top: 0; bottom: 0; width: 90px; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); background: rgba(70,60,90,.85); color: #d9d4ee; font-size: 40px; font-weight: 900; letter-spacing: 2px; white-space: nowrap; overflow: hidden; }
body.t-test26b .card .head { font-size: 40px; font-weight: 900; padding: 16px 30px; background: linear-gradient(90deg, rgba(30,60,170,.9), rgba(30,60,170,.2)); }
body.t-test26b .card .head .s { font-size: 22px; font-weight: 700; color: #fff; }
body.t-test26b .card th { color: var(--tcy); }
body.t-test26b .card td { font-weight: 700; text-transform: uppercase; }
body.t-test26b .card td.b { color: var(--tyl); }
body.t-test26b .card .foot { background: var(--tcy); color: #1a0a5e; font-weight: 900; text-transform: uppercase; font-size: 24px; }
body.t-test26b .card .result { font-size: 30px; }
body.t-test26b .card .result { background: var(--tcy); color: #1a0a5e; }
body.t-lpl26b .oc, body.t-test26b .oc { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 34px 34px 6px; position: relative; border-top: 1px solid rgba(255,255,255,.08); }
body.t-lpl26b .card .head > span:first-child, body.t-test26b .card .head > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.t-lpl26b .card .head .s, body.t-test26b .card .head .s { flex: none; max-width: 40%; text-align: right; }
body.t-lpl26b .card td .how, body.t-test26b .card td .how { font-size: 18px; }
body.t-lpl26b .card td:first-child, body.t-test26b .card td:first-child { white-space: nowrap; }

/* ---------- Women's T20 World Cup 2026 ---------- */
body.t-twc26w { --font: 'Montserrat', sans-serif; --vn: #1d1062; --vn2: #2a1680; --vm: #3ff0b0; --vp: #7b35e8; --bar-bg: var(--vn); --mid-bg: rgba(0,0,0,.2);
  --acc: #3ff0b0; --acc2: #7b35e8; --strip-bg: #3ff0b0; --strip-fg: #1d1062; --head-bg: linear-gradient(90deg, #7b35e8, #2a1680); --head-fg: #fff; --card-bg: rgba(29,16,98,.97); --muted: #b8b0e8;
  --four: #7b35e8; --six: #3ff0b0; --wkt: #ff3d6e; --radius: 0px; }
.tk-twc26w { height: 84px; bottom: 40px; font-family: 'Montserrat', sans-serif; font-weight: 800; color: #fff; filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.tk-twc26w .v-end { width: 150px; flex: none; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: linear-gradient(180deg, #fff, #e9e6f5); }
.tk-twc26w .v-end img { max-width: 110px; max-height: 70px; object-fit: contain; align-self: center; }
.tk-twc26w .v-end img.pf { max-width: none; max-height: none; width: 84px; height: 84px; object-fit: cover; object-position: top; align-self: flex-end; }
.tk-twc26w .v-end span { align-self: center; font-size: 30px; color: var(--vn); }
/* Navy panels with mint angled edges. */
.tk-twc26w .v-bats, .tk-twc26w .v-bowl { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 44px; position: relative;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px), linear-gradient(90deg, var(--vn), var(--vn2)); }
.tk-twc26w .v-bats { clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); margin-left: -12px; box-shadow: inset 6px 0 0 var(--vm); }
.tk-twc26w .v-bowl { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 22px 100%); margin-right: -12px; }
.tk-twc26w .v-bats::before, .tk-twc26w .v-bowl::after { content: ''; position: absolute; top: 0; bottom: 0; width: 10px; background: var(--vm); transform: skewX(-15deg); }
.tk-twc26w .v-bats::before { left: 16px; } .tk-twc26w .v-bowl::after { right: 16px; transform: skewX(15deg); }
.tk-twc26w .v-bat { display: grid; grid-template-columns: 28px 1fr 56px 40px; align-items: baseline; font-size: 27px; line-height: 1.15; }
.tk-twc26w .v-bat::before { content: ''; }
.tk-twc26w .v-bat.on::before { content: ''; width: 6px; height: 22px; background: var(--vm); border-radius: 2px 2px 4px 4px; transform: rotate(30deg); align-self: center; }
.tk-twc26w .v-bat .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-twc26w .v-bat b { text-align: right; font-size: 28px; } .tk-twc26w .v-bat small { text-align: right; font-size: 21px; font-weight: 700; }
.tk-twc26w .v-mid { width: 560px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff, #eeeaf8); color: var(--vn); z-index: 1;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 14px 100%); border-left: 6px solid var(--vm); border-right: 6px solid var(--vm); }
.tk-twc26w .v-l1 { display: flex; align-items: center; gap: 16px; }
.tk-twc26w .v-vs { font-size: 24px; } .tk-twc26w .v-vs span { font-weight: 700; }
.tk-twc26w .v-score { background: linear-gradient(180deg, #8d4cf0, var(--vp)); color: #fff; font-size: 36px; line-height: 1.15; padding: 0 22px; border-radius: 4px; }
.tk-twc26w .v-ov { font-size: 26px; } .tk-twc26w .v-ov small { font-size: 18px; }
.tk-twc26w .v-l2 { font-size: 21px; font-weight: 700; letter-spacing: .3px; max-width: 520px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-twc26w .v-l2 b { color: var(--vp); font-size: 24px; }
.tk-twc26w .v-bw { display: flex; justify-content: space-between; align-items: baseline; font-size: 27px; }
.tk-twc26w .v-bw small { font-size: 21px; }
.tk-twc26w .v-l3 { display: flex; align-items: center; height: 30px; }
.tk-twc26w .v-l3 .ex { font-size: 20px; color: var(--vm); }
.tk-twc26w .v-balls { display: flex; gap: 5px; }
.tk-twc26w .bx { width: 26px; height: 26px; border-radius: 50%; box-sizing: border-box; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 15px; font-weight: 900; color: var(--vn); }
.tk-twc26w .bx:not(.r):not(.dot):not(.b4):not(.b6):not(.w):not(.ex) { opacity: .55; }
.tk-twc26w .bx.r { background: #fff; }
.tk-twc26w .bx.dot { background: transparent; } .tk-twc26w .bx.dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.tk-twc26w .bx.b4 { background: var(--vp); color: #fff; border-color: var(--vp); }
.tk-twc26w .bx.b6 { background: var(--vm); color: var(--vn); border-color: var(--vm); }
.tk-twc26w .bx.w { background: #ff3d6e; color: #fff; border-color: #ff3d6e; }
.tk-twc26w .bx.ex { width: auto; padding: 0 5px; border-radius: 13px; background: #fff; font-size: 12px; }
/* Finish: RUNS NEEDED / BALLS LEFT take over the bowler panel. */
.tk-twc26w .v-fin { display: none; flex: 1; align-items: center; justify-content: space-around; margin-right: -12px; padding: 0 44px 0 30px;
  background: linear-gradient(90deg, var(--vn), var(--vn2)); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 22px 100%); }
.tk-twc26w .v-fin div { display: flex; align-items: center; gap: 14px; }
.tk-twc26w .v-fin small { font-size: 16px; line-height: 1.05; font-weight: 700; color: var(--vm); }
.tk-twc26w .v-fin b { font-size: 50px; line-height: 1; }
.tk-twc26w.m-fin .v-bowl { display: none; }
.tk-twc26w.m-fin .v-fin { display: flex; animation: tkWipe .6s var(--glide); }
/* Full: team names either side, message in the white centre. */
.tk-twc26w .v-full { display: none; flex: 1; align-items: stretch; }
.tk-twc26w .v-full .tn { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 38px; letter-spacing: 1px;
  background: repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px), linear-gradient(90deg, var(--vn), var(--vn2)); }
.tk-twc26w .v-full .tn.l { clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); margin-left: -12px; }
.tk-twc26w .v-full .tn.r { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 22px 100%); margin-right: -12px; }
.tk-twc26w .v-full .msg { width: 620px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, #fff, #eeeaf8); color: var(--vn); border-left: 6px solid var(--vm); border-right: 6px solid var(--vm); text-align: center; }
.tk-twc26w .v-full .msg b { font-size: 26px; line-height: 1.1; } .tk-twc26w .v-full .msg small { font-size: 19px; color: var(--vp); }
.tk-twc26w.m-full > :not(.v-end):not(.v-full) { display: none; }
.tk-twc26w.m-full .v-full { display: flex; animation: tkOpen .7s var(--glide); }
/* Entrance: ends drop in, panels slide from the centre out. */
.tk-twc26w.enter .v-end { animation: tkGrowY .45s var(--glide) both; transform-origin: bottom; }
.tk-twc26w.enter .v-mid { animation: tkGrowY .5s .1s var(--glide) both; }
.tk-twc26w.enter .v-bats, .tk-twc26w.enter .v-bowl, .tk-twc26w.enter .v-full .tn { animation: tkWipe .6s .25s var(--glide) both; }
.tk-twc26w.enter .v-bat, .tk-twc26w.enter .v-bw { animation: rowIn .4s .6s var(--glide) both; }
.tk-twc26w.enter .bx { animation: ballPop .4s .8s var(--pop) both; }
/* Lower third: white name bar with purple tag, navy stat bar with mint edge. */
body.t-twc26w #lower { left: 50%; transform: translateX(-50%); bottom: 150px; min-width: 860px; border-radius: 0; background: linear-gradient(90deg, var(--vn), var(--vn2)); border-left: 8px solid var(--vm); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
body.t-twc26w #lower.hide { transform: translate(-50%, 30px); }
body.t-twc26w #lower .ph { width: 140px; background: linear-gradient(180deg, #fff, #e9e6f5); }
body.t-twc26w #lower .ph img { width: 140px; height: 140px; object-position: top; }
body.t-twc26w #lower .ph .ini { font-size: 48px; color: var(--vn); }
body.t-twc26w #lower .bd { padding: 0; min-height: 0; flex: 1; text-align: left; }
body.t-twc26w #lower .bd > * { align-self: stretch; }
body.t-twc26w #lower .tag { align-self: stretch; margin: 0; border-radius: 0; background: var(--vp); color: #fff; font-size: 18px; padding: 4px 22px; letter-spacing: 3px; }
body.t-twc26w #lower .tag.w { background: #ff3d6e; }
body.t-twc26w #lower .nm { background: linear-gradient(180deg, #fff, #eeeaf8); color: var(--vn); font-size: 40px; padding: 6px 22px; }
body.t-twc26w #lower .nm small { color: var(--vp); font-size: 24px; }
body.t-twc26w #lower .st { font-size: 24px; padding: 8px 22px 2px; }
body.t-twc26w #lower .st b { color: var(--vm); font-size: 28px; }
body.t-twc26w #lower .sub { font-size: 19px; color: var(--muted); padding: 0 22px 10px; }
body.t-twc26w #lower.enter .nm { animation: tkWipe .5s .2s var(--glide) both; }
/* Cards: navy, purple header, mint footer. */
body.t-twc26w .card { border-radius: 0; border-left: 10px solid var(--vm); background: repeating-linear-gradient(120deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px), linear-gradient(160deg, #2a1680, #1d1062); }
body.t-twc26w .card .head { font-size: 44px; }
body.t-twc26w .card .head > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.t-twc26w .card .head .s { flex: none; max-width: 40%; text-align: right; font-size: 22px; }
body.t-twc26w .card th { color: var(--vm); }
body.t-twc26w .card td { color: #fff; text-transform: uppercase; font-weight: 700; }
body.t-twc26w .card td .how { font-size: 18px; }
body.t-twc26w .card td:first-child { white-space: nowrap; }
body.t-twc26w .card td.b { color: var(--vm); }
body.t-twc26w .card .foot { background: var(--vm); color: var(--vn); font-weight: 800; text-transform: uppercase; }
body.t-twc26w .card .result { background: var(--vp); color: #fff; }
body.t-twc26w .card { color: #fff; }
body.t-twc26w .oc { display: flex; align-items: flex-end; gap: 6px; height: 120px; padding: 34px 34px 6px; position: relative; border-top: 1px solid rgba(255,255,255,.08); }

/* Player photos in the bottom tickers (from the team page), in front of batter and bowler names. */
.tk-pf { display: inline-block; width: 1.12em; height: 1.12em; border-radius: 50%; object-fit: cover; object-position: top; vertical-align: -0.2em; margin-right: .32em; background: rgba(255,255,255,.2); box-shadow: 0 0 0 2px rgba(255,255,255,.75); }

/* Big top-player photo beside scorecards: only themes that style it show it. */
.card .hero { display: none; }

/* ---------- Pakistan v Sri Lanka T20I 2026 ---------- */
body.t-pak26b { --font: 'Saira Condensed', sans-serif; --big: 'Teko', sans-serif; --pg: #0b5d2a; --pg2: #0f7a37; --pl: #7ee35a; --pd: #06331a; --pc: #19d3f2; --py: #ffd400;
  --bar-bg: var(--pg); --mid-bg: rgba(0,0,0,.25); --acc: #7ee35a; --acc2: #19d3f2; --strip-bg: #7ee35a; --strip-fg: #06331a;
  --head-bg: transparent; --head-fg: #fff; --card-bg: #0b5d2a; --muted: #b9e8c4; --row-alt: transparent;
  --four: #0f7a37; --six: #19a64a; --wkt: #d62839; --radius: 0px; }
.tk-pak26b { height: 78px; bottom: 44px; font-family: 'Saira Condensed', sans-serif; font-weight: 800; color: #fff; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.tk-pak26b::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: linear-gradient(90deg, var(--tb), var(--pl) 30%, var(--pg2) 70%, var(--tw)); }
/* Team blocks at both ends. */
.tk-pak26b .p-team { flex: none; display: flex; align-items: center; gap: 14px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 3px, transparent 3px 26px), linear-gradient(100deg, color-mix(in srgb, var(--tb) 75%, #fff), var(--tb) 45%, color-mix(in srgb, var(--tb) 70%, var(--tb-mx, #000))); }
.tk-pak26b .p-team.l { width: 400px; padding: 0 22px 0 0; border-left: 10px solid var(--pc); }
.tk-pak26b .p-team.r { width: 250px; justify-content: flex-end; padding: 0 18px 0 22px; border-right: 10px solid var(--pl);
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 3px, transparent 3px 26px), linear-gradient(100deg, color-mix(in srgb, var(--tw) 70%, var(--tw-mx, #000)), var(--tw) 55%, color-mix(in srgb, var(--tw) 75%, #fff)); }
.tk-pak26b .p-logo { width: 86px; height: 78px; flex: none; display: flex; align-items: center; justify-content: center; }
.tk-pak26b .p-logo img { max-width: 70px; max-height: 64px; object-fit: contain; }
.tk-pak26b .p-logo span { font-size: 22px; padding: 4px 8px; border: 2px solid rgba(255,255,255,.7); }
.tk-pak26b .p-tn { font-family: 'Teko', sans-serif; font-size: 62px; line-height: 1; font-weight: 600; color: var(--py); letter-spacing: 1px; margin-top: 8px; }
.tk-pak26b .p-team.r .p-tn { color: color-mix(in srgb, var(--tw) 30%, #b8ff9a); }
.tk-pak26b .p-sc { margin-left: auto; text-align: right; line-height: 1; }
.tk-pak26b .p-runs { font-size: 46px; display: block; }
.tk-pak26b .p-l2 { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 26px; }
.tk-pak26b .p-pp { font-style: normal; background: var(--pc); color: #06331a; font-size: 20px; padding: 0 7px; line-height: 1.25; }
/* Light batter cells with cut-out photos. */
.tk-pak26b .p-bats { flex: 1; display: flex; min-width: 0; }
.tk-pak26b .p-bat { flex: 1; min-width: 0; display: flex; align-items: stretch; position: relative; color: #0d1b12;
  background: radial-gradient(circle at 70% 60%, rgba(0,0,0,.06) 1.5px, transparent 2px) 0 0 / 9px 9px, linear-gradient(180deg, #f4f5f4, #d9dcda); border-right: 3px solid #b9bdbb; }
.tk-pak26b .p-ph { width: 96px; flex: none; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.tk-pak26b .p-ph img { width: 96px; height: 78px; object-fit: cover; object-position: top; }
.tk-pak26b .p-st { width: 26px; flex: none; }
.tk-pak26b .p-bat.on .p-st::before { content: ''; display: block; width: 5px; height: 30px; margin: 22px auto 0; background: #0d1b12; border-radius: 2px 2px 4px 4px; transform: rotate(35deg); }
.tk-pak26b .p-bat.nop .p-st { width: 34px; }
.tk-pak26b .p-bd { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-right: 26px; line-height: 1.05; }
.tk-pak26b .p-bat .nm { font-size: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tk-pak26b .p-bat .rb b { font-size: 40px; } .tk-pak26b .p-bat .rb small { font-size: 24px; margin-left: 4px; font-weight: 700; }
/* Bowler cell in the bowling side's colour. */
.tk-pak26b .p-bowl { width: 500px; flex: none; display: flex; align-items: stretch;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 3px, transparent 3px 26px), linear-gradient(100deg, color-mix(in srgb, var(--tw) 60%, var(--tw-mx, #000)), var(--tw)); }
.tk-pak26b .p-bowl.nop .p-ph { display: none; }
.tk-pak26b .p-bowl .p-bd { align-items: stretch; padding: 0 22px; }
.tk-pak26b .p-bowl.nop .p-bd { padding-left: 30px; }
.tk-pak26b .p-r1 { display: flex; justify-content: space-between; align-items: baseline; font-size: 30px; }
.tk-pak26b .p-r1 small { font-size: 22px; }
.tk-pak26b .p-r2 { height: 32px; display: flex; align-items: center; }
.tk-pak26b .p-r2 .rt { font-size: 22px; font-weight: 700; letter-spacing: .5px; } .tk-pak26b .p-r2 .rt b { font-size: 28px; margin-left: 6px; }
.tk-pak26b .p-balls { display: flex; gap: 5px; }
.tk-pak26b .bx { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 17px; font-weight: 800; box-sizing: border-box; border: 2px solid rgba(255,255,255,.55); color: #fff; }
.tk-pak26b .bx.r, .tk-pak26b .bx.dot { background: var(--pl); color: #06331a; border-color: var(--pl); }
.tk-pak26b .bx.b4, .tk-pak26b .bx.b6 { background: #fff; color: #06331a; border-color: #fff; }
.tk-pak26b .bx.w { background: #d62839; border-color: #d62839; }
.tk-pak26b .bx.ex { width: auto; padding: 0 5px; background: var(--pc); color: #06331a; border-color: var(--pc); font-size: 13px; }
/* FOUR / SIX / WICKET across the batters. */
.tk-pak26b .p-word, .tk-pak26b .p-side, .tk-pak26b .p-wide { display: none; }
.tk-pak26b.m-word .p-bats { display: none; }
.tk-pak26b.m-word .p-word { display: flex; flex: 1; align-items: center; justify-content: center; overflow: hidden; animation: tkWipe .5s var(--glide);
  background: radial-gradient(circle at 70% 60%, rgba(0,0,0,.06) 1.5px, transparent 2px) 0 0 / 9px 9px, linear-gradient(180deg, #f4f5f4, #d9dcda); }
.tk-pak26b .p-word b { font-family: 'Teko', sans-serif; font-size: 82px; line-height: 1; font-style: italic; font-weight: 700; letter-spacing: 8px; margin-top: 10px;
  color: #0f8a3c; -webkit-text-stroke: 2px #075a26; transform: skewX(-12deg); }
.tk-pak26b[data-word="wicket"] .p-word b { color: #12a046; }
.tk-pak26b[data-word="six"] .p-word b { color: #0b6a2e; }
/* Boundaries over the bowler, in the batting side's colour. */
.tk-pak26b.m-side .p-bowl { display: none; }
.tk-pak26b.m-side .p-side { display: flex; width: 500px; flex: none; align-items: center; justify-content: space-around; animation: tkFlip .5s var(--glide);
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 3px, transparent 3px 26px), linear-gradient(100deg, var(--tb), color-mix(in srgb, var(--tb) 70%, var(--tb-mx, #000))); }
.tk-pak26b .p-side div { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.tk-pak26b .p-side small { font-size: 24px; } .tk-pak26b .p-side b { font-size: 42px; }
/* Wide panel over batters and bowler. */
.tk-pak26b.m-wide .p-bats, .tk-pak26b.m-wide .p-bowl, .tk-pak26b.m-wide .p-word, .tk-pak26b.m-wide .p-side { display: none; }
.tk-pak26b.m-wide .p-wide { display: flex; flex: 1; align-items: stretch; color: #0d1b12; animation: tkWipe .6s var(--glide);
  background: radial-gradient(circle at 70% 60%, rgba(0,0,0,.06) 1.5px, transparent 2px) 0 0 / 9px 9px, linear-gradient(180deg, #f4f5f4, #d9dcda); }
.tk-pak26b .p-wide .t { width: 210px; flex: none; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 24px; line-height: 1.05; background: var(--pg); color: #fff; }
.tk-pak26b .p-wide .c { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; border-left: 2px solid #c3c7c5; }
.tk-pak26b .p-wide .c small { font-size: 22px; font-weight: 700; } .tk-pak26b .p-wide .c b { font-size: 40px; }
.tk-pak26b .p-wide .msg { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 36px; letter-spacing: 1px; text-align: center; padding: 0 30px; }
/* Entrance. */
.tk-pak26b.enter .p-team { animation: tkGrowY .45s var(--glide) both; transform-origin: bottom; }
.tk-pak26b.enter .p-bats, .tk-pak26b.enter .p-bowl, .tk-pak26b.enter .p-wide { animation: tkWipe .6s .2s var(--glide) both; }
.tk-pak26b.enter .p-bat .p-bd, .tk-pak26b.enter .p-bowl .p-bd { animation: rowIn .4s .55s var(--glide) both; }
.tk-pak26b.enter .bx { animation: ballPop .4s .75s var(--pop) both; }
/* Lower third: green panel above the ticker's left end, photo cut-out, big name, runs at the right. */
body.t-pak26b #lower { left: 30px; bottom: 140px; min-width: 760px; border-radius: 0; font-family: 'Saira Condensed', sans-serif;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 3px, transparent 3px 26px), linear-gradient(100deg, #0f7a37, #0b5d2a 60%, #06331a); border-left: 8px solid var(--pl); box-shadow: 0 8px 24px rgba(0,0,0,.45); }
body.t-pak26b #lower .ph { width: 150px; background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(0,0,0,.2)); }
body.t-pak26b #lower .ph img { width: 150px; height: 150px; object-position: top; }
body.t-pak26b #lower .bd { padding: 12px 30px 14px; min-height: 0; }
body.t-pak26b #lower .tag { background: var(--pl); color: #06331a; border-radius: 0; font-size: 20px; padding: 0 12px; }
body.t-pak26b #lower .tag.w { background: #d62839; color: #fff; }
body.t-pak26b #lower .nm { font-family: 'Teko', sans-serif; font-size: 58px; font-weight: 600; letter-spacing: 1px; line-height: .95; margin-top: 4px; }
body.t-pak26b #lower .nm small { color: var(--pl); font-family: 'Saira Condensed', sans-serif; font-size: 28px; }
body.t-pak26b #lower .st { font-size: 28px; font-weight: 700; } body.t-pak26b #lower .st b { color: var(--pl); }
body.t-pak26b #lower .sub { font-size: 22px; color: var(--muted); }
body.t-pak26b #lower.enter .nm { animation: tkWipe .5s .2s var(--glide) both; }
/* Cards: textured green, white rows, big photo of the top player at the side. */
body.t-pak26b .card { border-radius: 0; color: #fff; font-family: 'Saira Condensed', sans-serif; border-left: 10px solid var(--pl);
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 3px, transparent 3px 30px), radial-gradient(circle at 85% 20%, #1a9a48, transparent 55%), linear-gradient(160deg, #0f7a37, #0b5d2a 50%, #06331a); }
body.t-pak26b .card .head { font-family: 'Teko', sans-serif; font-size: 60px; font-weight: 600; line-height: 1; padding: 22px 34px 8px; background: none !important; color: #fff !important; }
body.t-pak26b .card .head .s { font-family: 'Saira Condensed', sans-serif; font-size: 24px; flex: none; max-width: 45%; text-align: right; color: var(--pl); }
body.t-pak26b .card .head > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.t-pak26b .card table { box-sizing: border-box; border-collapse: separate; border-spacing: 0 4px; padding: 0 24px; }
body.t-pak26b .card th { color: var(--pl); font-size: 22px; }
body.t-pak26b .card td { background: linear-gradient(180deg, #fff, #e3e6e4); color: #0d1b12; font-weight: 800; text-transform: uppercase; border: none; padding: 5px 24px; }
body.t-pak26b .card td .how { color: #4a5a50; font-size: 20px; white-space: normal; }
body.t-pak26b .card td:first-child { white-space: nowrap; }
body.t-pak26b .card td.b { color: #0b5d2a; }
body.t-pak26b .card tr.on td { background: linear-gradient(180deg, #d6ffc4, #a9ee8c); }
body.t-pak26b .card .foot { background: rgba(0,0,0,.3); font-weight: 700; text-transform: uppercase; }
body.t-pak26b .card .result { background: var(--pl); color: #06331a; font-family: 'Teko', sans-serif; font-size: 46px; font-weight: 600; }
body.t-pak26b .oc { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 30px 34px 6px; position: relative; }
body.t-pak26b .card:has(.hero) { width: 1640px; margin-left: -820px; padding-right: 400px; box-sizing: border-box; }
body.t-pak26b .card:has(.hero) .hero { display: flex; flex-direction: column; justify-content: flex-end; position: absolute; right: 0; top: 0; bottom: 0; width: 400px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(126,227,90,.35), transparent 60%), linear-gradient(180deg, #13883f, #06331a); border-left: 4px solid var(--pl); }
body.t-pak26b .hero img { position: absolute; left: 0; right: 0; top: 0; bottom: 110px; width: 100%; height: calc(100% - 110px); object-fit: cover; object-position: top; }
body.t-pak26b .hero .hn { position: relative; font-family: 'Teko', sans-serif; font-size: 50px; line-height: 1; padding: 10px 24px 0; background: linear-gradient(0deg, #06331a 60%, transparent); text-transform: uppercase; }
body.t-pak26b .hero .hl { position: relative; font-size: 24px; color: var(--pl); padding: 0 24px 22px; background: #06331a; font-weight: 700; }
body.t-pak26b .hero .hl b { color: #fff; font-size: 34px; } body.t-pak26b .hero .hl small { font-size: 22px; }
/* Playing XI: cut-out photos with white name tags. */
body.t-pak26b .xi .p img { width: 150px; height: 150px; border-radius: 0; border: none; object-position: top; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.25), transparent 70%); }
body.t-pak26b .xi .p .n { display: inline-block; background: linear-gradient(180deg, #fff, #dfe3e1); color: #0d1b12; font-size: 24px; padding: 0 14px; text-transform: uppercase; margin-top: 0; }
body.t-pak26b .xi .p .r { color: var(--pl); text-transform: uppercase; font-size: 18px; font-weight: 700; }
.tk-pak26b .p-logo:empty { width: 22px; }

/* Super Over: tab above the score bar or ticker, and a narrower moment word. */
body.so-on #tk::before, body.so-on #bug::before { content: attr(data-so); content: 'SUPER OVER'; position: absolute; left: 50%; top: -46px; transform: translateX(-50%); z-index: 5;
  padding: 4px 34px; font: italic 800 30px/1.2 var(--big, sans-serif); letter-spacing: 6px; color: var(--strip-fg, #111); background: var(--acc, #ffc400);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 100%, 0 100%); animation: soPulse 1.6s ease-in-out infinite alternate; }
body.so-on #bug::before { top: -50px; }
@keyframes soPulse { to { filter: brightness(1.25); } }
#moment.m-superOver { --mc: var(--acc); --mc2: #fff; }
#moment.m-superOver .mword { font-size: 130px; }

/* Worm and Manhattan charts. */
.card .chart { padding: 18px 34px 4px; }
.card .chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.card .chart .gl { stroke: rgba(255,255,255,.12); stroke-width: 2; }
.card .chart .bl { stroke: rgba(255,255,255,.6); stroke-width: 3; }
.card .chart .ax { fill: var(--muted); font-size: 22px; font-weight: 700; font-family: var(--font, sans-serif); }
.card .chart .wn { fill: #fff; font-size: 20px; font-weight: 800; }
.card .chart .ln { stroke-dasharray: 4000; stroke-dashoffset: 4000; animation: drawLn 1.6s var(--glide) forwards; }
.card .chart .br { transform-box: fill-box; transform-origin: bottom; animation: barUp .6s var(--glide) both; }
.card .chart .wk { animation: popIn .4s 1.2s var(--pop) both; transform-box: fill-box; transform-origin: center; }
@keyframes drawLn { to { stroke-dashoffset: 0; } }
@keyframes barUp { from { transform: scaleY(0); } }
.card .legend { display: flex; flex-wrap: wrap; gap: 14px 44px; padding: 10px 34px 22px; font-size: 28px; font-weight: 700; }
.card .legend i { display: inline-block; width: 26px; height: 26px; border-radius: 4px; margin-right: 10px; vertical-align: -4px; box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.card .legend small { color: var(--muted); font-size: 22px; } .card .legend .k { margin-left: auto; color: var(--muted); font-size: 22px; }

/* ?light=1: light on the PC that draws the page (Playout, slower vMix PCs). Moments keep only their bottom
   bar, and decorations that loop for ever (shine, glow, pulse) play once, so a still score draws nothing.
   The scrolling ticker and corner text keep moving: they carry information. */
body.light #moment .mband { display: none; }
body.light *, body.light *::before, body.light *::after { animation-iteration-count: 1 !important; }
body.light .tt-track, body.light #cornerLogo .ct span { animation-iteration-count: infinite !important; }

/* ?light=1 boundary / wicket pop-ups for Playout: Playout takes 2-10 pictures a second of the page, so
   moves are few, slow and eased (no overshoot, no blur, no ring, no drifting ghost word). Each pop-up is
   one slide or fade in, a still hold, and one slide or fade out: it reads smoothly at any picture rate
   and the page draws nothing while it holds. */
body.light #moment.on .mfoot { animation: liteUp .6s cubic-bezier(.22,.61,.36,1) both; }
body.light #moment.out .mfoot { animation: liteDown .5s cubic-bezier(.55,.06,.68,.19) both; }
body.light #moment.on .mghost { animation: liteFade .6s .15s ease-out both; }
body.light #moment.on .mcols > div:first-child, body.light #moment.on .mcols > div:last-child,
body.light #moment.on .mcols .sep { animation: liteFade .5s .25s ease-out both; }
body.light #flash .box.show { animation: litePop 2.4s ease both; }
body.light #flash .box.show::before { display: none; }
@keyframes liteUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes liteDown { from { transform: translateY(0); } to { transform: translateY(100%); } }
@keyframes liteFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes litePop { 0% { opacity: 0; transform: scale(.92); } 15% { opacity: 1; transform: scale(1); } 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }

/* ===== Pro 3D: original real-time 3D look (tilted glass ticker with a floor reflection,
   bevelled metal score box, cube-flipping team blocks, swing-in lower thirds, cards that
   flip down like a board, extruded FOUR / SIX / OUT words, light sweeps). Pure CSS. ===== */
body.t-pro3d { --font: 'Saira Condensed', 'Barlow Condensed', sans-serif; --big: 'Archivo Black', sans-serif;
  --bar-bg: linear-gradient(180deg, #23396a 0%, #102352 46%, #071331 54%, #0d2252 100%); --mid-bg: transparent; --muted: #a9c8ff;
  --score-bg: linear-gradient(180deg, #fff7d6 0%, #ffd84d 44%, #d9a000 56%, #ffe486 100%); --score-fg: #1d1400;
  --acc: #ffcf3a; --acc2: #2fe3ff; --strip-bg: linear-gradient(180deg, #ffe998, #e2a700); --strip-fg: #1d1400;
  --head-bg: linear-gradient(180deg, #3359a8 0%, #183673 48%, #0e2556 52%, #2148a0 100%); --head-fg: #fff;
  --card-bg: linear-gradient(180deg, rgba(20, 37, 78, .97), rgba(5, 11, 30, .97)); --row-alt: rgba(120, 170, 255, .06);
  --four: #1f8bff; --six: #a43dff; --wkt: #ff2d55; --radius: 6px; }
body.t-pro3d #bug { perspective: 1500px; perspective-origin: 50% -40%; }
body.t-pro3d #bar { position: relative; overflow: visible; transform: rotateX(16deg); transform-origin: 50% 100%;
  border-top: 2px solid rgba(170, 210, 255, .8);
  box-shadow: 0 3px 0 #050b22, 0 6px 0 #02050f, 0 26px 40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -12px 22px rgba(0, 0, 0, .45);
  -webkit-box-reflect: below 8px linear-gradient(transparent 55%, rgba(255, 255, 255, .16)); }
body.t-pro3d #bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .32) 50%, transparent 58%) no-repeat; background-size: 40% 100%;
  animation: p3Sweep 7s 1.2s ease-in-out infinite; }
@keyframes p3Sweep { 0% { background-position: -80% 0; } 22%, 100% { background-position: 180% 0; } }
body.t-pro3d .team, body.t-pro3d .bowlteam { text-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 2px 0 rgba(0, 0, 0, .3), 0 3px 0 rgba(0, 0, 0, .25), 0 6px 10px rgba(0, 0, 0, .5);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), inset 0 -14px 20px rgba(0, 0, 0, .35); animation: p3Cube 11s ease-in-out infinite; backface-visibility: hidden; }
body.t-pro3d .bowlteam { animation-delay: 5.5s; }
@keyframes p3Cube { 0%, 86% { transform: rotateX(0); } 94%, 100% { transform: rotateX(360deg); } }
body.t-pro3d .score { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .9), inset 0 -3px 0 rgba(120, 80, 0, .5), 0 0 0 2px rgba(255, 220, 120, .6);
  text-shadow: 0 1px 0 #fff3c0, 0 2px 0 #c58f00, 0 3px 0 #a87800, 0 5px 8px rgba(0, 0, 0, .35); }
body.t-pro3d #strip { box-shadow: 0 3px 0 #8a6400, 0 10px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .7); transform: rotateX(16deg); transform-origin: 50% 0; }
body.t-pro3d #bug.enter #bar { animation: p3Rise .9s cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes p3Rise { from { transform: rotateX(-80deg) translateZ(-120px); opacity: 0; } 55% { opacity: 1; } to { transform: rotateX(16deg); } }

body.t-pro3d #lower { transform-origin: 0 50%; border-top: 2px solid rgba(170, 210, 255, .8);
  box-shadow: 0 4px 0 #050b22, 0 8px 0 #02050f, 0 30px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
body.t-pro3d #lower.enter { animation: p3Swing 1s cubic-bezier(.2, .9, .25, 1.12) both; }
@keyframes p3Swing { from { transform: perspective(1200px) rotateY(-100deg) translateZ(-160px); opacity: 0; } 50% { opacity: 1; } to { transform: perspective(1200px) rotateY(0); } }

body.t-pro3d .card { transform-origin: 50% 0; border-top: 3px solid var(--acc);
  box-shadow: 0 6px 0 #050b22, 0 10px 0 #02050f, 0 46px 90px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .2); }
body.t-pro3d .card.enter { animation: p3Flip 1s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes p3Flip { from { transform: perspective(1800px) rotateX(-105deg); opacity: 0; } 45% { opacity: 1; } to { transform: perspective(1800px) rotateX(0); } }
body.t-pro3d .card .head { text-shadow: 0 2px 0 rgba(0, 0, 0, .4), 0 4px 10px rgba(0, 0, 0, .4); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), 0 3px 0 rgba(0, 0, 0, .35); }
body.t-pro3d .card.enter::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .25) 50%, transparent 60%) no-repeat; background-size: 50% 100%; animation: p3CardSweep 1.3s .7s ease-out both; }
@keyframes p3CardSweep { from { background-position: -60% 0; } to { background-position: 160% 0; } }

body.t-pro3d #moment .mband { perspective: 1100px; }
body.t-pro3d #moment .mword { font-style: normal; color: #fff; -webkit-text-stroke: 2px color-mix(in srgb, var(--mc2) 60%, #fff);
  text-shadow: 2px 2px 0 var(--mc2), 4px 4px 0 color-mix(in srgb, var(--mc2) 70%, var(--mc)), 6px 6px 0 var(--mc), 8px 8px 0 var(--mc),
    10px 10px 0 color-mix(in srgb, var(--mc) 85%, #000), 12px 12px 0 color-mix(in srgb, var(--mc) 75%, #000), 14px 14px 0 color-mix(in srgb, var(--mc) 65%, #000),
    16px 16px 0 color-mix(in srgb, var(--mc) 55%, #000), 0 0 40px color-mix(in srgb, var(--mc) 70%, transparent), 22px 30px 30px rgba(0, 0, 0, .6); }
body.t-pro3d #moment.on .mword { animation: p3Word 1.1s .05s cubic-bezier(.2, .9, .25, 1.2) both; }
@keyframes p3Word { from { transform: rotateY(-110deg) rotateX(25deg) scale(.35); opacity: 0; } 50% { opacity: 1; } to { transform: rotateY(0) rotateX(0) scale(1); } }
body.t-pro3d #moment .mfoot { border-top: 3px solid var(--mc2); box-shadow: 0 -6px 0 rgba(0, 0, 0, .35), 0 -20px 40px rgba(0, 0, 0, .4); }
body.t-pro3d #moment.on .mfoot { animation: p3Foot .8s .15s cubic-bezier(.2, .9, .25, 1.1) both; }
@keyframes p3Foot { from { transform: perspective(1000px) rotateX(95deg); transform-origin: 50% 100%; opacity: 0; } to { transform: perspective(1000px) rotateX(0); transform-origin: 50% 100%; } }
body.t-pro3d #status { box-shadow: 0 3px 0 rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }

/* ===== England v Sri Lanka ODI 2026 style (eng26b): original design after the broadcast look ===== */
body.t-eng26b { --font: 'Montserrat', 'Lato', sans-serif; --acc: #36c5ff; --acc2: #ffd400; --card-bg: rgba(8, 14, 52, .96);
  --head-bg: linear-gradient(90deg, #0b1650, #1d4fc4); --head-fg: #fff; --score-bg: #fff; --score-fg: #0b1340; --muted: #a9bdf0; }
.tk-eng26b { left: 60px !important; right: 60px !important; bottom: 34px; height: 100px; font-family: 'Montserrat', sans-serif; color: #fff;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.tk-eng26b > * { flex: none; }
.tk-eng26b .e-edge { width: 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--ab) 75%, #fff), var(--ab)); }
.tk-eng26b .e-edge.l { border-radius: 6px 0 0 6px; } .tk-eng26b .e-edge.r { background: linear-gradient(180deg, color-mix(in srgb, var(--aw) 75%, #fff), var(--aw)); border-radius: 0 6px 6px 0; }
.tk-eng26b .e-crest { width: 104px; background: #fff; display: flex; align-items: center; justify-content: center; }
.tk-eng26b .e-crest img { max-width: 78px; max-height: 80px; object-fit: contain; }
.tk-eng26b .e-crest.l b { color: var(--tb); } .tk-eng26b .e-crest.r b { color: var(--tw); }
.tk-eng26b .e-crest b { font-size: 30px; font-weight: 800; }
.tk-eng26b .e-bat { display: flex; width: 640px; background: linear-gradient(90deg, color-mix(in srgb, var(--tb) 70%, var(--tb-mx, #020725)), color-mix(in srgb, var(--tb) 88%, var(--tb-mx, #020725))); }
.tk-eng26b .e-bats { width: 400px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 20px 0 26px; }
.tk-eng26b .eb-row { position: relative; padding-left: 26px; font-size: 22px; font-weight: 700; white-space: nowrap; line-height: 1.25; }
.tk-eng26b .eb-row.on { font-size: 31px; }
.tk-eng26b .eb-row small { font-size: .62em; font-weight: 500; opacity: .85; }
.tk-eng26b .eb-row .tri { display: none; position: absolute; left: 2px; top: 50%; margin-top: -8px; border: 8px solid transparent; border-left: 12px solid #fff; border-right: 0; }
.tk-eng26b .eb-row.on .tri { display: block; }
.tk-eng26b .e-mid { flex: 1; margin: 16px 0; border-left: 2px solid rgba(255, 255, 255, .22); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.2; }
.tk-eng26b .e-mid b { font-size: 25px; font-weight: 500; }
.tk-eng26b .e-mid b.one { font-size: 20px; padding: 0 8px; }
.tk-eng26b .e-mid span { font-size: 19px; font-weight: 500; opacity: .92; }
.tk-eng26b .e-score { width: 224px; background: linear-gradient(180deg, #fff, #eef2fb); color: #0b1340; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.tk-eng26b .e-runs { font-size: 54px; font-weight: 800; letter-spacing: -1px; }
.tk-eng26b .e-sub { font-size: 19px; font-weight: 600; margin-top: 4px; }
.tk-eng26b .e-bowl { flex: 1 !important; display: flex; background: linear-gradient(90deg, color-mix(in srgb, var(--tw) 82%, var(--tw-mx, #020725)), color-mix(in srgb, var(--tw) 70%, var(--tw-mx, #020725))); }
.tk-eng26b .e-bw { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 22px 0 30px; }
.tk-eng26b .e-bn { font-size: 31px; font-weight: 700; white-space: nowrap; }
.tk-eng26b .e-bn small { font-size: .6em; font-weight: 500; opacity: .85; }
.tk-eng26b .e-balls { display: flex; gap: 8px; min-height: 34px; }
.tk-eng26b .eb { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0b1340; display: flex; align-items: center; justify-content: center; font: 700 17px/1 'Montserrat', sans-serif; font-style: normal; }
.tk-eng26b .eb.dot { background: transparent; border: 3px solid #fff; box-sizing: border-box; }
.tk-eng26b .eb.dot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.tk-eng26b .eb.ex { font-size: 13px; }
.tk-eng26b .eb.w { background: #e3262f; color: #fff; }
.tk-eng26b .e-stat { width: 220px; margin: 16px 0; border-left: 2px solid rgba(255, 255, 255, .22); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; line-height: 1.3; }

/* ===== Team-colour strip moments (FOUR / SIX / WICKET / FIFTY / HUNDRED + batter stats), any theme ===== */
#moment.ms-strip { --ink: color-mix(in srgb, var(--c1, #0b1f5c) 70%, var(--c1-mx, #020a2a)); }
#moment.ms-strip .sband, #moment.ms-strip .sstat { position: absolute; left: 60px; right: 60px; bottom: 34px; height: 100px; font-family: 'Montserrat', 'Lato', sans-serif; }
#moment.ms-strip .sband { --scr: color-mix(in srgb, var(--c2) 20%, #ff1f3d); clip-path: inset(-90px 0 0 0); }
#moment.ms-strip .sband.k-wkt { --ink: var(--c1); --scr: var(--c1); }
#moment.ms-strip .sbar { position: absolute; inset: 0; overflow: hidden; border-radius: 6px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 28%, #a6ecff), color-mix(in srgb, var(--c1) 55%, #36b8ff) 45%, color-mix(in srgb, var(--c1) 80%, var(--c1-mx, #1d56e0))); }
#moment.ms-strip .k-wkt .sbar { background: linear-gradient(90deg, var(--c2), color-mix(in srgb, var(--c2) 60%, #ff6a00) 55%, color-mix(in srgb, var(--c2) 75%, #ff8a00)); }
#moment.ms-strip .sbar::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(255, 255, 255, .1) 140px 200px); }
#moment.ms-strip .sword { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1;
  font-size: 86px; font-weight: 900; font-style: italic; letter-spacing: 36px; padding-left: 36px; color: var(--ink); white-space: nowrap; }
#moment.ms-strip .sl { position: absolute; bottom: 0; height: 100px; width: 230px; left: -400px; transform: skewX(-30deg); z-index: 2; }
#moment.ms-strip .sl.s1 { background: color-mix(in srgb, var(--c1) 35%, #b8f0ff); }
#moment.ms-strip .sl.s2 { background: var(--c1); width: 120px; }
#moment.ms-strip .sl.s3 { background: color-mix(in srgb, var(--c1) 60%, var(--c1-mx, #020a2a)); width: 70px; }
#moment.ms-strip .k-wkt .sl.s1 { background: var(--c2); }
#moment.ms-strip .scrib { position: absolute; top: -46px; width: 230px; height: 115px; z-index: 3; }
#moment.ms-strip .scrib.l { left: 12px; } #moment.ms-strip .scrib.r { right: 12px; transform: scaleX(-1); }
#moment.ms-strip .scrib svg, #moment.ms-strip .scrib2 svg { width: 100%; height: 100%; overflow: visible; }
#moment.ms-strip .scrib path, #moment.ms-strip .scrib2 path { fill: none; stroke: var(--scr); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
#moment.ms-strip .sdark { position: absolute; inset: 0; border-radius: 6px; z-index: 4; clip-path: inset(100% 0 0 0);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 55%, var(--c1-mx, #01051a)), color-mix(in srgb, var(--c1) 85%, var(--c1-mx, #01051a)) 50%, color-mix(in srgb, var(--c1) 55%, var(--c1-mx, #01051a))); }
#moment.ms-strip .sdark .ghost { position: absolute; top: 50%; transform: translateY(-50%); font-size: 84px; font-weight: 900; font-style: italic; letter-spacing: 26px; color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .22); white-space: nowrap; }
#moment.ms-strip .sdark .ghost.l { right: calc(50% + 120px); } #moment.ms-strip .sdark .ghost.r { left: calc(50% + 130px); }
#moment.ms-strip .sdark .scrib2 { position: absolute; left: 22%; right: 22%; top: 20px; height: 60px; --scr: color-mix(in srgb, var(--c2) 40%, #ff2a45); }
#moment.ms-strip .sdark .slogo { position: absolute; left: 50%; top: -52px; width: 150px; height: 150px; margin-left: -75px; display: flex; align-items: center; justify-content: center; }
#moment.ms-strip .slogo img { max-width: 150px; max-height: 150px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
#moment.ms-strip .slogo b { width: 120px; height: 120px; border-radius: 50%; background: #fff; color: var(--c1); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 900; }
#moment.ms-strip.on .sl { animation: stripSlash .62s cubic-bezier(.5, 0, .3, 1) both; }
#moment.ms-strip.on .sl.s2 { animation-delay: .07s; } #moment.ms-strip.on .sl.s3 { animation-delay: .14s; }
#moment.ms-strip.on .sbar { animation: stripWipe .55s .18s cubic-bezier(.2, .8, .2, 1) both; }
#moment.ms-strip.on .sword .ltr { animation: stripLtr .5s calc(.4s + var(--i) * 70ms) cubic-bezier(.2, .9, .3, 1.2) both; }
#moment.ms-strip.on .scrib path { animation: stripDraw .9s .45s ease-out forwards; }
#moment.ms-strip.on .scrib { animation: scribOff .3s 2.05s ease-in forwards; }
@keyframes scribOff { to { opacity: 0; transform: translateY(20px); } }
#moment.ms-strip.on .scrib.r { animation-name: scribOffR; }
@keyframes scribOffR { to { opacity: 0; transform: scaleX(-1) translateY(20px); } }
#moment.ms-strip.on .scrib path:nth-child(2) { animation-delay: .6s; } #moment.ms-strip.on .scrib path:nth-child(3) { animation-delay: .75s; }
#moment.ms-strip.on .sdark { animation: stripDark .45s 2.1s cubic-bezier(.2, .8, .2, 1) forwards; }
#moment.ms-strip.on .sdark .ghost.l { animation: ghostL 1.6s 2.1s ease-out both; } #moment.ms-strip.on .sdark .ghost.r { animation: ghostR 1.6s 2.1s ease-out both; }
#moment.ms-strip.on .sdark .scrib2 path { animation: stripDraw 1s 2.3s ease-out forwards; }
#moment.ms-strip.on .sdark .slogo { animation: logoPop .6s 2.25s cubic-bezier(.2, .9, .3, 1.3) both; }
#moment.ms-strip.out .sband, #moment.ms-strip.out .sstat { animation: stripOut .5s cubic-bezier(.6, 0, .8, .4) forwards; }
@keyframes stripSlash { from { left: -400px; } to { left: calc(100% + 300px); } }
@keyframes stripWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes stripLtr { from { opacity: 0; transform: translateX(-70px) skewX(-25deg); } to { opacity: 1; transform: none; } }
@keyframes stripDraw { to { stroke-dashoffset: 0; } }
@keyframes stripDark { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(-60px 0 0 0); } }
@keyframes ghostL { from { transform: translate(120px, -50%); opacity: 0; } to { transform: translate(0, -50%); opacity: 1; } }
@keyframes ghostR { from { transform: translate(-120px, -50%); opacity: 0; } to { transform: translate(0, -50%); opacity: 1; } }
@keyframes logoPop { from { transform: scale(.2) rotateY(90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes stripOut { to { clip-path: inset(0 0 0 100%); } }
/* Batter stats across the strip */
#moment.ms-strip .sstat { display: flex; align-items: stretch; color: #fff; border-radius: 6px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 70%, var(--c1-mx, #020725)), color-mix(in srgb, var(--c1) 50%, var(--c1-mx, #020725))); border-left: 16px solid color-mix(in srgb, var(--c1) 40%, #8fe0ff); }
#moment.ms-strip .sstat .crest { width: 112px; background: #fff; display: flex; align-items: center; justify-content: center; }
#moment.ms-strip .sstat .crest img { max-width: 84px; max-height: 84px; object-fit: contain; }
#moment.ms-strip .sstat .crest b { color: var(--c1); font-size: 30px; font-weight: 900; }
#moment.ms-strip .sstat .nm { width: 300px; display: flex; flex-direction: column; justify-content: center; padding-left: 26px; line-height: 1.1; }
#moment.ms-strip .sstat .nm span { font-size: 34px; font-weight: 700; } #moment.ms-strip .sstat .nm b { font-size: 38px; font-weight: 800; }
#moment.ms-strip .sstat .ph { width: 200px; position: relative; }
#moment.ms-strip .sstat .ph img { position: absolute; bottom: 0; left: 0; width: 200px; height: 170px; object-fit: cover; object-position: top; }
#moment.ms-strip .sstat .cols { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; }
#moment.ms-strip .sstat .cols small { display: block; font-size: 22px; font-weight: 500; opacity: .9; }
#moment.ms-strip .sstat .cols b { display: block; font-size: 38px; font-weight: 800; line-height: 1.1; }
#moment.ms-strip.on .sstat { animation: stripWipe .55s cubic-bezier(.2, .8, .2, 1) both; }
#moment.ms-strip.on .sstat .ph img { animation: phRise .7s .35s cubic-bezier(.2, .9, .3, 1.1) both; }
#moment.ms-strip.on .sstat .cols > div { animation: colUp .45s calc(.45s + var(--n, 0) * 80ms) ease-out both; }
#moment.ms-strip.on .sstat .cols > div:nth-child(2) { --n: 1; } #moment.ms-strip.on .sstat .cols > div:nth-child(3) { --n: 2; }
#moment.ms-strip.on .sstat .cols > div:nth-child(4) { --n: 3; } #moment.ms-strip.on .sstat .cols > div:nth-child(5) { --n: 4; }
@keyframes phRise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes colUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
body.light #moment.ms-strip .sbar::after { display: none; }

/* ===== DRS: review timer and decision panel ===== */
#drs { position: absolute; inset: 0; pointer-events: none; font-family: 'Montserrat', 'Lato', sans-serif; color: #fff; }
#drs.timer .dt { position: absolute; left: 60px; bottom: 160px; width: 110px; padding: 10px 0 8px; text-align: center; border-radius: 8px;
  background: linear-gradient(180deg, #1d4fc4, #0b1a5c); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); border-top: 4px solid #36c5ff; animation: drsIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
#drs.timer small { display: block; font-size: 18px; font-weight: 700; line-height: 1.1; }
#drs.timer b { display: block; font-size: 60px; font-weight: 800; line-height: 1.05; }
#drs.timer.low b { color: #ffd400; }
#drs.panel { left: 60px; top: 300px; right: auto; bottom: auto; }
#drs .dtop { display: flex; gap: 16px; align-items: flex-start; }
#drs .dgap { height: 70px; }
#drs .dr { width: 300px; margin-bottom: 26px; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .4);
  animation: drsRow .5s calc(var(--i) * .9s) cubic-bezier(.2, .9, .3, 1.1) both; }
#drs .dr span { display: block; padding: 7px 14px; background: linear-gradient(90deg, #0b1a5c, #1d4fc4); font-size: 24px; font-weight: 700; }
#drs .dr b { display: block; padding: 5px 14px; font-size: 21px; font-weight: 600; background: #34495e; }
#drs .grn { background: linear-gradient(90deg, #1b9e3e, #2fc25b) !important; }
#drs .red { background: linear-gradient(90deg, #c8102e, #e8384f) !important; }
#drs .amb { background: linear-gradient(90deg, #e08a00, #ffb000) !important; color: #1a1000; }
#drs .dres { padding: 12px 18px; border-radius: 6px; font-size: 24px; font-weight: 800; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); animation: drsRow .5s 3.6s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes drsIn { from { transform: translateY(30px) scale(.8); opacity: 0; } }
@keyframes drsRow { from { transform: translateX(-60px); opacity: 0; clip-path: inset(0 100% 0 0); } to { transform: none; opacity: 1; clip-path: inset(0 0 0 0); } }

/* Team logo and short name take turns at the scorebar ends (when the team has a logo). */
.lsw { display: inline-grid; place-items: center; perspective: 400px; }
.lsw > * { grid-area: 1 / 1; backface-visibility: hidden; animation: lswLogo 12s infinite both; }
.lsw > :not(img) { animation-name: lswShort; }
@keyframes lswLogo { 0%, 44% { opacity: 1; transform: rotateY(0); } 50%, 94% { opacity: 0; transform: rotateY(90deg); } 100% { opacity: 1; transform: rotateY(0); } }
@keyframes lswShort { 0%, 44% { opacity: 0; transform: rotateY(-90deg); } 50%, 94% { opacity: 1; transform: rotateY(0); } 100% { opacity: 0; transform: rotateY(-90deg); } }

/* ===== Abu Dhabi T10 style (adt10): original design after the broadcast look ===== */
body.t-adt10 { --font: 'Montserrat', 'Lato', sans-serif; --big: 'Montserrat', sans-serif; --xn: #0c2147; --xn2: #071533; --xo: #f26b1d; --xb: #1d4fa3;
  --acc: var(--xo); --acc2: #ffb36b; --card-bg: rgba(9, 25, 58, .97); --head-bg: var(--xn); --head-fg: #fff; --score-bg: #fff; --score-fg: var(--xn);
  --muted: #9fb3d9; --strip-bg: var(--xo); --strip-fg: #fff; --row-alt: rgba(255, 255, 255, .03); --four: var(--xo); --six: var(--xo); --wkt: #e3262f; --radius: 0px; }
/* The crest on an angled X */
.xcr { position: relative; width: 128px; height: 88px; display: flex; align-items: center; justify-content: center; flex: none; }
.xcr .xx { position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--xc) 55%, #fff), var(--xc) 45%, color-mix(in srgb, var(--xc) 70%, var(--xc-mx, #000)));
  clip-path: polygon(0 0, 24% 0, 50% 36%, 76% 0, 100% 0, 63% 50%, 100% 100%, 76% 100%, 50% 64%, 24% 100%, 0 100%, 37% 50%); }
.xcr img { position: relative; max-width: 86px; max-height: 76px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .5)); }
.xcr b, .xcr .lsw b { position: relative; font: 900 26px/1 'Montserrat', sans-serif; color: #fff; padding: 6px 8px; background: var(--xn, #0c2147); border: 2px solid #fff; }
.xcr .lsw { position: relative; }
/* Scorebar */
.tk-adt10 { left: 96px !important; right: 96px !important; bottom: 40px; height: 90px; align-items: center !important; font-family: 'Montserrat', sans-serif; color: #fff;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.tk-adt10 .x-end { position: relative; z-index: 2; flex: none; }
.tk-adt10 .x-end.l { margin-right: -34px; } .tk-adt10 .x-end.r { margin-left: -34px; }
.tk-adt10 .x-body { flex: 1; height: 66px; display: flex; align-items: stretch; position: relative; min-width: 0;
  background: linear-gradient(180deg, #1a3567, var(--xn) 40%, var(--xn2)); border-top: 1px solid rgba(255, 255, 255, .25); }
.tk-adt10 .x-bats { width: 470px; flex: none; display: flex; flex-direction: column; justify-content: center; padding: 0 30px 0 56px; gap: 1px; }
.tk-adt10 .xb { display: flex; align-items: baseline; font-size: 23px; font-weight: 700; line-height: 1.2; position: relative; }
.tk-adt10 .xb .nm { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-adt10 .xb b { font-size: 23px; font-weight: 800; min-width: 40px; text-align: right; }
.tk-adt10 .xb small { font-size: 14px; font-weight: 600; opacity: .85; width: 34px; padding-left: 7px; }
.tk-adt10 .xb .bt { position: absolute; left: -24px; top: 50%; width: 14px; height: 5px; margin-top: -3px; background: #fff; border-radius: 2px; transform: rotate(-40deg); display: none; }
.tk-adt10 .xb .bt::after { content: ''; position: absolute; right: -6px; top: -1px; width: 7px; height: 7px; border-radius: 1px; background: #fff; }
.tk-adt10 .xb.on .bt { display: block; }
.tk-adt10 .x-score { width: 440px; flex: none; position: relative; background: linear-gradient(180deg, #fff, #f1f3f7); color: var(--xn); display: flex; flex-direction: column; justify-content: center; padding: 0 44px; }
.tk-adt10 .x-score .sl { position: absolute; top: -4px; bottom: -4px; width: 16px; background: var(--xo); }
.tk-adt10 .x-score .sl.l { left: -4px; clip-path: polygon(30% 0, 100% 0, 60% 46%, 100% 46%, 20% 100%, 45% 54%, 0 54%); }
.tk-adt10 .x-score .sl.r { right: -4px; clip-path: polygon(30% 0, 100% 0, 60% 46%, 100% 46%, 20% 100%, 45% 54%, 0 54%); }
.tk-adt10 .x-score .r1 { display: flex; align-items: baseline; justify-content: space-between; line-height: 1; }
.tk-adt10 .x-tm { font-size: 36px; font-weight: 800; width: 120px; text-align: center; }
.tk-adt10 .x-runs { font-size: 38px; font-weight: 800; flex: 1; text-align: center; letter-spacing: -.5px; }
.tk-adt10 .x-pp { font-style: normal; font-size: 15px; font-weight: 800; background: var(--xo); color: #fff; padding: 2px 6px; align-self: center; }
.tk-adt10 .x-score .r2 { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; margin-top: 3px; }
.tk-adt10 .x-a { width: 160px; text-align: center; white-space: nowrap; } .tk-adt10 .x-b { flex: 1; text-align: center; }
.tk-adt10 .x-right { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 64px 0 36px; gap: 3px; }
.tk-adt10 .x-r1 { display: flex; align-items: baseline; font-size: 23px; font-weight: 700; white-space: nowrap; line-height: 1.2; }
.tk-adt10 .x-r1 .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.tk-adt10 .x-r1 .fig { font-weight: 800; } .tk-adt10 .x-r1 .fig small { font-size: 14px; font-weight: 600; margin-left: 4px; opacity: .85; }
.tk-adt10 .x-r1 .lb { color: var(--xo); font-weight: 800; } .tk-adt10 .x-r1 .iv { margin-left: 8px; font-weight: 800; }
.tk-adt10 .x-r1 .iv small { font-size: 15px; } .tk-adt10 .x-r1 .iv i { font-style: normal; opacity: .5; margin: 0 6px; } .tk-adt10 .x-r1 .iv em { font-style: normal; color: var(--xo); }
.tk-adt10 .x-r2 { display: flex; align-items: center; gap: 8px; }
.tk-adt10 .x-r2 small { font-size: 13px; font-weight: 700; letter-spacing: .5px; width: 44px; }
.tk-adt10 .x-balls { display: flex; gap: 5px; }
.tk-adt10 .xq { width: 21px; height: 21px; box-sizing: border-box; border: 1.5px solid rgba(255, 255, 255, .85); display: flex; align-items: center; justify-content: center;
  font: 800 13px/1 'Montserrat', sans-serif; font-style: normal; color: #fff; }
.tk-adt10 .xq.dot::after { content: ''; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.tk-adt10 .xq.xbd { background: var(--xo); border-color: var(--xo); }
.tk-adt10 .xq.ex { width: auto; min-width: 21px; padding: 0 3px; font-size: 10px; background: #fff; color: var(--xn); }
.tk-adt10 .xq.w { background: #e3262f; border-color: #e3262f; font-size: 11px; }
.tk-adt10 .x-msg { display: none; }
.tk-adt10.m-msg .x-bats { visibility: hidden; }
.tk-adt10.m-msg .x-right { display: none; }
.tk-adt10.m-msg .x-msg { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.2; padding-right: 60px;
  animation: xWipe .6s var(--glide) both; }
.tk-adt10 .x-msg b { font-size: 22px; font-weight: 800; } .tk-adt10 .x-msg span { font-size: 20px; font-weight: 700; color: var(--xo); }
/* Tab that rises above the bar */
.tk-adt10 .x-tab { position: absolute; left: 150px; bottom: 76px; height: 40px; display: none; align-items: stretch; background: linear-gradient(180deg, #1a3567, var(--xn)); font-size: 19px; font-weight: 700;
  border-top: 3px solid var(--xo); }
.tk-adt10.m-tab .x-tab { display: flex; animation: xRise .55s var(--glide) both; }
.tk-adt10 .x-tab .t { background: var(--xo); display: flex; align-items: center; padding: 0 18px; font-weight: 800; }
.tk-adt10 .x-tab span { display: flex; align-items: center; gap: 8px; padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .25); white-space: nowrap; }
.tk-adt10 .x-tab span b { color: var(--xo); font-size: 22px; }
/* Animations: crests pop onto their X, the bar opens out of the score box, rows slide in */
.tk-adt10.enter .x-end .xx { animation: xSpin .6s var(--pop) both; }
.tk-adt10.enter .x-end img, .tk-adt10.enter .x-end .lsw, .tk-adt10.enter .x-end > b { animation: xPop .5s .25s var(--pop) both; }
.tk-adt10.enter .x-body { animation: xOpen .7s .15s var(--glide) both; }
.tk-adt10.enter .x-score { animation: xGrow .45s var(--pop) both; }
.tk-adt10.enter .xb, .tk-adt10.enter .x-r1, .tk-adt10.enter .x-r2 { animation: xRow .45s .7s var(--glide) both; }
.tk-adt10.enter .xb + .xb, .tk-adt10.enter .x-r2 { animation-delay: .8s; }
.tk-adt10 .xflip { animation: xFlip .45s var(--glide); }
@keyframes xSpin { from { transform: scale(0) rotate(-90deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes xPop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes xOpen { from { clip-path: inset(0 37% 0 37%); } to { clip-path: inset(-20px 0 -20px 0); } }
@keyframes xGrow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes xRow { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes xFlip { from { opacity: 0; transform: translateY(60%) rotateX(-70deg); } to { opacity: 1; transform: none; } }
@keyframes xWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes xRise { from { transform: translateY(40px); opacity: 0; clip-path: inset(0 0 100% 0); } to { transform: none; opacity: 1; clip-path: inset(0 0 0 0); } }
/* A T10 pop-up or lower card sits on the bar's own spot, so the bar fades in place instead of dropping away */
body.t-adt10.moment-on #tk, body.t-adt10.lower-on #tk { transform: none; opacity: 0; transition: opacity .25s ease; }
/* T10 pop-up band: blue band between the crests, glitch streaks, word swiping into an orange-edged box with echoes */
#moment.ms-t10 .tband { position: absolute; left: 96px; right: 96px; bottom: 40px; height: 90px; display: flex; align-items: center; font-family: 'Montserrat', sans-serif;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
#moment.ms-t10 .xe { position: relative; z-index: 3; } #moment.ms-t10 .xe.l { margin-right: -34px; } #moment.ms-t10 .xe.r { margin-left: -34px; }
#moment.ms-t10 .tb { flex: 1; height: 66px; position: relative; background: linear-gradient(180deg, #3672d6, #1d4fa3 45%, #123776); border-top: 1px solid rgba(255, 255, 255, .35); }
#moment.ms-t10 .gl { position: absolute; left: 4%; right: 4%; height: 5px; background: linear-gradient(90deg, transparent, #fff 20%, #9cc3ff 50%, #fff 80%, transparent); opacity: 0; z-index: 2; }
#moment.ms-t10 .gl.g1 { top: 8px; } #moment.ms-t10 .gl.g2 { top: 22px; height: 9px; left: 18%; right: 30%; background: #0a1d44; }
#moment.ms-t10 .gl.g3 { top: 34px; height: 3px; } #moment.ms-t10 .gl.g4 { top: 44px; height: 8px; left: 30%; right: 12%; background: #0a1d44; } #moment.ms-t10 .gl.g5 { top: 56px; height: 3px; }
#moment.ms-t10 .tbox { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 560px; margin-left: -280px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: linear-gradient(180deg, #2a62c4, #17418e); z-index: 1; }
#moment.ms-t10 .tbox .sl { position: absolute; top: 0; bottom: 0; width: 22px; background: var(--xo, #f26b1d); z-index: 2; }
#moment.ms-t10 .tbox .sl.l { left: 0; clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); } #moment.ms-t10 .tbox .sl.r { right: 0; clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); }
#moment.ms-t10 .tbox b { position: absolute; font: italic 900 58px/1 'Montserrat', sans-serif; letter-spacing: 1px; white-space: nowrap; }
#moment.ms-t10 .tbox .w { color: #fff; position: relative; text-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
#moment.ms-t10 .tbox .e1 { color: var(--xo, #f26b1d); transform: translateX(-34px); opacity: 0; }
#moment.ms-t10 .tbox .e2 { color: transparent; -webkit-text-stroke: 2px var(--xo, #f26b1d); transform: translateX(36px); opacity: 0; }
#moment.ms-t10.m-noBall .tbox b, #moment.ms-t10.m-wide .tbox b, #moment.ms-t10.m-superOver .tbox b { font-size: 50px; }
#moment.ms-t10.on .xe .xx { animation: xSpin .5s var(--pop) both; }
#moment.ms-t10.on .tb { animation: xOpen .5s .05s var(--glide) both; }
#moment.ms-t10.on .gl { animation: xGlitch .55s calc(.05s + var(--g, 0) * 60ms) ease-out both; }
#moment.ms-t10.on .gl.g2 { --g: 1; } #moment.ms-t10.on .gl.g3 { --g: 2; } #moment.ms-t10.on .gl.g4 { --g: 3; } #moment.ms-t10.on .gl.g5 { --g: 4; }
#moment.ms-t10.on .tbox { animation: xBox .45s .3s var(--pop) both; }
#moment.ms-t10.on .tbox .w .ltr { animation: xLtr .4s calc(.5s + var(--i) * 45ms) cubic-bezier(.2, .9, .3, 1.2) both; }
#moment.ms-t10.on .tbox .e1 { animation: xEcho1 .9s .75s ease-out both, xStrobe .18s 1.65s steps(2) 6; }
#moment.ms-t10.on .tbox .e2 { animation: xEcho2 .9s .8s ease-out both, xStrobe .18s 1.7s steps(2) 6; }
#moment.ms-t10.out .tb { animation: xClose .45s var(--swing) forwards; }
#moment.ms-t10.out .tbox { animation: xClose .35s var(--swing) forwards; }
#moment.ms-t10.out .xe { animation: xFade .45s ease forwards; }
@keyframes xGlitch { 0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; transform: scaleX(1.05); } 70% { opacity: .9; transform: translateX(3%) scaleX(.9); } 100% { opacity: 0; transform: translateX(-4%) scaleX(.2); } }
@keyframes xBox { from { transform: scaleX(0) skewX(-20deg); } to { transform: none; } }
@keyframes xLtr { from { opacity: 0; transform: translateX(-90px) skewX(-30deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes xEcho1 { from { opacity: 0; transform: translateX(-140px); } 40% { opacity: .9; } to { opacity: .55; transform: translateX(-34px); } }
@keyframes xEcho2 { from { opacity: 0; transform: translateX(150px); } 40% { opacity: .9; } to { opacity: .6; transform: translateX(36px); } }
@keyframes xStrobe { 50% { opacity: .15; } }
@keyframes xClose { from { clip-path: inset(-20px 0 -20px 0); } to { clip-path: inset(0 50% 0 50%); } }
@keyframes xFade { to { opacity: 0; transform: scale(.6); } }
/* T10 card (batter out, fifty, striker, bowler, partnership...) and its score box on the bar's spot */
.t10c { position: absolute; left: 470px; width: 1000px; bottom: 136px; height: 118px; display: flex; align-items: center; font-family: 'Montserrat', sans-serif;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .45)); }
.t10c .xcr { width: 168px; height: 116px; margin-right: -58px; z-index: 2; }
.t10c .xcr img { max-width: 104px; max-height: 96px; }
:is(#lower, #moment) .t10c .wc { flex: 1; position: relative; min-height: 96px; box-sizing: border-box; padding: 10px 60px 10px 74px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(180deg, #fff, #eef1f6); color: var(--xn, #0c2147); }
:is(#lower, #moment) .t10c .wc > .sl { position: absolute; right: -6px; top: -6px; bottom: -6px; width: 24px; background: var(--xo, #f26b1d);
  clip-path: polygon(30% 0, 100% 0, 60% 46%, 100% 46%, 20% 100%, 45% 54%, 0 54%); }
:is(#lower, #moment) .t10c .tag { position: absolute; left: 60px; top: -30px; background: var(--xo, #f26b1d); color: #fff; font: 800 18px/30px 'Montserrat', sans-serif; letter-spacing: 1px; padding: 0 16px;
  border-radius: 0; margin: 0; transform: skewX(-12deg); }
:is(#lower, #moment) .t10c .r1 { display: flex; align-items: baseline; gap: 20px; line-height: 1.05; }
:is(#lower, #moment) .t10c .nm { flex: 1; font-size: 32px; font-weight: 500; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; margin: 0; }
:is(#lower, #moment) .t10c .nm b { font-weight: 800; }
:is(#lower, #moment) .t10c .nm small { font-size: 20px; color: #5a6b8c; }
:is(#lower, #moment) .t10c .rb b { font-size: 34px; font-weight: 800; } :is(#lower, #moment) .t10c .rb small { font-size: 18px; font-weight: 600; margin-left: 6px; }
:is(#lower, #moment) .t10c .ln2 { font-size: 18px; font-weight: 600; margin-top: 3px; color: #31456e; }
:is(#lower, #moment) .t10c :is(.st, .sub) { text-transform: uppercase; }
:is(#lower, #moment) .t10c .r3 { display: flex; gap: 40px; margin-top: 6px; font-size: 16px; font-weight: 700; letter-spacing: .3px; }
:is(#lower, #moment) .t10c .r3 span:last-child { margin-left: auto; }
:is(#lower, #moment) .t10c .r3 b { font-size: 19px; font-weight: 800; color: var(--xo, #f26b1d); margin-left: 4px; }
:is(#lower, #moment) .t10c .st { font-size: 22px; font-weight: 600; margin-top: 4px; color: #31456e; }
:is(#lower, #moment) .t10c .st b { font-size: 24px; color: var(--xn, #0c2147); font-weight: 800; }
:is(#lower, #moment) .t10c .sub { font-size: 18px; color: #31456e; }
:is(#lower, #moment) .t10c .chips { display: flex; gap: 8px; margin-top: 6px; }
:is(#lower, #moment) .t10c .chips .ball { min-width: 36px; height: 36px; border-radius: 0; font-size: 18px; background: #fff; color: var(--xn, #0c2147); border: 2px solid var(--xn, #0c2147); box-sizing: border-box; }
:is(#lower, #moment) .t10c .chips .ball.four, :is(#lower, #moment) .t10c .chips .ball.six { background: var(--xo, #f26b1d); border-color: var(--xo, #f26b1d); color: #fff; }
:is(#lower, #moment) .t10c .chips .ball.w { background: #e3262f; border-color: #e3262f; color: #fff; }
:is(#lower, #moment) .t10c .cols { display: flex; gap: 0; margin-top: 6px; font-size: 16px; }
:is(#lower, #moment) .t10c .cols div { flex: 1; display: flex; flex-direction: column-reverse; align-items: center; border-left: 1px solid #c9d1e0; }
:is(#lower, #moment) .t10c .cols div:first-child { border-left: 0; }
:is(#lower, #moment) .t10c .cols div b { font-size: 30px; color: var(--xo, #f26b1d); line-height: 1; }
:is(#lower, #moment) .t10c .cols div span { font-size: 15px; font-weight: 700; color: var(--xn, #0c2147); text-transform: uppercase; }
.t10s { position: absolute; left: 660px; width: 440px; bottom: 52px; height: 66px; box-sizing: border-box; padding: 0 60px; display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, #fff, #f1f3f7); color: var(--xn, #0c2147); font: 800 38px/1 'Montserrat', sans-serif; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
.t10s .sl { position: absolute; top: -4px; bottom: -4px; width: 16px; background: var(--xo, #f26b1d); clip-path: polygon(30% 0, 100% 0, 60% 46%, 100% 46%, 20% 100%, 45% 54%, 0 54%); }
.t10s .sl.l { left: -4px; } .t10s .sl.r { right: -4px; }
.t10s b:first-of-type { width: 120px; text-align: center; } .t10s b:last-of-type { flex: 1; text-align: center; }
:is(#lower.enter, #moment.on) .t10s { animation: xGrow .35s var(--glide) both; }
:is(#lower.enter, #moment.on) .t10c .xx { animation: xSpin .5s .15s var(--pop) both; }
:is(#lower.enter, #moment.on) .t10c .xcr img, :is(#lower.enter, #moment.on) .t10c .xcr > b { animation: xPop .45s .35s var(--pop) both; }
:is(#lower.enter, #moment.on) .t10c .wc { animation: xWipeC .55s .3s var(--glide) both; }
@keyframes xWipeC { from { clip-path: inset(-40px 100% -12px 0); } to { clip-path: inset(-40px -40px -12px 0); } }
:is(#lower.enter, #moment.on) .t10c .wc > :not(.sl) { animation: xRow .4s .65s var(--glide) both; }
:is(#lower.enter, #moment.on) .t10c .wc > .r3, :is(#lower.enter, #moment.on) .t10c .wc > .cols, :is(#lower.enter, #moment.on) .t10c .wc > .chips { animation-delay: .8s; }
#moment.ms-t10.out .t10c { animation: xOutL .45s var(--swing) forwards; } #moment.ms-t10.out .t10s { animation: xFade .4s .1s ease forwards; }
@keyframes xOutL { to { clip-path: inset(-40px 100% -40px 0); } }
body.t-adt10 #lower { left: 0; right: 0; top: 0; bottom: 0; min-width: 0; max-width: none; background: none; box-shadow: none; border-radius: 0; overflow: visible; display: block; }
body.t-adt10 #lower.hide { transform: none; }
/* Teams card (both XIs side by side), any theme */
.teams2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 18px 34px 22px; }
.teams2 .th { display: flex; align-items: center; gap: 14px; padding: 8px 18px; background: var(--acc); color: var(--strip-fg, #fff); font-size: 28px; font-weight: 800; }
.teams2 .th img { height: 44px; max-width: 70px; object-fit: contain; }
.teams2 ol { margin: 8px 0 0; padding: 0 0 0 44px; font-size: 25px; font-weight: 700; line-height: 1.6; }
.teams2 li::marker { color: var(--muted); font-size: .8em; }
.card .kf.one { display: flex; justify-content: center; padding: 14px 34px; background: var(--mid-bg, rgba(0,0,0,.25)); font-size: 24px; font-weight: 700; letter-spacing: 1px; }
/* T10 full cards */
body.t-adt10 .card { width: 1400px; margin-left: -700px; top: 100px; border-radius: 0; color: #fff; font-family: 'Montserrat', sans-serif;
  background: linear-gradient(180deg, #12306a, #0a1f47 40%, #061533); border-bottom: 6px solid var(--xo); box-shadow: 0 20px 60px rgba(0, 0, 0, .55); }
body.t-adt10 .card > * { position: relative; z-index: 1; }
body.t-adt10 .card .kx { position: absolute; z-index: 0; left: 50%; top: 50%; width: 1100px; height: 760px; margin: -380px 0 0 -550px; pointer-events: none;
  background: linear-gradient(180deg, rgba(90, 150, 255, .22), rgba(40, 90, 200, .08));
  clip-path: polygon(0 0, 24% 0, 50% 36%, 76% 0, 100% 0, 63% 50%, 100% 100%, 76% 100%, 50% 64%, 24% 100%, 0 100%, 37% 50%); }
body.t-adt10 .card .kh { display: flex; align-items: center; gap: 22px; padding: 26px 50px 16px; }
body.t-adt10 .card .kh .xcr { width: 150px; height: 104px; } body.t-adt10 .card .kh .xcr img { max-width: 92px; max-height: 88px; }
body.t-adt10 .card .kh b { display: block; font-size: 54px; font-weight: 900; line-height: 1; letter-spacing: .5px; }
body.t-adt10 .card .kh span { display: block; font-size: 22px; font-weight: 700; color: var(--xo); margin-top: 8px; letter-spacing: 1px; }
body.t-adt10 .card .kt { width: calc(100% - 100px); margin: 0 50px; border-collapse: collapse; font-size: 26px; }
body.t-adt10 .card .kt th { color: var(--xo); font-size: 18px; font-weight: 800; padding: 4px 16px; text-align: center; }
body.t-adt10 .card .kt td { padding: 8px 16px; border-top: 1px solid rgba(255, 255, 255, .12); background: none !important; text-align: center; font-weight: 700; }
body.t-adt10 .card .kt td.n { text-align: left; font-weight: 800; white-space: nowrap; }
body.t-adt10 .card .kt td.h { text-align: left; font-size: 20px; font-weight: 600; color: #b9c8e8; width: 46%; }
body.t-adt10 .card .kt td.r { font-size: 30px; font-weight: 900; } body.t-adt10 .card .kt td.bb { font-size: 20px; color: #b9c8e8; }
body.t-adt10 .card .kt.bw td.n { width: 34%; }
body.t-adt10 .card .kt tr.on td, body.t-adt10 .card .kt tr.on td.h, body.t-adt10 .card .kt tr.on td.bb { color: var(--xo); }
body.t-adt10 .card .kd { padding: 10px 50px 0; font-size: 18px; font-weight: 600; color: #b9c8e8; } body.t-adt10 .card .kd b { color: var(--xo); margin-right: 8px; }
body.t-adt10 .card .kw { display: flex; align-items: center; gap: 24px; margin: 14px 50px 0; padding: 12px 0; border-top: 2px solid var(--xo); }
body.t-adt10 .card .kw > b { color: var(--xo); font-size: 20px; font-weight: 800; white-space: nowrap; }
body.t-adt10 .card .kw div { display: flex; gap: 22px; flex-wrap: wrap; font-size: 26px; font-weight: 800; }
body.t-adt10 .card .kw small { display: block; font-size: 14px; color: #b9c8e8; font-weight: 700; text-align: center; }
body.t-adt10 .card .kf { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 14px 50px; background: rgba(0, 8, 30, .55); font-size: 24px; font-weight: 700; }
body.t-adt10 .card .kf i { font-style: normal; color: var(--xo); margin: 0 6px; } body.t-adt10 .card .kf b { font-weight: 900; }
body.t-adt10 .card .kf .tot { background: var(--xo); font-size: 36px; font-weight: 900; padding: 4px 34px; transform: skewX(-12deg); }
body.t-adt10 .card .kf.one { justify-content: center; letter-spacing: 1px; }
body.t-adt10 .card .teams2 { padding: 6px 50px 10px; gap: 60px; }
body.t-adt10 .card .teams2 .th { background: var(--xo); color: #fff; font-size: 26px; transform: skewX(-8deg); }
body.t-adt10 .card .teams2 ol { font-size: 24px; line-height: 1.65; padding-left: 40px; }
body.t-adt10 .card .teams2 li { border-bottom: 1px solid rgba(255, 255, 255, .1); } body.t-adt10 .card .teams2 li::marker { color: var(--xo); }
body.t-adt10 .card .kintro { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 70px 50px 60px; }
body.t-adt10 .card .kintro .xcr, body.t-adt10 .card .kres .xcr { width: 300px; height: 208px; } body.t-adt10 .card :is(.kintro, .kres) .xcr img { max-width: 190px; max-height: 180px; }
body.t-adt10 .card :is(.kintro, .kres) .xcr b { font-size: 56px; }
body.t-adt10 .card .mx { display: flex; flex-direction: column; align-items: center; text-align: center; width: 520px; }
body.t-adt10 .card .mx b { background: var(--xo); font-size: 28px; font-weight: 900; padding: 4px 26px; transform: skewX(-12deg); margin-bottom: 18px; letter-spacing: 2px; }
body.t-adt10 .card .mx span { font-size: 46px; font-weight: 900; line-height: 1.05; } body.t-adt10 .card .mx i { font-style: italic; font-size: 34px; font-weight: 900; color: var(--xo); margin: 6px 0; }
body.t-adt10 .card .kres { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 50px 34px; }
body.t-adt10 .card .kres .wn { font-size: 46px; font-weight: 900; margin-top: 18px; letter-spacing: .5px; }
body.t-adt10 .card .kres .wb { position: relative; margin-top: 12px; padding: 10px 70px; background: linear-gradient(180deg, #2a62c4, #17418e); font-size: 42px; font-weight: 900; font-style: italic; }
body.t-adt10 .card .kres .wb .sl { position: absolute; top: -4px; bottom: -4px; width: 22px; background: var(--xo); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); }
body.t-adt10 .card .kres .wb .sl.l { left: -4px; } body.t-adt10 .card .kres .wb .sl.r { right: -4px; }
body.t-adt10 .card .kres .sc { display: flex; gap: 50px; margin-top: 22px; font-size: 28px; font-weight: 700; } body.t-adt10 .card .kres .sc small { color: #b9c8e8; font-size: 20px; }
body.t-adt10 .card .kres .sc b { color: var(--xo); }
body.t-adt10 .card .kres .pm { margin-top: 16px; font-size: 20px; font-weight: 800; color: var(--xo); letter-spacing: 1px; } body.t-adt10 .card .kres .pm b { color: #fff; margin-left: 10px; font-size: 24px; }
body.t-adt10 .card .kres.tg .big { display: flex; align-items: baseline; gap: 22px; margin-top: 10px; }
body.t-adt10 .card .kres.tg .big b { font-size: 150px; font-weight: 900; line-height: 1; } body.t-adt10 .card .kres.tg .big span { font-size: 48px; font-weight: 900; font-style: italic; color: var(--xo); letter-spacing: 6px; }
/* Generic cards (summary, officials, charts, points...) in the T10 colours */
body.t-adt10 .card .head { background: none; color: #fff; font-size: 48px; font-weight: 900; padding: 26px 50px 12px; border-bottom: 3px solid var(--xo); }
body.t-adt10 .card .head .s { color: var(--xo); font-weight: 700; opacity: 1; }
body.t-adt10 .card .result { background: var(--xo); font-weight: 900; }
/* T10 card animations: the X grows behind, crest spins onto its X, rows slide in one by one */
body.t-adt10 .card.enter { animation: xCard .6s var(--glide); }
body.t-adt10 .card.enter .kx { animation: xBig .9s var(--glide) both; }
body.t-adt10 .card.enter .xcr .xx { animation: xSpin .6s .2s var(--pop) both; }
body.t-adt10 .card.enter .xcr img, body.t-adt10 .card.enter .xcr > b { animation: xPop .5s .45s var(--pop) both; }
body.t-adt10 .card.enter .kh > div, body.t-adt10 .card.enter .mx, body.t-adt10 .card.enter .wn { animation: xRow .5s .35s var(--glide) both; }
body.t-adt10 .card.enter .wb, body.t-adt10 .card.enter .mx b, body.t-adt10 .card.enter .kf .tot { animation: xBox .5s .7s var(--pop) both; }
body.t-adt10 .card.enter .kt tr { animation-name: xRow; }
.card.enter .teams2 li { animation: rowIn .4s calc(.3s + var(--n, 0) * 45ms) var(--glide) both; }
body.t-adt10 .card.enter .kf, body.t-adt10 .card.enter .kw, body.t-adt10 .card.enter .sc, body.t-adt10 .card.enter .pm, body.t-adt10 .card.enter .big { animation: xRow .5s .9s var(--glide) both; }
@keyframes xCard { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes xBig { from { transform: scale(.3) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }

body.full-on #bug { opacity: 0; }
body.t-adt10.full-on #tk { transform: translateY(140%); opacity: 0; transition: opacity .45s ease, transform .5s var(--glide); }

/* Light team colours (yellow, white, cream) keep their real colour and get black text */
.team { color: var(--bat-fg, #fff); } .bowlteam { color: var(--bowlc-fg, #fff); }
:is(.tk-ipl26b .i-left, .tk-ipl26b .i-bats, .tk-ipl26b .i-rb, .tk-wc23b .w-flag span, .tk-lpl26b .l-logo, .tk-pak26b .p-team.l, .tk-pak26b.m-word .p-word, .tk-eng26b .e-bat) { color: var(--tb-fg, #fff); }
:is(.tk-ipl26b .i-logo.r, .tk-ipl26b .i-bowl, .tk-ipl26b .i-info, .tk-wc23b .w-flag.r span, .tk-lpl26b .l-logo.r, .tk-lpl26b .l-panel, .tk-pak26b .p-team.r, .tk-pak26b .p-bowl, .tk-eng26b .e-bowl) { color: var(--tw-fg, #fff); }
.tk-pak26b.lt-tb .p-team.l .p-tn, .tk-pak26b.lt-tw .p-team.r .p-tn { color: #111; }
.tk-eng26b.lt-tb .eb-row .tri { border-left-color: #111; }
#moment.ms-strip .sstat, #moment.ms-strip .sdark { color: var(--c1-fg, #fff); }
#moment.ms-strip .sdark .ghost { -webkit-text-stroke-color: color-mix(in srgb, var(--c1-fg, #fff) 22%, transparent); }
.sh-head, .mu-team { color: var(--tc-fg, #fff); }
.tk-ipl26b.lt-tb .i-runs { color: #0c1f4d; } .tk-ipl26b.lt-tb .i-pp { background: #0c1f4d; color: #fff; }

/* ===== Wagon wheel card ===== */
.wg-body { display: flex; align-items: center; gap: 44px; padding: 22px 44px 30px; }
.wagon { width: 520px; height: 520px; flex: none; overflow: visible; }
.wagon .wg-ground { fill: #2c7d3c; stroke: #fff; stroke-width: 4; }
.wagon .wg-ring { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: 2; stroke-dasharray: 8 8; }
.wagon .wg-pitch { fill: #d9c58e; }
.wagon .wg-t { fill: rgba(255, 255, 255, .75); font: 700 16px 'Montserrat', sans-serif; text-anchor: middle; letter-spacing: 2px; }
.wagon .wl { filter: drop-shadow(0 0 3px rgba(0, 0, 0, .5)); }
.card.enter .wagon .wl { stroke-dasharray: var(--len); animation: wlDraw .45s calc(.45s + var(--i) * 35ms) ease-out both; }
@keyframes wlDraw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.wg-side { flex: 1; display: flex; flex-direction: column; font-size: 26px; }
.wg-side .wr { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.wg-side .wr i { width: 26px; height: 8px; border-radius: 4px; flex: none; }
.wg-side .wr span { flex: 1; font-weight: 700; color: var(--muted); font-size: 22px; letter-spacing: 1px; }
.wg-side .wr b { font-size: 34px; font-weight: 800; } .wg-side .wr b small { font-size: 22px; color: var(--muted); }
.wg-none { font-size: 22px; color: var(--muted); margin-top: 16px; line-height: 1.4; }
.card.enter .wg-side .wr { animation: rowIn .45s var(--glide) both; }
/* ===== Win predictor bar ===== */
.wp { display: flex; width: 760px; height: 60px; margin-top: 10px; overflow: hidden; border-radius: 4px; font-weight: 800; }
.wp > div { display: flex; align-items: center; gap: 12px; padding: 0 18px; box-sizing: border-box; min-width: 130px; background: var(--c); color: var(--c-fg, #fff); }
.wp .wa { width: var(--w); flex: none; } .wp .wb { flex: 1; justify-content: flex-end; }
.wp b { font: 800 36px/1 var(--font, 'Montserrat'), sans-serif; text-shadow: none; } .wp span { font-size: 22px; letter-spacing: 1px; }
#lower.enter .wp .wa { animation: wpGrow 1.2s .45s var(--glide) both; }
@keyframes wpGrow { from { width: 50%; } }
/* ===== Records list ===== */
.rec { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin-top: 8px; font-size: 24px; }
.rec div { display: contents; }
.rec span { color: var(--acc); font-weight: 800; font-size: 19px; letter-spacing: 1px; align-self: center; white-space: nowrap; }
.rec b { font: 700 24px/1.3 var(--font, 'Montserrat'), sans-serif; text-shadow: none; }
#lower.enter .rec b, #lower.enter .rec span { animation: textIn .45s .5s var(--glide) both; }
/* In the T10 card */
.t10c { height: auto; min-height: 118px; }
:is(#lower, #moment) .t10c .wp { width: 100%; height: 50px; margin-top: 6px; } :is(#lower, #moment) .t10c .wp b { font-size: 30px; }
:is(#lower, #moment) .t10c .rec { font-size: 19px; gap: 3px 18px; margin-top: 6px; }
:is(#lower, #moment) .t10c .rec span { color: var(--xo, #f26b1d); font-size: 15px; } :is(#lower, #moment) .t10c .rec b { color: var(--xn, #0c2147); font-size: 19px; }
body.t-adt10 .card .wg-body { padding: 10px 50px 30px; }
body.t-adt10 .card .wg-side .wr span { color: #b9c8e8; }


/* ---------- vMix replay on air: graphics fade out, a turning REPLAY badge sits in the bottom-right corner ---------- */
html.replay-hide body > *:not(#replayTag):not(script) { opacity: 0 !important; transition: opacity .25s ease !important; pointer-events: none; }
html.replay-back body > *:not(#replayTag):not(script) { transition: opacity .5s ease !important; }
#replayTag { position: absolute; right: 70px; bottom: 70px; width: 200px; height: 200px; z-index: 99; font-family: var(--font); pointer-events: none; }
#replayTag.hide { opacity: 0; transform: scale(.4) rotate(-120deg); transition: opacity .3s ease, transform .3s ease; }
#replayTag.on { opacity: 1; transform: none; transition: opacity .35s ease, transform .6s cubic-bezier(.2, .9, .3, 1.25); }
#replayTag .rt-ring { position: absolute; inset: 0; border-radius: 50%; background: var(--bar-bg); box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 0 0 4px var(--acc); animation: rtSpin 7s linear infinite; }
#replayTag .rt-ring svg { width: 100%; height: 100%; display: block; }
#replayTag .rt-ring text { fill: var(--bar-fg); font-size: 25px; font-weight: 800; letter-spacing: 2px; }
#replayTag .rt-core { position: absolute; inset: 38px; border-radius: 50%; background: var(--acc); color: var(--strip-fg, #0b1220);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: 0 0 0 4px rgba(0,0,0,.25);
  animation: rtPulse 1.6s ease-in-out infinite; }
#replayTag .rt-core svg { width: 46px; height: 46px; fill: currentColor; animation: rtRew 1.2s ease-in-out infinite; }
#replayTag .rt-core b { font-size: 22px; font-weight: 800; letter-spacing: 1px; line-height: 1; }
@keyframes rtSpin { to { transform: rotate(-360deg); } }
@keyframes rtPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes rtRew { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
body.light #replayTag .rt-core, body.light #replayTag .rt-core svg { animation: none; }
