.store-page {
  --base: #fff;
  --ink: #17231d;
  --muted: #596b62;
  --edge: #dcebe3;
  --control-edge: #819589;
  --accent: #563ce0;
  --accent-hover: #4630c4;
  --accent-soft: #efebff;
  --accent-edge: #dcd2ff;
  --brand-gradient: linear-gradient(135deg, #287cf6, #8046f4 55%, #ec12bb);
  --brand-shadow: 0 8px 20px rgba(91, 62, 214, .18);
  --paper: #fff;
  --surface-muted: #f0f6f3;
  --info: #23537e;
  --info-soft: #eaf4ff;
  --success: #087253;
  --success-soft: #ecfdf5;
  --warning: #92400e;
  --warning-soft: #fff5df;
  --error: #9f3234;
  --error-soft: #fef2f2;
  --lift: 0 12px 26px rgba(28, 68, 48, .06);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--base);
  accent-color: var(--accent);
}

.store-page .site-wrap { width: min(100% - 2.5rem, 77rem); margin-inline: auto }
.store-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .9);
  border-color: #e5dff7;
  backdrop-filter: blur(12px);
}

.site-header { font-family: Inter, "Microsoft YaHei", Arial, sans-serif }

.store-page .site-header .site-top {
  width: 100%;
  max-width: 1160px;
  min-height: 71px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 37px;
  padding-inline: 20px;
}

.site-header .site-wordmark { min-width: 101px; gap: 8px; color: #1f2545; font-size: 15px; font-weight: 800 }
.site-header .brand-mark { width: 36px; height: 36px }

.ui-icon { width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: -.12em }

.site-wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  justify-self: start;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: none;
  width: 2rem;
  height: 2rem;
  background: url('/youxu-mark.png') center / contain no-repeat;
}

.site-nav, .site-tools { display: flex; align-items: center }
.site-nav { gap: 6px }
.site-tools { justify-content: end; gap: 10px }

.site-nav a, .site-tools a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
}

.site-nav a {
  gap: 6px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 7px;
  color: #64716a;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  white-space: normal;
}

.site-nav .ui-icon { width: 14px; height: 14px }
.site-nav a:hover, .site-nav a[aria-current],
.site-tools .tool-secondary:hover, .site-tools .tool-secondary[aria-current="page"] {
  color: #684ce9;
  background: #f1eeff;
}
.site-nav a[aria-current] { font-weight: 700 }

.store-page .site-tools a {
  gap: 8px;
  min-height: 34px;
  min-width: 101px;
  padding: 0 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}
.site-tools .tool-secondary { border: 1px solid #d9d9d9; color: rgba(0, 0, 0, .88); background: var(--paper) }
.store-page .site-tools .tool-buy { min-width: 97px; padding-inline: 14px; border: 0 }
.buy-mobile, .store-page .mobile-menu-button { display: none }

.store-page main { flex: 1; padding-block: 0 5rem }
.store-page[data-route="home"] main { padding-bottom: 0 }
.store-page :is(a, button, summary, input[type="radio"], input[type="checkbox"]):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }

.store-page button, .store-page .button {
  gap: .55rem;
  min-height: 2.75rem;
  border-radius: .55rem;
  font-weight: 700;
}

.store-page :where(button, .button):not(.secondary) {
  color: var(--paper);
  background: var(--accent);
  border-color: transparent;
}

.store-page :where(button, .button):not(.secondary, :disabled):hover { background: var(--accent-hover) }
.store-page .secondary { color: var(--ink); background: var(--paper); border-color: var(--edge) }
.store-page .secondary:hover { background: var(--surface-muted) }
.store-page :is(input, select, textarea) { --field-border: var(--control-edge) }
.store-page :is(input, textarea)::placeholder { color: var(--muted); opacity: 1 }
.store-page button:disabled { opacity: .62 }
.store-page :is(.muted, .loading) { color: var(--muted) }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero {
  width: min(100%, 67.25rem);
  min-height: 36.3rem;
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 6.4rem) 0 5.2rem;
  text-align: center;
  scroll-margin-top: 5.15rem;
}

.store-page .hero h1 {
  max-width: 63.8rem;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.45rem, 5.2vw, 4rem);
  font-weight: 850;
  line-height: 1.21;
  letter-spacing: -.038em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero h1::after, .home-close h2::after {
  display: block;
  width: 2.6rem;
  height: .24rem;
  margin: 1.85rem auto 0;
  border-radius: 999px;
  background: var(--brand-gradient);
  content: '';
}

.store-page .hero #intro {
  max-width: 43rem;
  margin: 1.28rem auto 2.05rem;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 2.1;
  text-wrap: balance;
}

.hero-actions, .support-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
}

.hero-actions { margin-top: 1.45rem }
.hero .hero-actions {
  display: inline-flex;
  margin-top: 0;
  padding: .4rem;
  gap: .28rem;
  border: 1px solid var(--edge);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--lift);
}

