/*
 * 页面专用样式。
 * 通用组件的样式在 core/components.css；只有某个页面自己用的样式写在这里，
 * 并且用页面名开头，避免互相影响。
 */

/* ---------- 视觉规范页 ---------- */

.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.swatches--3 { grid-template-columns: repeat(3, 1fr); }
.swatch { display: flex; flex-direction: column; gap: 2px; }
.swatch__chip { height: 52px; margin-bottom: 6px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px rgba(21, 48, 90, .06); }
.swatch__name { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.swatch__hex { font: 12px/16px var(--font-num); color: var(--ink-400); }
.swatch__use { font-size: 11px; line-height: 15px; color: var(--ink-500); }

.type-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; }
.type-row + .type-row { border-top: 1px solid var(--line); }
.type-row__spec { flex: none; font-size: 11px; color: var(--ink-400); }

.radius-demo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.radius-demo i { display: block; height: 48px; margin-bottom: 6px; background: var(--navy-50); box-shadow: inset 0 0 0 1.5px var(--navy-100); }
.radius-demo span { font-size: 11px; color: var(--ink-500); }

/* ---------- 弹窗示例：分享 ---------- */

.share-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 4px 0 8px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-700); }
.share-opt__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy-800); }
.app .share-opt__icon .ic { width: 24px; height: 24px; }
.share-opt__icon--green { background: var(--green-50); color: var(--green-500); }
.share-opt__icon--orange { background: var(--orange-50); color: var(--orange-500); }

/* ---------- 朋友圈海报 ---------- */

.poster-stage { position: relative; display: grid; place-items: center; }
.poster-loading {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: var(--fs-sub); color: rgba(255, 255, 255, .75);
  animation: fx-fade-out .25s .6s both;
}
.poster-loading .spinner { width: 28px; height: 28px; border-width: 3px; border-color: rgba(255, 255, 255, .18); border-top-color: var(--orange-400); }

.poster {
  position: relative; overflow: hidden; width: 282px; padding: 18px 16px 16px;
  border-radius: 20px; color: #fff;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(74, 124, 196, .55), transparent 60%),
    radial-gradient(70% 45% at 0% 100%, rgba(240, 131, 47, .3), transparent 70%),
    linear-gradient(165deg, #1E4175 0%, #10264A 55%, #0B1C38 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -18px rgba(0, 0, 0, .7), 0 12px 40px -12px rgba(240, 131, 47, .3);
  animation: poster-in .7s .65s var(--ease) both, poster-float 5s 1.6s ease-in-out infinite;
}
/* 背景里的同心圆 */
.poster::before {
  content: ""; position: absolute; right: -90px; top: -70px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, .02), 0 0 0 27px rgba(255, 255, 255, .05);
}

.poster__top { position: relative; display: flex; align-items: center; gap: 8px; }
.poster__logo { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--orange-500); font-size: 13px; font-weight: 700; }
.poster__brand { display: flex; align-items: baseline; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.poster__brand small { font-size: 11px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .6); }
.poster__no { margin-left: auto; font: 500 10px/1 var(--font-num); letter-spacing: .06em; color: rgba(255, 255, 255, .45); }

