/* AssessHub — 视觉系统 */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1b2033;
  --muted: #6b7289;
  --line: #e7e9f1;
  --brand: #5b5bd6;
  --brand-2: #8b5cf6;
  --brand-soft: #eef0ff;
  --shadow: 0 12px 32px rgba(30, 35, 70, .08);
  --shadow-sm: 0 4px 16px rgba(30, 35, 70, .06);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* 通用按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 11px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; transition: .18s ease; white-space: nowrap;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #5b5bd6, #8059e0); box-shadow: 0 8px 20px rgba(91, 91, 214, .22); }
.btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(91, 91, 214, .3); }
.btn-outline { background: #fff; border-color: #dcdff0; color: var(--text); }
.btn-outline:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--brand); background: var(--brand-soft); }
.btn.wide { width: 100%; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 48%, #faf3ff 100%);
  border-bottom: 1px solid var(--line);
}
/* Hero 与下方内容共用同一条 1160px 基线：文字块限制宽度但整个 inner 不收窄，避免左边缘错位 */
.hero-inner { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 82px 0 80px; position: relative; z-index: 1; }
.hero-copy { max-width: 700px; }
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 1px solid #dfe2f5;
  color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.hero-title { margin: 22px 0 18px; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.24; letter-spacing: -.02em; font-weight: 800; }
.hero-title span { background: linear-gradient(100deg, #5b5bd6, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 0; color: #545b75; font-size: 16px; line-height: 1.95; max-width: 640px; }
.hero-stats { display: flex; gap: 42px; margin: 30px 0 32px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; line-height: 1.2; color: var(--brand); }
.hero-stats span { font-size: 12px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 340px; height: 340px; }
.orbit { position: absolute; border: 1px solid rgba(91,91,214,.16); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.orbit-1 { width: 150px; height: 150px; }
.orbit-2 { width: 240px; height: 240px; border-style: dashed; }
.orbit-3 { width: 330px; height: 330px; }
.orbit-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center;
  background: linear-gradient(140deg, #6366f1, #a855f7); color: #fff;
  font-size: 22px; font-weight: 800; line-height: 1.1; text-align: center;
  box-shadow: 0 18px 40px rgba(99, 102, 241, .35);
}

/* 区块标题 */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.eyebrow { display: block; font-size: 11px; letter-spacing: .16em; font-weight: 800; color: var(--brand-2); margin-bottom: 6px; }
.section-head h2 { margin: 0; font-size: 25px; letter-spacing: -.01em; }
.section-note { margin: 0; max-width: 420px; color: var(--muted); font-size: 13px; text-align: right; }

/* 推荐区 */
.rec-section { padding: 56px 0 16px; }
.rec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rec-item {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 14px; transition: .18s ease; box-shadow: var(--shadow-sm);
}
.rec-item:hover { transform: translateY(-3px); border-color: var(--rec-accent); box-shadow: var(--shadow); }
.rec-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--rec-accent) 12%, white); display: grid; place-content: center; }
.rec-text { display: flex; flex-direction: column; min-width: 0; }
.rec-text strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-text small { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-go { margin-left: auto; color: var(--muted); font-size: 13px; }

/* 目录 */
.catalog { padding: 56px 0 30px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 7px 13px; border-radius: 999px; font-size: 13px; transition: .16s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-count { margin-left: 6px; opacity: .65; font-size: 11px; }
.search-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; min-width: 250px; }
.search-box span { color: var(--muted); font-size: 18px; }
.search-box input { border: 0; outline: 0; padding: 9px 0; width: 100%; background: transparent; font-size: 13px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.assess-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); transition: .2s ease;
  cursor: pointer; position: relative; overflow: hidden;
}
.assess-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent); opacity: .8; }
.assess-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--card-accent) 40%, white); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-icon { width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--card-accent) 11%, white); display: grid; place-content: center; }
.card-group { font-size: 11px; color: var(--muted); background: #f5f6fa; padding: 4px 9px; border-radius: 999px; }
.card-title { margin: 0 0 3px; font-size: 18px; }
.card-en { font-size: 11px; color: var(--brand); letter-spacing: .02em; margin-bottom: 10px; }
.card-desc { margin: 0 0 18px; color: var(--muted); font-size: 13px; min-height: 44px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; }
.card-meta { font-size: 12px; color: var(--muted); }
.card-arrow { font-size: 12px; font-weight: 700; color: var(--card-accent); }
.empty { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--muted); }

