:root {
  --black: #070405;
  --cabinet: #7d101d;
  --cabinet-dark: #30070d;
  --cabinet-red: #b71829;
  --gold: #ffc84d;
  --gold-hot: #fff1a6;
  --brass: #a76a1b;
  --ink: #fff6d7;
  --muted: #e8c992;
  --led: #ffef9a;
  --glass: #101420;
  --green: #48f06f;
  --teal: #16e0c7;
  --pink: #ff4e93;
  --blue: #5798ff;
  --red: #ff3d36;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  font-family:
    Impact, Haettenschweiler, "Arial Black", "Segoe UI Black", system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 200, 77, 0.28), transparent 20rem),
    linear-gradient(115deg, #12040a 0%, #2d0712 45%, #050304 100%);
  overflow: hidden;
  touch-action: manipulation;
}

button {
  color: inherit;
  font: inherit;
}

button:focus-visible {
  outline: 4px solid rgba(255, 239, 154, 0.95);
  outline-offset: 4px;
}

.app-shell {
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(4px, 0.8vw, 12px);
  overflow: hidden;
}

.slot-cabinet {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(72px, 12%) minmax(48px, 7%) minmax(0, 51%) minmax(80px, 14%) minmax(92px, 16%);
  border: clamp(8px, 1.2vw, 18px) solid #160608;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 10%, transparent 90%, rgba(255, 255, 255, 0.13)),
    linear-gradient(180deg, #b71829 0%, #760d19 47%, #420711 100%);
  box-shadow:
    var(--shadow),
    inset 0 0 0 4px rgba(255, 216, 91, 0.34),
    inset 0 0 52px rgba(0, 0, 0, 0.58);
  overflow: hidden;
  transform-origin: center;
}

.slot-cabinet::before,
.slot-cabinet::after {
  content: "";
  position: absolute;
  z-index: 18;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.slot-cabinet::before {
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.46) 44%, transparent 56% 100%),
    radial-gradient(circle at 50% 44%, rgba(255, 239, 154, 0.34), transparent 34%);
  mix-blend-mode: screen;
}

.slot-cabinet::after {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.58), transparent 18rem),
    linear-gradient(180deg, rgba(255, 61, 54, 0.24), rgba(255, 200, 77, 0.18));
  mix-blend-mode: screen;
}

.slot-cabinet.is-spinning-mode {
  animation: cabinetHum 0.16s linear infinite;
}

.slot-cabinet.is-win-flash::before {
  animation: cabinetSweep 0.8s ease-out both;
}

.slot-cabinet.is-big-win {
  animation: cabinetSlam 0.72s ease both;
}

.slot-cabinet.is-big-win::after {
  animation: cabinetBigFlash 1s ease-out both;
}

.slot-cabinet.is-mega-win {
  animation: cabinetMega 1.05s ease both;
}

.slot-cabinet.is-mega-win::before {
  animation: cabinetSweep 0.62s ease-out 2 both;
}

.slot-cabinet.is-mega-win::after {
  animation: cabinetBigFlash 1.2s ease-out both;
}

.slot-cabinet.is-near-miss {
  animation: nearMissBuzz 0.36s linear both;
}

.slot-cabinet.is-bonus-burst {
  animation: cabinetBonus 1.1s ease both;
}

