:root {
  --bg-top: #0a0118;
  --bg-mid: #12022d;
  --gold: #ffd95c;
  --gold-mid: #d9a83a;
  --gold-dim: #8a5a14;
  --red-1: #ff6a3d;
  --red-2: #e8482a;
  --red-3: #c9271f;
  --green: #58d68d;
  --green-dim: rgba(88, 214, 141, 0.12);
  --ink: #f5ecd8;
  --ink-soft: rgba(245, 236, 216, 0.72);
  --ink-faint: rgba(245, 236, 216, 0.45);
  --ink-gold-soft: rgba(255, 233, 168, 0.65);
  --r-card: 20px;
  --r-block: 12px;
  --r-pill: 999px;
  --page-pad: 16px;
  --card-w: min(340px, 92vw);
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(96, 44, 148, 0.30), transparent 62%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 46%, var(--bg-top) 100%);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overflow: hidden !important;
  touch-action: none;
}

.app { display: block; }

.pagehead__logo {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  z-index: 3;
}
.lang-trigger {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 205, 60, 0.35);
  border-radius: var(--r-pill);
  background: rgba(10, 1, 24, 0.55);
  color: var(--gold);
  cursor: pointer;
}
.lang-trigger svg { width: 15px; height: 15px; }
.lang-trigger__badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.lang-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.lang-drawer.show { display: block; }
.lang-drawer__mask {
  position: absolute; inset: 0;
  background: rgba(6, 2, 18, 0.7);
}
.lang-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 2, 18, 0.82);
}
.lang-drawer[hidden] { display: none; }
.lang-drawer__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #251a44, #170b2c);
  border: 1px solid rgba(255, 205, 60, 0.3);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  animation: drawer-up 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes drawer-up { from { transform: translateY(100%); } }
.lang-drawer__title {
  margin: 0 0 12px;
  text-align: center;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 2px;
}
.lang-drawer__list { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.lang-drawer__list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 16px;
  border: none;
  border-radius: var(--r-block);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-drawer__list button:hover { background: rgba(255, 255, 255, 0.06); }
.lang-drawer__list button.on { color: var(--gold); background: rgba(255, 205, 60, 0.1); }
.lang-drawer__list button.on::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  background: rgba(18, 8, 40, 0.92);
  border: 1px solid rgba(255, 205, 60, 0.65);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}
.hero__tagline-text {
  color: #ffe9a8;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.prize-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.prize-chip strong {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe9a0, #e8963a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prize-chip small { color: var(--gold); font-weight: 900; font-size: 0.78rem; letter-spacing: 1px; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(78px + env(safe-area-inset-top)) var(--page-pad) clamp(24px, 4vh, 40px);
  background: url("assets/lucky-wheel-bg.webp") center top / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 1, 24, 0.42);
}
.hero > *:not(.pagehead__logo):not(.lang-trigger) { position: relative; }

.hero__title {
  display: block;
  width: min(92vw, 520px);
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.55));
  animation: hero-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.hero__tagline {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
}
.hero__tagline strong {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.12em;
}

