/* A-Coins Rewards — full commerce site. One component set, two skins:
   [data-skin="road"]   light sticker style (default, from the Reward Road concept)
   [data-skin="arcade"] dark neon style (from the Prize Arcade concept)
   All font sizes are rem so the Aa control (html.large-text) scales text. */
:root, [data-skin="road"] {
  --bg: #fbf7ff; --bg-art: radial-gradient(circle at 1px 1px, rgba(108,36,216,.12) 1.2px, transparent 1.6px) 0 0 / 22px 22px;
  --surface: #fff; --surface-2: #f4ecff; --surface-3: #ebe0ff;
  --text: #2a0f5c; --text-2: #5d4c8d; --text-3: #8a7bb3;
  --brand: #6c24d8; --brand-2: #8b47ff; --brand-soft: #e9ddff; --on-brand: #fff;
  --pink: #e3127b; --pink-soft: #ffd4ea; --gold: #f6b81d; --gold-soft: #fff0c2; --teal: #0f9f82; --teal-2: #25c9a2; --teal-soft: #c9f3e7;
  --orange: #ff7a2f; --orange-soft: #ffe2cf; --sky: #2f9fe0; --sky-soft: #d6efff; --danger: #e3127b;
  --line: #2a0f5c; --line-soft: rgba(42, 15, 92, .14);
  --bw: 2px; --bd: var(--bw) solid var(--line); --bd-soft: 1.5px solid var(--line-soft);
  --sh-sm: 2px 2px 0 var(--line); --sh: 4px 4px 0 var(--line); --sh-lg: 6px 6px 0 var(--line);
  --btn-bd: 2px solid var(--line); --btn-sh: 3px 3px 0 var(--line); --btn-sh-press: 1px 1px 0 var(--line);
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --display: "Bricolage Grotesque", "Figtree", var(--cjk); --display-case: none; --display-weight: 800; --display-track: -.03em;
  --header-bg: rgba(251, 247, 255, .95); --announce-bg: #481d83; --announce-fg: #fff;
  --common: #0f9f82; --rare: #2f9fe0; --epic: #8b47ff; --legendary: #f6b81d;
  --common-soft: #c9f3e7; --rare-soft: #d6efff; --epic-soft: #e9ddff; --legendary-soft: #fff0c2;
  --meter: linear-gradient(90deg, var(--brand), var(--brand-2)); --meter-bg: rgba(42, 15, 92, .1);
  color-scheme: light;
}
[data-skin="arcade"] {
  --bg: #13052c; --bg-art: radial-gradient(1100px 560px at 85% -8%, rgba(124, 47, 240, .42), transparent 62%), radial-gradient(800px 520px at -12% 22%, rgba(255, 46, 147, .18), transparent 60%);
  --surface: #21104b; --surface-2: #2b145f; --surface-3: #351a73;
  --text: #f8f4ff; --text-2: #bcaee6; --text-3: #8e7fbf;
  --brand: #7c2ff0; --brand-2: #a774ff; --brand-soft: rgba(124, 47, 240, .28); --on-brand: #fff;
  --pink: #ff2e93; --pink-soft: rgba(255, 46, 147, .18); --gold: #ffc83d; --gold-soft: rgba(255, 200, 61, .16); --teal: #1fe0b0; --teal-2: #1fe0b0; --teal-soft: rgba(31, 224, 176, .16);
  --orange: #ff8a3d; --orange-soft: rgba(255, 138, 61, .16); --sky: #5fd4ff; --sky-soft: rgba(95, 212, 255, .14); --danger: #ff6fb1;
  --line: rgba(196, 170, 255, .3); --line-soft: rgba(196, 170, 255, .16);
  --bw: 1px; --bd: 1px solid var(--line); --bd-soft: 1px solid var(--line-soft);
  --sh-sm: 0 4px 14px rgba(0, 0, 0, .25); --sh: 0 12px 30px rgba(0, 0, 0, .35); --sh-lg: 0 20px 50px rgba(0, 0, 0, .45);
  --btn-bd: 0; --btn-sh: 0 4px 0 rgba(0, 0, 0, .45); --btn-sh-press: 0 1px 0 rgba(0, 0, 0, .45);
  --display: "Archivo Black", "Figtree", var(--cjk); --display-case: uppercase; --display-weight: 400; --display-track: -.005em;
  --header-bg: rgba(19, 5, 44, .88); --announce-bg: #481d83; --announce-fg: #fff;
  --common: #8fe7c9; --rare: #6fbcff; --epic: #c58bff; --legendary: #ffc83d;
  --common-soft: rgba(143, 231, 201, .16); --rare-soft: rgba(111, 188, 255, .16); --epic-soft: rgba(197, 139, 255, .18); --legendary-soft: rgba(255, 200, 61, .18);
  --meter: linear-gradient(90deg, var(--brand), var(--pink)); --meter-bg: rgba(255, 255, 255, .1);
  color-scheme: dark;
}
body.site { background: var(--bg-art), var(--bg); background-attachment: fixed; color: var(--text); font: 400 1rem/1.5 "Figtree", var(--cjk); }
body.site ::selection { background: var(--gold); color: #2a0f5c; }
.site :focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 24px; }
.ico { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: none; }
.ico svg { width: 100%; height: 100%; }
.h-display, .site h1, .site h2 { font-family: var(--display); font-weight: var(--display-weight); text-transform: var(--display-case); letter-spacing: var(--display-track); line-height: 1.02; }
.site h3 { font-weight: 850; line-height: 1.2; }
.site[data-page="home"] #main :is(h1, h2, h3, h4),
.site[data-page="home"] #siteHeader .catnav :is(a, button) {
  font-family: "Bricolage Grotesque", "Figtree", var(--cjk);
  font-weight: 800;
}
.kicker { display: inline-block; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px; background: var(--text); color: var(--bg); font: 800 .6875rem/1 "Figtree", var(--cjk); letter-spacing: .14em; text-transform: uppercase; }
[data-skin="arcade"] .kicker { background: none; padding: 0; color: var(--gold); letter-spacing: .18em; }
.muted { color: var(--text-2); }
.skin-road-only, .skin-arcade-only { display: none !important; }
[data-skin="road"] .skin-road-only, [data-skin="arcade"] .skin-arcade-only { display: revert !important; }
.logo-road, .logo-arcade { display: none; }
[data-skin="road"] .logo-road, [data-skin="arcade"] .logo-arcade { display: block; }

