  /* ---------- the card face (poker-cards.md §5.2): the card Blackjack's Cards and Poker dice's Cards both draw, moved here verbatim from blackjack.css so poker.css can't reach it from before it in the cascade; loaded between poker.css and blackjack.css, where these rules stood ---------- */
  .bjcardt { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(var(--cw) * .06); width: var(--cw); height: calc(var(--cw) * 86 / 60); flex: 0 0 auto; box-sizing: border-box; padding-top: calc(var(--cw) * .1); background: #FFF4D6; border: 3px solid var(--ink2); border-radius: calc(var(--cw) * .17); box-shadow: 0 4px 0 var(--ink2); transform: rotate(var(--r, 0deg)); --pd: calc(var(--cw) * .46); }
  .bjcardt .pdie { border-width: 2px; box-shadow: 0 2px 0 var(--ink2); transform: translateX(calc(var(--cw) * .16)); } .bjcardt .pdie + .pdie { transform: translateX(calc(var(--cw) * -.16)); } /* (the dice staggered, the top one right and the bottom one left, so a two-digit total clears the top die) */
  .bjcardt.bjfloat .pdie { animation: bjfloat var(--fl, 250ms) ease-out var(--fd, 0ms) both; } /* (a card that just landed: its dice float from the line into the stagger, once; a re-render picks it up where it was, the delay going negative) */
  @keyframes bjfloat { from { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .bjcardt.bjfloat .pdie { animation: none; } }
  .bjcardt .idx { position: absolute; top: calc(var(--cw) * .02); left: calc(var(--cw) * .07); font: calc(var(--cw) * .3)/1 var(--lilita); font-weight: 400; color: var(--ink2); }
  .bjcardt.back { padding: 0; background: repeating-linear-gradient(135deg, #8F57EA 0 6px, #7B45D6 6px 12px); box-shadow: 0 4px 0 var(--ink2), inset 0 0 0 4px rgba(255,255,255,.3); }
  .bjcardt.back b { font: calc(var(--cw) * .55)/1 var(--lilita); font-weight: 400; color: #fff; text-shadow: 2px 2px 0 var(--ink2), -1px -1px 0 var(--ink2), 1px -1px 0 var(--ink2), -1px 1px 0 var(--ink2); }
  .bjcardt.gold { box-shadow: 0 0 0 3px #FFD23F, 0 4px 0 3px var(--ink2); }
  /* a coloured card (poker's Cards): a red card's dice have red pips on white (poker.css's .pdie.rbr) and its corner reads red; a black card's black pips and a black corner (var(--ink2), as every card's) */
  .bjcardt.cr .idx { color: #c8102e; }
  body.cbdice .bjcardt.cr .idx { color: #8e0c22; } /* (Colour-blind dice: the red dice go dark with white pips; the corner darkens with them) */
