:root {
  --app-viewport-width: 100vw;
  --app-viewport-height: 100svh;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #090a0d;
  color: #f5fbff;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.browser-scroll-handoff {
  display: none;
}

html.browser-scroll-enabled {
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
}

html.browser-scroll-enabled::-webkit-scrollbar {
  display: none;
}

html.browser-scroll-enabled body {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  overflow: visible;
  overscroll-behavior-y: auto;
}

html.browser-scroll-enabled .app-shell {
  position: sticky;
  top: 0;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
}

html.browser-scroll-enabled .browser-scroll-handoff {
  display: block;
  width: 1px;
  height: 128px;
  pointer-events: none;
}

body {
  position: fixed;
  inset: 0;
  width: var(--app-viewport-width, 100vw);
  height: var(--app-viewport-height, 100svh);
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(86, 255, 122, 0.13), transparent 30%),
    linear-gradient(180deg, #11131a 0%, #050609 100%);
}

button {
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: wait;
}

.company-splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

.company-splash-content {
  position: relative;
  width: min(58vmin, 560px);
  aspect-ratio: 1;
}

.company-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.company-splash-logo-stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, -86vh, 0) scale(0.94, 1.06) rotate(-1.2deg);
  transform-origin: 50% 59%;
  will-change: opacity, transform;
}

.company-splash-logo {
  display: block;
  width: 100%;
  height: auto;
}

.company-splash.is-playing .company-splash-logo-stage {
  animation: companySplashDrop 1050ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.company-splash-logo-closed {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.company-splash.is-playing .company-splash-logo-closed {
  animation: companySplashBlink 3400ms ease-in-out 1400ms infinite;
}

.company-splash-progress {
  position: absolute;
  left: 27%;
  top: 82%;
  width: 46%;
  height: clamp(12px, 1.6vmin, 17px);
  opacity: 0;
  transform: translateY(12px) scaleX(0.9);
  transform-origin: center;
}

.company-splash.is-playing .company-splash-progress {
  animation: companySplashProgressReveal 320ms ease-out 720ms both;
}

.company-splash-progress-rail {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  padding: clamp(2px, 0.3vmin, 3px);
  border: clamp(2px, 0.32vmin, 3px) solid #fff;
  border-radius: 999px;
  background: #050505;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 5px 16px rgba(0, 0, 0, 0.72);
}

.company-splash-progress-rail > span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #78a91c 0%, #b5db4d 52%, #d9f17d 76%, #a8d133 100%);
  box-shadow:
    0 0 8px rgba(185, 225, 75, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition: width 140ms linear;
}

.company-splash.is-loaded .company-splash-progress-rail > span {
  box-shadow:
    0 0 14px rgba(202, 244, 87, 0.94),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

@keyframes companySplashDrop {
  0% {
    opacity: 1;
    transform: translate3d(0, -86vh, 0) scale(0.94, 1.06) rotate(-1.2deg);
  }

  52% {
    opacity: 1;
    transform: translate3d(0, 2.4%, 0) scale(1.06, 0.9) rotate(0.6deg);
  }

  68% {
    transform: translate3d(0, -4.5%, 0) scale(0.982, 1.04) rotate(-0.3deg);
  }

  82% {
    transform: translate3d(0, 1.1%, 0) scale(1.026, 0.976) rotate(0.14deg);
  }

  92% {
    transform: translate3d(0, -0.8%, 0) scale(0.996, 1.008) rotate(-0.05deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes companySplashBlink {
  0%,
  4%,
  12%,
  18%,
  26%,
  32%,
  40%,
  46%,
  54%,
  100% {
    opacity: 0;
  }

  7%,
  9%,
  21%,
  23%,
  35%,
  37%,
  49%,
  51% {
    opacity: 1;
  }
}

@keyframes companySplashProgressReveal {
  from {
    opacity: 0;
    transform: translateY(12px) scaleX(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleX(1);
  }
}

.app-shell {
  position: relative;
  display: block;
  width: var(--app-viewport-width, 100vw);
  height: var(--app-viewport-height, 100svh);
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #050609;
  isolation: isolate;
}

.app-shell::before,
.app-shell::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 160ms ease;
}

.app-shell::before {
  background-image: url("../assets/background-landscape-v01.png");
}

.app-shell::after {
  background-image: url("../assets/background.png");
}

.app-shell > * {
  position: relative;
}

.slot-stage {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: var(--stage-design-width, 1920px);
  height: var(--stage-design-height, 1080px);
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  container-type: size;
  isolation: isolate;
  transform: translate3d(var(--stage-x, 0px), var(--stage-y, 0px), 0) scale(var(--stage-scale, 1));
  transform-origin: 0 0;
}

.scene-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.entry-loader {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #050609;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 240ms ease,
    visibility 240ms ease;
}

.entry-loader::before,
.entry-loader::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.entry-loader::before {
  inset: -8px;
  z-index: 0;
  background: url("../assets/background-landscape-v01.png") center / cover no-repeat;
  filter: blur(2px);
  transform: scale(1.01);
}

.entry-loader::after {
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(3, 9, 20, 0.1), rgba(6, 10, 24, 0.16));
}

.entry-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.entry-loader-panel {
  position: absolute;
  left: var(--stage-x, 0px);
  top: var(--stage-y, 0px);
  z-index: 1;
  display: block;
  width: var(--stage-design-width, 1920px);
  height: var(--stage-design-height, 1080px);
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  transform: scale(var(--stage-scale, 1));
  transform-origin: top left;
}

.entry-loader-logo {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.82));
}

.entry-loader-character,
.entry-loader-promo {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.entry-loader-character {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.36));
}

.entry-loader-promo {
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
}

.entry-loader-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.entry-loader-copy span {
  color: #9aff84;
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 1000;
  line-height: 1;
}

.entry-loader-copy strong {
  color: #fff3a8;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 1000;
  line-height: 0.94;
  text-shadow:
    0 3px 0 rgba(86, 28, 0, 0.72),
    0 0 18px rgba(255, 221, 64, 0.38);
}

.entry-loader.is-ready .entry-loader-copy strong {
  color: #bfff5e;
}

.entry-loader.is-error .entry-loader-copy strong {
  color: #ff7d7d;
}

.entry-loader.is-error .entry-loader-copy {
  left: 50%;
  top: 50%;
  display: grid;
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  transform: translate(-50%, -50%);
}

.entry-confirm-btn {
  position: absolute;
  aspect-ratio: 355 / 100;
  padding: 0;
  border: 0;
  background: url("../assets/ui/monster-lab-loading-confirm-button-v01.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  text-indent: -9999px;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.58));
  cursor: pointer;
}

.entry-confirm-btn:disabled {
  filter: saturate(0.65) brightness(0.8);
}

.entry-confirm-btn:focus-visible {
  outline: 0;
  filter:
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 12px rgba(184, 255, 111, 0.34));
}

.logo-zone,
.reel-frame,
.line-info,
.performance-win,
.meter,
.utility-btn,
.round-btn,
.spin-btn {
  position: absolute;
  z-index: 3;
}

.logo-zone {
  left: 40.4%;
  top: 0.7%;
  width: 19.2%;
  height: 7%;
  display: grid;
  place-items: center;
  overflow: visible;
  pointer-events: none;
}

.logo-zone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.86);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.86));
}

