/* =========================================================
 * 岗位含金量（#/worth）
 * 视觉主题：深蓝 #14263D + 暖白 #F7F6F2 + 哑金 #B99758
 * 克制渐变、低阴影、扁平卡片；优先阅读与层级，适配 320–430px。
 * ========================================================= */
.tool-hero.is-worth {
  --cost: #0f2037;
  background: linear-gradient(120deg, #0d1e33 0%, #14263D 55%, #1b2f4e 100%);
  box-shadow: 0 10px 24px rgba(13, 30, 51, .22);
}
.tool-hero.is-worth .tool-hero-en { color: rgba(247, 246, 242, .72); }
.tool-hero.is-worth h2, .tool-hero.is-worth p { color: #F7F6F2; }

.worth-page {
  --wr-ink: #20334a;      /* 正文深蓝 */
  --wr-muted: #6b7a8c;    /* 次要文字 */
  --wr-deep: #14263D;     /* 深蓝主 */
  --wr-deep2: #1e3552;
  --wr-deep3: #28415f;
  --wr-gold: #B99758;     /* 哑金 */
  --wr-gold-d: #9a7c3f;
  --wr-cream: #F7F6F2;    /* 暖白 */
  --wr-line: #e3ddd1;     /* 分隔/描边 */
  --wr-card: #ffffff;
  --wr-radius: 16px;
}

/* ============ 矢量饭碗 ============ */
.wr-bowl { display: block; margin: 0 auto; }

/* ============ 首页：单一核心区 ============ */
.wr-hero {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 30px 22px 24px;
  border-radius: 20px;
  background:
    radial-gradient(140% 130% at 85% -8%, rgba(185, 151, 88, .22) 0%, rgba(255,255,255,0) 48%),
    linear-gradient(150deg, #0f243d 0%, #14263D 46%, #1b3253 100%);
  color: #F7F6F2;
  isolation: isolate;
}
.wr-hero .wr-bowl { opacity: .96; }
.wr-hero h1 {
  margin: 14px 0 6px;
  font-size: clamp(24px, 7vw, 30px);
  line-height: 1.3;
  font-weight: 800;
  color: #F7F6F2;
  letter-spacing: .5px;
}
.wr-sub { margin: 0 0 18px; font-size: 14.5px; color: rgba(247, 246, 242, .82); line-height: 1.5; }
.wr-dims {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}
.wr-dim {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
}
.wr-dim i { display: block; font-style: normal; font-weight: 700; color: #F7F6F2; font-size: 14px; margin-bottom: 3px; }
.wr-dim span { display: block; font-size: 12px; line-height: 1.4; color: rgba(247, 246, 242, .7); }
.wr-start {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #c7a15c 0%, #B99758 100%);
  color: #14263D;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.wr-start:active { transform: scale(.985); filter: brightness(1.04); }
.wr-foot { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: rgba(247, 246, 242, .66); text-align: center; }

/* ============ 答题页：一屏一题 ============ */
.wr-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 2px 10px;
  font-size: 13px;
  color: var(--wr-muted);
}
.wr-top .wr-chap { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wr-top .wr-cnt { font-variant-numeric: tabular-nums; color: var(--wr-gold-d); font-weight: 600; white-space: nowrap; }
.wr-back {
  border: 0; background: transparent; padding: 2px 6px;
  font-size: 24px; line-height: 1; color: var(--wr-ink);
  cursor: pointer; border-radius: 8px;
}
.wr-back:active { background: rgba(20, 38, 61, .06); }
.wr-progress { height: 4px; border-radius: 99px; background: #ece7dc; overflow: hidden; margin: 0 2px 14px; }
.wr-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--wr-gold), #ceac6b); border-radius: 99px; transition: width .3s ease; }

.wr-card {
  background: var(--wr-card);
  border: 1px solid var(--wr-line);
  border-radius: var(--wr-radius);
  padding: 18px 16px;
  box-shadow: 0 2px 10px rgba(20, 38, 61, .04);
}
.wr-q { margin: 0 0 6px; font-size: 17px; line-height: 1.5; font-weight: 700; color: var(--wr-deep); }
.wr-note { margin: 0 0 14px; font-size: 12.5px; line-height: 1.55; color: var(--wr-muted); }

.wr-opts { display: flex; flex-direction: column; gap: 10px; }
.wr-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 13px 14px;
  border: 1px solid var(--wr-line);
  border-radius: 12px;
  background: var(--wr-card);
  color: var(--wr-ink);
  font-size: 14.5px;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.wr-opt:active { background: #faf7f0; }
.wr-opt .wr-opt-dot {
  flex: 0 0 16px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid #c8c2b3; background: #fff; flex: 0 0 16px;
  transition: border-color .12s ease, background .12s ease;
}
.wr-opt.on {
  border-color: var(--wr-deep);
  background: #f3f4f6;
  box-shadow: inset 3px 0 0 var(--wr-deep);
}
.wr-opt.on .wr-opt-dot { border-color: var(--wr-deep); background: radial-gradient(circle, var(--wr-gold) 0 40%, #fff 46%); }

.wr-actions { display: flex; gap: 10px; margin-top: 16px; }
.wr-actions .btn { flex: 1; }
.wr-tip { margin: 12px 2px 0; font-size: 12px; line-height: 1.5; color: var(--wr-gold-d); }
.wr-run-label { display: inline-block; }

/* ============ 报告页 ============ */
.wr-banner {
  margin: 8px 0 12px; padding: 10px 12px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.5;
  color: #6b5b2e; background: #faf1dc; border: 1px solid #ecd9a8;
}
.wr-banner.is-trial { border-left: 3px solid var(--wr-gold); }
.wr-banner.is-offline { border-left: 3px solid #8a9bb0; color: #46586b; background: #eef2f6; border-color: #d3dce6; }

.wr-rpt { margin-top: 14px; }
.wr-rpt-head {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(150deg, #10253f 0%, #14263D 55%, #1b3253 100%);
  color: #F7F6F2;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 8px 22px rgba(13, 30, 51, .16);
}
.wr-rpt-head .wr-bowl { width: 96px; height: 96px; flex: 0 0 96px; }
.wr-rpt-title { min-width: 0; flex: 1; }
.wr-grade {
  display: inline-block;
  font-size: 18px; font-weight: 800; color: var(--wr-gold);
  letter-spacing: .5px; margin-bottom: 2px;
}
.wr-grade::first-letter { color: var(--wr-gold); }
.wr-score { display: flex; align-items: baseline; gap: 4px; margin: 2px 0; }
.wr-score big { font-size: 40px; line-height: 1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.wr-score i { font-style: normal; font-size: 14px; color: rgba(247,246,242,.8); }
.wr-desc { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: rgba(247,246,242,.86); }
.wr-level-note { margin: 10px 2px 0; font-size: 12px; line-height: 1.5; color: var(--wr-muted); }

.wr-sec {
  display: flex; align-items: center; gap: 8px;
  margin: 22px 0 10px; font-size: 15px; font-weight: 800; color: var(--wr-deep);
}
.wr-sec::before { content: ""; width: 3px; height: 16px; border-radius: 99px; background: var(--wr-gold); }

.wr-dims-bar { display: flex; flex-direction: column; gap: 9px; }
.wr-dimrow { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.wr-dimrow .wr-dn { flex: 0 0 64px; color: var(--wr-ink); font-weight: 600; }
.wr-dimrow .wr-dbar { flex: 1; height: 8px; border-radius: 99px; background: #eee8da; overflow: hidden; }
.wr-dimrow .wr-dbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--wr-gold-d), var(--wr-gold)); }
.wr-dimrow b { flex: 0 0 30px; text-align: right; color: var(--wr-deep); font-variant-numeric: tabular-nums; }

.wr-picks { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.wr-pick { display: flex; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--wr-muted); }
.wr-pick i { flex: 0 0 64px; color: var(--wr-deep); font-weight: 600; font-style: normal; }

.wr-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wr-block {
  background: var(--wr-card); border: 1px solid var(--wr-line);
  border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.5;
}
.wr-block.is-dark { background: #f3f4f6; border-color: #e2e6ec; }
.wr-block .wr-blk-t { display: block; font-weight: 800; color: var(--wr-gold-d); margin-bottom: 6px; }
.wr-block p { margin: 3px 0; color: var(--wr-ink); }
.wr-block.is-dark p { color: var(--wr-muted); font-size: 12.5px; }

.wr-advice { display: flex; flex-direction: column; gap: 8px; }
.wr-adv {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--wr-card); border: 1px solid var(--wr-line);
  border-radius: 12px; padding: 12px;
}
.wr-adv i {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: #16293f; color: var(--wr-gold); font-style: normal;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.wr-adv p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--wr-ink); }
.wr-adv p b { color: var(--wr-deep); }
.wr-muted { color: var(--wr-muted); font-size: 13px; }

/* 样本位置（次要） */
.wr-rank {
  border: 1px dashed #cdc6b4; border-radius: 12px; padding: 12px 14px;
  font-size: 13.5px; color: var(--wr-deep); line-height: 1.5;
  background: #fbf9f3;
}
.wr-rank b { color: var(--wr-gold-d); font-size: 15px; }
.wr-rank.is-muted { border: 0; background: #f3f4f6; color: var(--wr-muted); }
.wr-rank.is-muted span { display: block; font-weight: 700; color: #46586b; }
.wr-rank.is-muted em { font-style: normal; font-size: 12px; }
.wr-rank-scope { display: block; margin-top: 4px; font-size: 11.5px; color: var(--wr-muted); font-style: normal; }

.wr-model-note { margin: 12px 2px 4px; font-size: 11.5px; line-height: 1.6; color: var(--wr-muted); }

/* ============ 雷达图（兼容窄屏：视口收缩） ============ */
.wr-radar-wrap { width: 100%; display: flex; justify-content: center; }
.wr-radar-wrap svg { max-width: 100%; height: auto; }

/* ============ 320–430px 适配 ============ */
@media (max-width: 360px) {
  .wr-hero { padding: 24px 16px 18px; }
  .wr-hero h1 { font-size: 22px; }
  .wr-rpt-head { gap: 12px; padding: 16px 14px; }
  .wr-rpt-head .wr-bowl { width: 80px; height: 80px; flex: 0 0 80px; }
  .wr-score big { font-size: 34px; }
  .wr-blocks { grid-template-columns: 1fr; }
  .wr-card { padding: 15px 13px; }
  .wr-opt { padding: 12px; font-size: 14px; }
}