/* ==========================================================================
   LAPDEE88 — mahjong-style slot cabinet
   Deep red hall · carved wood frame · green felt reels · gold everything
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;

  /* hall */
  --red-deep: #5e0f0b;
  --red: #8f1a12;
  --red-lit: #b8291c;

  /* carved wood */
  --wood-hi: #b9793a;
  --wood: #8d5426;
  --wood-mid: #6d3d19;
  --wood-dark: #4a2710;
  --wood-edge: #2e1708;

  /* gold */
  --gold-pale: #ffeaa7;
  --gold: #f3c53d;
  --gold-mid: #d99b21;
  --gold-deep: #9a6410;

  /* felt */
  --felt: #1f7a3d;
  --felt-dark: #14672f;
  --felt-shadow: #0d4a24;

  /* tile */
  --tile-face: #fbf7ec;
  --tile-edge: #ded5bd;
  --tile-base: #2fa05a;

  --ink: #2a1c08;
}

html {
  min-height: 100%;
  background: var(--red-deep);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--gold-pale);
  font-family: "Noto Sans Thai", "Leelawadee UI", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--red-deep);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 3px;
}

/* ---------- hall backdrop ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 78% 52% at 50% 30%, rgba(226, 92, 45, 0.5), transparent 70%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(255, 190, 60, 0.22), transparent 60%),
    linear-gradient(180deg, #6d120d 0%, #8f1a12 40%, #5c0e0a 100%);
}

/* soft out-of-focus coins/tiles, pure CSS */
.stage::before,
.stage::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(7px);
  opacity: 0.5;
}

.stage::before {
  top: 8%;
  left: -6%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle at 35% 30%, #ffd76a, #b9791a 60%, transparent 72%);
}

.stage::after {
  right: -8%;
  bottom: 6%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 60% 40%, #ffd050, #a86a12 58%, transparent 72%);
}

#burst {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- cabinet ---------- */
.cabinet {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 0 0 18px;
}

/* ---------- brand masthead ---------- */
.brand-header {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 8px 18px 6px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 210, 92, 0.16), transparent 68%),
    linear-gradient(180deg, #78140f, #5e0f0b);
  border-bottom: 2px solid var(--gold-deep);
  box-shadow: inset 0 -8px 18px rgba(0, 0, 0, 0.28);
}

.brand-logo {
  display: block;
  width: min(72vw, 250px);
  height: auto;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.52));
}

/* ---------- crown / header ---------- */
.crown {
  position: relative;
  display: grid;
  place-items: center;
  height: 46px;
  background:
    linear-gradient(180deg, var(--wood-hi), var(--wood) 44%, var(--wood-mid) 100%);
  border-bottom: 2px solid var(--wood-edge);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, 0.42);
}

.crown-ways {
  color: #f0cd8a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
}

/* carved bosses at each end */
.crown-boss {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle at 35% 32%, #c98f4d, #5d3313 70%);
  border: 1px solid var(--wood-edge);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 1px 1px rgba(255, 220, 160, 0.5);
}

.crown-boss--r {
  right: 16px;
  left: auto;
}

/* ---------- multiplier rail ---------- */
.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--wood-mid), var(--wood-dark));
  border-bottom: 2px solid var(--wood-edge);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.5);
}

.rail-step {
  padding: 7px 0;
  color: #a9793f;
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  transition: color 200ms ease, text-shadow 200ms ease, transform 200ms ease;
}

.rail-step.is-on {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(243, 197, 61, 0.9), 0 1px 0 rgba(0, 0, 0, 0.6);
  transform: scale(1.14);
}

/* ---------- felt + reels ---------- */
.felt {
  padding: 8px 10px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.3)),
    repeating-linear-gradient(90deg, #2fa05a 0 34px, #2b9553 34px 68px);
  border-bottom: 3px solid var(--wood-edge);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  width: min(100%, 300px);
  margin: 0 auto;
  overflow: hidden;
}

.reel {
  display: grid;
  gap: 5px;
  min-width: 0;
}

/* mahjong tile */
.symbol-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.16;
  min-height: 0;
  background: linear-gradient(178deg, var(--tile-face) 0%, #f2ecdb 76%, #ded5bd 100%);
  border: 1px solid #cfc4a6;
  border-radius: 7px;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -7px 0 var(--tile-base),
    inset 0 -9px 3px rgba(0, 0, 0, 0.3),
    0 3px 5px rgba(0, 0, 0, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.symbol-card img {
  width: 74%;
  height: 74%;
  margin-bottom: 5px;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.22));
}