.utility-btn,
.round-btn,
.spin-btn {
  display: grid;
  place-items: center;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 999px;
}

.utility-btn,
.round-btn {
  overflow: hidden;
  border: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  text-decoration: none;
  transition: transform 120ms ease, opacity 120ms ease, filter 120ms ease, box-shadow 120ms ease;
}

.utility-btn::before,
.round-btn::before {
  content: none;
}

.utility-btn:active,
.round-btn:active {
  transform: scale(0.95);
}

.utility-btn .icon,
.round-btn .icon {
  display: block;
  color: transparent;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  opacity: 0;
}

.utility-btn .label,
.round-btn .label {
  display: block;
  color: #b0a8c5;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  margin-top: -2px;
  text-transform: uppercase;
}

.minus-btn .icon,
.plus-btn .icon {
  color: #d1cae5;
  font-size: 26px;
  font-weight: 1000;
  transform: scaleX(1.12);
}

.turbo-btn .icon {
  color: #4fc3f7;
  font-size: 22px;
  font-weight: 1000;
  transform: scaleX(1.12);
}

.auto-btn .icon {
  color: #ffb74d;
  font-size: 18px;
  font-weight: 1000;
  transform: scaleX(1.16);
}

.menu-btn .icon {
  color: #d1cae5;
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: -1px;
  transform: scaleX(1.12);
}

.utility-btn {
  width: 3.75%;
  aspect-ratio: 1;
  z-index: 6;
}

.menu-btn {
  left: 94.06%;
  top: 2.78%;
  width: 3.75%;
  aspect-ratio: 1;
  background-image: url("../../../shared/operation-ui/assets/slot-ui-menu.png");
}

.reel-frame {
  --frame-open-left: 3.42%;
  --frame-open-right: 3.34%;
  --frame-open-top: 10.48%;
  --frame-open-bottom: 5.18%;
  --visible-rows: 3;
  --reel-column-gap: calc(5 / 1200 * 100%);
  --reel-row-gap: 0px;
  left: 17.35%;
  top: 6.65%;
  width: 67.03%;
  height: auto;
  aspect-ratio: 1287 / 811;
  z-index: 2;
  overflow: visible;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.62));
  transform: translate(var(--reel-frame-offset-x), var(--reel-frame-offset-y)) scale(var(--reel-frame-scale));
  transform-origin: 50% 50%;
}

.reel-frame::before,
.reel-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.reel-frame::before {
  z-index: 1;
  left: var(--frame-open-left);
  top: var(--frame-open-top);
  right: var(--frame-open-right);
  bottom: var(--frame-open-bottom);
  background:
    radial-gradient(circle at 50% 50%, rgba(80, 255, 117, 0.06), transparent 62%),
    rgba(2, 4, 8, 0.72);
  box-shadow: inset 0 0 34px rgba(0, 0, 0, 0.72);
}

.slot-stage.is-feature-mode .reel-frame::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(114, 255, 84, 0.18), transparent 58%),
    rgba(8, 5, 23, 0.82);
  box-shadow:
    inset 0 0 44px rgba(119, 255, 83, 0.18),
    inset 0 0 34px rgba(0, 0, 0, 0.74);
}

.reel-frame::after {
  z-index: 7;
  background: url("../assets/ui/monster-lab-reel-frame-v01.png") center / 100% 100% no-repeat;
}

.reels {
  position: absolute;
  left: var(--frame-open-left);
  top: var(--frame-open-top);
  right: var(--frame-open-right);
  bottom: var(--frame-open-bottom);
  z-index: 2;
  display: block;
  overflow: hidden;
  background: transparent;
}

.reel-bed-grid,
.reel-overlay-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--reel-column-gap);
}

.reel-bed-grid {
  z-index: 1;
  pointer-events: none;
}

.reel-overlay-grid {
  z-index: 3;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  pointer-events: none;
}

