/* 英雄图鉴 · 契合度测评 — 样式 */

:root {
  --bg: #0b0c0f;
  --panel: #14161b;
  --panel-2: #111318;
  --line: #262931;
  --line-soft: #1d2027;
  --gold: #c8a15a;
  --gold-dim: #8d7238;
  --text: #e9e7e2;
  --muted: #8b919c;
  --faint: #5a6270;
  --danger: #c8553d;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; overflow-x: hidden; }

body {
  background:
    radial-gradient(900px 480px at 50% -140px, rgba(200, 161, 90, 0.10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }

.shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 20px 56px;
}

.screen.is-hidden { display: none; }

/* ---------- 通用文字 ---------- */
.brand-line {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.brand-line .slash { color: var(--faint); margin: 0 8px; letter-spacing: 0; }

.h1 {
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f4f1e9;
}

.h2 {
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.3;
  margin: 0 0 12px;
  font-weight: 700;
  color: #f4f1e9;
}

.lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 34em;
}
.lead.small { font-size: 14px; margin-bottom: 22px; }

.muted { color: var(--muted); font-size: 13px; }

.disclaimer {
  margin-top: 34px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---------- 按钮 ---------- */
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s, background .18s, color .18s, transform .12s;
  min-height: 46px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, #d0a961 0%, #b98d45 100%);
  border-color: #d8b46f;
  color: #191307;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 26px rgba(200, 161, 90, 0.18);
}
.btn-primary:hover { background: linear-gradient(180deg, #dcb672 0%, #c49851 100%); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold); }
.btn-ghost:disabled { opacity: 0.35; cursor: default; }
.btn-primary:disabled { opacity: 0.4; cursor: default; box-shadow: none; }

#btn-start { width: 100%; max-width: 320px; font-size: 16px; padding: 15px 22px; }

/* ---------- 首屏 ---------- */
.intro-emblem {
  margin: 8px 0 6px;
  display: flex;
  justify-content: center;
}
.emblem-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(200, 161, 90, 0.08));
}

.lane-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
}
.lane-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent);
}
.lane-dots-label {
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 30px;
  font-size: 13px;
  color: var(--muted);
}
.meta-row b { color: var(--gold); font-weight: 700; font-size: 15px; margin-right: 2px; }

/* ---------- 分路 ---------- */
.lane-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) {
  .lane-grid { grid-template-columns: 1fr 1fr; }
}

