:root {
  --bg: #05070b; --panel: #0b0f16; --stroke: rgba(255,255,255,.08);
  --text: #e9eff7; --muted: #8fa0b5; --dim: #5d6c80;
  --accent: #4d8dff; --accent-2: #18d6a0; --long: #18d6a0; --short: #ff4d6d; --warn: #ffb020;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }
.pos { color: var(--long) !important; }
.neg { color: var(--short) !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; backdrop-filter: blur(12px);
  background: rgba(5,7,11,.72); border-bottom: 1px solid var(--stroke);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; letter-spacing: .04em; }
.brand-mark { color: var(--accent); font-size: 18px; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 500;
  border: 1px solid var(--stroke); background: transparent; color: var(--text);
  cursor: pointer; transition: all .18s ease; white-space: nowrap;
}
.btn:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.btn-primary { background: linear-gradient(180deg, #4d8dff, #3f78e0); border-color: transparent; color: #fff; }
.btn-primary:hover { filter: brightness(1.08); background: linear-gradient(180deg, #5a97ff, #4784ec); }
.btn-lg { padding: 12px 24px; font-size: 14px; }
.btn-sm { padding: 5px 10px; font-size: 11.5px; }
.btn-block { width: 100%; }
.btn-ghost { }

/* hero */
.hero { padding: 88px 32px 72px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px;
  background: rgba(24,214,160,.08); border: 1px solid rgba(24,214,160,.2);
  color: var(--accent-2); font-size: 11.5px; letter-spacing: .04em; margin-bottom: 28px;
}
.hero h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 22px; font-weight: 650; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 16px; color: var(--muted); line-height: 1.9; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 64px;
  background: var(--stroke); border: 1px solid var(--stroke); border-radius: 14px; overflow: hidden;
}
.hero-stats > div { background: var(--panel); padding: 22px 12px; display: flex; flex-direction: column; gap: 4px; }
.hero-stats b { font-size: 24px; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 11px; color: var(--dim); letter-spacing: .06em; }

/* live dot */
.live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--long); box-shadow: 0 0 0 0 rgba(24,214,160,.6);
  animation: pulse 2s infinite; margin-right: 6px; vertical-align: middle;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(24,214,160,.5); }
  70% { box-shadow: 0 0 0 7px rgba(24,214,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(24,214,160,0); }
}

.underline-warn { border-bottom: 3px solid rgba(255,77,109,.6); padding-bottom: 2px; }

/* hero ledger */
.hero-ledger {
  max-width: 460px; margin: 8px auto 0; text-align: left;
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 10px 16px;
}
.hl-head { font-size: 10px; color: var(--dim); letter-spacing: .08em; padding: 6px 0 8px; border-bottom: 1px solid var(--stroke); }
.hl-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 12.5px; }
.hl-row:last-child { border-bottom: 0; }
.hl-sym { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.hl-r { font-variant-numeric: tabular-nums; font-weight: 600; }

/* story beats */
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1100px; margin: 0 auto; padding: 0 32px 88px; }
.beat { padding: 0 26px; border-left: 1px solid var(--stroke); }
.beat:first-child { border-left: 0; padding-left: 0; }
.beat-num { font-size: 11px; color: var(--accent); letter-spacing: .14em; margin-bottom: 12px; }
.beat h3 { font-size: 16px; margin: 0 0 10px; line-height: 1.5; }
.beat p { color: var(--muted); font-size: 13.5px; line-height: 1.9; margin: 0 0 10px; }
.beat-kicker { font-size: 13px !important; color: var(--text) !important; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,.08); }
.beat-kicker.warn { color: var(--warn) !important; }

/* rejection bars */
.reject { max-width: 900px; margin: 0 auto; padding: 0 32px 88px; }
.bars { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 18px; }
.bar-row { display: flex; align-items: center; gap: 14px; }
.bar-label { width: 96px; font-size: 12.5px; color: var(--muted); text-align: right; flex: none; }
.bar-track { flex: 1; height: 10px; border-radius: 999px; background: rgba(255,255,255,.04); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, rgba(77,141,255,.9), rgba(77,141,255,.5)); }
.bar-val { width: 48px; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text); }
.reject-note { font-size: 12.5px; color: var(--dim); }

/* ledger table */
.ledger { max-width: 900px; margin: 0 auto; padding: 0 32px 88px; }
.ledger-table { border: 1px solid var(--stroke); border-radius: 14px; overflow: hidden; background: var(--panel); }
.lt-head, .lt-row { display: grid; grid-template-columns: 1.4fr .6fr .7fr 1.2fr; gap: 10px; padding: 11px 18px; align-items: center; }
.lt-head { font-size: 10px; color: var(--dim); letter-spacing: .08em; border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,.02); }
.lt-row { font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.04); }
.lt-row:last-child { border-bottom: 0; }
.lt-sym { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; font-weight: 600; }
.lt-reason { color: var(--dim); font-size: 11.5px; }

/* why */
.why { max-width: 860px; margin: 0 auto; padding: 20px 32px 96px; text-align: center; }
.why-quote { font-size: clamp(20px, 3vw, 30px); line-height: 1.6; letter-spacing: -.01em; margin-bottom: 26px; }
.why p { color: var(--muted); font-size: 14px; line-height: 1.95; }

/* features */
.features { max-width: 1100px; margin: 0 auto; padding: 0 32px 88px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.feat { background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px 22px; }
.feat b { font-size: 14px; color: var(--accent); }
.feat p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* story */
.story {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1100px; margin: 0 auto; padding: 0 32px 88px;
}
.story-item { border-top: 1px solid var(--stroke); padding-top: 22px; }
.story-item .num { font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.story-item h3 { margin: 10px 0 8px; font-size: 17px; }
.story-item p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.85; }

/* sections */
section h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.01em; margin: 0 0 10px; }
.sec-sub { color: var(--muted); margin: 0 0 36px; font-size: 14px; }
.data, .method, .plans-preview, .risk-teaser { max-width: 1100px; margin: 0 auto; padding: 0 32px 88px; }
.page-head { max-width: 980px; margin: 0 auto; padding: 0 32px 30px; }
.pricing-wrap { max-width: 980px; margin: 0 auto; padding: 0 32px 88px; }
.pay-info { margin-top: 46px; }
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.data-card {
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.data-card label { font-size: 11px; color: var(--dim); letter-spacing: .06em; }
.data-card b { font-size: 26px; font-variant-numeric: tabular-nums; }
.data-card span { font-size: 11px; color: var(--dim); }
.honest {
  margin-top: 28px; padding: 24px; border-radius: 14px; border: 1px solid rgba(255,176,32,.22);
  background: rgba(255,176,32,.05);
}
.honest h3 { margin: 0 0 8px; font-size: 15px; color: var(--warn); }
.honest p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.85; }

.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.method-grid > div { background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 22px; }
.method-grid h4 { margin: 0 0 8px; font-size: 14px; color: var(--accent); }
.method-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* plans */
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.plan-card {
  position: relative; background: var(--panel); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 6px;
}
.plan-card.featured { border-color: rgba(77,141,255,.5); box-shadow: 0 0 0 1px rgba(77,141,255,.18), 0 18px 50px -30px rgba(77,141,255,.6); }
.plan-tag {
  position: absolute; top: -10px; left: 22px; font-size: 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; letter-spacing: .06em;
}
.plan-name { font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price { margin: 2px 0 0; }
.plan-price b { font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.plan-price span { font-size: 12px; color: var(--dim); }
.plan-days { font-size: 11.5px; color: var(--dim); margin-bottom: 12px; }
.plan-note { text-align: center; color: var(--dim); font-size: 12px; margin-top: 22px; }

/* risk teaser */
.risk-teaser { text-align: center; }
.risk-teaser p { max-width: 720px; margin: 0 auto 24px; color: var(--muted); font-size: 14px; line-height: 1.9; }

/* prose */
.prose { max-width: 780px; margin: 0 auto; padding: 56px 32px 90px; }
.prose h1 { font-size: 32px; margin: 0 0 8px; }
.prose h2 { font-size: 17px; margin: 34px 0 10px; color: var(--accent); }
.prose p { color: var(--muted); font-size: 14px; line-height: 1.95; margin: 0 0 12px; }
.prose b { color: var(--text); }
.qa { border-top: 1px solid var(--stroke); padding: 18px 0; }
.qa h3 { margin: 0 0 6px; font-size: 15px; }
.qa p { margin: 0; }

/* auth */
.auth { display: flex; justify-content: center; padding: 72px 24px 96px; }
.auth-card {
  width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--stroke);
  border-radius: 18px; padding: 32px;
}
.auth-card h1 { font-size: 22px; margin: 0 0 6px; }
.auth-card label { display: block; font-size: 12px; color: var(--muted); margin: 16px 0 6px; }
.auth-card input {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03); color: var(--text); font-size: 14px; outline: none;
}
.auth-card input:focus { border-color: rgba(77,141,255,.55); }
.cap-refresh { float: right; background: none; border: 0; padding: 0; color: var(--accent); font-size: 11px; cursor: pointer; }
.cap-row { display: flex; gap: 10px; align-items: center; }
.cap-img { flex: none; line-height: 0; }
.cap-img svg { display: block; border-radius: 8px; }
.cap-row input { flex: 1; min-width: 0; }
.form-err { color: var(--short); font-size: 12px; min-height: 18px; margin: 10px 0; }
.auth-card .btn { margin-top: 6px; }

/* checkout */
.checkout { max-width: 620px; margin: 0 auto; padding: 56px 24px 90px; }
.checkout h1 { font-size: 26px; margin: 0 0 6px; }
.pay-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 8px 24px; margin: 26px 0; }
.pay-row { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--stroke); flex-wrap: wrap; }
.pay-row:last-child { border-bottom: 0; }
.pay-row label { width: 130px; font-size: 12px; color: var(--dim); }
.pay-row .amount { font-size: 30px; font-variant-numeric: tabular-nums; color: var(--accent-2); }
.addr { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-all; color: var(--muted); flex: 1; }
.cd { font-variant-numeric: tabular-nums; font-size: 18px; }
.status-line { padding: 14px 0; font-size: 12.5px; color: var(--muted); }
.pay-tips p { font-size: 12.5px; color: var(--muted); line-height: 1.9; margin: 0 0 6px; }

