.tarot-picked-card {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  border-radius: 0.3rem;
  box-shadow: 0 0 0 2px #d6aa57, 0 3px 9px #3d2e1a45;
  animation: tarot-card-press 500ms ease-out both;
}

.tarot-picked-card::after {
  position: absolute;
  inset: 0.35rem 0.35rem auto auto;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid #ad7e32;
  border-radius: 50%;
  background: #f7de9c;
  color: #452e12;
  content: "✓";
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1;
  transform: rotate(calc(0deg - var(--card-angle)));
}

.tarot-covered-number { opacity: 0; }
.tarot-result-pulse { animation: tarot-result-placed 480ms ease-out; }

@media (max-width: 56rem) {
  #tarot-progress.tarot-progress-pulse {
    border-radius: 0.2rem;
    animation: tarot-progress-count 560ms ease-out;
  }
}

@keyframes tarot-card-press {
  from { transform: rotate(var(--card-angle)); }
  25%, 65% { transform: translateY(-3px) rotate(var(--card-angle)); opacity: 1; }
  to { transform: translateY(-3px) rotate(var(--card-angle)); opacity: 0; }
}

@keyframes tarot-result-placed {
  from { outline: 3px solid #e3b765; outline-offset: 2px; }
  to { outline: 3px solid #e3b76500; outline-offset: 2px; }
}

@keyframes tarot-progress-count {
  from { background: #f5dfa4; color: #3b2c17; box-shadow: 0 0 0 2px #f5dfa4; }
  to { background: transparent; color: var(--tarot-muted); box-shadow: 0 0 0 2px transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .tarot-picked-card {
    transform: rotate(var(--card-angle));
    animation-name: tarot-card-confirm;
  }

  @keyframes tarot-card-confirm {
    from, 65% { opacity: 1; }
    to { opacity: 0; }
  }
}
