:root {
  --bg: #08090d;
  --bg2: #10131a;
  --panel: rgba(16, 19, 26, .72);
  --ink: #f3efe6;
  --muted: #9a9488;
  --line: rgba(232, 195, 122, .2);
  --line2: rgba(243, 239, 230, .08);
  --gold: #e8c37a;
  --gold2: #c9a15a;
  --up: #3dcb8a;
  --down: #f07171;
  --shadow: 0 30px 80px rgba(0, 0, 0, .45);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.noise, .glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.glow {
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(232, 195, 122, .14), transparent 55%),
    radial-gradient(50% 40% at 90% 80%, rgba(80, 110, 180, .12), transparent 60%);
}
.noise {
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top, .shell, .foot { position: relative; z-index: 1; }
.top { z-index: 5; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(12px, env(safe-area-inset-top)) 28px 0;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(232,195,122,.25), rgba(232,195,122,.05)),
    #141821;
  border: 1px solid var(--line);
  position: relative;
}
.mark::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; top: 17px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 -5px 0 #3dcb8a, 0 5px 0 #f07171;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 14px; letter-spacing: .04em; }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

html[data-lang="ko"], html[lang="ko"] {
  --sans: "Noto Sans KR", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Noto Serif KR", "Noto Sans KR", "Fraunces", serif;
}
html[data-lang="ja"], html[lang="ja"] {
  --sans: "Noto Sans JP", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Noto Serif JP", "Noto Sans JP", "Fraunces", serif;
}
html[data-lang="th"], html[lang="th"] {
  --sans: "Noto Sans Thai", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
html[data-lang="ru"], html[lang="ru"] {
  --sans: "Noto Sans", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
html[data-lang="zh"] {
  --sans: "Plus Jakarta Sans", "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}
html[data-lang="ko"] h1 em,
html[data-lang="ja"] h1 em,
html[data-lang="zh"] h1 em { font-style: normal; }

.lang-dd { position: relative; z-index: 6; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 108px;
  height: 36px;
  padding: 0 10px 0 14px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.lang-toggle span {
  max-width: 7.8em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-toggle svg { width: 14px; height: 14px; flex: 0 0 auto; opacity: .7; }
.lang-dd.open .lang-toggle {
  border-color: var(--line);
  background: rgba(232,195,122,.08);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(220px, 78vw);
  max-height: min(70vh, 440px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: #161922;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.lang-menu[hidden] { display: none; }
.lang-opt {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.lang-opt.on {
  background: rgba(232,195,122,.12);
  color: var(--gold);
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 140px);
  min-height: calc(100dvh - 140px);
}

.kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.03em;
}
h1 em {
  display: block;
  font-style: italic;
  color: var(--gold);
}
.lead {
  margin-top: 18px;
  max-width: 540px;
  color: #c9c3b6;
  font-size: 16px;
  line-height: 1.7;
}

.action {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line2);
}
.meta {
  list-style: none;
  display: flex;
  gap: 28px;
}
.meta-k {
  display: block;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-v {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 22px;
}
.hero-prize {
  margin-top: 20px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(232,195,122,.08);
}

.start {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f3e2b6, #e8c37a 45%, #c9a15a);
  color: #2a210f;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .04em;
  box-shadow: 0 12px 30px rgba(232, 195, 122, .28), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .15s ease, box-shadow .15s ease;
}
.start svg { width: 18px; height: 18px; }
.start:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(232, 195, 122, .38); }
.start:active { transform: translateY(1px); }
.action .start { width: min(100%, 360px); justify-content: center; }

.fine {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.5;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(24,28,38,.9), rgba(12,14,20,.92));
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(16px);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 8px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--up);
  letter-spacing: .12em;
}
.live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 10px var(--up);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

.chart-box { position: relative; padding: 0 8px; }
.chart-cap {
  position: absolute;
  left: 16px;
  top: 2px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.chart { height: 168px; }
.chart svg { width: 100%; height: 100%; display: block; }
.live.off i { background: var(--muted); box-shadow: none; animation: none; }
.live.off { color: var(--muted); }

.tickers {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  padding: 8px 12px 16px;
}
.tk {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line2);
}
.tk.featured { grid-row: span 3; display: flex; flex-direction: column; justify-content: space-between; }
.tk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sym { font-weight: 800; letter-spacing: .04em; }
.chg { font-size: 12px; font-weight: 700; color: var(--muted); }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.px {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -.03em;
}
.px.sm { margin-top: 4px; font-size: 16px; }
.panel-note {
  padding: 0 20px 18px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

.foot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 28px;
  color: #6f6a61;
  font-size: 12px;
  line-height: 1.6;
}

.hero, .panel { animation: rise .7s ease both; }
.panel { animation-delay: .08s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: rgba(4, 5, 8, .62);
  backdrop-filter: blur(10px);
  animation: fade .2s ease;
}
.modal[hidden] { display: none; }
.modal.is-draw {
  background: rgba(4, 5, 8, .78);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: min(560px, 100%);
  max-height: min(94vh, 94dvh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #161922, #0c0e14 70%);
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow);
  animation: sheet .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes sheet {
  from { transform: translateY(28px); opacity: .6; }
  to { transform: none; opacity: 1; }
}
@media (min-width: 720px) {
  .modal:not(.is-draw) { align-items: center; justify-content: center; padding: 24px; }
  .modal:not(.is-draw) .sheet { border-radius: 28px; border-bottom: 1px solid var(--line); }
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--gold);
}
.bar {
  margin-top: 10px;
  width: 180px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 16%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f3e2b6, #c9a15a);
  transition: width .28s ease;
}
.x {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #d9d3c7;
  font-size: 22px;
  line-height: 1;
}

.qt {
  margin-top: 28px;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.25;
  font-weight: 600;
}
.opts { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.opt {
  width: 100%;
  text-align: left;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.03);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color .15s, background .15s, transform .12s;
}
.opt:hover { border-color: var(--line); }
.opt:active { transform: scale(.99); }
.opt .dot {
  width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  border: 1.5px solid rgba(232,195,122,.45);
  display: grid; place-items: center;
}
.opt .dot::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform .16s;
}
.opt.sel {
  border-color: rgba(232,195,122,.8);
  background: rgba(232,195,122,.08);
}
.opt.sel .dot::after { transform: scale(1); }

.mail { margin-top: 22px; }
.mail-lab {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}
.mail input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.03);
  outline: none;
  font-size: 16px;
}
.mail input:focus { border-color: var(--gold); }
.err {
  margin-top: 8px;
  min-height: 18px;
  font-size: 12px;
  color: var(--down);
  opacity: 0;
}
.err.on { opacity: 1; }
.mail-note { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.nav {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
.back, .next {
  height: 48px;
  border-radius: 999px;
  padding: 0 18px;
}
.back {
  background: transparent;
  border: 1px solid var(--line2);
  color: #d5cfc3;
  font-weight: 700;
}
.next {
  flex: 1;
  border: 0;
  background: linear-gradient(180deg, #f3e2b6, #e8c37a 45%, #c9a15a);
  color: #2a210f;
  font-weight: 800;
}
.next:disabled { opacity: .38; cursor: not-allowed; }

.done { text-align: center; padding: 4px 2px 0; }
.done[hidden], #quizView[hidden], #mail[hidden] { display: none; }
.done-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.done-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.sheet.is-done {
  width: min(560px, 100%);
  max-height: none;
  overflow: visible;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #1a1f2b, #0b0d12 72%);
  box-shadow: 0 -16px 48px rgba(0,0,0,.45);
}
.wheel-stage {
  --wheel: min(86vw, 58dvh, 380px);
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: max(8px, env(safe-area-inset-top)) 0 8px;
  pointer-events: none;
}
.wheel-stage[hidden] { display: none !important; }
.wheel-glow {
  position: absolute;
  width: calc(var(--wheel) * 1.42);
  height: calc(var(--wheel) * 1.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(232,195,122,.34), rgba(232,195,122,.06) 42%, transparent 68%);
  filter: blur(2px);
}
.hero-prize span {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-prize strong {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
}

.prize-list em {
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .04em;
}

.wheel-wrap {
  position: relative;
  width: var(--wheel, 280px);
  height: var(--wheel, 280px);
  overflow: visible;
  filter: drop-shadow(0 22px 40px rgba(0,0,0,.55));
  z-index: 1;
  animation: wheelIn .45s cubic-bezier(.2,.8,.2,1);
}
@keyframes wheelIn {
  from { opacity: 0; transform: scale(.88); }
  to { opacity: 1; transform: none; }
}
.wheel-pin {
  position: absolute;
  left: 50%;
  top: -6px;
  z-index: 5;
  transform: translateX(-50%);
  width: 26px;
  height: 32px;
  background: linear-gradient(180deg, #fff1c9, #e8c37a 48%, #b8893d);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.5));
}
.wheel-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(232,195,122,.28);
  box-shadow: 0 0 0 8px rgba(8,9,13,.35);
  pointer-events: none;
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid #d7b56a;
  transform-origin: 50% 50%;
  box-shadow:
    0 0 0 4px #0c0e14,
    0 0 36px rgba(232,195,122,.28),
    inset 0 0 22px rgba(0,0,0,.4);
  background: #141820;
  overflow: hidden;
}
.wheel-svg { width: 100%; height: 100%; display: block; }
.wheel-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 23%;
  height: 23%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #454c5c, #12151c 64%);
  border: 3px solid #e8c37a;
  box-shadow: 0 0 0 6px #0e1118, 0 10px 22px rgba(0,0,0,.45);
  pointer-events: none;
}
.wheel-hub::after {
  content: "";
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff1c9, #c9a15a);
}
.result { margin-top: 4px; }
.result-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--gold);
  background: rgba(232,195,122,.12);
  border: 1px solid var(--line);
}
.done.is-win .result-pill {
  color: var(--up);
  background: rgba(61,203,138,.12);
  border-color: rgba(61,203,138,.35);
}
.done.is-lose .result-pill {
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border-color: var(--line2);
}
.done h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 42px);
  color: var(--gold);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.done h2:empty { display: none; }
