/* ===========================================================
   问到底 · 视觉样式
   =========================================================== */
:root {
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --card: #fffdf9;
  --ink: #171512;
  --ink-2: #575248;
  --ink-3: #948d7f;
  --ink-4: #b6ae9e;
  --line: #e6e0d3;
  --line-2: #efeae0;
  --green: #1f4b43;
  --green-2: #2c6a5d;
  --green-soft: #e5efea;
  --terra: #c0653c;
  --terra-soft: #f7e7de;
  --radius: 22px;
  --shadow-s: 0 1px 2px rgba(31, 33, 29, .04), 0 6px 18px -10px rgba(31, 33, 29, .18);
  --shadow-m: 0 2px 4px rgba(31, 33, 29, .04), 0 18px 48px -24px rgba(31, 33, 29, .35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  overflow-x: hidden;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; }

.bg-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, #e8f1ec 0%, rgba(232, 241, 236, 0) 62%),
    radial-gradient(760px 460px at 92% 4%, #f8e9df 0%, rgba(248, 233, 223, 0) 60%),
    radial-gradient(900px 700px at 50% 108%, #f0ece1 0%, rgba(240, 236, 225, 0) 70%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E");
}

/* ---------------------------- 顶栏 ---------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(247, 244, 238, .82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }

.topbar-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; padding: 0; border-radius: 12px; }
.brand-mark { display: flex; transition: transform .3s cubic-bezier(.2, .8, .3, 1.2); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand-name { font-size: 16px; font-weight: 700; letter-spacing: .06em; }
.brand-sub { font-size: 9px; letter-spacing: .22em; color: var(--ink-3); font-family: var(--mono); margin-top: 3px; }

.topbar-right { display: flex; align-items: center; gap: 10px; }

.counter {
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: .02em;
  white-space: nowrap;
}

.progress-track { height: 2px; background: transparent; }
.progress-fill {
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-2) 55%, var(--terra) 100%);
  transition: width .5s cubic-bezier(.3, .9, .25, 1);
}

/* ---------------------------- 布局 ---------------------------- */
.view {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(28px, 6vh, 68px) 24px 40px;
  min-height: 74vh;
}

.site-footer {
  max-width: 940px;
  margin: 0 auto;
  padding: 8px 24px 40px;
  font-size: 11.5px;
  color: var(--ink-4);
  letter-spacing: .02em;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.site-footer .dot { opacity: .6; }

/* ---------------------------- 按钮 ---------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .16s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.975); }

.btn-primary {
  background: var(--green);
  color: #fbfaf6;
  box-shadow: 0 10px 24px -12px rgba(31, 75, 67, .8);
}
.btn-primary:hover { background: #18403a; box-shadow: 0 16px 30px -14px rgba(31, 75, 67, .85); }
.btn-primary:disabled { opacity: .38; box-shadow: none; cursor: not-allowed; transform: none; }

.btn-line { border: 1px solid var(--line); background: rgba(255, 253, 249, .7); color: var(--ink-2); }
.btn-line:hover { border-color: var(--ink-3); color: var(--ink); background: #fff; }

.btn-ghost { color: var(--ink-3); padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 13px; }
.btn-ghost:hover { color: var(--ink); background: rgba(31, 33, 29, .05); }

.btn-sm { padding: 9px 16px; font-size: 13px; }

.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-btn {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.link-btn:hover { color: var(--green); border-bottom-color: var(--green); }

/* ---------------------------- 首页 ---------------------------- */
.hero { padding-top: clamp(8px, 3vh, 30px); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--green-2);
  font-family: var(--mono);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--green-2);
  opacity: .5;
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(38px, 7.4vw, 66px);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--ink);
}
.hero-title em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: linear-gradient(90deg, rgba(192, 101, 60, .22), rgba(192, 101, 60, .05));
  z-index: -1;
  border-radius: 3px;
}

.hero-sub {
  font-size: clamp(15px, 2.1vw, 17.5px);
  color: var(--ink-2);
  max-width: 47em;
  margin: 0 0 34px;
  line-height: 1.85;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 52px; }