/* 项目介绍：我在做什么 */
.poster__intro { position: relative; margin: 16px 2px 14px; }
.poster__tags { display: flex; gap: 6px; }
.poster__tags span { padding: 2px 8px; border-radius: var(--r-pill); font-size: 11px; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .1); }
.poster__kicker { margin-top: 12px; font-size: 12px; letter-spacing: .08em; color: rgba(255, 255, 255, .6); }
.poster__name { margin-top: 2px; font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: .06em; }
.poster__line { margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.poster__line.is-big { font-size: 22px; line-height: 31px; font-weight: 800; color: #fff; }

/* 白色票据：AI 体检亮点 */
.poster__ticket { position: relative; padding: 14px; border-radius: 14px; background: #fff; color: var(--ink-900); }
.poster__ticket-head span { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--orange-600); }
.app .poster__ticket-head .ic { width: 14px; height: 14px; }

/* “已体检”章，盖在票据右上角 */
.poster__stamp {
  position: absolute; top: -14px; right: -8px; width: 60px; height: 60px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: var(--orange-500); background: rgba(255, 255, 255, .92); border: 2px solid currentColor;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px currentColor, 0 4px 12px rgba(0, 0, 0, .18);
  transform: rotate(-16deg);
  animation: poster-stamp .45s 1.95s cubic-bezier(.3, 1.6, .5, 1) both;
}
.poster__stamp b { font-size: 14px; font-weight: 800; letter-spacing: .06em; }
.poster__stamp small { font: 600 7px/1 var(--font-num); letter-spacing: .04em; }
@keyframes poster-stamp {
  0% { opacity: 0; transform: rotate(-16deg) scale(1.8); }
  60% { opacity: 1; transform: rotate(-16deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-16deg) scale(1); }
}

.poster__stat { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 12px; color: var(--ink-500); }
.poster__pct { font: 700 30px/1 var(--font-num); color: var(--navy-800); }
.poster__pct small { margin-left: 1px; font-size: 16px; }
.poster__hls { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.poster__hl {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 18px; color: var(--ink-700);
  animation: poster-hl .4s calc(1.25s + var(--i) * 120ms) var(--ease) both;
}
.poster__hl b { margin-right: 6px; font-weight: 700; color: var(--ink-900); }
.poster__hl-icon { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; color: var(--green-500); background: var(--green-50); }
.app .poster__hl-icon .ic { width: 11px; height: 11px; stroke-width: 3; }
.poster__traction {
  display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding: 9px 11px; border-radius: 10px; background: var(--orange-50);
  animation: poster-hl .4s calc(1.25s + var(--i) * 120ms) var(--ease) both;
}
.poster__traction span { font-size: 10px; color: #B0612A; }
.poster__traction b { font-size: 13px; color: var(--ink-900); }
.poster__traction em { font-style: normal; font-size: 16px; color: var(--orange-600); }
@keyframes poster-hl { from { opacity: 0; transform: translateX(-8px); } }

.poster__foot { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.poster__code { flex: none; width: 58px; height: 58px; }
.poster__ask { font-size: 15px; font-weight: 700; }
.poster__go { margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--orange-400); }
.poster__hint { margin-top: 2px; font-size: 10px; color: rgba(255, 255, 255, .5); }

/* 生成后扫过的一道光 */
.poster__shine {
  position: absolute; inset: 0; pointer-events: none; transform: translateX(-120%);
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 48%, rgba(255, 255, 255, .05) 55%, transparent 65%);
  animation: poster-shine 1.1s 2.35s ease-in-out both;
}

.poster-opts { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 4px; font-size: var(--fs-sub); color: rgba(255, 255, 255, .8); }
.poster-opts .switch:not(.is-on) { background: rgba(255, 255, 255, .25); }
.poster-actions { display: flex; gap: 10px; width: 100%; }
.poster-actions .btn { flex: 1; padding: 0 12px; }
.poster-tip { display: flex; align-items: center; gap: 4px; font-size: 11px; color: rgba(255, 255, 255, .55); }
.app .poster-tip .ic { width: 12px; height: 12px; }

@keyframes poster-in { from { opacity: 0; transform: translateY(28px) scale(.9) rotate(-3deg); } }
@keyframes poster-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes poster-shine { to { transform: translateX(120%); } }
.is-instant .poster, .is-instant .poster__shine, .is-instant .poster__hl, .is-instant .poster__traction, .is-instant .poster__stamp { animation: none; }
.is-instant .poster-loading { display: none; }
@media (prefers-reduced-motion: reduce) {
  .poster, .poster__shine, .poster__hl, .poster__traction, .poster__stamp { animation: none !important; }
  .poster-loading { display: none; }
}

/* ---------- 登录弹窗 ---------- */

.login { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0 4px; text-align: center; }
.login__mark {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); color: #fff;
  font-size: 26px; font-weight: 700; box-shadow: 0 10px 20px -10px rgba(15, 35, 70, .6);
}
.login__text { font-size: var(--fs-sub); line-height: 20px; color: var(--ink-500); }

/* ---------- 体检进行中 ---------- */

.checking__file { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-sub); color: var(--ink-500); }
.checking__file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .checking__file .ic { width: 16px; height: 16px; color: var(--ink-400); }
.checking__pct { margin: 12px 0 12px; line-height: 1; font-family: var(--font-num); font-weight: 700; color: var(--ink-900); }
.checking__pct .num { font-size: 48px; }
.checking__pct small { margin-left: 2px; font-size: 20px; color: var(--ink-500); }
.checking .bar { height: 8px; border-radius: 4px; }
.checking__eta { margin-top: 10px; }

/* ---------- AI 一键修复 ---------- */

.fix-issues { display: flex; flex-direction: column; gap: 10px; }
.fix-issue { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 21px; color: var(--ink-900); }
.fix-issue .dot { margin-top: 7px; }
.fix-bill { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-500); }
.fix-bill .num { font-size: var(--fs-body); font-weight: 700; color: var(--ink-900); }
.fix-bill__sub { margin-top: -4px; font-size: 12px; color: var(--ink-400); }
.fix-bill__short { padding-top: 8px; border-top: 1px solid var(--line); color: var(--red-600); }
.fix-bill .fix-bill__short .num { color: var(--red-500); }