.hero .button { min-height: 3.2rem; min-width: 8.6rem; padding-inline: 1.4rem; font-size: .92rem }
.store-page .hero .secondary { background: #faf8ff; color: var(--accent); border-color: var(--accent-edge) }
.store-page .hero .secondary:hover { background: var(--accent-soft) }
.store-page :is(.site-tools .tool-buy, .hero .button:not(.secondary), .home-close .button:not(.secondary), .tutorial-actions .button:not(.secondary), .support-panel .button:not(.secondary), #guide-page .hero-actions .button:not(.secondary), #order-lookup > button) {
  color: var(--paper);
  background: var(--brand-gradient);
  box-shadow: var(--brand-shadow);
}
.store-page :is(.site-tools .tool-buy, .hero .button:not(.secondary), .home-close .button:not(.secondary), .tutorial-actions .button:not(.secondary), .support-panel .button:not(.secondary), #guide-page .hero-actions .button:not(.secondary), #order-lookup > button):hover { filter: brightness(.94) }
.hero-help { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 0; color: var(--muted); font-size: .84rem }
.hero-help a { padding-block: .5rem; color: var(--accent); font-weight: 650; text-underline-offset: .2em }

.inline-link { color: var(--accent); text-underline-offset: .28em }

.home-section {
  margin-inline: auto;
  padding: 4.625rem 0 4.75rem;
  text-align: center;
  scroll-margin-top: 5.65rem;
}

.home-section h2 {
  margin: .975rem 0 .55rem;
  color: var(--ink);
  font-size: clamp(1.78rem, 3.6vw, 2.375rem);
  font-weight: 850;
  line-height: 1.55;
  letter-spacing: -.032em;
}

.section-label {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  align-items: center;
  gap: .53rem;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 770;
  line-height: 1.6;
}

.section-label::before {
  content: '';
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 .23rem var(--accent-soft);
}

.home-section p { color: var(--muted); line-height: 1.75 }

.home-intro { max-width: 45rem; margin: 0 auto; font-size: .96rem; text-wrap: balance }
#advantages, #steps, #video-tutorial, #purchase-notes { padding-inline: 22px }
#features-title span { white-space: nowrap }
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.45rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.home-card {
  position: relative;
  min-width: 0;
  min-height: 14.25rem;
  padding: clamp(1.15rem, 2.7vw, 1.65rem);
  border: 1px solid var(--edge);
  border-radius: 1.1rem;
  background: linear-gradient(145deg, #fcfefd, #f5faf7);
  box-shadow: var(--lift);
}

.home-card h3 { margin: 1.3rem 0 .45rem; font-size: 1.07rem; line-height: 1.45 }
.home-card p { margin: 0; font-size: .9rem }
.home-card-icon {
  display: inline-grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border: 1px solid var(--accent-edge);
  border-radius: .95rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.25rem;
}
.purchase-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin-top: 2.925rem }
.purchase-steps .home-card { min-height: 14.7rem; padding-top: 1.75rem; background: var(--paper) }
.purchase-steps .home-card-icon { position: absolute; inset: -.78rem 1.5rem auto auto; border-width: .28rem; box-shadow: var(--lift) }
.purchase-steps .home-card h3 { margin-top: 2.05rem }
@media (min-width: 52.01rem) {
  .purchase-steps .home-card + .home-card::before {
    position: absolute;
    top: 1.65rem;
    inset-inline-end: 100%;
    width: calc(1.3rem + 2px);
    height: 1px;
    background: var(--edge);
    content: '';
  }
}
.home-step-number {
  display: inline-flex;
  padding: .26rem .63rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .86rem;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.tutorial-player {
  width: min(100%, 59.5rem);
  margin: 2.65rem auto 0;
  overflow: hidden;
  border: 1px solid var(--accent-edge);
  border-radius: 1rem;
  background: #faf8ff;
  box-shadow: 0 18px 42px rgba(72, 44, 121, .11);
}

.tutorial-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  color-scheme: dark;
}

.home-section .tutorial-caption, .guide-section .tutorial-caption {
  max-width: 59.5rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.6;
  text-align: center;
}

.tutorial-actions {
  display: inline-flex;
  gap: .34rem;
  padding: .3rem;
  border: 1px solid var(--edge);
  border-radius: .8rem;
  background: #f9fcfa;
  margin-top: 1.31rem;
}

.store-page .tutorial-actions :is(a, button) {
  gap: .46rem;
  min-height: 2.7rem;
  padding: .35rem 1rem;
  border-radius: .45rem;
  font-size: .84rem;
  white-space: nowrap;
}

#guide-video .tutorial-player { width: 100%; margin-top: 1.85rem }
#guide-video .tutorial-caption { margin-bottom: 0 }
.guide-section .guide-video-note {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 55px;
  padding: .6rem 1rem;
  border: 1px solid var(--accent-edge);
  border-radius: .7rem;
  background: #faf8ff;
  text-align: left;
}
.guide-video-note > .ui-icon { color: var(--accent) }

#video-tutorial { padding-bottom: 4.625rem }
@media (min-width: 64rem) {
  #video-tutorial .tutorial-player { margin-top: calc(2.65rem + 4.5px) }
  #video-tutorial { padding-bottom: calc(4.625rem - 4.5px) }
}
.home-notes { padding-top: 4.85rem }
.home-notes .home-card-grid { border-top: 1px solid var(--edge); padding-top: 1.95rem }
.home-notes .home-card { min-height: 11.625rem }
.home-notes .home-card-icon { width: 2.68rem; height: 2.68rem; border: 0; border-radius: .75rem }
.home-notes .home-card h3 { margin-top: .85rem }
.home-close { padding-block: 4.625rem }
.home-close h2 { margin-top: 0; font-size: clamp(1.85rem, 4vw, 2.625rem) }
.home-close h2::after { margin: 1.15rem auto .9rem }
.home-close .hero-actions { margin-top: 1.6rem }

#faq {
  max-width: 918px;
  padding: 4.95rem 22px 4.7rem;
}

#faq .section-label { font-size: .94rem; line-height: 1.2 }
#faq h2 { margin: .975rem 0 0; font-size: 2.375rem }
.faq-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2.35rem 0 1.25rem;
  border: 1px solid var(--edge);
  border-radius: .88rem;
  background: var(--paper);
  box-shadow: var(--lift);
  text-align: left;
}
.faq-summary > div { display: grid; align-content: center; gap: .28rem; min-height: 5.12rem; padding: .85rem 1.05rem }
.faq-summary > div + div { border-inline-start: 1px solid var(--edge) }
.faq-summary strong { font-size: .89rem }
.faq-summary span { color: var(--muted); font-size: .72rem; line-height: 1.48 }

.store-page .faq-search {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
}

.faq-search .ui-icon { position: absolute; left: 15px; pointer-events: none }
.store-page .faq-search input {
  width: 100%;
  height: 48px;
  min-height: 0;
  padding: 5px 14px 5px 37px;
  border-radius: 10px;
  background: #f8fcfa;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
}

.faq-filters { display: flex; flex-wrap: wrap; justify-content: start; align-items: center; gap: 8px; margin-bottom: 15px }
.store-page .faq-filters button {
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 999px;
  border-color: transparent;
  color: var(--muted);
  background: var(--surface-muted);
  font-size: 12px;
  font-weight: 400;
}
.store-page .faq-filters button:hover { background: var(--edge) }
.store-page .faq-filters button[aria-pressed="true"] {
  background: var(--brand-gradient);
  border-color: transparent;
  color: var(--paper);
  font-weight: 700;
}

.questions { overflow: hidden; border: 1px solid var(--edge); border-radius: 14px; background: var(--paper); text-align: left }
.questions details + details { border-top: 1px solid var(--edge) }
.questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  list-style: none;
  cursor: pointer;
  padding: 12px 21px;
  min-height: 61.6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.62;
}

.questions summary::-webkit-details-marker { display: none }
.questions summary::after {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: translateY(-2px) rotate(45deg);
}
.questions summary:focus-visible { outline-offset: -3px }
.questions details[open] summary, .questions summary:hover { background: var(--surface-muted) }
.questions details[open] summary::after { transform: translateY(2px) rotate(225deg) }
.questions details p {
  margin: 0;
  max-width: none;
  padding: 12px 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
#faq .faq-note { margin: 14px 0 0; color: var(--muted); font-size: 12px }
#faq-empty { padding: 20px 14px; border: 1px solid var(--edge); border-radius: 14px; background: var(--surface-muted) }

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  align-items: center;
  text-align: left;
  border: 1px solid var(--edge);
  border-radius: 1.25rem;
  background: var(--paper);
  padding: clamp(1.3rem, 4vw, 3rem);
  box-shadow: var(--lift);
}

.support-panel p { margin: .45rem 0 0 }
.support-panel .section-label { margin-inline: 0 }

.support-widget {
  position: fixed;
  right: 31px;
  bottom: 31px;
  z-index: 8;
  display: grid;
  justify-items: end;
}

.store-page button.support-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-width: 175px;
  min-height: 60px;
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--paper);
  background: linear-gradient(125deg, #6941f5, #922bf1);
  border-color: transparent;
  box-shadow: var(--brand-shadow);
  font-size: 17px;
  font-weight: 700;
}

.store-page button.support-float:hover { filter: brightness(.94) }

.support-float .ui-icon { font-size: 20px }
.support-chat {
  position: absolute;
  z-index: 1;
  inset: auto 0 calc(100% + 12px) auto;
  width: min(23rem, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100dvh - 7rem);
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--edge);
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.support-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .7rem .85rem .7rem 1rem;
  border-color: var(--edge);
}

.support-chat-header h2 { margin: 0; font-size: 1rem }
.store-page #support-close {
  width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  color: var(--muted);
}

.support-chat-body { --support-qr-size: 145px; padding: .4rem 1rem 1rem }
.support-chat-contact { display: block; padding: .8rem 1rem; border-top: 1px solid var(--edge); font-size: .88rem }

.inner-page { margin-inline: auto }
.page-heading {
  padding: clamp(2.6rem, 6vw, 5rem) 0 1.7rem;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 1.8rem;
}

.store-page .page-heading h1 {
  font-size: clamp(1.9rem, 5vw, 3.45rem);
  letter-spacing: -.035em;
  margin-bottom: .8rem;
  font-weight: 850;
}

.page-heading p { color: var(--muted); margin: 0; max-width: 44rem; line-height: 1.7 }
.overview-heading {
  text-align: center;
  padding-block: clamp(3.6rem, 7vw, 6.5rem) clamp(2.7rem, 5.3vw, 4.4rem);
  margin-bottom: 2.25rem;
}

.overview-heading p { margin-inline: auto; text-wrap: balance }
.guide-outline {
  list-style: none;
  padding: 0;
  margin: 1.65rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--edge);
  border-radius: .8rem;
  background: var(--paper);
  box-shadow: var(--lift);
  text-align: left;
}

