/* ============================================================
   HEARTBEAT TYPE  |  心动体质
   A field-guide inspired identity: ink, paper, vermilion, acid.
   ============================================================ */

:root {
  --ink: #10100e;
  --ink-soft: #1a1917;
  --ink-3: #232220;
  --paper: #f6efe3;
  --paper-2: #ece3d2;
  --paper-3: #ddd4c0;
  --red: #ff5470;
  --red-deep: #d63a55;
  --lime: #ffd166;
  --sky: #8fc7ff;
  --muted: #8f897d;
  --muted-paper: #7a7266;
  --line: rgba(243, 238, 226, 0.14);
  --line-strong: rgba(243, 238, 226, 0.26);
  --line-paper: rgba(16, 16, 14, 0.14);
  --line-paper-strong: rgba(16, 16, 14, 0.32);

  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, sans-serif;
  --serif: "Songti SC", "STSong", "SimSun", Georgia, "Times New Roman", serif;
  --mono: "Cascadia Mono", "JetBrains Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --nav-h: 66px;
  --radius: 3px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

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

body.is-locked { overflow: hidden; }

::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-140%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- type helpers ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 77, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0); }
}

.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b { color: var(--paper); font-weight: 500; }

.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.lead strong { color: var(--paper); font-weight: 600; }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
}

.section {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0;
}
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper .kicker,
.section--paper .lead { color: var(--muted-paper); }
.section--paper .eyebrow { color: var(--muted-paper); }
.section--paper .eyebrow b { color: var(--ink); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-top: 14px;
  text-wrap: balance;
}
.section-head .head-note {
  max-width: 40ch;
  justify-self: end;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}
.section--paper .section-head .head-note { color: var(--muted-paper); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.section--paper .rule { background: var(--line-paper); }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  --btn-bd: var(--red);
}
.btn-primary:hover { --btn-bg: #ff6247; --btn-bd: #ff6247; box-shadow: 0 10px 30px -12px rgba(255, 77, 46, 0.7); }

.btn-lime {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  --btn-bd: var(--lime);
}
.btn-lime:hover { --btn-bg: #e4ff85; --btn-bd: #e4ff85; }

.btn-ghost:hover { --btn-bd: var(--paper); background: rgba(243, 238, 226, 0.05); }

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
}
.btn-outline-dark {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-paper-strong);
}
.btn-outline-dark:hover { --btn-bd: var(--ink); }

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 16px; }

.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* ---------- nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 10, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-size: 15px; letter-spacing: 0.02em; font-weight: 800; }
.brand-text em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 13px;
  font-size: 14px;
  color: #cfc8ba;
  border-radius: 2px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--paper); }
.nav-links a.is-active { color: var(--ink); background: var(--lime); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.25s, top 0.25s;
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 23px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

.mobile-menu {
  display: grid;
  padding: 8px 22px 22px;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mobile-menu a:last-child { border-bottom: 0; color: var(--red); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(255, 77, 46, 0.13), transparent 62%),
    radial-gradient(700px 420px at 8% 96%, rgba(217, 255, 87, 0.07), transparent 65%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 75% 75% at 40% 45%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 40% 45%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 44px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - var(--nav-h) - 92px);
}
.hero-copy { max-width: 660px; }
.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h1 .mark {
  display: inline-block;
  padding: 0 0.12em 0.02em;
  margin: 0 -0.02em;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-1.2deg);
}
.hero h1 .thin {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.01em;
}
.hero .lede {
  max-width: 34em;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: #b7b0a3;
}
.hero .lede strong { color: var(--paper); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 30px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero-stats b { display: block; color: var(--paper); font-size: 19px; letter-spacing: -0.02em; font-weight: 600; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
}
.specimen-stack {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 0.72;
}
.specimen-card {
  position: absolute;
  inset: 0;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: linear-gradient(160deg, #1c1b18, #111110 60%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.specimen-card--back {
  transform: rotate(5deg) translate(18px, 10px);
  background: var(--paper);
  border-color: var(--paper);
  opacity: 0.9;
  z-index: 0;
}
.specimen-card--back2 {
  transform: rotate(-6deg) translate(-20px, 18px);
  background: #26241f;
  z-index: 0;
}
.specimen-card--front { z-index: 2; transform: rotate(-2.2deg); }
.specimen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.specimen-top .live { color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.specimen-top .live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
.specimen-figure {
  flex: 1;
  display: grid;
  place-items: center;
  position: relative;
  margin: 8px 0;
}
.specimen-figure::before {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.specimen-figure::after {
  content: "";
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border: 1px dashed rgba(243, 238, 226, 0.1);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.specimen-emoji {
  position: relative;
  z-index: 2;
  font-size: clamp(64px, 9vw, 108px);
  line-height: 1;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.55));
  transform: translateY(-4px);
}
.specimen-name {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.specimen-name small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-top: 9px;
  text-transform: uppercase;
}
.specimen-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.specimen-body p { font-size: 12px; color: var(--muted); max-width: 21ch; line-height: 1.6; }
.specimen-radar { width: 108px; height: 108px; flex: none; opacity: 0.9; }
.barcode {
  height: 26px;
  margin-top: 16px;
  background-image: repeating-linear-gradient(90deg, var(--paper-2) 0 2px, transparent 2px 4px, var(--paper-2) 4px 5px, transparent 5px 9px, var(--paper-2) 9px 12px, transparent 12px 14px);
  opacity: 0.55;
}
.specimen-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}
.sticker {
  position: absolute;
  right: -14px;
  top: 74px;
  z-index: 3;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: rotate(10deg);
  box-shadow: 0 10px 30px -10px rgba(255, 77, 46, 0.8);
}
.sticker b { display: block; font-size: 15px; letter-spacing: 0; }

.hero-ticker {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 11px 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.ticker-track em { font-style: normal; color: var(--paper); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-paper);
}
.step {
  padding: 30px clamp(18px, 2.6vw, 34px) 34px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  position: relative;
}
.step:last-child { border-right: 0; }
.step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-paper);
}
.step h3 {
  margin: 42px 0 12px;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
  font-weight: 800;
}
.step p { color: var(--muted-paper); font-size: 14.5px; line-height: 1.75; }
.step .glyph {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--line-paper-strong);
}

/* ---------- species wall ---------- */

