/* 登科引擎 /v2 · 独立样式（不依赖 v1 styles.css）
   Ink & Gilt · 墨蓝 × 香槟金 · 移动优先（断点 720px） */

:root {
  --navy: #0D2137;          /* 批4：对齐主站 live 主 navy（原 #1B3A6B） */
  --navy-deep: #081427;     /* 批4：对齐主站 navy-900 深蓝（原 #0f2347） */
  --gold: #C9A84C;          /* 与主站 live --gold 同值，保持 */
  --gold-deep: #b08f38;     /* 仅用于金按钮 hover 底色 */
  --gold-ink: #8a6d22;      /* 批4：浅底小字金，AA 达标（原 gold-deep 在 paper ≈2.6:1 不达标） */
  --paper: #F4F0E6;         /* 批4：对齐主站暖米（原 #F7F6F2） */
  --ink: #22314d;
  --muted: #556487;         /* 批4：对齐主站冷蓝灰 hue，保持深度达 AA（原 #5E6C87） */
  --line: #E5E1D6;
  --ok: #3E7D5B;
  --warn: #B0722F;

  --gold-wash: #faf6ea;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(15, 35, 71, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 35, 71, 0.10);
  --shadow-lg: 0 -10px 40px rgba(15, 35, 71, 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.22s;

  --serif: 'Noto Serif SC', 'Songti SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body { min-height: 100vh; }

a { color: var(--navy); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); margin: 0; }

.dk-serif { font-family: var(--serif); }
.dk-tnum { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.dk-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 通用容器 / 屏切换 ---------- */
.dk-app { min-height: 100vh; display: flex; flex-direction: column; }
.dk-screen { display: none; }
.dk-screen.is-active { display: block; }
.dk-wrap { width: 100%; max-width: 560px; margin: 0 auto; padding: 24px 20px 40px; }
.dk-wrap-wide { max-width: 640px; }

/* ---------- 按钮 ---------- */
.dk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: var(--radius);
  border: 1px solid transparent; font-size: 16px; font-weight: 600;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.dk-btn:active { transform: translateY(1px); }
.dk-btn-primary { background: var(--gold); color: var(--navy); }
.dk-btn-primary:hover { background: var(--gold-deep); }
.dk-btn-block { width: 100%; }
.dk-btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.dk-btn-ghost:hover { border-color: var(--navy); }
/* 批4：navy 实心（联系类主操作，与金色转化主键区分，避免视口内双金） */
.dk-btn-navy { background: var(--navy); color: var(--paper); }
.dk-btn-navy:hover { background: var(--navy-deep); }
.dk-btn[disabled], .dk-btn.is-disabled {
  background: #d9d7cd; color: #8b8b82; cursor: not-allowed; box-shadow: none;
}
.dk-btn.is-shake { animation: dk-shake 0.4s var(--ease); }
@keyframes dk-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ================= S0 同意闸门 ================= */
.dk-s0-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 30px 24px;
}
.dk-eyebrow {
  font-size: 13px; letter-spacing: 0.08em; color: var(--gold-ink);
  text-transform: none; font-weight: 600; margin-bottom: 10px;
}
/* 批4：S0 价值 eyebrow（同意墙前给品牌+价值主张） */
.dk-s0-value {
  font-size: 13.5px; line-height: 1.5; color: var(--gold-ink);
  font-weight: 700; letter-spacing: 0.01em; margin-bottom: 12px;
}
.dk-s0-title { font-size: 22px; line-height: 1.4; margin-bottom: 20px; }
.dk-use-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.dk-use-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); }
.dk-use-list .dk-ic { flex: 0 0 auto; margin-top: 3px; color: var(--gold-ink); }
.dk-use-list b { color: var(--navy); font-weight: 600; }
.dk-link-row { margin: 0 0 22px; font-size: 13.5px; }
.dk-link-row a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