.marquee {
  min-height: 0;
  display: grid;
  grid-template-rows: 12px minmax(0, 1fr);
  background: linear-gradient(180deg, #31050a, #7f101c);
}

.bulb-row {
  background:
    radial-gradient(circle, #fff7b5 0 31%, #ffbd30 32% 45%, transparent 47%) 0 50% / 44px 17px repeat-x,
    #220306;
  filter: drop-shadow(0 0 8px rgba(255, 206, 64, 0.68));
  animation: bulbChase 1.35s linear infinite;
}

.slot-cabinet.is-spinning-mode .bulb-row {
  animation-duration: 0.42s;
}

.slot-cabinet.is-win-flash .bulb-row,
.slot-cabinet.is-big-win .bulb-row,
.slot-cabinet.is-mega-win .bulb-row,
.slot-cabinet.is-bonus-burst .bulb-row {
  animation-duration: 0.18s;
  filter:
    drop-shadow(0 0 10px rgba(255, 246, 180, 0.95))
    drop-shadow(0 0 18px rgba(255, 61, 54, 0.72));
}

.marquee-face {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(4px, 0.8vw, 10px) clamp(72px, 7vw, 120px);
  border-bottom: 3px solid rgba(255, 200, 77, 0.7);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, #d42a2e, #7d101d);
}

.marquee-logo {
  position: relative;
  z-index: 1;
  display: block;
  height: clamp(44px, 7.5dvh, 72px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 10px rgba(255, 241, 166, 0.82))
    drop-shadow(0 0 22px rgba(255, 61, 54, 0.55));
  animation: signGlow 1.8s ease-in-out infinite;
}

.seven-medallion {
  width: min(100%, 110px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 5px solid var(--gold-hot);
  border-radius: 50%;
  color: #260407;
  background:
    radial-gradient(circle at 34% 22%, #fff8c5, transparent 24%),
    linear-gradient(145deg, #ffcf53, #b56e18);
  box-shadow:
    inset 0 -8px 0 rgba(0, 0, 0, 0.2),
    0 0 22px rgba(255, 216, 91, 0.72);
  font-size: clamp(40px, 5.2vw, 86px);
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.36);
}

.title-stack {
  min-width: 0;
  text-align: center;
  text-transform: uppercase;
}

.title-stack p {
  margin: 0 0 1px;
  color: var(--gold-hot);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(11px, 1.3vw, 18px);
  letter-spacing: 0;
  text-shadow: 0 2px 0 #3a0508;
}

.title-line {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(30px, 4vw, 68px) minmax(0, auto) clamp(30px, 4vw, 68px);
  gap: clamp(5px, 0.8vw, 14px);
  align-items: end;
  justify-content: center;
  transform: translateY(-8px);
}

.pinup-silhouette {
  position: relative;
  width: clamp(26px, 3.5vw, 56px);
  height: clamp(38px, 5.1vw, 82px);
  justify-self: center;
  align-self: end;
  filter:
    drop-shadow(0 0 6px rgba(255, 241, 166, 0.74))
    drop-shadow(0 0 14px rgba(255, 61, 54, 0.52));
  transform-origin: 50% 100%;
}

.pinup-left {
  transform: translateY(-4px) rotate(-5deg);
}

.pinup-right {
  transform: translateY(-4px) scaleX(-1) rotate(-5deg);
}

.pinup-silhouette span {
  position: absolute;
  display: block;
  background: #090405;
  box-shadow: inset 0 0 0 1px rgba(255, 216, 91, 0.1);
}

.pinup-head {
  left: 50%;
  top: 2%;
  width: 29%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
}

.pinup-head::after {
  content: "";
  position: absolute;
  left: 42%;
  top: 2%;
  width: 62%;
  height: 82%;
  border-radius: 52% 48% 44% 56%;
  background: #090405;
  transform: rotate(19deg);
}

.pinup-body {
  left: 50%;
  top: 22%;
  width: 36%;
  height: 43%;
  border-radius: 58% 42% 49% 51% / 32% 36% 64% 68%;
  transform: translateX(-50%) rotate(-8deg);
}

.pinup-body::before {
  content: "";
  position: absolute;
  left: -32%;
  top: 38%;
  width: 164%;
  height: 45%;
  border-radius: 50%;
  background: #090405;
}

.pinup-arm {
  left: 58%;
  top: 28%;
  width: 13%;
  height: 41%;
  border-radius: 999px;
  transform: rotate(-44deg);
  transform-origin: 50% 10%;
}

.pinup-leg {
  bottom: 0;
  width: 13%;
  height: 42%;
  border-radius: 999px;
  transform-origin: 50% 0;
}

.pinup-leg-back {
  left: 45%;
  transform: rotate(8deg);
}

.pinup-leg-front {
  left: 57%;
  transform: rotate(-20deg);
}

h1 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(34px, 5.1vw, 88px);
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 3px 0 #5b090d,
    0 0 14px rgba(255, 214, 78, 0.85),
    0 0 36px rgba(255, 75, 42, 0.62);
  white-space: nowrap;
  animation: signGlow 1.8s ease-in-out infinite;
}

.marquee-actions {
  position: absolute;
  right: clamp(10px, 1.6vw, 24px);
  top: 50%;
  z-index: 3;
  max-width: min(42vw, 390px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 0.8vw, 12px);
  transform: translateY(-50%);
}

.cash-out-button {
  min-width: clamp(116px, 10.2vw, 170px);
  height: clamp(42px, 4.1vw, 64px);
  border: 3px solid #3b080b;
  border-radius: 7px;
  color: #2a0507;
  background:
    radial-gradient(circle at 30% 22%, #fffbd2, transparent 25%),
    linear-gradient(180deg, #fff177, #e7a52c 52%, #9a5317);
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.25),
    0 7px 0 #3a070b,
    0 0 16px rgba(255, 200, 77, 0.48);
  cursor: pointer;
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(14px, 1.35vw, 23px);
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.cash-out-button::before {
  content: "$";
  margin-right: 0.28em;
  color: #7d101d;
}

.cash-out-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.45);
  opacity: 0.62;
}

.cash-out-button:not(:disabled):active,
.sound-button:not(:disabled):active {
  transform: translateY(4px);
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.25),
    0 3px 0 #3a070b;
}

.sound-button {
  flex: 0 0 auto;
  width: clamp(44px, 4.3vw, 68px);
  aspect-ratio: 1;
  border: 3px solid #3b080b;
  border-radius: 50%;
  color: #2a0507;
  background:
    radial-gradient(circle at 35% 24%, #fffbd2, transparent 26%),
    linear-gradient(180deg, #ffd968, #b97720);
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.22),
    0 7px 0 #3a070b;
  cursor: pointer;
  font-size: clamp(22px, 2.6vw, 38px);
}

.sound-button.is-muted {
  filter: saturate(0.25);
  opacity: 0.76;
}

.meter-bank {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 12px);
  padding: clamp(6px, 0.8vw, 12px) clamp(10px, 1.6vw, 24px);
  background:
    linear-gradient(180deg, #24060a, #130304),
    #160406;
  border-bottom: 3px solid rgba(255, 200, 77, 0.6);
}

.meter-window {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, 0.6vw, 10px);
  padding: clamp(5px, 0.7vw, 10px) clamp(8px, 1vw, 14px);
  border: 2px solid rgba(255, 200, 77, 0.76);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 44%),
    #05080c;
  box-shadow:
    inset 0 0 18px rgba(255, 40, 40, 0.18),
    0 0 10px rgba(255, 200, 77, 0.22);
}

.meter-window span {
  min-width: 0;
  color: var(--muted);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(11px, 1.05vw, 17px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.meter-window strong {
  min-width: 0;
  color: var(--led);
  font-family: "Courier New", monospace;
  font-size: clamp(20px, 2.25vw, 40px);
  line-height: 1;
  text-align: right;
  text-shadow: 0 0 13px rgba(255, 61, 54, 0.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-window strong {
  color: #ff4438;
  text-shadow: 0 0 14px rgba(255, 61, 54, 0.9);
  animation: jackpotBlink 1.1s steps(2, end) infinite;
}

.machine-panel {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(34px, 9%) minmax(0, 79%) minmax(38px, 12%);
  gap: clamp(4px, 0.65vw, 10px);
  padding: clamp(6px, 0.75vw, 12px) clamp(10px, 1.7vw, 24px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 50% 35%, rgba(255, 238, 164, 0.13), transparent 34%),
    linear-gradient(180deg, #78101a, #440911 60%, #1d0307);
  overflow: hidden;
}

.round-window {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(10px, 1.2vw, 18px);
  border: 2px solid rgba(255, 200, 77, 0.7);
  border-radius: 7px;
  color: var(--led);
  background: #07090e;
  box-shadow: inset 0 0 16px rgba(255, 200, 77, 0.16);
}

.round-window strong {
  min-width: 0;
  font-family: "Courier New", monospace;
  font-size: clamp(20px, 2vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.round-window span {
  color: var(--gold);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(13px, 1.35vw, 22px);
  line-height: 1;
  white-space: nowrap;
}

.reel-housing {
  position: relative;
  min-height: 0;
  padding: clamp(9px, 1vw, 16px);
  border: clamp(6px, 0.85vw, 13px) solid #171214;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 11%, transparent 89%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, #3c3d42 0%, #121215 15%, #050505 50%, #16171a 86%, #44454a 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    inset 0 0 0 6px rgba(0, 0, 0, 0.66),
    inset 0 0 42px rgba(0, 0, 0, 0.72),
    0 8px 18px rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.payline-glow {
  position: absolute;
  z-index: 1;
  left: 2%;
  right: 2%;
  top: 49.4%;
  height: clamp(7px, 0.75vw, 12px);
  border-radius: 999px;
  background: transparent;
  filter: none;
  opacity: 0;
  pointer-events: none;
}

.reel-stage {
  --score-line-pad: clamp(34px, 2.4vw, 48px);
  --score-line-size-offset: calc(var(--score-line-pad) * 2);
  position: relative;
  z-index: 2;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  padding: clamp(8px, 1vw, 14px) var(--score-line-pad);
  border: 2px solid #050505;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.08)),
    #050609;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 20px rgba(0, 0, 0, 0.7),
    0 2px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.reel-stage::after {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 3.5%, transparent 96.5%, rgba(0, 0, 0, 0.22)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 17%, transparent 83%, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.reel {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 2px solid #77797c;
  border-radius: 10px;
  background:
    linear-gradient(90deg, #8d8f8c 0%, #e1e1dc 6%, #fffdf4 26%, #ffffff 50%, #f4f1e7 78%, #888a88 100%),
    linear-gradient(180deg, #fffef7, #ece7d8);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.56),
    inset 9px 0 14px rgba(0, 0, 0, 0.22),
    inset -9px 0 16px rgba(0, 0, 0, 0.27),
    inset 0 12px 16px rgba(0, 0, 0, 0.14),
    inset 0 -14px 18px rgba(0, 0, 0, 0.18),
    0 0 0 2px rgba(0, 0, 0, 0.76);
}

.reel.is-held {
  outline: 4px solid var(--teal);
  outline-offset: -5px;
}

.reel::before,
.reel::after {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  height: 15%;
  pointer-events: none;
}

.reel::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent);
}

.reel::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.36), transparent);
}

.reel-strip {
  height: 100%;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  transform: translateY(0);
}

.reel.is-spinning .reel-strip {
  animation: reelSpin 0.075s linear infinite;
  filter: blur(2px) saturate(1.25);
}

.reel.is-stopping {
  animation: reelStopSlam 0.28s cubic-bezier(0.12, 1.4, 0.35, 1) both;
}

.reel.is-winning {
  box-shadow:
    inset 0 15px 26px rgba(0, 0, 0, 0.2),
    inset 0 -16px 28px rgba(0, 0, 0, 0.2),
    0 0 26px rgba(255, 200, 77, 0.92);
}

.symbol {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(4px, 0.55vw, 9px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.11);
  color: #170608;
  overflow: hidden;
}

.symbol-card {
  width: min(58%, 88px);
  aspect-ratio: 1;
  display: grid;
  place-items: stretch;
  border: 0;
  border-radius: 8px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45))
    drop-shadow(0 5px 4px rgba(0, 0, 0, 0.18));
}

.symbol-card svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.imby-symbol {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.16), transparent 24%),
    #030303;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.18),
    inset 0 -8px 0 rgba(255, 255, 255, 0.06),
    0 3px 0 rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.imby-symbol img {
  width: 82%;
  height: 82%;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.16));
  user-select: none;
  -webkit-user-drag: none;
}

.symbol-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: clamp(24px, 3.5vw, 56px);
  font-weight: 1000;
  color: var(--ink);
}

.symbol-card.is-winning-symbol {
  animation: symbolJackpot 0.72s ease-in-out 3 both;
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.38),
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 38px rgba(255, 200, 77, 0.92);
}

.score-lines {
  position: absolute;
  z-index: 10;
  left: var(--score-line-pad);
  top: var(--score-line-pad);
  width: calc(100% - var(--score-line-size-offset));
  height: calc(100% - var(--score-line-size-offset));
  overflow: visible;
  pointer-events: none;
}

.score-track,
.score-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.score-track {
  stroke: rgba(0, 0, 0, 0.7);
  stroke-width: 7px;
  opacity: 0;
}

.score-line {
  stroke: var(--line-color);
  stroke-width: 3.4px;
  opacity: 0;
  filter:
    drop-shadow(0 0 2px rgba(0, 0, 0, 0.94))
    drop-shadow(0 0 7px var(--line-glow));
}

.score-line-top {
  --line-color: #26e7ff;
  --line-glow: rgba(38, 231, 255, 0.9);
}

.score-line-middle {
  --line-color: #ffd84b;
  --line-glow: rgba(255, 216, 75, 0.88);
}

.score-line-bottom {
  --line-color: #ff4a93;
  --line-glow: rgba(255, 74, 147, 0.88);
}

.score-line-downhill {
  --line-color: #84ff4b;
  --line-glow: rgba(132, 255, 75, 0.86);
}

.score-line-uphill {
  --line-color: #ff8f35;
  --line-glow: rgba(255, 143, 53, 0.88);
}

.score-line.is-winning-line {
  opacity: 1;
  stroke-width: 5px;
  animation: scoreLineWin 0.56s ease-in-out 4 both;
}

.line-chip {
  --line-color: #ffd84b;
  --line-ink: #170608;
  position: absolute;
  z-index: 11;
  width: clamp(30px, 2.35vw, 42px);
  height: clamp(20px, 1.55vw, 28px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 216, 91, 0.66);
  border-radius: 5px;
  color: #fff1a6;
  background:
    linear-gradient(90deg, var(--line-color) 0 5px, transparent 5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 45%),
    #090b0d;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.7),
    0 1px 0 rgba(0, 0, 0, 0.86),
    0 0 7px rgba(0, 0, 0, 0.72);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(9px, 0.82vw, 12px);
  line-height: 1;
  text-shadow: 0 1px 0 #000;
  opacity: 0.94;
  pointer-events: none;
  transform: translateY(-50%);
}

.line-chip-left {
  left: clamp(5px, 0.55vw, 10px);
  padding-left: 5px;
}

.line-chip-right {
  right: clamp(5px, 0.55vw, 10px);
  padding-left: 5px;
}

.line-chip-top {
  top: 20%;
}

.line-chip-middle {
  top: 50%;
}

.line-chip-bottom {
  top: 80%;
}

.line-chip[data-line="top"] {
  --line-color: #26e7ff;
  --line-glow: rgba(38, 231, 255, 0.9);
  --line-ink: #031b22;
}

.line-chip[data-line="middle"] {
  --line-color: #ffd84b;
  --line-glow: rgba(255, 216, 75, 0.88);
}

.line-chip[data-line="bottom"] {
  --line-color: #ff4a93;
  --line-glow: rgba(255, 74, 147, 0.88);
  --line-ink: #25020d;
}

.line-chip[data-line="downhill"] {
  --line-color: #84ff4b;
  --line-glow: rgba(132, 255, 75, 0.86);
  --line-ink: #071c04;
}

.line-chip[data-line="uphill"] {
  --line-color: #ff8f35;
  --line-glow: rgba(255, 143, 53, 0.88);
  --line-ink: #230b02;
}

.line-chip.is-winning-line {
  animation: chipLineWin 0.56s ease-in-out 4 both;
  color: #160307;
  background:
    linear-gradient(90deg, var(--line-color) 0 5px, transparent 5px),
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.58), transparent 28%),
    var(--line-color);
  border-color: rgba(255, 245, 183, 0.95);
  text-shadow: none;
}

