/* ==========================================================================
   小珍珠矿工 · 官网样式
   颜色与圆角刻意和桌面软件（app/theme.py）保持一致：淡粉白底 + 珍珠粉主色
   ========================================================================== */

:root {
  /* 底色 */
  --bg:            #FFF6FA;
  --bg-alt:        #FFEDF5;
  --card:          #FFFFFF;
  --card-soft:     #FFF9FC;
  --border:        #F3DFEA;
  --border-soft:   #F8EBF2;

  /* 珍珠粉主色 */
  --primary:       #FF7FA8;
  --primary-hover: #FF6A99;
  --primary-soft:  #FFE4EF;
  --primary-text:  #B23A63;

  /* 辅助色 */
  --mint:          #3FCBAA;
  --mint-soft:     #DEF7F0;
  --mint-text:     #1B7F68;
  --lav:           #9B86FF;
  --lav-soft:      #ECE7FF;
  --lav-text:      #5B45C4;

  /* 文字 */
  --text:          #3E2C38;
  --text-mid:      #7C6573;
  --text-dim:      #AC98A3;

  /* 状态 */
  --warn:          #F0A020;
  --bad:           #F2685F;

  --radius:        18px;
  --radius-sm:     12px;
  --shadow-card:   0 6px 20px rgba(178, 58, 99, .055);
  --shadow-lift:   0 14px 34px rgba(178, 58, 99, .12);
  --font: "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, "PingFang SC",
          "Noto Sans CJK SC", "Source Han Sans SC", "HarmonyOS Sans SC", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}

/* ------------------------------------------------------------------ 基础 -- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(760px 420px at 8% -6%,   rgba(255, 127, 168, .16), transparent 62%),
    radial-gradient(680px 400px at 90% 2%,   rgba(155, 134, 255, .13), transparent 60%),
    radial-gradient(560px 340px at 50% 108%, rgba(63, 203, 170, .10), transparent 62%);
  background-attachment: fixed;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.2px; }
h1 { font-size: clamp(30px, 5.4vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
h2 { font-size: clamp(23px, 3.4vw, 31px); font-weight: 800; }
h3 { font-size: 17px; font-weight: 700; }
p  { margin: 0; }
a  { color: var(--primary-text); text-decoration: none; }
a:hover { color: var(--primary-hover); }
code { font-family: var(--mono); font-size: 12.5px; background: var(--card-soft);
       border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
ul, ol { margin: 0; }

::selection { background: var(--primary-soft); color: var(--primary-text); }

:focus-visible {
  outline: 3px solid rgba(255, 127, 168, .5);
  outline-offset: 2px;
  border-radius: 8px;
}

[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; min-width: 0; }
.wrap-narrow { max-width: 820px; }
.wrap > * { min-width: 0; }

.tiny  { font-size: 12.5px; line-height: 1.75; }
.muted { color: var(--text-mid); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--card); color: var(--primary-text);
  border: 1px solid var(--border); border-radius: 0 0 12px 0;
  padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { left: 0; }

.noscript {
  background: #FFEEDF; border: 1px solid #FBE0B4; color: #7A4E06;
  border-radius: 14px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px;
}

/* -------------------------------------------------------------- 顶部导航 -- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 250, .84);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 800; flex: none; }
.brand:hover { color: var(--text); }
.brand-pearl { font-size: 22px; line-height: 1; }
/* nowrap + flex:none：页签把空间抢走时，站名不许被压成一列单字（中文任意字符都能断行） */
.brand-name  { font-size: 16.5px; letter-spacing: -.2px; white-space: nowrap; }

/* 页签：横向切页的入口。样式沿用按钮那套变量，不做成浏览器默认标签页的样子。
   overflow-x:auto 是给手机准备的——窄屏时这一排自己横向滑，绝不换行挤成一坨。 */
