/* 若思·测测 · 主样式 · 清新阳光主题 */
:root {
  --brand: #17a2b8;
  --brand-d: #0e8b9e;
  --brand-l: #e6f7fa;
  --sun: #ff9f43;
  --sun-l: #fff3e6;
  --grass: #35b37e;
  --grass-l: #e8f8f1;
  --ink: #1f2d3d;
  --ink-2: #4a5b6e;
  --ink-3: #8595a8;
  --line: #e6edf3;
  --bg: #f6fafc;
  --card: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(31, 45, 61, .05);
  --shadow-h: 0 8px 26px rgba(31, 45, 61, .10);
  --maxw: 1180px;

  /* 8pt 间距栅格（全站唯一间距来源，禁止随手写 px） */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 56px;
  --sp-10: 72px;

  /* 板块基调（HSL 色相），按认知→情绪→智力→关系→职场→生活的心理距离排布 */
  --bd-1: 265;   /* 认识自己   紫 */
  --bd-2: 338;   /* 情绪与情商 玫 */
  --bd-3: 200;   /* 智力与认知 蓝青 */
  --bd-4: 12;    /* 关系与家庭 橙红 */
  --bd-5: 155;   /* 职场与学业 绿 */
  --bd-6: 42;    /* 生活与趣味 金 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 顶部阳光渐层 */
.sun-band {
  position: fixed; top: 0; left: 0; right: 0; height: 320px; z-index: -1;
  background:
    radial-gradient(900px 320px at 15% -60px, rgba(255, 200, 90, .38), transparent 70%),
    radial-gradient(760px 300px at 85% -80px, rgba(120, 220, 235, .40), transparent 70%),
    linear-gradient(180deg, #eaf7fb 0%, rgba(246, 250, 252, 0) 100%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--sun), var(--brand));
  display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: 0 3px 10px rgba(23, 162, 184, .3);
}
.logo-txt { font-size: 18px; font-weight: 700; letter-spacing: .3px; }
.logo-sub { font-size: 11px; color: var(--ink-3); font-weight: 400; display: block; line-height: 1; margin-top: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-size: 14px;
  padding: 7px 12px; border-radius: 9px; white-space: nowrap;
}
.nav a:hover { background: var(--brand-l); color: var(--brand-d); }
/* 导航「注册会员」按钮。
   配色按 WCAG 对比度选过：白字配 #ff9f43 只有 2.04:1、配 #ff8c42 只有 2.31:1，
   连大字号要求的 3:1 都不到，截图上就是「看着一片空白、字看不清」。
   改用 #e8590c → #d94f04 后为 3.58~4.14:1，默认态就清楚，不依赖悬停才看得见。 */
.nav .btn-vip {
  background: linear-gradient(135deg, #e8590c, #d94f04);
  color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(217, 79, 4, .22);
}
/* 悬停必须**同时**重设背景，否则会继承 .nav a:hover 的浅底（--brand-l #e6f7fa），
   与 color:#fff 凑成白字浅底 —— 对比度约 1.1:1，肉眼几乎完全看不见。
   2026-11-24 线上出现的「鼠标放上去一片空白」就是这个优先级打架造成的。 */
.nav .btn-vip:hover,
.nav .btn-vip:focus-visible {
  background: linear-gradient(135deg, #ea6a0d, #c94804);
  color: #fff;
  filter: none;
  box-shadow: 0 4px 16px rgba(232, 89, 12, .35);
}
.menu-btn { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: var(--sp-9) 0 var(--sp-7); text-align: center; }
.hero h1 {
  font-size: clamp(26px, 4.6vw, 42px); font-weight: 800; letter-spacing: .5px;
  line-height: 1.28; margin-bottom: 14px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand), var(--grass));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--ink-2); font-size: clamp(14px, 1.7vw, 16px); max-width: 680px; margin: 0 auto; }
.hero-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-5); }
.hero-tag {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  padding: 5px 13px; border-radius: 999px; font-size: 13px;
}
.hero-tag b { color: var(--brand-d); font-weight: 700; }