.payline-marker {
  position: absolute;
  z-index: 9;
  left: clamp(10px, 1vw, 18px);
  right: clamp(10px, 1vw, 18px);
  height: 2px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.32);
  display: none;
  pointer-events: none;
}

.payline-top {
  display: none;
}

.payline-middle {
  top: 50%;
  height: clamp(2px, 0.24vw, 4px);
  transform: translateY(-50%);
  background: rgba(7, 7, 7, 0.84);
  box-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.2),
    0 1px 0 rgba(0, 0, 0, 0.56);
  animation: none;
}

.payline-bottom {
  display: none;
}

.reel-tools {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(5px, 0.7vw, 12px);
}

.hold-button {
  min-height: 0;
  height: 100%;
  border: 2px solid #2c0508;
  border-radius: 7px;
  color: #2b0708;
  background:
    radial-gradient(circle at 35% 26%, #fff8bd, transparent 24%),
    linear-gradient(180deg, #ffc84d, #ad681b);
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.22),
    0 5px 0 #2c0508;
  cursor: pointer;
  font-size: clamp(12px, 1.3vw, 19px);
  font-weight: 1000;
  text-transform: uppercase;
}

.hold-button.is-held {
  color: #021210;
  background:
    radial-gradient(circle at 35% 26%, #dbfff7, transparent 24%),
    linear-gradient(180deg, #24f7d7, #07a98f);
}

.hold-button.is-wild-spent {
  color: #fff1a6;
  background:
    radial-gradient(circle at 35% 26%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(180deg, #5d1746, #220812);
}

.hold-button.is-hold-spent {
  color: #fff1a6;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #4a0c11, #120204);
}

.hold-button.is-wild-spent:disabled {
  filter: saturate(0.9);
  opacity: 0.88;
}

.hold-button.is-hold-spent:disabled {
  filter: saturate(0.95);
  opacity: 0.9;
}

.hold-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.55);
  opacity: 0.68;
}

.belly-glass {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(160px, 0.48fr) minmax(0, 1.36fr) minmax(220px, 0.78fr);
  gap: clamp(6px, 0.8vw, 12px);
  padding: clamp(7px, 0.9vw, 14px) clamp(10px, 1.7vw, 24px);
  border-top: 3px solid rgba(255, 200, 77, 0.72);
  border-bottom: 3px solid rgba(30, 4, 7, 0.95);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 12%, transparent 88%, rgba(255, 255, 255, 0.08)),
    linear-gradient(180deg, #4b0812, #210409);
}

.ticker-window,
.vibe-box,
.pay-strip,
.event-feed {
  min-height: 0;
  border: 2px solid rgba(255, 200, 77, 0.68);
  border-radius: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 45%),
    #080b10;
  box-shadow: inset 0 0 18px rgba(255, 200, 77, 0.12);
}

.ticker-window {
  display: grid;
  place-items: center;
  padding: clamp(6px, 0.9vw, 12px);
}

.ticker-window p {
  margin: 0;
  color: var(--led);
  font-family: "Courier New", monospace;
  font-size: clamp(14px, 1.65vw, 29px);
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 61, 54, 0.55);
}

.vibe-box {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(4px, 0.55vw, 8px);
  padding: clamp(6px, 0.8vw, 11px);
}

.vibe-copy {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.vibe-copy span,
.strip-heading span,
.strip-heading strong {
  color: var(--muted);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(11px, 1.05vw, 17px);
  line-height: 1;
  text-transform: uppercase;
}

.vibe-copy strong,
.strip-heading strong {
  color: var(--gold);
}

.meter-track {
  width: 100%;
  height: 100%;
  min-height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.48);
  border-radius: 999px;
  overflow: hidden;
  background: #1c1111;
}

.meter-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--pink), var(--red));
  box-shadow: 0 0 14px rgba(255, 200, 77, 0.6);
  transition: width 0.35s ease;
}