.species-wall { padding: clamp(40px, 6vw, 70px) 0 0; overflow: hidden; max-width: 100%; }
.marquee-row {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 8px 0;
  animation: marquee 70s linear infinite;
}
.marquee-row--rev { animation-direction: reverse; animation-duration: 82s; }
.marquee-row:hover { animation-play-state: paused; }
.species-mini {
  position: relative;
  flex: none;
  width: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #151412;
  transition: border-color 0.25s, transform 0.35s var(--ease), background 0.25s;
}
.species-mini:hover {
  border-color: var(--lime);
  background: #1b1a16;
  transform: translateY(-4px);
}
.species-mini-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.species-mini-emoji { font-size: 40px; margin: 18px 0 14px; line-height: 1; }
.species-mini h4 { font-family: var(--serif); font-size: 23px; font-weight: 400; letter-spacing: 0.02em; }
.species-mini h4 span { color: var(--muted); font-size: 14px; margin-left: 6px; }
.species-mini p { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.6; min-height: 2.9em; }
.species-mini .traitline {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.wall-foot {
  display: flex;
  justify-content: center;
  padding: 34px 0 0;
}

/* ---------- report preview ---------- */

.preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.preview-copy h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 16px 0 22px;
  font-weight: 800;
}
.preview-copy .lead { max-width: 36ch; }
.feature-list { margin-top: 30px; display: grid; gap: 0; }
.feature-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-paper);
  align-items: start;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line-paper); }
.feature-list .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-paper);
  padding-top: 3px;
}
.feature-list b { display: block; font-size: 15px; letter-spacing: 0.01em; }
.feature-list span { font-size: 13px; color: var(--muted-paper); }

.mock-report {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 34px);
  transform: rotate(1.4deg);
  box-shadow: 24px 30px 0 -8px rgba(16, 16, 14, 0.09), 0 40px 80px -50px rgba(0, 0, 0, 0.6);
}
.mock-report::after {
  content: "SAMPLE / 样本";
  position: absolute;
  right: 18px;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.mock-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.mock-head strong { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: 0.02em; }
.mock-head span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 1fr 148px; gap: 22px; align-items: center; padding: 20px 0 8px; }
.mock-quote { font-size: 13px; color: #b7b0a3; line-height: 1.8; min-height: 6.6em; }
.mock-bars { display: grid; gap: 9px; margin-top: 16px; }
.mock-bar { display: grid; grid-template-columns: 44px 1fr 26px; gap: 10px; align-items: center; font-family: var(--mono); font-size: 9px; color: var(--muted); }
.mock-bar i { display: block; height: 4px; background: rgba(243, 238, 226, 0.12); position: relative; }
.mock-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w, 50%); background: var(--lime); }

/* ---------- circles strip ---------- */

.circle-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.circle-chip {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #141311;
  transition: transform 0.3s var(--ease), border-color 0.25s;
}
.circle-chip:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.circle-chip .en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.circle-chip h4 { font-size: 18px; margin-top: 8px; letter-spacing: -0.01em; }
.circle-chip p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-top: 8px; }
.circle-chip .arrow { font-family: var(--mono); font-size: 14px; align-self: flex-end; color: var(--red); }

/* ---------- jobs strip ---------- */

.job-rows { border-top: 1px solid var(--line-paper); }
.job-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) 120px 28px;
  gap: 18px;
  align-items: center;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line-paper);
  transition: background 0.2s, padding 0.25s;
}
.job-row:hover { background: rgba(16, 16, 14, 0.035); padding-left: 14px; }
.job-row .no { font-family: var(--mono); font-size: 11px; color: var(--muted-paper); }
.job-row .nm { font-weight: 700; font-size: 17px; }
.job-row .nm em { font-weight: 400; font-style: normal; color: var(--muted-paper); font-size: 13px; margin-left: 8px; }
.job-row .dm { font-size: 12.5px; color: var(--muted-paper); }
.job-row .cold { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--muted-paper); }
.job-row .go { font-size: 18px; color: var(--ink); opacity: 0.35; transition: opacity 0.2s, transform 0.2s; }
.job-row:hover .go { opacity: 1; transform: translateX(3px); }

/* ---------- manifesto ---------- */

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}
.manifesto-title { grid-column: span 5; }
.manifesto-title h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-top: 16px;
  font-weight: 800;
}
.manifesto-list { grid-column: span 7; display: grid; gap: 0; border-top: 1px solid var(--line-paper); }
.manifesto-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-paper);
}
.manifesto-item .n { font-family: var(--serif); font-size: 22px; color: var(--muted-paper); }
.manifesto-item h3 { font-size: 19px; margin-bottom: 7px; letter-spacing: -0.01em; }
.manifesto-item p { font-size: 14px; color: var(--muted-paper); line-height: 1.75; }
.quote-block {
  margin-top: 54px;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-paper-strong);
  position: relative;
  background: rgba(255, 255, 255, 0.24);
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 28px);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.quote-block cite {
  display: block;
  margin-top: 18px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-paper);
  text-transform: uppercase;
}
.quote-block::before {
  content: "“";
  position: absolute;
  top: -6px;
  left: 18px;
  font-family: var(--serif);
  font-size: 70px;
  color: var(--red);
  line-height: 1;
}

/* ---------- faq ---------- */

.faq { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 18px;
  transition: transform 0.25s;
  color: var(--muted);
}
.faq details[open] summary .plus { transform: rotate(45deg); color: var(--red); }
.faq details p { padding: 0 4px 24px; color: var(--muted); font-size: 14.5px; max-width: 68ch; line-height: 1.8; }

/* ---------- final cta ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: clamp(70px, 9vw, 120px) 20px;
}
.final-cta h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.final-cta p { margin: 20px auto 32px; max-width: 44ch; color: rgba(255, 255, 255, 0.82); font-size: 16px; }
.final-cta .btn { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.final-cta .btn:hover { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-bd: var(--lime); }
.final-cta .big-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 46vw;
  opacity: 0.07;
  pointer-events: none;
  line-height: 1;
}

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: #0c0c0b; }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 70px) clamp(20px, 4vw, 44px) 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
}
.footer-brand { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.footer-brand p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 40ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: 14px; font-weight: 500; }
.footer-cols a, .footer-cols span { display: block; font-size: 13px; color: var(--muted); padding: 5px 0; transition: color 0.2s; }
.footer-cols a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px clamp(20px, 4vw, 44px) 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============================================================
   START / MODE SELECT
   ============================================================ */