.cell {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: visible;
  border-bottom: 0;
  background: transparent;
}

.cell::before,
.cell::after {
  position: absolute;
  content: "";
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.cell.is-active-wild::before {
  inset: 5%;
  border: 2px solid rgba(179, 255, 67, 0.78);
  border-radius: 18%;
  box-shadow:
    0 0 18px rgba(111, 255, 50, 0.58),
    inset 0 0 28px rgba(86, 255, 69, 0.22);
  opacity: 1;
  animation: activeWildPulse 760ms ease-in-out infinite alternate;
}

.cell.is-active-wild::after {
  inset: 17%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(162, 255, 63, 0.42), rgba(113, 40, 206, 0.3) 46%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 1;
  animation: activeWildCore 620ms ease-in-out infinite alternate;
}

.cell.is-mutating::before {
  inset: 13%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 245, 128, 0.72), rgba(164, 55, 255, 0.45) 48%, transparent 72%);
  opacity: 1;
  animation: mutationCharge 360ms ease-out forwards;
}

.cell.is-mutation-target::before {
  inset: 7%;
  border: 2px solid rgba(210, 255, 97, 0.72);
  border-radius: 18%;
  box-shadow:
    0 0 20px rgba(185, 255, 77, 0.45),
    inset 0 0 22px rgba(146, 65, 255, 0.24);
  opacity: 1;
  animation: mutationPop 620ms ease-out forwards;
}

.cell.win {
  background: transparent;
  box-shadow: none;
}

.cell.win::before {
  inset: 3.5%;
  border: 2px solid rgba(255, 235, 86, 0.92);
  border-radius: 12%;
  background: transparent;
  box-shadow:
    0 0 7px rgba(255, 246, 144, 0.92),
    0 0 17px rgba(228, 255, 72, 0.62),
    0 0 28px rgba(87, 255, 66, 0.28),
    inset 0 0 5px rgba(255, 245, 128, 0.16);
  opacity: 1;
  animation: winBorderPulse 720ms ease-in-out infinite alternate;
}

@keyframes winBorderPulse {
  from {
    opacity: 0.72;
    filter: brightness(0.96);
  }

  to {
    opacity: 1;
    filter: brightness(1.3);
  }
}

@keyframes activeWildPulse {
  from {
    transform: scale(0.96);
    filter: brightness(1);
  }

  to {
    transform: scale(1.04);
    filter: brightness(1.26);
  }
}

@keyframes activeWildCore {
  from {
    transform: scale(0.86) rotate(0deg);
  }

  to {
    transform: scale(1.16) rotate(8deg);
  }
}

@keyframes mutationCharge {
  0% {
    transform: scale(0.28);
    opacity: 0;
  }

  45% {
    opacity: 1;
  }

  100% {
    transform: scale(1.24);
    opacity: 0;
  }
}