.slot-cabinet.is-spinning-mode .meter-fill,
.slot-cabinet.is-bonus-burst .meter-fill {
  animation: meterSurge 0.45s linear infinite;
}

.vibe-box p {
  margin: 0;
  color: var(--muted);
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(9px, 0.9vw, 14px);
  line-height: 1.05;
  text-transform: uppercase;
}

.pay-strip {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(4px, 0.5vw, 8px);
  padding: clamp(6px, 0.8vw, 11px);
}

.strip-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.paytable-grid {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 0.55vw, 8px);
}

.pay-item {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 200, 77, 0.32);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.pay-swatch {
  width: min(100%, 34px);
  aspect-ratio: 1;
  display: grid;
  place-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  background: #050507;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3);
}

.pay-swatch svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pay-swatch .imby-symbol {
  width: 100%;
  height: 100%;
}

.pay-copy strong,
.pay-copy span {
  display: block;
  min-width: 0;
  line-height: 1;
}

.pay-copy strong {
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(8px, 0.75vw, 12px);
}

.pay-copy span {
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: clamp(9px, 0.75vw, 13px);
  font-weight: 900;
}

.event-feed {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: clamp(6px, 0.8vw, 10px);
  overflow: hidden;
  list-style: none;
}

.event-feed li {
  min-width: 0;
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: clamp(10px, 0.9vw, 14px);
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.event-feed li.is-win {
  color: var(--led);
  text-shadow: 0 0 9px rgba(255, 200, 77, 0.58);
}

.control-deck {
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.62fr) minmax(0, 1.15fr);
  gap: clamp(8px, 1vw, 16px);
  align-items: stretch;
  padding: clamp(8px, 1vw, 15px) clamp(10px, 1.7vw, 24px) clamp(10px, 1.3vw, 18px);
  background:
    linear-gradient(180deg, #2b0509, #110203),
    #180306;
  box-shadow: inset 0 18px 26px rgba(255, 255, 255, 0.05);
}

.control-deck::before {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.control-deck > * {
  position: relative;
  z-index: 1;
}

.bet-pad,
.feature-pad {
  min-height: 0;
  display: grid;
  gap: clamp(6px, 0.75vw, 12px);
}

.bet-pad {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-pad {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tap-button,
.feature-button,
.spin-button {
  min-width: 0;
  min-height: 0;
  border: 3px solid #2c0508;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  text-transform: uppercase;
}

.tap-button,
.feature-button {
  color: #260407;
  background:
    radial-gradient(circle at 35% 23%, #fff8c6, transparent 26%),
    linear-gradient(180deg, #ffd86b, #a65e18);
  box-shadow:
    inset 0 -7px 0 rgba(0, 0, 0, 0.24),
    0 7px 0 #270407;
  font-size: clamp(14px, 1.35vw, 23px);
  font-weight: 1000;
}

.spin-button:not(:disabled) {
  animation: spinReadyPulse 1.1s ease-in-out infinite;
}

.tap-button.max {
  color: #fff7db;
  background:
    radial-gradient(circle at 35% 23%, rgba(255, 255, 255, 0.5), transparent 26%),
    linear-gradient(180deg, #ff4941, #9d0f1d);
}

.spin-button {
  display: grid;
  place-items: center;
  color: #fff4c9;
  background:
    radial-gradient(circle at 35% 22%, rgba(255, 255, 255, 0.48), transparent 24%),
    linear-gradient(180deg, #ff3830, #990b19);
  box-shadow:
    inset 0 -10px 0 rgba(0, 0, 0, 0.26),
    0 9px 0 #270407,
    0 0 24px rgba(255, 56, 48, 0.56);
  font-weight: 1000;
}

.spin-button span,
.spin-button {
  font-size: clamp(34px, 4.7vw, 82px);
  line-height: 0.86;
}

.spin-button small,
.feature-button small {
  display: block;
  margin-top: 4px;
  font-family: "Arial Black", system-ui, sans-serif;
  font-size: clamp(9px, 0.9vw, 15px);
  line-height: 1;
}

.feature-button {
  display: grid;
  place-items: center;
  padding: 4px;
}

.feature-button span {
  font-size: clamp(16px, 1.55vw, 28px);
  line-height: 1;
}

.feature-button.bonus {
  background:
    radial-gradient(circle at 35% 23%, #e8fff8, transparent 26%),
    linear-gradient(180deg, #16e0c7, #078a77);
}

.feature-button.refill {
  color: var(--ink);
  background:
    radial-gradient(circle at 35% 23%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(180deg, #4f2034, #1c0710);
}

.spin-button:disabled,
.feature-button:disabled,
.tap-button:disabled {
  cursor: not-allowed;
  filter: saturate(0.42);
  opacity: 0.62;
}

.bonus-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 118, 20, 0.3), transparent 24rem),
    radial-gradient(ellipse at 50% 100%, rgba(255, 28, 9, 0.32), transparent 28rem),
    linear-gradient(180deg, rgba(12, 2, 4, 0.9), rgba(4, 1, 2, 0.94));
}

.bonus-overlay[hidden] {
  display: none;
}

.bonus-modal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(86vw, 760px);
  max-height: 94dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: clamp(7px, 1.1vw, 14px);
  padding: clamp(13px, 1.7vw, 24px);
  border: 7px solid #ffcf53;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent 9%, transparent 91%, rgba(255, 255, 255, 0.12)),
    linear-gradient(180deg, #e42c24 0%, #9b1114 34%, #350407 100%);
  box-shadow:
    0 34px 82px rgba(0, 0, 0, 0.62),
    inset 0 0 0 4px rgba(80, 8, 4, 0.9),
    inset 0 0 0 10px rgba(255, 255, 255, 0.06),
    inset 0 -26px 48px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.bonus-modal::before,
.bonus-modal::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
}

.bonus-modal::before {
  background:
    radial-gradient(ellipse at 18% 92%, rgba(255, 214, 54, 0.45), transparent 18%),
    radial-gradient(ellipse at 43% 100%, rgba(255, 68, 0, 0.58), transparent 24%),
    radial-gradient(ellipse at 76% 88%, rgba(255, 155, 22, 0.4), transparent 19%);
  filter: blur(9px);
  opacity: 0.9;
  animation: bonusHeatWash 1.2s ease-in-out infinite alternate;
}

.bonus-modal::after {
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.2) 43%, transparent 55% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px);
  mix-blend-mode: screen;
  opacity: 0.42;
}

.bonus-modal > * {
  position: relative;
  z-index: 1;
}

.bonus-modal h2 {
  margin: 0;
  color: #fff0a6;
  font-size: clamp(36px, 5.1vw, 76px);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow:
    0 4px 0 #510405,
    0 0 12px rgba(255, 205, 48, 0.88),
    0 0 28px rgba(255, 63, 0, 0.75);
}

.wheel-wrap {
  position: relative;
  width: min(58dvh, 55vw, 430px);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
}

.wheel-fire,
.wheel-embers {
  position: absolute;
  pointer-events: none;
}

.wheel-fire {
  inset: -20%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 18% 68%, rgba(255, 232, 94, 0.95) 0 7%, rgba(255, 88, 0, 0.72) 13%, transparent 29%),
    radial-gradient(ellipse at 38% 36%, rgba(255, 242, 147, 0.86) 0 6%, rgba(255, 80, 0, 0.72) 14%, transparent 30%),
    radial-gradient(ellipse at 58% 69%, rgba(255, 222, 61, 0.94) 0 8%, rgba(255, 48, 0, 0.78) 16%, transparent 31%),
    radial-gradient(ellipse at 78% 42%, rgba(255, 238, 120, 0.85) 0 6%, rgba(255, 112, 0, 0.74) 15%, transparent 30%),
    conic-gradient(from 12deg, transparent 0 8deg, rgba(255, 63, 0, 0.8) 12deg 26deg, transparent 32deg 50deg, rgba(255, 192, 38, 0.75) 55deg 71deg, transparent 78deg 360deg);
  filter: blur(7px) saturate(1.45);
  opacity: 0.9;
  animation:
    flameFlicker 0.52s ease-in-out infinite alternate,
    flameOrbit 7s linear infinite;
}

.wheel-fire-front {
  inset: auto -11% -12%;
  z-index: 3;
  height: 46%;
  border-radius: 0 0 50% 50%;
  filter: blur(4px) saturate(1.6);
  opacity: 0.74;
  animation:
    frontFlameKick 0.42s ease-in-out infinite alternate,
    flameOrbit 5.2s linear infinite reverse;
}

.wheel-embers {
  inset: -10%;
  z-index: 5;
  border-radius: 50%;
  background:
    radial-gradient(circle at 16% 76%, rgba(255, 231, 98, 0.9) 0 1.7%, transparent 2.1%),
    radial-gradient(circle at 28% 31%, rgba(255, 98, 20, 0.92) 0 1.2%, transparent 1.8%),
    radial-gradient(circle at 43% 82%, rgba(255, 202, 77, 0.88) 0 1.5%, transparent 2%),
    radial-gradient(circle at 62% 24%, rgba(255, 86, 16, 0.9) 0 1.2%, transparent 1.8%),
    radial-gradient(circle at 79% 72%, rgba(255, 235, 136, 0.9) 0 1.6%, transparent 2.2%);
  mix-blend-mode: screen;
  animation: emberDrift 1.05s linear infinite;
}

.bonus-wheel {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 10px solid #1a0905;
  outline: 7px solid #ffcf53;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff2a0 0 8%, #7b1609 9% 14%, transparent 15%),
    repeating-conic-gradient(from -30deg, rgba(255, 244, 174, 0.92) 0 1.6deg, transparent 1.6deg 58deg, rgba(0, 0, 0, 0.7) 58deg 60deg),
    conic-gradient(
      #de1712 0deg 60deg,
      #f6ae23 60deg 120deg,
      #4f0706 120deg 180deg,
      #ff4a13 180deg 240deg,
      #2a0705 240deg 300deg,
      #c20d1a 300deg 360deg
    );
  box-shadow:
    inset 0 0 0 8px rgba(255, 241, 166, 0.5),
    inset 0 0 0 18px rgba(0, 0, 0, 0.24),
    inset 0 28px 44px rgba(255, 255, 255, 0.18),
    inset 0 -34px 48px rgba(0, 0, 0, 0.42),
    0 0 0 2px rgba(255, 255, 255, 0.18),
    0 0 42px rgba(255, 57, 0, 0.72),
    0 22px 50px rgba(0, 0, 0, 0.55);
  transition: transform 3.2s cubic-bezier(0.12, 0.84, 0.24, 1);
}

.bonus-wheel::before,
.bonus-wheel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.bonus-wheel::before {
  inset: 8%;
  z-index: 1;
  border: 2px solid rgba(255, 246, 188, 0.72);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 25%, rgba(0, 0, 0, 0.24) 26% 27%, transparent 28%),
    repeating-conic-gradient(from -30deg, transparent 0 28deg, rgba(255, 246, 188, 0.5) 29deg 31deg, transparent 32deg 60deg);
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(255, 235, 129, 0.32);
}

.bonus-wheel::after {
  inset: 3%;
  z-index: 5;
  background:
    linear-gradient(132deg, rgba(255, 255, 255, 0.3), transparent 26% 100%),
    radial-gradient(ellipse at 52% 18%, rgba(255, 255, 255, 0.26), transparent 25%);
  mix-blend-mode: screen;
}

.bonus-modal.is-launching {
  animation: cabinetSlam 0.5s ease both;
}

.bonus-modal.is-launching .wheel-wrap {
  animation: bonusWheelShake 0.12s linear infinite;
}

.bonus-modal.is-launching .wheel-fire {
  opacity: 1;
  filter: blur(5px) saturate(1.95) brightness(1.22);
  animation-duration: 0.22s, 2.4s;
}

.bonus-modal.is-launching .wheel-fire-front {
  filter: blur(3px) saturate(2.1) brightness(1.35);
  animation-duration: 0.18s, 1.8s;
}

.bonus-modal.is-launching .wheel-pointer {
  animation: pointerClack 0.14s linear infinite;
}

.bonus-modal.is-launching .bonus-wheel {
  filter: brightness(1.16) saturate(1.25);
}

.bonus-wheel span {
  position: absolute;
  z-index: 6;
  width: clamp(70px, 11dvh, 104px);
  min-height: clamp(28px, 4.7dvh, 40px);
  left: var(--label-x);
  top: var(--label-y);
  display: grid;
  place-items: center;
  padding: 3px 6px;
  border: 2px solid rgba(255, 241, 166, 0.82);
  border-radius: 4px;
  color: #fff4b8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(180deg, #4b0908, #160303);
  box-shadow:
    inset 0 -4px 0 rgba(0, 0, 0, 0.36),
    0 3px 0 rgba(0, 0, 0, 0.55),
    0 0 10px rgba(255, 67, 0, 0.34);
  font-size: clamp(13px, 2dvh, 22px);
  font-weight: 1000;
  line-height: 0.85;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 #2a0303,
    0 0 8px rgba(255, 221, 93, 0.88);
  transform: translate(-50%, -50%);
}

.bonus-wheel span:nth-child(1) {
  --label-x: 66%;
  --label-y: 24%;
}

.bonus-wheel span:nth-child(2) {
  --label-x: 79%;
  --label-y: 50%;
}

.bonus-wheel span:nth-child(3) {
  --label-x: 66%;
  --label-y: 76%;
}

.bonus-wheel span:nth-child(4) {
  --label-x: 34%;
  --label-y: 76%;
}

.bonus-wheel span:nth-child(5) {
  --label-x: 21%;
  --label-y: 50%;
}

.bonus-wheel span:nth-child(6) {
  --label-x: 34%;
  --label-y: 24%;
}

.wheel-hub {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: clamp(76px, 12dvh, 112px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 5px solid #fff1a6;
  border-radius: 50%;
  color: #fffbce;
  background:
    radial-gradient(circle at 38% 28%, #ffef9a, #de381a 34%, #540604 68%, #170202 100%);
  box-shadow:
    inset 0 -8px 0 rgba(0, 0, 0, 0.34),
    0 0 0 4px rgba(75, 7, 3, 0.9),
    0 0 26px rgba(255, 80, 0, 0.78);
  font-size: clamp(18px, 3dvh, 31px);
  font-weight: 1000;
  line-height: 0.8;
  text-shadow:
    0 2px 0 #360303,
    0 0 10px rgba(255, 238, 127, 0.95);
}

.wheel-pointer {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: -5%;
  width: clamp(44px, 7dvh, 66px);
  height: clamp(58px, 9dvh, 84px);
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 36% 64%, rgba(0, 0, 0, 0.24)),
    linear-gradient(180deg, #fff1a6, #ffb929 48%, #8e3107);
  filter:
    drop-shadow(0 5px 0 rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 14px rgba(255, 199, 42, 0.82));
}

.wheel-pointer span {
  position: absolute;
  left: 50%;
  top: 17%;
  width: 34%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff7bf 0 12%, transparent 13%),
    linear-gradient(180deg, #ff3d36, #7a0708);
}

.bonus-prize-callout {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: 50%;
  width: min(82%, 420px);
  min-height: clamp(72px, 11dvh, 118px);
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.2vw, 16px);
  border: clamp(4px, 0.6vw, 7px) solid #fff1a6;
  border-radius: 8px;
  color: #fff8c8;
  background:
    radial-gradient(circle at 36% 20%, rgba(255, 255, 255, 0.36), transparent 26%),
    linear-gradient(180deg, #ff3b18 0%, #b80d12 52%, #3b0305 100%);
  box-shadow:
    inset 0 -9px 0 rgba(0, 0, 0, 0.28),
    0 8px 0 rgba(55, 3, 4, 0.82),
    0 0 30px rgba(255, 220, 70, 0.88),
    0 0 62px rgba(255, 43, 18, 0.76);
  font-size: clamp(30px, 5.8dvh, 62px);
  font-weight: 1000;
  line-height: 0.82;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 4px 0 #5d0507,
    0 0 14px rgba(255, 244, 170, 0.9);
  transform: translate(-50%, -50%) scale(0.82) rotate(-2deg);
  pointer-events: none;
}

.bonus-prize-callout[hidden] {
  display: none;
}

.bonus-prize-callout.is-showing {
  animation: bonusPrizePop 1.25s cubic-bezier(0.08, 0.9, 0.22, 1) both;
}

#bonusResult {
  min-height: clamp(32px, 5dvh, 46px);
  margin: 0;
  display: grid;
  place-items: center;
  padding: 4px 10px;
  border: 2px solid rgba(255, 200, 77, 0.8);
  border-radius: 4px;
  color: #fff1a6;
  background:
    linear-gradient(180deg, #140405, #070203),
    #070203;
  font-family: "Courier New", monospace;
  font-size: clamp(16px, 1.6vw, 25px);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 85, 0, 0.9);
  box-shadow:
    inset 0 0 16px rgba(255, 47, 0, 0.18),
    0 0 18px rgba(255, 150, 28, 0.26);
}

.bonus-launch {
  min-height: clamp(78px, 10dvh, 115px);
  color: #fff6d7;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.34), transparent 23%),
    linear-gradient(180deg, #ff4b21, #c90d13 54%, #6b060a);
  box-shadow:
    inset 0 -8px 0 rgba(0, 0, 0, 0.32),
    0 10px 0 rgba(46, 5, 4, 0.95),
    0 0 26px rgba(255, 80, 0, 0.62);
  text-shadow:
    0 3px 0 #4d0603,
    0 0 14px rgba(255, 238, 128, 0.8);
  animation: bonusLaunchPulse 0.62s ease-in-out infinite alternate;
}

.bonus-launch:disabled {
  animation: none;
}

.cash-out-overlay {
  position: fixed;
  z-index: 24;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 200, 77, 0.25), transparent 22rem),
    rgba(5, 1, 3, 0.82);
}

.cash-out-overlay[hidden] {
  display: none;
}

.cash-out-modal {
  position: relative;
  width: min(88vw, 860px);
  max-height: 92dvh;
  min-height: min(72dvh, 600px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto auto auto;
  place-items: center;
  gap: clamp(6px, 1vw, 14px);
  padding: clamp(14px, 2vw, 28px);
  border: clamp(6px, 0.9vw, 10px) solid var(--gold);
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 241, 166, 0.24), transparent 34%),
    linear-gradient(180deg, #b71829, #470712 72%, #170305);
  box-shadow:
    var(--shadow),
    inset 0 0 0 4px rgba(255, 255, 255, 0.08);
  text-align: center;
  animation: cashOutPop 0.34s cubic-bezier(0.12, 1.26, 0.25, 1) both;
}

.cash-out-modal::before,
.cash-out-modal::after {
  content: "";
  position: absolute;
  inset-inline: -10%;
  height: clamp(34px, 5vw, 78px);
  z-index: 0;
  background:
    radial-gradient(circle, rgba(255, 241, 166, 0.36) 0 28%, transparent 30%) 0 50% / clamp(34px, 5vw, 72px) 100% repeat-x,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.7;
  pointer-events: none;
  transform: rotate(-8deg);
}

.cash-out-modal::before {
  top: 9%;
}

.cash-out-modal::after {
  bottom: 8%;
  transform: rotate(7deg);
}

.cash-out-modal.is-rich {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.38), transparent 22%),
    linear-gradient(135deg, #ffc84d, #ff3d36 45%, #7d101d 100%);
  animation:
    cashOutPop 0.34s cubic-bezier(0.12, 1.26, 0.25, 1) both,
    richPulse 0.72s ease-in-out 2 0.18s;
}

.cash-out-modal.is-poor {
  border-color: #8f6b42;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #67533d, #311d16 60%, #100506);
  animation:
    cashOutPop 0.34s cubic-bezier(0.12, 1.26, 0.25, 1) both,
    povertyShake 0.34s linear 2 0.2s;
}

.cash-out-modal > * {
  position: relative;
  z-index: 1;
}

.tycoon-mascot {
  position: relative;
  width: min(34dvh, 28vw, 220px);
  aspect-ratio: 1;
  filter:
    drop-shadow(0 9px 0 rgba(58, 7, 11, 0.75))
    drop-shadow(0 0 24px rgba(255, 241, 166, 0.72));
}

.cash-out-modal.is-rich .tycoon-mascot {
  animation: tycoonBounce 0.72s ease-in-out 2;
}

.cash-out-modal.is-poor .tycoon-mascot {
  filter: grayscale(0.8) drop-shadow(0 8px 0 rgba(0, 0, 0, 0.55));
  animation: tycoonSlump 0.62s ease both;
}

.tycoon-mascot span {
  position: absolute;
  display: block;
}

.tycoon-hat {
  left: 23%;
  top: 4%;
  width: 54%;
  height: 33%;
  border-radius: 7px 7px 4px 4px;
  background:
    linear-gradient(180deg, #1b1412 0 64%, #ffc84d 65% 78%, #140d0b 79% 100%);
}

.tycoon-hat::after {
  content: "";
  position: absolute;
  left: -22%;
  right: -22%;
  bottom: -7%;
  height: 22%;
  border-radius: 999px;
  background: #140d0b;
}

.tycoon-head {
  left: 30%;
  top: 28%;
  width: 40%;
  aspect-ratio: 1;
  border: 4px solid #190606;
  border-radius: 50%;
  background:
    radial-gradient(circle at 37% 32%, #fff6c5, transparent 18%),
    #f2bf83;
}

.tycoon-head::before,
.tycoon-head::after {
  content: "";
  position: absolute;
  top: 36%;
  width: 9%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #120506;
}

.tycoon-head::before {
  left: 30%;
}

.tycoon-head::after {
  right: 30%;
}

.tycoon-mustache {
  left: 36%;
  top: 52%;
  width: 28%;
  height: 8%;
  border-radius: 999px;
  background: #120506;
}

.tycoon-mustache::before,
.tycoon-mustache::after {
  content: "";
  position: absolute;
  top: 0;
  width: 58%;
  height: 100%;
  border-radius: 999px;
  background: #120506;
}

.tycoon-mustache::before {
  right: 48%;
  transform: rotate(16deg);
}

.tycoon-mustache::after {
  left: 48%;
  transform: rotate(-16deg);
}

.tycoon-body {
  left: 18%;
  top: 62%;
  width: 64%;
  height: 31%;
  border: 4px solid #190606;
  border-radius: 50% 50% 12px 12px / 38% 38% 18px 18px;
  background:
    radial-gradient(circle at 50% 17%, #fff6d7 0 12%, transparent 13%),
    linear-gradient(90deg, #171010 0 44%, #fff6d7 45% 55%, #171010 56% 100%);
}

.tycoon-body::before {
  content: "";
  position: absolute;
  left: 44%;
  top: 24%;
  width: 12%;
  height: 36%;
  background: #ff3d36;
  clip-path: polygon(50% 0, 100% 18%, 72% 100%, 28% 100%, 0 18%);
}

.tycoon-cane {
  right: 4%;
  bottom: 7%;
  width: 5%;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff1a6, #a76a1b);
  transform: rotate(18deg);
  transform-origin: 50% 100%;
}

.tycoon-cane::before {
  content: "";
  position: absolute;
  left: -160%;
  top: -7%;
  width: 310%;
  aspect-ratio: 1;
  border: 5px solid #fff1a6;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

#cashOutEyebrow,
#cashOutResult {
  margin: 0;
  font-family: "Courier New", monospace;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 61, 54, 0.58);
}

#cashOutEyebrow {
  color: var(--gold-hot);
  font-size: clamp(16px, 1.7vw, 27px);
}

#cashOutTitle {
  margin: 0;
  color: var(--gold-hot);
  font-size: clamp(44px, 7.8vw, 122px);
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow:
    0 5px 0 #4a070b,
    0 0 22px rgba(255, 200, 77, 0.86),
    0 0 46px rgba(255, 61, 54, 0.62);
}

.cash-out-modal.is-poor #cashOutTitle {
  color: #e6d1b1;
  text-shadow:
    0 5px 0 #1d0b0a,
    0 0 20px rgba(255, 200, 77, 0.28);
}

#cashOutResult {
  max-width: 780px;
  color: var(--ink);
  font-size: clamp(15px, 1.8vw, 30px);
  line-height: 1.05;
}

.cash-close {
  width: min(100%, 360px);
  min-height: clamp(56px, 7dvh, 84px);
  margin-top: clamp(2px, 0.4vw, 8px);
}

#fxCanvas {
  position: fixed;
  z-index: 30;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.prize-pop {
  position: fixed;
  z-index: 28;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
  color: var(--gold);
  font-size: clamp(46px, 10vw, 150px);
  font-weight: 1000;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  text-shadow:
    0 5px 0 #5b090d,
    0 0 22px rgba(255, 244, 170, 0.98),
    0 0 48px rgba(255, 61, 54, 0.85);
  animation: prizeLaunch 1.1s cubic-bezier(0.11, 0.92, 0.28, 1) both;
}

.prize-pop.is-mega {
  color: #fff6ba;
  font-size: clamp(58px, 13vw, 190px);
  animation-duration: 1.35s;
}

.is-pulsing {
  animation: pulseWin 0.7s ease both;
}

.is-bumping {
  animation: bump 0.25s ease both;
}

@keyframes bulbChase {
  0% {
    background-position: 0 50%, 0 0;
  }
  100% {
    background-position: 88px 50%, 0 0;
  }
}

@keyframes signGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.22);
  }
}

