
/* ---------- The board's two cards after a win: a deck to swipe (scrResult and main.ts). Test board only: the live build never draws these classes. ---------- */
/* The deck sits where the card and its price and name sit on one card's screen, and each page lays them out the same way, so a card in view is where a lone card would be.
   The other card peeks in at the edge. The deck clips only sideways, so a card's glow can still reach over the bar as it does on one card's screen. */
.rd-view { flex: 1 1 0; min-height: 0; position: relative; overflow-x: clip; touch-action: pan-y; }
.rd-page { position: absolute; inset: 0; display: flex; flex-direction: column; will-change: transform; }
.hero-foot.rd-words { padding-bottom: 0; }
.hero-foot.rd-foot { padding-top: 0; }
/* Two small dots between the back arrow and the facts: the card in view is lit, and a tap on the other goes to it. */
.rd-dots { display: flex; }
.rd-dot { width: 26px; height: 42px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.rd-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffffff59; box-shadow: 0 1px 2px #0009; transition: background .2s, box-shadow .2s; }
.rd-dot.is-on::before { background: #fff; box-shadow: 0 0 7px #ffffffa6, 0 1px 2px #0009; }
.rd-dot:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
/* After one card is sold or vaulted, the card left glides from where it peeked into the middle, and its price and name fade in. */
@media (prefers-reduced-motion: no-preference) {
  .rd-arrive .hero-card, .rd-arrive .hero-floor { animation: rdArrive .34s cubic-bezier(.2, 1, .35, 1); }
  .rd-arrive .big-price, .rd-arrive .big-name { animation: rdWords .34s cubic-bezier(.2, 1, .35, 1); }
}
@keyframes rdArrive { from { translate: var(--rd-from, 0px) 0; } }
@keyframes rdWords { from { translate: calc(var(--rd-from, 0px) / 3) 0; opacity: 0; } }