.start-page { min-height: calc(100svh - var(--nav-h)); display: grid; place-items: center; padding: clamp(30px, 6vw, 70px) 20px; position: relative; }
.start-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 500px at 50% 10%, rgba(255, 77, 46, 0.12), transparent 65%);
  pointer-events: none;
}
.start-inner { position: relative; width: min(920px, 100%); }
.start-inner .kicker { margin-bottom: 20px; }
.start-inner h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 14px;
}
.start-inner .lead { max-width: 52ch; }
.mode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 34px 0 22px; }
.mode-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 24px;
  background: #141311;
  transition: border-color 0.2s, transform 0.3s var(--ease), background 0.2s;
  position: relative;
}
.mode-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.mode-card.is-selected { border-color: var(--lime); background: #1a1c13; }
.mode-card.is-selected::after {
  content: "已选";
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  background: var(--lime);
  color: var(--ink);
  padding: 3px 7px;
  border-radius: 2px;
}
.mode-card .mode-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.mode-card .mode-name span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--line); padding: 3px 6px; border-radius: 2px; font-weight: 400; }
.mode-card .mode-desc { margin: 10px 0 16px; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.mode-meta { display: flex; gap: 18px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; }
.mode-meta b { color: var(--paper); }
.start-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; font-size: 12px; color: var(--muted); }
.start-note .resume { color: var(--lime); }

/* ============================================================
   QUIZ
   ============================================================ */

.quiz-page { background: var(--paper); color: var(--ink); min-height: calc(100svh - var(--nav-h)); }
.quiz-top {
  position: sticky;
  top: var(--nav-h);
  z-index: 40;
  background: rgba(243, 238, 226, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-paper);
}
.quiz-top-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px clamp(20px, 4vw, 44px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.quiz-progress { flex: 1; display: flex; align-items: center; gap: 14px; }
.quiz-bar { flex: 1; height: 3px; background: var(--line-paper); position: relative; overflow: hidden; }
.quiz-bar i { position: absolute; inset: 0; width: 0%; background: var(--ink); transition: width 0.45s var(--ease); }
.quiz-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-paper); white-space: nowrap; }
.quiz-count b { color: var(--ink); font-size: 13px; }
.quiz-tools { display: flex; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-paper);
  border-radius: 2px;
  font-size: 15px;
  color: var(--muted-paper);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.icon-btn.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.quiz-body { max-width: 820px; margin: 0 auto; padding: clamp(34px, 6vw, 70px) clamp(20px, 4vw, 44px) 120px; }
.q-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.q-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-paper);
  border: 1px solid var(--line-paper);
  padding: 5px 9px;
  border-radius: 2px;
}
.q-type { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted-paper); text-transform: uppercase; }
.q-scene {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-deep);
  margin-bottom: 14px;
}
.q-title {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 10px;
  text-wrap: pretty;
}
.q-hint { font-size: 13px; color: var(--muted-paper); margin-bottom: 30px; }

.options { display: grid; gap: 10px; }
.option {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 18px 18px;
  border: 1px solid var(--line-paper);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
  transition: border-color 0.18s, background 0.18s, transform 0.22s var(--ease);
  min-height: 66px;
}
.option:hover { border-color: var(--ink); background: #fffdf6; transform: translateX(3px); }
.option.is-picked { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.option .key {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line-paper-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-paper);
  flex: none;
}
.option.is-picked .key { border-color: rgba(243, 238, 226, 0.5); color: var(--paper); }
.option .txt { font-size: 15.5px; line-height: 1.6; }
.option .mark { font-family: var(--mono); font-size: 13px; opacity: 0; transition: opacity 0.2s; }
.option.is-picked .mark { opacity: 1; }
.option.is-dim { opacity: 0.4; }

.rank-list { display: grid; gap: 10px; }
.rank-item {
  display: grid;
  grid-template-columns: 34px 1fr 60px;
  gap: 14px;
  align-items: center;
  text-align: left;
  padding: 18px;
  border: 1px solid var(--line-paper);
  background: rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  transition: border-color 0.18s, transform 0.2s;
}
.rank-item:hover { border-color: var(--ink); }
.rank-item.is-ranked { border-color: var(--ink); background: #fffdf6; }
.rank-item .pos {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  border: 1px solid var(--line-paper-strong);
  color: var(--muted-paper);
}
.rank-item.is-ranked .pos { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rank-item .txt { font-size: 15.5px; }
.rank-item .hint { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; color: var(--muted-paper); text-align: right; text-transform: uppercase; }

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-paper);
}
.quiz-foot .left { display: flex; gap: 10px; align-items: center; }
.quiz-foot .kbd-hint { font-family: var(--mono); font-size: 10px; color: var(--muted-paper); letter-spacing: 0.04em; }
.quiz-foot .kbd-hint kbd {
  font-family: var(--mono);
  border: 1px solid var(--line-paper-strong);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 9px;
  margin: 0 1px;
  background: rgba(255, 255, 255, 0.5);
}

.quiz-submit-card {
  border: 1px solid var(--line-paper-strong);
  padding: 26px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.quiz-submit-card p { font-size: 13px; color: var(--muted-paper); max-width: 46ch; }

.quiz-done { max-width: 720px; margin: 0 auto; text-align: center; padding: 60px 20px; }
.quiz-done h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.03em; margin-bottom: 14px; }

/* ============================================================
   ANALYZING
   ============================================================ */

.analyzing {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.analyzing::before {
  content: "";
  position: absolute;
  width: 60vmin; height: 60vmin;
  border-radius: 50%;
  border: 1px solid var(--line);
  animation: ripple 3s ease-out infinite;
}
@keyframes ripple {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.analyzing-inner { position: relative; }
.analyzing .spin-ring {
  width: 132px; height: 132px;
  margin: 0 auto 30px;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  position: relative;
  display: grid;
  place-items: center;
  animation: spin 8s linear infinite;
}
.analyzing .spin-ring::before {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  transform: translateX(-50%);
}
.analyzing .spin-ring b { font-family: var(--serif); font-size: 34px; font-weight: 400; animation: spin 8s linear infinite reverse; }
.analyzing h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.02em; margin-bottom: 10px; }
.analyzing p { color: var(--muted); font-size: 14px; min-height: 1.6em; }
.analyzing .bar { width: min(340px, 70vw); height: 2px; background: var(--line); margin: 26px auto 0; }
.analyzing .bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width 0.5s linear; }
.scan-lines { margin-top: 26px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.06em; display: grid; gap: 5px; }

/* ============================================================
   REPORT
   ============================================================ */

.report-page { background: var(--paper); color: var(--ink); }
.report-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 54px) clamp(20px, 4vw, 44px) 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-paper);
}
.report-head .kicker { color: var(--muted-paper); }
.report-head h1 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; letter-spacing: 0.03em; margin-top: 8px; }
.report-meta { display: flex; gap: 22px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted-paper); flex-wrap: wrap; }
.report-meta b { color: var(--ink); }