/* 自定义 checkbox */
.dk-consents { display: grid; gap: 14px; margin-bottom: 22px; }
.dk-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; user-select: none; }
.dk-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.dk-check .dk-box {
  flex: 0 0 auto; width: 22px; height: 22px; border: 1.5px solid var(--line);
  border-radius: 6px; background: var(--white); margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.dk-check .dk-box svg { opacity: 0; transform: scale(0.6); transition: all var(--dur) var(--ease); color: var(--navy); }
.dk-check input:checked + .dk-box { background: var(--gold); border-color: var(--gold); }
.dk-check input:checked + .dk-box svg { opacity: 1; transform: scale(1); }
.dk-check input:focus-visible + .dk-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.dk-check .dk-check-txt { font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.dk-check .dk-req { color: var(--warn); font-size: 12px; margin-left: 4px; }
.dk-s0-foot { margin-top: 16px; font-size: 12px; color: var(--muted); text-align: center; }

/* ================= 向导 S1–S12 ================= */
.dk-wiz-top {
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  padding: 12px 20px 10px; border-bottom: 1px solid var(--line);
}
.dk-wiz-top-inner { max-width: 560px; margin: 0 auto; }
.dk-wiz-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; min-height: 24px; }
.dk-back {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: none;
  color: var(--muted); font-size: 13px; padding: 4px 4px 4px 0;
}
.dk-back svg { color: var(--muted); }
.dk-back[hidden] { visibility: hidden; }

/* 进度条 3 段 */
.dk-prog { display: flex; gap: 6px; }
.dk-prog-seg { flex: 1; }
.dk-prog-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; text-align: center; transition: color var(--dur) var(--ease); }
.dk-prog-seg.is-active .dk-prog-label { color: var(--gold-ink); font-weight: 600; }
.dk-prog-track { height: 5px; border-radius: 4px; background: var(--line); overflow: hidden; }
.dk-prog-fill { height: 100%; width: 0; background: var(--gold); border-radius: 4px; transition: width 0.4s var(--ease); }
.dk-prog-seg.is-done .dk-prog-fill { width: 100%; }
.dk-prog-base { font-size: 10.5px; color: var(--ok); text-align: center; margin-top: 4px; }

