/* =============== Baccarat: shared =============== */
.bac-card { display: inline-block; }
.bac-card .card { --w: inherit; }
.bac-card.third { transform: rotate(90deg); margin: 0 calc(var(--w) * 0.25); }
.card.flip-in { animation: bac-flip 0.4s ease-out; }
@keyframes bac-flip { from { transform: rotateY(90deg); } to { transform: none; } }

/* A card being squeezed: the face underneath, the back on top with its corner peeled away */
.peel { position: relative; width: var(--w); height: calc(var(--w) * 1.4); flex-shrink: 0; touch-action: none; }
.peel .card { --w: inherit; position: absolute; inset: 0; margin: 0; }
.peel .peel-under { background: #f3efe2; }
.peel-back {
  position: absolute; inset: 0; border-radius: calc(var(--w) * 0.1);
  background: repeating-linear-gradient(45deg, #d7263d 0 6px, #a81b2e 6px 12px);
  border: calc(var(--w) * 0.06) solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  /* the part you've lifted is cut away along the fold (bacPeelShape) */
}
/* The lifted part, folded over on top: the card's light underside, shaded from the fold, with a soft shadow.
   Its box is 1.5x the card so the flap can stick out past the edge. */
.peel-flapwrap { position: absolute; left: -25%; top: -25%; width: 150%; height: 150%; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 calc(var(--w) * 0.03) calc(var(--w) * 0.05) rgba(0, 0, 0, 0.45)); }
.peel-flap { position: absolute; inset: 0; background: #f6f0de; clip-path: polygon(0 0, 0 0, 0 0); }/* the other side's cards: tap to turn them over (Run 3, item 35) */
.bac-tap { position: relative; }
.bac-tap.live { cursor: pointer; border-radius: calc(var(--w) * 0.1); animation: bac-glow 1.8s ease-in-out infinite; touch-action: manipulation; }
.bac-tap-hint { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-size: calc(var(--w) * 0.18); font-weight: 900;
  color: #2a1e00; background: var(--accent); border-radius: 999px; padding: 0 0.5em; pointer-events: none; }
.peel.live { cursor: grab; border-radius: calc(var(--w) * 0.1); animation: bac-glow 1.8s ease-in-out infinite; }
@keyframes bac-glow { 0%, 100% { box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.35), 0 0 8px rgba(245, 197, 66, 0.2); } 50% { box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.75), 0 0 16px rgba(245, 197, 66, 0.45); } }

/* Bead plate */
.bac-road-grid { display: grid; gap: 3px; }
.bead { aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 900; position: relative; color: #fff; font-size: 0.75em; }
.bead.P { background: #2f6fd0; }
.bead.B { background: #d7263d; }
.bead.T { background: #2e9e5b; }
.bead.empty { background: rgba(255, 255, 255, 0.06); }
/* the hand that just ended: its bead glows in and out twice (bacRoadHTML's glow; BAC_BEAD_GLOW_MS long) */
.bead.newest { z-index: 1; animation: bac-bead-glow 2.6s ease-in-out both; }
@keyframes bac-bead-glow {
  0%, 50%, 100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0); }
  25%, 75% { box-shadow: 0 0 0 3px #f5c542, 0 0 12px 5px rgba(245, 197, 66, 0.75); }
}
.reduce-motion .bead.newest { animation: none; box-shadow: 0 0 0 3px #f5c542; }
.bead s { position: absolute; width: 28%; height: 28%; border-radius: 50%; border: 1px solid #fff; }
.bead s.pp { left: 0; bottom: 0; background: #2f6fd0; }
.bead s.bp { right: 0; top: 0; background: #d7263d; }
.bac-road-count { display: flex; justify-content: space-around; font-weight: 800; margin-top: 0.4em; }
.bac-road-count .P { color: #8ab8ff; }
.bac-road-count .B { color: #ff8f99; }
.bac-road-count .T { color: #8dffb5; }

/* =============== Baccarat: TV (the house frame, tv-frame.js; Blackjack is the model) ===============
   The felt: Player and Banker along the top, the game's name printed under them, the betting spots along the bottom.
   The side panel (status, players, the roads, Scan to join) comes from tv-frame. */
.bac-tv { display: flex; flex-direction: column; overflow: hidden; }
.bac-table {
  position: relative; border-radius: 2vw; border: 1vw solid var(--rail); background: radial-gradient(ellipse at 50% 30%, var(--felt-1), var(--felt-2) 85%);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5); padding: 1.5vw; display: flex; flex-direction: column; min-height: 0; box-sizing: border-box;
}
.bac-tv .hf-felt-name { top: 47%; --hf-name: 3.4vw; }
.bac-hands { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding: 0 4vw; align-items: start; }
/* The dealer's call ("Player draws", "Banker stands", "Player natural 9"...): a pill between the two hands, just under
   the cards (it never covers them); each new call pops in. Hidden until there's a call. */
.bac-call { position: absolute; left: 50%; top: calc(100% + 0.2vw); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-size: 1.25vw; font-weight: 900; letter-spacing: 0.12vw; text-transform: uppercase; color: var(--accent);
  background: rgba(0, 0, 0, 0.55); border: 0.15vw solid rgba(245, 197, 66, 0.75); border-radius: 999px; padding: 0.3vw 1.3vw;
  box-shadow: 0 0 1.5vw rgba(245, 197, 66, 0.35); opacity: 0; }
.bac-call.on { opacity: 1; }
.bac-call.pop { animation: bac-call-pop 0.45s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes bac-call-pop { from { opacity: 0; transform: translateX(-50%) scale(0.6); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
.reduce-motion .bac-call.pop { animation: none; opacity: 1; }
.bac-side { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8vh; padding: 0.8vh 0.5vw; border-radius: 1vw; border: 3px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
.bac-side .lbl { font-size: 1.8vw; font-weight: 900; letter-spacing: 0.3vw; }
.bac-side.player .lbl { color: #8ab8ff; }
.bac-side.banker .lbl { color: #ff8f99; }
.bac-side.won.player { border-color: #4a8fe0; box-shadow: 0 0 30px rgba(74, 143, 224, 0.6); }
.bac-side.won.banker { border-color: #d7263d; box-shadow: 0 0 30px rgba(215, 38, 61, 0.6); }
.bac-cards { display: flex; gap: 0.6vw; align-items: center; justify-content: center; min-height: calc(6.4vw * 1.4); }
.bac-total { font-size: 2.4vw; font-weight: 900; background: rgba(0, 0, 0, 0.45); border-radius: 999px; min-width: 4.4vw; padding: 0 1vw; line-height: 1.3; }
.bac-total.ghost { visibility: hidden; }
.bac-side .who { font-size: 1.2vw; font-weight: 800; color: var(--accent); min-height: 1.5vw; }
/* the betting spots along the bottom */
.bac-spots { margin-top: auto; display: flex; flex-direction: column; gap: 0.7vw; }
.bac-spot-row { display: grid; gap: 0.7vw; grid-auto-flow: column; grid-auto-columns: 1fr; }
.bac-tv .bac-spot { border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 0.8vw; padding: 0.4vw 0.8vw; min-height: 4vw; display: flex; flex-direction: column; gap: 0.3vw; box-sizing: border-box; }
.bac-tv .bac-spot-row.main .bac-spot { min-height: 6vw; }
.bac-tv .bac-spot .t { font-weight: 900; font-size: 1.15vw; letter-spacing: 0.1vw; text-transform: uppercase; }
.bac-tv .bac-spot-row.main .bac-spot .t { font-size: 1.8vw; }
.bac-tv .bac-spot .t small { font-weight: 700; text-transform: none; letter-spacing: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.85vw; margin-left: 0.5vw; }
.bac-tv .bac-spot .chips { display: flex; flex-wrap: wrap; gap: 0.3vw; }
.bac-tv .bac-spot .cr-chip { font-size: 1vw; }
.bac-tv .bac-spot.player { border-color: #4a8fe0; }
.bac-tv .bac-spot.banker { border-color: #d7263d; }
.bac-tv .bac-spot.tie { border-color: #3fb26b; }
.bac-tv .bac-spot.win { background: rgba(245, 197, 66, 0.22); box-shadow: 0 0 18px rgba(245, 197, 66, 0.6); border-color: var(--accent); }
/* the side panel's extra: the bead plate, the counts and the big road */
.bac-tv .hf-extra { font-size: 0.85vw; color: var(--text); display: flex; flex-direction: column; }
.bac-tv .hf-extra .bac-road-grid { gap: 2px; }
.bac-tv .hf-extra .bac-big-road { height: auto; flex: 1 1 0; min-height: 0; max-height: 7vw; }

/* =============== Baccarat: phone =============== */
.bac-phone.screen { padding: 12px 16px 8px; gap: 6px; }
.bac-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.bac-road-mini { font-size: 9px; flex-shrink: 0; }
.bac-road-mini .bac-road-count { font-size: 11px; margin-top: 2px; }
/* The table from the deal to the result: one shape the whole time. The other side small across the top, your side
   big along the bottom; each row's cards keep their size, so nothing moves when the squeeze starts. The road is hidden
   meanwhile (it comes back for the next bets), which gives the cards that room. */
#bac.bac-tableview .bac-road-mini, #bac.bac-standview .bac-road-mini { display: none; }
/* The standings (ready and waiting, and the history pop-up): a row per player like the TV's side panel, then the
   bead plate, the counts and the big road. In the waiting screen the roads take the room that's left. */
.bac-stand { display: flex; flex-direction: column; gap: 8px; flex: 1 1 0; min-height: 0; }
.bs-rows { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.bs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 10px; height: 34px; box-sizing: border-box;
  padding: 0 10px 0 9px; background: var(--panel); border-radius: 10px; border-left: 5px solid var(--c); font-size: 14px; font-weight: 800; white-space: nowrap; }
.bs-row.turn { box-shadow: 0 0 0 2px var(--accent) inset; }
.bs-row.turn .bs-nm { color: var(--accent); }
.bs-nm { overflow: hidden; text-overflow: ellipsis; }
.bs-nm small { color: var(--muted); font-size: 11px; font-weight: 700; margin-left: 6px; }
.bs-bet { color: var(--muted); font-size: 12px; font-weight: 700; }
.bs-net { font-size: 12px; font-weight: 900; border-radius: 999px; padding: 1px 7px; }
.bs-net.up { background: rgba(46, 160, 90, 0.3); color: #6be39a; }
.bs-net.down { background: rgba(215, 60, 60, 0.22); color: #ff8a80; }
.bs-net.even { color: var(--muted); }
.bs-ch { min-width: 44px; text-align: right; }
.bs-roads { background: var(--panel); border-radius: 12px; padding: 8px; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column;
  font-size: 9px; overflow: hidden; }
.bs-roads .bac-road-grid { gap: 2px; flex-shrink: 0; }
.bs-roads .bac-road-count { font-size: 12px; margin-top: 4px; flex-shrink: 0; }
.bs-roads .bac-big-title { font-size: 11px; margin-top: 4px; flex-shrink: 0; }
.bs-roads .bac-big-road { height: auto; flex: 1 1 0; min-height: 36px; max-height: 140px; }
.bs-roads .bac-big-road .ring { border-width: 2.5px; width: auto; height: 82%; max-width: 82%; box-sizing: border-box; }
.bs-roads .bac-big-road .ring s { height: 2px; }
/* the history pop-up: the same standings over a faded screen (tap anywhere to close) */
.bac-roads-pop { position: fixed; inset: 0; z-index: 9600; background: rgba(0, 0, 0, 0.78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 16px; animation: bac-roads-in 0.18s ease-out; }
.bac-roads-pop.hidden { display: none; }
@keyframes bac-roads-in { from { opacity: 0; } to { opacity: 1; } }
.bac-roads-box { display: flex; flex-direction: column; gap: 10px; width: min(100%, 440px); max-height: 100%; min-height: 0; }
.bac-roads-title { font-size: 18px; font-weight: 900; color: var(--accent); text-align: center; }
.bac-roads-title small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.bac-roads-pop .bac-stand { flex: 0 1 auto; }
.bac-roads-pop .bs-roads { flex: 0 1 auto; }
.bac-roads-pop .bs-roads .bac-big-road { flex: 0 0 auto; height: 130px; }
.bac-roads-close { font-size: 12px; }
#bacRoadMini { cursor: pointer; }
.bac-ph-board {
  display: grid; grid-template-rows: auto 20px 1fr; gap: 3px; border-radius: 16px; border: 5px solid var(--rail); padding: 6px 8px;
  background: radial-gradient(ellipse at 50% 30%, var(--felt-1), var(--felt-2) 90%); flex: 1 1 0; min-height: 0; /* not clipped: dealt cards fly in from above */
}
.bac-ph-side { display: flex; flex-direction: column; justify-content: center; gap: 6px; border-radius: 12px; border: 2px solid transparent; padding: 4px 6px; min-width: 0; min-height: 0; transition: border-color 0.3s, background 0.3s; }
.bac-ph-side .lbl { display: flex; align-items: center; gap: 8px; font-weight: 900; letter-spacing: 2px; font-size: 15px; line-height: 24px; white-space: nowrap; min-width: 0; }
.bac-ph-side .lbl b { background: rgba(0, 0, 0, 0.45); border-radius: 999px; padding: 0 10px; font-size: 18px; letter-spacing: 0; color: #fff; }
.bac-ph-side .lbl b.ghost { visibility: hidden; }
.bac-ph-side.player .lbl { color: #8ab8ff; }
.bac-ph-side.banker .lbl { color: #ff8f99; }
.bac-ph-side.won.player { border-color: #4a8fe0; }
.bac-ph-side.won.banker { border-color: #d7263d; }
.bac-ph-side.mine { background: rgba(245, 197, 66, 0.07); }
.bac-ph-side .who { margin-left: auto; font-size: 12px; letter-spacing: 0; color: var(--accent); font-weight: 800; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bac-ph-side.small { gap: 2px; padding: 2px 6px; }
.bac-ph-side.small .lbl { font-size: 13px; line-height: 20px; }
.bac-ph-side.small .lbl b { font-size: 15px; }
.bac-ph-side.big .lbl { font-size: 17px; }
.bac-ph-side.big .lbl b { font-size: 20px; }
/* on the phone every card stands upright (a third card too), so three still fit across your row */
.bac-ph-cards { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: nowrap; align-self: center;
  max-width: 100%; height: calc(var(--w) * 1.4); }
.bac-ph-side.big .bac-ph-cards { gap: 10px; }
.bac-ph-cards > * { flex-shrink: 0; }
.bac-ph-cards .bac-card.third { transform: none; margin: 0; }
.bac-ph-cards .peel { transition: width 0.25s ease, height 0.25s ease; }
.bac-ph-cards .bac-card { display: flex; } /* no text line around the card, so a dealt card sits exactly where the squeeze card does */
/* the slot under the table: always the same height (your bets, then the squeeze hint and Flip, then how you did) */
.bac-under { flex: 0 0 104px; height: 104px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 0; overflow: hidden; }
.bac-under .result { margin: 0; padding: 8px; font-size: 20px; }
.bac-under .bac-flip { width: 100%; height: 48px; padding: 0; flex-shrink: 0; }
.bac-under .bac-sq-hint { margin: 0; line-height: 1.25; }
.bac-pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; font-size: 13px; max-height: 60px; overflow: hidden; }
.bac-pill { background: var(--panel); border-radius: 999px; padding: 4px 10px; font-weight: 700; white-space: nowrap; }
.bac-pill b { margin-left: 4px; }
.bac-pill.win b { color: var(--ok); }
.bac-pill.lose b { color: #ff8f99; }
.bac-felt {
  border-radius: 16px; border: 5px solid var(--rail); padding: 10px; display: flex; flex-direction: column; gap: 8px;
  background: radial-gradient(ellipse at 50% 30%, var(--felt-1), var(--felt-2) 90%);
}
.bac-phone .bac-spot-row { display: grid; gap: 6px; }
.bac-phone .bac-spot-row.main { grid-template-columns: 1fr 1fr; }
.bac-phone .bac-spot {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: rgba(0, 0, 0, 0.18); border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 12px; color: #fff; padding: 8px 4px; min-height: 64px;
}
.bac-phone .bac-spot .t { font-weight: 900; font-size: 13px; text-transform: uppercase; line-height: 1.1; }
.bac-phone .bac-spot small { font-size: 10px; color: rgba(255, 255, 255, 0.65); font-weight: 700; }
.bac-phone .bac-spot.sm { min-height: 58px; padding: 6px 2px; }
.bac-phone .bac-spot.sm .t { font-size: 11px; }
.bac-phone .bac-spot-row.main .bac-spot { min-height: 118px; }
.bac-phone .bac-spot-row.main .bac-spot .t { font-size: 22px; letter-spacing: 2px; }
.bac-phone .bac-spot.player { border-color: #4a8fe0; }
.bac-phone .bac-spot.banker { border-color: #d7263d; }
.bac-phone .bac-spot.tie { border-color: #3fb26b; }
.bac-phone .bac-spot.has { touch-action: none; background: rgba(245, 197, 66, 0.12); }
.bac-phone .bac-spot .rl-mychip { position: absolute; top: 4px; right: 4px; }
.bac-stack { position: relative; width: 44px; height: 30px; margin-top: 2px; }
.bac-stack .stack-chip { width: 44px; height: 12px; }
.bac-phone .bac-spot.sm .bac-stack { display: none; }

.bac-phone .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bac-phone .row3 button { padding: 12px 6px; font-size: 16px; }

/* A full card face (bacFaceHTML): corner indexes, pips laid out like a real card, picture cards framed.
   Everything takes the card's colour (red, black, or the four-colour deck's blue and green). */
.card.bac-face { position: relative; display: block; overflow: hidden; background: linear-gradient(160deg, #ffffff, #f4f1e8); }
.bac-face .bf-idx { position: absolute; display: flex; flex-direction: column; align-items: center; line-height: 0.95; font-style: normal; }
.bac-face .bf-idx b { font-size: calc(var(--w) * 0.17); font-weight: 900; letter-spacing: -0.04em; }
.bac-face .bf-idx i { font-size: calc(var(--w) * 0.14); font-style: normal; }
.bac-face .bf-idx.tl { left: calc(var(--w) * 0.05); top: calc(var(--w) * 0.06); }
.bac-face .bf-idx.br { right: calc(var(--w) * 0.05); bottom: calc(var(--w) * 0.06); transform: rotate(180deg); }
.bac-face .bf-pip { position: absolute; font-style: normal; font-size: calc(var(--w) * 0.2); line-height: 1; transform: translate(-50%, -50%); }
.bac-face .bf-pip.down { transform: translate(-50%, -50%) rotate(180deg); }
.bac-face .bf-pip.ace { font-size: calc(var(--w) * 0.55); }
/* picture cards: a framed panel with the letter and suit, top half and the same upside down */
.bac-face .bf-court { position: absolute; left: 22%; right: 22%; top: 15%; bottom: 15%; display: flex; flex-direction: column;
  border: max(1px, calc(var(--w) * 0.018)) solid currentColor; border-radius: calc(var(--w) * 0.04);
  background: repeating-linear-gradient(135deg, rgba(245, 197, 66, 0.22) 0 3px, rgba(245, 197, 66, 0.08) 3px 6px), #fffdf4;
  box-shadow: inset 0 0 0 calc(var(--w) * 0.02) #fff, inset 0 0 0 calc(var(--w) * 0.035) rgba(245, 197, 66, 0.9); }
.bac-face .bf-court-half { flex: 1; display: flex; align-items: center; justify-content: center; gap: calc(var(--w) * 0.02); }
.bac-face .bf-court-half.bottom { transform: rotate(180deg); border-top: max(1px, calc(var(--w) * 0.012)) solid currentColor; }
.bac-face .bf-court-half b { font-size: calc(var(--w) * 0.26); font-weight: 900; font-family: Georgia, 'Times New Roman', serif; }
.bac-face .bf-court-half i { font-size: calc(var(--w) * 0.16); font-style: normal; }
.peel .card.bac-face { position: absolute; }
/* The spots never change size when chips go on them (or come off): each has a fixed height, the name and pays sit at
   the top, and the chips float in the space kept free at the bottom (the stack and your amount on Player / Banker,
   just your amount on the small side bets). */
.bac-phone .bac-spot { justify-content: flex-start; box-sizing: border-box; }
.bac-phone .bac-spot.sm { height: 74px; min-height: 0; padding-top: 6px; }
.bac-phone .bac-spot.sm .rl-mychip { min-width: 19px; height: 19px; font-size: 9px; }
.bac-phone .bac-spot-row.main .bac-spot { height: 118px; min-height: 0; padding-top: 22px; }
.bac-phone .bac-spot .bac-stack { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); margin: 0; }
.bac-phone .bac-spot .rl-mychip { position: absolute; top: auto; right: auto; margin: 0; }
.bac-phone .bac-spot-row.main .bac-spot .rl-mychip { bottom: 8px; left: calc(50% - 30px); transform: none; }
.bac-phone .bac-spot.sm .rl-mychip { bottom: 4px; left: 50%; transform: translateX(-50%); }

/* ---------- Phone: fits one screen (no scrolling) ---------- */
#bac.screen { height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; padding-top: 10px; }
#bac .bac-body { flex: 1 1 0; }
#bac .bj-actions-bar { position: static; flex-shrink: 0; }
#bac .bj-actions-bar > button { width: 100%; padding: 14px; }

/* Big road under the bead road */
.bac-big-title { font-size: 0.85em; font-weight: 800; color: var(--muted); margin-top: 0.5em; }
.bac-big-road { display: grid; gap: 2px; height: 7vw; }
.bac-big-road .ring { border-radius: 50%; border: 0.25vw solid; position: relative; aspect-ratio: 1; align-self: center; justify-self: center; width: 80%; }
.bac-big-road .ring.P { border-color: #4a8fe0; }
.bac-big-road .ring.B { border-color: #e2574c; }
.bac-big-road .ring s { position: absolute; left: -10%; right: -10%; top: 45%; height: 0.2vw; background: #3fb26b; transform: rotate(-45deg); }

/* The dealer's call on the phone: a small pill in the strip between the two rows (the same calls as the TV's) */
.bac-ph-board .bac-ph-side.small { grid-row: 1; }
.bac-ph-board .bac-ph-side.big { grid-row: 3; }
.bac-ph-board .bac-call { grid-row: 2; position: static; justify-self: center; align-self: center; transform: none;
  font-size: 11px; letter-spacing: 1px; padding: 2px 12px; line-height: 14px; border-width: 1.5px; box-shadow: 0 0 10px rgba(245, 197, 66, 0.3); }
.bac-ph-board .bac-call.pop { animation: bac-call-pop-ph 0.4s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes bac-call-pop-ph { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
.reduce-motion .bac-ph-board .bac-call.pop { animation: none; opacity: 1; }
/* the shoe on the TV's felt, between the two hands at the top (cards fly out of it) */
.bac-tv .bac-shoe { position: absolute; left: 50%; top: 1.6vw; transform: translateX(-50%); text-align: center; pointer-events: none; z-index: 2; }
.bac-tv .bac-shoe .shoe-box { width: calc(8vw * var(--dw)); height: 1.9vw; margin: 0 auto; }
.bac-shoe-lbl { font-size: 0.75vw; font-weight: 800; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.08vw; margin-top: 0.3vw; white-space: nowrap; }
.bac-tv .bac-cut-show { top: 34%; }