.report-wrap { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 44px) 90px; }

.report-hero {
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.report-hero::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -180px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.report-hero .species-emoji { font-size: clamp(58px, 8vw, 92px); line-height: 1; }
.report-hero .species-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-top: 16px; }
.report-hero h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 10px 0 6px;
}
.report-hero .latin { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; }
.report-hero .tagline { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.75; color: #c9c2b4; margin-top: 22px; max-width: 42ch; }
.report-hero .hero-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: #cfc8ba;
  text-transform: uppercase;
}
.tag--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tag--red { background: var(--red); color: #fff; border-color: var(--red); }
.tag--ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tag--paper { border-color: var(--line-paper-strong); color: var(--muted-paper); }

.hero-radar { display: grid; place-items: center; position: relative; z-index: 2; }
.radar-svg { width: 100%; max-width: 340px; height: auto; }
.radar-caption { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 10px; text-align: center; }

.report-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--line-paper);
}
.summary-cell { padding: 20px 22px; border-right: 1px solid var(--line-paper); }
.summary-cell:last-child { border-right: 0; }
.summary-cell .k { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-paper); }
.summary-cell .v { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); margin-top: 6px; line-height: 1.2; }
.summary-cell .d { font-size: 11.5px; color: var(--muted-paper); margin-top: 4px; }

.block { margin-top: clamp(46px, 6vw, 76px); }
.block-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line-paper-strong); padding-bottom: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.block-head .no { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted-paper); }
.block-head h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; font-weight: 800; }
.block-head .en { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-paper); margin-left: auto; }
.block-intro { color: var(--muted-paper); font-size: 14px; max-width: 68ch; margin-bottom: 24px; line-height: 1.8; }

.observation {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.85;
  letter-spacing: 0.01em;
  max-width: 46em;
  padding-left: 22px;
  border-left: 2px solid var(--red);
}
.observation em { font-style: normal; background: linear-gradient(transparent 65%, rgba(217, 255, 87, 0.75) 65%); }

.dim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; margin-top: 26px; }
.dim-row { display: grid; grid-template-columns: 88px 1fr 40px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-paper); }
.dim-row .dn { font-size: 13px; font-weight: 600; }
.dim-row .dup { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; color: var(--muted-paper); display: block; text-transform: uppercase; margin-top: 1px; }
.dim-row .track { height: 6px; background: rgba(16, 16, 14, 0.08); position: relative; }
.dim-row .track i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 0; transition: width 0.9s var(--ease); }
.dim-row.is-top .track i { background: var(--red); }
.dim-row .val { font-family: var(--mono); font-size: 11px; text-align: right; color: var(--muted-paper); }

.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strength-card {
  border: 1px solid var(--line-paper);
  padding: 22px;
  background: rgba(255, 255, 255, 0.3);
}
.strength-card .rank { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted-paper); text-transform: uppercase; }
.strength-card h4 { font-size: 20px; margin: 10px 0 10px; letter-spacing: -0.01em; }
.strength-card p { font-size: 13.5px; line-height: 1.8; color: #4c463d; }
.strength-card .score { float: right; font-family: var(--mono); font-size: 12px; color: var(--red-deep); }

.blind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.blind-card { border: 1px solid var(--line-paper); padding: 22px; background: rgba(255, 255, 255, 0.2); }
.blind-card .lvl { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted-paper); }
.blind-card h4 { font-size: 17px; margin: 8px 0 8px; }
.blind-card p { font-size: 13.5px; line-height: 1.8; color: #4c463d; }
.blind-card .fix { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-paper-strong); font-size: 12.5px; color: var(--muted-paper); }
.blind-card .fix b { color: var(--ink); }

.circle-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.circle-card {
  border: 1px solid var(--line-paper-strong);
  padding: 20px;
  background: var(--paper);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.circle-card:hover { transform: translateY(-3px); background: #fffdf6; }
.circle-card .cc-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-paper); text-transform: uppercase; }
.circle-card .match { font-size: 11px; color: var(--red-deep); }
.circle-card h4 { font-size: 19px; margin: 12px 0 6px; }
.circle-card .role { font-size: 13px; font-weight: 600; color: var(--ink); }
.circle-card p { font-size: 12.5px; color: var(--muted-paper); line-height: 1.7; margin-top: 8px; }
.circle-card .meter { height: 3px; background: var(--line-paper); margin-top: 14px; }
.circle-card .meter i { display: block; height: 100%; background: var(--ink); }

.job-match-list { display: grid; gap: 0; border-top: 1px solid var(--line-paper); }
.job-match {
  display: grid;
  grid-template-columns: 30px minmax(0, 1.2fr) minmax(0, 1.6fr) 70px;
  gap: 18px;
  align-items: center;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-paper);
}
.job-match .jm-no { font-family: var(--mono); font-size: 10px; color: var(--muted-paper); }
.job-match .jm-name { font-weight: 700; font-size: 15.5px; }
.job-match .jm-name em { display: block; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted-paper); margin-top: 2px; }
.job-match .jm-day { font-size: 12px; color: var(--muted-paper); line-height: 1.65; }
.job-match .jm-pct { font-family: var(--mono); font-size: 14px; text-align: right; }
.job-match .jm-pct span { display: block; font-size: 8px; color: var(--muted-paper); letter-spacing: 0.08em; }

.partner-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  align-items: center;
  border: 1px solid var(--line-paper-strong);
  padding: 24px;
  background: rgba(255, 255, 255, 0.28);
}
.partner-card .pc-emoji { font-size: 64px; text-align: center; }
.partner-card h4 { font-size: 22px; margin-bottom: 4px; }
.partner-card .pc-latin { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--muted-paper); text-transform: uppercase; }
.partner-card p { font-size: 13.5px; line-height: 1.8; color: #4c463d; margin-top: 10px; }
.partner-card .pc-proj { margin-top: 12px; font-size: 12.5px; color: var(--ink); }
.partner-card .pc-proj b { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-paper); display: block; margin-bottom: 3px; text-transform: uppercase; }