.guide-outline li { padding: .95rem 1rem; font-size: .92rem; font-weight: 650 }
.guide-outline li + li { border-inline-start: 1px solid var(--edge) }
.guide-layout { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: start }
.guide-index {
  border: 1px solid var(--guide-edge);
  border-radius: 13px;
  background: var(--guide-tint);
  padding: 22px;
  font-size: .875rem;
}
.guide-index h2 { margin: 0 0 14px; font-size: .875rem; line-height: 22px }
.guide-index nav { display: grid; gap: 4.5px }
.guide-index a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: .35rem .55rem;
  border-radius: .4rem;
  color: var(--muted);
  text-decoration: none;
}
.guide-index a:hover { color: var(--accent); background: var(--accent-soft) }
.guide-section { scroll-margin-top: 5.65rem }
.guide-section > h2 { font-size: 1.45rem; margin-bottom: .7rem }
.guide-section > p, .guide-steps p, .prose p { color: var(--muted); line-height: 1.72 }
.guide-steps {
  display: grid;
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-steps > li {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr);
  grid-auto-rows: min-content;
  align-items: start;
  gap: 16px 21px;
  padding: 25px;
  border: 1px solid #e4eee8;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 7px 20px rgb(35 47 41 / .035);
}
.guide-steps > li.guide-step-catalog { min-height: 355px }
.guide-steps > li.guide-step-checklist { min-height: 168px }
.guide-steps > li.guide-step-payment { min-height: 136px }
.guide-steps > li.guide-step-status { min-height: 111px }
.guide-step-number {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  border-radius: 12px;
  background: linear-gradient(135deg, #287cf6, #8046f4 60%, #db20c4);
  color: var(--paper);
  font-size: .875rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 13px rgb(112 68 225 / .18);
}
.guide-steps h3 { margin: 1px 0 8px; font-size: 17px; line-height: 25px }
.guide-steps p, .prose p { margin: 0 }
.guide-step-copy p { font-size: .91rem; line-height: 1.7 }
.guide-checks { display: grid; gap: .3rem; margin: .75rem 0 0; padding: 0; list-style: none }
.guide-checks li { position: relative; padding-inline-start: 1.2rem; color: var(--muted); font-size: .82rem; line-height: 1.58 }
.guide-checks li::before {
  position: absolute;
  inset: .2rem auto auto 0;
  display: grid;
  width: .8rem;
  height: .8rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-size: .58rem;
  font-weight: 700;
  content: '✓';
}
.notice {
  border: 1px solid var(--edge);
  border-radius: .74rem;
  background: var(--surface-muted);
  padding: .85rem 1rem;
}

.notice { margin: 0 0 .4rem; line-height: 1.55 }
.form-panel {
  gap: .72rem;
  border: 1px solid var(--edge);
  border-radius: .95rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  margin-top: 1rem;
  background: var(--paper);
}

.form-panel input { width: 100%; min-width: 0 }
.form-panel button { justify-self: start }
.store-page .order { border-radius: .95rem; box-shadow: var(--lift) }
.store-page #status { background: var(--surface-muted); color: var(--muted) }
.store-page #status:is([data-state="pending"], [data-state="needs_review"], [data-state="refund_pending"]) { background: var(--warning-soft); color: var(--warning) }
.store-page #status[data-state="paid_waiting"] { background: var(--info-soft); color: var(--info) }
.store-page #status[data-state="delivered"] { background: var(--success-soft); color: var(--success) }
.store-page #error { background: var(--error-soft); color: var(--error); border-inline-start: 2px solid currentColor }
.store-page #codes { font-size: clamp(.7rem, 3.4vw, .9rem) }

.site-footer { border-top: 1px solid var(--edge); color: var(--muted); padding: 2.8rem 0 1.55rem; font-size: .9rem }
.footer-links { display: grid; grid-template-columns: 1.95fr repeat(3, 1fr); gap: 1.2rem 1.75rem }
.footer-about p, .site-footer > .site-wrap > p { margin: .85rem 0 0; line-height: 1.65 }
.footer-links nav { display: grid; align-content: start; gap: .55rem }
.footer-links nav strong { color: var(--ink); margin-bottom: .3rem }
.footer-links nav a { color: var(--muted); text-decoration: none }
.footer-links nav a:hover { color: var(--accent); text-decoration: underline }
.site-footer > .site-wrap > p { border-top: 1px solid var(--edge); margin-top: 1.65rem; padding-top: 1.1rem }

.mobile-menu {
  width: min(360px, 100%);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: rgba(0, 0, 0, .88);
  box-shadow: -6px 0 24px rgba(0, 0, 0, .18);
  font-family: Inter, "Microsoft YaHei", sans-serif;
}

.mobile-menu::backdrop { background: rgba(0, 0, 0, .45) }
.mobile-menu-head { display: flex; gap: 8px; align-items: center; min-height: 57px; padding: 0 16px; border-bottom: 1px solid #eee }
.mobile-menu-head strong { font-size: 16px; font-weight: 600 }
.store-page .mobile-menu-head button {
  position: relative;
  min-width: 24px;
  min-height: 24px;
  margin-inline-start: 8px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: rgba(0, 0, 0, .45);
  background: transparent;
}
.mobile-menu-head button::after { position: absolute; inset: -10px; content: '' }
.store-page .mobile-menu-head button:hover { background: #f4f4f4 }
.mobile-menu nav { display: grid; gap: 8px; padding: 16px }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  color: #465262;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}
.mobile-menu nav .ui-icon { width: 18px; height: 18px }
.mobile-menu nav a[aria-current], .mobile-menu nav a:hover { color: #684ce9; background: #f1eeff }
.mobile-menu nav a[aria-current] { font-weight: 700 }

@media (min-width: 901px) {
  .site-top, .mobile-menu { zoom: 1.12 }
  .mobile-menu { height: calc(100dvh / 1.12) }
}

@media (max-width: 1050px) {
  .store-page .site-header .site-top { min-height: 63px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding-inline: 16px }
  .site-header .site-wordmark { min-width: 0; font-size: 18px }
  .site-header .brand-mark { width: 32px; height: 32px }
  .site-nav, .site-tools .tool-secondary, .site-tools .tool-buy .ui-icon, .buy-desktop { display: none }
  .buy-mobile { display: inline }
  .store-page .site-tools .tool-buy { min-height: 44px; min-width: 61.5px; font-size: 14px }
  .store-page .mobile-menu-button {
    display: inline-flex;
    min-height: 44px;
    min-width: 44px;
    padding: 0;
    border-color: #e5dff7;
    border-radius: 8px;
    color: rgba(0, 0, 0, .88);
    font-size: 14px;
    font-weight: 650;
  }
}

@media (max-width: 52rem) {
  .store-page .site-wrap { width: calc(100% - 2rem) }
  .home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .purchase-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem }
  .guide-layout { grid-template-columns: 10.5rem minmax(0, 1fr) }
  .support-panel { grid-template-columns: 1fr }
  .support-links { justify-content: start }
}

@media (min-width: 40.01rem) {
  .hero .button.secondary { min-width: 10.75rem }
}

@media (max-width: 40rem) {
  .store-page main { padding-bottom: 3.2rem }
  .hero { min-height: clamp(28rem, 136vw, 33.08rem); padding: 4rem 0 3.2rem }
  .store-page .hero h1 { max-width: 15rem; font-size: clamp(2.12rem, 10.26vw, 2.5rem); line-height: 1.14 }
  .hero h1::after { width: 2.35rem; margin-top: 1.4rem }
  .store-page .hero #intro { font-size: clamp(1.05rem, 4.55vw, 1.25rem); margin-block: 1.15rem 1.9rem }
  .hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100% }
  .hero .button { min-height: 2.88rem; min-width: 0; padding-inline: .35rem; font-size: .87rem }
  #advantages, #steps, #video-tutorial, #purchase-notes { padding-inline: 4px }
  #video-tutorial, .home-section { padding-block: 3.25rem 3.375rem }
  .home-section .section-label { line-height: 1.4 }
  .home-section h2 { margin-block: .875rem .5rem; font-size: clamp(1.6rem, 7.18vw, 1.75rem); line-height: 1.43 }
  #advantages h2 { max-width: 13rem; margin-inline: auto }
  .home-intro { max-width: 20rem; font-size: .88rem }
  .home-card-grid, .purchase-steps { grid-template-columns: minmax(0, 1fr) }
  .home-card-grid { margin-top: 2.25rem }
  .home-card { min-height: 10.75rem }
  .home-card-icon { width: 2.75rem; height: 2.75rem }
  #advantages .home-card p { font-size: .79rem; line-height: 1.64 }
  .purchase-steps { margin-top: 2.625rem; gap: 1.25rem }
  .purchase-steps .home-card { min-height: 11.9rem }
  .purchase-steps .home-card + .home-card::before {
    position: absolute;
    bottom: 100%;
    left: 2.8rem;
    width: 1px;
    height: calc(1.25rem + 2px);
    background: var(--edge);
    content: '';
  }
  .tutorial-player { margin-top: 2.375rem }
  .home-section .tutorial-caption { font-size: .72rem; line-height: 1.4 }
  .tutorial-actions { display: grid; grid-template-columns: .98fr 1.13fr .98fr; width: 100%; margin-top: 1.2rem }
  .store-page .tutorial-actions :is(a, button) { gap: .33rem; min-height: 2.4rem; padding-inline: .26rem; font-size: clamp(.62rem, 3vw, .74rem) }
  .home-notes .home-card-grid { margin-top: 2rem; padding-top: 1.75rem }
  .home-notes .home-card { min-height: 9.35rem; padding: 1rem 1.15rem }
  .home-notes .home-card h3 { margin-top: .72rem }
  .home-notes .home-card p { font-size: .79rem }
  .home-close h2 { margin-top: 0 }
  .home-close .home-intro { max-width: 22rem }
  .faq-summary { grid-template-columns: minmax(0, 1fr); margin-block: 2.125rem 1.12rem }
  .faq-summary > div { min-height: 4.08rem; padding-block: .65rem }
  .faq-summary > div + div { border-inline-start: 0; border-top: 1px solid var(--edge) }
  .guide-outline { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .guide-outline li:nth-child(3) { border-inline-start: 0 }
  .guide-outline li:nth-child(n+3) { border-top: 1px solid var(--edge) }
  #faq { width: calc(100% + 2rem); max-width: none; margin-inline: -1rem; padding: 54px 20px; scroll-margin-top: 76px }
  #faq .section-label { font-size: .85rem; line-height: 1.2 }
  #faq h2 { margin-top: .875rem; font-size: clamp(1.6rem, 7.18vw, 1.75rem) }
  .store-page .faq-search { margin-bottom: 16px }
  .store-page .faq-search input { height: 43px }
  .store-page .faq-filters button { min-height: 32px }
  .faq-filters { margin-bottom: 14px }
  .questions summary { min-height: 55px; padding-inline: 19px; font-size: 13px }
  .questions details p { font-size: 13px }
  .support-widget { right: 14px; bottom: 16px }
  .store-page button.support-float { min-width: 128px; min-height: 46px; padding: 8px 14px; font-size: 15px }
  .support-float .ui-icon { font-size: 18px }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .footer-about { grid-column: 1 / -1 }
  .site-footer { padding-bottom: 4.15rem }
}

/* Marketing-page proportions shared by the buying routes. */
#contact { padding-inline: 22px }
#contact .support-panel { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2.25rem; min-height: 25.6rem; border-color: var(--accent-edge); background: var(--paper) }
#contact h2 { font-size: clamp(1.625rem, 4vw, 2.25rem) }
.support-panel .support-links { justify-content: start; margin: 1.25rem 0 }
.support-prep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; list-style: none; margin: 1.7rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--edge) }
.support-prep li { display: flex; gap: .58rem; align-items: start; font-size: .83rem }
.support-prep .home-card-icon { flex: none; width: 1.65rem; height: 1.65rem; border-radius: .55rem; font-size: .85rem; border: 0 }
.support-prep li div span { display: block; margin-top: .18rem; color: var(--muted); font-size: .72rem }
.support-contact { --support-qr-size: 195px; align-content: center; align-self: stretch; min-height: 10rem; padding: 1.2rem; border-inline-start: 1px solid var(--accent-edge) }
[data-support-contact] { display: grid; justify-items: center; gap: .5rem; text-align: center }
[data-support-contact] p { margin: 0; color: var(--muted); font-size: .81rem; overflow-wrap: anywhere }
.support-qr { display: block; width: min(100%, var(--support-qr-size, 116px)); padding: .35rem; border: 1px solid var(--accent-edge); border-radius: .85rem; background: var(--paper) }
.support-qr img { display: block; width: 100%; height: auto }
.support-channel-title { font-size: .93rem }
.support-chat-body .support-channel-title { grid-row: 1 }
.store-page .support-wechat { min-height: 2.25rem; padding: .35rem .75rem; background: var(--brand-gradient); font-size: .82rem }
.store-page .support-wechat:hover { filter: brightness(.94) }
.support-qq-number { user-select: all; color: var(--ink); font-variant-numeric: tabular-nums }
.store-page .support-copy { min-height: 2rem; padding: .26rem .62rem; font-size: .78rem }
.support-copy-status { color: var(--accent); font-size: .75rem }

.page-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 .22rem 1rem;
  padding-inline: .72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .86rem;
  font-weight: 760;
}
.secondary-pill { background: var(--paper); border: 1px solid var(--edge) }

