
@font-face { font-family: "National 2"; src: url("../fonts/National2-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "National 2"; src: url("../fonts/National2.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "National 2"; src: url("../fonts/National2-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "National 2"; src: url("../fonts/National2-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "National 2"; src: url("../fonts/National2-Extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "National 2"; src: url("../fonts/National2-ExtraboldItalic.4d9cb8cc.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "National 2"; src: url("../fonts/National2-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Sentinel RO"; src: url("../fonts/SentinelRO-BoldItalic.f8a1cb00.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --red: #e4002b;
  --red-hot: #ff2246;
  --red-deep: #8f0019;
  --ink: #0b0405;
  --ink-2: #160709;
  --cream: #fff4e2;
  --gold-hi: #e1e3e5;
  --gold: #a1a6ae;
  --gold-mid: #7a818b;
  --gold-lo: #43474d;
  --muted: rgba(255, 244, 226, .68);
  --font: "National 2", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Sentinel RO", Georgia, serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.2, 1.35, .35, 1);
  --topbar: 64px;
  --hz: .691;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  html.intro-wait #logo, html.intro-wait #case, html.intro-wait .case-shadow, html.intro-wait .hero-copy > * { visibility: hidden; }
}
html.anim-reset *, html.anim-reset *::before, html.anim-reset *::after { animation-play-state: paused !important; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.snow { position: fixed; inset: 0; z-index: 39; pointer-events: none; overflow: hidden; transition: opacity .6s; contain: strict; }
.snow i {
  position: absolute;
  left: -16px;
  right: -16px;
  will-change: transform;
  backface-visibility: hidden;
}
.snow-far {
  top: -420px;
  height: calc(100% + 420px);
  opacity: .42;
  background-size: 420px 420px;
  background-image:
    radial-gradient(circle at 14% 22%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 63% 58%, #fff 0 1.1px, transparent 2.1px),
    radial-gradient(circle at 86% 12%, #fff 0 .9px, transparent 1.9px),
    radial-gradient(circle at 38% 90%, #fff 0 1px, transparent 2px);
  animation: snow-far 34s linear infinite;
}
.snow-near {
  top: -560px;
  height: calc(100% + 560px);
  opacity: .62;
  background-size: 560px 560px;
  background-image:
    radial-gradient(circle at 22% 36%, #fff 0 1.6px, rgba(255, 255, 255, .3) 2.4px, transparent 3.6px),
    radial-gradient(circle at 74% 14%, #fff 0 1.9px, rgba(255, 255, 255, .3) 2.9px, transparent 4.1px),
    radial-gradient(circle at 56% 78%, #fff 0 1.4px, rgba(255, 255, 255, .28) 2.2px, transparent 3.2px);
  animation: snow-near 19s linear infinite, snow-sway 6.5s ease-in-out infinite alternate;
}
@keyframes snow-far { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 420px, 0); } }
@keyframes snow-near { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 560px, 0); } }
@keyframes snow-sway { from { translate: -10px 0; } to { translate: 10px 0; } }
html.no-snow .snow { opacity: 0; }
html.no-snow .snow i { animation-play-state: paused; }
html.snow-dim .snow { opacity: .55; }
@media (prefers-reduced-motion: reduce) { .snow { display: none; } }

.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 40;
}

.btn {
  --h: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), filter .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
#ctaOpen .ico-prize, #ctaOpen.is-prize .ico-lock { display: none; }
#ctaOpen.is-prize .ico-prize { display: block; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-hot), var(--red) 55%, #c10024);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .25) inset,
              0 12px 30px -8px rgba(228, 0, 43, .75), 0 0 0 1px rgba(255, 90, 110, .35);
}
.btn-primary::after,
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: btn-shine 4.6s var(--ease-out) infinite 1.5s;
}
@keyframes btn-shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 -2px 0 rgba(0, 0, 0, .25) inset, 0 16px 40px -8px rgba(228, 0, 43, .95), 0 0 0 1px rgba(255, 90, 110, .5); }

.btn-gold {
  color: #151618;
  background: linear-gradient(180deg, #e2e4e6, var(--gold) 45%, var(--gold-mid));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 -2px 0 rgba(42, 44, 48, .35) inset, 0 12px 28px -10px rgba(161, 166, 174, .8);
}
.btn-ghost {
  color: var(--cream);
  background: rgba(255, 244, 226, .06);
  box-shadow: 0 0 0 1px rgba(255, 244, 226, .22) inset;
}
.btn-ghost:hover { background: rgba(255, 244, 226, .12); }
.btn-sm { --h: 38px; padding: 0 16px; font-size: 13px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 10, 12, .6);
  box-shadow: 0 0 0 1px rgba(255, 244, 226, .16) inset;
  cursor: pointer;
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#soundToggle .ico-off { display: none; }
#soundToggle[aria-pressed="false"] .ico-on { display: none; }
#soundToggle[aria-pressed="false"] .ico-off { display: block; }

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  padding-top: env(safe-area-inset-top);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -24px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 4, 5, .92), rgba(11, 4, 5, .6) 60%, rgba(11, 4, 5, 0));
  opacity: 0;
  transition: opacity .35s;
}
.topbar.is-scrolled::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; text-decoration: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.brand-stripes { display: flex; gap: 4px; }
.brand-stripes i { display: block; width: 11px; height: 13px; background: var(--red); }
.brand-word { width: 64px; height: auto; }

.hero {
  position: relative;
  height: 100svh;
  min-height: 660px;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas: "title" "stage" "copy";
  padding: calc(var(--topbar) + env(safe-area-inset-top) + 2px) 16px 22px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/bg-mobile.webp") center / 100% 100% no-repeat;
  transform: scale(1.03);
}
.hero-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 42%, transparent 40%, rgba(11, 4, 5, .55) 75%, rgba(11, 4, 5, .9) 100%),
    linear-gradient(180deg, rgba(11, 4, 5, .55) 0%, transparent 18%, transparent 78%, var(--ink) 100%);
}

