/* Illustrated gold and emerald plates share the original native SVG coordinates.
   The parent owns hub placement; no transform is inherited from the wheel. */
.star-door-mount.star-door-mount {
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  overflow: visible;
  pointer-events: none;
  isolation: isolate;
}
/* The supplied transparent rim adds depth without filtering the animated plates. */
.star-door-mount::before {
  content: '';
  position: absolute;
  inset: 1% -1% -1% 1%;
  z-index: -1;
  background: url('../assets/wheel-hub-shadow.png') center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 2px #0009);
  pointer-events: none;
}
.star-door {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.star-door-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.star-door-frame-image,
.star-door-frame-rim,
.star-door-star-image {
  pointer-events: none;
  image-rendering: auto;
}
.star-door-caption {
  image-rendering: auto;
  pointer-events: none;
}
.star-door-slot-text {
  font: 400 24px Heavitas, Arial, sans-serif;
  paint-order: stroke fill;
  stroke: #010803;
  stroke-width: 1.05px;
  stroke-linejoin: round;
  font-variant-numeric: tabular-nums;
}
.star-door-slot-animal {
  font-size: 13.2px;
  letter-spacing: -.2px;
}
.star-door-lock-light {
  stroke: #9d995c;
  opacity: .4;
}
.star-door[data-category-settled="true"] .star-door-category-light,
.star-door[data-multiplier-settled="true"] .star-door-multiplier-light {
  stroke: #f2efb0;
  opacity: .95;
}
.star-door[data-state="revealed"] .star-door-readout {
  filter: drop-shadow(0 .45px .65px #020703) drop-shadow(0 0 .7px #d9ca8138);
}
.star-door[data-reduced-motion="true"] .star-door-readout {
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .star-door-readout { filter: none !important; }
}

.star-door-slot-miss {
  font-size: 21px;
  letter-spacing: .8px;
}

#game.landscape-main .star-door-mount::before,
#game:not(.mobile-layout) .star-door-mount::before {
  translate: 0 1px;
}