/* ---------- buttons ---------- */
.btn { --bb: var(--brand); --bf: var(--on-brand); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: var(--btn-bd); border-radius: 14px; background: var(--bb); color: var(--bf); box-shadow: var(--btn-sh); font: 800 .9375rem/1.1 var(--display); text-transform: var(--display-case); letter-spacing: .01em; text-decoration: none; text-align: center; transition: transform .12s, box-shadow .12s, filter .15s; cursor: pointer; }
[data-skin="arcade"] .btn { font-size: .875rem; letter-spacing: .04em; }
.btn:hover { filter: brightness(1.05); }
.btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: var(--btn-sh-press); }
[data-skin="arcade"] .btn:active:not(:disabled) { transform: translateY(3px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; filter: grayscale(.4); }
.btn-gold { --bb: var(--gold); --bf: #2a1300; }
.btn-pink { --bb: var(--pink); --bf: #fff; }
.btn-teal { --bb: var(--teal-2); --bf: #052a21; }
.btn-ghost { --bb: var(--surface); --bf: var(--text); }
[data-skin="arcade"] .btn-ghost { --bb: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .8125rem; border-radius: 11px; }
.btn-block { width: 100%; }
.text-btn { border: 0; background: none; padding: 4px 2px; color: var(--brand); font-weight: 850; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
[data-skin="arcade"] .text-btn { color: var(--brand-2); }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: var(--bd); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }

/* ---------- announcement + header ---------- */
[data-skin="road"] #siteHeader { position: sticky; top: 0; z-index: 60; }
[data-skin="road"] #siteHeader .masthead { position: relative; }
.announce { --announcement-height: 52px; background: var(--announce-bg); color: var(--announce-fg); font-size: 1.125rem; font-weight: 800; }
.announce-inner { position: relative; display: grid; align-items: center; min-height: var(--announcement-height); }
.announce-viewport { height: var(--announcement-height); margin-inline-end: 76px; overflow: hidden; }
.announce-track { display: flex; width: max-content; animation: announcement-scroll 10s linear infinite; }
.announce-viewport[data-paused] .announce-track { animation-play-state: paused; }
.announce-group {
  --announcement-gap: clamp(26px, 4vw, 52px);
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--announcement-gap);
  min-height: var(--announcement-height);
  padding-inline-end: var(--announcement-gap);
}
.announce-msg { flex: none; line-height: 1.2; text-align: center; white-space: nowrap; }
a.announce-msg { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.announce-toggle[hidden] { display: none; }
.announce-sparkle { color: #ffd1ea; font-size: 1.45em; line-height: 1; }
.announce-actions { position: absolute; inset-inline-end: 24px; display: flex; align-items: center; gap: 6px; }
.announce-toggle {
  display: grid;
  place-items: center;
  width: 29px;
  height: 28px;
  border: 1px solid #fff6;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.announce-toggle:hover { background: #fff2; }
.announce-toggle .ico { width: 15px; height: 15px; }
@keyframes announcement-scroll {
  /* Shift by one of the four identical slogan groups. */
  to { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-viewport { height: auto; margin-inline: 40px; padding-block: 6px; }
  .announce-track { display: block; width: auto; min-width: 0; animation: none; }
  .announce-group { display: grid; gap: 2px; min-height: 0; padding: 0; }
  .announce-msg { white-space: normal; }
  .announce-group[aria-hidden], .announce-sparkle, .announce-toggle { display: none; }
}
.lang { display: flex; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.lang button { border: 0; background: none; color: inherit; opacity: .8; font-weight: 800; font-size: .75rem; padding: 4px 9px; border-radius: 999px; white-space: nowrap; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: #2a0f5c; opacity: 1; }
.aa { border: 1px solid rgba(255, 255, 255, .35); background: none; color: inherit; border-radius: 8px; padding: 2px 8px; font-weight: 900; font-size: .75rem; cursor: pointer; }
.aa[aria-pressed="true"] { background: var(--gold); color: #2a0f5c; border-color: var(--gold); }
.masthead { position: sticky; top: 0; z-index: 60; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: var(--bd); }
.mast-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding-top: 12px; padding-bottom: 12px; }
.menu-btn { display: none; }
.brand img { height: 46px; width: auto; }
.search { position: relative; display: flex; align-items: center; height: 48px; border: var(--bd); border-radius: 999px; background: var(--surface); box-shadow: var(--sh-sm); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: 0; padding: 0 8px 0 20px; font-size: 1rem; font-weight: 650; color: var(--text); }
.search input::placeholder { color: var(--text-3); }
.search > button { width: 40px; height: 40px; margin-right: 3px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search > button .ico { width: 20px; height: 20px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; padding: 8px; border: var(--bd); border-radius: 18px; background: var(--surface); box-shadow: var(--sh); max-height: 70vh; overflow: auto; }
.suggest a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--text); }
.suggest a:hover, .suggest a.active { background: var(--surface-2); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 10px; }
.suggest b { font-weight: 850; font-size: .9375rem; }
.suggest small { color: var(--text-3); font-weight: 750; font-size: .75rem; }
.suggest .coins-sm { font: 800 .875rem/1 var(--display); color: var(--text); white-space: nowrap; }
.suggest .all { display: block; text-align: center; font-weight: 850; color: var(--brand); padding: 10px; }
.mast-actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
#memberSlot { display: flex; }
.mast-actions .btn { min-height: 46px; }
.act { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: var(--bd); border-radius: 14px; background: var(--surface); color: var(--text); font-weight: 850; font-size: .875rem; text-decoration: none; cursor: pointer; box-shadow: var(--sh-sm); }
.act.cart-act { background: var(--pink); color: #fff; }
.act .count { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; border: 2px solid var(--line); background: var(--gold); color: #2a0f5c; font: 800 .75rem/18px var(--display); text-align: center; }
[data-skin="arcade"] .act .count { border-color: var(--bg); }
.act .count[data-zero] { display: none; }
.wallet-nav { position: relative; z-index: 3; display: flex; }
.wallet-chip { display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 14px 0 6px; border: var(--bd); border-radius: 999px; background: var(--gold-soft); color: var(--text); font: 800 .9375rem/1 var(--display); box-shadow: var(--sh-sm); cursor: pointer; }
[data-skin="arcade"] .wallet-chip { border-color: rgba(255, 200, 61, .5); color: #ffe28a; }
.wallet-chip img { width: 32px; height: 32px; }
.wallet-chip > svg { width: 13px; height: 13px; transform: rotate(90deg); }
.wallet-chip[aria-expanded="true"] > svg { transform: rotate(-90deg); }
.wallet-menu {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  width: min(224px, calc(100vw - 24px));
  max-height: 65dvh;
  overflow-y: auto;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: var(--bd);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.wallet-customer-name {
  padding: 10px 10px 8px;
  background: #f3eaff;
  border-radius: 9px;
  color: #2a0f5c;
  font-size: 1.25rem;
  line-height: 1.3;
}
.wallet-customer-name > span { display: block; margin-bottom: 3px; font-size: 1rem; font-weight: 700; }
.wallet-customer-name > strong {
  display: block;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.wallet-menu :is(a, button) {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
}
.wallet-menu button { border: 0; background: transparent; text-align: start; }
.wallet-menu [data-action="logout"] { color: #b42318; }
[data-skin="arcade"] .wallet-menu [data-action="logout"] { color: #ff8585; }
.wallet-menu :is(a, button):is(:focus-visible, :hover) { background: var(--surface-2); }
.wallet-menu .wallet-claim-link { background: var(--gold-soft); }
.wallet-claim-link strong { font-size: 1.125rem; }
.wallet-claim-link .ico { width: 16px; height: 16px; margin-inline-start: auto; }
.catnav { --nav-purple: #8a2be2; --nav-purple-soft: #eee2ff; position: relative; border-top: var(--bd-soft); }
.catnav-row { display: flex; gap: 6px; }
.catnav-row .lang { flex: none; align-self: center; margin-inline-start: auto; background: var(--surface-2); color: var(--text); }
.catnav-inner { display: flex; min-width: 0; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 8px; padding-bottom: 8px; }
.catnav-inner a, .redeem-category-trigger { flex: none; padding: 8px 13px; border-radius: 999px; color: var(--nav-purple); font-weight: 800; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.catnav-inner a:hover, .catnav-inner a[aria-current="page"],
.redeem-category-trigger:hover, .redeem-category-trigger[aria-expanded="true"] { background: var(--nav-purple-soft); color: var(--nav-purple); }
[data-skin="arcade"] .catnav { --nav-purple: #c18aff; --nav-purple-soft: rgba(164, 90, 255, .18); }
[data-skin="arcade"] .redeem-category-nav { display: none; }
.redeem-category-nav { display: flex; align-items: center; flex: none; }
.redeem-category-trigger { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; cursor: pointer; }
.redeem-category-trigger svg { width: 15px; height: 15px; transform: rotate(90deg); }
.redeem-category-trigger[aria-expanded="true"] svg { transform: rotate(-90deg); }
.redeem-mega {
  position: absolute;
  z-index: 2;
  top: 100%;
  inset-inline: 0;
  width: min(1192px, calc(100% - 48px));
  max-height: min(62dvh, 520px);
  margin-inline: auto;
  padding: 16px;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  border: var(--bd-soft);
  border-radius: 0 0 18px 18px;
  background: var(--surface);
  box-shadow: 0 16px 32px #29115824;
}
.redeem-mega[hidden] { display: none; }
.redeem-mega-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 9px;
  padding: 8px 8px 10px;
  border: var(--bd-soft);
  border-radius: 11px;
  color: var(--text);
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.redeem-mega-photo { display: block; min-width: 0; height: 110px; overflow: hidden; border-radius: 8px; background: #fff; }
.redeem-mega-photo img { display: block; width: 100%; height: 100%; min-width: 0; padding: 6px; object-fit: contain; }
@media (max-width: 900px) {
  .redeem-mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .redeem-mega { width: calc(100% - 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 10px; }
  .redeem-mega-photo { height: 75px; }
  .redeem-mega-card { font-size: .8125rem; }
}
@media (max-width: 640px) {
  .catnav-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 6px; }
  .catnav-row .redeem-category-nav { min-height: 36px; }
  .catnav-row .lang { grid-column: 2; grid-row: 1; }
  .catnav-row .catnav-inner { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- product card ---------- */
.pcard { --tier: var(--common); --tier-soft: var(--common-soft); position: relative; display: flex; flex-direction: column; border: var(--bd); border-radius: var(--r); background: var(--surface); box-shadow: var(--sh-sm); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.pcard[data-tier="rare"] { --tier: var(--rare); --tier-soft: var(--rare-soft); }
.pcard[data-tier="epic"] { --tier: var(--epic); --tier-soft: var(--epic-soft); }
.pcard[data-tier="legendary"] { --tier: var(--legendary); --tier-soft: var(--legendary-soft); }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh); }
[data-skin="arcade"] .pcard[data-ready="true"] { border-color: rgba(31, 224, 176, .7); box-shadow: 0 0 0 1px rgba(31, 224, 176, .4), 0 10px 30px rgba(31, 224, 176, .12); }
.pcard-media { position: relative; display: grid; grid-template-rows: 100%; place-items: center; aspect-ratio: 1 / .84; background: #fff; border-bottom: var(--bd); overflow: hidden; }
[data-skin="arcade"] .pcard-media { border-bottom: 0; }
.pcard-media.duo { grid-template-columns: 1fr 1fr; }
.pcard-media img { width: 74%; height: 82%; object-fit: contain; transition: transform .3s; }
.pcard-media.duo img { width: 88%; height: 70%; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.tag { position: absolute; z-index: 1; padding: 4px 8px; border-radius: 999px; font: 800 .625rem/1.2 "Figtree", var(--cjk); letter-spacing: .08em; text-transform: uppercase; }
.tag-flag { left: 10px; bottom: 10px; background: #2a0f5c; color: #ffe08a; }
.tag-ready { left: 10px; bottom: 10px; background: var(--teal-2); color: #052a21; border: 1.5px solid #2a0f5c; }
[data-skin="arcade"] .tag-ready { border: 0; }
.pcard-body { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 11px 13px 13px; }
.pcard-limit {
  align-self: flex-start;
  max-width: 100%;
  padding: 3px 5px;
  border: 1px solid #ff5a1f;
  border-radius: 2px;
  background: #fff;
  color: #c63812;
  font: 700 .6875rem/1.25 "Figtree", var(--cjk);
  white-space: nowrap;
}
.pcard-cat { font-size: .6875rem; font-weight: 850; letter-spacing: .07em; color: var(--text-3); text-transform: uppercase; }
.pcard h3 { font-size: .9375rem; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard h3 a:focus-visible::after { outline: 3px solid var(--pink); outline-offset: -4px; border-radius: var(--r); }
.price { display: flex; align-items: center; gap: 6px; font: 800 1.25rem/1 var(--display); color: var(--text); letter-spacing: -.02em; }
[data-skin="arcade"] .price { color: #ffe28a; letter-spacing: 0; }
.price img { width: 22px; height: 22px; }
.price small { font: 800 .6875rem/1 "Figtree", var(--cjk); color: var(--text-3); letter-spacing: 0; text-transform: none; }
.worth { font-size: .75rem; font-weight: 750; color: var(--text-3); }
.worth s { text-decoration-thickness: 1.5px; }
.meter { height: 8px; border-radius: 999px; background: var(--meter-bg); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: var(--meter); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.meter.full i { background: linear-gradient(90deg, var(--teal), var(--teal-2)); }
.togo { font-size: .75rem; font-weight: 850; color: var(--pink); }
.pcard-act { position: relative; z-index: 1; margin-top: auto; padding-top: 8px; }
.pcard-act .btn { width: 100%; min-height: 40px; font-size: .8125rem; }
.qty { display: inline-grid; grid-template-columns: 40px minmax(36px, auto) 40px; align-items: center; height: 42px; border: var(--bd); border-radius: 12px; background: var(--surface); overflow: hidden; }
.qty button { height: 100%; border: 0; background: var(--surface-2); color: var(--text); font: 800 1.125rem/1 var(--display); cursor: pointer; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { text-align: center; font: 800 1rem/1 var(--display); }
.pcard-act .qty { width: 100%; grid-template-columns: 40px 1fr 40px; height: 40px; }

/* ---------- rails & sections ---------- */
.section { margin-top: 56px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: clamp(1.625rem, 3.2vw, 2.5rem); }
.sec-head p { color: var(--text-2); font-weight: 650; margin-top: 6px; max-width: 60ch; }
.sec-tools { display: flex; gap: 8px; align-items: center; flex: none; }
.round { width: 42px; height: 42px; border-radius: 50%; border: var(--bd); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-sm); }
.see-all { font-weight: 850; color: var(--brand); text-decoration: none; white-space: nowrap; }
[data-skin="arcade"] .see-all { color: var(--brand-2); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 230px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 6px 16px 2px; margin: 0 -6px 0 -2px; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.empty { display: grid; justify-items: center; gap: 10px; padding: 48px 20px; text-align: center; border: 2px dashed var(--line); border-radius: var(--r-lg); background: var(--surface); }
.empty img { width: 120px; }
.empty p { color: var(--text-2); font-weight: 650; max-width: 44ch; }
.skeleton { border-radius: var(--r); min-height: 300px; background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }

/* ---------- home: hero banner + wallet ---------- */
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; margin-top: 22px; }
.hero-row.solo { grid-template-columns: minmax(0, 1fr); }
.hero-row.solo #wallet { display: none; }
[data-skin="road"] .hero-row { --hero-height: 320px; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
[data-skin="road"] .hero-row > * { min-width: 0; }
[data-skin="road"] .hero-banner { height: var(--hero-height); min-height: 0; padding-block: 20px; }
/* Wallet and daily spin share one card, with a clear balance above. */
.reward-pass { display: flex; flex-direction: column; height: 100%; border: var(--bd); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-lg); overflow: hidden; }
.reward-pass-row {
  --reward-pass-art-width: min(192px, 50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--reward-pass-art-width);
  align-items: center;
  column-gap: 8px;
  min-width: 0;
  padding: 12px 14px;
}
.reward-pass-top {
  flex: 1;
  grid-template-columns: minmax(min-content, 1fr) minmax(0, var(--reward-pass-art-width));
}
.reward-pass-top--guest {
  background:
    radial-gradient(ellipse at 83% 32%, #fff1ca 0%, transparent 54%),
    linear-gradient(145deg, #faf6ff, #eadbff);
}
.reward-pass-copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.hero-wallet-art { display: block; width: 98%; height: auto; max-height: 172px; margin-inline: auto; object-fit: contain; transform: rotate(12deg); }
.site .reward-pass h2 { font-size: .9375rem; line-height: 1.1; }
.reward-pass .hero-greeting { font: 800 1.375rem/1.15 var(--display); color: var(--brand); overflow-wrap: anywhere; }
.hero-balance strong {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding-inline: 7px;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff4cb, #ffe39b);
  color: var(--brand);
  font: 800 2.125rem/1.05 var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.reward-pass-play {
  border-top: 1.5px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 80% 52%, #ffd66e 0%, transparent 60%),
    linear-gradient(125deg, #fff7df, #ffedb5);
}
.hero-spin-art, .hero-wallet-jar { position: relative; min-width: 0; }
.hero-wallet-jar { top: 6px; }
.hero-spin-art::before, .hero-spin-art::after,
.hero-wallet-jar::before, .hero-wallet-jar::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 16px;
  aspect-ratio: 1;
  background: #f6ad12;
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
}
.hero-spin-art::before { top: 4%; right: 5%; }
.hero-spin-art::after { bottom: 5%; left: 3%; width: 11px; background: var(--brand); }
.hero-wallet-jar::before { top: 15%; left: 5%; background: #d88406; }
.hero-wallet-jar::after { bottom: 20%; right: 3%; width: 12px; background: var(--brand); }
@media (prefers-reduced-motion: no-preference) {
  .hero-wallet-jar::before { animation: wallet-twinkle 3s ease-in-out infinite; }
  .hero-wallet-jar::after { animation: wallet-twinkle 3s 1.4s ease-in-out infinite; }
}
@keyframes wallet-twinkle {
  0%, 100% { opacity: .35; transform: scale(.65); }
  36% { opacity: 1; transform: scale(1.15); }
  70% { opacity: .6; transform: scale(.8); }
}
.hero-spin-wheel { display: block; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; width: 100%; overflow: clip; filter: drop-shadow(0 0 8px rgba(239, 172, 37, .55)); }
.hero-wheel-coin { position: absolute; left: 50%; top: 50%; width: 27%; height: auto; transform: translate(-50%, -50%); }
.hero-wheel-pointer { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 19px; background: linear-gradient(90deg, #bd7213, #fff0a3, #e1a632); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 1px #8b4c0e); }
.branded-wheel { filter: drop-shadow(0 2px 2px rgba(103, 53, 5, .3)); }
@media (prefers-reduced-motion: no-preference) {
  .hero-spin-wheel > svg { animation: spin 14s linear infinite; }
}
.reward-pass-play .lucky-spin-title { font: 800 1.375rem/1.1 "Bricolage Grotesque", "Figtree", sans-serif; letter-spacing: -.03em; color: var(--brand); }
.reward-pass-play .reward-pass-copy { container-type: inline-size; }
.reward-pass-play .lucky-spin-title:lang(en) { font-size: min(1.375rem, 11.5cqi); }
.hero-spin-wheel:hover, .hero-spin-wheel:focus-visible { filter: drop-shadow(0 0 10px #f4a818); }
.reward-pass-copy .btn { width: 100%; min-height: 36px; margin-top: 6px; padding: 4px 8px; }
.reward-pass-copy .hero-spin-action {
  width: fit-content;
  align-self: flex-start;
  padding-inline: 12px;
  font-size: .8125rem;
}
.reward-pass-top .hero-claim-action {
  width: fit-content;
  align-self: flex-start;
  margin-top: 11px;
  padding-inline: 12px;
  white-space: nowrap;
}

.member-rewards {
  padding: clamp(18px, 3.4vw, 42px);
  border: var(--bd-soft);
  border-radius: 28px;
  background: var(--surface);
}
.member-rewards-header { margin-bottom: clamp(22px, 3vw, 36px); text-align: center; }
.member-rewards-header h2 {
  font-size: clamp(.95rem, 4.1vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.member-rewards-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--text-2);
  font-size: .9375rem;
}
.member-rewards-intro .see-all:hover { text-decoration: underline; }
.member-category-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}
.member-category-tabs button {
  min-height: 46px;
  padding: 8px 10px;
  border: var(--bd-soft);
  border-radius: 12px;
  background: var(--category-tint, var(--surface));
  color: var(--text);
  font: 800 .875rem/1.2 "Bricolage Grotesque", "Figtree", var(--cjk);
  overflow-wrap: anywhere;
  cursor: pointer;
}
.member-category-tabs button:hover { border-color: var(--brand); }
.member-category-tabs button[aria-selected="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.member-rewards-empty { padding: 24px 12px; color: var(--text-2); text-align: center; }
@media (max-width: 900px) {
  .member-category-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .member-category-tabs button:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .member-category-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
.member-rewards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.member-reward { display: block; min-width: 0; color: inherit; text-decoration: none; }
.member-reward-photo {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 6px;
  aspect-ratio: 4 / 3;
  padding: 12px;
  overflow: hidden;
  border: var(--bd-soft);
  border-radius: 14px;
  background: #fff;
}
.member-reward-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.member-reward-copy { padding: 14px 2px 4px; }
.member-reward h3 { font-size: clamp(1rem, 1.75vw, 1.4rem); line-height: 1.2; }
.member-reward:hover h3, .member-reward:focus-visible h3 { text-decoration: underline; text-underline-offset: .18em; }
.member-reward-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; margin-top: 10px; }
.member-reward-price img { align-self: center; margin-right: 2px; }
.member-reward-price strong { color: var(--brand); font: 800 clamp(1.25rem, 2.7vw, 2rem)/1 var(--display); }
.member-reward-price span { font-size: .75rem; font-weight: 750; }
[data-skin="arcade"] .member-reward-price strong { color: var(--brand-2); }
@media (min-width: 1080px) {
  .member-rewards { padding-inline: clamp(16px, 1.5vw, 22px); }
  .member-rewards-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(24px, 2.5vw, 34px) clamp(10px, 1vw, 14px);
  }
  .member-reward { display: grid; grid-template-rows: auto 1fr; }
  .member-reward-copy { display: flex; flex-direction: column; }
  .member-reward-photo { aspect-ratio: 6 / 5; }
  .member-reward h3 { font-size: clamp(1rem, 1.5vw, 1.25rem); }
  .member-reward-price { margin-top: auto; padding-top: 10px; }
  .member-reward-price strong { font-size: clamp(1.25rem, 2.1vw, 1.75rem); }
  .member-reward-price img { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .member-reward-photo img { transition: transform .25s ease-out; }
  .member-reward:hover .member-reward-photo img { transform: scale(1.035); }
}
@media (max-width: 640px) {
  .member-rewards { padding: 16px; border-radius: 20px; }
  .member-rewards-grid { grid-template-columns: 1fr; gap: 24px; }
}
[data-skin="road"] #little-joys {
  padding: clamp(12px, 3vw, 32px) 0 12px;
}
[data-skin="road"] #little-joys .sec-head { margin-bottom: 16px; }
[data-skin="road"] #little-joys .sec-head > :first-child {
  flex: 1;
  min-width: 0;
  container-type: inline-size;
}
[data-skin="road"] #little-joys h2 {
  font-size: min(clamp(1.9rem, 4vw, 3.25rem), 10.7cqi);
  color: var(--text);
  white-space: nowrap;
}
[data-skin="road"] #little-joys h2 strong {
  color: #c80066;
  font-size: 1.85em;
  font-weight: 800;
  line-height: 1;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 18px);
}
@media (min-width: 1025px) {
  [data-page="home"] .spotlight-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
[data-skin="road"] .spotlight-grid .pcard {
  border: 0;
  box-shadow: 0 5px 18px #3f1b7614;
}
[data-skin="road"] .spotlight-grid .pcard-media {
  border: 0;
  background: #fff;
}
.spotlight-grid .pcard-media img { width: 84%; height: 86%; }
.spotlight-grid .pcard-body { container-type: inline-size; }
.spotlight-grid .price { gap: 4px; font-size: min(2rem, 17cqi); color: #5f21b5; }
.spotlight-grid .price img { width: 18px; height: 18px; flex: none; }
.spotlight-grid .price small { color: var(--text); }
.spotlight-grid .worth { color: var(--text-2); font-weight: 750; }
.spotlight-grid .pcard-act .btn:not(:disabled) { --bb: #f90e78; --bf: #fff; }
@media (max-width: 1024px) {
  .spotlight-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  [data-page="home"] .spotlight-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 54px) / 4);
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 10px;
  }
  [data-page="home"] .spotlight-grid > .pcard { scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .spotlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  [data-page="home"] .spotlight-grid { grid-template-columns: none; grid-auto-columns: calc((100% - 12px) / 2); }
}
/* Top Pick header and product row. */
[data-skin="road"] #top-picks .sec-head {
  align-items: center;
  margin-bottom: 20px;
}
[data-skin="road"] #top-picks h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1;
  color: #c80066;
}
@supports (background-clip: text) {
  [data-skin="road"] #top-picks h2 {
    width: fit-content;
    background: linear-gradient(103deg, #c90067 2%, #6926c7 34%, #087a72 67%, #b74215 95%);
    background-clip: text;
    color: transparent;
  }
}
[data-skin="road"] #top-picks .spotlight-grid .pcard { box-shadow: 0 6px 20px #39156a24; }
[data-skin="road"] #top-picks .spotlight-grid .pcard-media img { width: 90%; height: 91%; }
[data-skin="road"] :is(#top-picks, #little-joys) .price,
[data-skin="road"] .member-reward-price {
  width: fit-content;
  max-width: 100%;
  padding: 5px 6px;
  border-radius: 8px;
  background: #fff1bf;
}
[data-skin="road"] :is(#top-picks, #little-joys) .price {
  font-size: min(1.75rem, 15cqi);
}
[data-skin="road"] #top-picks .pcard-act .btn:not(:disabled) { --bb: #6c24d8; }
@media (max-width: 1024px) {
  [data-skin="road"] #top-picks .spotlight-grid {
    margin-inline: -6px;
    padding: 3px 6px 14px;
    scroll-padding-inline: 6px;
  }
}
@media (max-width: 440px) {
  [data-skin="road"] #top-picks .sec-head { gap: 8px; margin-bottom: 14px; }
  [data-skin="road"] #top-picks h2 { font-size: clamp(1.7rem, 8vw, 2.25rem); }
  [data-skin="road"] :is(#top-picks, #little-joys) .price,
  [data-skin="road"] .member-reward-price { padding-inline: 4px; }
}
[data-skin="road"] body[data-page="home"] .section[id] { scroll-margin-top: 88px; }
[data-skin="road"] .pcard { border-radius: 22px; }
[data-skin="road"] .pcard-media { background: radial-gradient(ellipse at center, #fff 35%, var(--tier-soft) 100%); }
.discovery-finale { display: flex; align-items: center; gap: 28px; padding: 24px 32px; margin-top: 40px; border: var(--bd); border-radius: 28px; color: #fff; background: radial-gradient(circle at 80% 0, #9849e6, transparent 60%), #6521c5; box-shadow: var(--sh); }
.discovery-finale > img { width: 80px; height: auto; transform: rotate(-6deg); }
.discovery-finale > div { flex: 1; }
.discovery-finale h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.discovery-finale p { margin-top: 8px; }
.discovery-finale .kicker { background: #fff; color: #6521c5; }
.hero-banner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 10px;
  min-height: 420px;
  padding: 40px 44px;
  overflow: hidden;
  border: var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  background:
    repeating-conic-gradient(rgba(255, 255, 255, .13) 0 9deg, transparent 9deg 22deg),
    linear-gradient(135deg, #6c24d8, #8b47ff 55%, #e3127b);
  color: #fff;
}
.hero-banner h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin: 4px 0 12px; }
.hero-banner h2 em { font-style: normal; color: #ffd65c; }
.hero-banner-art { position: relative; height: 100%; }
.hero-confetti { position: absolute; inset: 0; pointer-events: none; }
.hero-confetti span {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 8px;
  height: 16px;
  border-radius: 2px;
  background: #ffe266;
  box-shadow: 0 2px 4px #2a0f5c59;
  transform: rotate(var(--tilt));
}
.hero-confetti span:nth-child(4n + 2) { background: #75ffe3; }
.hero-confetti span:nth-child(4n + 3) { background: #ffb9e5; }
.hero-confetti span:nth-child(4n) { background: #fff9de; }
.hero-confetti span:nth-child(3n) { width: 9px; height: 9px; border-radius: 50%; }
.art-coin { position: absolute; width: 62%; max-width: 280px; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); }
.art-mascot { position: absolute; right: -6px; bottom: -12px; width: 44%; max-width: 190px; height: auto; }
@media (min-width: 761px) {
  [data-skin="road"] .hero-banner .art-coin { left: 40%; }
}
.carousel-nav { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; align-items: center; gap: 8px; z-index: 3; pointer-events: none; }
.carousel-nav > * { pointer-events: auto; }
.dot { width: 11px; height: 11px; border-radius: 999px; border: 2px solid #2a0f5c; background: #fff; padding: 0; cursor: pointer; transition: width .3s; }
.dot[aria-current="true"] { width: 30px; background: var(--gold); }
.c-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 2px solid #2a0f5c; background: #fff; color: #2a0f5c; display: grid; place-items: center; cursor: pointer; box-shadow: 2px 2px 0 #2a0f5c; }
.c-prev { left: 12px; } .c-next { right: 12px; }
.reward-banner-carousel {
  position: relative;
  height: var(--supplier-banner-height, 400px);
  overflow: hidden;
  border: var(--bd);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}
.reward-banner-track {
  display: flex;
  height: 100%;
  touch-action: pan-y;
  transform: translateX(var(--banner-position, 0%));
  transition: transform .45s ease;
}
.reward-banner-slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 28px clamp(48px, 7vw, 86px) 44px;
  background:
    radial-gradient(ellipse at 80% 55%, var(--banner-glow), transparent 55%),
    linear-gradient(115deg, var(--banner-light), var(--banner-dark));
  color: var(--banner-ink, #2a0f5c);
}
.reward-banner-slide--purple { --banner-light: #421875; --banner-dark: #781ee0; --banner-glow: #bb84f1a6; --banner-ink: #fff; }
.reward-banner-slide--peach { --banner-light: #fff0dd; --banner-dark: #ffc4ae; --banner-glow: #fff0ba; }
.reward-banner-slide--mint { --banner-light: #e3faf0; --banner-dark: #a5e6d8; --banner-glow: #e0f8ff; }
.reward-banner-slide--gold { --banner-light: #fff6d6; --banner-dark: #ffd36a; --banner-glow: #fffbe8; }
.reward-banner-slide--supplier {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 4px;
  padding: 13px 52px 34px;
  background: #fff4c9;
}
.supplier-banner-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.reward-banner-slide--supplier .ad-label {
  position: absolute;
  left: 18px;
  top: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #2a0f5c;
  color: #fff;
  font: 800 .625rem/1.2 "Figtree", var(--cjk);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.reward-banner-slide--supplier .ad-cta {
  display: flex;
  justify-self: end;
  gap: 10px;
  align-items: center;
  padding: 4px 5px 4px 10px;
  border: var(--bd-soft);
  border-radius: 13px;
  background: #fff;
  color: #2a0f5c;
  font-weight: 800;
}
.reward-banner-copy h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 3.35rem); line-height: 1.06; }
.reward-banner-copy .btn { gap: 4px; }
.reward-banner-copy .ico { width: 17px; height: 17px; }
.reward-banner-art { display: flex; justify-content: center; gap: clamp(8px, 1.8vw, 20px); min-width: 0; }
.reward-banner-art img {
  width: min(42%, 170px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  padding: clamp(5px, 1vw, 10px);
  border: 1px solid #2a0f5c24;
  border-radius: clamp(9px, 1.4vw, 18px);
  background: #fff;
  box-shadow: 0 8px 18px #2a0f5c33;
  transform: rotate(-7deg);
}
.reward-banner-art img + img { transform: rotate(7deg); }
@media (max-width: 760px) {
  .reward-banner-carousel { height: var(--supplier-banner-height, 300px); }
  .reward-banner-slide { padding: 18px 15px 52px; }
  .reward-banner-slide--supplier { padding: 34px 10px 46px; }
  .reward-banner-slide--supplier .ad-label { left: 10px; top: 9px; }
  .reward-banner-slide--supplier .ad-cta { justify-self: center; gap: 6px; font-size: .75rem; }
  .reward-banner-slide--supplier .ad-cta .btn { min-height: 32px; padding: 4px 8px; font-size: .75rem; }
  .reward-banner-copy h2 { font-size: clamp(1.35rem, 4.5vw, 2rem); }
  .reward-banner-copy .btn { min-height: 35px; padding-inline: 8px; font-size: .8125rem; }
  .reward-banner-carousel .c-arrow { display: grid; top: auto; bottom: 9px; width: 32px; height: 32px; transform: none; }
  .reward-banner-carousel .carousel-nav { bottom: 19px; }
}
.wallet { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: var(--bd); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh); overflow: hidden; }
.wallet-hello { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.wallet-hello img { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: var(--bd); }
.wallet-bal small { display: block; font-weight: 850; color: var(--text-2); font-size: .8125rem; margin-bottom: 4px; }
.wallet-bal strong { font: 800 2.75rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.wallet-jar { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.jar { position: relative; width: 96px; height: 110px; }
.jar svg { width: 100%; height: 100%; overflow: visible; }
.jar .fill { transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.jar-pct { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font: 800 1rem/1 var(--display); color: #2a0f5c; text-shadow: 0 1px 0 #fff, 0 -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff; }
.scoreboard { padding: 14px 14px 12px; border-radius: 16px; background: #0c021f; border: 2px solid rgba(255, 200, 61, .55); box-shadow: 0 0 26px rgba(255, 200, 61, .16); }
.scoreboard small { display: flex; justify-content: space-between; font: 800 .6875rem/1 "Figtree", var(--cjk); letter-spacing: .16em; color: var(--gold); }
.digits { display: flex; align-items: flex-end; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.digit { display: inline-grid; place-items: center; min-width: 32px; height: 46px; padding: 0 3px; border-radius: 8px; background: linear-gradient(180deg, #2b1a4f 0 49%, #1f1140 51% 100%); color: #ffe28a; font: 400 1.75rem/1 "Archivo Black", sans-serif; text-shadow: 0 0 14px rgba(255, 200, 61, .55); }
.digit.sep { min-width: 0; background: none; font-size: 1.375rem; padding: 0; height: auto; }
.wallet-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.wallet-stats div { padding: 10px; border-radius: 14px; background: var(--surface-2); text-align: center; }
.wallet-stats b { display: block; font: 800 1.25rem/1.1 var(--display); }
.wallet-stats span { font-size: .6875rem; font-weight: 850; color: var(--text-2); line-height: 1.2; display: block; }
.wallet-stats .clock { font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--brand); }
[data-skin="arcade"] .wallet-stats .clock { color: var(--sky); }
.expiry { display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 12px; background: var(--orange-soft); font-size: .8125rem; font-weight: 800; }
.expiry .ico { width: 18px; height: 18px; color: var(--orange); }
.wallet-guest { text-align: center; align-items: center; justify-content: center; }
.wallet-guest img.mascot { width: 120px; }
.wallet-guest h3 { font: var(--display-weight) 1.375rem/1.1 var(--display); text-transform: var(--display-case); }
.wallet .btn { width: 100%; }
.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 26px; }
.redeem-mega-card {
  background: var(--category-tint, var(--surface));
  border-color: color-mix(in srgb, var(--text) 20%, var(--category-tint, var(--surface)));
}
.redeem-mega-card:hover { border-color: var(--brand); color: var(--brand); }
.cat-tile { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; border: var(--bd); border-radius: 20px; background: var(--c, var(--surface)); color: var(--text); text-decoration: none; box-shadow: var(--sh-sm); text-align: center; transition: transform .15s; }
.cat-tile:hover { transform: translateY(-3px) rotate(-1deg); }
.cat-tile img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 16px; padding: 4px; border: 1.5px solid var(--line-soft); }
.cat-tile b { font-size: .8125rem; font-weight: 850; line-height: 1.15; }
.cat-tile small { font-size: .6875rem; font-weight: 800; color: var(--text-2); }
[data-skin="arcade"] .cat-tile { --c: var(--surface) !important; }
.promo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo { position: relative; display: grid; grid-template-columns: 1fr 160px; align-items: center; gap: 10px; min-height: 200px; padding: 24px 26px; border: var(--bd); border-radius: var(--r-lg); background: var(--c); color: #2a0f5c; text-decoration: none; box-shadow: var(--sh); overflow: hidden; }
[data-skin="arcade"] .promo { color: #fff; background: linear-gradient(135deg, var(--c2), #13052c 80%); }
.promo h3 { font: var(--display-weight) clamp(1.375rem, 2.4vw, 1.875rem)/1.05 var(--display); text-transform: var(--display-case); letter-spacing: var(--display-track); margin: 6px 0 8px; }
.promo p { font-weight: 700; opacity: .9; margin-bottom: 14px; }
.promo .stack { position: relative; height: 150px; }
.promo .stack img { position: absolute; width: 104px; height: 104px; object-fit: contain; background: #fff; border: 2px solid #2a0f5c; border-radius: 18px; padding: 6px; box-shadow: 3px 3px 0 #2a0f5c; }
.promo .stack img:nth-child(1) { right: 40px; top: 0; transform: rotate(-8deg); }
.promo .stack img:nth-child(2) { right: 0; bottom: 0; transform: rotate(7deg); }
.promo .btn { justify-self: start; }
.road-wrap { margin-top: 56px; padding: 34px 0 6px; background: linear-gradient(180deg, transparent, var(--surface-2) 25%, var(--surface-2) 75%, transparent); }
[data-skin="arcade"] .road-wrap { background: linear-gradient(180deg, transparent, rgba(124, 47, 240, .12) 25%, rgba(124, 47, 240, .12) 75%, transparent); }
.road-scroller { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--brand) transparent; padding-bottom: 14px; }
.road-track { position: relative; }
.road-track svg.path { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.stop { position: absolute; width: 150px; display: grid; justify-items: center; gap: 8px; }
.stop-node { width: 62px; height: 62px; border-radius: 50%; border: 2px solid #2a0f5c; background: #fff; color: #2a0f5c; display: grid; place-items: center; box-shadow: 2px 2px 0 #2a0f5c; font: 800 .8125rem/1 var(--display); text-align: center; z-index: 1; }
.stop-node small { display: block; font: 800 .5625rem/1 "Figtree", var(--cjk); letter-spacing: .06em; color: #8a7bb3; margin-top: 2px; }
.stop[data-state="passed"] .stop-node { background: #f6b81d; }
.stop[data-state="next"] .stop-node { background: #e3127b; color: #fff; animation: pulse 1.6s ease-in-out infinite; }
.stop[data-state="next"] .stop-node small { color: #ffe1ef; }
.stop-card { position: relative; width: 138px; padding: 8px 8px 10px; border: 2px solid #2a0f5c; border-radius: 16px; background: #fff; color: #2a0f5c; box-shadow: 3px 3px 0 #2a0f5c; text-decoration: none; transition: transform .15s; }
.stop-card:hover { transform: translateY(-3px) rotate(-1.5deg); }
.stop-card img { width: 100%; height: 72px; object-fit: contain; }
.stop-card b { display: block; font-size: .75rem; font-weight: 850; line-height: 1.2; height: 2.4em; overflow: hidden; margin-top: 4px; }
.stop[data-state="passed"] .stop-card::before { content: "✓"; position: absolute; left: -10px; top: -10px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #2a0f5c; background: #25c9a2; display: grid; place-items: center; font-weight: 900; font-size: .8125rem; }
.token { position: absolute; z-index: 3; transform: translate(-50%, -100%); display: grid; justify-items: center; pointer-events: none; }
.token-bubble { padding: 6px 11px; border: 2px solid #2a0f5c; border-radius: 13px; background: #2a0f5c; color: #fff; font: 800 .8125rem/1.1 var(--display); white-space: nowrap; box-shadow: 3px 3px 0 #e3127b; }
.token-pin { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 11px solid #2a0f5c; }
.token img { width: 48px; height: 48px; animation: bounce 1.6s ease-in-out infinite; }
.spin-banner { position: relative; display: grid; grid-template-columns: 200px 1fr auto; gap: 26px; align-items: center; padding: 24px 30px; border: var(--bd); border-radius: var(--r-lg); background: var(--gold-soft); box-shadow: var(--sh-lg); overflow: hidden; }
[data-skin="arcade"] .spin-banner { background: linear-gradient(120deg, #2a0f63, #3d1189 45%, #5c0f6e); }
.spin-banner .wheel-mini { width: 190px; aspect-ratio: 1; animation: spin 22s linear infinite; }
.spin-banner h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
.spin-banner p { color: var(--text-2); font-weight: 700; margin-top: 6px; }
.stamps { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.stamps small { font-weight: 850; margin-right: 4px; }
.stamps i { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--text-3); display: grid; place-items: center; font: 800 .75rem/1 var(--display); font-style: normal; color: var(--text-3); background: var(--surface); }
.stamps i.on { border: 2px solid #2a0f5c; background: var(--pink); color: #fff; transform: rotate(-12deg); }
[data-skin="arcade"] .stamps i.on { border: 0; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc83d 55%, #d48d00); color: #3a2000; box-shadow: 0 0 12px rgba(255, 200, 61, .7); transform: none; }
.stamps i.today { border-color: var(--pink); color: var(--pink); }
.spin-cta { display: grid; justify-items: center; gap: 8px; text-align: center; }
.spin-cta img { width: 100px; }
.spin-cta small { font-weight: 800; color: var(--text-2); }
.steps3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step3 { padding: 20px; border: var(--bd); border-radius: 22px; background: var(--c, var(--surface)); box-shadow: var(--sh-sm); }
[data-skin="arcade"] .step3 { background: var(--surface); }
.step3 b { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border: var(--bd); border-radius: 50%; background: var(--surface); font: 800 1.25rem/1 var(--display); }
.step3 h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.step3 p { color: var(--text-2); font-weight: 650; font-size: .9375rem; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 9px; }
.brand-strip span { padding: 9px 13px; border: var(--bd); border-radius: 12px; background: var(--surface); font-weight: 850; font-size: .875rem; box-shadow: var(--sh-sm); }
.brand-strip a { display: inline-flex; align-items: center; padding: 9px 13px; border: var(--bd); border-radius: 12px; background: var(--surface); color: inherit; font-weight: 850; font-size: .875rem; box-shadow: var(--sh-sm); text-decoration: none; }
.brand-strip a:hover { border-color: var(--brand); color: var(--brand); }
.brand-strip img { width: auto; height: 20px; margin-right: 8px; border-radius: 4px; }
.brand-strip span { display: inline-flex; align-items: center; }

/* ---------- breadcrumbs + page heads ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0 10px; font-size: .8125rem; font-weight: 750; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 8px 0 22px; flex-wrap: wrap; }
.page-title h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.page-title p { color: var(--text-2); font-weight: 700; margin-top: 6px; }

/* ---------- shop ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
@media (min-width: 1025px) {
  .shop .spotlight-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.filters { position: sticky; top: 150px; display: grid; gap: 14px; }
.fgroup { padding: 14px; border: var(--bd); border-radius: 18px; background: var(--surface); }
.fgroup h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.fopt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: none; color: var(--text); font-weight: 750; font-size: .9375rem; text-align: left; cursor: pointer; }
.fopt:hover { background: var(--surface-2); }
.fopt[aria-pressed="true"] { background: var(--brand); color: #fff; }
.fopt small { font-weight: 800; color: inherit; opacity: .7; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 4px; font-weight: 750; cursor: pointer; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--brand); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .result { font-weight: 800; color: var(--text-2); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.select { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px 0 14px; border: var(--bd); border-radius: 12px; background: var(--surface); font-weight: 850; color: var(--text-2); font-size: .875rem; }
.select select { border: 0; background: none; color: var(--text); font-weight: 850; font-size: .9375rem; outline: 0; }
.select select option { color: #2a0f5c; }
.filter-btn { display: none; }
.shop--spotlight .filter-btn { display: inline-flex; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-chips button { display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border: var(--bd); border-radius: 999px; background: var(--surface-2); color: var(--text); font-weight: 800; font-size: .8125rem; cursor: pointer; }
.load-more { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; align-items: start; }
.gallery { position: sticky; top: 150px; display: grid; gap: 12px; }
.gallery-main { position: relative; display: grid; grid-template-rows: 100%; place-items: center; height: 460px; padding: 26px; border: var(--bd); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh); }
.gallery-main img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 74px; height: 74px; padding: 6px; border: var(--bd); border-radius: 14px; background: #fff; cursor: pointer; }
.thumbs button[aria-current="true"] { box-shadow: 0 0 0 3px var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buybox h1 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); text-transform: none; margin: 8px 0 10px; }
[data-skin="arcade"] .buybox h1 { text-transform: uppercase; }
.buybox .price { font-size: 2.25rem; }
.buybox .price img { width: 34px; height: 34px; }
.buy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: var(--bd-soft); border-radius: 999px; background: var(--surface-2); font-size: .8125rem; font-weight: 800; color: var(--text-2); }
.pill .ico { width: 16px; height: 16px; }
.pill.good { background: var(--teal-soft); color: var(--text); }
.pill.warn { background: var(--pink-soft); color: var(--text); }
.calc { margin: 16px 0; border: var(--bd); border-radius: 18px; background: var(--surface); overflow: hidden; }
.calc div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1.5px dashed var(--line-soft); font-weight: 750; color: var(--text-2); }
.calc div:last-child { border-bottom: 0; }
.calc strong { font: 800 1.0625rem/1.2 var(--display); color: var(--text); }
.calc .good { background: var(--teal-soft); }
.calc .bad { background: var(--pink-soft); }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 8px; }
.buy-row .btn { min-height: 52px; }
.buy-alt { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 12px; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.info-card { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; padding: 12px; border: var(--bd-soft); border-radius: 16px; background: var(--surface); font-size: .875rem; font-weight: 650; color: var(--text-2); }
.info-card b { display: block; color: var(--text); font-weight: 850; }
.info-card .ico { width: 36px; height: 36px; padding: 7px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
[data-skin="arcade"] .info-card .ico { color: var(--brand-2); }
.acc { margin-top: 20px; display: grid; gap: 10px; }
.acc details { border: var(--bd); border-radius: 16px; background: var(--surface); }
.acc summary { cursor: pointer; padding: 15px 16px; font-weight: 850; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 800 1.25rem/1 var(--display); color: var(--brand); }
.acc details[open] summary::after { content: "–"; }
.acc .acc-body { padding: 0 16px 16px; color: var(--text-2); font-weight: 600; }
.acc .acc-body ol { padding-left: 20px; display: grid; gap: 6px; }
.buybar { display: none; }

/* ---------- cart ---------- */
.cart-layout, .co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.cart-lines { display: grid; gap: 12px; }
.cline { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px; border: var(--bd); border-radius: 20px; background: var(--surface); box-shadow: var(--sh-sm); }
.cline-img { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 16px; background: #fff; border: var(--bd-soft); }
.cline-img img { width: 84px; height: 84px; object-fit: contain; }
.cline h3 { font-size: 1rem; }
.cline h3 a { color: inherit; text-decoration: none; }
.cline .meta { color: var(--text-3); font-size: .8125rem; font-weight: 750; margin: 2px 0 8px; }
.cline-right { display: grid; justify-items: end; gap: 10px; }
.cline .line-total { font: 800 1.125rem/1 var(--display); }
.cline .warn { color: var(--danger); font-weight: 800; font-size: .8125rem; }
.summary { position: sticky; top: 150px; padding: 20px; border: var(--bd); border-radius: 24px; background: var(--surface); box-shadow: var(--sh); }
.summary h2 { font-size: 1.5rem; margin-bottom: 12px; }
.summary .calc { margin: 0 0 14px; }
.summary .btn { width: 100%; }
.summary .note { margin-top: 12px; font-size: .8125rem; font-weight: 700; color: var(--text-2); display: flex; gap: 8px; }
.summary .note .ico { width: 18px; height: 18px; color: var(--brand); }

/* ---------- checkout ---------- */
.stepper { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.stepper span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: var(--bd); border-radius: 999px; background: var(--surface); font-weight: 850; font-size: .875rem; color: var(--text-3); }
.stepper span b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); font: 800 .75rem/1 var(--display); }
.stepper span.on { color: var(--text); border-color: var(--text); }
[data-skin="arcade"] .stepper span.on { border-color: var(--brand-2); }
.stepper span.on b { background: var(--pink); color: #fff; }
.stepper span.done b { background: var(--teal-2); color: #052a21; }
.step-card { padding: 22px; border: var(--bd); border-radius: 24px; background: var(--surface); box-shadow: var(--sh-sm); }
.step-card + .step-card { margin-top: 16px; }
.step-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.step-card > p { color: var(--text-2); font-weight: 650; margin-bottom: 14px; }
.outlet-tools { display: grid; gap: 10px; margin-bottom: 12px; }
.outlet-tools .search { box-shadow: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips button { flex: none; padding: 7px 12px; border: var(--bd); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 800; font-size: .8125rem; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.outlets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-height: 420px; overflow: auto; padding: 3px; }
.outlet { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: var(--bd); border-radius: 16px; background: var(--surface); cursor: pointer; }
.outlet input { width: 20px; height: 20px; accent-color: var(--pink); }
.outlet b { display: block; font-weight: 850; }
.outlet small { color: var(--text-2); font-weight: 650; font-size: .8125rem; }
.outlet:has(input:checked) { background: var(--pink-soft); box-shadow: var(--sh-sm); }
.review-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1.5px dashed var(--line-soft); }
.review-line img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 12px; border: var(--bd-soft); }
.review-line b { font-weight: 850; }
.review-line small { display: block; color: var(--text-3); font-weight: 750; }
.tnc { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-weight: 700; font-size: .9375rem; }
.tnc input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.confirm-box { margin-top: 18px; }
.hold, .swipe { position: relative; width: 100%; min-height: 66px; border-radius: 999px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.hold { border: 0; background: #0c021f; color: #fff; box-shadow: 0 0 0 2px var(--teal), 0 0 26px rgba(31, 224, 176, .3); font: 400 1.0625rem/1 "Archivo Black", sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; border-radius: 18px; }
.hold::before { content: ""; position: absolute; inset: 0; width: calc(var(--hold, 0) * 100%); background: linear-gradient(90deg, #12c89b, #1fe0b0); }
.hold span { position: relative; display: grid; gap: 6px; }
.hold small { font: 700 .75rem/1 "Figtree", var(--cjk); letter-spacing: .04em; text-transform: none; opacity: .8; }
.hold:disabled { opacity: .45; }
.swipe { height: 70px; border: 2px solid #2a0f5c; background: #fff; box-shadow: 4px 4px 0 #2a0f5c; }
.swipe[aria-disabled="true"] { opacity: .5; }
.swipe .trail { position: absolute; inset: 0 auto 0 0; width: calc(var(--x, 0px) + 66px); background: repeating-linear-gradient(45deg, #f6b81d 0 12px, #ffd25c 12px 24px); border-right: 2px solid #2a0f5c; }
.swipe .label { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 60px; font: 800 1.0625rem/1 var(--display); color: #2a0f5c; pointer-events: none; text-align: center; }
.swipe .label small { display: block; font: 750 .75rem/1.2 "Figtree", var(--cjk); color: #5d4c8d; margin-top: 4px; }
.swipe .knob { position: absolute; left: 4px; top: 4px; z-index: 1; width: 58px; height: 58px; border-radius: 50%; border: 2px solid #2a0f5c; background: #fff; display: grid; place-items: center; transform: translateX(var(--x, 0px)); cursor: grab; }
.swipe .knob img { width: 46px; height: 46px; }
.swipe.done .trail { width: 100%; }
.swipe.springing .knob, .swipe.springing .trail { transition: transform .3s cubic-bezier(.2, .9, .3, 1.3), width .3s; }
.notice { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border: var(--bd-soft); border-radius: 14px; background: var(--sky-soft); font-weight: 750; font-size: .875rem; }
.notice.warn { background: var(--orange-soft); }
.notice.ok { background: var(--teal-soft); }
.notice.bad { background: var(--pink-soft); }
.notice .ico { width: 20px; height: 20px; }
.overlay { position: fixed; inset: 0; z-index: 2147483200; display: grid; place-items: center; background: rgba(14, 4, 34, .62); backdrop-filter: blur(4px); }
.overlay-card { display: grid; justify-items: center; gap: 12px; padding: 30px 34px; border: var(--bd); border-radius: 26px; background: var(--surface); text-align: center; box-shadow: var(--sh-lg); }
.overlay-card img { width: 110px; animation: bounce 1s ease-in-out infinite; }
.overlay-card h2 { font-size: 1.5rem; }

/* ---------- order ---------- */
.order-hero { text-align: center; margin: 26px 0 20px; overflow-x: clip; }
.order-hero .big { display: inline-block; padding: 12px 24px; border: var(--bd); border-radius: 20px; background: var(--gold); color: #2a0f5c; box-shadow: var(--sh-lg); font: 800 clamp(2rem, 5vw, 3.25rem)/1 var(--display); letter-spacing: -.03em; transform: rotate(-3deg); animation: slap .55s cubic-bezier(.2, .9, .3, 1.4); }
[data-skin="arcade"] .order-hero .big { border: 0; background: none; box-shadow: none; transform: none; font-family: "Archivo Black", sans-serif; text-transform: uppercase; background-image: linear-gradient(180deg, #fff, #ffc83d 60%, #ff9d00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #7a3a00) drop-shadow(0 0 22px rgba(255, 200, 61, .5)); }
.order-hero p { color: var(--text-2); font-weight: 700; margin-top: 14px; }
.order-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; justify-content: center; }
.pass { position: relative; border: 2px solid #2a0f5c; border-radius: 24px; background: #fff; color: #2a0f5c; box-shadow: var(--sh-lg); overflow: hidden; }
[data-skin="arcade"] .pass { border: 0; }
.pass::before, .pass::after { content: ""; position: absolute; top: 58%; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 2px solid #2a0f5c; transform: translateY(-50%); }
[data-skin="arcade"] .pass::before, [data-skin="arcade"] .pass::after { border: 0; }
.pass::before { left: -15px; } .pass::after { right: -15px; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(120deg, #6c24d8, #e3127b); color: #fff; }
.pass-top b { font: 800 1.125rem/1.1 var(--display); text-transform: var(--display-case); }
.pass-qr { display: grid; justify-items: center; gap: 6px; padding: 18px; }
.pass-code { text-align: center; font: 800 1.75rem/1 var(--display); letter-spacing: .06em; }
.pass-code small { display: block; font: 800 .6875rem/1.5 "Figtree", var(--cjk); letter-spacing: .14em; color: #8a7bb3; text-transform: uppercase; }
.pass-info { border-top: 2.5px dashed #2a0f5c; padding: 14px 18px 18px; display: grid; gap: 9px; }
.pass-info div { display: flex; justify-content: space-between; gap: 12px; font-size: .875rem; }
.pass-info span { color: #5d4c8d; font-weight: 750; }
.pass-info strong { font-weight: 900; text-align: right; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 800 .75rem/1 "Figtree", var(--cjk); background: #f1edf8; color: #2a0f5c; border: 1.5px solid #2a0f5c; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #8a7bb3); }
.status[data-s="reserved"] { --c: #2f9fe0; background: #d6efff; }
.status[data-s="ready"] { --c: #0f9f82; background: #c9f3e7; }
.status[data-s="collected"] { --c: #f6b81d; background: #fff0c2; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 10px; }
.track span { position: relative; text-align: center; font-size: .6875rem; font-weight: 850; color: var(--text-3); padding-top: 26px; }
.track span::before { content: ""; position: absolute; top: 2px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; border: 2px solid var(--text-3); background: var(--surface); }
.track span::after { content: ""; position: absolute; top: 11px; left: calc(50% + 12px); right: calc(-50% + 12px); height: 2px; background: var(--text-3); }
.track span:last-child::after { display: none; }
.track span.on { color: var(--text); }
.track span.on::before { border-color: var(--text); background: var(--pink); }
.track span.on::after { background: var(--text); }
.pass .track span { color: #a99cc9; } .pass .track span.on { color: #2a0f5c; } .pass .track span::before { background: #fff; } .pass .track span.on::before { border-color: #2a0f5c; }
.order-side { display: grid; gap: 16px; }
.order-side .step-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- account ---------- */
.acct { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; }
.acct-nav { position: sticky; top: 150px; display: grid; gap: 6px; padding: 10px; border: var(--bd); border-radius: 20px; background: var(--surface); }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: var(--text-2); font-weight: 850; text-decoration: none; }
.acct-nav a .ico { width: 20px; height: 20px; }
.acct-nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.acct-nav button { margin-top: 6px; }
.acct .wallet-hello { display: none; }
.acct > .panel { min-width: 0; }
.acct-title p { margin-top: 8px; color: var(--text-2); font-weight: 700; }
.acct-summary { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.acct-summary .card { padding: 26px; }
.acct-summary .acct-balance { display: flex; flex-direction: column; gap: 18px; background: var(--gold-soft); }
.acct-balance-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acct-balance-top h2 { margin: 0 0 8px; font-size: 1rem; }
.acct-balance-top img { width: 80px; height: 80px; object-fit: contain; }
.acct-balance-number { display: block; margin-bottom: 6px; font: 800 clamp(2.5rem, 4vw, 3.5rem)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.acct-balance-top .muted { font-size: .8125rem; font-weight: 700; }
.acct-balance-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; }
.acct .see-all { display: inline-flex; align-items: center; gap: 6px; }
.acct .see-all .ico { width: 16px; height: 16px; }
.acct-redemptions { display: flex; flex-direction: column; }
.acct-redemptions h2 { margin-bottom: 6px; }
.acct-redemptions > p { font-size: .875rem; }
.acct-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.acct-counts > div + div { border-left: 1px solid var(--line-soft); padding-left: 16px; }
.acct-counts strong { display: block; margin-bottom: 6px; font: 800 2rem/1 var(--display); }
.acct-counts span { color: var(--text-2); font-size: .8125rem; font-weight: 750; }
.acct-redemptions > .see-all { margin-top: auto; align-self: flex-start; }
.acct-recent .sec-head { margin: 0 0 18px; gap: 12px; flex-wrap: wrap; }
.acct-recent .sec-head h2 { margin: 0; }
.acct-recent .orow { border: var(--bd-soft); box-shadow: none; border-radius: 16px; }
.acct-empty { display: grid; justify-items: start; gap: 16px; padding: 12px 0; }
.acct .kv > div { align-items: center; flex-wrap: wrap; }
.acct .kv strong { overflow-wrap: anywhere; }
.acct .skin-switch { flex-wrap: wrap; }
.acct .acct-history-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 901px), (max-width: 640px) {
  .acct-summary { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .acct .acct-nav { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 7px; }
  .acct .acct-nav a { padding: 10px 8px; font-size: .8125rem; white-space: normal; gap: 7px; }
  .acct .acct-nav a .ico { flex-shrink: 0; }
  .acct-summary .card, .acct-recent { padding: 20px; }
  .acct .acct-history-stats { grid-template-columns: 1fr; }
}
.panel { display: grid; gap: 18px; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { padding: 20px; border: var(--bd); border-radius: 24px; background: var(--surface); box-shadow: var(--sh-sm); }
.card h2 { font-size: 1.375rem; margin-bottom: 10px; }
.level { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.badge { width: 82px; height: 82px; border: var(--bd); border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; text-align: center; transform: rotate(-8deg); }
[data-skin="arcade"] .badge { border: 0; border-radius: 0; transform: none; background: linear-gradient(180deg, #ffe28a, #ffc83d 50%, #e09400); color: #2a1300; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.badge small { display: block; font: 800 .5625rem/1 "Figtree", var(--cjk); letter-spacing: .12em; }
.badge b { font: 800 2rem/1 var(--display); }
.level h3 { font: var(--display-weight) 1.5rem/1.1 var(--display); text-transform: var(--display-case); }
.level p { font-weight: 800; color: var(--text-2); margin: 4px 0 8px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button { padding: 9px 15px; border: var(--bd); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 850; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
[data-skin="arcade"] .tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.orders { display: grid; gap: 12px; }
.orow { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: var(--bd); border-radius: 20px; background: var(--surface); text-decoration: none; color: var(--text); }
.orow:hover { box-shadow: var(--sh-sm); }
.orow-img { position: relative; width: 76px; height: 76px; border-radius: 14px; background: #fff; display: grid; place-items: center; border: var(--bd-soft); }
.orow-img img { width: 64px; height: 64px; object-fit: contain; }
.orow-img b { position: absolute; right: -6px; bottom: -6px; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: #2a0f5c; font: 800 .6875rem/1.4 var(--display); border: 1.5px solid #2a0f5c; }
.orow h3 { font-size: .9375rem; margin: 6px 0 2px; }
.orow small { display: block; color: var(--text-2); font-weight: 700; font-size: .8125rem; }
.orow .coins-col { text-align: right; font: 800 1rem/1 var(--display); }
.ledger { display: grid; gap: 8px; }
.ledger h3 { margin: 12px 0 4px; font: 800 .75rem/1 "Figtree", var(--cjk); letter-spacing: .14em; color: var(--text-3); text-transform: uppercase; }
.lrow { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 11px 13px; border: var(--bd-soft); border-radius: 16px; background: var(--surface); }
.lrow .dot { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.lrow[data-dir="out"] .dot { background: var(--pink-soft); color: var(--pink); }
.lrow .dot svg { width: 20px; height: 20px; }
.lrow b { display: block; font-weight: 900; }
.lrow small { color: var(--text-2); font-weight: 650; }
.lrow .amt { font: 800 1.0625rem/1 var(--display); color: var(--teal); white-space: nowrap; }
.lrow[data-dir="out"] .amt { color: var(--pink); }
.kv { display: grid; gap: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed var(--line-soft); font-weight: 750; color: var(--text-2); }
.kv strong { color: var(--text); }
.gate { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 50px 20px; border: var(--bd); border-radius: 28px; background: var(--surface); box-shadow: var(--sh); }
.gate img { width: 130px; }
.gate p { color: var(--text-2); font-weight: 650; max-width: 42ch; }

/* ---------- help ---------- */
.help-hero { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 30px; border: var(--bd); border-radius: var(--r-lg); background: var(--brand); color: #fff; box-shadow: var(--sh-lg); margin-top: 22px; }
.help-hero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.help-hero p { font-weight: 650; opacity: .92; margin-top: 8px; max-width: 56ch; }
.help-hero img { width: 150px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: var(--bd); border-radius: 16px; background: var(--surface); }
.faq-list summary { cursor: pointer; padding: 16px 18px; font-weight: 850; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 800 1.25rem/1 var(--display); color: var(--brand); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { padding: 0 18px 16px; color: var(--text-2); font-weight: 600; }
.faq-list .faq-answer { white-space: pre-line; }
.ad-block { display: grid; gap: 14px; padding: 18px; border: var(--bd); border-radius: var(--r-lg); background: var(--surface); }
.ad-block img { width: 100%; border-radius: 16px; }
.ad-block .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 850; }

/* ---------- footer + dock ---------- */
.skin-switch { display: inline-flex; align-items: center; gap: 6px; }
.skin-switch button { padding: 5px 10px; border: var(--bd); border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 800; font-size: .75rem; cursor: pointer; }
.skin-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.dock { display: none; }

/* ---------- dialogs: sheet, drawer, menu ---------- */
dialog.sheet { width: min(560px, calc(100vw - 32px)); max-height: min(92vh, 860px); border: var(--bd); border-radius: 28px; background: var(--bg); color: var(--text); box-shadow: var(--sh-lg); overflow: auto; overscroll-behavior: contain; }
[data-skin="arcade"] dialog.sheet { background: #1a0a3c; }
dialog.sheet[open] { animation: pop .28s cubic-bezier(.2, .9, .3, 1.2); }
.dlg-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: var(--bd); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.sheet-body { padding: 26px; }
dialog.drawer { margin: 0 0 0 auto; width: min(430px, 100vw); height: 100vh; max-height: 100vh; border: 0; border-left: var(--bd); background: var(--bg); color: var(--text); display: none; flex-direction: column; padding: 0; overflow: hidden; }
dialog.drawer[open] { display: flex; animation: slide-in .3s cubic-bezier(.2, .9, .3, 1); }
dialog.menu { margin: 0 auto 0 0; width: min(340px, 88vw); height: 100vh; max-height: 100vh; border: 0; border-right: var(--bd); background: var(--bg); color: var(--text); overflow: auto; padding: 0; }
dialog.menu[open] { animation: slide-in-left .3s cubic-bezier(.2, .9, .3, 1); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: var(--bd); }
.drawer-head h2 { font-size: 1.375rem; }
.drawer-head .dlg-close { position: static; float: none; margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; display: grid; gap: 10px; align-content: start; }
.drawer-foot { padding: 16px 20px 20px; border-top: var(--bd); display: grid; gap: 10px; background: var(--surface); }
.dline { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border: var(--bd-soft); border-radius: 16px; background: var(--surface); }
.dline.just { box-shadow: 0 0 0 3px var(--teal-2); }
.dline img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; }
.dline b { display: block; font-weight: 850; font-size: .875rem; line-height: 1.25; }
.dline small { color: var(--text-3); font-weight: 750; }
.dline .qty { height: 34px; grid-template-columns: 32px 30px 32px; }
.dline .qty button { font-size: 1rem; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 850; }
.drawer-total strong { font: 800 1.375rem/1 var(--display); }
.drawer-sub { color: var(--text-2); font-weight: 700; font-size: .8125rem; }
.menu-section { padding: 14px 18px; border-bottom: var(--bd-soft); display: grid; gap: 2px; }
.menu-section h3 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.menu-section a, .menu-section button.link { display: block; padding: 9px 4px; border: 0; background: none; color: var(--text); font-weight: 800; text-decoration: none; text-align: left; cursor: pointer; font-size: 1rem; }
.menu-row { display: flex; gap: 8px; flex-wrap: wrap; }
.menu-row .lang { background: var(--surface-2); }
.menu-row .lang button { color: var(--text); }
.menu-row .aa { border-color: var(--line); color: var(--text); }

/* login + wheel (sheet contents) */
.login { text-align: center; }
.login .mascot { width: 110px; margin: 0 auto 4px; }
.login h2 { font-size: 1.75rem; margin-top: 6px; }
.login .sub { color: var(--text-2); font-weight: 650; margin-top: 8px; }
.field { display: grid; gap: 8px; text-align: left; margin-top: 16px; }
.field span { font-weight: 850; }
.field input { height: 58px; border: var(--bd); border-radius: 16px; background: var(--surface); color: var(--text); padding: 0 16px; font: 800 1.5rem/1 var(--display); letter-spacing: .04em; outline: 0; }
.field input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.field-error { color: var(--danger); font-weight: 850; font-size: .875rem; min-height: 1.4em; text-align: left; margin-top: 8px; }
.otp { position: relative; display: block; margin-top: 18px; }
.otp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: 1rem; z-index: 1; cursor: text; }
.otp-cells { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-cells i { display: grid; place-items: center; height: 62px; border: var(--bd); border-radius: 14px; background: var(--surface); font: 800 1.75rem/1 var(--display); font-style: normal; }
.otp-cells i.active { border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-soft); }
.otp-cells i.active:empty::after { content: ""; width: 3px; height: 28px; background: var(--pink); animation: blink 1s steps(2) infinite; }
.demo-hint { margin-top: 12px; display: inline-flex; padding: 7px 12px; border: 2px dashed var(--teal); border-radius: 999px; background: var(--teal-soft); font-weight: 850; font-size: .8125rem; }
.login .btn { margin-top: 16px; width: 100%; }
.login-links { display: flex; justify-content: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.bar { height: 12px; border-radius: 999px; background: var(--meter-bg); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--meter); }
.linking { display: grid; gap: 14px; justify-items: center; padding: 26px 0 8px; }
.linking .bar { width: 100%; max-width: 300px; }
.linking .bar i { width: 0; animation: grow 1.2s ease-out forwards; }
.welcome-coins { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 4px; font: 800 3.25rem/1 var(--display); }
.welcome-coins img { width: 48px; }
.wheel-sheet { text-align: center; }
.wheel-box { position: relative; width: min(340px, 78vw); margin: 18px auto 0; aspect-ratio: 1; }
.rotor { position: absolute; inset: 0; transition: transform 4.6s cubic-bezier(.12, .76, .15, 1); }
.rotor svg { width: 100%; height: 100%; }
.pointer { position: absolute; left: 50%; top: -20px; z-index: 2; transform: translateX(-50%); width: 42px; height: 50px; }
.hub { position: absolute; left: 50%; top: 50%; width: 21%; transform: translate(-50%, -50%); z-index: 2; }
.wheel-result { margin-top: 16px; min-height: 100px; }
.wheel-result .won { display: inline-block; padding: 8px 20px; border: var(--bd); border-radius: 18px; background: var(--gold); color: #2a0f5c; box-shadow: var(--sh); font: 800 2.75rem/1 var(--display); transform: rotate(-3deg); animation: slap .5s cubic-bezier(.2, .9, .3, 1.4); }
.wheel-result .zero { font: 800 1.75rem/1.1 var(--display); color: var(--text-2); }
.wheel-result p { margin-top: 8px; font-weight: 750; }
.wheel-sheet .stamps { justify-content: center; }
.rules { margin-top: 14px; text-align: left; border: var(--bd-soft); border-radius: 14px; background: var(--surface); }
.rules summary { cursor: pointer; padding: 12px 14px; font-weight: 850; }
.rules p { padding: 0 14px 12px; color: var(--text-2); font-weight: 600; font-size: .875rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 2147483100; display: flex; align-items: center; gap: 14px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; max-width: min(92vw, 480px); padding: 12px 14px 12px 18px; border: 2px solid #2a0f5c; border-radius: 16px; background: #2a0f5c; color: #fff; font-weight: 850; box-shadow: 4px 4px 0 #e3127b; transition: transform .3s cubic-bezier(.2, .9, .3, 1.25), visibility 0s linear .3s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .3s cubic-bezier(.2, .9, .3, 1.25), visibility 0s; }
.toast a, .toast button { flex: none; padding: 7px 12px; border-radius: 10px; border: 0; background: var(--gold); color: #2a0f5c; font-weight: 900; text-decoration: none; cursor: pointer; }

/* motion */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); } 50% { transform: translate(-50%, -56%) rotate(4deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { box-shadow: 2px 2px 0 #2a0f5c, 0 0 0 0 rgba(227, 18, 123, .45); } 50% { box-shadow: 2px 2px 0 #2a0f5c, 0 0 0 12px rgba(227, 18, 123, 0); } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slap { 0% { transform: scale(1.8) rotate(-12deg); opacity: 0; } 70% { transform: scale(.95) rotate(-3deg); opacity: 1; } 100% { transform: scale(1) rotate(-3deg); } }
@keyframes blink { to { opacity: 0; } }
@keyframes grow { to { width: 100%; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes up { from { transform: translateY(30%); opacity: .5; } to { transform: none; opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .mast-actions .act span.label { display: none; }
}
@media (min-width: 1025px) {
  [data-skin="road"] .hero-row .reward-pass {
    display: grid;
    height: var(--hero-height);
    grid-template-rows: minmax(min-content, 1fr) minmax(0, 1fr);
  }
  [data-skin="road"] .hero-row .reward-pass-row {
    --reward-pass-art-width: min(53%, 136px);
    column-gap: 6px;
    padding: 3px 10px;
  }
  [data-skin="road"] .hero-row .reward-pass-row:lang(ms) {
    --reward-pass-art-width: min(47%, 118px);
  }
  [data-skin="road"] .hero-row .reward-pass-top { padding-block: 9px; }
  [data-skin="road"] .hero-row .hero-wallet-art { width: min(100%, 124px); }
  /* A long member name takes two lines at most, so the spin row below keeps room for its wheel. */
  [data-skin="road"] .hero-row .hero-greeting {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1.125rem;
    overflow-wrap: break-word;
  }
  /* Without this the column is only as wide as its button, which in Chinese is too short to fit a name in two lines. */
  [data-skin="road"] .hero-row .reward-pass-top .reward-pass-copy { min-width: 8.5rem; }
  /* The wheel fits the spin row's height as well as its width, so it is never cut off at the bottom. */
  [data-skin="road"] .hero-row .reward-pass-play { container-type: size; }
  [data-skin="road"] .hero-row .hero-spin-wheel { width: min(100%, 100cqb); margin-inline: auto; }
  [data-skin="road"] .hero-row .hero-spin-wheel:focus-visible { outline-offset: -3px; }
  [data-skin="road"] .hero-row .hero-balance strong { padding-inline: 4px; font-size: clamp(1.375rem, 2.2vw, 1.875rem); }
  [data-skin="road"] .hero-row .reward-pass-play .lucky-spin-title { font-size: 1.0625rem; }
  [data-skin="road"] .hero-row .reward-pass-top--guest .reward-pass-copy .btn {
    padding-inline: 4px;
    font-size: .8125rem;
    line-height: 1.15;
    white-space: normal;
  }
  [data-skin="road"] .hero-row .hero-spin-action {
    min-height: 32px;
    position: relative;
    inset-block-start: 8px;
  }
  [data-skin="road"] .hero-row .hero-claim-action { font-size: .8125rem; }
  .reward-pass-row { align-content: safe center; }
  .reward-pass-top .reward-pass-copy { gap: 3px; }
  .reward-pass-play { overflow-y: auto; }

  [data-skin="road"] .hero-banner { padding-inline: 40px; }
  [data-skin="road"] .hero-banner h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
}
@media (max-width: 1024px) {
  .hero-row { grid-template-columns: 1fr; }
  [data-skin="road"] .hero-row { grid-template-columns: minmax(0, 1fr); }
  .reward-pass { display: grid; grid-template-columns: 1fr 1fr; }
  .reward-pass-play { border-top: 0; border-left: 1.5px solid var(--line-soft); }
  .wallet { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .wallet > .btn, .wallet .wallet-stats, .wallet .expiry { grid-column: 1 / -1; }
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-btn { display: inline-flex; }
  .pdp, .cart-layout, .co-layout, .order-grid, .acct { grid-template-columns: 1fr; }
  .gallery, .summary, .acct-nav { position: static; }
  .gallery-main { height: 360px; }
  .acct-nav { grid-auto-flow: column; overflow-x: auto; grid-template-columns: none; scrollbar-width: none; }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav a { white-space: nowrap; padding: 10px 12px; }
  .steps3 { grid-template-columns: repeat(2, 1fr); }
  .spin-banner { grid-template-columns: 150px 1fr; }
  .spin-banner .wheel-mini { width: 150px; }
  .spin-cta { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; }
  .spin-cta img { display: none; }
}
@media (max-width: 760px) {
  .reward-pass { display: flex; }
  .reward-pass-play { border-left: 0; border-top: 1.5px solid var(--line-soft); }
  [data-skin="road"] body[data-page="home"] .section[id],
  [data-skin="road"] body[data-page="home"] .road-map { scroll-margin-top: 146px; }
  .discovery-finale { flex-wrap: wrap; padding: 22px; gap: 16px; }
  .discovery-finale > img { width: 56px; }
  .discovery-finale .btn { width: 100%; }
  body.site { font-size: .9375rem; }
  .order-actions .btn { flex: 1 1 100%; justify-content: center; }
  .wrap { padding: 0 16px; }
  .announce { --announcement-height: 48px; font-size: 1rem; }
  .announce-viewport { margin-inline: 0 34px; }
  .announce-actions { inset-inline-end: 16px; }
  .announce-actions .aa { display: none; }
  .mast-inner { grid-template-columns: auto auto 1fr; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .menu-btn { display: grid; width: 40px; height: 40px; }
  .brand img { height: 34px; }
  .mast-inner .search { grid-column: 1 / -1; order: 5; height: 44px; }
  .mast-actions { justify-self: end; gap: 6px; }
  .mast-actions .cart-act { display: none; }
  .wallet-chip { height: 38px; padding: 0 10px 0 4px; font-size: .8125rem; }
  .wallet-chip img { width: 26px; height: 26px; }
  .act { height: 38px; padding: 0 12px; }
  .mast-actions .btn { min-height: 38px; }
  .catnav-inner { padding-top: 6px; padding-bottom: 6px; }
  .hero-banner { min-height: 0; grid-template-columns: 1fr; padding: 20px 22px; }
  .hero-banner-art { min-height: 190px; order: -1; }
  .art-coin { width: 46%; }
  .art-mascot { width: 34%; bottom: -24px; }
  [data-skin="road"] .hero-banner {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 16px 18px;
  }
  [data-skin="road"] .hero-banner-art { min-height: 0; }
  [data-skin="road"] .hero-banner h2 { font-size: clamp(1.375rem, 5.7vw, 2rem); margin-bottom: 8px; }
  [data-skin="road"] .hero-banner .btn { min-height: 38px; }
  [data-skin="road"] .hero-banner .art-coin { max-width: 116px; }
  [data-skin="road"] .hero-banner .art-mascot { max-width: 84px; bottom: 0; }
  .c-arrow { display: none; }
  .wallet { grid-template-columns: 1fr; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-tile { padding: 10px 4px; border-radius: 16px; }
  .cat-tile img { width: 48px; height: 48px; border-radius: 12px; }
  .cat-tile b { font-size: .6875rem; }
  .cat-tile small { display: none; }
  .rail { grid-auto-columns: 58%; gap: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard-body { padding: 9px 10px 11px; }
  .pcard h3 { font-size: .8125rem; }
  .price { font-size: 1.0625rem; }
  .price img { width: 18px; height: 18px; }
  .promo-duo { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr 110px; min-height: 0; padding: 20px; }
  .promo .stack { height: 110px; }
  .promo .stack img { width: 76px; height: 76px; }
  .promo .stack img:nth-child(1) { right: 26px; }
  .spin-banner { grid-template-columns: 1fr; padding: 22px 18px; }
  .spin-banner .wheel-mini { position: absolute; right: -40px; top: -40px; width: 140px; opacity: .9; }
  .spin-copy { padding-right: 70px; }
  .spin-cta { grid-template-columns: 1fr; }
  .spin-cta .btn { width: 100%; }
  .steps3 { grid-template-columns: 1fr; }
  .sec-tools .round { display: none; }
  .gallery-main { height: 300px; }
  .info-cards { grid-template-columns: 1fr; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: var(--bd); background: var(--surface); }
  .buybar .price { font-size: 1.125rem; }
  .buybar .btn { flex: 1; }
  body.has-buybar .dock { display: none !important; }
  body.has-buybar .foot-base { padding-bottom: 120px; }
  .cline { grid-template-columns: 72px minmax(0, 1fr); }
  .cline-img { width: 72px; height: 72px; }
  .cline-img img { width: 62px; height: 62px; }
  .cline-right { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; }
  .cline-right .line-total { justify-self: end; }
  .outlets { grid-template-columns: 1fr; max-height: 50vh; }
  .orow { grid-template-columns: 64px minmax(0, 1fr); }
  .orow-img { width: 64px; height: 64px; }
  .orow .coins-col { grid-column: 2; text-align: left; }
  .panel-grid { grid-template-columns: 1fr; }
  .help-hero { grid-template-columns: 1fr; }
  .help-hero img { display: none; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-base { padding-bottom: 130px; }
  .dock { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 58; padding: 6px; border: var(--bd); border-radius: 24px; background: var(--surface); box-shadow: var(--sh); }
  .dock a, .dock button { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border: 0; background: none; border-radius: 16px; color: var(--text-2); text-decoration: none; font-size: .6875rem; font-weight: 850; cursor: pointer; }
  .dock [aria-current="page"] { background: var(--brand-soft); color: var(--text); }
  .dock .dock-cart .ico { width: 48px; height: 48px; margin-top: -26px; border: var(--bd); border-radius: 50%; background: var(--pink); color: #fff; padding: 11px; box-shadow: var(--sh-sm); }
  .dock .count { position: absolute; top: -26px; right: 8px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; border: 2px solid var(--line); background: var(--gold); color: #2a0f5c; font: 800 .6875rem/16px var(--display); }
  .dock .count[data-zero] { display: none; }
  .toast { bottom: 96px; }
  dialog.sheet { width: 100vw; max-width: 100vw; max-height: 94vh; margin: auto 0 0; border-radius: 26px 26px 0 0; border-bottom: 0; }
  dialog.sheet[open] { animation: up .3s cubic-bezier(.2, .9, .3, 1); }
  .sheet-body { padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); }
  .otp-cells i { height: 54px; font-size: 1.5rem; }
}

