/* after52 (Indy 2026-10-25, 25c item 16): per-pane coin compositions. Positions come from a52.js (measured against
   the QR tile). A second, front layer sits above the card content; both layers ignore the pointer. Each coin has its own
   tilt, rock range, bob and timing. Still under reduced motion; paused unless the pane is open and on screen (a50.js). */
.coin-view.cv-composed > .cv-coins--front { z-index: 2; }
.coin-view.cv-composed > .cv-coins { top: -8px; }
.coin-view.cv-composed .cv-coins .doge-coin3d { transform: rotate(var(--tilt, 0deg)); opacity: 1; }
.coin-view.cv-composed .cv-coins .doge-coin3d .dc-spin { animation: cv-rock var(--crock, 6s) ease-in-out var(--cdl, 0s) infinite; animation-direction: normal; }
.coin-view.cv-composed .cv-coins .doge-coin3d .dc-front .dc-sheen { animation: dc-sheen-rock var(--crock, 6s) ease-in-out var(--cdl, 0s) infinite; animation-direction: normal; }
@keyframes cv-rock {
  0%, 100% { transform: translateY(0) rotateX(var(--rx, 12deg)) rotateY(var(--ry0, -22deg)); }
  50%      { transform: translateY(var(--bob, -4px)) rotateX(var(--rx, 12deg)) rotateY(var(--ry1, -38deg)); }
}
/* depth: back coins are softer and a touch smaller in contrast; front coins carry a crisper, closer shadow */
.coin-view.cv-composed .cv-coins:not(.cv-coins--front) .doge-coin3d { filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.16)) saturate(0.92); }
.coin-view.cv-composed .cv-coins:not(.cv-coins--front) .cv-c { opacity: 0.82; filter: blur(0.4px) drop-shadow(0 3px 5px rgba(0, 0, 0, 0.14)); }
.coin-view.cv-composed .cv-coins--front .doge-coin3d { filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.24)) drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.18)); }
html[data-theme="dark"] .coin-view.cv-composed .cv-coins:not(.cv-coins--front) .doge-coin3d { filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)) saturate(0.9) brightness(0.92); }
html[data-theme="dark"] .coin-view.cv-composed .cv-coins--front .doge-coin3d { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.45)); }
@media (prefers-reduced-motion: reduce) {
  .coin-view.cv-composed .cv-coins .doge-coin3d .dc-spin { animation: none !important; transform: rotateX(var(--rx, 12deg)) rotateY(calc((var(--ry0, -22deg) + var(--ry1, -38deg)) / 2)); }
  .coin-view.cv-composed .cv-coins .doge-coin3d .dc-sheen { animation: none !important; }
}
.coin-view.cv-composed .doge-coin3d:not(.is-running) .dc-spin, .coin-view.cv-composed .doge-coin3d:not(.is-running) .dc-sheen { animation-play-state: paused; }