/* admin */
.admin { max-width: 1180px; margin: 0 auto; padding: 40px 24px 90px; }
.admin-head { display: flex; align-items: baseline; justify-content: space-between; }
.admin-head h1 { font-size: 24px; margin: 0 0 18px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.admin-stats .data-card b { font-size: 22px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.atab { padding: 8px 16px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: var(--dim); cursor: pointer; font-size: 13px; }
.atab.active { background: rgba(255,255,255,.06); color: var(--text); border-color: var(--stroke); }
.pane { display: none; }
.pane.active { display: block; }
.admin-bar { display: flex; gap: 8px; margin-bottom: 12px; }
.admin-bar input, .admin-bar select {
  padding: 8px 12px; border-radius: 9px; border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03); color: var(--text); font-size: 13px; outline: none;
}
.table-wrap { overflow: auto; border: 1px solid var(--stroke); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.admin-table th {
  text-align: left; padding: 10px 14px; color: var(--dim); font-weight: 500;
  background: rgba(255,255,255,.02); border-bottom: 1px solid var(--stroke); white-space: nowrap;
}
.admin-table td { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.04); }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .tag { font-size: 10px; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--muted); }

/* admin standalone shell */
.admin-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; border-bottom: 1px solid var(--stroke);
  background: rgba(5,7,11,.9); position: sticky; top: 0; z-index: 20;
}
.admin-brand { font-size: 13px; letter-spacing: .06em; color: var(--text); }
.admin-user { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--stroke); margin-top: 0; padding: 30px 32px 22px; }
.foot-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { font-size: 14px; margin-bottom: 6px; }
.foot-note { color: var(--dim); font-size: 12px; margin: 0; max-width: 420px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--muted); }
.foot-links a { white-space: nowrap; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { max-width: 1100px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.04); color: var(--dim); font-size: 11px; }

@media (max-width: 760px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 12px; font-size: 12px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 56px 20px 48px; }
  .hero-stats, .data-grid, .plan-cards, .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .story, .method-grid, .beats, .feat-grid { grid-template-columns: 1fr; }
  .beat { border-left: 0; padding: 0 0 26px; }
  .beat:last-child { padding-bottom: 0; }
  .data, .method, .plans-preview, .risk-teaser, .page-head, .pricing-wrap { padding: 0 20px 56px; }
  .pay-info { margin-top: 34px; }
  .story { padding: 0 20px 60px; }
  .prose, .checkout { padding: 36px 20px 70px; }
  .foot { padding: 28px 20px 18px; }
}