/* ---------- 修改稿里的数据 ---------- */

.datum-legend { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0 2px; font-size: 12px; line-height: 20px; }
.field-edit {
  display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 52px;
  border-radius: var(--r-md); background: var(--navy-50); box-shadow: inset 0 0 0 1.5px var(--orange-400);
}
.field-edit__input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--ink-900);
}
.field-edit__input::placeholder { font-family: var(--font-sans); font-size: 16px; font-weight: 400; color: var(--ink-400); }
.field-edit__unit { flex: none; font-size: var(--fs-body); color: var(--ink-500); }

/* ---------- BP 修改稿 ---------- */

.bp-sec { position: relative; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.bp-sec.is-changed { box-shadow: inset 3px 0 0 var(--green-500), var(--shadow-card); }
.bp-sec__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.bp-sec__title { font-size: var(--fs-body); font-weight: 600; color: var(--ink-900); }
.bp-sec__pages { font-size: 12px; color: var(--ink-400); }
.bp-sec__head .tag { margin-left: auto; }
.bp-sec__text { font-size: 14px; line-height: 22px; color: var(--ink-500); }
.bp-sec.is-changed .bp-sec__text { color: var(--ink-900); }

/* ---------- Token ---------- */

.model-rate { font-family: var(--font-num); font-size: var(--fs-body); font-weight: 700; color: var(--ink-900); }
.model-cost { font-size: 12px; color: var(--ink-500); }
.amount { font-family: var(--font-num); font-size: var(--fs-body); font-weight: 700; }
.amount--plus { color: var(--green-500); }
.amount--minus { color: var(--ink-900); }
.empty-note { padding: 16px 0; text-align: center; font-size: var(--fs-sub); color: var(--ink-400); }

.wallet {
  position: relative; overflow: hidden; padding: 20px; border-radius: var(--r-xl); color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(58, 104, 170, .55) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  box-shadow: 0 12px 24px -12px rgba(15, 35, 70, .55);
}
.wallet__label { font-size: var(--fs-sub); color: rgba(255, 255, 255, .7); }
.wallet__num { margin-top: 4px; font-family: var(--font-num); font-weight: 700; line-height: 1; }
.wallet__num span { font-size: 44px; }
.wallet__num small { margin-left: 4px; font-size: 18px; }
.wallet__sub { margin-top: 8px; font-size: var(--fs-sub); color: rgba(255, 255, 255, .7); }
.wallet__quota { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12px; color: rgba(255, 255, 255, .8); }
.wallet__quota .bar { margin-top: 8px; background: rgba(255, 255, 255, .15); }

/* ---------- 我的 ---------- */

.me-head { display: flex; align-items: center; gap: 12px; padding: 4px 2px 4px; }
.me-head .avatar { width: 52px; height: 52px; font-size: 20px; }
.me-head__body { flex: 1; min-width: 0; }
.me-wallet { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); }
.me-wallet__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.me-wallet__label { font-size: 12px; color: var(--ink-400); }
.me-wallet__num { font-family: var(--font-num); font-weight: 700; color: var(--ink-900); line-height: 1.1; }
.me-wallet__num .num { font-size: 30px; }
.me-wallet__num small { margin-left: 3px; font-size: 14px; }
.me-wallet__sub { font-size: 12px; color: var(--ink-500); }