.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.task-card { border-top: 2px solid var(--ink); padding-top: 16px; }
.task-card .d { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted-paper); }
.task-card h4 { font-size: 16px; margin: 8px 0 6px; }
.task-card p { font-size: 12.5px; color: var(--muted-paper); line-height: 1.7; }

.fortune {
  border: 1px solid var(--line-paper-strong);
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  background:
    repeating-linear-gradient(45deg, rgba(16,16,14,0.02) 0 1px, transparent 1px 8px),
    var(--paper-2);
}
.fortune .stamp {
  width: 118px; height: 118px;
  border: 2px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.5;
  transform: rotate(-9deg);
  letter-spacing: 0.08em;
}
.fortune h4 { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-weight: 400; line-height: 1.6; }
.fortune .fi { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted-paper); text-transform: uppercase; }
.fortune .fi b { color: var(--ink); }

.share-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line-paper-strong);
  padding: 24px;
  background: rgba(255, 255, 255, 0.3);
}
.share-preview { width: 100%; border-radius: 3px; overflow: hidden; box-shadow: 0 20px 50px -30px rgba(0,0,0,.6); }
.share-copy h4 { font-size: 20px; margin-bottom: 8px; }
.share-copy p { font-size: 13px; color: var(--muted-paper); line-height: 1.8; max-width: 44ch; margin-bottom: 18px; }
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.report-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-paper); }
.report-footnote { margin-top: 34px; font-size: 12px; color: var(--muted-paper); max-width: 76ch; line-height: 1.8; }

/* ============================================================
   ATLAS
   ============================================================ */

.atlas-page { padding: clamp(40px, 6vw, 80px) 0 90px; }
.atlas-head { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px) 40px; }
.atlas-head h1 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.035em; line-height: 1.05; margin: 14px 0 16px; font-weight: 800; }
.atlas-head .lead { max-width: 56ch; }
.atlas-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.atlas-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #151412;
  padding: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.25s, background 0.25s;
}
.atlas-card:hover { transform: translateY(-5px); border-color: var(--lime); background: #1a1915; }
.atlas-card::after {
  content: attr(data-code);
  position: absolute;
  right: -8px; bottom: -22px;
  font-family: var(--serif);
  font-size: 92px;
  color: rgba(243, 238, 226, 0.04);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.atlas-card .ac-top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.atlas-card .ac-emoji { font-size: 54px; margin: 26px 0 18px; line-height: 1; }
.atlas-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; letter-spacing: 0.02em; }
.atlas-card h3 small { font-family: var(--sans); font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 8px; }
.atlas-card .ac-latin { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.atlas-card .ac-tag { font-size: 13px; color: #b7b0a3; line-height: 1.7; margin-top: 16px; }
.atlas-card .ac-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.atlas-card:hover .ac-foot { color: var(--lime); }

/* specimen detail */

.detail-page { padding: clamp(30px, 5vw, 60px) 0 90px; }
.detail-wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--paper); }
.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.detail-hero .emoji-big { font-size: clamp(90px, 14vw, 170px); line-height: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.detail-hero h1 { font-family: var(--serif); font-size: clamp(44px, 7vw, 96px); line-height: 1; font-weight: 400; letter-spacing: 0.02em; }
.detail-hero h1 small { font-family: var(--sans); font-size: clamp(15px, 2vw, 22px); color: var(--muted); margin-left: 12px; letter-spacing: 0; }
.detail-hero .latin { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin-top: 12px; }
.detail-hero .dtag { font-size: clamp(16px, 2vw, 22px); line-height: 1.7; margin-top: 24px; color: #c9c2b4; font-family: var(--serif); }
.detail-hero .hero-tags { margin-top: 24px; }

.detail-body { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr); gap: clamp(30px, 6vw, 80px); padding-top: 46px; }
.prose p { font-size: 15.5px; line-height: 2; color: #3f3a33; margin-bottom: 18px; }
.prose p.lead-p { font-family: var(--serif); font-size: 20px; line-height: 1.9; color: var(--ink); }
.detail-side { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.fact { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 82px 1fr; gap: 14px; }
.fact .fk { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; padding-top: 3px; }
.fact .fv { font-size: 13px; color: #cfc8ba; line-height: 1.7; }
.detail-section { margin-top: 50px; }
.detail-section h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-section h2 span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; color: var(--muted); margin-left: 10px; text-transform: uppercase; }

/* ============================================================
   JOBS PAGE
   ============================================================ */

.jobs-page { background: var(--paper); color: var(--ink); padding: clamp(40px, 6vw, 80px) 0 90px; min-height: calc(100svh - var(--nav-h)); }
.jobs-wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.jobs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 32px; }
.jobs-head h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -0.035em; line-height: 1.05; margin-top: 12px; font-weight: 800; }
.jobs-head p { color: var(--muted-paper); font-size: 14px; max-width: 42ch; line-height: 1.8; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.filter {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-paper-strong);
  border-radius: 999px;
  color: var(--muted-paper);
  transition: all 0.2s;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.jobs-list { border-top: 1px solid var(--line-paper-strong); }
.job-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.15fr) minmax(0, 1.2fr) 130px 30px;
  gap: 20px;
  align-items: center;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-paper);
  transition: background 0.2s, padding 0.25s;
}
.job-item:hover { background: rgba(16,16,14,0.03); padding-left: 12px; }
.job-item .ji-emoji { font-size: 26px; }
.job-item .ji-name { font-weight: 700; font-size: 17px; }
.job-item .ji-name em { display: block; font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted-paper); margin-top: 3px; letter-spacing: 0.02em; }
.job-item .ji-dims { display: flex; gap: 6px; flex-wrap: wrap; }
.dim-pill { font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; padding: 4px 7px; border: 1px solid var(--line-paper-strong); border-radius: 2px; color: var(--muted-paper); }
.job-item .ji-cold { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--muted-paper); text-align: right; }
.job-item .ji-cold i { display: inline-block; letter-spacing: -1px; color: var(--red-deep); font-style: normal; }
.job-item .ji-go { font-size: 18px; opacity: 0.3; }