/* ═══════════════ 首页 v2（统一版式）═══════════════ */
.lp-hero { max-width: 820px; margin: 0 auto; padding: 96px 32px 56px; text-align: center; }
.lp-eyebrow {
  font-size: 11px; letter-spacing: .14em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 22px;
}
.lp-hero h1 {
  font-size: clamp(32px, 5.4vw, 56px); line-height: 1.16; letter-spacing: -.02em;
  margin: 0 0 22px; font-weight: 650;
}
.lp-hero h1 em { font-style: normal; color: var(--accent); }
.lp-underline { border-bottom: 3px solid rgba(255,77,109,.65); padding-bottom: 2px; }
.lp-sub { font-size: 15px; color: var(--muted); line-height: 1.95; margin: 0 auto 34px; max-width: 620px; }
.lp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.lp-proof { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.lp-proof-inner {
  max-width: 1080px; margin: 0 auto; padding: 30px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
}
.lp-proof-inner > div { display: flex; flex-direction: column; gap: 4px; }
.lp-proof-inner b { font-size: 26px; font-variant-numeric: tabular-nums; font-weight: 600; }
.lp-proof-inner span { font-size: 11px; color: var(--dim); letter-spacing: .06em; }

.lp-story {
  max-width: 1080px; margin: 0 auto; padding: 88px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.lp-beat { display: flex; flex-direction: column; }
.lp-num { font-size: 11px; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.lp-beat h3 { font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
.lp-beat p { color: var(--muted); font-size: 13.5px; line-height: 1.95; margin: 0 0 14px; }
.lp-kicker {
  font-size: 13px !important; color: var(--text) !important;
  padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.1); margin-top: auto !important;
}
.lp-kicker.warn { color: var(--warn) !important; }

.lp-evidence {
  max-width: 1080px; margin: 0 auto; padding: 0 32px 88px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.lp-col h2 { font-size: 24px; margin: 0 0 8px; letter-spacing: -.01em; }
.lp-note { font-size: 12.5px; color: var(--muted); margin: 0 0 22px; line-height: 1.8; }
.lp-note.dim { color: var(--dim); margin: 14px 0 0; }
.lp-bars { display: flex; flex-direction: column; gap: 12px; }
.lp-bar { display: flex; align-items: center; gap: 12px; }
.lp-bar-label { width: 84px; flex: none; font-size: 12px; color: var(--muted); text-align: right; }
.lp-bar-track { flex: 1; height: 8px; border-radius: 999px; background: rgba(255,255,255,.05); overflow: hidden; }
.lp-bar-track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, rgba(77,141,255,.95), rgba(77,141,255,.45)); }
.lp-bar-val { width: 44px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--text); }

.lp-ledger { display: flex; flex-direction: column; }
.lp-trade { display: grid; grid-template-columns: 1fr 36px 78px; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12.5px; }
.lp-trade:last-child { border-bottom: 0; }
.lp-sym { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.lp-side { font-size: 11px; text-align: center; }
.lp-r { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.lp-quote { max-width: 760px; margin: 0 auto; padding: 8px 32px 96px; text-align: center; }
.lp-quote p { font-size: clamp(18px, 2.6vw, 26px); line-height: 1.65; margin: 0 0 18px; letter-spacing: -.01em; }
.lp-quote span { font-size: 13px; color: var(--dim); letter-spacing: .06em; }

.lp-method { max-width: 1080px; margin: 0 auto; padding: 0 32px 88px; }
.lp-method h2 { font-size: 24px; margin: 0 0 26px; }
.lp-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-method-grid > div { background: var(--panel); border: 1px solid var(--stroke); border-radius: 14px; padding: 20px 22px; }
.lp-method-grid b { font-size: 13.5px; color: var(--accent); }
.lp-method-grid p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

.lp-plans { max-width: 1080px; margin: 0 auto; padding: 0 32px 88px; }
.lp-plans h2 { font-size: 24px; margin: 0 0 8px; }
.lp-plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.lp-plan {
  position: relative; background: var(--panel); border: 1px solid var(--stroke);
  border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; gap: 8px;
}
.lp-plan.hot { border-color: rgba(77,141,255,.5); box-shadow: 0 18px 50px -32px rgba(77,141,255,.7); }
.lp-plan-tag {
  position: absolute; top: -10px; left: 22px; font-size: 10px; padding: 3px 10px;
  border-radius: 999px; background: var(--accent); color: #fff; letter-spacing: .06em;
}
.lp-plan-name { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; }
.lp-plan-price { display: flex; align-items: baseline; gap: 6px; }
.lp-plan-price b { font-size: 32px; font-variant-numeric: tabular-nums; }
.lp-plan-price span { font-size: 12px; color: var(--dim); }
.lp-plan-days { font-size: 12px; color: var(--dim); margin-bottom: 10px; }

.lp-risk {
  max-width: 760px; margin: 0 auto; padding: 0 32px 96px;
  border-top: 1px solid var(--stroke); padding-top: 38px; text-align: center;
}
.lp-risk p { color: var(--dim); font-size: 12.5px; line-height: 1.9; margin: 0 0 10px; }
.lp-risk a { font-size: 12.5px; color: var(--accent); }

@media (max-width: 760px) {
  .lp-hero { padding: 64px 20px 40px; }
  .lp-proof-inner { grid-template-columns: 1fr 1fr; padding: 24px 20px; }
  .lp-story { grid-template-columns: 1fr; gap: 36px; padding: 56px 20px; }
  .lp-evidence { grid-template-columns: 1fr; gap: 48px; padding: 0 20px 60px; }
  .lp-method, .lp-plans { padding: 0 20px 60px; }
  .lp-method-grid, .lp-plan-cards { grid-template-columns: 1fr; }
  .lp-quote { padding: 0 20px 64px; }
  .lp-risk { padding: 28px 20px 72px; }
}

/* ═══════════════ 全球市场页 ═══════════════ */
/* ── markets page ───────────────────────────────────────── */
.mk { max-width: 1180px; margin: 0 auto; padding: 8px 24px 64px; }

.mk-hero { padding: 18px 0 22px; border-bottom: 1px solid var(--stroke); margin-bottom: 22px; }
.mk-hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.mk-eyebrow { font-size: 10.5px; letter-spacing: .18em; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.mk-hero h1 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 8px; letter-spacing: -.025em; line-height: 1.12; }
.mk-lede { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 560px; }

.mk-legend { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.mk-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mk-legend em { font-style: normal; color: var(--dim); font-size: 10.5px; display: block; }
.mk-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex: none; }
.mk-dot.live { background: var(--long); box-shadow: 0 0 0 3px rgba(24,214,160,.15); }
.mk-dot.delay { background: var(--warn); box-shadow: 0 0 0 3px rgba(255,176,32,.13); }

.mk-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--stroke); margin-bottom: 22px; flex-wrap: wrap; }
.mk-tab { padding: 8px 14px; border-radius: 9px; border: 0; background: transparent; color: var(--muted); font-size: 12.5px; font-weight: 500; cursor: pointer; transition: all .16s ease; font-family: inherit; }
.mk-tab:hover { color: var(--text); background: rgba(255,255,255,.04); }
.mk-tab.active { background: rgba(77,141,255,.14); color: #cfe0ff; box-shadow: inset 0 0 0 1px rgba(77,141,255,.3); }
.mk-tab .mk-tab-n { color: var(--dim); font-size: 10.5px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.mk-tab.active .mk-tab-n { color: rgba(207,224,255,.6); }

.mk-board { margin-bottom: 6px; }
.mk-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mk-board-head h2 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.mk-board-hint { font-size: 11.5px; color: var(--dim); }

.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
.mk-card {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 15px 13px;
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 13px;
  text-align: left; cursor: pointer; color: inherit; font-family: inherit;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.mk-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.17); background: #0d121b; box-shadow: 0 8px 22px -14px rgba(0,0,0,.9); }
.mk-card.active { border-color: rgba(77,141,255,.5); background: rgba(77,141,255,.07); box-shadow: 0 0 0 1px rgba(77,141,255,.28); }
.mk-name { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-price { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.015em; line-height: 1.15; }
.mk-chg { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.mk-chg span { display: inline-block; }
.mk-pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px;
  font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.mk-pill.pos { background: rgba(24,214,160,.12); color: var(--long) !important; }
.mk-pill.neg { background: rgba(255,77,109,.12); color: var(--short) !important; }
.mk-pill.flat { background: rgba(255,255,255,.05); color: var(--dim) !important; }

.mk-chart-wrap {
  background: linear-gradient(180deg, #0c1119, #0a0e15);
  border: 1px solid var(--stroke); border-radius: 16px;
  padding: 16px 18px 12px; margin: 14px 0 34px;
  box-shadow: 0 24px 60px -46px rgba(0,0,0,1);
}
.mk-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.mk-quote { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mk-quote b { font-size: 16px; letter-spacing: -.01em; }
.mk-quote #mk-price { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; }
.mk-quote #mk-chg { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mk-periods { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--stroke); }
.mk-periods button {
  padding: 6px 12px; border-radius: 7px; border: 0; background: transparent;
  color: var(--muted); font-size: 11.5px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all .15s ease;
}
.mk-periods button:hover { color: var(--text); }
.mk-periods button.active { background: rgba(255,255,255,.09); color: var(--text); }
.mk-canvas-wrap { position: relative; width: 100%; overflow: hidden; }
.mk-canvas-wrap canvas { display: block; width: 100%; height: 260px; max-height: 46vh; }
.mk-tip {
  position: absolute; z-index: 5; pointer-events: none;
  min-width: 132px; padding: 9px 11px; border-radius: 10px;
  background: rgba(9,13,20,.97); border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 14px 34px -18px #000; backdrop-filter: blur(6px);
  font-variant-numeric: tabular-nums;
}
.mk-tip-t { font-size: 10.5px; color: var(--dim); margin-bottom: 6px; letter-spacing: .02em; }
.mk-tip-r { display: flex; justify-content: space-between; gap: 16px; font-size: 11.5px; line-height: 1.75; }
.mk-tip-r span { color: var(--muted); }
.mk-tip-r b { font-weight: 600; color: var(--text); }
.mk-tip-r b.pos { color: var(--long); }
.mk-tip-r b.neg { color: var(--short); }
.mk-foot { font-size: 11px; color: var(--dim); padding: 10px 2px 2px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mk-loading { color: var(--dim); font-size: 12.5px; padding: 22px 2px; }

@media (max-width: 720px) {
  .mk { padding: 4px 16px 48px; }
  .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mk-price { font-size: 17px; }
  .mk-hero-top { gap: 14px; }
  .mk-chart-wrap { padding: 13px 13px 10px; }
  .mk-canvas-wrap canvas { height: 200px; }
  .mk-quote #mk-price { font-size: 17px; }
}

/* ── 单品种详情页的 K 线图 ── */
.sym-chart { margin: 14px 0 26px; padding: 14px 16px 10px; border: 1px solid var(--stroke); border-radius: 14px; background: linear-gradient(180deg, #0c1119, #0a0e15); }
.sym-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.sym-quote { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sym-quote b { font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; }
.sym-quote span { font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sym-chart-src { color: var(--dim) !important; font-size: 11px !important; }
.sym-chart-foot { font-size: 11px; color: var(--dim); padding: 8px 2px 2px; }
.sym-chart .mk-canvas-wrap canvas { height: 260px; max-height: 46vh; }
@media (max-width: 720px) { .sym-chart .mk-canvas-wrap canvas { height: 200px; } }
/* ── /markets/all：搜索 + 字母索引 ─────────────────────── */
.mk-all-hero { padding: 6px 0 18px; }
.mk-all-hero h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 6px 0 10px; letter-spacing: -.025em; }
.mk-all-hero .mk-lede { max-width: 720px; }

.mk-all-bar {
  position: sticky; top: 0; z-index: 12;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 4px;
  background: linear-gradient(180deg, var(--bg) 72%, rgba(5,7,11,0));
  backdrop-filter: blur(8px);
}
.mk-search { position: relative; display: flex; align-items: center; flex: 1 1 320px; max-width: 520px; }
.mk-search-ico { position: absolute; left: 13px; color: var(--dim); pointer-events: none; }
.mk-search input {
  width: 100%; padding: 11px 68px 11px 37px;
  background: #0b0f16; border: 1px solid var(--stroke); border-radius: 11px;
  color: var(--text); font: inherit; font-size: 13.5px; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
  -webkit-appearance: none; appearance: none;
}
.mk-search input::placeholder { color: var(--dim); }
.mk-search input:focus { border-color: rgba(77,141,255,.55); box-shadow: 0 0 0 3px rgba(77,141,255,.12); }
.mk-search input::-webkit-search-cancel-button { display: none; }
.mk-search-clear {
  position: absolute; right: 42px; width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.08); color: var(--muted);
  font-size: 15px; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.mk-search-clear:hover { background: rgba(255,255,255,.16); color: var(--text); }
.mk-search-kbd {
  position: absolute; right: 12px; padding: 2px 6px; border-radius: 5px;
  border: 1px solid var(--stroke); background: rgba(255,255,255,.04);
  font-size: 10.5px; color: var(--dim); font-family: ui-monospace, monospace;
}
.mk-all-meta { font-size: 11.5px; color: var(--dim); font-variant-numeric: tabular-nums; }

.mk-alpha { display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 22px; }
.mk-alpha a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px;
  border: 1px solid var(--stroke); color: var(--muted);
  font-size: 12px; font-weight: 600; transition: all .14s ease;
}
.mk-alpha a:hover { border-color: rgba(77,141,255,.45); color: var(--text); background: rgba(77,141,255,.08); }

.mk-alpha-grp { margin-bottom: 26px; scroll-margin-top: 132px; }
.mk-alpha-grp h2 {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 12px; letter-spacing: .14em; color: var(--accent);
  margin: 0 0 10px; padding-bottom: 7px; border-bottom: 1px solid var(--stroke);
}
.mk-alpha-grp h2 em { font-style: normal; color: var(--dim); font-size: 10.5px; letter-spacing: 0; }
.mk-alpha-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 6px; }
.mk-alpha-list li[hidden] { display: none; }
.mk-alpha-list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 8px 11px; border-radius: 9px; border: 1px solid transparent;
  font-size: 12.5px; transition: all .14s ease;
}
.mk-alpha-list a:hover { border-color: var(--stroke); background: rgba(255,255,255,.035); }
.mk-alpha-list b { font-weight: 600; }
.mk-alpha-list span { color: var(--dim); font-size: 11.5px; font-variant-numeric: tabular-nums; }

.mk-all-empty {
  margin: 26px 0; padding: 22px; text-align: center;
  border: 1px dashed var(--stroke); border-radius: 12px;
  color: var(--muted); font-size: 13px;
}
.mk-all-empty b { color: var(--text); }
.mk-all-empty a { color: var(--accent); }
.mk-all-foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--stroke); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mk-all-foot p { margin: 0; }

@media (max-width: 720px) {
  .mk-all-bar { position: static; }
  .mk-search { flex-basis: 100%; max-width: none; }
  .mk-search-kbd { display: none; }
  .mk-alpha-list { grid-template-columns: repeat(2, 1fr); }
  .mk-alpha-grp { scroll-margin-top: 20px; }
}
@media (max-width: 720px) { .mk-alpha-list { grid-template-columns: repeat(2, 1fr); } }
.mk-loading { color: var(--dim); font-size: 12.5px; padding: 20px 0; }

@media (max-width: 760px) {
  .mk { padding: 28px 16px 60px; }
  .mk-grid { grid-template-columns: repeat(2, 1fr); }
  #mk-canvas { height: 280px; }
}

/* ═══════════════ 首页全球市场带 ═══════════════ */
.lp-band { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.lp-band-inner {
  border: 1px solid var(--stroke); border-radius: 16px; background: var(--panel);
  padding: 14px 16px; margin-top: 30px;
}
.lp-band-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.lp-band-title { font-size: 11.5px; letter-spacing: .08em; color: var(--text); }
.lp-band-note { font-size: 10.5px; color: var(--dim); }
.lp-band-note a { color: var(--accent); }
.lp-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.lp-band-cell {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto;
  gap: 2px 8px; padding: 9px 10px; border-radius: 10px; align-items: center;
  transition: background .15s ease;
}
.lp-band-cell:hover { background: rgba(255,255,255,.035); }
.lb-name { font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-price { font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-chg { font-size: 10.5px; text-align: right; font-variant-numeric: tabular-nums; }
.lb-spark { justify-self: end; display: block; }

@media (max-width: 760px) {
  .lp-band { padding: 0 20px; }
  .lp-band-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════ 全球金融新闻 ═══════════════ */
.nw { max-width: 900px; margin: 0 auto; padding: 48px 32px 90px; }
.nw-head h1 { font-size: clamp(26px, 4vw, 38px); margin: 6px 0 10px; letter-spacing: -.02em; }
.nw-sub { color: var(--muted); font-size: 12.5px; line-height: 1.8; margin: 0 0 26px; }
.nw-sub b { color: var(--text); }
.nw-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.nw-cat-btn {
  padding: 6px 13px; border-radius: 9px; border: 1px solid var(--stroke);
  background: transparent; color: var(--dim); font-size: 12px; cursor: pointer;
}
.nw-cat-btn:hover { color: var(--muted); }
.nw-cat-btn.active { background: rgba(255,255,255,.06); color: var(--text); }

.nw-list { display: flex; flex-direction: column; }
.nw-item { display: block; padding: 18px 2px; border-bottom: 1px solid rgba(255,255,255,.06); transition: background .15s ease; }
.nw-item:hover { background: rgba(255,255,255,.015); }
.nw-meta { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: var(--dim); margin-bottom: 7px; }
.nw-src { color: var(--accent); letter-spacing: .04em; }
.nw-cat { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.05); }
.gloss-h2 {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 10px;
  font-weight: 600;
}

.nw-title { font-size: 16px; line-height: 1.55; margin: 0 0 6px; font-weight: 550; color: var(--text); }
.nw-sum { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.nw-tag { font-size: 10px; color: var(--dim); background: rgba(255,255,255,.04); padding: 1px 7px; border-radius: 999px; }
.nw-more { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px 0; }
.nw-more button {
  padding: 9px 22px; border-radius: 10px; border: 1px solid var(--stroke);
  background: transparent; color: var(--muted); font-size: 12.5px; cursor: pointer;
}
.nw-more button:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.nw-more span { font-size: 11px; color: var(--dim); }
.nw-empty { color: var(--dim); font-size: 13px; padding: 30px 0; }

.nw-detail { max-width: 760px; margin: 0 auto; padding: 56px 32px 90px; }
.nw-detail h1 { font-size: clamp(22px, 3.4vw, 30px); line-height: 1.4; margin: 10px 0 16px; letter-spacing: -.01em; }
.nw-detail-sum { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 0 0 18px; }
.nw-disclaimer { margin: 26px 0 18px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--stroke); background: rgba(255,255,255,.02); color: var(--dim); font-size: 11.5px; line-height: 1.8; }
.nw-disclaimer b { color: var(--muted); }
.nw-back { margin-top: 28px; font-size: 12.5px; }
.nw-back a { color: var(--dim); }
.nw-back a:hover { color: var(--text); }

@media (max-width: 760px) {
  .nw { padding: 28px 18px 60px; }
  .nw-detail { padding: 32px 18px 60px; }
  .nw-title { font-size: 15px; }
}

/* 官方发布正文 */
.nw-body { margin: 22px 0 6px; }
.nw-body p { color: var(--muted); font-size: 14px; line-height: 1.95; margin: 0 0 14px; }
.nw-body p:first-child { color: var(--text); }

.nw-newbar {
  position: sticky; top: 64px; z-index: 5; margin: 0 0 8px;
  padding: 9px 16px; border-radius: 10px; cursor: pointer;
  background: rgba(77,141,255,.14); border: 1px solid rgba(77,141,255,.35);
  color: var(--accent); font-size: 12px; text-align: center;
}
.nw-newbar:hover { background: rgba(77,141,255,.2); }

.lp-jump { margin-top: 26px; display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 12px; color: var(--dim); flex-wrap: wrap; }
.lp-jump a { color: var(--dim); }
.lp-jump a:hover { color: var(--text); }
.lp-jump span { color: rgba(255,255,255,.12); }

/* 免责声明 */
.legal h2 { margin-top: 38px; }
.legal p, .legal li { color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.legal ul { padding-left: 20px; margin: 6px 0 12px; }
.legal li { margin-bottom: 4px; }
.legal-key {
  margin: 26px 0 8px; padding: 20px 22px; border-radius: 14px;
  border: 1px solid rgba(255,176,32,.28); background: rgba(255,176,32,.05);
}
.legal-key-title { font-size: 13px; color: var(--warn); margin-bottom: 10px; letter-spacing: .04em; }
.legal-key ol { margin: 0; padding-left: 20px; }
.legal-key li { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 6px; }
.legal-key b { color: var(--text); }

/* FAQ */
.faq-group { font-size: 15px !important; color: var(--accent) !important; margin-top: 40px !important; letter-spacing: .04em; }
.faq .qa h3 { font-size: 14.5px; }
.faq .qa p { font-size: 13.5px; line-height: 1.95; }

/* 文章页推广位 */
.nw-promo {
  display: block; margin: 26px 0 0; padding: 18px 20px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, rgba(77,141,255,.10), rgba(77,141,255,.03));
  border: 1px solid rgba(77,141,255,.26); transition: border-color .15s ease;
}
.nw-promo:hover { border-color: rgba(77,141,255,.5); }
.nw-promo-title { font-size: 14px; font-weight: 600; color: var(--text); }
.nw-promo-sub { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.7; }
.nw-promo-sub a { color: var(--accent); }
.nw-promo-cta { font-size: 12.5px; color: var(--accent); margin-top: 10px; }
.nw-promo-note { font-size: 9.5px; color: var(--dim); margin-top: 9px; line-height: 1.6; }

/* 新闻列表页推广文字链 */
.nw-promo-line {
  margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-size: 11.5px;
}
.nw-promo-line a { color: var(--dim); }
.nw-promo-line a:hover { color: var(--accent); }
.nw-promo-line span { color: rgba(255,255,255,.18); font-size: 10px; }

/* 留言板 */
.board { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.board h1 { font-size: 26px; margin-bottom: 8px; }
.bd-form { margin: 24px 0 34px; display: flex; flex-direction: column; gap: 10px; }
.bd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bd-form input, .bd-form textarea {
  width: 100%; padding: 10px 12px; border-radius: 9px; font: inherit; font-size: 13px;
  background: var(--panel); border: 1px solid var(--stroke); color: var(--text); resize: vertical;
}
.bd-form textarea { line-height: 1.7; }
.bd-actions { display: flex; align-items: center; gap: 14px; }
.bd-list { display: flex; flex-direction: column; gap: 12px; }
.bd-item { padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--stroke); }
.bd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.bd-name { font-size: 12.5px; color: var(--text); font-weight: 600; }
.bd-time { font-size: 10.5px; color: var(--dim); }
.bd-hidden { font-size: 10px; color: var(--warn); border: 1px solid rgba(255,176,32,.3); border-radius: 4px; padding: 1px 5px; }
.bd-body { font-size: 13px; color: var(--muted); line-height: 1.8; word-break: break-word; }
.bd-reply { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: rgba(77,141,255,.07); border-left: 2px solid var(--accent); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.bd-reply b { display: block; color: var(--accent); font-size: 11px; margin-bottom: 4px; }
.bd-empty { color: var(--dim); font-size: 12.5px; text-align: center; padding: 30px 0; }

/* 后台留言管理 */
.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg-item { padding: 12px 14px; border-radius: 10px; background: var(--panel); border: 1px solid var(--stroke); }
.msg-item.is-hidden { opacity: .55; border-style: dashed; }
.msg-top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.msg-top b { font-size: 12.5px; }
.msg-contact { font-size: 10.5px; color: var(--accent); }
.msg-body { font-size: 12.5px; color: var(--muted); line-height: 1.8; word-break: break-word; }
.msg-acts { margin-top: 10px; display: flex; gap: 8px; }
@media (max-width: 640px) { .bd-row { grid-template-columns: 1fr; } }

/* 私密留言板补充 */
.bd-form label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; color: var(--dim); }
.bd-form label input, .bd-form label textarea { margin-top: 2px; }
.bd-ok { padding: 12px 14px; border-radius: 9px; background: rgba(46,204,143,.08); border: 1px solid rgba(46,204,143,.3); color: var(--long); font-size: 12.5px; }
.msg-new { font-size: 9.5px; color: var(--bg); background: var(--accent); border-radius: 4px; padding: 1px 5px; font-weight: 600; }
.msg-item.is-done { opacity: .6; }

/* 邀请页 */
.invite { max-width: 780px; margin: 0 auto; padding: 0 24px 90px; }
.invite h1 { font-size: 28px; margin-bottom: 10px; }
.invite .lead { color: var(--muted); font-size: 14px; line-height: 1.9; margin-bottom: 26px; }
.invite h2 { font-size: 16px; margin: 38px 0 12px; }
.inv-code-box { padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--stroke); }
.inv-code-label { font-size: 11px; color: var(--dim); letter-spacing: .06em; }
.inv-code { font-size: 30px; letter-spacing: .18em; font-variant-numeric: tabular-nums; color: var(--accent); margin: 6px 0 16px; }
.inv-link-row { display: flex; gap: 8px; }
.inv-link-row input { flex: 1; padding: 9px 12px; border-radius: 9px; background: var(--bg); border: 1px solid var(--stroke); color: var(--muted); font-size: 12px; font-family: var(--mono); }
.inv-hint { font-size: 11px; color: var(--long); margin-top: 8px; height: 14px; }
.inv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.inv-rewards { display: flex; flex-direction: column; gap: 6px; }
.inv-reward { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; font-size: 12px; color: var(--muted); padding: 9px 12px; border-radius: 8px; background: var(--panel); border: 1px solid var(--stroke); }
.inv-reward b { color: var(--long); }
.inv-login { padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--stroke); text-align: center; margin-bottom: 10px; }
.inv-login p { color: var(--muted); font-size: 13px; margin-bottom: 14px; }
.inv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.inv-table th, .inv-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--stroke); color: var(--muted); }
.inv-table th { font-size: 11px; color: var(--dim); font-weight: 500; }
.inv-table td:last-child { color: var(--long); font-variant-numeric: tabular-nums; }
.inv-mile, .inv-rules { padding-left: 20px; }
.inv-mile li, .inv-rules li { color: var(--muted); font-size: 13px; line-height: 1.9; margin-bottom: 4px; }
@media (max-width: 640px) { .inv-stats { grid-template-columns: repeat(2, 1fr); } }

.inv-alias-row { display: flex; gap: 8px; margin-top: 14px; }
.inv-alias-row input { flex: 1; padding: 9px 12px; border-radius: 9px; background: var(--bg); border: 1px solid var(--stroke); color: var(--text); font-size: 12px; font-family: var(--mono); }

.inv-me td { color: var(--text) !important; background: rgba(77,141,255,.06); }

/* 文章页：面包屑与相关文章 */
.nw-crumb { max-width: 720px; margin: 24px auto 0; padding: 0 24px; display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--dim); flex-wrap: wrap; }
.nw-crumb a { color: var(--dim); }
.nw-crumb a:hover { color: var(--accent); }
.nw-crumb .sep { color: rgba(255,255,255,.15); }
.nw-related { max-width: 720px; margin: 34px auto 0; padding: 0 24px; }
.nw-related h2 { font-size: 15px; margin-bottom: 12px; }
.nw-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nw-related li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--stroke); font-size: 12.5px; }
.nw-related li a { color: var(--muted); }
.nw-related li a:hover { color: var(--text); }
.nw-related li span { flex: 0 0 auto; color: var(--dim); font-size: 10.5px; }

/* 术语表 */
.gloss { margin-bottom: 18px; }
.gloss h3 { font-size: 14px; margin: 0 0 4px; }
.gloss-long { color: var(--dim); font-weight: 400; font-size: 12px; margin-left: 6px; }
.gloss p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; }

/* 博客 */
.post-item { padding: 18px 0; border-bottom: 1px solid var(--stroke); }
.post-item h2 { font-size: 18px; margin: 0 0 6px; }
.post-item h2 a { color: var(--text); }
.post-item h2 a:hover { color: var(--accent); }
.post-item p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.85; }
.post-meta { font-size: 11px; color: var(--dim); margin: 0 0 8px; }
.post-more { font-size: 12px; color: var(--accent); }
.post-item .post-more { display: inline-block; margin-top: 2px; }

/* 博客：分享与推广 */
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 30px 0 0; padding-top: 20px; border-top: 1px solid var(--stroke); }
.share-label { font-size: 11px; color: var(--dim); letter-spacing: .06em; margin-right: 4px; }
.share-btn { font-size: 11.5px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--stroke); background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; }
.share-btn:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.share-hint { font-size: 11px; color: var(--long); }
.post-promo { display: block; margin-top: 26px; padding: 18px 20px; border-radius: 14px; text-decoration: none; background: linear-gradient(180deg, rgba(77,141,255,.10), rgba(77,141,255,.03)); border: 1px solid rgba(77,141,255,.26); }
.post-promo:hover { border-color: rgba(77,141,255,.5); }
.post-promo-title { font-size: 14px; font-weight: 600; color: var(--text); }
.post-promo-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.post-promo-cta { font-size: 12.5px; color: var(--accent); margin-top: 10px; }
.post-promo-note { font-size: 9.5px; color: var(--dim); margin-top: 9px; }