/* 说明条 */
.notice { display: flex; gap: 14px; margin: 42px 0 60px; padding: 20px 24px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand-2); border-radius: 12px; }
.notice-icon { font-size: 20px; color: var(--brand-2); }
.notice strong { font-size: 14px; }
.notice p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 26px 0; }
.footer .container { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* 面包屑 */
.breadcrumb { display: flex; align-items: center; gap: 9px; padding: 26px 0 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.breadcrumb button { border: 0; background: none; padding: 0; color: var(--muted); }
.breadcrumb button:hover { color: var(--brand); }
.breadcrumb strong { color: var(--text); }

/* 详情页 */
.detail-page { padding-bottom: 60px; }
.detail-hero {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.detail-hero::after { content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 12%, transparent), transparent 70%); }
.detail-hero-main { display: flex; gap: 18px; align-items: flex-start; }
.detail-icon { flex: none; width: 64px; height: 64px; border-radius: 17px; background: color-mix(in srgb, var(--card-accent) 11%, white); display: grid; place-content: center; }
.detail-cat { display: inline-block; font-size: 12px; color: var(--card-accent); font-weight: 700; margin-bottom: 2px; }
.detail-hero h1 { margin: 0; font-size: 28px; }
.detail-en { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.meta-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-chip { background: #f5f6fa; border-radius: 7px; padding: 4px 10px; font-size: 12px; color: var(--muted); }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.detail-tags span { border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; font-size: 12px; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 22px; margin-top: 22px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }
.panel h2 { margin: 0 0 14px; font-size: 18px; }
.panel-sub { margin: -6px 0 10px; color: var(--muted); font-size: 13px; }
.lead { font-size: 15px; color: #3d445c; margin: 0 0 12px; }
.prose p { margin: 8px 0; color: var(--muted); font-size: 14px; }
.dim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.dim-pill { display: flex; align-items: center; gap: 10px; padding: 11px 13px; background: #f8f9fc; border-radius: 11px; }
.dim-index { font-size: 11px; font-weight: 800; color: var(--brand-2); }
.dim-pill strong { display: block; font-size: 13px; }
.dim-pill small { display: block; color: var(--muted); font-size: 11px; }
.science-box { display: flex; flex-direction: column; gap: 12px; }
.science-row { display: grid; grid-template-columns: 88px 1fr; gap: 10px; font-size: 13px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.science-row:last-child { border: 0; padding: 0; }
.science-label { color: var(--brand); font-weight: 700; }
.science-row span:last-child { color: var(--muted); }
.detail-side { position: sticky; top: 20px; }
.side-title { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.mode-card { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 15px; padding: 20px; margin-bottom: 12px; transition: .18s; box-shadow: var(--shadow-sm); }
.mode-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow); }
.mode-label { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.mode-quick .mode-label { background: #e8f7ef; color: #15803d; }
.mode-full .mode-label { background: var(--brand-soft); color: var(--brand); }
.mode-card strong { display: block; font-size: 17px; }
.mode-desc { display: block; color: var(--muted); font-size: 13px; margin: 4px 0 12px; }
.mode-cta { font-size: 13px; font-weight: 700; color: var(--brand); }
.side-note { background: #f8f9fc; border-radius: 11px; padding: 12px 14px; color: var(--muted); font-size: 12px; margin: 14px 0 18px; }

/* 答题页 */
.test-page { min-height: 100vh; background: linear-gradient(180deg, #f8f9ff, var(--bg) 240px); }
.test-head { background: #fff; border-bottom: 1px solid var(--line); }
.test-head-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.test-back { border: 0; background: none; color: var(--muted); font-size: 13px; }
.test-back:hover { color: var(--brand); }
.test-name { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.test-mode { font-size: 11px; padding: 3px 9px; border-radius: 999px; font-weight: 700; }
.test-mode.quick { background: #e8f7ef; color: #15803d; }
.test-mode.full { background: var(--brand-soft); color: var(--brand); }
.test-timer { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.progress-track { height: 4px; background: #eceef6; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .3s; }
.progress-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding-top: 8px; }
.question-wrap { max-width: 820px; padding: 26px 0 60px; }
.q-help { background: #eef2ff; border-radius: 10px; padding: 10px 14px; color: #4c51a8; font-size: 13px; margin-bottom: 14px; }
.question-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 34px 38px; box-shadow: var(--shadow); }
.q-number { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--brand-2); }
.q-text { margin: 10px 0 8px; font-size: 21px; line-height: 1.5; }
.q-hint { color: var(--muted); font-size: 13px; margin: 0 0 18px; }

/* 工作记忆：材料限时呈现（呈现期不显示题目与选项） */
.stim-notice { background: #eef2ff; border: 1px solid #dcdffb; border-radius: 12px; padding: 12px 16px; color: #4c51a8; font-size: 13px; line-height: 1.7; margin-bottom: 22px; }
.stimulus-card {
  background: linear-gradient(150deg, #ffffff 0%, #f7f6ff 100%);
  border: 1px solid #dcdff0; border-radius: 22px; box-shadow: var(--shadow);
  padding: 40px 32px 32px; text-align: center;
}
.stim-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--brand-2); }
.stim-items { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; margin: 30px 0 34px; min-height: 84px; }
.stim-item {
  min-width: 72px; padding: 16px 20px; border-radius: 14px;
  background: #fff; border: 1px solid #dfe2f5; box-shadow: var(--shadow-sm);
  font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.2;
}
.stim-count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stim-count span { font-weight: 800; color: var(--brand); font-size: 17px; }
.stim-track { height: 6px; border-radius: 99px; background: #e8eaf6; overflow: hidden; margin: 14px auto 0; max-width: 420px; }
.stim-bar { height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transition: width .1s linear; }
.stim-actions { text-align: center; margin-top: 22px; }
.stim-state {
  margin: 12px 0 2px; padding: 10px 14px; border-radius: 10px;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
  font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.stim-state button { border: 0; background: transparent; padding: 0; color: #b45309; font-size: 13px; font-weight: 700; text-decoration: underline; }
.stim-state.replayed { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.excluded-note { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: #f1f5f9; border: 1px solid var(--line); color: #475569; font-size: 13px; }

/* 历史排名 */
.rank-panel { margin-top: 16px; padding: 15px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.rank-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rank-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.rank-head strong { font-size: 17px; color: var(--brand); }
.rank-track { height: 8px; background: #eef0f5; border-radius: 6px; overflow: hidden; margin: 11px 0 8px; }
.rank-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--brand), #8b5cf6); transition: width .5s ease; }
.rank-meta { font-size: 12.5px; color: #475569; line-height: 1.7; }
.rank-note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.7; }

.options { margin-top: 26px; }
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.option { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: .16s; }
.option:hover { border-color: var(--brand); background: #fafaff; }
.option.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.opt-key { flex: none; width: 28px; height: 28px; border-radius: 8px; background: #f2f3f8; display: grid; place-content: center; font-size: 12px; font-weight: 800; color: var(--muted); }
.option.selected .opt-key { background: var(--brand); color: #fff; }
.opt-text { flex: 1; font-size: 14px; }
.opt-check { color: var(--brand); font-weight: 800; }

/* 图形推理题：题干图形与图形选项 */
.q-figure { display: flex; justify-content: center; margin: 14px 0 4px; padding: 16px; background: #f7f9fe; border: 1px solid #e2e9f8; border-radius: 14px; }
.q-figure svg { max-width: 100%; height: auto; }
.fig-choice-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.fig-choice-grid.with-fig { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fig-option { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 8px; min-height: 104px; }
.fig-option .opt-key { align-self: flex-start; }
.opt-figure { display: flex; align-items: center; justify-content: center; width: 100%; }
.opt-figure svg { width: 72px; height: 72px; max-width: 100%; }
.fig-option.selected .opt-figure { filter: drop-shadow(0 2px 4px rgba(47, 95, 196, .2)); }
@media (max-width: 640px) {
  .fig-choice-grid.with-fig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-figure { padding: 12px; }
}
.likert-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.likert-option { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 6px; border: 1px solid var(--line); background: #fff; border-radius: 12px; transition: .16s; }
.likert-option:hover { border-color: var(--brand); background: #fafaff; }
.likert-option.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.likert-dot { width: 28px; height: 28px; border-radius: 50%; background: #f2f3f8; display: grid; place-content: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.likert-option.selected .likert-dot { background: var(--brand); color: #fff; }
.likert-label { font-size: 12px; color: var(--muted); text-align: center; }
.q-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.q-nav-hint { font-size: 12px; color: var(--muted); }

/* 加载页 */
.loading-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #f8f9ff, #faf4ff); }
.loading-card { text-align: center; background: #fff; padding: 48px 56px; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); width: min(440px, 90%); }
.loading-card h2 { margin: 20px 0 6px; font-size: 21px; }
.loading-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.loading-card small { display: block; margin-top: 14px; color: #9aa0b4; font-size: 11px; }
.loader { display: flex; justify-content: center; gap: 7px; }
.loader span { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); animation: bounce 1s infinite ease-in-out; }
.loader span:nth-child(2) { animation-delay: .15s; }
.loader span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 80%, 100% { transform: scale(.6); opacity: .45; } 40% { transform: scale(1); opacity: 1; } }
.loading-bar { height: 5px; border-radius: 99px; background: #eef0f8; overflow: hidden; }
.loading-bar div { height: 100%; width: 40%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); animation: slide 1.4s infinite ease-in-out; }
@keyframes slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* 结果页 */
.result-page { padding-bottom: 60px; }
.result-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.result-tag { display: inline-block; background: color-mix(in srgb, var(--card-accent) 12%, white); color: var(--card-accent); font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.result-hero h1 { margin: 10px 0 4px; font-size: 26px; }
.result-hero p { margin: 0; color: var(--muted); font-size: 13px; }
.result-score-ring { flex: none; width: 96px; height: 96px; border-radius: 50%; border: 6px solid color-mix(in srgb, var(--card-accent) 22%, white); border-top-color: var(--card-accent); display: grid; place-content: center; text-align: center; }
.result-score-ring strong { font-size: 26px; line-height: 1; color: var(--card-accent); }
.result-score-ring span { font-size: 10px; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 20px; }
.radar { display: block; width: 100%; max-width: 460px; margin: 0 auto; }
.insight-block { padding: 14px 0; border-bottom: 1px solid var(--line); }
.insight-block.soft { border-bottom: 0; }
.insight-label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.insight-block strong { font-size: 15px; color: var(--brand); }
.insight-block p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.insight-summary { background: #f8f9fc; border-radius: 11px; padding: 14px 16px; font-size: 13px; color: #4b5268; margin-top: 10px; }
.score-list { display: flex; flex-direction: column; gap: 18px; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; }
.score-head strong { font-size: 14px; }
.score-num { font-size: 17px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.score-num small { font-size: 11px; color: var(--muted); font-weight: 500; }
.score-track { height: 8px; background: #eef0f6; border-radius: 99px; overflow: hidden; margin: 6px 0; }
.score-fill { height: 100%; border-radius: 99px; transition: width .6s ease; }
.score-band { font-size: 12px; color: var(--muted); }
.advice-panel ul { margin: 0; padding-left: 20px; }
.advice-panel li { margin: 8px 0; color: #4b5268; font-size: 14px; }
.disclaimer { background: #fbfbfd; }
.disclaimer p { color: var(--muted); font-size: 13px; margin: 6px 0; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.empty-page { text-align: center; padding: 100px 0; }
.empty-page h2 { font-size: 22px; }

/* 可信度指南 */
.guide-section { padding: 58px 0 20px; }
.guide-four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 20px; box-shadow: var(--shadow-sm); }
.guide-num { font-size: 11px; font-weight: 800; color: var(--brand-2); letter-spacing: .1em; }
.guide-card h3 { margin: 6px 0 8px; font-size: 16px; }
.guide-card p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.65; }
.guide-tier-title { font-size: 14px; font-weight: 700; margin: 28px 0 12px; }
.guide-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tier { background: #fff; border: 1px solid var(--line); border-left: 3px solid; border-radius: 13px; padding: 18px 20px; }
.tier-a { border-left-color: #16a34a; }
.tier-b { border-left-color: #f59e0b; }
.tier-c { border-left-color: #94a3b8; }
.tier-tag { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-bottom: 7px; }
.tier-a .tier-tag { background: #e8f7ee; color: #15803d; }
.tier-b .tier-tag { background: #fff5e6; color: #b45309; }
.tier-c .tier-tag { background: #f1f5f9; color: #64748b; }
.tier strong { display: block; font-size: 15px; }
.tier p { margin: 5px 0 0; color: var(--muted); font-size: 12.5px; }
.guide-depth { margin-top: 20px; border: 1px solid #dcdff0; border-radius: 14px; background: #fff; overflow: hidden; }
.depth-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 20px; background: #f7f7ff; border-bottom: 1px solid #e7e9f1; }
.depth-head strong { font-size: 14px; color: var(--text); }
.depth-head span { font-size: 12px; color: var(--muted); }
.depth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.depth-col { padding: 18px 22px 20px; }
.depth-col + .depth-col { border-left: 1px solid var(--line); }
.depth-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--brand); background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.depth-tag.ability { color: #0e7490; background: #ecfeff; }
.depth-col strong { display: block; margin: 10px 0 6px; font-size: 20px; color: var(--text); }
.depth-col p { margin: 0; font-size: 12.5px; line-height: 1.75; color: var(--muted); }
.guide-disclaimer { display: flex; gap: 16px; margin-top: 18px; padding: 18px 22px; background: linear-gradient(100deg, #f3f4ff, #fdf4ff); border: 1px solid #e3e5f7; border-radius: 13px; }
.guide-disclaimer strong { flex: none; color: var(--brand); font-size: 14px; }
.guide-disclaimer p { margin: 0; color: #545b75; font-size: 13px; }

/* 可信度指南独立页：本站现状对照 */
.guide-page { padding-bottom: 46px; }
.guide-self { margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; }
.guide-self-tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.guide-self.self-yes .guide-self-tag { background: #ecfdf5; color: #047857; }
.guide-self.self-part .guide-self-tag { background: #fffbeb; color: #b45309; }
.guide-self.self-no .guide-self-tag { background: #fef2f2; color: #b91c1c; }
.guide-self p { margin: 0; color: #545b75; font-size: 12px; line-height: 1.7; }
.guide-self p b { color: #3a3f57; }

/* 热门榜 */
.popular-page { padding-bottom: 60px; }
.pop-hero { padding: 8px 0 26px; }
.pop-hero h1 { margin: 6px 0 8px; font-size: 30px; }
.pop-hero p { margin: 0; color: var(--muted); font-size: 14px; max-width: 700px; }
.pop-layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.pop-tabs { display: flex; gap: 8px; margin-bottom: 8px; }
.pop-tab { border: 1px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.pop-tab:hover { border-color: var(--brand); color: var(--brand); }
.pop-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pop-sub { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.pop-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 9px; cursor: pointer; transition: .16s; box-shadow: var(--shadow-sm); }
.pop-row:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.pop-rank { flex: none; font-size: 17px; font-weight: 800; color: #c7cad8; width: 30px; font-variant-numeric: tabular-nums; }
.pop-row:nth-child(3) .pop-rank { color: var(--brand-2); }
.pop-icon { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft); display: grid; place-content: center; }
.pop-main { flex: 1; min-width: 0; }
.pop-main h3 { margin: 0; font-size: 15px; }
.pop-en { font-size: 11px; color: var(--brand); }
.pop-main p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.pop-side { flex: none; text-align: right; }
.pop-side span { display: block; font-size: 11px; color: var(--muted); }
.pop-side strong { font-size: 12px; color: var(--brand); }
.pop-aside { position: sticky; top: 20px; }
.qe-card { display: block; width: 100%; text-align: left; border: 1px solid var(--line); background: #fafbff; border-radius: 12px; padding: 13px 15px; margin-bottom: 9px; }
.qe-card:hover { border-color: var(--brand); }
.qe-badge { display: inline-block; font-size: 10px; font-weight: 800; color: #fff; background: var(--brand); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.qe-card strong { display: block; font-size: 14px; }
.qe-card small { display: block; color: var(--muted); font-size: 11px; margin: 2px 0 6px; }
.qe-go { font-size: 12px; font-weight: 700; color: var(--brand); }
.qe-note { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.history-item { display: flex; justify-content: space-between; width: 100%; border: 0; background: #f8f9fc; border-radius: 8px; padding: 8px 11px; margin-bottom: 6px; font-size: 12px; text-align: left; }
.history-item span { color: var(--brand); }
.history-empty { font-size: 12px; color: var(--muted); }
.pop-note p { font-size: 12.5px; color: var(--muted); margin: 0; }

/* 综合画像 */
.profile-page { padding-bottom: 60px; }
.profile-hero { display: grid; grid-template-columns: 1fr 460px; gap: 30px; align-items: center; background: linear-gradient(125deg, #f8f9ff, #faf4ff); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-sm); }
.profile-hero h1 { margin: 6px 0 10px; font-size: 28px; }
.profile-hero p { margin: 0 0 18px; color: var(--muted); font-size: 14px; max-width: 600px; }
.profile-progress { display: flex; align-items: center; gap: 14px; }
.profile-progress .score-track { max-width: 320px; }
.profile-progress span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.profile-radar .radar { max-width: 460px; }
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.profile-group { margin: 0; }
.group-head { display: flex; justify-content: space-between; align-items: flex-start; }
.group-sub { font-size: 11px; color: var(--group-color); font-weight: 700; }
.group-head h2 { margin: 2px 0 0; font-size: 18px; }
.group-status { text-align: right; }
.group-status strong { display: block; font-size: 19px; color: var(--group-color); }
.group-status span { font-size: 11px; color: var(--muted); }
.group-score { display: flex; align-items: center; gap: 12px; margin: 12px 0 16px; }
.group-score .score-track { flex: 1; }
.group-score span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.profile-items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.profile-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; background: #f8f9fc; border-radius: 8px; font-size: 12px; }
.profile-item span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-item.done { background: color-mix(in srgb, var(--group-color) 9%, white); }
.profile-item.done strong { color: var(--group-color); }
.profile-item button { border: 0; background: none; color: var(--brand); font-size: 11px; padding: 0; white-space: nowrap; }

/* 时间要求 */
.chip-timed { background: #fff4e8; color: #b45309; }
.chip-free { background: #edf7f0; color: #15803d; }
.timer-note { margin-left: 8px; font-size: 11px; color: #15803d; background: #edf7f0; padding: 2px 8px; border-radius: 999px; }
.timer-remain { margin-left: 9px; font-size: 11px; color: var(--brand); background: var(--brand-soft); padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.timer-remain.warn { color: #b45309; background: #ffedd5; }
.timer-remain.overdue { color: #b91c1c; background: #fee2e2; }
.q-perq { float: right; font-size: 11px; font-weight: 600; color: #b45309; background: #fff4e8; padding: 2px 9px; border-radius: 999px; }
.perq-track { height: 4px; border-radius: 99px; background: #f1f0fb; overflow: hidden; margin: 10px 0 4px; }
.perq-bar { height: 100%; width: 0; background: linear-gradient(90deg, #f59e0b, #ef4444); border-radius: 99px; transition: width .2s linear; }
.time-warn { margin-bottom: 14px; padding: 11px 15px; border-radius: 10px; background: #fff1f2; border: 1px solid #fecdd3; color: #b91c1c; font-size: 13px; }
.overdue-inline { color: #b91c1c; font-weight: 600; }
.ontime-inline { color: #15803d; font-weight: 600; }

/* PDF 导出提示与打印 */
@media print {
  .result-actions { display: none !important; }
}

/* 评测组合 */
.combo-strip { padding: 52px 0 10px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip-card {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  align-items: center; gap: 2px 12px; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow-sm); transition: .18s ease;
}
.strip-card:hover { transform: translateY(-3px); border-color: var(--combo-accent); box-shadow: var(--shadow); }
.strip-icon { grid-row: 1/3; font-size: 24px; }
.strip-card strong { font-size: 14px; }
.strip-card small { font-size: 11px; color: var(--muted); grid-column: 2; }
.strip-go { grid-column: 3; grid-row: 1/3; color: var(--combo-accent); font-weight: 700; }
.strip-all { margin-top: 16px; }

.combo-hero { padding: 34px 0 30px; max-width: 780px; }
.combo-hero h1 { font-size: 32px; margin: 8px 0 12px; }
.combo-hero p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }
.combo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.combo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: .2s ease; position: relative; overflow: hidden;
}
.combo-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--combo-accent); }
.combo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--combo-accent) 40%, white); }
.combo-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.combo-icon { font-size: 30px; }
.combo-badge { font-size: 11px; color: var(--combo-accent); background: color-mix(in srgb, var(--combo-accent) 10%, white); padding: 4px 10px; border-radius: 999px; font-weight: 700; }
.combo-card h3 { margin: 0 0 3px; font-size: 18px; }
.combo-en { font-size: 11px; color: var(--combo-accent); margin-bottom: 10px; }
.combo-desc { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; min-height: 66px; }
.combo-minis { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.combo-mini { font-size: 10.5px; color: #4b5268; background: #f5f6fa; padding: 3px 8px; border-radius: 6px; }
.combo-card-foot { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; font-size: 11.5px; color: var(--muted); }
.combo-card-foot strong { margin-left: auto; color: var(--combo-accent); font-size: 12px; }

.combo-detail-hero { display: flex; gap: 22px; align-items: flex-start; margin: 8px 0 26px; padding: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--combo-accent) 9%, white), #fff); border: 1px solid color-mix(in srgb, var(--combo-accent) 22%, white); border-radius: 18px; }
.combo-detail-icon { font-size: 48px; line-height: 1; }
.combo-detail-hero h1 { margin: 6px 0 8px; font-size: 30px; }
.combo-detail-hero .lead { color: #525a70; font-size: 15px; line-height: 1.8; max-width: 720px; }
.combo-fit { margin-top: 12px; font-size: 13px; color: var(--muted); }
.combo-fit strong { color: var(--combo-accent); margin-right: 10px; }
.combo-steps { display: flex; flex-direction: column; gap: 8px; }
.combo-step { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfe; }
.combo-step.done { background: #f0fdf4; border-color: #bbf7d0; }
.step-num { font-size: 11px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.step-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.step-main strong { font-size: 14px; }
.step-main small { font-size: 11px; color: var(--muted); }
.step-state { font-size: 11.5px; color: var(--muted); }
.combo-step.done .step-state { color: #15803d; font-weight: 700; }
.combo-progress { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.combo-progress .score-track { flex: 1; height: 7px; }
.combo-progress span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.combo-mode-panel { margin-top: 20px; }
.combo-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.combo-mode-card { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; padding: 22px; background: #fff; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: .18s ease; }
.combo-mode-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow); }
.combo-mode-card.quick:hover { border-color: #0891b2; }
.combo-mode-card.full:hover { border-color: #7c3aed; }
.cm-icon { font-size: 26px; margin-bottom: 4px; }
.combo-mode-card strong { font-size: 17px; }
.combo-mode-card small { font-size: 12px; color: var(--muted); }
.cm-meta { margin-top: 10px; font-size: 12px; color: var(--brand); font-weight: 600; }
.cm-cta { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--brand); }
.combo-mode-note { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
.combo-resume { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; padding: 18px 22px; border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 13px; }
.combo-resume strong { font-size: 14px; }
.combo-resume p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.combo-resume-actions { display: flex; gap: 8px; }
.combo-in-test { display: flex; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 12px; border: 1px solid #c7d2fe; background: #eef2ff; border-radius: 10px; font-size: 12.5px; }
.combo-in-test-icon { font-size: 18px; }
.combo-in-test button { margin-left: auto; border: 0; background: none; color: var(--brand); font-size: 12px; font-weight: 700; cursor: pointer; }

/* 进度保存与恢复 */
.draft-banner { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 20px; padding: 13px 18px; text-align: left; background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; cursor: pointer; font-size: 13px; }
.draft-banner:hover { border-color: #f59e0b; }
.draft-banner strong { color: #92400e; }
.draft-banner > span:nth-child(3) { color: var(--muted); }
.draft-pulse { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 4px #fde68a; flex: none; }
.draft-cta { margin-left: auto; color: #b45309; font-weight: 700; white-space: nowrap; }
.autosave-bar, .resume-bar { display: flex; align-items: center; gap: 12px; padding: 10px 15px; margin-bottom: 14px; border-radius: 10px; font-size: 12px; }
.autosave-bar { color: var(--muted); background: #f8f9fc; border: 1px dashed var(--line); }
.resume-bar { color: #166534; background: #f0fdf4; border: 1px solid #bbf7d0; }
.resume-bar button { margin-left: auto; border: 0; background: none; color: #b91c1c; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.draft-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.draft-row:last-child { border-bottom: 0; }
.draft-icon { flex: none; }
.draft-main { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.draft-main strong { font-size: 14px; }
.draft-main small { font-size: 12px; color: var(--muted); }
.draft-main .test-mode { margin-right: 4px; }
.draft-time { font-size: 11px; color: #9aa0b4; }
.draft-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.sm { padding: 7px 14px; font-size: 12px; }
.combo-running { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; border-color: #c7d2fe; }
.combo-running strong { font-size: 14px; }
.combo-running .panel-sub { margin-top: 4px; }

/* 响应式 */
@media (max-width: 1000px) {
  .hero-art { opacity: .35; right: -60px; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .combo-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .result-grid { grid-template-columns: 1fr; }
  .guide-four { grid-template-columns: repeat(2, 1fr); }
  .guide-three { grid-template-columns: 1fr; }
  .depth-grid { grid-template-columns: 1fr; }
  .depth-col + .depth-col { border-left: 0; border-top: 1px solid var(--line); }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .pop-layout { grid-template-columns: 1fr; }
  .pop-aside { position: static; }
}
@media (max-width: 640px) {
  .container, .hero-inner { width: calc(100% - 32px); }
  .hero-inner { padding: 56px 0 54px; }
  .hero-stats { gap: 24px; }
  .hero-art { display: none; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-note { text-align: left; }
  .rec-grid, .card-grid, .strip-grid, .combo-grid, .combo-mode-grid { grid-template-columns: 1fr; }
  .combo-detail-hero { flex-direction: column; padding: 20px; }
  .draft-row { flex-wrap: wrap; }
  .draft-banner { flex-wrap: wrap; }
  .draft-cta { margin-left: 0; }
  .dim-grid { grid-template-columns: 1fr; }
  .question-card { padding: 24px 20px; }
  .q-text { font-size: 18px; }
  .likert-row { grid-template-columns: 1fr; }
  .likert-option { flex-direction: row; justify-content: flex-start; padding: 10px 14px; gap: 12px; }
  .q-nav-hint { display: none; }
  .stimulus-card { padding: 28px 18px 24px; }
  .stim-items { gap: 8px; margin: 22px 0 26px; }
  .stim-item { min-width: 52px; padding: 12px 12px; font-size: 22px; }
  .result-hero { flex-direction: column; align-items: flex-start; }
  .panel { padding: 20px; }
  .guide-four { grid-template-columns: 1fr; }
  .guide-disclaimer { flex-direction: column; gap: 6px; }
  .profile-items { grid-template-columns: 1fr; }
  .profile-radar .radar { max-width: 100%; }
  .profile-hero { padding: 22px; }
}

@media print {
  .hero, .notice, .footer, .breadcrumb, .result-actions, .test-head { display: none !important; }
  body { background: #fff; }
  .panel { box-shadow: none; break-inside: avoid; }
}

/* ---------- 分享 ---------- */
.share-panel { margin-top: 22px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.share-nets-title { font-size: 12.5px; color: #6b7387; margin: 0 0 10px; }
.share-nets { display: flex; flex-wrap: wrap; gap: 10px; }
.share-net { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; color: #3d4457; cursor: pointer; transition: .18s; font-family: inherit; }
.share-net:hover { border-color: #c7cbf0; box-shadow: 0 4px 14px rgba(80, 80, 160, .09); transform: translateY(-1px); }
.share-dot { width: 8px; height: 8px; border-radius: 50%; }
.share-note { margin: 16px 0 0; font-size: 12.5px; color: #8b93a8; line-height: 1.7; }
.toast { position: fixed; left: 50%; bottom: 38px; transform: translate(-50%, 16px); background: rgba(28, 32, 46, .95); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 13px; opacity: 0; transition: .28s; z-index: 999; pointer-events: none; max-width: 80vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 历史趋势 ---------- */
.trend-panel { margin-top: 22px; }
.trend-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trend-head h2 { margin: 0; }
.trend-delta { font-size: 12.5px; font-weight: 700; color: #6b7387; background: #f1f3fa; padding: 3px 10px; border-radius: 999px; }
.trend-delta.up { color: #b91c1c; background: #fee2e2; }
.trend-delta.down { color: #15803d; background: #dcfce7; }
.trend-svg { width: 100%; height: 150px; margin: 10px 0 8px; display: block; }
.trend-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.trend-list li { display: grid; grid-template-columns: 1fr auto 64px; gap: 12px; align-items: center; font-size: 13px; color: #5c6478; border-top: 1px dashed var(--line); padding-top: 7px; }
.trend-list li strong { color: #2b2f45; text-align: right; }

/* ---------- 手动复制弹窗 ---------- */
.copy-mask { position: fixed; inset: 0; background: rgba(20, 24, 38, .42); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.copy-box { background: #fff; border-radius: 16px; padding: 24px; max-width: 560px; width: 100%; box-shadow: 0 24px 60px rgba(30, 34, 60, .24); }
.copy-box h3 { margin: 0 0 8px; font-size: 16px; color: #2b2f45; }
.copy-box p { margin: 0 0 12px; font-size: 13px; color: #6b7387; }
.copy-box textarea { width: 100%; height: 140px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-family: inherit; resize: vertical; color: #2b2f45; }
.copy-box button { margin-top: 12px; }

/* ---------- IQ 口径说明 ---------- */
.iq-note { margin-top: 16px; padding: 13px 17px; border-radius: 11px; background: #f5f6ff; border: 1px solid #dfe2fa; color: #545b75; font-size: 13px; line-height: 1.75; }
.iq-note b { color: #3b3f7a; }
.iq-note button { margin-left: 10px; padding: 0; border: 0; background: none; color: var(--brand); font-weight: 700; font-size: 12.5px; cursor: pointer; font-family: inherit; }
.iq-explain { margin-top: 20px; padding: 22px 24px; background: #f8f9ff; border: 1px solid #e3e5f7; border-radius: 14px; }
.iq-explain h2 { margin: 0 0 12px; font-size: 16px; color: var(--brand); }
.iq-explain p { margin: 0 0 10px; font-size: 13px; color: #545b75; line-height: 1.8; }
.iq-explain p:last-child { margin-bottom: 0; }
.iq-explain b { color: #3b3f7a; }
.iq-explain code { background: #e9ecfa; color: #3730a3; padding: 2px 6px; border-radius: 5px; font-size: 12.5px; }
.iq-explain .src { font-size: 12px; color: #8b93a8; }
.iq-explain .src a { color: #4f46e5; word-break: break-all; }
.science-row button { margin-left: 8px; padding: 0; border: 0; background: none; color: var(--brand); font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }

/* ---------- 认知测评：两种分数口径 ---------- */
.score-standards { margin-top: 22px; }
.std-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 14px 0 18px; }
.std-card { position: relative; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: #fbfcff; display: flex; flex-direction: column; }
.std-tag { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.std-local .std-tag { background: #e8ecff; color: #4338ca; }
.std-sim .std-tag { background: #fdf0dc; color: #9a5b10; }
.std-value { font-size: 42px; line-height: 1.1; color: #2b2f45; font-weight: 800; margin: 2px 0 8px; }
.std-sim .std-value { color: #9a5b10; }
.std-value small { font-size: 13px; font-weight: 600; margin-left: 6px; color: #8b93a8; }
.std-card h3 { margin: 0 0 8px; font-size: 14px; color: #2b2f45; }
.std-card p { margin: 0; font-size: 12.5px; color: #6b7387; line-height: 1.75; }
.std-card p b { color: #3b3f7a; }
.std-formula { margin-top: 10px; padding: 9px 10px; border-radius: 8px; background: #fdf6ea; border: 1px solid #f3e3c8; color: #8a5a17; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; line-height: 1.9; word-break: break-word; }
.std-detail { margin-top: 14px; padding: 16px 18px; border-radius: 11px; background: #fdfaf4; border: 1px solid #f2e7d4; }
.std-detail > strong { display: block; font-size: 13.5px; color: #8a5a17; margin-bottom: 8px; }
.std-detail p { margin: 0 0 9px; font-size: 12.5px; color: #6b7387; line-height: 1.8; }
.std-detail ul { margin: 0 0 10px; padding-left: 18px; }
.std-detail li { font-size: 12.5px; color: #6b7387; line-height: 1.8; margin-bottom: 3px; }
.std-detail code { background: #f3ead9; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.std-detail .src { font-size: 11.5px; color: #9aa1b3; }
.std-detail .src a { color: #4f46e5; word-break: break-all; }
.std-table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; font-size: 12px; }
.std-table th, .std-table td { padding: 6px 8px; border-bottom: 1px solid #eae2d4; text-align: left; color: #6b7387; }
.std-table th { color: #8a5a17; font-weight: 700; background: rgba(255, 255, 255, .5); }
.iq-explain h3 { margin: 16px 0 8px; font-size: 14px; color: var(--brand); }
@media (max-width: 860px) { .std-grid { grid-template-columns: 1fr; } }

/* ---------- 基于分数的个性化建议 / 组合建议 ---------- */
.advice-panel.personal-advice { border-left: 3px solid #10b981; }
.advice-panel.personal-advice li { line-height: 1.8; }
.advice-panel.personal-advice li.urgent { color: #9a3412; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 9px; padding: 10px 12px; list-style: none; margin-left: -20px; }
.advice-panel.personal-advice li.urgent strong { color: #c2410c; }
.combo-advice { border-left: 3px solid #059669; }
.combo-advice ul { margin: 12px 0 0; padding-left: 20px; }
.combo-advice li { margin: 9px 0; color: #4b5268; font-size: 13px; line-height: 1.8; }
.combo-advice li strong { color: #065f46; margin-right: 4px; }
.combo-crisis { margin-top: 12px; padding: 11px 14px; border-radius: 9px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 12.5px; line-height: 1.75; }

/* ---------- 匿名全站排名开关 ---------- */
.rank-panel.global-rank { border-left: 3px solid #5b5bd6; }
.rank-panel.global-rank .rank-head strong { color: #4f46e5; }
.rank-consent { margin-top: 10px; padding: 12px 14px; border: 1px solid #e6e9f2; border-radius: 10px; background: #fafbff; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.rank-switch { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #3a3f57; font-weight: 600; cursor: pointer; }
.rank-switch input { width: 16px; height: 16px; accent-color: #5b5bd6; cursor: pointer; }
.rank-consent-note { flex: 1 1 320px; font-size: 11.5px; color: #7b8299; line-height: 1.6; }
.rank-consent .btn { margin-left: auto; }
