:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6e8ee;
  --line-2: #f1f2f6;
  --bg: #f7f8fb;
  --card: #ffffff;
  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-soft: #eef0ff;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --bad: #dc2626;
  --bad-soft: #fef2f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 24px 60px -28px rgba(15, 23, 42, .3);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* ---------------- 顶栏 ---------------- */

.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 248, 251, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.wallet-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 13px; cursor: pointer; font-family: inherit; font-size: 13px; color: var(--ink-2);
  transition: .15s;
}
.wallet-chip:hover { border-color: var(--brand); background: var(--brand-soft); }
.wallet-chip .wc-balance { font-weight: 800; font-size: 14px; color: var(--brand); }
.wallet-chip .wc-label { font-size: 11.5px; color: var(--muted); }

.auth-chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 13px; cursor: pointer; font-family: inherit; font-size: 12.5px;
  color: var(--ink-2); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: .15s;
}
.auth-chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.auth-chip.signed { border-color: #c7f0dd; background: var(--ok-soft); color: #047857; }

.auth-card { max-width: 420px; margin: 0 auto; padding: 30px 28px; }
.auth-card h1 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.3px; }
.auth-card .sub { font-size: 13px; color: var(--muted); margin: 0 0 20px; line-height: 1.7; }
.auth-card .field input { padding: 11px 13px; }
.auth-card .btn { margin-top: 6px; }
.auth-switch { font-size: 12.5px; color: var(--muted); text-align: center; margin: 16px 0 0; }

.account-row { display: grid; gap: 10px; margin: 4px 0 20px; }
.account-row > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fafbfd;
}
.account-row .k { font-size: 12.5px; color: var(--muted); }
.account-row b { font-size: 15px; }

.wallet-balance { text-align: center; padding: 16px 0 20px; border-bottom: 1px dashed var(--line); margin-bottom: 20px; }
.wallet-balance .k { font-size: 12.5px; color: var(--muted); }
.wallet-balance .v { font-size: 46px; font-weight: 800; letter-spacing: -2px; color: var(--brand); line-height: 1.1; }
.wallet-balance .tip { font-size: 12px; color: var(--muted); margin-top: 4px; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 10px 0 20px; align-items: stretch; }

/* ---------------- 会员 ---------------- */

.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }

.vip-block { margin: 0 0 22px; padding-top: 2px; }
.vip-block-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.vip-block-head h3 { margin: 0; font-size: 15px; letter-spacing: -.2px; }
.vip-block-head span { font-size: 12px; color: var(--muted); }

.vip-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 20px 18px; border-radius: 16px; background: #fff;
  border: 1.5px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.vip-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd3ea; }