.hero--slim .hero-sub { margin-bottom: 30px; }
.hero--slim .hero-actions { margin-bottom: 0; }

.resume-note,
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
}
.hero-note { font-size: 12.5px; color: var(--ink-4); }

/* ---------------------------- 答题 ---------------------------- */
.quiz-wrap { max-width: 760px; margin: 0 auto; }

.quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  min-height: 26px;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 4px 11px 4px 8px;
  border-radius: 999px;
  background: var(--chip-bg, #eef2ee);
  color: var(--chip-fg, #2c6a5d);
  font-weight: 600;
}
.section-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .75; }

.depth-chip {
  font-size: 11.5px;
  color: var(--terra);
  background: var(--terra-soft);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.depth-chip::before { content: "↳"; font-size: 12px; opacity: .8; }

/* 话题之间的过渡语 */
.q-bridge {
  display: flex;
  gap: 11px;
  align-items: stretch;
  margin: 2px 4px 15px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
  animation: rise .36s cubic-bezier(.2, .8, .2, 1) both;
}
.q-bridge::before {
  content: "";
  flex: none;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--green-2), rgba(44, 106, 93, 0));
  opacity: .55;
}

.q-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4.4vw, 42px);
  box-shadow: var(--shadow-m);
  animation: rise .42s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.q-index {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.q-title {
  font-size: clamp(20px, 3.1vw, 27px);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 9px;
}

.q-sub {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 26px;
  line-height: 1.7;
}

.options { display: flex; flex-direction: column; gap: 9px; }

.opt {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffefb;
  transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
  position: relative;
}
.opt:hover { border-color: #cfc7b6; background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-s); }
.opt:focus-visible { outline: 2px solid var(--green-2); outline-offset: 2px; }

.opt-key {
  flex: none;
  width: 25px; height: 25px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-3);
  font-size: 11.5px;
  font-family: var(--mono);
  display: flex; align-items: center; justify-content: center;
  transition: all .18s;
}
.opt-label { font-size: 15px; color: var(--ink); line-height: 1.5; flex: 1; }
.opt-note { font-size: 12px; color: var(--ink-4); flex: none; }

.opt.is-selected {
  border-color: var(--green);
  background: linear-gradient(180deg, #f3f8f5, #fbfdfb);
  box-shadow: 0 0 0 1px var(--green) inset, 0 8px 18px -14px rgba(31, 75, 67, .7);
}
.opt.is-selected .opt-key { background: var(--green); border-color: var(--green); color: #fff; }
.opt.is-selected .opt-label { font-weight: 600; }

.opt-check {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all .18s;
}
.opt.is-selected .opt-check { background: var(--green); border-color: var(--green); }
.opt-check svg { width: 11px; height: 11px; opacity: 0; transform: scale(.6); transition: all .18s; }
.opt.is-selected .opt-check svg { opacity: 1; transform: none; }

/* 单选：圆形选择点 */
.opt--radio .opt-check {
  border-radius: 50%;
  border-color: #d8d1c1;
  background: #fff;
}
.opt--radio .opt-check svg { display: none; }
.opt--radio.is-selected .opt-check {
  background: var(--green);
  border-color: var(--green);
  box-shadow: inset 0 0 0 3.5px #fff;
}

/* 文本题 */
.text-area {
  width: 100%;
  min-height: 118px;
  resize: none;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fffefb;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.text-area::placeholder { color: var(--ink-4); }
.text-area:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 75, 67, .1);
}
.text-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 12px;
  color: var(--ink-4);
}
.suggest-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.suggest-chip {
  font-size: 12.5px;
  color: var(--ink-2);
  border: 1px dashed var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  transition: all .18s;
}
.suggest-chip:hover { border-color: var(--green); color: var(--green); background: var(--green-soft); }

/* 数字题 */
.num-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 18px 4px 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffefb;
  transition: border-color .2s, box-shadow .2s;
}
.num-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 75, 67, .1);
}
.num-input {
  width: 116px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 8px 2px;
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  color: var(--ink);
}
.num-input::placeholder {
  color: var(--ink-4);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
}
.num-input::-webkit-outer-spin-button,
.num-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num-input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.num-unit { font-size: 14px; color: var(--ink-3); padding-right: 2px; }

