.pokeslots-machine {
  --pokeslots-cell-size: 102px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
}

.pokeslots-modal {
  --pokeslots-accent-start: #3d61ff;
  --pokeslots-accent-mid: #5630ff;
  --pokeslots-accent-end: #3b90ff;
  --casino-frame-width: 560px;
  --casino-frame-radius: 40px;
  --casino-frame-padding: 0.335rem;
  --casino-bulb-size: 8px;
  --casino-bulb-track-offset: 0px;
  --casino-bulb-guide-inset: 0px;
  --casino-bulb-spacing-factor: 3.15;
  --casino-bulb-spacing-min: 35px;
  --casino-bulb-spacing-max: 60px;
  --casino-bulb-min-count: 14;
  --casino-bulb-corner-boost: 0px;
  --casino-bulb-start-offset: 0.35;
  --casino-neon-pink-inset: 13px;
  --casino-neon-cyan-inset: 25px;
  --casino-neon-pink-radius: 32px;
  --casino-neon-cyan-radius: 26px;
}

@property --pokeslots-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.pokedex-pokeslots-modal__header {
  padding-left: clamp(3rem, 7vw, 5rem);
}

.pokeslots-header-layout {
  position: relative;
  min-width: 0;
}

.pokeslots-header-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.pokeslots-header-copy .modal-title,
.pokeslots-header-copy p {
  max-width: 100%;
}

.pokeslots-header-copy p {
  line-height: 1.3;
}

.pokeslots-header-toolbar {
  flex: 0 0 auto;
}

.pokeslots-machine-stage {
  --pokeslots-border-angle: 0deg;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  z-index: 1;
  overflow: hidden;
}

.casino-frame-wrapper {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, var(--casino-frame-width));
  max-width: 100%;
  margin-inline: auto;
  padding: var(--casino-frame-padding);
  border-radius: calc(var(--casino-frame-radius) + var(--casino-frame-padding));
  z-index: 2;
  background: radial-gradient(circle at 50% 50%, rgb(47 57 89 / 86%) 0%, rgba(11, 12, 18, 0.86) 52%, #020204 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid color-mix(in srgb, var(--pokeslots-accent-end) 60%, transparent 40%);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--pokeslots-accent-end) 90%, transparent 10%),
    0 22px 44px rgba(0, 0, 0, 0.34),
    0 0 0 1px color-mix(in srgb, var(--pokeslots-accent-end) 40%, transparent 70%);
  isolation: isolate;
  overflow: visible;
}

.casino-frame-wrapper::before,
.casino-frame-wrapper::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: calc(var(--casino-frame-radius) + 0.4rem);
  z-index: 4;
}

.casino-frame-wrapper::before {
  inset: var(--casino-neon-pink-inset);
  border: 1px solid color-mix(in srgb, var(--pokeslots-accent-start) 90%, transparent 10%);;
  box-shadow:
    0 0 12px color-mix(in srgb, var(--pokeslots-accent-start) 60%, transparent 40%),
    0 0 28px color-mix(in srgb, var(--pokeslots-accent-start) 30%, transparent 70%),
    inset 0 0 12px color-mix(in srgb, var(--pokeslots-accent-start) 90%, transparent 10%);
  border-radius: var(--casino-neon-pink-radius);
  animation: casino-neon-flicker-pink 6.8s linear infinite;
}

.casino-frame-wrapper::after {
  inset: var(--casino-neon-cyan-inset);
  border: 1px solid color-mix(in srgb, var(--pokeslots-accent-mid) 90%, transparent 10%);
  box-shadow:
    0 0 10px color-mix(in srgb, var(--pokeslots-accent-mid) 60%, transparent 40%),
    0 0 24px color-mix(in srgb, var(--pokeslots-accent-mid) 30%, transparent 70%),
    inset 0 0 14px color-mix(in srgb, var(--pokeslots-accent-mid) 90%, transparent 10%);
  border-radius: var(--casino-neon-cyan-radius);
  animation: casino-neon-flicker-cyan 7.6s linear infinite;
}

.casino-frame-wrapper > .pokeslots-machine-stage {
  width: 100%;
  max-width: 490px;
}