.fixing { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; }
.fixing__spin {
  width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  border: 3px solid var(--orange-100); border-top-color: var(--orange-500);
  animation: fx-spin .9s linear infinite;
}

/* ---------- 微信支付 ---------- */

.pay { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 12px; }
.pay__amount { font-family: var(--font-num); font-size: 40px; line-height: 48px; font-weight: 700; color: var(--ink-900); }
.pay__amount small { margin-right: 2px; font-size: 22px; }
.pay__what { font-size: var(--fs-sub); color: var(--ink-500); }
.btn--wechat { color: #fff; background: #07C160; box-shadow: none; }

/* ---------- 修复完成 ---------- */

.done { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0 6px; text-align: center; }
.done__icon {
  width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--green-500);
  box-shadow: 0 0 0 8px var(--green-50), 0 12px 24px -8px rgba(31, 163, 107, .6);
  animation: fx-done .5s var(--ease) both;
}
.app .done__icon .ic { width: 32px; height: 32px; stroke-width: 2.4; }
.done__title { font-size: var(--fs-title); line-height: 28px; font-weight: 700; color: var(--ink-900); }
.done__lights { display: flex; align-items: center; gap: 6px; color: var(--ink-300); }
.app .done__lights .ic { width: 16px; height: 16px; }
@keyframes fx-done { from { opacity: 0; transform: scale(.6); } }

/* ---------- 路演模拟 ---------- */

.pitch-meta { padding: 2px 2px 0; }
.pitch-hint {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-left: 46px;
  padding: 8px 12px; border-radius: var(--r-pill); font-size: var(--fs-sub); font-weight: 600;
  color: var(--orange-600); background: var(--orange-50); box-shadow: inset 0 0 0 1px var(--orange-200);
}
.app .pitch-hint .ic { width: 16px; height: 16px; }
.pitch-review { margin-left: 46px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); }
.pitch-review__head { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--orange-600); }
.app .pitch-review__head .ic { width: 14px; height: 14px; }
.pitch-review__text { margin-top: 4px; font-size: var(--fs-sub); line-height: 19px; color: var(--ink-500); }

/* 正在听：声波 */
.voice { display: flex; align-items: center; gap: 3px; height: 44px; }
.voice i { width: 3px; height: 10px; border-radius: 2px; background: var(--orange-500); animation: voice 1s ease-in-out infinite; }
.voice i:nth-child(2) { animation-delay: .15s; }
.voice i:nth-child(3) { animation-delay: .3s; }
.voice i:nth-child(4) { animation-delay: .45s; }
.voice i:nth-child(5) { animation-delay: .6s; }
.voice span { margin-left: 8px; font-size: 14px; color: var(--ink-500); }
@keyframes voice { 0%, 100% { height: 8px; } 50% { height: 22px; } }
.btn--rec { animation: rec-pulse 1.4s ease-in-out infinite; }
@keyframes rec-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(240, 131, 47, .45); } 50% { box-shadow: 0 0 0 10px rgba(240, 131, 47, 0); } }

/* ---------- 投资机构投递 ---------- */