@keyframes mutationPop {
  0% {
    transform: scale(0.82);
    opacity: 0;
  }

  26% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

.line-info {
  left: 27.34%;
  top: 80.56%;
  width: 45.31%;
  height: 3.06%;
  display: grid;
  place-items: center;
  z-index: 4;
  padding: 0 10px;
  border: 1px solid rgba(141, 255, 254, 0.72);
  background: rgba(5, 28, 36, 0.82);
  color: #b7fbff;
  font-size: 1.1cqw;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.slot-stage.is-feature-mode .line-info {
  border-color: rgba(187, 255, 94, 0.86);
  background: rgba(24, 10, 47, 0.88);
  color: #dfff95;
  box-shadow: 0 0 18px rgba(119, 255, 83, 0.2);
}

.performance-win {
  left: var(--frame-open-left);
  top: var(--frame-open-top);
  right: var(--frame-open-right);
  bottom: var(--frame-open-bottom);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 8;
  padding: 0 10px;
  background: none;
  color: #fff3a8;
  text-align: center;
  text-shadow:
    0 3px 0 rgba(86, 28, 0, 0.82),
    0 0 22px rgba(255, 221, 64, 0.56);
  box-shadow: none;
  opacity: 0;
  transform: scale(0.78);
  transform-origin: 50% 50%;
  transition:
    opacity 160ms ease,
    transform 180ms ease;
  pointer-events: none;
}

.performance-win::before {
  position: absolute;
  left: 50%;
  top: 53%;
  width: min(34%, 260px);
  height: min(24%, 92px);
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 54%, rgba(255, 244, 114, 0.2), rgba(83, 32, 7, 0.36) 44%, rgba(58, 20, 5, 0.12) 60%, transparent 100%);
  filter: blur(0.5px);
  transform: translate(-50%, -50%);
  z-index: 0;
}

.performance-win.is-visible {
  opacity: 1;
  transform: scale(1);
}

.performance-win .performance-title {
  display: block;
  font-size: 1.1cqw;
  font-weight: 900;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.performance-win .performance-value {
  display: block;
  margin-top: 4px;
  font-size: 3.8cqw;
  font-weight: 1000;
  line-height: 0.92;
  position: relative;
  z-index: 1;
}

.performance-value.is-bitmap-score {
  display: flex;
  width: 92%;
  height: 1em;
  align-items: flex-start;
  justify-content: center;
  margin-top: 0.05em;
  color: transparent;
  font-size: 9.2cqw;
  font-style: normal;
  text-shadow: none;
  white-space: nowrap;
}

.performance-value.is-bitmap-score.is-long-score {
  font-size: 7.4cqw;
}

.performance-value.is-bitmap-score.is-very-long-score {
  font-size: 5.8cqw;
}

.bitmap-font-cell {
  position: relative;
  display: block;
  flex-grow: 0;
  flex-shrink: 0;
  height: 1em;
  font-size: inherit;
  font-style: normal;
}

.bitmap-font-art {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  font-size: inherit;
  font-style: normal;
  pointer-events: none;
}

.feature-intro,
.feature-end {
  position: absolute;
  inset: 0;
  z-index: 14;
  display: grid;
  place-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(115, 255, 66, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(3, 5, 9, 0.5), rgba(2, 3, 8, 0.84));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  visibility: hidden;
}

.feature-intro.is-visible,
.feature-end.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.feature-panel {
  position: relative;
  display: block;
  width: min(86cqw, calc(84cqh * 1.7778), 1500px);
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: transparent url("../assets/ui/monster-lab-feature-panel-shared-v06.png") center / 100% 100% no-repeat;
  container-type: inline-size;
  filter: drop-shadow(0 2.2cqw 2.5cqw rgba(0, 0, 0, 0.78));
  isolation: isolate;
  color: #f6ffe9;
  font-synthesis: none;
  text-align: center;
}

.feature-panel > * {
  z-index: 2;
}

.feature-art {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0.65cqw 0.55cqw rgba(0, 0, 0, 0.68));
}

.feature-intro-title-art {
  left: 18%;
  top: 18.5%;
  width: 64%;
}

.feature-complete-title-art {
  left: 18%;
  top: 21.5%;
  width: 64%;
}

.feature-total-win-art {
  left: 29%;
  top: 38%;
  width: 42%;
}

.feature-spin-award {
  position: absolute;
  left: 22%;
  top: 49.5%;
  width: 56%;
  height: 26%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.4%;
}

.feature-bitmap-number {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  white-space: nowrap;
}

.feature-number-glyph {
  display: block;
  flex: 0 0 var(--glyph-width, 5.4cqw);
  width: var(--glyph-width, 5.4cqw);
  height: var(--glyph-height, 12cqw);
  background-image: url("../assets/fonts/monster-lab-feature-numbers-gold-v01.png");
  background-repeat: no-repeat;
  background-size: 1200% 100%;
  filter: drop-shadow(0 0.42cqw 0.32cqw rgba(0, 0, 0, 0.8));
}

.feature-bitmap-number.is-purple .feature-number-glyph {
  background-image: url("../assets/fonts/monster-lab-feature-numbers-purple-v01.png");
}

.feature-number-glyph.is-comma {
  flex-basis: calc(var(--glyph-width, 5.4cqw) * 0.58);
  width: calc(var(--glyph-width, 5.4cqw) * 0.58);
}

.feature-number-glyph.is-period {
  flex-basis: calc(var(--glyph-width, 5.4cqw) * 0.45);
  width: calc(var(--glyph-width, 5.4cqw) * 0.45);
}

.feature-spin-count {
  --glyph-width: 9.2cqw;
  --glyph-height: 19.5cqw;
  position: relative;
  flex: 0 0 auto;
  height: 19.5cqw;
}

.feature-free-spins-art {
  display: block;
  flex: 0 0 38%;
  width: 38%;
  height: auto;
  margin-bottom: 0.7cqw;
  object-fit: contain;
  filter: drop-shadow(0 0.55cqw 0.45cqw rgba(0, 0, 0, 0.72));
}

.feature-end-value {
  --glyph-width: 5.35cqw;
  --glyph-height: 12.2cqw;
  position: absolute;
  left: 9%;
  top: 50.5%;
  width: 82%;
  height: 12.2cqw;
}

.feature-end-value.is-long-value {
  --glyph-width: 6cqw;
  --glyph-height: 11.3cqw;
}

.feature-end-value.is-very-long-value {
  --glyph-width: 4.1cqw;
  --glyph-height: 10.4cqw;
}

.feature-action-btn {
  position: absolute;
  left: 29%;
  bottom: 8.8%;
  width: 42%;
  height: auto;
  aspect-ratio: 1818 / 522;
  min-width: 0;
  padding: 0 3.5%;
  display: grid;
  place-items: center;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  filter: drop-shadow(0 0.55cqw 0.55cqw rgba(0, 0, 0, 0.56));
  transition: transform 120ms ease, filter 120ms ease, opacity 120ms ease;
  -webkit-tap-highlight-color: transparent;
}

.feature-action-btn::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: transparent url("../assets/ui/monster-lab-feature-action-button-v02.png") center / 100% 100% no-repeat;
}

.feature-end-btn::before {
  filter: hue-rotate(155deg) saturate(1.28) brightness(0.92);
}

.feature-action-btn img {
  position: relative;
  z-index: 1;
  display: block;
  width: 82%;
  height: auto;
  max-height: 54%;
  object-fit: contain;
  pointer-events: none;
}

.feature-start-btn img {
  width: 86%;
}

.feature-action-btn:hover:not(:disabled) {
  filter:
    brightness(1.08)
    drop-shadow(0 0.55cqw 0.55cqw rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 0.6cqw rgba(122, 255, 16, 0.34));
}

.feature-action-btn:active:not(:disabled) {
  transform: scale(0.975);
}

.feature-action-btn:disabled {
  cursor: default;
  filter: grayscale(0.35) brightness(0.72) drop-shadow(0 0.55cqw 0.55cqw rgba(0, 0, 0, 0.56));
}

.feature-action-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.82);
  outline-offset: -0.25cqw;
}

.feature-countdown {
  position: absolute;
  right: 10.2%;
  bottom: 13.2%;
  display: grid;
  width: 3.4%;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(166, 255, 113, 0.48);
  border-radius: 50%;
  background: rgba(0, 10, 8, 0.68);
}