.bulb {
  position: absolute;
  width: var(--casino-bulb-size);
  height: var(--casino-bulb-size);
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 34%, #fffef8 0%, #ffe5a6 34%, #ffc55f 62%, #aa5d12 100%);
  box-shadow:
    0 0 0 1px rgba(252, 215, 129, 0.5),
    0 0 10px rgba(255, 200, 92, 0.32),
    0 0 20px rgba(255, 166, 54, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  animation: casino-bulb-pulse 3.1s ease-in-out infinite;
  animation-delay: var(--bulb-delay, 0s);
}

.bulb::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.08) 72%, transparent 76%);
}

@keyframes casino-neon-flicker-pink {
  0%,
  18%,
  22%,
  52%,
  56%,
  100% {
    opacity: 0.96;
    filter: brightness(1);
  }

  20%,
  54% {
    opacity: 0.78;
    filter: brightness(0.93);
  }
}

@keyframes casino-neon-flicker-cyan {
  0%,
  28%,
  34%,
  66%,
  70%,
  100% {
    opacity: 0.94;
    filter: brightness(1);
  }

  31%,
  68% {
    opacity: 0.76;
    filter: brightness(0.92);
  }
}

@keyframes casino-bulb-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.92);
    box-shadow:
      0 0 0 1px rgba(252, 215, 129, 0.46),
      0 0 9px rgba(255, 200, 92, 0.26),
      0 0 16px rgba(255, 166, 54, 0.12);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.07);
    box-shadow:
      0 0 0 1px rgba(255, 231, 178, 0.58),
      0 0 14px rgba(255, 213, 122, 0.4),
      0 0 28px rgba(255, 166, 54, 0.22);
  }
}

@keyframes casino-corner-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.84;
  }

  50% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.pokeslots-machine-panel {
  min-height: 100%;
  background-image: url("../img/pokemon/pokeslots/background_slot-jKrMGBm.gif");
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.pokeslots-machine-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}

.pokeslots-machine-panel::after {
  bottom: -30px;
  background: linear-gradient(0deg, var(--my-dark-bg-subtle-solid) 40%, transparent);
}

.pokeslots-reel {
  position: relative;
  height: calc(var(--pokeslots-cell-size) * 3);
}

.pokeslots-machine-stage .pokeslots-machine {
  position: relative;
  z-index: 1;
}

.pokeslots-machine-stage .pokeslots-actions {
  position: relative;
  z-index: 2;
}

.pokeslots-machine-stage::after {
  content: "";
  pointer-events: none;
}

.pokeslots-machine-stage::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
  background:
    linear-gradient(180deg, black, transparent 10%),
    linear-gradient(0deg, black, transparent 10%);
}

.pokeslots-reel-track {
  position: relative;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  will-change: transform;
}

.pokeslots-symbol {
  position: relative;
  height: var(--pokeslots-cell-size);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.pokeslots-symbol__fallback {
  display: inline-flex;
  color: #64748b;
}

.pokeslots-symbol__fallback svg {
  width: 22px;
  height: 22px;
}

.pokeslots-symbol img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.pokeslots-symbol.is-dimmed {
  opacity: 0.55;
  filter: saturate(0.72) brightness(0.82);
}

.pokeslots-symbol.is-winning::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: var(--border-radius-10);
  background: color-mix(in srgb, var(--my-dark-bg-subtle-solid) 74%, var(--pokeslots-accent-mid));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pokeslots-accent-end) 28%, transparent),
    0 12px 24px color-mix(in srgb, var(--pokeslots-accent-mid) 22%, transparent);
}

.pokeslots-symbol.is-winning-overlap::before {
  background: color-mix(in srgb, var(--my-dark-bg-subtle-solid) 68%, var(--pokeslots-accent-mid));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pokeslots-accent-end) 36%, transparent),
    0 14px 28px color-mix(in srgb, var(--pokeslots-accent-mid) 28%, transparent);
}

.pokeslots-symbol.is-winning img {
  filter:
    drop-shadow(0 0 10px color-mix(in srgb, var(--pokeslots-accent-end) 36%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--pokeslots-accent-mid) 22%, transparent));
}

.pokeslots-symbol.is-winning-overlap img {
  filter:
    drop-shadow(0 0 12px color-mix(in srgb, var(--pokeslots-accent-end) 42%, transparent))
    drop-shadow(0 0 18px color-mix(in srgb, var(--pokeslots-accent-mid) 30%, transparent));
  transform: scale(1.04);
}