@keyframes jackpotBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@keyframes cabinetHum {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -1px, 0);
  }
}

@keyframes cabinetSweep {
  0% {
    opacity: 0;
    transform: translateX(-40%);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes cabinetBigFlash {
  0%,
  100% {
    opacity: 0;
  }
  18%,
  44% {
    opacity: 1;
  }
  30%,
  64% {
    opacity: 0.35;
  }
}

@keyframes cabinetSlam {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  35% {
    transform: scale(1.012);
    filter: brightness(1.35);
  }
  62% {
    transform: scale(0.996);
  }
}

@keyframes cabinetMega {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  18% {
    transform: scale(1.018) rotate(-0.35deg);
    filter: brightness(1.55);
  }
  36% {
    transform: scale(0.992) rotate(0.28deg);
  }
  56% {
    transform: scale(1.012) rotate(-0.18deg);
  }
}

@keyframes cabinetBonus {
  0%,
  100% {
    transform: scale(1);
    filter: hue-rotate(0deg) brightness(1);
  }
  35% {
    transform: scale(1.015);
    filter: hue-rotate(35deg) brightness(1.35);
  }
  70% {
    filter: hue-rotate(-25deg) brightness(1.2);
  }
}

@keyframes bonusHeatWash {
  0% {
    transform: translateY(12px) scaleX(1);
    opacity: 0.68;
  }
  100% {
    transform: translateY(-6px) scaleX(1.08);
    opacity: 0.96;
  }
}

@keyframes flameFlicker {
  0% {
    transform: scale(0.98) skewX(-2deg);
    opacity: 0.76;
  }
  100% {
    transform: scale(1.06) skewX(2deg);
    opacity: 1;
  }
}

@keyframes frontFlameKick {
  0% {
    transform: translateY(5px) scaleX(0.96);
    opacity: 0.58;
  }
  100% {
    transform: translateY(-9px) scaleX(1.08);
    opacity: 0.9;
  }
}

@keyframes flameOrbit {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

@keyframes emberDrift {
  0% {
    transform: translateY(12px) scale(0.98);
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-18px) scale(1.04);
    opacity: 0.35;
  }
}

@keyframes bonusWheelShake {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  33% {
    transform: translateX(-2px) rotate(-0.35deg);
  }
  66% {
    transform: translateX(2px) rotate(0.35deg);
  }
}

@keyframes pointerClack {
  0%,
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(6deg);
  }
}

@keyframes bonusLaunchPulse {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.22);
  }
}

