.coin-stage {
  --coin-stage-height: clamp(240px, 40vh, 430px);
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  height: var(--coin-stage-height);
  overflow: hidden;
  background: transparent;
  user-select: none;
}

.coin-stage__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Override the legacy #coin sizing and drop-shadow when mounted inside .scene. */
.coin-stage > #coin.coin-stage__trigger {
  position: absolute;
  top: 58%;
  left: 50%;
  width: min(69%, calc(var(--coin-stage-height) * 0.49));
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  filter: none;
  transform: translate(-50%, -50%);
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.coin-stage > #coin.coin-stage__trigger:focus-visible {
  outline: 2px solid #f9ebff;
  outline-offset: 4px;
}

.coin-stage__trigger[aria-disabled="true"] {
  cursor: wait;
}