.pokeslots-modal .pokeslots-spin-button.btn-primary {
  border-color: color-mix(in srgb, var(--pokeslots-accent-end) 34%, transparent);
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--pokeslots-accent-mid) 84%, #000) 0%,
      color-mix(in srgb, var(--pokeslots-accent-start) 88%, #000) 48%,
      color-mix(in srgb, var(--pokeslots-accent-end) 90%, #000) 100%
    );
  box-shadow:
    var(--xds-shadow-mini),
    0 10px 18px color-mix(in srgb, var(--pokeslots-accent-mid) 18%, transparent);
}

.pokeslots-modal .pokeslots-spin-button.btn-primary:hover,
.pokeslots-modal .pokeslots-spin-button.btn-primary:focus-visible {
  border-color: color-mix(in srgb, var(--pokeslots-accent-end) 42%, transparent);
  box-shadow:
    var(--xds-shadow-mini),
    0 12px 20px color-mix(in srgb, var(--pokeslots-accent-mid) 24%, transparent);
}

.pokeslots-wallet-badge,
.pokeslots-pending-gain,
.pokeslots-reward-preview__sprite,
.pokeslots-result-item__sprite {
  border-color: color-mix(in srgb, var(--pokeslots-accent-end) 18%, var(--xds-border));
}