/* job detail drawer */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 7, 0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(520px, 100%);
  background: var(--paper);
  color: var(--ink);
  z-index: 201;
  transform: translateX(102%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
}
.drawer.is-open { transform: none; }
.drawer-close { position: absolute; top: 18px; right: 18px; }
.drawer .dk { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted-paper); text-transform: uppercase; }
.drawer h2 { font-size: 32px; letter-spacing: -0.03em; margin: 10px 0 4px; }
.drawer .drawer-sub { color: var(--muted-paper); font-size: 13px; }
.drawer h4 { font-size: 13px; margin: 26px 0 8px; letter-spacing: 0.02em; }
.drawer p { font-size: 14px; line-height: 1.85; color: #4c463d; }
.drawer .dim-pill { margin-right: 6px; margin-bottom: 6px; }
.drawer .drawer-cta { margin-top: 30px; }

/* ============================================================
   HISTORY
   ============================================================ */

.history-page { background: var(--paper); color: var(--ink); min-height: calc(100svh - var(--nav-h)); padding: clamp(40px, 6vw, 80px) 0 90px; }
.history-wrap { max-width: 980px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.history-head h1 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; margin: 12px 0 10px; font-weight: 800; }
.history-head p { color: var(--muted-paper); font-size: 14px; }
.history-list { margin-top: 30px; border-top: 1px solid var(--line-paper-strong); }
.history-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 140px 168px 22px;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-paper);
  transition: background 0.2s, padding 0.2s;
}
.history-item:hover { background: rgba(16,16,14,0.03); padding-left: 12px; }
.history-item .hi-emoji { font-size: 26px; }
.history-item .hi-name { font-weight: 700; font-size: 16px; }
.history-item .hi-name em { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted-paper); margin-left: 8px; }
.history-item .hi-date { font-family: var(--mono); font-size: 10px; color: var(--muted-paper); }
.history-item .hi-top { font-family: var(--mono); font-size: 10px; color: var(--muted-paper); }
.history-item .hi-go { font-size: 17px; opacity: 0.35; }
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line-paper-strong);
  margin-top: 30px;
}
.empty-state .ee { font-size: 52px; margin-bottom: 18px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--muted-paper); font-size: 13.5px; margin-bottom: 24px; }

/* ============================================================
   ABOUT
   ============================================================ */

.about-page { background: var(--paper); color: var(--ink); padding: clamp(40px, 6vw, 80px) 0 90px; }
.about-wrap { max-width: 960px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 44px); }
.about-wrap h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.06; margin: 14px 0 20px; font-weight: 800; }
.about-wrap .lead { color: var(--muted-paper); max-width: 56ch; }
.about-block { margin-top: 52px; }
.about-block h2 { font-size: 23px; letter-spacing: -0.02em; padding-bottom: 12px; border-bottom: 1px solid var(--line-paper-strong); margin-bottom: 20px; }
.about-block p { font-size: 15px; line-height: 1.95; color: #3f3a33; margin-bottom: 14px; max-width: 70ch; }
.about-block ul { display: grid; gap: 10px; margin: 16px 0; }
.about-block li { padding-left: 22px; position: relative; font-size: 14.5px; color: #3f3a33; line-height: 1.8; }
.about-block li::before { content: "—"; position: absolute; left: 0; color: var(--red-deep); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.method-card { border: 1px solid var(--line-paper); padding: 20px; }
.method-card h4 { font-size: 16px; margin-bottom: 6px; }
.method-card p { font-size: 12.5px; color: var(--muted-paper); line-height: 1.75; }

/* ============================================================
   TOAST / MODAL / MISC
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  z-index: 400;
  background: var(--lime);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
  box-shadow: 0 14px 40px -16px rgba(0,0,0,.5);
  max-width: calc(100vw - 40px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.spinner { width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 40px; }
  .hero-visual { min-height: 0; margin-top: 10px; }
  .specimen-stack { width: min(92%, 360px); margin: 0 auto; }
  .hero .lede { max-width: 46em; }
  .circle-strip { grid-template-columns: repeat(2, 1fr); }
  .atlas-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-body { grid-template-columns: 1fr; }
  .report-hero { grid-template-columns: 1fr; }
  .hero-radar { margin-top: 10px; }
  .dim-grid { grid-template-columns: 1fr; gap: 0 0; }
  .strength-grid, .circle-cards, .task-grid { grid-template-columns: 1fr 1fr; }
  .blind-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; }
  .manifesto-title, .manifesto-list { grid-column: span 12; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .section-head .head-note { justify-self: start; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; }
  .job-row { grid-template-columns: 36px 1fr 28px; }
  .job-row .dm, .job-row .cold { display: none; }
  .job-item { grid-template-columns: 40px 1fr 30px; }
  .job-item .ji-dims, .job-item .ji-cold { display: none; }
  .history-item { grid-template-columns: 34px 1fr 26px; }
  .history-item .hi-date, .history-item .hi-top { display: none; }
  .mode-grid { grid-template-columns: 1fr; }
  .report-summary { grid-template-columns: 1fr; }
  .summary-cell { border-right: 0; border-bottom: 1px solid var(--line-paper); }
  .summary-cell:last-child { border-bottom: 0; }
  .strength-grid, .circle-cards, .task-grid, .method-grid { grid-template-columns: 1fr; }
  .share-panel { grid-template-columns: 1fr; }
  .share-preview { max-width: 240px; }
  .fortune { grid-template-columns: 1fr; }
  .fortune .stamp { width: 92px; height: 92px; font-size: 11px; }
  .partner-card { grid-template-columns: 1fr; text-align: left; }
  .partner-card .pc-emoji { text-align: left; font-size: 48px; }
  .job-match { grid-template-columns: 24px 1fr 60px; }
  .job-match .jm-day { display: none; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero .emoji-big { font-size: 90px; }
  .atlas-grid { grid-template-columns: 1fr; }
  .circle-strip { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .report-head { align-items: flex-start; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 12px 20px; }
  .q-title { font-size: 23px; }
  .option { grid-template-columns: 28px 1fr; padding: 15px 14px; }
  .option .mark { display: none; }
  .quiz-foot .kbd-hint { display: none; }
  .report-hero h2 { font-size: 46px; }
  .detail-hero h1 { font-size: 46px; }
  .sticker { right: -6px; top: 18px; width: 78px; height: 78px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   PATCH · 报告 / 答题 / 分享卡 补充样式
   ============================================================ */

/* 雷达图 */
.radar { width: 100%; height: auto; display: block; overflow: visible; }
.radar-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  fill: rgba(243, 238, 226, 0.6);
}
.specimen-radar .radar-label { display: none; }

/* 横向条（TZ.bars） */
.bar-row {
  display: grid;
  grid-template-columns: 96px 1fr 34px;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}
.bar-name { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 4px; background: rgba(16, 16, 14, 0.1); position: relative; }
.bar-track i { position: absolute; left: 0; top: 0; bottom: 0; display: block; background: var(--ink); }
.bar-val { font-family: var(--mono); font-size: 10px; text-align: right; color: var(--muted-paper); }

/* 幽灵按钮（深底） */
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--paper); --btn-bd: var(--line-strong); }