.vip-card.hot {
  border: 2px solid var(--brand);
  background: linear-gradient(180deg, #fbfbff 0%, #fff 46%);
  box-shadow: 0 18px 40px -22px rgba(79, 70, 229, .55);
}
.vip-card.hot:hover { transform: translateY(-5px); }
.vip-card.best { border-color: #e6b35a; background: linear-gradient(180deg, #fffdf7 0%, #fff 46%); }

.vip-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 800; letter-spacing: .3px; color: #fff;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  padding: 2px 11px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgba(239, 68, 68, .6);
}
.vip-card.best .vip-badge { background: linear-gradient(90deg, #b45309, #f59e0b); }

.vip-name { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .3px; }
.vip-price {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 30px; font-weight: 800; letter-spacing: -1px; color: var(--ink); margin-top: 6px;
}
.vip-price span { font-size: 14px; font-weight: 700; color: var(--brand); }
.vip-price small { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }

.vip-tagline {
  font-size: 11.5px; color: var(--muted); min-height: 17px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); margin: 6px 0 12px;
}
.vip-feats { list-style: none; padding: 0; margin: 0 0 16px; font-size: 12.5px; color: var(--ink-2); display: grid; gap: 8px; }
.vip-feats li { display: flex; align-items: flex-start; gap: 7px; line-height: 1.5; }
.vip-feats svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 3px; color: var(--brand); }
.vip-card.best .vip-feats svg { color: #b45309; }
.vip-card .btn { margin-top: auto; width: 100%; }

.vip-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #7c3aed, #4f46e5);
  padding: 1px 8px; border-radius: 999px; vertical-align: 2px; margin-left: 4px;
}

.vip-status {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 10px; margin-bottom: 18px;
  background: #ecfdf5; border: 1px solid #c7f0dd; font-size: 12.5px;
}
.vip-status b { color: #047857; }
.vip-status span { color: #4b5563; }
.vip-status a { margin-left: auto; font-weight: 700; color: var(--brand); }
.vip-status.off { background: #fafbfd; border-color: var(--line); }
.vip-status.off b { color: var(--ink-2); }

.vip-open {
  margin-left: auto; border: 1px solid #d9dcf8; background: #fff; color: var(--brand);
  font-family: inherit; font-size: 12.5px; font-weight: 700; padding: 5px 14px;
  border-radius: 999px; cursor: pointer; white-space: nowrap; transition: .15s;
}
.vip-open:hover { background: var(--brand-soft); border-color: var(--brand); }

.trust-line {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin: 2px 0 18px; font-size: 12.5px; color: var(--muted);
}
.tl-item { display: inline-flex; align-items: center; gap: 6px; }
.tl-item svg { width: 15px; height: 15px; color: var(--brand); flex: 0 0 auto; }
.tl-item b { color: var(--brand); font-weight: 800; }
.tl-sep { width: 1px; height: 13px; background: var(--line); }

/* 会员弹窗 */
.modal-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 23, 42, .48);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; overflow-y: auto;
  animation: fadeIn .16s ease;
}
.modal-card {
  position: relative; width: 100%; max-width: 920px;
  background: #fff; border-radius: 18px; padding: 30px 28px 22px;
  box-shadow: 0 30px 80px -30px rgba(15, 23, 42, .55);
  max-height: calc(100vh - 48px); overflow-y: auto;
  animation: popIn .18s ease;
}
.modal-card h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.3px; }
.modal-card .sub { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 32px; height: 32px;
  border: 0; background: #f1f5f9; border-radius: 50%; font-size: 19px; line-height: 1;
  color: #64748b; cursor: pointer; transition: .15s;
}
.modal-close:hover { background: #e2e8f0; color: #334155; }
.modal-foot { margin: 16px 0 0; font-size: 11.5px; color: var(--muted); text-align: center; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }

.pricing.two { grid-template-columns: repeat(2, 1fr); }

.pack {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 18px 18px; border-radius: 16px; background: #fff;
  border: 1.5px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pack:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd3ea; }

/* 中间那档：视觉上抬起来 */
.pack.hot {
  border: 2px solid var(--brand);
  box-shadow: 0 18px 40px -22px rgba(79, 70, 229, .55);
  background: linear-gradient(180deg, #fbfbff 0%, #fff 46%);
}
.pack.hot:hover { transform: translateY(-5px); }
.pack.best { border-color: #e6b35a; background: linear-gradient(180deg, #fffdf7 0%, #fff 46%); }

.pack-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 800; letter-spacing: .3px; color: #fff;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  padding: 2px 11px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgba(239, 68, 68, .6);
}
.pack.best .pack-badge { background: linear-gradient(90deg, #b45309, #f59e0b); }

.pack-name { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .3px; }
.pack-credits {
  font-size: 27px; font-weight: 800; letter-spacing: -1px; line-height: 1.15;
  color: var(--ink); margin-top: 6px;
}
.pack-credits small { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 2px; }

.pack-price {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 17px; font-weight: 800; color: var(--brand); margin: 4px 0 2px;
}
.pack-price span { font-size: 12px; font-weight: 700; }

.pack-tagline {
  font-size: 11.5px; color: var(--muted); min-height: 17px;
  padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); margin-bottom: 12px;
}

.pack-feats { list-style: none; padding: 0; margin: 0 0 16px; font-size: 12.5px; color: var(--ink-2); display: grid; gap: 8px; }
.pack-feats li { display: flex; align-items: flex-start; gap: 7px; line-height: 1.5; }
.pack-feats svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 3px; color: var(--brand); }
.pack.best .pack-feats svg { color: #b45309; }

.pack .btn { margin-top: auto; width: 100%; }
.pack .btn.ghost { border-color: #d9dcf8; }

.or-line { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; color: var(--muted); font-size: 12px; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------------- 邀请 ---------------- */

.invite-card {
  padding: 22px 26px; border-radius: 14px;
  background: linear-gradient(135deg, #eef0ff 0%, #faf5ff 55%, #fff 100%);
  border: 1px solid #e0e2f8;
}
.invite-title { font-size: 17px; font-weight: 800; letter-spacing: -.2px; color: var(--ink); }
.invite-title b { color: var(--brand); font-size: 19px; }
.invite-sub { font-size: 12.5px; color: var(--muted); margin: 6px 0 14px; line-height: 1.7; }
.invite-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.invite-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px; font-weight: 800; letter-spacing: 2px; color: var(--brand);
  background: #fff; border: 1px dashed #c7cbf0; border-radius: 9px; padding: 7px 14px;
}
.invite-count { font-size: 12px; color: var(--muted); }
.invite-code.muted { color: #94a3b8; border-color: #e2e8f0; letter-spacing: 3px; }
.btn.ghost:disabled { background: #f8fafc; color: #94a3b8; border-color: #e8ecf3; }
.invite-tip { font-size: 11.5px; color: #7c86a0; margin: 10px 0 0; line-height: 1.6; }

/* 首页 hero 左栏里的邀请卡：更紧凑 */
.hero-invite { margin-top: 34px; max-width: 520px; }
.hero-invite .invite-card { padding: 18px 20px; }
.hero-invite .invite-title { font-size: 15px; }
.hero-invite .invite-title b { font-size: 17px; }
.hero-invite .invite-sub { font-size: 11.5px; margin: 5px 0 12px; line-height: 1.65; }
.hero-invite .invite-row { gap: 10px; }
.hero-invite .invite-code { font-size: 14px; padding: 6px 12px; letter-spacing: 1.5px; }
.hero-invite .invite-tip { font-size: 11px; margin-top: 8px; }

/* 积分中心里的宽版邀请卡 */
.invite-card.wide { padding: 20px 22px; }
.invite-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.invite-gift {
  width: 40px; height: 40px; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 19px;
  background: #fff; box-shadow: 0 4px 12px -6px rgba(79, 70, 229, .5);
}
.invite-head-text { flex: 1; min-width: 0; }
.invite-card.wide .invite-title { font-size: 16px; }
.invite-card.wide .invite-sub { margin: 4px 0 0; }
.invite-count-pill {
  font-size: 11.5px; font-weight: 700; color: #047857;
  background: #ecfdf5; border: 1px solid #c7f0dd;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; flex: 0 0 auto;
}
.invite-card.wide .invite-code { font-size: 15px; padding: 8px 14px; }
.invite-card.wide .invite-row { gap: 12px; }
.invite-card.wide .invite-tip { margin-top: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: .2px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 6px 16px -6px rgba(79, 70, 229, .7);
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); text-decoration: none; }

/* ---------------- 通用 ---------------- */

.hero { padding: 56px 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: 12.5px; font-weight: 600; margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

h1 { font-size: 42px; line-height: 1.22; margin: 0 0 16px; letter-spacing: -.5px; font-weight: 800; }
h1 .grad { background: linear-gradient(100deg, var(--brand), var(--brand-2) 60%, #db2777); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 16px; color: var(--muted); margin: 0 0 26px; max-width: 520px; }

.trust { display: flex; flex-wrap: wrap; gap: 18px 26px; font-size: 13px; color: var(--muted); }
.trust span { display: flex; align-items: center; gap: 6px; }
.trust svg { color: var(--ok); flex: 0 0 auto; }

/* ---------------- 上传卡片 ---------------- */

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.upload-card { padding: 22px; box-shadow: var(--shadow-lg); }

.tabs { display: flex; gap: 4px; background: var(--line-2); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.tab {
  flex: 1; border: 0; background: transparent; padding: 8px 0; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; font-family: inherit;
}
.tab.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .08); }

.drop {
  border: 1.5px dashed #cfd4e0; border-radius: 12px; padding: 34px 20px;
  text-align: center; cursor: pointer; transition: .18s; background: #fcfcfe;
}
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop-icon {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.drop b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.drop small { color: var(--muted); font-size: 12.5px; }

textarea {
  width: 100%; min-height: 168px; resize: vertical; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; font-family: inherit;
  font-size: 14px; line-height: 1.7; color: var(--ink); background: #fff;
}
textarea:focus, input:focus { outline: 2px solid rgba(79, 70, 229, .25); border-color: var(--brand); }

.file-chip {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fcfcfe; margin-bottom: 16px;
}
.file-chip .ico { width: 34px; height: 34px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.file-chip .name { font-size: 13.5px; font-weight: 600; word-break: break-all; }
.file-chip .meta { font-size: 12px; color: var(--muted); }
.file-chip button { margin-left: auto; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }
.file-chip button:hover { color: var(--bad); }

.plans { display: grid; gap: 10px; margin: 18px 0; }

.platform-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0 2px; }

.mode-box { margin: 4px 0 14px; position: relative; }
.mode-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px;
}
.limit-side { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.limit-label { color: var(--muted); }
.limit-info {
  width: 16px; height: 16px; border-radius: 50%; border: 0; cursor: pointer;
  background: #cbd5e1; color: #fff; font-size: 10px; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; font-family: inherit;
}
.limit-value {
  font-weight: 800; color: var(--brand); background: var(--brand-soft);
  padding: 2px 9px; border-radius: 999px; font-size: 12px;
}
.limit-slider { width: 100%; margin: 6px 0 2px; accent-color: var(--brand); cursor: pointer; }

.limit-tip {
  position: absolute; right: 0; top: 30px; z-index: 20;
  width: 300px; max-width: 90vw; padding: 14px 16px; border-radius: 12px;
  background: #fff; color: var(--ink-2); font-size: 12.5px; line-height: 1.7;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px -20px rgba(15, 23, 42, .28);
}
.limit-tip::before {
  content: ''; position: absolute; top: -6px; right: 42px;
  width: 10px; height: 10px; background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.limit-tip b { display: block; color: var(--ink); font-size: 13px; margin-bottom: 9px; }
.lt-line { height: 1px; background: var(--line-2); margin: 0 0 10px; }
.limit-tip p { margin: 0 0 7px; }
.limit-tip i { font-style: normal; font-weight: 700; }
.lt-ok { color: #16a34a; }
.lt-mid { color: var(--brand); }
.lt-high { color: #9333ea; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode {
  position: relative; text-align: left; cursor: pointer; font-family: inherit;
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: .15s;
}
.mode:hover { border-color: #c7cbf0; }
.mode.active { border-color: var(--brand); background: var(--brand-soft); }
.mode b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.mode small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.mode-badge {
  position: absolute; top: -9px; right: 10px;
  font-size: 10px; font-weight: 800; color: #fff; white-space: nowrap;
  background: linear-gradient(90deg, #b45309, #f59e0b);
  padding: 1px 8px; border-radius: 999px;
}.platform-label { font-size: 12px; font-weight: 600; color: var(--muted); }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.platform-row .pill {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 5px 13px; font-family: inherit; font-size: 12.5px; color: var(--ink-2);
  cursor: pointer; transition: .15s; font-weight: 500;
}
.platform-row .pill:hover { border-color: #c7cbf0; }
.platform-row .pill.active { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); font-weight: 700; }
.plan {
  display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: start;
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  cursor: pointer; transition: .15s; background: #fff;
}
.plan:hover { border-color: #c7cbf0; }
.plan.selected { border-color: var(--brand); background: var(--brand-soft); }
.plan.disabled { opacity: .6; cursor: not-allowed; background: #fafbfd; }
.plan.disabled:hover { border-color: var(--line); }
.plan-offline {
  font-size: 12.5px; color: #92400e; background: var(--warn-soft);
  border: 1px solid #fde68a; border-radius: 9px; padding: 8px 11px; margin-bottom: 10px;
}
.plan input { margin: 3px 0 0; accent-color: var(--brand); }
.plan .pname { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.plan .pdesc { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.plan .price { text-align: right; white-space: nowrap; }
.plan .price b { font-size: 18px; font-weight: 800; letter-spacing: -.3px; }
.plan .price small { display: block; font-size: 11px; color: var(--muted); }
.badge {
  font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px;
  background: #fff; color: var(--brand); border: 1px solid #d9dcf8;
}
.badge.hot { background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; border: 0; }
.badge.vip { background: linear-gradient(90deg, #b45309, #f59e0b); color: #fff; border: 0; }

.plan.plan-vip { border-color: #f0d9a8; background: linear-gradient(180deg, #fffdf7 0%, #fff 70%); }
.plan.plan-vip.selected { border-color: #d97706; background: #fffbeb; }

.btn.vip-free {
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 100%);
  box-shadow: 0 12px 26px -14px rgba(180, 83, 9, .8);
}
.btn.vip-free em {
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .2px;
  background: rgba(255, 255, 255, .24); padding: 2px 9px; border-radius: 999px;
}

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px;
}
.hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 18px; border: 0; border-radius: 11px;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .9); transition: .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn.ghost {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  box-shadow: none; font-weight: 600;
}
.btn.ghost:hover { border-color: #c7cbf0; background: #fafaff; }
.btn.sm { width: auto; padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn.danger { background: var(--bad); box-shadow: none; }

.notice { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.notice b { color: var(--ink-2); }

.err { background: var(--bad-soft); color: #991b1b; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin-top: 12px; }

/* ---------------- 进度 / 步骤 ---------------- */

.progress-box { padding: 22px; }
.pbar { height: 8px; background: var(--line-2); border-radius: 4px; overflow: hidden; margin: 14px 0 10px; }
.pbar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .5s ease; }
.pmeta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.steps .bullet {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line);
  display: grid; place-items: center; font-size: 11px; flex: 0 0 auto; margin-top: 1px;
}
.steps li.done { color: var(--ink-2); }
.steps li.done .bullet { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.steps li.active { color: var(--ink); font-weight: 600; }
.steps li.active .bullet { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------------- 区块 ---------------- */

.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: 28px; margin: 0 0 8px; letter-spacing: -.3px; }
.section-head p { color: var(--muted); margin: 0; font-size: 14.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 22px; }
.feature .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 15.5px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--muted); }
.feature ul { margin: 12px 0 0; padding-left: 18px; font-size: 13px; color: var(--ink-2); }
.feature li { margin-bottom: 4px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.flow-item { padding: 20px; position: relative; }
.flow-item .num {
  width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-bottom: 12px;
}
.flow-item h4 { margin: 0 0 4px; font-size: 14.5px; }
.flow-item p { margin: 0; font-size: 13px; color: var(--muted); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { padding: 24px; display: flex; flex-direction: column; }
.price-card .tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--brand);
  background: var(--brand-soft); padding: 2px 9px; border-radius: 999px; margin-bottom: 12px;
}
.price-card h3 { margin: 0 0 4px; font-size: 17px; }
.price-card .big { font-size: 30px; font-weight: 800; letter-spacing: -1px; margin: 6px 0 2px; }
.price-card .big small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-card .rule { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.price-card ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 13.5px; }
.price-card li { display: flex; gap: 8px; margin-bottom: 7px; color: var(--ink-2); }
.price-card li svg { color: var(--ok); flex: 0 0 auto; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }

.disclaimer {
  margin: 0 auto; max-width: 860px; padding: 18px 20px; border-radius: 12px;
  background: var(--warn-soft); border: 1px solid #fde68a; color: #92400e; font-size: 13px;
}
.disclaimer b { color: #78350f; }

/* ---------------- 结果页 ---------------- */

.result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.result-head h2 { margin: 0; font-size: 24px; letter-spacing: -.3px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { padding: 16px 18px; }
.stat .k { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.stat .v { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.stat .v small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.gauge-wrap { display: flex; align-items: center; gap: 26px; padding: 24px; flex-wrap: wrap; }
.gauge { position: relative; width: 150px; height: 150px; flex: 0 0 auto; }
.gauge svg { transform: rotate(-90deg); }
.gauge .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge .center b { font-size: 38px; line-height: 1; letter-spacing: -1px; }
.gauge .center span { font-size: 11.5px; color: var(--muted); }
.gauge-info { flex: 1; min-width: 220px; }
.gauge-info p { margin: 0 0 6px; font-size: 13.5px; color: var(--ink-2); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; }
.pill.ok { background: var(--ok); }
.pill.warn { background: var(--warn); }
.pill.bad { background: var(--bad); }

.dims { display: grid; gap: 12px; padding: 20px 22px; }
.dim { display: grid; grid-template-columns: 120px 1fr 42px; align-items: center; gap: 12px; font-size: 13px; }
.dim .bar { height: 7px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.dim .bar i { display: block; height: 100%; border-radius: 4px; }
.dim .score { text-align: right; font-weight: 700; font-size: 12.5px; }
.dim .label small { display: block; color: var(--muted); font-size: 11px; }

/* ---------------- 检测结果（人类 / AI） ---------------- */

.detect-hero { padding: 26px 28px; }
.verdict-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.verdict-tag { font-size: 14px; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .2px; }
.verdict-tag.bad { background: var(--bad-soft); color: #b91c1c; }
.verdict-tag.warn { background: var(--warn-soft); color: #b45309; }
.verdict-tag.ok { background: var(--ok-soft); color: #047857; }
.verdict-meta { font-size: 12.5px; color: var(--muted); }

.ratio-bar { display: flex; height: 14px; border-radius: 8px; overflow: hidden; background: var(--line-2); }
.ratio-bar i { display: block; height: 100%; transition: width .5s ease; }
.ratio-bar i.human { background: linear-gradient(90deg, #6ee7b7, #059669); }
.ratio-bar i.ai { background: linear-gradient(90deg, #fca5a5, #dc2626); }

.ratio-legend { display: flex; gap: 36px; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.ratio-legend > div { display: flex; align-items: baseline; gap: 8px; }
.ratio-legend b { font-size: 21px; font-weight: 800; letter-spacing: -.6px; }
.ratio-legend .human b { color: #059669; }
.ratio-legend .ai b { color: #dc2626; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot.human { background: #059669; }
.dot.ai { background: #dc2626; }

.advice {
  margin: 20px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
  background: #fafbfd; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px;
}
.advice b { color: var(--ink); }

.advice-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.advice-row .advice { flex: 1 1 320px; min-width: 0; margin: 0; }
.advice-cta { flex: 0 0 auto; padding: 9px 18px; font-size: 13.5px; }

.detail-fold { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.detail-fold > summary {
  list-style: none; cursor: pointer; padding: 14px 18px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.detail-fold > summary::-webkit-details-marker { display: none; }
.detail-fold > summary::after { content: "展开"; float: right; color: var(--muted); font-weight: 400; font-size: 12px; }
.detail-fold[open] > summary::after { content: "收起"; }
.detail-fold > summary:hover { color: var(--brand); }
.fold-advice { padding: 2px 22px 18px; }
.fold-advice h4 { margin: 6px 0 10px; font-size: 13.5px; }
.fold-advice.notes { border-top: 1px solid var(--line-2); padding-top: 14px; }
.fold-advice.notes p { margin: 4px 0; font-size: 12px; color: var(--muted); }

.para-list { display: grid; gap: 12px; }
.para {
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px;
  background: #fff; font-size: 14px; text-align: justify;
}
.para.high { border-left: 4px solid var(--bad); }
.para.mid { border-left: 4px solid var(--warn); }
.para.low { border-left: 4px solid var(--ok); }
.para .phead { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.para .flags { margin-top: 10px; padding: 7px 10px; border-radius: 7px; background: var(--warn-soft); color: #92400e; font-size: 12px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare .col { padding: 14px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 13.5px; text-align: justify; }
.compare .col h4 { margin: 0 0 8px; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.compare .col.after { background: #fbfdff; border-color: #dbe6ff; }

table.matches { width: 100%; border-collapse: collapse; font-size: 13px; }
table.matches th, table.matches td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
table.matches th { font-size: 11.5px; color: var(--muted); font-weight: 600; background: #fafbfd; }
table.matches td.src { color: var(--muted); font-size: 12px; }

.suggestions { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.suggestions li { margin-bottom: 8px; }
.suggestions b { color: var(--ink); }

.notes { padding: 14px 18px; background: #fafbfd; border: 1px solid var(--line-2); border-radius: 11px; font-size: 12.5px; color: var(--muted); }
.notes p { margin: 4px 0; }

/* ---------------- 支付 ---------------- */

.pay-box { max-width: 520px; margin: 40px auto; padding: 28px; text-align: center; }
.pay-box h2 { margin: 0 0 6px; font-size: 20px; }
.pay-box .amount { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin: 14px 0 4px; }
.pay-box .amount small { font-size: 16px; font-weight: 600; }
.pay-box .sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.pay-steps { text-align: left; margin-top: 22px; }
.qr-tip { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.pay-mock { background: var(--warn-soft); border: 1px dashed #fbbf24; border-radius: 10px; padding: 12px; font-size: 12.5px; color: #92400e; margin-bottom: 16px; }

.pay-back { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.linklike {
  border: 0; background: transparent; padding: 6px 10px;
  font-family: inherit; font-size: 13.5px; color: var(--brand);
  cursor: pointer; border-radius: 8px;
}
.linklike:hover { background: var(--brand-soft); text-decoration: underline; }
.linklike:disabled { color: var(--muted); cursor: default; text-decoration: none; background: transparent; }

/* ---------------- 页脚 ---------------- */

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; margin-top: 40px; font-size: 12.5px; color: var(--muted); }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- 后台 ---------------- */

.admin-shell { padding: 28px 0 60px; }
.admin-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-head h1 { font-size: 22px; margin: 0; letter-spacing: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { padding: 16px 18px; }
.kpi .k { font-size: 12px; color: var(--muted); }
.kpi .v { font-size: 24px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select {
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: 13px; background: #fff;
}
.toolbar input { flex: 1; min-width: 200px; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 900px; }
table.data th, table.data td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; white-space: nowrap; }
table.data th { font-size: 11.5px; color: var(--muted); background: #fafbfd; font-weight: 600; position: sticky; top: 0; }
table.data tr:hover td { background: #fbfcff; }
.tag-status { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.tag-status.pending_pay { background: #f1f5f9; color: #475569; }
.tag-status.paid, .tag-status.processing { background: #eff6ff; color: #1d4ed8; }
.tag-status.done { background: var(--ok-soft); color: var(--ok); }
.tag-status.failed { background: var(--bad-soft); color: var(--bad); }

/* ---------------- 杂项 ---------------- */

.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.spinner.dark { border-color: var(--line); border-top-color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 48px 20px; color: var(--muted); font-size: 13.5px; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }

/* ---------------- 卡密 ---------------- */

.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.cdk-row { display: flex; gap: 8px; }
.cdk-row input { flex: 1; min-width: 0; }
.cdk-row .btn { width: auto; white-space: nowrap; }

select {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: #fff; color: var(--ink);
}
select:focus { outline: 2px solid rgba(79, 70, 229, .25); border-color: var(--brand); }

.card-balance { font-size: 12.5px; margin-top: 8px; color: var(--muted); }
.card-balance.ok { color: var(--ok); }
.card-balance.bad { color: var(--bad); }

.card-page { max-width: 620px; margin: 40px auto; padding: 28px; }
.uses { margin-top: 18px; font-size: 13px; overflow-x: auto; }
.uses table { width: 100%; border-collapse: collapse; }
.uses th, .uses td { padding: 8px 10px; border-bottom: 1px solid var(--line-2); text-align: left; }
.uses th { font-size: 11.5px; color: var(--muted); font-weight: 600; background: #fafbfd; }

/* ---------------- 历史记录 / 会员页 ---------------- */

.history-head, .membership-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.history-head h1, .membership-head h1 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.4px; }
.history-head .sub, .membership-head .sub { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.7; }

.history-card { padding: 6px 0; overflow: hidden; }
.history-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  border-bottom: 1px solid var(--line-2); text-decoration: none; color: inherit;
  transition: background .15s;
}
.history-row:last-child { border-bottom: 0; }
.history-row:hover { background: #fafbff; text-decoration: none; }
.history-row.disabled { opacity: .6; cursor: default; }
.hr-main { flex: 1; min-width: 0; }
.hr-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.hr-status { font-size: 10.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.hr-status.ok { background: #ecfdf5; color: #047857; }
.hr-status.bad { background: #fef2f2; color: #b91c1c; }
.hr-status.run { background: #eef2ff; color: #4338ca; }
.hr-status.warn { background: #fffbeb; color: #b45309; }
.hr-status.muted { background: #f1f5f9; color: #64748b; }
.hr-sub { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.hr-side { text-align: right; font-size: 13px; font-weight: 700; white-space: nowrap; }
.hr-side small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 2px; }

.history-empty { padding: 48px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.history-empty b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.history-empty p { margin: 0; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 12px 6px; margin-top: 4px; border-top: 1px solid var(--line-2); }
.pager-btn {
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 6px 14px; font-family: inherit; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  transition: .15s;
}
.pager-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.pager-btn:disabled { opacity: .45; cursor: not-allowed; }
.pager-info { font-size: 12.5px; color: var(--muted); }

.membership-note { margin-top: 22px; padding: 20px 22px; }
.membership-note h3 { margin: 0 0 10px; font-size: 15px; }
.membership-note ul { margin: 0 0 14px; padding-left: 18px; font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }

/* ---------------- 会员商城（弹窗 / 会员页共用） ---------------- */

.vip-page-card { padding: 30px 26px; }
.vip-shop { text-align: center; }

.vip-hero { padding: 2px 0 20px; }
.vip-crown {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 14px 30px -14px rgba(217, 119, 6, .75);
}
.vip-crown svg { width: 32px; height: 32px; color: #fff; }

.vip-hero h2 {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 6px; font-size: 23px; letter-spacing: -.4px;
}
.vip-hero h2 svg { width: 21px; height: 21px; color: #f59e0b; }
.vip-hero p { margin: 0; font-size: 12.5px; color: var(--muted); }

.vip-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }

.vip-tier {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 16px 6px 11px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; font-family: inherit; transition: .15s;
}
.vip-tier:hover { border-color: #c7cbf0; transform: translateY(-2px); }
.vip-tier.selected {
  border-color: var(--brand); background: var(--brand-soft);
  box-shadow: 0 12px 26px -18px rgba(79, 70, 229, .8);
}
.t-flag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 800; color: #fff; white-space: nowrap;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  padding: 1px 8px; border-radius: 999px;
}
.t-check {
  position: absolute; top: 7px; right: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--ok); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
}
.t-name { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.t-days { font-size: 10.5px; color: var(--muted); }
.t-price { font-size: 20px; font-weight: 800; letter-spacing: -.6px; color: var(--brand); margin: 3px 0 1px; }
.t-price i { font-style: normal; font-size: 11px; font-weight: 700; margin-right: 1px; }
.t-bonus {
  font-size: 10px; font-weight: 700; color: #047857;
  background: #ecfdf5; border-radius: 999px; padding: 2px 7px; margin-top: 4px;
}

.vip-perks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  padding: 18px 0 16px; font-size: 12px; color: var(--ink-2);
}
.vip-perks b { color: var(--ink); }
.vip-perks .pk { font-style: normal; margin-right: 3px; }

.vip-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px 20px; border: 0; border-radius: 12px;
  font-family: inherit; font-size: 16px; font-weight: 800; letter-spacing: .2px;
  color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
  box-shadow: 0 14px 30px -16px rgba(217, 119, 6, .9);
  transition: .15s;
}
.vip-cta:hover { filter: brightness(1.05); }
.vip-cta:disabled { opacity: .6; cursor: not-allowed; }
.vip-cta svg { width: 19px; height: 19px; }

.vip-redeem { margin-top: 20px; }
.vip-redeem-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; color: var(--muted); margin-bottom: 10px;
}
.vip-redeem-label::before, .vip-redeem-label::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.vip-redeem-row { display: flex; gap: 8px; }
.vip-redeem-row input { flex: 1; min-width: 0; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 13.5px; }
.vip-redeem-row button {
  border: 0; border-radius: 10px; padding: 0 20px; white-space: nowrap;
  font-family: inherit; font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}
.vip-redeem-row button:disabled { opacity: .6; cursor: not-allowed; }
.vip-redeem-msg { min-height: 17px; font-size: 12px; margin-top: 8px; }
.vip-redeem-msg.ok { color: var(--ok); }
.vip-redeem-msg.bad { color: var(--bad); }

.vip-modal-card { max-width: 780px; padding: 26px 24px 22px; }

@media (max-width: 640px) {
  .vip-tiers { display: flex; overflow-x: auto; padding: 12px 2px 6px; scroll-snap-type: x mandatory; }
  .vip-tier { flex: 0 0 106px; scroll-snap-align: start; }
  .vip-page-card { padding: 22px 16px; }
  .vip-modal-card { padding: 22px 16px 18px; }
}

/* ---------------- 支持场景条 ---------------- */

.support-section { padding: 0 0 10px; }
.hero-support { margin-top: 18px; max-width: 520px; padding: 10px 12px; gap: 8px; }
.hero-support .support-chip { font-size: 12px; padding: 5px 10px 5px 6px; }
.hero-support .sc-ico { width: 18px; height: 18px; font-size: 10.5px; }
.support-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 12px 30px -26px rgba(15, 23, 42, .3);
}
.support-label { font-size: 12.5px; color: var(--muted); margin-right: 2px; }
.support-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 7px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 12.5px; color: var(--ink-2); background: #fff; white-space: nowrap;
}
.sc-ico {
  font-style: normal; font-size: 11px; font-weight: 800; line-height: 1;
  width: 20px; height: 20px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: #64748b; letter-spacing: -.2px;
}
.sc-ico.cn { background: linear-gradient(135deg, #ef4444, #f59e0b); }
.sc-ico.en { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.sc-ico.en2 { background: #1e3a8a; }
.sc-ico.bi { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.sc-ico.ai { background: linear-gradient(135deg, #0ea5e9, #6366f1); font-size: 11px; }
.sc-ico.wei { background: #dc2626; }
.sc-ico.zhi { background: #2563eb; }
.sc-ico.wan { background: #059669; }
.support-tail { font-size: 12.5px; color: var(--muted); }

@media (max-width: 640px) {
  .support-bar { padding: 10px 12px; gap: 8px; }
  .support-chip { font-size: 12px; padding: 5px 10px 5px 6px; }
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  h1 { font-size: 32px; }
  .features, .pricing, .flow, .summary-grid, .kpis { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .nav-links a:not(.always):not(.keep) { display: none; }
  .nav-links a.keep { font-size: 12.5px; }
  .wallet-chip .wc-label { display: none; }
  .nav-links { gap: 12px; }
  .packs { grid-template-columns: 1fr; gap: 22px; }
  .pack.hot, .pack.hot:hover { transform: none; }
  .vip-grid { grid-template-columns: 1fr; gap: 22px; }
  .vip-card.hot, .vip-card.hot:hover { transform: none; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 28px); }
  h1 { font-size: 27px; }
  .features, .pricing, .flow, .summary-grid, .kpis { grid-template-columns: 1fr; }
  .hero { padding: 32px 0 12px; }
  .section { padding: 36px 0; }
  .gauge-wrap { padding: 18px; }
  .dim { grid-template-columns: 92px 1fr 38px; }
  .plan { grid-template-columns: 20px 1fr; }
  .plan .price { grid-column: 2; text-align: left; }
  .ratio-legend { gap: 22px; }
  .ratio-legend b { font-size: 18px; }
  .pricing.two { grid-template-columns: 1fr; }
}