/* 量表题 */
.scale-row { display: flex; flex-direction: column; gap: 7px; }
.scale-top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-4); margin-bottom: 4px; }
.scale-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale-btn {
  border: 1px solid var(--line);
  background: #fffefb;
  border-radius: 12px;
  padding: 14px 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.4;
  transition: all .18s;
}
.scale-btn:hover { border-color: #cfc7b6; transform: translateY(-1px); }
.scale-btn.is-selected {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 18px -12px rgba(31, 75, 67, .8);
}
.scale-btn .n { display: block; font-family: var(--mono); font-size: 10.5px; opacity: .55; margin-bottom: 3px; }

/* 底部操作条 */
.q-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.q-foot-left, .q-foot-right { display: flex; align-items: center; gap: 14px; }

.kbd-hint { font-size: 11.5px; color: var(--ink-4); font-family: var(--mono); }
.kbd-hint kbd {
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 10.5px;
  background: #fff;
  font-family: var(--mono);
}

/* ---------------------------- 分析中 ---------------------------- */
.analyzing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 12vh, 100px) 20px;
  animation: fade .4s ease both;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

.scan-ring {
  position: relative;
  width: 132px; height: 132px;
  margin-bottom: 34px;
}
.scan-ring::before, .scan-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0;
  animation: pulse 2.6s ease-out infinite;
}
.scan-ring::after { animation-delay: 1.3s; }
@keyframes pulse {
  0% { transform: scale(.55); opacity: .55; }
  100% { transform: scale(1.15); opacity: 0; }
}
.scan-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c6a5d, #1f4b43);
  box-shadow: 0 20px 40px -22px rgba(31, 75, 67, .9);
  display: flex; align-items: center; justify-content: center;
  color: #f8f6f1;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
}

.analyzing h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; }
.analyzing p { color: var(--ink-3); font-size: 14px; margin: 0; max-width: 30em; }
.analyzing .scan-line {
  margin-top: 30px;
  width: min(360px, 70vw);
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.analyzing .scan-line i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--green-2), transparent);
  animation: sweep 1.4s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-100%) } 100% { transform: translateX(350%) } }

/* ---------------------------- 结果页 ---------------------------- */
.result-head { margin-bottom: 30px; animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.result-eyebrow {
  font-size: 11.5px;
  letter-spacing: .16em;
  font-family: var(--mono);
  color: var(--ink-3);
  margin-bottom: 12px;
}
.result-title {
  font-size: clamp(26px, 4.6vw, 40px);
  line-height: 1.24;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0 0 14px;
}
.result-title .hl { color: var(--green); }
.result-lead { color: var(--ink-2); font-size: 15px; max-width: 46em; line-height: 1.85; margin: 0; }

.top-career {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-m);
  margin: 26px 0 18px;
  animation: rise .5s .06s cubic-bezier(.2, .8, .2, 1) both;
  position: relative;
  overflow: hidden;
}
.top-career::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 101, 60, .12), transparent 70%);
}

.score-ring {
  --p: 0;
  width: 152px; height: 152px;
  border-radius: 50%;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--paper-2) 0);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  align-self: start;
}
.score-ring::after {
  content: "";
  position: absolute;
  inset: 11px;
  background: var(--card);
  border-radius: 50%;
}
.score-inner { position: relative; z-index: 1; text-align: center; line-height: 1.1; }
.score-num { font-size: 38px; font-weight: 800; letter-spacing: -.03em; color: var(--green); }
.score-num small { font-size: 14px; font-weight: 600; margin-left: 1px; }
.score-label { font-size: 10.5px; color: var(--ink-3); letter-spacing: .12em; margin-top: 5px; }