.reel-spinning .symbol-card img {
  filter: blur(3px);
}

.reel-settled .symbol-card:nth-child(2) {
  animation: tile-drop 300ms cubic-bezier(0.3, 1.5, 0.5, 1);
}

/* winning tile: gold plated */
.symbol-card.win-symbol {
  z-index: 3;
  background: linear-gradient(178deg, #fff3c0 0%, #ffdf7d 74%, #e8b32e 100%);
  border-color: var(--gold-pale);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -7px 0 #c8901c,
    0 0 22px rgba(255, 214, 90, 0.95),
    0 3px 6px rgba(0, 0, 0, 0.4);
  animation: tile-glow 760ms ease-in-out infinite alternate;
}

.symbol-card.win-symbol::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: 7px;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.85) 50%, transparent 68%);
  transform: translateX(-135%);
  animation: tile-shine 1.5s ease-in-out infinite;
}

.payline {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 120, 0.9), transparent);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 220ms ease;
}

.reels.win-hit .payline {
  opacity: 1;
}

/* win pop over reels */
.win-pop {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  padding: 9px 26px;
  text-align: center;
  background: linear-gradient(180deg, #b6260f, #7d1508);
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 0 36px rgba(255, 200, 60, 0.85), inset 0 2px 0 rgba(255, 220, 150, 0.4);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  pointer-events: none;
  transition: opacity 200ms ease, transform 340ms cubic-bezier(0.2, 1.7, 0.45, 1);
}

.win-pop.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.win-pop span {
  display: block;
  color: var(--gold-pale);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.win-pop strong {
  display: block;
  color: #fff6d2;
  font-size: clamp(19px, 5.6vw, 26px);
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
  text-shadow: 0 0 16px rgba(255, 210, 90, 0.95), 0 2px 0 rgba(0, 0, 0, 0.45);
}

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden;
  background: linear-gradient(180deg, var(--wood), var(--wood-dark));
  border-bottom: 2px solid var(--wood-edge);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.45);
}

.ticker-track {
  display: flex;
  gap: 70px;
  width: max-content;
  padding: 7px 0;
  padding-left: 100%;
  animation: ticker 19s linear infinite;
}

.ticker-track span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(243, 197, 61, 0.5);
}

.ticker-track span.win {
  color: #fff2c4;
  text-shadow: 0 0 14px rgba(255, 220, 110, 0.95);
}

/* ---------- meters ---------- */
.meters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 9px 10px;
  background: linear-gradient(180deg, var(--wood-mid), var(--wood-dark));
  border-bottom: 2px solid var(--wood-edge);
}

