@font-face {
  font-family: Plus;
  src: url(/_next/static/media/77a5213e6c4f1531-s.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Plus;
  src: url(/_next/static/media/0b7b20f60296dc0e-s.woff2) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  color: #241d20;
  background: #fffcf9;
  font:
    16px/1.9 Plus,
    Tahoma,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
.button {
  border: 0;
  border-radius: 12px;
  background: #981c30;
  color: #fff;
  padding: 12px 20px;
  cursor: pointer;
  min-height: 48px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button.secondary,
.button.secondary {
  background: #f7eaeb;
  color: #82182b;
}
.text-btn {
  padding: 4px 8px;
  background: transparent;
  color: #981c30;
  min-height: 40px;
  font-weight: normal;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d4c6c8;
  border-radius: 10px;
  background: #fff;
  color: #241d20;
  min-height: 48px;
  margin: 7px 0;
}
label {
  display: block;
  font-weight: bold;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid #c68a22;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.top {
  max-width: 1200px;
  margin: auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eadfe1;
  font-size: 14px;
}
.wordmark {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: -2px;
}
.wordmark span {
  color: #981c30;
  font-size: 38px;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px;
}
.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  min-height: 800px;
  padding: 48px 0 64px;
}
.eyebrow {
  color: #981c30;
  font-size: 14px;
  font-weight: bold;
}
h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.5;
  letter-spacing: -1.8px;
  margin: 18px 0;
}
h2 {
  font-size: 28px;
  margin: 6px 0 16px;
}
h3 {
  font-size: 20px;
}
p {
  margin: 12px 0;
}
.intro > p {
  font-size: 18px;
  color: #61535a;
  white-space: pre-line;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0;
}
.chips span {
  border: 1px solid #e4d6d8;
  border-radius: 24px;
  padding: 5px 12px;
  font-size: 14px;
}
.wheel-wrap {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto 22px;
  padding: 12px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    #fff3bd,
    #c08323 22%,
    #f8d67a 39%,
    #a25a13 67%,
    #fff1a7
  );
  box-shadow:
    0 18px 46px #981c3020,
    0 0 0 6px #f4e3d1;
}
.wheel-wrap:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 3px dotted #fff5ce;
  pointer-events: none;
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid #a66526;
  will-change: transform;
}
.wheel svg {
  display: block;
  width: 100%;
  height: 100%;
}
.pointer {
  position: absolute;
  top: -16px;
  left: calc(50% - 15px);
  width: 30px;
  height: 42px;
  background: linear-gradient(90deg, #ae6718, #fff0b2, #ca8c2f);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 5;
  filter: drop-shadow(0 2px 1px #5c3014);
}
.hub {
  position: absolute;
  inset: calc(50% - 36px);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1b5, #d89a34);
  border: 4px solid #fff0b1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 22px;
  box-shadow: 0 2px 8px #61182450;
}
.hub span {
  font-size: 28px;
}
.spark {
  position: absolute;
  color: #bb812a;
  font-style: normal;
  font-size: 52px;
}
.s1 {
  left: -18px;
  top: 30px;
}
.s2 {
  right: -16px;
  bottom: 50px;
}
.wheel-caption {
  text-align: center;
  font-size: 13px;
  color: #6e555a;
}
.panel {
  border: 1px solid #eadcde;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 30px #55212b04;
}
.entry {
  max-width: 450px;
  margin: auto;
}
.entry button[type="submit"],
#spin,
#recover {
  width: 100%;
}
.hint,
.muted {
  font-size: 14px;
  color: #705f66;
}
.hint {
  line-height: 1.9;
}
.inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.balance {
  font-size: 24px;
  font-weight: bold;
  color: #981c30;
}
#otp {
  text-align: center;
  letter-spacing: 10px;
  direction: ltr;
  font-size: 24px;
}
#userEmail {
  font-size: 14px;
  word-break: break-all;
}
#message {
  color: #8d1930;
  font-size: 14px;
}
section {
  margin-bottom: 60px;
}
.entry {
  margin-bottom: 0;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.section-title p {
  color: #725f64;
  font-size: 14px;
}
.boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.box {
  background: #fff;
  border: 1px solid #eadcde;
  border-radius: 18px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.brand-icon {
  height: 50px;
  width: 50px;
  border-radius: 13px;
  background: #f4e7e9;
  color: #981c30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.box h3 {
  margin: 12px 0 4px;
}
.box p {
  font-size: 14px;
}
.box progress {
  width: 100%;
  height: 8px;
  accent-color: #981c30;
}
.box .star-count {
  font-weight: bold;
  color: #981c30;
}
.box .window {
  background: #f8eff0;
  border-radius: 10px;
  padding: 8px;
  margin-top: 12px;
}
.box.active {
  border-color: #981c30;
  background: #fff7f5;
}
.box.highlight {
  animation: highlight 1.5s;
}
.after {
  background: #f8edef;
  padding: 32px;
}
.referral-link {
  direction: ltr;
  display: block;
  word-break: break-all;
  font-family: monospace;
  font-size: 14px;
  background: #fff;
  padding: 10px;
  border: 1px dashed #c79ba4;
  border-radius: 8px;
  margin: 12px 0;
}
.share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.play-card {
  background: #fff;
  border: 1px solid #eadcde;
  border-radius: 14px;
  padding: 18px;
}
.play-card p {
  font-size: 14px;
}
.play-card .button,
.play-card button {
  width: 100%;
  font-size: 14px;
  padding: 10px;
  margin-top: 8px;
}
.record {
  border-bottom: 1px solid #ebdfe2;
  padding: 14px 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.record:last-child {
  border-bottom: 0;
}
.record code {
  font-size: 13px;
  direction: ltr;
  display: block;
}
.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 60px;
  font-size: 14px;
}
.faq details {
  border-bottom: 1px solid #e6d8dc;
  padding: 16px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
}
.faq p {
  color: #6a5860;
}
.notice {
  background: #fff3d7;
  border: 1px solid #e4c98f;
  border-radius: 12px;
  padding: 12px 20px;
  margin-top: 22px;
  font-size: 14px;
}
footer {
  text-align: center;
  border-top: 1px solid #eadcde;
  padding: 24px;
  font-size: 14px;
  color: #705f66;
}
dialog {
  border: 1px solid #dec5ca;
  border-radius: 22px;
  padding: 28px;
  max-width: 560px;
  width: calc(100% - 24px);
  max-height: 90dvh;
  overflow: auto;
  color: #241d20;
  background: #fffcf9;
}
dialog::backdrop {
  background: #28121dc0;
  backdrop-filter: blur(4px);
}
dialog .cards {
  grid-template-columns: 1fr 1fr;
}
dialog h2 {
  font-size: 26px;
}
.close {
  position: sticky;
  top: 0;
  float: left;
  min-height: 36px;
  padding: 2px 14px;
  background: #f3e5e8;
  color: #981c30;
  font-size: 24px;
}
.result-icon {
  font-size: 58px;
  color: #b27a22;
}
.result {
  text-align: center;
}
.result p {
  font-size: 14px;
}
.result code {
  display: block;
  direction: ltr;
  overflow-wrap: anywhere;
}
.divider {
  border-top: 1px solid #e5ced3;
  margin: 24px 0;
  padding-top: 20px;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #3c2630;
  color: #fff;
  border-radius: 10px;
  padding: 10px 20px;
  max-width: 90vw;
  z-index: 10;
  display: none;
}
.star-flight {
  position: fixed;
  z-index: 100;
  font-size: 36px;
  color: #dba63a;
  pointer-events: none;
  transition:
    transform 0.8s ease-in,
    opacity 0.8s;
}
.guide {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.guide span {
  background: #f4e7e9;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 13px;
}
@keyframes highlight {
  50% {
    box-shadow: 0 0 0 6px #e8b84955;
  }
}
@media (max-width: 900px) {
  .hero {
    gap: 30px;
  }
  .boxes {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .top {
    padding: 12px 18px;
  }
  .top > span {
    font-size: 11px;
  }
  .top > a:last-child {
    font-size: 12px;
  }
  main {
    padding: 0 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0 40px;
    min-height: 0;
  }
  .intro {
    text-align: center;
  }
  h1 {
    font-size: 36px;
    margin: 10px 0;
  }
  .intro > p {
    font-size: 16px;
  }
  .chips {
    justify-content: center;
    margin: 14px 0;
  }
  .chips span {
    font-size: 12px;
  }
  .wheel-wrap {
    width: min(100%, 340px);
    padding: 10px;
  }
  .hub {
    inset: calc(50% - 29px);
    width: 58px;
    height: 58px;
    font-size: 18px;
  }
  .hub span {
    font-size: 22px;
  }
  .spark {
    font-size: 38px;
  }
  .s1 {
    left: -7px;
  }
  .s2 {
    right: -7px;
  }
  .panel {
    padding: 18px;
  }
  .entry {
    width: 100%;
  }
  .section-title {
    display: block;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .boxes {
    gap: 10px;
  }
  .box {
    padding: 14px;
  }
  .box h3 {
    font-size: 18px;
  }
  .box p {
    font-size: 13px;
  }
  .after {
    padding: 18px;
  }
  .cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .play-card {
    min-width: 245px;
    scroll-snap-align: start;
  }
  .rules {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  section {
    margin-bottom: 40px;
  }
  dialog {
    padding: 18px;
  }
  dialog .play-card {
    min-width: 220px;
  }
  dialog .cards {
    display: flex;
  }
  dialog .divider {
    margin-top: 18px;
    padding-top: 14px;
  }
  .balance {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Keep both follow-up paths discoverable inside the mobile result sheet. */
dialog .result-icon {
  font-size: 36px;
  line-height: 1.1;
  margin: 4px 0;
}
dialog .result h2 {
  font-size: 24px;
  line-height: 1.5;
  margin: 8px 0;
}
dialog .result p {
  font-size: 14px;
  line-height: 1.7;
  margin: 6px 0;
}
dialog .result label {
  font-size: 14px;
  margin-top: 10px;
}
dialog .result select {
  padding: 7px 10px;
  min-height: 42px;
  margin: 4px 0;
}
dialog .divider {
  margin: 16px 0 0;
  padding-top: 12px;
}
dialog .divider h2 {
  font-size: 20px;
  line-height: 1.5;
  margin: 4px 0 8px;
}
dialog .divider > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 6px 0;
}
dialog .referral-link {
  white-space: nowrap;
  overflow: auto;
  font-size: 13px;
  margin: 8px 0;
}
dialog .share-actions button {
  font-size: 14px;
  padding: 8px 12px;
  min-height: 42px;
}
dialog .cards {
  margin-top: 10px;
}
dialog .play-card h3 {
  font-size: 18px;
  margin: 8px 0;
}
dialog .play-card p {
  margin: 6px 0;
}
/* Black Friday edition: charcoal surfaces, crimson accents and warm gold. */
:root {
  color-scheme: dark;
  --ink: #f6eee6;
  --muted: #b9aeb9;
  --gold: #edc779;
  --edge: #39303b;
  --surface: #19161e;
}
body {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 80% 3%, #5d14342b, transparent 38%),
    radial-gradient(ellipse at 12% 22%, #9e6e1f0b, transparent 32%), #0d0c11;
}
.top {
  border-color: var(--edge);
}
.top > span {
  color: var(--muted);
}
.wordmark span {
  color: var(--gold);
}
.eyebrow {
  color: var(--gold);
}
.intro > p,
.section-title p,
.hint,
.muted,
.faq p,
footer {
  color: var(--muted);
}
h1 {
  color: #fff3df;
}
.chips span {
  border-color: #47333e;
  background: #251923;
  color: #dfccd3;
}
.panel,
.play-card {
  background: linear-gradient(140deg, #201a24, #16131a);
  border-color: var(--edge);
  box-shadow: 0 12px 36px #0002;
}
.after {
  background:
    radial-gradient(ellipse at 85% 0, #5c19394a, transparent 65%), #18131c;
}
.entry {
  border-color: #50303c;
  box-shadow: 0 16px 40px #0004;
}
.balance {
  color: var(--gold);
}
input,
select,
textarea {
  background: #100e15;
  border-color: #4e3d4a;
  color: var(--ink);
}
input::placeholder,
textarea::placeholder {
  color: #958590;
}
.text-btn {
  color: #e7bd8f;
}
button,
.button {
  background: linear-gradient(135deg, #bd2144, #92172f);
  box-shadow: 0 5px 18px #8f153126;
}
button:not(:disabled):hover,
.button:hover {
  filter: brightness(1.12);
}
button.secondary,
.button.secondary {
  background: #39232e;
  color: #f4d3c5;
  box-shadow: none;
}
.text-btn {
  background: transparent;
  box-shadow: none;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.wheel-wrap {
  background: linear-gradient(
    145deg,
    #ffe0a0,
    #a46a26 24%,
    #edc777 43%,
    #73441b 68%,
    #eccb80
  );
  box-shadow:
    0 0 0 5px #3b2824,
    0 15px 50px #0009,
    0 0 80px #ad173426;
}
.wheel {
  border-color: #c99b53;
}
.wheel-wrap:after {
  border-color: #ffe2a5;
}
.hub {
  color: #402617;
  background: linear-gradient(135deg, #ffe9af, #c38c37);
  border-color: #f2d296;
  box-shadow: 0 5px 15px #0007;
}
.wheel-caption {
  color: #c5afb9;
}
.spark {
  color: #d6ab62;
}
.notice {
  color: #e7cda7;
  background: #292016;
  border-color: #5b442a;
}
.brand-icon {
  background: #34202d;
  color: #efca89;
}
.record {
  border-color: var(--edge);
}
.referral-link {
  background: #100e15;
  border-color: #74523e;
  color: #efdcbd;
}
.rules details,
.divider,
footer {
  border-color: var(--edge);
}
.guide span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #241d28;
  color: #e5c8b5;
  border: 1px solid #43323c;
}
.guide img {
  object-fit: contain;
}
.faq details {
  border-color: var(--edge);
}
dialog {
  background:
    radial-gradient(ellipse at 85% 0, #52213b55, transparent 40%), #19151e;
  border-color: #75513d;
  color: var(--ink);
  box-shadow: 0 24px 100px #000c;
}
dialog::backdrop {
  background: #060509d9;
}
.close {
  background: #38212f;
  color: #f5d9be;
}
.result-icon {
  color: var(--gold);
}
dialog .result-icon.cash {
  width: 56px;
  height: 56px;
  margin: 4px auto 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff0b9, #e4b760 55%, #a96e25);
  border: 3px double #ffe5a3;
  box-shadow: 0 5px 22px #d5a14b22;
  color: #57351c;
  font:
    700 36px/50px Arial,
    sans-serif;
}
.cash-brand summary {
  color: #e6c48d;
  cursor: pointer;
}
.result code {
  color: #f2c985;
}
.result img {
  object-fit: contain;
}
#toast {
  background: #edce94;
  color: #26191c;
  border: 1px solid #fff0c4;
}
/* A shared gift chest, with a real star meter under every brand. */
.box {
  background:
    radial-gradient(ellipse at 50% 24%, #611a3438, transparent 58%),
    linear-gradient(145deg, #211922, #141218);
  border: 1px solid #49303e;
  box-shadow: 0 12px 26px #0003;
  padding: 18px;
}
.box:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, #ffffff05, transparent 35%);
}
.box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.box-edition {
  color: #b6957b;
  font:
    700 9px/1.4 Arial,
    sans-serif;
  letter-spacing: 1.7px;
}
.box-bonus {
  font-size: 15px;
  line-height: 1.6;
  color: #f2cd89;
  background: #3b2831;
  border: 1px solid #795036;
  border-radius: 7px;
  padding: 1px 7px;
}
.chest-scene {
  height: 128px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0 6px;
}
.gift-chest {
  height: 125px;
  width: 148px;
  position: relative;
  filter: drop-shadow(0 12px 9px #0006);
  overflow: visible;
}
.chest-aura {
  position: absolute;
  width: 125px;
  height: 85px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #b6254930, transparent 70%);
  bottom: 5px;
}
.chest-lid {
  transform-box: fill-box;
  transform-origin: 50% 80%;
  transition: transform 0.5s ease;
}
.box-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.box-brand .brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 22px;
  flex-shrink: 0;
  background: #34212d;
}
.box-brand h3 {
  margin: 0;
  font-size: 20px;
}
.box > p {
  color: #c9b8c4;
}
.box .star-count {
  font-size: 16px;
  color: #f1d091;
  margin-top: 17px;
  margin-bottom: 10px;
}
.star-meter {
  height: 18px;
  margin: 5px 0 13px;
  padding: 3px;
  border: 1px solid #6a443c;
  border-radius: 12px;
  background: #100e15;
  box-shadow: inset 0 2px 5px #0008;
}
.meter-track {
  height: 100%;
  position: relative;
  border-radius: 9px;
  background: #2a202b;
}
.meter-fill {
  display: block;
  position: relative;
  margin-right: 0;
  margin-left: auto;
  width: var(--fill);
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, #b67637, #edc77c 50%, #fff0b8);
  box-shadow: 0 0 14px #f3c77432;
  transition: width 0.6s ease;
}
.meter-fill i {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  font-style: normal;
  line-height: 1;
  font-size: 18px;
  color: #ffe4a0;
  text-shadow: 0 1px 3px #3c1628;
  z-index: 2;
}
.meter-ticks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    #100e1580 calc(12.5% - 1px),
    #100e1580 12.5%
  );
  border-radius: 8px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.box.active {
  border-color: #d8a858;
  background:
    radial-gradient(ellipse at 50% 24%, #c69b3f25, transparent 60%),
    linear-gradient(145deg, #2d2125, #1b141d);
  box-shadow:
    0 0 0 1px #8b642a33,
    0 12px 35px #0005;
}
.box.active .chest-lid,
.box.waiting .chest-lid {
  transform: translateY(-9px) rotate(-3deg);
}
.box.active .chest-aura {
  background: radial-gradient(ellipse, #e8c76b50, transparent 70%);
}
.box .window {
  background: #352731;
  border: 1px solid #725034;
  color: #f2d5a3;
  border-radius: 12px;
  padding: 11px;
}
.box .window strong {
  color: #f4d89b;
}
.box .window p {
  color: #d8c3b7;
}
.box.active .box-edition {
  color: #ebc57d;
}
.box.waiting {
  border-color: #9c6349;
}
.star-flight {
  color: #f5d184;
}
@media (max-width: 640px) {
  .box {
    padding: 13px 12px;
    border-radius: 16px;
  }
  .box-edition {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .box-bonus {
    font-size: 13px;
    padding: 1px 6px;
  }
  .chest-scene {
    height: 100px;
    margin: 4px 0;
  }
  .gift-chest {
    width: 116px;
    height: 100px;
  }
  .box-brand {
    gap: 6px;
  }
  .box-brand h3 {
    font-size: 17px;
  }
  .box-brand .brand-icon {
    width: 27px;
    height: 27px;
    font-size: 19px;
  }
  .box > p {
    font-size: 13px;
    line-height: 1.85;
  }
  .box .star-count {
    font-size: 14px;
  }
  .box .window {
    padding: 8px;
    font-size: 13px;
  }
  .box .window p {
    font-size: 13px;
  }
  .star-meter {
    height: 17px;
  }
  .chips span {
    font-size: 12px;
  }
  .wheel-caption {
    font-size: 12px;
  }
  .box.active .chest-lid,
  .box.waiting .chest-lid {
    transform: translateY(-6px) rotate(-3deg);
  }
}
#message {
  color: #ff9db1;
}
.cash-brand {
  margin-top: 10px;
}
.guide span img {
  max-width: 54px;
}
.box .window .button {
  font-size: 13px;
  padding: 8px 10px;
  min-height: 42px;
}
dialog .share-actions button,.box .window .button{min-height:44px}.close{min-width:44px;min-height:44px}
/* Frame 7 (14:604): actual exported art, with server-driven readable labels. */
.wheel-wrap{padding:0;margin-top:38px;background:transparent;box-shadow:0 0 65px #d51a3824;isolation:isolate}
.wheel{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:1;border-radius:50%;overflow:hidden;background:transparent}
.wheel-wrap:after{content:'';position:absolute;inset:0;border:0;border-radius:0;background:url(figma/ring.png) center/100% 100% no-repeat;z-index:3;pointer-events:none}
.pointer{top:-8.7%;left:45.08%;width:9.84%;height:16.73%;background:url(figma/marker.svg) center/contain no-repeat;clip-path:none;filter:none;z-index:5}
.hub{position:absolute;inset:auto;top:42.465%;left:42.465%;width:15.07%;height:15.07%;border:0;border-radius:0;background:url(figma/hub.svg) center/contain no-repeat;box-shadow:none;display:block;font-size:0;color:transparent;z-index:4;pointer-events:none}
.hub span{display:none}.spark{font-size:0;color:transparent;z-index:0}.spark.s1{left:auto;right:-1.5%;top:3%;width:16%;height:16%;background:url(figma/accent-star.svg) center/contain no-repeat}.spark.s2{display:none}.wheel svg{overflow:visible}.sector-label{font-family:Plus,Tahoma,sans-serif}.wheel-caption{margin-top:20px}
@media(max-width:640px){.wheel-wrap{padding:0;margin-top:32px;width:min(100%,350px)}.hub{inset:auto;top:42.465%;left:42.465%;width:15.07%;height:15.07%;font-size:0}.spark.s1{right:-1%;top:2%;width:15%;height:15%}.pointer{top:-8.7%;left:45.08%;width:9.84%;height:16.73%}}

#wheel{scroll-margin-top:50px}

/* Campaign copy and chance recovery, shared by the page and result dialog. */
h1, h2, h3, button, .button, .balance { font-weight: 700; }
.hero { padding-top: 36px; }
.intro > p { color: var(--gold); line-height: 2; max-width: 34rem; }
.section-title { display: block; max-width: 820px; margin-bottom: 28px; }
.section-title h2 { line-height: 1.7; }
.section-title > p { max-width: 760px; font-size: 16px; line-height: 2.1; }
.chance-actions { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--edge); text-align: right; }
.chance-actions h3 { font-size: 20px; line-height: 1.8; margin: 0 0 10px; color: var(--gold); }
.chance-actions p { font-size: 16px; line-height: 1.95; }
.chance-actions .referral-link { margin: 12px 0; }
.chance-actions .share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chance-actions .share-actions button { flex: 1; }
.chance-actions > button { width: 100%; }
.chance-or { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--muted); }
.chance-or::before, .chance-or::after { content: ""; height: 1px; flex: 1; background: var(--edge); }
.play-card h3 { line-height: 1.8; }
#modalReferral:empty, #modalCards:empty { display: none; }
@media (max-width: 640px) {
  .hero { padding-top: 24px; }
  .intro > p { font-size: 18px; }
  .section-title h2 { font-size: 24px; }
  .section-title > p { font-size: 16px; }
  .chance-actions .share-actions button { padding-inline: 12px; font-size: 15px; }
}
.play-area { min-width: 0; overflow-x: clip; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.play-card { min-width: 0; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.intro > p { text-wrap: balance; }

/* Decorative coins stay outside the labels and never intercept a spin. */
.wheel-glitter { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.dollar-coin { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; border: 3px double #fff0b4; border-radius: 50%; color: #754306; background: radial-gradient(circle at 32% 22%, #fff9d3, #f4cd68 48%, #bc781c 100%); box-shadow: 0 3px 14px #e7b45270, inset 0 0 0 2px #b7822e66; font: 700 25px/1 Georgia, serif; animation: coin-glimmer 4s ease-in-out infinite; }
.coin-one { top: 8%; left: 1%; transform: rotate(-18deg); }
.coin-two { top: 38%; right: 1%; width: 29px; height: 29px; font-size: 20px; animation-delay: -1.2s; transform: rotate(20deg); }
.coin-three { bottom: 4%; left: 1%; width: 30px; height: 30px; font-size: 21px; animation-delay: -2.4s; transform: rotate(12deg); }
.coin-four { top: -3%; right: 17%; width: 24px; height: 24px; font-size: 17px; animation-delay: -.7s; transform: rotate(-12deg); }
.gold-spark { position: absolute; color: #ffe4a0; font: 26px/1 Georgia, serif; text-shadow: 0 0 14px #f4c363aa; }
.spark-one { top: 30%; left: 1%; }
.spark-two { bottom: 16%; right: 0; font-size: 31px; }
.spark-three { top: -2%; left: 21%; font-size: 18px; }
@keyframes coin-glimmer { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.18); box-shadow: 0 3px 19px #e7b452a0, inset 0 0 0 2px #b7822e66; } }
.section-title { text-align: center; margin-inline: auto; }
.section-title > p { margin-inline: auto; }
.box { text-align: center; }
.box-brand { flex-direction: column; justify-content: center; gap: 8px; }
.box-brand h3 { text-align: center; overflow-wrap: anywhere; }
.box .brand-icon { margin-inline: auto; }
#cards > .divider { text-align: center; }
#cards > .divider > p { max-width: 640px; margin: 12px auto 24px; font-size: 16px; line-height: 2; }
.play-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 18px 18px; text-align: center; }
.play-card .brand-icon { width: 64px; height: 64px; margin-inline: auto; background: #30202c; border: 1px solid #735638; border-radius: 18px; }
.play-card h3 { width: 100%; margin: 0; font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; }
.play-card button { margin-top: auto; min-height: 48px; font-size: 16px; }
@media (max-width: 640px) {
  .after { padding: 20px 14px; }
  #cards > .divider > h2 { font-size: 24px; line-height: 1.7; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .play-card { padding: 18px 10px 12px; gap: 10px; }
  .play-card .brand-icon { width: 56px; height: 56px; border-radius: 15px; }
  .play-card h3 { font-size: 16px; }
  .play-card button { font-size: 15px; padding: 10px 8px; }
  .dollar-coin { width: 29px; height: 29px; font-size: 21px; }
  .coin-two, .coin-three { width: 25px; height: 25px; font-size: 18px; }
  .coin-four { width: 22px; height: 22px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .dollar-coin { animation: none; } }
.cards { display: grid; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.play-card button:disabled { opacity: 1; color: #f3d8df; background: #4a2635; border: 1px solid #7b4a5d; cursor: not-allowed; }

/* Give the collective-star instructions a distinct, readable frame. */
.box .chest-brand-plaque { filter: drop-shadow(0 3px 2px #160c1790); }
.box .box-brand { gap: 0; }
.box .star-count { margin-top: 12px; }
#boxesSection > .section-title {
  position: relative;
  max-width: 920px;
  padding: 34px 40px 28px;
  margin-bottom: 32px;
  border: 1px solid #ad814a;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0, #b78a3820, transparent 65%), linear-gradient(145deg, #241c26, #18131d);
  box-shadow: inset 0 0 0 5px #e6bc6710, 0 12px 36px #00000030;
}
#boxesSection > .section-title::before {
  content: "";
  position: absolute;
  top: -1px;
  left: calc(50% - 48px);
  width: 96px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #ffe0a0, transparent);
  box-shadow: 0 0 18px #eac27355;
}
#boxesSection > .section-title h2 { color: #f4d493; margin: 0 0 18px; }
#boxesSection > .section-title > p { margin-block: 0; color: #e1d8e2; }
#boxesSection > .section-title > p + p { margin-top: 14px; color: #c2b8c7; }
@media (max-width: 640px) {
  #boxesSection > .section-title { padding: 26px 20px 24px; border-radius: 20px; margin-bottom: 24px; }
  #boxesSection > .section-title h2 { font-size: 22px; line-height: 1.8; margin-bottom: 14px; }
  #boxesSection > .section-title > p { font-size: 15px; line-height: 2; }
}
