.coin-display { --coin-width: clamp(90px, 13vw, 172px); isolation: isolate; }
.coin-display .coin-render {
  position: relative;
  width: var(--coin-width);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.coin-render canvas { display: block; width: 100%; height: auto; }
.coin-render img { width: 80%; height: auto; }
.coin-shadow {
  position: absolute;
  top: calc(50% + var(--coin-width) * .46);
  width: calc(var(--coin-width) * .72);
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse,#76634255,transparent 72%);
}
.motion-toggle {
  position: absolute;
  inset-inline-end: 2%;
  bottom: 3%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}
.motion-toggle:hover { background: var(--surface-2); }
.motion-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.coin-display[data-motion="playing"] .play-symbol,
.coin-display[data-motion="still"] .pause-symbol { display: none; }
@media(max-width:760px) {
  .coin-display { --coin-width: clamp(60px,17vw,105px); }
  .motion-toggle { bottom: -6px; inset-inline-end: 0; }
}
