/* =========================================================
   天赋小雷达 · app.css
   ========================================================= */
:root {
  --bg: #FBF1E7;
  --paper: #FFFFFF;
  --ink: #2A2420;
  --ink-2: #574D45;
  --muted: #978C81;
  --line: #EFE3D6;
  --coral: #FF6B57;
  --coral-deep: #E24E39;
  --coral-soft: #FFE3DB;
  --teal: #17988A;
  --teal-soft: #DDF3EF;
  --yellow: #FFC85C;
  --lilac: #8B7CF6;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 18px 50px rgba(90, 60, 35, .12);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: #F3E6D8;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 12% 4%, #FFE2D3 0%, transparent 60%),
    radial-gradient(800px 700px at 92% 22%, #DFF3EE 0%, transparent 55%),
    radial-gradient(700px 700px at 50% 100%, #FCEBCB 0%, transparent 60%);
  z-index: -2;
}
.bg-blobs { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; }
.b1 { width: 300px; height: 300px; background: #FFB8A3; top: -80px; left: -80px; }
.b2 { width: 260px; height: 260px; background: #9FE0D4; top: 30%; right: -100px; }
.b3 { width: 240px; height: 240px; background: #FFE09A; bottom: -60px; left: 20%; }

#app {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  overflow-x: clip;
}
@media (min-width: 560px) {
  #app { box-shadow: 0 0 80px rgba(80, 50, 30, .16); }
  body { padding: 0; }
}

button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

/* ---------- screens ---------- */
.screen { display: none; padding-bottom: 48px; }
.screen.on { display: block; animation: fadeUp .34s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pad { padding: 0 22px; }
.kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral-deep);
}
.section-title {
  font-size: 26px; line-height: 1.32; font-weight: 800;
  letter-spacing: -.02em; margin: 0 0 18px;
}
.sub { color: var(--ink-2); font-size: 15px; margin-top: 8px; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.6; }
.fine.center, .center { text-align: center; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 4px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -.01em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-size: 14px;
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.brand.small { font-size: 14px; }
.topbar-note {
  font-size: 11px; color: var(--ink-2); background: #fff;
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px;
}

/* ---------- hero ---------- */
.hero { padding: 26px 22px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--teal);
  background: var(--teal-soft); padding: 6px 12px; border-radius: 99px;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(32px, 9.2vw, 42px);
  line-height: 1.22; font-weight: 850; letter-spacing: -.035em;
  margin: 0 0 16px;
}
h1 em {
  font-style: normal; position: relative; white-space: nowrap;
  background: linear-gradient(transparent 66%, #FFD2C4 66%);
  background-size: 100% 100%;
}
.lede { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin-bottom: 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 750; letter-spacing: .01em;
  padding: 14px 24px; font-size: 16px;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
}
.btn:active { transform: scale(.975); }
.btn.primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 12px 26px rgba(42, 36, 32, .22);
}
.btn.primary:hover { background: #3b322c; }
.btn.big { width: 100%; padding: 17px 24px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.soft { background: var(--coral-soft); color: var(--coral-deep); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .38; box-shadow: none; pointer-events: none; }

.hero .fine { margin-top: 12px; text-align: center; }

/* ---------- hero visual ---------- */
.hero-visual { position: relative; padding: 30px 26px 6px; }
.hero-card {
  position: relative; z-index: 2;
  background: var(--paper); border-radius: var(--r-lg);
  padding: 16px 18px 20px;
  box-shadow: var(--shadow);
  transform: rotate(-1.6deg);
  border: 1px solid #fff;
}
.hero-card-top {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--ink-2); font-weight: 600;
  padding-bottom: 6px; border-bottom: 1px dashed var(--line);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.radar-mini { width: 100%; height: auto; display: block; margin: 2px 0; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 99px;
  background: #F6EDE4; color: var(--ink-2);
}
.chip b { font-weight: 800; }
.chip.coral { background: var(--coral-soft); color: var(--coral-deep); }
.chip.teal { background: var(--teal-soft); color: #0C7A6E; }
.chip.cat { background: var(--yellow); color: #6b4a00; margin-bottom: 14px; }
.hero-type {
  margin-top: 12px; font-weight: 800; font-size: 15px;
  letter-spacing: -.01em;
}
.float-note {
  position: absolute; z-index: 3;
  background: var(--ink); color: var(--bg);
  font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 99px;
  box-shadow: 0 8px 18px rgba(42,36,32,.2);
}
.float-note.n1 { top: 12px; right: 12px; transform: rotate(4deg); background: var(--teal); }
.float-note.n2 { bottom: -14px; right: 14px; transform: rotate(3deg); background: var(--coral); }

/* ---------- mechanism ---------- */
.mech { padding: 44px 22px 0; }
.mech-demo {
  background: var(--paper); border-radius: var(--r-lg);
  padding: 22px 20px 16px; box-shadow: 0 10px 30px rgba(90,60,35,.07);
  margin-bottom: 14px;
}
.mech-demo-row {
  display: grid; grid-template-columns: 64px 1fr 38px;
  align-items: center; gap: 10px; margin-bottom: 10px;
}
.mech-age { font-size: 12px; color: var(--ink-2); font-weight: 650; }
.mech-bar { height: 10px; border-radius: 99px; background: #F3E9DE; overflow: hidden; }
.mech-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--coral), #FF9A6E); }
.mech-demo-row.muted .mech-bar i { background: linear-gradient(90deg, #FFC85C, #FFD98E); }
.mech-demo-row b { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.mech-demo-cap { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 8px; }
.mech-grid { display: grid; gap: 10px; }
.mech-card {
  background: #fff; border-radius: var(--r-md); padding: 18px;
  border: 1px solid #fff;
}
.mech-card h3 { font-size: 15px; font-weight: 800; margin: 8px 0 4px; }
.mech-card p { font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.mech-ico { font-size: 22px; }

/* ---------- preview ---------- */
.preview { padding: 44px 22px 0; }
.preview-card {
  background: var(--ink); color: #FFF3E8;
  border-radius: var(--r-lg); padding: 22px 22px 20px;
  box-shadow: 0 20px 50px rgba(42,36,32,.25);
}
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.preview-tag { font-size: 11px; letter-spacing: .08em; color: #D8C8B8; }
.preview-price { font-size: 15px; font-weight: 800; color: var(--yellow); }
.preview-list li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.09);
  font-size: 14px;
}
.preview-list b { font-size: 10px; color: #B9A794; letter-spacing: .08em; }
.preview-card .btn { margin-top: 18px; background: var(--yellow); color: #3A2A05; box-shadow: none; }

/* ---------- fit ---------- */
.fit { display: grid; gap: 10px; padding: 44px 22px 0; }
.fit-col { border-radius: var(--r-md); padding: 18px; background: #fff; }
.fit-col h3 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.fit-col li { position: relative; padding-left: 18px; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; line-height: 1.6; }
.fit-col li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; }
.fit-col.yes { background: #F0FAF6; }
.fit-col.yes li::before { background: var(--teal); }
.fit-col.no { background: #FFF6F2; }
.fit-col.no li::before { background: #E3A18C; }

/* ---------- faq ---------- */
.faq { padding: 44px 22px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 20px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }

/* ---------- footer ---------- */
.footer { padding: 46px 22px 30px; text-align: center; }
.footer .brand { justify-content: center; }
.footer p { font-size: 11px; color: var(--muted); margin: 10px 0 6px; line-height: 1.7; }
.linkish { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav, .report-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: rgba(251, 241, 231, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(239, 227, 214, .7);
  font-weight: 700; font-size: 14px;
}
.nav-spacer { width: 38px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.icon-btn:active { transform: scale(.94); }

/* ---------- profile ---------- */
.screen-title { font-size: 28px; font-weight: 850; letter-spacing: -.03em; margin: 6px 0 0; word-break: break-word; }
#screen-profile .pad { padding-top: 18px; }
.field-label {
  display: block; margin: 22px 0 8px;
  font-size: 12px; font-weight: 750; color: var(--ink-2); letter-spacing: .02em;
}
.field-label span { font-weight: 500; color: var(--muted); margin-left: 4px; }
.input, .select {
  width: 100%; padding: 15px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff; font-size: 16px;
  outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.input:focus, .select:focus { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23978C81' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px;
}
.gender-seg { display: flex; gap: 7px; margin: 0 0 18px; }
.gender-seg button {
  flex: 1; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 12px; padding: 10px 8px; font-family: var(--font); font-size: 12.5px;
  font-weight: 650; cursor: pointer; transition: .15s;
}
.gender-seg button.on {
  border-color: var(--coral); background: var(--coral-soft); color: var(--coral-deep);
  font-weight: 800; box-shadow: 0 0 0 2px rgba(255,107,87,.10);
}
.age-card {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 16px 0 22px; padding: 16px 18px;
  border-radius: var(--r-md); border: 1px dashed #E3D2BF; background: #fff;
}
.age-main { display: flex; align-items: baseline; gap: 4px; }
.age-main b { font-size: 24px; white-space: nowrap; font-weight: 850; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.age-main span { font-size: 13px; color: var(--muted); }
.age-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.age-meta span { font-size: 13px; font-weight: 750; color: var(--teal); }
.age-meta small { font-size: 11px; color: var(--muted); }
.age-card.bad { border-color: #F2C4B8; background: #FFF7F4; }
.age-card.bad .age-meta span { color: var(--coral-deep); }
.profile-points {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 16px 0 10px; font-size: 11.5px; color: var(--muted); font-weight: 600;
}
.profile-points i { width: 3px; height: 3px; border-radius: 50%; background: #D8C7B6; }
.profile-note {
  margin-top: 26px; padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(255,255,255,.7); border: 1px dashed #E7D7C6;
}
.profile-note .mini-label { font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.profile-note .dims { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.profile-note .dims span {
  font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 99px;
  background: #F7EEE3; color: var(--ink-2);
}
.profile-note p { font-size: 11.5px; color: var(--muted); line-height: 1.7; }

/* ---------- quiz ---------- */
.quiz-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 10px;
  background: rgba(251, 241, 231, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.quiz-progress { flex: 1; height: 7px; border-radius: 99px; background: #EADBCC; overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--coral), #FF9E6D); border-radius: 99px; transition: width .3s cubic-bezier(.22,.9,.3,1); }
.quiz-count { font-size: 11px; font-weight: 750; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.quiz-body { padding-top: 18px; }
.quiz-prompt { font-size: 12px; font-weight: 700; color: var(--coral-deep); letter-spacing: .04em; margin: -6px 0 8px; }
.quiz-premise {
  display: inline-block; font-size: 11.5px; font-weight: 650;
  color: #6B5B4E; background: #F4E9DD;
  padding: 5px 10px; border-radius: 99px; margin: 0 0 10px;
}
.quiz-premise:empty { display: none; }
.quiz-q { font-size: 22px; line-height: 1.5; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; min-height: 66px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  text-align: left; padding: 15px 16px;
  background: #fff; border: 1.5px solid transparent; border-radius: var(--r-md);
  box-shadow: 0 4px 14px rgba(90,60,35,.05);
  transition: border-color .16s, transform .12s, background .16s;
  line-height: 1.55; font-size: 14.5px; color: var(--ink-2);
}
.opt:active { transform: scale(.985); }
.opt:hover { border-color: #F4C7BA; }
.opt .k {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #F6EDE4; color: var(--ink-2); font-weight: 800; font-size: 12px;
  transition: background .16s, color .16s;
}
.opt.sel { border-color: var(--coral); background: #FFF7F4; }
.opt.sel .k { background: var(--coral); color: #fff; }
.opt.dim { opacity: .45; }
.hint { margin-top: 18px; font-size: 11.5px; color: var(--muted); text-align: center; }

/* ---------- loading ---------- */
#screen-loading { min-height: 100vh; display: none; }
#screen-loading.on { display: grid; place-items: center; }
.loading { text-align: center; padding: 30px; width: 100%; }
.loader { display: flex; gap: 8px; justify-content: center; margin-bottom: 22px; }
.loader span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--coral);
  animation: bounce 1s infinite cubic-bezier(.5,0,.5,1);
}
.loader span:nth-child(2) { animation-delay: .12s; background: var(--yellow); }
.loader span:nth-child(3) { animation-delay: .24s; background: var(--teal); }
@keyframes bounce { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-9px); opacity: 1; } }
.loading h2 { font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.loading h2 b { color: var(--coral-deep); font-size: 22px; }
.loading p { font-size: 12px; color: var(--muted); margin-top: 8px; min-height: 20px; }
.load-track { width: 180px; height: 4px; background: #EADBCC; border-radius: 99px; margin: 20px auto 0; overflow: hidden; }
.load-track i { display: block; width: 0; height: 100%; background: var(--ink); transition: width .3s ease; }

/* ---------- free result ---------- */
.score-hero {
  margin: 10px 0 18px; padding: 24px 20px;
  border-radius: var(--r-lg); background: var(--ink); color: #FFF3E8;
  text-align: center; position: relative; overflow: hidden;
}
.score-hero::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,92,.35), transparent 70%);
  top: -90px; right: -60px;
}
.score-big { font-size: 56px; font-weight: 850; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.score-big small { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-left: 4px; color: #D8C8B8; }
.score-hero p { font-size: 13px; color: #D8C8B8; margin-top: 8px; }
.score-type { font-size: 18px; font-weight: 800; color: var(--yellow); margin-top: 6px; }

.free-talent {
  background: #fff; border-radius: var(--r-lg); padding: 20px;
  box-shadow: 0 10px 30px rgba(90,60,35,.08);
}
.free-talent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.talent-ico {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  font-size: 22px; background: #FFF0EA;
}
.free-talent h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.free-talent .rank { margin-left: auto; font-size: 11px; font-weight: 750; color: var(--coral-deep); background: var(--coral-soft); padding: 4px 9px; border-radius: 99px; }
.blur-name { filter: blur(5px); user-select: none; pointer-events: none; }
.free-peaks { display: flex; gap: 10px; margin: 0 0 12px; }
.peak {
  flex: 1; background: #fff; border-radius: 16px; padding: 13px 15px 12px;
  box-shadow: 0 8px 22px rgba(90,60,35,.06);
}
.peak-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.peak-top span { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.peak-top b { font-size: 24px; font-weight: 850; letter-spacing: -.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.peak .blur-name { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); min-height: 18px; }
.free-talent.low {
  background: #FFF5EF;
  border: 1px solid #FFD8CB;
  border-top: 4px solid var(--coral);
  box-shadow: 0 14px 34px rgba(226,78,57,.12);
}
.free-talent.low h3 { font-size: 22px; }
.free-talent.low .talent-ico { background: #FFE3D9; }
.free-talent.low .talent-bar .track { height: 10px; }
.free-talent.low .talent-bar .track i { background: linear-gradient(90deg, var(--coral), #FF9A6E); }
.free-talent.low .talent-bar b { font-size: 28px; color: var(--coral-deep); line-height: 1; letter-spacing: -.04em; }
.free-talent .rank.low { background: #FFE0D6; color: #C43D28; }
.free-talent .low-tag {
  display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .08em;
  color: #fff; background: var(--coral); padding: 2px 8px; border-radius: 99px;
  margin-bottom: 3px;
}
.free-talent .low-lead { font-size: 10.5px; letter-spacing: .08em; color: var(--coral-deep); font-weight: 750; margin: 12px 0 4px; }
.free-talent .low-hint { margin-top: 10px; font-size: 11.5px; color: var(--muted); line-height: 1.6; }
.free-talent p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.talent-bar { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.talent-bar .track { flex: 1; height: 8px; border-radius: 99px; background: #F3E9DE; overflow: hidden; }
.talent-bar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral), #FFB27A); border-radius: 99px; }
.talent-bar b { font-size: 12px; font-variant-numeric: tabular-nums; }

.locked { margin: 14px 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; padding: 16px 16px 14px; }
.locked-title { font-size: 12px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.lock-rows { display: grid; gap: 10px; }
.lock-row { display: grid; grid-template-columns: 18px 62px 1fr 14px; align-items: center; gap: 8px; }
.lock-row b { font-size: 10px; color: #C2B3A3; font-weight: 700; }
.lock-row .nm { font-size: 12px; color: var(--ink-2); font-weight: 650; }
.lock-row .track { height: 7px; border-radius: 99px; background: #F3E9DE; overflow: hidden; }
.lock-row .track i { display: block; height: 100%; border-radius: 99px; background: #D9CBBB; filter: blur(.6px); }
.lock-row em { font-style: normal; font-size: 11px; color: #C2B3A3; font-weight: 700; }
.locked-foot { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.locked-foot p { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.locked-foot small { font-size: 11px; color: var(--muted); display: block; margin-top: 2px; }

.free-actions { margin-top: 16px; display: grid; gap: 10px; }
.teaser-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.low-note { margin: 0 0 14px; padding: 13px 15px; border-radius: 14px; background: #FFF6F2; border: 1px dashed #F2C4B8; font-size: 12px; color: #8C6A5A; line-height: 1.7; }

/* ---------- report ---------- */
.report-nav { position: sticky; top: 0; }
#report-root { padding-bottom: 40px; }
.rep-cover {
  padding: 30px 22px 22px;
  background: linear-gradient(160deg, #2A2420 0%, #443229 60%, #5B3A2C 100%);
  color: #FFF3E8; position: relative; overflow: hidden;
}
.rep-cover::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,87,.42), transparent 68%);
  top: -140px; right: -110px;
}
.rep-cover::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(23,152,138,.3), transparent 68%);
  bottom: -150px; left: -90px;
}
.rep-cover > * { position: relative; z-index: 1; }
.rep-eyebrow { font-size: 10px; letter-spacing: .22em; color: #C9B6A4; font-weight: 700; }
.rep-name { font-size: clamp(26px, 8vw, 34px); font-weight: 850; letter-spacing: -.03em; margin: 10px 0 4px; word-break: break-word; }
.rep-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 12px; color: #C9B6A4; font-variant-numeric: tabular-nums; }
.rep-meta span { font-size: 11px; }
.rep-headline { margin-top: 20px; font-size: 19px; font-weight: 800; color: var(--yellow); line-height: 1.5; }
.rep-headline small { display: block; font-size: 12px; font-weight: 500; color: #C9B6A4; margin-top: 4px; }
.rep-overall { display: flex; align-items: flex-end; gap: 8px; margin-top: 18px; }
.rep-warn { margin: 14px 22px 0; padding: 13px 15px; border-radius: 14px; background: #FFF6F2; border: 1px dashed #F2C4B8; font-size: 12px; color: #8C6A5A; line-height: 1.7; }
.rep-overall b { font-size: 52px; font-weight: 850; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.rep-overall span { font-size: 12px; color: #C9B6A4; padding-bottom: 6px; }

.rep-section { padding: 26px 22px 0; }
.rep-section > h2 {
  font-size: 20px; font-weight: 850; letter-spacing: -.02em; margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 8px;
}
.rep-section > h2 .num { font-size: 10px; color: var(--coral-deep); letter-spacing: .12em; }
.rep-section > .rep-note {
  margin: 12px 0 0; padding: 11px 14px; border-radius: 12px;
  background: #FFF7F2; color: var(--ink-2); font-size: 12px; line-height: 1.7;
  border-left: 3px solid var(--coral);
}
.rep-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.card {
  background: #fff; border-radius: var(--r-md); padding: 18px;
  box-shadow: 0 6px 20px rgba(90,60,35,.05);
}
.card + .card { margin-top: 10px; }
.card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }
.card p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.card .mini-label { font-size: 10.5px; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

/* radar */
.radar-wrap { background: #fff; border-radius: var(--r-lg); padding: 10px 8px 4px; box-shadow: 0 6px 20px rgba(90,60,35,.05); }
.radar-wrap svg { width: 100%; height: auto; display: block; }

/* dim list */
.dim-list { display: grid; gap: 12px; margin-top: 14px; }
.dim-item { display: grid; grid-template-columns: 74px 1fr 46px; align-items: center; gap: 10px; }
.dim-item .nm { font-size: 12.5px; font-weight: 700; }
.dim-item .track { height: 8px; border-radius: 99px; background: #F1E6DA; overflow: hidden; }
.dim-item .track i { display: block; height: 100%; border-radius: 99px; background: var(--c); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.dim-item .pct { font-size: 12px; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.dim-item .pct small { font-size: 9px; color: var(--muted); font-weight: 500; }

/* top talents */
.top-talent { position: relative; padding-top: 16px; }
.top-talent .badge {
  position: absolute; top: -10px; right: 14px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
  background: var(--coral); color: #fff; font-size: 9.5px; font-weight: 800;
  letter-spacing: .06em; padding: 4px 9px; border-radius: 12px;
  white-space: nowrap; line-height: 1.15;
}
.top-talent .badge i { font-style: normal; font-weight: 700; opacity: .95; letter-spacing: 0; }
.dim-item .pct.low { color: var(--muted); }
.dim-item .pct.low em { font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--coral-deep); }
.dim-item .pct.low small { margin-left: 4px; font-size: 9px; color: var(--muted); }
.rep-meta b { color: #FFF3E8; font-weight: 800; font-variant-numeric: tabular-nums; }
.top-talent .t-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.top-talent .t-head h3 { margin: 0; font-size: 17px; }
.top-talent .t-head .en { font-size: 10px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-left: auto; }
.evidence { margin-top: 10px; padding: 12px 14px; background: #FBF5EE; border-left: 3px solid var(--c); border-radius: 0 12px 12px 0; }
.evidence q { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.evidence .src { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.evidence .premise-line { display: block; font-size: 10.5px; color: #8A7A6C; margin: 3px 0 2px; }
.evidence .not-yet { font-size: 11.5px; color: #A08A78; margin-top: 6px; line-height: 1.6; }
.acts { margin-top: 10px; display: grid; gap: 6px; }
.acts li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }
.acts li::before { content: "→"; position: absolute; left: 0; color: var(--c); font-size: 11px; }

/* progress */
.progress-hero { display: flex; align-items: center; gap: 16px; }
.progress-ring { position: relative; width: 88px; height: 88px; flex: 0 0 auto; }
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 20px; font-weight: 850; letter-spacing: -.03em;
}
.progress-copy h3 { font-size: 15px; margin-bottom: 4px; }
.progress-copy p { font-size: 12.5px; }

/* temperament */
.temp-grid { display: grid; gap: 8px; }
.temp-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--r-sm); padding: 13px 14px; }
.temp-item .ic { width: 30px; height: 30px; border-radius: 10px; background: #F8EFE4; display: grid; place-items: center; font-size: 15px; flex: 0 0 auto; }
.temp-item h4 { font-size: 13px; font-weight: 800; margin: 0 0 2px; }
.temp-item p { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.temp-item .val { margin-left: auto; font-size: 11px; font-weight: 750; color: var(--teal); white-space: nowrap; }

/* decode */
.decode { border-radius: var(--r-md); background: #fff; padding: 18px; margin-bottom: 10px; border-top: 3px solid var(--c, var(--coral)); }
.decode h3 { display: flex; align-items: center; gap: 8px; }
.decode .mis { font-size: 12px; color: #B08472; margin: 6px 0 2px; }
.decode .truth { font-size: 13px; color: var(--ink); font-weight: 650; margin-bottom: 8px; }
.decode .say { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; background: #FAF4EC; border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.decode .say b { color: var(--ink); }

/* scripts */
.script { background: #fff; border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 10px; }
.script .lbl { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--coral-deep); }
.script ul { margin-top: 8px; display: grid; gap: 8px; }
.script li { font-size: 13.5px; line-height: 1.75; color: var(--ink); position: relative; padding-left: 14px; }
.script li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }
.script li span { color: var(--muted); }

/* plan */
.plan-hint {
  margin: 12px 0 0; font-size: 11.5px; color: var(--coral-deep);
  background: var(--coral-soft); border-radius: 10px; padding: 9px 12px; line-height: 1.6;
}
.plan-card { position: relative; }
.plan-badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em;
  color: #7A3B00; background: #FFE1A8; padding: 4px 9px; border-radius: 99px;
  margin-bottom: 8px;
}
.plan-points { display: grid; gap: 6px; margin: 12px 0 16px; }
.plan-points li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.plan-points li::before { content: "·"; position: absolute; left: 3px; top: 0; color: var(--coral); font-weight: 900; }
.plan { position: relative; padding-left: 26px; }
.plan::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 10px; width: 2px; background: #EADBCC; }
.week { position: relative; padding-bottom: 18px; }
.week:last-child { padding-bottom: 0; }
.week::before {
  content: ""; position: absolute; left: -24px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 3px solid var(--coral);
}
.week h4 { font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.week p { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.week .tag { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }

.rep-foot { padding: 26px 22px 10px; text-align: center; }
.rep-foot p { font-size: 10.5px; color: var(--muted); line-height: 1.75; text-align: left; background: #F6EDE4; padding: 14px 16px; border-radius: 14px; }
.rep-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 22px 0; }

/* ---------- sheet ---------- */
.sheet-mask, .share-mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(35, 25, 18, .45);
  display: flex; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.sheet-mask[hidden], .share-mask[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 520px; background: var(--bg);
  border-radius: 26px 26px 0 0; padding: 26px 22px calc(24px + env(safe-area-inset-bottom));
  position: relative; animation: up .28s cubic-bezier(.22,.9,.3,1);
  max-height: 92vh; overflow-y: auto;
}
@keyframes up { from { transform: translateY(40px); } to { transform: none; } }
.sheet-close {
  position: absolute; top: 14px; right: 16px; width: 32px; height: 32px;
  border-radius: 50%; background: #EFE3D6; font-size: 16px; line-height: 1;
}
.sheet h3 { font-size: 22px; font-weight: 850; letter-spacing: -.03em; margin: 4px 0 12px; }
.pay-list { display: grid; gap: 8px; margin: 6px 0 16px; }
.pay-list li { font-size: 13px; color: var(--ink-2); position: relative; padding-left: 20px; }
.pay-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.pay-price { font-size: 40px; font-weight: 850; letter-spacing: -.04em; margin-bottom: 14px; }
.pay-price span { font-size: 20px; vertical-align: super; margin-right: 2px; }
.pay-price small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.pay-original { font-size: 11.5px; color: var(--muted); margin: -8px 0 14px; }
.pay-original s { color: #B9A99A; }
.coupon { margin: 0 0 14px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { flex: 1; min-width: 0; padding: 12px 14px; font-size: 14px; }
.coupon-row .input:disabled { background: #F6EDE4; color: var(--muted); }
.coupon-btn {
  padding: 0 18px; border-radius: 14px; background: var(--ink); color: var(--bg);
  font-weight: 750; font-size: 14px; white-space: nowrap;
}
.coupon-btn:disabled { opacity: .5; }
.coupon-msg { font-size: 11px; color: var(--muted); margin-top: 6px; min-height: 16px; line-height: 1.5; }
.coupon-msg.ok { color: var(--teal); }
.coupon-msg.err { color: #C43D28; }

/* ---------- share ---------- */
.share-mask { align-items: center; padding: 20px; }
.share-box { width: 100%; max-width: 460px; }
#share-canvas { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.4); display: block; }
.share-actions { display: flex; gap: 10px; margin-top: 14px; }
.share-actions .btn { flex: 1; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--bg); font-size: 12.5px;
  padding: 10px 18px; border-radius: 99px; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 200; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- print ---------- */
@media print {
  body::before, .bg-blobs, .report-nav, .rep-actions { display: none !important; }
  #app { max-width: none; box-shadow: none; }
  .screen { display: none !important; }
  #screen-report { display: block !important; }
  .rep-cover { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .card, .radar-wrap { box-shadow: none; border: 1px solid #eee; }
}

/* =========================================================
   28 天计划（付费后）
   ========================================================= */
#screen-plan { padding-bottom: 40px; }
.plan-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #2A2420 0%, #443229 60%, #5B3A2C 100%);
  color: #FFF3E8; padding: 30px 22px 24px;
}
.plan-hero::before {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,87,.40), transparent 68%);
  top: -140px; right: -90px;
}
.plan-hero > * { position: relative; z-index: 1; }
.plan-kicker { font-size: 9.5px; letter-spacing: .22em; color: #C9B6A4; font-weight: 700; margin: 0 0 8px; }
.plan-hero h1 { font-size: 30px; line-height: 1.25; font-weight: 850; letter-spacing: -.03em; margin: 0 0 4px; }
.plan-meta { font-size: 12px; color: #C9B6A4; margin: 0 0 14px; }
.plan-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-chips span {
  font-size: 10.5px; font-weight: 600; padding: 5px 9px; border-radius: 99px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.12); color: #FFF3E8;
}
.plan-chips b { color: var(--yellow); font-weight: 800; }
.plan-body { padding: 0 22px 30px; }
.plan-sec { padding-top: 26px; }
.plan-sec h2 { font-size: 20px; font-weight: 850; letter-spacing: -.02em; margin: 0 0 6px; }
.plan-sub { font-size: 12.5px; color: var(--muted); line-height: 1.7; margin: 0 0 12px; }
.plan-card { background: #fff; border-radius: 16px; padding: 14px 16px; }
.plan-rules { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.plan-rules li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }
.plan-rules li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.plan-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.plan-summary > div { background: #fff; border-radius: 14px; padding: 12px; }
.plan-summary span { font-size: 9px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.plan-summary b { display: block; font-size: 13px; margin-top: 2px; }
.plan-summary p { font-size: 11px; color: var(--ink-2); line-height: 1.6; margin: 2px 0 0; }
.plan-materials { display: flex; flex-wrap: wrap; gap: 6px; }
.plan-materials span { font-size: 11px; background: #F6EDE4; color: var(--ink-2); padding: 5px 9px; border-radius: 99px; }
.plan-week { padding-top: 28px; }
.plan-week-head { display: flex; align-items: baseline; gap: 8px; }
.plan-week-head span { font-size: 9.5px; font-weight: 800; letter-spacing: .16em; color: var(--wc, var(--coral)); }
.plan-week-head h2 { font-size: 21px; font-weight: 850; letter-spacing: -.02em; margin: 0; }
.plan-goal { font-size: 11.5px; color: var(--muted); line-height: 1.65; margin: 2px 0 10px; }
.plan-table-wrap { background: #fff; border-radius: 14px; overflow: hidden; }
.plan-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.plan-table th { font-size: 9px; letter-spacing: .08em; color: var(--muted); font-weight: 700; text-align: left; padding: 8px 8px; background: #F8F0E7; }
.plan-table th:nth-child(1) { width: 30px; }
.plan-table th:nth-child(3) { width: 36px; text-align: center; }
.plan-table th:nth-child(4) { width: 26px; text-align: center; }
.plan-table td { padding: 9px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.pt-day { font-size: 12.5px; font-weight: 850; color: var(--coral-deep); }
.pt-task b { display: block; font-size: 12px; font-weight: 800; letter-spacing: -.01em; line-height: 1.45; }
.pt-task span { display: block; font-size: 10.5px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.pt-task em { display: block; font-style: normal; font-size: 10px; color: #8A7A6C; margin-top: 4px; line-height: 1.55; }
.pt-min { text-align: center; font-size: 10px; color: var(--muted); padding-top: 11px; font-variant-numeric: tabular-nums; }
.pt-done { text-align: center; padding-top: 10px; }
.pt-box { display: inline-block; width: 14px; height: 14px; border: 1.5px dashed #C9B6A4; border-radius: 4px; }
.plan-review { margin-top: 8px; background: #FFF7F2; border-left: 3px solid var(--wc, var(--coral)); border-radius: 0 12px 12px 0; padding: 11px 13px; }
.plan-review h3 { font-size: 11px; font-weight: 800; margin: 0 0 5px; }
.plan-review ol { margin: 0; padding-left: 16px; }
.plan-review li { font-size: 10.5px; color: var(--ink-2); line-height: 1.75; }
.plan-foot { padding: 28px 0 10px; font-size: 10.5px; color: var(--muted); line-height: 1.8; }
@media (max-width: 380px) {
  .plan-summary { grid-template-columns: 1fr; }
}
@media print {
  body.printing-plan .screen { display: none !important; }
  body.printing-plan #screen-report { display: none !important; }
  body.printing-plan #screen-plan { display: block !important; }
  body.printing-plan .report-nav { display: none !important; }
  body.printing-plan #app { max-width: none; box-shadow: none; background: #fff; }
  body.printing-plan #screen-plan { padding-bottom: 0; }
  body.printing-plan .plan-week { break-inside: avoid; }
  body.printing-plan .plan-hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* 打印版目录：只在 PDF / 打印出现 */
.print-only { display: none; }
@media print {
  .print-only { display: block !important; }
  .rep-section > h2 { break-after: avoid; }
  .rep-section.rep-break { break-before: page; }
  .rep-toc {
    margin-top: 18px; padding: 16px 18px; border: 1px solid #eee; border-radius: 14px;
    background: #fff; break-inside: avoid;
  }
  .rep-toc-title { font-size: 11px; letter-spacing: .16em; color: #E24E39; font-weight: 800; margin: 0 0 8px; }
  .rep-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
  .rep-toc li { font-size: 11px; color: #574D45; }
  .rep-toc li b { color: #E24E39; margin-right: 8px; font-size: 9px; letter-spacing: .08em; }
  .rep-toc-note { font-size: 10px; color: #978C81; line-height: 1.8; margin: 12px 0 0; }
  .rep-toc-quote { font-size: 13px; color: #574D45; line-height: 1.8; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #EFE3D6; font-weight: 600; }
}

/* ---------- 免费初诊 v2 ---------- */
.nav-text { font-size: 11px; font-weight: 750; color: var(--coral-deep); background: none; border: 0; padding: 8px 0; font-family: var(--font); }
.free-sub { font-size: 12px; color: var(--muted); margin: 4px 0 14px; line-height: 1.6; }
.free-hero {
  position: relative; overflow: hidden; margin: 0 0 14px; padding: 22px 20px 18px;
  border-radius: var(--r-lg); background: linear-gradient(160deg, #2A2420, #4A342A);
  color: #FFF3E8;
}
.free-hero::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,92,.30), transparent 68%);
  top: -120px; right: -80px;
}
.free-hero > * { position: relative; z-index: 1; }
.hero-kicker { font-size: 9.5px; letter-spacing: .16em; color: #C9B6A4; font-weight: 700; margin: 0 0 7px; }
.free-hero h3 { font-size: 26px; font-weight: 850; letter-spacing: -.03em; margin: 0 0 6px; }
.hero-anchor { font-size: 13px; color: #EAD8C6; line-height: 1.7; margin: 0 0 10px; }
.hero-academic { font-size: 10.5px; color: #C9B6A4; margin: 0 0 14px; }
.hero-academic .blur-name { filter: blur(4px); }
.hero-note { font-size: 9.5px; color: #A89684; margin: 6px 0 0; }
.hero-score { display: flex; align-items: flex-end; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-score b { font-size: 42px; line-height: 1; font-weight: 850; letter-spacing: -.05em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.hero-score b small { font-size: 14px; margin-left: 2px; color: #D8C8B8; }
.hero-score span { font-size: 10.5px; color: #D8C8B8; line-height: 1.6; }
.peak.top1 { border: 1px solid #FFD8CB; box-shadow: 0 10px 26px rgba(226,78,57,.10); }
.peak.locked { background: #FBF6F0; border: 1px dashed #E3D2BF; box-shadow: none; }
.peak-name { display: block; margin-top: 5px; font-size: 14px; font-weight: 800; color: var(--ink); }
.peak.locked .peak-name { color: var(--muted); font-size: 13px; }
.peak-note { font-size: 10.5px; color: var(--muted); line-height: 1.55; margin: 4px 0 0; min-height: 31px; }
.lock-ico { font-size: 10px; margin-right: 2px; }
.hidden-low {
  margin: 12px 0; padding: 18px; border-radius: var(--r-lg);
  background: #FFF7F2; border: 1px solid #FFD8CB; border-left: 4px solid var(--coral);
}
.warn-tag { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: #B53924; background: #FFE0D6; padding: 3px 8px; border-radius: 99px; margin-bottom: 7px; }
.hidden-low h3 { font-size: 18px; font-weight: 850; letter-spacing: -.02em; margin: 0 0 8px; }
.hidden-dim { font-size: 12px; color: var(--muted); margin: 0 0 9px; }
.hidden-dim span { font-size: 10px; color: var(--coral-deep); margin-left: 4px; }
.hidden-hook { font-size: 12.5px; color: var(--ink-2); line-height: 1.7; margin: 0; }
.hidden-hook b { color: var(--coral-deep); }
.hidden-sub { font-size: 10.5px; color: var(--muted); line-height: 1.6; margin: 8px 0 0; }
.rank-card { margin: 12px 0; padding: 16px; border-radius: var(--r-lg); background: #fff; }
.rank-title { font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 6px; margin-bottom: 11px; }
.rank-row { display: grid; grid-template-columns: 16px 62px 1fr 20px; align-items: center; gap: 8px; padding: 6px 0; }
.rank-row b { font-size: 9.5px; color: #C2B3A3; }
.rank-row .rank-name { font-size: 11.5px; color: var(--ink-2); font-weight: 650; }
.rank-row .track { height: 7px; border-radius: 99px; background: #F3E9DE; overflow: hidden; }
.rank-row .track i { display: block; height: 100%; border-radius: 99px; background: #D9CBBB; }
.rank-row.first .rank-name { color: var(--coral-deep); font-weight: 800; }
.rank-row.first .track i { background: linear-gradient(90deg, var(--coral), #FFB27A); }
.rank-row em { font-style: normal; font-size: 10px; color: #C2B3A3; text-align: right; }
.rank-row.first em { color: var(--coral-deep); font-weight: 800; }
.rank-hint { font-size: 10.5px; color: var(--muted); margin: 8px 0 0; }
.tag-preview { margin: 12px 0; padding: 15px 16px; border-radius: var(--r-lg); background: #fff; }
.tag-preview .mini-label { display: block; margin-bottom: 8px; }
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-chips span { font-size: 11px; font-weight: 700; color: var(--ink-2); background: #F6EDE4; padding: 5px 9px; border-radius: 99px; }
.tag-preview p { font-size: 10.5px; color: var(--muted); line-height: 1.6; margin: 9px 0 0; }
.free-pay { margin: 14px 0 0; padding: 18px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 10px 30px rgba(90,60,35,.07); }
.pay-kicker { font-size: 9.5px; letter-spacing: .16em; color: var(--coral-deep); font-weight: 800; margin: 0 0 5px; }
.free-pay h3 { font-size: 19px; font-weight: 850; margin: 0 0 10px; }
.pay-list { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 6px; }
.pay-list li { position: relative; padding-left: 15px; font-size: 11.5px; color: var(--ink-2); line-height: 1.6; }
.pay-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 800; }
.free-pay .btn s { color: #B9A899; font-weight: 500; margin-left: 6px; font-size: 11px; }
.rep-anchor { font-size: 12px; color: #EAD8C6; line-height: 1.7; margin: 6px 0 0; max-width: 420px; }
.rep-academic { font-size: 10px; color: #A89684; letter-spacing: .04em; margin: 8px 0 0; }

.plan-pay-sub { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0 0 12px; }

.pay-sub, .free-pay-sub { font-size: 12px; color: var(--muted); line-height: 1.6; margin: -4px 0 12px; }
.pay-methods { display: flex; gap: 8px; margin: 0 0 10px; }
.pay-method { flex: 1; border: 1px solid #EADCCD; background: #fff; border-radius: 10px; padding: 9px; font: inherit; font-size: 12px; font-weight: 700; color: #574D45; cursor: pointer; }
.pay-method.on { border-color: #FF6B57; background: #FFF0EA; color: #D94B35; }
.pay-methods { display: flex; gap: 8px; margin: 0 0 10px; }
.pay-method { flex: 1; border: 1px solid #EADCCD; background: #fff; border-radius: 10px; padding: 9px; font: inherit; font-size: 12px; font-weight: 700; color: #574D45; cursor: pointer; }
.pay-method.on { border-color: #FF6B57; background: #FFF0EA; color: #D94B35; }