.inv {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card);
}
.inv.is-on { box-shadow: inset 0 0 0 1.5px var(--orange-500), 0 6px 20px rgba(240, 131, 47, .12); }
.inv.is-done { opacity: .6; }
.inv__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.inv__name { display: flex; align-items: center; gap: 6px; font-size: var(--fs-body); font-weight: 600; color: var(--ink-900); }
.inv__tags { font-size: 12px; color: var(--ink-500); }
.inv__reason { font-size: 12px; color: var(--orange-600); }
.inv__match { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.inv__match b { font-size: 20px; line-height: 22px; color: var(--ink-900); }
.inv__match small { font-size: 11px; color: var(--ink-400); }
.inv__check {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  color: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-300);
}
.app .inv__check .ic { width: 13px; height: 13px; stroke-width: 3; }
.inv.is-on .inv__check { color: #fff; background: var(--orange-500); box-shadow: none; }
.inv.is-done .inv__check { visibility: hidden; }
.deliver-stats .lights__item { background: var(--surface); box-shadow: var(--shadow-card); }
/* 卡片里的文件不再套一层阴影 */
.card .file { padding: 12px; background: var(--navy-50); box-shadow: none; }
.mail-text { font-size: 14px; line-height: 23px; color: var(--ink-900); }

/* ---------- 行业 ---------- */

.src-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.src { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sub); color: var(--ink-700); }
.src .stars { width: 42px; }
.locked { display: flex; flex-direction: column; gap: 10px; }
.locked__item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-500); }
.app .locked__item .ic { width: 16px; height: 16px; color: var(--ink-300); }
.chain { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.chain span { padding: 6px 10px; border-radius: var(--r-sm); background: var(--navy-50); font-size: 12px; font-weight: 600; color: var(--navy-800); }
.app .chain .ic { width: 14px; height: 14px; color: var(--ink-300); }

.card--table { overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th { padding: 10px 8px; background: var(--navy-50); font-weight: 600; color: var(--ink-500); text-align: left; }
.tbl td { padding: 10px 8px; border-top: 1px solid var(--line); color: var(--ink-700); }
.tbl th:first-child, .tbl td:first-child { padding-left: 14px; }
.tbl tr.is-me td { background: var(--orange-50); color: var(--ink-900); font-weight: 600; }

.policy-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.policy-facts div { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--r-md); background: var(--navy-50); }
.policy-facts span { font-size: 11px; color: var(--ink-400); }
.policy-facts b { font-size: 14px; color: var(--ink-900); }

.conds { display: flex; flex-direction: column; gap: 10px; }
.cond { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 21px; color: var(--ink-900); }
.app .cond .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--green-500); stroke-width: 2.2; }
.cond.is-no { color: var(--ink-500); }
.app .cond.is-no .ic { color: var(--red-500); }
.app .cond.is-warn .ic { color: var(--amber-500); }

/* ---------- 我的 ---------- */

.me-progress { display: block; width: 100%; }
.quiz { display: flex; flex-direction: column; gap: 8px; }
.quiz__q { font-size: 14px; font-weight: 600; color: var(--ink-900); }
.quiz .seg__item { font-size: 13px; }

.vs { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; }
.vs__col { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vs__col b { font-size: 44px; line-height: 48px; color: var(--ink-400); }
.vs__col.is-now b { color: var(--navy-800); }
.app .vs__arrow .ic { width: 22px; height: 22px; color: var(--ink-300); }
.vs__delta { position: absolute; right: 0; top: 4px; padding: 3px 8px; border-radius: var(--r-pill); font: 700 13px/1.2 var(--font-num); color: var(--green-600); background: var(--green-50); }

.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.badge {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 14px;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-card); text-align: center;
}
.badge__icon {
  width: 56px; height: 56px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-300); background: var(--navy-50);
}
.app .badge__icon .ic { width: 26px; height: 26px; }
.badge.is-on .badge__icon {
  color: #fff; background: linear-gradient(160deg, #F7A35C, var(--orange-600));
  box-shadow: 0 0 0 4px var(--orange-100), 0 8px 16px -6px rgba(226, 113, 31, .6);
}
.badge__name { font-size: var(--fs-body); font-weight: 700; color: var(--ink-400); }
.badge.is-on .badge__name { color: var(--ink-900); }
.badge__desc { font-size: 11px; line-height: 15px; color: var(--ink-400); }