.feature-countdown .feature-bitmap-number {
  --glyph-width: 1.6cqw;
  --glyph-height: 2.35cqw;
  width: 100%;
  height: 100%;
  align-items: center;
}

.feature-countdown .feature-number-glyph {
  filter: drop-shadow(0 0.12cqw 0.1cqw rgba(0, 0, 0, 0.78));
}

.paytable-overlay {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: grid;
  place-items: stretch;
  padding: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(116, 255, 71, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(2, 4, 9, 0.42), rgba(2, 3, 8, 0.86));
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  visibility: hidden;
}

.paytable-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.paytable-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(5, 6, 13, 0.34);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.66);
}

.paytable-header {
  position: relative;
  display: grid;
  min-height: 92px;
  align-items: center;
  justify-items: center;
  padding: 20px 84px 8px;
  border-bottom: 0;
}

.paytable-header div {
  display: grid;
  gap: 2px;
  justify-items: center;
}

.paytable-header span {
  color: #9aff84;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
}

.paytable-header strong {
  color: #fff3a8;
  font-size: 56px;
  font-weight: 1000;
  line-height: 0.9;
  text-shadow:
    0 3px 0 rgba(86, 28, 0, 0.72),
    0 0 18px rgba(255, 221, 64, 0.36);
}

.paytable-close-btn {
  position: absolute;
  top: 24px;
  right: 36px;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 238, 132, 0.9);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff06b;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1;
}

.paytable-body {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 8.2cqw 46px;
  scrollbar-width: thin;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.paytable-scroll {
  display: grid;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
}

.paytable-section {
  display: grid;
  gap: 24px;
  min-height: min(520px, calc(100cqh - 120px));
  align-content: center;
}

.paytable-section h3 {
  margin: 0;
  color: #fff3a8;
  font-size: 46px;
  font-weight: 1000;
  line-height: 0.95;
  text-align: center;
  text-shadow:
    0 3px 0 rgba(86, 28, 0, 0.72),
    0 0 18px rgba(255, 221, 64, 0.36);
}

.paytable-feature-copy span,
.paytable-demo-notice span {
  color: #f2f5ff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.82);
}

.paytable-feature-copy strong,
.paytable-demo-notice strong {
  color: #ffffff;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1.1;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.48),
    0 0 14px rgba(0, 0, 0, 0.65);
}

.paytable-symbol-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 52px;
}

.paytable-symbol-item {
  display: grid;
  grid-template-columns: 128px minmax(76px, 0.7fr) minmax(84px, 0.45fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.paytable-symbol-art {
  display: grid;
  place-items: center;
}

.paytable-symbol-image {
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 12px rgba(0, 0, 0, 0.82))
    drop-shadow(0 0 12px rgba(255, 234, 94, 0.14));
}

.paytable-feature-copy,
.paytable-demo-notice {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.paytable-symbol-name {
  display: grid;
  gap: 5px;
}

.paytable-symbol-name strong {
  color: #fff7a8;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(86, 28, 0, 0.72),
    0 0 10px rgba(255, 221, 64, 0.28);
}

.paytable-symbol-name span {
  color: #f2f5ff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.82);
}

.paytable-payout-list {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.paytable-payout-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
}

.paytable-payout-line span {
  color: #ffffff;
  font-size: 20px;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.6),
    0 0 8px rgba(0, 0, 0, 0.7);
}

.paytable-payout-line strong {
  color: #ffc84f;
  font-size: 22px;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(75, 28, 0, 0.74),
    0 0 12px rgba(255, 177, 46, 0.3);
}

.paytable-feature-row {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  width: min(760px, 100%);
  margin: 0 auto;
}

.paytable-feature-row .paytable-symbol-image {
  width: 168px;
  height: 168px;
}

.paytable-large-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.paytable-large-stat {
  display: grid;
  gap: 8px;
}

.paytable-large-stat strong {
  color: #ffc84f;
  font-size: 34px;
  font-weight: 1000;
  line-height: 1;
  text-shadow:
    0 3px 0 rgba(75, 28, 0, 0.74),
    0 0 12px rgba(255, 177, 46, 0.3);
}

.paytable-large-stat span {
  color: #f2f5ff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.82);
}

.paytable-copy-block {
  display: grid;
  gap: 16px;
  width: min(780px, 100%);
  margin: 0 auto;
  text-align: center;
}

.paytable-copy-block p,
.paytable-demo-notice span {
  margin: 0;
  color: #ffffff;
  font-size: 23px;
  font-weight: 1000;
  line-height: 1.4;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.48),
    0 0 12px rgba(0, 0, 0, 0.72);
}

.paytable-demo-notice strong {
  color: #fff3a8;
  font-size: 27px;
  text-align: center;
}

.paytable-note {
  margin: 0;
  color: #f2f5ff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.82);
}

