/* Shared storefront polish. Layout remains owned by each page stylesheet. */
/* Region labels use the existing card and brand containers. */
.catalog-page .product-region {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--polish-line);
  border-radius: var(--radius-sm);
  background: var(--polish-surface);
  color: var(--polish-ink);
  font-size: var(--text-xs);
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  letter-spacing: normal;
}
.purchase .game-brand__info,
.purchase .game-brand__flag { min-width: 0; }
.purchase .game-brand__info {
  flex: 1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--space-4);
  row-gap: var(--space-2);
}
.purchase .game-brand__name { order: 0; max-width: 100%; overflow-wrap: anywhere; }
.purchase .game-brand__flag { display: contents; }
.purchase .game-brand__tags { order: 3; flex-basis: 100%; }
.purchase .game-region-label {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 100%;
  color: var(--polish-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: normal;
}
.purchase .game-region-label span { min-width: 0; overflow-wrap: anywhere; }
.purchase .game-region-global {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.purchase .game-brand__info:has(.game-region-global) { column-gap: var(--space-3); }
.purchase .game-region-flag {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 18px;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--polish-line);
}
.purchase .game-region-label svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.purchase .game-brand__flag[hidden] { display: none; }
.purchase .game-region-note {
  order: 2;
  flex-basis: 100%;
  display: block;
  margin: 0;
  color: var(--polish-muted);
  font-size: var(--text-xs);
  line-height: var(--leading-body);
  overflow-wrap: anywhere;
}
.purchase .order-summary__row > strong { min-width: 0; overflow-wrap: anywhere; }
/* Font files and the storefront stack are owned by typography.css. */
:root {
  --font-sans: var(--font-store);
  --font-ui: var(--font-sans);
  --font-display-ui: var(--font-sans);
  --font: var(--font-ui);
  --store-heading-font: var(--font-display-ui);
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 28px;
  --text-2xl: 40px;
  --leading-tight: 1.2;
  --leading-body: 1.65;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --control-height: 44px;
  --polish-focus: #ff4655;
  --polish-blue: #315fe8;
  --polish-ink: #17191d;
  --polish-muted: #68717d;
  --polish-line: #e4e7ec;
  --polish-surface: #ffffff;
  --polish-shadow: 0 14px 36px rgba(23, 30, 42, .08);
}

/* Checkout coupon rules */
.checkout-summary dl .checkout-summary__discount,
.checkout-summary dl .checkout-summary__discount dd { color: #267254; }
.checkout-coupon {
  margin: 0 20px 14px;
  padding: 13px;
  border: 1px solid #e2e6eb;
  border-radius: 11px;
  background: #fafbfc;
}
.checkout-coupon > label {
  display: block;
  margin-bottom: 8px;
  color: #626a76;
  font-size: 10px;
  font-weight: 700;
}
.checkout-coupon > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  gap: 7px;
}
.checkout-coupon input {
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dce1e7;
  border-radius: 8px;
  outline: 0;
  color: #252b35;
  background: #fff;
  font-size: 11px;
  text-transform: uppercase;
}
.checkout-coupon input:focus {
  border-color: #7f8fa3;
  box-shadow: 0 0 0 3px rgba(127, 143, 163, .14);
}
.checkout-coupon button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #26364b;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}
.checkout-coupon button:disabled { cursor: wait; opacity: .65; }
.checkout-coupon p {
  min-height: 14px;
  margin: 7px 0 0;
  color: #7b838e;
  font-size: 9px;
  line-height: 1.45;
}
.checkout-coupon p.is-success { color: #267254; }
.checkout-coupon p.is-error { color: #c32d44; }

body { font-family: var(--font-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font-family: var(--font-ui); }
.store-home { --font-condensed: var(--font-sans); }

/* Shared type scale: compact labels, comfortable body copy, decisive headings. */
.catalog-page, .page-main, .page-footer, .catalog-nav,
.auth-page, .account-page, .legal-page {
  font-family: var(--font-ui);
}

.catalog-page p, .page-main p, .page-footer, .legal-page p {
  line-height: var(--leading-body);
}

.catalog-page .catalog-heading h1,
.page-main .page-title { line-height: var(--leading-tight); }

.catalog-page .catalog-crumb,
.catalog-page .catalog-count,
.catalog-page .catalog-item__meta,
.page-main .page-kicker { font-size: var(--text-xs); }

.catalog-page .catalog-item__title { font-size: var(--text-sm); line-height: 1.45; }

.catalog-page .catalog-search input,
.catalog-page .catalog-filter button { min-height: var(--control-height); }

a, button, input, select, textarea { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--polish-focus);
  outline-offset: 3px;
}

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

/* Light storefront pages */
.catalog-page .catalog-filter,
.catalog-page .catalog-content,
.page-main .about-point,
.page-main .news-item,
.page-main .about-hero-image {
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 10px 28px rgba(16, 24, 40, .045);
}

.catalog-page .catalog-item__image,
.catalog-page .featured-game,
.catalog-page .topup-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.catalog-page .catalog-item:hover .catalog-item__image,
.catalog-page .featured-game:hover,
.catalog-page .topup-card:hover { transform: translateY(-3px); box-shadow: var(--polish-shadow); }
.catalog-page .catalog-search input:focus { box-shadow: 0 0 0 3px rgba(49, 95, 232, .12); border-color: var(--polish-blue); }
.catalog-page .catalog-filter button.is-active { box-shadow: inset 3px 0 0 var(--polish-blue); }
.catalog-page .catalog-empty a:hover { background: var(--polish-ink); color: #fff; border-color: var(--polish-ink); }

.catalog-page .catalog-filter,
.catalog-page .catalog-content,
.catalog-page .catalog-item__image,
.catalog-page .featured-game,
.catalog-page .topup-card { border-radius: var(--radius-md); }

.page-main .about-point,
.page-main .news-item,
.page-main .about-hero-image { border-radius: var(--radius-md); }

.page-main .page-title { font-size: clamp(34px, 4vw, var(--text-2xl)); }
.page-main .page-lead { font-size: var(--text-md); line-height: 1.8; }
.page-main .about-point strong { font-size: var(--text-lg); line-height: var(--leading-tight); }
.page-main .news-item h2 { font-size: var(--text-lg); line-height: 1.35; }

/* Recharge flow keeps its dark visual language while sharing the same rhythm. */
.redeem-page .redeem-card h1 { line-height: var(--leading-tight); }
.redeem-page .redeem-card .subtitle,
.redeem-page .form-hint,
.redeem-page .announcement { line-height: var(--leading-body); }
.redeem-page .form-input { min-height: 48px; font-size: var(--text-md); }
.redeem-page .btn { min-height: 48px; font-size: var(--text-md); }
.redeem-page .form-group + .form-group { margin-top: var(--space-6); }

/* Denomination cards: same DOM and grid, upgraded hierarchy and selection feedback. */
.game-page .purchase-section__title--standalone {
  margin: 0 0 20px;
  padding: 0 0 0 12px;
  border-left-width: 3px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0;
}
.game-page .denom-card,
.denom-card {
  min-height: 192px;
  padding: 20px 12px 16px;
  gap: 12px;
  border: 1px solid #e6e9ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  isolation: isolate;
}

.game-page .denom-card:not(:disabled):hover {
  transform: none;
  border-color: color-mix(in srgb, var(--theme-border) 72%, #d8dee8);
  background: color-mix(in srgb, var(--theme-light) 30%, #fff);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .05);
}

.game-page .denom-card.denom-card--active {
  border-color: var(--theme-border);
  background: color-mix(in srgb, var(--theme-light) 40%, #fff);
  box-shadow: inset 0 0 0 1px var(--theme-border);
  transform: none;
}
.game-page .denom-card:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.game-page .denom-card:disabled { background: #f5f6f7; border-color: #e3e5e8; box-shadow: none; transform: none; }

.denom-card__icon {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.denom-card__icon-img { width: 48px; height: 48px; }
.denom-card__icon-text {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 64px;
  padding: 4px;
  color: var(--theme-color);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.denom-card__body { gap: 10px; }
.denom-card__value { width: 100%; min-height: 2.8em; font-size: 15px; line-height: 1.4; font-weight: 650; letter-spacing: 0; overflow-wrap: anywhere; text-wrap: balance; }
.denom-card__divider { background: #edf0f4; }
.denom-card__prices { gap: 4px 8px; line-height: 1.2; flex-wrap: wrap; }
.denom-card__current { font-size: 21px; font-weight: 700; letter-spacing: 0; overflow-wrap: anywhere; }
.denom-card__original { font-size: 11px; }

.denom-card__check {
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--theme-color) 28%, transparent);
}

@media (max-width: 640px) {
  .game-page .denom-card { min-height: 180px; padding: 20px 10px 14px; gap: 8px; }
  .denom-card__icon { width: 48px; height: 48px; }
  .denom-card__icon-img { width: 40px; height: 40px; }
  .denom-card__icon-text { min-width: 56px; min-height: 56px; font-size: 24px; }
  .denom-card__value { font-size: 15px; }
  .denom-card__current { font-size: 19px; }
  .denom-card:hover, .denom-card--active { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .denom-card:hover, .denom-card--active { transform: none; }
}

/* Signed-in account control shared by storefront and game pages. */
.nav__auth-user {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 4px;
  border: 1px solid #e4e7ec;
  border-radius: 13px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}
.nav__auth-profile {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  padding: 2px 10px 2px 2px;
  border-radius: 9px;
  color: var(--text, #111827);
}
.nav__auth-profile:hover { background: #f7f8fa; }
.nav__auth-avatar {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand, #ff4655) 88%, #fff), var(--brand, #ff4655));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}
.nav__auth-copy { min-width: 0; display: grid; gap: 1px; line-height: 1.15; }
.nav__auth-copy strong {
  max-width: 112px;
  overflow: hidden;
  color: var(--text, #111827);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav__auth-copy small { color: var(--text-3, #8b93a1); font-size: 10px; font-weight: 500; }
.nav__auth-logout {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  padding: 0 9px;
  border-left: 1px solid #eceef2;
  border-radius: 0 8px 8px 0;
  color: var(--text-3, #7c8491);
  font-size: 11px;
  white-space: nowrap;
}
.nav__auth-logout:hover { background: #fff4f4; color: #c93440; }
.nav__auth-profile:focus-visible,
.nav__auth-logout:focus-visible { outline: 2px solid color-mix(in srgb, var(--brand, #ff4655) 35%, transparent); outline-offset: 2px; }

@media (max-width: 760px) {
  .nav__auth-user { border: 0; padding: 0; box-shadow: none; background: transparent; }
  .nav__auth-profile { padding-right: 2px; }
  .nav__auth-copy, .nav__auth-logout { display: none; }
  .nav__auth-avatar { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
}

/* Responsive usability: keep compact controls easy to reach on touch screens. */
@media (max-width: 760px) {
  .nav__logo,
  .catalog-brand,
  .page-brand,
  .legal-brand,
  .auth-mobile-brand,
  .store-nav .brand,
  .redeem-logo {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .nav__search-input,
  .catalog-search input {
    min-height: 40px;
  }

  .catalog-account,
  .page-account,
  .auth-back,
  .catalog-filter button,
  .auth-tab {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .auth-tab { min-width: 44px; justify-content: center; }
}

@media (max-width: 560px) {
  .nav__currency,
  .nav__auth-btn {
    min-height: 40px;
  }

  .notice__more {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
  }

  .notice__close {
    width: 36px;
    height: 36px;
  }
}

/* Store navigation — user-first two-tier commerce header */
.nav {
  border-bottom: 1px solid rgba(25, 29, 36, .09);
  background: rgba(253, 252, 249, .97);
  box-shadow: 0 7px 24px rgba(28, 32, 40, .045);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  width: min(100%, 1280px);
  max-width: 1280px;
  height: 108px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) max-content;
  grid-template-rows: 62px 46px;
  grid-template-areas:
    "logo search right"
    "logo links right";
  align-items: center;
  column-gap: 18px;
  row-gap: 0;
  padding: 0 40px;
}

.nav__logo {
  grid-area: logo;
  min-width: 0;
  gap: 12px;
  padding: 4px 0;
  border: 0;
  border-radius: 8px;
  transition: opacity .18s ease, transform .18s ease;
}
.nav__logo:hover { opacity: .76; transform: translateY(-1px); }
.nav__logo-img { width: 110px; height: 36px; }
.nav__logo-text { color: #535861; font-size: 10px; font-weight: 720; letter-spacing: .14em; }

.nav__links {
  grid-area: links;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  gap: 6px;
  padding: 4px 0 0;
  border: 0;
  border-top: 1px solid #ebe8e3;
  background: transparent;
}
.nav__link {
  position: relative;
  min-width: 0;
  flex: 1 1 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 9px 0;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #555b65;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nav__link:hover {
  border-color: #e4e1dc;
  color: #1e222a;
  background: #fff;
  box-shadow: 0 7px 18px rgba(26, 30, 38, .09);
  transform: translateY(-2px);
}
.nav__link::after {
  display: none;
  content: none;
}
.nav__link--active {
  border-color: #272c35;
  color: #fff;
  background: #272c35;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(26, 30, 38, .14);
}
.nav__link--active:hover {
  border-color: #363c47;
  color: #fff;
  background: #363c47;
  box-shadow: 0 9px 22px rgba(26, 30, 38, .18);
}

.nav__search { grid-area: search; order: initial; width: min(100%, 600px); max-width: 600px; min-width: 0; justify-self: center; margin: 0; }
.nav__search-input {
  height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid #dedbd5;
  border-radius: 12px;
  background: #f6f4f1;
  color: #232730;
  font-size: 14px;
  font-weight: 520;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.nav__search-input:hover { border-color: #c9c5bf; background: #faf9f7; }
.nav__search-input:focus { border-color: #c87882; background: #fff; box-shadow: 0 0 0 3px rgba(216,60,78,.08); }
.nav__search-input::placeholder { color: #9a9da4; font-weight: 480; }
.nav__search-icon { left: 14px; width: 17px; height: 17px; color: #747983; stroke-width: 1.8; }
.nav__search-input::-webkit-search-cancel-button { cursor: pointer; opacity: .55; }

.nav__right {
  grid-area: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  transform: none;
}
.nav__language {
  flex: 0 0 auto;
  height: 44px;
  padding: 2px;
  border: 1px solid #e4e0da;
  border-radius: 10px;
  background: #f3f1ed;
}
.nav__language button { min-width: 38px; height: 38px; border-radius: 8px; color: #686e78; font-size: 13px; font-weight: 720; touch-action: manipulation; }
.nav__language button[aria-pressed="true"],
.nav__language button.is-active { color: #b42d3e; background: #fff; box-shadow: 0 2px 7px rgba(29,33,40,.09); }
.nav__language button:hover { color: #292d35; background: rgba(255,255,255,.62); }
.nav__currency {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: 0;
  padding: 0 13px;
  border: 1px solid #e4e0da;
  border-radius: 9px;
  background: #fff;
  color: #666c76;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  touch-action: manipulation;
}
.nav__currency::before { content: none; }
.nav__currency:hover { border-color: #c9c5bf; background: #fff; color: #242830; }
.nav__locale {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px 0 8px;
  border: 1px solid #e4e0da;
  border-radius: 11px;
  background: #fffdf9;
  color: #30343c;
  font-size: 12px;
  font-weight: 740;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(28,33,42,.06);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nav__locale:hover { border-color: #c9c5bf; background: #fff; box-shadow: 0 7px 18px rgba(28,33,42,.09); transform: translateY(-1px); }
.nav__locale[aria-expanded="true"] { border-color: #d8a0a7; background: #fff; color: #20242c; box-shadow: 0 0 0 3px rgba(211,51,74,.08), 0 8px 20px rgba(28,33,42,.09); }
.nav__locale-globe { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; border: 0; border-radius: 8px; color: #b42d3e; background: #fff0f1; }
.nav__locale-globe svg { display: block; width: 14px; height: 14px; }
/* 触发按钮的货币（纸币）图标：与地球仪同尺寸成对，暖金色调示意"钱" */
.nav__locale-cash { display: block; width: 13px; height: 13px; flex-shrink: 0; color: #8c6a3f; }
.nav__locale i { color: #c5c1ba; font-style: normal; }
.nav__locale b { margin-left: 1px; color: #8e929a; font-size: 12px; transition: transform .18s ease; }
.nav__locale[aria-expanded="true"] b { transform: rotate(180deg); }
.nav__right--locale-ready > .nav__language,
.nav__right--locale-ready > .nav__currency { display: none !important; }
.store-locale-ready .nav__mobile-language { display: none !important; }
.locale-menu-backdrop { position: fixed; inset: 0; z-index: 1190; background: rgba(20,24,31,.2); backdrop-filter: blur(2px); }
.locale-menu-backdrop[hidden] { display: none; }
.locale-menu {
  position: absolute;
  z-index: 1200;
  width: 360px;
  padding: 16px;
  border: 1px solid #dedbd6;
  border-radius: 18px;
  background: #fffdf9;
  color: #272b33;
  box-shadow: 0 26px 70px rgba(26,30,38,.2);
}
.locale-menu[hidden] { display: none; }
.locale-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 0 1px 13px; }
.locale-menu__head strong { color: #20242c; font-size: 15px; font-weight: 820; letter-spacing: -.01em; }
.locale-menu__head button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f2efea; color: #666b74; font-size: 20px; line-height: 1; cursor: pointer; }
.locale-menu__head button:hover { color: #272b33; background: #e9e5df; }
.locale-menu__section { padding: 14px 0; border-top: 1px solid #ece9e4; }
.locale-menu__label { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; color: #727780; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.locale-menu__label svg { width: 12px; height: 12px; flex-shrink: 0; opacity: .8; }
.locale-menu__languages,
.locale-menu__currencies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.locale-menu__languages button,
.locale-menu__currencies button {
  position: relative;
  min-width: 0;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 9px 30px 9px 11px;
  border: 1px solid #e4e1dc;
  border-radius: 11px;
  background: #fff;
  color: #2d3139;
  text-align: left;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.locale-menu__languages button:hover,
.locale-menu__currencies button:hover { border-color: #cfcac3; background: #f8f5f0; transform: translateY(-1px); }
.locale-menu__languages button[aria-checked="true"],
.locale-menu__currencies button[aria-checked="true"] { border-color: #d55b68; background: #fff0f1; color: #a62939; box-shadow: inset 0 0 0 1px rgba(213,91,104,.18); }
.locale-menu__languages button:focus-visible,
.locale-menu__currencies button:focus-visible,
.locale-menu__head button:focus-visible { outline: 2px solid rgba(200,52,69,.58); outline-offset: 2px; }
.locale-menu__languages strong,
.locale-menu__currencies strong { display: flex; align-items: center; gap: 6px; overflow: hidden; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.locale-menu__languages strong svg { width: 12px; height: 12px; flex-shrink: 0; opacity: .85; }
/* 选中项对勾角标：线性风格——线框圆圈 + 细线对勾，与图标体系同风格 */
.locale-menu__languages button[aria-checked="true"]::after,
.locale-menu__currencies button[aria-checked="true"]::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 41, 57, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #a62939;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
}
.locale-menu__currencies strong small { color: #8c9098; font-size: 10px; font-weight: 700; }
.locale-menu__languages span,
.locale-menu__currencies span { width: 100%; overflow: hidden; color: #858991; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.locale-menu__currencies button:disabled { opacity: .4; cursor: not-allowed; }
.locale-menu__note { margin: 3px 0 0; padding: 11px 12px; border: 1px solid #ebe7e1; border-radius: 10px; background: #f7f4ef; color: #6f747d; font-size: 10px; line-height: 1.55; }
.nav__auth-btn {
  flex: 0 0 auto;
  min-width: 146px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  justify-content: flex-start;
  gap: 9px;
  padding: 7px 11px 7px 7px;
  border: 1px solid #dedbd6;
  border-radius: 12px;
  background: #fff;
  color: #242831;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0;
  box-shadow: 0 4px 13px rgba(28, 33, 42, .07);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
  touch-action: manipulation;
}
.nav__auth-btn::before {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: block;
  border-radius: 9px;
  background-color: #fff0f1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c73547' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5.5 19c.8-3.4 3-5.2 6.5-5.2s5.7 1.8 6.5 5.2'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  content: '';
}
.nav__auth-btn::after { margin-left: auto; color: #9a9ea6; content: '›'; font-size: 18px; font-weight: 500; line-height: 1; }
.nav__auth-btn:hover { border-color: #c8c4be; background: #fff; color: #171b22; box-shadow: 0 8px 20px rgba(28,33,42,.11); transform: translateY(-1px); }
.nav__auth-btn:hover::before { background-color: #ffe8ea; }
.nav__auth-btn:hover::after { color: #c73547; }
.nav__auth-user { border-color: #dfdcd7; border-radius: 11px; background: rgba(255,255,255,.68); box-shadow: none; }
.nav__auth-user { flex: 0 0 auto; }
.nav__auth-profile:hover { background: #f2f0ec; }

.nav__logo:focus-visible,
.nav__link:focus-visible,
.nav__language button:focus-visible,
.nav__currency:focus-visible,
.nav__locale:focus-visible,
.nav__auth-btn:focus-visible {
  outline: 2px solid rgba(200, 52, 69, .62);
  outline-offset: 3px;
}

.nav__link { touch-action: manipulation; }

@media (max-width: 1280px) {
  .nav__inner { grid-template-columns: 190px minmax(0, 1fr) max-content; padding: 0 28px; column-gap: 14px; }
  .nav__links { gap: 5px; }
  .nav__link { min-width: 0; padding-right: 8px; padding-left: 8px; }
  .nav__currency { display: inline-flex; }
}

/* English navigation labels need the compact header slightly earlier than Chinese. */
@media (max-width: 1180px) {
  .nav__logo-text { display: none; }
  .nav__inner { grid-template-columns: 110px minmax(220px, 1fr) max-content; padding: 0 24px; column-gap: 14px; }
  .nav__links { gap: 4px; }
  .nav__link { min-width: 0; padding-right: 7px; padding-left: 7px; font-size: 13px; }
  .nav__language, .nav__currency { display: none; }
  .nav__right { transform: none; }
}

@media (max-width: 920px) {
  .nav__inner {
    height: 68px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 68px;
    grid-template-areas: "logo search right";
    padding: 0 18px;
    column-gap: 13px;
  }
  .nav__links { display: none; }
  .nav__search { max-width: none; }
  .nav__language { display: none; }
  .nav__right { gap: 6px; }
  .nav__currency { min-height: 38px; display: inline-flex; padding: 0 9px; font-size: 11px; }
  .nav__locale { min-height: 38px; padding: 0 9px; font-size: 11px; }
  .nav__auth-btn { min-width: 92px; }
}

/* Phones use three explicit rows: controls, search, then scrollable navigation. */
@media (max-width: 700px) {
  .store-home .nav__inner,
  .game-page .nav__inner {
    height: auto;
    min-height: 152px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 56px 50px 46px;
    grid-template-areas: "logo . right" "search search search" "links links links";
    padding: 0 12px;
    column-gap: 8px;
  }
  .store-home .nav__logo,
  .game-page .nav__logo { min-width: 0; }
  .store-home .nav__logo-img,
  .game-page .nav__logo-img { width: 58px; height: 20px; }
  .store-home .nav__search,
  .game-page .nav__search { width: 100%; max-width: none; min-width: 0; }
  .store-home .nav__search-input,
  .game-page .nav__search-input { width: 100%; height: 40px; }
  .store-home .nav__right,
  .game-page .nav__right { min-width: 0; gap: 4px; }
  .store-home .nav__locale,
  .game-page .nav__locale { max-width: 96px; min-height: 36px; overflow: hidden; }
  .store-home .nav__locale [data-locale-language],
  .game-page .nav__locale [data-locale-language],
  .store-home .nav__locale [data-locale-currency],
  .game-page .nav__locale [data-locale-currency] { overflow: hidden; text-overflow: ellipsis; }
  .store-home .nav__auth-btn,
  .game-page .nav__auth-btn {
    max-width: 108px;
    min-width: 0;
    min-height: 36px;
    overflow: hidden;
    padding: 7px 9px;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .store-home .nav__auth-btn::before,
  .store-home .nav__auth-btn::after,
  .game-page .nav__auth-btn::before,
  .game-page .nav__auth-btn::after { display: none; }
  .store-home .nav__links,
  .game-page .nav__links {
    align-self: stretch;
    min-width: 0;
    border-top: 1px solid #ebe8e3;
    padding-top: 4px;
  }
  .store-home .nav__link,
  .game-page .nav__link { min-height: 38px; }
}

@media (max-width: 560px) {
  .nav__inner { padding-right: 12px; padding-left: 12px; gap: 0 8px; }
  .nav__logo-img { width: 64px; height: 22px; }
  .nav__search { min-width: 0; }
  .nav__search-input { height: 40px; padding-left: 34px; font-size: 12px; }
  .nav__search-icon { left: 8px; }
  .nav__right { gap: 5px; }
  .nav__locale { min-height: 36px; gap: 4px; padding: 0 8px; font-size: 10px; }
  .nav__locale-globe, .nav__locale i { display: none; }
  .nav__auth-btn { min-width: 0; min-height: 36px; gap: 0; padding: 8px 9px; font-size: 10px; }
  .nav__auth-btn::before, .nav__auth-btn::after { display: none; }
  .locale-menu-backdrop { background: rgba(20,24,31,.48); }
  .locale-menu {
    position: fixed;
    top: auto !important;
    left: 0 !important;
    inset: auto 0 0 0;
    width: 100%;
    max-height: min(82dvh, 680px);
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-width: 1px 0 0;
    border-radius: 20px 20px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__logo, .nav__link, .nav__auth-btn { transition: none; }
  .nav__logo:hover, .nav__link:hover, .nav__auth-btn:hover { transform: none; }
}

/* Shared storefront access and responsive navigation. */
/* 账户侧边栏横向滚动菜单：可滚动时右缘渐隐，提示右侧还有菜单项（class 由 account.js 检测切换） */
.account-menu.menu-scrollable {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
}
.skip-link {
  position: fixed;
  z-index: 5000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #fff;
  background: #202733;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .18s ease;
}
.skip-link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; transform: translateY(0); }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
button.nav__link { font: inherit; cursor: pointer; }
button.nav__link:not(.nav__link--active) { background: transparent; }

/* Homepage text actions: improve scanability without changing layout or hit areas. */
.store-home .notice__more,
.store-home .nav__link,
.store-home .nav__language button,
.store-home .nav__currency,
.store-home .nav__locale,
.store-home .nav__auth-btn,
.store-home .hero-thumbs button span,
.store-home .section__more,
.store-home .promo-card__cta,
.store-home .promo-card-dark__cta,
.store-home .hot-card__btn,
.store-home .all-card__more {
  font-weight: 700;
}

.store-home .nav__link--active,
.store-home .nav__auth-btn {
  font-weight: 800;
}

.account-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 11px 16px;
  border: 0;
  border-radius: 7px;
  color: #4c5058;
  background: transparent;
  font: inherit;
  text-align: left;
}
.account-menu button:hover { color: var(--ink); background: #f5f6f7; }
.account-menu button:focus-visible { outline: 2px solid #c73547; outline-offset: 2px; }

@media (max-width: 1180px) {
  .catalog-view .catalog-nav { height: auto; }
  .catalog-view .catalog-nav__inner {
    min-height: 118px;
    flex-wrap: wrap;
    align-content: center;
    row-gap: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    overflow: visible;
  }
  .catalog-view .catalog-nav__links {
    order: 4;
    width: 100%;
    display: flex;
    flex: 1 0 100%;
    gap: 4px;
    overflow-x: auto;
    padding-top: 4px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-view .catalog-nav__links::-webkit-scrollbar { display: none; }
  .catalog-view .catalog-nav__links a {
    min-height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    touch-action: manipulation;
  }
}

@media (max-width: 920px) {
  .game-page .nav__inner {
    height: auto;
    min-height: 114px;
    grid-template-rows: 68px 46px;
    grid-template-areas: "logo search right" "links links links";
  }
  .game-page .nav__links,
  .checkout-flow .nav__links {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 4px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .game-page .nav__links { margin: 0 -18px; padding: 0 18px; }
  .game-page .nav__links::-webkit-scrollbar,
  .checkout-flow .nav__links::-webkit-scrollbar { display: none; }
  .game-page .nav__link,
  .checkout-flow .nav__link {
    min-height: 42px;
    flex: 0 0 auto;
    padding: 0 14px;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .checkout-flow .nav__inner {
    height: auto;
    min-height: 110px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 64px 46px;
    grid-template-areas: "logo . right" "links links links";
  }
  .checkout-flow .nav__links { margin: 0 -18px; padding: 0 18px; }
}

@media (max-width: 860px) {
  .account-view .store-nav__inner {
    height: auto;
    min-height: 114px;
    flex-wrap: wrap;
    align-content: center;
    gap: 0 14px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .account-view .store-nav__links {
    order: 4;
    width: 100%;
    display: flex;
    flex: 1 0 100%;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .account-view .store-nav__links::-webkit-scrollbar { display: none; }
  .account-view .store-nav__links a {
    min-height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    touch-action: manipulation;
  }
}

@media (max-width: 560px) {
  .game-page .nav__inner {
    height: auto;
    min-height: 152px;
    grid-template-rows: 56px 50px 46px;
  }
  .game-page .nav__links { margin: 0 -12px; padding: 4px 12px 0; }
  .checkout-flow .nav__inner { height: auto; padding-right: 14px; padding-left: 14px; }
  .checkout-flow .nav__links { margin: 0 -14px; padding: 0 14px; }
  .breadcrumb__inner {
    min-width: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }
  .breadcrumb__inner a[href="/store#hot"],
  .breadcrumb__inner a[href="/store#hot"] + .breadcrumb__sep { display: none; }
  .breadcrumb__inner #breadGame {
    min-width: 0;
    max-width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .page-footer nav a,
  .legal-footer nav a,
  .footer__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    touch-action: manipulation;
  }
}

/* Final small-screen override: keep game search out of the control row. */
@media (max-width: 700px) {
  .game-page .nav__inner {
    height: auto;
    min-height: 152px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 56px 50px 46px;
    grid-template-areas: "logo . right" "search search search" "links links links";
    padding: 0 12px;
    column-gap: 8px;
  }
  .game-page .nav__logo-img { width: 58px; height: 20px; }
  .game-page .nav__search { width: 100%; max-width: none; min-width: 0; }
  .game-page .nav__search-input { width: 100%; height: 40px; }
  .game-page .nav__right { min-width: 0; gap: 4px; }
  .game-page .nav__locale { max-width: 96px; min-height: 36px; overflow: hidden; }
  .game-page .nav__auth-btn { max-width: 108px; min-width: 0; min-height: 36px; overflow: hidden; padding: 7px 9px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .game-page .nav__auth-btn::before,
  .game-page .nav__auth-btn::after { display: none; }
  .game-page .nav__links {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0 -12px;
    padding: 4px 12px 0;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid #ebe8e3;
    contain: inline-size;
  }
  .game-page .nav__link { min-height: 38px; }
}

@media (max-width: 640px) {
  .game-page .info-tabs { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .game-page .info-tab { min-width: 76px; }
}

@media (max-width: 760px) {
  .catalog-view .catalog-nav__inner {
    min-height: 108px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 62px 46px;
    grid-template-areas: "brand search account" "links links links";
    gap: 0 8px;
    padding: 0 12px;
  }
  .catalog-view .catalog-brand { grid-area: brand; }
  .catalog-view .catalog-search { grid-area: search; width: 100%; min-width: 0; }
  .catalog-view .catalog-account { grid-area: account; }
  .catalog-view .catalog-nav__links {
    grid-area: links;
    width: auto;
    min-width: 0;
    margin: 0 -12px;
    padding: 2px 12px 0;
  }
}

/* Product information, guide, FAQ, reviews and recommendations. */
.game-page #purchaseMain .purchase-section__title--standalone,
.game-page #purchaseMain .purchase-section__title--form {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
  line-height: 26px;
  font-weight: 650;
  letter-spacing: 0;
}
.game-page #purchaseMain .purchase-section__title--standalone::before,
.game-page #purchaseMain .purchase-section__title--form::before {
  content: '';
  width: 3px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 2px;
  background: var(--brand);
}
/* Reversible desktop trial: preserve DOM and mobile checkout order. */
.game-page .purchase__form { display: flex; flex-direction: column; gap: 20px; }
.game-page #purchaseMain .purchase__form { gap: 0; }
.game-page #purchaseMain .purchase-section__title--form {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding-bottom: 13px;
}
.game-page #purchaseMain .purchase__form .purchase-card {
  padding-top: 8px;
  border-color: var(--border);
  border-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
.game-page .purchase-section__title--form {
  margin: 0;
  padding-left: 12px;
  border-left-width: 3px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
.game-page .purchase__form:has(.purchase-section[hidden] #rechargeFields) > .purchase-section__title--form { display: none; }
.game-page #purchaseMain .purchase-card .purchase-section__title {
  padding: 0;
  margin-bottom: 12px;
  border: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 650;
  letter-spacing: 0;
}
.game-page .purchase__form .purchase-label { font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.game-page .purchase__form .purchase-input { height: 48px; border-radius: 8px; font-size: 16px; }
.game-page .purchase__form .purchase-hint { line-height: 1.65; margin-top: 8px; }
.game-page .purchase__form .order-summary {
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.game-page .purchase__form .order-summary__row {
  padding: 10px 0;
  border-bottom: 1px solid #f0f1f3;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.5;
}
.game-page .purchase__form .order-summary__row > strong { text-align: right; font-weight: 600; }
.game-page .purchase__form .order-summary__row > span { color: var(--text-2); }
.game-page .purchase__form .order-summary__divider { display: none; }
.game-page .purchase__form .order-summary__row--total {
  margin-top: 12px;
  padding: 16px 12px;
  border: 0;
  border-left: 3px solid var(--brand);
  background: color-mix(in srgb, var(--brand-soft) 45%, #fff);
}
.game-page .purchase__form .purchase-input:not(.purchase-input--invalid) { background: #fff; }
.game-page .purchase__form .purchase-input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.game-page .purchase__form #sumUnitPrice,
.game-page .purchase__form #sumTotal { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.game-page .purchase__form .order-summary__row--total > strong { font-size: 28px; line-height: 1.2; font-weight: 700; }
.game-page .purchase__form .btn-submit {
  min-height: 48px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 16%, transparent);
}
.game-page .purchase__form .purchase-actions { margin-top: 12px; }
.game-page .purchase__form #favoriteButton {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  gap: 8px;
  border: 1px solid #cbd0d8;
  border-radius: 8px;
  background: #f7f8fa;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.game-page .purchase__form #favoriteButton svg { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.game-page .purchase__form #favoriteButton:hover { border-color: var(--brand); background: var(--brand-soft); }
.game-page .purchase__form #favoriteButton[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.game-page .purchase__form #favoriteButton[aria-pressed="true"] svg { fill: currentColor; }
.game-page .purchase__form #favoriteButton:disabled { opacity: .6; cursor: wait; }
.game-page .purchase__form #favoriteButton:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (min-width: 921px) and (max-width: 1100px) {
  .game-page .nav__search { min-width: 0; }
  .game-page .nav__search-input { min-width: 0; width: 100%; }
}
@media (min-width: 1025px) {
  .game-page #purchaseMain {
    display: grid;
    grid-template-columns: minmax(0, 13fr) minmax(320px, 7fr);
    gap: 16px 28px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 28px 64px;
    align-items: start;
  }
  .game-page .purchase__row--top { grid-column: 1 / -1; width: 100%; padding: 0; margin: 0 0 8px; }
  .game-page .purchase__row--main,
  .game-page .purchase__bottom { display: contents; }
  .game-page .purchase__denom { grid-column: 1; grid-row: 2; position: static; }
  .game-page .purchase__form { grid-column: 2; grid-row: 2 / 5; position: static; }
  .game-page #infoTabs { grid-column: 1; grid-row: 3; margin: 0; min-width: 0; }
  .game-page .info-panels { grid-column: 1; grid-row: 4; min-width: 0; margin: 0; }
  .game-page #relatedProducts { grid-column: 1 / -1; grid-row: 5; margin-top: 16px; }
  .game-page .purchase-card { padding: 24px; gap: 16px; }
  .game-page .purchase__denom .purchase-section__title--standalone { margin-top: 0; }
  .game-page .purchase-card .purchase-section__title { margin-bottom: 12px; font-size: 20px; line-height: 1.4; border-left-width: 3px; letter-spacing: 0; }
  .game-page #purchaseMain:has(#panelDesc.info-panel--active) .purchase__form { align-self: stretch; }
  .game-page #purchaseMain:has(#panelDesc.info-panel--active) .purchase-card { flex: 1; }
  .game-page #purchaseMain:has(#panelDesc.info-panel--active) .purchase-card > .purchase-section:last-child { margin-top: auto; }
  .game-page .info-panel { padding: 24px; }
  .game-page #infoTabs .info-tab { padding: 10px 8px; min-width: 0; }
}
.info-tabs {
  gap: 6px;
  padding: 6px;
  margin-bottom: 12px;
  border-color: #e7eaf0;
  border-radius: 14px;
  background: #f7f8fa;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .025);
}

.info-tab {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 9px;
  color: #707886;
  font-size: 13px;
  font-weight: 600;
}

.info-tab:hover { color: var(--text); background: rgba(255,255,255,.72); }
.info-tab--active {
  color: var(--text);
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .07), inset 0 0 0 1px rgba(15, 23, 42, .035);
}

.info-panels {
  margin-bottom: 20px;
  border-color: #e7eaf0;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.info-panel { padding: 28px 30px; }
.info-panel p { max-width: 880px; font-size: 14px; line-height: 1.8; }
.info-panel h3 { margin-bottom: 16px; font-size: 16px; line-height: 1.35; }

.info-steps {
  gap: 8px;
  padding-left: 0;
  counter-reset: guide-step;
  list-style: none;
}

.info-steps li {
  position: relative;
  min-height: 40px;
  padding: 10px 14px 10px 48px;
  border: 1px solid #edf0f4;
  border-radius: 9px;
  background: #fafbfc;
  line-height: 1.55;
  counter-increment: guide-step;
}

.info-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--brand-soft) 72%, #fff);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  transform: translateY(-50%);
}

.info-faq { gap: 0; }
.info-faq dt {
  padding: 15px 16px 6px;
  border: 1px solid #edf0f4;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: #fafbfc;
  font-size: 14px;
  font-weight: 700;
}
.info-faq dd {
  margin: 0 0 10px;
  padding: 0 16px 15px;
  border: 1px solid #edf0f4;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fafbfc;
  font-size: 13px;
  line-height: 1.7;
}

#panelReviews:not(.reviews) > p {
  margin: 0 auto;
  padding: 36px 16px !important;
  color: #8a919d !important;
  font-size: 14px !important;
  letter-spacing: .08em;
}

.related-products {
  padding: 24px 0 0;
  border-color: #e7eaf0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border: 0;
}
.related-products__title {
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 3px solid var(--brand);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
}
.related-products__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 28px;
  align-items: start;
  min-height: 136px;
  width: 100%;
  text-align: left;
  padding: 20px 16px;
  gap: 12px;
  border-color: #e8ebf0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.related-item:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.related-item__body { display: grid; min-width: 0; gap: 6px; height: 100%; }
.related-item__name { overflow-wrap: anywhere; font-weight: 650; }
.related-item__region { font-size: 12px; color: var(--text-2); overflow-wrap: anywhere; }
.related-item__price { margin-top: auto; padding-top: 8px; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--brand); overflow-wrap: anywhere; }
.related-item:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, #dfe4eb);
  background: color-mix(in srgb, var(--brand-soft) 20%, #fff);
  box-shadow: 0 4px 12px rgba(15, 23, 42, .045);
  transform: none;
}
.related-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  color: var(--brand);
  font-size: 20px;
}
.related-item__icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.related-item__name { font-size: 14px; line-height: 1.45; }
.related-item__arrow {
  display: grid;
  place-items: center;
  align-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
}
.related-item__arrow::before {
  content: none;
}
@media (min-width: 641px) and (max-width: 1024px) {
  .related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .info-tabs { gap: 3px; padding: 4px; overflow-x: auto; }
  .info-tab { min-width: max-content; min-height: 40px; padding: 9px 13px; }
  .info-panel { padding: 22px 18px; }
  .info-steps li { padding-left: 44px; }
  .related-products { padding: 20px 0 0; }
  .related-products__grid { grid-template-columns: 1fr; gap: 9px; }
  .related-item { min-height: 124px; grid-template-columns: 44px minmax(0, 1fr) 28px; padding: 16px 12px; }
  .related-item__icon { width: 44px; height: 44px; }
}

.page-main .about-point:hover, .page-main .news-item:hover { transform: translateY(-2px); box-shadow: var(--polish-shadow); }
.page-main .news-tabs button:hover { border-color: var(--polish-blue); color: var(--polish-blue); }

/* Public account/auth/legal pages */
.auth-page input:focus, .account-page input:focus, .account-page select:focus,
.auth-page textarea:focus, .account-page textarea:focus { box-shadow: 0 0 0 3px rgba(255, 70, 85, .12); }

@media (max-width: 760px) {
  .catalog-page .catalog-item:hover .catalog-item__image,
  .catalog-page .featured-game:hover,
  .catalog-page .topup-card:hover,
  .page-main .about-point:hover,
  .page-main .news-item:hover { transform: none; }
  .page-main .page-title { font-size: 32px; }
  .page-main .page-lead { font-size: 15px; line-height: 1.7; }
}

/* Catalog: service navigation is a compact, persistent index rather than a plain button list. */
.catalog-page .catalog-filter {
  padding: 8px;
  border: 1px solid #e3e5e8;
  border-top: 3px solid var(--red, #e43d4d);
  border-radius: 12px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 10px 28px rgba(17, 24, 39, .045);
}

.catalog-page .catalog-filter__label {
  position: relative;
  padding: 12px 10px 13px 26px;
  border-bottom: 1px solid #eceef0;
  color: #4e5662;
  font-size: 10px;
  letter-spacing: .14em;
}

.catalog-page .catalog-filter__label::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red, #e43d4d);
  box-shadow: 0 0 0 4px rgba(228, 61, 77, .1);
  content: '';
  transform: translateY(-50%);
}

.catalog-page .catalog-filter > div { padding-top: 7px; }

.catalog-page .catalog-filter button {
  position: relative;
  min-height: 44px;
  margin: 2px 0;
  padding: 10px 10px 10px 14px;
  border-radius: 8px;
  color: #626a76;
  font-size: 13px;
  font-weight: 700;
}

.catalog-page .catalog-filter button > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.catalog-page .catalog-filter__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: #8a929c;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.catalog-page .catalog-filter button::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  content: '';
}

.catalog-page .catalog-filter button small {
  min-width: 22px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #f1f2f4;
  color: #8b929c;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.catalog-page .catalog-filter button:hover {
  background: #f8f8f8;
  color: #252a33;
}

.catalog-page .catalog-filter button.is-active {
  background: #fff2f3;
  color: #bd2637;
  box-shadow: none;
}

.catalog-page .catalog-filter button.is-active::before { background: var(--red, #e43d4d); }
.catalog-page .catalog-filter button.is-active small { background: #fff; color: #c63646; }
.catalog-page .catalog-filter button.is-active .catalog-filter__icon { color: #c63646; }

@media (max-width: 760px) {
  .catalog-page .catalog-filter {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .catalog-page .catalog-filter > div { padding: 0 0 5px; }
  .catalog-page .catalog-filter button {
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid #e3e5e8;
    background: #fff;
    font-size: 12px;
  }
  .catalog-page .catalog-filter button::before { display: none; }
  .catalog-page .catalog-filter button.is-active { border-color: #f0b9c0; }
  .catalog-page .catalog-filter button small { display: none; }
  .catalog-page .catalog-filter button > span { gap: 7px; }
  .catalog-page .catalog-filter__icon { width: 15px; height: 15px; flex-basis: 15px; }
}
.payment-method[hidden]{display:none!important}
.checkout-loading[hidden],.checkout-result[hidden]{display:none!important}
.checkout-login-dialog{width:min(420px,calc(100% - 32px));padding:24px;border:1px solid #dfe3e8;border-radius:16px;color:#20242d;background:#fff;box-shadow:0 24px 70px rgba(25,34,48,.22)}.checkout-login-dialog::backdrop{background:rgba(20,27,38,.56);backdrop-filter:blur(3px)}.checkout-login-dialog h2{margin:0;font-size:20px}.checkout-login-dialog p{margin:10px 0 20px;color:#69717d;font-size:13px;line-height:1.65}.checkout-login-dialog>div{display:flex;justify-content:flex-end;gap:10px}.checkout-login-dialog button,.checkout-login-dialog a{display:inline-flex;min-height:40px;align-items:center;justify-content:center;padding:0 14px;border:1px solid #d9dee5;border-radius:9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.checkout-login-dialog button{color:#4f5865;background:#fff}.checkout-login-dialog a{color:#fff;border-color:#d83249;background:#d83249}

@media (max-width: 430px) {
  .store-home .brand-essence__keys,
  .home-page .brand-essence__keys {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-inline: 4px;
    gap: 8px 10px;
  }
}

.news-item--text {
  grid-template-columns: minmax(0, 1fr) auto;
}

/* News reading surface: keep the existing list, content and destination URLs. */
body[data-page="news"] {
  --news-accent: #b52c39;
  --news-tint: #fff1f2;
  --page-blue: var(--news-accent);
  --page-muted: #626b77;
}
body[data-page="news"] .page-main { padding-top: 48px; padding-bottom: 64px; }
body[data-page="news"] .news-head {
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--polish-line);
}
body[data-page="news"] .page-kicker { color: var(--news-accent); letter-spacing: .16em; }
body[data-page="news"] .news-head .page-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
}
body[data-page="news"] .page-lead { margin-top: 16px; }
body[data-page="news"] .news-tabs {
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--polish-line);
  border-radius: 14px;
  background: var(--polish-surface);
}
body[data-page="news"] .news-tabs button {
  min-width: 64px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--page-muted);
  font: 700 14px/1.4 var(--font-ui);
}
body[data-page="news"] .news-tabs button:hover { background: var(--news-tint); color: var(--news-accent); }
body[data-page="news"] .news-tabs button.is-active {
  color: var(--polish-surface);
  background: var(--news-accent);
  border-color: var(--news-accent);
  box-shadow: 0 3px 8px rgb(181 44 57 / 12%);
}
body[data-page="news"] .news-list { margin-top: 28px; gap: 20px; }
body[data-page="news"] .news-item {
  grid-template-columns: minmax(200px, 28%) minmax(0, 1fr) auto;
  gap: 28px;
  min-height: 200px;
  padding: 20px;
  border-radius: 16px;
  border-color: var(--polish-line);
  box-shadow: 0 4px 16px rgb(23 30 42 / 3%);
}
body[data-page="news"] .news-item > div { min-width: 0; }
body[data-page="news"] .news-item__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}
body[data-page="news"] .news-item__cover img { display: block; }
body[data-page="news"] .news-item__type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--news-accent);
  background: var(--news-tint);
  font-size: 12px;
  line-height: 1.5;
}
body[data-page="news"] .news-item h2 {
  margin: 12px 0 10px;
  color: var(--polish-ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 750;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body[data-page="news"] .news-item p {
  font-size: 14px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}
body[data-page="news"] .news-item time {
  align-self: start;
  padding-top: 6px;
  color: var(--page-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
body[data-page="news"] .news-item--text {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 152px;
  padding: 24px 28px;
  border-left: 4px solid var(--polish-line);
}
body[data-page="news"] .news-item:hover {
  border-color: var(--news-accent);
  box-shadow: 0 8px 24px rgb(23 30 42 / 6%);
  transform: none;
}
body[data-page="news"] .news-item:hover h2 { color: var(--news-accent); }
body[data-page="news"] .news-empty {
  margin: 0;
  padding: 64px 24px;
  border: 1px dashed var(--polish-line);
  border-radius: 16px;
  background: var(--polish-surface);
  font-size: 16px;
}
body[data-page="news"] .news-detail {
  max-width: 900px;
  padding: 40px;
  background: var(--polish-surface);
  border: 1px solid var(--polish-line);
  border-radius: 20px;
}
body[data-page="news"] .news-detail .page-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.4; overflow-wrap: anywhere; }
body[data-page="news"] .news-detail__meta { align-items: center; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--polish-line); }
body[data-page="news"] .news-detail__meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--news-accent); font-weight: 700; }
body[data-page="news"] .news-detail__cover { display: block; height: auto; max-height: none; object-fit: contain; margin-top: 28px; }
body[data-page="news"] .news-detail__content { color: var(--polish-ink); font-size: 16px; line-height: 2; overflow-wrap: anywhere; }
body[data-page="news"] .news-detail > p:last-child a { color: var(--news-accent) !important; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) {
  body[data-page="news"] .page-main { padding: 28px 16px 40px; }
  body[data-page="news"] .news-head { gap: 24px; padding: 0 0 24px; }
  body[data-page="news"] .news-tabs { width: 100%; overflow: visible; }
  body[data-page="news"] .news-tabs button { flex: 1; min-width: 0; padding-inline: 8px; }
  body[data-page="news"] .news-list { gap: 16px; margin-top: 24px; }
  body[data-page="news"] .news-item { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; min-height: 0; }
  body[data-page="news"] .news-item h2 { margin: 10px 0 8px; font-size: 20px; }
  body[data-page="news"] .news-item time { padding-top: 0; }
  body[data-page="news"] .news-item--text { padding: 20px; }
  body[data-page="news"] .news-detail { padding: 24px 20px; border-radius: 16px; }
}

@media (max-width: 760px) {
  .news-item--text {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Account order detail: stronger hierarchy without changing order behavior. */
.account-view .detail-view {
  overflow: hidden;
  border: 1px solid #e6e9ef !important;
  border-radius: 20px !important;
  background: #fff;
  box-shadow: 0 18px 48px rgba(26, 33, 46, .08) !important;
}

.account-view .detail-view__head {
  padding: 24px 26px;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #fbfbfd 62%, #fff4f5 100%);
}

.account-view .detail-view__identity,
.account-view .detail-view__summary,
.account-view .detail-view__buttons {
  display: flex;
  align-items: center;
}

.account-view .detail-view__identity { min-width: 0; gap: 14px; }
.account-view .detail-view__game {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  overflow: hidden;
  border: 1px solid #e6e9ef;
  border-radius: 15px;
  background: #f1f3f7;
  color: #20242d;
  font-size: 20px;
  font-weight: 700;
}
.account-view .detail-view__game img { width: 100%; height: 100%; object-fit: cover; }
.account-view .detail-view__heading { min-width: 0; }
.account-view .detail-view__label { margin: 0 0 5px; color: #5f6672; font-size: 12px; font-weight: 700; }
.account-view .detail-view__heading h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #181b22;
  font-size: clamp(16px, 2vw, 20px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.account-view .detail-view__heading time { display: block; margin-top: 5px; color: #8a909b; font-size: 12px; font-variant-numeric: tabular-nums; }
.account-view .detail-view__summary { min-width: 132px; flex-direction: column; align-items: flex-end; gap: 3px; }
.account-view .detail-view__summary .status { margin: 0 0 5px; }
.account-view .detail-view__summary > strong { color: #15181e; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.account-view .detail-view__summary > span:last-child { color: #8a909b; font-size: 11px; }

.account-view .detail-view__body { display: grid; gap: 16px; padding: 20px 22px 22px; background: #f8f9fb; }
.account-view .detail-view__grid { padding: 0; gap: 16px; }
.account-view .detail-section { min-width: 0; padding: 20px; border: 1px solid #e7eaf0; border-radius: 15px; background: #fff; }
.account-view .detail-section__head { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.account-view .detail-section__head h3 { margin: 2px 0 0; color: #20242d; font-size: 15px; letter-spacing: -.01em; }
.account-view .detail-section__head p { max-width: 430px; margin: 0; color: #68707d; font-size: 12px; line-height: 1.6; text-align: right; text-wrap: pretty; }
.account-view .detail-section__eyebrow { color: #c52d43; font-size: 10px; font-weight: 700; letter-spacing: 1.35px; }
.account-view .detail-fields { display: grid; }
.account-view .detail-field { min-width: 0; display: grid; grid-template-columns: minmax(88px, .7fr) minmax(0, 1.3fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid #eef0f3; }
.account-view .detail-field:last-child { border-bottom: 0; }
.account-view .detail-field span { color: #858c98; font-size: 12px; }
.account-view .detail-field strong { margin: 0; color: #2c3038; font-size: 13px; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.account-view .detail-field--code strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; }

.account-view .detail-progress-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px 17px;
  border: 1px solid #e4e8ee;
  border-radius: 13px;
  background: #f7f8fa;
}
.account-view .detail-progress-summary__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #b9283d;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 36, 45, .08);
}
.account-view .detail-progress-summary__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.account-view .detail-progress-summary__copy { min-width: 0; }
.account-view .detail-progress-summary__copy > span { display: block; margin-bottom: 3px; color: #7c8490; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.account-view .detail-progress-summary__copy strong { display: block; color: #20242d; font-size: 15px; line-height: 1.35; }
.account-view .detail-progress-summary__copy p { margin: 4px 0 0; color: #626a76; font-size: 12px; line-height: 1.55; text-wrap: pretty; }
.account-view .detail-progress-summary__advice { padding: 6px 9px; border-radius: 7px; color: #a82539; background: rgba(255, 255, 255, .72); font-size: 11px; font-weight: 700; white-space: nowrap; }
.account-view .detail-progress-summary--pending { border-color: #efdfc5; background: #fff9ef; }
.account-view .detail-progress-summary--pending .detail-progress-summary__icon,
.account-view .detail-progress-summary--pending .detail-progress-summary__advice { color: #96601c; }
.account-view .detail-progress-summary--paid { border-color: #dce4f0; background: #f5f8fc; }
.account-view .detail-progress-summary--paid .detail-progress-summary__icon,
.account-view .detail-progress-summary--paid .detail-progress-summary__advice { color: #406086; }
.account-view .detail-progress-summary--processing { border-color: #f0d6da; background: #fff5f6; }
.account-view .detail-progress-summary--success { border-color: #d7e9e0; background: #f2f8f5; }
.account-view .detail-progress-summary--success .detail-progress-summary__icon,
.account-view .detail-progress-summary--success .detail-progress-summary__advice { color: #287257; }
.account-view .detail-progress-summary--failed { border-color: #efd4d7; background: #fff4f4; }
.account-view .detail-progress-summary--failed .detail-progress-summary__icon,
.account-view .detail-progress-summary--failed .detail-progress-summary__advice { color: #ad303a; }
.account-view .detail-progress-summary--refunding { border-color: #eee0c6; background: #fff9ef; }
.account-view .detail-progress-summary--refunding .detail-progress-summary__icon,
.account-view .detail-progress-summary--refunding .detail-progress-summary__advice { color: #92611f; }

.account-view .detail-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 2px 0 0; list-style: none; }
.account-view .detail-progress__item { position: relative; min-width: 0; display: flex; gap: 9px; padding-right: 12px; }
.account-view .detail-progress__item:not(:last-child)::after { content: ""; position: absolute; top: 8px; left: 17px; right: 0; height: 1px; background: #dfe3e9; }
.account-view .detail-progress__marker { position: relative; z-index: 1; width: 16px; height: 16px; display: grid; place-items: center; flex: 0 0 16px; border: 3px solid #fff; border-radius: 50%; background: #cdd2da; box-shadow: 0 0 0 1px #cdd2da; }
.account-view .detail-progress__marker::before { content: attr(data-step); color: #fff; font-size: 7px; font-weight: 800; line-height: 1; }
.account-view .detail-progress__item > div { min-width: 0; padding-top: 26px; margin-left: -25px; }
.account-view .detail-progress__item strong,
.account-view .detail-progress__item span { display: block; }
.account-view .detail-progress__state { margin: 0 0 4px !important; color: #9aa0aa; font-size: 9px !important; font-weight: 700; letter-spacing: .04em; }
.account-view .detail-progress__item strong { color: #777e8a; font-size: 12px; }
.account-view .detail-progress__item div > span:last-child { margin-top: 4px; color: #8d949f; font-size: 12px; line-height: 1.45; text-wrap: pretty; }
.account-view .detail-progress__item--done .detail-progress__marker { background: #2d8b68; box-shadow: 0 0 0 1px #2d8b68; }
.account-view .detail-progress__item--done .detail-progress__marker::before { content: "✓"; }
.account-view .detail-progress__item--done:not(:last-child)::after { background: #8fc4ae; }
.account-view .detail-progress__item--done strong { color: #276f56; }
.account-view .detail-progress__item--current .detail-progress__marker { background: #d3334a; box-shadow: 0 0 0 3px rgba(211, 51, 74, .12); }
.account-view .detail-progress__item--current .detail-progress__marker::before { content: attr(data-step); }
.account-view .detail-progress__item--current strong { color: #b9283d; }
.account-view .detail-progress__item--failed .detail-progress__marker { background: #c63a3a; box-shadow: 0 0 0 3px rgba(198, 58, 58, .12); }
.account-view .detail-progress__item--failed .detail-progress__marker::before { content: "!"; }
.account-view .detail-progress__item--failed strong { color: #aa3030; }

.account-view .detail-view__actions { padding: 18px 22px; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #e7eaf0; background: #fff; }
.account-view .detail-view__actions > div:first-child { display: grid; gap: 2px; }
.account-view .detail-view__actions > div:first-child strong { color: #30343b; font-size: 12px; }
.account-view .detail-view__actions > div:first-child span { color: #8a909b; font-size: 11px; }
.account-view .detail-view__buttons { justify-content: flex-end; gap: 9px; }
.account-view .detail-view__buttons .action-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 16px; touch-action: manipulation; }

@media (max-width: 680px) {
  .account-view .detail-view__head { align-items: flex-start; padding: 19px 17px; }
  .account-view .detail-view__game { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; }
  .account-view .detail-view__summary { min-width: auto; }
  .account-view .detail-view__summary > strong { font-size: 19px; }
  .account-view .detail-view__body { padding: 14px; }
  .account-view .detail-section { padding: 17px 15px; }
  .account-view .detail-section__head { display: grid; gap: 7px; }
  .account-view .detail-section__head p { text-align: left; }
  .account-view .detail-progress-summary { grid-template-columns: auto minmax(0, 1fr); align-items: start; margin-bottom: 20px; padding: 14px; }
  .account-view .detail-progress-summary__advice { grid-column: 2; justify-self: start; }
  .account-view .detail-progress { grid-template-columns: 1fr; gap: 0; }
  .account-view .detail-progress__item { min-height: 58px; padding: 0 0 12px; }
  .account-view .detail-progress__item:not(:last-child)::after { top: 16px; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  .account-view .detail-progress__item > div { padding: 0; margin: 0; }
  .account-view .detail-field { grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
  .account-view .detail-view__actions { display: grid; padding: 16px; }
  .account-view .detail-view__buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}

@media (max-width: 420px) {
  .account-view .detail-view__head { display: grid; }
  .account-view .detail-view__summary { display: grid; grid-template-columns: 1fr auto; align-items: center; text-align: right; }
  .account-view .detail-view__summary .status { grid-row: 1 / 3; justify-self: start; }
  .account-view .detail-view__summary > span:last-child { grid-column: 2; }
  .account-view .detail-view__buttons { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .account-view .detail-view *,
  .account-view .detail-view *::before,
  .account-view .detail-view *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ===== 简约导航（2026-08-30 品牌重设计：黑白几何，去毛玻璃/胶囊/上浮）=====
   覆盖上方 Apple 风格两层导航。此块可整体删除回滚。 */
.nav {
  background: #ffffff;
  border-bottom: 1px solid #e8e8ed;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav__inner {
  width: min(100%, 1280px);
  max-width: 1280px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  grid-template-columns: none;
  grid-template-rows: none;
  grid-template-areas: none;
}
.nav__logo { flex-shrink: 0; padding: 0; border: 0; gap: 10px; }
.nav__logo-img { width: 68px; height: 22px; }
.nav__logo-text { color: #8a8f99; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.nav__search { flex: 1; max-width: 340px; min-width: 120px; margin: 0 8px; order: 1; justify-self: auto; }
.nav__search-input { height: 36px; padding: 0 14px 0 38px; border: 1px solid #e6e8ec; border-radius: 6px; background: #f7f8fa; font-size: 13px; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  align-self: auto;
  justify-content: flex-end;
  justify-self: auto;
}
.nav__link {
  position: relative;
  flex: none;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border: 0;
  border-radius: 6px;
  color: #1a1d23;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  background: transparent;
  transition: color .15s ease, background-color .15s ease;
}
.nav__link:hover {
  color: #0b0b0d;
  background: #f4f5f7;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}
.nav__link::after {
  content: '';
  display: block;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: transparent;
  border-radius: 0;
  transform: none;
}
.nav__link--active {
  color: #0b0b0d;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  font-weight: 700;
}
.nav__link--active::after { background: #0b0b0d; }
.nav__link--active:hover { color: #0b0b0d; background: transparent; border-color: transparent; box-shadow: none; }
.nav__right { margin-left: auto; gap: 10px; }
.nav__language {
  padding: 3px;
  border: 1px solid #e3e6ea;
  border-radius: 7px;
  background: #fff;
  gap: 2px;
}
.nav__language button {
  min-width: 30px;
  height: 26px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #8a8f99;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: color .15s ease, background-color .15s ease;
}
.nav__language button:hover { color: #1a1d23; }
.nav__language button[aria-pressed="true"] { background: #0b0b0d; color: #ffffff; }
.nav__currency {
  color: #1a1d23;
  font-size: 13px;
  font-weight: 700;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e3e6ea;
  border-radius: 7px;
  background: #fff;
  transition: border-color .15s ease, color .15s ease;
}
.nav__currency:hover { border-color: #0b0b0d; color: #0b0b0d; }
.nav__auth-btn {
  background: #0b0b0d;
  color: #ffffff;
  border-radius: 6px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 1px 2px rgba(11, 11, 13, .18);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.nav__auth-btn:hover { background: #2a2d33; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(11, 11, 13, .22); }
.nav__auth-btn:active { transform: translateY(0); }


/* ===== locale 组件黑白化（2026-08-30 品牌归位：红地球/金货币 → 黑白线性）===== */
.nav__locale {
  border: 1px solid #e3e6ea;
  border-radius: 7px;
  background: #ffffff;
  color: #1a1d23;
  font-weight: 600;
  box-shadow: none;
}
.nav__locale:hover {
  border-color: #0b0b0d;
  background: #ffffff;
  box-shadow: none;
  transform: none;
}
.nav__locale[aria-expanded="true"] {
  border-color: #0b0b0d;
  background: #ffffff;
  color: #0b0b0d;
  box-shadow: 0 0 0 3px rgba(11, 11, 13, .06);
}
.nav__locale-globe {
  background: #f4f5f7;
  color: #0b0b0d;
  border-radius: 6px;
}
.nav__locale-cash { color: #1a1d23; }
.nav__locale i { color: #d5d8dd; }
.nav__locale b { color: #6b7078; }


/* ===== 商城首页背景氛围（2026-08-30 品牌归位：纯灰底 + 极淡黑光晕/斜线，呼应几何 logo）===== */
.store-home {
  background-color: #f5f5f7;
  background-image:
    radial-gradient(1100px 520px at 88% -8%, rgba(11, 11, 13, .055), transparent 62%),
    radial-gradient(820px 460px at -5% 14%, rgba(11, 11, 13, .04), transparent 58%),
    repeating-linear-gradient(125deg, transparent 0 24px, rgba(11, 11, 13, .013) 24px 25px);
}


/* ===== 放开 .store-content 白色限制（2026-08-30：hero-vng-inspired 强制白底 → 透明露出页面氛围）
   用 .store-home 前缀提高特异性：hero-vng-inspired.css 加载在 design-polish 之后，同特异性会被其覆盖 */
.store-home .store-content { background: transparent; }
.store-home .store-content > .section:first-child { background: transparent; backdrop-filter: none; }



/* ===== Storefront finish pass (local, 2026-08-30) =====
   Preserve page composition and business markup; refine rhythm, hierarchy and states. */
:root {
  --store-accent: #e43d4d;
  --store-accent-strong: #bd2637;
  --store-canvas: #f5f5f7;
  --store-surface: #ffffff;
  --store-ink: #15171c;
  --store-muted: #707782;
  --store-hairline: #e4e6ea;
  --store-radius-card: 16px;
  --store-radius-control: 8px;
  --store-shadow-rest: 0 1px 2px rgba(18, 24, 33, .03), 0 10px 28px rgba(18, 24, 33, .045);
  --store-shadow-hover: 0 16px 36px rgba(18, 24, 33, .09);
}

/* Homepage: stronger section rhythm without rearranging any section. */
.store-home .section {
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: 30px;
}
.store-home .section__head { margin-bottom: 24px; }
.store-home .section__title {
  gap: 10px;
  color: var(--store-ink);
  font-size: clamp(19px, 1.8vw, 22px);
  letter-spacing: .075em;
  line-height: 1.2;
}
.store-home .section__bar {
  width: 3px;
  height: 19px;
  border-radius: 0;
  background: var(--store-ink);
}
.store-home .section__more {
  gap: 5px;
  color: #545b66;
  font-size: 12px;
  letter-spacing: .01em;
}
.store-home .section__more:hover { color: var(--store-accent-strong); transform: translateX(2px); }

.store-home .promo-card,
.store-home .promo-card-dark,
.store-home .why-item {
  border-radius: var(--store-radius-card);
}
.store-home .promo-card:active,
.store-home .promo-card-dark:active,
.store-home .hot-card:active,
.store-home .all-card:active { transform: translateY(0) scale(.99); }

/* Sparse catalog data should look deliberate instead of leaving five empty columns. */
@media (min-width: 641px) {
  .store-home #hotGameGrid:not(:has(> :nth-child(3))) {
    grid-template-columns: repeat(auto-fit, minmax(188px, 218px));
    justify-content: start;
  }
  .store-home #gameGrid:not(:has(> :nth-child(3))) {
    grid-template-columns: repeat(auto-fit, minmax(164px, 188px));
    justify-content: start;
  }
}
.store-home .hot-card__cover {
  border: 1px solid rgba(21, 23, 28, .08);
  background: #fff;
  box-shadow: var(--store-shadow-rest);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.store-home .hot-card:hover .hot-card__cover {
  border-color: rgba(228, 61, 77, .34);
  box-shadow: var(--store-shadow-hover);
  transform: translateY(-2px);
}
.store-home .hot-card__name { letter-spacing: -.01em; }
.store-home .all-card {
  border-color: rgba(21, 23, 28, .09);
  background: #fff;
  box-shadow: var(--store-shadow-rest);
}
.store-home .all-card:hover { border-color: rgba(228, 61, 77, .34); box-shadow: var(--store-shadow-hover); }

.store-home .why-choose { padding-top: 64px; padding-bottom: 68px; }
.store-home .why-choose__head { margin-bottom: 26px; }
.store-home .why-choose__label { color: #626974; letter-spacing: .14em; }
.store-home .why-item {
  min-height: 184px;
  padding: 22px 20px 20px;
  box-shadow: var(--store-shadow-rest);
}
.store-home .why-item__icon {
  width: 38px;
  height: 38px;
  margin-bottom: auto;
  border-radius: 10px;
  color: var(--store-ink);
  background: #f5f6f8;
}
.store-home .brand-essence { padding-top: 58px; padding-bottom: 60px; }
.store-home .brand-essence__inner { gap: 16px; }
.store-home .brand-essence__text { max-width: 680px; line-height: 1.7; }
.store-home .brand-essence__version { display: none; }

/* Public storefront directory footer */
.footer--directory { padding: 0; background: #111216; color: #fff; border-top: 0; }
.footer--directory .footer__directory { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 2.2fr); gap: clamp(48px, 8vw, 116px); max-width: 1280px; margin: 0 auto; padding: 58px 28px 48px; }
.footer--directory .footer__identity { align-self: start; }
.footer--directory .footer__logo { width: 58px; filter: brightness(0) invert(1); }
.footer--directory .footer__identity p { max-width: 240px; margin-top: 18px; color: #9298a3; font-size: 13px; line-height: 1.7; }
.footer--directory .footer__columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.footer--directory .footer__group { display: flex; flex-direction: column; align-items: flex-start; }
.footer--directory .footer__group h2 { margin: 0 0 14px; color: #fff; font-size: 13px; font-weight: 700; }
.footer--directory .footer__group a { display: inline-flex; align-items: center; min-height: 34px; color: #9298a3; font-size: 13px; text-decoration: none; }
.footer--directory .footer__group a:hover { color: #fff; }
.footer--directory .footer__group a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.footer--directory .footer__bottomline { display: flex; justify-content: space-between; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 20px 28px 24px; border-top: 1px solid rgba(255,255,255,.1); color: #707680; font-size: 11px; }
.footer--directory .footer__social:empty { min-width: 120px; min-height: 1px; }
@media (max-width: 760px) {
  .footer--directory .footer__directory { grid-template-columns: 1fr; gap: 36px; padding: 44px 18px 34px; }
  .footer--directory .footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .footer--directory .footer__bottomline { flex-direction: column; padding: 18px; }
}

/* Catalog: clarify the two product presentations while retaining their current order. */
.catalog-view .catalog-content {
  border: 1px solid rgba(21, 24, 30, .055);
  border-radius: var(--store-radius-card);
  background: rgba(255, 255, 255, .64);
  box-shadow: var(--store-shadow-rest);
}
.catalog-view .catalog-heading { border: 1px solid rgba(228, 61, 77, .08); }
.catalog-view .featured-game,
.catalog-view .catalog-item__image {
  border-color: rgba(21, 24, 30, .09);
  box-shadow: var(--store-shadow-rest);
}
.catalog-view .catalog-item:hover .catalog-item__image,
.catalog-view .featured-game:hover { box-shadow: var(--store-shadow-hover); }
.catalog-view .catalog-item__title { letter-spacing: -.01em; }

/* Product page: give the otherwise empty brand banner an intentional product identity. */
.game-page .game-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(21, 24, 30, .08);
  background:
    radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--brand-soft) 52%, transparent), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fff 68%, #fafbfc 100%);
  box-shadow: var(--store-shadow-rest);
}
.game-page .game-brand::after {
  position: absolute;
  z-index: -1;
  top: -72px;
  right: 7%;
  width: 210px;
  height: 210px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, transparent);
  content: '';
  transform: rotate(32deg);
}
.game-page .game-brand__logo {
  border: 1px solid rgba(21, 24, 30, .08);
  box-shadow: 0 10px 26px rgba(18, 24, 33, .08);
}
.game-page .game-brand__name { letter-spacing: -.025em; }
.game-page .purchase-card,
.game-page .info-panels,
.game-page .related-products { box-shadow: none; }
.game-page .purchase-card { border-color: rgba(21, 24, 30, .08); }
.game-page .btn-submit:active { transform: translateY(1px) scale(.995); }

/* Checkout: keep the payment flow calm and make the active action unmistakable. */
.checkout-flow .checkout-card,
.checkout-flow .checkout-summary { box-shadow: var(--store-shadow-rest); }
.checkout-flow .checkout-card:hover,
.checkout-flow .checkout-summary:hover { border-color: #d9dde3; }
.checkout-flow .checkout-submit:not(:disabled) {
  box-shadow: 0 9px 22px rgba(216, 50, 73, .2);
}
.checkout-flow .checkout-submit:not(:disabled):active { transform: translateY(1px) scale(.995); }

/* Final responsive navigation pass. The late desktop navigation rules previously
   overrode earlier mobile grids and pushed search/menu controls off-screen. */
@media (max-width: 920px) {
  .nav__inner {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 112px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 62px 50px;
    grid-template-areas: 'logo search right' 'links links links';
    gap: 0 10px;
    padding: 0 18px;
  }
  .nav__logo { grid-area: logo; }
  .nav__search { grid-area: search; width: 100%; max-width: none; min-width: 0; margin: 0; }
  .nav__search-input { width: 100%; min-width: 0; }
  .nav__links {
    grid-area: links;
    width: auto;
    min-width: 0;
    display: flex;
    justify-content: flex-start;
    gap: 2px;
    margin: 0 -18px;
    padding: 3px 18px 4px;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 1px solid #eceef1;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__link {
    min-height: 40px;
    flex: 0 0 auto;
    padding: 7px 12px;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .nav__right { grid-area: right; min-width: 0; margin-left: 0; justify-self: end; }
  .nav__language,
  .nav__currency { display: none; }
  .nav__mobile-language { display: inline-flex; }
}

@media (max-width: 700px) {
  .nav__inner {
    min-height: 150px;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 56px 50px 44px;
    grid-template-areas: 'logo right' 'search search' 'links links';
    gap: 0 8px;
    padding: 0 14px;
  }
  .nav__logo-img { width: 62px; height: 21px; }
  .nav__logo-text { display: none; }
  .nav__right { gap: 6px; max-width: 220px; }
  .nav__locale { max-width: 102px; min-height: 34px; padding: 6px 8px; overflow: hidden; }
  .nav__auth-btn {
    max-width: 112px;
    min-height: 34px;
    padding: 8px 10px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav__search-input { height: 40px; }
  .nav__links { margin: 0 -14px; padding: 2px 14px; }
  .nav__link { min-height: 38px; padding-right: 11px; padding-left: 11px; font-size: 12px; }

  .store-home .section { padding-top: 42px; padding-bottom: 18px; }
  .store-home .section__head { margin-bottom: 20px; }
  .store-home .section__title { font-size: 18px; letter-spacing: .055em; }
  .store-home .why-choose { padding-top: 52px; padding-bottom: 56px; }
  .store-home .why-item { min-height: 168px; }
  .store-home .brand-essence { padding: 48px 18px; }
  .store-home .brand-essence__text { font-size: 12px; letter-spacing: 1.2px; }

  .game-page .game-brand { padding: 24px 20px; gap: 16px; }
  .game-page .game-brand::after { right: -80px; opacity: .6; }
  .game-page .game-brand__logo { width: 96px; height: 96px; }
  .game-page .game-brand__name { font-size: 20px; }
}

@media (max-width: 430px) {
  .nav__right { max-width: 205px; }
  .nav__locale { max-width: 92px; }
  .nav__auth-btn { max-width: 105px; }
  .store-home .promo-card { min-height: 166px; }
}

@media (prefers-reduced-motion: reduce) {
  .store-home .section__more,
  .store-home .hot-card__cover,
  .checkout-flow .checkout-submit { transform: none !important; }
}


/* ===== hero 背景：渐变保留但推迟到 82% 渐隐（2026-08-30：既有完整图又有底部柔和过渡）===== */
.hero .hero__ambient {
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .92) 82%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .92) 82%, rgba(0, 0, 0, 0) 100%);
}
.hero .hero__ambient > span {
  background-position: center 32%;
}

/* ===== Language and currency control — compact LAA settings panel (2026-08-30) ===== */
.nav__locale {
  min-height: 44px;
  gap: 8px;
  padding: 4px 6px 4px 4px;
  border: 1px solid #e1e4e8;
  border-radius: 9px;
  background: #fff;
  color: #111318;
  box-shadow: 0 1px 2px rgba(15, 18, 24, .03);
}
.nav__locale:hover {
  border-color: #c8ccd2;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 18, 24, .08);
  transform: translateY(-1px);
}
.nav__locale[aria-expanded="true"] {
  border-color: #14171c;
  box-shadow: 0 0 0 3px rgba(15, 18, 24, .07);
}
.nav__locale-globe {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 7px;
  background: #111318;
  color: #fff;
}
.nav__locale-globe svg { width: 18px; height: 18px; }
.nav__locale-values {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 72px;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: -.01em;
}
.nav__locale-values i { color: #b1b5bc; font-style: normal; font-weight: 450; }
.nav__locale-chevron {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 6px;
  background: #f2f3f5;
  color: #646972;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}
.nav__locale-chevron svg { width: 14px; height: 14px; }
.nav__locale:hover .nav__locale-chevron { background: #e9ebee; color: #111318; }
.nav__locale[aria-expanded="true"] .nav__locale-chevron { background: #111318; color: #fff; transform: rotate(180deg); }
.nav__locale-cash,
.nav__locale > b { display: none; }

.locale-menu-backdrop { background: rgba(12, 15, 20, .28); backdrop-filter: blur(4px); }
.locale-menu {
  width: 388px;
  padding: 10px;
  border: 1px solid #dfe2e7;
  border-radius: 16px;
  background: #fff;
  color: #171a20;
  box-shadow: 0 24px 64px rgba(13, 16, 22, .22), 0 4px 14px rgba(13, 16, 22, .08);
}
.locale-menu__head {
  justify-content: flex-start;
  gap: 11px;
  min-height: 60px;
  padding: 8px 8px 10px;
}
.locale-menu__brand {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 9px;
  background: #111318;
  color: #fff;
}
.locale-menu__brand svg { width: 20px; height: 20px; }
.locale-menu__heading { min-width: 0; display: grid; gap: 3px; }
.locale-menu__heading strong { color: #171a20; font-size: 14px; font-weight: 760; letter-spacing: -.015em; }
.locale-menu__heading > span { color: #7a7f88; font-size: 10px; font-weight: 620; letter-spacing: .035em; }
.locale-menu__head > button {
  width: 32px;
  height: 32px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1px solid #e4e6ea;
  border-radius: 8px;
  background: #f5f6f7;
  color: #666b74;
}
.locale-menu__head > button svg { width: 15px; height: 15px; }
.locale-menu__head > button:hover { border-color: #d5d8dd; background: #eceef1; color: #111318; }
.locale-menu__section {
  padding: 14px 8px;
  border-top: 1px solid #eceef1;
}
.locale-menu__label {
  gap: 7px;
  margin-bottom: 10px;
  color: #676c75;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .08em;
}
.locale-menu__label svg { width: 14px; height: 14px; opacity: 1; }
.locale-menu__languages {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #f1f2f4;
}
.locale-menu__currencies { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.locale-menu__languages button,
.locale-menu__currencies button {
  min-height: 58px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 8px 28px 8px 9px;
  border-radius: 9px;
  color: #242830;
  transform: none;
}
.locale-menu__languages button { border-color: transparent; background: transparent; }
.locale-menu__currencies button { border-color: #e4e6ea; background: #fff; }
.locale-menu__languages button:hover { border-color: transparent; background: #e7e9ec; transform: none; }
.locale-menu__currencies button:hover { border-color: #bfc3c9; background: #fafafa; transform: none; }
.locale-menu__languages button[aria-checked="true"],
.locale-menu__currencies button[aria-checked="true"] {
  border-color: #111318;
  background: #111318;
  color: #fff;
  box-shadow: 0 5px 14px rgba(14, 17, 22, .16);
}
.locale-menu__code,
.locale-menu__symbol {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 7px;
  background: #fff;
  color: #171a20;
  font-size: 10px;
  font-weight: 780;
  box-shadow: inset 0 0 0 1px #dfe2e6;
}
.locale-menu__symbol { font-size: 13px; }
.locale-menu__languages button[aria-checked="true"] .locale-menu__code,
.locale-menu__currencies button[aria-checked="true"] .locale-menu__symbol {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.locale-menu__option-copy { min-width: 0; display: grid; gap: 2px; text-align: left; }
.locale-menu__languages .locale-menu__option-copy strong,
.locale-menu__currencies .locale-menu__option-copy strong {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.15;
  text-overflow: ellipsis;
}
.locale-menu__option-copy small {
  display: block;
  overflow: hidden;
  color: #838891;
  font-size: 10px;
  font-weight: 520;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.locale-menu__languages button[aria-checked="true"] .locale-menu__option-copy small,
.locale-menu__currencies button[aria-checked="true"] .locale-menu__option-copy small { color: rgba(255, 255, 255, .62); }
.locale-menu__languages button[aria-checked="true"]::after,
.locale-menu__currencies button[aria-checked="true"]::after {
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 0;
  background: #d83249;
  color: transparent;
  box-shadow: 0 0 0 3px rgba(216, 50, 73, .16);
}
.locale-menu__currencies button:disabled { opacity: .42; filter: grayscale(.5); }
.locale-menu__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 8px 8px;
  padding: 10px 11px;
  border: 0;
  border-radius: 9px;
  background: #f3f4f6;
  color: #666b74;
  font-size: 10px;
  line-height: 1.5;
}
.locale-menu__note > span:first-child {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  flex: 0 0 16px;
  border-radius: 50%;
  background: #dfe2e6;
  color: #444951;
  font-size: 9px;
  font-weight: 800;
}

@media (max-width: 700px) {
  .nav__locale { max-width: 112px; min-height: 36px; gap: 5px; padding: 3px 4px 3px 3px; }
  .nav__locale-globe { width: 28px; height: 28px; display: grid; flex-basis: 28px; }
  .nav__locale-globe svg { width: 15px; height: 15px; }
  .nav__locale-values { min-width: 0; gap: 3px; overflow: hidden; font-size: 10px; }
  .nav__locale-values > span { overflow: hidden; text-overflow: ellipsis; }
  .nav__locale-chevron { width: 20px; height: 20px; flex-basis: 20px; }
  .locale-menu { width: 100%; padding: 10px 10px calc(12px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; }
  .locale-menu__head { padding-right: 6px; padding-left: 6px; }
  .locale-menu__section { padding-right: 6px; padding-left: 6px; }
}

@media (max-width: 430px) {
  .nav__locale { max-width: 100px; }
  .nav__locale-values { max-width: 48px; }
  .locale-menu__currencies { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .nav__locale,
  .nav__locale-chevron,
  .locale-menu__languages button,
  .locale-menu__currencies button { transition: none; }
}

/* ===== Signed-in account dropdown — mirrors the locale control without mixing their roles ===== */
.nav__account-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 4px;
  border: 1px solid #111318;
  border-radius: 9px;
  background: #111318;
  color: #fff;
  box-shadow: 0 2px 5px rgba(12, 15, 20, .16);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.nav__account-trigger:hover {
  border-color: #272b32;
  background: #272b32;
  box-shadow: 0 7px 18px rgba(12, 15, 20, .2);
  transform: translateY(-1px);
}
.nav__account-trigger[aria-expanded="true"] {
  background: #272b32;
  box-shadow: 0 0 0 3px rgba(17, 19, 24, .1), 0 7px 18px rgba(12, 15, 20, .18);
}
.nav__account-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 7px;
  background: #fff0f2;
  color: #b52b40;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.nav__account-copy { min-width: 0; display: grid; gap: 2px; text-align: left; line-height: 1.05; }
.nav__account-copy strong {
  max-width: 104px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav__account-copy small { color: rgba(255, 255, 255, .56); font-size: 9px; font-weight: 540; }
.nav__account-chevron {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .7);
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.nav__account-chevron svg { width: 14px; height: 14px; }
.nav__account-trigger:hover .nav__account-chevron { background: rgba(255, 255, 255, .14); color: #fff; }
.nav__account-trigger[aria-expanded="true"] .nav__account-chevron { background: #fff; color: #111318; transform: rotate(180deg); }
.nav__account-trigger:focus-visible { outline: 2px solid rgba(216, 50, 73, .68); outline-offset: 3px; }
.store-nav__inner > .nav__account-trigger,
.catalog-nav__inner > .nav__account-trigger { flex: 0 0 auto; margin-left: auto; }

.nav-account-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(12, 15, 20, .28);
  backdrop-filter: blur(4px);
}
.nav-account-menu-backdrop[hidden],
.nav-account-menu[hidden] { display: none; }
.nav-account-menu {
  position: absolute;
  z-index: 1200;
  width: 328px;
  padding: 10px;
  border: 1px solid #dfe2e7;
  border-radius: 16px;
  background: #fff;
  color: #171a20;
  box-shadow: 0 24px 64px rgba(13, 16, 22, .22), 0 4px 14px rgba(13, 16, 22, .08);
}
.nav-account-menu__head {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border-radius: 12px;
  background: #111318;
  color: #fff;
}
.nav-account-menu__avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff0f2;
  color: #b52b40;
  font-size: 15px;
  font-weight: 820;
}
.nav-account-menu__head > div { min-width: 0; display: grid; gap: 2px; }
.nav-account-menu__head > div > span { color: #e76578; font-size: 8.5px; font-weight: 800; letter-spacing: .1em; }
.nav-account-menu__head strong { overflow: hidden; color: #fff; font-size: 13px; font-weight: 760; text-overflow: ellipsis; white-space: nowrap; }
.nav-account-menu__head small { overflow: hidden; color: rgba(255, 255, 255, .52); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.nav-account-menu__head > button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .62);
  cursor: pointer;
}
.nav-account-menu__head > button:hover { background: rgba(255, 255, 255, .13); color: #fff; }
.nav-account-menu__head > button svg { width: 14px; height: 14px; }
.nav-account-menu__links { display: grid; gap: 4px; padding: 8px 0; }
.nav-account-menu__links > a {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 9px;
  border-radius: 10px;
  color: #242830;
  transition: background-color .16s ease, color .16s ease;
}
.nav-account-menu__links > a:hover { background: #f2f3f5; color: #111318; }
.nav-account-menu__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  background: #fff;
  color: #545a64;
}
.nav-account-menu__icon svg { width: 18px; height: 18px; }
.nav-account-menu__links > a > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; }
.nav-account-menu__links strong { color: inherit; font-size: 12px; font-weight: 740; }
.nav-account-menu__links small { color: #858a93; font-size: 10px; }
.nav-account-menu__links > a > svg { width: 14px; height: 14px; color: #a4a9b1; }
.nav-account-menu__links > a:hover > svg { color: #111318; transform: translateX(1px); }
.nav-account-menu__logout {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 0;
  border-top: 1px solid #eceef1;
  background: transparent;
  color: #9f2d3d;
  font-size: 11px;
  font-weight: 720;
  text-align: left;
  cursor: pointer;
}
.nav-account-menu__logout:hover { border-radius: 9px; background: #fff1f2; color: #bd2d42; }
.nav-account-menu__logout > span { width: 24px; height: 24px; display: grid; place-items: center; }
.nav-account-menu__logout svg { width: 17px; height: 17px; }
.nav-account-menu a:focus-visible,
.nav-account-menu button:focus-visible { outline: 2px solid rgba(216, 50, 73, .62); outline-offset: 2px; }

@media (max-width: 700px) {
  .nav__account-trigger { min-height: 36px; gap: 4px; padding: 3px; }
  .nav__account-avatar { width: 28px; height: 28px; flex-basis: 28px; border-radius: 6px; font-size: 10px; }
  .nav__account-copy { display: none; }
  .nav__account-chevron { width: 20px; height: 20px; flex-basis: 20px; }
  .nav-account-menu-backdrop { background: rgba(12, 15, 20, .48); }
  .nav-account-menu {
    position: fixed;
    top: auto !important;
    left: 0 !important;
    inset: auto 0 0 0;
    width: 100%;
    padding: 10px 10px calc(12px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__account-trigger,
  .nav__account-chevron,
  .nav-account-menu__links > a { transition: none; }
}

/* ==========================================================================
   订单详情重构（v=20260831-order-detail-1）
   范围：修正 5 步进度被塞进 4 列网格的布局 bug、重排头部信息层级、
   新增订单号/兑换码复制按钮、失败原因卡片。
   说明：全部为 scoped override，回滚时删除本块即可。
   ========================================================================== */

/* 修复：orderProgress() 返回 5 个步骤，但上面第 1559 行的 repeat(4,...) 在本文件
   后于 account.css 加载，把 account.css 的 repeat(5,...) 覆盖了，
   导致第 5 步换行错位。这里重新声明为 5 列。 */
.account-view .detail-progress { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* 分区小标题去掉 VALORANT 红，改用中性灰，符合灰白黑品牌约束 */
.account-view .detail-section__eyebrow { color: #98a0ab; letter-spacing: 1.2px; }

/* 头部：订单号降级为副信息并支持复制，商品名升为主标题 */
.account-view .detail-view__reference {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  min-width: 0;
}
.account-view .detail-view__reference > span { color: #9aa1ac; font-size: 11px; }
.account-view .detail-view__reference code {
  min-width: 0;
  overflow: hidden;
  color: #6d7480;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-view .detail-view__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}
/* 原 .detail-view__heading time 是 block + margin-top，放进 meta 行内需要还原 */
.account-view .detail-view__meta time { display: inline; margin-top: 0; }
.account-view .detail-view__tag {
  padding: 2px 8px;
  border: 1px solid #e4e8ee;
  border-radius: 999px;
  background: #f7f8fa;
  color: #6a7280;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* 复制按钮：让「联系客服时请提供订单编号」这句指引真正可执行 */
.account-view .detail-copy {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid #e2e6ec;
  border-radius: 6px;
  background: #fff;
  color: #7c8490;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.account-view .detail-copy:hover { border-color: #c8cfd9; color: #30343b; }
.account-view .detail-copy.is-copied { border-color: #a9d8c3; background: #f2f8f5; color: #287257; }
.account-view .detail-field strong .detail-copy { margin-left: 8px; vertical-align: 1px; }

/* 失败原因卡片：供应商回传的泰文原因已本地化，这里负责让它在视觉上被看见 */
.account-view .detail-notice {
  margin-top: 16px;
  padding: 13px 15px;
  border: 1px solid #f0d6da;
  border-left: 3px solid #c0392b;
  border-radius: 10px;
  background: #fff7f7;
}
.account-view .detail-notice__label {
  display: block;
  color: #a03030;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.account-view .detail-notice p {
  margin: 5px 0 0;
  color: #5a3038;
  font-size: 12px;
  line-height: 1.6;
  text-wrap: pretty;
}
.account-view .detail-notice__hint {
  display: block;
  margin-top: 7px;
  color: #8d6a70;
  font-size: 12px;
  line-height: 1.55;
}

/* 中间断点：5 列在 980px 以下会挤到读不清，先降为 3 列 */
@media (max-width: 980px) {
  .account-view .detail-progress { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
}

/* 单列时步骤间连接线改为竖向，横向短线在纵排下是错的 */
@media (max-width: 760px) {
  .account-view .detail-progress { grid-template-columns: 1fr; row-gap: 14px; }
  .account-view .detail-progress__item:not(:last-child)::after {
    top: 16px;
    left: 7px;
    right: auto;
    bottom: -10px;
    width: 1px;
    height: auto;
  }
  .account-view .detail-view__reference { flex-wrap: wrap; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .account-view .detail-copy { transition: none; }
}


/* ---- 订单详情重构补充（v=20260831-order-detail-1 同一块）---- */
/* 可复制的字段：兑换码等长串需要与复制按钮拉开间距 */
.account-view .detail-field strong.copyable {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
}
.account-view .detail-field strong.copyable > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ---- 订单详情重构补充 2（v=20260831-order-detail-1）---- */
/* 历史订单无支付方式痕迹时，详情页给弱化的「未记录」占位 */
.account-view .pay-method-unknown {
  color: #9ba3b0;
  font-size: 12px;
  font-style: normal;
}

/* ---- 字重归位（v=20260901-fontweight-1）---- */
/* 非标准字重 720/760/820 会被浏览器就近取整，是排版不一致来源，
   统一归位：720/760 → 700（--fw-bold），820 → 800（标题强强调）。
   覆盖 design-polish.css 内部 + laa.css。
   注意：.nav__logo-text（品牌块 1646 已定 600）与 .nav__auth-btn
   （品牌块 1740 定 600 / store-home 895 定 800）中的 720 是死代码，
   实际生效的是合法值，无需也不应归位。 */
.nav__language button { font-weight: 700; }
.locale-menu__head strong { font-weight: 800; }
.locale-menu__heading strong { font-weight: 700; }
.locale-menu__label { font-weight: 700; }
.locale-menu__currencies .locale-menu__option-copy strong { font-weight: 700; }
.nav__account-copy strong { font-weight: 700; }
.nav-account-menu__avatar { font-weight: 800; }
.nav-account-menu__head strong { font-weight: 700; }
.nav-account-menu__logout { font-weight: 700; }
.promo-card-dark__title { font-weight: 700; }
.promo-card-dark__title strong { font-weight: 800; }
.why-item__title { font-weight: 700; }

/* ---- 字重归位补充（v=20260901-fontweight-1）---- */
/* 其余非标准字重（450-850 非 100 整数倍）就近归位：
   450/480→400，520-550→500，620-780→700，820-850→800。
   覆盖 design-polish.css 内部 + laa.css。 */
.nav__locale { font-weight: 700; }
.nav__locale-values { font-weight: 700; }
.nav__search-input { font-weight: 500; }
.nav__search-input::placeholder { font-weight: 500; }
.nav__locale-values i { font-weight: 400; }
.locale-menu__symbol { font-weight: 800; }
.locale-menu__heading > span { font-weight: 700; }
.locale-menu__option-copy small { font-weight: 500; }
.nav__account-copy small { font-weight: 500; }
.notice__title { font-weight: 700; }
.promo-card-dark__kicker { font-weight: 500; }
.promo-card-dark__tag { font-weight: 700; }
.promo-card--pubg::after { font-weight: 800; }
.promo-card-dark__mark { font-weight: 800; }
.nav__link { font-weight: 500; }


/* ==========================================================================
   首页轮播以下重建 v3（v=20260904-homepage-shelves-1）

   v2（homepage-store-1）被否：只有目录文字与服务承诺、没有可逛的"货"。
   v3 = SEAGM 货架 × Apple 排版 × 灰白黑：
     货架（游戏/商品卡）由 js/home-shelves.js 从 LAAStore 真实数据渲染，
     首页不写死任何游戏/区/面额；上新自动进墙。本文件只负责样式。

   结构：Promo 编辑条 → 01 游戏直充货架 → 02 CDKEY 与更多 → 服务小字。
   前缀 .rb- + .store-home 限定；回滚删除本块即可。
   ========================================================================== */

/* ----- 0. 通用件 ----- */
.store-home .rb-shelf,
.store-home .rb-store-note { width: min(100%, 1280px); margin-left: auto; margin-right: auto; }
.store-home .rb-shelf { padding: 0 clamp(24px, 4vw, 64px); }
.store-home .rb-shelf__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 20px;
  row-gap: 4px;
  padding: clamp(48px, 6vw, 76px) 0 clamp(18px, 2.6vw, 26px);
  border-top: 1px solid var(--store-hairline);
}
.store-home .rb-shelf__more {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  color: #5f6570;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
.store-home .rb-shelf__more:hover { color: var(--store-ink); text-decoration: underline; text-underline-offset: 3px; }
.store-home .rb-shelf__more:focus-visible {
  outline: 2px solid #0b0b0d;
  outline-offset: 2px;
  border-radius: 2px;
}
.store-home .rb-shelf:first-of-type .rb-shelf__head { border-top: 0; }
.store-home .rb-shelf__title {
  margin: 0;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.store-home .rb-shelf__idx {
  display: inline-block;
  margin-right: 14px;
  color: #b9bec6;
  font-family: var(--font-condensed);
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: .04em;
  vertical-align: .12em;
  font-variant-numeric: tabular-nums;
}
.store-home .rb-shelf__lead {
  margin: 0;
  color: #6a7079;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* ----- 1. 货架卡片（紧凑竖卡：封面 16:10 上、信息下 —— 参照 SEAGM/Eneba 密度）----- */
.store-home .rb-shelf__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(12px, 1.6vw, 18px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.store-home .rb-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  border: 1px solid var(--store-hairline);
  border-radius: 10px;
  background: #fff;
  color: var(--store-ink);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .18s cubic-bezier(0.16, 1, 0.3, 1), transform .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-home .rb-card:hover { border-color: #d0d3d8; transform: translateY(-2px); }
.store-home .rb-card:focus-visible {
  outline: 2px solid #0b0b0d;
  outline-offset: 2px;
  border-radius: 10px;
}
.store-home .rb-card__cover {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 10;
  background: #f2f3f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.store-home .rb-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.store-home .rb-card__cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .92);
  font-family: var(--font-condensed);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: .06em;
}
.store-home .rb-card__body {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px 14px 14px;
}
.store-home .rb-card__name {
  margin: 0;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.store-home .rb-card__meta {
  margin: 0;
  color: #8a8f98;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-home .rb-card__price {
  margin: 6px 0 0;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}

/* ----- 2. Promo 编辑条（真实活动）----- */
.store-home .rb-store-promo {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 64px) 0;
}
.store-home .rb-store-promo__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 2.8vw, 36px);
  border-radius: 10px;
  background: #0b0b0d;
  color: #f5f5f7;
  text-decoration: none;
  transition: background-color .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-home .rb-store-promo__link:hover { background: #23262c; }
.store-home .rb-store-promo__link:focus-visible {
  outline: 2px solid #2563ff;
  outline-offset: 3px;
}
.store-home .rb-store-promo__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.store-home .rb-store-promo__eyebrow {
  color: rgba(245, 245, 247, .5);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
}
.store-home .rb-store-promo__title {
  color: #fff;
  font-family: var(--font-sans);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.store-home .rb-store-promo__desc {
  color: rgba(245, 245, 247, .66);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
}
.store-home .rb-store-promo__cta {
  flex: 0 0 auto;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-home .rb-store-promo__link:hover .rb-store-promo__cta { transform: translateX(3px); }

/* ----- 3. 空态 / 即将开放 ----- */
.store-home .rb-shelf__empty {
  margin: 0;
  padding: 0 0 clamp(40px, 5vw, 64px);
  color: #6a7079;
  font-size: 13.5px;
  line-height: 1.6;
}
.store-home .rb-shelf__soon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(40px, 5vw, 64px);
  padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.6vw, 30px);
  border: 1px dashed #d5d8dd;
  border-radius: 10px;
  color: #6a7079;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.store-home .rb-shelf__soon:hover { border-color: #0b0b0d; color: var(--store-ink); }
.store-home .rb-shelf__soon-cta { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--store-ink); }

/* ----- 4. 服务与规则小字 ----- */
.store-home .rb-store-note {
  margin-bottom: 0;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 64px) clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--store-hairline);
  color: #8a8f98;
  font-size: 12.5px;
  line-height: 1.8;
  text-align: center;
}
.store-home .rb-store-note a {
  color: #5f6570;
  text-decoration: none;
  white-space: nowrap;
}
.store-home .rb-store-note a:hover { color: var(--store-ink); text-decoration: underline; text-underline-offset: 3px; }
.store-home .rb-store-note a:focus-visible {
  outline: 2px solid #0b0b0d;
  outline-offset: 2px;
  border-radius: 2px;
}

/* ----- 响应式 ----- */
@media (max-width: 860px) {
  .store-home .rb-shelf__head { grid-template-columns: 1fr; gap: 6px; }
  .store-home .rb-shelf__more { grid-column: 1; grid-row: auto; justify-self: start; align-self: start; margin-top: 4px; }
  .store-home .rb-shelf__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
}
@media (max-width: 700px) {
  .store-home .rb-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-home .rb-card__body { padding: 10px 12px 12px; }
  .store-home .rb-card__name { font-size: 14px; }
  .store-home .rb-card__meta,
  .store-home .rb-card__price { font-size: 12px; }
  .store-home .rb-store-promo__link { flex-direction: column; align-items: flex-start; gap: 10px; }
  .store-home .rb-store-note { text-align: left; line-height: 1.9; }
}
@media (max-width: 430px) {
  .store-home .rb-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .store-home .rb-card__cover { aspect-ratio: 16 / 11; }
}
@media (prefers-reduced-motion: reduce) {
  .store-home .rb-card,
  .store-home .rb-card__price,
  .store-home .rb-store-promo__cta { transition: none !important; }
  .store-home .rb-card:hover,
  .store-home .rb-store-promo__link:hover .rb-store-promo__cta { transform: none; }
}

/* ==========================================================================
   v20260904-homepage-floors-1 · 首页内容楼层增强（目录条 + 浏览全部瓷砖卡）
   前缀 .store-home + .rb- 限定；回滚删除本块即可（含上方 grid 两处改动见注释）。
   ========================================================================== */

/* ----- A. 品类目录条（rb-dir）：3 个编辑式大入口，hero/promo 之下、货架之上 ----- */
.store-home .rb-dir {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px) clamp(10px, 1.4vw, 18px);
}
.store-home .rb-dir__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--store-hairline);
}
.store-home .rb-dir__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  padding: clamp(20px, 2.8vw, 30px) 0;
  border-bottom: 1px solid var(--store-hairline);
  color: var(--store-ink);
  text-decoration: none;
}
.store-home .rb-dir__item:hover .rb-dir__name,
.store-home .rb-dir__item:focus-visible .rb-dir__name { text-decoration: underline; text-underline-offset: 4px; }
.store-home .rb-dir__item:focus-visible {
  outline: 2px solid #0b0b0d;
  outline-offset: 2px;
  border-radius: 2px;
}
.store-home .rb-dir__num {
  padding-top: 7px;
  color: #b9bec6;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.store-home .rb-dir__body { min-width: 0; }
.store-home .rb-dir__name {
  margin: 0;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.store-home .rb-dir__desc {
  margin: 6px 0 0;
  color: #6a7079;
  font-size: 13px;
  line-height: 1.55;
}
.store-home .rb-dir__cta {
  display: inline-block;
  margin-top: 10px;
  color: #5f6570;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}
.store-home .rb-dir__item:hover .rb-dir__cta,
.store-home .rb-dir__item:focus-visible .rb-dir__cta { color: var(--store-ink); }

/* ----- B. 货架尾「浏览全部」瓷砖卡（rb-card--all，由 JS 拼在商品卡后） ----- */
.store-home .rb-card--all {
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: clamp(14px, 2vw, 22px);
  border-style: dashed;
  border-color: #d5d8dd;
  background: transparent;
}
.store-home .rb-card--all:hover { border-color: #0b0b0d; }
.store-home .rb-card__all-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  border: 1px solid #d5d8dd;
  border-radius: 50%;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: border-color .18s ease;
}
.store-home .rb-card--all:hover .rb-card__all-icon { border-color: #0b0b0d; }
.store-home .rb-card__all-label {
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.store-home .rb-card__all-sub {
  color: #8a8f98;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* ----- C. 响应式补充 ----- */
@media (max-width: 860px) {
  .store-home .rb-dir__grid { grid-template-columns: 1fr; }
  .store-home .rb-dir__item { padding: 18px 0; }
}
@media (max-width: 430px) {
  .store-home .rb-card--all { min-height: 148px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-home .rb-card--all,
  .store-home .rb-card--all .rb-card__all-icon { transition: none !important; }
  .store-home .rb-card--all:hover,
  .store-home .rb-card--all:hover .rb-card__all-icon { transform: none; }
}

/* ==========================================================================
   v20260904-homepage-floors-3 · 首页功能模块（03 快捷直充 / 04 全部游戏目录）
   说明性模块(如何下单/服务保障/FAQ)按用户反馈移除 —— 本轮只留可操作模块。
   前缀 .store-home + .rb- 限定；回滚删除本块即可。
   ========================================================================== */

/* ----- 03 · QUICK TOP-UP 快捷直充：按游戏列档位，点档位直达 game 页选中 SKU ----- */
.store-home .rb-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.store-home .rb-quick__card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border: 1px solid var(--store-hairline);
  border-radius: 10px;
  background: #fff;
  color: var(--store-ink);
  overflow: hidden;
  transition: border-color .18s cubic-bezier(0.16, 1, 0.3, 1), transform .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.store-home .rb-quick__card:hover { border-color: #d0d3d8; transform: translateY(-2px); }
.store-home .rb-quick__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--store-hairline);
  text-decoration: none;
  color: var(--store-ink);
}
.store-home .rb-quick__head:hover .rb-quick__name { text-decoration: underline; text-underline-offset: 3px; }
.store-home .rb-quick__name {
  margin: 0;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.store-home .rb-quick__region {
  flex: 0 0 auto;
  color: #8a8f98;
  font-size: 12px;
}
.store-home .rb-quick__rows { display: flex; flex-direction: column; flex: 1 1 auto; }
.store-home .rb-quick__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--store-hairline);
  color: var(--store-ink);
  text-decoration: none;
  font-size: 13.5px;
  transition: background-color .15s ease;
}
.store-home .rb-quick__row:last-of-type { border-bottom: 0; }
.store-home .rb-quick__row:hover { background: #f7f8fa; }
.store-home .rb-quick__row:hover .rb-quick__denom { text-decoration: underline; text-underline-offset: 3px; }
.store-home .rb-quick__denom { color: #3c4148; }
.store-home .rb-quick__price {
  flex: 0 0 auto;
  color: var(--store-ink);
  font-family: var(--font-condensed);
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.store-home .rb-quick__more {
  display: block;
  padding: 9px 16px 11px;
  border-top: 1px dashed #d5d8dd;
  color: #5f6570;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.store-home .rb-quick__more:hover { color: var(--store-ink); }
.store-home .rb-quick__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 0 clamp(24px, 3vw, 40px);
  color: #6a7079;
  font-size: 13.5px;
}

/* ----- 04 · ALL GAMES 全部游戏：compact 目录行 ----- */
.store-home .rb-games {
  display: grid;
  border-top: 1px solid var(--store-hairline);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.store-home .rb-games__row {
  display: grid;
  grid-template-columns: minmax(0, 72px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(10px, 1.4vw, 14px) 0;
  border-bottom: 1px solid var(--store-hairline);
  color: var(--store-ink);
  text-decoration: none;
}
.store-home .rb-games__row:hover .rb-games__name { text-decoration: underline; text-underline-offset: 4px; }
.store-home .rb-games__row:focus-visible {
  outline: 2px solid #0b0b0d;
  outline-offset: 2px;
  border-radius: 2px;
}
.store-home .rb-games__cover {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  background: #f2f3f5;
}
.store-home .rb-games__cover-fallback {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .92);
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
}
.store-home .rb-games__main { min-width: 0; }
.store-home .rb-games__name {
  margin: 0;
  color: var(--store-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.store-home .rb-games__meta {
  margin: 3px 0 0;
  color: #8a8f98;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.store-home .rb-games__right {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #6a7079;
  font-size: 12.5px;
  white-space: nowrap;
}
.store-home .rb-games__arrow {
  color: #b9bec6;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform .18s ease;
}
.store-home .rb-games__row:hover .rb-games__arrow { transform: translateX(3px); color: var(--store-ink); }
.store-home .rb-games__empty {
  margin: 0;
  padding: clamp(20px, 3vw, 32px) 0;
  color: #6a7079;
  font-size: 13.5px;
}

/* ----- 响应式 ----- */
@media (max-width: 860px) {
  .store-home .rb-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .store-home .rb-quick { grid-template-columns: 1fr; }
  .store-home .rb-games__row { grid-template-columns: 56px minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
  .store-home .rb-quick__card,
  .store-home .rb-quick__row,
  .store-home .rb-games__arrow { transition: none !important; }
  .store-home .rb-quick__card:hover,
  .store-home .rb-games__row:hover .rb-games__arrow { transform: none; }
}

/* ========================================================================== 
   Homepage announcement bar — compact service notice
   Keeps the existing markup and behavior; improves hierarchy and touch targets.
   ========================================================================== */
.store-home #noticeBar {
  --notice-accent: #ff5f6d;
  --notice-accent-rgb: 255, 95, 109;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 18% -180%, rgba(var(--notice-accent-rgb), .2), transparent 38%),
    linear-gradient(100deg, #111318 0%, #1a1d24 52%, #12141a 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.store-home #noticeBar[data-notice-tone="maintenance"] { --notice-accent: #f5b84b; --notice-accent-rgb: 245, 184, 75; }
.store-home #noticeBar[data-notice-tone="status"] { --notice-accent: #ff6b6b; --notice-accent-rgb: 255, 107, 107; }
.store-home #noticeBar[data-notice-tone="success"] { --notice-accent: #58c994; --notice-accent-rgb: 88, 201, 148; }
.store-home #noticeBar[data-notice-tone="new"] { --notice-accent: #73a7ff; --notice-accent-rgb: 115, 167, 255; }
.store-home #noticeBar[data-notice-tone="promotion"] { --notice-accent: #ff5f6d; --notice-accent-rgb: 255, 95, 109; }
.store-home #noticeBar::before {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--notice-accent);
  content: "";
}
.store-home #noticeBar::after {
  position: absolute;
  z-index: -1;
  top: -38px;
  right: 9%;
  width: 150px;
  height: 110px;
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 50%;
  transform: rotate(-12deg);
  content: "";
  pointer-events: none;
}
.store-home #noticeBar .notice__inner {
  width: min(100%, 1280px);
  min-height: 50px;
  display: grid;
  grid-template-columns: 28px minmax(0, max-content) minmax(0, max-content) auto;
  justify-content: center;
  position: relative;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  padding: 5px 76px;
  box-sizing: border-box;
}
.store-home #noticeBar .notice__icon {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--notice-accent);
  box-shadow: none;
}
.store-home #noticeBar .notice__icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.75;
}
.store-home #noticeBar .notice__title {
  min-width: 0;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.4;
  transition: opacity .22s ease, transform .22s cubic-bezier(.4, 0, .2, 1);
}
.store-home #noticeBar .notice__sub {
  min-width: 0;
  color: rgba(235, 238, 244, .68);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  transition: opacity .22s ease, transform .22s cubic-bezier(.4, 0, .2, 1);
}
.store-home #noticeBar.is-notice-leaving .notice__title,
.store-home #noticeBar.is-notice-leaving .notice__sub {
  opacity: 0;
  transform: translateY(-8px);
}
.store-home #noticeBar.is-notice-entering .notice__title,
.store-home #noticeBar.is-notice-entering .notice__sub {
  opacity: 0;
  transform: translateY(8px);
}
.store-home #noticeBar .notice__more {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
  border: 1px solid rgba(var(--notice-accent-rgb), .34);
  border-radius: 8px;
  background: rgba(var(--notice-accent-rgb), .1);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.store-home #noticeBar .notice__more:hover {
  border-color: rgba(var(--notice-accent-rgb), .62);
  background: rgba(var(--notice-accent-rgb), .18);
  color: #fff;
  transform: translateY(-1px);
}
.store-home #noticeBar .notice__more:focus-visible,
.store-home #noticeBar .notice__close:focus-visible {
  outline: 2px solid #ff8792;
  outline-offset: 2px;
}
.store-home #noticeBar .notice__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: rgba(255, 255, 255, .54);
  font-size: 20px;
  transition: color .16s ease, background-color .16s ease;
}
.store-home #noticeBar .notice__close:hover {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}
@media (max-width: 760px) {
  .store-home #noticeBar .notice__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 56px;
    gap: 8px;
    padding: 12px 60px;
  }
  .store-home #noticeBar .notice__sub { display: none; }
  .store-home #noticeBar .notice__icon { position: absolute; left: 16px; top: 16px; }
  .store-home #noticeBar .notice__title { justify-self: center; width: fit-content; max-width: 100%; overflow: visible; font-size: 12px; line-height: 1.6; text-align: left; white-space: normal; overflow-wrap: anywhere; }
  .store-home #noticeBar .notice__more { justify-self: center; }
  .store-home #noticeBar .notice__more { min-height: 40px; padding: 0 10px; font-size: 10.5px; white-space: nowrap; }
}
@media (max-width: 420px) {
  .store-home #noticeBar .notice__inner { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-inline: 56px; }
  .store-home #noticeBar .notice__icon { width: 28px; height: 28px; border-radius: 8px; }
  .store-home #noticeBar .notice__more { padding-inline: 8px; }
  .store-home #noticeBar .notice__close { width: 36px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-home #noticeBar .notice__title,
  .store-home #noticeBar .notice__sub,
  .store-home #noticeBar .notice__more { transition: none; }
  .store-home #noticeBar .notice__more:hover { transform: none; }
}

/* ===== 深色双卡重做 v=20260905-pcdark-1 · 统一深黑底 + 斜切几何 + 克制 accent =====
   原 .promo-card-dark 蓝渐变卡（--weekend）违反灰白黑调性；现 .pc-card 统一深黑底，
   卡1 红 accent（购买核对=主引导）、卡2 中性（售后），右上角斜切三角呼应 LAA monogram。 */
.store-home .pc-cards .promo-cards__inner { gap: 18px; }
.store-home .pc-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 238px;
  padding: 24px 28px 22px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #16171b 0%, #0b0c0f 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 30px rgba(15, 23, 42, .08);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.store-home .pc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 38px rgba(15, 23, 42, .16);
}
.store-home .pc-card:focus-visible { outline: 3px solid rgba(11, 11, 13, .35); outline-offset: 3px; }
.store-home .pc-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  background: linear-gradient(225deg, rgba(255, 255, 255, .055) 0 50%, transparent 50% 100%);
  pointer-events: none;
}
.store-home .pc-card--check::after { background: linear-gradient(225deg, rgba(255, 70, 85, .20) 0 50%, transparent 50% 100%); }
.store-home .pc-card__tag {
  align-self: flex-start;
  max-width: 88%;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 3px;
  background: rgba(255, 255, 255, .045);
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-ui);
  font-size: 9.5px;
  letter-spacing: .16em;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.store-home .pc-card__body { position: relative; z-index: 2; display: grid; gap: 4px; margin-top: auto; }
.store-home .pc-card__kicker { color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 500; }
.store-home .pc-card__title {
  font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.18;
  font-weight: 650;
  letter-spacing: -.02em;
  margin: 0;
  color: #fff;
}
.store-home .pc-card__desc {
  max-width: 92%;
  margin-top: 4px;
  color: rgba(255, 255, 255, .6);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
}
.store-home .pc-card__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.store-home .pc-card__cta { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .92); }
.store-home .pc-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.store-home .pc-card--check:hover .pc-card__arrow { background: #ff4655; border-color: #ff4655; color: #fff; }
.store-home .pc-card--support:hover .pc-card__arrow { background: #fff; border-color: #fff; color: #0b0c0f; }
.store-home .pc-card__num {
  position: absolute;
  right: 22px;
  bottom: 12px;
  z-index: 0;
  color: rgba(255, 255, 255, .07);
  font-family: var(--font-condensed);
  font-size: 96px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) {
  .store-home .pc-cards .promo-cards__inner { gap: 12px; }
  .store-home .pc-card { min-height: 206px; padding: 20px 20px 18px; }
  .store-home .pc-card__title { font-size: 22px; }
  .store-home .pc-card__num { right: 16px; bottom: 8px; font-size: 84px; }
  .store-home .pc-card__desc { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .store-home .pc-card,
  .store-home .pc-card__arrow { transition: none; }
  .store-home .pc-card:hover { transform: none; }
}

/* ===== 深色双卡极简修订（pcdark-1b）：idx 序号 + 短标题 + 词链 + 箭头 =====
   去除五层文字堆砌，改为「右上序号 / 中下标题与词链 / 右下箭头」三层极简结构 */
.store-home .pc-cards .pc-card {
  min-height: 216px;
  padding: 24px 28px 22px;
  gap: 0;
}
.store-home .pc-card::after { display: none; }
.store-home .pc-card__idx {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-condensed);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
  color: rgba(255, 255, 255, .3);
  transition: color .2s ease;
}
.store-home .pc-card--check .pc-card__idx { color: rgba(255, 70, 85, .8); }
.store-home .pc-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-bottom: 46px;
}
.store-home .pc-card__title {
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0;
  color: #fff;
}
.store-home .pc-card__sub {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .55);
  font-size: 12.5px;
  letter-spacing: .01em;
  line-height: 1.5;
}
.store-home .pc-card__arrow {
  position: absolute;
  right: 24px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.store-home .pc-card--check:hover .pc-card__arrow { background: #ff4655; border-color: #ff4655; }
.store-home .pc-card--support:hover .pc-card__arrow { background: #fff; border-color: #fff; color: #0b0c0f; }
.store-home .pc-card--check:hover .pc-card__idx { color: #ff4655; }
.store-home .pc-card--support:hover .pc-card__idx { color: #fff; }
@media (max-width: 700px) {
  .store-home .pc-cards .pc-card { min-height: 176px; padding: 20px 20px 18px; }
  .store-home .pc-card__idx { top: 16px; right: 18px; font-size: 21px; }
  .store-home .pc-card__body { padding-bottom: 40px; }
  .store-home .pc-card__title { font-size: 21px; }
  .store-home .pc-card__arrow { right: 18px; bottom: 16px; width: 34px; height: 34px; }
}

/* New games: square artwork with an independent caption underneath. */
.store-home #gameGrid { gap: 20px; }
.store-home #gameGrid .all-card {
  aspect-ratio: auto;
  min-width: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.store-home #gameGrid .all-card__cover {
  height: auto;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  border-radius: 16px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(26,29,35,.08);
}
.store-home #gameGrid .all-card__cover-img { object-fit: contain; transition: transform .25s ease; }
.store-home #gameGrid .all-card__body {
  position: relative;
  padding: 12px 2px 4px;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: transparent;
  color: var(--text-2);
}
.store-home #gameGrid .all-card__name {
  margin: 0;
  width: 100%;
  min-height: 2.8em;
  text-align: center;
  text-wrap: balance;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 650;
  overflow-wrap: anywhere;
  color: var(--text-2);
  text-shadow: none;
}
.store-home #gameGrid .all-card__soon { color: var(--text-muted); font-size: 12px; }
.store-home #gameGrid .all-card:hover,
.store-home #gameGrid .all-card:active { transform: none; box-shadow: none; }
.store-home #gameGrid .all-card:focus-visible { outline: 3px solid var(--text-muted); outline-offset: 4px; }
@media (hover:hover) {
  .store-home #gameGrid a.all-card:hover .all-card__cover-img { transform: scale(1.035); }
}
@media (max-width:760px) { .store-home #gameGrid { gap: 14px; } }
@media (prefers-reduced-motion:reduce) {
  .store-home #gameGrid .all-card, .store-home #gameGrid .all-card__cover-img { transition: none; }
  .store-home #gameGrid a.all-card:hover, .store-home #gameGrid a.all-card:hover .all-card__cover-img { transform: none; }
}

/* Recommended activities: gallery panels with integrated captions. */
.store-home #promoGrid .promo-card { --card-glow: 191, 54, 73; }
.store-home #promoGrid .promo-card:nth-child(2) { --card-glow: 115, 91, 159; }
.store-home #promoGrid .promo-card:nth-child(3) { --card-glow: 62, 110, 148; }
.store-home #promoGrid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.store-home #promoGrid .promo-card {
  position:relative; isolation:isolate; display:grid;
  grid-template-columns:minmax(0,1fr) 44px; grid-template-rows:180px 1fr;
  gap:20px 12px; min-height:0; padding:16px 24px 28px; overflow:hidden;
  border:1px solid rgba(255,255,255,.12); border-radius:14px;
  background:radial-gradient(ellipse at 95% 100%,rgba(var(--card-glow),.25),transparent 72%),linear-gradient(145deg,rgba(var(--card-glow),.1),transparent 55%),var(--polish-ink); color:var(--surface); box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.store-home #promoGrid .promo-card::before,
.store-home #promoGrid .promo-card::after,
.store-home #promoGrid .promo-card__number,
.store-home #promoGrid .promo-card__shade,
.store-home #promoGrid .promo-card__eyebrow { display:none; }
.store-home #promoGrid .promo-card__media,
.store-home #promoGrid .has-game-cover .promo-card__media {
  position:relative; inset:auto; z-index:0; grid-column:1/-1; grid-row:1;
  display:block; width:100%; height:100%; margin:0;
  border-radius:8px; overflow:hidden; background:rgba(255,255,255,.025);
}
.store-home #promoGrid .promo-card__media img {
  display:block; width:100%; height:100%; margin:0; object-fit:cover; object-position:center;
  border-radius:0; transform:none; box-shadow:none; transition:transform .25s ease;
}
.store-home #promoGrid .has-game-cover .promo-card__media img { object-fit:contain; padding:16px; box-sizing:border-box; }
.store-home #promoGrid .promo-card__discovery { color:var(--surface); }
.store-home #promoGrid .promo-card__discovery svg { width:100%; height:100%; padding:8px; box-sizing:border-box; }
.store-home #promoGrid .promo-card__content { position:relative; z-index:1; grid-column:1; grid-row:2; align-self:start; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; min-width:0; }
.store-home #promoGrid .promo-card__title { margin:0; max-width:100%; font-size:22px; font-weight:650; letter-spacing:-.025em; line-height:1.3; color:var(--surface); overflow-wrap:anywhere; text-wrap:balance; }
.store-home #promoGrid .promo-card__desc { margin:0; max-width:100%; font-size:12px; line-height:1.7; color:#cbd0d6; overflow-wrap:anywhere; }
.store-home #promoGrid .promo-card__cta { position:relative; z-index:1; grid-column:2; grid-row:2; align-self:start; display:flex; align-items:center; justify-content:flex-start; gap:8px; min-height:32px; margin:0; padding:0; border:0; color:#cbd0d6; font-size:0; font-weight:500; }
.store-home #promoGrid .promo-card__cta span { display:grid; place-items:center; width:44px; height:44px; border:1px solid rgba(255,255,255,.2); border-radius:50%; color:var(--surface); background:transparent; }
.store-home #promoGrid .promo-card__cta svg { width:20px; height:20px; }
.store-home #promoGrid .promo-card:focus-visible { outline:3px solid var(--polish-focus); outline-offset:4px; }
.store-home #promoGrid {
  background:transparent;
  border-radius:18px;
}
.store-home #promoGrid .promo-card {
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.store-home #promoGrid .promo-card {
  background:linear-gradient(155deg,#f5f2eb,#ece7dd);
  border-color:#e2ddd3;
  color:#302c28;
  box-shadow:0 8px 24px rgba(81,65,43,.06);
}
.store-home #promoGrid .promo-card .promo-card__title { color:#302c28; }
.store-home #promoGrid .promo-card .promo-card__discovery { color:#5e564e; }
.store-home #promoGrid .promo-card .promo-card__desc,
.store-home #promoGrid .promo-card .promo-card__cta { color:#5e564e; }
.store-home #promoGrid .promo-card .promo-card__cta span {
  color:#50473c; border-color:#d4c9b8;
  background:#e9e3d8;
  box-shadow:none;
}
.store-home #promoGrid .promo-card .promo-card__media {
  box-shadow:none;
}
/* Matte finish: keep the artwork clear and free of reflective overlays. */
.store-home #promoGrid .promo-card .promo-card__media::after {
  content:none; display:none;
}
/* Shared material also powers the admin editor; layout stays page-specific. */
.store-home #promoGrid .promo-card[data-promo-tone] {
  background:var(--promo-background); border-color:var(--promo-border);
  color:var(--promo-title); box-shadow:var(--promo-shadow);
}
.store-home #promoGrid .promo-card[data-promo-tone] .promo-card__title { color:var(--promo-title); }
.store-home #promoGrid .promo-card[data-promo-tone] .promo-card__desc,
.store-home #promoGrid .promo-card[data-promo-tone] .promo-card__discovery,
.store-home #promoGrid .promo-card[data-promo-tone] .promo-card__cta { color:var(--promo-copy); }
.store-home #promoGrid .promo-card[data-promo-tone] .promo-card__cta span {
  color:var(--promo-arrow); border-color:var(--promo-arrow-border);
  background:var(--promo-arrow-sheen),var(--promo-arrow-bg);
  box-shadow:var(--promo-arrow-shadow);
}

.store-home .pc-cards--passes .promo-cards__inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.store-home .pc-cards--passes .pc-card {
  --pass-ink:var(--polish-ink); --pass-paper:var(--polish-surface);
  position:relative; isolation:isolate; overflow:hidden;
  display:grid; grid-template-columns:minmax(0,1fr) 176px;
  grid-template-rows:1fr 44px; align-items:center; gap:20px 8px;
  min-height:272px; padding:32px;
  border:1px solid var(--polish-line); border-radius:24px;
  color:var(--pass-ink); background:linear-gradient(125deg,var(--polish-surface) 45%,var(--polish-line));
  box-shadow:0 8px 24px rgba(23,25,29,.05);
  transition:transform .25s ease,box-shadow .25s ease;
}
.store-home .pc-cards--passes .pc-card--check {
  --pass-ink:var(--polish-surface);
  background:linear-gradient(120deg,color-mix(in srgb,var(--polish-focus),#000 30%),var(--polish-focus));
  border-color:transparent;
}
.store-home .pc-cards--passes .pc-card::before {
  display:block; content:""; position:absolute; z-index:-1; pointer-events:none;
  inset:-100px -40px -100px auto; width:42%; transform:rotate(18deg);
  background:repeating-linear-gradient(90deg,transparent 0 14px,currentColor 14px 15px); opacity:.07;
}
.store-home .pc-cards--passes .pc-card::after {
  display:block; content:""; position:absolute; pointer-events:none;
  top:24px; bottom:24px; right:200px; width:1px;
  background:repeating-linear-gradient(to bottom,currentColor 0 4px,transparent 4px 11px); opacity:.18;
}
.store-home .pc-cards--passes .pc-card__idx {
  position:relative; top:auto; right:auto; grid-column:2; grid-row:1 / 3;
  width:200px; height:220px; margin-left:-8px; color:var(--polish-ink);
  transform:rotate(12deg) translateY(8px);
  filter:drop-shadow(0 18px 12px rgba(23,25,29,.18));
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.store-home .pc-cards--passes .pc-card--support .pc-card__idx { transform:rotate(-12deg) translateY(8px); }
.store-home .pc-cards--passes .pc-card__idx svg { display:block; width:100%; height:100%; }
.store-home .pc-cards--passes .pc-pass__back { opacity:1; transform:translate(6px,4px) rotate(4deg); transform-origin:center; }
.store-home .pc-cards--passes .pc-pass__front { transform:none; }
.store-home .pc-cards--passes .pc-card--support .pc-pass__front { color:var(--surface); }
.store-home .pc-cards--passes .pc-card__body { grid-column:1; grid-row:1; align-self:center; margin:0; padding:0 12px 0 0; gap:16px; z-index:1; }
.store-home .pc-cards--passes .pc-card__title { max-width:6em; margin:0; color:inherit; font-family:var(--font-display-ui); font-weight:800; font-size:clamp(28px,2.7vw,38px); line-height:1.2; letter-spacing:-.04em; word-break:keep-all; overflow-wrap:normal; text-wrap:balance; }
.store-home .pc-cards--passes .pc-card__sub { max-width:18em; margin:0; color:inherit; font-size:14px; line-height:1.7; opacity:.88; }
.store-home .pc-cards--passes .pc-card__arrow {
  position:static; grid-column:1; grid-row:2; width:48px; height:44px;
  border:1px solid currentColor; border-radius:12px; color:inherit; background:transparent;
  transition:background .2s,color .2s,transform .2s;
}
.store-home .pc-cards--passes .pc-card__arrow svg { width:22px; height:22px; }
.store-home .pc-cards--passes .pc-card:focus-visible { outline:3px solid var(--text-muted); outline-offset:4px; }
@media (hover:hover) {
  .store-home #promoGrid .promo-card:hover { transform:translateY(-3px); box-shadow:inset 0 1px 0 rgba(255,255,255,.3),inset 1px 0 0 rgba(255,255,255,.1),inset 0 -1px 0 rgba(0,0,0,.16),0 12px 28px rgba(0,0,0,.12); }
  .store-home #promoGrid .promo-card:hover .promo-card__media img { transform:scale(1.04); }
  .store-home .pc-cards--passes .pc-card:hover { transform:translateY(-4px); box-shadow:0 16px 32px rgba(26,29,35,.12); }
  .store-home .pc-cards--passes .pc-card:hover .pc-card__idx { color:var(--polish-ink); transform:rotate(4deg) translateY(-4px); }
  .store-home .pc-cards--passes .pc-card--support:hover .pc-card__idx { transform:rotate(-4deg) translateY(-4px); }
  .store-home .pc-cards--passes .pc-card:hover .pc-card__arrow { transform:translateX(4px); color:var(--surface); background:var(--polish-ink); border-color:transparent; }
  .store-home .pc-cards--passes .pc-card--check:hover .pc-card__arrow { color:var(--polish-ink); background:var(--polish-surface); }
}
@media (max-width:1100px) and (min-width:761px) {
  .store-home .pc-cards--passes .pc-card { grid-template-columns:minmax(0,1fr) 120px; padding:24px; }
  .store-home .pc-cards--passes .pc-card__idx { width:148px; height:184px; }
  .store-home .pc-cards--passes .pc-card::after { right:144px; }
  .store-home #promoGrid .promo-card { padding:16px; gap:16px 8px; grid-template-rows:156px 1fr; }
  .store-home #promoGrid .promo-card__title { font-size:22px; }
}
@media (max-width:760px) {
  .store-home #promoGrid { grid-template-columns:minmax(0,1fr); gap:14px; }
  .store-home #promoGrid .promo-card { grid-column:auto; min-height:0; padding:16px 24px 24px; grid-template-rows:200px 1fr; }
  .store-home .pc-cards--passes .promo-cards__inner { grid-template-columns:minmax(0,1fr); gap:14px; }
  .store-home .pc-cards--passes .pc-card { grid-template-columns:minmax(0,1fr) 124px; gap:16px 4px; min-height:236px; padding:24px; }
  .store-home .pc-cards--passes .pc-card::after { right:144px; }
  .store-home .pc-cards--passes .pc-card__idx { width:148px; height:176px; margin-left:-8px; }
  .store-home .pc-cards--passes .pc-card__title { font-size:28px; }
  .store-home .pc-cards--passes .pc-card__sub { font-size:13px; }
}
@media (max-width:380px) {
  .store-home #promoGrid .promo-card { padding:20px; gap:12px; }
}
@media (prefers-reduced-motion:reduce) {
  .store-home .pc-cards--passes .pc-card:hover .pc-card__idx { transform:rotate(12deg) translateY(8px); }
  .store-home .pc-cards--passes .pc-card--support:hover .pc-card__idx { transform:rotate(-12deg) translateY(8px); }
  .store-home #promoGrid .promo-card,
  .store-home #promoGrid .promo-card__media img,
  .store-home #promoGrid .promo-card__cta span,
  .store-home .pc-cards--passes .pc-card,
  .store-home .pc-cards--passes .pc-card__idx,
  .store-home .pc-cards--passes .pc-card__arrow { transition:none; }
  .store-home #promoGrid .promo-card:hover,
  .store-home #promoGrid .promo-card:hover .promo-card__media img,
  .store-home .pc-cards--passes .pc-card:hover .pc-card__arrow { transform:none; }
}
/* Preserve native hidden states when checkout components define display:grid/flex. */
body.checkout-flow [hidden] { display: none !important; }
/* Checkout recovery stays inside the existing checkout and receipt surfaces. */
.checkout-flow .checkout-guest { padding: 16px 0; border-bottom: 1px solid var(--co-line); }
.checkout-flow .checkout-guest strong { font-size: 16px; color: var(--co-ink); }
.checkout-flow .checkout-guest p,
.checkout-flow #receiptNote { line-height: 1.7; color: #515966; margin: 8px 0; }
.checkout-flow .checkout-guest a { display: inline-flex; align-items: center; min-height: 44px; color: #a82337; text-decoration: underline; }
.checkout-flow .checkout-payment-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; color: #515966; font-size: 13px; line-height: 1.6; }
.checkout-flow .checkout-inline-error { color: #a82337; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.checkout-flow #checkoutSubmitError { margin: 12px 20px; }
.checkout-flow .checkout-summary dl > .checkout-summary__reference { flex-direction: column; align-items: flex-start; gap: 8px; line-height: 1.6; }
.checkout-flow .checkout-receipt { width: 100%; max-width: 620px; min-width: 0; text-align: left; }
.checkout-flow .checkout-receipt dl { margin: 16px 0; }
.checkout-flow .checkout-receipt dl > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--co-line); }
.checkout-flow .checkout-receipt dt { font-size: 14px; color: #515966; }
.checkout-flow .checkout-receipt dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.checkout-flow #receiptNumber { user-select: all; font-size: 16px; overflow-wrap: anywhere; }
.checkout-flow .checkout-result__actions { flex-wrap: wrap; gap: 12px; }
.checkout-flow .checkout-result__actions a,
.checkout-flow .checkout-result__actions button,
.checkout-flow .checkout-loading button,
.checkout-flow .checkout-payment-status button,
.checkout-flow #receiptCopy { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--co-line); border-radius: 8px; background: #fff; color: var(--co-ink); font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; }
.checkout-flow #receiptPay { background: var(--co-red); border-color: var(--co-red); color: white; }
.checkout-flow .checkout-result button:disabled { cursor: wait; opacity: .65; }
.checkout-flow [hidden] { display: none !important; }
.checkout-flow #checkoutResultTitle { font-size: 28px; line-height: 1.4; }
@media (max-width: 600px) {
  .checkout-flow .checkout-result { padding: 24px 16px; }
  .checkout-flow .checkout-receipt dl > div { grid-template-columns: 1fr; gap: 4px; }
  .checkout-flow .checkout-result__actions > * { flex: 1 1 auto; }
  .checkout-flow #checkoutResultTitle { font-size: 24px; }
}

/* Checkout refinement: the existing form, receipt and state controller keep ownership. */
.checkout-flow {
  --polish-ink: #292621;
  --polish-muted: #706a61;
  --polish-line: #e7e1d7;
  --polish-surface: #ffffff;
  --co-ink: var(--polish-ink);
  --co-muted: var(--polish-muted);
  --co-line: var(--polish-line);
  --co-page: #ffffff;
  --co-night: #302c27;
  --checkout-gold: #95710d;
  --checkout-gold-total: #b99120;
  --checkout-gutter: 24px;
  --checkout-soft: color-mix(in srgb, var(--co-night) 3%, var(--polish-surface));
}
.checkout-flow .checkout-page { padding: 32px 0 64px; }
.checkout-flow .checkout-steps { margin-bottom: 32px; font-size: 12px; color: var(--co-muted); }
.checkout-flow .checkout-steps b { width: 28px; height: 28px; border-color: var(--co-line); font-size: 11px; }
.checkout-flow .checkout-steps i { width: 72px; background: var(--co-line); }
.checkout-flow .checkout-steps :is(.is-done, .is-active) { color: var(--co-night); }
.checkout-flow .checkout-steps .is-done b { color: var(--polish-surface); border-color: var(--co-night); background: var(--co-night); }
.checkout-flow .checkout-heading { align-items: center; gap: 24px; margin-bottom: 28px; }
.checkout-flow .checkout-heading p,
.checkout-flow .checkout-summary__head > span { color: var(--co-muted); font-size: 10px; letter-spacing: .14em; }
.checkout-flow .checkout-heading h1 { margin: 8px 0 12px; font-size: 32px; line-height: 1.25; letter-spacing: -.035em; }
.checkout-flow .checkout-heading > div > span { display: block; max-width: 660px; font-size: 14px; line-height: 1.7; color: var(--co-muted); }
.checkout-flow .checkout-heading > a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; font-size: 13px; color: var(--co-night); }
.checkout-flow .checkout-layout { grid-template-columns: minmax(0, 1fr) 352px; gap: 24px; }
.checkout-flow .checkout-main { min-width: 0; gap: 20px; }
.checkout-flow .checkout-card,
.checkout-flow .checkout-summary { border-color: var(--co-line); border-radius: 16px; background: var(--polish-surface); box-shadow: 0 4px 20px color-mix(in srgb, var(--co-night) 4%, transparent); }
.checkout-flow .checkout-card > header { gap: 12px; padding: 20px var(--checkout-gutter); border-color: var(--co-line); }
.checkout-flow .checkout-card__number { width: 32px; height: 32px; border-radius: 8px; color: var(--co-night); background: var(--checkout-soft); font-size: 12px; font-variant-numeric: tabular-nums; }
.checkout-flow .checkout-card h2 { font-size: 17px; line-height: 1.4; }
.checkout-flow .checkout-card header p { margin-top: 4px; color: var(--co-muted); font-size: 12px; line-height: 1.5; }
.checkout-flow .checkout-product { grid-template-columns: 60px minmax(0, 1fr) 36px 100px; gap: 16px; padding: 24px var(--checkout-gutter); }
.checkout-flow .checkout-product__icon { width: 60px; height: 60px; border-radius: 12px; background: var(--co-night); }
.checkout-flow .checkout-product__name { min-width: 0; }
.checkout-flow .checkout-product__name > span { color: var(--co-muted); font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.checkout-flow .checkout-product__name strong { margin-top: 4px; color: var(--co-ink); font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.checkout-flow .checkout-product__name small { margin-top: 6px; color: var(--co-muted); font-size: 12px; line-height: 1.5; }
.checkout-flow .checkout-product__qty { font-size: 13px; color: var(--co-muted); }
.checkout-flow .checkout-product__price span { color: var(--co-muted); font-size: 12px; }
.checkout-flow .checkout-product__price strong { margin-top: 6px; color: var(--checkout-gold); font-size: 22px; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
.checkout-flow .checkout-details { padding: 0 var(--checkout-gutter) 24px; }
.checkout-flow .checkout-details > div { min-width: 0; padding: 16px; background: var(--checkout-soft); border-color: var(--co-line); }
.checkout-flow .checkout-details dt { color: var(--co-muted); font-size: 12px; line-height: 1.5; }
.checkout-flow .checkout-details dd { margin-top: 6px; color: var(--co-night); font-size: 13px; line-height: 1.6; font-weight: 600; }
.checkout-flow .payment-methods { padding: 20px var(--checkout-gutter) 24px; gap: 16px; }
.checkout-flow .checkout-payment-status { padding: 0; color: var(--co-muted); font-size: 13px; line-height: 1.65; }
.checkout-flow .payment-method--available { min-height: 136px; padding: 16px; border-color: var(--co-line); border-radius: 12px; background: var(--polish-surface); }
.checkout-flow .payment-method--available:hover { border-color: color-mix(in srgb, var(--co-night) 24%, var(--polish-surface)); background: var(--checkout-soft); }
.checkout-flow .payment-method--available:has(input:focus-visible) { outline-color: var(--co-night); }
.checkout-flow .payment-method--available:not(.is-selected) .payment-method__check { border-color: var(--co-line); }
.checkout-flow .payment-method__icon--wallet,
.checkout-flow .payment-method--available.is-selected .payment-method__icon--wallet { color: var(--co-night); background: var(--checkout-soft); }
.checkout-flow .payment-method--available.is-selected { background: color-mix(in srgb, var(--co-red) 3%, var(--polish-surface)); border-color: var(--co-red); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--co-red) 20%, transparent); transform: none; }
.checkout-flow .payment-method--available .payment-method__text strong { margin-top: 3px; color: var(--co-ink); font-size: 15px; }
.checkout-flow .payment-method--available .payment-method__text small { min-height: 0; margin-top: 6px; color: var(--co-muted); font-size: 12px; line-height: 1.6; }
.checkout-flow .payment-method__eyebrow { color: var(--co-muted); font-size: 10px; }
.checkout-flow .payment-method__meta { margin-top: 16px; padding-top: 12px; border-color: var(--co-line); }
.checkout-flow .payment-method__meta span { color: var(--co-muted); font-size: 12px; }
.checkout-flow .payment-method__meta b { font-size: 14px; font-variant-numeric: tabular-nums; }
.checkout-flow .payment-method--available:not(.is-insufficient) .payment-method__meta b { color: var(--co-night); }
.checkout-flow .payment-method__meta em { font-size: 12px; }
.checkout-flow #balancePaymentMethod .payment-method__meta { grid-template-columns: minmax(64px, 1fr) minmax(0, max-content); align-items: center; gap: 8px 16px; }
.checkout-flow #checkoutBalance { min-width: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.checkout-flow #balancePaymentMethod:not(.is-insufficient) #checkoutBalance { color: var(--checkout-gold); }
.checkout-flow .checkout-layout:has(#checkoutGuest:not([hidden])) #checkoutBalance { color: var(--co-muted); font-size: 14px; letter-spacing: 0; }
.checkout-flow .checkout-layout:has(#checkoutGuest:not([hidden])) #balanceMethodState { color: var(--co-muted); }
.checkout-flow .payment-methods__future { padding-top: 4px; border-color: var(--co-line); }
.checkout-flow .payment-methods__subhead { padding: 12px 0; }
.checkout-flow .payment-methods__subhead span { color: var(--co-muted); font-size: 10px; }
.checkout-flow .payment-methods__subhead strong { color: var(--co-muted); font-size: 13px; }
.checkout-flow .payment-methods__subhead small,
.checkout-flow .payment-methods__future-grid .payment-method__text small,
.checkout-flow .payment-methods__future-grid .payment-method__tag { color: var(--co-muted); font-size: 11px; }
.checkout-flow .payment-methods__future-grid .payment-method.is-disabled { min-height: 60px; opacity: 1; background: var(--checkout-soft); }
.checkout-flow .payment-methods__future-grid .payment-method__text strong { color: var(--co-muted); font-size: 12px; }
.checkout-flow .payment-methods__future-grid .payment-method__tag { background: color-mix(in srgb, var(--co-night) 6%, var(--polish-surface)); }
.checkout-flow .payment-balance-support { min-height: 44px; margin: 0; padding: 10px 12px; border-color: var(--co-line); color: var(--co-muted); background: var(--checkout-soft); font-size: 12px; }
.checkout-flow .payment-balance-support:hover,
.checkout-flow .payment-balance-support:focus-visible { color: var(--co-night); }
.checkout-flow .payment-balance-support strong { font-size: 12px; }
.checkout-flow .checkout-guest { padding: 0 0 16px; }
.checkout-flow .checkout-guest p { color: var(--co-muted); font-size: 13px; }
.checkout-flow .checkout-guest a { font-size: 13px; text-underline-offset: 3px; }

.checkout-flow .checkout-summary { top: 88px; }
.checkout-flow .checkout-card:hover,
.checkout-flow .checkout-summary:hover { border-color: color-mix(in srgb, var(--co-night) 18%, var(--polish-surface)); }
.checkout-flow .checkout-summary__head { padding: 24px var(--checkout-gutter) 20px; border-color: var(--co-line); }
.checkout-flow .checkout-summary__head h2 { margin-top: 8px; font-size: 20px; }
.checkout-flow .checkout-summary dl { padding: 16px var(--checkout-gutter) 24px; }
.checkout-flow .checkout-summary dl > div { gap: 12px; padding: 8px 0; color: var(--co-muted); font-size: 13px; line-height: 1.5; }
.checkout-flow .checkout-summary dl dd { color: var(--co-ink); font-variant-numeric: tabular-nums; }
.checkout-flow .checkout-summary dl .checkout-summary__total { align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 12px; padding: 20px 0 0; border-color: var(--co-line); color: var(--co-ink); }
.checkout-flow .checkout-summary__total dt { flex: 1 1 7em; font-size: 13px; line-height: 1.5; }
.checkout-flow .checkout-summary dl .checkout-summary__total dd { min-width: 0; max-width: 100%; margin-left: auto; font-size: 28px; line-height: 1.15; letter-spacing: -.03em; text-align: right; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
.checkout-flow .checkout-summary dl .checkout-summary__total dd { color: var(--checkout-gold-total); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .checkout-flow .checkout-summary dl .checkout-summary__total dd {
    background-image: linear-gradient(115deg, #a67e14 0%, #c2a034 36%, #ceb052 53%, #bd9827 73%, #a67e14 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
@media print, (forced-colors: active) {
  .checkout-flow .checkout-summary dl .checkout-summary__total dd {
    background-image: none;
    -webkit-text-fill-color: currentColor;
  }
}
.checkout-flow :is(#summaryTotal, #checkoutBalance, #checkoutBalanceAfter) { transform-origin: right center; }
.checkout-flow .checkout-summary__total { position: relative; isolation: isolate; }
.checkout-flow .checkout-summary__total::before {
  content: "";
  position: absolute;
  inset: 8px -12px -10px;
  z-index: -1;
  border-radius: 12px;
  pointer-events: none;
  background: radial-gradient(ellipse at 75% 50%, color-mix(in srgb, var(--checkout-gold-total) 12%, transparent), transparent 72%);
  opacity: 0;
  transform: scale(.97);
  transition: opacity 240ms ease-out, transform 440ms cubic-bezier(.22, 1, .36, 1);
}
.checkout-flow .checkout-summary__total[data-motion-money-cue]::before { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) {
  .checkout-flow .checkout-summary__total:hover::before { opacity: 1; transform: scale(1); }
}
@media print, (forced-colors: active) {
  .checkout-flow .checkout-summary__total::before { display: none; }
}
.checkout-flow .checkout-summary dl .checkout-summary__discount,
.checkout-flow .checkout-summary dl .checkout-summary__discount dd { color: #267254; }
.checkout-flow .checkout-coupon { margin: 0 var(--checkout-gutter) 16px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.checkout-flow .checkout-coupon > label { margin-bottom: 8px; color: var(--co-muted); font-size: 12px; }
.checkout-flow .checkout-coupon > div { gap: 8px; grid-template-columns: minmax(0, 1fr) 64px; }
.checkout-flow .checkout-coupon input { height: 44px; padding: 0 12px; border-color: var(--co-line); color: var(--co-ink); background: var(--polish-surface); font-size: 14px; }
.checkout-flow .checkout-coupon input:focus { border-color: var(--co-night); box-shadow: 0 0 0 3px color-mix(in srgb, var(--co-night) 10%, transparent); }
.checkout-flow .checkout-coupon input::placeholder { color: var(--co-muted); }
.checkout-flow .checkout-coupon button { min-height: 44px; color: var(--co-night); background: var(--checkout-soft); border: 1px solid var(--co-line); font-size: 13px; }
.checkout-flow .checkout-coupon p { min-height: 0; margin-top: 8px; font-size: 12px; line-height: 1.6; }
.checkout-flow .checkout-coupon p:empty { margin: 0; }
.checkout-flow .checkout-balance-after { align-items: center; gap: 12px; margin: 0 var(--checkout-gutter); padding: 16px 12px; color: var(--co-muted); background: var(--checkout-soft); font-size: 12px; line-height: 1.5; }
.checkout-flow .checkout-balance-after > span { flex-shrink: 0; }
.checkout-flow .checkout-balance-after strong { min-width: 0; max-width: 64%; font-size: 18px; line-height: 1.4; letter-spacing: -.02em; text-align: right; overflow-wrap: anywhere; font-variant-numeric: lining-nums tabular-nums; }
.checkout-flow .checkout-balance-after strong:not(.is-insufficient) { color: var(--checkout-gold); }
.checkout-flow .checkout-confirm { align-items: flex-start; gap: 10px; margin: 20px var(--checkout-gutter) 16px; color: var(--co-muted); font-size: 13px; line-height: 1.65; }
.checkout-flow .checkout-confirm input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; }
.checkout-flow .checkout-submit { width: calc(100% - var(--checkout-gutter) * 2); min-height: 52px; margin: 0 var(--checkout-gutter); border-radius: 10px; font-size: 15px; }
.checkout-flow .checkout-submit:disabled { color: var(--co-muted); background: var(--co-line); }
.checkout-flow .checkout-safe { margin: 12px var(--checkout-gutter) 24px; color: var(--co-muted); font-size: 12px; line-height: 1.7; }
.checkout-flow #checkoutSubmitError { margin: 12px var(--checkout-gutter); }

.checkout-flow #checkoutResult {
  width: min(100%, 800px);
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
  padding: 40px;
  justify-items: center;
  border-color: var(--co-line);
  border-radius: 16px;
  background: var(--polish-surface);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--co-night) 5%, transparent);
}
.checkout-flow #checkoutResultIcon { margin-bottom: 20px; }
.checkout-flow #checkoutResult:is([data-status="pending"], [data-status="paid"], [data-status="processing"]) #checkoutResultIcon {
  color: var(--polish-surface);
  background: var(--co-night);
}
.checkout-flow #checkoutResult > p { color: var(--co-muted); font-size: 10px; line-height: 1.5; letter-spacing: .14em; }
.checkout-flow #checkoutResultTitle { margin: 8px 0 12px; color: var(--co-ink); font-size: 30px; line-height: 1.35; letter-spacing: -.025em; scroll-margin-top: 150px; }
.checkout-flow #checkoutResultMessage { display: block; width: min(100%, 600px); color: var(--co-muted); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.checkout-flow .checkout-receipt { max-width: 100%; margin-top: 28px; padding-top: 4px; border-top: 1px solid var(--co-line); }
.checkout-flow .checkout-receipt dl { margin: 0 0 20px; }
.checkout-flow .checkout-receipt dl > div { grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 0; }
.checkout-flow .checkout-receipt dt { color: var(--co-muted); }
.checkout-flow .checkout-receipt dd { color: var(--co-ink); font-size: 14px; line-height: 1.6; }
.checkout-flow #receiptNumber { font-size: 15px; letter-spacing: .015em; font-variant-numeric: tabular-nums; }
.checkout-flow #receiptAmount { font-size: 18px; line-height: 1.5; font-weight: 600; letter-spacing: -.015em; font-variant-numeric: lining-nums tabular-nums; }
.checkout-flow #checkoutResult[data-status="unknown"] #receiptAmount { font-size: 14px; letter-spacing: 0; }
.checkout-flow #checkoutResult:is([data-status="pending"], [data-status="paid"], [data-status="processing"], [data-status="success"]) #receiptAmount { color: var(--checkout-gold); }
.checkout-flow #receiptCopy { min-height: 40px; margin-left: auto; padding: 8px 12px; font-size: 12px; color: var(--co-night); background: var(--checkout-soft); }
.checkout-flow #receiptNote { margin: 0; padding: 16px; border-radius: 10px; color: var(--co-muted); background: var(--checkout-soft); font-size: 13px; line-height: 1.8; }
.checkout-flow .checkout-result__actions { gap: 12px; margin-top: 28px; }
.checkout-flow .checkout-result__actions > a,
.checkout-flow .checkout-result__actions > button { min-height: 48px; padding: 12px 20px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.checkout-flow #checkoutResult > .checkout-result__actions > a:first-child { border-color: var(--co-night); color: var(--polish-surface); background: var(--co-night); }
.checkout-flow #checkoutResult > .checkout-result__actions > a:first-child:hover { border-color: var(--co-ink); background: var(--co-ink); }
.checkout-flow #receiptPay { border-color: var(--co-red); color: var(--polish-surface); background: var(--co-red); }
.checkout-flow #checkoutResult:has(#checkoutReceipt:not([hidden])) > .checkout-result__actions { width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--co-line); }
.checkout-flow #checkoutResult:has(#receiptPay:not([hidden])) > .checkout-result__actions > a { color: var(--co-muted); border-color: transparent; background: transparent; font-size: 13px; }
.checkout-flow #checkoutResult:has(#receiptPay:not([hidden])) > .checkout-result__actions > a:hover { color: var(--co-night); background: var(--checkout-soft); }
.checkout-flow #checkoutResult:is([data-status="cancelled"], [data-status="refunding"], [data-status="refunded"], [data-status="unknown"]) #checkoutResultIcon { color: var(--polish-surface); background: var(--co-muted); }
.checkout-flow .checkout-loading { min-height: 320px; padding: 32px var(--checkout-gutter); color: var(--co-muted); font-size: 14px; line-height: 1.75; }
.checkout-flow .checkout-loading.is-error strong { color: var(--co-ink); font-size: 20px; }
.checkout-flow .checkout-loading.is-error span { max-width: 560px; color: var(--co-muted); font-size: 14px; }
.checkout-flow .checkout-loading.is-error a { min-height: 44px; align-items: center; background: var(--co-night); font-size: 14px; }
.checkout-flow .checkout-toast { max-width: calc(100vw - 32px); padding: 12px 20px; background: var(--co-night); font-size: 13px; line-height: 1.6; text-align: center; }
.checkout-flow .checkout-login-dialog { border-color: var(--co-line); color: var(--co-ink); background: var(--polish-surface); box-shadow: 0 24px 70px color-mix(in srgb, var(--co-night) 22%, transparent); }
.checkout-flow .checkout-login-dialog::backdrop { background: color-mix(in srgb, var(--co-night) 56%, transparent); }
.checkout-flow .checkout-login-dialog p { color: var(--co-muted); }
.checkout-flow .checkout-login-dialog button { border-color: var(--co-line); color: var(--co-ink); background: var(--polish-surface); }
.checkout-flow .checkout-page :is(a, button, input):focus-visible { outline: 2px solid var(--co-night); outline-offset: 3px; }
.checkout-flow #checkoutResultTitle:focus-visible { outline: 2px solid var(--co-night); outline-offset: 6px; border-radius: 4px; }

@media (max-width: 960px) {
  .checkout-flow .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-flow .checkout-summary { position: static; }
}
@media (min-width: 621px) and (max-width: 900px) {
  .checkout-flow .checkout-product { grid-template-columns: 60px minmax(0, 1fr) 100px; }
}
@media (max-width: 620px) {
  .checkout-flow { --checkout-gutter: 20px; }
  .checkout-flow .checkout-page { width: calc(100% - 32px); padding: 24px 0 40px; }
  .checkout-flow .checkout-steps { margin-bottom: 28px; font-size: 11px; }
  .checkout-flow .checkout-steps span { gap: 6px; }
  .checkout-flow .checkout-steps b { width: 24px; height: 24px; font-size: 10px; }
  .checkout-flow .checkout-steps i { width: 16px; margin: 0 6px; }
  .checkout-flow .checkout-heading { align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .checkout-flow .checkout-heading h1 { font-size: 28px; }
  .checkout-flow .checkout-heading > div > span { font-size: 13px; }
  .checkout-flow .checkout-heading > a { padding: 8px 12px; }
  .checkout-flow .checkout-card > header { padding: 20px; }
  .checkout-flow .checkout-product { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 12px; padding: 20px; }
  .checkout-flow .checkout-product__icon { width: 52px; height: 52px; }
  .checkout-flow .checkout-product__name strong { font-size: 19px; }
  .checkout-flow .checkout-product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
  .checkout-flow .checkout-product__price strong { margin: 0; font-size: 18px; }
  .checkout-flow .checkout-details { grid-template-columns: minmax(0, 1fr); padding: 0 20px 20px; }
  .checkout-flow .checkout-details > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; gap: 12px; padding: 12px; }
  .checkout-flow .checkout-details dd { margin: 0; text-align: right; }
  .checkout-flow .checkout-confirm { min-height: 44px; align-items: center; }
  .checkout-flow .checkout-confirm input { margin-top: 0; }
  .checkout-flow .checkout-coupon input { font-size: 16px; }
  .checkout-flow .checkout-summary dl .checkout-summary__total dd { font-size: 26px; }
  .checkout-flow #checkoutResult { padding: 32px 20px 24px; }
  .checkout-flow #checkoutResultTitle { font-size: 26px; }
  .checkout-flow #checkoutResultMessage { font-size: 13px; text-align: left; }
  .checkout-flow .checkout-receipt { margin-top: 24px; }
  .checkout-flow .checkout-receipt dl > div { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px 0; }
  .checkout-flow .checkout-receipt dt { font-size: 12px; }
  .checkout-flow .checkout-receipt dd { gap: 8px 12px; }
  .checkout-flow #receiptCopy { min-height: 44px; margin-left: 0; }
  .checkout-flow #receiptNote { padding: 14px; font-size: 12px; }
  .checkout-flow .checkout-result__actions > a,
  .checkout-flow .checkout-result__actions > button { min-width: 0; padding: 12px 16px; font-size: 13px; }
  .checkout-flow .checkout-receipt .checkout-result__actions { flex-direction: column; }
  .checkout-flow .checkout-receipt .checkout-result__actions > * { width: 100%; }
}
@media (max-width: 360px) {
  .checkout-flow { --checkout-gutter: 16px; }
  .checkout-flow .checkout-page { width: calc(100% - 24px); }
  .checkout-flow .checkout-steps { font-size: 10px; }
  .checkout-flow .checkout-steps i { width: 12px; margin: 0 4px; }
  .checkout-flow .checkout-card > header,
  .checkout-flow .checkout-product { padding: 16px; }
  .checkout-flow .checkout-details { padding: 0 16px 16px; }
  .checkout-flow #checkoutResult { padding: 28px 16px 20px; }
}

/* Submitted-order receipt: presentation only; the controller owns every state. */
.checkout-flow .checkout-page:has(#checkoutResult:not([hidden]) > #checkoutReceipt[hidden]) .checkout-heading {
  width: min(100%, 680px);
  margin: 0 auto 24px;
  align-items: center;
}
.checkout-flow .checkout-page:has(#checkoutResult:not([hidden]) > #checkoutReceipt[hidden]) .checkout-heading h1 {
  margin: 8px 0;
  font-size: 20px;
  letter-spacing: -.02em;
}
.checkout-flow .checkout-page:has(#checkoutResult:not([hidden]) > #checkoutReceipt[hidden]) .checkout-heading > div > span {
  max-width: 400px;
  font-size: 12px;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) {
  --result-inset: 48px;
  width: min(100%, 680px);
  padding: 52px var(--result-inset) 0;
  border-radius: 20px;
  border-color: var(--co-line);
  box-shadow: 0 2px 4px color-mix(in srgb, var(--co-night) 2%, transparent), 0 20px 56px -24px color-mix(in srgb, var(--co-night) 18%, transparent);
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultIcon {
  margin-bottom: 28px;
  box-shadow: 0 0 0 8px var(--polish-surface), 0 0 0 9px var(--co-line);
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > p {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultTitle {
  margin: 12px 0 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.045em;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage {
  width: 100%;
  margin-top: 28px;
  padding: 24px 28px;
  border-top: 1px dashed var(--co-line);
  border-bottom: 1px dashed var(--co-line);
  color: var(--co-muted);
  font-size: 14px;
  line-height: 2;
  text-align: center;
  text-wrap: balance;
  font-variant-numeric: lining-nums tabular-nums;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 0;
  padding: 28px 0 32px;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions > a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions > a + a {
  color: var(--co-ink);
  border-color: var(--co-line);
  background: var(--polish-surface);
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions > a + a:hover {
  background: var(--checkout-soft);
  border-color: var(--co-muted);
}
@media (max-width: 620px) {
  .checkout-flow .checkout-page:has(#checkoutResult:not([hidden]) > #checkoutReceipt[hidden]) .checkout-heading {
    flex-direction: row;
    gap: 16px;
    margin-bottom: 20px;
  }
  .checkout-flow .checkout-page:has(#checkoutResult:not([hidden]) > #checkoutReceipt[hidden]) .checkout-heading > a {
    padding: 8px 10px;
    font-size: 12px;
  }
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) {
    --result-inset: 24px;
    padding-top: 40px;
    border-radius: 16px;
  }
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage {
    margin-top: 24px;
    padding: 20px 0;
    font-size: 13px;
    line-height: 1.9;
  }
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 0;
  }
}
@media (max-width: 360px) {
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) { --result-inset: 20px; }
}

/* Reviews retain their existing containers, controls and business behavior. */
:is(.game-page, .account-view) .reviews {
  --review-ink: var(--polish-ink);
  --review-muted: color-mix(in srgb, var(--polish-muted) 88%, var(--polish-ink));
  --review-accent: color-mix(in srgb, var(--polish-focus) 72%, var(--polish-ink));
  --review-soft: color-mix(in srgb, var(--polish-line) 32%, var(--polish-surface));
  --review-tint: color-mix(in srgb, var(--polish-focus) 5%, var(--polish-surface));
  color: var(--review-ink); font-size: 14px; line-height: 1.75; letter-spacing: 0;
}
:is(.game-page, .account-view) .reviews :is(h2, h3, strong, button, select, input, textarea) { letter-spacing: 0; }
:is(.game-page, .account-view) .reviews-head { gap: 12px 24px; }
:is(.game-page, .account-view) .reviews-head h3 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin: 0; }
:is(.game-page, .account-view) .reviews-head h3::before { content: ""; width: 3px; height: 20px; flex: 0 0 3px; border-radius: 1px; background: var(--review-accent); }
:is(.game-page, .account-view) .reviews-head a,
:is(.game-page, .account-view) .reviews-own a {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--review-ink);
  font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px;
}
:is(.game-page, .account-view) .review-overview {
  grid-template-columns: 192px minmax(200px, 360px); justify-content: start;
  gap: 40px; padding: 24px; margin: 20px 0 24px; border-block: 1px solid var(--polish-line);
  background: linear-gradient(100deg, var(--review-tint), var(--review-soft) 55%, var(--polish-surface));
}
:is(.game-page, .account-view) .review-score { gap: 8px; }
:is(.game-page, .account-view) .review-score::after { content: ""; width: 32px; height: 3px; margin-top: 8px; background: var(--review-accent); }
:is(.game-page, .account-view) .review-score strong { font-size: 44px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .review-score span { font-size: 13px; color: var(--review-muted); }
:is(.game-page, .account-view) .review-distribution { gap: 4px; }
:is(.game-page, .account-view) .review-distribution-row { min-height: 20px; grid-template-columns: 32px 1fr 24px; gap: 12px; color: var(--review-muted); font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .review-distribution-row > span:last-child { text-align: right; }
:is(.game-page, .account-view) .review-distribution meter { height: 10px; accent-color: var(--review-accent); }
:is(.game-page, .account-view) .review-distribution meter::-webkit-meter-bar { background: var(--review-soft); border-radius: 4px; }
:is(.game-page, .account-view) .review-distribution meter::-webkit-meter-optimum-value { background: var(--review-accent); border-radius: 4px; }
:is(.game-page, .account-view) .review-distribution meter::-moz-meter-bar { background: var(--review-accent); }
:is(.game-page, .account-view) .reviews-filter {
  display: grid; grid-template-columns: minmax(180px, 1fr) 136px 160px;
  max-width: 760px; gap: 12px; margin: 0 0 16px;
}
:is(.game-page, .account-view) .reviews-filter label { gap: 8px; font-size: 12px; font-weight: 600; color: var(--review-muted); }
:is(.game-page, .account-view) .reviews :where(button, select, input:not([type=radio]):not([type=checkbox]), textarea) {
  border-color: var(--polish-line); border-radius: 6px; color: var(--review-ink); background: var(--polish-surface);
  box-shadow: none; font-size: 14px; line-height: 1.5;
}
:is(.game-page, .account-view) .reviews select { padding-inline: 12px 28px; min-width: 0; font-weight: 400; }
:is(.game-page, .account-view) .review-chips { gap: 8px; margin: 12px 0; }
:is(.game-page, .account-view) .review-chips button { min-height: 44px; padding: 8px 16px; background: var(--review-soft); border-color: transparent; font-size: 14px; }
:is(.game-page, .account-view) .review-chips span { color: inherit; opacity: .8; font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .review-chips button[aria-pressed=true] { color: var(--polish-surface); background: var(--review-ink); border-color: var(--review-ink); box-shadow: none; }
:is(.game-page, .account-view) .review-chips[role=group] { width: fit-content; max-width: 100%; gap: 4px; padding: 4px; border: 1px solid var(--polish-line); border-radius: 8px; background: var(--review-soft); }
:is(.game-page, .account-view) .review-chips[role=group] button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 12px; border-radius: 4px; background: transparent; }
:is(.game-page, .account-view) .review-chips[role=group] button[aria-pressed=true] { background: var(--review-ink); }
:is(.game-page, .account-view) .review-chips[role=group] span { display: inline-block; min-width: 20px; padding: 0 4px; margin-left: 0; border-radius: 3px; background: var(--polish-surface); font-size: 12px; line-height: 20px; opacity: 1; }
:is(.game-page, .account-view) .review-chips[role=group] [aria-pressed=true] span { background: color-mix(in srgb, var(--polish-surface) 18%, var(--review-ink)); }
:is(.game-page, .account-view) .review-tag-filters { gap: 8px; margin: 12px 0 0; padding-bottom: 24px; border-bottom: 1px solid var(--polish-line); }
:is(.game-page, .account-view) .review-tag-filters button { padding: 8px 12px; background: var(--polish-surface); border-color: var(--polish-line); font-size: 13px; color: var(--review-muted); }
:is(.game-page, .account-view) .review-tag-filters button[aria-pressed=true] { background: color-mix(in srgb, var(--polish-focus) 6%, var(--polish-surface)); color: var(--review-accent); border-color: var(--review-accent); box-shadow: none; }
:is(.game-page, .account-view) .review-entry { padding: 24px 0 16px; border-color: var(--polish-line); }
:is(.game-page, .account-view) .review-entry > .review-row { padding: 0; }
:is(.game-page, .account-view) .review-row > header { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
:is(.game-page, .account-view) .review-row header .review-stars { font-size: 17px; font-weight: 600; color: var(--review-accent); white-space: nowrap; }
:is(.game-page, .account-view) .review-row header > span { color: var(--review-muted); font-size: 12px; line-height: 1.5; }
:is(.game-page, .account-view) .review-row time { color: var(--review-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .review-row .review-spec { margin: 8px 0; font-size: 13px; color: var(--review-muted); line-height: 1.6; }
:is(.game-page, .account-view) .review-row .review-text { max-width: 880px; margin: 12px 0; color: var(--review-ink); font-size: 15px; line-height: 1.8; }
:is(.game-page, .account-view) .review-tag-list { gap: 8px; margin: 12px 0; }
:is(.game-page, .account-view) .review-tag-list span { background: var(--review-soft); color: var(--review-muted); border-radius: 4px; padding: 4px 8px; font-size: 12px; }
:is(.game-page, .account-view) .review-photos { gap: 12px; margin: 12px 0; }
:is(.game-page, .account-view) .reviews .review-photos button { width: 128px; height: 96px; padding: 4px; border: 1px solid var(--polish-line); border-radius: 6px; background: var(--review-soft); cursor: zoom-in; }
:is(.game-page, .account-view) .review-photos img { object-fit: contain; border-radius: 2px; }
:is(.game-page, .account-view) .review-row blockquote {
  margin: 16px 0 0; padding: 12px 16px; border-left: 2px solid var(--review-accent);
  background: var(--review-tint); color: var(--review-muted); max-width: 880px;
}
:is(.game-page, .account-view) .review-row blockquote strong { font-size: 13px; color: var(--review-accent); }
:is(.game-page, .account-view) .review-row blockquote .review-text { margin: 4px 0 0; font-size: 14px; }
:is(.game-page, .account-view) .review-followup { margin-top: 20px; padding: 16px 0 0; border-left: 0; border-top: 1px dashed var(--polish-line); max-width: 880px; }
:is(.game-page, .account-view) .review-followup header { gap: 12px; }
:is(.game-page, .account-view) .review-followup header strong { color: var(--review-accent); font-size: 13px; }
:is(.game-page, .account-view) .review-entry > .review-actions { justify-content: flex-start; margin-top: 4px; gap: 8px; }
:is(.game-page, .account-view) .review-entry > .review-actions button { border-color: transparent; padding: 8px 12px; color: var(--review-muted); background: transparent; font-size: 13px; }
:is(.game-page, .account-view) .review-entry > .review-actions [data-helpful] { border-color: var(--polish-line); }
:is(.game-page, .account-view) .review-entry > .review-actions button[aria-pressed=true] { border-color: var(--polish-line); color: var(--review-accent); background: var(--review-soft); box-shadow: none; }
:is(.game-page, .account-view) .reviews-pager { justify-content: center; gap: 16px; margin: 24px 0 8px; font-size: 13px; color: var(--review-muted); font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .reviews-pager button { font-size: 22px; width: 44px; }
:is(.game-page, .account-view) .reviews-own { margin-top: 24px; padding-top: 16px; border-color: var(--polish-line); }
:is(.game-page, .account-view) .reviews-own > summary { display: list-item; padding: 8px 0; font-size: 14px; }
:is(.game-page, .account-view) .reviews-own > summary::marker { color: var(--review-muted); }
:is(.game-page, .account-view) .reviews-own[open] > summary { color: var(--review-accent); }
:is(.game-page, .account-view) .reviews > .review-chips:has([data-own-tab]) { margin: 0 0 20px; padding-bottom: 8px; gap: 4px 8px; border-bottom: 1px solid var(--polish-line); }
:is(.game-page, .account-view) .reviews [data-own-tab] { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; padding: 12px; }
:is(.game-page, .account-view) .reviews [data-own-tab][aria-pressed=true] { background: transparent; color: var(--review-accent); border-color: var(--review-accent); font-weight: 700; }
:is(.game-page, .account-view) .review-order { padding: 24px 0; }
:is(.game-page, .account-view) .review-order strong { font-size: 15px; }
:is(.game-page, .account-view) .review-order p { color: var(--review-muted); font-size: 13px; margin: 4px 0; }
:is(.game-page, .account-view) .review-order small { font-size: 12px; color: var(--review-muted); }
:is(.game-page, .account-view) .review-order button { color: var(--polish-surface); background: var(--review-ink); border-color: var(--review-ink); padding: 10px 20px; }
:is(.game-page, .account-view) .review-empty { margin: 0; padding: 48px 16px; text-align: center; font-size: 14px; line-height: 1.8; color: var(--review-muted); }
:is(.game-page, .account-view) .reviews [role=alert]:not(:empty) { padding: 12px 0; color: var(--review-accent); line-height: 1.7; }
:is(.game-page, .account-view) .review-dialog {
  padding: 28px; margin: auto; border-color: var(--polish-line); color: var(--review-ink);
  background: var(--polish-surface); box-shadow: var(--polish-shadow); scrollbar-gutter: stable;
}
:is(.game-page, .account-view) .review-dialog__head { top: -28px; margin: -4px 0 16px; padding: 8px 0 16px; border-bottom: 1px solid var(--polish-line); background: var(--polish-surface); }
:is(.game-page, .account-view) .review-dialog__head h2 { font-size: 20px; }
:is(.game-page, .account-view) .review-dialog__head button { border-color: transparent; font-size: 24px; }
:is(.game-page, .account-view) .review-dialog .review-form { gap: 20px; padding-top: 0; }
:is(.game-page, .account-view) .review-form :is(legend, label) { color: var(--review-ink); font-size: 14px; }
:is(.game-page, .account-view) .review-form legend { margin-bottom: 8px; font-weight: 600; }
:is(.game-page, .account-view) .review-form textarea { padding: 12px; min-height: 140px; font-size: 16px; line-height: 1.75; }
:is(.game-page, .account-view) .review-form [data-text-count] { text-align: right; font-size: 12px; color: var(--review-muted); font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .review-rating { gap: 8px; }
:is(.game-page, .account-view) .review-rating label { justify-content: center; gap: 6px; border: 1px solid var(--polish-line); border-radius: 6px; padding: 8px 4px; }
:is(.game-page, .account-view) .review-rating label:has(:checked) { color: var(--review-accent); background: color-mix(in srgb, var(--polish-focus) 6%, var(--polish-surface)); border-color: var(--review-accent); }
:is(.game-page, .account-view) .reviews input:is([type=radio], [type=checkbox]) { accent-color: var(--review-accent); }
:is(.game-page, .account-view) .review-private-note { margin: 0; padding: 12px 16px; border-left: 2px solid var(--polish-line); background: var(--review-soft); color: var(--review-muted); font-size: 13px; line-height: 1.7; }
:is(.game-page, .account-view) .review-tag-options { gap: 4px 20px; }
:is(.game-page, .account-view) .review-upload input[type=file] { padding: 8px; font-size: 13px; color: var(--review-muted); }
:is(.game-page, .account-view) .review-upload input::file-selector-button { min-height: 36px; border: 0; border-radius: 4px; padding: 8px 12px; margin-right: 12px; background: var(--review-soft); color: var(--review-ink); font: inherit; cursor: pointer; }
:is(.game-page, .account-view) .review-check { line-height: 1.65; }
:is(.game-page, .account-view) .review-form > .review-actions { justify-content: flex-end; gap: 12px; padding-top: 16px; border-top: 1px solid var(--polish-line); }
:is(.game-page, .account-view) .review-form .review-primary { background: var(--review-ink); border-color: var(--review-ink); color: var(--polish-surface); min-width: 124px; }
:is(.game-page, .account-view) .review-lightbox {
  width: min(920px, calc(100% - 32px)); background: var(--polish-ink); color: var(--polish-surface);
  border-color: color-mix(in srgb, var(--polish-surface) 20%, var(--polish-ink));
}
:is(.game-page, .account-view) .review-lightbox .review-dialog__head { background: var(--polish-ink); border-color: color-mix(in srgb, var(--polish-surface) 20%, var(--polish-ink)); }
:is(.game-page, .account-view) .review-lightbox button { color: var(--polish-surface); background: transparent; border-color: color-mix(in srgb, var(--polish-surface) 35%, var(--polish-ink)); }
:is(.game-page, .account-view) .review-lightbox button:disabled { opacity: .4; }
:is(.game-page, .account-view) .review-lightbox__image { min-height: 0; padding: 0 0 20px; }
:is(.game-page, .account-view) .review-lightbox__image img { display: block; border-radius: 4px; max-height: calc(100dvh - 240px); }
:is(.game-page, .account-view) .review-lightbox__nav { gap: 16px; font-variant-numeric: tabular-nums; }
:is(.game-page, .account-view) .review-lightbox__nav span { min-width: 48px; text-align: center; font-size: 13px; }
:is(.game-page, .account-view) .review-lightbox__nav button { font-size: 22px; height: 44px; padding: 0; }
:is(.game-page, .account-view) .reviews :focus-visible { outline: 2px solid var(--review-accent); outline-offset: 3px; }
:is(.game-page, .account-view) .review-lightbox :focus-visible { outline-color: var(--polish-surface); }
@media (hover: hover) {
  :is(.game-page, .account-view) .reviews button:not(:disabled) { transition: border-color .16s ease, background-color .16s ease, color .16s ease; }
  :is(.game-page, .account-view) .reviews button:not(:disabled):hover { border-color: var(--review-muted); }
  :is(.game-page, .account-view) .review-entry > .review-actions button:not(:disabled):hover { color: var(--review-ink); background: var(--review-soft); border-color: transparent; }
  :is(.game-page, .account-view) .review-tag-filters button:not(:disabled):hover { background: var(--review-soft); color: var(--review-ink); }
  :is(.game-page, .account-view) .reviews .review-photos button:hover { border-color: var(--review-accent); box-shadow: 0 0 0 1px var(--review-accent); }
  :is(.game-page, .account-view) .review-lightbox button:not(:disabled):hover { background: color-mix(in srgb, var(--polish-surface) 14%, var(--polish-ink)); border-color: var(--polish-surface); }
}
@media (max-width: 600px) {
  :is(.game-page, .account-view) .review-overview { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; padding: 20px 16px; }
  :is(.game-page, .account-view) .review-score strong { font-size: 28px; }
  :is(.game-page, .account-view) .review-score span { font-size: 12px; }
  :is(.game-page, .account-view) .review-distribution-row { grid-template-columns: 24px 1fr 16px; gap: 8px; font-size: 12px; }
  :is(.game-page, .account-view) .reviews-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  :is(.game-page, .account-view) .reviews-filter label:first-child { grid-column: 1 / -1; }
  :is(.game-page, .account-view) .review-chips { gap: 8px; }
  :is(.game-page, .account-view) .review-chips button { padding-inline: 12px; font-size: 13px; }
  :is(.game-page, .account-view) .review-chips[role=group] { width: 100%; }
  :is(.game-page, .account-view) .review-chips[role=group] button { flex: 1 1 auto; gap: 4px; padding-inline: 8px; }
  :is(.game-page, .account-view) .review-tag-filters { gap: 8px; padding-bottom: 20px; }
  :is(.game-page, .account-view) .review-tag-filters button { padding-inline: 8px; }
  :is(.game-page, .account-view) .review-row > header { grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; }
  :is(.game-page, .account-view) .review-row > header time { grid-column: 2; }
  :is(.game-page, .account-view) .review-entry { padding: 20px 0 12px; }
  :is(.game-page, .account-view) .review-row .review-text { font-size: 14px; }
  :is(.game-page, .account-view) .review-photos { gap: 8px; }
  :is(.game-page, .account-view) .reviews .review-photos button { width: 88px; height: 88px; }
  :is(.game-page, .account-view) .review-dialog { padding: 20px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  :is(.game-page, .account-view) .review-dialog__head { top: -20px; }
  :is(.game-page, .account-view) .review-rating { gap: 4px; }
  :is(.game-page, .account-view) .review-rating label { font-size: 13px; }
  :is(.game-page, .account-view) .review-rating input { width: 16px; height: 16px; }
  :is(.game-page, .account-view) .review-form > .review-actions > button { flex: 1; min-width: 0; }
}
@media (max-width: 380px) {
  :is(.game-page, .account-view) .review-chips[role=group] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.game-page, .account-view) .review-rating label { gap: 2px; padding: 8px 0; white-space: nowrap; font-size: 12px; }
  :is(.game-page, .account-view) .reviews .review-rating input { width: 14px; height: 14px; min-height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.game-page, .account-view) .reviews button { transition: none !important; }
}

/* Storefront motion: small state feedback, with geometry owned by existing CSS. */
:root {
  --store-motion-fast: 140ms;
  --store-motion-state: 180ms;
  --store-motion-enter: 280ms;
  --store-motion-ease: cubic-bezier(.22, 1, .36, 1);
  --store-motion-distance: 8px;
}

.game-page .denom-card,
.checkout-flow .payment-method--available {
  transition: border-color var(--store-motion-state) ease,
    background-color var(--store-motion-state) ease, box-shadow var(--store-motion-state) ease,
    transform var(--store-motion-state) var(--store-motion-ease);
}
.game-page .denom-card .denom-card__check {
  transform: scale(.72);
  transition: opacity var(--store-motion-fast) ease, transform var(--store-motion-state) var(--store-motion-ease);
}
.game-page .denom-card--active .denom-card__check { transform: scale(1); }
.checkout-flow .payment-method--available .payment-method__check {
  transition: border-color var(--store-motion-state) ease, background-color var(--store-motion-state) ease;
}
.checkout-flow .payment-method--available .payment-method__check svg path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset var(--store-motion-state) var(--store-motion-ease);
}
.checkout-flow .payment-method--available.is-selected .payment-method__check svg path { stroke-dashoffset: 0; }

/* Selection layout stays fixed; scale feedback is supplied by the motion layer. */
.game-page .denom-card .denom-card__icon {
  transition: scale var(--store-motion-fast) var(--store-motion-ease);
}
.game-page .denom-card:not(:disabled):active .denom-card__icon { scale: .96; }
.game-page .btn-submit,
.checkout-flow .checkout-submit,
.redeem-page .btn-primary {
  transition: background-color var(--store-motion-state) ease, color var(--store-motion-state) ease,
    box-shadow var(--store-motion-state) ease, transform var(--store-motion-fast) var(--store-motion-ease);
}
.catalog-view .catalog-filter button {
  transition: color var(--store-motion-state) ease, background-color var(--store-motion-state) ease,
    border-color var(--store-motion-state) ease;
}
.checkout-flow .checkout-toast {
  transition: opacity var(--store-motion-fast) ease, transform var(--store-motion-fast) ease;
}
.checkout-flow .checkout-toast.is-visible {
  transition-duration: var(--store-motion-state);
  transition-timing-function: var(--store-motion-ease);
}

@keyframes laa-surface-enter {
  from { opacity: .65; translate: 0 var(--store-motion-distance); }
  to { opacity: 1; translate: 0 0; }
}
@keyframes laa-confirm-enter {
  from { opacity: .5; scale: .84; }
  to { opacity: 1; scale: 1; }
}
@keyframes laa-ambient-settle {
  0% { opacity: .18; transform: translate3d(-3%, 2%, 0) scale(.98); }
  60% { opacity: .52; }
  100% { opacity: .32; transform: translate3d(3%, -2%, 0) scale(1.04); }
}

/* A single short glow settles behind the existing artwork and carousel controls. */
.store-home .hero__ambient::after {
  content: '';
  position: absolute;
  inset: -8%;
  pointer-events: none;
  background: radial-gradient(ellipse at 12% 55%, color-mix(in srgb, var(--polish-focus) 38%, transparent), transparent 56%),
    radial-gradient(ellipse at 92% 85%, color-mix(in srgb, var(--polish-focus) 22%, transparent), transparent 46%);
  opacity: .32;
  transform: translate3d(3%, -2%, 0) scale(1.04);
}

/* Every result enters neutrally. Only explicit completed states get a success accent. */
.redeem-page .result-icon { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .store-home .hero__ambient::after { animation: laa-ambient-settle 4.8s ease-out; }
  .store-home .hero:has([data-hero-pause][aria-pressed="true"]) .hero__ambient::after,
  .store-home .hero:focus-within .hero__ambient::after { animation-play-state: paused; }
  .store-home .modal-overlay--open .modal,
  .game-page .modal-overlay--open .modal,
  .checkout-flow .checkout-login-dialog[open],
  .checkout-flow .checkout-result:not([hidden]),
  .redeem-page .result-box,
  .redeem-page .v-loading {
    animation: laa-surface-enter var(--store-motion-enter) var(--store-motion-ease);
  }
  .checkout-flow #checkoutResult[data-status="success"] .checkout-result__icon,
  .redeem-page .result-icon.success {
    animation: laa-confirm-enter 320ms var(--store-motion-ease);
  }
}
@media (max-width: 600px) {
  :root { --store-motion-distance: 4px; --store-motion-enter: 220ms; }
  .store-home .hero__ambient::after { content: none; }
}

/* Complete state feedback; all hooks reflect existing rendered UI states. */
.catalog-view #catalogFilters,
.game-page #infoTabs,
.redeem-page #redeemCard { position: relative; }
:is(.catalog-view, .game-page, .redeem-page) [data-motion-marker]::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 2px;
  background: var(--polish-focus);
  border-radius: 2px;
  pointer-events: none;
  transform-origin: 0 0;
  transform: translate(var(--motion-marker-x), var(--motion-marker-y)) scaleX(var(--motion-marker-length));
  transition: transform var(--store-motion-state) var(--store-motion-ease);
}
.catalog-view [data-motion-marker="vertical"]::after {
  width: 2px;
  height: 1px;
  transform: translate(var(--motion-marker-x), var(--motion-marker-y)) scaleY(var(--motion-marker-length));
}
.catalog-view #catalogFilters[data-motion-marker] button.is-active::before { background: transparent; }
.game-page #infoTabs[data-motion-marker]::after { background: var(--text); }
.redeem-page #redeemCard[data-motion-marker]::after { background: var(--v-red); }
.redeem-page #redeemCard[data-motion-marker] .view-tab.active { border-bottom-color: transparent; }

.checkout-flow #checkoutSubmit { position: relative; }
.checkout-flow #checkoutSubmit[data-motion-busy] {
  padding-inline: 36px;
  color: var(--polish-surface);
  background: var(--co-night);
  cursor: progress;
}
.checkout-flow #checkoutSubmit[data-motion-busy]::before {
  content: '';
  position: absolute;
  left: 16px;
  top: calc(50% - 7px);
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  pointer-events: none;
  animation: laa-busy-turn 800ms linear infinite;
}
@keyframes laa-busy-turn { to { rotate: 1turn; } }
.checkout-flow #receiptCopy {
  font-variant-numeric: tabular-nums;
  transition: color var(--store-motion-state) ease, border-color var(--store-motion-state) ease,
    background-color var(--store-motion-state) ease;
}
.checkout-flow #receiptCopy[data-motion-copied] {
  inline-size: var(--motion-copy-width);
  color: var(--co-night);
  border-color: var(--co-night);
  background: color-mix(in srgb, var(--co-night) 7%, var(--polish-surface));
}

/* Draw over the authored check glyph; its accessible text and state stay intact. */
.checkout-flow #checkoutResultIcon[data-motion-confirmed],
.checkout-flow #checkoutResultIcon[data-motion-accepted],
.redeem-page .result-icon.success {
  position: relative;
  font-size: 0;
}
.checkout-flow #checkoutResultIcon[data-motion-confirmed]::after,
.checkout-flow #checkoutResultIcon[data-motion-accepted]::after,
.redeem-page .result-icon.success::after {
  content: '';
  position: absolute;
  width: 22%;
  height: 38%;
  top: 26%;
  left: 40%;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  clip-path: inset(0);
  pointer-events: none;
}
@keyframes laa-check-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
:is(.store-home, .game-page) .toast,
body:has(.redeem-page) > .toast-container .toast {
  transition: opacity var(--store-motion-fast) ease-in, translate var(--store-motion-fast) ease-in;
}
@media (prefers-reduced-motion: no-preference) {
  .checkout-flow #checkoutResultIcon[data-motion-confirmed] { animation: laa-confirm-enter 320ms var(--store-motion-ease); }
  .checkout-flow #checkoutResultIcon[data-motion-confirmed]::after,
  .checkout-flow #checkoutResultIcon[data-motion-accepted]::after,
  .redeem-page .result-icon.success::after { animation: laa-check-draw 260ms ease-out 60ms backwards; }
  :is(.store-home, .game-page) .toast,
  body:has(.redeem-page) > .toast-container .toast { animation: laa-surface-enter 200ms var(--store-motion-ease); }
}
:is(.store-home, .game-page) .toast--out,
body:has(.redeem-page) > .toast-container .toast.fade-out,
body:has(.redeem-page) > .toast-container .toast--out {
  opacity: 0;
  translate: 0 -4px;
  transition: opacity var(--store-motion-fast) ease-in, translate var(--store-motion-fast) ease-in;
}

/* Native close and existing class removal remain immediate. Only the pixels
   finish fading, using browser-managed discrete transitions when supported. */
@supports (transition-behavior: allow-discrete) {
  @media (prefers-reduced-motion: no-preference) {
    :is(.store-home, .game-page) .modal-overlay {
      opacity: 0;
      pointer-events: none;
      transition: opacity 140ms ease-in, display 140ms allow-discrete;
    }
    :is(.store-home, .game-page) .modal-overlay--open {
      opacity: 1;
      pointer-events: auto;
      transition-duration: 220ms;
      transition-timing-function: var(--store-motion-ease);
    }
    :is(.store-home, .game-page) .modal-overlay .modal {
      animation: none;
      translate: 0 4px;
      transition: translate 140ms ease-in;
    }
    :is(.store-home, .game-page) .modal-overlay--open .modal {
      translate: 0 0;
      transition-duration: 220ms;
      transition-timing-function: var(--store-motion-ease);
    }
    :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup,
    .checkout-flow dialog.checkout-login-dialog {
      opacity: 0;
      translate: 0 4px;
      pointer-events: none;
      animation: none;
      transition: opacity 140ms ease-in, translate 140ms ease-in,
        display 140ms allow-discrete, overlay 140ms allow-discrete;
    }
    :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup[open],
    .checkout-flow dialog.checkout-login-dialog[open] {
      opacity: 1;
      translate: 0 0;
      pointer-events: auto;
      transition-duration: 220ms;
      transition-timing-function: var(--store-motion-ease);
    }
    :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup::backdrop,
    .checkout-flow dialog.checkout-login-dialog::backdrop {
      opacity: 0;
      transition: opacity 140ms ease-in, display 140ms allow-discrete, overlay 140ms allow-discrete;
    }
    :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup[open]::backdrop,
    .checkout-flow dialog.checkout-login-dialog[open]::backdrop { opacity: 1; transition-duration: 220ms; }
    :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog:not([open])::backdrop { pointer-events: none; }
    @starting-style {
      :is(.store-home, .game-page) .modal-overlay--open,
      :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup[open],
      .checkout-flow dialog.checkout-login-dialog[open],
      :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup[open]::backdrop,
      .checkout-flow dialog.checkout-login-dialog[open]::backdrop { opacity: 0; }
      :is(.store-home, .game-page) .modal-overlay--open .modal,
      :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog.store-lookup[open],
      .checkout-flow dialog.checkout-login-dialog[open] { translate: 0 var(--store-motion-distance); }
    }
  }
}
/* Purchase impact: press, selection spring, then one submitted-order accent. */
.game-page .denom-card {
  transition: border-color var(--store-motion-state) ease, background-color var(--store-motion-state) ease,
    box-shadow var(--store-motion-state) ease, scale 100ms ease-out;
}
.game-page .denom-card:not(:disabled):active { scale: .975; }
.game-page .denom-card:not(:disabled):active .denom-card__icon { scale: .9; }
.game-page .denom-card::before,
.checkout-flow #checkoutSubmit[data-motion-busy]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(110deg,
    color-mix(in srgb, var(--theme-color, var(--polish-focus)) 14%, transparent),
    color-mix(in srgb, var(--polish-surface) 72%, transparent) 55%,
    color-mix(in srgb, var(--theme-color, var(--polish-focus)) 14%, transparent));
}
@keyframes laa-choice-sweep {
  0% { opacity: 0; clip-path: polygon(-45% 0, -20% 0, 0 100%, -25% 100%); }
  18% { opacity: .85; }
  72% { opacity: .85; }
  100% { opacity: 0; clip-path: polygon(100% 0, 125% 0, 145% 100%, 120% 100%); }
}
.game-page .btn-submit,
.checkout-flow #checkoutSubmit { transition: scale 100ms ease-out, background-color 180ms ease, color 180ms ease, transform 140ms ease; }
.game-page .btn-submit:not(:disabled):active,
.checkout-flow #checkoutSubmit:not(:disabled):active { scale: .97; }
.game-page #sumTotal { display: inline-block; transform-origin: right center; }

.checkout-flow #checkoutResult { position: relative; isolation: isolate; }
.checkout-flow #checkoutResult #checkoutResultIcon { position: relative; animation: none; }
.checkout-flow #checkoutResultIcon::before {
  content: '';
  position: absolute;
  inset: -28px;
  pointer-events: none;
  color: var(--polish-focus);
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  background:
    linear-gradient(currentColor, currentColor) 50% 0 / 2px 9px,
    linear-gradient(currentColor, currentColor) 100% 50% / 9px 2px,
    linear-gradient(currentColor, currentColor) 50% 100% / 2px 9px,
    linear-gradient(currentColor, currentColor) 0 50% / 9px 2px,
    linear-gradient(45deg, transparent 40%, currentColor 40% 60%, transparent 60%) 15% 15% / 8px 8px,
    linear-gradient(-45deg, transparent 40%, currentColor 40% 60%, transparent 60%) 85% 15% / 8px 8px,
    linear-gradient(45deg, transparent 40%, currentColor 40% 60%, transparent 60%) 85% 85% / 8px 8px,
    linear-gradient(-45deg, transparent 40%, currentColor 40% 60%, transparent 60%) 15% 85% / 8px 8px;
  background-repeat: no-repeat;
}
.checkout-flow #checkoutResult::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 60px, color-mix(in srgb, var(--polish-focus) 12%, transparent), transparent 65%);
}
@keyframes laa-submission-burst {
  0% { opacity: 0; transform: scale(.35) rotate(-12deg); }
  28% { opacity: .8; }
  100% { opacity: 0; transform: scale(1.15) rotate(8deg); }
}
@keyframes laa-submission-wash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes laa-receipt-slot {
  0% { opacity: 0; transform: translateX(-50%) scaleX(.4); }
  18%, 77% { opacity: .55; transform: translateX(-50%) scaleX(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleX(.98); }
}
@media (prefers-reduced-motion: no-preference) {
  .game-page .denom-card[data-motion-select-cue]::before { animation: laa-choice-sweep 520ms ease-out; }
  .checkout-flow #checkoutSubmit[data-motion-busy]::after { animation: laa-choice-sweep 800ms ease-out; }
  .checkout-flow #checkoutResult[data-motion-submitted-cue]::after {
    content: '';
    position: absolute;
    left: 50%;
    top: var(--motion-receipt-slot-y);
    width: 80px;
    height: 4px;
    border-radius: 50%;
    background: var(--co-night);
    pointer-events: none;
    opacity: 0;
    animation: laa-receipt-slot 1100ms linear 70ms backwards;
  }
}
@media (prefers-reduced-motion: reduce) {
  :is(.store-home, .catalog-view, .game-page, .checkout-flow, .redeem-page),
  :is(.store-home, .catalog-view, .game-page, .checkout-flow, .redeem-page) *,
  :is(.store-home, .catalog-view, .game-page, .checkout-flow, .redeem-page) *::before,
  :is(.store-home, .catalog-view, .game-page, .checkout-flow, .redeem-page) *::after,
  :is(.store-home, .catalog-view, .game-page, .checkout-flow) dialog::backdrop,
  body:has(.redeem-page) > .toast-container .toast {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .store-home .hero__ambient::after { content: none; }
  .game-page .denom-card:not(:disabled):active,
  .game-page .btn-submit:not(:disabled):active,
  .checkout-flow #checkoutSubmit:not(:disabled):active { scale: 1; }
  .game-page .denom-card:not(:disabled):active .denom-card__icon { scale: 1; }
}

/* Keep wallet labels readable when the desktop date column is hidden. */
@media (max-width: 680px) {
  .account-view .balance-module__header-actions { flex-wrap: wrap; }
  .account-view .balance-module__header-actions .balance-ledger__more {
    flex: 0 0 auto;
    min-height: 44px;
    white-space: nowrap;
  }
  .account-view .balance-module__header-actions .balance-recharge-button {
    flex: 1 1 auto;
    width: auto;
    min-height: 44px;
    white-space: nowrap;
  }
  .account-view .balance-module__ledger .balance-ledger__row {
    grid-template-columns: 28px minmax(0, 1fr) max-content;
    gap: 12px;
    padding: 12px 0;
  }
  .account-view .balance-ledger__row > div:nth-child(2) { min-width: 0; }
  .account-view .balance-ledger__row > div:nth-child(2) > strong,
  .account-view .balance-ledger__amount { white-space: nowrap; }
  .account-view .balance-ledger__row > div:nth-child(2) > span,
  .account-view .balance-ledger-modal__stat small {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Confirmed checkout receipt presentation, 2026-09-13. */
.checkout-flow #checkoutResult { z-index: 2; }
/* Receipt detail styling, scoped to the existing balance-order result. */
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) {
  --receipt-accent: var(--checkout-gold);
  --result-inset: 40px;
  width: min(100%, 720px);
  padding-top: 56px;
  border-radius: 16px;
  box-shadow: 0 2px 3px color-mix(in srgb, var(--co-night) 3%, transparent), 0 20px 48px -24px color-mix(in srgb, var(--co-night) 20%, transparent);
}
.checkout-flow #checkoutResult[data-status="failed"]:has(> #checkoutReceipt[hidden]) { --receipt-accent: var(--co-red); }
.checkout-flow #checkoutResult[data-status="success"]:has(> #checkoutReceipt[hidden]) { --receipt-accent: #267254; }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden])::before {
  opacity: 1;
  background:
    linear-gradient(var(--receipt-accent),var(--receipt-accent)) center top / 64px 2px no-repeat,
    linear-gradient(var(--co-line),var(--co-line)) left 24px top 24px / 20px 1px no-repeat,
    linear-gradient(var(--co-line),var(--co-line)) left 24px top 24px / 1px 20px no-repeat,
    linear-gradient(var(--co-line),var(--co-line)) right 24px top 24px / 20px 1px no-repeat,
    linear-gradient(var(--co-line),var(--co-line)) right 24px top 24px / 1px 20px no-repeat;
}
.checkout-flow .checkout-page:has(#checkoutResult:not([hidden]) > #checkoutReceipt[hidden]) .checkout-heading { width: min(100%,720px); }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultIcon {
  margin-bottom: 32px;
  box-shadow: 0 0 0 8px var(--polish-surface), 0 0 0 9px color-mix(in srgb,var(--receipt-accent) 38%,var(--polish-surface)), 0 0 0 17px color-mix(in srgb,var(--receipt-accent) 5%,var(--polish-surface));
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > p {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--receipt-accent);
  font-size: 10px;
  letter-spacing: .22em;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > p::before,
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > p::after {
  content: '';
  width: 20px;
  height: 1px;
  background: color-mix(in srgb,var(--receipt-accent) 40%,var(--polish-surface));
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultTitle {
  margin-top: 12px;
  font-size: 36px;
  letter-spacing: -.025em;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage {
  position: relative;
  justify-self: start;
  width: calc(100% + var(--result-inset) * 2);
  margin: 36px 0 0 calc(var(--result-inset) * -1);
  padding: 28px 56px;
  border-top: 1px dashed var(--co-line);
  border-bottom: 1px solid color-mix(in srgb,var(--co-line) 65%,var(--polish-surface));
  background: color-mix(in srgb,var(--co-night) 2%,var(--polish-surface));
  color: var(--co-ink);
  font-size: 14px;
  line-height: 2;
  letter-spacing: .01em;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage::before,
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage::after {
  content: '';
  position: absolute;
  top: -9px;
  width: 16px;
  height: 16px;
  border: 1px solid var(--co-line);
  border-radius: 50%;
  background: var(--co-page);
  pointer-events: none;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage::before { left: -9px; clip-path: inset(0 0 0 50%); }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage::after { right: -9px; clip-path: inset(0 50% 0 0); }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions {
  gap: 16px;
  padding: 28px 0;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions > a {
  min-height: 48px;
  border-radius: 8px;
}
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutOrders::after {
  content: '→';
  margin-left: 20px;
  font-size: 18px;
  line-height: 1;
}
@media (max-width:620px) {
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) { --result-inset:24px; padding-top:44px; border-radius:12px; }
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultTitle { font-size:30px; }
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) #checkoutResultMessage { margin-top:28px; padding:24px; font-size:13px; line-height:1.9; }
  .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]) > .checkout-result__actions { grid-template-columns:minmax(0,1fr); gap:8px; padding:24px 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .checkout-flow #checkoutResult[data-motion-submitted-cue]::after {
    animation-delay: var(--motion-receipt-lag, 70ms);
  }
}

/* Order information follows a single-column receipt list. */
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]):has(> .submitted-details) { padding-top:32px; }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]):has(> .submitted-details) #checkoutResultIcon { margin-bottom:24px; }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]):has(> .submitted-details) #checkoutResultTitle { font-size:32px; }
.checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]):has(> .submitted-details) #checkoutResultMessage { margin-top:24px; padding:20px 32px; }
.submitted-order-number { display:block; font-size:14px; font-weight:600; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.submitted-status-note { display:block; margin-top:6px; font-size:13px; color:var(--co-muted); }
.checkout-flow .submitted-details { width:100%; min-width:0; padding:24px 0 0; text-align:left; }
.checkout-flow .submitted-details h2 { margin:0 0 12px; color:var(--co-ink); font-size:14px; font-weight:600; line-height:1.5; }
.checkout-flow .submitted-details dl { display:flex; flex-direction:column; gap:16px; margin:0; padding:24px; border:1px solid var(--co-line); border-radius:12px; background:var(--polish-surface); }
.checkout-flow .submitted-details dl > div { min-width:0; }
.checkout-flow .submitted-details dt { margin:0 0 6px; color:var(--co-muted); font-size:12px; line-height:1.5; }
.checkout-flow .submitted-details dd { margin:0; color:var(--co-ink); font-size:14px; line-height:1.6; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.checkout-flow .submitted-details dl > div:first-child { padding:0 0 20px; border-bottom:1px solid var(--co-line); }
.checkout-flow .submitted-details dl > div:first-child dd { font-size:18px; font-weight:650; letter-spacing:-.015em; line-height:1.5; }
.checkout-flow .submitted-details dl > div:not(:first-child):not(.submitted-details__amount) { display:flex; justify-content:space-between; align-items:baseline; gap:24px; }
.checkout-flow .submitted-details dl > div:not(:first-child):not(.submitted-details__amount) dt { flex-shrink:0; margin:0; }
.checkout-flow .submitted-details dl > div:not(:first-child):not(.submitted-details__amount) dd { min-width:0; text-align:right; }
.checkout-flow .submitted-details dl > div:not(:first-child):not(.submitted-details__amount) dd { font-weight:500; }
.checkout-flow .submitted-details .submitted-details__time dd { font-size:13px; word-break:keep-all; overflow-wrap:normal; }
.checkout-flow .submitted-details .submitted-details__discount dd { color:#267254; }
.checkout-flow .submitted-details .submitted-details__amount { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; margin:0 -24px -24px; border-top:1px dashed var(--co-line); border-radius:0 0 12px 12px; background:color-mix(in srgb,var(--co-night) 1.5%,var(--polish-surface)); }
.checkout-flow .submitted-details .submitted-details__amount dt { margin:0; color:var(--co-ink); font-weight:500; }
.checkout-flow .submitted-details .submitted-details__amount dd { font-size:28px; font-weight:700; color:var(--checkout-gold-total); }
@supports (background-clip:text) or (-webkit-background-clip:text) {
 .checkout-flow .submitted-details .submitted-details__amount dd { background:linear-gradient(115deg,#a67e14 0%,#c2a034 36%,#ceb052 53%,#bd9827 73%,#a67e14 100%); background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent; }
}
@media (max-width:620px) {
 .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]):has(> .submitted-details) #checkoutResultTitle { font-size:28px; }
 .checkout-flow #checkoutResult:has(> #checkoutReceipt[hidden]):has(> .submitted-details) #checkoutResultMessage { padding:20px; }
 .checkout-flow .submitted-details dl { gap:12px; padding:16px; border-radius:10px; }
 .checkout-flow .submitted-details dl > div:first-child { padding-bottom:16px; }
 .checkout-flow .submitted-details dl > div:first-child dd { font-size:17px; }
 .checkout-flow .submitted-details dl > div:not(:first-child):not(.submitted-details__amount) { gap:16px; }
 .checkout-flow .submitted-details .submitted-details__amount { margin:0 -16px -16px; padding:16px; border-radius:0 0 10px 10px; gap:8px; }
 .checkout-flow .submitted-details .submitted-details__amount dd { font-size:26px; }
}
@media (max-width:360px) {
 .checkout-flow .submitted-details .submitted-details__amount { flex-wrap:wrap; }
}
@media print, (forced-colors:active) {
 .checkout-flow .submitted-details .submitted-details__amount dd { background:none;-webkit-text-fill-color:currentColor; }
}
