:root {
  color-scheme: dark;
  --ink: #f8f6ff;
  --muted: #b7b2c5;
  --dim: #938ca6;
  --accent: #d8c6ff;
  --bg: #111016;
  --panel: #191720;
  --line: #34303f;
  font-family: "Inter", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.55;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); }
body:lang(zh) { font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .52; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 { line-height: 1.12; margin: 0; }
.container { width: min(1112px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: -80px; padding: 12px; z-index: 3; background: var(--panel); }
.skip:focus { top: 0; }
.header { border-bottom: 1px solid #ffffff10; background: #14121b; }
.nav { height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 780; letter-spacing: -.055em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #dfcbff6b; border-radius: 9px; background: #c49bff23; color: var(--accent); font-size: 22px; letter-spacing: 0; }
.brand-accent { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; color: var(--muted); }
.main-nav a:hover, .main-nav .current { color: var(--ink); }
.languages { display: flex; padding: 3px; gap: 2px; border-radius: 9px; border: 1px solid var(--line); }
.languages a { min-height: 32px; display: grid; place-items: center; padding: 0 11px; border-radius: 6px; font-size: 12px; font-weight: 660; white-space: nowrap; color: var(--muted); }
.languages [aria-current] { color: var(--ink); background: #352b48; }
.hero { overflow: hidden; border-bottom: 1px solid #ffffff10; background: radial-gradient(ellipse at 78% 40%, #231834, transparent 65%), #131119; }
.hero-body { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; min-height: 473px; gap: 34px; }
.hero-copy { position: relative; z-index: 1; padding: 54px 0 60px; }
.hero h1 { font-size: clamp(57px, 7vw, 104px); letter-spacing: -.087em; font-weight: 790; line-height: .99; }
.hero h1 em { font-style: normal; color: var(--accent); }
:is(:lang(ja), :lang(zh)) .hero h1 { font-size: clamp(42px, 5.6vw, 77px); letter-spacing: -.085em; line-height: 1.15; }
:lang(zh) .hero h1 { letter-spacing: -.045em; }
.hero p { max-width: 445px; font-size: 17px; line-height: 1.65; margin-top: 25px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; padding: 12px 17px; min-height: 46px; border-radius: 9px; font-size: 14px; font-weight: 740; text-align: center; }
.primary { background: var(--accent); color: #1a1127; box-shadow: 0 3px 16px #af78ff1f; }
.primary:hover { background: #eadfff; }
.outline { border-color: #52495f; color: var(--ink); background: #ffffff04; }
.outline:hover { background: #ffffff0d; border-color: var(--accent); }
.text-link, .text-button { color: var(--accent); font-size: 14px; text-underline-offset: 4px; font-weight: 660; }
.text-link:hover, .text-button:hover { text-decoration: underline; }
.text-button { padding: 0; border: 0; background: transparent; width: fit-content; }
.art { position: relative; aspect-ratio: 1.24; width: 100%; min-width: 0; isolation: isolate; }
.art-grid { position: absolute; inset: 6% 0; background-image: linear-gradient(#b28de01a 1px, transparent 1px), linear-gradient(90deg, #b28de01a 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse at center, black 27%, transparent 76%); }
.art-glow { position: absolute; inset: 11% 3%; background: radial-gradient(ellipse at center, #9c63ff42, #8250c61f 38%, transparent 71%); }
.orbit { position: absolute; top: 50%; left: 50%; width: 84%; height: 42%; border: 1px solid #c7a0ff75; border-radius: 50%; transform: translate(-50%, -50%) rotate(var(--angle)); box-shadow: 0 0 16px #ab71ff20, inset 0 0 12px #ab71ff17; }
.orbit-one { --angle: -29deg; }
.orbit-two { --angle: 29deg; }
.orbit-three { --angle: 87deg; width: 70%; border-color: #c7a0ff44; }
.orbit-four { --angle: -29deg; width: 95%; height: 49%; border-color: #c7a0ff28; }
.orbit-five { --angle: 29deg; width: 95%; height: 49%; border-color: #c7a0ff28; }
.core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 24%; aspect-ratio: 1; border-radius: 27%; border: 1px solid #e1c7ff7c; background: radial-gradient(ellipse at top left, #c993fb, #694696 53%, #201235); color: #f6edff; font-size: clamp(40px, 6vw, 89px); line-height: 1; text-shadow: 0 0 22px #fff7; box-shadow: 0 0 44px #a268ff80, inset 0 0 16px #dcacff55, 0 11px 31px #0d061e96; }
.flare { position: absolute; color: #d6b7ff; line-height: 1; text-shadow: 0 0 13px #c281ff; }
.flare-one { top: 16%; right: 24%; font-size: 24px; }
.flare-two { bottom: 21%; left: 16%; font-size: 20px; }
.light { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #dec5ff; box-shadow: 0 0 13px 3px #bc81ff92; }
.light-one { left: 19%; top: 65%; }
.light-two { right: 16%; top: 64%; }
.light-three { left: 47%; top: 20%; width: 5px; height: 5px; }
.art-corner { position: absolute; width: 20px; height: 20px; border-color: #c8a4ff57; border-style: solid; }
.art-corner.top { top: 6%; right: 2%; border-width: 1px 1px 0 0; }
.art-corner.bottom { bottom: 6%; left: 2%; border-width: 0 0 1px 1px; }
.plans, .flow, .faq { padding-block: 55px; scroll-margin-top: 20px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.section-head h2 { font-size: clamp(25px, 3.3vw, 41px); letter-spacing: -.055em; }
.section-head p { font-size: 14px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { border: 1px solid var(--line); border-radius: 17px; background: var(--panel); padding: 24px; }
.plan.featured { border-color: #9475bb; background: radial-gradient(ellipse at top right, #53347168, transparent 66%), #201929; }
.plan-top { display: flex; align-items: center; gap: 9px; }
.plan-top h3 { color: var(--accent); font-size: 15px; letter-spacing: .005em; }
.plan-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #9b6bd82c; color: var(--accent); font-size: 19px; }
.plan-value { margin: 10px 0 1px; font-size: clamp(50px, 8vw, 72px); font-weight: 780; line-height: 1; letter-spacing: -.085em; }
.plan-value span { color: var(--accent); font-size: .62em; margin-left: 5px; }
.plan p { font-size: 14px; }
.plan-footer { margin-top: 22px; padding-top: 17px; border-top: 1px solid #ffffff14; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 25px; font-weight: 740; letter-spacing: -.05em; }
.price small { font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 640; }
.flow, .faq { border-top: 1px solid var(--line); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.step-grid li { counter-increment: steps; padding: 17px 0 5px; }
.step-grid li::before { content: counter(steps); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; border: 1px solid #5f487b; background: #251c34; color: var(--accent); margin-bottom: 13px; font-weight: 700; }
.step-grid h3 { font-size: 17px; margin-bottom: 7px; }
.step-grid p, .questions p { font-size: 15px; max-width: 57ch; }
.questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 17px 0; font-weight: 670; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: 0 0 17px; }
.footer { border-top: 1px solid var(--line); background: #14121b; }
.footer-body { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 26px; }
.footer p { margin-top: 9px; font-size: 13px; }

.inner { padding-block: 45px 74px; min-height: calc(100vh - 203px); }
.narrow { max-width: 710px; }
.inner h1 { font-size: clamp(39px, 6vw, 64px); letter-spacing: -.06em; margin: 14px 0 9px; }
.inner .intro { margin-bottom: 23px; font-size: 16px; }
.notice, .error { margin: 14px 0; padding: 10px 13px; border-radius: 8px; font-size: 14px; }
.notice { background: #b37fff16; color: var(--accent); border: 1px solid #b37fff30; }
.error { background: #e979861a; color: #ffd0d8; border: 1px solid #e9798650; }
.checkout-grid { display: grid; grid-template-columns: 1.85fr 1fr; align-items: start; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 15px; padding: 23px; }
.panel h2 { font-size: 24px; letter-spacing: -.04em; margin-bottom: 15px; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
legend, .field label { font-size: 15px; font-weight: 720; padding: 0; margin-bottom: 7px; }
.choose-grid, .method-grid { display: grid; gap: 8px; }
.choose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.custom-quantity { margin-top: 12px; }
.quantity-control { display: grid; grid-template-columns: auto minmax(56px, 5rem) auto; align-items: stretch; width: fit-content; gap: 8px; }
.quantity-control .button { min-width: 44px; padding-inline: 12px; font-size: 20px; }
.quantity-control input { width: 100%; border: 1px solid #4a4258; border-radius: 8px; background: #110e17; color: var(--ink); text-align: center; font-weight: 750; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.quantity-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }
.choice { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 9px; padding: 11px; min-height: 64px; cursor: pointer; }
.choice:has(:checked) { border-color: #ae8bd1; background: #ab6ef41b; }
.choice:has(:disabled) { opacity: .65; cursor: not-allowed; }
.choice input { margin: 0; accent-color: var(--accent); }
.choice strong, .choice small { display: block; }
.choice small, .field small { font-size: 13px; color: var(--muted); }
.field { display: grid; gap: 4px; min-width: 0; margin-bottom: 20px; }
.field label { margin-bottom: 1px; }
.field input, .field textarea { width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid #4a4258; border-radius: 8px; background: #110e17; color: var(--ink); }
.field textarea { resize: vertical; }
.withdrawal-record { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; color: var(--ink); }
.wide { width: 100%; }
#turnstile:not(:empty) { margin-bottom: 15px; }
.meta { margin: 0; }
.meta div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.meta dt { color: var(--muted); font-size: 14px; }
.meta dd { margin: 0; text-align: right; word-break: break-word; }
.total dd { font-weight: 750; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.payment-actions { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 17px; }
.payment-actions p { margin-bottom: 12px; }
.payment-actions .field { margin-top: 10px; }
.payment-actions .meta div:first-child { border-top: 0; }
#paypal-buttons:empty { display: none; }
.view-order { display: block; margin-top: 17px; }
.lookup { display: grid; gap: 10px; grid-template-columns: 1fr auto; align-items: end; }
.lookup .field { margin-bottom: 0; }
.result { margin-top: 16px; }
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.result-head h2 { margin-bottom: 5px; }
.status { border-radius: 6px; color: #e1cdfa; background: #674b7c51; padding: 5px 8px; font-size: 13px; font-weight: 650; }
.status[data-status="completed"] { color: #baf4d8; background: #22554761; }
.status[data-status="failed"] { color: #ffb5b5; background: #652d3e62; }
.status[data-status="pending"], .status[data-status="partial"] { color: #f6d5a3; background: #74573150; }
.result-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 13px; align-items: center; }
.merchant { max-width: 1000px; }
.merchant-login { max-width: 450px; }
.merchant-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.merchant > .panel, .merchant-columns { margin-top: 16px; }
.merchant-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 13px; }
.merchant-heading p, .merchant-note { font-size: 14px; }
.merchant-note { margin: 9px 0 13px; }
.panel.supplier-key-panel { margin-bottom: 16px; padding: 0; scroll-margin-top: 16px; }
.supplier-key-panel > summary { padding: 16px 20px; }
.supplier-key-panel > summary:hover { color: var(--accent); }
.supplier-key-panel > summary::after {
  content: "";
  flex: 0 0 9px;
  height: 9px;
  margin-right: 3px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.supplier-key-panel[open] > summary::after { transform: rotate(225deg); }
.supplier-key-content { padding: 0 20px 16px; }
.merchant-metrics, .merchant-columns { display: grid; gap: 12px; }
.merchant-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.merchant-stock-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[aria-labelledby="merchant-stock-heading"] .merchant-heading h2 { margin-bottom: 0; }
[aria-labelledby="merchant-stock-heading"] .notice { margin-bottom: 0; }
.merchant-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.merchant-metrics div { min-width: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.merchant-metrics dt { color: var(--muted); font-size: 14px; }
.merchant-metrics dd { margin: 3px 0 0; font-size: 23px; font-weight: 740; line-height: 1.3; overflow-wrap: anywhere; }
.merchant-metrics small { color: var(--muted); font-size: 12px; }
.merchant-table { overflow-x: auto; }
.merchant-table table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 14px; }
.merchant-table :is(th, td) { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); text-align: left; }
.merchant-table th { color: var(--muted); font-weight: 650; }
.merchant-table tr:last-child td { border-bottom: 0; }

@media (max-width: 850px) {
  .container { width: calc(100% - 48px); }
  .hero-body { min-height: 405px; }
  .hero h1 { font-size: clamp(53px, 9vw, 85px); }
  :is(:lang(ja), :lang(zh)) .hero h1 { font-size: clamp(40px, 6vw, 66px); }
  .hero p { font-size: 15px; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  .nav { gap: 10px; height: 62px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand-mark { width: 28px; height: 28px; font-size: 18px; }
  .main-nav { gap: 8px; font-size: 12px; }
  .main-nav a:first-child { display: none; }
  .languages a { padding-inline: 7px; }
  .hero-body { grid-template-columns: 1fr; gap: 0; min-height: auto; }
  .hero-copy { padding: 37px 0 0; }
  .hero h1 { font-size: clamp(56px, 13vw, 81px); }
  :is(:lang(ja), :lang(zh)) .hero h1 { font-size: clamp(38px, 9vw, 63px); }
  .hero p { margin-top: 17px; }
  .hero-actions { margin-top: 18px; gap: 16px; }
  .art { width: min(100%, 350px); margin: -2px auto 14px; }
  .core { font-size: clamp(36px, 11vw, 60px); }
  .plans, .flow, .faq { padding-block: 34px; }
  .section-head { display: block; margin-bottom: 16px; }
  .section-head p { margin-top: 7px; }
  .plan-grid, .checkout-grid { grid-template-columns: 1fr; }
  .plan, .panel { padding: 16px; }
  .step-grid { grid-template-columns: 1fr; gap: 8px; }
  .step-grid li { padding-top: 8px; }
  .footer-body { align-items: flex-start; flex-direction: column; }
  .inner { padding-block: 30px 50px; }
  .lookup { grid-template-columns: 1fr; }
  .merchant-columns { grid-template-columns: 1fr; }
  .merchant-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