.share.compact { margin: 12px 0 0; padding-top: 0; border-top: 0; }
.share.compact .share-btn { padding: 4px 10px; font-size: 11px; }

/* 市场页 SSR 表 */
.mk-ssr { margin: 22px 0 0; padding: 0; }
.mk-ssr h2 { font-size: 17px; margin: 0 0 8px; }
.mk-ssr-table { width: 100%; border-collapse: collapse; margin: 16px 0 10px; font-size: 12.5px; }
.mk-ssr-table th { text-align: left; font-size: 10.5px; color: var(--dim); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--stroke); }
.mk-ssr-table td { padding: 8px 10px 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); color: var(--muted); font-variant-numeric: tabular-nums; }
.mk-ssr-table td:first-child { color: var(--text); }
.mk-ssr-table tbody tr:hover td { background: rgba(255,255,255,.015); }
.mk-ssr-table th:first-child, .mk-ssr-table td:first-child { padding-left: 0; }
.mk-ssr-table td.pos { color: var(--long); }
.mk-ssr-table td.neg { color: var(--short); }
.mk-ssr-ts { font-size: 11px; color: var(--dim); font-weight: 400; margin-left: 10px; letter-spacing: .02em; }

/* 市场页说明文字 */
.mk-note {
  /* 这个 div 的 class 是 "mk-note prose"：
     .prose 本身带 max-width:780px + margin:auto，把右侧空出一大片。
     必须显式覆盖 max-width / margin / padding，否则只改 .mk-note 没用。 */
  max-width: none;
  margin: 8px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--stroke);
}
.mk-note h2 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.mk-note p { font-size: 13.5px; color: var(--muted); line-height: 1.95; margin: 0 0 12px; }
.mk-note h2:first-child { margin-top: 0; }
.mk-note a { color: var(--accent); }
.mk-note > p.muted.small { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--stroke); }

