/* Interactive game surfaces: independent pointer, rotor and three real reels. */
.sound-switch {
  font-size: 11px;
  padding: 6px 9px;
  min-height: 32px;
  white-space: nowrap;
  background: #fff2d8;
  color: #9b582c;
  border: 1px solid #efcd9f;
  border-radius: 18px;
}
.lottery-toolbar {
  flex-wrap: wrap;
}
.lottery-toolbar > span {
  flex: 1;
  font-size: 11px;
}
.stage-sparkles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.stage-sparkles i {
  position: absolute;
  left: calc(6% + var(--n) * 10%);
  top: calc(12% + var(--n) * 5%);
  color: #f4b944;
  font-size: 15px;
  opacity: 0;
  animation: ambient-spark 4s calc(var(--n) * -0.43s) infinite;
}
.premium-lottery > *:not(.stage-sparkles) {
  position: relative;
}
.premium-lottery {
  transition:
    box-shadow 0.35s,
    border-color 0.35s;
}
.premium-lottery.in-play {
  border-color: #ffac33;
  box-shadow:
    0 0 0 4px #ffcf6f60,
    0 12px 36px #e1853a35;
}
.premium-lottery.in-play .stage-sparkles i {
  animation-duration: 1.3s;
}
.premium-wheel::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 2px solid #ffc34780;
  border-radius: 50%;
  pointer-events: none;
}
.premium-wheel.is-spinning::before {
  animation: charge-ring 1s ease-out infinite;
}
.premium-wheel.is-spinning .wheel-pointer {
  transform-origin: 50% 10%;
  animation: pointer-tick 0.22s ease-in-out infinite;
}
.premium-wheel.is-spinning .wheel-lights i {
  animation: chase-bulb 0.9s calc(var(--i) * -0.038s) linear infinite;
}
.prize-position.chosen-prize .prize-token {
  border-radius: 12px;
  box-shadow:
    0 0 0 2px #f1ae35,
    0 0 20px #ffe585;
  animation: chosen-glow 0.6s ease-in-out 3 alternate;
  background: #fff9d4d9;
}
.is-spinning .reel-window:not(.landed) .reel-strip {
  filter: blur(0.7px);
}
.reel-window.landed {
  animation: reel-lock 0.26s ease-out;
}
.premium-slots.is-winner .reel-frame {
  position: relative;
}
.premium-slots.is-winner .reel-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: #fff7a1;
  box-shadow: 0 0 12px 4px #ffe37b;
  pointer-events: none;
  animation: winning-line 0.8s ease-out 2;
}
.premium-slots.is-spinning .cabinet-sign strong {
  text-shadow:
    0 3px #ab3427,
    0 0 18px #ffe09d;
}
.stage-reveal {
  position: absolute !important;
  z-index: 6;
  left: 5%;
  right: 5%;
  top: 47%;
  padding: 13px 12px;
  text-align: center;
  color: #fff5c6;
  background: linear-gradient(110deg, #cb4824, #fa8140, #c44624);
  border: 2px solid #ffde8a;
  border-radius: 13px;
  box-shadow: 0 8px 25px #87321860;
  animation: reveal-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  pointer-events: none;
}
.stage-reveal small {
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  color: #ffe4aa;
}
.stage-reveal b {
  display: block;
  font-size: 29px;
  letter-spacing: 5px;
  text-shadow: 0 2px #b44122;
}
.premium-slots .stage-reveal span,
.stage-reveal span {
  display: block;
  font-size: 13px;
  color: #fff4da;
  line-height: 1.5;
}
.result-win .result-medallion {
  width: 110px;
  height: 110px;
  position: relative;
  box-shadow:
    0 5px 0 #db9a41,
    0 0 0 9px #ffe7a955,
    0 0 40px #ffd773;
}
.result-medallion img {
  width: 70px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px #a35c2730);
}
.result-win .result-rays {
  animation: victory-rays 16s linear infinite;
  opacity: 0.55;
}
.celebration-rain {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.celebration-rain i {
  position: absolute;
  left: var(--x);
  top: -15px;
  width: 7px;
  height: 12px;
  background: var(--color);
  border-radius: 2px;
  animation: confetti-fall 2.8s calc(var(--n) * 0.026s)
    cubic-bezier(0.1, 0.4, 0.8, 1) both;
}
@keyframes ambient-spark {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.3);
  }
  35% {
    opacity: 0.7;
    transform: translateY(-20px) scale(1);
  }
}
@keyframes pointer-tick {
  50% {
    transform: rotate(-13deg);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes chase-bulb {
  0%,
  20%,
  100% {
    opacity: 1;
    box-shadow: 0 0 9px #fff2a1;
  }
  50%,
  80% {
    opacity: 0.25;
    box-shadow: none;
  }
}
@keyframes charge-ring {
  from {
    transform: scale(0.97);
    opacity: 0.8;
  }
  to {
    transform: scale(1.08);
    opacity: 0;
  }
}
@keyframes chosen-glow {
  to {
    filter: brightness(1.15);
    box-shadow:
      0 0 0 3px #ffce54,
      0 0 30px #ffe97e;
  }
}
@keyframes reel-lock {
  0% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes winning-line {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  35% {
    transform: scaleX(1);
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes reveal-pop {
  from {
    opacity: 0;
    transform: scale(0.45) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes confetti-fall {
  0% {
    transform: translate(0, -15px) rotate(0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate(30px, 520px) rotate(650deg);
    opacity: 0;
  }
}
@keyframes victory-rays {
  to {
    transform: rotate(360deg);
  }
}
.game-fx-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
}
.game-fx-layer i {
  position: absolute;
  width: 8px;
  height: 11px;
  pointer-events: none;
}
.tray {
  position: relative;
}
.match-score {
  position: absolute;
  top: 0;
  left: 45%;
  font-size: 24px;
  color: #e88725;
  text-shadow: 0 2px #fff7d5;
  pointer-events: none;
}
.tile:active:not(:disabled) {
  transform: scale(0.88);
  filter: brightness(1.12);
}
.tile:disabled {
  transform: scale(0.92);
  transition: transform 0.1s;
}
.premium-lottery {
  padding: 20px 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid #f7cb9a;
  background: radial-gradient(
    ellipse at 50% 30%,
    #fffbe9 0,
    #fff0cc 44%,
    #ffe3b9 100%
  );
  box-shadow:
    0 8px 24px #ad4a1112,
    inset 0 1px #fff;
}
.premium-lottery .lottery-heading h2 {
  font-size: 19px;
  letter-spacing: 0.3px;
  color: #873b22;
}
.premium-lottery .lottery-art-title {
  height: 52px;
  margin: 15px 0 10px;
}
.premium-lottery .lottery-heading button {
  font-size: 12px;
  border-radius: 20px;
  background: #fff9edbd;
  min-height: 34px;
}
.premium-wheel.wheel {
  position: relative;
  display: block;
  width: min(100%, 310px);
  height: auto;
  aspect-ratio: 1;
  margin: 18px auto 28px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #ffe9a6,
    #f5a747 40%,
    #b9571c 80%,
    #ffdd79
  );
  box-shadow:
    0 9px 0 #bf5d2a,
    0 16px 24px #a6532733,
    inset 0 0 0 2px #fff3b4;
  isolation: isolate;
}
.wheel-rotor {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 3px solid #b86730;
  overflow: hidden;
  box-shadow: inset 0 0 18px #ad693d30;
  will-change: transform;
}
.wheel-lights {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.wheel-lights i {
  position: absolute;
  left: calc(50% - 3px);
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff7b9;
  box-shadow: 0 0 6px #fff8bc;
  transform: rotate(calc(var(--i) * 15deg))
    translateY(calc(-1 * min(142px, 35vw)));
}
.is-spinning .wheel-lights i:nth-child(2n) {
  animation: bulb-glow 0.3s infinite alternate;
}
.is-spinning .wheel-lights i:nth-child(2n + 1) {
  animation: bulb-glow 0.3s 0.3s infinite alternate;
}
.prize-position {
  position: absolute;
  inset: 0;
  transform: rotate(var(--angle));
}
.prize-token {
  position: absolute;
  left: 36%;
  top: 5%;
  width: 28%;
  height: 34%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.prize-token img {
  height: 43px;
  max-width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #9f56212b);
}
.prize-token b {
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #813e21;
}
.wheel-hub {
  position: absolute;
  inset: 37%;
  border-radius: 50%;
  background: linear-gradient(150deg, #ffac64, #ed542c 65%);
  border: 4px solid #ffe7a6;
  box-shadow: 0 4px 8px #b64b3b50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff4d9;
  z-index: 3;
  pointer-events: none;
}
.wheel-hub b {
  font-size: 21px;
  letter-spacing: 2px;
  text-shadow: 0 2px #c65428;
}
.wheel-hub small {
  font-size: 8px;
  color: #fff2d4;
}
.wheel-pointer {
  position: absolute;
  top: 1px;
  left: calc(50% - 11px);
  width: 22px;
  height: 34px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(90deg, #a9371c, #f46032, #b43c1f);
  z-index: 4;
  filter: drop-shadow(0 2px 2px #74310b);
}
.premium-slots.slots {
  display: block;
  position: relative;
  width: 100%;
  margin: 16px auto 18px;
  padding: 17px 13px 13px;
  border: 3px solid #ffd67c;
  border-radius: 38px 38px 23px 23px;
  background: linear-gradient(135deg, #ff8860, #e5492d 50%, #bf3025);
  box-shadow:
    0 8px 0 #9c2b21,
    0 12px 0 #f6bd65,
    0 18px 24px #a44e2933,
    inset 0 0 0 3px #ffb671;
}
.premium-slots.slots span {
  all: unset;
}
.cabinet-sign {
  text-align: center;
  color: #fff5c8;
  padding: 2px 0 14px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.premium-slots .cabinet-sign span {
  font: 700 10px/1.4 system-ui;
  letter-spacing: 4px;
  color: #ffe3b0;
}
.cabinet-sign strong {
  font-size: 30px;
  letter-spacing: 5px;
  text-shadow: 0 3px #ab3427;
  line-height: 1.5;
}
.cabinet-sign small {
  color: #ffe7c2;
  font-size: 10px;
  letter-spacing: 2px;
}
.reel-frame {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  background: #a63522;
  border: 5px solid #ffdf87;
  border-radius: 17px;
  padding: 6px;
  box-shadow:
    0 3px 0 #b64d25,
    inset 0 4px 7px #6e241f;
}
.reel-window {
  position: relative;
  overflow: hidden;
  height: 108px;
  border-radius: 9px;
  background: #fff9e6;
  box-shadow: inset 0 0 0 1px #eedbb8;
}
.reel-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    #a94b2226,
    transparent 23%,
    transparent 77%,
    #a94b2226
  );
  border-radius: 9px;
}
.reel-strip {
  will-change: transform;
}
.reel-symbol {
  height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px;
}
.reel-symbol img {
  width: 44px;
  height: 64px;
  object-fit: contain;
}
.reel-symbol small {
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
  color: #813f23;
}
.miss-symbol {
  font-size: 42px;
  color: #eaba59;
  line-height: 64px;
}
.cabinet-trim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}
.premium-slots .cabinet-trim span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #ffd6a0;
}
.cabinet-trim i {
  width: 7px;
  height: 7px;
  background: #ffe294;
  border-radius: 50%;
  box-shadow: 0 0 7px #ffe58a;
}
.is-spinning .cabinet-trim i {
  animation: bulb-glow 0.25s infinite alternate;
}
.is-winner {
  filter: drop-shadow(0 0 10px #ffb73670);
}
.is-winner .reel-window {
  box-shadow:
    inset 0 0 0 2px #f3b332,
    0 0 9px #ffe65e;
}
.prize-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  margin: 14px 0;
  padding: 9px 5px;
  border-top: 1px dashed #e9b779;
  border-bottom: 1px dashed #e9b779;
  scrollbar-width: thin;
}
.prize-preview > span {
  font-size: 10px;
  color: #9e6437;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.prize-preview > div {
  min-width: 55px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
}
.prize-preview img {
  height: 31px;
  width: 31px;
  object-fit: contain;
}
.prize-preview small {
  font-size: 10px;
  max-width: 65px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wheel-probability-note {
  display: block;
  font-size: 10px;
  text-align: center;
  margin-bottom: 14px;
  color: #a77348;
}
.premium-lottery .draw-actions button {
  background: linear-gradient(#ff8752, #ed512d);
  border-radius: 28px;
  box-shadow:
    0 4px 0 #bc4224,
    inset 0 1px #ffb183;
  min-height: 48px;
  font-size: 13px;
}
.premium-lottery .draw-actions button + button {
  background: linear-gradient(#ffe3a3, #ffc865);
  color: #893d21;
  box-shadow:
    0 4px 0 #d79842,
    inset 0 1px #fff5ce;
}
.premium-lottery .draw-actions button:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #bc4224;
}
.premium-lottery .draw-feedback {
  margin-top: 17px;
  font-size: 12px;
}
dialog:has(.lottery-result) {
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff9ef;
  max-width: 370px;
  width: calc(100% - 32px);
  border: 2px solid #ffe0a5;
}

.lottery-result {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 28px 22px 22px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, #ffe5a3, transparent 55%);
}
.result-medallion {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 46px;
  color: #ad6929;
  background: linear-gradient(135deg, #fff4b5, #f6c364);
  border: 5px solid #ffe8a1;
  box-shadow: 0 5px 0 #db9a41;
}
.result-win .result-medallion {
  animation: prize-pop 0.5s cubic-bezier(0.2, 1.5, 0.5, 1);
}
.result-kicker {
  font-size: 11px;
  letter-spacing: 3px;
  color: #aa723a;
  margin-bottom: 7px;
}
.lottery-result h2 {
  font-size: 25px;
  color: #a24123;
  margin-bottom: 9px;
}
.lottery-result > p:not(.result-kicker) {
  font-size: 12px;
  color: #a17d61;
}
.result-prizes {
  max-height: 32vh;
  overflow-y: auto;
  margin: 18px 0;
  text-align: left;
}
.result-prize {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #ffffffa6;
  border: 1px solid #f4dfbc;
  border-radius: 13px;
  margin: 6px 0;
}
.result-prize img {
  width: 35px;
  height: 42px;
  object-fit: contain;
}
.result-prize span {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.result-prize small {
  font-size: 10px;
  white-space: nowrap;
  color: #bd7933;
}
.lottery-result .actions {
  justify-content: center;
  flex-direction: column;
  margin-top: 16px;
  gap: 14px;
}
.lottery-result .actions button {
  width: 100%;
  border-radius: 24px;
  background: linear-gradient(#ff8d57, #ed5830);
}
.lottery-result .actions a {
  font-size: 12px;
  color: #9c633b;
}
.result-rays {
  position: absolute;
  z-index: -1;
  width: 400px;
  height: 400px;
  top: -125px;
  left: calc(50% - 200px);
  opacity: 0.3;
  background: repeating-conic-gradient(
    #ffda73 0deg 12deg,
    transparent 12deg 30deg
  );
  mask-image: radial-gradient(black, transparent 70%);
  pointer-events: none;
}
@keyframes bulb-glow {
  to {
    opacity: 0.3;
    box-shadow: none;
  }
}
@keyframes prize-pop {
  from {
    transform: scale(0.5) rotate(-20deg);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 350px) {
  .premium-lottery {
    padding: 17px 12px;
  }
  .prize-token img {
    height: 34px;
  }
  .prize-token b {
    font-size: 9px;
  }
  .wheel-hub b {
    font-size: 17px;
  }
  .reel-window,
  .reel-symbol {
    height: 92px;
  }
  .reel-symbol img {
    height: 50px;
  }
  .cabinet-sign strong {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .premium-lottery *,
  .lottery-result * {
    animation: none !important;
  }
}

/* Lucky wheel: lacquered stage, machined brass rim and readable prize cards. */
.wheel-card.premium-lottery {
  color: #ffe9bf;
  border: 1px solid #dbac60;
  border-radius: 28px;
  padding: 20px 16px 24px;
  background: radial-gradient(
    ellipse at 50% 32%,
    #e34c3d 0,
    #a6232d 45%,
    #641929 100%
  );
  box-shadow:
    0 14px 30px #74223026,
    inset 0 0 0 5px #ffffff08;
}
.wheel-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #f3c77d45;
  border-radius: 22px;
  pointer-events: none;
}
.wheel-card .lottery-heading h2 {
  color: #fff0ce;
  font-size: 17px;
}
.wheel-card .lottery-heading button {
  color: #ffe2ad;
  background: #ffffff12;
  border: 1px solid #edbc7855;
}
.wheel-card .lottery-meta {
  color: #ffdaab;
}
.wheel-card .lottery-meta .tag {
  background: #ffd79818;
  color: #ffe4ae;
}
.wheel-card > .row small {
  color: #ffdcba;
}
.wheel-card > .row .tag {
  background: #ffe3ad18;
  color: #ffe1aa;
}
.wheel-stage-title {
  text-align: center;
  margin: 20px 0 8px;
}
.wheel-stage-title > span {
  font: 600 10px/1.6 system-ui;
  letter-spacing: 5px;
  color: #f5bf81;
}
.wheel-stage-title strong {
  display: block;
  font-size: 37px;
  letter-spacing: 5px;
  line-height: 1.3;
  color: #ffe7ac;
  text-shadow:
    0 2px #9a412c,
    0 4px 0 #761d26,
    0 8px 18px #57101c55;
}
.wheel-stage-title strong span {
  display: block;
  font-size: 19px;
  letter-spacing: 6px;
  margin-top: 4px;
}
.wheel-stage-title p {
  margin: 9px 0 0;
  font-size: 11px;
  color: #ffc8aa;
  letter-spacing: 1px;
}
.wheel-card .premium-wheel.wheel {
  width: min(100%, 340px);
  margin: 28px auto 0;
  container-type: inline-size;
  background: conic-gradient(
    #fff0b8,
    #d6a24e,
    #fff1c1,
    #bc7a35,
    #ffdf8f,
    #d19b47,
    #fff0b8
  );
  box-shadow:
    0 7px 0 #a3642b,
    0 11px 0 #59202a,
    0 18px 30px #3d071755,
    inset 0 0 0 2px #fff3c3,
    inset 0 0 0 5px #ba743b;
}
.wheel-card .premium-wheel::before {
  inset: -8px;
  border: 1px solid #fbd89199;
  box-shadow:
    0 0 0 4px #f8bb5c12,
    0 0 32px #ffcd7740;
}
.wheel-card .wheel-rotor {
  inset: 17px;
  border: 2px solid #a96638;
  box-shadow:
    inset 0 0 0 4px #fff8e378,
    inset 0 0 22px #a46a3330;
}
.wheel-card .wheel-lights i {
  width: 7px;
  height: 7px;
  left: calc(50% - 3.5px);
  top: calc(50% - 3.5px);
  transform: rotate(calc(var(--i) * 15deg)) translateY(calc(-50cqw + 9px));
  border: 1px solid #fff5cc;
  background: #fffce6;
  box-shadow:
    0 0 3px #fff,
    0 0 8px #fff2a9;
  animation: wheel-idle-light 2.6s calc(var(--i) * -0.11s) ease-in-out infinite;
}
.wheel-card .premium-wheel.is-spinning .wheel-lights i {
  animation: chase-bulb 0.7s calc(var(--i) * -0.029s) linear infinite;
}
.wheel-glass {
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  z-index: 2;
  background: linear-gradient(
    135deg,
    #fff8 0%,
    transparent 24%,
    transparent 72%,
    #d18b2920
  );
  pointer-events: none;
}
.wheel-card .prize-token {
  width: var(--token-width);
  left: calc(50% - var(--token-width) / 2);
  top: 3%;
  height: 31%;
  gap: 3px;
  transform: rotate(calc(-1 * var(--angle) - var(--rest-angle, 0deg)));
}
.wheel-card .prize-token img {
  width: 46px;
  max-width: 80%;
  height: 44px;
  filter: drop-shadow(0 3px 2px #87522230);
}
.wheel-card .prize-token b {
  font-size: 11px;
  font-weight: 750;
  color: #713324;
  line-height: 1.3;
}
.luck-clover {
  display: grid;
  place-items: center;
  font-size: 32px;
  color: #b08751;
  height: 40px;
}
.premium-wheel .luck-clover,
.premium-wheel .stage-reveal span {
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.premium-wheel .luck-clover {
  color: #b08751;
  font-size: 32px;
}
.wheel-card .miss-position .prize-token b {
  color: #92724c;
  font-size: 10px;
}
.wheel-card
  .premium-wheel:is(
    [data-prize-count="7"],
    [data-prize-count="8"],
    [data-prize-count="9"]
  )
  .prize-token
  img {
  height: 22px;
  width: 24px;
}
.wheel-card
  .premium-wheel:is(
    [data-prize-count="7"],
    [data-prize-count="8"],
    [data-prize-count="9"]
  )
  .prize-token
  b {
  font-size: 8px;
  -webkit-line-clamp: 1;
}
.wheel-card
  .premium-wheel:is(
    [data-prize-count="7"],
    [data-prize-count="8"],
    [data-prize-count="9"]
  )
  .luck-clover {
  height: 22px;
  font-size: 22px;
}
.wheel-card
  .premium-wheel:is(
    [data-prize-count="7"],
    [data-prize-count="8"],
    [data-prize-count="9"]
  )
  .prize-token {
  width: 17%;
  left: 41.5%;
  top: 5%;
  height: 17%;
  gap: 1px;
}
.wheel-card .wheel-hub {
  inset: 38%;
  border: 3px solid #ffe7a0;
  background: radial-gradient(circle at 32% 20%, #ed7860, #bb2733 58%, #841e31);
  box-shadow:
    0 4px 0 #a96131,
    0 7px 12px #6a2b3245,
    inset 0 0 0 2px #ffffff20;
}
.wheel-card .wheel-hub b {
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.4;
  color: #fff0bf;
}
.wheel-card .wheel-hub small {
  font-size: 7px;
  letter-spacing: 0.7px;
  color: #ffddad;
}
.wheel-card .wheel-pointer {
  top: -11px;
  left: calc(50% - 16px);
  width: 32px;
  height: 49px;
  clip-path: polygon(50% 100%, 6% 30%, 6% 13%, 25% 0, 75% 0, 94% 13%, 94% 30%);
  background: linear-gradient(
    90deg,
    #bf7539,
    #fff1b2 46%,
    #ffdb89 52%,
    #b57535
  );
}
.wheel-pointer i {
  position: absolute;
  inset: 7px 9px 15px;
  background: #a12832;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.wheel-card .premium-wheel.is-spinning .wheel-pointer {
  animation: none;
  transform-origin: 50% 10%;
}
.wheel-phases {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0 15px;
}
.wheel-phases span {
  font-size: 9px;
  color: #dbaea0;
  white-space: nowrap;
}
.wheel-phases i {
  width: 12px;
  height: 1px;
  background: #e4b77c55;
}
.wheel-card[data-phase="spin"] .wheel-phases span:first-child,
.wheel-card[data-phase="settle"] .wheel-phases span:nth-of-type(2),
.wheel-card[data-phase="reveal"] .wheel-phases span:last-child {
  color: #fff0bd;
  text-shadow: 0 0 10px #ffcf77;
}
.wheel-plinth {
  width: 78%;
  margin: -8px auto 21px;
  padding: 26px 8px 11px;
  text-align: center;
  font-size: 9px;
  color: #ffe5ac;
  border: 1px solid #e8b55b;
  border-radius: 0 0 50% 50% / 0 0 40% 40%;
  background: linear-gradient(90deg, #a33e34, #d95b40, #a33e34);
  box-shadow: 0 4px 0 #60202b;
}
.wheel-plinth span {
  margin: 0 6px;
  color: #ffcf73;
}
.wheel-card .prize-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 10px;
  margin: 16px 0 12px;
  background: #fff7e9;
  border: 1px solid #f7d396;
  border-radius: 18px;
  overflow: hidden;
}
.wheel-card .prize-preview > span {
  grid-column: 1 / -1;
  writing-mode: horizontal-tb;
  font-size: 14px;
  color: #7e3728;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.wheel-card .prize-preview > span small {
  font-weight: 400;
  font-size: 9px;
  max-width: none;
  color: #aa8060;
}
.wheel-card .prize-preview > div {
  min-width: 0;
  padding: 9px 3px;
  border-radius: 12px;
  border: 1px solid #efddbe;
  background: #fffdf8;
  position: relative;
}
.wheel-card .prize-preview img {
  width: 46px;
  height: 49px;
}
.wheel-card .prize-preview small {
  color: #693d31;
  font-size: 11px;
  line-height: 1.4;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
.prize-stock {
  font-size: 9px;
  color: #af7250;
}
.wheel-card .prize-preview em {
  font-style: normal;
  font-size: 8px;
  color: #ae9681;
}
.wheel-card .wheel-probability-note {
  color: #efc6aa;
  font-size: 10px;
  line-height: 1.6;
}
.wheel-card .draw-actions {
  gap: 10px;
}
.wheel-card .draw-actions button {
  background: linear-gradient(#ffedb5, #f5bd64);
  color: #743223;
  border: 1px solid #ffebbb;
  box-shadow:
    0 4px 0 #b26b37,
    inset 0 1px #fff7d4;
  font-weight: 800;
  min-height: 52px;
}
.wheel-card .draw-actions button + button {
  background: #ffffff0d;
  color: #ffe6b9;
  border: 1px solid #e3b777;
  box-shadow: 0 4px 0 #571c28;
}
.wheel-card .draw-actions button:disabled {
  opacity: 0.46;
}
.wheel-card .draw-feedback {
  color: #ffe2b6;
}
.wheel-card .draw-record-link {
  color: #ffdfa8;
}
.wheel-card .stage-reveal {
  background: linear-gradient(110deg, #862233, #d34938, #862233);
}
.wheel-card.in-play {
  box-shadow:
    0 0 0 3px #ffd37b70,
    0 14px 44px #ae403d50;
}
.wheel-card .chosen-prize .prize-token {
  background: #fff9dc;
  box-shadow:
    0 0 0 2px #e9b65b,
    0 0 24px #ffea89;
}
.campaign-prizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}
.campaign-prizes span {
  background: #fff0db;
  color: #8c593a;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 11px;
}
dialog:has(#prize-editor-list) {
  width: min(600px, calc(100% - 24px));
  max-height: 90dvh;
  overflow-y: auto;
}
.editor-intro,
.editor-hint {
  font-size: 12px;
  line-height: 1.7;
  color: #9b735a;
}
.prize-editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.prize-editor-item {
  display: flex;
  gap: 10px;
  padding: 12px 8px;
  margin: 10px 0;
  border: 1px solid #eed7b7;
  border-radius: 14px;
  background: #fffaf1;
}
.prize-editor-photo {
  width: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.prize-editor-photo img {
  width: 52px;
  height: 64px;
  object-fit: contain;
}
.prize-editor-photo span {
  font-size: 10px;
  color: #a0856c;
  text-align: center;
}
.prize-editor-fields {
  min-width: 0;
  flex: 1;
}
.prize-editor-fields label {
  font-size: 11px;
  margin-top: 0;
}
.prize-editor-fields input {
  padding: 8px;
  min-height: 36px;
}
.prize-editor-fields small {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.prize-editor-fields .prize-image-label {
  margin-top: 9px;
}
.prize-editor-fields input[type="file"] {
  font-size: 10px;
  width: 100%;
  padding: 3px 0;
  border: 0;
}
.prize-remove {
  padding: 4px 7px;
  min-height: 36px;
  align-self: flex-start;
  background: #fbe9df;
  color: #b04430;
  font-size: 11px;
}
.prize-picker-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.prize-picker-row select {
  min-width: 0;
  flex: 1;
}
.prize-picker-row button {
  white-space: nowrap;
  font-size: 12px;
  padding: 10px;
}
.editor-confirm {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.7;
  background: #fff0d9;
  padding: 12px;
  border-radius: 12px;
}
.editor-confirm input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 2px 0;
}
@keyframes wheel-idle-light {
  50% {
    opacity: 0.45;
    box-shadow: 0 0 2px #fff0ad;
  }
}
@media (max-width: 350px) {
  .wheel-card.premium-lottery {
    padding: 17px 12px 22px;
  }
  .wheel-stage-title strong {
    font-size: 32px;
  }
  .wheel-card .prize-token img {
    height: 32px;
    width: 34px;
  }
  .wheel-card .prize-token b {
    font-size: 9px;
  }
  .wheel-card .wheel-hub b {
    font-size: 18px;
  }
  .wheel-card .wheel-hub small {
    font-size: 6px;
  }
  .wheel-card .draw-actions button {
    font-size: 11px;
    padding: 10px 5px;
  }
  .prize-editor-photo,
  .prize-editor-photo img {
    width: 38px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wheel-card *,
  .wheel-card .premium-wheel::before {
    animation: none !important;
    transition: none !important;
  }
}

/* Smooth three-reel cabinet: stable geometry and transform-only motion. */
.reels-card .symbol-podium {
  position: relative;
  width: 100%;
  height: 80px;
  flex: 0 0 80px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.reels-card .symbol-halo {
  position: absolute;
  z-index: -1;
  inset: 8px 2px 3px;
  border-radius: 44% 44% 18% 18%;
  background: radial-gradient(circle at 50% 28%, #fff8dc, #f2c979);
  border: 1px solid #efd4a0;
  transform: rotate(-7deg);
}
.reels-card .reel-symbol[data-tone="1"] .symbol-halo {
  background: radial-gradient(circle at 50% 28%, #f1fff9, #ade4d4);
  border-color: #bde4d7;
  transform: rotate(6deg);
}
.reels-card .reel-symbol[data-tone="2"] .symbol-halo {
  background: radial-gradient(circle at 50% 28%, #fff4ff, #d7bae8);
  border-color: #ddc8e7;
  transform: rotate(-4deg);
}
.reels-card .symbol-podium::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70%;
  height: 9px;
  bottom: 3px;
  border-radius: 50%;
  background: #97714a20;
}
.reels-card .symbol-glint {
  position: absolute;
  right: 1px;
  top: 1px;
  font-size: 13px;
  color: #b88635;
  font-style: normal;
  z-index: 2;
}
.reels-card .reel-symbol .symbol-podium img {
  width: 80px;
  height: 84px;
  max-width: 118%;
  object-fit: contain;
}
.reels-card .symbol-podium .miss-symbol {
  font-size: 47px;
  line-height: 1;
  color: #9c7650;
  text-shadow: 0 2px #fff8e9;
}
.reels-card .reel-symbol[data-tone="1"] .miss-symbol {
  color: #5d9d87;
}
.reels-card .reel-symbol[data-tone="2"] .miss-symbol {
  color: #9a76b1;
}
.reels-card .symbol-gift small {
  font-weight: 700;
  color: #633b32;
}
.reels-card .symbol-gift .symbol-podium img {
  transform: rotate(-5deg) scale(1.08);
}
.reels-card .symbol-gift[data-tone="1"] .symbol-podium img {
  transform: rotate(5deg) scale(1.08);
}
.reels-card .symbol-gift[data-tone="2"] .symbol-podium img {
  transform: rotate(-2deg) scale(1.08);
}
.reels-card.neon-slots {
  padding: 18px 14px 24px;
  border-radius: 28px;
  border: 1px solid #9b91c9;
  color: #f6e9ff;
  background: radial-gradient(
    ellipse at 50% 33%,
    #593d80,
    #292039 62%,
    #211b30
  );
  box-shadow:
    0 14px 30px #30214125,
    inset 0 0 0 5px #ffffff06;
}
.reels-card .lottery-heading h2 {
  color: #f5e9ff;
  font-size: 17px;
}
.reels-card .lottery-heading button {
  color: #e7d6ff;
  background: #ffffff0a;
  border: 1px solid #b4a1ce55;
}
.reels-card > .row .tag {
  color: #c7ffef;
  background: #78edcb18;
}
.reels-card > .row small {
  color: #c5b2d7;
}
.slot-prize-showcase {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 16px;
  padding: 13px;
  border: 1px solid #c7aad950;
  border-radius: 17px;
  background: linear-gradient(120deg, #67526e80, #342a4880);
}
.showcase-art {
  display: grid;
  place-items: center;
  width: 64px;
  height: 70px;
  border-radius: 14px;
  background: #fff4db;
  flex-shrink: 0;
}
.showcase-art img {
  width: 44px;
  height: 58px;
  object-fit: contain;
}
.slot-prize-showcase > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.slot-prize-showcase small {
  font-size: 9px;
  letter-spacing: 1px;
  color: #c8b4df;
}
.slot-prize-showcase strong {
  display: block;
  margin: 5px 0;
  font-size: 16px;
  color: #fff1d3;
  overflow-wrap: anywhere;
}
.slot-prize-showcase p {
  margin: 0;
  font-size: 10px;
  color: #c2f3e5;
}
.slot-prize-showcase em {
  display: block;
  font-size: 8px;
  color: #bba9c8;
  font-style: normal;
  margin-top: 3px;
}
.slot-prize-showcase > span {
  font-size: 26px;
  color: #d7b983;
}
.reels-card .premium-slots.slots {
  --reel-size: 138px;
  width: 100%;
  margin: 12px auto 28px;
  padding: 18px 10px 16px;
  border: 2px solid #f7cf8e;
  border-radius: 54px 54px 24px 24px;
  background: linear-gradient(
    130deg,
    #9489ba,
    #61527f 12%,
    #443354 48%,
    #69527e 88%,
    #b095b7
  );
  box-shadow:
    0 5px 0 #1b162b,
    0 9px 0 #b49871,
    0 15px 0 #191421,
    inset 0 0 0 4px #f6d8ae20;
  isolation: isolate;
  filter: none;
}
.cabinet-aura {
  position: absolute;
  z-index: -1;
  inset: -12px;
  border-radius: 60px;
  background: radial-gradient(ellipse, #e3a8fe45, transparent 70%);
  pointer-events: none;
}
.reels-card .cabinet-sign {
  padding: 3px 0 18px;
}
.reels-card .cabinet-sign > span {
  font-size: 8px;
  letter-spacing: 4px;
  color: #c8f9e9;
}
.reels-card .cabinet-sign strong {
  font-size: 40px;
  line-height: 1.3;
  color: #ffedbe;
  letter-spacing: 2px;
  text-shadow:
    0 2px #b58a65,
    0 4px #352035;
  margin: 6px 0 8px;
}
.reels-card .cabinet-sign strong span {
  font-size: inherit;
  color: #a0f6df;
  text-shadow:
    0 2px #6eafaa,
    0 4px #352035;
  letter-spacing: 2px;
}
.reels-card .cabinet-sign small {
  font-size: 9px;
  letter-spacing: 0.5px;
  color: #e5d4e5;
}
.cabinet-marquee {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  padding: 7px 5px;
  border-top: 1px solid #d6b79555;
  border-bottom: 1px solid #d6b79555;
}
.cabinet-marquee i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffdfa5;
  box-shadow: 0 0 6px #ffc586;
  opacity: 0.55;
  animation: marquee-breathe 3.2s calc(var(--i) * -0.12s) ease-in-out infinite;
}
.reel-locks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 13px 8px 9px;
}
.reel-locks > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #e0c5ed;
}
.reel-locks i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #81728f;
}
.reel-locks b {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.reel-locks small {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 8px;
  color: #d1bfdc;
}
.reel-locks .locked {
  color: #b8ffe8;
}
.reel-locks .locked i {
  background: #b4ffe4;
  box-shadow: 0 0 8px #71e9cb;
}
.reel-locks .locked small {
  color: #b8ffe8;
}
.reel-deck {
  position: relative;
}
.reels-card .reel-frame {
  position: relative;
  gap: 5px;
  padding: 6px;
  border: 3px solid #efc78e;
  border-radius: 17px;
  background: #211c31;
  box-shadow:
    0 3px 0 #ba9163,
    inset 0 0 0 2px #746679;
}
.reels-card .reel-window {
  height: var(--reel-size);
  border-radius: 10px;
  background: #fff9e9;
  contain: paint;
  box-shadow: inset 0 0 0 1px #ebd7af;
}
.reels-card .reel-symbol {
  height: var(--reel-size);
  padding: 8px 3px;
  gap: 6px;
}
.reels-card .reel-symbol img {
  width: 48px;
  height: 67px;
  object-fit: contain;
}
.reels-card .reel-symbol small {
  font-size: 9px;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.reels-card .reel-strip {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: auto;
}
.reels-card .is-spinning .reel-strip {
  will-change: transform;
}
.reels-card .is-spinning .reel-window:not(.landed) .reel-strip {
  filter: none;
}
.reels-card .reel-window::after {
  background: linear-gradient(
    #62507535,
    transparent 24%,
    transparent 75%,
    #62507530
  );
}
.reel-glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    #ffffff70,
    transparent 32%,
    transparent 60%,
    #ffffff35
  );
}
.payline-arrow {
  position: absolute;
  z-index: 4;
  top: calc(50% - 6px);
  width: 9px;
  height: 12px;
  background: #a2f9df;
}
.payline-arrow.left {
  left: -5px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.payline-arrow.right {
  right: -5px;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.slot-payline {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(50% - 1px);
  height: 2px;
  background: #cbffeb;
  box-shadow: 0 0 6px #66dfb9;
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0);
}
.reels-card .cabinet-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 15px 3px 10px;
  min-height: 38px;
  border: 1px solid #a496b15c;
  border-radius: 9px;
  background: #211d30;
  padding: 8px 4px;
}
.cabinet-display b {
  font-size: 10px;
  color: #d9ffe8;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.cabinet-display i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b3f4d8;
}
.cabinet-speaker {
  width: 45%;
  height: 8px;
  margin: 0 auto;
  background: repeating-linear-gradient(
    90deg,
    #211729 0 2px,
    transparent 2px 5px
  );
  opacity: 0.55;
  border-radius: 8px;
}
.cabinet-foot {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -20px;
  z-index: -1;
}
.cabinet-foot i {
  width: 22px;
  height: 10px;
  border-radius: 0 0 5px 5px;
  background: #ceaf89;
}
.reels-card .premium-slots.is-spinning .cabinet-sign strong {
  text-shadow:
    0 2px #b58a65,
    0 4px #352035;
}
.reels-card .is-spinning .cabinet-marquee i {
  animation: marquee-run 1.4s calc(var(--i) * -0.078s) linear infinite;
}
.reels-card .reel-window.landed {
  animation: none;
}
.reels-card .reel-window.landed::after {
  animation: reel-sheen 0.32s ease-out both;
}
.reels-card .premium-slots.is-winner .reel-frame::after {
  display: none;
}
.reels-card .is-winner .slot-payline {
  animation: payline-draw 0.7s ease-out both;
}
.reels-card .is-winner .reel-window {
  box-shadow: inset 0 0 0 2px #92d9b8;
}
.reels-card .is-winner .cabinet-marquee i {
  opacity: 1;
  animation: none;
  background: #baffde;
}
.reels-card .stage-sparkles {
  display: none;
}
.reels-card.in-play {
  border-color: #b5e2d2;
  box-shadow: 0 14px 30px #30214125;
}
.reels-card .draw-actions {
  gap: 10px;
  margin-top: 34px;
}
.reels-card .draw-actions button {
  min-height: 52px;
  font-weight: 750;
  background: linear-gradient(#c6ffe9, #89dcbf);
  border: 1px solid #d4ffef;
  color: #23493f;
  box-shadow:
    0 4px 0 #529a87,
    inset 0 1px #e9fff5;
  border-radius: 16px;
}
.reels-card .draw-actions button + button {
  background: linear-gradient(#fbe4b7, #d9b47f);
  color: #5b3c35;
  box-shadow: 0 4px 0 #997353;
  border-color: #ffe9c5;
}
.reels-card .draw-actions button:disabled {
  opacity: 0.45;
}
.reels-card .draw-feedback {
  color: #d1c1df;
  font-size: 11px;
  margin-top: 8px;
}
.reels-card .draw-record-link {
  color: #dcc69f;
}
.slots-outcome {
  min-height: 64px;
  position: relative;
  display: grid;
  align-items: center;
  margin-top: 16px;
}
.slots-outcome:empty::before {
  content: "三格同款即中奖 · 结果以活动规则为准";
  text-align: center;
  font-size: 10px;
  color: #b8a6c7;
}
.slots-win-ticket {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid #e9cea0;
  border-radius: 12px;
  background: #fff0cf;
  color: #624137;
  animation: ticket-rise 0.35s ease-out both;
  text-align: center;
}
.slots-win-ticket small {
  display: block;
  font-size: 8px;
  color: #9e745b;
  letter-spacing: 2px;
}
.slots-win-ticket b {
  display: block;
  font-size: 15px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.slots-win-ticket > span {
  font-size: 22px;
  color: #b98c58;
}
.slots-miss-note {
  text-align: center;
  font-size: 11px;
  color: #cbb6df;
}
.slots-ribbons {
  position: absolute;
  inset: -90px -8px -15px;
  overflow: hidden;
  pointer-events: none;
}
.slots-ribbons i {
  position: absolute;
  top: 0;
  left: var(--x);
  width: 5px;
  height: 9px;
  background: var(--color);
  border-radius: 1px;
  animation: slot-ribbon 0.8s calc(var(--i) * 0.015s) ease-out both;
}
@keyframes marquee-breathe {
  50% {
    opacity: 1;
  }
}
@keyframes marquee-run {
  0%,
  100% {
    opacity: 0.3;
  }
  35%,
  60% {
    opacity: 1;
  }
}
@keyframes reel-sheen {
  from {
    opacity: 0.2;
  }
  to {
    opacity: 1;
  }
}
@keyframes payline-draw {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  40% {
    transform: scaleX(1);
    opacity: 0.9;
  }
  100% {
    transform: scaleX(1);
    opacity: 0.55;
  }
}
@keyframes ticket-rise {
  from {
    transform: translateY(9px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slot-ribbon {
  from {
    transform: translate3d(0, -12px, 0) rotate(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  to {
    transform: translate3d(var(--drift), 160px, 0) rotate(230deg);
    opacity: 0;
  }
}
@media (max-width: 350px) {
  .reels-card.neon-slots {
    padding: 16px 11px 22px;
  }
  .reels-card .premium-slots.slots {
    --reel-size: 122px;
    padding: 16px 8px 14px;
  }
  .reels-card .cabinet-sign strong {
    font-size: 34px;
  }
  .reels-card .cabinet-sign small {
    font-size: 8px;
  }
  .reels-card .reel-symbol img {
    width: 36px;
    height: 58px;
  }
  .reels-card .symbol-podium {
    height: 70px;
    flex-basis: 70px;
  }
  .reels-card .reel-symbol .symbol-podium img {
    width: 62px;
    height: 76px;
  }
  .reels-card .draw-actions button {
    font-size: 11px;
    padding: 10px 4px;
  }
  .cabinet-display b {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reels-card *,
  .reels-card *::after {
    animation: none !important;
    transition: none !important;
  }
}

dialog:has(.ten-result){max-width:580px;width:calc(100% - 20px);max-height:92dvh;overflow-y:auto;border:2px solid #ffbd4f;background:#9c2014;border-radius:24px}
.lottery-result.ten-result{padding:26px 12px 20px;background:radial-gradient(ellipse at 50% 20%,#ffad38 0,#d94c16 38%,#84160f 95%);color:#ffedb8}
dialog .ten-result h2{position:relative;font-size:clamp(32px,9vw,52px);font-weight:950;color:#fff4bf;text-shadow:0 3px #d22d12,2px 0 #e13b14,-2px 0 #e13b14,0 0 18px #ffba46;margin:4px 0 10px}
.ten-result .result-kicker,.ten-result>p:not(.result-kicker){color:#fff0cb;position:relative}.ten-result-glow{position:absolute;inset:-30% -20% 40%;z-index:-1;background:repeating-conic-gradient(from 10deg,#ffc13b50 0deg 8deg,transparent 8deg 25deg);mask-image:radial-gradient(ellipse,#000,transparent 70%)}
.ten-result .ten-result-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;overflow:visible;max-height:none;margin:22px 0 16px}
.ten-result .ten-result-card{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:112px;padding:17px 4px 8px;margin:0;background:linear-gradient(#fffef3,#fff0cf);border:2px solid #ffc657;border-radius:10px;box-shadow:0 0 9px #ffb333;text-align:center;min-width:0}
.ten-result .ten-result-card img{width:100%;height:57px;object-fit:contain}.ten-result .ten-result-card>span{flex:none;font-size:11px;line-height:1.4;color:#9e5635}.ten-result .ten-miss>span{font-weight:700;color:#ab7455}.ten-result .ten-number{position:absolute;left:5px;top:3px;color:#b58651;font-size:9px}.ten-result .actions button{max-width:320px;min-height:52px;align-self:center;border:3px solid #ffdc70;background:linear-gradient(#ff7547,#eb2717 55%,#bc110c);box-shadow:inset 0 2px #fff1bb,0 3px 0 #922014;color:#fff8d6;font-size:22px}.ten-result .actions a{color:#ffe4aa}dialog .ten-result>small{font-size:11px;color:#ffe4aa}
@media(max-width:350px){.ten-result .ten-result-grid{gap:4px}.ten-result .ten-result-card{min-height:95px;padding-left:2px;padding-right:2px}.ten-result .ten-result-card>span{font-size:10px}.ten-result .ten-result-card img{height:43px}.lottery-result.ten-result{padding-left:8px;padding-right:8px}}