@keyframes bonusPrizePop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45) rotate(-8deg);
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12) rotate(2deg);
  }
  42% {
    transform: translate(-50%, -50%) scale(0.98) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(-1deg);
  }
}

@keyframes nearMissBuzz {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(5px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
}

@keyframes reelSpin {
  0% {
    transform: translateY(-12px) scaleY(1.05);
  }
  100% {
    transform: translateY(12px) scaleY(0.98);
  }
}

@keyframes reelStopSlam {
  0% {
    transform: translateY(-8px);
    filter: brightness(1.2);
  }
  55% {
    transform: translateY(7px);
    filter: brightness(1.45);
  }
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }
}

@keyframes symbolJackpot {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  45% {
    transform: scale(1.18) rotate(-4deg);
    filter: brightness(1.45);
  }
}

@keyframes paylineHot {
  0%,
  100% {
    opacity: 0.52;
  }
  50% {
    opacity: 1;
  }
}

@keyframes scoreLineWin {
  0%,
  100% {
    opacity: 0.92;
    filter:
      drop-shadow(0 0 2px rgba(0, 0, 0, 0.94))
      drop-shadow(0 0 7px var(--line-glow));
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 2px rgba(0, 0, 0, 1))
      drop-shadow(0 0 16px var(--line-glow))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.42));
  }
}