/* 后台流量页 */
.an-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.an-card { padding: 16px 18px; border: 1px solid var(--stroke); border-radius: 12px; background: rgba(255,255,255,.015); }
.an-card b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
.an-card span { font-size: 11px; color: var(--dim); }
.an-bot { font-size: 10.5px; color: var(--warn); }
.prose.wide { max-width: 1100px; }

/* 地区标记 */
.an-reg { display: inline-block; font-size: 9.5px; padding: 1px 5px; border-radius: 4px; margin-left: 5px; vertical-align: middle; letter-spacing: .04em; }
.an-reg-cn { background: rgba(255,107,107,.14); color: #ff8f8f; }
.an-reg-hk { background: rgba(77,141,255,.14); color: #7fa8ff; }
.an-reg-tw { background: rgba(80,200,160,.14); color: #5fd3ab; }
.an-reg-mo { background: rgba(200,160,80,.14); color: #d8b06a; }

/* 流量页扩展 */
.an-bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin: 14px 0 6px; }
.an-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.an-bar > div { background: rgba(77,141,255,.55); border-radius: 3px 3px 0 0; min-height: 2px; }
.an-bar > span { font-size: 8.5px; color: var(--dim); text-align: center; margin-top: 3px; }
.an-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.an-city { font-size: 10px; color: var(--dim); margin-top: 2px; }

/* 后台：地理白名单 */
.geo-form { display: flex; gap: 8px; margin: 16px 0 6px; flex-wrap: wrap; }
.geo-form input { flex: 1 1 220px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--stroke); background: rgba(255,255,255,.03); color: var(--text); font-size: 13px; }
.geo-form input:focus { outline: none; border-color: rgba(77,141,255,.5); }

/* ═══ 管理后台：浅色主题 + 侧边栏 ═══════════════════════ */
body[data-admin] {
  --bg: #f4f6fa; --panel: #ffffff; --stroke: #e3e8f0;
  --text: #16202c; --muted: #5a6b7d; --dim: #8a97a6;
  background: var(--bg); color: var(--text);
}
body[data-admin] .adm { display: flex; min-height: 100vh; }
body[data-admin] .adm-side {
  width: 216px; flex: 0 0 216px; background: #fff; border-right: 1px solid var(--stroke);
  display: flex; flex-direction: column; padding: 22px 14px; position: sticky; top: 0; height: 100vh;
}
body[data-admin] .adm-brand { font-size: 19px; font-weight: 700; letter-spacing: .04em; padding: 0 10px 20px; }
body[data-admin] .adm-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
body[data-admin] .adm-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 12px; border-radius: 8px; color: var(--muted);
  text-decoration: none; font-size: 13.5px; transition: background .15s, color .15s;
}
body[data-admin] .adm-link span { font-size: 10.5px; color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
body[data-admin] .adm-link:hover { background: #eef2f8; color: var(--text); }
body[data-admin] .adm-link.on { background: #e7efff; color: #1f5fd6; font-weight: 600; }
/* 分组标题：比链接更弱，避免和可点项抢注意力；首组（概览前）没有标题 */
body[data-admin] .adm-nav-h {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 100%; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 10.5px; font-weight: 600; color: var(--dim);
  letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 12px 5px; user-select: none; text-align: left;
}
body[data-admin] .adm-nav-h:hover { color: var(--muted); }
body[data-admin] .adm-nav-h:focus-visible { outline: 2px solid #9dc0ff; outline-offset: -2px; border-radius: 6px; }
/* 折叠箭头：CSS 三角，避免引额外图标资源 */
body[data-admin] .adm-chev {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .65; transition: transform .18s; flex: none;
}
body[data-admin] .adm-nav-g.collapsed .adm-chev { transform: rotate(-90deg); }
body[data-admin] .adm-nav-g.collapsed .adm-nav-items { display: none; }
body[data-admin] .adm-nav-items { display: flex; flex-direction: column; gap: 2px; }
body[data-admin] .adm-foot { border-top: 1px solid var(--stroke); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
body[data-admin] .adm-user { font-size: 12px; color: var(--dim); padding: 0 10px; word-break: break-all; }
body[data-admin] .adm-out { color: var(--muted); }
body[data-admin] .adm-main { flex: 1; min-width: 0; padding: 26px 30px 60px; }
body[data-admin] .adm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
body[data-admin] .adm-top h1 { font-size: 21px; margin: 0; font-weight: 650; }
body[data-admin] .adm-actions { display: flex; gap: 10px; }
body[data-admin] .adm-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 24px; }
body[data-admin] .adm-card { background: #fff; border: 1px solid var(--stroke); border-radius: 12px; padding: 16px 18px; }
/* 两套 KPI 类名并存：老页面用 adm-card/adm-k/adm-v，新页面用 adm-kpi*，
   之前只给老的定义了样式，新页面渲染出来是裸的 —— 这里补齐并保持视觉一致 */
body[data-admin] .adm-kpi { background: #fff; border: 1px solid var(--stroke); border-radius: 12px; padding: 16px 18px; }
body[data-admin] .adm-kpi-k { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
body[data-admin] .adm-kpi-v { font-size: 26px; font-weight: 680; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
body[data-admin] .adm-kpi-n { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
body[data-admin] .adm-kpi-v.ok, body[data-admin] .adm-kpi-v.up { color: #0f9d63; }
body[data-admin] .adm-kpi-v.bad, body[data-admin] .adm-kpi-v.down { color: #d93b46; }
body[data-admin] .adm-k { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
body[data-admin] .adm-v { font-size: 26px; font-weight: 680; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
body[data-admin] .adm-v.ok { color: #0f9d63; }
body[data-admin] .adm-v.bad { color: #d93b46; }
body[data-admin] .adm-n { font-size: 11.5px; color: var(--dim); margin-top: 6px; }
body[data-admin] .adm-panel { background: #fff; border: 1px solid var(--stroke); border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
body[data-admin] .adm-panel h2 { font-size: 14px; margin: 0 0 14px; font-weight: 620; color: var(--muted); letter-spacing: .02em; }
body[data-admin] .adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
body[data-admin] .adm-grid > div { display: flex; flex-direction: column; gap: 4px; }
body[data-admin] .adm-grid span { font-size: 11.5px; color: var(--dim); }
body[data-admin] .adm-grid b { font-size: 14px; font-variant-numeric: tabular-nums; }
body[data-admin] .adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
/* 小屏上宽表会撑破布局：让表格自己横向滚动，而不是把整页顶宽 */
  /* 宽表交给 .adm-table-wrap 自己滚，面板不要再套一层 overflow —— 两层容器会让 sticky 表头失效 */
  body[data-admin] .adm-panel { overflow: visible; }
@media (max-width: 760px) {
  body[data-admin] .adm-table { min-width: 640px; }
}
body[data-admin] .adm-table th { text-align: left; font-weight: 600; font-size: 11.5px; color: var(--dim); padding: 8px 10px; border-bottom: 1px solid var(--stroke); }
body[data-admin] .adm-table td { padding: 9px 10px; border-bottom: 1px solid #f0f3f8; }
body[data-admin] .adm-table tr:hover td { background: #f8fafd; }
body[data-admin] .adm-table .r { text-align: right; }
body[data-admin] .adm-table .mono { font-variant-numeric: tabular-nums; color: var(--muted); }
body[data-admin] .adm-table .b { font-weight: 600; }
body[data-admin] .adm-table .ok { color: #0f9d63; }
body[data-admin] .adm-table .bad { color: #d93b46; }
body[data-admin] .adm-tag { font-size: 11px; padding: 2px 7px; border-radius: 5px; background: #eef2f8; color: var(--muted); }
body[data-admin] .adm-empty { color: var(--dim); font-size: 13px; margin: 0; }
body[data-admin] .adm-quick { display: flex; gap: 10px; flex-wrap: wrap; }
body[data-admin] .adm-quick a { font-size: 13px; padding: 8px 14px; border-radius: 8px; background: #eef2f8; color: #1f5fd6; text-decoration: none; }
body[data-admin] .adm-quick a:hover { background: #e2ebfb; }
@media (max-width: 760px) {
  body[data-admin] .adm { flex-direction: column; }
  body[data-admin] .adm-side { width: 100%; flex: none; height: auto; position: static; flex-direction: row; align-items: center; gap: 10px; padding: 12px; }
  body[data-admin] .adm-brand { padding: 0; }
  body[data-admin] .adm-nav { flex-direction: row; flex: 1; overflow-x: auto; }
  body[data-admin] .adm-link span { display: none; }
  /* 手机端导航是横向滚动条，分组标题会把一行切成好几段，直接隐藏 */
  body[data-admin] .adm-nav-h { display: none; }
  /* 标题藏了就没法展开 —— 手机端强制所有分组内容可见，忽略用户的折叠偏好 */
  body[data-admin] .adm-nav-items { flex-direction: row; }
  body[data-admin] .adm-nav-g.collapsed .adm-nav-items { display: flex; }
  body[data-admin] .adm-foot { border: 0; padding: 0; flex-direction: row; }
  body[data-admin] .adm-main { padding: 18px 16px 40px; }
}
/* 后台筛选条：服务端渲染的「药丸」链接，不依赖 JS */
body[data-admin] .adm-filter { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
body[data-admin] .adm-filter-k { font-size: 11px; color: var(--dim); letter-spacing: .04em; min-width: 46px; }
body[data-admin] .adm-chip {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  background: #eef2f8; color: var(--muted); text-decoration: none;
  border: 1px solid transparent; transition: background .15s, color .15s;
}
body[data-admin] .adm-chip:hover { background: #e2ebfb; color: var(--text); }
body[data-admin] .adm-chip.on { background: #1f5fd6; color: #fff; border-color: #1f5fd6; }
body[data-admin] .adm-search { display: flex; gap: 8px; margin-bottom: 14px; }
body[data-admin] .adm-search input { flex: 1 1 240px; max-width: 340px; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--stroke); font-size: 13px; color: var(--text); background: #fff; }
body[data-admin] .adm-search input:focus { outline: none; border-color: #9dc0ff; }
body[data-admin] .adm-btn { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--stroke); background: #1f5fd6; color: #fff; font-size: 13px; cursor: pointer; }
body[data-admin] .adm-btn:hover { background: #1a52bb; }
body[data-admin] .adm-table .adm-mini { font-size: 11.5px; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--stroke); background: #f4f7fc; color: #1f5fd6; cursor: pointer; text-decoration: none; margin-left: 4px; }
body[data-admin] .adm-table .adm-mini:hover { background: #e6eefc; }
body[data-admin] .adm-table .adm-danger { color: #d93b46; background: #fdf2f3; border-color: #f6d5d8; }
body[data-admin] .adm-form { display: flex; flex-direction: column; gap: 12px; }
body[data-admin] .adm-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
body[data-admin] .adm-form input, body[data-admin] .adm-form textarea { padding: 9px 12px; border-radius: 8px; border: 1px solid var(--stroke); font-size: 13px; color: var(--text); background: #fff; font-family: inherit; }
body[data-admin] .adm-form textarea { resize: vertical; line-height: 1.55; }
body[data-admin] .adm-form input:focus, body[data-admin] .adm-form textarea:focus { outline: none; border-color: #9dc0ff; }
body[data-admin] .adm-form-actions { display: flex; align-items: center; gap: 10px; }
body[data-admin] .adm-btn-ghost { background: #f4f7fc; color: var(--muted); border: 1px solid var(--stroke); text-decoration: none; padding: 8px 14px; border-radius: 8px; font-size: 13px; }
body[data-admin] .adm-hint { font-size: 12px; color: #0f9d63; }
body[data-admin] .adm-msg { background: #eefaf3; border: 1px solid #cdeeda; color: #0f9d63; padding: 10px 14px; border-radius: 9px; margin-bottom: 16px; font-size: 13px; }

/* ═══ 首页 v3：单列编辑风（720px 严格同宽）═══════════ */
body[data-page="landing"] main { display: block; }

.ed-hero, .ed-stats, .ed-section, .ed-risk, .ed-rule, .ed-cap {
  width: 100%; max-width: 720px; margin-left: auto; margin-right: auto;
  padding-left: 24px; padding-right: 24px; box-sizing: border-box;
}
.ed-hero { padding-top: 48px; padding-bottom: 34px; }
.ed-rule { height: 1px; background: var(--stroke); padding-left: 24px; padding-right: 24px; }
.ed-section { padding-top: 48px; padding-bottom: 48px; }
.ed-stats { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ed-stats > div { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 1px solid var(--stroke); }
.ed-stats > div:first-child { padding-left: 0; border-left: 0; }
.ed-stats b { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ed-stats span { font-size: 11.5px; color: var(--dim); }

.ed-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.ed-hero h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 20px 0 16px; font-weight: 680; letter-spacing: -.025em; }
.ed-sub { font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.ed-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }

.ed-ratio-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.ed-ratio-track > i { display: block; height: 100%; background: linear-gradient(90deg,#2f7cf6,#3ddc97); border-radius: 3px; }
.ed-ratio-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

.ed-section h2 { font-size: 20px; font-weight: 650; margin: 0 0 6px; letter-spacing: -.01em; }
.ed-note { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0 0 20px; }
.ed-quiet { font-size: 14px; color: var(--dim); line-height: 1.7; margin: 12px 0 0; }

.ed-list { display: flex; flex-direction: column; margin-top: 16px; }
.ed-row { display: grid; grid-template-columns: 1.5fr .9fr .7fr .9fr .8fr; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13.5px; }
.ed-row:last-child { border-bottom: 0; }
.ed-sym { font-weight: 600; }
.ed-side { font-size: 11px; letter-spacing: .04em; }
.ed-num, .ed-status, .ed-res { font-variant-numeric: tabular-nums; color: var(--muted); }
.ed-res { text-align: right; color: var(--text); }
.ed-status { font-size: 12px; color: var(--dim); }
.pos { color: #3ddc97; }
.neg { color: #ff5d6c; }

.ed-gates { list-style: none; counter-reset: g; padding: 0; margin: 0; }
.ed-gates li { counter-increment: g; position: relative; padding: 14px 0 14px 44px; font-size: 14px; line-height: 1.65; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.05); }
.ed-gates li:last-child { border-bottom: 0; }
.ed-gates li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-size: 12px; color: #4d8dff; letter-spacing: .06em; }
.ed-gates b { color: var(--text); font-weight: 600; }

.ed-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 18px; }
.ed-plan { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--stroke); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color .15s; }
.ed-plan:hover { border-color: rgba(77,141,255,.5); }
.ed-plan.hot { border-color: rgba(77,141,255,.45); }
.ed-plan-name { font-size: 12.5px; color: var(--muted); }
.ed-plan-price { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ed-plan-price em { font-style: normal; font-size: 11px; color: var(--dim); margin-left: 5px; font-weight: 400; }
.ed-plan-days { font-size: 12px; color: var(--dim); }

.ed-risk { padding-top: 26px; padding-bottom: 30px; }
.ed-risk p { font-size: 12px; color: var(--dim); line-height: 1.75; margin: 0; }
.ed-risk a { color: var(--muted); }

@media (max-width: 640px) {
  .ed-hero { padding-top: 64px; }
  .ed-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .ed-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ed-row { grid-template-columns: 1.4fr .8fr .9fr; }
  .ed-num, .ed-status { display: none; }
}

/* 首页 v4：故事段落 + 更多链接 */
.ed-story p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 0 0 16px; }
.ed-story p:last-child { margin-bottom: 0; }
.ed-story em { font-style: normal; color: var(--text); }
.ed-story b { color: var(--text); font-weight: 600; }
.ed-more { margin: 18px 0 0; font-size: 13px; }
.ed-more a { color: #4d8dff; text-decoration: none; }
.ed-more a:hover { text-decoration: underline; }

/* 可访问性：跳转到正文（平时隐藏，聚焦时出现） */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; padding: 10px 16px; background: var(--accent); color: #fff; border-radius: 0 0 8px 0; font-size: 13px; text-decoration: none; }
.skip-link:focus { left: 0; }
body[data-admin] .adm-err { background: #fdf2f3; border: 1px solid #f6d5d8; color: #d93b46; padding: 10px 14px; border-radius: 9px; margin-bottom: 16px; font-size: 13px; }
body[data-admin] .adm-note { font-size: 12px; color: var(--dim); margin: 4px 0 0; }
body[data-admin] .adm-btn-danger { background: #fdf2f3; color: #d93b46; border: 1px solid #f6d5d8; }

/* AI 分析页：报告正文按等宽预格式化显示（内容是 markdown 文本，不渲染 HTML 以免注入） */
body[data-admin] .adm-pre {
  background: #fbfbfa; border: 1px solid var(--stroke); border-radius: 10px;
  padding: 14px 16px; margin: 0; overflow-x: auto;
  font-family: var(--mono); font-size: 11.5px; line-height: 1.75;
  white-space: pre-wrap; word-break: break-word; color: var(--ink);
  max-height: 70vh; overflow-y: auto;
}
body[data-admin] .adm-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
body[data-admin] .adm-tab {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--stroke); border-radius: 999px;
  font-size: 12px; color: var(--ink); text-decoration: none; background: #fff;
}
body[data-admin] .adm-tab span { font-size: 10px; color: var(--muted); }
body[data-admin] .adm-tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
body[data-admin] .adm-tab.on span { color: rgba(255,255,255,.7); }


/* 后台图表：整体压小，K 线略高一点 */
.adm-chart { display:block; width:100%; height:auto; max-height:160px; margin:6px 0 4px; }
/* K 线：不设 max-height，避免 viewBox 比容器窄时两侧留白（letterboxing） */
/* K 线：宽度驱动高度（viewBox 1200x360），窄屏用 min-height 兜住不塌 */
.adm-candle { max-height:none; height:auto; min-height:160px; }
@media (max-width: 560px) { .adm-chart { max-height:120px; } .adm-candle { min-height:180px; } }
.adm-chart rect:hover, .adm-candle g.ca:hover rect { opacity:1; }
.adm-kline-pick { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:6px; }
.adm-kline-pick select { padding:4px 8px; border-radius:6px; border:1px solid var(--line); background:var(--bg); color:var(--fg); font-size:12px; }
/* 悬停浮层（由 public.js 定位） */
.adm-tip { position:fixed; z-index:99; pointer-events:none; background:rgba(20,20,24,.94); color:#fff;
  padding:6px 8px; border-radius:6px; font-size:11.5px; line-height:1.5; white-space:pre-line; display:none; max-width:220px; }
/* K 线：可点击 + 成交量区提示 */
.adm-candle g.ca { cursor:pointer; }
.adm-candle g.ca:hover rect { stroke:#1c7ed6; stroke-width:1; }

/* 概览看板：两列网格，宽屏并排、窄屏单列 */
body[data-admin] .adm-dash {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
body[data-admin] .adm-dash > .adm-panel { margin-bottom: 0; }
body[data-admin] .adm-panel.span-2 { grid-column: 1 / -1; }
@media (max-width: 1080px) {
  body[data-admin] .adm-dash { grid-template-columns: 1fr; }
}

/* 面积折线图 */
.adm-area { max-height:190px; }
.adm-area circle[data-tip] { cursor:crosshair; }

/* 解锁压力榜 */
.adm-table-wrap { overflow:auto; max-height:560px; -webkit-overflow-scrolling:touch; border-radius:8px; }
.adm-table-wrap thead th { position:sticky; top:0; background:#fff; z-index:2; box-shadow:inset 0 -1px 0 #e9ecef; }
.adm-table { width:100%; min-width:640px; border-collapse:collapse; font-size:13px; margin:8px 0 4px; }
.adm-table th { text-align:left; font-weight:600; color:var(--muted); padding:7px 10px; border-bottom:1px solid #e9ecef; white-space:nowrap; }
.adm-table td { padding:7px 10px; border-bottom:1px solid #f4f5f7; }
.adm-table tr:last-child td { border-bottom:0; }
.adm-table tbody tr:hover { background:#fafbfc; }
.adm-num { font-variant-numeric:tabular-nums; white-space:nowrap; }
.adm-pill { display:inline-block; padding:1px 8px; border-radius:10px; font-size:12px; font-variant-numeric:tabular-nums; }
.adm-pill.bad { background:#fff0f0; color:#c92a2a; }
.adm-pill.warn { background:#fff8e6; color:#b8860b; }
.adm-pill.ok { background:#eefaf1; color:#2b8a3e; }
.adm-h3 { font-size:14px; margin:18px 0 10px; }
.adm-bands { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
@media (max-width:1080px) { .adm-bands { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.adm-band { background:#f8f9fb; border:1px solid #eef0f3; border-radius:10px; padding:12px 14px; }
.adm-band-k { font-size:12px; color:var(--muted); margin-bottom:6px; }
.adm-band-v { font-size:20px; font-weight:700; font-variant-numeric:tabular-nums; }
.adm-band-n { font-size:11.5px; color:var(--muted); margin-top:4px; }
.adm-band-v.up { color:#2b8a3e; }
.adm-band-v.down { color:#c92a2a; }
.adm-table td.up { color:#2b8a3e; }
.adm-table td.down { color:#c92a2a; }

.adm-sub { display:block; font-size:11px; color:var(--muted); margin-top:1px; }

/* 解锁 AI 判断 */
.adm-ai-stat { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:10px 0 16px; }
@media (max-width:1080px) { .adm-ai-stat { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.adm-ai-reason { font-size:12px; color:#6b7280; max-width:340px; line-height:1.5; }
.adm-table td.up { color:#2b8a3e; font-weight:600; }
.adm-table td.down { color:#c92a2a; font-weight:600; }

/* 解锁页排版 v2 */
.adm-table-scroll { max-height:520px; overflow:auto; -webkit-overflow-scrolling:touch; }
.adm-table-scroll thead th { position:sticky; top:0; background:#fff; z-index:2; box-shadow:inset 0 -1px 0 #e9ecef; }
.adm-table-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:10px; }
.adm-near { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
@media (max-width:1080px) { .adm-near { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.adm-near-card { display:block; background:#f8f9fb; border:1px solid #eef0f3; border-radius:10px; padding:10px 12px; text-decoration:none; color:inherit; transition:border-color .15s, background .15s; }
.adm-near-card:hover { border-color:#1c7ed6; background:#fff; }
.adm-near-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.adm-near-sym { font-weight:700; font-size:14px; }
.adm-near-nm { font-size:11px; color:var(--muted); margin:2px 0 6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.adm-near-row { display:flex; justify-content:space-between; font-size:11.5px; color:var(--muted); line-height:1.7; }
.adm-near-row b { color:#111; font-variant-numeric:tabular-nums; }
.adm-ai-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
@media (max-width:1080px) { .adm-ai-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .adm-ai-grid { grid-template-columns:1fr; } }
.adm-ai-card { background:#f8f9fb; border:1px solid #eef0f3; border-radius:10px; padding:12px 14px; display:flex; flex-direction:column; gap:6px; }
.adm-ai-head { display:flex; align-items:center; gap:8px; }
.adm-ai-head a { font-weight:700; font-size:14px; }
.adm-ai-dir { font-size:12px; font-weight:600; }
.adm-ai-dir.up { color:#2b8a3e; }
.adm-ai-dir.down { color:#c92a2a; }
.adm-ai-dir.flat, .adm-ai-dir { color:#6b7280; }
.adm-ai-conf { margin-left:auto; font-size:11px; color:var(--muted); }
.adm-ai-when { font-size:11px; color:var(--muted); }
.adm-ai-reason { font-size:12px; color:#495057; line-height:1.6; min-height:38px; }
.adm-ai-foot { display:flex; align-items:center; gap:8px; font-size:12px; margin-top:auto; }
.adm-ai-foot .up { color:#2b8a3e; font-weight:600; }
.adm-ai-foot .down { color:#c92a2a; font-weight:600; }
.adm-bands.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media (max-width:640px) { .adm-bands.two { grid-template-columns:1fr; } }

/* ── 后台：解锁相关新闻 ── */
.unl-news { display: flex; flex-direction: column; gap: 2px; }
.unl-news-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); align-items: start; }
.unl-news-row:last-child { border-bottom: 0; }
.unl-news-tok { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--accent); padding-top: 1px; }
.unl-news-items { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.unl-news-items a { display: grid; grid-template-columns: 88px 1fr auto; gap: 10px; align-items: baseline; padding: 5px 8px; margin: 0 -8px; border-radius: 7px; }
.unl-news-items a:hover { background: rgba(255,255,255,.035); }
.unl-news-src { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.unl-news-title { font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; }
.unl-news-when { font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.adm-foot-note { margin: 12px 0 0; font-size: 11px; color: var(--dim); line-height: 1.7; }
@media (max-width: 720px) { .unl-news-row { grid-template-columns: 1fr; gap: 6px; } .unl-news-items a { grid-template-columns: 1fr auto; } .unl-news-src { display: none; } }

/* 解锁页顶部小节导航：六个纯链接，不用 JS（CSP 只允许 self 脚本） */
body[data-admin] .adm-anchors { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
body[data-admin] .adm-anchor {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--stroke); background: #fff; color: var(--muted);
  font-size: 12px; text-decoration: none; white-space: nowrap;
}
body[data-admin] .adm-anchor:hover { border-color: rgba(128,140,160,.45); color: var(--text); }

/* ── 公开解锁页（/unlocks）─────────────────────────────
 * 公开页是深色主题：只能用 --panel / --stroke / --text / --muted / --dim。
 * 写死 #fff 会变成「白卡 + 浅灰字」（已犯过一次，能力条同样的错）。
 */
.lp-lead { max-width: 760px; color: var(--muted); font-size: 15px; line-height: 1.85; margin: 10px 0 0; }
.unl-wrap { max-width: 1080px; margin: 0 auto; padding: 8px 24px 80px; }
.unl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 26px 0 8px; }
.unl-kpi { background: var(--panel); border: 1px solid var(--stroke); border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px; }
.unl-kpi b { font-size: 24px; font-weight: 660; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--text); }
.unl-kpi span { font-size: 11.5px; color: var(--muted); }
.unl-h2 { font-size: 17px; margin: 34px 0 12px; color: var(--accent); }
.unl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.unl-card { display: block; background: var(--panel); border: 1px solid var(--stroke); border-radius: 12px;
  padding: 13px 15px; text-decoration: none; color: var(--text); }
.unl-card:hover { border-color: rgba(255,255,255,.22); }
.unl-card-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.unl-card-top b { font-size: 15px; color: var(--text); }
.unl-card-top span { font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
.unl-card-row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 2px 0; }
.unl-card-row i { color: var(--muted); font-style: normal; }
.unl-card-row em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--text); }
.unl-table-wrap { overflow: auto; border: 1px solid var(--stroke); border-radius: 12px; background: var(--panel); }
.unl-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.unl-table th { text-align: left; padding: 9px 12px; color: var(--dim); font-weight: 500;
  border-bottom: 1px solid var(--stroke); white-space: nowrap; }
.unl-table td { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.06); color: var(--text); }
.unl-table tr:last-child td { border-bottom: none; }
.unl-table .r { text-align: right; }
.unl-table a { color: var(--text); }
.unl-table a:hover { color: var(--accent); }
.unl-note { max-width: 1080px; margin: 10px auto 0; padding: 0 24px 40px; }
.unl-note p { color: var(--muted); font-size: 13.5px; line-height: 1.9; margin: 0 0 10px; }
@media (max-width: 640px) {
  .unl-wrap { padding: 8px 16px 60px; }
  .unl-note { padding: 0 16px 32px; }
}

/* ── 首页能力条（六个入口）─────────────────────────────
 * 注意：公开页是深色主题（--bg #05070b），后台才是浅色。
 * 这里必须用深色 token；之前写死 #fff 会变成「白卡 + 浅灰字」看不清。
 * 宽度对齐 .ed-hero 的 720px，否则会出现「比上面窄/宽」的错位。
 */
.ed-cap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.ed-cap-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 15px;
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 12px;
  text-decoration: none; color: var(--text);
  transition: border-color .15s ease, transform .15s ease; }
.ed-cap-card:hover { border-color: rgba(255,255,255,.22); transform: translateY(-1px); }
.ed-cap-name { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.ed-cap-meta { font-size: 19px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.02em; color: var(--text); }
.ed-cap-note { font-size: 11.5px; color: var(--dim); line-height: 1.55; }
.ed-cap-go { position: absolute; top: 13px; right: 14px; font-size: 13px; color: var(--dim); }
.ed-cap-card:hover .ed-cap-go { color: var(--accent); }
@media (max-width: 640px) {
  .ed-cap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ed-cap-meta { font-size: 16px; }
}

/* ── 首页：市场带 / 新闻 / 解锁（公开页深色主题）────────── */
.ed-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ed-band-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 13px;
  background: var(--panel); border: 1px solid var(--stroke); border-radius: 10px;
  text-decoration: none; color: var(--text); transition: border-color .15s ease; }
.ed-band-item:hover { border-color: rgba(255,255,255,.22); }
.ed-band-name { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-band-px { font-size: 16px; font-weight: 620; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ed-band-chg { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ed-band-chg.pos { color: var(--long); }
.ed-band-chg.neg { color: var(--short); }

.ed-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.ed-duo > div { display: flex; flex-direction: column; }
.ed-duo h2 { margin-top: 0; }
/* 两栏条目数不同（新闻 4 条、解锁 6 条），让解锁列表在剩余高度里均分，
   最后一行就与左栏最后一行对齐，而不是下面空一大块 */
.ed-unl { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ed-news, .ed-unl { list-style: none; margin: 0 0 4px; padding: 0; }
.ed-news li, .ed-unl li { border-bottom: 1px solid var(--stroke); }
.ed-news li:last-child, .ed-unl li:last-child { border-bottom: none; }
.ed-news a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; text-decoration: none; color: var(--text); }
.ed-news-src { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.ed-news-title { font-size: 13px; line-height: 1.5; color: var(--text); }
.ed-news a:hover .ed-news-title { color: var(--accent); }
.ed-unl a { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 10px 0; text-decoration: none; color: var(--text); }
.ed-unl-base { font-size: 13px; font-weight: 600; }
.ed-unl-when { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ed-unl-pct { font-size: 11.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.ed-unl a:hover .ed-unl-base { color: var(--accent); }

@media (max-width: 720px) {
  .ed-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-duo { grid-template-columns: 1fr; gap: 8px; }
}

/* ── 首页 live board：信号列表 + 账本统计并排（公开页深色主题）── */
.ed-board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.ed-board-main h2, .ed-board-side h2 { margin-top: 0; }
.ed-board-side { background: var(--panel); border: 1px solid var(--stroke); border-radius: 12px; padding: 16px 18px;
  display: flex; flex-direction: column; }
/* 右栏内容在纵向上铺开，底部与左栏最后一行对齐 */
.ed-board-side .ed-stats-vert { flex: 1; align-content: space-between; }
.ed-stats-vert { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.ed-stats-vert > div { display: flex; flex-direction: column; gap: 2px; }
.ed-stats-vert b { font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--text); }
.ed-stats-vert span { font-size: 11px; color: var(--muted); }
@media (max-width: 720px) {
  .ed-board { grid-template-columns: 1fr; gap: 14px; }
}


/* ── 移动端适配：导航与页脚（11 个导航项 / 9 个页脚项，窄屏必须换行）── */
@media (max-width: 760px) {
  .nav { padding: 12px 16px; flex-wrap: wrap; gap: 8px 12px; }
  .brand { font-size: 14px; }
  .nav-links { gap: 6px 14px; font-size: 12.5px; width: 100%; }
  .nav-links a, .nav-links .btn { white-space: nowrap; }
  .nav .btn { padding: 6px 12px; font-size: 12.5px; }

  .foot { padding: 24px 16px 18px; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-links { gap: 8px 16px; font-size: 12px; }
  .foot-note { max-width: 100%; }
  .foot-bottom { margin-top: 18px; padding-top: 14px; font-size: 10.5px; }
  .foot-bottom > div { flex-wrap: wrap; gap: 4px 12px; }
}

@media (max-width: 420px) {
  .nav-links { gap: 6px 10px; font-size: 12px; }
  .foot-links { gap: 7px 12px; font-size: 11.5px; }
}


/* ── 信号行在窄屏重排：LONG/SHORT 与 loss/win 必须落在同一右列 ──
 * 桌面 5 列（标的/方向/分数/状态/结果）在手机上挤成两行且错位，
 * 这里改成 3 列 2 行，方向与结果共用最右列，视觉上一条竖线。
 */
@media (max-width: 640px) {
  .ed-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 11px 0;
  }
  .ed-sym    { grid-area: 1 / 1 / 2 / 3; font-size: 14px; }
  .ed-side   { grid-area: 1 / 3 / 2 / 4; text-align: right; }
  .ed-num    { grid-area: 2 / 1 / 3 / 2; font-size: 11.5px; }
  .ed-status { grid-area: 2 / 2 / 3 / 3; font-size: 11.5px; text-align: left; }
  .ed-res    { grid-area: 2 / 3 / 3 / 4; text-align: right; font-size: 12px; }
}

/* ── 后台：重置密码结果面板（浅色主题，跟随 [data-admin]）── */
/* 注意：不能在这条规则里写 display:flex —— 作者样式的 display 会覆盖 HTML 的 hidden 属性，
 * 结果面板一进页面就摊开（踩过一次）。用 :not([hidden]) 才受 hidden 控制。 */
body[data-admin] .adm-pw-out { position: fixed; inset: 0; z-index: 60; align-items: center; justify-content: center;
  background: rgba(12,18,28,.55); padding: 20px; }
body[data-admin] .adm-pw-out:not([hidden]) { display: flex; }
body[data-admin] .adm-pw-out[hidden] { display: none; }
body[data-admin] .adm-pw-card { width: min(560px, 100%); background: #fff; border-radius: 14px; padding: 22px 22px 18px;
  box-shadow: 0 24px 60px rgba(10,20,40,.28); }
body[data-admin] .adm-pw-card h3 { margin: 0 0 6px; font-size: 17px; }
body[data-admin] .adm-pw-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; flex-wrap: wrap; }
body[data-admin] .adm-pw-row code { flex: 1 1 220px; min-width: 0; padding: 10px 12px; border-radius: 9px;
  background: #f4f6fa; border: 1px solid #e3e8f0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; letter-spacing: .06em; word-break: break-all; }

/* ── 会员仪表台（公开页深色主题，2026-12-03 重做）────────── */
.dash-hero { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 46px 24px 6px; }
.dash-hero-main { flex: 1 1 420px; min-width: 0; position: relative; }
.dash-avatar { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 680; color: #06121f; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.dash-hero-main h1 { font-size: clamp(24px, 3.6vw, 33px); margin: 8px 0 10px; letter-spacing: -.025em; }
.dash-hero-main .lp-lead { margin-top: 0; }

.dash-status { flex: 0 0 290px; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--stroke); border-radius: 16px; padding: 18px 20px 16px; }
.dash-status.ok { border-color: rgba(24,214,160,.32); box-shadow: 0 0 0 1px rgba(24,214,160,.06) inset; }
.dash-status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-status-k { font-size: 10.5px; letter-spacing: .09em; color: var(--dim); }
.dash-badge { font-size: 11px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--muted); }
.dash-badge.ok { color: var(--accent-2); border-color: rgba(24,214,160,.4); background: rgba(24,214,160,.08); }
.dash-status-v { font-size: 38px; font-weight: 680; line-height: 1.1; margin-top: 12px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.dash-status-v em { font-size: 14px; font-style: normal; font-weight: 500; color: var(--muted); margin-left: 6px; }
.dash-status-n { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dash-status-cta { margin-top: 14px; align-self: flex-start; }
.dash-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); margin-top: 16px; overflow: hidden; }
.dash-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.dash-bar-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 7px; }
.dash-bar-foot a { color: var(--accent); }

.dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  max-width: 1080px; margin: 24px auto 0; padding: 0 24px; }
.dash-entry { display: flex; gap: 14px; align-items: flex-start; background: var(--panel);
  border: 1px solid var(--stroke); border-radius: 16px; padding: 17px 18px 18px; text-decoration: none; color: var(--text);
  transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.dash-entry:hover { border-color: rgba(77,141,255,.45); transform: translateY(-2px); background: rgba(77,141,255,.05); }
.dash-entry-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  color: var(--accent); background: rgba(77,141,255,.12); border: 1px solid rgba(77,141,255,.2); }
.dash-entry-body { min-width: 0; flex: 1; }
.dash-entry-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dash-entry-title { font-size: 14.5px; font-weight: 640; }
.dash-entry-go { color: var(--dim); font-size: 13px; transition: transform .18s ease, color .18s ease; }
.dash-entry:hover .dash-entry-go { color: var(--accent); transform: translateX(3px); }
.dash-entry-meta { font-size: 21px; font-weight: 680; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.dash-entry-desc { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.55; }

.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1080px; margin: 24px auto 0; padding: 0 24px; }
.dash-card { background: var(--panel); border: 1px solid var(--stroke); border-radius: 16px; padding: 17px 18px 14px; }
.dash-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.dash-card-head h2 { font-size: 14.5px; margin: 0; font-weight: 640; }
.dash-card-meta { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dash-rows { display: flex; flex-direction: column; }
.dash-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12.5px; }
.dash-row:last-child { border-bottom: none; }
.dash-row-sym { color: var(--text); font-weight: 620; text-decoration: none; }
.dash-row-sym:hover { color: var(--accent); }
.dash-row-side { font-size: 10.5px; letter-spacing: .05em; }
.dash-row-val { font-variant-numeric: tabular-nums; }
.dash-empty { padding: 14px 0 6px; font-size: 12.5px; }
.dash-empty p { margin: 0 0 8px; }
.dash-empty .btn { margin-top: 4px; }

.dash-invite { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
  max-width: 1080px; margin: 24px auto 0; padding: 20px 22px; box-sizing: border-box;
  border: 1px solid rgba(77,141,255,.24); border-radius: 16px;
  background: linear-gradient(120deg, rgba(77,141,255,.10), rgba(24,214,160,.06)); }
.dash-invite h2 { margin: 0 0 4px; font-size: 15px; }
.dash-invite .muted { margin: 0; font-size: 12.5px; max-width: 460px; }
.dash-invite-stat { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.dash-invite-stat > div { display: flex; flex-direction: column; }
.dash-invite-stat b { font-size: 21px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dash-invite-stat span { font-size: 11px; color: var(--muted); }

.dash-wrap { max-width: 1080px; margin: 24px auto 0; padding: 0 24px; }
.dash-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 1080px; margin: 26px auto 64px; padding: 0 24px; }
.dash-actions .muted { font-size: 12px; }

@media (max-width: 900px) {
  .dash-cols { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-status { flex: 1 1 100%; }
  .dash-hero { padding-top: 34px; }
}

/* 仪表台语言切换：英文优先，中文可选 */
.dash-lang { display: inline-flex; gap: 4px; margin-top: 18px; padding: 3px; border-radius: 999px;
  border: 1px solid var(--stroke); background: rgba(255,255,255,.03); }
.dash-lang a { font-size: 11.5px; padding: 4px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.dash-lang a.on { background: rgba(77,141,255,.16); color: var(--text); }

/* 后台：更换 API Key 折叠区 */
body[data-admin] .adm-key-swap { margin-top: 16px; border-top: 1px solid #eef0f3; padding-top: 12px; }
body[data-admin] .adm-key-swap summary { cursor: pointer; font-size: 13px; color: #1f5fd6; }
body[data-admin] .adm-key-swap[open] summary { margin-bottom: 12px; }

/* 后台：切主网的密码确认框 */
body[data-admin] .adm-live-box { margin-top: 14px; padding: 14px 16px; border-radius: 10px;
  background: #fff5f5; border: 1px solid #f3c2c2; }
body[data-admin] .adm-live-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
body[data-admin] .adm-live-row input { flex: 1 1 220px; min-width: 0; padding: 9px 12px; border-radius: 8px;
  border: 1px solid #e3c4c4; font-size: 13px; }

/* 台账：成交标记 */
.exec-yes { color: var(--accent-2); font-size: 11.5px; }
.exec-no { color: var(--warn); font-size: 11.5px; }

/* 后台：现货页签（加密 / 美股） */
body[data-admin] .adm-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
body[data-admin] .adm-tab { padding: 7px 14px; border-radius: 8px; font-size: 13px; text-decoration: none;
  color: #5a6472; background: #f2f4f7; border: 1px solid #e6e9ee; }
body[data-admin] .adm-tab.on { background: #1f5fd6; color: #fff; border-color: #1f5fd6; }