.career-tag {
  font-size: 11.5px;
  color: var(--terra);
  background: var(--terra-soft);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.career-name {
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  line-height: 1.25;
}
.career-tagline { font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px; line-height: 1.8; }

.career-meta { display: grid; gap: 11px; }
.career-meta-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; font-size: 13.5px; }
.career-meta-row dt { color: var(--ink-4); font-size: 12px; padding-top: 2px; }
.career-meta-row dd { margin: 0; color: var(--ink-2); line-height: 1.7; }

.evidence {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.evidence-title { font-size: 12px; color: var(--ink-4); letter-spacing: .04em; margin-bottom: 10px; }
.evidence-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.evidence-list li {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.evidence-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--terra);
  opacity: .7;
}
.evidence-list b { color: var(--ink); font-weight: 600; }

.alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 34px;
}
.alt-card {
  background: rgba(255, 253, 249, .72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: rise .5s .12s cubic-bezier(.2, .8, .2, 1) both;
}
.alt-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); border-color: #d8d0bf; }
.alt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.alt-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.alt-score { font-family: var(--mono); font-size: 12px; color: var(--green-2); }
.alt-tagline { font-size: 13px; color: var(--ink-3); line-height: 1.7; margin: 0 0 12px; }
.alt-bar { height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.alt-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-2), var(--green)); border-radius: 4px; animation: grow .8s .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { width: 0 !important } }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.6vw, 32px);
  margin-bottom: 16px;
  box-shadow: var(--shadow-s);
}
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.panel-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.panel-sub { font-size: 12px; color: var(--ink-4); }

.trait-layout { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: center; }
.radar-holder { width: 100%; }
.radar-holder svg { width: 100%; height: auto; overflow: visible; }

.trait-bars { display: grid; gap: 13px; }
.trait-bar { display: grid; grid-template-columns: 66px 1fr 32px; gap: 11px; align-items: center; }
.trait-bar .name { font-size: 12.5px; color: var(--ink-2); }
.trait-bar .track { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.trait-bar .track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #9fc0b4, var(--green)); animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.trait-bar .val { font-family: var(--mono); font-size: 11.5px; color: var(--ink-4); text-align: right; }

.trait-note {
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.8;
}

.summary-chips { display: flex; flex-direction: column; }
.sum-section {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px dashed var(--line-2);
}
.sum-section:first-child { border-top: none; padding-top: 0; }
.sum-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding-top: 6px;
  white-space: nowrap;
}
.sum-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sum-chip {
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 6px 11px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sum-chip.more { color: var(--ink-4); background: transparent; }

.result-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 10px;
}
.result-actions .spacer { flex: 1; }

.next-hint {
  font-size: 12.5px;
  color: var(--ink-4);
  margin-top: 14px;
  line-height: 1.7;
}

.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.focus-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: #fffefb;
  transition: all .18s;
}
.focus-card:hover { border-color: var(--green); background: var(--green-soft); transform: translateY(-1px); }
.focus-card .t { font-size: 13.5px; font-weight: 650; margin-bottom: 3px; }
.focus-card .d { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }

/* 回看抽屉 */
.drawer-mask {
  position: fixed;
  inset: 0;
  background: rgba(23, 21, 18, .34);
  backdrop-filter: blur(3px);
  z-index: 60;
  opacity: 0;
  animation: fade .2s ease forwards;
}
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 92vw);
  background: var(--card);
  z-index: 61;
  box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .4);
  transform: translateX(100%);
  animation: slidein .3s cubic-bezier(.2, .8, .2, 1) forwards;
  display: flex;
  flex-direction: column;
}
@keyframes slidein { to { transform: none } }
.drawer-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-title { font-size: 15px; font-weight: 700; }
.drawer-body { overflow-y: auto; padding: 10px 22px 30px; }
.ans-item { padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.ans-q { font-size: 12px; color: var(--ink-4); margin-bottom: 3px; }
.ans-a { font-size: 13.5px; color: var(--ink); line-height: 1.6; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #f8f6f1;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------- 岗位细化 ---------------------------- */
.refine-cta {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(44, 106, 93, .09), rgba(192, 101, 60, .08));
  border: 1px dashed rgba(44, 106, 93, .35);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.refine-cta-text { flex: 1 1 220px; display: grid; gap: 4px; }
.refine-cta-text b { font-size: 14px; letter-spacing: -.01em; }
.refine-cta-text span { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }

.alt-refine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--green);
  border-bottom: 1px dashed rgba(44, 106, 93, .4);
  padding: 0 0 2px;
  transition: color .18s, border-color .18s;
}
.alt-refine:hover { color: var(--terra); border-color: var(--terra); }