@media (max-width: 640px), (max-aspect-ratio: 3 / 4) {
  .paytable-header {
    min-height: 76px;
    padding: 16px 64px 8px;
  }

  .paytable-header strong {
    font-size: 34px;
  }

  .paytable-close-btn {
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .paytable-body {
    padding: 0 18px 42px;
  }

  .paytable-scroll {
    gap: 38px;
  }

  .paytable-section {
    min-height: auto;
    gap: 20px;
    align-content: start;
  }

  .paytable-section h3 {
    font-size: 34px;
  }

  .paytable-symbol-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .paytable-symbol-item {
    grid-template-columns: 112px minmax(68px, 0.7fr) minmax(80px, 0.45fr);
    gap: 12px;
  }

  .paytable-symbol-image {
    width: 112px;
    height: 112px;
  }

  .paytable-symbol-name strong {
    font-size: 19px;
  }

  .paytable-symbol-name span {
    font-size: 13px;
  }

  .paytable-payout-line {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .paytable-payout-line span,
  .paytable-payout-line strong {
    font-size: 19px;
  }

  .paytable-feature-row {
    grid-template-columns: 126px minmax(0, 1fr);
    gap: 18px;
  }

  .paytable-feature-row .paytable-symbol-image {
    width: 126px;
    height: 126px;
  }

  .paytable-feature-copy span,
  .paytable-demo-notice span {
    font-size: 17px;
  }

  .paytable-feature-copy strong {
    font-size: 22px;
  }

  .paytable-large-stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .paytable-large-stat strong {
    font-size: 28px;
  }

  .paytable-copy-block p,
  .paytable-demo-notice span {
    font-size: 19px;
  }

  .paytable-demo-notice strong {
    font-size: 22px;
  }
}

.meter {
  display: grid;
  grid-template-columns: minmax(24px, 24%) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  height: 7.22%;
  overflow: hidden;
  padding: 5px 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(12, 12, 22, 0.28);
  text-align: center;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 3px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

.meter::before {
  content: "";
  grid-row: 1 / 3;
  grid-column: 1;
  justify-self: center;
  width: auto;
  height: 72%;
  max-width: 34px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 238, 139, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 17%),
    radial-gradient(circle at 50% 55%, #ffd869 0 37%, #bf7d20 63%, #41250c 100%);
  box-shadow:
    inset 0 0 0 3px rgba(255, 247, 169, 0.2),
    0 0 14px rgba(255, 214, 78, 0.28);
}

.meter::after {
  content: none;
}

.meter-credits {
  left: 3.13%;
  top: 87.78%;
  width: 13.44%;
}

.meter-bet {
  left: 50%;
  top: 87.78%;
  width: 13.44%;
}

.meter-win {
  left: 29.84%;
  top: 87.78%;
  width: 12.5%;
}

.meter span {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: block;
  min-width: 0;
  color: #b0a8c5;
  font-size: 0.82cqw;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
}

.meter strong {
  position: relative;
  z-index: 2;
  grid-column: 2;
  display: block;
  overflow: hidden;
  max-width: 100%;
  color: #ffffff;
  font-size: 1.18cqw;
  font-weight: 1000;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-btn {
  width: 4.53%;
  aspect-ratio: 1;
  z-index: 6;
}

.minus-btn {
  display: none;
}

.plus-btn {
  left: 88.2%;
  top: 73.1%;
  width: 6.04%;
  background-image: url("../../../shared/operation-ui/assets/slot-ui-bet.png");
}

.turbo-btn {
  left: 88.2%;
  top: 60.6%;
  width: 6.04%;
  background-image: url("../../../shared/operation-ui/assets/slot-ui-turbo.png");
}

.spin-btn {
  left: 80.7%;
  top: 35.8%;
  width: 16.2%;
  aspect-ratio: 311 / 291;
  z-index: 7;
  overflow: visible;
  padding: 0;
  border: 0;
  background-image: none;
}

.auto-btn {
  left: 88.2%;
  top: 24.7%;
  width: 6.04%;
  background-image: url("../../../shared/operation-ui/assets/slot-ui-auto.png");
}

.spin-btn {
  color: transparent;
}

.spin-btn span {
  opacity: 0;
}

.spin-btn:focus,
.spin-btn:focus-visible {
  outline: 0;
}

.spin-btn:focus-visible .spin-btn-arrow {
  filter: brightness(1.08) saturate(1.06);
}

.spin-btn-base,
.spin-btn-arrow {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.spin-btn-base {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.spin-btn-arrow {
  left: 50%;
  top: 50%;
  width: 46.31%;
  height: 59.8%;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(0turn);
  transform-origin: 50% 50%;
  animation: spinButtonArrowIdle 8s linear infinite;
  animation-play-state: paused;
  will-change: transform;
}

.spin-btn:not(:disabled) .spin-btn-arrow {
  animation-play-state: running;
}

@keyframes spinButtonArrowIdle {
  to {
    transform: translate(-50%, -50%) rotate(1turn);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spin-btn-arrow {
    animation: none;
    transform: translate(-50%, -50%);
  }
}

.round-btn.is-active,
.utility-btn.is-active {
  border-color: #ffd700;
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.5),
    0 0 14px rgba(255, 215, 0, 0.24),
    inset 0 1px 3px rgba(255, 255, 255, 0.12);
}

.round-btn:disabled,
.utility-btn:disabled {
  filter: saturate(0.65) brightness(0.86);
}

.spin-btn:disabled {
  filter: none;
  opacity: 1;
}

.tune-panel {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 30;
  display: grid;
  width: min(390px, calc(100vw - 20px));
  max-height: calc(100vh - 20px);
  overflow: auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(141, 255, 254, 0.36);
  background: rgba(5, 10, 14, 0.92);
  color: #e8ffff;
  font-size: 12px;
  line-height: 1.2;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.58);
}

.tune-panel h2,
.tune-panel h3 {
  margin: 0;
  letter-spacing: 0;
}

.tune-panel h2 {
  font-size: 16px;
}

.tune-panel h3 {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(141, 255, 254, 0.18);
  color: #9aff84;
  font-size: 12px;
}

.tune-group {
  display: grid;
  gap: 7px;
}

.tune-row {
  display: grid;
  grid-template-columns: 82px minmax(112px, 1fr) 70px;
  align-items: center;
  gap: 8px;
}

.tune-row-select {
  grid-template-columns: 82px 1fr;
}

.tune-row span {
  color: #cde7ee;
  font-weight: 800;
}

.tune-panel input,
.tune-panel select,
.tune-panel textarea,
.tune-panel button {
  min-width: 0;
  border: 1px solid rgba(141, 255, 254, 0.28);
  background: rgba(0, 0, 0, 0.42);
  color: #f5fbff;
  font: inherit;
}

.tune-panel input[type="range"] {
  accent-color: #8dff8d;
}

.tune-panel input[type="number"],
.tune-panel select {
  height: 26px;
  padding: 2px 6px;
}

.tune-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.tune-actions button {
  height: 28px;
  padding: 0 6px;
  border-color: rgba(154, 255, 132, 0.36);
  background: rgba(13, 59, 37, 0.78);
  color: #eaffea;
}

.tune-output {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 8px;
  font-family: Consolas, "Courier New", monospace;
  white-space: pre;
}

html[data-stage-layout="landscape"] .app-shell::before {
  opacity: 1;
}

html[data-stage-layout="landscape"] .app-shell::after {
  opacity: 0;
}

html[data-stage-layout="landscape"] .slot-stage {
  --landscape-line-top: 82%;
  --landscape-hud-top: 89%;
  --landscape-control-top: 71.4%;
  --reel-frame-offset-x: 0px;
  --reel-frame-offset-y: 0px;
  --reel-frame-scale: 1;
  --right-control-small-size: 5.72%;
  --right-control-spin-size: 13%;
  --right-control-spin-top: 35.5%;
}

html[data-stage-layout="landscape"] .entry-loader {
  background: #050609;
}

html[data-stage-layout="landscape"] .entry-loader::before {
  background-image: url("../assets/background-landscape-v01.png");
}

html[data-stage-layout="landscape"] .entry-loader::after {
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.06), rgba(8, 12, 28, 0.12));
}

html[data-stage-layout="landscape"] .entry-loader-logo {
  left: 19.2%;
  top: 8.1%;
  width: 25.2%;
}

html[data-stage-layout="landscape"] .entry-loader-character {
  right: 1.2%;
  bottom: -1.2%;
  width: 39.6%;
}

html[data-stage-layout="landscape"] .entry-loader-promo {
  left: 10.3%;
  top: 31%;
  width: 44.2%;
}

html[data-stage-layout="landscape"] .entry-confirm-btn {
  left: 23.3%;
  top: 81.8%;
  width: 18.5%;
}

html[data-stage-layout="landscape"] .logo-zone {
  left: 1%;
  top: 4.9%;
  width: 15.6%;
  height: 13%;
}

html[data-stage-layout="landscape"] .logo-zone img {
  transform: scale(0.92);
}

html[data-stage-layout="landscape"] .reel-frame {
  left: calc(50% - 59.58cqh);
  top: 6.65%;
  width: 119.17cqh;
  height: auto;
  aspect-ratio: 1287 / 811;
}

html[data-stage-layout="landscape"] .line-info {
  left: 31%;
  top: var(--landscape-line-top);
  width: 38%;
  height: 4.2%;
  z-index: 5;
  border: 0;
  background: transparent;
  color: #f4f7ff;
  font-size: 1.06cqw;
  font-weight: 1000;
  box-shadow: none;
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.74),
    0 0 12px rgba(0, 0, 0, 0.86);
}

html[data-stage-layout="landscape"] .slot-stage.is-feature-mode .line-info {
  border-color: transparent;
  background: transparent;
  color: #dfff95;
  box-shadow: none;
}

html[data-stage-layout="landscape"] .performance-win .performance-title {
  font-size: 1.08cqw;
}

html[data-stage-layout="landscape"] .performance-win .performance-value {
  font-size: 4cqw;
}

html[data-stage-layout="landscape"] .performance-win .performance-value.is-bitmap-score {
  font-size: 9.2cqw;
}

html[data-stage-layout="landscape"] .performance-win .performance-value.is-bitmap-score.is-long-score {
  font-size: 7.4cqw;
}

html[data-stage-layout="landscape"] .performance-win .performance-value.is-bitmap-score.is-very-long-score {
  font-size: 5.8cqw;
}

html[data-stage-layout="landscape"] .meter {
  top: var(--landscape-hud-top);
  height: 5.2%;
  padding: 4px 8px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-stage-layout="landscape"] .meter-credits {
  left: 16.5%;
  width: 16.5%;
}

html[data-stage-layout="landscape"] .meter-bet {
  left: 68%;
  width: 15.5%;
}

html[data-stage-layout="landscape"] .meter-win {
  left: 42.5%;
  width: 15%;
}

html[data-stage-layout="landscape"] .meter span {
  color: #ffc84f;
  font-size: 0.78cqw;
}

html[data-stage-layout="landscape"] .meter strong {
  font-size: 1.1cqw;
}

html[data-stage-layout="landscape"] .round-btn,
html[data-stage-layout="landscape"] .utility-btn {
  width: var(--right-control-small-size);
}

html[data-stage-layout="landscape"] .minus-btn {
  display: none;
}

html[data-stage-layout="landscape"] .menu-btn {
  left: 88.2%;
  top: 7.4%;
}

html[data-stage-layout="landscape"] .plus-btn {
  left: 88.2%;
  top: var(--landscape-control-top);
}

html[data-stage-layout="landscape"] .turbo-btn {
  left: 88.2%;
  top: 57.8%;
}

html[data-stage-layout="landscape"] .spin-btn {
  left: 84.35%;
  top: var(--right-control-spin-top);
  width: var(--right-control-spin-size);
}

html[data-stage-layout="landscape"] .auto-btn {
  left: 88.2%;
  top: 23.6%;
}

html[data-stage-layout="portrait"] .app-shell::before {
  opacity: 0;
}

html[data-stage-layout="portrait"] .app-shell::after {
  opacity: 1;
}

html[data-stage-layout="portrait"] .slot-stage {
  width: var(--stage-design-width, 1080px);
  height: var(--stage-design-height, 1920px);
}

html[data-stage-layout="portrait"] .entry-loader {
  background: #050609;
}

html[data-stage-layout="portrait"] .entry-loader::before {
  background-image: url("../assets/background.png");
}

html[data-stage-layout="portrait"] .entry-loader::after {
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.06), rgba(8, 12, 28, 0.14));
}