.hero-title { grid-area: title; text-align: center; position: relative; z-index: 3; }
.title { margin: 0; line-height: 1; display: flex; flex-direction: column; align-items: center; }
.tile {
  position: relative;
  width: .86em;
  height: 1.28em;
  overflow: hidden;
  border-radius: .12em;
  background: linear-gradient(180deg, #8d8d8d 0%, #f4f4f4 22%, #ffffff 50%, #e9e9e9 76%, #7c7c7c 100%);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(255, 255, 255, .18);
}
.tile.is-space { width: .38em; background: none; box-shadow: none; }
.tile-strip {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.tile-strip span { height: 1.28em; display: grid; place-items: center; }
.tile-strip b { font-size: .86em; font-weight: 900; color: #111; }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 28%, transparent 72%, rgba(0, 0, 0, .45));
  pointer-events: none;
}

.title-xmas,
.title-bucket {
  display: block;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 22px rgba(255, 255, 255, .45), 0 0 2px rgba(255, 255, 255, .8), 0 4px 18px rgba(228, 0, 43, .45);
}
.title { --t: clamp(34px, 12.4vw, 58px); }
.title-xmas { font-weight: 800; font-size: var(--t); letter-spacing: -.01em; line-height: .92; margin-top: .06em; }
.title-bucket { font-weight: 900; font-size: calc(var(--t) * 1.447); letter-spacing: -.01em; line-height: .84; }
.spark-i { position: relative; display: inline-block; }
.spark {
  position: absolute;
  left: 50%;
  top: -.42em;
  width: .9em;
  height: .9em;
  transform: translateX(-50%);
  fill: var(--red-hot);
  filter: drop-shadow(0 0 6px #ff2246) drop-shadow(0 0 16px rgba(255, 34, 70, .8));
  animation: twinkle 3.2s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { transform: translateX(-50%) scale(.85) rotate(0deg); opacity: .9; }
  45% { transform: translateX(-50%) scale(1.15) rotate(12deg); opacity: 1; }
  55% { transform: translateX(-50%) scale(.95) rotate(8deg); }
}

.hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.lead {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.12;
  color: rgba(255, 244, 226, .82);
  text-wrap: balance;
}
.lead span, .lead strong { display: block; }
.lead strong { margin-top: .5em; font-size: 1.2em; font-weight: 800; color: #fff; text-shadow: 0 2px 14px rgba(228, 0, 43, .55); }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.hero-actions .btn { width: min(100%, 340px); }
.hint-stub {
  --paper: #fbf6ec;
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 8px 16px 8px 10px;
  background: var(--paper);
  color: #1d0b05;
  border-radius: 4px;
  rotate: -2deg;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
  -webkit-mask:
    radial-gradient(circle 5px at 0 50%, transparent 97%, #000) 0 0 / 51% 12px repeat-y,
    radial-gradient(circle 5px at 100% 50%, transparent 97%, #000) 100% 0 / 51% 12px repeat-y;
  mask:
    radial-gradient(circle 5px at 0 50%, transparent 97%, #000) 0 0 / 51% 12px repeat-y,
    radial-gradient(circle 5px at 100% 50%, transparent 97%, #000) 100% 0 / 51% 12px repeat-y;
  animation: stamp .6s var(--ease-spring) both;
}
.stub-digit {
  display: grid;
  place-items: center;
  width: 40px;
  margin: 0 12px 0 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, #a3001b 0%, #f0103a 30%, #ff3a58 50%, #e4002b 70%, #9c001a 100%);
  box-shadow: 0 0 0 2px #717882, 0 0 0 3px #bdc0c5;
  color: var(--cream);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(80, 0, 10, .6);
}
.stub-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 12px;
  border-left: 2px dashed rgba(29, 11, 5, .22);
  text-align: left;
  line-height: 1.15;
}
.stub-body small { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.stub-body strong { font-size: 18px; font-weight: 900; text-transform: uppercase; }
.stub-body em { font-style: normal; font-size: 12px; color: rgba(29, 11, 5, .6); }
@keyframes stamp { from { opacity: 0; transform: scale(1.35) rotate(-6deg); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.8) translateY(6px); } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  opacity: .5;
  display: none;
}
.scroll-cue span {
  display: block;
  width: 12px;
  height: 12px;
  margin: 2px auto;
  border-right: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(45deg);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 50% { transform: translateY(5px) rotate(45deg); } }

.stage {
  grid-area: stage;
  position: relative;
  z-index: 2;
  container-type: size;
  will-change: transform;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  transform-origin: 50% 80%;
}

.case {
  --open: 0;
  position: relative;
  width: min(94cqw, calc(94cqh * 1.0430));
  aspect-ratio: 1600 / 1534;
  container-type: inline-size;
  margin-bottom: 2cqh;
}
.case-reflection {
  position: absolute;
  left: 0;
  right: 0;
  top: 92.96%;
  height: 29.01%;
  pointer-events: none;
}
.case-reflection img { width: 100%; height: 100%; }
.case-layer { position: absolute; inset: 0; pointer-events: none; }
.case-layer img { width: 100%; height: 100%; }

.shine {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.shine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 55%;
  background: linear-gradient(105deg, transparent 22%, rgba(236, 237, 239, .38) 50%, transparent 78%);
  transform: translateX(-110%);
  animation: sweep 7.5s var(--ease-out) infinite;
  animation-delay: inherit;
}
.case-base .shine { -webkit-mask-image: url("../assets/case-base.webp?v=5"); mask-image: url("../assets/case-base.webp?v=5"); animation-delay: .25s; }
.case-door .shine::before { animation-delay: 0s; }
.case-base .shine::before { animation-delay: .25s; }
.case-door-left .shine { -webkit-mask-image: url("../assets/case-door-left.webp"); mask-image: url("../assets/case-door-left.webp"); }
.case-door-right .shine { -webkit-mask-image: url("../assets/case-door-right.webp"); mask-image: url("../assets/case-door-right.webp"); animation-delay: .12s; }
.no-mask .shine { display: none; }
@keyframes sweep { 0%, 55% { transform: translateX(-110%); } 100% { transform: translateX(290%); } }

.case-aura {
  position: absolute;
  left: -45%;
  right: -45%;
  top: -20%;
  bottom: -5%;
  background:
    radial-gradient(closest-side at 50% 52%, rgba(255, 60, 70, .55), rgba(228, 0, 43, .18) 55%, transparent 100%);
  opacity: .75;
  animation: breathe 5s ease-in-out infinite;
  transition: opacity 1s;
}
@keyframes breathe { 50% { opacity: .95; } }

.case-rays {
  position: absolute;
  left: calc(50% - 90cqw);
  top: calc(40% - 90cqw);
  width: 180cqw;
  height: 180cqw;
  background: repeating-conic-gradient(from 0deg, rgba(204, 207, 211, .2) 0deg 5deg, transparent 5deg 18deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .55) 38%, transparent 72%);
  mask-image: radial-gradient(closest-side, #000 8%, rgba(0, 0, 0, .55) 38%, transparent 72%);
  opacity: 0;
  scale: .4;
  visibility: hidden;
  transition: opacity 1.2s ease, scale 1.6s var(--ease-out);
  animation: spin 40s linear infinite paused;
}
@keyframes spin { to { rotate: 360deg; } }

.mini-lock {
  position: absolute;
  left: 25.89%;
  top: 81.20%;
  width: 47.83%;
  height: 13.11%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 3;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}
.mini-lock:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.mini-windows {
  position: absolute;
  inset: 14% 5.5% 16%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5cqw;
}
.mini-pulse {
  position: absolute;
  inset: -10% -4%;
  border-radius: 10px;
  pointer-events: none;
  border: 2px solid rgba(199, 202, 206, .8);
  opacity: 0;
  animation: ring-pulse 2.4s ease-out infinite 1.6s;
}
@keyframes ring-pulse {
  0% { opacity: .9; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.12, 1.6); }
}

.case-base { z-index: 2; }

.seam {
  position: absolute;
  z-index: 6;
  left: calc(51.18% - .45cqw);
  top: 6%;
  height: 66%;
  width: .9cqw;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(231, 232, 234, 0), #eaebed 15%, #ffffff 50%, #eaebed 85%, rgba(231, 232, 234, 0));
  box-shadow: 0 0 2cqw 1cqw rgba(188, 192, 197, .85), 0 0 9cqw 4cqw rgba(151, 156, 164, .55);
  opacity: 0;
  scale: 1 .2;
  transition: opacity .35s, scale .6s var(--ease-out);
}

.fog { position: absolute; z-index: 7; left: -35%; right: -35%; bottom: 0; height: 45%; pointer-events: none; }
.fog i {
  position: absolute;
  bottom: 0;
  width: 55%;
  aspect-ratio: 1.6;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 210, 210, .34), rgba(255, 160, 160, .1) 55%, transparent);
  opacity: .25;
  animation: drift 14s ease-in-out infinite alternate;
}
.fog i:nth-child(1) { left: -5%; animation-duration: 16s; }
.fog i:nth-child(2) { left: 20%; bottom: -6%; animation-duration: 12s; animation-delay: -4s; }
.fog i:nth-child(3) { left: 45%; animation-duration: 18s; animation-delay: -8s; }
.fog i:nth-child(4) { left: 8%; bottom: 12%; width: 40%; opacity: .15; animation-delay: -2s; }
.fog i:nth-child(5) { left: 55%; bottom: 10%; width: 42%; opacity: .15; animation-delay: -10s; }
@keyframes drift { to { transform: translateX(9%) translateY(-3%) scale(1.08); } }

.case-tip {
  display: none;
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  width: max-content;
  margin-inline: auto;
  top: calc(100% + 1.5cqw);
  padding: 6px 13px 6px 31px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #151618;
  background: linear-gradient(180deg, #e2e4e6, var(--gold));
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
  pointer-events: none;
  animation: tip-in .6s var(--ease-spring) 2.4s backwards;
  transition: opacity .3s;
}
.tip-hand {
  position: absolute;
  left: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -9px;
  fill: #ecedef;
  stroke: #1d1f21;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: tap 1.6s ease-in-out infinite 3s;
}
@keyframes tap { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-3px); } 45% { transform: translateY(0) scale(.92); } }
.case-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -5px;
  width: 10px;
  height: 10px;
  translate: -50% 0;
  rotate: 45deg;
  background: #e2e4e6;
}
@keyframes tip-in { from { opacity: 0; transform: translateY(10px); } }

.case-shadow {
  position: absolute;
  left: 50%;
  bottom: 1cqh;
  width: min(96cqw, calc(96cqh * 1.0430));
  height: 7cqh;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent);
  z-index: -1;
}

.case.is-charging .seam { opacity: 1; scale: 1 1; }
.case.is-charging .case-aura { opacity: 1; }

.case.is-open .seam { opacity: 0; scale: 2.5 1.05; transition: opacity .3s, scale .3s var(--ease-out); }
.case.is-open .case-rays { opacity: 1; scale: 1; visibility: visible; animation-play-state: running; }
.case.is-open .case-aura { opacity: 1; background: radial-gradient(closest-side at 50% 45%, rgba(177, 182, 188, .7), rgba(228, 0, 43, .3) 55%, transparent 100%); }
.case.is-open .mini-pulse,
.case.is-open ~ .case-tip,
.case.is-open .case-tip { opacity: 0; animation: none; }
.fog { transform-origin: 50% 100%; }
.fog i { transition: opacity 1.6s ease-out; }
.case.is-open .fog { animation: fog-burst 2.2s var(--ease-out) forwards; }
.case.is-open .fog i { opacity: .42; }
@keyframes fog-burst { from { transform: scale(1); } to { transform: scale(1.4) translateY(-8%); } }

.stage.is-shaking { animation: shake .5s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(3px, 1px, 0); }
  30%, 50%, 70% { transform: translate3d(-5px, -1px, 0); }
  40%, 60% { transform: translate3d(5px, 1px, 0); }
}