.nav-tabs {
  position: relative;              /* 让 offsetLeft 相对自己算，app.js 用它把选中的页签滚到中间 */
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 auto; min-width: 0; margin-left: auto;
  overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  flex: none; white-space: nowrap;
  color: var(--text-mid); font-size: 14px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.nav-tab:hover { background: var(--primary-soft); color: var(--primary-text); }
.nav-tab.is-active { background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(255, 127, 168, .3); }
.nav-tab.is-active:hover { background: var(--primary-hover); color: #fff; }
.nav-inner > .btn { margin-left: 6px; }

/* ---------------------------------------------------- 横向切页（tab 路由） -- */
/* 一次只让一页参与布局：其余页面 display:none，是彻底移出布局，不是 visibility 那种还占位的做法。
   容器加 overflow:hidden，是为了把滑进滑出的那一页裁在容器里，否则横向会拱出滚动条。 */
.pager { position: relative; overflow: hidden; }

.page { display: none; }
.page.is-current,
.page.is-entering,
.page.is-leaving { display: block; }

/* 正在离场的那一页要脱出文档流：两页同时留在流里的话，
   容器高度会先变成两页之和，切页时页面会明显抖一下。 */
.page.is-leaving {
  position: absolute; top: 0; left: 0; width: 100%;
  pointer-events: none;            /* 滑走中的旧页不该再被点到 */
}

/* ---------------------------------------------------------------- 按钮 -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background .16s ease, color .16s ease, border-color .16s ease,
              transform .16s ease, box-shadow .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 18px rgba(255, 127, 168, .3);
}
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: #fff; color: var(--text); border-color: var(--border);
  box-shadow: var(--shadow-card);
}
.btn-ghost:hover { border-color: #F7C6DA; color: var(--primary-text); background: var(--card-soft); }
.btn-soft { background: var(--primary-soft); color: var(--primary-text); }
.btn-soft:hover { background: #FFD3E4; color: var(--primary-text); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }
.btn-lg { padding: 15px 27px; font-size: 16px; }
.btn-block { width: 100%; padding: 13px 20px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: default; transform: none; }
.linkbtn {
  font-family: inherit; font-size: inherit; font-weight: 700; color: var(--primary-text);
  background: none; border: none; padding: 0; margin: 0; cursor: pointer; text-decoration: underline;
}
.linkbtn:hover { color: var(--primary-hover); }

/* ---------------------------------------------------------------- 卡片 -- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.section { padding: 58px 0; scroll-margin-top: 74px; }
.section-soft {
  background: linear-gradient(180deg, #FFF3F8 0%, var(--card-soft) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.sec-head { max-width: 720px; margin-bottom: 26px; }
.sec-head h2 { margin: 12px 0 8px; }
.eyebrow {
  display: inline-block; background: var(--primary-soft); color: var(--primary-text);
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  padding: 5px 12px; border-radius: 999px;
}
.lede { color: var(--text-mid); font-size: 15.5px; line-height: 1.85; }
.lede b, .muted b { color: var(--text); }

/* ----------------------------------------------------------------- Hero -- */
.hero { padding: 46px 0 8px; }
.hero-inner {
  display: grid; grid-template-columns: 1.06fr .94fr;
  gap: 44px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 14px; }
.hero-copy h1 { margin-bottom: 14px; }
.hero-copy .lede { max-width: 30em; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 14px; }
.fineprint {
  font-size: 13px; color: var(--text-dim);
  background: var(--card-soft); border: 1px dashed var(--border);
  border-radius: 12px; padding: 9px 14px; display: inline-block;
}
.statline {
  margin-top: 12px; font-size: 13px; color: var(--mint-text);
  background: var(--mint-soft); border: 1px solid #C3EEDF;
  border-radius: 12px; padding: 8px 14px; display: inline-block;
}

.hero-art { display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* 珍珠吉祥物：纯 CSS 画的白圆 + 眼睛 + 腮红 + 微笑 */
.pearl { position: relative; width: 132px; height: 132px; }
.pearl-body {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #FFFFFF 0%, #FFF4F9 40%,
                              var(--primary-soft) 76%, #FFD3E4 100%);
  border: 1px solid #F6D9E6;
  box-shadow:
    0 16px 30px rgba(255, 127, 168, .3),
    inset 0 -9px 18px rgba(255, 183, 209, .5),
    inset 0 7px 14px #FFFFFF;
  animation: pearl-bob 4.6s ease-in-out infinite;
}
.pearl-eye {
  position: absolute; top: 51px; width: 11px; height: 13px;
  border-radius: 50%; background: var(--text);
}
.pearl-eye-l { left: 38px; }
.pearl-eye-r { right: 38px; }
.pearl-blush {
  position: absolute; top: 71px; width: 21px; height: 12px; border-radius: 50%;
  background: #FFB3CB; opacity: .72; filter: blur(2px);
}
.pearl-blush-l { left: 21px; }
.pearl-blush-r { right: 21px; }
.pearl-mouth {
  position: absolute; left: 50%; top: 70px; width: 26px; height: 13px;
  margin-left: -13px; border: 2.5px solid var(--text); border-top: none;
  border-radius: 0 0 26px 26px; opacity: .82;
}
.pearl-shine {
  position: absolute; left: 25px; top: 19px; width: 25px; height: 15px;
  border-radius: 50%; background: #fff; filter: blur(3px);
  opacity: .92; transform: rotate(-24deg);
}
.sparkle {
  position: absolute; width: 9px; height: 9px; border-radius: 2px;
  background: linear-gradient(135deg, #FFD9E7, var(--primary));
  transform: rotate(45deg); opacity: .85;
  animation: sparkle-twinkle 3.4s ease-in-out infinite;
}
.sparkle-a { top: -4px;  right: 6px; }
.sparkle-b { bottom: 8px; left: -8px; animation-delay: .9s; width: 7px; height: 7px; }
.sparkle-c { top: 42px;   right: -14px; animation-delay: 1.7s; width: 6px; height: 6px; }

@keyframes pearl-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
@keyframes sparkle-twinkle {
  0%, 100% { opacity: .3; transform: rotate(45deg) scale(.85); }
  50%      { opacity: .95; transform: rotate(45deg) scale(1.1); }
}

/* 软件界面示意图（假界面，用纯 CSS 摆出来的） */
.mock {
  width: 100%; max-width: 356px;
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lift);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 13px; background: var(--card-soft);
  border-bottom: 1px solid var(--border-soft);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot-r { background: #FFB3B0; }
.mock-dot-y { background: #FFD98A; }
.mock-dot-g { background: #9FE3CF; }
.mock-title { margin-left: 7px; font-size: 12.5px; color: var(--text-mid); }

.mock-body { padding: 14px; }
.mock-status { display: flex; gap: 8px; margin-bottom: 11px; }
.pill { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pill-mint { background: var(--mint-soft); color: var(--mint-text); }
.pill-lav  { background: var(--lav-soft);  color: var(--lav-text); }

.mock-hash { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.mock-hash-num {
  font-size: 35px; font-weight: 800; letter-spacing: -1.4px;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.mock-hash-unit { font-size: 13px; color: var(--text-mid); }

.mock-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; font-size: 12.5px;
  border-top: 1px dashed var(--border-soft);
}
.mock-k { color: var(--text-dim); }
.mock-v { color: var(--text); font-weight: 600; text-align: right; }
.mock-mono { font-family: var(--mono); font-weight: 500; }

.mock-spark { display: flex; align-items: flex-end; gap: 3px; height: 42px; margin-top: 12px; }
.mock-spark i {
  flex: 1; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #FFB3CB, var(--primary-soft));
}
.mock-spark i:nth-child(1)  { height: 34%; }
.mock-spark i:nth-child(2)  { height: 46%; }
.mock-spark i:nth-child(3)  { height: 38%; }
.mock-spark i:nth-child(4)  { height: 58%; }
.mock-spark i:nth-child(5)  { height: 50%; }
.mock-spark i:nth-child(6)  { height: 68%; }
.mock-spark i:nth-child(7)  { height: 60%; }
.mock-spark i:nth-child(8)  { height: 78%; }
.mock-spark i:nth-child(9)  { height: 70%; }
.mock-spark i:nth-child(10) { height: 88%; }
.mock-spark i:nth-child(11) { height: 80%; }
.mock-spark i:nth-child(12) { height: 100%; }

.mock-caption { font-size: 12px; color: var(--text-dim); }

/* -------------------------------------------------------------- 特性卡 -- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.feature { padding: 22px; }
.feature h3 { margin: 14px 0 8px; }
.feature p { color: var(--text-mid); font-size: 14px; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center; font-size: 22px;
}
.feature-icon-pink { background: var(--primary-soft); }
.feature-icon-mint { background: var(--mint-soft); }
.feature-icon-lav  { background: var(--lav-soft); }

/* ----------------------------------------------------------- 计算器 -- */
.calc-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; align-items: start; }
.calc-card { padding: 22px; }

.field { display: block; }
.field + .field, .chips + .field { margin-top: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 7px;
}
.field .tiny { margin-top: 7px; }

input[type="text"], input[type="password"], input[type="number"], select {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--card-soft);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input::placeholder { color: var(--text-dim); }
input:focus, select:focus {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 127, 168, .18);
}
select { appearance: none; padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mid) 50%),
                    linear-gradient(135deg, var(--text-mid) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}

.input-suffix { position: relative; }
.input-suffix input { padding-right: 74px; font-variant-numeric: tabular-nums; font-weight: 600; }
.input-suffix .suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 12.5px; color: var(--text-dim); pointer-events: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-mid);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 15px; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.chip:hover { border-color: #F7C6DA; color: var(--primary-text); }
.chip.is-active {
  background: var(--primary-soft); border-color: #FFC9DD;
  color: var(--primary-text); font-weight: 800;
}

.calc-src {
  margin-top: 18px; font-size: 12.5px; color: var(--lav-text);
  background: var(--lav-soft); border: 1px solid #DCD4FF;
  border-radius: var(--radius-sm); padding: 9px 12px;
}

.tier-table { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.tier-row {
  display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr;
  gap: 10px; align-items: center;
  padding: 13px 14px; border-top: 1px solid var(--border-soft);
  font-size: 14px;
}
.tier-row-head {
  border-top: none; background: var(--card-soft);
  font-size: 12px; font-weight: 700; color: var(--text-dim); letter-spacing: .3px;
}
.tier-row[data-tier="pro"] { background: linear-gradient(90deg, #FFF9FC, rgba(236, 231, 255, .5)); }
.tr-name { display: flex; align-items: center; gap: 7px; font-weight: 700; }
.tr-cell { text-align: right; }
.tr-cell b { font-size: 16px; font-variant-numeric: tabular-nums; }
.tr-unit { display: block; font-size: 11px; color: var(--text-dim); }

.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-pink { background: var(--primary); }
.dot-mint { background: var(--mint); }
.dot-lav  { background: var(--lav); }

.tag {
  font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-text);
}
.tag-mint { background: var(--mint-soft); color: var(--mint-text); }
.tag-lav  { background: var(--lav-soft);  color: var(--lav-text); }

.calc-warn {
  margin-top: 14px; font-size: 12.5px; line-height: 1.75; color: #7A4E06;
  background: #FFEEDF; border: 1px solid #FBE0B4; border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.payback { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.payback h3 { margin-bottom: 4px; }
.pb-item {
  background: var(--card-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 13px 15px; margin-top: 12px;
}
.pb-item[data-pb="pro"] { border-color: #DCD4FF; background: linear-gradient(180deg, #FBF9FF, var(--card-soft)); }
.pb-head { font-size: 13.5px; color: var(--text-mid); }
.pb-head b { color: var(--text); }
.pb-line { font-size: 13.5px; color: var(--text-mid); margin-top: 4px; }
.pb-line b { color: var(--text); font-variant-numeric: tabular-nums; }
.pb-line-big { font-size: 15px; }
.pb-line-big b { font-size: 19px; color: var(--primary-text); font-weight: 800; }

/* ------------------------------------------------------------- 抽成说明 -- */
.tier-cards { align-items: stretch; }
.tier-card { position: relative; padding: 24px 22px; }
.tier-card-best { border-color: #B9EBDD; box-shadow: 0 12px 28px rgba(63, 203, 170, .16); }
.ribbon {
  position: absolute; top: -11px; left: 22px;
  background: var(--mint); color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 6px 14px rgba(63, 203, 170, .34);
}
.tier-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.fee-big { font-size: 32px; font-weight: 800; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.fee-big-pink { color: var(--primary); }
.fee-big-mint { color: var(--mint-text); }
.fee-big-lav  { color: var(--lav-text); }
.tier-tag { margin-top: 6px; font-size: 13.5px; color: var(--text-mid); }
.tier-list { list-style: none; padding: 0; margin: 16px 0 0; }
.tier-list li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 13.5px; color: var(--text-mid);
}
.tier-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary-soft);
  box-shadow: inset 0 0 0 2px var(--primary);
}
.tier-card-best .tier-list li::before { box-shadow: inset 0 0 0 2px var(--mint); }
.tier-list li:last-child::before { box-shadow: inset 0 0 0 2px var(--lav); }
.tier-list b { color: var(--text); }

.note-card, .pitch-card { padding: 24px; margin-top: 18px; }
.note-card h3, .pitch-card h3 { margin-bottom: 10px; }
.note-card p + p, .pitch-card p + p { margin-top: 10px; }
.note-card p { color: var(--text-mid); font-size: 14px; }
.pitch-card { background: linear-gradient(135deg, #FFFFFF, #FFF1F7); }
.pitch-card p { color: var(--text-mid); font-size: 14.5px; }
.pitch-card p b, .note-card p b { color: var(--text); }

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  border-radius: 16px; padding: 15px 17px; margin-top: 16px;
  font-size: 14px; line-height: 1.8;
}
.alert-icon { font-size: 18px; line-height: 1.5; flex: none; }
.alert-warn { background: #FFF6E6; border: 1px solid #FBE0B4; color: #7A4E06; }
.alert-warn b { color: #603C04; }
.alert-mint { background: var(--mint-soft); border: 1px solid #C3EEDF; color: #155F4E; }
.alert-mint b { color: #0F4A3C; }

/* -------------------------------------------------------------- 怎么用 -- */
.dl-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: linear-gradient(135deg, #FFFFFF, #FFF1F7);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 24px; box-shadow: var(--shadow-card);
  scroll-margin-top: 78px;   /* 顶部导航是 sticky 的，锚点跳过来别被挡住 */
}
.dl-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.dl-info { min-width: 0; }
.dl-meta { font-size: 13px; color: var(--text-mid); margin-top: 5px; }
.dl-note { font-size: 12.5px; color: var(--text-dim); margin-top: 8px; max-width: 34em; }

/* 安装指导：下载卡片下面那段「装的时候会发生什么」 */
.inst-guide {
  margin-top: 16px; padding: 20px 24px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; box-shadow: var(--shadow-card);
}
.inst-guide h3 { font-size: 15.5px; font-weight: 800; }
.inst-steps { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: ig; }
.inst-steps li {
  position: relative; padding-left: 38px; margin-top: 12px;
  font-size: 13.5px; line-height: 1.75; color: var(--text-mid);
}
.inst-steps li::before {
  counter-increment: ig; content: counter(ig);
  position: absolute; left: 0; top: 2px; width: 24px; height: 24px;
  border-radius: 9px; background: var(--primary-soft); color: var(--primary-text);
  font-size: 12.5px; font-weight: 800; display: grid; place-items: center;
}
.inst-steps b { color: var(--text); }
.inst-steps span { display: block; margin-top: 2px; }
.inst-note {
  margin-top: 16px; padding: 12px 15px; border-radius: var(--radius-sm);
  background: var(--mint-soft); border: 1px solid #B7EBDD;
  font-size: 12.5px; line-height: 1.75; color: var(--mint-text);
}
.inst-note b { color: #14614F; }

.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid;
         grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { padding: 22px; }
.step-num {
  width: 34px; height: 34px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary-text);
  font-weight: 800; font-size: 15px; display: grid; place-items: center;
}
.step h3 { margin: 13px 0 7px; }
.step p { color: var(--text-mid); font-size: 14px; }

.step-art {
  margin-top: 16px; height: 64px; border-radius: 14px;
  background: var(--card-soft); border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
/* 三步各用一种辅助色，避免三张卡看起来一模一样 */
.step-art-a { border-color: #F7C6DA; background: linear-gradient(180deg, #FFF9FC, #FFF1F7); }
.step-art-b { border-color: #C3EEDF; background: linear-gradient(180deg, #FFF9FC, #F3FCF9); }
.step-art-c { border-color: #DCD4FF; background: linear-gradient(180deg, #FFF9FC, #F8F6FF); }
.art-file { font-size: 26px; }
.art-arrow {
  font-size: 12px; color: var(--text-mid); background: #fff;
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px;
}
.art-input {
  font-family: var(--mono); font-size: 12.5px; color: var(--text-mid);
  background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 7px 13px;
}
.art-btn {
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--primary); border-radius: 999px; padding: 9px 17px;
}
.art-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(63, 203, 170, .6);
  animation: pulse 2.1s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(63, 203, 170, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(63, 203, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 203, 170, 0); }
}
.how-note { margin-top: 18px; font-size: 13.5px; color: var(--text-mid); }

/* ---------------------------------------------------- 完整教程（从零开始） -- */
.tutorial-flag {
  display: flex; gap: 12px; align-items: flex-start;
  background: #FFF1F7; border: 1px solid #F7C6DA; border-radius: 16px;
  padding: 15px 18px; margin-bottom: 20px;
  font-size: 14px; line-height: 1.85; color: var(--text-mid);
}
.tutorial-flag b { color: var(--text); }
.tf-icon { font-size: 19px; line-height: 1.5; flex: none; }

/* 教程走单列步骤流：左栏放「编号 + 标题」（九步垂直对齐成一列），右栏放正文。
   之前是两列卡片，九步一奇一偶、卡片高矮各不相同，读起来是散的。 */
.tut-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px;
}
.tut-step {
  display: grid;
  grid-template-columns: 372px minmax(0, 1fr);
  column-gap: 30px; row-gap: 12px;
  align-items: start; padding: 22px 26px;
}
.tut-head {
  grid-column: 1; grid-row: 1;
  display: flex; align-items: flex-start; gap: 12px;
}
.tut-num {
  flex: none; width: 36px; height: 36px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; box-shadow: 0 6px 14px rgba(255, 127, 168, .32);
}
.tut-head h3 { flex: 1; min-width: 0; padding-top: 6px; font-size: 16.5px; line-height: 1.55; text-wrap: pretty; }
.tut-icon {
  flex: none; width: 34px; height: 34px; border-radius: 12px;
  background: var(--card-soft); border: 1px solid var(--border);
  display: grid; place-items: center; font-size: 17px;
}
.tut-step > p,
.tut-step > .tut-list,
.tut-step > .tut-alert { grid-column: 2; margin-top: 0; }
.tut-step > p { font-size: 14px; color: var(--text-mid); line-height: 1.85; text-wrap: pretty; }
.tut-step > p.tiny { font-size: 12.5px; line-height: 1.75; }
.tut-step > p b { color: var(--text); }
.tut-list { list-style: none; padding: 0; margin: 12px 0 0; }
.tut-list li {
  position: relative; padding-left: 19px; margin-bottom: 7px;
  font-size: 13.5px; color: var(--text-mid); line-height: 1.8;
}
.tut-list li::before {
  content: ""; position: absolute; left: 3px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary-soft);
  box-shadow: inset 0 0 0 2px var(--primary);
}
.tut-list b { color: var(--text); }

.tut-alert {
  margin-top: 13px; padding: 11px 13px;
  background: #FFF6E6; border: 1px solid #FBE0B4; border-radius: var(--radius-sm);
  font-size: 13px; line-height: 1.8; color: #7A4E06;
}
.tut-alert b { color: #603C04; }
.tut-alert code { background: #FFFBF2; border-color: #FBE0B4; }
.tut-alert-danger {
  background: #FFEFEE; border-color: #F4BFBB; color: #8C2F27;
  border-left: 5px solid var(--bad);
}
.tut-alert-danger b { color: #7A2118; }
.tut-alert-danger code { background: #FFF6F5; border-color: #F4BFBB; }

/* ------------------------------------------------------------ 登录 / 注册 -- */
.auth-card { max-width: 480px; }
.auth-tabs {
  display: flex; gap: 6px; padding: 4px;
  background: var(--primary-soft); border-radius: 999px;
}
.auth-tab {
  flex: 1; font-family: inherit; font-size: 14.5px; font-weight: 700;
  color: var(--primary-text); background: transparent;
  border: none; border-radius: 999px; padding: 10px 12px; cursor: pointer;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.auth-tab:hover { background: rgba(255, 255, 255, .6); }
.auth-tab.is-active { background: #fff; color: var(--primary-text); box-shadow: var(--shadow-card); }
.auth-form { margin-top: 18px; }
.auth-lead { font-size: 13.5px; color: var(--text-mid); line-height: 1.8; }
.auth-switch { font-size: 13px; color: var(--text-mid); text-align: center; margin-top: 2px; }
.acct-id { margin-top: 9px; font-family: var(--mono); word-break: break-all; }
#meRefRule { margin-top: 10px; }

.metrics-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metrics-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.metric-v-sm { font-size: 12.5px; font-family: var(--mono); font-weight: 600; word-break: break-all; }
.metrics-2 .metric-k { font-family: var(--mono); word-break: break-all; }

/* ---------------------------------------------------------------- 账号 -- */
.acct-card { padding: 24px; max-width: 780px; }
.acct-card h3 { margin-bottom: 12px; }
.acct-card p { color: var(--text-mid); font-size: 14px; }
.steps-mini { padding-left: 20px; margin: 12px 0 14px; color: var(--text-mid); font-size: 14px; }
.steps-mini li { margin-bottom: 4px; }

.acct-stack { display: grid; gap: 16px; max-width: 780px; }

.acct-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.acct-label { font-size: 12.5px; color: var(--text-dim); font-weight: 700; letter-spacing: .3px; }
.acct-tier { display: flex; align-items: center; gap: 10px; margin-top: 7px; flex-wrap: wrap; }
.acct-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-block; font-size: 15px; font-weight: 800;
  padding: 5px 15px; border-radius: 999px;
}
.badge-pink { background: var(--primary-soft); color: var(--primary-text); }
.badge-mint { background: var(--mint-soft); color: var(--mint-text); }
.badge-lav  { background: var(--lav-soft);  color: var(--lav-text); }

#meAccountId { margin-top: 8px; font-family: var(--mono); }

.invite-box {
  margin-top: 18px; padding: 16px;
  background: var(--card-soft); border: 1px dashed var(--border); border-radius: 16px;
}
.invite-line { display: flex; align-items: center; gap: 12px; margin: 9px 0 7px; flex-wrap: wrap; }
.invite-code {
  font-family: var(--mono); font-size: 26px; font-weight: 800; letter-spacing: 3px;
  color: var(--primary-text); background: #FFF4F8;
  border: 1px dashed #F7C6DA; border-radius: 14px; padding: 8px 16px;
  word-break: break-all;
}

.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.metric {
  background: var(--card-soft); border: 1px solid var(--border);
  border-radius: 14px; padding: 13px 10px; text-align: center;
}
.metric-v { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.metric-k { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }

.progress-wrap { margin-top: 18px; }
.progress {
  height: 9px; border-radius: 999px; background: var(--primary-soft); overflow: hidden;
}
.progress i {
  display: block; height: 100%; width: var(--pct, 0%);
  background: linear-gradient(90deg, #FFB3CB, var(--primary));
  border-radius: 999px; transition: width .45s ease;
}
#meNextHint { margin-top: 8px; color: var(--text-mid); }

.hint-line {
  margin-top: 14px; font-size: 13.5px; color: #7A4E06;
  background: #FFEEDF; border: 1px solid #FBE0B4;
  border-radius: var(--radius-sm); padding: 11px 13px;
}
#meSyncNote { margin-top: 10px; }

.form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.form-inline { flex-direction: row; align-items: flex-end; gap: 12px; margin-top: 14px; }
.field-grow { flex: 1; min-width: 0; }

.form-err, .form-ok {
  font-size: 13px; border-radius: var(--radius-sm); padding: 10px 13px; margin: 0;
}
.form-err { color: #8C2F27; background: #FFEFEE; border: 1px solid #FBD3D0; }
.form-ok  { color: var(--mint-text); background: var(--mint-soft); border: 1px solid #C3EEDF; }

/* ---------------------------------------------------------------- 付费 -- */
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.pay-card { padding: 24px; }
.pay-card h3 { margin-bottom: 12px; }
.pay-card > p { color: var(--text-mid); font-size: 14px; }

.kv {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; font-size: 13.5px;
  border-bottom: 1px dashed var(--border-soft);
}
.kv-k { color: var(--text-dim); }
.kv-v { font-weight: 700; }

.addr-line { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; flex-wrap: wrap; }
.addr {
  flex: 1; min-width: 0; word-break: break-all; font-size: 13px;
  background: var(--card-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 13px; color: var(--text);
}
.pay-offline {
  margin: 10px 0 14px; font-size: 13px; color: #8C2F27;
  background: #FFEFEE; border: 1px solid #FBD3D0;
  border-radius: var(--radius-sm); padding: 11px 13px;
}

.price-list { list-style: none; padding: 0; margin: 14px 0 0; }
.price-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card-soft); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 13px; margin-bottom: 8px;
  font-size: 13.5px;
}
.pl-name { color: var(--text); font-weight: 700; }
.pl-sub { display: block; font-size: 11.5px; color: var(--text-dim); font-weight: 400; }
.pl-price { font-weight: 800; color: var(--primary-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
#payNote { margin-top: 10px; }

/* ------------------------------------------------------------ 常见问题 -- */
.faq { margin-top: 4px; }
.faq-item { margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋"; color: var(--primary); font-size: 17px; font-weight: 800;
  flex: none; transition: transform .2s ease;
}
.faq-item[open] summary { background: var(--card-soft); }
.faq-item[open] summary::after { content: "－"; }
.faq-body { padding: 14px 20px 18px; font-size: 14px; color: var(--text-mid); line-height: 1.9; }
.faq-body p + p, .faq-body p + ul { margin-top: 9px; }
.faq-body ul { padding-left: 20px; }
.faq-body li { margin-bottom: 4px; }
.faq-body b { color: var(--text); }

/* ---------------------------------------------------------------- 页脚 -- */
.footer {
  margin-top: 40px; padding: 34px 0 26px;
  background: var(--card-soft); border-top: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-inner { display: block; }
.footer-name { font-weight: 800; font-size: 16px; }
.footer-tag { font-size: 12.5px; color: var(--text-dim); }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin: 22px 0;
}
.footer-col { display: flex; flex-direction: column; gap: 3px; }
.footer-h { font-size: 12.5px; color: var(--text-dim); margin-bottom: 5px; }
.footer-col a, .footer-col span { font-size: 13.5px; color: var(--text-mid); }
.footer-col a:hover { color: var(--primary-text); }
.disclaimer { font-size: 12.5px; color: var(--text-dim); line-height: 1.85; margin-top: 9px; }
.disclaimer b { color: var(--text-mid); }

/* ------------------------------- 页脚：开发者凭据说明（折叠，不起眼） -- */
.dev-details {
  margin-top: 18px; padding: 11px 14px;
  border: 1px dashed var(--border); border-radius: 14px;
  background: var(--card);
}
.dev-details > summary {
  cursor: pointer; list-style: none;
  font-size: 12.5px; color: var(--text-dim);
}
.dev-details > summary::-webkit-details-marker { display: none; }
.dev-details > summary::after { content: " ⌄"; color: var(--text-dim); }
.dev-details[open] > summary::after { content: " ⌃"; }
.dev-details[open] > summary { color: var(--text-mid); }
.dev-body { margin-top: 12px; font-size: 13px; color: var(--text-mid); line-height: 1.85; }
.dev-item {
  margin-top: 14px; padding: 13px 15px;
  background: var(--card-soft); border: 1px solid var(--border); border-radius: 12px;
}
.dev-item h4 { margin: 0 0 7px; font-size: 13.5px; color: var(--text); }
.dev-body ol { margin: 0; padding-left: 20px; }
.dev-body li { margin-bottom: 5px; }
.dev-body p + p { margin-top: 9px; }
.dev-body code { font-size: 11.5px; word-break: break-all; }
.copyright {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-dim);
}

/* --------------------------------------------------------------- Toast -- */
/* z-index 要压过弹窗（70）：登录成功、复制邀请码这些提示都是弹窗开着的时候弹出来的。 */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 90;
  transform: translateX(-50%) translateY(10px);
  max-width: calc(100vw - 32px); text-align: center;
  background: var(--text); color: #fff; font-size: 13.5px;
  padding: 11px 19px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(62, 44, 56, .3);
  opacity: 0; transition: opacity .22s ease, transform .22s ease;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* -------------------------------------------------------- 登录/注册弹窗 -- */
/* 登录表单不再常驻页面：常驻会把「已登录后的账号信息」挤到下面，也逼着用户为了登录先跳到账号页。 */
body.is-locked { overflow: hidden; }   /* html 没设 overflow，body 的会传给视口 -> 弹窗打开时背景不跟着滚 */

.modal {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 24px;
  overflow-y: auto;                    /* 注册表单在手机上比一屏高，让遮罩自己滚 */
  background: rgba(62, 44, 56, .42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: modal-fade .18s ease;
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }

.modal-panel {
  width: 100%; max-width: 480px; padding: 22px 24px 24px;
  animation: modal-rise .24s cubic-bezier(.22, .61, .36, 1);
}
@keyframes modal-rise {
  from { transform: translateY(14px) scale(.985); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.modal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.modal-title { flex: 1; min-width: 0; font-size: 20px; font-weight: 800; }
.modal-x {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  font-family: inherit; font-size: 20px; line-height: 1; font-weight: 700;
  color: var(--text-mid); background: var(--card-soft);
  border: 1px solid var(--border); cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.modal-x:hover { background: var(--primary-soft); color: var(--primary-text); border-color: #F7C6DA; }

/* 未登录时的账号页入口：卡片排版跟其它账号卡保持一致 */
#accountGuest .acct-actions { margin-top: 16px; }
#accountNote { margin-top: 14px; }

/* ------------------------------------------------------------ 响应式 -- */
@media (max-width: 980px) {
  .hero { padding-top: 30px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: 2; }
  .cards-3, .steps, .calc-grid, .pay-grid, .tut-steps { grid-template-columns: 1fr; }
  /* 窄屏放不下左栏：步骤退回「编号标题在上、正文在下」的单栏卡片 */
  .tut-step { display: block; padding: 20px 22px; }
  .tut-step > p,
  .tut-step > .tut-list,
  .tut-step > .tut-alert { margin-top: 12px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 46px 0; }
}

/* 手机/小平板：导航不换行，改成可横向滑动的页签（顺序、间距都保留，只是能滚）。
   app.js 的 syncTabs() 会把当前选中的页签滚到可视区中间。 */
@media (max-width: 760px) {
  .nav-inner { gap: 10px; }
  .nav-tabs { gap: 2px; }
  .nav-tab { font-size: 13.5px; padding: 7px 11px; }
  .nav-inner > .btn { margin-left: 2px; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 15px; }
  .nav-inner { gap: 10px; }
  /* 手机上把站名收进珍珠图标里：空间留给页签，横向滑动才不至于一次只看得到一个 */
  .brand-name { display: none; }
  .brand-pearl { font-size: 24px; }

  .modal { padding: 4vh 12px 20px; }
  .modal-panel { padding: 19px 18px 20px; }

  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .fineprint, .statline { display: block; }

  .calc-card, .feature, .step, .acct-card, .pay-card,
  .note-card, .pitch-card, .tier-card, .tut-step { padding: 19px; }

  .auth-tabs { padding: 3px; }
  .auth-tab { font-size: 14px; padding: 9px 10px; }

  .tier-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 8px; }
  .tier-row-head { display: none; }
  .tr-name { grid-column: 1 / -1; }
  .tr-cell { text-align: left; }
  .tr-cell b { font-size: 15px; }
  .tr-unit { font-size: 10.5px; }

  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .metrics-4, .metrics-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { padding: 11px 6px; }
  .metric-v { font-size: 15.5px; }
  .metric-k { font-size: 10.5px; }

  .invite-code { font-size: 21px; letter-spacing: 2px; padding: 7px 13px; }
  .form-inline { flex-direction: column; align-items: stretch; }
  .form-inline .btn { width: 100%; }

  .dl-card { flex-direction: column; align-items: stretch; text-align: left; }
  .dl-card .btn { width: 100%; }

  .acct-top { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr; gap: 14px; }
  .faq-item summary { font-size: 14.5px; padding: 15px 16px; }
  .faq-body { padding: 12px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ── 链上收款：错链警告 + 代币合约 ─────────────────────────────
   错链是真实会永久丢钱的，所以这条警告要比普通说明显眼得多。 */
.chain-warn {
  margin: 10px 0 12px; padding: 11px 14px; font-size: 12.5px; line-height: 1.65;
  color: #8C2F27; background: #FFEFEE;
  border: 1px solid #FBD3D0; border-left: 4px solid #F2685F;
  border-radius: var(--radius-sm);
}
.chain-warn b { color: #7A2018; }
.addr-sm {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px; word-break: break-all; color: var(--text);
  background: var(--card-soft); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 7px;
}

/* 自动核验失败/金额不足时，用同样的"提示条"但走错误配色 */
.form-ok-err { color: #8C2F27; background: #FFEFEE; border-color: #FBD3D0; }

/* 首屏的收益预期。
   数字和口径必须一起出现 —— 只写"一个月 400 元"会让人以为随便什么卡都行。
   所以主数字深一点、口径用灰色小字跟在后面。 */
.earnline {
  margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
/* 数字要显眼 —— 这是访客第一眼想知道的。用主色 + 大字号，
   口径用灰色小字跟在后面（不能省：只写金额会让人以为随便什么卡都能赚这么多）。 */
.earnline b {
  font-size: 30px; font-weight: 800; letter-spacing: -1px; line-height: 1;
  background: linear-gradient(135deg, #FF7FA8, #9B86FF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.earnline .tiny { font-size: 12px; }