.wheel {
  position: relative;
  width: min(88vw, 460px);
  aspect-ratio: 1084 / 1120;
  margin-top: clamp(8px, 2vh, 18px);
  filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.4));
}
.wheel__disc {
  position: absolute;
  left: 50%;
  top: 51.7%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  background: conic-gradient(from -18deg,
    #c52c96 0 36deg, #6358d9 36deg 72deg, #19b8dc 72deg 108deg,
    #db263e 108deg 144deg, #6b36c7 144deg 180deg, #159ccd 180deg 216deg,
    #873ac8 216deg 252deg, #e2a62d 252deg 288deg, #c52c96 288deg 324deg, #168bc8 324deg 360deg);
  box-shadow: inset 0 0 0 3px var(--gold-dim), inset 0 0 32px rgba(0, 0, 0, 0.55);
  clip-path: circle(50% at 50% 50%);
  will-change: transform;
}
.wheel__lines {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from -18deg, transparent 0deg 35.25deg, rgba(255, 236, 135, 0.85) 35.25deg 36deg);
}
.wheel__lines::after {
  position: absolute;
  inset: 8%;
  border: 2px solid rgba(255, 236, 150, 0.85);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 10px rgba(255, 205, 60, 0.8), inset 0 0 15px rgba(40, 20, 0, 0.45);
}
.wheel__labels { position: absolute; inset: 0; }
.wheel__label {
  position: absolute; left: 50%; top: 50%;
  display: flex; flex-direction: column; align-items: center;
  color: #fff3c2;
  text-shadow: 0 2px 3px rgba(28, 12, 58, 0.85);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(min(88vw, 460px) * -0.265));
  user-select: none;
}
.wheel__label strong {
  font-size: clamp(1.15rem, 7.7vw, 2.1rem);
  font-weight: 900;
  line-height: 0.9;
}
.wheel__label small {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-top: 3px;
  font-size: clamp(0.55rem, 2vw, 0.62rem);
  font-weight: 800;
  letter-spacing: 0.5px;
}
.wheel__label small .usdt-ic {
  width: 0.95em;
  height: 1.5em;
  height: auto;
  width: 1.05em;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.wheel__label.is-lucky { color: #ffe9a0; }
.wheel__label.is-big { color: #ffe9a0; }
.wheel__label.is-big strong { font-size: clamp(1.15rem, 7.7vw, 2.1rem); }
.wheel__label.is-winner strong,
.wheel__label.is-winner small {
  color: #fff;
  text-shadow: 0 0 8px #ffe36f, 0 0 18px #ffb52e;
  animation: win-glow 0.7s ease-in-out infinite alternate;
}
@keyframes win-glow { to { filter: brightness(1.5); } }
.wheel__gloss {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(125deg, rgba(255,255,255,0.15), transparent 32%, transparent 66%, rgba(0,0,20,0.22));
  pointer-events: none;
}
.wheel__frame {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
}
.wheel__hub {
  position: absolute; left: 50%; top: 51.7%;
  transform: translate(-50%, -50%);
  width: 25%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, #ffb347, var(--red-2) 75%, var(--red-3));
  box-shadow: 0 0 0 3px rgba(255, 217, 92, 0.9), 0 0 22px rgba(255, 170, 50, 0.5);
  z-index: 4;
}
.wheel__go {
  position: absolute; left: 50%; top: 51.7%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 19.5%; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0;
  border: 2px solid #fff1a9;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, #ffb347 0%, #ff7a2f 45%, var(--red-2) 80%, var(--red-3) 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 0 #8a1d16, 0 0 22px rgba(255, 110, 50, 0.55), inset 0 2px 6px rgba(255,255,255,0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.wheel__go:hover:not(:disabled) { filter: brightness(1.08); transform: translate(-50%, -50%) scale(1.04); }
.wheel__go:active:not(:disabled) { transform: translate(-50%, -50%) translateY(3px); }
.wheel__go:disabled { cursor: wait; filter: saturate(0.6) brightness(0.8); }
.wheel__go-en { font-size: 1.2rem; font-weight: 1000; letter-spacing: 2px; opacity: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }

.status {
  width: min(420px, 88%);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background:
    linear-gradient(180deg, rgba(38, 16, 82, 0.92), rgba(18, 6, 52, 0.95)) padding-box,
    linear-gradient(160deg, #ffedb0, #d9a83a 30%, #fff3c8 50%, #b8860b 75%, #ffd95c) border-box;
  color: #fff3c0;
  font-size: clamp(0.84rem, 1.5vw, 1rem);
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.4),
    0 0 18px rgba(255, 205, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.status__dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #fff, #ffd95c 60%);
  box-shadow: 0 0 10px rgba(255, 217, 92, 0.9);
}
.status__dot.is-spinning { background: #ffd65c; animation: status-blink 0.8s ease-in-out infinite alternate; }
.status__dot.is-error { background: #ff6b5e; box-shadow: 0 0 8px rgba(255, 107, 94, 0.8); animation: none; }
@keyframes status-blink { to { opacity: 0.35; } }

}

.fair-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(420px, 88%);
  margin: 10px auto 0;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 205, 60, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 233, 168, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}
.fair-note__icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: rgba(255, 217, 92, 0.65);
}

.trust {
  padding: clamp(18px, 3vh, 28px) var(--page-pad) clamp(22px, 4vh, 36px);
  border-top: 1px solid rgba(217, 179, 74, 0.16);
}
.trust__group { max-width: 1060px; margin: 0 auto clamp(26px, 4vh, 42px); }
.trust__group:last-of-type { margin-bottom: 0; }
.trust__heading {
  margin: 0 0 clamp(14px, 2.5vh, 22px);
  text-align: center;
  color: var(--gold);
  font-size: clamp(0.92rem, 1.8vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 3px;
}
.sponsor-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 32px);
}
.sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 128px;
  max-width: 180px;
  text-align: center;
}
.sponsor__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 62px;
}
.sponsor__logo img {
  max-width: 128px; max-height: 62px;
  object-fit: contain;
  filter: brightness(1.1);
  opacity: 0.92;
}
.sponsor__note {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.71rem, 1.3vw, 0.8rem);
  font-weight: 600;
  line-height: 1.45;
}
.sponsor-list--compact { gap: clamp(12px, 2vw, 26px); }
.sponsor--mini { min-width: 92px; max-width: 118px; }
.sponsor--mini .sponsor__logo { height: 46px; }
.sponsor--mini .sponsor__logo img { max-width: 84px; max-height: 46px; }
.sponsor--mini .sponsor__note { color: var(--ink-faint); font-size: 0.7rem; }
.sponsor--award {
  background: #fff;
  border-radius: var(--r-block);
  padding: 8px 14px;
  min-width: 0;
}
.sponsor--award .sponsor__logo { height: 50px; }
.sponsor--award .sponsor__logo img { max-width: 102px; max-height: 52px; filter: none; opacity: 1; }

.brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: clamp(26px, 4vh, 42px) 0 0;
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 3px;
  font-weight: 600;
}
.brand-line img {
  height: 22px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.assurance {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1060px;
  margin: clamp(22px, 3.5vh, 34px) auto 0;
  padding: clamp(16px, 3vh, 24px) 0 0;
  border-top: 1px solid rgba(217, 179, 74, 0.16);
  color: var(--ink-gold-soft);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 1px;
}
.assurance li { display: flex; align-items: center; gap: 6px; }
.assurance svg { width: 14px; height: 14px; color: rgba(255, 217, 92, 0.65); }
.assurance__sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 217, 92, 0.4); }

.lang-row { margin-top: 22px; text-align: center; }
.lang-row .lang-btn {
  padding: 5px 14px;
  margin: 0 2px;
  border: none; border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-gold-soft);
  font-size: 0.72rem; font-weight: 700;
  cursor: pointer;
}
.lang-row .lang-btn.on {
  background: linear-gradient(180deg, var(--gold), var(--gold-mid));
  color: #2a1600;
}

.legal-row {
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 0.64rem;
  letter-spacing: 1px;
}
.age-chip {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink-gold-soft);
  font-weight: 900;
  font-size: 0.6rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.overlay.show { display: flex; }
.overlay__mask {
  position: absolute;
  inset: 0;
  background: rgba(6, 2, 18, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  touch-action: none;
}

.win-card {
  position: relative;
  width: var(--card-w);
  padding: 26px 22px 20px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #251a44, #170b2c);
  border: 1px solid rgba(255, 205, 60, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 205, 60, 0.12);
  text-align: center;
  animation: card-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(0.95); } }
.win-card__close {
  position: absolute; top: 10px; right: 12px;
  width: 28px; height: 28px;
  padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px; line-height: 1;
  cursor: pointer;
}
.win-card__kicker {
  margin: 0;
  color: rgba(255, 217, 92, 0.6);
  font-size: 0.66rem; letter-spacing: 4px; font-weight: 800;
}
.win-card__title { margin: 6px 0 0; color: #fff0b8; font-size: 1.35rem; font-weight: 900; }
.win-card__amount {
  margin: 8px 0 4px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.win-card__amount strong {
  font-size: clamp(2.6rem, 13vw, 3.4rem);
  font-weight: 900;
  background: linear-gradient(180deg, #ffe9a0 0%, #ff9a4d 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 150, 60, 0.5));
}
.win-prize span { color: var(--gold); font-weight: 800; font-size: 0.95rem; }
.usdt-ic { display: inline-block; border-radius: 50%; }
.usdt-ic--win {
  width: 34px; height: 34px;
  align-self: center;
  filter: drop-shadow(0 0 10px rgba(38, 161, 123, 0.55));
}
.prize-chip__ic {
  width: 15px; height: 16px;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  align-self: center;
}
.win-code {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--r-block);
  border: 1.5px dashed rgba(255, 205, 60, 0.55);
  background: rgba(255, 205, 60, 0.06);
  margin-bottom: 14px;
}
.win-code__label {
  color: rgba(255, 233, 168, 0.6);
  font-size: 0.68rem;
  letter-spacing: 1px;
}
.win-code__value {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  background: linear-gradient(180deg, #ffe9a0, #e8963a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.win-code__notch {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #170b2c;
  transform: translateY(-50%);
}
.win-code__notch--l { left: -8px; }
.win-code__notch--r { right: -8px; }
.win-card__note { margin: 8px 0 16px; color: var(--ink-gold-soft); font-size: 0.8rem; }
.win-card__claim {
  width: 100%;
  padding: 14px;
  border: none; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--red-1), var(--red-2));
  color: #fff;
  font-size: 1rem; font-weight: 900; letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 80, 50, 0.4);
}
.win-card__remind {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  color: rgba(255, 233, 168, 0.62);
  font-size: 0.72rem;
  line-height: 1.55;
}
.win-card__star {
  color: rgba(255, 205, 60, 0.5);
  font-size: 0.6rem;
  letter-spacing: 2px;
  white-space: nowrap;
}