/* ---------- 品类筛选 ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 8px; }
.cat-chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: 14px;
  transition: all .18s; font-family: inherit;
}
.cat-chip:hover { border-color: var(--brand); color: var(--brand-d); }
.cat-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.cat-chip .ci { margin-right: 4px; }

/* ---------- 卡片网格（全部测试）---------- */
.grid {
  display: grid; gap: var(--sp-4); padding: var(--sp-5) 0 var(--sp-8);
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  align-items: stretch;
}
.card {
  /* 主题氛围：按品类 --hue 生成极淡底色 + 顶部色条，与品类卡片同一色语言 */
  background:
    linear-gradient(176deg,
      hsl(var(--hue, 190) 72% 98.2%) 0%,
      hsl(var(--hue, 190) 55% 99.2%) 46%,
      #fff 100%);
  border: 1px solid hsl(var(--hue, 190) 40% 91%);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative; overflow: hidden;
}
/* 顶部主题色条：4px，归品类 */
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg,
    hsl(var(--hue, 190) 68% 60%),
    hsl(var(--hue, 190) 68% 60% / .2));
  opacity: .8; transition: opacity .18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px hsl(var(--hue, 190) 45% 40% / .16);
  border-color: hsl(var(--hue, 190) 52% 80%);
}
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--sp-2); }
.card-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 20px;
  background: hsl(var(--hue, 190) 66% 94%);
  border: 1px solid hsl(var(--hue, 190) 52% 88%);
}
.card-titles { min-width: 0; flex: 1; }
/* 眉标：品类名（父层级），小字距宽，与测试名形成层次 */
.card-eyebrow {
  display: block;
  font-size: 10.5px; font-weight: 600; letter-spacing: .5px;
  color: hsl(var(--hue, 190) 46% 52%);
  margin-bottom: 2px; line-height: 1.3;
}
.card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.4; }
/* 描述统一占两行高度，保证不同文案长度的卡片底部标签对齐在同一基线 */
.card .desc {
  color: var(--ink-2); font-size: 13.5px; flex: 1;
  margin-bottom: var(--sp-3); line-height: 1.62;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: calc(1.62em * 2);
}
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag {
  font-size: 11.5px; padding: 2.5px 8px; border-radius: 6px;
  background: var(--line); color: var(--ink-2); font-weight: 500;
  white-space: nowrap;
}
.tag.std { background: hsl(var(--hue, 190) 62% 94%); color: hsl(var(--hue, 190) 52% 36%); }
.tag.fun { background: var(--sun-l); color: #c96a12; }
.tag.new { background: var(--grass-l); color: #1f7d55; }
.tag.clin { background: #fdecec; color: #b04141; }
.card-go { margin-left: auto; color: hsl(var(--hue, 190) 58% 42%); font-size: 13px; font-weight: 600; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 11px; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 600; font-family: inherit; text-decoration: none;
  transition: filter .16s, transform .16s; line-height: 1.4;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: scale(.985); }
.btn-main { background: linear-gradient(135deg, var(--brand), var(--brand-d)); color: #fff; box-shadow: 0 4px 14px rgba(23, 162, 184, .28); }
.btn-sun { background: linear-gradient(135deg, var(--sun), #ff8c42); color: #fff; box-shadow: 0 4px 14px rgba(255, 159, 67, .3); }
.btn-line { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1px dashed var(--line); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- 答题页 ---------- */

/* 测试专属氛围层：品类色相 × 板块纹理
 * z-index 低于内容；pointer-events:none 不影响操作；
 * 尊重 prefers-reduced-motion（不做动画） */
.quiz-atmo {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 12% -8%, hsl(var(--hue, 190) 78% 96% / .95), transparent 68%),
    radial-gradient(900px 460px at 88% 0%, hsl(var(--hue, 190) 70% 95% / .85), transparent 72%),
    linear-gradient(180deg, hsl(var(--hue, 190) 62% 98.6%) 0%, #f7fafc 46%, #f6fafc 100%);
}
.qa-orb {
  position: absolute; border-radius: 50%;
  filter: blur(46px);
  opacity: .5;
}
.qa-orb-1 {
  width: 420px; height: 420px; top: -120px; left: -90px;
  background: hsl(var(--hue, 190) 82% 78% / .55);
}
.qa-orb-2 {
  width: 360px; height: 360px; top: 8%; right: -110px;
  background: hsl(calc(var(--hue, 190) + 28) 78% 80% / .42);
}
/* 纹理层：按板块切换形态 */
.qa-grid {
  position: absolute; inset: 0;
  opacity: .5; color: hsl(var(--hue, 190) 55% 62%);
}

/* 认识自己：同心圆（向内看） */
.quiz-atmo[data-pattern="rings"] .qa-grid {
  background:
    repeating-radial-gradient(circle at 82% 78%,
      hsl(var(--hue, 190) 58% 66% / .2) 0 1px, transparent 1px 44px);
}
/* 情绪与情商：柔波（斜向细纹，像情绪起伏的波纹）
 * 遮罩只做边缘柔化，不能衰减到看不见——alpha 与间距都要给足 */
.quiz-atmo[data-pattern="waves"] .qa-grid {
  opacity: .62;
  background:
    repeating-linear-gradient(102deg,
      hsl(var(--hue, 190) 60% 62% / .3) 0 2.5px, transparent 2.5px 24px);
  mask-image: linear-gradient(102deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
/* 智力与认知：格点（结构化） */
.quiz-atmo[data-pattern="lattice"] .qa-grid {
  background:
    radial-gradient(hsl(var(--hue, 190) 58% 58% / .32) 1.3px, transparent 1.5px) 0 0 / 24px 24px;
}
/* 关系与家庭：交集圆（两个人重叠的部分）
 * 用两个大圆环的轮廓而不是实心填充——实心会被左上角光晕直接吃掉；
 * 圆环放在页面下半部与右侧，避开光晕最浓的区域。 */
.quiz-atmo[data-pattern="blobs"] .qa-grid {
  opacity: .9;
  background:
    radial-gradient(circle at 34% 82%, transparent 0 118px,
      hsl(var(--hue, 190) 62% 58% / .3) 119px 121px, transparent 122px),
    radial-gradient(circle at 52% 88%, transparent 0 118px,
      hsl(var(--hue, 190) 62% 58% / .22) 119px 121px, transparent 122px),
    radial-gradient(circle at 88% 30%, transparent 0 150px,
      hsl(var(--hue, 190) 62% 58% / .18) 151px 153px, transparent 154px);
}
/* 职场与学业：阶升条（一级一级往上走的路径） */
.quiz-atmo[data-pattern="bars"] .qa-grid {
  opacity: .62;
  background:
    repeating-linear-gradient(90deg,
      hsl(var(--hue, 190) 54% 60% / .28) 0 4px, transparent 4px 34px);
  mask-image: linear-gradient(180deg, transparent 8%, #000 34%, #000 78%, transparent 100%);
}
/* 生活与趣味：散点（日常碎片） */
.quiz-atmo[data-pattern="dots"] .qa-grid {
  background:
    radial-gradient(hsl(var(--hue, 190) 60% 62% / .26) 1.7px, transparent 2.1px) 0 0 / 30px 30px;
}

@media (prefers-reduced-motion: reduce) {
  .qa-orb { filter: blur(40px); }
}
.quiz-head {
  position: sticky; top: 62px; z-index: 40; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.quiz-head-in { display: flex; align-items: center; gap: 14px; }
.qtitle { font-size: 15px; font-weight: 700; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qtitle small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 400;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 720px) {
  .qtitle small { display: none; }
  .quiz-head-in { gap: 10px; }
}
.prog-wrap { flex: 1; max-width: 320px; }
.prog-bar { height: 7px; background: var(--line); border-radius: 99px; overflow: hidden; }
.prog-fill { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--grass)); transition: width .3s; }
.prog-txt { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.qstep { font-size: 13px; color: var(--ink-2); white-space: nowrap; font-weight: 600; }

.quiz-body { max-width: 720px; margin: 0 auto; padding: 26px 18px 90px; }
.qcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
/* 题型卡顶部主题色条：与答题页氛围层同色相，视觉上「这张卡属于这个测试」 */
.qcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg,
    hsl(var(--qhue, 190) 70% 60%),
    hsl(var(--qhue, 190) 70% 60% / .18));
}
.qno { font-size: 12.5px; color: var(--brand-d); font-weight: 700; letter-spacing: .6px; margin-bottom: 9px; }
.qtext { font-size: 18px; font-weight: 600; line-height: 1.62; margin-bottom: 20px; word-break: break-word; }
.qstem { display: block; max-width: 100%; margin: 0 auto 18px; border-radius: 12px; border: 1px solid var(--line); }

.opts { display: flex; flex-direction: column; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 11px; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  transition: all .16s; background: #fff; font-size: 15px; line-height: 1.55;
}
.opt:hover { border-color: #b9dce6; background: #fbfdfe; }
.opt.sel { border-color: var(--brand); background: var(--brand-l); }
.opt .dot {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line);
  flex: none; display: grid; place-items: center; transition: all .16s;
}
.opt.sel .dot { border-color: var(--brand); background: var(--brand); }
.opt.sel .dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.opt-img { width: 100%; }
.opt-img img { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.opt-img.sel { border-color: var(--brand); border-width: 2px; padding: 6px; }

.forced-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.forced-head { font-size: 12.5px; font-weight: 700; color: var(--ink-3); text-align: center; letter-spacing: .5px; }
.forced-col { display: flex; flex-direction: column; gap: 10px; }

.quiz-foot {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 45;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 12px 18px;
}
.quiz-foot-in { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; align-items: center; }
.quiz-foot .spacer { flex: 1; }
.hint { font-size: 12.5px; color: var(--ink-3); }

/* 锦标赛 */
.pk-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.pk-card {
  border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 14px; cursor: pointer;
  text-align: center; transition: all .16s; background: #fff;
}
.pk-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-h); }
.pk-card h4 { font-size: 16px; margin-bottom: 6px; }
.pk-card p { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; }
.pk-vs { display: grid; place-items: center; font-weight: 800; color: var(--ink-3); font-size: 14px; }
.pk-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.pk-tag { font-size: 10.5px; padding: 1.5px 7px; border-radius: 5px; background: var(--line); color: var(--ink-2); }

/* ---------- 报告页 ---------- */
.rep-hero {
  border-radius: var(--radius); padding: 28px 26px; color: #fff; margin: 22px 0;
  background: linear-gradient(135deg, var(--brand), #3fb8c9 55%, var(--grass));
  box-shadow: 0 10px 30px rgba(23, 162, 184, .25);
}
.rep-hero h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.rep-hero .rlabel { font-size: 13.5px; opacity: .92; }
.rep-hero .rbig { font-size: 40px; font-weight: 800; line-height: 1.15; margin: 12px 0 4px; }
.rep-hero .rsub { font-size: 13px; opacity: .9; }
.rep-hero.sun { background: linear-gradient(135deg, var(--sun), #ffbe73 55%, #ffd9a8); box-shadow: 0 10px 30px rgba(255, 159, 67, .25); }
.rep-hero.sun .rbig { color: #7a3c00; }

.rep-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 16px; }
.rep-sec > h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.rep-sec > h3::before { content: ""; width: 4px; height: 17px; border-radius: 3px; background: linear-gradient(var(--brand), var(--grass)); }
.rep-sec .lead { color: var(--ink-2); font-size: 14.5px; margin-bottom: 18px; }

/* 维度条 */
.dims { display: flex; flex-direction: column; gap: 13px; }
.dim-row { display: grid; grid-template-columns: 108px 1fr 74px; align-items: center; gap: 12px; }
.dim-name { font-size: 14px; font-weight: 600; }
.dim-track { height: 9px; background: var(--line); border-radius: 99px; overflow: hidden; }
.dim-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--grass)); }
.dim-val { font-size: 12.5px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.dim-note { grid-column: 1 / -1; font-size: 13px; color: var(--ink-2); margin-top: -4px; padding-left: 120px; }

/* 雷达图 */
.radar-wrap { display: grid; place-items: center; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; justify-content: center; }
.radar-legend span { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.radar-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

/* 深度解读 */
.para { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; line-height: 1.85; }
.para strong { color: var(--ink); }
.tips { list-style: none; margin-top: 6px; }
.tips li {
  display: flex; gap: 10px; font-size: 14px; color: var(--ink-2);
  padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.tips li:last-child { border-bottom: 0; }
.tips li b { color: var(--brand-d); font-weight: 700; flex: none; }

/* 锁定区 */
.locked {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px dashed #d8e3ea; background: #fbfdfe; padding: 22px;
}
.locked-blur { filter: blur(5.5px); opacity: .5; user-select: none; pointer-events: none; }
.lock-mask {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .92));
  padding: 18px;
}
.lock-mask h4 { font-size: 16px; font-weight: 700; }
.lock-mask p { font-size: 13px; color: var(--ink-2); max-width: 380px; }

/* 付费引导条 */
.paybar {
  background: linear-gradient(135deg, #fff8ec, #fff3e6); border: 1px solid #ffe0bd;
  border-radius: var(--radius); padding: 22px 24px; margin: 18px 0;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.paybar h4 { font-size: 16.5px; margin-bottom: 5px; }
.paybar p { font-size: 13.5px; color: var(--ink-2); }
.paybar .price { font-size: 26px; font-weight: 800; color: #e2761b; }
.paybar .price small { font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* 免责声明 */
.disc {
  font-size: 12.5px; color: var(--ink-3); background: #f2f7f9;
  border-left: 3px solid var(--brand); padding: 12px 14px; border-radius: 0 8px 8px 0;
  margin: 16px 0; line-height: 1.7;
}
.disc.warn { background: #fdf5ec; border-color: var(--sun); }

/* 页脚 */
.foot { border-top: 1px solid var(--line); background: #fff; padding: 26px 0 34px; margin-top: 30px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.foot p { font-size: 12.5px; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 12.5px; margin-left: 14px; }

/* 页脚：版权 + 备案号（工信部备案要求可点击跳转） */
.foot-icp {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-3); line-height: 1.7;
}
.foot-icp a { margin-left: 0; font-size: 12px; color: var(--ink-2); }
.foot-icp a:hover { color: var(--hue-1, #c2703d); text-decoration: underline; }
.foot-sep { color: var(--line-2, #d8d2c8); }

/* 空状态 */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty .em-ico { font-size: 46px; margin-bottom: 12px; }

/* 会员页 */
.vip-hero {
  border-radius: var(--radius); padding: 34px 28px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #b8860b, #f0a63a 45%, #ffc978);
  box-shadow: 0 12px 34px rgba(240, 166, 58, .3); margin: 22px 0;
}
.vip-hero h2 { font-size: 26px; font-weight: 800; }
.vip-hero p { opacity: .95; font-size: 14px; margin-top: 8px; }
.vip-price { font-size: 44px; font-weight: 800; margin: 14px 0 4px; }
.vip-price small { font-size: 15px; font-weight: 500; }
.vip-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 18px; }
.vip-feat div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; color: var(--ink-2); }

.pay-box { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.qr-slot {
  width: 268px; margin: 0 auto 14px; border-radius: 14px;
  border: 1.5px solid #e3edf2; background: #fff;
  padding: 12px 12px 10px; text-align: center;
  box-shadow: 0 6px 20px rgba(20,60,80,.07);
}
.qr-slot img {
  display: block; width: 240px; height: 240px; margin: 0 auto;
  border-radius: 8px; object-fit: contain;
}
.qr-slot .qr-way {
  margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2);
}
.qr-slot .qr-amount {
  margin-top: 4px; font-size: 13px; color: var(--ink-3);
}
.qr-slot .qr-amount b {
  color: #d9480f; font-size: 17px; font-weight: 800;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.pay-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-tabs button {
  flex: 1; padding: 9px; border: 1px solid var(--line); background: #fff; border-radius: 10px;
  cursor: pointer; font-size: 14px; font-family: inherit; color: var(--ink-2);
}
.pay-tabs button.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.code-in {
  display: flex; gap: 8px; margin-top: 14px;
}
.code-in input {
  flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; outline: none;
}
.code-in input:focus { border-color: var(--brand); }
.pay-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; text-align: center; }

.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--brand-l); border-top-color: var(--brand);
  animation: sp .8s linear infinite; margin: 0 auto 14px;
}
@keyframes sp { to { transform: rotate(360deg); } }
.center-box { text-align: center; padding: 60px 20px; }

/* 雷达图 SVG */
.radar { max-width: 100%; height: auto; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .dim-note { padding-left: 0; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 18px 16px; gap: 2px;
    box-shadow: var(--shadow-h); align-items: stretch;
  }
  .nav.open a { padding: 11px 12px; }
  .menu-btn { display: block; margin-left: auto; }
  .hero { padding: 30px 0 18px; }
  .grid { grid-template-columns: 1fr; gap: 12px; padding-top: 14px; }
  .quiz-body { padding: 18px 14px 96px; }
  .qcard { padding: 20px 16px; border-radius: 14px; }
  .qtext { font-size: 16.5px; }
  .opt { padding: 12px 13px; font-size: 14.5px; }
  .rep-sec { padding: 18px 16px; }
  .rep-hero { padding: 22px 18px; }
  .rep-hero .rbig { font-size: 33px; }
  .dim-row { grid-template-columns: 86px 1fr 58px; gap: 9px; }
  .dim-name { font-size: 13px; }
  .forced-grid { grid-template-columns: 1fr; }
  .forced-head { display: none; }
  .pk-row { grid-template-columns: 1fr; gap: 10px; }
  .pk-vs { padding: 2px 0; }
  .quiz-foot { padding: 10px 14px; }
  .foot-in { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 13px; }
  .hero h1 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ===== 键盘可达性：焦点可见 ===== */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.code-in input:focus-visible { outline-offset: 1px; }

/* 鼠标点击不显示焦点框，键盘操作显示 */
:focus:not(:focus-visible) { outline: none; }

/* ===== AI 深度报告（付费/会员） ===== */
.ai-loading { display: flex; align-items: center; gap: 12px; padding: 18px 0; }
.ai-spin {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2.5px solid var(--line); border-top-color: var(--brand);
  animation: ai-spin .9s linear infinite;
}
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-loading .txt { font-size: 14px; color: var(--ink-2); }
.ai-loading .txt small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 3px; }

.ai-note {
  display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px;
  color: var(--ink-3); background: #f7fbfd; border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 12px; margin-bottom: 14px;
}
.ai-note b { color: var(--brand-d); font-weight: 700; flex: none; }

.ai-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--brand-d);
  background: rgba(23, 162, 184, .1); border-radius: 6px; padding: 2px 8px;
  margin-bottom: 8px; letter-spacing: .3px;
}
.ai-overview {
  font-size: 15px; line-height: 1.95; color: var(--ink); background: #f7fcfd;
  border-left: 3px solid var(--brand); border-radius: 0 10px 10px 0;
  padding: 14px 18px; margin-bottom: 4px;
}
.ai-list { list-style: none; margin-top: 4px; }
.ai-list li {
  display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2);
  padding: 11px 0; border-bottom: 1px dashed var(--line); line-height: 1.8;
}
.ai-list li:last-child { border-bottom: 0; }
.ai-list li .n {
  flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  background: rgba(23, 162, 184, .12); color: var(--brand-d);
}
.ai-list.grow li .n { background: rgba(226, 118, 27, .12); color: #c2620f; }
.ai-list.action li .n { background: rgba(64, 174, 105, .14); color: #2f8b52; }

.ai-dim { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.ai-dim:last-child { border-bottom: 0; }
.ai-dim .dn { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.ai-dim .dt { font-size: 14px; color: var(--ink-2); line-height: 1.85; }

.ai-encourage {
  background: linear-gradient(135deg, #fff8ec, #eefaf3);
  border: 1px solid #ffe0bd; border-radius: var(--radius);
  padding: 20px 22px; margin-top: 6px;
}
.ai-encourage p { font-size: 15px; line-height: 1.95; color: var(--ink); margin: 0; }
.ai-fallback {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: #fff8ec; border: 1px solid #ffe0bd; border-radius: 12px;
  padding: 12px 16px; margin-bottom: 14px; font-size: 13.5px; color: var(--ink-2);
}

/* AI 状态条（总览之后，第一屏可见） */
.ai-status-bar {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px;
  color: var(--ink-2); background: #f7fbfd; border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 16px; margin-bottom: 16px;
}
.ai-status-bar.ok { background: linear-gradient(135deg, #eefaf3, #f2fbff); border-color: #c9e9dc; }
.ai-status-bar.warn { background: #fff8ec; border-color: #ffe0bd; }
.ai-status-bar > span:first-child { flex: none; }
.ai-spin.sm { width: 15px; height: 15px; border-width: 2px; }

/* ============================================================
   首页 6 板块 / 30 品类卡片 / 品类浮层
   ============================================================ */
.no-scroll { overflow: hidden; }

/* 搜索栏 */
.search-bar {
  display: flex; align-items: center; gap: 8px; max-width: 560px;
  margin: 20px auto 0; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 6px 5px 15px;
  box-shadow: var(--shadow);
  transition: border-color .18s, box-shadow .18s;
}
.search-bar:focus-within { border-color: var(--brand); box-shadow: 0 4px 18px rgba(23, 162, 184, .16); }
.search-ico { font-size: 15px; opacity: .55; flex: none; }
.search-bar input {
  flex: 1; min-width: 0; border: 0; outline: none; background: none;
  font-size: 14px; font-family: inherit; color: var(--ink); padding: 7px 0;
}
.search-bar input::placeholder { color: var(--ink-3); }
.search-bar .btn { flex: none; border-radius: 999px; }

/* ---------- 板块（6 大方向，每板块 5 品类）---------- */
.boards { padding: var(--sp-3) 0 var(--sp-2); }

.board {
  margin-bottom: var(--sp-8);
  /* --bd-hue 由 JS 按板块序号注入，用于标题色条与底色 */
  --bd-hue: 200;
}
.board + .board { margin-top: 0; }

/* 板块标题：色条 + 图标 + 主副标题 + 右侧计数，四档层级分明 */
.board-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding: 0 0 var(--sp-3);
  border-bottom: 1px solid var(--line);
  position: relative;
}
/* 板块主色条：贴在标题分隔线上，一眼区分 6 个方向 */
.board-head::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  width: 88px; height: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, hsl(var(--bd-hue) 70% 56%), hsl(var(--bd-hue) 70% 56% / .15));
}
.board-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 20px;
  background: hsl(var(--bd-hue) 72% 96%);
  border: 1px solid hsl(var(--bd-hue) 55% 88%);
  box-shadow: inset 0 1px 2px #fff;
}
.board-titles { min-width: 0; }
.board-titles h2 {
  font-size: 19px; font-weight: 800; letter-spacing: .3px;
  line-height: 1.35; color: var(--ink);
}
.board-titles h2 .bd-idx {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: hsl(var(--bd-hue) 52% 50%);
  margin-right: 8px; vertical-align: 2px;
  font-variant-numeric: tabular-nums;
}
.board-titles p {
  font-size: 13px; color: var(--ink-3); line-height: 1.55;
  margin-top: 1px;
}
/* 板块右侧：品类数 / 测试数，数字与单位分离，形成第三档层级 */
.board-stat {
  display: flex; align-items: baseline; gap: var(--sp-4);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bs-i { display: inline-flex; align-items: baseline; gap: 2px; }
.board-stat b {
  font-size: 21px; font-weight: 800; line-height: 1;
  color: hsl(var(--bd-hue) 58% 46%);
}
.bs-u { font-size: 11.5px; color: var(--ink-3); font-weight: 500; }

/* 品类卡片：每行 5 个。用 flex + justify-content:center，
   使末行不满时（5 品类在 2/3/4 列下必落单）自动居中，避免右侧留空 */
.cat-cards {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: center;
  align-items: stretch;
}
.cat-card {
  /* 固定基准宽度，禁止拉伸：5 个品类在各断点下必然落单，
     末行由 justify-content:center 居中 —— 保证「每张卡等宽」这个对称性的第一要件 */
  flex: 0 0 calc((100% - 4 * var(--sp-3)) / 5 - 0.02px);
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  font-family: inherit;
  border: 1px solid hsl(var(--hue, 190) 42% 90%);
  /* 主题氛围：极淡同源底色，从上到下渐隐，非白卡片 */
  background:
    linear-gradient(168deg,
      hsl(var(--hue, 190) 72% 97.4%) 0%,
      hsl(var(--hue, 190) 62% 98.8%) 42%,
      #fff 100%);
  border-radius: 14px;
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  display: flex; flex-direction: column; gap: var(--sp-2);
  min-height: 148px;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s, border-color .2s;
  animation: rise .5s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: var(--cd-delay, 0ms);
}
/* 顶部主题色条：3px，一眼归板块/品类 */
.cat-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg,
    hsl(var(--hue, 190) 70% 62%),
    hsl(var(--hue, 190) 70% 62% / .25));
  opacity: .85; transition: opacity .2s;
}
/* 右下角主题光晕（悬停增强） */
.cat-card::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 100px;
  background: radial-gradient(60% 100% at 50% 100%, hsl(var(--hue, 190) 62% 62% / .22), transparent 70%);
  opacity: .5; transition: opacity .22s; pointer-events: none;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px hsl(var(--hue, 190) 45% 40% / .16);
  border-color: hsl(var(--hue, 190) 55% 78% / .8);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover::after { opacity: 1; }

.cat-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 19px;
  background: hsl(var(--hue, 190) 68% 94%);
  border: 1px solid hsl(var(--hue, 190) 58% 88%);
  box-shadow: 0 1px 3px hsl(var(--hue, 190) 40% 50% / .08);
}
.cat-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cat-name {
  font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.4;
  letter-spacing: .1px;
}
.cat-desc {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-count {
  margin-top: auto; font-size: 11.5px; font-weight: 600; letter-spacing: .2px;
  color: hsl(var(--hue, 190) 48% 40%);
  display: flex; align-items: center; gap: 5px;
}
/* 计数前的小圆点，统一视觉锚点 */
.cat-count::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: hsl(var(--hue, 190) 62% 58%);
  flex: none;
}
.cat-arrow {
  position: absolute; top: var(--sp-4); right: var(--sp-3); font-size: 13px;
  color: hsl(var(--hue, 190) 48% 58%);
  opacity: .55; transition: transform .2s, opacity .2s;
}
.cat-card:hover .cat-arrow { transform: translateX(3px); opacity: 1; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 全部测试区 */
.all-block { padding-top: var(--sp-2); }
.block-head { margin-bottom: var(--sp-4); }
.block-head h2 { font-size: 20px; font-weight: 800; }
.block-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.end-note { text-align: center; font-size: 13px; color: var(--ink-3); padding: var(--sp-6) 0 var(--sp-2); }

/* ---------- 全部测试独立页 /boards ---------- */
.all-hero { padding: var(--sp-7) 0 var(--sp-5); }
.ah-head { text-align: center; margin-bottom: var(--sp-5); }
.ah-back {
  display: inline-block; font-size: 13px; color: var(--ink-3);
  text-decoration: none; margin-bottom: var(--sp-3);
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; transition: all .16s;
}
.ah-back:hover { color: var(--brand-d); border-color: hsl(190 55% 78%); }
.ah-head h1 {
  font-size: clamp(24px, 3.4vw, 32px); font-weight: 800;
  letter-spacing: .5px; line-height: 1.3; margin-bottom: var(--sp-2);
}
.ah-head p { font-size: 14px; color: var(--ink-2); }
.ah-head p b { color: var(--brand-d); font-weight: 700; }

/* 品类快捷筛选：横向滚动，窄屏不换行堆积 */
.cat-chips {
  display: flex; gap: var(--sp-2); overflow-x: auto;
  padding: var(--sp-3) 2px; margin-top: var(--sp-3);
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.cat-chips::-webkit-scrollbar { height: 5px; }
.cat-chips::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.cat-chip {
  flex: none; font-family: inherit; font-size: 13px; cursor: pointer;
  padding: 6px 13px; border-radius: 999px; white-space: nowrap;
  border: 1px solid hsl(var(--hue, 190) 42% 88%);
  background: hsl(var(--hue, 190) 70% 97.5%);
  color: hsl(var(--hue, 190) 45% 38%);
  transition: all .16s;
}
.cat-chip:hover { border-color: hsl(var(--hue, 190) 55% 70%); }
.cat-chip.on {
  background: hsl(var(--hue, 190) 58% 48%);
  border-color: transparent; color: #fff; font-weight: 600;
}

/* ---------- 品类浮层 ---------- */
.cat-overlay { position: fixed; inset: 0; z-index: 120; }
.cat-overlay[hidden] { display: none; }
.ov-backdrop {
  position: absolute; inset: 0; background: rgba(24, 38, 50, .42);
  backdrop-filter: blur(3px); animation: fade .22s ease both;
}
.ov-panel {
  position: relative; z-index: 1;
  width: min(1080px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  margin: 0 auto; background: #fff;
  border-radius: 20px; box-shadow: 0 24px 64px rgba(20, 34, 46, .28);
  display: flex; flex-direction: column; overflow: hidden;
  animation: ovIn .34s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes ovIn { from { opacity: 0; transform: translateY(20px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.ov-close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; font-size: 13px;
  display: grid; place-items: center; transition: all .16s;
}
.ov-close:hover { background: #f3f7f9; color: var(--ink); }

.ov-head { padding: 22px 24px 14px; border-bottom: 1px solid var(--line); }
.ov-head-in { display: flex; align-items: center; gap: 13px; padding-right: 40px; }
.ov-ico {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center; font-size: 24px;
  background: hsla(var(--hue, 190), 62%, 94%, .95);
}
.ov-titles h3 { font-size: 20px; font-weight: 800; }
.ov-titles p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

.ov-subs {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 13px 24px; border-bottom: 1px solid var(--line);
  background: #fbfdfe;
}
.ov-sub {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  padding: 5px 12px; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-family: inherit; transition: all .16s;
}
.ov-sub:hover { border-color: var(--brand); color: var(--brand-d); }
.ov-sub.on {
  background: hsla(var(--hue, 190), 58%, 46%, 1); border-color: transparent;
  color: #fff; font-weight: 600;
}

.ov-list { overflow-y: auto; padding: 18px 24px 6px; flex: 1; }
.ov-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.ov-empty { text-align: center; color: var(--ink-3); padding: 40px 0; font-size: 14px; }
.ov-foot {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 24px 16px; border-top: 1px solid var(--line); background: #fbfdfe;
}
.ov-foot-txt { font-size: 12.5px; color: var(--ink-3); }

/* 品类列数：5 → 4 → 3 → 2 → 1，末行不满时由 flex 居中，不留半截空位 */
@media (max-width: 1080px) {
  .cat-card { flex-basis: calc((100% - 3 * var(--sp-3)) / 4 - 0.02px); }
}
@media (max-width: 860px) {
  .cat-card { flex-basis: calc((100% - 2 * var(--sp-3)) / 3 - 0.02px); }
  .board-head { grid-template-columns: auto 1fr; row-gap: var(--sp-1); }
  .board-stat { grid-column: 2; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .cat-card { flex-basis: calc((100% - var(--sp-3)) / 2 - 0.02px); min-height: 132px; padding: var(--sp-3); }
  .cat-desc { -webkit-line-clamp: 2; font-size: 12px; }
  .board { margin-bottom: var(--sp-7); }
  .board-titles h2 { font-size: 17px; }
  .board-titles p { font-size: 12.5px; }
  .board-stat b { font-size: 17px; }
  .search-bar { margin: 16px auto 0; padding-left: 12px; }
  .search-bar input { font-size: 13.5px; }
  .grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .card { padding: var(--sp-4); }
  .ov-panel { width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; margin-top: auto; }
  .cat-overlay { align-items: flex-end; }
  .ov-panel { animation: ovUp .3s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes ovUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .ov-head { padding: 18px 16px 12px; }
  .ov-subs { padding: 11px 16px; }
  .ov-list { padding: 14px 16px 4px; }
  .ov-grid { grid-template-columns: 1fr; }
  .ov-foot { padding: 10px 16px 14px; }
}
@media (max-width: 380px) {
  .cat-card { flex-basis: 100%; }
}

/* ============================================================
   内容页通用：流程 / 关于 / FAQ / 反馈
   ============================================================ */
.page-hero { padding: 40px 0 18px; }
.page-hero h1 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: var(--ink-2); font-size: 15px; max-width: 720px; line-height: 1.85; }
.page-hero p a { color: var(--brand-d); }

/* 流程页 */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 20px 0 22px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 20px; overflow: hidden;
}
.step-no {
  position: absolute; top: 12px; right: 16px; font-size: 34px; font-weight: 800;
  color: var(--brand-l); line-height: 1; letter-spacing: -1px;
}
.step-ico { font-size: 26px; margin-bottom: 8px; }
.step h2 { font-size: 17px; font-weight: 800; margin-bottom: 9px; }
.step p { font-size: 13.8px; color: var(--ink-2); line-height: 1.85; margin-bottom: 8px; }
.step p:last-child { margin-bottom: 0; }
.step-tip {
  background: #f7fbfd; border-left: 3px solid var(--sun);
  padding: 9px 11px; border-radius: 0 8px 8px 0; font-size: 13px !important; color: var(--ink-2) !important;
}

.report-parts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.report-parts div {
  background: #f7fbfd; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px;
}
.report-parts b { display: block; font-size: 14.5px; margin-bottom: 3px; color: var(--brand-d); }
.report-parts span { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* 关于页 */
.value-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.value-card {
  background: #f9fcfd; border: 1px solid var(--line); border-radius: 14px; padding: 16px 15px;
}
.vc-ico { font-size: 22px; display: block; margin-bottom: 7px; }
.value-card b { display: block; font-size: 15px; margin-bottom: 5px; }
.value-card p { font-size: 13.2px; color: var(--ink-2); line-height: 1.8; }

.contact-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.cc-label { font-size: 12px; color: var(--ink-3); font-weight: 600; letter-spacing: .3px; }
.cc-value { font-size: 16px; font-weight: 700; color: var(--brand-d); word-break: break-all; }
.cc-value a { color: var(--brand-d); text-decoration: none; border-bottom: 1px dashed currentColor; }
.cc-value a:hover { border-bottom-style: solid; }
.cc-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; margin-top: 2px; }

/* FAQ 页 */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 26px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.faq-item[open] { border-color: #cbe4ec; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 46px 15px 18px; position: relative;
  font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "＋"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d);
  display: grid; place-items: center; font-size: 14px; font-weight: 600; transition: transform .2s;
}
.faq-item[open] summary::after { content: "－"; transform: translateY(-50%) rotate(90deg); }
.faq-body { padding: 0 18px 16px; }
.faq-body p { font-size: 14.2px; color: var(--ink-2); line-height: 1.9; margin-bottom: 9px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--brand-d); }

/* 反馈 / 注册表单 */
.fb-form { display: flex; flex-direction: column; gap: 14px; }
.fb-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.fb-field { display: flex; flex-direction: column; gap: 6px; }
.fb-field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.fb-field input[type=text], .fb-field input[type=email], .fb-field input[type=password],
.fb-field input[type=tel], .fb-field input[type=number],
.fb-field select, .fb-field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; outline: none;
  transition: border-color .16s, box-shadow .16s; width: 100%;
}
.fb-field textarea { resize: vertical; line-height: 1.7; }
.fb-field input:focus, .fb-field select:focus, .fb-field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23, 162, 184, .12);
}
.fb-check { flex-direction: row; align-items: center; gap: 8px; }
.fb-check input { width: 16px; height: 16px; accent-color: var(--brand); flex: none; }
.fb-check span { font-size: 13.2px; color: var(--ink-2); line-height: 1.7; }
.fb-check a { color: var(--brand-d); }
.fb-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.fb-hint { font-size: 12.5px; color: var(--ink-3); }
.fb-msg { padding: 11px 14px; border-radius: 10px; font-size: 13.8px; line-height: 1.7; }
.fb-msg.ok { background: var(--grass-l); color: #1f7d55; border: 1px solid #bfe6d3; }
.fb-msg.err { background: #fdecec; color: #b04141; border: 1px solid #f5c9c9; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 30px 0 40px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .fb-row { grid-template-columns: 1fr; }
}

/* ============================================================
   管理后台
   ============================================================ */
.stat-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.stat-card {
  background: #f7fbfd; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 12px; text-align: center;
}
.stat-card b { display: block; font-size: 24px; font-weight: 800; color: var(--brand-d); line-height: 1.2; }
.stat-card span { font-size: 12.5px; color: var(--ink-3); }

.fb-admin-list { display: flex; flex-direction: column; gap: 10px; }
.fb-admin-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; background: #fff;
}
.fb-admin-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 7px; }
.fb-admin-head b { font-size: 14.5px; }
.fb-admin-meta { font-size: 12px; color: var(--ink-3); margin-left: auto; }
.fb-admin-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 8px; white-space: pre-wrap; }
.fb-admin-reply {
  font-size: 13px; color: #1f7d55; background: var(--grass-l);
  padding: 8px 10px; border-radius: 8px; margin-bottom: 8px; line-height: 1.7;
}
.fb-reply-input {
  flex: 1; min-width: 200px; padding: 8px 11px; border: 1px solid var(--line);
  border-radius: 9px; font-size: 13.5px; font-family: inherit; outline: none;
}
.fb-reply-input:focus { border-color: var(--brand); }

.admin-table { overflow-x: auto; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th, .admin-table td {
  text-align: left; padding: 9px 11px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.admin-table th { color: var(--ink-3); font-weight: 600; font-size: 12.5px; background: #f7fbfd; }
.admin-table td { color: var(--ink-2); }

.theme-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.theme-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 13px; cursor: pointer;
  background: #fff; transition: all .16s; text-align: left;
}
.theme-card:hover { border-color: var(--brand); box-shadow: var(--shadow-h); transform: translateY(-2px); }
.theme-card.on { border-color: var(--brand); background: var(--brand-l); cursor: default; }
.theme-card b { display: block; font-size: 14px; margin-top: 8px; }
.theme-card span { font-size: 12px; color: var(--brand-d); }
.theme-sw { display: flex; gap: 5px; }
.theme-sw i { width: 22px; height: 22px; border-radius: 7px; display: block; border: 1px solid rgba(0,0,0,.06); }

/* ============================================================
   会员体系：步骤条 / 提示条 / 订单卡 / 激活倒计时
   （2026-11-24 新增，注册页、支付页、会员中心、报告页共用）
   ============================================================ */

/* 四步流程条 */
.step-flow { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 16px 0 14px; }
.step-item {
  position: relative; background: #f7fbfd; border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px 13px 16px; transition: all .18s;
}
.step-item b {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--line); color: var(--ink-3); font-size: 12.5px; font-weight: 800;
  margin-bottom: 6px;
}
.step-item span { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.step-item em { display: block; font-size: 12.2px; color: var(--ink-3); font-style: normal; line-height: 1.6; margin-top: 2px; }
.step-item.on { background: var(--brand-l); border-color: hsl(190 55% 78%); }
.step-item.on b { background: var(--brand); color: #fff; }
.step-item.done { background: var(--grass-l); border-color: #bfe6d3; }
.step-item.done b { background: var(--grass); color: #fff; }

/* 规则提示条：激活码时限等硬规则必须显著可见 */
.notice-warn {
  background: #fff8ec; border: 1px solid #ffe0bd; border-radius: 12px;
  padding: 13px 15px; font-size: 13.5px; line-height: 1.85; color: #8a5a1e;
}
.notice-warn b { color: #b8651b; }
.notice-info {
  background: var(--brand-l); border: 1px solid hsl(190 55% 84%); border-radius: 12px;
  padding: 13px 15px; font-size: 13.5px; line-height: 1.85; color: #0d6b7a;
}

/* 订单卡 */
.order-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  background: #fff; margin-bottom: 14px;
}
.order-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.order-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 5px 0; color: var(--ink-2); }
.order-row b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.order-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.order-row.total b { color: #b8651b; font-size: 20px; }

/* 激活码展示 + 倒计时 */
.code-show {
  border: 1.5px dashed var(--brand); border-radius: 12px; background: var(--brand-l);
  padding: 18px; text-align: center; margin: 14px 0;
}
.code-show .c-label { font-size: 12.5px; color: var(--brand-d); font-weight: 600; letter-spacing: .5px; }
.code-show .c-val {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 28px; font-weight: 800; letter-spacing: 3px; color: var(--ink);
  margin: 8px 0; word-break: break-all;
}
.code-show .c-tip { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 800; color: #b8651b; }
.countdown.urgent { color: #c0392b; }
.countdown.dead { color: #94a3b8; text-decoration: line-through; }

/* 会员状态徽标 */
.vip-badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: var(--sun-l); color: #b8651b;
  border: 1px solid #ffe0bd;
}
.vip-badge.on { background: var(--grass-l); color: #1f7d55; border-color: #bfe6d3; }
.vip-badge.off { background: #f1f5f9; color: var(--ink-3); border-color: var(--line); }

/* 顶栏登录区：未登录两枚按钮，登录后换成用户名 + 退出 */
#navAuth { display: flex; align-items: center; gap: 4px; }
.nav-user {
  font-size: 13.5px; font-weight: 600; color: var(--brand-d) !important;
  display: inline-flex; align-items: center; gap: 5px;
}
/* 用户名是「文字 + 会员徽标」，悬停只做轻微底色，不能盖掉子元素的徽标配色 */
.nav .nav-user:hover,
.nav .nav-user:focus-visible { background: var(--brand-l); color: var(--brand-d) !important; }
.nav-vip {
  font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 6px;
  border-radius: 5px; background: var(--sun-l); color: #b8651b;
}

/* 已解锁报告清单 */
.unlock-list { display: flex; flex-direction: column; gap: 8px; }
.unlock-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 13.8px; text-decoration: none; color: var(--ink-2);
}
.unlock-item:hover { border-color: var(--brand); background: var(--brand-l); }
.unlock-item .u-ico { font-size: 17px; flex: none; }
.unlock-item .u-go { margin-left: auto; color: var(--brand-d); font-weight: 600; font-size: 13px; }

/* 后台：分组卡片 */
.admin-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 16px; }
.admin-sec h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.admin-sec .lead { font-size: 13.2px; color: var(--ink-3); margin-bottom: 14px; }
.admin-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.admin-toolbar { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.admin-toolbar input, .admin-toolbar select {
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px;
  font-size: 13.5px; font-family: inherit; outline: none;
}
.admin-toolbar input:focus, .admin-toolbar select:focus { border-color: var(--brand); }
.admin-note { font-size: 12.5px; color: var(--ink-3); line-height: 1.75; }
.tag-ok, .tag-warn, .tag-off, .tag-info {
  font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 5px; white-space: nowrap;
}
.tag-ok { background: var(--grass-l); color: #1f7d55; }
.tag-warn { background: var(--sun-l); color: #b8651b; }
.tag-off { background: #f1f5f9; color: var(--ink-3); }
.tag-info { background: var(--brand-l); color: var(--brand-d); }
.row-hidden { opacity: .48; }