.badge-card {
  position: relative; overflow: hidden; width: 272px; padding: 18px 18px 16px; border-radius: 20px; color: #fff; text-align: center;
  background:
    radial-gradient(80% 55% at 50% 30%, rgba(240, 131, 47, .35), transparent 70%),
    linear-gradient(165deg, #1E4175 0%, #10264A 60%, #0B1C38 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px -18px rgba(0, 0, 0, .7);
  animation: poster-in .6s .1s var(--ease) both;
}
.badge-card .poster__shine { animation-delay: .9s; }
.badge-card__top { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255, 255, 255, .7); text-align: left; }
.badge-card__medal {
  width: 96px; height: 96px; margin: 26px auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #F7A35C, var(--orange-600));
  box-shadow: 0 0 0 8px rgba(240, 131, 47, .2), 0 0 0 16px rgba(240, 131, 47, .08), 0 16px 30px -10px rgba(226, 113, 31, .8);
  animation: medal-in .6s .5s cubic-bezier(.3, 1.6, .5, 1) both;
}
.app .badge-card__medal .ic { width: 44px; height: 44px; color: #fff; stroke-width: 2; }
.badge-card__kicker { font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: .1em; }
.badge-card__name { margin-top: 2px; font-size: 30px; line-height: 38px; font-weight: 800; letter-spacing: .06em; }
.badge-card__desc { margin-top: 4px; font-size: var(--fs-sub); color: rgba(255, 255, 255, .8); }
.badge-card__foot { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .18); text-align: left; }
@keyframes medal-in { from { opacity: 0; transform: scale(.4) rotate(-20deg); } }
.is-instant .badge-card, .is-instant .badge-card__medal, .is-instant .badge-card .poster__shine { animation: none; }

.faq { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 14px 16px; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-body); color: var(--ink-900); }
.app .faq__q .ic { width: 16px; height: 16px; color: var(--ink-300); transition: transform .2s; }
.app .faq.is-open .faq__q .ic { transform: rotate(180deg); }
.faq.is-open .faq__q { font-weight: 600; }
.faq__a { font-size: var(--fs-sub); line-height: 20px; color: var(--ink-500); }

/* ---------- 模块专属内容 ---------- */

/* 逐页诊断 */
.pages { position: relative; display: flex; gap: 10px; margin: 0 calc(-1 * var(--page-x)); padding: 4px var(--page-x) 6px; overflow-x: auto; scrollbar-width: none; }
.pages::-webkit-scrollbar { display: none; }
.page-thumb { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.page-thumb__paper {
  position: relative; width: 64px; height: 48px; padding: 8px; border-radius: 6px;
  display: flex; flex-direction: column; gap: 5px; background: var(--surface); box-shadow: var(--shadow-card);
}
.page-thumb__paper i { height: 3px; border-radius: 2px; background: var(--line-strong); }
.page-thumb__paper i:first-child { width: 70%; background: var(--navy-100); height: 5px; }
.page-thumb__paper i:last-of-type { width: 50%; }
.page-thumb__paper .dot { position: absolute; top: -3px; right: -3px; }
.page-thumb.is-on .page-thumb__paper { box-shadow: inset 0 0 0 2px var(--orange-500), var(--shadow-card); }
.page-thumb__no { font-size: 11px; color: var(--ink-400); }
.page-thumb.is-on .page-thumb__no { color: var(--orange-600); font-weight: 600; }
.page-issue { display: flex; gap: 8px; margin-top: 10px; font-size: 14px; line-height: 21px; color: var(--ink-700); }
.page-issue span { flex: none; padding: 0 6px; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 20px; color: var(--amber-600); background: var(--amber-50); }
.page-issue.is-fix span { color: var(--green-600); background: var(--green-50); }

/* BP 板块篇幅 */
.alloc-legend { display: flex; gap: 14px; margin-bottom: 12px; font-size: 12px; color: var(--ink-500); }
.alloc-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 3px; background: var(--ink-300); vertical-align: -1px; }
.alloc-legend i.is-you { background: var(--orange-500); }
.alloc { display: flex; flex-direction: column; gap: 10px; }
.alloc__row { display: grid; grid-template-columns: 92px 1fr 40px; align-items: center; gap: 8px; }
.alloc__name { font-size: 12px; color: var(--ink-700); }
.alloc__bars { display: flex; flex-direction: column; gap: 3px; }
.alloc__bar { height: 6px; border-radius: 3px; background: var(--ink-300); }
.alloc__bar.is-you { background: var(--orange-500); }
.alloc__num { font-size: 12px; font-weight: 700; text-align: right; color: var(--ink-900); }

/* 估值区间 */
.val-range { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.val-range .num { font-size: 28px; font-weight: 700; color: var(--navy-800); }
.val-range small { font-size: 12px; color: var(--ink-500); }
