/* Hero card: same line → Kalshi + Polymarket move → FanDuel stale → +EV → grab → fill → FanDuel moves → result flips up.
   Scoped to .bb-card so it only touches the homepage hero card. */
.broadcast.bb-card{--volt:#c3ef3e;--lilac:#a98bff;--stale:#ff6a6a;perspective:1400px;box-shadow:none}

/* Row 3 under every price: the struck old line once a book has moved; FanDuel's edge before it moves. */
.bb-card .board>.book{grid-template-rows:auto auto 20px;row-gap:6px}
.bb-card .board>.book>number-flow{margin-bottom:-8px}
.bb-card .was,.bb-card .fd-tag{grid-column:1/-1;justify-self:center;height:18px;font:600 12px/18px "Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,sans-serif;letter-spacing:.01em}
.bb-card .was{color:#8f8a96;text-decoration:line-through;text-decoration-thickness:1.5px;text-decoration-color:#8f8a96aa;opacity:0}
.bb-card .book[data-moved] number-flow{color:var(--lilac)}
.bb-card number-flow{transition:color .3s ease-out}
.bb-card .fd-tag{position:relative;font-style:normal;width:100%}
.bb-card .fd-tag>*{position:absolute;inset:0;font-style:normal;text-align:center;white-space:nowrap;opacity:0}
.bb-card .fd-tag .ev{color:var(--volt);font:italic 800 16px/20px "Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,sans-serif;letter-spacing:.01em}

/* FanDuel stays a plain column: no box, no outline, no badge. Its stuck price turns red; after it moves it's purple like the others. */
.bb-card .target,.bb-card .target.open{background:transparent;outline:0;border:0;box-shadow:none}
.bb-card .target .trace{display:none}
.bb-card .target.caught number-flow{color:var(--stale)}
.bb-card .target.locked number-flow{color:var(--lilac)}

/* Place bet: the dark fill sweeps across the button, then it reads "Bet placed". */
.bb-card #place.done{background:#233a2c}

/* Result card flips up from the bottom edge. */
.bb-card .endcard{transform-origin:50% 100%;backface-visibility:hidden}
.bb-card .endcard .end-prop{font-size:13px;color:#c9d3c4;margin-bottom:10px}
.bb-card .endcard h2{margin:0 0 6px}
.bb-card .endcard p{color:#c9d3c4}
.bb-card .endcard #end-ev{margin-top:14px}

/* Tighter price block: less padding around the prices and above the fair-odds strip. */
.bb-card .board{padding-top:10px;padding-bottom:6px}
.bb-card .board>.book{padding-block:8px}
.bb-card .fair-rail{margin-top:10px}

/* Less air under the card (no Replay row any more). */
main:has(.bb-card){padding-bottom:40px}

@media(max-width:550px){
  .bb-card .board>.book{row-gap:4px;grid-template-rows:auto auto 16px}
  .bb-card .board>.book>number-flow{margin-bottom:-6px}
  .bb-card .was,.bb-card .fd-tag{height:16px;font-size:11px;line-height:16px}
  .bb-card .fd-tag .ev{font-size:13px;line-height:16px}
  main:has(.bb-card){padding-bottom:32px}
  .bb-card .board{padding-top:8px;padding-bottom:4px}
  .bb-card .board>.book{padding-block:6px}
  .bb-card .fair-rail{margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.bb-card number-flow{transition:none}}

/* Off-screen infinite animations are paused by hero-card.mjs (sets data-off). */
[data-off],[data-off]::before,[data-off]::after{animation-play-state:paused!important}
/* Premium pass (2026-12-02): reserve the counters' height before number-flow defines them (no load shift). */
.bb-card .book number-flow{min-height:1.72em}
.bb-card .book number-flow:not(:defined){display:block}