.meter {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 5px 8px;
  background: linear-gradient(180deg, #2a1408, #4a2611);
  border: 1px solid #7a4a20;
  border-radius: 20px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
}

.meter-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: #6b3d12;
  font-size: 10px;
  background: radial-gradient(circle at 35% 30%, var(--gold-pale), var(--gold-mid) 65%, #8a5a10);
  border-radius: 50%;
}

.meter-body {
  min-width: 0;
}

.meter-label {
  display: block;
  color: #c79a55;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meter-value {
  display: block;
  overflow: hidden;
  color: var(--gold-pale);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- console ---------- */
.console {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  padding: 14px 16px 8px;
  background:
    linear-gradient(180deg, var(--wood) 0%, var(--wood-mid) 40%, var(--wood-dark) 100%);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.4);
}

.knob {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 0;
  background: none;
  border: 0;
}

.knob-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #f6dfa8;
  font-size: 17px;
  background: radial-gradient(circle at 38% 30%, #6d4018, #38200c 74%);
  border: 2px solid #8a5a24;
  border-radius: 50%;
  box-shadow: inset 0 2px 3px rgba(255, 210, 150, 0.28), 0 3px 6px rgba(0, 0, 0, 0.45);
  transition: transform 130ms ease, box-shadow 130ms ease;
}

.knob-glyph--sm {
  width: auto;
  min-width: 42px;
  height: 42px;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 800;
  border-radius: 21px;
  font-variant-numeric: tabular-nums;
}

.knob:hover .knob-glyph {
  transform: translateY(-1px);
}

.knob:active .knob-glyph {
  transform: translateY(1px);
}

.knob-cap {
  color: #c1904d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* the big spin button */
.spinner {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  padding: 0;
  background: none;
  border: 0;
  transition: transform 140ms ease;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, #f6d97a, #b8801c, #ffe9a8, #a86f14, #f6d97a);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.5), 0 0 26px rgba(255, 200, 70, 0.45);
}

.spinner-face {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle at 38% 30%, #3ec46f, #1a8a45 62%, #0c5c2c 100%);
  border: 2px solid #0a4a24;
  border-radius: 50%;
  box-shadow: inset 0 3px 8px rgba(255, 255, 255, 0.3), inset 0 -6px 12px rgba(0, 0, 0, 0.45);
}

/* arrow-chasing spin glyph: ring gap + two arrowheads */
.spinner-glyph {
  position: relative;
  width: 34px;
  height: 34px;
  border: 4px solid #eafff1;
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-40deg);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: transform 400ms ease;
}

.spinner-glyph::before,
.spinner-glyph::after {
  position: absolute;
  content: "";
  border: 6px solid transparent;
}

/* head on the top arc */
.spinner-glyph::before {
  top: -6px;
  right: 1px;
  border-left-color: #eafff1;
  transform: rotate(14deg);
}

/* head on the bottom arc */
.spinner-glyph::after {
  bottom: -6px;
  left: 1px;
  border-right-color: #eafff1;
  transform: rotate(14deg);
}

.spinner:hover:not(:disabled) .spinner-glyph {
  transform: rotate(140deg);
}

.spinner:hover:not(:disabled) {
  transform: scale(1.04);
}

.spinner:active:not(:disabled) {
  transform: scale(0.96);
}

.spinner:disabled {
  cursor: wait;
}

.spinner:disabled .spinner-ring {
  animation: ring-spin 900ms linear infinite;
}

.spinner:disabled .spinner-face {
  filter: saturate(0.6) brightness(0.8);
}

.spins-note {
  margin: 8px 0 0;
  color: rgba(255, 224, 150, 0.6);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.spins-note span {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* ---------- prize sheet ---------- */
.prize {
  position: fixed;
  top: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 100;
  width: min(calc(100% - 20px), 400px);
  /* dialog gets margin:auto from the UA sheet, which fights left:50% and
     pushes the sheet off-centre — pin it to 0 */
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--gold-pale);
  background: linear-gradient(180deg, #a3210f, #6d1208 70%, #4e0b05);
  border: 2px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 190, 60, 0.35);
  transform: translateX(-50%);
}

.prize[open] {
  animation: prize-in 300ms cubic-bezier(0.2, 1.5, 0.4, 1);
}

.prize::backdrop {
  background: rgba(30, 4, 2, 0.5);
}

.prize-in {
  padding: 22px 24px 24px;
  text-align: center;
}

.prize-kicker {
  margin: 0;
  color: rgba(255, 226, 150, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.prize-title {
  margin: 3px 0 0;
  color: #fff3cc;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

.prize-amount {
  margin: 4px 0 0;
  color: var(--gold);
  font-size: clamp(30px, 9vw, 40px);
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(255, 200, 60, 0.9), 0 2px 0 rgba(0, 0, 0, 0.45);
  font-variant-numeric: tabular-nums;
}

.prize-amount:empty {
  display: none;
}

.prize-msg {
  margin: 10px 0 18px;
  color: rgba(255, 232, 180, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.prize-btns {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.prize-go,
.prize-close {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.prize-go {
  color: #4a2c00;
  background: linear-gradient(180deg, #ffe9a8, var(--gold) 45%, #c8901c);
  border: 1px solid #ffeec0;
  box-shadow: 0 3px 0 #8a5f0c, 0 6px 14px rgba(0, 0, 0, 0.4);
}

.prize-go:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #8a5f0c;
}

.prize-go:disabled {
  opacity: 0.5;
  cursor: default;
}

.prize-close {
  color: rgba(255, 226, 160, 0.85);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 200, 90, 0.4);
  font-size: 14px;
}

noscript {
  display: block;
  padding: 12px;
  color: #4a2c00;
  background: var(--gold);
  text-align: center;
}

/* ---------- JP2 conversion-first experiment ---------- */
body {
  padding-bottom: 96px;
  background: #3a0706;
}

.stage {
  background:
    radial-gradient(circle at 18% 24%, rgba(246, 191, 64, 0.16), transparent 24%),
    radial-gradient(circle at 82% 70%, rgba(230, 76, 32, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(30, 2, 2, 0.72), transparent 48%),
    linear-gradient(180deg, #4a0807 0%, #7d130e 48%, #3b0605 100%);
}

.stage::before {
  inset: -15%;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 210, 100, 0.12);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 74px, rgba(255, 215, 120, 0.045) 75px 76px);
  filter: none;
  opacity: 1;
}

.stage::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 221, 138, 0.035) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(255, 221, 138, 0.025) 50%, transparent 50.2%);
  background-size: 74px 74px;
  filter: none;
  opacity: 1;
}

.experience-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(calc(100% - 20px), 980px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 18px 0 120px;
  align-content: center;
}

.conversion-panel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 220, 120, 0.15), transparent 30%),
    linear-gradient(145deg, rgba(105, 15, 11, 0.96), rgba(52, 6, 5, 0.96));
  border: 1px solid rgba(255, 211, 106, 0.42);
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 55px rgba(17, 0, 0, 0.38);
}

.conversion-panel::before {
  position: absolute;
  top: -75px;
  right: -65px;
  width: 185px;
  height: 185px;
  content: "";
  border: 1px solid rgba(255, 218, 126, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 207, 83, 0.025), inset 0 0 0 36px rgba(255, 207, 83, 0.025);
  pointer-events: none;
}

.conversion-brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.conversion-logo {
  display: block;
  width: min(47vw, 190px);
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.48));
}