.store-page:is([data-route="purchase"], [data-route="guide"]) main.site-wrap { width: 100% }
#purchase-page .overview-heading {
  min-height: 22.5rem;
  padding: 6.25rem 1.25rem 2.45rem;
  margin: 0;
  border-bottom: 1px solid #e3ece7;
}
#purchase-page .page-heading h1 { font-size: clamp(2.375rem, 5.4vw, 3.625rem); line-height: 1.55; margin: 0 auto .6rem }
#purchase-page .overview-heading p { font-size: clamp(1rem, 2vw, 1.125rem) }
.purchase-content { width: min(100% - 2rem, 1165px); margin-inline: auto; padding-top: 4.2rem }
.catalog-guide-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  width: fit-content;
  font-size: .9rem;
  font-weight: 700;
}
.catalog-heading-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1rem }
.catalog-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}
.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(5.25rem, 1fr) auto minmax(9rem, 12rem);
  gap: .75rem;
  align-items: center;
  min-height: 4.6rem;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid #e5dff7;
}
.catalog-toolbar h2 { margin: 0; font-size: 1.25rem; line-height: 1.3 }
.catalog-result { margin: 1.18rem 0 1.25rem }
.catalog-result h2 { margin: 0; color: var(--muted); font-size: .86rem; font-weight: 550 }
.catalog-result span { color: var(--muted); font-size: .86rem }
.catalog-filters { display: flex; flex-wrap: wrap; gap: .5rem }
.store-page .catalog-filters button {
  min-height: 2.94rem;
  padding: .35rem .9rem;
  border-color: #e5dff7;
  border-radius: .72rem;
  background: var(--paper);
  color: var(--ink);
  font-size: .89rem;
  white-space: nowrap;
}
.store-page .catalog-filters button:hover { background: var(--surface-muted) }
.store-page .catalog-filters button[aria-pressed="true"] {
  border-color: var(--accent-edge);
  color: var(--accent);
  background: var(--accent-soft);
}
.catalog-search { position: relative; margin: 0; color: var(--muted) }
.catalog-search .ui-icon { position: absolute; top: .97rem; left: .72rem; pointer-events: none }
.store-page .catalog-search input { width: 100%; min-height: 2.85rem; padding: .35rem .7rem .35rem 2.05rem; font-size: .875rem }
.catalog-empty { padding: 1rem; border: 1px solid var(--edge); border-radius: .75rem; background: var(--surface-muted); color: var(--muted) }