/* 题卡 */
.dk-q { max-width: 560px; margin: 0 auto; padding: 22px 20px 28px; }
.dk-q-eyebrow { font-size: 12.5px; color: var(--gold-ink); font-weight: 600; margin-bottom: 8px; }
.dk-q-title { font-size: 20px; line-height: 1.45; margin-bottom: 6px; }
.dk-q-why { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.dk-q-why::before { content: '为什么问：'; color: var(--muted); }

.dk-opts { display: grid; gap: 12px; }
.dk-opt {
  position: relative; width: 100%; text-align: left; min-height: 52px;
  padding: 14px 18px 14px 40px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font-size: 15.5px; line-height: 1.4;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.dk-opt::before {
  content: ''; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line);
  transition: all var(--dur) var(--ease);
}
.dk-opt:hover { border-color: var(--gold); }
.dk-opt[aria-pressed='true'] {
  border-color: var(--gold); background: var(--gold-wash);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.dk-opt[aria-pressed='true']::before { background: var(--gold); border-color: var(--gold); }

/* trade-off 对比卡 (Q12) */
.dk-tradeoff { margin-bottom: 20px; }
.dk-tradeoff > .dk-q-title { font-size: 17px; }
.dk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dk-pair .dk-opt { padding: 18px 16px; text-align: center; min-height: 96px; display: flex; align-items: center; justify-content: center; }
.dk-pair .dk-opt::before { display: none; }

/* 年级 chips / 出生年月 */
.dk-selrow { display: flex; gap: 12px; }
.dk-selrow select {
  flex: 1; min-height: 52px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 16px;
  font-family: inherit; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23556487' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.dk-suggest { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); background: var(--gold-wash); border: 1px solid var(--gold); font-size: 14px; }
.dk-suggest b { color: var(--navy); }
.dk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dk-chip {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 13.5px; color: var(--ink); transition: all var(--dur) var(--ease);
}
.dk-chip[aria-pressed='true'] { border-color: var(--gold); background: var(--gold); color: var(--navy); font-weight: 600; }

/* 18 区多选展开 */
.dk-districts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }

/* 共情反馈 */
.dk-empathy {
  margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--gold);
  background: var(--gold-wash); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13.5px; color: var(--navy); animation: dk-fade-up var(--dur) var(--ease);
}
@keyframes dk-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 多选下一题按钮 */
.dk-multi-next { margin-top: 20px; }

/* ---------- 漏斗计数条 ---------- */
.dk-funnel {
  position: sticky; bottom: 0; z-index: 15; margin-top: 22px;
  background: var(--navy-deep); color: #eaf0f8;
  padding: 12px 20px; display: flex; align-items: center; justify-content: space-between;
}
.dk-funnel-inner { max-width: 560px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.dk-funnel-label { font-size: 13px; color: #bcd0ec; }
.dk-funnel-num { font-family: var(--serif); font-size: 22px; color: var(--gold); font-variant-numeric: tabular-nums; transition: color 0.5s var(--ease); }
.dk-funnel-num.is-pulse { color: #f4e3a8; }
.dk-funnel[hidden] { display: none; }
.dk-funnel-note { font-size: 11.5px; color: #9db4d4; }

/* ================= S13 生成仪式屏 ================= */
.dk-ceremony { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; }
.dk-star { width: 240px; height: 240px; max-width: 70vw; max-height: 70vw; margin-bottom: 12px; }
.dk-ceremony-title { font-size: 19px; margin-bottom: 4px; }
.dk-ceremony-sub { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.dk-stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; width: 100%; max-width: 360px; }
.dk-stage {
  display: flex; align-items: center; gap: 12px; text-align: left;
  font-size: 14.5px; color: #9aa6ba; opacity: 0.5; transition: all 0.4s var(--ease);
}
.dk-stage .dk-stage-dot {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; background: var(--white);
}
.dk-stage .dk-stage-dot svg { opacity: 0; color: var(--navy); }
.dk-stage.is-active { opacity: 1; color: var(--navy); }
.dk-stage.is-active .dk-stage-dot { border-color: var(--gold); }
.dk-stage.is-done { opacity: 1; color: var(--ink); }
.dk-stage.is-done .dk-stage-dot { background: var(--gold); border-color: var(--gold); }
.dk-stage.is-done .dk-stage-dot svg { opacity: 1; }
.dk-stage.is-active .dk-stage-spin {
  width: 14px; height: 14px; border: 2px solid var(--gold); border-right-color: transparent;
  border-radius: 50%; animation: dk-spin 0.8s linear infinite;
}
@keyframes dk-spin { to { transform: rotate(360deg); } }
.dk-queue, .dk-reassure { margin-top: 20px; font-size: 13px; color: var(--muted); min-height: 20px; }
.dk-queue { color: var(--warn); }

/* ================= S14 解锁门 ================= */
.dk-gate-scope { position: relative; min-height: 100vh; }
.dk-locked-report { padding-bottom: 260px; } /* 给底部门卡留白 */
.dk-blur { filter: blur(6px); user-select: none; pointer-events: none; }
.dk-mask { color: transparent; background: linear-gradient(90deg, #e7e3d7, #f2efe6); border-radius: 4px; }

.dk-gate {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #eaf0f8; padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  box-shadow: var(--shadow-lg); border-radius: 18px 18px 0 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.dk-gate-inner { max-width: 560px; margin: 0 auto; }
.dk-gate.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.dk-gate-title { font-family: var(--serif); font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.dk-gate-sub { font-size: 13.5px; color: #bcd0ec; margin-bottom: 16px; }
.dk-gate-field { display: flex; flex-direction: column; gap: 12px; }
.dk-input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06);
  color: #fff; font-size: 16px; font-family: inherit;
}
.dk-input::placeholder { color: #93a9c9; }
.dk-input:focus { border-color: var(--gold); outline: none; }
.dk-gate-err { color: #f2c1a0; font-size: 12.5px; min-height: 16px; margin-top: 2px; }
.dk-gate-foot { margin-top: 12px; font-size: 12px; color: #9db4d4; line-height: 1.5; }

/* 揭幕闪光 */
.dk-reveal { animation: dk-reveal 0.6s var(--ease); }
@keyframes dk-reveal {
  from { filter: blur(6px); opacity: 0.4; }
  to { filter: blur(0); opacity: 1; }
}

/* ================= 报告页 /r ================= */
.dk-report { max-width: 760px; margin: 0 auto; padding: 20px 18px 120px; }
/* 批4：桌面底栏改右下角常驻，需留白让免责/来源不被胶囊遮挡 */
@media (min-width: 720px) { .dk-report { padding-bottom: 96px; } }

.dk-rpt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.dk-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: var(--gold-wash); border: 1px solid var(--gold); color: var(--gold-ink);
  font-size: 12px; font-weight: 600;
}
.dk-rpt-meta { font-size: 12px; color: var(--muted); margin-top: 6px; }
.dk-share-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 1px solid var(--line); color: var(--navy); font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.dk-share-btn:hover { border-color: var(--gold); }

/* 结论卡 */
.dk-concl {
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); color: #eaf0f8;
  border-radius: var(--radius-lg); padding: 24px 22px; margin-bottom: 22px; box-shadow: var(--shadow-md);
}
.dk-concl-headline { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: #fff; margin-bottom: 16px; }
.dk-concl-headline em { color: var(--gold); font-style: normal; }
.dk-combo { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.dk-combo-chip { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-size: 13px; color: #cfe0f5; }
.dk-combo-chip b { font-family: var(--serif); font-size: 17px; color: var(--gold); }
.dk-concl-cards { display: grid; gap: 14px; }
/* 批4：mini-card 去卡化——去第二层圆角+底色，改细分隔线+金色小标题分区 */
.dk-mini-card { background: transparent; border-radius: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.dk-mini-card .dk-mini-h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--gold); font-weight: 600; margin-bottom: 5px; }
.dk-mini-card p { margin: 0; font-size: 14px; color: #e8eef8; line-height: 1.55; }

/* 十校梯子 */
.dk-tier-group { margin-bottom: 20px; }
.dk-tier-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.dk-tier-name { font-family: var(--serif); font-size: 17px; color: var(--navy); }
.dk-tier-def { font-size: 12.5px; color: var(--muted); }
.dk-tier-reach .dk-tier-name { color: var(--warn); }
.dk-tier-safe .dk-tier-name { color: var(--ok); }

.dk-school { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.dk-school-summary { list-style: none; cursor: pointer; padding: 16px 18px; display: block; }
.dk-school-summary::-webkit-details-marker { display: none; }
.dk-school-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dk-school-name { font-family: var(--serif); font-size: 16.5px; color: var(--navy); font-weight: 600; }
.dk-chance { flex: 0 0 auto; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.dk-chance.c-high { background: #eaf5ef; color: var(--ok); }
.dk-chance.c-mid { background: var(--gold-wash); color: var(--gold-ink); }
.dk-chance.c-low { background: #f7ece2; color: var(--warn); }
.dk-school-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; font-size: 12.5px; color: var(--muted); }
.dk-school-tags span { display: inline-flex; align-items: center; }
.dk-school-tags span + span::before { content: '·'; margin-right: 8px; color: var(--line); }
.dk-school-brief { font-size: 13.5px; color: var(--ink); line-height: 1.55; }
.dk-school-brief p { margin: 4px 0 0; }
.dk-school-more { margin-left: auto; font-size: 12px; color: var(--gold-ink); display: inline-flex; align-items: center; gap: 3px; }
.dk-school[open] .dk-school-more .dk-chev { transform: rotate(180deg); }
.dk-school-detail { padding: 0 18px 18px; display: grid; gap: 12px; }
.dk-detail-row { font-size: 13.5px; line-height: 1.55; }
.dk-detail-row .dk-detail-h { display: block; font-size: 12px; color: var(--gold-ink); font-weight: 600; margin-bottom: 2px; }
.dk-detail-row.is-dislike .dk-detail-h { color: var(--warn); }
.dk-source { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }

/* 校名遮蔽卡：不可展开，锁标记，名单收口到顾问交付 */
.dk-school-masked .dk-school-summary { cursor: default; }
.dk-school-name .dk-ic { color: var(--gold-ink); margin-right: 5px; vertical-align: -2px; }
.dk-tier-handoff { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin: 2px 2px 4px; }
.dk-tier-handoff .dk-ic { color: var(--gold-ink); flex: 0 0 auto; }
.dk-expand-count { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-bottom: 22px; padding: 13px 16px; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(13,33,55,.02); }
.dk-expand-count .dk-ic { color: var(--gold-ink); flex: 0 0 auto; }
.dk-expand-list li .dk-ic { color: var(--gold-ink); flex: 0 0 auto; margin-right: 2px; vertical-align: -2px; }

/* 扩展名单 */
.dk-expand { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 22px; }
.dk-expand-summary { list-style: none; cursor: pointer; padding: 15px 18px; font-size: 14px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; }
.dk-expand-summary::-webkit-details-marker { display: none; }
.dk-expand[open] .dk-expand-summary .dk-chev { transform: rotate(180deg); }
.dk-expand-list { list-style: none; margin: 0; padding: 0 18px 14px; display: grid; gap: 8px; }
.dk-expand-list li { font-size: 13px; color: var(--ink); display: flex; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.dk-expand-list li span { color: var(--muted); }

/* 行动日历 */
.dk-cal { margin-bottom: 22px; }
.dk-cal-title { font-family: var(--serif); font-size: 17px; margin-bottom: 14px; }
.dk-timeline { list-style: none; margin: 0; padding: 0 0 0 8px; }
.dk-tl-item { position: relative; padding: 0 0 20px 26px; border-left: 2px solid var(--line); }
.dk-tl-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.dk-tl-item::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.dk-tl-item.is-current::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-wash); }
.dk-tl-month { font-size: 12px; font-weight: 600; color: var(--muted); }
.dk-tl-item.is-current .dk-tl-month { color: var(--gold-ink); }
.dk-tl-label { font-size: 14.5px; color: var(--navy); font-weight: 600; margin: 2px 0; }
.dk-tl-detail { font-size: 13px; color: var(--ink); }
.dk-tl-src { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* 局限盒 + 深评卡 */
.dk-limit { background: #f0eee7; border-radius: var(--radius); padding: 16px 18px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.dk-limit b { color: var(--ink); }
.dk-deepeval {
  border: 1.5px solid var(--gold); border-radius: var(--radius-lg); background: var(--gold-wash);
  padding: 22px 20px; margin-bottom: 24px;
}
.dk-deepeval-h { font-family: var(--serif); font-size: 17px; color: var(--navy); margin-bottom: 14px; }
.dk-deepeval-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.dk-deepeval-list li { display: flex; gap: 9px; font-size: 14px; color: var(--ink); align-items: flex-start; }
.dk-deepeval-list .dk-ic { color: var(--gold-ink); flex: 0 0 auto; margin-top: 3px; }
.dk-deepeval-slots { font-size: 13px; color: var(--gold-ink); font-weight: 600; margin-bottom: 14px; }
.dk-deepeval-note { font-size: 12px; color: var(--muted); margin-top: 10px; text-align: center; }

/* 固定底栏 */
.dk-bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(15, 35, 71, 0.08);
  display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.dk-bottombar .dk-btn { flex: 1; min-height: 46px; font-size: 14px; padding: 0 10px; }
/* 批4：桌面不再隐藏底栏——收窄成右下角常驻联系胶囊（加顾问微信/问小优 持久入口） */
@media (min-width: 720px) {
  .dk-bottombar {
    left: auto; right: 24px; bottom: 24px;
    width: auto; max-width: 340px;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 10px; box-shadow: var(--shadow-md);
  }
  .dk-bottombar .dk-btn { flex: 0 0 auto; min-height: 42px; font-size: 14px; padding: 0 18px; }
}

/* 免责页脚 */
.dk-disclaimer { font-size: 12px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 16px; }
.dk-disclaimer .dk-src-line { margin-top: 6px; color: #93938a; }

/* 分享弹层 */
.dk-modal-mask { position: fixed; inset: 0; z-index: 60; background: rgba(15, 35, 71, 0.45); display: none; align-items: center; justify-content: center; padding: 24px; }
.dk-modal-mask.is-open { display: flex; }
.dk-modal { background: var(--white); border-radius: var(--radius-lg); padding: 24px; max-width: 380px; width: 100%; box-shadow: var(--shadow-md); }
.dk-modal h3 { font-size: 18px; margin-bottom: 10px; }
.dk-modal p { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; }
.dk-copy-row { display: flex; gap: 8px; }
.dk-copy-row input { flex: 1; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; color: var(--ink); background: var(--paper); }

/* ================= 分享视图 /s ================= */
.dk-share-view { max-width: 480px; margin: 0 auto; padding: 40px 22px; min-height: 100vh; display: flex; flex-direction: column; }
.dk-share-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 30px 24px; position: relative; overflow: hidden; flex: 0 0 auto; }
.dk-share-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.dk-share-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; }
.dk-share-brand strong { font-size: 15px; color: var(--navy); display: block; }
.dk-share-brand em { font-size: 11.5px; color: var(--muted); font-style: normal; }
.dk-share-headline { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--navy); margin-bottom: 18px; }
.dk-share-combo { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.dk-share-combo .dk-combo-chip { background: var(--gold-wash); color: var(--gold-ink); }
.dk-share-combo .dk-combo-chip b { color: var(--navy); }
.dk-share-private { font-size: 13px; color: var(--muted); padding: 12px 14px; background: var(--paper); border-radius: var(--radius); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.dk-share-corner { position: fixed; right: 14px; bottom: 14px; font-size: 11px; color: var(--muted); background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }

/* ================= 身份分支轻页 ================= */
.dk-identity { max-width: 560px; margin: 0 auto; padding: 30px 20px 60px; }
.dk-id-title { font-size: 22px; margin-bottom: 8px; }
.dk-id-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.dk-id-compare { display: grid; gap: 12px; margin-bottom: 24px; }
.dk-id-cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--white); }
.dk-id-cell.is-yes { border-color: var(--ok); background: #f2f9f5; }
.dk-id-cell.is-need { border-color: var(--line); background: var(--paper); }
.dk-id-cell h4 { font-size: 14px; color: var(--navy); margin-bottom: 4px; display: flex; gap: 6px; align-items: center; }
.dk-id-cell p { font-size: 13px; color: var(--muted); margin: 0; }

/* ================= 品牌头（页面通用） ================= */
.dk-topbar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 25; }
/* 批4：漏斗内品牌头——静态，让位给向导页 sticky 进度条（.dk-wiz-top），避免双 sticky 打架 */
.dk-topbar-app { position: static; }
.dk-topbar .dk-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 19px; }
.dk-topbar strong { font-size: 15px; color: var(--navy); }
.dk-topbar em { font-size: 11px; color: var(--muted); font-style: normal; display: block; }

.dk-ic { display: inline-flex; }
.dk-chev { display: inline-flex; transition: transform var(--dur) var(--ease); }

/* ================= 移动端题卡布局（批4 · ≤720px） ================= */
@media (max-width: 719.98px) {
  /* 向导整屏做 flex 列：品牌头(静态)+进度条(sticky) 在上，.dk-q 吃掉剩余高度 →
     题干在“可用区”内垂直居中，而非在整个 100dvh 内居中（否则被顶部头挤到下半屏）。 */
  #dk-wizard.is-active { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
  .dk-q { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
  /* 「下一题」类主键：margin-top:auto 顶到题卡底（拇指区），并 sticky 吸底（长题滚动时贴底，iOS safe-area）。
     有下一题的题：内容上对齐+按钮吸底（表单式，无下半屏死区）；无下一题的单选题：选项垂直居中。 */
  .dk-multi-next {
    margin-top: auto; position: sticky; z-index: 16;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  /* 计数条不再悬浮，跟随布局流到题末（滚动到底可见，让位给 sticky 下一题） */
  .dk-funnel { position: static; }
}

/* ================= 桌面适配 ================= */
@media (min-width: 720px) {
  .dk-wrap { padding-top: 40px; }
  .dk-q-title { font-size: 22px; }
  .dk-districts { grid-template-columns: repeat(6, 1fr); }
}

/* ================= reduced-motion 全关 ================= */
@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;
  }
  .dk-stage.is-active .dk-stage-spin { animation: none; border-right-color: var(--gold); }
}