.experiment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #ffe7a2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
  background: rgba(255, 209, 90, 0.08);
  border: 1px solid rgba(255, 214, 107, 0.24);
  border-radius: 999px;
}

.experiment-badge i {
  width: 6px;
  height: 6px;
  background: #57e48a;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(87, 228, 138, 0.85);
}

.offer-copy {
  position: relative;
  margin-top: 24px;
}

.offer-eyebrow {
  margin: 0 0 7px;
  color: #eabf65;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offer-copy h1 {
  margin: 0;
  color: #fff7df;
  font-size: clamp(34px, 10vw, 50px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.32);
}

.offer-copy h1 span {
  color: var(--gold);
  background: linear-gradient(180deg, #fff1a8, #f2bd31 70%, #c98512);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.offer-lead {
  max-width: 34ch;
  margin: 14px 0 0;
  color: rgba(255, 238, 199, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.offer-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.offer-steps li {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px 8px;
  background: rgba(22, 1, 1, 0.25);
  border: 1px solid rgba(255, 219, 127, 0.12);
  border-radius: 12px;
}

.offer-steps b {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.offer-steps span {
  overflow: hidden;
  color: #fff1ca;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-bonus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  padding: 0 18px 0 21px;
  color: #3b2100;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff0a6 0%, #f5c53e 48%, #d99116 100%);
  border: 1px solid #fff2b2;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 7px 0 #8b4e09, 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-bonus b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff2b8;
  background: #6f1209;
  border-radius: 50%;
}

.hero-bonus:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 9px 0 #8b4e09, 0 17px 32px rgba(0, 0, 0, 0.32);
}

.hero-bonus:active {
  transform: translateY(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 2px 0 #8b4e09, 0 8px 16px rgba(0, 0, 0, 0.25);
}

.offer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 18px;
  color: rgba(255, 238, 199, 0.58);
  font-size: 9px;
  font-weight: 800;
}

.offer-points span::before {
  margin-right: 5px;
  color: #66df91;
  content: "✓";
}

.cabinet {
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 106, 0.4);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(20, 0, 0, 0.52), 0 0 0 5px rgba(63, 9, 6, 0.56);
}

.sticky-bonus {
  position: fixed;
  right: auto;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 20px), 430px);
  min-height: 68px;
  padding: 8px 10px;
  color: #fff7dc;
  background: linear-gradient(120deg, rgba(87, 9, 7, 0.98), rgba(126, 18, 11, 0.98));
  border: 1px solid rgba(255, 216, 111, 0.68);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(12, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  animation: sticky-glow 2.4s ease-in-out infinite alternate;
}

.sticky-bonus__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #5b3200;
  font-size: 22px;
  font-weight: 900;
  background: radial-gradient(circle at 35% 30%, #fff0a8, #efba32 68%, #9b5c0b);
  border: 2px solid #fff0a3;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 199, 63, 0.35);
}

.sticky-bonus__copy {
  display: grid;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.sticky-bonus__copy small {
  color: rgba(255, 231, 172, 0.62);
  font-size: 9px;
  font-weight: 700;
}

.sticky-bonus__copy strong {
  color: #fff1bb;
  font-size: 15px;
  font-weight: 900;
}

.sticky-bonus__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #422400;
  font-weight: 900;
  background: var(--gold);
  border-radius: 12px;
}

body:has(.prize[open]) .sticky-bonus {
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 18px);
}