.lane-btn {
  --lane: #c8a15a;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 15px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lane);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s;
  min-height: 64px;
}
.lane-btn:hover { background: #191c22; transform: translateY(-1px); }
.lane-btn:active { transform: translateY(0); }
.lane-btn.is-picked { background: #1a1d24; border-color: var(--gold); }
.lane-btn-name { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }
.lane-btn-hint { font-size: 12px; color: var(--muted); }
.lane-btn-status { margin-top: 5px; font-size: 11px; color: var(--gold); }
.lane-switch-hint { color: var(--gold); font-size: 13px; margin: 0 0 4px; padding: 8px 12px; background: rgba(229,187,115,0.1); border-radius: 8px; }
.lane-new-test { display: block; margin: 18px auto 0; padding: 8px 12px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lane-new-test:hover { color: var(--gold); }
.lane-new-test[hidden] { display: none; }

/* ---------- 清空测试确认 ---------- */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(4, 5, 7, 0.78);
  backdrop-filter: blur(5px);
}
.confirm-modal[hidden] { display: none; }
.confirm-modal-card {
  width: min(100%, 410px);
  padding: 24px 22px 20px;
  border: 1px solid #373128;
  border-radius: 14px;
  background: linear-gradient(180deg, #181a20, #111318);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  text-align: center;
}
.confirm-modal-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 13px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
}
.confirm-modal h3 { margin: 0 0 8px; font-size: 20px; color: #f1eee7; }
.confirm-modal p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.confirm-modal-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 9px; margin-top: 20px; }
.confirm-modal-actions .btn { min-width: 0; padding-inline: 12px; }
@media (max-width: 390px) {
  .confirm-modal-actions { grid-template-columns: 1fr; }
  .confirm-modal-actions #btn-new-test-confirm { grid-row: 1; }
}

/* ---------- 答题 ---------- */
.quiz-top { margin-bottom: 26px; }

.q-index {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

.progress {
  height: 2px;
  background: var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width .3s ease;
}

.q-text {
  font-size: clamp(20px, 5.4vw, 26px);
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 22px;
  color: #f4f1e9;
}

.opt-list { display: flex; flex-direction: column; gap: 10px; }

.opt-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
  transition: background .16s, border-color .16s;
  min-height: 52px;
}
.opt-btn:hover { background: #191c22; border-color: #333844; }
.opt-btn.is-picked {
  background: rgba(200, 161, 90, 0.10);
  border-color: var(--gold);
}
.opt-key {
  flex: 0 0 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.opt-btn.is-picked .opt-key { border-color: var(--gold); background: rgba(200, 161, 90, 0.14); }
.opt-text { flex: 1; }

.quiz-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}
.quiz-bottom .btn { flex: 0 0 auto; min-width: 110px; }
.quiz-bottom .btn-primary { flex: 0 0 auto; min-width: 130px; }

/* ---------- 结果 —— 主卡 ---------- */
.result-h1 { font-size: clamp(24px, 6vw, 32px); margin-bottom: 22px; }

.hero-card {
  position: relative;
  padding: 22px 20px 24px;
  background: linear-gradient(180deg, #15181e 0%, #111318 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.lane-chip {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 4px;
  padding: 4px 9px;
  background: rgba(200, 161, 90, 0.06);
}

.score-box {
  text-align: right;
  line-height: 1.1;
}
.score-box b {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.score-box span { font-size: 10px; letter-spacing: 0.16em; color: var(--faint); }

.hero-name {
  font-size: clamp(40px, 12vw, 60px);
  line-height: 1.05;
  margin: 6px 0 6px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f7f3ea;
  transition: color .3s;
}
.hero-name.is-alt { color: var(--gold); }

.hero-sub { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

.hero-title {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 0 0 4px;
  font-weight: 600;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 8px; }
.tag {
  font-size: 12px;
  color: #cfc7b4;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 9px;
  letter-spacing: 0.04em;
}

.radar-wrap { margin: 10px -6px 2px; }
.radar { display: block; width: 100%; height: auto; max-width: 190px; margin: 0 auto; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: -2px;
}
.legend i { display: inline-block; width: 16px; height: 0; margin-right: 6px; vertical-align: middle; }
.lg-you { border-top: 2px solid var(--gold); }
.lg-hero { border-top: 2px dashed #5b8fb9; }

.radar-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.comment {
  margin: 16px 0 0;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.75;
  color: #c3c7cf;
}

/* 首屏短评：说中玩家的一句话 */
.shortline {
  margin: 18px 0 10px;
  font-size: clamp(17px, 4.5vw, 21px);
  line-height: 1.55;
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  max-width: 30em;
}

/* 匹配理由 */
.reason-list { display: flex; flex-direction: column; gap: 10px; }
.reason-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 13px 15px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #c3c7cf;
  align-items: start;
}
.reason-num { color: var(--gold); font-family: Georgia, serif; font-size: 16px; line-height: 1.4; }
.reason-body { min-width: 0; }
.reason-item b { color: var(--text); font-weight: 600; }

/* 适合与取舍 */
.fit-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.fit-block { padding: 10px 0; }
.fit-block + .fit-block { border-top: 1px dashed var(--line-soft); }
@media (min-width: 560px) {
  .fit-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .fit-block { padding: 2px 0; }
  .fit-block + .fit-block { border-top: 0; border-left: 1px solid var(--line-soft); padding-left: 16px; }
}
.fit-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.fit-block p { margin: 0; font-size: 13.5px; line-height: 1.75; color: #c3c7cf; }

/* ---------- 备选 ---------- */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 12px;
}
.sec-head span {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 600;
}
.sec-head em { font-style: normal; font-size: 11px; color: var(--faint); }

.alt-list { display: flex; flex-direction: column; gap: 8px; }
.back-main {
  margin-top: 10px;
  padding: 8px 12px;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  cursor: pointer;
}
.back-main[hidden] { display: none; }
.back-main:hover { background: rgba(200, 161, 90, 0.08); }

.alt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .16s, background .16s;
}
.alt-item:hover { border-color: var(--gold-dim); background: #16191f; }
.alt-name { font-size: 16px; font-weight: 700; flex: 0 0 auto; }
.alt-sub { font-size: 12px; color: var(--muted); flex: 1; min-width: 0; }
.alt-sub em { font-style: normal; color: var(--faint); font-size: 11.5px; }
.alt-score {
  font-size: 14px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

/* ---------- 六卡手风琴 ---------- */
.nav-grid { display: flex; flex-direction: column; gap: 8px; }

.nav-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s;
}
.nav-card:hover { border-color: #333844; }
.nav-card.is-open { border-color: var(--gold-dim); }

.nav-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  min-height: 52px;
}
.nav-ico {
  display: flex;
  color: var(--gold);
  flex: 0 0 auto;
}
.nav-title { flex: 1; font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; }
.nav-arrow {
  color: var(--faint);
  font-size: 16px;
  line-height: 1;
  transition: transform .2s, color .2s;
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
}
.nav-card.is-open .nav-arrow { transform: rotate(45deg); color: var(--gold); }

.nav-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.nav-card.is-open .nav-body { max-height: 720px; }
.nav-inner {
  padding: 2px 15px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.8;
  color: #c3c7cf;
}
.nav-inner p { margin: 10px 0; }

.kv { display: flex; gap: 10px; align-items: flex-start; }
.kv span {
  flex: 0 0 34px;
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  text-align: center;
  padding: 1px 0;
  margin-top: 2px;
  line-height: 1.5;
}

.sub-h {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 14px 0 6px !important;
}

.plain { list-style: none; margin: 0; padding: 0; }
.plain li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.plain li b { flex: 0 0 4.6em; font-weight: 600; color: #e4e0d6; }
.plain li span { flex: 1; color: var(--muted); font-size: 12.5px; }
.plain.warn li b { color: #d99a8b; }

/* 六维条形 */
.dim-list { margin: 12px 0 4px; }
.dim-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.dim-name { flex: 0 0 4.2em; font-size: 12px; color: #cfccc3; }
.dim-bar {
  position: relative;
  flex: 1;
  height: 9px;
  background: #1a1d23;
  border-radius: 2px;
  overflow: hidden;
}
.dim-bar i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: rgba(91, 143, 185, 0.55);
  border-radius: 2px;
}
.dim-bar b {
  position: absolute;
  left: 0; top: 3px; bottom: 3px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.92;
}
.dim-val {
  flex: 0 0 auto;
  font-size: 11px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  min-width: 52px;
  text-align: right;
}
.dim-row em { font-style: normal; font-size: 10px; letter-spacing: 0.04em; flex: 0 0 2.4em; text-align: right; }
.dim-row em.up { color: var(--gold); }
.dim-row em.down { color: #7fa6c9; }
.dim-row em.same { color: var(--faint); }

/* 羁绊 */
.bond-list { list-style: none; margin: 10px 0 0; padding: 0; }
.bond-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.bond-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(200, 161, 90, 0.12);
}
.bond-list b { font-weight: 600; color: #e4e0d6; flex: 0 0 auto; }
.bond-rel { font-size: 12px; color: var(--muted); }

/* ---------- 底部 CTA ---------- */
.cta-footer {
  margin-top: 30px;
  padding: 20px 18px 16px;
  background: linear-gradient(180deg, #14161b, #0f1116);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.cta-text { margin-bottom: 14px; }
.cta-text b { display: block; font-size: 15px; color: #f0ece2; margin-bottom: 3px; }
.cta-text span { font-size: 12.5px; color: var(--muted); }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 560px) {
  .cta-actions { flex-direction: row; }
  .cta-actions .btn { flex: 1; }
}
.save-status { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.save-status[hidden] { display: none; }
.save-status a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 分享卡（离屏渲染） ---------- */
.share-card {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 640px;
  padding: 40px 40px 30px;
  background: #0b0c0f;
  color: var(--text);
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.sc-brand { font-size: 12px; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 20px; }
.sc-title { font-size: 14px; color: var(--faint); letter-spacing: 0.16em; }
.sc-head { display: flex; align-items: center; gap: 10px; }
.sc-lane {
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 1px 7px;
  letter-spacing: 0.08em;
}
.sc-hero-wrap { position: relative; overflow: hidden; margin: 2px 0 2px; }
.sc-ghost {
  position: absolute;
  right: -18px;
  top: -46px;
  font-size: 168px;
  font-weight: 700;
  line-height: 1;
  color: rgba(200, 161, 90, 0.07);
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}
.sc-hero {
  position: relative;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.14;
  color: #f7f3ea;
  letter-spacing: 0.04em;
}
.sc-sub { font-size: 15px; color: var(--muted); margin-top: 4px; }
.sc-title-line {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-top: 6px;
  font-weight: 600;
}
.sc-score {
  margin: 18px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sc-score b { font-size: 46px; color: var(--gold); font-variant-numeric: tabular-nums; }
.sc-score span { font-size: 11px; letter-spacing: 0.16em; color: var(--faint); }
.sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.sc-tags span {
  font-size: 12px;
  color: #cfc7b4;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 10px;
}
.sc-radar { width: 420px; margin: 6px auto 0; }
.sc-radar .radar { width: 420px; }
.sc-foot {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: 0.06em;
}

.sc-note {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--gold-dim);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--gold);
}

.sc-reasons { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sc-reason {
  font-size: 12.5px;
  line-height: 1.7;
  color: #aab0ba;
  padding-left: 10px;
  border-left: 1px solid var(--line-soft);
}
.sc-fit {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}
.sc-fit-label { font-size: 11px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 4px; }
.sc-fit-text { font-size: 12.5px; line-height: 1.7; color: #aab0ba; }

/* 本地预览用：把离屏分享卡摆回页面流里 */
.share-card.is-preview {
  position: static;
  left: auto;
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* ---------- 窄屏 ---------- */
@media (max-width: 380px) {
  .shell { padding: 26px 15px 46px; }
  .alt-sub { display: none; }
  .dim-row em { display: none; }
}
