:root {
  --ink: #0b1020;
  --ink-2: #12192b;
  --paper: #f5f5ee;
  --paper-2: #ecece2;
  --white: #ffffff;
  --muted: #697083;
  --line: #d9d9cf;
  --accent: #b7ff63;
  --accent-strong: #9eed45;
  --cyan: #91edf2;
  --coral: #ff8d72;
  --yellow: #f6d85f;
  --shadow: 0 28px 90px rgba(6, 11, 28, .18);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* 中英双语（i18n.js）：中文模式下词典替换完成前隐藏正文，避免先闪一下英文；词典加载失败时 3 秒后照常显示英文。 */
html[data-i18n-pending] body { visibility: hidden; animation: i18n-reveal 0s 3s forwards; }
@keyframes i18n-reveal { to { visibility: visible; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
img, svg { display: block; }
::selection { background: var(--accent); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--accent);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  color: var(--white);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 16, 32, .88);
  border-color: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a { text-decoration: none; font-size: 14px; color: rgba(255,255,255,.78); transition: color .2s ease; }
.site-nav > a:hover { color: var(--white); }
.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; padding: 11px; color: var(--white); }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 6px 0; border-radius: 5px; transition: transform .2s ease; }

.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 22px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; }
.button-primary { background: var(--accent); color: var(--ink); box-shadow: 0 12px 32px rgba(183,255,99,.2); }
.button-primary:hover { background: var(--accent-strong); box-shadow: 0 15px 40px rgba(183,255,99,.28); }
.button-small { padding: 10px 16px; font-size: 13px; }
.button-ghost { border: 1px solid rgba(255,255,255,.26); color: var(--white) !important; }
.text-link { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 750; color: var(--white); }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateY(3px); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 880px;
  padding: 154px 0 104px;
  background:
    radial-gradient(circle at 72% 36%, rgba(145,237,242,.12), transparent 29%),
    radial-gradient(circle at 20% 75%, rgba(183,255,99,.08), transparent 30%),
    var(--ink);
  color: var(--white);
}
.hero-grid, .cta-grid {
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); gap: 64px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow-row { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,99,.12); }
.hero h1 { margin: 25px 0 24px; max-width: 620px; font-size: clamp(58px, 6.2vw, 92px); line-height: .94; letter-spacing: -.068em; font-weight: 880; }
.hero h1 span { color: var(--accent); }
.hero-lede { max-width: 590px; margin: 0; color: rgba(255,255,255,.72); font-size: clamp(18px, 1.65vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
/* 首页双栏较窄：保持按钮文字单行，空间不足时整颗按钮换行。 */
.hero-actions .button { flex: 0 0 auto; min-height: 50px; padding: 12px 16px; border-radius: 14px; gap: 8px; font-size: 14px; line-height: 20px; white-space: nowrap; }
.hero-actions .button svg { flex-shrink: 0; width: 18px; height: 18px; }
.hero-actions .button > span { flex-shrink: 0; }
.hero-price-note { margin: 15px 0 0; color: var(--accent); font-size: 13px; font-weight: 750; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; color: rgba(255,255,255,.62); font-size: 12px; }
.trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.trust-row svg { width: 15px; height: 15px; color: var(--accent); }

.signal-strip { scroll-margin-top: 76px; background: var(--accent); color: var(--ink); border-bottom: 1px solid rgba(11,16,32,.15); }
.signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-grid > div { padding: 24px 22px 25px; border-left: 1px solid rgba(11,16,32,.15); display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; align-items: baseline; }
.signal-grid > div:last-child { border-right: 1px solid rgba(11,16,32,.15); }
.signal-grid span { font-size: 10px; font-weight: 850; opacity: .55; }
.signal-grid strong { font-size: 17px; }
.signal-grid p { grid-column: 2; margin: 3px 0 0; font-size: 11px; opacity: .7; }

.section { padding: 120px 0; }
.section-light { background: var(--paper); }
.section-ink { background: var(--ink); color: var(--white); }
.section-heading { margin-bottom: 58px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.section-heading h2, .faq-intro h2, .cta-content h2 { margin: 12px 0 0; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -.055em; }
.section-heading > p { max-width: 460px; margin: 0 0 4px; color: var(--muted); font-size: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 850; color: #596172; }
.kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.kicker-light { color: rgba(255,255,255,.62); }
.centered-heading { max-width: 780px; margin-inline: auto; text-align: center; }
.centered-heading .kicker { justify-content: center; }
.centered-heading > p { margin: 20px auto 0; }

.controls-section { position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(183,255,99,.1), transparent 28%), var(--ink); }
.controls-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, #000); }
.controls-section > .shell { position: relative; }
.controls-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.controls-intro h2 { margin: 15px 0 0; font-size: clamp(48px, 5.5vw, 76px); line-height: .99; letter-spacing: -.06em; }
.controls-intro h2 em { color: var(--accent); font-style: normal; }
.controls-intro > p { max-width: 440px; margin: 0 0 5px; color: rgba(255,255,255,.67); font-size: 17px; line-height: 1.65; }
.controls-layout { display: grid; grid-template-columns: .77fr 1.23fr; gap: 24px; align-items: start; }
.controls-choice { display: flex; flex-direction: column; min-width: 0; }
.control-choice-heading { display: flex; justify-content: space-between; gap: 15px; margin: 0 0 15px; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.control-choice-heading span:last-child { color: var(--accent); letter-spacing: .02em; text-transform: none; }
.control-options { display: grid; gap: 9px; }
.control-option { position: relative; width: 100%; min-height: 88px; display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 12px; overflow: hidden; padding: 15px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.04); color: #fff; text-align: left; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.control-option:hover { transform: translateX(4px); border-color: rgba(183,255,99,.55); background: rgba(255,255,255,.08); }
.control-option:focus-visible, .control-cta:focus-visible, .fold-message button:focus-visible, .hide-message button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.control-option[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); box-shadow: 0 12px 34px rgba(183,255,99,.14); }
.control-option-number { align-self: start; padding-top: 4px; font-size: 11px; font-weight: 850; opacity: .55; }
.control-option-copy { display: grid; gap: 2px; }
.control-option-copy strong { font-size: 22px; line-height: 1.1; letter-spacing: -.04em; }
.control-option-copy small { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.35; }
.control-option[aria-pressed="true"] .control-option-copy small { color: rgba(11,16,32,.7); }
.control-option-arrow { align-self: start; font-size: 20px; line-height: 1; opacity: .35; transition: transform .25s ease, opacity .25s ease; }
.control-option:hover .control-option-arrow, .control-option[aria-pressed="true"] .control-option-arrow { transform: translate(2px, -2px); opacity: 1; }
.control-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding: 26px 2px 3px; border-bottom: 1px solid rgba(183,255,99,.55); color: var(--accent); font-size: 14px; font-weight: 800; text-decoration: none; transition: gap .2s ease, border-color .2s ease; }
.control-cta:hover { gap: 23px; border-color: var(--accent); }
.control-availability { margin: 10px 2px 0; color: rgba(255,255,255,.45); font-size: 11px; line-height: 1.45; }
.control-demo { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: #171e2d; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.control-demo-head { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 23px; border-bottom: 1px solid rgba(255,255,255,.1); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; }
.control-demo-head > span { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.7); }
.control-demo-head i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,99,.1); }
.control-demo-head strong { color: var(--accent); font-size: 10px; }
.control-canvas { padding: 25px; background: #e9ecf1; color: var(--ink); }
.mini-toolbar { height: 37px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 12px 12px 0 0; background: #dbe0e8; }
.mini-toolbar > span { width: 7px; height: 7px; border-radius: 50%; background: #aeb7c4; }
.mini-toolbar strong { margin-left: 18px; color: #6c7584; font-size: 10px; font-weight: 700; }
.mini-toolbar em { margin-left: auto; color: #4b6351; font-size: 9px; font-style: normal; font-weight: 800; }
.mini-feed { overflow: hidden; border-radius: 0 0 12px 12px; background: #fff; }
.mini-feed-heading { display: flex; gap: 28px; align-items: center; height: 42px; padding: 0 20px; border-bottom: 1px solid #e8ebef; font-size: 11px; }
.mini-feed-heading strong { align-self: stretch; display: grid; align-items: center; border-bottom: 2px solid var(--ink); }
.mini-feed-heading span { color: #9ca4af; }
.control-post { position: relative; min-height: 248px; overflow: hidden; border-bottom: 1px solid #e8ebef; background: #fff; transition: min-height .4s cubic-bezier(.2,.8,.2,1), background .35s ease; }
.mini-flag { display: flex; align-items: center; gap: 7px; min-height: 35px; padding: 0 21px; background: #fff1d2; color: #78520a; font-size: 10px; }
.mini-flag span { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #e6951d; }
.mini-flag small { margin-left: auto; font-size: 9px; font-weight: 700; opacity: .8; }
.mini-post-inner { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 17px 21px 16px; transition: opacity .35s ease, filter .35s ease, transform .35s ease; }
.mini-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #dfe5ff; color: #555f9f; font-size: 16px; font-weight: 850; }
.mini-post-content { min-width: 0; }
.mini-author { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.mini-author strong { font-size: 12px; white-space: nowrap; }
.mini-author small { overflow: hidden; color: #87909e; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mini-author > span { margin-left: auto; color: #87909e; font-size: 16px; line-height: 1; }
.mini-post-inner p { max-width: 440px; margin: 9px 0 12px; color: #313846; font-size: 11px; line-height: 1.45; }
.mini-link { min-height: 76px; display: flex; flex-direction: column; justify-content: center; padding: 11px 14px; border: 1px solid #dbe2e8; border-radius: 10px; background: linear-gradient(115deg, #e6ebf0 0 26%, #f7f9fb 26%); }
.mini-link span { color: #657180; font-size: 8px; font-weight: 850; letter-spacing: .09em; }
.mini-link strong { margin-top: 3px; color: #273242; font-size: 12px; }
.mini-link small { margin-top: 2px; color: #708092; font-size: 9px; }
.mini-post-actions { display: flex; justify-content: space-between; max-width: 280px; margin-top: 10px; color: #9aa4b0; font-size: 10px; }
.fold-message, .hide-message { display: none; min-height: 96px; align-items: center; gap: 15px; padding: 18px 22px; }
.fold-message { background: #f4f7f0; }
.hide-message { background: #e7ebef; }
.fold-message > span, .hide-message > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: var(--ink); font-size: 23px; }
.hide-message > span { background: #cbd2dc; }
.fold-message div, .hide-message div { display: grid; gap: 3px; }
.fold-message strong, .hide-message strong { font-size: 13px; }
.fold-message small, .hide-message small { color: #697381; font-size: 10px; }
.fold-message button, .hide-message button { margin-left: auto; flex: none; padding: 9px 12px; border: 1px solid #c5d0bf; border-radius: 8px; background: #fff; color: #253224; font-size: 10px; font-weight: 800; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.fold-message button:hover, .hide-message button:hover { background: var(--accent); transform: translateY(-2px); }
.mini-organic-post { min-height: 88px; display: flex; gap: 12px; padding: 15px 21px; border-bottom: 1px solid #e8ebef; }
.mini-organic-post > span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #dcefe9; color: #3c7a67; font-size: 12px; font-weight: 800; }
.mini-organic-post strong { display: block; font-size: 10px; }
.mini-organic-post small { color: #8994a1; font-size: 9px; font-weight: 500; }
.mini-organic-post p { margin: 3px 0 0; color: #424b57; font-size: 10px; line-height: 1.4; }
.mini-next-post { display: flex; gap: 12px; align-items: center; padding: 15px 21px; }
.mini-next-post > span { width: 30px; height: 30px; border-radius: 50%; background: #e5e9ef; }
.mini-next-post div { display: grid; gap: 6px; flex: 1; }
.mini-next-post i { width: 45%; height: 6px; border-radius: 10px; background: #e7ebef; }
.mini-next-post i:last-child { width: 78%; }
/* 模式切换只改变演示帖的呈现；用短过渡表达保留、减弱、折叠与隐藏。 */
.control-post.mode-dim .mini-post-inner { opacity: .32; filter: grayscale(1); transform: scale(.985); }
.control-post.mode-fold, .control-post.mode-hide { min-height: 96px; }
.control-post.mode-fold .mini-flag, .control-post.mode-fold .mini-post-inner, .control-post.mode-hide .mini-flag, .control-post.mode-hide .mini-post-inner { display: none; }
.control-post.mode-fold .fold-message, .control-post.mode-hide .hide-message { display: flex; animation: control-reveal .4s cubic-bezier(.2,.8,.2,1) both; }
.control-post.mode-hide { background: #e7ebef; }
.control-post.mode-label .mini-post-inner { animation: control-reveal .4s cubic-bezier(.2,.8,.2,1) both; }
.control-caption { min-height: 55px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 12px 23px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.67); font-size: 11px; }
.control-caption-mark { flex: none; color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
@keyframes control-reveal { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.comparison-section { border-top: 1px solid var(--line); }
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 15px 45px rgba(11,16,32,.05); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparison-table th, .comparison-table td { padding: 21px 24px; border-bottom: 1px solid #e6e6df; text-align: center; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; width: 55%; }
.comparison-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7a8190; }
.comparison-table th:last-child { background: var(--accent); color: var(--ink); }
.comparison-table td { font-size: 14px; }
.comparison-table td:last-child { background: rgba(183,255,99,.13); }
.comparison-table tr:last-child td { border-bottom: 0; }
.yes { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--accent); font-weight: 900; }
.no { color: #a3a7b0; }

/* 隐私信息承接浅色定价与 FAQ，以短深色区块保留必要告知。 */
.privacy-section { scroll-margin-top: 96px; padding: 68px 0; background: var(--ink-2); color: var(--white); }
.privacy-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.privacy-section .kicker { color: var(--accent); }
.privacy-intro h2 { max-width: 430px; margin: 12px 0 0; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.05; letter-spacing: -.045em; }
.privacy-detail p { max-width: 640px; margin: 0 0 18px; color: rgba(255,255,255,.73); font-size: 15px; line-height: 1.65; }
.privacy-detail a { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid rgba(183,255,99,.5); color: var(--accent); font-size: 13px; font-weight: 800; text-decoration: none; }
.privacy-detail a:hover { border-bottom-color: var(--accent); }
.privacy-detail a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { font-size: clamp(40px, 4.5vw, 62px); }
.faq-intro p { color: var(--muted); max-width: 430px; font-size: 16px; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: transparent; text-align: left; font-size: 18px; font-weight: 760; cursor: pointer; color: var(--ink); }
.accordion-item button i { position: relative; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); }
.accordion-item button i::before, .accordion-item button i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 11px; height: 2px; background: var(--white); transition: transform .2s ease; }
.accordion-item button i::after { transform: rotate(90deg); }
.accordion-item.open button i::after { transform: rotate(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.accordion-panel > p { overflow: hidden; margin: 0; color: var(--muted); max-width: 690px; }
.accordion-item.open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.open .accordion-panel > p { padding: 0 0 26px; }

.cta-section { position: relative; overflow: hidden; padding: 110px 0 120px; background: var(--ink); color: var(--white); text-align: center; }
.cta-grid { opacity: .09; mask-image: radial-gradient(circle at center, black, transparent 65%); }
.cta-content { position: relative; z-index: 1; max-width: 860px; }
.cta-content .kicker { justify-content: center; }
.cta-content h2 { font-size: clamp(58px, 8vw, 104px); color: var(--accent); }
.cta-content > p { max-width: 650px; margin: 25px auto 34px; color: rgba(255,255,255,.68); font-size: 18px; }

.site-footer { background: #080c18; color: var(--white); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-bottom: 55px; }
.footer-brand { margin-bottom: 14px; }
.footer-grid > div:first-child > p { color: rgba(255,255,255,.5); margin: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 45px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.58); margin-bottom: 5px; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.58); font-size: 10px; }

.legal-page { background: var(--paper); color: var(--ink); min-height: 100vh; }
.legal-header { background: var(--ink); color: var(--white); padding: 20px 0; }
.legal-header .nav-wrap { height: auto; }
/* 语言切换排在返回按钮左侧。 */
.legal-header .lang-switch { margin-left: auto; margin-right: 10px; }
.legal-main { max-width: 800px; padding: 100px 0 120px; }
.legal-main h1 { font-size: clamp(48px, 8vw, 78px); line-height: 1; letter-spacing: -.055em; margin: 18px 0 14px; }
.legal-main .updated { color: var(--muted); margin-bottom: 55px; }
.legal-main h2 { margin-top: 45px; font-size: 25px; letter-spacing: -.03em; }
.legal-main p, .legal-main li { color: #525968; }
.legal-main a { font-weight: 700; }

/* 首页案例保留图片原始比例，完整内容可点击查看。 */
.case-gallery { min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.07); box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.case-gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 7px 13px; color: rgba(255,255,255,.76); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.case-gallery-heading span:first-child { display: inline-flex; align-items: center; gap: 9px; }
.case-gallery-heading i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(183,255,99,.13); }
.case-gallery-heading span:last-child { color: rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
.case-gallery-image { position: relative; display: block; overflow: hidden; border-radius: 13px; background: #f5f9ff; aspect-ratio: 3 / 2; box-shadow: 0 12px 36px rgba(0,0,0,.15); }
.case-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .22s ease; }
.case-gallery-image:hover img { transform: scale(1.025); }
.case-gallery.is-changing .case-gallery-image img { opacity: 0; }
.case-gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; background: rgba(11,16,32,.9); color: #fff; font-size: 12px; font-weight: 750; }
.case-gallery-caption { min-height: 3.7em; margin: 12px 5px 2px; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.4; }
.case-gallery-caption strong { display: block; margin-bottom: 2px; color: #fff; font-size: 13px; }
.case-gallery-image:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow-row { margin-inline: auto; }
  .hero h1, .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .case-gallery { width: min(760px, 100%); margin-inline: auto; }
  .hero { padding-bottom: 90px; }
  .controls-intro { gap: 32px; }
  .controls-layout { grid-template-columns: .85fr 1.15fr; }
  .privacy-layout { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 30px, 680px); }
  .site-header { background: rgba(11,16,32,.92); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.1); }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 76px; left: 15px; right: 15px; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: #11182a; box-shadow: 0 20px 60px rgba(0,0,0,.35); display: grid; gap: 18px; transform: translateY(-20px); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease; }
  .site-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  /* 收起时同步隐藏键盘焦点；短横屏只滚动菜单内部，不裁切最后的入口。 */
  .site-nav[data-nav] { visibility: hidden; max-height: calc(100dvh - 91px); overflow-y: auto; overscroll-behavior: contain; gap: 8px; }
  .site-nav[data-nav].open { visibility: visible; }
  .site-nav[data-nav] > a { display: flex; align-items: center; min-height: 44px; }
  .site-nav > a { font-size: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: auto; padding-top: 130px; }
  .hero h1 { font-size: clamp(54px, 14vw, 78px); }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-grid > div:nth-child(2) { border-right: 1px solid rgba(11,16,32,.15); }
  .signal-grid > div:nth-child(n+3) { border-top: 1px solid rgba(11,16,32,.15); }
  .section { padding: 90px 0; }
  .controls-intro { grid-template-columns: 1fr; gap: 20px; }
  .controls-intro > p { max-width: 610px; }
  .controls-layout { grid-template-columns: 1fr; gap: 30px; }
  .control-options { grid-template-columns: repeat(2, 1fr); }
  .control-cta { align-self: flex-start; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; max-width: 330px; }
  .trust-row { display: grid; justify-content: center; text-align: left; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div { border-right: 1px solid rgba(11,16,32,.15); border-top: 1px solid rgba(11,16,32,.15); }
  .signal-grid > div:first-child { border-top: 0; }
  .section-heading h2, .faq-intro h2 { font-size: 44px; }
  .privacy-section { padding: 54px 0; }
  .controls-intro h2 { font-size: clamp(46px, 11vw, 64px); }
  .control-options { grid-template-columns: 1fr; }
  .control-option { min-height: 76px; }
  .control-canvas { padding: 15px; }
  .mini-toolbar em { display: none; }
  .mini-flag { flex-wrap: wrap; padding: 7px 15px; }
  .mini-flag small { margin-left: 14px; }
  .mini-post-inner { padding-inline: 15px; }
  .fold-message, .hide-message { flex-wrap: wrap; padding: 18px; }
  .fold-message button, .hide-message button { margin-left: 53px; }
  .cta-content h2 { font-size: 58px; }
  .footer-links { gap: 20px; }
  .footer-bottom { flex-direction: column; }
}

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

/* SEO landing pages */
.seo-body { background: var(--paper); color: var(--ink); }
.seo-header { position: static; background: var(--ink); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.seo-header .nav-wrap { height: 76px; }
.seo-header .site-nav { display: flex; }
.seo-hero { position: relative; overflow: hidden; padding: 82px 0 88px; border-bottom: 1px solid var(--line); background: var(--paper); }
.seo-hero::after { content: ""; position: absolute; right: -110px; top: -150px; width: 520px; height: 520px; border-radius: 50%; background: var(--accent); opacity: .4; filter: blur(10px); }
.breadcrumb { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 12px; }
.breadcrumb a { text-decoration: none; font-weight: 700; }
.breadcrumb span { opacity: .6; }
.seo-hero-inner { position: relative; z-index: 1; max-width: 920px; }
.seo-hero h1 { margin: 22px 0 22px; font-size: clamp(52px, 7vw, 88px); line-height: .98; letter-spacing: -.065em; }
.seo-hero h1 em { font-style: normal; color: #608e23; }
.seo-hero .lede { max-width: 760px; margin: 0; font-size: 20px; line-height: 1.55; color: #555d6c; }
.seo-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 31px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #1a2238; }
.button-outline-dark { border: 1px solid #abb0ba; color: var(--ink); background: transparent; }
.seo-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.seo-proof span { padding: 7px 10px; border-radius: 999px; border: 1px solid #cfd1c9; background: rgba(255,255,255,.55); font-size: 11px; font-weight: 750; }
.seo-main { padding: 88px 0 112px; }
.seo-layout { display: grid; grid-template-columns: 230px minmax(0, 780px); justify-content: space-between; gap: 90px; align-items: start; }
.seo-toc { position: sticky; top: 28px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); }
.seo-toc strong { display: block; margin-bottom: 13px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #7b8290; }
.seo-toc a { display: block; padding: 8px 0; text-decoration: none; font-size: 13px; color: #555d6c; }
.seo-toc a:hover { color: var(--ink); }
.seo-article section { scroll-margin-top: 30px; margin-bottom: 70px; }
.seo-article h2 { margin: 0 0 20px; font-size: clamp(34px, 4vw, 50px); line-height: 1.04; letter-spacing: -.045em; }
.seo-article h3 { margin: 34px 0 10px; font-size: 23px; letter-spacing: -.025em; }
.seo-article p, .seo-article li { color: #555d6c; font-size: 17px; line-height: 1.72; }
.seo-article ul, .seo-article ol { padding-left: 22px; }
.seo-article li + li { margin-top: 8px; }

.seo-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
.seo-feature-card { min-height: 190px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.seo-feature-card span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); font-size: 11px; font-weight: 900; }
.seo-feature-card h3 { margin: 37px 0 7px; font-size: 20px; }
.seo-feature-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.seo-example { overflow: hidden; margin: 28px 0; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.seo-example-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 17px; background: #fff3d7; color: #7b5300; font-size: 12px; font-weight: 800; }
.seo-example-body { display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 20px; }
.seo-example-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #ffe2d7; color: #a84e3b; font-weight: 900; }
.seo-example-body strong { display: block; }
.seo-example-body p { margin: 7px 0 12px; font-size: 15px; line-height: 1.55; }
.seo-example-signals { display: flex; flex-wrap: wrap; gap: 7px; }
.seo-example-signals span { padding: 5px 8px; border-radius: 999px; background: #f1eee4; color: #715b30; font-size: 10px; font-weight: 750; }

.seo-faq { border-top: 1px solid var(--line); }
.seo-faq details { border-bottom: 1px solid var(--line); }
.seo-faq summary { padding: 20px 0; cursor: pointer; font-weight: 780; font-size: 17px; }
.seo-faq details p { margin-top: 0; padding-bottom: 18px; }
.seo-inline-cta { position: relative; overflow: hidden; padding: 48px; border-radius: 28px; background: var(--ink); color: var(--white); }
.seo-inline-cta::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: var(--accent); opacity: .14; }
.seo-inline-cta > * { position: relative; z-index: 1; }
.seo-inline-cta h2 { color: var(--accent); }
.seo-inline-cta p { color: rgba(255,255,255,.68); }
.seo-footer { background: #080c18; color: var(--white); padding: 50px 0 24px; }
.seo-footer .footer-grid { padding-bottom: 35px; }

@media (max-width: 820px) {
  /* 窄屏仍不显示落地页导航链接，只保留语言切换；不套用首页的弹出菜单样式。 */
  .seo-header .site-nav { position: static; display: flex; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; opacity: 1; pointer-events: auto; }
  .seo-header .site-nav > :not(.lang-switch) { display: none; }
  .seo-layout { grid-template-columns: 1fr; gap: 42px; }
  .seo-toc { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
  .seo-toc strong { grid-column: 1 / -1; }
  .seo-hero { padding: 62px 0 70px; }
  .seo-main { padding: 65px 0 90px; }
}
@media (max-width: 560px) {
  .seo-hero h1 { font-size: 51px; }
  .seo-hero .lede { font-size: 17px; }
  .seo-hero-actions .button { width: 100%; }
  .seo-feature-grid { grid-template-columns: 1fr; }
  .seo-toc { grid-template-columns: 1fr; }
  .seo-inline-cta { padding: 30px 24px; }
  .seo-article p, .seo-article li { font-size: 16px; }
}
@media (min-width: 821px) {
  .site-footer .footer-links { grid-template-columns: repeat(3, 1fr); }
}

.jev-proof-banner { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; max-width: 850px; margin-top: 22px; padding: 14px 16px; border: 1px solid rgba(11,16,32,.16); border-radius: 17px; background: rgba(11,16,32,.94); color: var(--white); box-shadow: 0 15px 38px rgba(11,16,32,.12); }
.jev-proof-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; background: var(--accent); color: var(--ink); font-weight: 950; }
.jev-proof-banner strong, .jev-seo-callout strong { display: block; font-size: 14px; }
.jev-proof-banner p { margin: 2px 0 0; color: rgba(255,255,255,.6); font-size: 11px; }
.jev-proof-banner a { color: var(--accent); text-decoration: none; font-size: 11px; font-weight: 850; white-space: nowrap; }
.jev-seo-callout { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; margin: 0 0 70px; padding: 22px; border-radius: 20px; border: 1px solid rgba(11,16,32,.13); background: #fff; box-shadow: 0 16px 45px rgba(11,16,32,.06); }
.jev-seo-callout p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.jev-seo-callout a { color: #4b721a; text-decoration: none; font-size: 12px; font-weight: 850; white-space: nowrap; }

@media (max-width: 700px) {
  .jev-proof-banner, .jev-seo-callout { grid-template-columns: 40px 1fr; }
  .jev-proof-banner a, .jev-seo-callout a { grid-column: 2; }
}

/* Pricing */
#pricing { scroll-margin-top: 74px; }
.pricing-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 5%, rgba(183,255,99,.17), transparent 25%),
    linear-gradient(180deg, #f8f8f2 0%, #f0f1e8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pricing-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -210px;
  bottom: -250px;
  border-radius: 50%;
  background: rgba(145,237,242,.18);
  filter: blur(20px);
}
.pricing-section > .shell { position: relative; z-index: 1; }
.pricing-heading { align-items: start; }
.pricing-heading h2 { max-width: 720px; }
.pricing-intro > p {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.pricing-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pricing-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(11,16,32,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: #596172;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 31px;
  border: 1px solid rgba(11,16,32,.13);
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 50px rgba(11,16,32,.065);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 70px rgba(11,16,32,.1);
}
.pricing-card-featured {
  border: 2px solid var(--accent-strong);
  background: #fff;
  box-shadow: 0 25px 75px rgba(116,167,54,.18);
}
.pricing-badge {
  position: absolute;
  top: 21px;
  right: 21px;
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pricing-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 48px;
  padding-right: 84px;
}
.plan-name { font-size: 17px; font-weight: 850; letter-spacing: -.02em; }
.plan-type {
  color: #808694;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 5px;
  margin: 33px 0 12px;
  letter-spacing: -.06em;
}
.pricing-price .currency {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -.02em;
}
.pricing-price strong { font-size: clamp(56px, 5.1vw, 74px); line-height: .9; font-weight: 890; }
.price-term {
  flex-basis: 100%;
  margin-top: 10px;
  color: #8a909b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.pricing-summary { min-height: 47px; margin: 0; color: var(--muted); font-size: 14px; }
.pricing-features {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 29px 0 30px;
  padding: 0;
  color: #5e6573;
  font-size: 14px;
}
.pricing-features li { position: relative; padding-left: 28px; }
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(183,255,99,.38);
  color: #3f6715;
  font-size: 11px;
  font-weight: 950;
}
.pricing-features strong { color: var(--ink); }
.pricing-cta {
  width: 100%;
  min-height: 52px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid rgba(11,16,32,.15);
  border-radius: 999px;
  background: #f4f5ef;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.pricing-cta:hover { transform: translateY(-2px); background: #eceee5; }
.pricing-cta-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pricing-cta-dark:hover { background: #161e32; }
.pricing-cta-accent {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(183,255,99,.24);
}
.pricing-cta-accent:hover { background: var(--accent-strong); box-shadow: 0 15px 38px rgba(183,255,99,.32); }
.pricing-card-note { margin: 12px 0 0; min-height: 18px; color: #9a9faa; text-align: center; font-size: 10px; }
.pricing-footnote {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  max-width: 850px;
  margin: 26px auto 0;
  padding: 18px 21px;
  border: 1px solid rgba(11,16,32,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
}
.pricing-footnote-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
}
.pricing-footnote strong { display: block; margin-bottom: 2px; font-size: 14px; }
.pricing-footnote p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.pricing-disclaimer { margin: 15px auto 0; color: #8c929d; text-align: center; font-size: 10px; }

@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .pricing-card { min-height: auto; }
  .pricing-card-head { padding-right: 110px; }
  .pricing-summary { min-height: 0; }
}

@media (max-width: 620px) {
  .pricing-section { padding-top: 88px; padding-bottom: 88px; }
  .pricing-heading { gap: 28px; }
  .pricing-heading h2 { font-size: 45px; }
  .pricing-card { padding: 25px; border-radius: 22px; }
  .pricing-card-head { padding-right: 78px; }
  .pricing-price strong { font-size: 60px; }
  .pricing-footnote { grid-template-columns: 42px 1fr; padding: 16px; }
  .pricing-footnote-mark { width: 40px; height: 40px; border-radius: 12px; }
}

/* Passwordless login CTA */
.login-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.login-cta-actions > span { color: rgba(255,255,255,.45); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.auth-flow-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 830px;
  margin: 48px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
  text-align: left;
}
.auth-flow-step { min-height: 172px; padding: 25px; border-right: 1px solid rgba(255,255,255,.11); }
.auth-flow-step:last-child { border-right: 0; }
.auth-flow-step > span { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-bottom: 30px; border-radius: 9px; background: var(--accent); color: var(--ink); font-size: 10px; font-weight: 950; }
.auth-flow-step strong { display: block; margin-bottom: 6px; font-size: 17px; }
.auth-flow-step p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.55; }

/* Passwordless authentication page */
.auth-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(183,255,99,.2), transparent 27%),
    radial-gradient(circle at 82% 88%, rgba(145,237,242,.22), transparent 29%),
    #eef0f2;
  color: var(--ink);
}
.auth-page::before {
  content: "";
  position: fixed;
  inset: 28px;
  pointer-events: none;
  border: 1px solid rgba(11,16,32,.08);
  border-radius: 30px;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.52);
}
.auth-shell {
  width: min(100% - 36px, 820px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  place-items: center;
}
.auth-back {
  position: fixed;
  z-index: 3;
  top: 34px;
  left: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5d6574;
  text-decoration: none;
  font-size: 13px;
  font-weight: 760;
}
.auth-back:hover { color: var(--ink); }
.auth-back svg { width: 18px; height: 18px; }
.login-page .auth-card-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 30px; }
.login-page .auth-card-nav .auth-brand { margin-bottom: 0; }
/* 登录页卡片顶部空间有限：语言切换用不带边框的紧凑文字，与品牌、返回首页保持一行。 */
.login-page .auth-card-nav .lang-switch { margin-left: auto; padding: 9px 6px; border-color: transparent; background: transparent; }
.login-page .auth-card-nav .lang-switch:hover { background: transparent; transform: none; }
.login-page .auth-back { position: static; min-height: 44px; padding: 9px 13px; border: 1px solid #dce4d6; border-radius: 999px; background: #f6f9f1; color: #445063; font-size: 12px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.login-page .auth-back:hover { background: #eaf5df; color: var(--ink); transform: translateX(-2px); }
.login-page .auth-back:focus-visible { outline: 2px solid #78a73e; outline-offset: 3px; }
.login-page .auth-back svg { width: 16px; height: 16px; }
.login-page .auth-back span { display: inline; }
.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: 58px 70px 48px;
  border: 1px solid rgba(11,16,32,.08);
  border-radius: 34px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 30px 85px rgba(11,16,32,.13);
}
.auth-brand { width: fit-content; margin-bottom: 30px; color: var(--ink); font-size: 22px; }
.auth-brand .brand-mark { width: 42px; height: 42px; }
.auth-heading { margin-bottom: 30px; }

.auth-heading h1 { margin: 0; font-size: clamp(42px, 6vw, 63px); line-height: .98; letter-spacing: -.058em; }
.auth-intro { margin-bottom: 28px; padding: 21px 23px; border-radius: 19px; background: #eff7e7; color: #596154; }
.auth-intro p { margin: 0; font-size: 16px; line-height: 1.7; }
.login-page .auth-intro { margin-bottom: 25px; padding: 18px 21px; }
.login-page .auth-intro p { line-height: 1.55; }
.login-page .auth-intro strong { color: var(--ink); }
.auth-plan-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 16px;
  margin: -8px 0 27px;
  padding: 15px 17px;
  border: 1px solid rgba(11,16,32,.09);
  border-radius: 15px;
  background: #f7f8f3;
}
.auth-plan-banner[hidden] { display: none; }
.auth-plan-banner > span { color: #858b96; font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.auth-plan-banner strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 15px; }
.auth-plan-banner small { color: #697083; font-size: 11px; }
.auth-form { display: grid; gap: 16px; }
.auth-step { display: grid; gap: 19px; }
.auth-step[hidden] { display: none; }
.auth-field { display: grid; gap: 8px; }
.auth-field label { font-size: 15px; font-weight: 850; }
.auth-field input {
  width: 100%;
  min-height: 60px;
  border: 1.5px solid #c9cdd4;
  border-radius: 16px;
  background: #fbfcfd;
  color: var(--ink);
  padding: 15px 18px;
  outline: none;
  font-size: 17px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.auth-field input:focus { border-color: #78a73e; background: #fff; box-shadow: 0 0 0 4px rgba(158,237,69,.14); }
.auth-field input::placeholder { color: #a3a8b1; }
.auth-field small { color: #8b919d; font-size: 11px; }
.auth-submit {
  min-height: 60px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 20px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.auth-submit:hover:not(:disabled) { transform: translateY(-2px); background: #171f34; box-shadow: 0 14px 34px rgba(11,16,32,.18); }
.auth-submit:disabled { cursor: wait; opacity: .72; }
.auth-submit svg { width: 23px; height: 23px; }
.auth-code-input { text-align: center; letter-spacing: .42em; padding-left: calc(18px + .42em) !important; font-size: 25px !important; font-weight: 850; font-variant-numeric: tabular-nums; }
.auth-email-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 15px; border: 1px solid #e0e2e6; border-radius: 14px; background: #f7f8fa; }
.auth-email-summary div { min-width: 0; display: grid; }
.auth-email-summary span { color: #8c929e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.auth-email-summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.auth-email-summary button, .auth-secondary { border: 0; background: transparent; color: #4d6b27; font-weight: 850; cursor: pointer; }
.auth-email-summary button { font-size: 12px; }
.auth-secondary { justify-self: center; padding: 5px; font-size: 12px; }
.auth-secondary:disabled, .auth-email-summary button:disabled { cursor: default; opacity: .55; }
.auth-status { min-height: 21px; margin: 0; color: #727986; font-size: 12px; text-align: center; }
.auth-status[data-state="error"] { color: #bd423b; }
.auth-status[data-state="success"] { color: #4f7b20; }
.auth-status[data-state="loading"] { color: #5f6674; }
.auth-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.auth-trust-row span { padding: 6px 9px; border-radius: 999px; background: #f1f3ed; color: #697083; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.auth-legal { max-width: 510px; margin: 18px auto 0; color: #969ba5; text-align: center; font-size: 10px; line-height: 1.55; }
.auth-legal a { color: #626a79; font-weight: 800; }

/* 登录页的浅色卡片统一使用可读的辅助文字色，不影响账户页的已有样式。 */
.login-page .auth-field input::placeholder,
.login-page .auth-field small,
.login-page .auth-plan-banner > span,
.login-page .auth-email-summary span,
.login-page .auth-trust-row span,
.login-page .auth-legal { color: #626a79; }
.login-page .auth-email-summary button, .login-page .auth-secondary { flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 8px 12px; }
/* 登录页的信任说明使用正常大小写，减少内部标签感。 */
.login-page .auth-trust-row span { font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; }

/* 账户复用登录卡片，仅增加余额和失败重试布局。 */
.account-content[hidden], .account-recovery[hidden] { display: none; }
.account-email { display: block; overflow-wrap: anywhere; color: var(--ink); }
.account-balances { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 30px; }
.account-balances > div { padding: 20px 16px; border: 1px solid #e0e2e6; border-radius: 16px; background: #f7f8fa; }
.account-balances dt { color: #697083; font-size: 12px; }
.account-balances dd { margin: 8px 0 0; overflow-wrap: anywhere; font-size: clamp(28px, 5vw, 38px); font-weight: 850; }
.account-note { color: #697083; font-size: 12px; line-height: 1.7; }
.account-logout { width: 100%; margin-top: 10px; }
.account-status { margin-top: 20px; }
.account-recovery { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; }

@media (max-width: 700px) {
  .auth-flow-preview { grid-template-columns: 1fr; }
  .auth-flow-step { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
  .auth-flow-step:last-child { border-bottom: 0; }
  .auth-flow-step > span { margin-bottom: 18px; }
  .auth-page::before { inset: 10px; border-radius: 20px; box-shadow: inset 0 0 0 4px rgba(255,255,255,.5); }
  .auth-shell { width: min(100% - 26px, 620px); padding: 86px 0 34px; }
  .auth-back { position: absolute; top: 30px; left: 28px; }
  .auth-back span { display: none; }
  .auth-card { padding: 40px 24px 31px; border-radius: 26px; }
  .login-page .auth-card-nav { margin-bottom: 25px; }
  .auth-brand { margin-bottom: 25px; }
  .auth-heading h1 { font-size: 45px; }
  .auth-intro { padding: 18px; }
  .auth-intro p { font-size: 14px; }
  .auth-plan-banner { grid-template-columns: 1fr; }
  .auth-plan-banner strong { grid-column: 1; grid-row: auto; }
  .auth-field input, .auth-submit { min-height: 56px; }
  .auth-code-input { font-size: 22px !important; letter-spacing: .32em; padding-left: calc(18px + .32em) !important; }
}

/* 付款信息沿用账户页视觉，地址和交易哈希在窄屏完整换行。 */
.payment-section, .payment-history { margin-top: 28px; padding-top: 25px; border-top: 1px solid #e0e2e6; }
.payment-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.payment-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.payment-label { font-size: 10px; font-weight: 850; color: #58792e; letter-spacing: .08em; }
.payment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.payment-form .auth-submit { grid-column: 1 / -1; }
.payment-form .auth-field label { font-size: 13px; }
.payment-form select { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #dfe2e6; border-radius: 12px; background: #f8f9fa; color: var(--ink); font: inherit; font-size: 13px; }
.payment-form select:focus { outline: 2px solid #78a73e; outline-offset: 2px; }
.payment-form select:disabled { opacity: .65; }
.payment-message { margin-top: 13px; text-align: left; line-height: 1.6; }

[data-payment-retry][hidden] { display: none; }

.payment-address { display: grid; gap: 8px; padding: 16px; border: 1px solid #dce5d3; border-radius: 12px; background: #fff; }
.payment-address code { overflow-wrap: anywhere; word-break: break-all; font-size: 13px; }
.payment-address button { justify-self: start; padding-left: 0; }
.payment-token { display: block; color: #4d6b27; font-size: 11px; overflow-wrap: anywhere; }
.payment-create-order { width: 100%; margin-top: 10px; }
.payment-order-countdown { margin: 10px 0; color: #4d6b27; font-size: 13px; }
.payment-order-countdown strong { font-variant-numeric: tabular-nums; }
.payment-order-support a { color: #4d6b27; }
.account-page [data-order-countdown-wrap][hidden], .account-page [data-order-support][hidden] { display: none; }

.account-logout { margin-top: 26px; }
@media (max-width: 600px) {
  .payment-form { grid-template-columns: minmax(0, 1fr); }

}

/* 账户工具页使用独立容器；导航保持文档流，避免固定返回链接覆盖品牌。 */
.account-page::before { content: none; }
.account-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 36px; }
.account-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.account-header .auth-brand { margin: 0; }
.account-header .auth-brand .brand-mark { width: 38px; height: 38px; }
.account-header .auth-back { position: static; flex-shrink: 0; }
.account-header .auth-back span { display: inline; }
.account-panel { min-width: 0; padding: 28px; border: 1px solid #e0e4e1; border-radius: 20px; background: #fff; box-shadow: 0 16px 48px rgba(11,16,32,.06); }
.account-panel .auth-heading { margin-bottom: 18px; }
.account-panel .auth-heading h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.045em; }
/* minmax/min-width 防止套餐选项、邮箱和订单长文本撑开网格。 */
.account-overview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); align-items: center; gap: 20px; margin-bottom: 20px; }
.account-overview .auth-intro { margin: 0; padding: 0; background: none; }
.account-overview .auth-intro p { font-size: 13px; }
.account-overview .account-email { margin-top: 4px; font-size: 16px; }
.account-overview .account-balances { margin: 0; gap: 12px; }
.account-overview .account-balances > div { padding: 12px 16px; border-radius: 12px; }
.account-overview .account-balances > div:first-child { background: #eff8e6; border-color: #dbe9ce; }
.account-overview .account-balances dd { margin-top: 4px; font-size: 28px; line-height: 1.2; font-variant-numeric: tabular-nums; }
/* 付款选择与订单摘要并排。 */
.account-actions { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 16px; }
.account-actions > *, .account-panel .auth-field { min-width: 0; }
.account-actions .payment-section { margin: 0; padding: 20px; border: 1px solid #e0e4e1; border-radius: 16px; }
.account-purchase .auth-plan-banner { margin: 0 0 12px; }
.account-panel .payment-heading h2 { font-size: 18px; }
.account-panel .account-note { font-size: 12px; }
.account-panel .auth-submit { min-height: 44px; padding: 10px 16px; border-radius: 10px; font-size: 13px; }
.payment-setup { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 20px; align-items: start; margin-top: 16px; }
.account-panel .payment-form { grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
.account-panel .payment-form select { min-height: 44px; }
.account-panel .payment-address { display: flex; align-items: flex-start; gap: 16px; margin: 0; padding: 16px; }
.payment-address-info { flex: 1; min-width: 0; }
.payment-address-info > span { color: #697083; font-size: 12px; }
.payment-address-info code { display: block; margin: 8px 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
/* 二维码保留完整白色留白，不裁切、不拉伸，hidden 状态由数据加载控制。 */
.account-panel .payment-qr { flex: 0 0 auto; width: 144px; height: 144px; background: #fff; }
.account-panel .payment-qr[hidden], .payment-address-info code[hidden] { display: none; }
.account-panel .payment-copy { min-height: 36px; padding: 7px 11px; border: 1px solid #cdddbe; border-radius: 8px; background: #fff; font-size: 12px; }
.account-panel .payment-copy:hover:not(:disabled) { background: #eff8e6; }
.account-panel .payment-address-info .account-note { margin: 9px 0 0; }

.account-panel .payment-history { margin-top: 22px; padding-top: 20px; }
.account-panel .account-logout { width: auto; display: flex; min-height: 40px; margin: 24px 0 0 auto; border: 1px solid #dfe2e6; background: #fff; color: #5d6574; }
.account-panel .account-logout:hover:not(:disabled) { background: #f7f8fa; box-shadow: none; transform: none; }
.account-panel .account-status:empty { display: none; }
@media (max-width: 860px) {
  .payment-setup { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .account-panel .payment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }

}
@media (max-width: 520px) {
  .account-shell { width: calc(100% - 28px); padding: 20px 0 28px; }
  .account-header { gap: 10px; margin-bottom: 16px; }
  .account-header .auth-brand { gap: 7px; font-size: 18px; }
  .account-header .auth-brand .brand-mark { width: 32px; height: 32px; }
  .account-header .auth-back { gap: 4px; font-size: 12px; }
  .account-panel { padding: 20px 16px; border-radius: 16px; }
  .account-panel .auth-heading h1 { font-size: 25px; }
  .account-overview { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .account-overview .account-balances { gap: 8px; }
  .account-overview .account-balances > div { padding: 12px; }
  .account-overview .account-balances dd { font-size: 26px; }
  .account-actions .payment-section { padding: 16px; }
  .account-panel .payment-form { grid-template-columns: minmax(0, 1fr); }
  .account-panel .payment-address { flex-direction: column; padding: 14px; gap: 12px; }
  .account-panel .payment-qr { align-self: center; }
  .payment-address-info { width: 100%; }
}

/* 手动预览版安装指引：内部浏览器地址仅展示和复制，卡片在窄屏纵向排列。 */
.hero-demo-link { margin-top: 12px; color: rgba(255,255,255,.66); font-size: 13px; }
.install-section { scroll-margin-top: 76px; background: #101727; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.install-section .section-heading { max-width: 840px; margin-bottom: 42px; }
.install-section .section-heading h2 > span { color: var(--accent); }
.install-section .section-heading > p { max-width: 630px; color: rgba(255,255,255,.62); font-size: 16px; line-height: 1.65; }
.install-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.install-card { display: flex; flex-direction: column; min-width: 0; padding: 30px 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #172033; }
.install-step-heading { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.52); font-size: 9px; font-weight: 850; letter-spacing: .07em; }
.install-step-number { display: inline-grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--accent); color: var(--ink); font-size: 13px; letter-spacing: 0; }
.install-icon { width: 48px; height: 48px; margin: 29px 0 17px; color: var(--accent); }
.install-card h3 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.035em; }
.install-card p { margin: 14px 0; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.75; }
.install-card p strong { color: var(--white); font-weight: 750; }
.install-card p code { padding: 2px 5px; border-radius: 4px; background: rgba(255,255,255,.08); color: var(--white); font-size: 12px; }
.install-download { align-self: flex-start; margin-top: auto; }
.install-card .text-link { align-self: flex-start; margin-top: 16px; font-size: 12px; }
.install-browser-address { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 8px 8px 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: #101727; }
.install-browser-address code { min-width: 0; overflow-wrap: anywhere; color: #dbe3ee; font-size: 12px; }
.install-browser-address button { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 7px 11px; border: 0; border-radius: 6px; background: rgba(183,255,99,.13); color: var(--accent); font-size: 11px; font-weight: 800; cursor: pointer; }
.install-browser-address button:hover { background: rgba(183,255,99,.22); }
.install-browser-address button:disabled { opacity: .5; cursor: wait; }
.install-browser-address button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.install-card .install-copy-status { min-height: 38px; margin: 10px 0 0; font-size: 10px; overflow-wrap: anywhere; }
.install-copy-status[data-state="success"] { color: var(--accent); }
.install-copy-status[data-state="error"] { color: #ffb3a7; }
.install-ready { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; color: var(--accent); font-size: 11px; font-weight: 750; }
@media (max-width: 820px) {
  .install-grid { grid-template-columns: minmax(0, 1fr); max-width: 580px; margin-inline: auto; }
  .install-card { padding: 26px; }
  .install-icon { margin-top: 22px; }
  .install-download { margin-top: 12px; }
  .install-ready { margin-top: 0; }
}

/* Google 与邮箱共用账户入口，按钮与现有登录卡片保持一致。 */
.auth-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; margin-top: 20px; border: 1px solid #747775; border-radius: 8px; background: #fff; color: #1f1f1f; font: 500 14px/1.4 Arial, sans-serif; cursor: pointer; }
.auth-google:disabled { opacity: .6; cursor: wait; }
.auth-divider { margin: 14px 0 0; color: #666; text-align: center; font-size: 12px; }

/* My account 支付区：选择阶段聚焦套餐，建单后由底部订单条承载支付信息。 */
.account-page { background: #f6f7f0; }
.account-page .account-shell { padding-bottom: calc(36px + var(--payment-dock-reserve, 0px)); }
.account-page .account-panel { background: transparent; border: 0; box-shadow: none; padding: 0; }
.account-page .account-overview, .account-page .account-actions .payment-section, .account-page .payment-history { background: #fff; border: 1px solid #e2e6dc; border-radius: 16px; box-shadow: 0 8px 30px rgba(21,31,17,.035); }
.account-page .account-overview { padding: 18px 22px; margin-bottom: 14px; }
.account-page .account-overview .auth-heading { margin: 0 0 8px; }
.account-page .account-actions .payment-section { padding: 22px; }
.account-page .payment-heading h2 { font-size: 21px; }
.account-page .payment-label { color: #779148; }
.account-page .payment-setup { grid-template-columns: minmax(0,1.1fr) minmax(260px,.8fr); gap: 14px; }
.account-page .payment-form { gap: 16px; }
.account-page .payment-choice-group { min-width: 0; }
.account-page .payment-choice-label { font-size: 13px; font-weight: 800; }
.account-page .payment-step { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 7px; border-radius: 5px; background: #e8f6d8; color: #355621; font-size: 12px; font-weight: 850; }
.account-page .payment-choice-group > select { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.account-page .payment-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.account-page .payment-choice { display: grid; gap: 13px; min-width: 0; padding: 15px; border: 1px solid #dfe4d7; border-radius: 12px; background: #fff; color: #27301f; font: inherit; text-align: left; cursor: pointer; }
.account-page .payment-choice[data-selected="true"] { border-color: #83bd44; background: #f7fced; box-shadow: inset 0 0 0 1px #83bd44; }
.account-page .payment-choice:focus-visible { outline: 2px solid #5f9832; outline-offset: 2px; }
.account-page .payment-choice:disabled { cursor: default; opacity: .55; }
.account-page .payment-choice-title { display: flex; align-items: center; gap: 7px; min-width: 0; }
.account-page .payment-choice-title strong { font-size: 13px; }
.account-page .payment-choice-title em { margin-left: auto; color: #57842d; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.account-page .payment-radio { flex: 0 0 auto; width: 15px; height: 15px; border: 1px solid #aab7a0; border-radius: 50%; background: #fff; }
.account-page .payment-choice[data-selected="true"] .payment-radio { border: 5px solid #74af36; }

.account-page .payment-choice small { color: #778073; font-size: 10px; line-height: 1.4; }
.account-page .payment-network-cards .payment-choice { gap: 5px; }
.account-page .payment-network-cards .payment-choice > small { margin-left: 22px; }

.account-page .payment-summary { padding: 18px; border: 1px solid #e4e9de; border-radius: 12px; background: #fafcf8; }
.account-page .payment-summary h3, .account-page .payment-summary h4 { margin: 0 0 14px; font-size: 14px; }
.account-page .payment-summary dl { display: grid; gap: 13px; margin: 0; }
.account-page .payment-summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.account-page .payment-summary dt { color: #697566; }
.account-page .payment-summary dd { margin: 0; font-weight: 800; text-align: right; }
.account-page .payment-summary-total { padding-top: 12px; border-top: 1px solid #e2e8da; }
.account-page .payment-summary-total dd { font-size: 19px; }
.account-page .payment-summary p, .account-page .payment-summary li { color: #697566; font-size: 11px; line-height: 1.6; }
.account-page .payment-summary ol { margin: 0 0 14px; padding-left: 18px; }
.account-page .payment-summary a { color: #4d752c; font-size: 11px; font-weight: 800; }

.account-page .payment-setup[hidden] { display: none; }

.account-page .payment-history { padding: 18px 22px; margin-top: 14px; }
.account-page .payment-history .payment-heading h2 { color: #788174; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.account-page .payment-history [data-orders-refresh] { min-height: 0; padding: 0; border: 0; background: transparent; color: #697566; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 850px) {
  .account-page .payment-setup { grid-template-columns: 1fr; }

}
@media (max-width: 600px) {
  .account-page .account-overview { grid-template-columns: 1fr; }
  .account-page .payment-cards { grid-template-columns: 1fr; }
  .account-page .payment-choice { gap: 6px; }

}

/* 历史订单同时显示付款网络，避免用户把不同链的 USDC 订单混淆。 */
.account-page .payment-history-head, .account-page .payment-history-row { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1.55fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: 14px; }
.account-page .payment-history-head { padding: 16px 12px 9px; color: #788174; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.account-page .payment-history-row { width: 100%; min-height: 56px; padding: 11px 12px; border: 0; border-top: 1px solid #e9eee4; background: #fff; color: #27301f; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.account-page .payment-history-row:hover:not(:disabled) { background: #f8fbf4; }
.account-page .payment-history-row:focus-visible { outline: 2px solid #74af36; outline-offset: -2px; }
.account-page .payment-history-row:disabled { cursor: default; opacity: .65; }
.account-page .payment-history-id { min-width: 0; overflow-wrap: anywhere; font-weight: 800; }
.account-page .payment-history-created { color: #778073; }
.account-page .payment-history-chain { display: inline-block; justify-self: start; padding: 4px 9px; border: 1px solid #b8d3f5; border-radius: 6px; background: #eaf3ff; color: #174e91; font-weight: 800; }

.account-page .payment-history-amount { font-weight: 750; font-variant-numeric: tabular-nums; }
.account-page .payment-history-status { justify-self: start; padding: 3px 8px; border: 1px solid #efdfb9; border-radius: 99px; background: #fff3dc; color: #8a5a0b; font-size: 11px; font-weight: 700; white-space: nowrap; }
.account-page .payment-history-status[data-state="confirming"] { border-color: #c7def1; background: #e8f2fc; color: #1f619c; }
.account-page .payment-history-status[data-state="paid"] { border-color: #cce9b8; background: #e5f5d8; color: #3b651d; }
.account-page .payment-history-status[data-state="expired"] { border-color: #dfe4d9; background: #edf0e9; color: #606a5a; }
.account-page .payment-history-status[data-state="underpaid"] { border-color: #f3ceca; background: #ffebe9; color: #a63d38; }
.account-page .payment-history-empty { margin: 0; padding: 18px 12px; border-top: 1px solid #e9eee4; color: #778073; font-size: 12px; }
@media (max-width: 760px) {
  .account-page .payment-history-head { display: none; }
  .account-page .payment-history-row { grid-template-columns: minmax(0,1fr) auto; gap: 7px 12px; padding: 14px 10px; }
  .account-page .payment-history-id { grid-column: 1; grid-row: 1; }
  .account-page .payment-history-status { grid-column: 2; grid-row: 1; }
  .account-page .payment-history-created { grid-column: 1; grid-row: 2; }
  .account-page .payment-history-amount { grid-column: 2; grid-row: 2; }
  .account-page .payment-history-chain { grid-column: 1 / -1; grid-row: 3; }
  .account-page .payment-history-chain::before { content: attr(data-label) ' · '; color: #778073; font-weight: 400; }
}

/* 推荐链接可换行，避免移动端长URL撑开账户页。 */
.referral-link { overflow-wrap: anywhere; }
.referral-actions { display: flex; flex-wrap: wrap; gap: 12px; }

[data-referral-withdrawal-form] .auth-field + .auth-field { margin-top: 14px; }
[data-referral-withdrawal-records] li { overflow-wrap: anywhere; }

.account-tabs { display: flex; gap: 8px; margin: 24px 0; border-bottom: 1px solid #dfe4d9; }
.account-tabs button { flex: 1; padding: 12px 8px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.account-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); font-weight: 700; }
.account-tabs button:focus-visible { outline: 2px solid #74af36; outline-offset: -2px; }

/* Referrals 按现金、邀请操作、记录排序；金额与 checks 分区显示。 */
.account-page .account-shell { padding-top: 18px; }
.account-page .account-header { margin-bottom: 14px; }
.account-topnav { display: flex; align-items: center; gap: 18px; }
.account-topnav > button { color: #5d6574; font-weight: 500; }
.account-page .account-overview { grid-template-columns: minmax(0,1fr) auto auto; gap: 22px; padding: 12px 20px; }
.account-page .account-overview .auth-heading { margin-bottom: 4px; }
.account-page .account-overview .account-email { display: inline; font-size: 13px; }
.account-page .account-overview .account-balances > div { min-width: 132px; padding: 8px 14px; }
.account-page .account-overview .account-balances dd { margin-top: 2px; font-size: 26px; line-height: 1.1; }
.account-page .account-add { width: auto; }
.account-tabs { margin: 12px 0; }
.account-tabs button { display: grid; gap: 2px; justify-items: center; padding: 7px 8px 9px; line-height: 1.3; }
.account-tabs b { font-size: 14px; }
.account-tabs small { color: #697566; font-size: 11px; font-weight: 400; }
.referrals-body { display: grid; gap: 14px; color: var(--ink); font-size: 13px; line-height: 1.45; }
.referrals-body [hidden] { display: none !important; }
.referral-hero { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(0,1fr); gap: 14px; align-items: start; }
.referral-card { min-width: 0; padding: 14px 20px; border: 1px solid #e2e6dc; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(21,31,17,.035); }
.referral-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.referral-card h2, .referral-card h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.referral-card h3 { margin-top: 16px; }
.referral-eyebrow, .referral-card h2.referral-eyebrow { display: block; color: #6b8341; font-size: 10.5px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.referral-note { margin: 7px 0 0; color: #697566; font-size: 11.5px; line-height: 1.6; }
.referral-money { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0; }
.referral-money strong { min-width: 0; overflow-wrap: anywhere; font-size: 35px; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.referral-money > span { color: #697566; font-size: 14px; font-weight: 750; }
.referral-metrics, .referral-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 8px 0 0; padding-top: 7px; border-top: 1px solid #eef1e8; }
.referral-metrics dt, .referral-stats dt { color: #697566; font-size: 11px; }
.referral-metrics dd, .referral-stats dd { margin: 2px 0 0; font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.referral-stats dd { font-size: 19px; }
.referral-stats > div + div { padding-left: 14px; border-left: 1px solid #eef1e8; }
.referral-stats small { display: block; margin-top: 4px; color: #697566; font-size: 10.5px; line-height: 1.5; }
.referral-threshold { margin-top: 8px; padding: 8px 13px; border: 1px solid #f0e2c0; border-radius: 10px; background: #fffaf0; color: #7a5a12; }
.referral-threshold p { margin: 0; font-size: 12px; line-height: 1.55; }
.referral-threshold[data-ready="true"] .referral-bar { display: none; }
.referral-threshold[data-ready="true"] { border-color: #dbe9ce; background: #eff8e6; color: #355621; }
.referral-bar { height: 6px; margin-top: 7px; border-radius: 99px; background: #eee9dc; overflow: hidden; }
.referral-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: #91bd51; }
.referral-actions-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 9px; }
.referral-actions-row .referral-note { margin: 0; }
.referral-card .auth-submit { width: auto; }
.referral-card .auth-submit:disabled { cursor: not-allowed; background: #e9ebe5; color: #747c6b; opacity: 1; }
.referral-ghost { min-height: 44px; padding: 9px 16px; border-radius: 10px; border: 1px solid #cdddbe; background: #fff; color: #355621; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.referral-ghost:hover:not(:disabled) { background: #eff8e6; }
.referral-ghost:disabled { cursor: default; opacity: .45; }
.referral-refresh { min-height: 36px; padding: 4px 0; border: 0; background: none; color: #4f7b20; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.referral-refresh:disabled { opacity: .5; cursor: default; }
.referral-card button:focus-visible, .referral-rules summary:focus-visible { outline: 2px solid #74af36; outline-offset: 3px; }
.referral-tier-now { display: flex; align-items: center; gap: 24px; margin-top: 12px; }
.referral-tier-rate { margin: 0; font-size: 35px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.referral-tier-rate small, .referral-tier-next small { display: block; margin-top: 7px; color: #697566; font-size: 11.5px; font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.referral-tier-next { color: #4f7b20; font-size: 22px; }
.referral-tier-progress { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eef1e8; }
.referral-tier-progress > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: #697566; font-size: 11px; }
.referral-tier-progress strong { color: var(--ink); font-size: 14px; }
.referral-rules { margin-top: 12px; color: #697566; font-size: 11.5px; line-height: 1.6; }
.referral-rules summary { color: #4f7b20; cursor: pointer; font-weight: 800; }
.referral-rules ul { padding-left: 18px; }
.referral-link { min-width: 0; margin-top: 8px; padding: 9px 12px; border: 1px solid #e2e6dc; border-radius: 10px; background: #fafbf7; }
.referral-link code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3a4436; font-size: 12.5px; user-select: all; }
.referral-link code:empty::before { content: 'Create your link to start inviting.'; color: #697566; }
/* 伪元素文字不经过 i18n.js 词典，中文模式单独覆盖。 */
html[lang="zh-CN"] .referral-link code:empty::before { content: '创建邀请链接后即可开始邀请。'; }

.referral-card .auth-field input { min-height: 44px; padding: 10px 13px; font-size: 13px; }
.referral-card .auth-field label { font-size: 12px; }
.referral-card .auth-field small { font-size: 11px; line-height: 1.5; color: #697566; }
.referral-message { margin: 8px 0 0; font-size: 12px; color: #697566; overflow-wrap: anywhere; }
.referral-message:empty { display: none; }
.referral-shortfall { padding: 12px; border-radius: 10px; background: #ffebe9; color: #a63d38; font-size: 12px; }
.referral-drawer { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e2e6dc; }
.referral-drawer h3 { margin-top: 0; }
.referral-drawer .auth-field { margin-top: 14px; }
.referral-withdrawal-summary { display: grid; gap: 8px; margin: 14px 0 0; padding: 12px; border-radius: 10px; background: #f7f9f3; font-size: 12px; }
.referral-withdrawal-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.referral-withdrawal-summary dd { margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.referral-withdrawal-summary > div:last-child { padding-top: 8px; border-top: 1px solid #e2e6dc; }
.referral-subtabs { display: flex; width: fit-content; max-width: 100%; gap: 2px; padding: 3px; border-radius: 10px; background: #f2f4ee; }
.referral-subtabs button { min-height: 40px; padding: 7px 13px; border: 0; border-radius: 8px; background: none; color: #5b6357; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.referral-subtabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11,16,32,.09); }
.referral-list { list-style: none; padding: 0; margin: 8px 0 0; }
.referral-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 8px 14px; padding: 12px 2px; border-bottom: 1px solid #eef1e8; }
.referral-row-main { min-width: 0; }
.referral-row-title { display: block; font-size: 12.5px; overflow-wrap: anywhere; }
.referral-row-detail { margin: 3px 0 0; font-size: 11.5px; line-height: 1.55; color: #697566; overflow-wrap: anywhere; }
.referral-row a { display: block; margin-top: 6px; color: #4f7b20; font-size: 11.5px; }
.referral-amount { text-align: right; font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.referral-amount small { display: block; margin-top: 2px; font-size: 10.5px; color: #697566; font-weight: 600; }
.referral-amount[data-negative="true"], [data-referral-cash-voided] { color: #a63d38; }
.referral-badge { justify-self: end; display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 800; background: #f0f2ec; color: #626d5a; }
.referral-badge[data-state="pending_review"] { background: #fff4dc; color: #8a5a0b; }
.referral-badge[data-state="approved"] { background: #eaf3ff; color: #174e91; }
.referral-badge[data-state="paid"], .referral-badge[data-state="credited"] { background: #eff8e6; color: #355621; }
.referral-badge[data-state="rejected"], .referral-badge[data-state="refund"] { background: #ffebe9; color: #a63d38; }
.referral-empty { margin: 8px 0; padding: 20px 0; color: #697566; font-size: 12px; }
.referral-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; font-size: 11.5px; color: #697566; }
.referral-pager .referral-ghost { min-height: 40px; padding: 7px 12px; }
.referral-pager .referral-refresh { margin-left: auto; }
@media (max-width: 850px) {
  .account-page .account-overview { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  .account-overview-identity { grid-column: 1 / -1; }
  .account-page .account-overview .account-balances > div { min-width: 0; }
}
@media (max-width: 600px) {
  .account-page .account-shell { padding-top: 16px; }
  .account-page .account-overview { padding: 14px; }
  .account-page .account-add { padding-inline: 12px; }
  .account-page .account-overview .account-balances > div { padding: 8px 10px; }
  .account-page .account-overview .account-balances dt { font-size: 10px; }
  .account-topnav { gap: 10px; }
  .account-header .auth-back span { display: none; }
  .referrals-body { gap: 12px; }
  .referral-hero { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .referral-card { padding: 14px; }
  .referral-money strong { font-size: 32px; }
  .referral-actions-row .auth-submit { width: 100%; }
  .referral-card .referral-actions { gap: 6px; }
  .referral-card .referral-actions button { padding-inline: 12px; }
  /* 手机端等级压成条形，保留人数口径和规则入口，给复制链接留出首屏位置。 */
  .referral-tier-card { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 6px 14px; }
  .referral-tier-card > .referral-card-head { grid-column: 1 / -1; }
  .referral-tier-card > .referral-card-head .referral-refresh { min-height: 20px; }
  .referral-tier-now { display: contents; }
  .referral-tier-rate { grid-column: 1; grid-row: 2; font-size: 24px; }
  .referral-tier-rate small { margin-top: 2px; font-size: 10px; }
  .referral-tier-next { grid-column: 1 / -1; grid-row: 3; font-size: 12px; }
  .referral-tier-next small { display: inline; margin: 0; font-size: 11px; }
  .referral-tier-progress { grid-column: 2; grid-row: 2; border: 0; margin: 0; padding: 0; }
  .referral-tier-progress > div:first-child { gap: 2px 8px; font-size: 10px; }
  .referral-tier-progress > .referral-note { display: none; }
  .referral-tier-card .referral-rules, .referral-tier-card > .referral-message { grid-column: 1 / -1; margin-top: 0; }
  .referral-stats { gap: 8px; }
  .referral-stats > div + div { padding-left: 8px; }

  .referral-subtabs { width: 100%; }
  .referral-subtabs button { flex: 1; padding: 7px 6px; font-size: 11px; }
  .referral-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .referral-row-main { grid-column: 1 / -1; }
  .referral-amount { text-align: left; }
}

/* Tasks 使用账户现有卡片，奖励进度和审核信息分别展示。 */
.tasks-body { display: grid; gap: 14px; font-size: 13px; line-height: 1.5; }
.tasks-body [hidden] { display: none !important; }
.tasks-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: start; gap: 14px; }
.task-main > .auth-submit { margin-top: 14px; }
.task-main .auth-submit { min-height: 44px; }
.task-now { margin: 18px 0 12px; }
.task-now p { margin: 7px 0 0; color: #4b5449; font-size: 13px; }
.task-badge { display: inline-block; padding: 4px 8px; border-radius: 6px; background: #f0f2ec; color: #596351; font-size: 10.5px; font-weight: 800; }
.task-badge[data-state="pending"] { background: #fff4dc; color: #8a5a0b; }
.task-badge[data-state="success"] { background: #eff8e6; color: #355621; }
.task-badge[data-state="review"] { background: #eaf3ff; color: #174e91; }
.task-badge[data-state="error"] { background: #ffebe9; color: #a63d38; }
.task-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 16px 0; list-style: none; }
.task-steps li { position: relative; padding-top: 18px; color: #697566; font-size: 11px; font-weight: 700; border-top: 2px solid #e2e6dc; }
.task-steps li::before { content: ''; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #d8dfd1; }
.task-steps li[data-state="done"] { border-color: #8ec94e; color: #355621; }
.task-steps li[data-state="done"]::before { background: #6c9f35; }
.task-steps li[data-state="current"] { color: #0b1020; }
.task-steps li[data-state="current"]::before { background: #0b1020; box-shadow: 0 0 0 4px #e9f4df; }
.task-link-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }

.task-alert { margin-top: 14px; padding: 12px; border: 1px solid #f0dcb0; border-radius: 10px; background: #fffaf0; color: #8a5a0b; font-size: 12px; overflow-wrap: anywhere; }
.task-alert strong { display: block; }

.task-review dl { display: grid; gap: 12px; margin: 16px 0; font-size: 12px; }
.task-review dl > div { display: flex; justify-content: space-between; gap: 12px; }
.task-review dt { color: #697566; }
.task-review dd { margin: 0; text-align: right; font-weight: 750; }
.task-reopen { display: inline-block; margin: 0 0 8px; color: #4f7b20; font-size: 12px; }
.task-rules { margin: 0; }
@media (max-width: 700px) {
  .tasks-grid { grid-template-columns: minmax(0,1fr); }
  .task-link-row { grid-template-columns: minmax(0,1fr); }
  .task-main .auth-submit { width: 100%; }
  .task-main .referral-card-head { align-items: start; gap: 8px; }
  .task-main .referral-badge { font-size: 9px; }
}

.task-draft { margin: 14px 0; padding: 12px; border-radius: 10px; background: #f5f8f0; }
.task-draft h3 { margin: 0 0 8px; font-size: 12px; }
.task-draft p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; }
/* 充值记录只读展示，分页按钮位于列表下方。 */
.account-page div.payment-history-row { cursor: default; }
.account-page .payment-history-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 0 0; color: #778073; font-size: 12px; }
.account-page .payment-summary input { width: 7.5em; min-height: 36px; padding: 6px 8px; border: 1px solid #d8e0cf; border-radius: 8px; font: inherit; }