@keyframes sticky-glow {
  from { box-shadow: 0 14px 38px rgba(12, 0, 0, 0.58), 0 0 0 rgba(244, 190, 50, 0); }
  to { box-shadow: 0 14px 38px rgba(12, 0, 0, 0.58), 0 0 24px rgba(244, 190, 50, 0.2); }
}

@media (min-width: 860px) {
  .experience-shell {
    grid-template-columns: minmax(340px, 1fr) 430px;
    gap: clamp(32px, 5vw, 68px);
    padding-top: 34px;
    align-items: center;
  }

  .conversion-panel {
    max-width: none;
    padding: 34px;
    border-radius: 30px;
  }

  .conversion-logo {
    width: 220px;
  }

  .offer-copy {
    margin-top: 42px;
  }

  .offer-copy h1 {
    font-size: clamp(48px, 5.2vw, 64px);
  }

  .offer-lead {
    font-size: 15px;
  }

  .offer-steps li {
    padding: 12px 10px;
  }

  .offer-steps span {
    font-size: 11px;
  }

  .sticky-bonus {
    display: none;
  }
}

@media (max-width: 859px) {
  .experience-shell {
    padding-top: 10px;
    align-content: start;
  }

  .conversion-panel {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .conversion-logo {
    width: 145px;
  }

  .experiment-badge {
    padding: 5px 7px;
    font-size: 8px;
  }

  .offer-copy {
    margin-top: 10px;
  }

  .offer-eyebrow {
    display: none;
  }

  .offer-copy h1 {
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  .offer-copy h1 br {
    display: none;
  }

  .offer-copy h1 span {
    margin-left: 0.18em;
  }

  .offer-lead {
    max-width: none;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  .offer-steps,
  .offer-points {
    display: none;
  }

  .hero-bonus {
    min-height: 44px;
    margin-top: 9px;
    padding: 0 10px 0 16px;
    font-size: 13px;
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 0 #8b4e09, 0 10px 20px rgba(0, 0, 0, 0.24);
  }

  .hero-bonus b {
    width: 27px;
    height: 27px;
  }

  .sticky-bonus {
    display: none;
  }
}

@media (max-width: 390px) {
  .conversion-panel {
    padding: 11px 12px;
    border-radius: 17px;
  }

  .conversion-logo {
    width: 130px;
  }

  .experiment-badge {
    padding: 5px 7px;
    font-size: 8px;
  }

  .offer-copy {
    margin-top: 8px;
  }

  .offer-copy h1 {
    font-size: 24px;
  }
}

/* ---------- motion ---------- */
@keyframes tile-drop {
  0% { transform: translateY(-14%) scale(0.94); }
  70% { transform: translateY(2%) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes tile-glow {
  from { box-shadow: inset 0 2px 0 rgba(255,255,255,.95), inset 0 -7px 0 #c8901c, 0 0 14px rgba(255,214,90,.6), 0 3px 6px rgba(0,0,0,.4); }
  to { box-shadow: inset 0 2px 0 rgba(255,255,255,.95), inset 0 -7px 0 #c8901c, 0 0 34px rgba(255,214,90,1), 0 3px 6px rgba(0,0,0,.4); }
}

@keyframes tile-shine {
  0% { transform: translateX(-135%); }
  58%, 100% { transform: translateX(135%); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

@keyframes prize-in {
  from { opacity: 0; transform: translateX(-50%) translateY(20px) scale(0.94); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@media (max-width: 360px) {
  .spinner { width: 80px; height: 80px; }
  .spinner-face { width: 64px; height: 64px; }
  .meter-value { font-size: 12px; }
}

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