.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 101;
  overflow: hidden;
  pointer-events: none;
}
.confetti-piece {
  position: absolute; top: -20px;
  width: 8px; height: 14px;
  border-radius: 1px;
  opacity: 0;
  animation: confetti-fall 2.4s cubic-bezier(0.15, 0.65, 0.4, 1) forwards;
}
@keyframes confetti-fall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(0); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--drift), 100vh, 0) rotate(var(--spin)); }
}

#safariOverlay {
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: calc(10px + env(safe-area-inset-top));
  padding-right: calc(14px + env(safe-area-inset-right));
  padding-left: 16px;
}
#safariOverlay .overlay__mask { background: rgba(6, 2, 18, 0.88); }
.safari-card {
  position: relative;
  width: min(340px, 94vw);
  margin-top: calc(64px + env(safe-area-inset-top));
  padding: 22px 20px 18px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #251a44, #170b2c);
  border: 1px solid rgba(255, 205, 60, 0.42);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
  animation: card-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.safari-card__arrow {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(18px + env(safe-area-inset-right));
  width: 44px; height: 44px;
  color: var(--gold);
  filter: drop-shadow(0 0 14px rgba(255, 205, 60, 0.85));
  animation: arrow-bounce 1.2s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes arrow-bounce { from { transform: translate(0, 6px); } to { transform: translate(6px, -6px); } }
.safari-card__title { margin: 0 0 10px; color: #fff0b8; font-size: 17px; font-weight: 900; }
.safari-card__sub { margin: 0 0 16px; color: #c9b99a; font-size: 13px; line-height: 1.6; }

.promo-ticket {
  position: relative;
  padding: 12px 16px 14px;
  border-radius: 14px;
  border: 1.5px dashed rgba(255, 205, 60, 0.55);
  background: rgba(255, 205, 60, 0.06);
  margin-bottom: 12px;
}
.promo-ticket__label {
  display: block;
  color: var(--ink-gold-soft);
  font-size: 0.68rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.promo-ticket__code {
  display: block;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 5px;
  background: linear-gradient(180deg, #ffe9a0, #e8963a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.promo-ticket__notch {
  position: absolute;
  top: 50%;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #170b2c;
  border: 1.5px dashed rgba(255, 205, 60, 0.55);
  transform: translateY(-50%);
}
.promo-ticket__notch--l { left: -9px; }
.promo-ticket__notch--r { right: -9px; }

.url-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--r-block);
  background: linear-gradient(90deg, var(--gold), #e8963a);
  margin-bottom: 16px;
}
.url-chip__label { color: #6b4a00; font-size: 0.7rem; font-weight: 800; }
.url-chip__value { color: #1c1002; font-weight: 900; letter-spacing: 1px; }

.safari-card__waytitle { margin: 0 0 10px; color: var(--ink-gold-soft); font-size: 0.82rem; font-weight: 800; }
.safari-card__steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.safari-card__steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #d8c9a8;
  line-height: 1.6;
}
.safari-card__steps li:last-child { margin-bottom: 0; }
.safari-card__steps b { color: var(--gold); font-weight: 700; }
.step-num {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 205, 60, 0.14);
  border: 1px solid rgba(255, 205, 60, 0.5);
  color: var(--gold);
  font-size: 12px; font-weight: 900;
  font-style: normal;
  display: flex; align-items: center; justify-content: center;
}
.safari-card__banner {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: var(--r-block);
  background: var(--green-dim);
  border: 1px solid rgba(88, 214, 141, 0.4);
  color: #7ee2a8;
  font-size: 12px;
}
.safari-card__banner.show { display: block; }
.safari-card__actions { display: flex; gap: 10px; }
.btn {
  flex: 1;
  padding: 13px 8px;
  border: none;
  border-radius: var(--r-pill);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(90deg, var(--gold), #e8963a);
  color: #2a1600;
  box-shadow: 0 6px 18px rgba(255, 190, 50, 0.35);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 205, 60, 0.6);
  color: #ffe9a8;
}
.btn.is-copied {
  background: linear-gradient(90deg, var(--green), #2ea36a);
  color: #fff;
  border-color: transparent;
}
.safari-card__close {
  position: absolute; top: 10px; right: 10px;
  width: 28px; height: 28px;
  padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px; line-height: 1;
  cursor: pointer;
}

@media (min-width: 720px) {
  .hero { padding-top: clamp(30px, 5vh, 48px); }
  .wheel { width: min(460px, 46vh); }
  .sponsor-list { gap: clamp(24px, 3vw, 40px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

#statusText {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 82%;
}