.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem }
.plan-card {
  --support-clearance: 0px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 35.625rem;
  gap: .72rem;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border: 1px solid var(--edge);
  border-radius: 1.06rem;
  background: linear-gradient(156deg, #f8fbf9, #fff 75%);
  box-shadow: var(--lift);
}
.plan-card:focus-within, .plan-card:hover { border-color: var(--accent-edge) }
.plan-card > :not(.plan-watermark) { position: relative }
.plan-watermark {
  position: absolute;
  top: 11.2rem;
  right: -1rem;
  width: min(37%, 8.25rem);
  aspect-ratio: 1;
  fill: #188769;
  opacity: .065;
  transform: rotate(-16deg);
  pointer-events: none;
}
.plan-mark {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: #087253;
  font-size: .81rem;
  font-weight: 650;
}
.plan-channel {
  margin-inline-start: auto;
  padding: .28rem .55rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  text-align: center;
}
.plan-mark .ui-icon {
  width: 2.65rem;
  height: 2.65rem;
  padding: .58rem;
  border-radius: .65rem;
  color: #344f45;
  background: var(--surface-muted);
}
.plan-card[data-tier="plus"] .plan-mark .ui-icon { color: #3d519f; background: #eaf0ff }
.plan-card[data-tier^="pro"] .plan-mark .ui-icon { color: #5936ac; background: var(--accent-soft) }
.plan-card[data-tier="codex"] .plan-mark .ui-icon { color: #775317; background: #fff1d8 }
.plan-card h3 { margin: .1rem 0 0; font-size: 1.4375rem; line-height: 1.4; overflow-wrap: anywhere }
.plan-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.6 }
.plan-copy { display: grid; align-content: start; gap: .65rem; min-height: 7rem }
.plan-card .plan-price { min-height: 4.18rem; padding-top: .72rem }
.plan-card .plan-price strong { color: var(--accent); font-size: clamp(1.62rem, 4vw, 2.2rem) }
.plan-card-facts { display: grid; gap: .5rem; margin: 0 0 .35rem; padding: .15rem 0 0; list-style: none; font-size: .81rem; line-height: 1.5 }
.plan-card-facts:empty { display: none }
.plan-card-facts li { display: flex; align-items: baseline; gap: .5rem; color: var(--muted) }
.plan-card-facts strong { color: var(--ink); flex: none; font-weight: 650 }
.plan-card-footer {
  margin-top: auto;
  padding-inline-end: var(--support-clearance);
}
.plan-price strong { font-size: clamp(1.45rem, 4vw, 1.85rem); line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.04em }
.plan-price span { margin-inline-start: .25rem; color: var(--muted); font-size: .8rem }
.store-page .plan-open { width: 100%; min-height: 3rem; padding: .35rem .45rem; border: 0; background: linear-gradient(110deg, #6261f1, #9640eb); color: var(--paper); font-size: .82rem; text-align: center }
.store-page .plan-open:hover { filter: brightness(.94) }

@media (min-width: 80rem) {
  .plan-card:nth-child(3n) {
    /* The fixed button occupies the outer gutter and part of the rightmost column. */
    --support-clearance: max(0px, calc(12.875rem - (100vw - 1165px) / 2 - 1.75rem + .25rem));
  }
}
@media (min-width: 40.01rem) and (max-width: 79.99rem) {
  .store-page[data-route="purchase"] .support-widget { right: 14px }
  .store-page[data-route="purchase"] .support-float { min-width: 3rem; min-height: 3rem; padding: 0 }
  .store-page[data-route="purchase"] .support-label { display: none }
  .plan-card { --support-clearance: 2rem }
}

#checkout-page { --checkout-ink: #202536; --checkout-muted: #626d83; --checkout-edge: #e9e5f2; width: min(100%, 1210px); padding-top: 3rem }
.checkout-back { display: inline-flex; align-items: center; gap: .45rem; color: var(--checkout-muted); font-size: .88rem; text-decoration: none }
.checkout-back:hover { color: var(--accent); text-decoration: underline }
.checkout-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 23px 0 25px; border: 0 }
.checkout-heading h1 { margin: 0 0 .45rem; color: var(--checkout-ink); font-size: 27px; line-height: 42px; font-weight: 750 }
.checkout-heading p { margin: 0; color: var(--checkout-muted); font-size: .875rem; line-height: 1.6 }
.checkout-progress { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 0; padding: 0; list-style: none; white-space: nowrap }
.checkout-progress li { display: flex; align-items: center; gap: .45rem; color: var(--checkout-muted); font-size: .8rem }
.checkout-progress li + li::before { width: 1.4rem; height: 1px; margin-inline-end: .25rem; background: var(--checkout-edge); content: '' }
.checkout-progress li span { display: grid; width: 1.6rem; height: 1.6rem; place-items: center; border: 1px solid var(--checkout-edge); border-radius: 50%; font-size: .72rem; font-weight: 700 }
.checkout-progress .completed span { border-color: transparent; background: #f3efff; color: var(--accent) }
.checkout-progress [aria-current="step"] { color: var(--accent); font-weight: 750 }
.checkout-progress [aria-current="step"] span { border-color: transparent; background: var(--accent); color: var(--paper); box-shadow: var(--brand-shadow) }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(0, 1fr); align-items: start; gap: 1.5rem }
.checkout-product, .checkout-form {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border: 1px solid var(--checkout-edge);
  border-radius: 21px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgb(31 26 54 / .04);
}
.checkout-product { overflow: hidden; background: linear-gradient(126deg, #fff 58%, #f5faf8) }
.checkout-product > :not(.checkout-watermark) { position: relative }
.checkout-watermark { position: absolute; inset: 10.75rem -4.75rem auto auto; width: min(54%, 20.15rem); height: auto; aspect-ratio: 1; fill: #17856b; opacity: .07; pointer-events: none }
.checkout-plan-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .85rem; font-size: .9rem }
.checkout-plan-meta > span:first-child { display: inline-flex; align-items: center; gap: .65rem; color: var(--success) }
.checkout-plan-meta .ui-icon { width: 2.55rem; height: 2.55rem; padding: .55rem; border-radius: .7rem; background: #e7f3ef }
#checkout-plan-channel { color: var(--accent); background: #f2edff; font-size: .82rem; font-weight: 650; border-radius: 999px; padding: .35rem .75rem }
#checkout-plan-title { margin: 27px 0 1rem; color: var(--checkout-ink); font-size: 36px; line-height: 1.46; font-weight: 750; overflow-wrap: anywhere }
.checkout-product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .45rem }
.checkout-product-price strong { color: #6445e8; font-size: clamp(2.15rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums }
.checkout-product-price span { color: var(--muted); font-size: .87rem }
#checkout-plan-description { margin: 1.85rem 0 1.5rem; color: var(--checkout-muted); font-size: .94rem; line-height: 1.75 }
.checkout-plan-facts { display: grid; gap: .7rem; margin: 0 0 1.6rem; font-size: .88rem; line-height: 1.55 }
.checkout-plan-facts:empty { display: none }
.checkout-plan-facts div { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem }
.checkout-plan-facts dt { color: var(--success); font-weight: 700 }
.checkout-plan-facts dd { margin: 0; color: var(--muted) }
.checkout-warning, .checkout-delivery { padding: 1rem 1.2rem; border-radius: .7rem }
.checkout-warning { border: 1px solid #f0cd84; background: #fff9eb; color: var(--warning) }
.checkout-warning strong { display: flex; align-items: center; gap: .5rem }
.checkout-warning p, .checkout-delivery p { margin: .4rem 0 0; font-size: .88rem; line-height: 1.65 }
.checkout-delivery { margin-top: .65rem; background: #f4f8f6 }
.checkout-delivery h3 { margin: 0; font-size: .95rem }
.checkout-delivery a { display: inline-block; margin-top: .55rem; font-size: .86rem; font-weight: 650 }

.checkout-form { display: grid; gap: 1.65rem; padding: clamp(1.25rem, 2.75vw, 1.95rem); border-color: #e3ddff }
.checkout-form h2 { display: flex; align-items: center; gap: .65rem; margin: 0; color: var(--checkout-ink); font-size: 20px; font-weight: 750; line-height: 31px }
.checkout-form h2 .ui-icon { width: 37px; height: 37px; padding: .55rem; border-radius: .7rem; background: #f3edff; color: var(--accent) }
.checkout-field { padding-bottom: .45rem }
.checkout-field label, .checkout-methods legend { margin: 0 0 .55rem; color: var(--checkout-ink); font-size: 14px; font-weight: 400; line-height: 22px }
.checkout-email-field { position: relative }
.checkout-email-field .ui-icon { position: absolute; inset: 50% auto auto 12px; transform: translateY(-50%); pointer-events: none }
.store-page :is(.checkout-email-field, .checkout-coupon) input { --field-border: #d9d9d9; width: 100%; border-radius: 8px; font-size: 14px }
.checkout-email-field input { min-height: 58px; padding-inline-start: 33px }
.checkout-field p, .checkout-coupon p { margin: .35rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.5 }
.checkout-methods { display: grid; gap: .6rem; min-width: 0; margin: 0; padding: 0; border: 0 }
.checkout-method { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; min-height: 52px; padding: .65rem .9rem; border: 1px solid #b29af6; border-radius: 8px; background: #faf8ff; font-size: .875rem }
.checkout-method .ui-icon { color: var(--accent) }
.checkout-methods small { margin-inline-start: auto; color: var(--checkout-muted); font-size: .8rem; font-variant-numeric: tabular-nums }
.checkout-coupon { margin-block: .65rem .3rem }
.checkout-coupon summary { display: flex; align-items: center; gap: .45rem; width: fit-content; list-style: none; color: #1661c6; font-size: .875rem; font-weight: 650; cursor: pointer }
.checkout-coupon summary::-webkit-details-marker { display: none }
.checkout-coupon input { margin-top: .7rem }
.checkout-totals { margin: 0; padding: .5rem 1rem; border-radius: .7rem; background: #f6f9f7 }
.checkout-totals div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; padding-block: .72rem; font-size: .92rem }
.checkout-totals div + div { border-top: 1px solid var(--edge) }
.checkout-totals div:last-child { font-size: 1.04rem; font-weight: 750 }
.checkout-totals dd, .checkout-totals label { margin: 0 }
.checkout-quantity select { min-width: 4rem; min-height: 2.1rem; padding: .25rem .38rem }
.store-page #checkout-submit { min-height: 48px; margin-top: -.65rem; border-radius: 7px; background: #7055dc; font-size: .875rem }
.store-page #checkout-submit:hover { background: #5d40c7 }
.checkout-notice { margin: 0; padding: .75rem .9rem; border: 1px solid var(--accent-edge); border-radius: .6rem; background: #f7f4ff; color: var(--ink); font-size: .86rem }
.checkout-footnote { margin: -.95rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.55; text-align: center }
.checkout-footnote .ui-icon { color: var(--accent) }
.catalog-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2.7rem;
  padding: clamp(1.25rem, 3vw, 2.65rem);
  border-radius: 1rem;
  border: 1px solid var(--edge);
  background: var(--surface-muted);
}
.catalog-help h2 { font-size: clamp(1.4rem, 2.9vw, 1.9rem); margin-bottom: .45rem }
.catalog-help p { color: var(--muted); line-height: 1.7; margin-bottom: 0 }

.store-page[data-route="guide"] { background: var(--paper) }
#guide-page {
  --guide-tint: #fcfbff;
  --guide-edge: #e8e4f8;
}
#guide-page .overview-heading {
  min-height: 624px;
  padding: 84px 1.25rem 64px;
  margin-bottom: 75px;
  background: radial-gradient(ellipse at 50% 3%, #f4f1ff, transparent 65%);
}
#guide-page .overview-heading .page-pill { margin-bottom: 1.15rem }
#guide-page .page-heading h1 { font-size: clamp(2.25rem, 5.25vw, 3.375rem); line-height: 1.55 }
#guide-page .overview-heading p { max-width: 46rem; font-size: .95rem; line-height: 1.85 }
#guide-page .guide-outline { width: min(100%, 1210px); margin: 2.65rem auto 0; border-color: var(--accent-edge) }
#guide-page .guide-outline li { display: grid; align-content: center; min-height: 146px; gap: .4rem; padding: .9rem 1.2rem }
#guide-page .guide-outline li + li { border-color: var(--accent-edge) }
.guide-outline + .hero-actions .button { min-height: 2.8rem; padding-inline: 1rem; font-size: .875rem }
.guide-outline li .ui-icon { padding: .55rem; width: 2.15rem; height: 2.15rem; border-radius: .6rem; background: var(--accent-soft); color: var(--accent) }
.guide-outline li span { color: var(--muted); font-size: .83rem; line-height: 1.5; font-weight: 400 }
#guide-page .guide-layout { width: min(100% - 2rem, 1165px); margin-inline: auto; grid-template-columns: 246px minmax(0, 1fr); gap: 47.5px }
#guide-page .guide-index { position: sticky; top: 105px }
.guide-content .guide-section > .section-label { color: var(--accent); font-size: 14px; font-weight: 700; margin: 0 0 .7rem }
.guide-content .guide-section > h2 { font-size: clamp(1.55rem, 3.3vw, 1.875rem); margin-bottom: .75rem }
#guide-video > .section-label { margin-bottom: .8875rem }
#guide-video > h2 { line-height: 1.565; margin-bottom: .25rem }
#guide-page .guide-chapter { padding-top: 4.5px; scroll-margin-top: 107px }
#guide-page .guide-section + .guide-chapter { margin-top: 63px }
.guide-content .guide-chapter > .section-label { margin-bottom: 0; font-size: 13px; line-height: 19px }
.guide-content .guide-chapter > h2 { margin: 12px 0 11px; font-size: 30px; line-height: 47px }
#guide-overview > p { margin: 0; min-height: 55px; font-size: .94rem; line-height: 27.5px }
.guide-example {
  display: grid;
  grid-column: 2;
  margin: 0;
  padding: 17px;
  border: 1px solid #e5e0f7;
  border-radius: 11px;
  background: #fbfaff;
  font-size: .88rem;
}
.guide-step-catalog .guide-example { align-self: end; min-height: 144px }
.guide-step-catalog { grid-template-rows: 1fr auto; grid-auto-rows: auto }
.guide-step-catalog .guide-step-copy { align-self: start }
.guide-example figcaption, .guide-example-plan { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem }
.guide-example figcaption { padding-bottom: .65rem; border-bottom: 1px solid var(--guide-edge); font-size: .79rem }
.guide-example figcaption span { padding: .2rem .53rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 700 }
.guide-example-plan { padding-top: .6rem }
.guide-example-plan p { margin-top: .18rem; color: var(--muted); font-size: .75rem }
.guide-example a { flex: none; color: var(--accent); font-size: .98rem; font-weight: 750; text-decoration: none }
.guide-example a:hover { text-decoration: underline }
.guide-faq { display: grid; gap: 12px }
.guide-faq article { min-height: 93px; padding: 20px 21px; border: 1px solid #e4eee8; border-radius: .7rem; background: var(--paper) }
.guide-faq h3 { margin: 0 0 .35rem; font-size: .91rem; line-height: 1.42 }
.guide-faq p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.65 }
.guide-contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: .9rem 1.3rem;
  margin-top: 56px;
  padding: 1.5rem;
  border: 1px solid var(--guide-edge);
  border-radius: .95rem;
  background: linear-gradient(135deg, #faf8ff, #fff);
}
.guide-contact-box h3 { display: flex; align-items: center; gap: .48rem; margin: 0; font-size: 1rem }
.guide-contact-box h3 .ui-icon { color: var(--accent) }
.guide-contact-box p { margin: .4rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.55 }
.guide-contact-actions { justify-items: start; gap: .45rem }
.guide-contact-actions .support-copy {
  min-height: 2.25rem;
  padding-inline: .75rem;
  border: 0;
  background: var(--brand-gradient);
  color: var(--paper);
  font-size: .82rem;
}
.guide-contact-actions .support-copy:hover { background: var(--brand-gradient); filter: brightness(.94) }
.guide-contact-actions .support-qq-number { color: inherit }
.guide-contact-actions .configured-support-copy { margin: 0; text-align: left }

.store-page[data-route="orders"] main, .store-page[data-route="invoice"] main { flex: none }
.store-page[data-route="orders"] main { padding-bottom: 140px }
.trade-page { width: min(100%, 1098px) }
#orders-page .page-heading { padding-block: 65px 0; margin: 0 0 28px; border: 0 }
#orders-page .page-heading h1 { color: #1d2522; font-size: clamp(2.125rem, 4.8vw, 2.625rem); font-weight: 700; line-height: 1.57; margin-bottom: 18px }
#orders-page .page-heading p, #invoice-page .page-heading p { max-width: none }
#orders-page .page-heading p { color: #65756c; line-height: 25px }
#order-lookup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 103px;
  margin-top: 0;
  padding: 24px 27px;
  border-color: #e3ddff;
  border-radius: 10px;
  box-shadow: none;
}
.lookup-input { display: grid; min-width: 0; position: relative }
.lookup-input .ui-icon { position: absolute; inset-inline-start: 12px; top: 50%; width: 14px; height: 14px; color: var(--ink); transform: translateY(-50%); pointer-events: none }
.store-page #order-lookup input { --field-border: #d9d9d9; min-height: 47px; padding-inline-start: 33px; border-radius: 8px; font-size: 14px }
.store-page #order-lookup input::placeholder { color: #737c7b }
.store-page #order-lookup button { min-width: 92px; min-height: 47px; border-radius: 8px; padding-inline: .75rem; white-space: nowrap; font-size: 14px; font-weight: 600 }
#orders-page .order { margin-bottom: 1rem }
.order .order-summary {
  grid-template-columns: minmax(0, 1fr) minmax(9rem, .55fr);
  gap: .75rem 1rem;
  margin-block: 1.15rem;
  padding: 0;
  border: 0;
}
.order .order-summary > div { grid-template-columns: minmax(0, 1fr); gap: .35rem; align-content: center; padding: .85rem 1rem }
.order-summary .order-summary-number { grid-column: 1 / -1; background: var(--base); border-radius: .6rem }
#order-id { font: clamp(.72rem, 3.5vw, .875rem)/1.45 ui-monospace, monospace }
.order-summary .order-summary-total { background: var(--surface-muted); color: var(--ink); border-radius: .6rem }
#order-amount { font-size: clamp(1.5rem, 3.8vw, 2.35rem); font-weight: 760; line-height: 1.2 }
#orders-page .order[hidden] + #order-lookup { margin-top: 0 }

.store-page[data-route="invoice"] main.site-wrap { width: 100%; padding-bottom: clamp(4.25rem, 7.75vw, 7rem); background: #f5f8f6 }
#invoice-page { width: min(100% - 2rem, 1098px) }
.invoice-back { display: inline-block; margin-top: 52px; color: var(--muted); font-size: .91rem; text-decoration: none }
.invoice-back:hover { text-decoration: underline }
#invoice-page .page-heading { padding-block: 25px 0; margin: 0 0 33px; border: 0 }
#invoice-page .page-heading h1 { display: flex; align-items: center; gap: .5rem; font-size: clamp(1.875rem, 4.6vw, 2.25rem); font-weight: 700; line-height: 1.57 }
.invoice-status {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  margin-bottom: 1.4rem;
  padding: .55rem .85rem;
  border: 1px solid #f0d695;
  border-radius: .55rem;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: .875rem;
}
.invoice-panel { --invoice-inset: 27px; border: 1px solid var(--edge); border-radius: .8rem; background: var(--paper) }
.invoice-panel h2 { display: flex; align-items: center; min-height: 63px; margin: 0; padding: .85rem var(--invoice-inset); border-bottom: 1px solid var(--edge); font-size: 1.1rem }
.invoice-lookup { display: flex; flex-direction: column; gap: .85rem; min-height: 286px; padding: 25px var(--invoice-inset) 25.5px }
.invoice-fields { display: grid; gap: 26px }
#invoice-link-fields { gap: .65rem }
.invoice-field label { margin-bottom: .95rem; font-size: .88rem }
.invoice-field label::before { margin-inline-end: .3rem; color: var(--error); content: '*' }
.store-page .invoice-field input { --field-border: #d9d9df; width: 100%; min-height: 36px; padding-block: .45rem; font-size: .9rem }
.store-page .invoice-field input::placeholder { color: #737c7b }
.store-page .invoice-field input[aria-invalid="true"] { --field-border: var(--error); --field-focus: var(--error) }
.invoice-lookup p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55 }
.invoice-lookup .form-error { color: var(--error) }
.invoice-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto }
.invoice-actions :is(.button, button) { min-height: 2.55rem; font-size: .85rem }
.invoice-actions button { min-width: 110px }
.store-page .invoice-switch { min-width: 0; padding-inline: .55rem; border: 0; background: transparent; color: var(--accent) }
.store-page .invoice-switch:hover { background: var(--accent-soft) }
#invoice-method-status { padding: .65rem .8rem; border-radius: .5rem; background: var(--accent-soft); color: var(--ink) }
.invoice-result {
  display: grid;
  gap: .75rem;
  margin: 0 var(--invoice-inset) 1.65rem;
  padding: 1rem;
  border: 1px solid var(--edge);
  border-radius: .6rem;
  background: var(--surface-muted);
}
.invoice-result h3 { margin: 0; font-size: 1rem }
.invoice-order { display: grid; gap: .5rem; margin: 0; font-size: .88rem }
.invoice-order div { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .5rem }
.invoice-order dt { font-weight: 650 }
.invoice-order dd { margin: 0; overflow-wrap: anywhere; color: var(--muted) }

.legal-page { width: min(100%, 1210px); padding-top: 48px }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .875rem; text-decoration: none }
.legal-back:hover { color: var(--accent); text-decoration: underline }
.legal-heading { margin: 22px 0 51.5px; border: 0; text-align: center }
.legal-heading .page-pill { gap: .38rem; min-height: 28px; margin: 0 auto 13px; font-size: .78rem }
.legal-heading h1 { margin: 0 0 12px; color: #1f2545; font-size: 36px; font-weight: 700; line-height: 57px }
.legal-heading p { max-width: 42rem; margin: 0 auto; color: var(--muted); font-size: .9rem; line-height: 1.65; text-wrap: balance }
.legal-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); align-items: start; gap: 34px }
.legal-sidebar { position: sticky; top: 105px; display: grid; gap: .95rem; align-content: start }
.legal-page-nav { display: grid; gap: .3rem; padding: .35rem; border: 1px solid var(--edge); border-radius: .85rem; background: var(--paper) }
.legal-page-nav a {
  display: flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.6rem;
  padding: .38rem .65rem;
  border-radius: .6rem;
  color: var(--muted);
  font-size: .87rem;
  text-decoration: none;
}
.legal-page-nav a span { margin-inline-start: auto }
.legal-page-nav a[aria-current], .legal-page-nav a:hover { background: var(--accent-soft); color: var(--accent); font-weight: 700 }
.legal-index { display: grid; align-content: start; gap: .4rem; padding-inline: .7rem }
.legal-index strong { margin-bottom: .35rem; color: var(--muted); font-size: .78rem }
.legal-index a { color: var(--muted); font-size: .81rem; text-decoration: none }
.legal-index a:hover { color: var(--accent); text-decoration: underline }
.legal-content { padding: 31px 41px 31px 31px; border: 1px solid var(--edge); border-radius: 1rem; background: var(--paper) }
.legal-content section { scroll-margin-top: 105px }
.legal-content section + section { margin-top: 1.75rem; padding-top: 1.65rem; border-top: 1px solid var(--edge) }
.legal-content h2 { margin: 0 0 .65rem; font-size: 17px; font-weight: 750; line-height: 26px }
.legal-content p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.85 }
.legal-content p + p { margin-top: .55rem }
.footer-contact { justify-items: start; align-content: start; text-align: left }
.footer-contact .support-channel-title { grid-row: 1 }
.footer-contact .support-wechat, .footer-contact .support-channel-help { display: none }
.footer-legal { border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.15rem; margin-top: 2.1rem; padding-top: 1rem }
.footer-legal p { margin: 0; line-height: 1.65 }
.footer-legal a { color: var(--muted) }
.site-footer { padding-top: 3.35rem; min-height: 320px }
.store-page .site-footer .site-wrap { width: min(100% - 2.5rem, 1210px) }

@media (max-width: 63rem) {
  .catalog-toolbar { grid-template-columns: minmax(0, 1fr) minmax(9rem, 12rem) }
  .catalog-filters { grid-column: 1 / -1; grid-row: 2 }
  .catalog-search { grid-column: 2; grid-row: 1 }
}
@media (max-width: 52rem) {
  .legal-layout { grid-template-columns: minmax(10rem, 20%) minmax(0, 1fr); gap: 1.25rem }
  .checkout-layout { grid-template-columns: minmax(0, 1fr); gap: 1rem }
  #guide-page .guide-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 22px }
  #contact .support-panel { grid-template-columns: 1fr; gap: 1.25rem; min-height: 0 }
  .support-contact { border-inline-start: 0; border-top: 1px solid var(--accent-edge) }
  .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}

@media (max-width: 40rem) {
  #contact { padding-inline: 4px }
  #checkout-page { width: calc(100% + 2px); margin-inline: -1px; padding-top: 1.875rem }
  .checkout-heading { flex-wrap: wrap; gap: .9rem; margin-block: 17.5px 21px }
  .checkout-heading h1 { line-height: 38px }
  .checkout-progress { gap: .5rem }
  .checkout-progress li { gap: .3rem; font-size: .74rem }
  .checkout-progress li + li::before { width: .6rem; margin-inline-end: .1rem }
  .checkout-layout { gap: 20px }
  .checkout-product { padding: 20px }
  #checkout-plan-title { margin-top: 20px; font-size: 31px; line-height: 1.3 }
  .checkout-watermark { inset: 8.5rem -3.25rem auto auto; width: 65% }
  .checkout-form { gap: 1.35rem }
  .checkout-form h2 .ui-icon { width: 33px; height: 33px; padding: .45rem }
  .checkout-email-field input { min-height: 52px; padding-inline-start: 30px }
  .checkout-method { min-height: 46px }
  .store-page #checkout-submit { min-height: 43px }
  .support-prep, .catalog-help { grid-template-columns: 1fr }
  .catalog-help .support-links { justify-content: start }
  #purchase-page .overview-heading { min-height: 26.65rem; padding: 4.1rem 1.15rem 2.75rem }
  #purchase-page .overview-heading h1 { max-width: 16rem; line-height: 1.35; text-wrap: balance }
  .purchase-content { padding-top: 2.5rem }
  .catalog-toolbar { grid-template-columns: auto minmax(0, 1fr); gap: .8rem; padding-bottom: 1.2rem }
  .catalog-result { margin-bottom: .92rem }
  .catalog-toolbar .catalog-search { grid-column: 2; grid-row: 1; width: 100% }
  .catalog-toolbar .catalog-search input { min-height: 2.45rem }
  .catalog-toolbar .catalog-search .ui-icon { top: .76rem }
  .catalog-filters button { min-height: 2.5rem }
  .plan-cards { grid-template-columns: minmax(0, 1fr); gap: .75rem }
  .plan-card { --support-clearance: 6.5rem; min-height: 31.8125rem; padding: 25px }
  .plan-copy { min-height: 5.5rem }
  .plan-card .plan-price { min-height: 3.7375rem }
  .store-page .plan-open { min-height: 2.6875rem }
  #guide-page .overview-heading { min-height: 978px; padding: 58px 1.2rem 42px; margin-bottom: 44px }
  #guide-page .guide-layout { width: calc(100% - 1.875rem); grid-template-columns: minmax(0, 1fr); gap: 30px }
  #guide-video > .section-label { margin-bottom: .575rem }
  #guide-video > h2 { line-height: normal; margin-bottom: .875rem }
  #guide-video .tutorial-player { margin-top: .65rem }
  #guide-video .guide-video-intro { margin-bottom: 0 }
  .guide-section .guide-video-note { min-height: 68px }
  #guide-page .guide-index { position: static; padding: 20px }
  .guide-index h2 { margin-bottom: 13px; line-height: 20px }
  .guide-index nav { gap: 4px }
  .guide-index a { min-height: 32px }
  #guide-page .guide-chapter { padding-top: 2.5px; scroll-margin-top: 171px }
  #guide-page .guide-section + .guide-chapter { margin-top: 56px }
  .guide-content .guide-chapter > .section-label { font-size: 12px; line-height: 17px }
  .guide-content .guide-chapter > h2 { margin-bottom: 10px; font-size: 25px; line-height: 34px }
  #guide-overview > p { min-height: 74px; font-size: .875rem; line-height: 24.67px }
  .guide-steps { gap: 17px }
  .guide-steps > li { grid-template-columns: 37px minmax(0, 1fr); gap: 13px; padding: 17px }
  .guide-steps > li.guide-step-catalog { min-height: 351px }
  .guide-steps > li.guide-step-checklist { min-height: 186px }
  .guide-steps > li.guide-step-redemption { min-height: 180px }
  .guide-steps > li.guide-step-payment, .guide-steps > li.guide-step-status { min-height: 134px }
  .guide-step-number { width: 37px; height: 37px }
  .guide-steps h3 { font-size: 16px; line-height: 22px }
  .guide-step-copy p { font-size: .83rem; line-height: 1.62 }
  .guide-checks { margin-top: .65rem }
  .guide-checks li { font-size: .75rem }
  .guide-example { grid-column: 1 / -1 }
  .guide-step-catalog .guide-example { min-height: 148px }
  .guide-example a { font-size: .84rem }
  .guide-faq article { min-height: 102px; padding: 18px 19px 14px }
  .guide-faq h3 { line-height: 18px }
  .guide-faq p { line-height: 1.58 }
  .guide-contact-box { grid-template-columns: minmax(0, 1fr); padding: 1.25rem }
  .guide-contact-actions { grid-template-columns: repeat(2, minmax(0, max-content)); justify-content: start }
  .guide-contact-actions .support-copy-status, .guide-contact-actions .configured-support-copy { grid-column: 1 / -1 }
  #guide-page .page-heading h1 { font-size: 36px; line-height: 1.39 }
  #guide-page .guide-outline { width: min(100%, 20.75rem); grid-template-columns: minmax(0, 1fr) }
  #guide-page .guide-outline li { min-height: 129px; padding: .9rem 1rem }
  #guide-page .guide-outline li + li { border-inline-start: 0; border-top: 1px solid var(--accent-edge) }
  .store-page[data-route="orders"] main { padding-bottom: 120px }
  #orders-page .page-heading { padding-top: 58px; margin-bottom: 25px }
  #orders-page .page-heading h1 { line-height: 1.42; margin-bottom: 16px }
  #orders-page .page-heading p { line-height: 22px }
  #order-lookup { grid-template-columns: minmax(0, 1fr); min-height: 144px; padding: 24px; gap: 10px }
  .store-page #order-lookup input { min-height: 42px; padding-inline-start: 30px }
  .store-page #order-lookup button { width: 100%; min-height: 42px }
  .order .order-summary { grid-template-columns: minmax(0, 1fr) }
  .invoice-back { margin-top: 32px }
  #invoice-page .page-heading { padding-top: 18px; margin-bottom: 13px }
  .invoice-status { min-height: 40px; margin-bottom: 1.25rem }
  .invoice-panel { --invoice-inset: 24px }
  .invoice-panel h2 { min-height: 56px }
  .invoice-lookup { min-height: 267px; padding-block: 23px 24px }
  .invoice-fields { gap: 24px }
  .invoice-field label { margin-bottom: .6rem }
  .invoice-actions button[type="submit"] { min-width: 98px; min-height: 42px; padding-inline: .84rem }
  .legal-page { padding-top: 24px }
  .legal-heading { margin: 21px 0 30px }
  .legal-heading .page-pill { margin-bottom: 12px }
  .legal-heading h1 { font-size: 30px; line-height: 42px }
  .legal-heading p { max-width: 21rem }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 22px }
  .legal-sidebar { position: static }
  .legal-page-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .35rem }
  .legal-index { display: none }
  .legal-content { padding: 20px 22px }
  .legal-content h2 { line-height: 24px }
  .site-footer { min-height: 0 }
}
.order-recovery { margin-top: 1rem }
.order-recovery summary { width: fit-content; cursor: pointer }
.order-recovery form { display: grid; gap: .5rem; margin-top: .8rem }
.order-recovery button { justify-self: start }
.order-recovery [role=status]:empty { display: none }