.pokeslots-wallet-badge {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--pokeslots-accent-end) 32%, #ffffff 8%);
  background:
    radial-gradient(circle at 22% 18%, color-mix(in srgb, #ffffff 26%, transparent) 0%, transparent 46%),
    linear-gradient(
      138deg,
      color-mix(in srgb, var(--my-dark-bg-subtle-solid) 84%, var(--pokeslots-accent-mid)) 0%,
      color-mix(in srgb, var(--my-dark-bg-subtle-solid) 76%, var(--pokeslots-accent-start)) 52%,
      color-mix(in srgb, var(--my-dark-bg-subtle-solid) 84%, var(--pokeslots-accent-end)) 100%
    );
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.9rem !important;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 18%, transparent),
    inset 0 -1px 0 color-mix(in srgb, #000000 22%, transparent),
    0 8px 16px color-mix(in srgb, var(--pokeslots-accent-end) 20%, transparent),
    0 2px 5px color-mix(in srgb, #000000 18%, transparent);
  overflow: hidden;
}

.pokeslots-wallet-badge::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, #ffffff 9%, transparent);
  pointer-events: none;
}

.pokeslots-wallet-badge .dreamticket-badge__content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.pokeslots-wallet-badge .dreamticket-refill-inline {
  opacity: 0.95;
  font-weight: 800;
  color: color-mix(in srgb, #ffffff 78%, var(--bs-secondary-color) 22%);
}

.pokeslots-wallet-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  line-height: 1;
}

.pokeslots-wallet-balance > span {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.pokeslots-wallet-badge .dreamticket-hourglass-icon {
  animation: pokeslots-hourglass-rotation 3.8s ease-in-out infinite;
}

.pokeslots-reward-preview__sprite img,
.pokeslots-result-item__sprite img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.pokeslots-spin-info {
  letter-spacing: 0.04em;
  min-height: 1.5rem;
}

.pokeslots-spin-button {
  min-width: 180px;
  min-height: 48px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pokeslots-machine-feedback {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: auto;
  max-width: min(calc(100% - 2rem), 450px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  transform: translate(-50%, -50%);
  will-change: opacity;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.pokeslots-machine-feedback.is-visible {
  opacity: 1;
}

.pokeslots-result-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

.pokeslots-result-banner__image {
  display: block;
  width: auto;
  max-height: 250px;
  max-width: 150%;
  object-fit: contain;
  position: static;
  margin-inline: auto;
  transform: none;
}

.pokeslots-pending-gain {
  margin-top: 0;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  background-color: color-mix(in srgb, var(--my-dark-bg-subtle-solid) 88%, transparent);
  backdrop-filter: blur(8px);
}

.casino-frame-wrapper.is-feedback-visible .pokeslots-machine-stage .pokeslots-machine {
  opacity: 0.3;
  filter: blur(1px) brightness(0.55) saturate(0.72);
  transition: opacity 0.24s ease, filter 0.24s ease;
}

.casino-frame-wrapper .pokeslots-machine-stage .pokeslots-machine {
  transition: opacity 0.24s ease, filter 0.24s ease;
}

.pokeslots-history-entry {
  background: transparent;
}

.pokeslots-reward-preview__sprite,
.pokeslots-result-item__sprite {
  width: 44px;
  height: 44px;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pokeslots-result-item {
  width: 100%;
}

.pokeslots-result-item__sprite-image {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.pokeslots-result-item__quantity {
  position: absolute;
  right: -0.1rem;
  bottom: -0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  height: 1rem;
  padding-inline: 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.pokeslots-history-entry {
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.pokeslots-history-entry:last-child {
  border-bottom: 0;
}

.pokeslots-history-entry__rewards {
  margin-top: 0.2rem;
  padding-left: 0.65rem;
}

.pokeslots-history-entry__reward-line + .pokeslots-history-entry__reward-line {
  margin-top: 0.12rem;
}

.pokeslots-history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.15rem;
}

@keyframes pokeslots-hourglass-rotation {
  0% {
    transform: rotate(-180deg);
  }
  34% {
    transform: rotate(-180deg);
  }
  52% {
    transform: rotate(180deg);
  }
  86% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(-180deg);
  }
}

[data-bs-theme="dark"] .pokeslots-reel::before {
  background: linear-gradient(180deg, var(--my-dark-bg-subtle-solid), transparent);
}

[data-bs-theme="dark"] .pokeslots-reel::after {
  background: linear-gradient(0deg, var(--my-dark-bg-subtle-solid), transparent);
}

[data-bs-theme="dark"] .pokeslots-symbol.is-winning::before {
  background: color-mix(in srgb, var(--my-dark-bg-subtle-solid) 84%, var(--pokeslots-accent-mid));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pokeslots-accent-end) 24%, transparent),
    0 10px 20px color-mix(in srgb, var(--pokeslots-accent-mid) 18%, transparent);
}

[data-bs-theme="dark"] .pokeslots-symbol.is-winning-overlap::before {
  background: color-mix(in srgb, var(--my-dark-bg-subtle-solid) 78%, var(--pokeslots-accent-mid));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--pokeslots-accent-end) 30%, transparent),
    0 12px 22px color-mix(in srgb, var(--pokeslots-accent-mid) 22%, transparent);
}

[data-bs-theme="dark"] .pokeslots-symbol.is-winning img {
  filter:
    drop-shadow(0 0 10px color-mix(in srgb, var(--pokeslots-accent-end) 36%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--pokeslots-accent-mid) 26%, transparent));
}

[data-bs-theme="dark"] .pokeslots-symbol.is-winning-overlap img {
  filter:
    drop-shadow(0 0 12px color-mix(in srgb, var(--pokeslots-accent-end) 42%, transparent))
    drop-shadow(0 0 18px color-mix(in srgb, var(--pokeslots-accent-mid) 32%, transparent));
}

@media (max-width: 767.98px) {
  .pokeslots-machine-panel {
    background-size: auto 100%;
    background-position: center center;
    background-attachment: scroll;
  }

  .pokeslots-machine-feedback {
    top: 50%;
    width: min(calc(100% - 1.5rem), 360px);
  }

  .pokeslots-result-banner__image {
    max-height: 120px;
  }

  .pokeslots-main {
    --bs-gutter-y: 0.85rem;
  }

  .pokeslots-actions {
    align-items: stretch;
  }

  .pokeslots-actions__primary {
    min-width: 0;
  }

  .pokeslots-wallet-badge-slot--desktop {
    display: none;
  }

  .pokeslots-actions__wallet-slot {
    width: auto;
  }

  .pokeslots-actions__wallet-slot .pokeslots-wallet-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    max-width: none;
    margin-bottom: 0;
    padding: 0.55rem 0.95rem !important;
    font-size: 0.9rem;
    border-radius: 999px !important;
    white-space: nowrap;
  }

  .pokeslots-actions__wallet-slot .dreamticket-badge__content {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    line-height: 1;
  }

  .pokeslots-actions__wallet-slot .dreamticket-refill-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    font-size: 0.68rem;
    gap: 0.3rem;
    opacity: 0.9;
    line-height: 1;
  }

  .pokeslots-actions__wallet-slot .pokeslots-wallet-balance {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    gap: 0.3rem;
    line-height: 1;
  }

  .pokeslots-actions__wallet-slot .dreamticket-inline-icon {
    width: 16px;
    height: 16px;
    display: block;
    margin: 0;
  }

  .pokeslots-spin-button {
    min-height: 2.75rem;
    padding-inline: 0.9rem !important;
    width: 100%;
  }

  .pokeslots-rewards-stack {
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  .pokeslots-modal {
    --casino-frame-width: 100%;
    --casino-frame-padding: 0.35rem;
    --casino-frame-radius: 28px;
    --casino-bulb-size: 7px;
    --casino-bulb-track-offset: 0px;
    --casino-bulb-guide-inset: 0px;
    --casino-bulb-spacing-factor: 3.8;
    --casino-bulb-spacing-min: 28px;
    --casino-bulb-spacing-max: 40px;
    --casino-bulb-min-count: 12;
    --casino-bulb-corner-boost: 0px;
    --casino-bulb-start-offset: 0.35;
    --casino-neon-pink-inset: 10px;
    --casino-neon-cyan-inset: 18px;
    --casino-neon-pink-radius: 22px;
    --casino-neon-cyan-radius: 18px;
  }

  .pokedex-pokeslots-modal__header {
    padding-top: 0.9rem;
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .pokeslots-modal .pokedex-pokeslots-modal__seven {
    top: -60px;
    left: -60px;
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.14));
  }

  .pokeslots-header-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy close";
    align-items: start !important;
    column-gap: 0.55rem;
    row-gap: 0.4rem;
    width: 100%;
    padding-top: 0.15rem;
  }

  .pokeslots-header-copy {
    grid-area: copy;
    padding-left: 4.35rem;
    padding-right: 0.35rem;
  }

  .pokeslots-header-copy .modal-title {
    font-size: clamp(1.45rem, 6.8vw, 1.95rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
  }

  .pokeslots-header-copy p {
    max-width: 13rem;
    font-size: 0.8rem;
    line-height: 1.2;
    margin-top: 0.1rem;
  }

  .pokeslots-wallet-badge {
    font-size: 0.78rem;
    padding: 0.38rem 0.72rem !important;
    max-width: none;
    white-space: nowrap;
  }

  .pokeslots-wallet-badge .dreamticket-badge__content {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.3rem;
    line-height: 1;
  }

  .pokeslots-wallet-badge .dreamticket-refill-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    gap: 0.22rem;
    font-size: 0.58rem;
    line-height: 1;
    opacity: 0.82;
  }

  .pokeslots-wallet-badge .dreamticket-hourglass-icon {
    width: 10px;
    height: 10px;
  }

  .pokeslots-wallet-badge .pokeslots-wallet-balance {
    gap: 0.24rem;
    line-height: 1;
  }

  .pokeslots-wallet-badge .pokeslots-wallet-balance > span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
  }

  .pokeslots-wallet-badge .dreamticket-inline-icon {
    width: 15px;
    height: 15px;
    display: block;
    margin: 0;
  }

  .pokeslots-header-layout > .btn-close {
    grid-area: close;
    justify-self: end;
    margin-top: 0.05rem;
    margin-right: 0;
  }

  .pokeslots-actions {
    flex-wrap: nowrap;
  }

  .pokeslots-machine {
    gap: 0.55rem;
    width: 100%;
    --pokeslots-cell-size: 62px;
  }

  .pokeslots-reel {
    height: calc(var(--pokeslots-cell-size) * 3);
  }

  .pokeslots-symbol img,
  .pokeslots-reward-preview__sprite img,
  .pokeslots-result-item__sprite img {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .casino-frame-wrapper::before,
  .casino-frame-wrapper::after,
  .bulb {
    animation: none !important;
  }

  .pokeslots-machine-stage {
    animation: none !important;
  }

  .pokeslots-reel-track {
    transition: none !important;
  }

  .pokeslots-machine-feedback {
    transition: opacity 0.01s linear;
    transform: translate(-50%, -50%);
  }

  .pokeslots-machine-feedback.is-visible {
    transform: translate(-50%, -50%);
  }
}