html[data-stage-layout="portrait"] .entry-loader-logo {
  left: 3.1%;
  top: 14.7%;
  width: 44.3%;
}

html[data-stage-layout="portrait"] .entry-loader-character {
  right: 2.4%;
  top: 3.4%;
  width: 47.2%;
}

html[data-stage-layout="portrait"] .entry-loader-promo {
  left: 1.9%;
  top: 31.9%;
  width: 96.2%;
}

html[data-stage-layout="portrait"] .entry-confirm-btn {
  left: 25.5%;
  bottom: 13.9%;
  width: 49.1%;
}

html[data-stage-layout="portrait"] .utility-btn,
html[data-stage-layout="portrait"] .round-btn {
  width: 10.9%;
}

html[data-stage-layout="portrait"] .menu-btn {
  left: 4.45%;
  top: 83.05%;
  width: 10.9%;
}

html[data-stage-layout="portrait"] .logo-zone {
  left: 22.7%;
  top: 3.3%;
  width: 54.6%;
  height: 14.4%;
}

html[data-stage-layout="portrait"] .logo-zone img {
  transform: scale(0.94);
}

html[data-stage-layout="portrait"] .reel-frame {
  left: 0;
  top: 23.15%;
  width: 100%;
  height: auto;
  aspect-ratio: 1287 / 811;
}