.refine-head { margin-bottom: 22px; animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.refine-title {
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 10px 0;
}
.refine-lead { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin: 0; max-width: 620px; }

.refine-progress { display: flex; align-items: center; gap: 12px; margin: 0 4px 14px; }
.refine-count { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; }
.refine-dots { display: inline-flex; gap: 6px; }
.refine-dots i {
  width: 22px; height: 4px;
  border-radius: 4px;
  background: var(--paper-2);
  transition: background .2s;
}
.refine-dots i.done { background: var(--green-2); }
.refine-dots i.now { background: var(--terra); }

.refine-card { max-width: 760px; }

.role-list { display: grid; gap: 14px; margin: 22px 0 26px; }
.role-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px 18px;
  box-shadow: var(--shadow-s);
  animation: rise .5s cubic-bezier(.2, .8, .2, 1) both;
}
.role-card.is-top {
  border-color: rgba(44, 106, 93, .45);
  background: linear-gradient(180deg, rgba(44, 106, 93, .05), rgba(255, 253, 249, .9));
  box-shadow: var(--shadow-m);
}
.role-head { display: flex; align-items: flex-start; gap: 14px; }
.role-rank {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-4);
  padding-top: 4px;
  letter-spacing: .06em;
}
.role-card.is-top .role-rank { color: var(--green); }
.role-main { flex: 1; min-width: 0; }
.role-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.role-tag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--terra);
  background: var(--terra-soft);
  border-radius: 999px;
  padding: 2px 9px;
  letter-spacing: .02em;
}
.role-desc { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin: 6px 0 0; }
.role-score {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  padding-top: 2px;
  white-space: nowrap;
}
.role-score small { font-size: 11px; font-weight: 600; margin-left: 1px; color: var(--ink-3); }
.role-bar {
  height: 4px;
  border-radius: 4px;
  background: var(--paper-2);
  overflow: hidden;
  margin-top: 16px;
}
.role-bar i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--green-2), var(--green));
  animation: grow .8s .15s cubic-bezier(.2, .8, .2, 1) both;
}
.refine-actions { margin-top: 8px; }

/* ---------------------------- 响应式 ---------------------------- */
@media (max-width: 760px) {
  .topbar-inner { padding: 11px 16px; }
  .view { padding: 24px 16px 28px; }
  .site-footer { padding: 6px 16px 30px; }
  .top-career { grid-template-columns: 1fr; gap: 22px; }
  .score-ring { width: 118px; height: 118px; }
  .score-num { font-size: 30px; }
  .alt-grid { grid-template-columns: 1fr; }
  .trait-layout { grid-template-columns: 1fr; gap: 20px; }
  .radar-holder { max-width: 300px; margin: 0 auto; }
  .focus-grid { grid-template-columns: 1fr; }
  .q-foot { flex-wrap: wrap; }
  .q-foot-left { order: 2; }
  .q-foot-right { order: 1; margin-left: auto; }
  .kbd-hint { display: none; }
  .career-meta-row { grid-template-columns: 62px 1fr; }
  .brand-sub { display: none; }
  .counter { font-size: 11.5px; }
  .refine-cta { align-items: stretch; }
  .refine-cta .btn { justify-content: center; }
  .role-card { padding: 17px 16px 15px; }
  .role-head { gap: 9px; }
  .role-score { font-size: 17px; }
}

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