/* 纸底页面里的幽灵按钮改用墨色 */
.quiz-page .btn-ghost,
.jobs-page .btn-ghost,
.atlas-page .btn-ghost,
.history-page .btn-ghost {
  --btn-fg: var(--ink);
  --btn-bd: var(--line-paper-strong);
}

/* 报告细节 */
.dim-row.is-top .dn,
.dim-row.is-top .val { color: var(--red-deep); }
.dim-row.is-top .track i { background: var(--red); }
.report-summary .summary-cell:last-child { border-right: 0; }
.strength-card { position: relative; }
.strength-card .score { position: absolute; top: 20px; right: 20px; float: none; }
.report-actions .btn { min-height: 46px; }
.report-hero .tag { border-color: rgba(243, 238, 226, 0.32); color: var(--paper-2); }
.report-hero .tag--lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.report-hero .tag--red { background: var(--red); border-color: var(--red); color: #fff; }

/* 分享卡画布 */
.share-preview canvas { display: block; width: 100%; height: auto; }

/* 抽屉内容滚动 */
.drawer { overflow-y: auto; }
.drawer-backdrop { background: rgba(11, 11, 10, 0.62); backdrop-filter: blur(2px); }

/* 答题：排序提示与页脚 */
.rank-item .txt { font-size: 15.5px; line-height: 1.6; }
.icon-btn:hover { color: var(--ink); border-color: var(--ink); }

/* 分析页扫描行 */
.scan-lines span { text-align: left; }
.analyzing .spin-ring b { color: var(--paper); }

@media (max-width: 860px) {
  .strength-card .score { position: static; float: right; }
  .share-panel { grid-template-columns: 1fr; }
  .share-preview { max-width: 300px; }
}

/* ============================================================
   v2 版式修正（浏览器实测后补）
   ============================================================ */

/* 答题 / 分析：进入专注模式，隐藏站点头尾 */
body.is-focus .site-nav,
body.is-focus .site-footer { display: none; }
body.is-focus .quiz-page { min-height: 100svh; padding-bottom: 70px; }
body.is-focus .analyzing { min-height: 100svh; display: grid; place-items: center; }

/* 物种档案改为纸底，与报告同一阅读质感 */
.detail-page {
  background: var(--paper);
  color: var(--ink);
  min-height: calc(100svh - var(--nav-h));
}
.detail-page .back-link { color: var(--muted-paper); }
.detail-page .back-link:hover { color: var(--ink); }
.detail-page .detail-hero { border-bottom-color: var(--line-paper-strong); }
.detail-page .detail-hero h1 small,
.detail-page .detail-hero .latin,
.detail-page .detail-section h2 span { color: var(--muted-paper); }
.detail-page .detail-hero .dtag { color: #4c463d; }
.detail-page .detail-hero .emoji-big {
  filter: drop-shadow(0 26px 34px rgba(16, 16, 14, 0.16));
}
.detail-page .detail-side { border-top-color: var(--line-paper-strong); }
.detail-page .fact { border-bottom-color: var(--line-paper); }
.detail-page .fact .fk { color: var(--muted-paper); }
.detail-page .fact .fv { color: #3f3a33; }
.detail-page .detail-section h2 { border-bottom-color: var(--line-paper-strong); }
.detail-page .strength-card,
.detail-page .blind-card,
.detail-page .partner-card { background: #fff; border: 1px solid var(--line-paper-strong); }
.detail-page .partner-card .pc-latin { color: var(--muted-paper); }
.detail-page .partner-card .pc-proj { background: rgba(16, 16, 14, 0.04); }
.detail-page .hero-tags .tag--paper { border-color: var(--line-paper-strong); color: var(--ink); }
.detail-page .hero-tags .tag--ink { background: var(--ink); color: var(--paper); }

/* 职业列表：按钮要撑满整行 */
.job-item { width: 100%; text-align: left; }
.job-item .ji-name { text-align: left; }

/* 高亮笔改成贴合字高的底纹 */
.observation em {
  background: none;
  background-image: linear-gradient(rgba(217, 255, 87, 0.85), rgba(217, 255, 87, 0.85));
  background-repeat: no-repeat;
  background-size: 100% 44%;
  background-position: 0 82%;
  padding: 0 2px;
}

/* 雷达图在多处出现，加深填充让形状更清楚 */
.radar polygon[fill^="rgba(255,77,46"] { fill: rgba(255, 77, 46, 0.26); }

/* emoji 统一走彩色字体，避免落到单色符号字体 */
.em,
.specimen-emoji,
.emoji-big,
.species-mini-emoji,
.ac-emoji,
.ji-emoji,
.pc-emoji,
.ticker-track em { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif; }

/* 专注模式下收紧顶部留白 */
body.is-focus .quiz-top { top: 0; padding-top: 0; }
body.is-focus .quiz-top-inner { padding-top: 14px; }

/* 记录行右侧维度不换行 */
.history-item .hi-top { white-space: nowrap; font-size: 11px; }

/* 标本卡右下角的小规格标签 */
.specimen-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* 职业行的分类标记改为文字方块，避免 emoji 字体不一致 */
.ji-cat {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-paper-strong);
  color: var(--muted-paper);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
}



/* ============================================================
   v3 · 手机端（真机触控 / 刘海屏 / 窄屏）
   ============================================================ */

html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }

/* 触控：去掉点击高亮与 300ms 延迟，同时保证可点面积 */
a, button, summary, label, .option, .rank-item, .mode-card, .filter, .job-item {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 刘海与底部手势条 */
.site-nav { padding-top: env(safe-area-inset-top); }
.mobile-menu { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.toast { bottom: calc(22px + env(safe-area-inset-bottom)); }
.drawer { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
body.is-focus .quiz-top { padding-top: env(safe-area-inset-top); }
.nav-burger { width: 44px; height: 44px; }

/* 触屏没有 hover，去掉会「粘住」的位移效果 */
@media (hover: none) {
  .btn:hover, .circle-chip:hover, .job-row:hover, .atlas-card:hover, .job-item:hover {
    transform: none;
  }
  .btn:hover .arr { transform: none; }
}

/* 分享卡弹出层：手机上长按保存 */
.card-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 7, 0.92);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s;
}
.card-modal.is-open { opacity: 1; }
.card-modal-inner { max-width: 420px; width: 100%; text-align: center; }
.card-modal img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  -webkit-touch-callout: default;
}
.card-modal-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.card-modal-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.card-modal-close {
  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 238, 226, 0.28);
  border-radius: 50%;
  color: var(--paper);
  font-size: 16px;
}

@media (max-width: 520px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding: 56px 0; }
  .section-head { gap: 18px; }
  .section-head h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .lead { font-size: 15px; }

  .hero { padding-top: 26px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 46px); line-height: 1.06; }
  .hero .lede { font-size: 15px; }
  .hero-stats { gap: 14px 22px; }
  .hero-stats b { font-size: 22px; }
  .hero-stats span { font-size: 11px; }
  .hero-ticker { font-size: 10px; padding: 8px 0; }
  .specimen-stack { width: min(86%, 320px); }
  .specimen-name { font-size: 30px; }

  .step { padding: 22px 18px; }
  .step h3 { margin-top: 30px; font-size: 24px; }
  .step .glyph { font-size: 64px; }

  .atlas-card { padding: 18px; }
  .atlas-card h3 { font-size: 26px; }

  .detail-hero h1 { font-size: 42px; }
  .detail-hero .emoji-big { font-size: 84px; }
  .detail-body { gap: 26px; }
  .prose p { font-size: 15px; line-height: 1.85; }
  .prose .lead-p { font-size: 18px; }

  .report-head h1 { font-size: 28px; line-height: 1.25; }
  .report-meta { font-size: 10px; letter-spacing: 0.04em; gap: 6px 12px; }
  .report-hero { padding: 26px 20px; }
  .report-hero h2 { font-size: 40px; }
  .report-hero .hero-tags { gap: 6px; }
  .report-summary .summary-cell { padding: 18px; }
  .block { margin-top: 44px; }
  .block-head h3 { font-size: 24px; }
  .block-intro { font-size: 14px; }
  .observation { padding-left: 16px; font-size: 16px; line-height: 1.9; }

  .dim-row { grid-template-columns: 74px 1fr 34px; gap: 10px; }
  .dim-row .dn { font-size: 14px; }
  .dim-row .dup { font-size: 8px; letter-spacing: 0.08em; }
  .strength-card { padding: 18px; }
  .strength-card h4 { font-size: 20px; }
  .blind-card { padding: 18px; }
  .circle-card { padding: 18px; }
  .job-match { grid-template-columns: 22px 1fr 54px; gap: 10px; padding: 12px 0; }
  .job-match .jm-name { font-size: 15px; }
  .partner-card { padding: 20px; }
  .partner-card .pc-emoji { font-size: 44px; }
  .task-card { padding: 18px; }
  .fortune { padding: 20px; }
  .fortune .stamp { width: 76px; height: 76px; font-size: 10px; }

  .report-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .share-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .share-preview { max-width: 260px; margin: 0 auto; }

  .quiz-body { padding: 22px 18px 60px; }
  .q-title { font-size: 22px; line-height: 1.35; }
  .q-scene { font-size: 11px; }
  .option { min-height: 56px; padding: 13px 12px; }
  .option .txt { font-size: 15px; }
  .rank-item { grid-template-columns: 26px 1fr 44px; min-height: 58px; padding: 12px; }
  .quiz-foot { gap: 10px; }
  .quiz-foot .btn { flex: 1; min-height: 48px; }
  .quiz-submit-card { padding: 22px 18px; }

  .history-item { padding: 16px 2px; }
  .history-wrap, .jobs-wrap, .atlas-wrap { padding-left: 18px; padding-right: 18px; }
  .filters { gap: 6px; }
  .filter { min-height: 40px; padding: 9px 12px; font-size: 11px; }
  .footer-cols { gap: 18px; }
  .footer-bottom { font-size: 10px; }
  .start-note { font-size: 12px; }
  .mode-card { padding: 18px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .option .txt { font-size: 14.5px; }
  .dim-row { grid-template-columns: 68px 1fr 30px; }
  .q-title { font-size: 20px; }
}