@keyframes chipLineWin {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.22);
    box-shadow:
      inset 0 -3px 0 rgba(0, 0, 0, 0.24),
      0 2px 0 rgba(0, 0, 0, 0.72),
      0 0 18px var(--line-glow),
      0 0 28px rgba(255, 255, 255, 0.45);
  }
}

@keyframes meterSurge {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }
  100% {
    filter: hue-rotate(75deg) brightness(1.2);
  }
}

@keyframes spinReadyPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.18);
  }
}

@keyframes prizeLaunch {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.48) rotate(-5deg);
  }
  16% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.16) rotate(2deg);
  }
  68% {
    opacity: 1;
    transform: translate(-50%, -58%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -72%) scale(0.92);
  }
}

@keyframes pulseWin {
  0%,
  100% {
    filter: brightness(1);
  }
  45% {
    filter: brightness(1.35);
  }
}

@keyframes bump {
  0% {
    transform: translateY(0);
  }
  55% {
    transform: translateY(-7px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes cashOutPop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes richPulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.32) saturate(1.28);
  }
}

@keyframes povertyShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(3px);
  }
}

@keyframes tycoonBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  35% {
    transform: translateY(-12px) rotate(-5deg);
  }
  68% {
    transform: translateY(4px) rotate(4deg);
  }
}

