.store-roulette {
  position: fixed;
  inset: 0;
  width: min(430px, calc(100vw - 24px));
  height: fit-content;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 1px solid #3654bd;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(155deg, #121a38, #080c1b);
  box-shadow: 0 20px 80px #0009;
  overflow: auto;
}
.store-roulette::backdrop { background: #02040ddb; }
.store-roulette[open] {
  display: block;
}
.store-roulette__content { position: relative; padding: 25px 20px 20px; text-align: center; }
.store-roulette__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid #313e60;
  border-radius: 50%;
  background: #202944;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.store-roulette__eyebrow {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .18em;
  color: #9aadff;
  font-weight: 700;
  text-transform: uppercase;
}
.store-roulette h2 {
  margin: 10px 30px;
  font-size: clamp(1.45rem, 6vw, 1.9rem);
  line-height: 1.2;
}
.store-roulette__intro {
  color: #b5bdd4;
  font-size: .85rem;
  line-height: 1.5;
  margin: 8px 0 18px;
}
.store-roulette__stage {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
}
.store-roulette__pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid #e10600;
  filter: drop-shadow(0 2px 6px #000a);
}
.store-roulette__wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 5.2s cubic-bezier(.12, .75, .16, 1);
  filter: drop-shadow(0 0 22px #e1060066);
  background: #000;
}
.store-roulette__canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.store-roulette__action {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #e10600;
  color: #fff;
  font: 800 1rem "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.store-roulette__action:disabled { opacity: .65; cursor: wait; }
.store-roulette__controls { display: flex; justify-content: center; margin-top: 10px; }
.store-roulette__sound {
  min-height: 44px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  color: #b7c7ff;
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
}
.store-roulette__status {
  margin: 10px 0 0;
  color: #b7c5ec;
  font-size: .8rem;
  line-height: 1.5;
}
.store-roulette__status:empty { display: none; }
.store-roulette button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.store-mode .roulette-badge { display: none !important; }
@media (max-width: 360px) {
  .store-roulette__content { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-roulette__wheel { transition-duration: .1s; }
}