/* ===== v4 心动体质：心跳波形 SVG ===== */
.hb { display: inline-block; width: 1em; height: auto; vertical-align: middle; overflow: visible; }
.hb-line, .hb-dot { vector-effect: non-scaling-stroke; }

.specimen-emoji .hb { width: 176px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
.species-mini-emoji .hb { width: 86px; }
.ac-emoji .hb { width: 98px; }
.detail-hero .emoji-big .hb { width: clamp(230px, 28vw, 350px); }
.report-hero .species-emoji .hb { width: clamp(186px, 21vw, 268px); }
.partner-card .pc-emoji .hb { width: 104px; }
.report-hero .partner-card .pc-emoji .hb { width: 92px; }
.history-item .hi-emoji .hb { width: 40px; }
.ticker-track .hb { width: 26px; vertical-align: -5px; margin-right: 2px; }

.partner-card .pc-emoji,
.report-hero .partner-card .pc-emoji { display: flex; align-items: center; justify-content: center; gap: 10px; }

@media (max-width: 520px) {
  .specimen-emoji .hb { width: 140px; }
  .detail-hero .emoji-big .hb { width: 210px; }
  .report-hero .species-emoji .hb { width: 176px; }
}


/* ===== v5 修正：互补卡波形与场景金额 ===== */
.partner-card .pc-emoji { gap: 8px; min-width: 0; }
.partner-card .pc-emoji .hb { width: 46px; }
.detail-page .partner-card .pc-emoji .hb { width: 74px; }
.job-match { grid-template-columns: 30px 1.2fr 1.6fr 104px; }
.job-match .jm-pct { white-space: nowrap; }
@media (max-width: 860px) {
  .partner-card .pc-emoji .hb { width: 38px; }
  .detail-page .partner-card .pc-emoji .hb { width: 54px; }
}