.hint { padding: 28px 16px 8px; position: relative; z-index: 1; }
.hint-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding: 26px 22px;
  border-radius: 26px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(228, 0, 43, .35), transparent 55%),
    linear-gradient(160deg, #2a0a0d, #150607);
  box-shadow: 0 0 0 1px rgba(161, 166, 174, .22) inset, 0 30px 60px -30px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.hint-body h2 { margin: 0 0 8px; font-size: clamp(26px, 7vw, 40px); line-height: 1.02; font-weight: 900; text-transform: uppercase; }
.hint-body p { margin: 0 0 22px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.hint-visual { position: relative; display: grid; place-items: center; min-height: 170px; }
.mini-receipt {
  position: relative;
  width: 120px;
  padding: 14px 12px 18px;
  background: #fbf7ef;
  color: #222;
  border-radius: 4px 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  rotate: -6deg;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  -webkit-mask: radial-gradient(6px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
  mask: radial-gradient(6px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
  animation: receipt-float 4s ease-in-out infinite;
}
.mini-receipt b { font-weight: 900; font-style: italic; color: var(--red); font-size: 18px; text-align: center; }
.mini-receipt i { display: block; height: 6px; border-radius: 3px; background: #ccced2; }
.mini-receipt i.short { width: 60%; }
.mr-row { display: flex; align-items: center; gap: 8px; }
.mr-row i { flex: 1; }
.mr-row s { text-decoration: none; font-size: 9px; font-weight: 700; line-height: 1; color: #8a8a8a; font-variant-numeric: tabular-nums; }
.mr-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; border-top: 1px dashed #aaa; padding-top: 6px; }
.mr-tot em { font-style: normal; font-weight: 800; font-size: 10px; letter-spacing: .1em; }
.mr-tot strong { font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mr-bar {
  height: 18px;
  margin: 6px 4px 0;
  background: repeating-linear-gradient(90deg,
    #2a2a2a 0 1px, transparent 1px 3px, #2a2a2a 3px 5px, transparent 5px 6px,
    #2a2a2a 6px 7px, transparent 7px 10px, #2a2a2a 10px 13px, transparent 13px 14px,
    #2a2a2a 14px 15px, transparent 15px 17px);
  opacity: .85;
}
.mr-num { margin-top: -2px; font-size: 7px; letter-spacing: .25em; color: #999; text-align: center; }
@keyframes receipt-float { 50% { translate: 0 -8px; rotate: -3deg; } }
.hint-beam {
  position: absolute;
  left: calc(50% - 90px);
  top: 18%;
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: var(--red-hot);
  box-shadow: 0 0 14px 3px rgba(255, 34, 70, .8);
  animation: beam 2.6s ease-in-out infinite;
}
@keyframes beam { 50% { transform: translateY(102px); } }

.how { max-width: 980px; margin: 0 auto; padding: 46px 16px 20px; }
.how-title { margin: 0 0 18px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.how-steps li {
  position: relative;
  padding: 20px 20px 20px 74px;
  border-radius: 20px;
  background: rgba(255, 244, 226, .04);
  box-shadow: 0 0 0 1px rgba(255, 244, 226, .08) inset;
}
.how-num {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 40px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 900;
  font-size: 24px;
  color: var(--cream);
  background: linear-gradient(180deg, #5c0012, #e4002b 45%, #ff3150 52%, #b8001f 60%, #4a000d);
  box-shadow: 0 0 0 2px #636971, 0 0 0 3px #bec2c7;
}
.how-steps h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; text-transform: uppercase; }
.how-steps p { margin: 0; color: var(--muted); font-size: 15px; }

.footer { max-width: 980px; margin: 0 auto; padding: 26px 16px 90px; color: rgba(255, 244, 226, .5); font-size: 13px; }
.footer p { margin: 0 0 6px; }
.footer-note { font-style: italic; }
.footer .footer-prize { max-width: 760px; margin-bottom: 20px; line-height: 1.5; }

.lock-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}
.lock-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 50% 45%, rgba(70, 8, 14, .72), rgba(8, 2, 3, .95));
}
.lock-shell {
  position: relative;
  width: min(100%, 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.lock-close { position: absolute; top: -6px; right: 0; z-index: 2; }
.lock-head h2 { margin: 0; font-size: clamp(26px, 7vw, 40px); line-height: 1; font-weight: 900; text-transform: uppercase; }
.lock-sub { margin: 10px auto 0; max-width: 46ch; color: rgba(255, 244, 226, .86); font-size: 16px; line-height: 1.4; text-wrap: balance; }
.lock-sub span { display: block; }
.lock-sub span:first-child { color: #fff; font-family: var(--font-accent); font-style: italic; font-weight: 700; font-size: 1.18em; margin-bottom: 2px; }
.lock-head { padding: 0 44px; }

.plate {
  position: relative;
  width: 100%;
  padding: 22px 14px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 26%, rgba(0, 0, 0, .18) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .045) 1px 3px),
    linear-gradient(100deg, #4a4f55 0%, #a4a9b0 18%, #e1e2e4 31%, #828993 48%, #bdc0c5 66%, #5e646d 86%, #3b3e43 100%);
  box-shadow:
    inset 0 2px 0 rgba(236, 237, 239, .8),
    inset 0 -3px 0 rgba(37, 40, 43, .55),
    0 0 0 1px #26292c,
    0 0 0 5px rgba(210, 212, 215, .12),
    0 40px 90px -20px rgba(0, 0, 0, .8),
    0 0 120px rgba(151, 156, 164, .18);
  transform-origin: 50% 50%;
}
.screw {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e9eaec, #747c86 55%, #313439);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .5);
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: rgba(28, 30, 32, .7); rotate: 35deg; }
.screw.tl { left: 10px; top: 10px; } .screw.tr { right: 10px; top: 10px; }
.screw.bl { left: 10px; bottom: 10px; } .screw.br { right: 10px; bottom: 10px; }
.plate-engrave {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(36, 39, 42, .78);
  text-shadow: 0 1px 0 rgba(231, 232, 234, .7);
}

.rings { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ring { --face: 54px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.ring-step {
  width: 100%;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: rgba(34, 37, 40, .12);
  color: rgba(29, 31, 33, .8);
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.ring-step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ring-step:hover { background: rgba(34, 37, 40, .22); }
.ring-step:active { transform: scale(.94); }
.ring-window {
  position: relative;
  width: 100%;
  height: calc(var(--face) * 2.3);
  border-radius: 12px;
  overflow: hidden;
  background: #2a0207;
  perspective: 420px;
  cursor: grab;
  touch-action: none;
  outline: none;
  box-shadow:
    0 0 0 3px #26292c,
    0 0 0 4px rgba(220, 222, 225, .7),
    inset 0 6px 10px rgba(0, 0, 0, .7);
  transition: box-shadow .3s;
}
.ring-window:active { cursor: grabbing; }
.ring-window:focus-visible { box-shadow: 0 0 0 3px #26292c, 0 0 0 6px #fff, inset 0 6px 10px rgba(0, 0, 0, .7); }
.drum {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: var(--face);
  margin-top: calc(var(--face) / -2);
  transform-style: preserve-3d;
  will-change: transform;
}
.face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: linear-gradient(180deg, #a3001b 0%, #f0103a 30%, #ff3a58 50%, #e4002b 70%, #9c001a 100%);
  border-top: 1px solid rgba(255, 140, 150, .55);
  border-bottom: 1px solid rgba(60, 0, 8, .6);
  font-weight: 800;
  font-size: calc(var(--face) * .64);
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(80, 0, 10, .6), 0 0 1px rgba(0, 0, 0, .4);
  font-variant-numeric: tabular-nums;
}
.ring-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .45), transparent 18%, transparent 82%, rgba(0, 0, 0, .45)),
    linear-gradient(180deg, rgba(20, 0, 3, .92) 0%, rgba(20, 0, 3, 0) 34%, rgba(255, 255, 255, .12) 47%, rgba(255, 255, 255, 0) 55%, rgba(20, 0, 3, 0) 66%, rgba(20, 0, 3, .92) 100%);
}
.ring-marker { position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px; border: 6px solid transparent; z-index: 2; pointer-events: none; }
.ring-marker.l { left: 0; border-left-color: #e4e5e7; }
.ring-marker.r { right: 0; border-right-color: #e4e5e7; }
.ring-label {
  min-height: 2.5em;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(30, 32, 34, .9);
  text-shadow: 0 1px 0 rgba(231, 232, 234, .6);
  overflow-wrap: anywhere;
}
.ring-lock {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  place-items: center;
  background: var(--gold-hi);
  box-shadow: 0 0 8px rgba(193, 197, 202, .9);
}
.ring-lock svg { width: 11px; height: 11px; fill: #2c2f33; }
.ring.is-locked .ring-lock { display: grid; }
.ring.is-locked .ring-window { cursor: not-allowed; box-shadow: 0 0 0 3px #26292c, 0 0 0 5px #c9ccd0, 0 0 22px rgba(177, 182, 188, .9), inset 0 6px 10px rgba(0, 0, 0, .7); }
.ring.is-locked .ring-step { opacity: .3; pointer-events: none; }
.ring.is-checking .ring-window { box-shadow: 0 0 0 3px #26292c, 0 0 0 5px #fff, 0 0 26px rgba(255, 255, 255, .85), inset 0 6px 10px rgba(0, 0, 0, .7); }
.rings.is-correct .ring-window { box-shadow: 0 0 0 3px #26292c, 0 0 0 5px #c9ccd0, 0 0 30px rgba(177, 182, 188, 1), inset 0 6px 10px rgba(0, 0, 0, .7); }
.rings.is-wrong .ring-window { box-shadow: 0 0 0 3px #26292c, 0 0 0 5px #ff4d6a, 0 0 22px rgba(255, 34, 70, .9), inset 0 6px 10px rgba(0, 0, 0, .7); }
.plate.is-wrong { animation: plate-shake .55s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes plate-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px) rotate(-.4deg); }
  40%, 60% { transform: translateX(8px) rotate(.4deg); }
}

.lock-feedback { margin: 0; min-height: 1.5em; font-family: var(--font-accent); font-style: italic; font-size: 18px; font-weight: 700; color: #ffb3bf; }
.lock-feedback.is-info { color: var(--gold-hi); }
.lock-feedback.in { animation: fb-in .4s var(--ease-out); }
@keyframes fb-in { from { opacity: 0; transform: translateY(6px); } }
.lock-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.btn-crack { --h: 62px; width: min(100%, 360px); font-size: 22px; letter-spacing: .08em; }
.btn-crack[disabled] { filter: saturate(.6) brightness(.85); pointer-events: none; }
.lock-meta { margin: 0; font-size: 13px; color: var(--muted); }

.win {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  display: flex;
  justify-content: center;
  padding: 0 10px 10px;
  pointer-events: none;
}
.win-card {
  pointer-events: auto;
  position: relative;
  width: min(100%, 460px);
  max-height: 64svh;
  overflow: auto;
  padding: 24px 22px 20px;
  border-radius: 26px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(177, 182, 188, .2), transparent 60%),
    linear-gradient(180deg, rgba(48, 8, 12, .97), rgba(20, 4, 6, .985));
  box-shadow: 0 0 0 1px rgba(199, 202, 206, .35) inset, 0 -20px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(156, 161, 169, .2);
  animation: sheet-in .8s var(--ease-spring) both;
}
@keyframes sheet-in { from { transform: translateY(110%); } }
.win-title {
  margin: 0 0 10px;
  font-size: clamp(44px, 13vw, 64px);
  line-height: .92;
  font-weight: 900;
  text-transform: uppercase;
  filter: drop-shadow(0 4px 18px rgba(151, 156, 164, .45));
}
.win-title span {
  display: inline-block;
  background: linear-gradient(180deg, #f3f4f5 0%, #c9ccd0 40%, #899099 70%, #dfe1e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: word-in .7s var(--ease-spring) both .25s;
}
.win-title span + span { animation-delay: .4s; }
@keyframes word-in { from { opacity: 0; transform: translateY(40%) rotate(-6deg) scale(.8); } }
.win-desc { margin: 0 0 16px; color: rgba(255, 244, 226, .88); font-size: 16px; }
.win-desc b { color: #fff; }
.win-code {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 244, 226, .05);
  border: 1.5px dashed rgba(199, 202, 206, .55);
  margin-bottom: 14px;
}
.win-code-label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.win-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.win-code strong { white-space: nowrap; font-size: clamp(20px, 6vw, 26px); font-weight: 900; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.win-steps { margin: 0 0 16px; color: rgba(255, 244, 226, .85); font-size: 15px; }
.win-steps summary { cursor: pointer; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.win-steps ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.win-steps em { color: var(--muted); }
.win-steps .win-note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: rgba(255, 244, 226, .68); }
.win-actions { display: grid; }
.win-actions .btn { font-size: 15px; padding: 0 20px; white-space: nowrap; }

.popup { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 16px; }
.popup.reward-pop { z-index: 75; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(8, 2, 3, .84); animation: fade-in .3s both; }
@keyframes fade-in { from { opacity: 0; } }
.popup-card {
  position: relative;
  width: min(100%, 400px);
  padding: 30px 24px 24px;
  border-radius: 26px;
  text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(228, 0, 43, .4), transparent 60%), linear-gradient(180deg, #2a0a0d, #140507);
  box-shadow: 0 0 0 1px rgba(199, 202, 206, .3) inset, 0 40px 80px rgba(0, 0, 0, .7);
  animation: pop-in .55s var(--ease-spring) both;
}
.popup-icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #e2e4e6, var(--gold-mid)); color: #25272a; box-shadow: 0 0 30px rgba(172, 177, 183, .5); }
.popup-icon svg { width: 34px; height: 34px; fill: currentColor; }
.popup-card h2 { margin: 0 0 10px; font-size: 26px; line-height: 1.05; font-weight: 900; text-transform: uppercase; }
.popup-card p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.popup-timer { color: #fff; font-variant-numeric: tabular-nums; }

.scan {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: #050203;
  animation: fade-in .35s both;
}
.scan-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top)); }
.scan-top h2 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.scan-top span { width: 44px; }
.scan-view { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 0 16px; background: radial-gradient(60% 50% at 50% 45%, #2b1d18, #050203); }
.scan-view { min-height: 0; container-type: size; }
.scan.is-ok .scan-view { padding-bottom: 30px; }
.scan-frame { position: relative; width: min(78vw, 300px, (100cqh - 64px) * .75); aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden; border-radius: 18px; }
.scan-frame .c { position: absolute; width: 34px; height: 34px; border: 4px solid #fff; z-index: 2; }
.c.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 18px; }
.c.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 18px; }
.c.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 18px; }
.c.br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 18px; }
.scan.is-ok .scan-frame .c { border-color: #4dff9a; transition: border-color .3s; }
.receipt {
  width: 74%;
  padding: 16px 14px 22px;
  background: #fbf7ef;
  color: #222;
  font-size: 11px;
  line-height: 1.5;
  rotate: -3deg;
  translate: 0 120%;
  box-shadow: 0 30px 50px rgba(0, 0, 0, .6);
  -webkit-mask: radial-gradient(6px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
  mask: radial-gradient(6px at 50% 100%, transparent 98%, #000) 0 0 / 12px 100% repeat-x;
}
.scan.is-scanning .receipt { animation: receipt-in 1s var(--ease-out) .2s both; }
@keyframes receipt-in { from { translate: 0 120%; rotate: 8deg; } to { translate: 0 0; rotate: -3deg; } }
.receipt-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px dashed #aaa; color: #666; }
.receipt-head b { font-size: 22px; font-weight: 900; font-style: italic; color: var(--red); line-height: 1.1; }
.receipt-row { display: flex; justify-content: space-between; gap: 8px; }
.receipt-row.total { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #aaa; font-weight: 900; font-size: 13px; color: #000; }
.receipt-code { height: 34px; margin-top: 10px; background: repeating-linear-gradient(90deg, #222 0 2px, transparent 2px 4px, #222 4px 5px, transparent 5px 8px, #222 8px 11px, transparent 11px 12px); }
.scan-laser {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 10%;
  height: 3px;
  z-index: 3;
  border-radius: 3px;
  background: #ff2246;
  box-shadow: 0 0 16px 4px rgba(255, 34, 70, .85);
  opacity: 0;
}
.scan.is-scanning .scan-laser { opacity: 1; animation: laser 1.1s ease-in-out 1.1s 3 alternate both; }
@keyframes laser { from { top: 10%; } to { top: 88%; } }
.scan.is-ok .scan-laser { opacity: 0; transition: opacity .2s; }
.scan-status { margin: 0; font-weight: 700; color: var(--muted); }
.scan-result {
  padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #2a0a0d, #140507);
  box-shadow: 0 0 0 1px rgba(199, 202, 206, .25) inset;
  text-align: center;
  animation: sheet-in .6s var(--ease-spring) both;
}
.scan-ok { width: 48px; height: 48px; margin: -46px auto 10px; border-radius: 50%; display: grid; place-items: center; background: #19c46b; color: #fff; box-shadow: 0 0 0 6px #140507, 0 0 30px rgba(25, 196, 107, .6); }
.scan-ok svg { width: 26px; height: 26px; }
.scan-result h3 { margin: 0 0 6px; font-size: 24px; line-height: 1.15; font-weight: 900; text-wrap: balance; }
.scan-result .hint-n { color: #19c46b; }
.scan-result .hint-p { color: #ff3b5c; }
@media (max-width: 759px) {
  .scan-result h3 { font-size: 20px; }
  .scan-result .hint-what { display: block; }
}
.gold { color: var(--gold); }
.scan-note { margin: 0 0 18px; color: var(--muted); font-size: 14px; text-wrap: balance; }
.scan-result .btn { width: min(100%, 340px); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  translate: -50% 20px;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 244, 226, .96);
  color: #1d0a04;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, translate .4s var(--ease-spring);
}
.toast.show { opacity: 1; translate: -50% 0; }

@media (min-width: 760px) {
  .hint-card { grid-template-columns: 220px 1fr; align-items: center; padding: 34px 40px; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .ring { --face: 64px; }
  .rings { gap: 12px; }
  .ring-label { font-size: 12px; }
  .plate { padding: 28px 26px 22px; }
  .plate-engrave { top: 13px; font-size: 11px; }
  .win { inset: 0 auto 0 0; align-items: center; padding: 0 0 0 clamp(16px, 5vw, 80px); }
  .win-card { width: 440px; max-height: 86svh; animation-name: card-in; }
  @keyframes card-in { from { opacity: 0; transform: translateX(-40px) scale(.96); } }
}

@media (min-width: 1024px) {
  :root { --topbar: 76px; }
  .topbar { padding: 0 clamp(20px, 4vw, 56px); }
  .brand-word { width: 82px; }
  .hero {
    height: 100vh;
    min-height: 700px;
    grid-template-columns: minmax(400px, 1fr) minmax(0, 1.15fr);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: ". stage" "title stage" "copy stage" ". stage";
    column-gap: 2vw;
    padding: var(--topbar) clamp(20px, 5vw, 80px) 28px;
  }
  .hero-bg-img { background-image: url("../assets/bg-desktop.webp"); }
  .hero-bg-vignette {
    background:
      linear-gradient(90deg, rgba(8, 3, 4, .8) 0%, rgba(8, 3, 4, .55) 26%, rgba(8, 3, 4, 0) 50%),
      radial-gradient(120% 70% at 50% 42%, transparent 40%, rgba(11, 4, 5, .55) 75%, rgba(11, 4, 5, .9) 100%),
      linear-gradient(180deg, rgba(11, 4, 5, .55) 0%, transparent 18%, transparent 78%, var(--ink) 100%);
  }
  .hero-title { text-align: left; align-self: end; }
  .title { align-items: flex-start; }
  .title { --t: clamp(52px, 5.9vw, 96px); }
  .hero-copy {
    --push: clamp(20px, 5.5vh, 60px);
    align-items: flex-start; text-align: left; align-self: start; padding-top: 44px; gap: 34px;
    margin-bottom: calc(-6px - 1.35 * var(--push));
  }
  .hero-copy .hero-actions { margin-top: calc(1.35 * var(--push)); }
  .lead { max-width: none; }
  .hero-actions { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; --h: 60px; padding: 0 34px; font-size: 18px; }
  .stage { align-self: stretch; }
  .case { width: min(100cqw, calc(80cqh * 1.0430)); margin-bottom: 6cqh; }
  .case-shadow { bottom: 5cqh; }
  .case-tip { display: block; font-size: 13px; }
  .scroll-cue { display: block; }

  .win-title { font-size: 56px; }
  .hint { padding-top: 60px; }
}

@media (max-height: 700px) and (max-width: 759px) {
  .title { --t: 36px; }
  .lead { font-size: 14px; }
  .hero-copy { gap: 10px; }
}

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

.lbl-short { display: none; }
@media (max-width: 519px) {
  .ring-label { font-size: 8.5px; font-weight: 800; letter-spacing: 0; line-height: 1.2; min-height: 2.4em; overflow-wrap: normal; text-wrap: balance; }
  .plate { padding: 24px 10px 16px; }
  .screw.tl, .screw.tr { top: 9px; }
  .rings { gap: 5px; }
  .lock-head { padding: 0 40px; }
  .lock-head h2 { font-size: 27px; }
  .lock-sub { font-size: 14px; }
}
@media (max-width: 359px) { .ring-label { font-size: 7.8px; } }

@media (max-width: 759px) {
  .stage { transition: translate 1s var(--ease-out); }
  .hero.is-won .stage { translate: 0 -21svh; }
  .hero.is-won .hero-title,
  .hero.is-won .hero-copy { visibility: hidden; pointer-events: none; }
  .win-card { max-height: 54svh; padding: 18px 18px 16px; }
  .win-title { font-size: 40px; margin-bottom: 8px; }
  .win-desc { font-size: 15px; margin-bottom: 12px; }
  .win-code { padding: 12px 14px; }
  .win-code strong { font-size: 20px; letter-spacing: .03em; }
  .plate { padding-bottom: 30px; }
}

.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after,
body.modal-open main *, body.modal-open main *::before, body.modal-open main *::after {
  animation-play-state: paused !important;
}

.lock-modal, .stage {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.lock-modal img, .stage img { -webkit-user-drag: none; }

.drum-flat { display: none; position: absolute; left: 0; right: 0; top: 50%; height: var(--face); margin-top: calc(var(--face) / -2); }
.drum-flat .face { backface-visibility: visible; -webkit-backface-visibility: visible; }
.drum-flat .f-up { transform: translateY(calc(var(--f-off, 50px) * -1)) scaleY(var(--f-sc, .85)); }
.drum-flat .f-down { transform: translateY(var(--f-off, 50px)) scaleY(var(--f-sc, .85)); }
.ring.is-flat .drum { visibility: hidden; }
.ring.is-flat .drum-flat { display: block; }

@media (min-width: 1024px) {
  .lead { font-size: 18px; }
  .hero-actions { align-items: center; gap: 18px; }
}
@media (max-width: 759px) {
  .lead { font-size: 14px; }
  .lock-modal { padding: 12px; }
}

.btn-hint {
  color: var(--gold-hi);
  background: rgba(161, 166, 174, .08);
  box-shadow: 0 0 0 1.5px rgba(161, 166, 174, .6) inset;
}
.btn-hint:hover { background: rgba(161, 166, 174, .16); box-shadow: 0 0 0 1.5px rgba(161, 166, 174, .9) inset; }
.btn-hint svg { fill: none; }

.hint-modal { position: fixed; inset: 0; z-index: 62; display: grid; place-items: center; padding: 104px 16px 16px; overflow-y: auto; }
.hm-visual .hint-beam { top: 14%; }
.hint-modal-backdrop { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% 45%, rgba(70, 8, 14, .78), rgba(8, 2, 3, .94)); animation: fade-in .3s both; }
.hint-modal-card {
  position: relative;
  width: min(100%, 420px);
  padding: 0 26px 24px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(228, 0, 43, .42), transparent 60%),
    linear-gradient(180deg, #2a0a0d, #140507);
  box-shadow: 0 0 0 1px rgba(199, 202, 206, .28) inset, 0 40px 80px rgba(0, 0, 0, .7);
  animation: hm-in .6s var(--ease-spring) both;
}
@keyframes hm-in { from { opacity: 0; transform: translateY(28px) scale(.94); } }
.hint-modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; z-index: 2; }
.hm-visual {
  position: relative;
  height: 214px;
  margin: -104px auto 10px;
  display: grid;
  place-items: center;
  animation: hm-receipt .8s var(--ease-spring) .12s both;
}
@keyframes hm-receipt { from { opacity: 0; transform: translateY(-36px) rotate(8deg); } }
.hint-modal-card h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}
.hm-lead { margin: 0 auto 18px; max-width: 32ch; font-size: 16px; line-height: 1.4; color: rgba(255, 244, 226, .82); }
.hm-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  text-align: left;
  border-radius: 18px;
  background: rgba(255, 244, 226, .05);
  box-shadow: 0 0 0 1px rgba(255, 244, 226, .08) inset;
}
.hm-steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--cream); }
.hm-num {
  flex: none;
  width: 26px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--cream);
  background: linear-gradient(180deg, #5c0012, #e4002b 45%, #ff3150 52%, #b8001f 60%, #4a000d);
  box-shadow: 0 0 0 1.5px #636971, 0 0 0 2.5px #bec2c7;
}
.hm-scan { width: 100%; }
.hm-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.hm-inapp { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(255, 244, 226, .07); box-shadow: 0 0 0 1px rgba(199, 202, 206, .22) inset; font-size: 13px; line-height: 1.4; color: var(--cream); text-wrap: balance; }

@media (max-width: 1023px) {
  .hero-actions .btn-hint { --h: 46px; font-size: 15px; }
}
@media (min-width: 1024px) {
  .hero-actions .btn-hint { padding: 0 26px; font-size: 16px; }
}

.win-dl { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; z-index: 2; color: var(--gold-hi); }
.win-dl svg { fill: none; width: 20px; height: 20px; }
.win-dl:hover { background: rgba(161, 166, 174, .18); }
.win-dl.is-busy svg { animation: dl-bob .7s ease-in-out infinite; }
@keyframes dl-bob { 50% { transform: translateY(3px); } }

.win-capture-host { position: fixed; left: -10000px; top: 0; width: 460px; pointer-events: none; }
.win-capture-host .win-card {
  width: 460px;
  max-height: none;
  overflow: visible;
  animation: none;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(177, 182, 188, .2), transparent 60%),
    linear-gradient(180deg, #300a0d, #140406);
}
.win-capture-host *, .win-capture-host *::before, .win-capture-host *::after { animation: none !important; transition: none !important; }
.win-capture-host .win-code-row { justify-content: flex-start; }
.win-capture-host .win-steps summary { list-style: none; cursor: default; }
.win-capture-host .win-steps summary::-webkit-details-marker { display: none; }

.hm-edge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 14px;
  text-align: left;
  font-size: 14px;
  line-height: 1.35;
  color: var(--gold-hi);
  background: rgba(161, 166, 174, .1);
  box-shadow: 0 0 0 1px rgba(161, 166, 174, .4) inset;
}
.hm-edge svg { flex: none; width: 20px; height: 20px; fill: var(--gold); color: var(--gold); }
.hm-edge b { color: #fff; }

.hero-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -30%;
  right: -30%;
  top: -35%;
  bottom: -35%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(4, 1, 2, .78), rgba(4, 1, 2, .45) 55%, transparent 100%);
}

.mini-pulse { border-color: rgba(255, 255, 255, .85); }

.plate {
  background:
    linear-gradient(180deg, rgba(255, 240, 242, .22), rgba(255, 240, 242, 0) 18%, rgba(37, 14, 23, 0) 72%, rgba(37, 14, 23, .3) 100%),
    url("../assets/metal-plate.webp") center / cover;
  box-shadow:
    inset 0 2px 0 rgba(255, 240, 244, .85),
    inset 0 -3px 0 rgba(37, 14, 23, .6),
    0 0 0 1px #1c0a10,
    0 0 0 5px rgba(241, 196, 206, .08),
    0 40px 90px -20px rgba(0, 0, 0, .8),
    0 0 120px rgba(228, 0, 43, .35);
}
.screw { background: radial-gradient(circle at 35% 30%, #fff5f6, #ce989b 55%, #3c1d26); }
.screw::after { background: rgba(37, 14, 23, .75); }
.ring-step { background: rgba(37, 14, 23, .2); color: rgba(255, 236, 240, .9); }
.ring-step:hover { background: rgba(37, 14, 23, .34); }
.ring-window { background: #14070b; box-shadow: 0 0 0 3px #1c0a10, 0 0 0 4px rgba(251, 225, 230, .6), inset 0 6px 10px rgba(0, 0, 0, .7); }
.ring-window:focus-visible { box-shadow: 0 0 0 3px #1c0a10, 0 0 0 6px #ff3a52, inset 0 6px 10px rgba(0, 0, 0, .7); }
.face {
  background:
    url("../assets/metal-brush.webp") 0 0 / 64px auto,
    linear-gradient(180deg, #3c1d26 0%, #9e6a6e 22%, #f1c4ce 40%, #fbf5f4 50%, #ce989b 64%, #9e6a6e 80%, #3c1d26 100%);
  border-top: 1px solid rgba(255, 240, 244, .55);
  border-bottom: 1px solid rgba(37, 14, 23, .5);
  color: #1b080d;
  -webkit-text-stroke: 0;
  text-shadow: 0 2px 0 rgba(255, 238, 241, .55);
}
.ring-shade {
  background:
    linear-gradient(90deg, rgba(20, 6, 10, .45), transparent 18%, transparent 82%, rgba(20, 6, 10, .45)),
    linear-gradient(180deg, rgba(14, 4, 8, .92) 0%, rgba(14, 4, 8, 0) 34%, rgba(255, 240, 244, .16) 47%, rgba(255, 240, 244, 0) 55%, rgba(14, 4, 8, 0) 66%, rgba(14, 4, 8, .92) 100%);
}
.ring-marker.l { border-left-color: #ff2a46; }
.ring-marker.r { border-right-color: #ff2a46; }
.ring-label { color: #fff3f5; text-shadow: 0 1px 2px rgba(37, 14, 23, .85), 0 0 8px rgba(37, 14, 23, .5); }
.ring-lock { background: #e4002b; box-shadow: 0 0 8px rgba(228, 0, 43, .9); }
.ring-lock svg { fill: #fff; }
.ring.is-locked .ring-window { box-shadow: 0 0 0 3px #1c1f23, 0 0 0 5px #ff3a52, 0 0 22px rgba(228, 0, 43, .85), inset 0 6px 10px rgba(0, 0, 0, .7); }
.ring.is-locked .ring-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 50% 50%, rgba(255, 40, 70, .34), rgba(200, 0, 35, .42));
  mix-blend-mode: multiply;
}
.ring.is-checking .ring-window { box-shadow: 0 0 0 3px #1c1f23, 0 0 0 5px #fff, 0 0 26px rgba(255, 255, 255, .85), inset 0 6px 10px rgba(0, 0, 0, .7); }
.rings.is-correct .ring-window { box-shadow: 0 0 0 3px #1c1f23, 0 0 0 5px #fff, 0 0 30px rgba(255, 255, 255, .95), 0 0 60px rgba(228, 0, 43, .6), inset 0 6px 10px rgba(0, 0, 0, .7); }
.rings.is-wrong .ring-window { box-shadow: 0 0 0 3px #1c1f23, 0 0 0 5px #ff4d6a, 0 0 22px rgba(255, 34, 70, .9), inset 0 6px 10px rgba(0, 0, 0, .7); }

.seam {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 10%, #ffffff 50%, #fff 90%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 1.2cqw .5cqw #fff, 0 0 4.5cqw 1.8cqw rgba(255, 196, 204, .9), 0 0 15cqw 6cqw rgba(228, 0, 43, .55);
}
.seam::before {
  content: "";
  position: absolute;
  top: -3%;
  bottom: -3%;
  left: -9cqw;
  right: -9cqw;
  background: radial-gradient(closest-side, rgba(255, 246, 246, .78), rgba(255, 130, 145, .36) 45%, rgba(228, 0, 43, 0) 100%);
}
.case.is-charging .seam { animation: seam-charge .8s linear both; }
@keyframes seam-charge {
  0% { opacity: 0; } 12% { opacity: .75; } 22% { opacity: .3; } 40% { opacity: 1; }
  50% { opacity: .55; } 68% { opacity: 1; } 76% { opacity: .8; } 100% { opacity: 1; }
}

.hinge {
  position: absolute;
  z-index: 3;
  width: .7cqw;
  border-radius: 99px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 18%, #fff 80%, rgba(255, 255, 255, 0));
  box-shadow: 0 0 .8cqw .25cqw rgba(255, 240, 242, .95), 0 0 2.6cqw .8cqw rgba(255, 90, 110, .6);
  opacity: 0;
  transition: opacity .3s;
}
.hinge-l { left: calc(15.14% - .8cqw); top: calc(39.07% - 31.61cqw); height: 63.22cqw; rotate: -10.19deg; }
.hinge-r { left: calc(84.84% + .1cqw); top: calc(38.9% - 31.36cqw); height: 62.71cqw; rotate: 9.95deg; }
.case.is-charging .hinge { opacity: 1; transition: opacity .4s .3s; }
.case.is-open .hinge { opacity: 0; transition: opacity .2s; }
  100% { opacity: 0; scale: 1 1; }
}
.case-rays { background: repeating-conic-gradient(from 0deg, rgba(255, 236, 232, .18) 0deg 5deg, transparent 5deg 18deg); }
.case.is-open .case-aura { background: radial-gradient(closest-side at 50% 45%, rgba(255, 130, 130, .6), rgba(228, 0, 43, .35) 55%, transparent 100%); }

.case-door {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  will-change: transform, opacity;
  transform: skewX(0deg) scaleX(1);
  transition: transform 1s cubic-bezier(.3, 0, .2, 1), opacity .35s ease-out;
}
.case-door img { width: 100%; height: 100%; }
.case-door-left { left: 8.74%; top: 0; width: 42.62%; height: 73.72%; transform-origin: 17.1% 60%; }
.case-door-right { left: 51.18%; top: .09%; width: 40.49%; height: 73.21%; transform-origin: 81% 60%; z-index: 5; }
.case.is-open .case-door { opacity: 0; transition: transform 1.1s cubic-bezier(.55, 0, .25, 1), opacity .4s ease-in .7s; }
.case.is-open .case-door-left { transform: skewX(9.69deg) scaleX(.05); }
.case.is-open .case-door-right { transform: skewX(-9.46deg) scaleX(.05); }
.case-door .shade {
  position: absolute;
  inset: 0;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  opacity: 0;
  transition: opacity .5s ease-out;
}
.case-door-left .shade {
  -webkit-mask-image: url("../assets/case-door-left.webp");
  mask-image: url("../assets/case-door-left.webp");
  background: linear-gradient(90deg, rgba(12, 4, 6, .25), rgba(12, 4, 6, .75));
}
.case-door-right .shade {
  -webkit-mask-image: url("../assets/case-door-right.webp");
  mask-image: url("../assets/case-door-right.webp");
  background: linear-gradient(270deg, rgba(12, 4, 6, .25), rgba(12, 4, 6, .75));
}
.case.is-open .case-door .shade { opacity: 1; transition: opacity .9s ease-in; }
.no-mask .shade { display: none; }

.case-glow {
  position: absolute;
  z-index: 3;
  left: 18%;
  right: 18%;
  top: -4%;
  height: 80%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 228, 210, .5), rgba(255, 90, 90, .22) 50%, transparent 100%);
  opacity: 0;
}
.case.is-open .case-glow { animation: reveal-glow 1.9s ease-out .25s; }
@keyframes reveal-glow { 0% { opacity: 0; } 25% { opacity: .8; } 100% { opacity: 0; } }

@media (max-width: 1023px) {
  .hero-actions .btn.is-done { font-size: 15px; white-space: nowrap; padding-inline: 16px; }
}

.case-smoke { position: absolute; inset: -30% -30% 18%; pointer-events: none; opacity: .62; }
.case-smoke i {
  position: absolute;
  width: 72cqw;
  aspect-ratio: 1;
  background: url("../assets/smoke-a.webp") center / 100% 100% no-repeat;
  opacity: 0;
  animation: smoke-rise 19s linear infinite;
}
.case-smoke i:nth-child(1) { left: 6%; top: 34%; animation-delay: -3s; }
.case-smoke i:nth-child(2) { left: 46%; top: 30%; background-image: url("../assets/smoke-b.webp"); animation-duration: 23s; animation-delay: -12s; animation-name: smoke-rise-r; }
.case-smoke i:nth-child(3) { left: 26%; top: 40%; animation-duration: 27s; animation-delay: -19s; animation-name: smoke-rise-r; }
.case-smoke i:nth-child(4) { left: 52%; top: 42%; background-image: url("../assets/smoke-b.webp"); animation-duration: 21s; animation-delay: -7s; }
@keyframes smoke-rise {
  0% { opacity: 0; transform: translate3d(0, 14cqw, 0) scale(.8) rotate(-4deg); }
  25% { opacity: 1; }
  70% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(-6cqw, -24cqw, 0) scale(1.3) rotate(6deg); }
}
@keyframes smoke-rise-r {
  0% { opacity: 0; transform: translate3d(0, 14cqw, 0) scale(-.85, .85) rotate(3deg); }
  25% { opacity: 1; }
  70% { opacity: .8; }
  100% { opacity: 0; transform: translate3d(6cqw, -26cqw, 0) scale(-1.3, 1.3) rotate(-6deg); }
}
.case.is-open .case-smoke { opacity: .7; transition: opacity 1.5s; }

.case-steam {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: -23cqw;
  height: 44cqw;
  pointer-events: none;
  opacity: .85;
  transition: transform 1.4s var(--ease-out), opacity 1.4s;
}
.case-steam i {
  position: absolute;
  bottom: 0;
  width: 50cqw;
  aspect-ratio: 1;
  margin-left: -25cqw;
  background: url("../assets/smoke-a.webp") center / 100% 100% no-repeat;
  transform-origin: 50% 80%;
  opacity: 0;
  animation: steam-lift 15s linear infinite;
}
.case-steam i:nth-child(1) { left: 34%; animation-delay: -2s; }
.case-steam i:nth-child(2) { left: 58%; background-image: url("../assets/smoke-b.webp"); animation-duration: 18s; animation-delay: -9s; animation-name: steam-lift-r; }
.case-steam i:nth-child(3) { left: 47%; animation-duration: 21s; animation-delay: -15s; animation-name: steam-lift-r; }
@keyframes steam-lift {
  0% { opacity: 0; transform: translate3d(0, 12cqw, 0) scale(.65) rotate(-3deg); }
  30% { opacity: 1; }
  70% { opacity: .75; }
  100% { opacity: 0; transform: translate3d(-4cqw, -12cqw, 0) scale(1.2) rotate(5deg); }
}
@keyframes steam-lift-r {
  0% { opacity: 0; transform: translate3d(0, 12cqw, 0) scale(-.65, .65) rotate(3deg); }
  30% { opacity: 1; }
  70% { opacity: .75; }
  100% { opacity: 0; transform: translate3d(4cqw, -12cqw, 0) scale(-1.2, 1.2) rotate(-5deg); }
}
.case.is-open .case-steam { opacity: 1; transform: translateY(8.5cqw) scaleX(.8); }

.mini-windows { inset: 13% 6% 15%; gap: 2cqw; }
.mini-win {
  --mw-frame: 0 0 0 .22cqw #14070b, 0 0 0 .42cqw rgba(241, 196, 206, .32), 0 .5cqw .8cqw .1cqw rgba(0, 0, 0, .55);
  --mw-inset: inset .55cqw 0 .5cqw -.2cqw rgba(37, 14, 23, .75), inset -.55cqw 0 .5cqw -.2cqw rgba(37, 14, 23, .75);
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .7cqw;
  background:
    url("../assets/metal-brush.webp") 0 0 / 6cqw auto,
    linear-gradient(180deg,
      #250e17 0%, #72474e 7%, #ce989b 13%, #9e6a6e 20%, #3c1d26 24.5%,
      #12060a 25.5%,
      #9e6a6e 27%, #f1c4ce 34%, #fbf5f4 44%, #ce989b 58%, #9e6a6e 66%, #4a2830 73%,
      #12060a 75%,
      #3c1d26 76.5%, #9e6a6e 83%, #72474e 92%, #250e17 100%);
  box-shadow: var(--mw-inset), var(--mw-frame);
  transition: box-shadow .3s;
}
.mw-strip { position: absolute; inset: 0; display: block; }
.mw-strip b {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  text-align: center;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mw-strip .mw-cur {
  font-size: 6.6cqw;
  transform: translateY(-50%) scaleX(.86);
  color: #1b080d;
  -webkit-text-stroke: 0;
  text-shadow: 0 .2cqw 0 rgba(255, 240, 243, .55);
}
.mw-strip .mw-up, .mw-strip .mw-down {
  font-size: 6.6cqw;
  color: transparent;
  text-shadow: 0 0 .3cqw rgba(36, 12, 18, .95), 0 0 .1cqw rgba(36, 12, 18, .6);
}
.mw-strip .mw-up { top: auto; bottom: 77%; transform: scale(.86, .62); transform-origin: 50% 100%; }
.mw-strip .mw-down { top: 76%; transform: scale(.86, .62); transform-origin: 50% 0; }
.mini-win::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 6, 10, .8) 0%, rgba(20, 6, 10, .25) 13%, rgba(20, 6, 10, 0) 24%,
    rgba(20, 6, 10, 0) 76%, rgba(20, 6, 10, .25) 87%, rgba(20, 6, 10, .8) 100%);
}
.mini-win.flick .mw-strip { animation: dial-roll .26s var(--ease-out); }
@keyframes dial-roll { from { transform: translateY(-22%); } }
.mini-lock:hover .mini-win { box-shadow: var(--mw-inset), 0 0 0 .22cqw #14070b, 0 0 0 .42cqw rgba(255, 235, 240, .85), 0 0 3cqw rgba(255, 60, 80, .55); }
.mini-win.is-hint { box-shadow: var(--mw-inset), 0 0 0 .22cqw #14070b, 0 0 0 .7cqw #ff3a52, 0 0 4.5cqw 1.2cqw rgba(228, 0, 43, .85); }
.mini-win.is-hint .mw-strip .mw-cur { color: #c8102e; -webkit-text-stroke: 0; }
.case.is-charging .mini-win { box-shadow: var(--mw-inset), 0 0 0 .22cqw #14070b, 0 0 0 .42cqw #fff, 0 0 4cqw rgba(255, 80, 100, .95); }
.case.is-open .mini-win { box-shadow: var(--mw-inset), 0 0 0 .22cqw #14070b, 0 0 0 .42cqw #fff; }

@media (max-width: 1023px) {
  .hero-actions .btn-play { white-space: nowrap; padding-inline: 18px; }
}
@media (max-width: 380px) {
  .hero-actions .btn-play { font-size: 14px; padding-inline: 14px; }
}

@media (max-width: 1023px) {
  .title { --t: clamp(30px, 10.6vw, 50px); }
  .hero-copy { gap: 10px; }
  .lead { text-shadow: 0 1px 10px rgba(0, 0, 0, .7); }
  .lead span { font-size: .82em; letter-spacing: .02em; }
  .lead strong { font-size: 1.12em; }
  .hero.has-hint .lead span:first-child { display: none; }
  .hero.has-hint .lead strong { margin-top: 0; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; max-width: 380px; margin-inline: auto; }
  .hero-actions > .btn { flex: 1 1 100%; --h: 50px; font-size: 16px; }
  .hero-actions .btn-hint, .hero-actions .btn-play { --h: 44px; font-size: 14px; }
  .hero.hint-row #hintOpen { flex: 1 1 auto; width: auto; padding-inline: 8px; font-size: 13px; white-space: nowrap; }
  .hero.hint-row #hintOpen svg { display: none; }
  .hint-stub { flex: 0 0 auto; align-self: center; padding: 5px 10px 5px 7px; }
  .stub-digit { width: 32px; margin: 0 9px 0 3px; font-size: 22px; }
  .stub-body small { font-size: 8.5px; }
  .stub-body strong { font-size: 14px; }
  .stub-body em { font-size: 10.5px; }
  .hero.hint-row .stub-body small { display: none; }
  .hero.hint-row .stub-body strong { font-size: 13px; white-space: nowrap; }
  .hero.hint-row .stub-body em { white-space: nowrap; }
  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--fade-top, 60%);
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(11, 4, 5, 0), rgba(11, 4, 5, .82) 26%, rgba(11, 4, 5, .95) 60%);
  }
}
@media (max-width: 1023px) {
  .hero { min-height: 600px; }
  .hint-stub { max-width: 100%; }
  .stub-body { min-width: 0; }
}
@media (max-width: 1023px) and (max-height: 700px) {
  .title { --t: 34px; }
  .lead { font-size: 15px; }
}

.how-title, .stub-body small, .case-tip, .win-code-label, .btn-crack, .win-steps summary, .scan-top h2,
.lead span, .ring-label { letter-spacing: .02em; }
.lead strong { letter-spacing: .01em; font-weight: 900; line-height: 1.04; }
.lead span { font-size: .92em; color: #fff; }
.lead strong { margin-top: .32em; font-size: 1.45em; }
.ring-label, .ring-label * { min-height: 0; white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 1023px) {
  .lead span { font-size: .9em; letter-spacing: .02em; }
  .lead strong { font-size: 1.42em; }
}

.cta-time {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 34px; margin: 0 -14px 0 -2px; padding: 0 12px 0 9px; border-radius: 999px;
  background: rgba(60, 0, 10, .38); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  font-size: 16px; font-weight: 800; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #fff;
}
.cta-time[hidden] { display: none; }
.btn .cta-time svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.cta-time b { font-weight: 800; }
#ctaOpen.is-done .cta-time { background: rgba(255, 255, 255, .1); }
@media (max-width: 1023px) {
  .cta-time { height: 32px; margin-right: -6px; font-size: 15px; }
  .hero-actions #ctaOpen { gap: 8px; }
}

.lead strong { margin-top: .55em; }
@media (max-width: 1023px) {
  .hero-copy { gap: 18px; }
}

.faq { max-width: 980px; margin: 0 auto; padding: 30px 16px 10px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border-radius: 20px;
  background: rgba(255, 244, 226, .04);
  box-shadow: 0 0 0 1px rgba(255, 244, 226, .08) inset;
  transition: background .25s, box-shadow .25s;
}
.faq-item[open] { background: rgba(255, 244, 226, .065); box-shadow: 0 0 0 1px rgba(255, 244, 226, .16) inset; }
.faq-item summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 60px; list-style: none; cursor: pointer; border-radius: 20px;
  font-size: 17px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; color: var(--cream);
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red); box-shadow: 0 4px 14px -4px rgba(228, 0, 43, .8); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-body { padding: 0 20px 20px; }
.faq-body p { margin: 0; max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.faq-body p + p { margin-top: 12px; }
.faq-body a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .faq-item summary:hover .faq-icon { background: var(--red-hot); } }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease-out), content-visibility .35s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .faq-item::details-content, .faq-icon::after { transition: none; } }
@media (max-width: 759px) {
  .faq-item summary { padding: 16px 16px; font-size: 15px; }
  .faq-body { padding: 0 16px 18px; }
  .faq-body p { font-size: 14px; }
}