.done p {
  margin: 10px auto 0;
  max-width: 360px;
  color: #c9c3b6;
  line-height: 1.6;
  font-size: 14px;
}
.done-btn {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
}
@media (min-width: 720px) {
  .modal.is-draw {
    justify-content: center;
    padding: 28px 24px 32px;
    gap: 10px;
  }
  .modal.is-draw .wheel-stage {
    flex: 0 0 auto;
    --wheel: min(56vw, 52vh, 400px);
  }
  .modal.is-draw .sheet.is-done {
    width: min(420px, 100%);
    border-radius: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
  }
}

.prizes {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto 36px;
  padding: 0 28px;
}
.prizes-inner {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 24px 22px;
  background: linear-gradient(180deg, rgba(24,28,38,.9), rgba(12,14,20,.92));
}
.prizes-inner h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
}
.prize-lead {
  margin-top: 10px;
  max-width: 640px;
  color: #c9c3b6;
  line-height: 1.6;
  font-size: 14px;
}
.prize-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.prize-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.03);
}
.prize-list li.gold {
  border-color: var(--line);
  background: rgba(232,195,122,.08);
}
.prize-list span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.prize-list b {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.prize-rule {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
}
.ticket {
  margin: 16px auto 0;
  width: 100%;
  padding: 12px 14px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  text-align: left;
}
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ticket-k {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.copy {
  border: 0;
  background: rgba(232,195,122,.12);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
}
.copy.on {
  color: var(--up);
  background: rgba(61,203,138,.12);
}
.ticket strong {
  display: block;
  margin-top: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: .04em;
  word-break: break-all;
  user-select: all;
}
.prize-mini {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 18px auto 0;
  max-width: 380px;
  text-align: left;
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px 14px 22px;
    min-height: auto;
  }
  .top {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-text small { display: none; }
  .lang-toggle { height: 36px; min-width: 96px; }
  h1 {
    font-size: clamp(26px, 7.6vw, 36px);
    line-height: 1.18;
  }
  .lead { font-size: 14px; line-height: 1.6; max-width: none; }

  .action {
    margin-top: 18px;
    padding: 14px 14px 16px;
    border: 1px solid var(--line2);
    border-radius: 22px;
    background: rgba(255,255,255,.03);
  }
  .action .meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0;
    padding: 2px 0 14px;
    border-bottom: 1px solid var(--line2);
  }
  .action .meta li {
    text-align: center;
    padding: 0 6px;
    border-right: 1px solid var(--line2);
  }
  .action .meta li:last-child { border-right: 0; }
  .meta-k { font-size: 11px; letter-spacing: .08em; }
  .meta-v { font-size: 16px; margin-top: 5px; line-height: 1.25; word-break: keep-all; }
  .hero-prize {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
  }
  .hero-prize span { font-size: 12px; letter-spacing: .1em; }
  .hero-prize strong { font-size: 22px; }
  .hero-cta,
  .action .start {
    position: static;
    width: 100%;
    margin-top: 12px;
    height: 52px;
    font-size: 16px;
    justify-content: center;
  }
  .fine {
    max-width: none;
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
  }

  .panel-head { padding: 14px 14px 6px; }
  .chart { height: 118px; }
  .chart-cap { left: 14px; }
  .tk.featured { grid-column: auto; grid-row: auto; }
  .tickers { grid-template-columns: 1fr 1fr; padding: 6px 10px 10px; gap: 6px; }
  .tk { padding: 10px 12px; border-radius: 14px; }
  .px { font-size: 22px; margin-top: 6px; }
  .px.sm { font-size: 16px; }
  .panel-note { padding: 0 14px 14px; }
  .prizes { padding: 0 14px; margin-bottom: 20px; }
  .prizes-inner { padding: 18px 14px 14px; border-radius: 22px; }
  .prize-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prize-list b { font-size: 18px; }
  .foot { padding: 0 14px calc(16px + env(safe-area-inset-bottom)); }
  .qt { font-size: 22px; margin-top: 18px; }
  .opt { min-height: 52px; font-size: 16px; }
  .next, .back { height: 50px; font-size: 16px; }
  .x { width: 44px; height: 44px; }
  .done h2 { font-size: 30px; }
  .done p { font-size: 13px; }
  .panel { border-radius: 22px; }
}

@media (max-width: 380px) {
  .prize-list { grid-template-columns: 1fr; }
  .lang-toggle { min-width: 88px; padding: 0 8px 0 12px; }
  .wheel-stage { --wheel: min(88vw, 52dvh, 320px); }
}

@media (max-height: 620px) {
  .wheel-stage { --wheel: min(58vw, 42dvh, 240px); }
  .sheet.is-done { padding-top: 12px; }
  .done p { display: none; }
}

@supports (-webkit-touch-callout: none) {
  .sheet { -webkit-overflow-scrolling: touch; }
  .start, .opt, .next, .back { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  .live i, .start, .opt, .hero, .panel, .modal, .sheet, .wheel, .wheel-wrap { animation: none; transition: none; }
}