html[data-stage-layout="portrait"] .line-info {
  left: 4.17%;
  top: 66.1%;
  width: 91.67%;
  height: 3.8%;
  border: 0;
  background: transparent;
  font-size: 2.4cqw;
  box-shadow: none;
}

html[data-stage-layout="portrait"] .performance-win .performance-title {
  font-size: 3cqw;
}

html[data-stage-layout="portrait"] .performance-win .performance-value {
  font-size: 9cqw;
}

html[data-stage-layout="portrait"] .performance-win .performance-value.is-bitmap-score {
  font-size: 18.5cqw;
}

html[data-stage-layout="portrait"] .performance-win .performance-value.is-bitmap-score.is-long-score {
  font-size: 14cqw;
}

html[data-stage-layout="portrait"] .performance-win .performance-value.is-bitmap-score.is-very-long-score {
  font-size: 10.5cqw;
}

html[data-stage-layout="portrait"] .meter {
  top: 73.55%;
  width: 31.7%;
  height: 4.2%;
  padding: 5px 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
    rgba(12, 12, 22, 0.28);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 3px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px) saturate(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

html[data-stage-layout="portrait"] .meter::before {
  height: 72%;
}

html[data-stage-layout="portrait"] .meter-credits {
  left: 1.35%;
}

html[data-stage-layout="portrait"] .meter-bet {
  left: 67.0%;
}

html[data-stage-layout="portrait"] .meter-win {
  left: 34.2%;
}

html[data-stage-layout="portrait"] .meter span {
  color: #b0a8c5;
  font-size: 2cqw;
}

html[data-stage-layout="portrait"] .meter strong {
  font-size: 3cqw;
}

html[data-stage-layout="portrait"] .turbo-btn {
  left: 20%;
  top: 83.05%;
  width: 10.9%;
}

html[data-stage-layout="portrait"] .minus-btn {
  display: none;
}

html[data-stage-layout="portrait"] .spin-btn {
  left: 35.6%;
  top: 78.45%;
  width: 28.8%;
}

html[data-stage-layout="portrait"] .plus-btn {
  left: 85.1%;
  top: 83.05%;
  width: 10.9%;
}

html[data-stage-layout="portrait"] .auto-btn {
  left: 68.9%;
  top: 83.05%;
  width: 10.9%;
}

html[data-scene-renderer="canvas"] .logo-zone img {
  visibility: hidden;
}

html[data-scene-renderer="canvas"] .reel-frame {
  filter: none;
  transform: none;
}

html[data-scene-renderer="canvas"] .reel-frame::before {
  display: none;
}

html[data-scene-renderer="canvas"] .line-info,
html[data-scene-renderer="canvas"] .meter span,
html[data-scene-renderer="canvas"] .meter strong {
  color: transparent;
  text-shadow: none;
}

html[data-scene-renderer="canvas"] .meter::before {
  display: none;
}

html[data-scene-renderer="canvas"] .meter {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-scene-renderer="canvas"] .utility-btn,
html[data-scene-renderer="canvas"] .round-btn,
html[data-scene-renderer="canvas"] .spin-btn,
html[data-scene-renderer="canvas"] .utility-btn:active,
html[data-scene-renderer="canvas"] .round-btn:active,
html[data-scene-renderer="canvas"] .spin-btn:active {
  border-color: transparent;
  background-color: transparent;
  background-image: none;
  box-shadow: none;
  filter: none;
  transform: none;
}