@keyframes tycoonSlump {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(7px) rotate(-7deg);
  }
}

@media (min-width: 1200px) and (orientation: landscape) {
  .marquee {
    position: relative;
    z-index: 5;
    overflow: visible;
  }

  .marquee-face {
    overflow: visible;
    padding-block: 0;
    padding-inline: clamp(126px, 19vw, 430px);
  }

  .marquee-face::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: min(74vw, 1040px);
    height: min(22dvh, 210px);
    transform: translate(-50%, -56%) scale(1.12);
    background: url("./Assets/hot-slots.png") center / contain no-repeat;
    filter:
      saturate(1.45)
      brightness(1.15)
      drop-shadow(0 0 22px rgba(255, 241, 166, 0.55))
      drop-shadow(0 0 48px rgba(255, 44, 24, 0.58));
    mix-blend-mode: screen;
    opacity: 0.26;
    pointer-events: none;
  }

  .marquee-face::after {
    content: "IMBY.GG";
    position: absolute;
    left: clamp(16px, 2vw, 38px);
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    padding: clamp(7px, 0.7vw, 12px) clamp(12px, 1.1vw, 20px);
    border: 3px solid rgba(255, 200, 77, 0.76);
    border-radius: 7px;
    color: #fff1a6;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%),
      #100306;
    box-shadow:
      inset 0 0 18px rgba(255, 47, 0, 0.22),
      0 0 16px rgba(255, 200, 77, 0.24);
    font-family: "Arial Black", system-ui, sans-serif;
    font-size: clamp(18px, 1.9vw, 34px);
    line-height: 1;
    text-shadow:
      0 2px 0 #440507,
      0 0 12px rgba(255, 200, 77, 0.62);
    pointer-events: none;
  }

  .marquee-logo {
    height: clamp(112px, 10.5dvh, 150px);
    max-height: calc(100% + 30px);
    max-width: min(62vw, 880px);
    transform: translateY(-10px) scale(1.05);
    filter:
      drop-shadow(0 0 12px rgba(255, 241, 166, 0.95))
      drop-shadow(0 0 28px rgba(255, 61, 54, 0.78))
      drop-shadow(0 8px 0 rgba(52, 4, 6, 0.65));
  }

  .control-deck::before {
    left: 50%;
    top: 50%;
    width: min(46vw, 740px);
    height: 132%;
    transform: translate(-50%, -50%) scale(1.08);
    background: url("./Assets/hot-slots.png") center / contain no-repeat;
    filter:
      saturate(1.25)
      drop-shadow(0 0 20px rgba(255, 200, 77, 0.38));
    mix-blend-mode: screen;
    opacity: 0.2;
  }
}

@media (max-aspect-ratio: 1/1) {
  .slot-cabinet {
    grid-template-rows: minmax(96px, 17%) minmax(48px, 8%) minmax(0, 35%) minmax(120px, 21%) minmax(120px, 19%);
  }

  .marquee-face {
    padding-inline: clamp(44px, 8vw, 82px) clamp(132px, 22vw, 184px);
  }

  .marquee-logo {
    width: 100%;
    height: auto;
    max-height: 100%;
  }

  .meter-bank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meter-window strong {
    font-size: clamp(18px, 6vw, 34px);
  }

  .belly-glass {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .control-deck {
    grid-template-columns: 1fr;
    grid-template-rows: 0.82fr 1fr 0.9fr;
  }

  .spin-button span,
  .spin-button {
    font-size: clamp(30px, 13vw, 62px);
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 4px;
  }

  .slot-cabinet {
    border-width: 5px;
  }

  .marquee {
    grid-template-rows: 12px minmax(0, 1fr);
  }

  .marquee-face {
    padding-inline: 8px 132px;
  }

  .marquee-actions {
    right: 6px;
    gap: 4px;
    max-width: 126px;
  }

  .cash-out-button {
    min-width: 82px;
    height: 38px;
    font-size: 12px;
  }

  .sound-button {
    width: 38px;
  }

  .meter-window {
    padding-inline: 6px;
  }

  .meter-window span {
    font-size: clamp(9px, 3vw, 13px);
  }

  .round-window {
    grid-template-columns: 1fr;
    gap: 2px;
    text-align: center;
  }

  .round-window span {
    justify-self: center;
  }

  .paytable-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pay-item:nth-child(n + 5) {
    display: none;
  }

  .event-feed {
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .event-feed li:nth-child(n + 3) {
    display: none;
  }

  .cash-out-modal {
    width: 94vw;
    min-height: min(78dvh, 560px);
  }

  .tycoon-mascot {
    width: min(26dvh, 36vw, 150px);
  }
}

@media (max-height: 640px) {
  .slot-cabinet {
    grid-template-rows: minmax(84px, 18%) minmax(44px, 7%) minmax(0, 41%) minmax(78px, 16%) minmax(82px, 18%);
  }

  .bulb-row {
    height: 12px;
  }

  .marquee {
    grid-template-rows: 12px minmax(0, 1fr);
  }

  .pay-item {
    grid-template-columns: auto 1fr;
  }

  .pay-copy strong {
    display: none;
  }

  .cash-out-modal {
    min-height: 0;
    grid-template-rows: minmax(0, 0.9fr) auto auto auto auto;
    padding: 10px;
    gap: 5px;
  }

  .tycoon-mascot {
    width: min(26dvh, 170px);
  }

  .cash-close {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
