/* =========================================================
   学区档案 · 设计系统
   浅色主题 / 教育 + 房产双语义
   ========================================================= */
:root {
  /* =========================================================
     第 13 步：低饱和欧式 / 莫兰迪色彩系统
     墨绿 = 查小区 & 主按钮 / 复古黄 = 查学校 & 高亮 / 藏蓝 = 精准判定 & 顶栏
     ========================================================= */
  --brand: #3A5A40;                 /* 欧式墨绿（主色） */
  --brand-600: #2F4A35;
  --brand-050: #EEF3EE;
  --brand-100: #DCE6DD;
  --accent: #D4A373;                /* 欧式复古黄（辅色） */
  --accent-600: #B8895A;
  --accent-050: #FAF3E9;
  --navy: #344E6C;                  /* 欧式藏蓝（强调色） */
  --navy-600: #2A405A;
  --navy-050: #EEF1F6;

  --ink: #26282C;
  --ink-2: #4A4E55;
  --muted: #888888;                 /* 副标题降级色（规范指定） */
  --muted-2: #A8A8A8;

  --bg: #F9F8F6;                    /* 暖灰白 */
  --surface: #ffffff;
  --surface-2: #FAF9F7;
  --line: #E9E6E0;
  --line-2: #F1EFEA;

  --ok: #4E8563;
  --ok-bg: #EBF3ED;
  --warn: #B08A3E;
  --warn-bg: #FAF3E3;
  --risk: #B25A5A;
  --risk-bg: #F9EDED;

  /* 第 15 步：全站卡片圆角统一 12px（--r-lg 为卡片专用；--r-sm/md 仍服务按钮与小元件） */
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-pill: 999px;
  /* 第 14 步：8px 栅格（统一卡片 / 区块的内外边距，消除「这个卡宽一点、那个窄一点」的凌乱感） */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  /* 按钮规格：全站统一高度与圆角（lg / 默认 / sm 三档） */
  --btn-h: 40px;
  --btn-h-lg: 48px;
  --btn-h-sm: 32px;
  --btn-r: var(--r-md);
  --btn-r-lg: 12px;
  --btn-r-sm: var(--r-sm);
  /* 第 31 步：字号阶梯对齐 HIG —— 副标题/辅助说明全站 12px，
     主标题 16px（卡片）/ 22px（页面），差值固定 ≥4px */
  --fs-title: 16px;
  --fs-title-lg: 22px;
  --fs-sub: 12px;
  /* 极淡阴影，增加呼吸感 */
  --shadow-1: 0 4px 20px rgba(0, 0, 0, .04);
  --shadow-2: 0 8px 32px rgba(0, 0, 0, .07), 0 2px 8px rgba(0, 0, 0, .04);

  /* 三类查询流程主题色（入口 → 输入 → 结果 全程跟随） */
  --flow-community: #3A5A40;        /* 查小区 · 欧式墨绿 */
  --flow-community-bg: #EEF3EE;
  --flow-school: #B8895A;           /* 查学校 · 欧式复古黄（文字用加深档，浅色仅作色条/图标） */
  --flow-school-raw: #D4A373;
  --flow-school-bg: #FAF3E9;
  --flow-judge: #344E6C;            /* 精准判定 · 欧式藏蓝 */
  --flow-judge-bg: #EEF1F6;

  /* 结果状态色：不随流程色变化，全站统一语义（低饱和） */
  --v-matched: #4E8563;             /* 对口 · 墨绿 */
  --v-matched-bg: #EBF3ED;
  --v-likely: #B08A3E;              /* 统筹可能性高 · 复古黄 */
  --v-likely-bg: #FAF3E3;
  --v-manual: #7A7F88;              /* 需人工核实 · 灰 */
  --v-manual-bg: #F3F3F1;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* 数字（分数 / 年份 / 价格）用衬线体体现权威感（系统自带，无商用字体） */
  --font-num: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

* { box-sizing: border-box; }

/* 流程主题色作用域：挂在 .shell 上，页面内一律用 var(--flow) / var(--flow-bg) */
[data-flow] { --flow: var(--brand); --flow-bg: var(--brand-050); --flow-raw: var(--flow); }
[data-flow="community"] { --flow: var(--flow-community); --flow-bg: var(--flow-community-bg); --flow-raw: var(--flow-community); }
[data-flow="school"] { --flow: var(--flow-school); --flow-bg: var(--flow-school-bg); --flow-raw: var(--flow-school-raw); }
[data-flow="judge"] { --flow: var(--flow-judge); --flow-bg: var(--flow-judge-bg); --flow-raw: var(--flow-judge); }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--brand); text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--brand-100); }

.app-root { min-height: 100vh; }

/* ============================ 布局 ============================ */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }

.sidebar {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(145deg, #3A5A40, #2A405A);
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 4px 12px -4px rgba(58, 90, 64, .55);
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .2px; }
.brand-sub { font-size: 10px; color: var(--muted-2); letter-spacing: .6px; }

.nav-group-label {
  font-size: 10px; color: var(--muted-2); letter-spacing: 1px;
  padding: 6px 10px; margin-top: 6px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--btn-r); cursor: pointer;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  transition: background .16s, color .16s;
  border: none; background: none; width: 100%; text-align: left;
}
.nav-item svg { flex: none; opacity: .75; }
.nav-item:hover { background: var(--surface-2); color: var(--ink); }
.nav-item.active { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.nav-item.active svg { opacity: 1; }
.nav-item:disabled { opacity: .4; cursor: not-allowed; }
/* 顶栏退出入口：仅手机断点显示（桌面走侧栏底部用户区） */
.topbar-logout { display: none; }

.sidebar-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 8px; border-radius: 10px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--brand-100); color: var(--brand-600);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.user-meta { min-width: 0; }
.user-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-sub { font-size: 10px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main { min-width: 0; display: flex; flex-direction: column; }
/* 第 13 步：顶栏采用欧式藏蓝 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 0 var(--sp-3); height: 62px;
  background: linear-gradient(120deg, #344E6C 0%, #2A405A 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 4px 20px rgba(42, 64, 90, .18);
}
.topbar h1 { font-size: 16px; font-weight: 700; letter-spacing: .4px; color: #fff; }
.topbar-sub { font-size: 12px; color: rgba(255, 255, 255, .62); }
.topbar .select { background-color: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: #fff; }
/* 注意：这里必须用 background-color 而非 background 简写——简写会把
   .select 的 background-repeat 重置为 repeat，12×12 的箭头 SVG 会被平铺成网格状背景 */
.topbar .select option { color: var(--ink); }
.topbar .nav-item { color: rgba(255, 255, 255, .8); }
.topbar .nav-item:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.topbar svg { color: rgba(255, 255, 255, .75); }
.topbar-spacer { flex: 1; }

/* ======================= 第 14 步：城市选择器 ======================= */
/* 触发器：定位图标 + 城市名 + 下拉小箭头；毛玻璃半透明底 + 轻微模糊，摈弃原生 select */
.city-picker { position: relative; flex: none; }
.cp-trigger {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 500;
  box-shadow: 0 2px 10px -4px rgba(16, 32, 58, .28);
  transition: background .16s, transform .16s, box-shadow .16s;
}
.cp-trigger:hover { background: #fff; transform: translateY(-1px); }
.cp-trigger:active { background: rgba(244, 242, 238, .92); transform: none; }
.cp-trigger .cp-pin, .cp-trigger .cp-caret { display: inline-flex; align-items: center; color: var(--muted); }
.cp-trigger[aria-expanded="true"] { background: #fff; }
.cp-trigger[aria-expanded="true"] .cp-caret { transform: rotate(180deg); color: var(--brand); }
.cp-caret { transition: transform .18s ease, color .18s; }
.cp-city { white-space: nowrap; }
/* 首页（浅色底）变体 */
.cp-inline .cp-trigger {
  border-color: var(--line); background: var(--surface); color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.cp-inline .cp-trigger:hover { border-color: var(--brand-100); color: var(--brand); }
/* 自绘下拉：绝对定位浮层，覆盖在页面之上，柔和阴影 + 圆角，不与内容挤压 */
.cp-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 10000;
  min-width: 168px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 12px 32px -12px rgba(16, 32, 58, .35);
  display: flex; flex-direction: column; gap: 2px;
  animation: cp-in .16s ease;
}
@keyframes cp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.cp-menu[hidden] { display: none; }
.cp-option {
  display: flex; align-items: center; gap: 8px; width: 100%;
  min-height: 38px; padding: 6px 10px; border: 0; border-radius: 9px; cursor: pointer;
  background: none; color: var(--ink-2); font: inherit; font-size: 14px; text-align: left;
  transition: background .14s, color .14s;
}
.cp-option:hover { background: var(--surface-2); color: var(--ink); }
.cp-option.is-active { background: var(--brand-050); color: var(--brand); font-weight: 600; }
.cp-opt-name { flex: 1; white-space: nowrap; }
.cp-opt-tag { font-size: 10px; color: var(--muted-2); }
.cp-opt-dot i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
/* 隐藏的原生 select：仅用于自动化校验与键盘可达性，用户不可见 */
.cp-native {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px;
  opacity: 0; pointer-events: none; border: 0; padding: 0;
}

/* 第 15 步：底部留白 100px（> 底栏高度），滚到底最后一行不被 Tab 栏遮挡 */
.page { padding: 24px 32px 100px; max-width: 1180px; width: 100%; }
.page-narrow { max-width: 880px; }

/* ============================ 基础组件 ============================ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
/* 第 14 步：卡片一律走 8px 栅格（外边距 24 / 头部 16 24） */
.card-pad { padding: var(--sp-3); }
.card-hd { display: flex; align-items: center; gap: var(--sp-1); padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--line-2); }
.card-hd h2 { font-size: var(--fs-title); font-weight: 600; }
.card-hd .spacer { flex: 1; }
.notice-bar .spacer { flex: 1; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-1);
  height: var(--btn-h); padding: 0 var(--sp-2); border-radius: var(--btn-r);
  border: 1px solid transparent; background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: transform .12s, background .16s, box-shadow .16s, opacity .16s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-600); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { height: var(--btn-h-lg); padding: 0 var(--sp-3); font-size: 15px; border-radius: var(--btn-r-lg); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-soft { background: var(--brand-050); color: var(--brand-600); }
.btn-soft:hover { background: var(--brand-100); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-600); }
.btn-block { width: 100%; }
.btn-sm { height: var(--btn-h-sm); padding: 0 12px; font-size: 12px; border-radius: var(--btn-r-sm); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--muted-2); }
.input, .select {
  height: var(--btn-h); padding: 0 12px; border-radius: var(--btn-r);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .16s, box-shadow .16s;
  width: 100%;
}
.input:focus, .select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }
.input::placeholder { color: var(--muted-2); }
.input.err { border-color: var(--risk); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' stroke='%236B7688' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.row { display: flex; align-items: center; gap: var(--sp-1); }
.stack { display: flex; flex-direction: column; gap: 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .2px;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.badge-brand { background: var(--brand-050); color: var(--brand-600); border-color: var(--brand-100); }
.badge-ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge-warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge-risk { background: var(--risk-bg); color: var(--risk); border-color: transparent; }

.divider { height: 1px; background: var(--line-2); border: 0; margin: 0; }

.muted { color: var(--muted); }
.tiny { font-size: var(--fs-sub); }
.mono { font-variant-numeric: tabular-nums; }
/* 第 13 步：数字衬线体（分数 / 年份 / 价格，体现权威感） */
.num, .price, .score-ring .num b, .stat-num, .eb-num {
  font-family: var(--font-num);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .2px;
}

/* 口径提示条 */
.demo-strip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--btn-r);
  background: var(--warn-bg); color: #8a5a17; font-size: 12px;
  border: 1px solid #f4e2c8;
}
.demo-strip svg { flex: none; }

/* ============================ 登录页 ============================ */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #2A405A 0%, #344E6C 45%, #3A5A40 100%);
  color: #fff; padding: 56px 58px; display: flex; flex-direction: column;
}
.auth-hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.16), transparent 62%);
}
.auth-hero h2 { font-size: 30px; line-height: 1.32; font-weight: 700; letter-spacing: .5px; margin-top: 34px; }
.auth-hero p.lead { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.78); max-width: 420px; }
.auth-points { margin-top: auto; display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.auth-point { display: flex; gap: 12px; align-items: flex-start; }
.auth-point .dot {
  width: 26px; height: 26px; border-radius: 9px; flex: none;
  background: rgba(255,255,255,.14); display: grid; place-items: center;
}
.auth-point b { font-size: 14px; font-weight: 600; display: block; }
.auth-point span { font-size: 12px; color: rgba(255,255,255,.72); }

.auth-panel { display: grid; place-items: center; padding: 40px; background: var(--surface); }
.auth-box { width: 100%; max-width: 372px; }
.auth-box h3 { font-size: 21px; font-weight: 700; letter-spacing: .3px; }
.auth-box .sub { color: var(--muted); font-size: 14px; margin-top: 6px; margin-bottom: 24px; }
.tabs { display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 10px; margin-bottom: 18px; }
.tabs button {
  flex: 1; height: 32px; border: 0; background: none; border-radius: 7px;
  font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.tabs button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.code-row { display: flex; gap: 8px; }
.code-row .input { flex: 1; }
.otp-btn { width: 112px; flex: none; height: 40px; }
.legal { font-size: 12px; color: var(--muted-2); margin-top: 16px; line-height: 1.7; }
.local-note {
  margin-top: 18px; padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px dashed var(--line);
  font-size: 12px; color: var(--muted);
}

/* ============================ 上传区 ============================ */
.upload-card {
  border: 1.5px dashed var(--line); border-radius: var(--r-md);
  background: var(--surface-2); padding: 18px;
  transition: border-color .16s, background .16s;
  position: relative; min-height: 168px;
  display: flex; flex-direction: column;
}
.upload-card.dragover { border-color: var(--brand); background: var(--brand-050); }
.upload-card.filled { border-style: solid; border-color: var(--line); background: var(--surface); }
.upload-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.upload-head .t { font-size: 14px; font-weight: 650; }
.upload-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.upload-body .big { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.upload-body .small { font-size: 12px; color: var(--muted-2); }
.upload-preview { display: flex; gap: 12px; align-items: flex-start; }
.upload-preview img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
}
.upload-file-meta { flex: 1; min-width: 0; }
.scan-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin-top: 6px; }
.spinner {
  width: 12px; height: 12px; border-radius: 50%; flex: none;
  border: 2px solid var(--brand-100); border-top-color: var(--brand);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================ 结果页 ============================ */
.verdict {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); color: #fff; padding: 26px 28px;
  display: flex; gap: 28px; align-items: center;
  background: linear-gradient(140deg, #2A405A, #344E6C);
}
.verdict[data-level="mid"] { background: linear-gradient(140deg, #8a6b34, #B08A3E); }
.verdict[data-level="low"] { background: linear-gradient(140deg, #7c4a4a, #B25A5A); }
.verdict-main { flex: 1; min-width: 0; }
.verdict .eyebrow { font-size: 12px; color: rgba(255,255,255,.72); letter-spacing: 1px; }
.verdict .level { font-size: 30px; font-weight: 700; margin-top: 6px; letter-spacing: 1px; }
.verdict .desc { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 8px; max-width: 520px; line-height: 1.7; }
.score-ring { position: relative; width: 108px; height: 108px; flex: none; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .num {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
}
.score-ring .num b { font-size: 27px; font-weight: 700; line-height: 1; }
.score-ring .num span { font-size: 10px; color: rgba(255,255,255,.7); }

.reason-list { display: flex; flex-direction: column; }
.reason {
  display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line-2);
}
.reason:last-child { border-bottom: 0; }
.reason-ic {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px;
  display: grid; place-items: center; font-size: 12px;
}
.reason-ic.pass { background: var(--ok-bg); color: var(--ok); }
.reason-ic.warn { background: var(--warn-bg); color: var(--warn); }
.reason-ic.fail { background: var(--risk-bg); color: var(--risk); }
.reason-ic.unknown { background: var(--surface-2); color: var(--muted-2); }
.reason-body { min-width: 0; }
.reason-title { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.reason-text { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.65; }

.school-card {
  display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface);
  transition: border-color .16s, box-shadow .16s;
}
.school-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-2); }
.school-emblem {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 15px; font-weight: 700;
  background: var(--brand-050); color: var(--brand-600);
}
.school-name { font-size: 14px; font-weight: 650; }
.school-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.school-chain { font-size: 12px; color: var(--muted); margin-top: 6px; }
.match-pill { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.match-pill.high { background: var(--ok-bg); color: var(--ok); }
.match-pill.mid { background: var(--warn-bg); color: var(--warn); }
.match-pill.low { background: var(--risk-bg); color: var(--risk); }

/* ============================ 房源 ============================ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip {
  height: var(--btn-h-sm); padding: 0 12px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 12px; font-weight: 550;
}
.chip:hover { border-color: var(--brand-100); color: var(--brand-600); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.listing {
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); display: flex; flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.listing:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.listing-thumb {
  height: 132px; position: relative;
  background: linear-gradient(135deg, #dfe7f2, #eef2f7);
  display: grid; place-items: center; color: var(--brand-600);
}
.listing-thumb .tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.94); border-radius: 6px; padding: 2px 8px;
  font-size: 10px; font-weight: 600; color: var(--brand-600);
}
.listing-body { padding: var(--sp-2); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price { color: var(--navy); font-weight: 700; font-size: 18px; letter-spacing: .2px; }
.price small { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.listing-title { font-size: 14px; font-weight: 600; }
.listing-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.listing-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); display: flex; align-items: center; gap: 8px; }

/* ============================ 步骤条 ============================ */
.steps { display: flex; align-items: center; gap: 10px; }
.step { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-2); }
.step b {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted-2);
}
.step.done { color: var(--ink-2); }
.step.done b { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.step.active { color: var(--brand); font-weight: 600; }
.step.active b { background: var(--brand); border-color: transparent; color: #fff; }
.step-line { width: 26px; height: 1px; background: var(--line); }

/* ============================ Toast ============================ */
.toast-layer {
  /* 第 56 步【一】：top 18→68px —— 原来贴着屏幕顶端，
     在全屏搜索层（顶栏 56px）里会正好压住搜索输入框，
     用户一边看提示一边没法打字。下移到顶栏之下，两边都不挡。 */
  position: fixed; top: 68px; left: 50%; transform: translateX(-50%);
  /* 第 15 步：Toast 必须高于底栏（9999）与弹层（10000）
     第 56 步【一】：提到全站最高层（2147483647）。
     真因：全屏搜索层是 z-index 9999999 的整块白布，Toast 容器只有 10050 时
     会被它**整个盖住** —— 「定位失败，请手动输入小区名」这条唯一的失败反馈
     因此看不见，用户点完定位按钮屏幕上什么都不发生（= 点了没反应）。
     （此前靠 JS 给 .toast 子元素设 z-index 是无效的：它是 position:static。） */
  z-index: 2147483647; display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none;
}
/* 第 56 步【三·补】：全屏搜索层打开时，Toast 停靠到底部，
   不再压住「使用当前定位」卡片（否则既盖按钮、又盖按钮上的失败原因）。 */
.toast-layer--bottom {
  top: auto; bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.toast-layer--bottom .toast { animation: toast-in-bottom .22s ease-out; }
@keyframes toast-in-bottom { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.toast {
  min-width: 200px; max-width: 440px; padding: 10px 16px; border-radius: 10px;
  background: #17233c; color: #fff; font-size: 14px; box-shadow: var(--shadow-2);
  display: flex; align-items: center; gap: 8px;
  animation: toast-in .22s ease-out;
}
.toast.err { background: #8f2f34; }
.toast.ok { background: #14664a; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 骨架屏（暖灰基调，与 #F9F8F6 背景协调） */
.skeleton {
  background: linear-gradient(90deg, #EDEAE4 25%, #F6F4F0 37%, #EDEAE4 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite;
  border-radius: 8px;
}
/* 第 13 步：骨架屏布局块（模拟页面结构，数据返回后平滑替换） */
.skel-block { border-radius: var(--r-md); }
.skel-hero { height: 132px; border-radius: var(--r-lg); }
.skel-line { height: 14px; border-radius: 7px; }
.skel-card { min-height: 120px; border-radius: var(--r-lg); }
.skel-fade { animation: skel-in .28s ease-out; }
@keyframes skel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty .ic { font-size: 30px; margin-bottom: 10px; opacity: .5; }

/* ============================ 响应式 ============================ */
@media (max-width: 1080px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; flex-direction: row; align-items: center; gap: 6px; padding: 10px 12px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0 8px 0 0; }
  .brand-sub, .nav-group-label, .sidebar-foot, .nav-item span.label { display: none; }
  .nav-item { width: auto; padding: 8px 10px; }
  .page { padding: 16px 14px 48px; }
  .topbar { padding: 0 14px; }
  /* 第 51 步【四·补】：本断点隐藏了侧栏底部用户区（.sidebar-foot），
     侧栏里的「退出登录」按钮随之消失；而顶栏退出入口原本要到 ≤640px 才显示，
     于是 641–860px（iPad 竖屏 768 / 810 / 834px 等）完全没有退出入口 —— 用户登出无门。
     退出入口的显示条件必须与「侧栏用户区被隐藏」对齐，故此处补齐。 */
  .topbar-logout { display: inline-flex !important; width: auto; min-height: 36px; padding: 6px 8px; }
  .grid-2 { grid-template-columns: 1fr; }
  .verdict { flex-direction: column; align-items: flex-start; gap: 14px; }
  .score-ring { align-self: flex-end; margin-top: -56px; }
}

/* ============================ 弹层 ============================ */
.modal-mask {
  /* 第 98 步【六·修订】：与 .modal-overlay 同规则 —— 维持 10000，不抬 */
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(16, 32, 58, .38);
  display: grid; place-items: center; padding: 20px;
  animation: toast-in .18s ease-out;
}
.modal {
  width: 100%; max-width: 380px; background: var(--surface);
  border-radius: var(--r-lg); padding: var(--sp-3);
  box-shadow: 0 24px 64px -24px rgba(16, 32, 58, .5);
}

@media print {
  .sidebar, .topbar, .btn, .toast-layer { display: none !important; }
  .shell { grid-template-columns: 1fr; }
  body { background: #fff; }
}

/* ============================ 后台管理表格 ============================ */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.admin-table th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--surface-2); position: sticky; top: 0; }
.admin-table tr:hover td { background: var(--brand-050); }

/* ===================== 小区详情（历年对口 / 房价） ===================== */
.notice-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--brand-050); border: 1px solid var(--brand-100);
  color: var(--ink-2); font-size: 12px; line-height: 1.6;
}
.notice-bar svg { flex: none; color: var(--brand); }
.chart-wrap { width: 100%; overflow: hidden; }
.chart-wrap svg { display: block; max-width: 100%; height: auto; }
.link { color: var(--brand); text-decoration: none; font-size: 12px; font-weight: 600; }
.link:hover { text-decoration: underline; }
.history-row.muted-row td { color: var(--muted-2); }
/* 「数据来自上一年」灰色小字标注 */
.pending-tag { margin-top: 2px; font-size: 10px; color: var(--muted-2); }

/* ===================== 全局「最新年份未发布」提示条 ===================== */
.notice-bar.notice-pending {
  background: var(--warn-bg);
  border-color: #f2dfb8;
  color: #8a5a17;
}
.notice-bar.notice-pending svg { color: var(--warn); }
.notice-bar.notice-collapsed { padding: 7px 12px; font-size: 12px; }
.notice-bar.notice-collapsed .link { font-size: 12px; }

/* ========================= 查对口（分类查询页） ========================= */
.search-results { display: flex; flex-direction: column; gap: 6px; }
.search-item {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  width: 100%; text-align: left; cursor: pointer;
  padding: 8px 12px; border-radius: var(--btn-r);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--ink-2);
}
.search-item:hover { border-color: var(--brand-100); background: var(--brand-050); }
.search-item.empty-hint { cursor: default; color: var(--muted); background: var(--surface-2); }
.search-item.empty-hint:hover { border-color: var(--line); background: var(--surface-2); }
.debug-date-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 10px; border-radius: 10px;
  border: 1px dashed var(--line); background: var(--surface-2);
}
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 14px; }
.form-grid .field { display: flex; flex-direction: column; gap: 6px; }
.form-grid .field > span { font-size: 12px; font-weight: 600; color: var(--ink-2); }

/* =========================================================
   统一视觉规范
   - 页面头：每个页面顶部「标题 + 一句话说明」
   - 卡片间距统一 14px / 卡片内边距 22px（.card-pad）
   - 数据展示处统一标注数据年份 + 来源链接（.data-meta）
   - 结论色：绿=对口 / 黄=统筹或需核实 / 灰=数据不足
   ========================================================= */
.page-body { display: flex; flex-direction: column; gap: 14px; }

.page-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 2px;
}
.page-head-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* 第 15 步：标题 / 副标题字号差统一（17–19px vs 13px，差 ≥4px） */
.page-head-title { font-size: var(--fs-title-lg); font-weight: 700; letter-spacing: .3px; color: var(--ink); }
.page-head-desc { margin-top: 6px; font-size: var(--fs-sub); color: var(--muted); line-height: 1.7; }
.page-head-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; }
.feature-card {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; font-family: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px; cursor: pointer; box-shadow: var(--shadow-1);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.feature-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.feature-card-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--brand-050); color: var(--brand); display: grid; place-items: center;
}
.feature-card-body { min-width: 0; }
.feature-card-title { font-size: 14px; font-weight: 650; color: var(--ink); }
.feature-card-desc { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.65; }
.feature-card-cta {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--brand);
}

.data-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted-2);
}
.data-meta-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.data-meta svg { flex: none; opacity: .8; }
.data-meta-sep { opacity: .5; }
/* 「展示的是上一年数据」的灰色小字 */
.data-meta-pending { color: var(--muted); font-size: 10px; }

.badge-muted { background: var(--surface-2); color: var(--muted); border-color: var(--line); }

.status-list { display: flex; flex-direction: column; gap: 6px; }
.status-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-row .mono { min-width: 52px; }

/* 结论类信息配色（覆盖按 level 的旧规则） */
.verdict[data-tone="ok"] { background: linear-gradient(140deg, #3A5A40, #4E8563); }
.verdict[data-tone="warn"] { background: linear-gradient(140deg, #8a6b34, #B08A3E); }
.verdict[data-tone="muted"] { background: linear-gradient(140deg, #5c6470, #7A7F88); }
/* 第 6 步：结果状态色（独立于流程主题色，全站统一语义，优先级更高） */
.verdict[data-cat="对口"] { background: linear-gradient(140deg, #3A5A40, #4E8563); }
.verdict[data-cat="统筹可能性高"] { background: linear-gradient(140deg, #8a6b34, #B08A3E); }
.verdict[data-cat="需人工核实"] { background: linear-gradient(140deg, #5c6470, #7A7F88); }

/* ================= v1.1：输入分级 / 匹配度打分 / 商业层 ================= */

/* 输入精度条 */
.precision-bar {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 16px; background: var(--surface);
}
.precision-bar.lv-low { border-color: #e8b4b7; background: var(--risk-bg); }
.precision-bar.lv-mid { border-color: #e8cf9d; background: var(--warn-bg); }
.precision-bar.lv-high { border-color: #a8d8c4; background: var(--ok-bg); }
.precision-ladder { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.precision-step {
  flex: 1 1 170px; display: flex; gap: 7px; align-items: center;
  padding: 7px 10px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line-2);
  font-size: 12px; color: var(--muted-2);
}
.precision-step b { font-size: 12px; color: var(--muted-2); }
.precision-step.on { border-color: var(--brand-100); background: var(--brand-050); color: var(--ink-2); }
.precision-step.on b { color: var(--brand); }

/* 学校匹配度徽章 */
.score-badge {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 5px 9px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line); min-width: 66px;
}
.score-badge b { font-size: 15px; line-height: 1; color: var(--ink); }
.score-badge > span { font-size: 10px; color: var(--muted); }
.score-badge-bar { width: 100%; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.score-badge-bar i { display: block; height: 100%; }

/* 打分维度条 */
.dim-row { padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.dim-row:last-child { border-bottom: 0; }
.dim-head { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.dim-label { font-weight: 600; color: var(--ink); }
.dim-weight { font-size: 10px; color: var(--muted-2); }
.dim-score { margin-left: auto; font-size: 12px; font-weight: 700; }
.dim-bar { height: 6px; border-radius: 3px; background: var(--line-2); margin: 8px 0 6px; overflow: hidden; }
.dim-bar i { display: block; height: 100%; border-radius: 3px; }
.dim-reason { font-size: 12px; color: var(--muted); line-height: 1.65; }

.dim-bar i.t-ok, .score-badge-bar i.t-ok { background: var(--ok); }
.dim-bar i.t-warn, .score-badge-bar i.t-warn { background: var(--warn); }
.dim-bar i.t-risk, .score-badge-bar i.t-risk { background: var(--risk); }
.dim-score.t-ok { color: var(--ok); }
.dim-score.t-warn { color: var(--warn); }
.dim-score.t-risk { color: var(--risk); }

/* 浅色卡片上的评分环 */
.score-ring.light svg circle:first-of-type { stroke: var(--line); }
.score-ring.light .num b { color: var(--ink); }
.score-ring.light .num span { color: var(--muted); }

/* 商业层占位 */
.offer-card {
  border: 1px dashed var(--brand-100);
  background: linear-gradient(180deg, var(--surface), var(--brand-050));
}
.offer-placeholder {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: var(--surface-2); border: 1px solid var(--line-2);
}
.chain-item {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 6px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px;
}
.chain-item:last-child { border-bottom: 0; }

/* -------------------------------------------------------------
   对口稳定性 / 房价摘要 / 图例（第 3 步：学校↔小区↔房价对照）
   ------------------------------------------------------------- */
.stability-card { display: flex; flex-direction: column; gap: 8px; }
.stability-head { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.stability-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.stability-label { color: var(--muted); flex: none; }
.stability-item { white-space: nowrap; }
.stability-missing { display: flex; flex-wrap: wrap; gap: 4px; }

.price-summary { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.price-summary svg { flex: none; opacity: .85; }

.chart-legend {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
}
.legend-diamond { color: var(--accent); font-size: 15px; }

@media (max-width: 900px) {
  .page-head { flex-direction: column; gap: 10px; }
  .feature-grid { grid-template-columns: 1fr; }
  /* 竖排时 flex-basis 会变成「高度」，必须改回自适应，否则每级变成 170px 空白巨块 */
  .precision-ladder { flex-direction: column; }
  .precision-step { flex: 0 0 auto; }
}

/* -------------------------------------------------------------
   会员与付费墙（第 5 步：用户侧增长与商业化）
   ------------------------------------------------------------- */
:root {
  --vip: #b8860b;          /* 金色：会员标识 */
  --vip-strong: #9a6f08;
  --vip-bg: #fdf6e3;
  --vip-line: #eeda9e;
}

.badge-vip {
  background: linear-gradient(135deg, #f7e2a8, #eec860);
  color: #6b4e00; border-color: var(--vip-line); font-weight: 700;
}
.btn-vip {
  background: linear-gradient(135deg, #d9a91f, #b8860b);
  color: #fff; border: 0;
}
.btn-vip:hover { background: linear-gradient(135deg, #c9991a, #9a6f08); }

/* 解锁提示条 */
.paywall-note {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: var(--r-sm, 8px);
  background: var(--vip-bg); border: 1px dashed var(--vip-line);
  color: #6b4e00; font-size: 12px;
}
.paywall-note svg { flex: none; }
.paywall-note-text { flex: 1; min-width: 200px; }

/* 模糊占位行 */
.locked-row td { background: var(--surface-2); }
.locked-bar {
  display: inline-block; width: 150px; max-width: 60%; height: 12px;
  border-radius: 6px; margin-right: 8px; vertical-align: middle;
  background: linear-gradient(90deg, #e3e8f0, #f1f4f9, #e3e8f0);
  filter: blur(1.5px);
}
.locked-hint { color: var(--vip-strong); }

/* 整段模糊占位：真实内容在底层模糊，上层盖 CTA */
.paywall-block { position: relative; overflow: hidden; border-radius: var(--r-sm, 8px); }
.paywall-blur {
  filter: blur(5px); pointer-events: none; user-select: none;
  opacity: .75;
}
.paywall-cta {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; padding: 10px; text-align: center;
  background: rgba(253, 246, 227, .55); color: #6b4e00; font-size: 14px;
}

/* 弹窗 */
.modal-overlay {
  /* 第 15 步：底栏抬到 9999，弹层必须更高（10000），否则弹窗底部按钮会被 Tab 栏遮挡。
     第 98 步【六·修订】：**维持 10000 不抬** ——
     收银台 .s88-pay-overlay-top 是 10130，必须高于通用弹窗遮罩（88-70 钉住的老不变量，
     第 87 步真踩过「点『我已支付』实际点在遮罩上」的坑）；
     抬到 10000000 会把收银台反压回去，把老坑重新挖开。 */
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: rgba(16, 32, 58, .45); padding: 20px;
}
.modal-card {
  width: min(440px, 100%); background: var(--surface); border-radius: var(--r-lg);
  padding: var(--sp-3); box-shadow: 0 18px 50px rgba(16, 32, 58, .25);
}
.modal-head { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--vip-strong); }
.modal-desc { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* 对比页 */
.compare-bar {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(16, 32, 58, .08);
}
.compare-table td.diff, .compare-table th.diff { background: var(--accent-050, #fdf3ea); }
.compare-slot {
  border: 1.5px dashed var(--line); border-radius: 10px; padding: 18px 10px;
  text-align: center; color: var(--muted-2); font-size: 12px;
}

/* 倒计时与政策日历 */
.countdown-card { display: flex; flex-direction: column; gap: 10px; }
.countdown-num { font-size: 15px; font-weight: 700; color: var(--brand-600); }
.policy-cal { display: flex; gap: 8px; flex-wrap: wrap; }
.policy-cal-item {
  display: flex; flex-direction: column; gap: 2px; padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: 8px; font-size: 12px;
}
.policy-cal-item b { font-size: 14px; }

/* 分享卡片弹窗 */
.share-modal-card { width: min(420px, 100%); }
.share-canvas-wrap { display: grid; place-items: center; margin-top: 12px; }
.share-canvas-wrap canvas { width: 300px; height: 400px; border-radius: 10px; box-shadow: 0 8px 30px rgba(16,32,58,.2); }

/* 分数环动画（克制动效：仅描边绘制一次） */
@keyframes ringDraw { from { stroke-dashoffset: var(--ring-c, 276); } }
.score-ring .ring-anim { animation: ringDraw .9s ease-out both; transform: rotate(-90deg); transform-origin: center; }

/* 数据完整度进度条 */
.completeness { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.completeness .bar { flex: 1; max-width: 160px; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.completeness .bar i { display: block; height: 100%; background: var(--ok); border-radius: 3px; }

/* 会员权益对照表 */
.plan-table td:first-child { text-align: left; }
.plan-table .vip-col { background: var(--vip-bg); font-weight: 600; }
.plan-price {
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  padding: 18px; border: 1.5px dashed var(--vip-line); border-radius: 12px; background: var(--vip-bg);
}

/* 第 9 步起：定价卡片区；第 10 步三通道（年费高亮推荐 + 月费 + 单份报告） */
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; gap: 6px; position: relative; }
.plan-card p { flex: 1; }
.plan-card-price-row { display: flex; align-items: baseline; gap: 2px; margin-top: 2px; }
.plan-card-price-num { font-size: 26px; color: var(--vip-line, #b8860b); line-height: 1.2; }
.plan-discount { color: var(--v-mat, #b26a00); font-weight: 600; margin: 0; }
.plan-perks { margin: 6px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.9; color: var(--text-2, #4a5568); }
.plan-perks li { list-style: '✓ '; list-style-position: outside; }
/* 推荐位：金色描边 + 轻投影，视觉权重最高 */
.plan-card-hl {
  border: 2px solid var(--vip-line, #b8860b);
  background: linear-gradient(180deg, var(--vip-bg) 0%, transparent 120px);
  box-shadow: 0 6px 18px rgba(184, 134, 11, .16);
}
/* 第 10 步：会员页辅助服务行（顾问咨询预约金，非定价卡） */
.consult-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px;
}
.plan-tag {
  position: absolute; top: -10px; right: 12px; z-index: 1;
  padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #c9962c, #b8860b);
}
@media (max-width: 640px) {
  .plan-cards { grid-template-columns: 1fr; }
  .plan-card-hl { order: -1; }
}

/* 第 9 步：单份报告购买条（小区详情 / 判定结果页共用） */
.report-buy-strip {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border: 1.5px dashed var(--vip-line); border-radius: 10px;
  background: var(--vip-bg); margin: 10px 14px 0;
}

/* ============================ 手机端适配（≤640px） ============================ */
/* 目标：底部 Tab 导航 + 触控尺寸 ≥44px + 表格横向滚动 + 弹窗底部抽屉 + 安全区 */
@media (max-width: 640px) {
  html { -webkit-text-size-adjust: 100%; }

  /* --- 侧栏 → 底部 Tab 栏 --- */
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    height: auto; flex-direction: row; justify-content: space-around;
    gap: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: var(--surface); border-right: 0; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px -14px rgba(16, 32, 58, .45);
    /* 第 15 步：强制 9999，确保不被任何页面内容 / 吸底操作条遮挡 */
    z-index: 9999; overflow: visible;
  }
  .brand, .brand-sub, .nav-group-label, .sidebar-foot { display: none !important; }
  .nav-item {
    flex: 1; width: auto; flex-direction: column; gap: 3px;
    justify-content: center; min-height: 50px; padding: 6px 4px; border-radius: 10px;
    position: relative; transition: background .16s, color .16s;
  }
  .nav-item span.label { display: block !important; font-size: 10px; line-height: 1.2; }
  /* 选中态：主色调 + 加粗 + 顶部小圆点指示；未选中保持灰度 */
  .nav-item.active { background: var(--brand-050); }
  .nav-item.active svg { opacity: 1; color: var(--brand); }
  .nav-item.active span.label { color: var(--brand); font-weight: 700; }
  .nav-item.active::after {
    content: ''; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; border-radius: 50%; background: var(--brand);
  }
  .nav-item:not(.active) { color: var(--muted); }
  .nav-item:not(.active) svg { opacity: .6; }
  /* 第 14 步：真正的底部余量由 .page（96px）提供，这里只留 8px 安全边际 */
  .main { padding-bottom: 8px; }

  /* --- 顶栏：吸顶、精简、补退出入口（第 13 步起保持藏蓝） --- */
  .topbar {
    position: sticky; top: 0; z-index: 600; height: 52px; padding: 0 12px;
    background: linear-gradient(120deg, #344E6C 0%, #2A405A 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .topbar h1 { font-size: 15px; }
  .topbar-sub { display: none !important; }
  .topbar-logout { display: inline-flex !important; width: auto; min-height: 36px; padding: 6px 8px; }
  /* 第 15 步：底部 104px（> 底栏 62px + 安全区），滚到底最后一行完整可见 */
  .page { padding: 16px 16px 104px; }

  /* 第 14 步：吸底操作条抬到底栏之上，避免被 z-index 999 的 Tab 栏压住 */
  .wizard-foot, .compare-bar { bottom: 68px; z-index: 30; }
  .wizard-foot { padding-bottom: 14px; }

  /* --- 触控尺寸 --- */
  .btn { min-height: 44px; padding: 10px 15px; }
  /* 后台标签增至 21 个：移动端改为横向滚动单排，避免换行把内容顶到固定导航下方 */
  /* 第 14 步：后台标签已达 22 个，横向滚动条极易误触吸顶栏 / 底栏 → 改回多行换行。
     页面底部已有 96px 余量，换行增加的高度不会把表格压到固定底栏下方。 */
  .filter-bar {
    flex-wrap: wrap; overflow-x: visible; -webkit-overflow-scrolling: touch;
    padding-bottom: 0; row-gap: var(--sp-1); scrollbar-width: thin;
  }
  .filter-bar .chip { flex: none; white-space: nowrap; }
  .btn-sm { min-height: 38px; }
  input, select, textarea, .input, .select { font-size: 16px; min-height: 44px; }
  .chip { min-height: 34px; }
  .tab-bar button, .tab-bar .tab { min-height: 40px; }

  /* --- 表格 / 图表横向滚动 --- */
  table {
    display: block; width: max-content; min-width: 100%;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .chart-wrap { overflow-x: auto; }

  /* --- 弹窗：底部抽屉（两套弹层类名都覆盖） --- */
  .modal-mask, .modal-overlay { align-items: flex-end; padding: 0; }
  .modal, .modal-card {
    max-width: none; width: 100%; border-radius: 18px 18px 0 0;
    max-height: 88vh; overflow: auto;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  .share-canvas-wrap canvas { width: 100%; max-width: 320px; height: auto; }

  /* --- 内容与栅格收敛 --- */
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
  .page-head-title { font-size: 17px; }
  .page-head-desc { font-size: 12px; }
  .verdict { flex-direction: column; align-items: flex-start; gap: 12px; }
  .score-ring { align-self: flex-end; margin-top: -52px; }
  .toast { max-width: calc(100vw - 32px); font-size: 12px; }
  .demo-strip { font-size: 12px; padding: 10px 12px; }
  canvas { max-width: 100%; height: auto; }
}

/* ============================ 第 6 步：流程主题与卡片规范 ============================ */

/* --- 顶部流程色条 + 面包屑 --- */
.status-slot:empty, .flow-slot:empty { display: none; }
.flow-strip { position: sticky; top: 0; z-index: 620; background: var(--surface); }
.flow-strip-bar { height: 4px; background: var(--flow); }
.flow-strip-body {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 28px; border-bottom: 1px solid var(--line-2);
  background: var(--flow-bg); color: var(--flow);
  font-size: 12px; line-height: 1.4;
}
.flow-strip-body svg { flex: none; }
.flow-strip-name { font-weight: 700; letter-spacing: .2px; }
.flow-crumb { color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.flow-crumb .sep { color: var(--muted-2); }

/* --- 全站数据状态提示条 --- */
.global-status-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 28px; background: var(--warn-bg);
  border-bottom: 1px solid #f2e2c4; color: #8a5a10; font-size: 12px;
}
.global-status-bar svg { flex: none; color: var(--warn); }
.global-status-bar .link { color: #8a5a10; font-size: 12px; white-space: nowrap; }
.global-status-bar.collapsed { padding-top: 6px; padding-bottom: 6px; }
.global-status-bar.collapsed .global-status-text { color: var(--muted); }

/* --- 首页：Logo 区 + 全局搜索框 + 三张白卡入口（第 13 步欧式重构） --- */
.home-only { display: flex; flex-direction: column; }
.home-brand { padding: 6px 0 14px; display: flex; align-items: center; gap: 12px; }
.home-brand-main { min-width: 0; flex: 1; }
.home-brand-name { font-size: 26px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
.home-brand-sub { margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--muted); }
.home-city {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  height: 34px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: 12px; font-weight: 600; font-family: inherit;
  box-shadow: var(--shadow-1); transition: border-color .16s, color .16s, transform .16s;
}
.home-city:hover { border-color: var(--brand-100); color: var(--brand); transform: translateY(-1px); }
.home-city select {
  border: 0; background: transparent; font: inherit; color: inherit; outline: none;
  cursor: pointer; appearance: none; padding-right: 2px;
}

/* 全局搜索框：button 形态（首页不放真实输入框），点击跳查询页 */
.home-search {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 52px; padding: 0 18px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer;
  background: var(--surface); color: var(--muted-2);
  font-size: 14.5px; font-family: inherit; text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.home-search:hover, .home-search:focus-visible {
  border-color: var(--brand-100); box-shadow: var(--shadow-2); transform: translateY(-1px);
}
.home-search svg { color: var(--brand); flex: none; }
.home-search .hs-go {
  margin-left: auto; flex: none; font-size: 12px; font-weight: 600; color: var(--brand);
  background: var(--brand-050); border-radius: 999px; padding: 4px 12px;
}

/* 三大核心模块卡：白底 + 极细边框 + 左侧 4px 主题色条 + 右上角线性图标 */
.entry-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.entry-button {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 7px; text-align: left;
  min-height: 112px; padding: 18px 20px 18px 24px; border-radius: 14px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.entry-button::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--eb, var(--brand));
}
.entry-button:hover, .entry-button:active, .entry-button:focus-visible {
  transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line);
}
.entry-button[data-entry="community"] { --eb: #3A5A40; }
.entry-button[data-entry="school"] { --eb: #D4A373; }
.entry-button[data-entry="judge"] { --eb: #344E6C; }
.eb-icon {
  position: absolute; top: 14px; right: 14px; color: var(--eb, var(--brand));
  opacity: .85; transition: transform .18s ease-out;
}
.entry-button:hover .eb-icon { transform: scale(1.12) rotate(-4deg); }
.eb-title { font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink); letter-spacing: .3px; }
.eb-desc { font-size: 12px; font-weight: 400; line-height: 1.55; color: var(--muted); }

/* --- 极简输入页 --- */
.mini-search-wrap { display: flex; flex-direction: column; gap: 16px; padding: 40px 0 24px; max-width: 620px; margin: 0 auto; width: 100%; }
.mini-search-box {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border: 1.5px solid var(--flow); border-radius: 12px; background: var(--flow-bg);
}
.mini-search-box svg { flex: none; color: var(--flow); }
.mini-search-input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 18px; color: var(--ink); font-family: inherit;
}
.mini-search-input::placeholder { color: var(--muted-2); }
.mini-result { display: flex; flex-direction: column; gap: 8px; }
.mini-result-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); cursor: pointer; transition: border-color .16s, background .16s;
}
.mini-result-item:hover { border-color: var(--flow); background: var(--flow-bg); }
.mini-result-item .nm { font-size: 15px; font-weight: 650; color: var(--ink); }
.mini-result-item .meta { font-size: 12px; color: var(--muted); }
.mini-result-item .arrow { margin-left: auto; color: var(--muted-2); }

/* --- 向导（精准判定分步） --- */
.wizard-stepbar { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.wizard-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.wizard-dot.done { background: var(--flow-bg); color: var(--flow); border-color: var(--flow); }
.wizard-dot.cur { background: var(--flow); color: #fff; border-color: var(--flow); }
.wizard-line { flex: 1; height: 2px; background: var(--line); }
.wizard-line.done { background: var(--flow); }
.wizard-card { max-width: 620px; margin: 0 auto; width: 100%; }
.wizard-fields { display: flex; flex-direction: column; gap: 16px; }
.wizard-foot {
  position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.wizard-optional { border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; }
.wizard-optional > summary { cursor: pointer; font-size: 14px; color: var(--muted); font-weight: 600; }
.wizard-ladder-note {
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 12px; border-radius: 10px; background: var(--flow-bg); font-size: 12px; line-height: 1.6;
}
.wizard-ladder-note .ladder-row b { font-size: 12px; font-weight: 650; color: var(--ink); }

/* --- 结果页：结论卡 / 行动卡 --- */
.verdict-card { border-left: 4px solid var(--flow); }
.verdict-level-matched { color: var(--v-matched); background: var(--v-matched-bg); }
.verdict-level-likely { color: var(--v-likely); background: var(--v-likely-bg); }
.verdict-level-manual { color: var(--v-manual); background: var(--v-manual-bg); }
.result-one-line { font-size: 17px; font-weight: 650; line-height: 1.6; color: var(--ink); }
.result-cards { display: flex; flex-direction: column; gap: 16px; }
.card-hd .card-meta { display: inline-flex; align-items: center; gap: 6px; }

/* --- 响应式：三并排 → 上下单列 --- */
@media (max-width: 860px) {
  .entry-buttons { grid-template-columns: 1fr; gap: 12px; }
  .entry-button { min-height: 96px; padding: 16px 18px; }
  .flow-strip-body { padding: 8px 14px; }
  .global-status-bar { padding: 9px 14px; }
  .home-brand { padding: 8px 0 14px; }
  .home-brand-name { font-size: 22px; }
  .mini-search-wrap { padding: 24px 0 16px; }
}

/* ============================================================
   第 7 步：入口卡四行结构 / 统一结论横幅 / 输入页大字提示 / 向导步标题
   ============================================================ */

/* --- 第 8 步：入口卡四行结构已废弃（改整块色底按钮） --- */

/* --- 结果页主题色标题条（左上角统一返回） --- */
.result-title-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px;
  background: var(--flow-bg); border-left: 6px solid var(--flow);
}
.rtb-back {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.rtb-back:hover { border-color: var(--flow); color: var(--flow); }
.rtb-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rtb-title { font-size: 17px; font-weight: 750; color: var(--flow); }
.rtb-sub { font-size: 14px; color: var(--muted); }

/* --- 统一结论横幅（三流程同一布局，仅主题色不同） --- */
.verdict-banner {
  padding: 24px; border: 2px solid var(--flow); border-radius: 12px;
  display: flex; flex-direction: column; gap: 14px;
}
.vb-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vb-eyebrow { font-size: 14px; color: var(--muted); }
.vb-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.vb-label { font-size: 14px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.vb-big {
  font-size: 24px; font-weight: 800; color: var(--ink);
  line-height: 1.3; letter-spacing: .2px; word-break: break-word;
  text-wrap: pretty;   /* 第 31 步：避免「武昌区水果湖第一小 / 学」这类孤字断行 */
}
.vb-big.tone-matched { color: var(--v-matched); }
.vb-big.tone-likely { color: var(--v-likely); }
.vb-big.tone-manual { color: var(--v-manual); }
.vb-prefix { font-weight: 700; color: var(--muted); }
.vb-status { display: flex; }
.vb-tag {
  display: inline-flex; align-items: center; padding: 4px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff;
}
.vb-tag[data-cat="对口"] { background: var(--v-matched); }
.vb-tag[data-cat="统筹可能性高"] { background: var(--v-likely); }
.vb-tag[data-cat="需人工核实"] { background: var(--v-manual); }
.vb-one-line { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.7; }
.vb-action .btn-flow {
  background: var(--flow); border: 1px solid var(--flow); color: #fff;
  font-weight: 650; padding: 10px 22px; border-radius: 10px;
}
.vb-action .btn-flow:hover { filter: brightness(1.07); }
.vb-extra { margin-top: 2px; }

/* --- 输入页：搜索框上方大字提示 --- */
.mini-search-hint { font-size: 20px; font-weight: 750; color: var(--ink); line-height: 1.5; }

/* --- 向导：每步顶部大字标题 + 说明 --- */
.wizard-step-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wst-main { font-size: 20px; font-weight: 750; color: var(--flow); line-height: 1.35; }
.wst-sub { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* --- 流程条左侧返回按钮 --- */
.flow-back {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none;
  margin-right: 2px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); cursor: pointer;
}
.flow-back:hover { border-color: var(--flow); color: var(--flow); }

/* --- 响应式补丁：结论大字全站统一 24px（第 31 步字号阶梯 22–24px） --- */
@media (max-width: 640px) {
  .vb-big { font-size: 24px; }
  .result-title-bar { padding: 10px 12px; }
  .mini-search-hint { font-size: 18px; }
  .wst-main { font-size: 18px; }
}

/* ============================================================
   第 8 步：查学校结果页 · 对口小区紧凑列表（替换原 8 列宽表）
   ============================================================ */
.scl-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 8px; }
.scl-name, .scl-name-btn {
  font-size: 18px; font-weight: 750; color: var(--flow, var(--ink)); line-height: 1.35;
}
.scl-name-btn {
  border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
  font-family: inherit; text-decoration: none;
}
.scl-name-btn:hover { text-decoration: underline; }
.scl-meta { font-size: 14px; color: var(--muted); line-height: 1.5; padding-bottom: 8px; }
.scl-table tr { border-bottom: 1px solid var(--line); }
.scl-table tr:last-child { border-bottom: 0; }
.scl-table td { padding: 0; }
@media (max-width: 640px) {
  .scl-name, .scl-name-btn { font-size: 17px; }
}

/* --- 第 8 步：结论区与预算卡压缩（移动端优先保证结果可读） --- */
.rtb-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.result-title-bar { flex-wrap: wrap; }
@media (max-width: 640px) {
  .verdict-banner { gap: 10px; }
  .budget-wide-only { display: none; }
  .vb-one-line { font-size: 14px; }
  .result-title-bar { flex-wrap: wrap; row-gap: 8px; }
  .rtb-actions { width: 100%; justify-content: flex-start; }
}

/* --- 第 8 步：移动端把可用空间全部留给结论与列表 --- */
@media (max-width: 640px) {
  .demo-strip { font-size: 12px; padding: 7px 10px; gap: 6px; margin-bottom: 10px; line-height: 1.5; }
  .result-title-bar { flex-wrap: nowrap; }
  .rtb-main { min-width: 0; flex: 1 1 auto; }
  .rtb-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rtb-sub { display: none; }
  .rtb-actions { width: auto; margin-left: 4px; flex-wrap: nowrap; }
  .budget-row-el { display: flex !important; flex-wrap: nowrap !important; gap: 8px; }
  .budget-row-el > svg { display: none; }
  .budget-row-el input { flex: 1 1 auto !important; min-width: 0 !important; max-width: none !important; }
  .budget-row-el button { flex: none !important; white-space: nowrap; }
  .card-hd { min-height: 0; }
}

/* --- 第 8 步：移动端优先保证「结论 + 预算框 + 前两条列表」在一屏内 --- */
@media (max-width: 640px) {
  .result-cards { gap: 10px; }
  .verdict-banner .vb-top > .data-meta { display: none; }
  .scl-title { padding-top: 5px; }
  .scl-meta { padding-bottom: 5px; }
}

/* --- 第 8 步：学校列表卡年份工具行 --- */
.scl-toolbar { display: flex; align-items: center; gap: 8px; padding: 0 16px 8px; }
.scl-toolbar .select { width: auto; min-width: 96px; }
.card-hd h2 { white-space: nowrap; flex: none; }
.card-hd .badge { white-space: nowrap; }

/* --- 第 8 步：统一结论区里的分数环不再用负边距悬浮（避免压住主按钮） --- */
.verdict-banner .score-ring { align-self: flex-start; margin-top: 0; }
@media (max-width: 640px) {
  .verdict-banner .score-ring { align-self: flex-start; margin-top: 0; width: 72px; height: 72px; }
  .verdict-banner .score-ring svg { width: 72px; height: 72px; }
  .verdict-banner .score-ring .num b { font-size: 18px; }
}

/* =============================================================================
   第 10 步：政策变动预警 + AI 学区溢价指数（占位）
   ============================================================================= */

.badge-danger {
  background: var(--risk-bg, #fdecec); color: var(--risk, #c0392b);
  border-color: transparent; font-weight: 700;
}

.policy-alert-bar {
  padding: 8px 12px; border-radius: 10px;
  background: var(--warn-bg, #fff7e6); border: 1px solid var(--warn-100, #ffe0b2);
}
.policy-alert-bar p { margin: 2px 0 0; }

/* 学区溢价指数 */
.estimate-numbers { display: flex; flex-direction: column; gap: 6px; }
.estimate-row { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.estimate-score { font-size: 22px; color: var(--brand, #1e4e8c); line-height: 1.1; }
.estimate-range { font-size: 18px; color: var(--brand, #1e4e8c); line-height: 1.1; }
.estimate-note {
  margin: 0; padding: 6px 10px; border-radius: 8px;
  background: var(--vip-bg, #fdf6e3); color: var(--v-mat, #b26a00);
  border: 1px dashed var(--vip-line, #b8860b); font-weight: 600;
}
.estimate-attr {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px; border-radius: 10px; background: var(--surface-2, #f6f8fb);
}
.estimate-attr-row { display: flex; align-items: center; gap: 8px; }
.estimate-attr-row .spacer { flex: 1; }

/* =============================================================================
   第 11 步：B 端商业化展示位（合作 / 认证标识，与平台自有数据视觉区分）
   ============================================================================= */

/* 合作类统一标签：金色描边，区别于品牌蓝与状态色 */
.badge-partner {
  background: var(--vip-bg, #fdf6e3);
  color: var(--v-mat, #b26a00);
  border: 1px dashed var(--vip-line, #b8860b);
  font-weight: 700;
}

/* 同区民办学校推荐模块 */
.partner-strip {
  border: 1px dashed var(--vip-line, #b8860b) !important;
  background: linear-gradient(180deg, var(--vip-bg, #fdf6e3) 0%, var(--surface, #fff) 64px);
}
.partner-strip .card-hd { border-bottom: 1px dashed var(--vip-line, #b8860b); }

.partner-card {
  padding: 12px; border-radius: var(--r-md, 12px);
  border: 1px solid var(--line, #e6e9ef); background: var(--surface, #fff);
}
.partner-card + .partner-card { margin-top: 0; }

/* 民办学校主页 */
.partner-head { border-left: 3px solid var(--vip-line, #b8860b); }
.partner-notice {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 6px 10px; border-radius: 8px;
  background: var(--surface-2, #f6f8fb); color: var(--muted, #6b7688);
  font-size: 12px; line-height: 1.6;
}
.partner-block {
  padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2, #f6f8fb);
}

/* 教育配套信息已认证（开发商合作） */
.cert-wrap { display: flex; flex-direction: column; gap: 6px; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 10px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-weight: 700;
  background: var(--ok-bg, #e9f7f1); color: var(--ok, #1c8f68);
  border: 1px solid transparent;
}
.cert-badge:hover { filter: brightness(.97); }
.cert-detail {
  padding: 8px 12px; border-radius: 10px; font-size: 12px; line-height: 1.7;
  background: var(--ok-bg, #e9f7f1); color: var(--ink-2, #33415c);
}
.cert-detail p { margin: 0; }

@media (max-width: 640px) {
  .partner-card { padding: 10px; }
  .partner-notice { align-items: flex-start; }
}

/* =============================================================================
   第 12 步：防空白降级 + 后台系统设置（Mock 警示 / 开放平台 / POI / 导入任务）
   ============================================================================= */

/* —— Mock 模式红色警示 —— */
.mock-banner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: var(--r-md, 12px);
  background: #fdecec; color: #c0392b; border: 1px solid #f5c6c2;
  font-size: 14px; font-weight: 700; line-height: 1.6;
}
.mock-banner svg { flex: none; }

/* —— 通用空态占位卡片（划片缺失 / 房价缺失 / 搜索无结果） —— */
.empty-state-card {
  border-radius: var(--r-md, 12px); padding: 14px;
  border: 1px solid var(--line, #e6e9ef);
}
.empty-state-card.is-grey {
  background: var(--surface-2, #f6f8fb);
  border-style: dashed;
}
.empty-state-card .empty-title { font-size: 14px; font-weight: 700; color: var(--ink, #1f2937); }
.empty-state-card svg { flex: none; margin-top: 1px; color: var(--muted, #6b7688); }

/* —— 支付通道对接中提示 —— */
.pay-channel-notice {
  display: flex; align-items: flex-start; gap: 6px;
  padding: 8px 10px; border-radius: 10px; margin-top: 10px;
  background: var(--surface-2, #f6f8fb); color: var(--muted, #6b7688);
  font-size: 12px; line-height: 1.6;
}
.pay-channel-notice svg { flex: none; margin-top: 2px; }

/* —— 后台：开放平台对接 —— */
.ds-provider {
  padding: 12px; border-radius: var(--r-md, 12px);
  border: 1px solid var(--line, #e6e9ef); background: var(--surface, #fff);
}

/* —— POI 同步结果卡（Mock 数据高亮，避免与真实底库混淆） —— */
.card.is-mock { border: 1px dashed #b8860b !important; background: var(--vip-bg, #fdf6e3); }

@media (max-width: 640px) {
  .ds-provider { padding: 10px; }
  .empty-state-card { padding: 12px; }
  .mock-banner { font-size: 12px; padding: 8px 12px; }
}

/* =============================================================================
   第 13 步：欧式视觉重构（结果页头图 / 对口时间轴 / 优雅空态）
   ============================================================================= */

/* --- 结果页头图：深色渐变 + 大字反白 --- */
.hero-banner {
  position: relative; border-radius: var(--r-lg);
  padding: 24px 22px 46px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #344E6C 0%, #3A5A40 100%);
  box-shadow: var(--shadow-2);
}
.hero-banner::after {
  content: ""; position: absolute; right: -70px; top: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .13), transparent 62%);
  pointer-events: none;
}
.hero-banner.hero-school { background: linear-gradient(135deg, #344E6C 0%, #6B5335 100%); }
.hero-top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.hero-back {
  width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1);
  color: #fff; cursor: pointer; transition: background .16s;
}
.hero-back:hover { background: rgba(255, 255, 255, .22); }
.hero-crumb { font-size: 12px; color: rgba(255, 255, 255, .72); letter-spacing: .6px; }
.hero-actions { margin-left: auto; display: flex; gap: 8px; }
.hero-actions .btn { box-shadow: none; }
.hero-title {
  position: relative; z-index: 1;
  margin-top: 16px; font-size: 30px; font-weight: 700; letter-spacing: .5px; line-height: 1.3;
  word-break: break-word;
}
.hero-sub { position: relative; z-index: 1; margin-top: 6px; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .82); }

/* 头图下方的白卡结论区：向上叠 28px，制造层次 */
.hero-conclusion {
  margin: -28px 12px 0; position: relative; z-index: 2;
  box-shadow: var(--shadow-2) !important;
  animation: skel-in .3s ease-out;
}

/* 查学校结果页：数据大屏统计行 */
.hero-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; min-width: 96px; }
.hero-stat .stat-num { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.hero-stat .stat-num small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.hero-stat .stat-label { font-size: 12px; font-weight: 400; color: var(--muted); }

/* --- 对口历史时间轴（2019–2026 连贯性一眼可见） --- */
.mapping-timeline { display: flex; flex-direction: column; gap: 8px; }
.mt-track { display: flex; gap: 3px; align-items: stretch; }
.mt-seg {
  flex: 1; min-width: 0; height: 34px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-family: var(--font-num); color: #fff;
  transition: transform .14s ease-out, box-shadow .14s;
  cursor: default;
}
.mt-seg:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }
.mt-seg.stable { background: #3A5A40; }
.mt-seg.changed { background: #D4A373; }
.mt-seg.missing { background: #E3E0D9; color: var(--muted-2); }
.mt-seg.locked { background: repeating-linear-gradient(135deg, #E9E4DA 0 6px, #F3F0E9 6px 12px); color: var(--muted-2); }
.mt-axis { display: flex; gap: 3px; }
.mt-axis span {
  flex: 1; min-width: 0; text-align: center; font-size: 10px;
  color: var(--muted-2); font-family: var(--font-num);
}
.mt-legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.mt-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.mt-legend .lg-stable { background: #3A5A40; }
.mt-legend .lg-changed { background: #D4A373; }
.mt-legend .lg-missing { background: #E3E0D9; }
.mt-summary { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.mt-summary b { color: var(--brand); }

/* --- 优雅空态（搜索无结果） --- */
.empty-illu {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 18px 20px; gap: 4px;
}
.empty-illu svg { opacity: .9; margin-bottom: 10px; }
.empty-illu .ei-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.empty-illu .ei-sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 4px; line-height: 1.7; }

/* --- 页面内容淡入（骨架屏 → 真实内容的平滑替换） --- */
.page-fade-in { animation: skel-in .3s ease-out; }

@media (max-width: 640px) {
  .hero-banner { padding: 12px 14px 26px; }
  /* 第 14 步：24px 既是排版栅格的整数倍，也满足结果页「大字」规格 */
  .hero-title { font-size: 24px; margin-top: var(--sp-1); }
  .hero-sub { margin-top: 3px; font-size: 12px; }
  .hero-conclusion { margin: -22px 8px 0; padding: 12px 14px; gap: 10px; }
  /* 移动端结论白卡隐藏 eyebrow 行（头图副标题已含数据年份），把首屏空间留给列表 */
  .verdict-banner.hero-conclusion .vb-top { display: none; }
  .hero-stats { gap: 12px; }
  .hero-stat { min-width: 0; }
  .hero-stat .stat-num { font-size: 20px; }
  .hero-stat .stat-num small { font-size: 12px; }
  .hero-stat .stat-label { font-size: 10px; }
  .home-brand-name { font-size: 22px; }
  .home-search { min-height: 48px; font-size: 14px; }
  .mt-seg { height: 28px; font-size: 10px; }
}

/* ===================== 第 15 步：AI 意图搜索 / 预约顾问 / 预算区间 / 看板 ===================== */

/* --- 首页 AI 智能提问入口 --- */
.home-ai {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; margin-bottom: 16px; cursor: pointer;
  border: 1px solid var(--brand-100); border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(58, 90, 64, .06) 0%, rgba(212, 163, 115, .10) 100%);
  color: var(--ink); font-family: inherit; text-align: left;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.home-ai:hover, .home-ai:focus-visible { box-shadow: var(--shadow-2); transform: translateY(-1px); border-color: var(--brand); }
.home-ai-ic {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--brand); color: #fff;
}
.home-ai-main { flex: 1; min-width: 0; }
.home-ai-title { font-size: var(--fs-title); font-weight: 700; color: var(--ink); }
.home-ai-sub { margin-top: 2px; font-size: var(--fs-sub); color: var(--muted); line-height: 1.6; }
.home-ai-go { flex: none; font-size: var(--fs-sub); font-weight: 600; color: var(--brand); }

/* --- AI 提问页 --- */
.ai-ask {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--sp-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-1);
}
.ai-input {
  width: 100%; min-height: 84px; resize: vertical; font-family: inherit;
  padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 15px; line-height: 1.7; background: var(--surface);
}
.ai-chips { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.ai-chip {
  padding: 0 12px; height: 32px; border-radius: var(--r-pill); cursor: pointer;
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: var(--fs-sub); color: var(--ink-2); font-family: inherit;
}
.ai-chip:hover { border-color: var(--brand-100); color: var(--brand); background: var(--brand-050); }
.ai-intent {
  display: flex; flex-wrap: wrap; gap: var(--sp-1); align-items: center;
  padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.ai-intent-label { font-size: var(--fs-sub); color: var(--muted); }
.ai-card { display: flex; flex-direction: column; gap: 10px; }
.ai-card-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; }
.ai-card-name { font-size: var(--fs-title); font-weight: 700; color: var(--ink); }
.ai-card-meta { margin-top: 4px; font-size: var(--fs-sub); color: var(--muted); line-height: 1.7; }
.ai-upsell {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 4px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--vip-bg); border: 1.5px dashed var(--vip-line);
  color: var(--vip-strong); font-size: var(--fs-sub);
}
.ai-empty-reason { font-size: var(--fs-sub); color: var(--muted); margin-top: 6px; }

/* --- 预算区间筛选（滑动 + 快捷区间） --- */
.budget-ranges { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.budget-range {
  height: var(--btn-h-sm); padding: 0 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: var(--fs-sub); color: var(--ink-2); cursor: pointer; font-family: inherit;
}
.budget-range:hover { border-color: var(--brand-100); color: var(--brand); }
.budget-range.active { background: var(--brand); border-color: transparent; color: #fff; font-weight: 600; }
.budget-slider { width: 100%; max-width: 320px; accent-color: var(--brand); height: 24px; }
.budget-slider-row { display: flex; align-items: center; gap: var(--sp-1); flex-wrap: wrap; }
.budget-slider-val { font-size: var(--fs-sub); color: var(--brand); font-weight: 700; min-width: 74px; }

/* --- 预约规划师答疑：半屏抽屉 --- */
.advisor-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10020;
  background: var(--surface); border-radius: 18px 18px 0 0;
  box-shadow: 0 -18px 48px -20px rgba(16, 32, 58, .45);
  padding: var(--sp-2) var(--sp-2) calc(var(--sp-2) + env(safe-area-inset-bottom));
  animation: advisor-up .22s ease-out;
  max-height: 88vh; overflow: auto;
}
@keyframes advisor-up { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.advisor-mask { position: fixed; inset: 0; z-index: 10010; background: rgba(16, 32, 58, .42); }
.advisor-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.advisor-title { font-size: var(--fs-title); font-weight: 700; color: var(--ink); }
.advisor-desc { font-size: var(--fs-sub); color: var(--muted); line-height: 1.7; margin-bottom: var(--sp-2); }
.advisor-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--sp-2); }
.advisor-field span { font-size: var(--fs-sub); color: var(--ink-2); }
.advisor-actions { display: flex; gap: var(--sp-1); }
.advisor-actions .btn { flex: 1; }
.btn-advisor {
  background: var(--brand); color: #fff; border-color: transparent;
  font-weight: 700; box-shadow: 0 6px 18px -10px rgba(58, 90, 64, .9);
}
.btn-advisor:hover { filter: brightness(1.06); }

/* --- 后台看板大屏卡片 --- */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-2); }
.dash-card {
  padding: var(--sp-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-1);
}
.dash-card-hl { background: linear-gradient(135deg, rgba(58, 90, 64, .08), rgba(212, 163, 115, .12)); border-color: var(--brand-100); }
.dash-label { font-size: var(--fs-sub); color: var(--muted); }
.dash-num { margin-top: 6px; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.dash-num small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.dash-hint { margin-top: 4px; font-size: 12px; color: var(--muted-2); }
.chart-wrap-inline { width: 100%; overflow-x: auto; }
.chart-wrap-inline svg { display: block; width: 100%; height: auto; }

@media (max-width: 640px) {
  .home-ai { padding: 12px; }
  .dash-num { font-size: 24px; }
  .advisor-sheet { padding: var(--sp-2) var(--sp-2) calc(var(--sp-3) + env(safe-area-inset-bottom)); }
}

/* ===================== 第 16 步：合规声明 + 风险升级条 ===================== */

.global-disclaimer {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: var(--sp-3); padding: 12px 16px;
  border-radius: var(--r-md);
  background: #46494E; color: rgba(255, 255, 255, .78);
  font-size: 12px; line-height: 1.8; letter-spacing: .2px;
}
.global-disclaimer svg { flex: none; margin-top: 2px; color: rgba(255, 255, 255, .55); }
/* 第 56 步【二】：页脚版本号（右对齐、弱化但可读） */
.global-disclaimer-text { flex: 1 1 auto; min-width: 0; }
.global-disclaimer-ver {
  flex: none; margin-left: 8px; padding: 1px 7px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: 11px; letter-spacing: .4px; color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}

/* 免费视角的「消费冲动点」：比普通付费墙更重的风险提示 */
.paywall-note.risk-upsell {
  background: linear-gradient(120deg, rgba(176, 138, 62, .12), rgba(212, 163, 115, .18));
  border: 1px solid rgba(176, 138, 62, .32);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  align-items: flex-start;
}
.paywall-note.risk-upsell .paywall-note-text { display: flex; flex-direction: column; gap: 4px; color: var(--ink); line-height: 1.75; }
.paywall-note.risk-upsell b { color: var(--vip-strong); }
.paywall-note.risk-upsell svg { flex: none; margin-top: 3px; color: #B08A3E; }

@media (max-width: 640px) {
  .global-disclaimer { padding: 12px; font-size: 10px; }
}

/* ================= 第 18 步：学校对口列表「片区分组 + 页内微搜索」 ================= */
.scl-filter-box {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px; margin: 4px 0 8px;
  border: 1px solid var(--line, #e3e6ea); border-radius: 10px;
  background: var(--panel, #f7f8fa); color: var(--muted, #8a8f98);
}
.scl-filter-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink, #22252a); padding: 2px 0;
}
.scl-group-head > tr > td { padding: 0 !important; border-bottom: none !important; }
.scl-group-toggle {
  display: flex; align-items: center; gap: 6px; width: 100%;
  padding: 9px 6px 5px; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--ink, #22252a);
  cursor: pointer; text-align: left;
}
.scl-group-toggle:hover { color: var(--brand, #1f6f4a); }
.scl-group-arrow { font-size: 10px; color: var(--muted, #8a8f98); width: 12px; }
.scl-group-toggle.collapsed .scl-group-arrow { transform: rotate(0deg); }
.scl-group-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scl-group-count { font-size: 12px; font-weight: 400; color: var(--muted, #8a8f98); }
@media (max-width: 640px) {
  .scl-group-toggle { font-size: 12px; }
  .scl-filter-input { font-size: 12px; }
}

/* ==================== 第 17 步：地理兜底【极大概率对口参考】卡片 ==================== */

.geo-fallback {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #DCE3DC;
  border-left: 4px solid #3A5A40;
  border-radius: 10px;
  background: #FAFBF9;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.geo-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.geo-note { margin: 0; font-size: 14px; line-height: 1.6; color: #4A5248; }

.geo-schools { display: flex; flex-direction: column; gap: 6px; }

.geo-school {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: #fff; border: 1px solid #E5EAE3; border-radius: 8px;
  font-size: 14px;
}
.geo-school-tag {
  flex: none;
  font-size: 10px; padding: 1px 6px; border-radius: 4px;
  background: #EEF2EC; color: #3A5A40; border: 1px solid #D8E0D6;
}
.geo-school-name { font-weight: 600; color: #2E362C; min-width: 0; }
.geo-dist { margin-left: auto; flex: none; font-variant-numeric: tabular-nums; color: #8A9486; font-size: 12px; }

.geo-disclaimer { margin: 2px 0 0; }

.geo-clue-btn { width: 100%; justify-content: center; }

.geo-clue-form { border: 1px dashed #C9D2C6; border-radius: 10px; background: #fff; }

/* ==================== 第 17 步：热门搜索标签 ==================== */

.hot-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.hot-tags-label { font-size: 12px; color: #8A9486; flex: none; }
.hot-tag {
  font-size: 14px; padding: 4px 12px; border-radius: 999px;
  background: #F4F6F2; border: 1px solid #E0E5DD; color: #43513F;
  cursor: pointer; transition: all .15s ease;
}
.hot-tag:hover { border-color: #3A5A40; color: #3A5A40; background: #EDF2EA; }

/* 搜索联想命中片段高亮 */
.mini-hl { color: #3A5A40; }

@media (max-width: 640px) {
  .geo-fallback { padding: 10px; }
  .geo-school { font-size: 12px; padding: 6px 8px; }
  .geo-school-name { font-weight: 600; }
  .hot-tag { font-size: 12px; padding: 3px 10px; }
}

/* ==================== 第 19/20 步：数据置信度徽标与备注 ==================== */

/* 第 20 步合规口径：官方数据绿底白字「官方文件溯源」；
   推演/未核实一律红底白字「非官方数据，请以当年区教育局公告为准」。
   徽标允许换行（红底文案较长），不再强制 nowrap。 */
.cf-badge {
  flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 650; line-height: 1.5;
  border: 1px solid transparent;
}
.cf-official { background: #1E7A3C; color: #FFFFFF; border-color: #1E7A3C; }
/* 第 90 步【一】2（G2）：来源待核实 —— 中性灰，既不冒充官方绿，也不冒充黄色「推演参考」 */
.cf-untraced { background: #EEF0F2; color: #5A6169; border-color: #DCE0E4; font-weight: 600; }
/* 第 93 步【三】：官方链接·未逐条核验 —— 来源是官方公告，但这一行还没逐条比对过原文。
   刻意与官方绿（cf-official）、中性灰（cf-untraced）、推演黄（cf-derived）三者都不同：
   淡琥珀底 + 棕字 + 描边，一眼能看出「来源是官方的，但这行没核过」。
   刻意**不**并入第 33 步那段「推演徽章降噪成极淡灰小字」的规则 ——
   降噪规则针对的是「推演/拟合」这类已知不权威的档位；
   本档位恰恰要让人看见「有链接但没核验」这个区别，隐掉就等于把 A 级当官方卖了。 */
.cf-linked { background: #FDF3E0; color: #8A5A12; border-color: #EBD6AE; font-weight: 600; }
/* 第 21 步：历史推演/缺失补全统一黄色徽章「历史轨迹推演参考」，醒目且不冒充官方 */
.cf-derived { background: #F5C518; color: #4A3800; border-color: #D9A800; }
.cf-unverified { background: #F5C518; color: #4A3800; border-color: #D9A800; }
.cf-error { background: #5A5A5A; color: #FFFFFF; border-color: #5A5A5A; text-decoration: line-through; }

.vb-note {
  flex-basis: 100%;
  margin-top: 2px;
  font-size: 12px; font-weight: 500; color: #8A9486; line-height: 1.6;
}

/* 置信度图例（页面底部数据来源说明） */
.cf-legend {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  padding-top: 8px; font-size: 12px; color: #8A9486;
}
.cf-legend-item { display: inline-flex; align-items: center; gap: 6px; }

/* 三级归属（小区 → 社区 → 学校） */
.cf-lineage {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 14px; color: #55604F;
}
.cf-lineage-arrow { color: #A8B0A2; }

/* 未核实数据：结论区降级为「参考（非对口）」 */
.cf-ref-block {
  margin-top: 10px; padding: 10px 12px;
  border: 1px dashed #E0D5BB; border-radius: 10px; background: #FDFAF3;
}
.cf-ref-title { font-size: 14px; font-weight: 700; color: #8A6420; }

@media (max-width: 640px) {
  .cf-badge { font-size: 10px; padding: 2px 8px; }
  .vb-note { font-size: 12px; }
}

/* ==================== 第 20 步：学区溢价挤出总结语 ==================== */

.premium-squeeze-note {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 12px; border-radius: 10px;
  background: #FDF6F3; border: 1px solid #F0DDD3;
  font-size: 12px; line-height: 1.7; color: #8A4A32;
}
.premium-squeeze-note svg { flex: none; margin-top: 2px; color: #B0563A; }

/* ==================== 第 21 步：结论副标题 / 毛玻璃付费墙 / 权益对比 / B端入口 ==================== */

/* 结论大字上方的醒目副标题（「基于历史数据的深度匹配分析」） */
.vb-subtitle {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; margin-bottom: 10px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(27, 61, 46, 0.06), rgba(27, 61, 46, 0.015));
  border-left: 3px solid var(--ink-2, #2F5D46);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink-2, #2F5D46);
}

/* 权益对比表：免费灰 / 会员金 */
.benefit-compare {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid #E4DEC9; border-radius: 12px; overflow: hidden;
}
.benefit-compare .bc-head {
  display: grid; grid-template-columns: 1fr 1.6fr;
  font-size: 14px; font-weight: 800; text-align: center;
}
.bc-free-head { background: #EFEFEA; color: #6B6F65; padding: 9px 6px; }
.bc-vip-head {
  background: linear-gradient(135deg, #F7D774, #E8B93E); color: #4A3800;
  padding: 9px 6px; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.bc-row {
  display: grid; grid-template-columns: 0.9fr 1fr 1.6fr;
  border-top: 1px solid #EEE9DA; font-size: 12px; align-items: center;
}
.bc-label { font-weight: 700; color: var(--ink, #22301F); padding: 9px 8px; background: #FBFAF5; }
.bc-col { padding: 9px 8px; line-height: 1.5; }
.bc-free { color: #9A9E93; text-align: center; background: #F7F7F3; }
.bc-vip {
  color: #4A3800; font-weight: 650;
  background: linear-gradient(135deg, #FFF8E1, #FDF0C0);
  display: flex; align-items: center; gap: 5px;
}
.bc-vip svg { flex: none; color: #B8860B; }
.benefit-compare .bc-cta {
  margin: 12px; align-self: center; min-width: 240px;
}

/* 毛玻璃付费诱惑：真实数据 + 高斯模糊 + 悬浮风险文案 */
.glass-teaser {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid #E4DEC9; background: #FFFDF6;
}
.glass-blur { filter: blur(6px); opacity: 0.55; user-select: none; pointer-events: none; }
.glass-rows { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.glass-row {
  display: grid; grid-template-columns: 52px 1fr 1fr; gap: 10px;
  font-size: 14px; font-weight: 650; color: var(--ink, #22301F);
}
.glass-year { color: var(--ink-3, #6B6F65); font-variant-numeric: tabular-nums; }
.glass-cta {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 18px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 253, 246, 0.42), rgba(255, 253, 246, 0.86));
}
.glass-warn {
  display: flex; align-items: flex-start; gap: 8px; max-width: 480px;
  font-size: 14px; line-height: 1.7; color: #8A4A32; font-weight: 650;
}
.glass-warn svg { flex: none; margin-top: 3px; color: #C0392B; }
.glass-warn b { color: #7A3E1D; }

/* B 端线索入口：学区规划师路径诊断（亮色卡） */
.planner-cta {
  border: 1.5px solid #E8B93E; border-radius: 14px;
  background: linear-gradient(135deg, #FFFDF2, #FBF3D9);
}
.planner-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 800; color: #6B4E00;
}
.planner-title svg { color: #B8860B; }
.btn-planner {
  background: linear-gradient(135deg, #F7D774, #E8B93E); color: #4A3800;
  border: none; font-weight: 800; padding: 10px 18px; border-radius: 10px;
  cursor: pointer; box-shadow: 0 2px 8px rgba(184, 134, 11, 0.25);
}
.btn-planner:hover { filter: brightness(1.04); }

@media (max-width: 640px) {
  .bc-row, .benefit-compare .bc-head { grid-template-columns: 1fr; }
  .bc-row { gap: 2px; padding: 6px 4px; }
  .glass-row { grid-template-columns: 44px 1fr; }
  .glass-row span:last-child { display: none; }
}

/* ===================== 第 22 步：极致输入 / 精准体检 / 裂变 ===================== */

/* --- 输入页：两个辅助按钮（定位 / 拍照） --- */
/* 第 56 步【三】：定位卡 + 拍照卡两列等高（align-items: stretch），
   隐私承诺移出网格后由 .search-assist-note 独占一行 —— 两张卡不再一高一矮。 */
.search-assist-wrap { width: 100%; }
.search-assist {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2);
  margin-bottom: var(--sp-2);
  align-items: stretch;
}
.search-assist-note {
  margin-top: -2px; margin-bottom: var(--sp-2);
}
.search-assist-note .privacy-note { display: block; }
.assist-btn {
  display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left;
  padding: 12px 14px; font-family: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.assist-btn:hover:not(:disabled), .assist-btn:focus-visible {
  box-shadow: var(--shadow-2); transform: translateY(-1px); border-color: var(--brand);
}
.assist-btn:disabled { opacity: .65; cursor: wait; }
/* 第 56 步【一】：定位 Loading 态 —— 图标缓慢自转，给用户「正在取位置」的确定感 */
.assist-btn.locating .assist-ic { animation: assist-locate-spin 1.1s linear infinite; }
.assist-btn.locating .assist-ic svg { animation: none; }
@keyframes assist-locate-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.assist-ic {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-pill); color: #fff;
}
.assist-locate .assist-ic { background: var(--navy); }
.assist-photo .assist-ic { background: var(--brand); }
.assist-main { flex: 1; min-width: 0; }
.assist-title { display: block; font-size: var(--fs-title); font-weight: 700; color: var(--ink); }
.assist-sub { display: block; margin-top: 2px; font-size: var(--fs-sub); color: var(--muted); line-height: 1.6; }
.scan-upload-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.scan-upload-wrap .assist-btn { width: 100%; }

/* --- 隐私承诺：绿色加粗小字（验收②核心视觉） --- */
.privacy-note {
  font-size: 12px; font-weight: 700; line-height: 1.7;
  color: var(--ok);
}
.confirm-slot .privacy-note, .wizard-fields .privacy-note {
  padding: 6px 10px; border-radius: var(--r-sm); background: var(--ok-bg);
  border: 1px solid rgba(78, 133, 99, .25);
}
.confirm-slot:empty { display: none; }

/* --- 照片识别 进度遮罩：分段进度条 + 高价值期待感 --- */
.scan-progress-overlay {
  position: fixed; inset: 0; z-index: 220; display: grid; place-items: center;
  background: rgba(26, 32, 40, .55); backdrop-filter: blur(3px);
}
.scan-progress-card {
  width: min(420px, calc(100vw - 48px)); padding: 28px 26px 22px; text-align: center;
  border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2);
}
.scan-progress-icon {
  width: 56px; height: 56px; margin: 0 auto 12px; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--brand-050); color: var(--brand);
}
.scan-progress-title { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.scan-bar {
  height: 8px; border-radius: var(--r-pill); overflow: hidden;
  background: var(--line); margin-bottom: 12px;
}
.scan-bar-fill {
  display: block; height: 100%; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .18s linear;
}
.scan-stage-text { font-size: 14px; font-weight: 600; color: var(--ink-2); min-height: 22px; }
.scan-progress-note { margin-top: 10px; font-size: var(--fs-sub); color: var(--muted); }

/* --- 确认地址卡片（输入三通道统一落点） --- */
.confirm-card {
  border: 1.5px solid var(--brand-100); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden;
  margin-bottom: var(--sp-2);
}
.confirm-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; color: #fff; background: linear-gradient(120deg, var(--brand-600), var(--brand));
  font-size: 14px; font-weight: 700;
}
.confirm-src {
  flex: none; padding: 2px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .18);
}
.confirm-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.confirm-row { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-2); }
.confirm-row .ck { flex: none; font-size: 12px; color: var(--muted); }
.confirm-name b { font-size: 18px; color: var(--ink); }
.confirm-scan {
  display: flex; gap: 6px; align-items: flex-start;
  padding: 8px 10px; border-radius: var(--r-sm); font-size: 12px; line-height: 1.7;
  background: var(--brand-050); color: var(--ink-2);
}
.confirm-scan b { color: var(--brand-600); }
.confirm-foot { display: flex; gap: 10px; padding: 0 16px 16px; }
.confirm-go { flex: 1; height: var(--btn-h-lg); font-size: 15px; font-weight: 800; }

/* --- 进阶诊断：灰色锁定卡（手动输入用户） --- */
.hc-locked { background: var(--surface-2); }
.hc-locked-pad { display: flex; flex-direction: column; gap: 4px; }
.hc-lock-body { display: flex; gap: 14px; align-items: flex-start; }
.hc-lock-ic {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: var(--r-md); background: var(--line); color: var(--muted);
}
.hc-lock-text { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--ink-2); }
.hc-lock-text b { color: var(--risk); }
.hc-lock-list { margin: 10px 0 0; padding-left: 18px; font-size: 12px; color: var(--muted); line-height: 2; }

/* --- 进阶诊断：精准体检报告（拍照识别用户） --- */
.hc-report-pad { display: flex; flex-direction: column; gap: 12px; }
.hc-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hc-cell {
  display: flex; flex-direction: column; gap: 6px; padding: 12px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2);
}
.hc-cell-label { font-size: 12px; font-weight: 700; color: var(--muted); }
.hc-cell-value { font-size: 21px; font-weight: 800; color: var(--ink); }
.hc-cell-sub { font-size: 12px; line-height: 1.65; color: var(--ink-2); }
.hc-risk-list { display: flex; flex-direction: column; gap: 6px; }
.hc-risk-item {
  display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 1.7;
  color: var(--risk); padding: 8px 10px; border-radius: var(--r-sm); background: var(--risk-bg);
}
.hc-unlock-zone { display: flex; flex-direction: column; gap: 10px; }
.hc-unlock-note { font-size: 12px; line-height: 1.8; color: var(--muted); }

/* --- 裂变测评页（quiz） --- */
.quiz-hero { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-2); }
.quiz-hero-ic {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--brand); color: #fff;
}
.quiz-hero-title { font-size: var(--fs-title-lg); font-weight: 800; color: var(--ink); }
.quiz-hero-sub { margin-top: 2px; font-size: var(--fs-sub); color: var(--muted); }
.quiz-dots { display: flex; gap: 8px; margin-bottom: var(--sp-2); }
.quiz-dot {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); background: var(--surface);
}
.quiz-dot.cur { color: #fff; background: var(--brand); border-color: var(--brand); }
.quiz-dot.done { color: var(--ok); border-color: var(--ok); background: var(--ok-bg); }
.quiz-card { padding: var(--sp-3); display: flex; flex-direction: column; gap: 12px; }
.quiz-step-no { font-size: var(--fs-sub); color: var(--muted); }
.quiz-q-title { font-size: 17px; font-weight: 800; color: var(--ink); }
.quiz-option {
  display: flex; align-items: center; gap: 10px; width: 100%; cursor: pointer;
  padding: 13px 14px; font-family: inherit; text-align: left;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--surface);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.quiz-option:hover, .quiz-option:focus-visible {
  border-color: var(--brand); box-shadow: var(--shadow-1); transform: translateY(-1px);
}
.quiz-opt-main { flex: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.quiz-opt-sub { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.quiz-opt-arrow { flex: none; color: var(--muted-2); }
.quiz-result-tone {
  align-self: flex-start; padding: 6px 16px; border-radius: var(--r-pill);
  font-size: 20px; font-weight: 800;
}
.quiz-result-tone.ok { color: var(--ok); background: var(--ok-bg); }
.quiz-result-tone.warn { color: var(--warn); background: var(--warn-bg); }
.quiz-result-tone.risk { color: var(--risk); background: var(--risk-bg); }
.quiz-result-text { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink-2); }
.quiz-cta-box {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border-radius: var(--r-md);
  background: var(--brand-050); border: 1px dashed var(--brand-100);
}
.quiz-cta-title { font-size: 15px; font-weight: 800; color: var(--brand-600); }

/* --- 首页 quiz 裂变入口（复用 home-ai 布局，藏蓝系区分） --- */
.home-quiz {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; margin-bottom: 16px; cursor: pointer;
  border: 1px solid var(--navy-050); border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(52, 78, 108, .06) 0%, rgba(58, 90, 64, .10) 100%);
  color: var(--ink); font-family: inherit; text-align: left;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.home-quiz:hover, .home-quiz:focus-visible { box-shadow: var(--shadow-2); transform: translateY(-1px); border-color: var(--navy); }
.home-quiz-ic {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-pill); background: var(--navy); color: #fff;
}

/* --- 体检单长图弹窗 --- */
.share-modal-card .share-canvas-wrap canvas[data-testid="health-share-canvas"] {
  width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line);
}

/* --- 移动端适配 --- */
@media (max-width: 720px) {
  .search-assist { grid-template-columns: 1fr; }
  .hc-cells { grid-template-columns: 1fr; }
  .confirm-foot { flex-wrap: wrap; }
  .confirm-go { flex: 1 1 100%; }
  .quiz-card { padding: var(--sp-2); }
}

/* ===================== 第 23 步：黄金6秒 / 反AI壁垒 / 极限付费墙 ===================== */

/* --- 长内容折叠抽屉 --- */
.details-drawer { display: flex; flex-direction: column; }
.dd-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; cursor: pointer; text-align: left; font-family: inherit;
  border: 1.5px dashed var(--brand-100); border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1);
  transition: border-color .18s, box-shadow .18s;
}
.dd-toggle:hover, .dd-toggle:focus-visible { border-color: var(--brand); box-shadow: var(--shadow-2); }
.dd-ic {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-md); background: var(--brand-050); color: var(--brand);
}
.dd-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dd-label { font-size: var(--fs-title); font-weight: 800; }
.dd-sub { font-size: var(--fs-sub); color: var(--muted); }
.dd-chevron { flex: none; color: var(--muted); transition: transform .2s; }
.dd-toggle.is-open .dd-chevron { transform: rotate(180deg); }
.dd-body { display: none; }
.dd-body.is-open { display: flex; flex-direction: column; }
.dd-content { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }

/* --- 首屏「黄金 6 秒」聚焦层 --- */
.s23-golden {
  display: flex; flex-direction: column; gap: 7px;
  padding: 9px 12px 10px;
  border: 1.5px solid var(--brand-100); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBF8 100%);
  box-shadow: var(--shadow-2);
}
.s23-gh-conclusion { display: flex; flex-direction: column; gap: 3px; }
.s23-gh-name { font-size: 12px; color: var(--muted); font-weight: 700; }
.s23-gh-school-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s23-gh-school-label { font-size: 12px; color: var(--muted); flex: none; }
.s23-gh-school { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.s23-gh-school-row .cf-badge { margin-left: auto; }

/* 极简风险牌：红黄绿大色块 + 三色信号灯 */
.s23-gh-risk { display: flex; align-items: stretch; gap: 8px; }
.s23-gh-risk-block {
  flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  padding: 7px 12px; border-radius: var(--r-md); color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.s23-gh-risk-block.tone-ok { background: linear-gradient(120deg, #4E8563, #3C6B4F); }
.s23-gh-risk-block.tone-warn { background: linear-gradient(120deg, #C79A3E, #AC8130); }
.s23-gh-risk-block.tone-risk { background: linear-gradient(120deg, #C05C5C, #A33F3F); }
.s23-gh-risk-label { font-size: 12px; opacity: .9; font-weight: 700; letter-spacing: .04em; }
.s23-gh-risk-block b { font-size: 20px; font-weight: 800; line-height: 1.25; }
.s23-gh-risk-desc { font-size: 10px; opacity: .92; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s23-gh-lights {
  flex: none; width: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px; padding: 8px 0; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--line);
}
.s23-light { width: 13px; height: 13px; border-radius: 50%; opacity: .32; transition: all .2s; }
.s23-light.ok { background: var(--ok); }
.s23-light.warn { background: var(--warn); }
.s23-light.risk { background: var(--risk); }
.s23-light.cur { width: 19px; height: 19px; opacity: 1; box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }

/* 核心 CTA */
.s23-gh-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s23-gh-cta .btn {
  height: var(--btn-h-lg); display: flex; align-items: center; justify-content: center;
  gap: 5px; font-size: 14px; font-weight: 800;
}
.s23-gh-cta .s23-gh-cta-free { background: var(--surface); color: var(--brand-600); border: 1.5px solid var(--brand); }
.s23-gh-cta .s23-gh-cta-main {
  background: linear-gradient(120deg, var(--brand), var(--brand-600)); color: #fff; border: none;
  box-shadow: 0 3px 10px rgba(58, 90, 64, .25);
}

/* 早鸟倒计时 + 情感文案 */
.s23-earlybird {
  display: flex; flex-direction: column; gap: 4px;
  padding: 8px 10px; border-radius: var(--r-md);
  background: linear-gradient(120deg, #FFF8E1, #FDF0C8); border: 1.5px solid #E8B93E;
}
.s23-ebs-price { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; font-size: 12px; color: #6B4E00; font-weight: 700; line-height: 1.4; }
.s23-ebs-price b { font-size: 15px; color: #A33F3F; }
.s23-ebs-price s { color: #9A8A63; }
.s23-ebs-cd { color: #C0392B; font-variant-numeric: tabular-nums; }
.s23-ebs-emotion { font-size: 10px; color: #7A5A18; line-height: 1.4; }
.s23-ebs-btn { width: 100%; height: 36px; font-weight: 800; }

/* 官方数据总览 + 红头文件放大镜 */
.s23-gh-trust { display: flex; flex-direction: column; gap: 3px; }
.s23-overview { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: var(--ink-2); }
.s23-overview svg { color: var(--ok); flex: none; margin-top: 1px; }
.s23-overview-title { font-weight: 800; color: var(--brand-600); flex: none; }
.s23-overview-text { line-height: 1.45; }
.s23-odz { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: none; }
.s23-odz:hover { text-decoration: underline; }
.s23-odz svg { flex: none; }

/* 反 AI 服务入口 */
.s23-gh-entries { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s23-gh-entry {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 8px 6px; font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer;
  border: 1px solid var(--navy-050); border-radius: var(--r-sm);
  background: var(--navy-050); color: var(--navy-600);
}
.s23-gh-entry:hover, .s23-gh-entry:focus-visible { border-color: var(--navy); }

/* --- 极限付费墙区 --- */
.s23-paywall { display: flex; flex-direction: column; gap: 12px; }
.s23-paywall-hd h2 { font-size: var(--fs-title-lg); font-weight: 800; color: var(--ink); margin: 0; }
.s23-paywall-hd p { margin: 4px 0 0; }
.s23-priv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s23-priv-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.s23-priv-free { background: #F2F2EF; color: #6B6F65; }
.s23-priv-vip { background: linear-gradient(150deg, #FFFBEA, #FDF0C0); border: 1.5px solid #E8B93E; color: #4A3800; box-shadow: 0 3px 14px rgba(184, 134, 11, .16); }
.s23-priv-head { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; }
.s23-priv-sub { font-size: 12px; opacity: .8; margin-top: -4px; }
.s23-priv-row { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 1.5; }
.s23-priv-row svg { flex: none; }
.s23-priv-free .s23-priv-row svg { color: #A8A8A8; }
.s23-priv-vip .s23-priv-row svg { color: #B8860B; }
.s23-priv-crown {
  position: absolute; top: -12px; right: 12px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, #F7D774, #E8B93E); color: #4A3800;
  box-shadow: 0 2px 8px rgba(184, 134, 11, .3);
}
.s23-priv-btn { margin-top: auto; width: 100%; font-weight: 800; }

/* --- 实时沙盘推演 --- */
.s23-sandbox { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.s23-sb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s23-sb-run { background: var(--navy); color: #fff; border: none; font-weight: 700; }
.s23-sb-tag { font-size: 10px; color: var(--muted); }
.s23-sb-slider-row { display: flex; align-items: center; gap: 10px; }
.s23-sb-year { flex: none; width: 44px; font-size: 14px; color: var(--brand-600); }
.s23-sb-slider { flex: 1; accent-color: var(--brand); height: 22px; cursor: pointer; }
.s23-sb-ticks { display: flex; justify-content: space-between; padding: 0 6px; font-size: 10px; color: var(--muted); }
.s23-sb-bar { height: 8px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.s23-sb-bar-fill { display: block; height: 100%; width: 0; border-radius: var(--r-pill); background: var(--ok); transition: width .22s ease, background .22s; }
.s23-sb-bar-fill[data-tone="warn"] { background: var(--warn); }
.s23-sb-bar-fill[data-tone="risk"] { background: var(--risk); }
.s23-sb-output { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.s23-sb-headline { font-size: 15px; font-weight: 700; color: var(--ink); }
.s23-sb-pct { font-size: 19px; }
.s23-sb-pct.tone-ok, .s23-sb-tone[data-tone="ok"] { color: var(--ok); }
.s23-sb-pct.tone-warn, .s23-sb-tone[data-tone="warn"] { color: var(--warn); }
.s23-sb-pct.tone-risk, .s23-sb-tone[data-tone="risk"] { color: var(--risk); }
.s23-sb-tone { margin-left: 8px; font-size: 12px; font-weight: 800; }
.s23-sb-compare { font-size: 12px; color: var(--muted); line-height: 1.6; }
.s23-sb-note { margin: 0; font-size: 10px; color: var(--muted); line-height: 1.6; }
.s23-pulse { animation: s23Pulse .5s ease; }
@keyframes s23Pulse { 0% { box-shadow: 0 0 0 0 rgba(58, 90, 64, .25); } 100% { box-shadow: 0 0 0 14px rgba(58, 90, 64, 0); } }

/* --- 真人专家闭环 --- */
.s23-expert {
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  border-radius: var(--r-lg); border: 1.5px solid #E8B93E;
  background: linear-gradient(135deg, #FFFDF2, #FBF3D9);
}
.s23-expert-warn { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #A33F3F; }
.s23-expert-pitch { margin: 0; font-size: 14px; font-weight: 700; color: #6B4E00; line-height: 1.6; }
.s23-expert-btn { align-self: flex-start; background: linear-gradient(135deg, #F7D774, #E8B93E); color: #4A3800; border: none; font-weight: 800; }
.advisor-intro {
  display: flex; align-items: center; gap: 6px; padding: 8px 10px; margin: 0 0 10px;
  border-radius: var(--r-sm); background: var(--accent-050); color: #6B4E00;
  font-size: 12px; font-weight: 800;
}

/* --- 损失厌恶毛玻璃 --- */
.s23-lag {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 12px; border-radius: var(--r-md); border: 1px solid #E4DEC9; background: #FFFDF6;
}
.s23-lag-head { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.s23-lag-row {
  display: grid; grid-template-columns: 52px 1fr 1fr; gap: 8px; padding: 5px 8px;
  border-radius: var(--r-sm); background: #fff; font-size: 12px; color: var(--ink);
}
.s23-lag-year { color: var(--muted); font-variant-numeric: tabular-nums; }
.s23-lag-visible { display: flex; flex-direction: column; gap: 4px; }
.s23-lag-zone { position: relative; min-height: 148px; }
.s23-lag-blur { display: flex; flex-direction: column; gap: 4px; filter: blur(6px); opacity: .55; user-select: none; pointer-events: none; }
.s23-lag-mask {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 253, 246, .35), rgba(255, 253, 246, .9));
}
.s23-lag-warning { display: flex; align-items: flex-start; gap: 6px; max-width: 520px; font-size: 14px; font-weight: 800; line-height: 1.65; color: #8A4A32; }
.s23-lag-warning svg { flex: none; margin-top: 2px; color: #C0392B; }
.s23-lag-count { font-size: 12px; color: #7A3E1D; font-weight: 700; }

/* --- 真实用户态：首屏紧凑模式（自动化回归态不压缩，保证点击目标可见） --- */
html:not(.details-open-mode) .hero-banner { padding-top: 8px; padding-bottom: 8px; }
html:not(.details-open-mode) .hero-banner .hero-sub { font-size: 12px; }
html:not(.details-open-mode) .verdict-banner.hero-conclusion { padding: 14px; gap: 6px; }
html:not(.details-open-mode) .verdict-banner .vb-top,
html:not(.details-open-mode) .verdict-banner .vb-one-line,
html:not(.details-open-mode) .verdict-banner .vb-action { display: none; }
html:not(.details-open-mode) .verdict-banner .vb-big { font-size: 22px; }
/* 真实用户态：flex order 把「黄金 6 秒」视觉提前到结论卡之前（DOM 顺序不变），
   自动化回归态不重排，继续满足第 8 步「结论区在首屏上半部分」断言 */
html:not(.details-open-mode) .result-cards > * { order: 10; }
html:not(.details-open-mode) .result-cards > .hero-banner { order: 1; }
html:not(.details-open-mode) .result-cards > .s23-golden { order: 2; }
html:not(.details-open-mode) .result-cards > .verdict-banner { order: 3; margin-top: 0; }
html:not(.details-open-mode) .result-cards > .s23-paywall { order: 4; }
html:not(.details-open-mode) .result-cards > .details-drawer { order: 5; }

/* --- 移动端适配 --- */
@media (max-width: 720px) {
  .s23-golden { padding: 8px 10px 10px; gap: 6px; }
  .s23-gh-school { font-size: 20px; }
  .s23-priv { gap: 8px; }
  .s23-priv-card { padding: 10px; }
  .s23-priv-row { font-size: 12px; }
  .s23-lag-row { grid-template-columns: 44px 1fr; }
  .s23-lag-row span:last-child { display: none; }
  .dd-content { gap: 10px; }
}

/* =========================================================
   第 24 步：国际范 UI（深空灰 + 暗夜黑 + 香槟金）
   渐进式折叠 · 极限转化墙 · 公章溯源
   作用域：s24-* 类，全部限定在结果页/转化组件内，不影响全局主题
   ========================================================= */
:root {
  --s24-space: #16181D;          /* 深空灰 */
  --s24-night: #0D0F13;          /* 暗夜黑 */
  --s24-space-2: #1F232B;
  --s24-gold: #D8B45A;           /* 香槟金 */
  --s24-gold-hi: #F0D48A;
  --s24-gold-deep: #B08A3E;
  --s24-crimson: #7E1E1E;        /* 击碎横幅的深红 */
  --s24-crimson-deep: #5F1414;
  --s24-num: "DIN Alternate", "Bahnschrift", "DIN Condensed", "Arial Narrow", monospace;
}

/* ---------- 首屏结论徽章（黄金 6 秒） ---------- */
.s24-hero {
  background: linear-gradient(150deg, var(--s24-space-2) 0%, var(--s24-space) 55%, var(--s24-night) 100%);
  border-radius: 16px;
  padding: 12px 14px 11px;
  color: #F3F1EA;
  box-shadow: 0 18px 42px rgba(13, 16, 20, .34);
  border: 1px solid rgba(216, 180, 90, .18);
}
.s24-hero-eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s24-hero-chip {
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
  color: var(--s24-gold-hi); background: rgba(216, 180, 90, .12);
  border: 1px solid rgba(216, 180, 90, .35);
  padding: 3px 9px; border-radius: 999px;
}
.s24-hero-comm { font-size: 12px; color: rgba(243, 241, 234, .62); }
.s24-hero-main { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; gap: 10px; }
.s24-hero-badge {
  font-size: 42px; font-weight: 900; letter-spacing: .02em; line-height: 1.1;
  font-family: inherit;
}
.s24-hero-badge[data-tone="ok"] { color: #7FE0A8; }
.s24-hero-badge[data-tone="risk"] { color: #FF7A6B; }
.s24-hero-badge[data-tone="warn"] { color: #FFD98A; }
.s24-hero-badge[data-tone="muted"] { color: #B9BDC6; }
.s24-hero-score { text-align: right; flex: none; }
.s24-hero-score-num {
  display: block; font-size: 34px; font-weight: 800; color: var(--s24-gold-hi);
  font-family: var(--s24-num); font-variant-numeric: tabular-nums; letter-spacing: .02em;
}
.s24-hero-score-label { font-size: 10px; color: rgba(243, 241, 234, .55); }
.s24-hero-dream { margin-top: 7px; font-size: 14px; font-weight: 700; color: #FBF8EF; line-height: 1.35; }
.s24-hero-oneline { margin-top: 6px; font-size: 12px; color: rgba(243, 241, 234, .68); line-height: 1.55; }
.s24-hero-seal { margin-left: auto; display: inline-flex; }
.s24-hero-seal .s24-govseal { padding: 4px 8px; }
.s24-hero-seal .s24-seal-svg { width: 18px; height: 18px; }
.s24-hero-seal .s24-govseal-texts b { font-size: 12px; }
.s24-hero-seal .s24-govseal-sub { display: none; }

/* ---------- 深红警告横幅（击碎） ---------- */
.s24-shock {
  margin-top: 8px;
  display: flex; gap: 10px; align-items: flex-start;
  background: linear-gradient(120deg, var(--s24-crimson) 0%, var(--s24-crimson-deep) 100%);
  border: 1px solid rgba(255, 122, 107, .38);
  border-radius: 14px; padding: 11px 12px;
  box-shadow: 0 14px 30px rgba(126, 30, 30, .30);
}
.s24-shock-ic { color: #FFB3A8; flex: none; margin-top: 1px; }
.s24-shock-title { color: #FFD9D2; font-size: 14px; font-weight: 900; display: block; }
.s24-shock-text { color: #F3C4BC; font-size: 12px; line-height: 1.55; }

/* ---------- 折叠卡（渐进式折叠骨架） ---------- */
.s24-folds { margin-top: 8px; display: flex; flex-direction: column; gap: 7px; }
.s24-fold {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(22, 24, 29, .06);
  overflow: hidden;
}
.s24-fold-toggle {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; background: none; border: 0; cursor: pointer; text-align: left;
}
.s24-fold-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s24-gold); flex: none; box-shadow: 0 0 0 4px rgba(216, 180, 90, .16); }
.s24-fold-texts { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.s24-fold-title { font-size: 14.5px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.s24-fold-badge {
  font-size: 10px; font-weight: 800; color: var(--s24-gold-deep);
  background: rgba(216, 180, 90, .14); border: 1px solid rgba(216, 180, 90, .4);
  padding: 1px 7px; border-radius: 999px;
}
.s24-fold-sub { font-size: 12px; color: var(--muted); }
.s24-fold-cta { display: flex; align-items: center; gap: 4px; color: var(--s24-gold-deep); font-size: 12px; font-weight: 800; flex: none; }
.s24-fold-chevron { display: inline-flex; transition: transform .2s; }
.s24-fold-toggle.is-open .s24-fold-chevron { transform: rotate(180deg); }
.s24-fold-body { display: none; padding: 0 14px 14px; }
.s24-fold-body.is-open { display: block; }

/* ① 宏观概览：近 3 年轻量行 */
.s24-overview-body { display: flex; flex-direction: column; gap: 2px; }
.s24-year-row {
  display: flex; align-items: center; gap: 12px; padding: 9px 2px;
  border-bottom: 1px dashed var(--line-2);
}
.s24-year-row:last-of-type { border-bottom: 0; }
.s24-year-num {
  font-size: 16px; font-weight: 800; color: var(--ink-2);
  font-family: var(--s24-num); font-variant-numeric: tabular-nums; flex: none; min-width: 44px;
}
.s24-year-schools { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 14px; color: var(--ink); }
.s24-year-dim { font-size: 12px; color: var(--muted); }
.s24-evolution-btn { margin-top: 10px; }

/* ---------- 底部滑出抽屉 ---------- */
.s24-mask {
  position: fixed; inset: 0; z-index: 10040;
  background: rgba(10, 12, 15, 0);
  transition: background .22s ease;
}
.s24-mask.is-open { background: rgba(10, 12, 15, .55); }
.s24-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 78vh; display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -18px 46px rgba(13, 16, 20, .4);
  transform: translateY(104%);
  transition: transform .24s cubic-bezier(.32, .72, .28, 1);
}
.s24-sheet.is-open { transform: translateY(0); }
.s24-sheet-grip { width: 40px; height: 4px; border-radius: 999px; background: var(--line); margin: 10px auto 4px; flex: none; }
.s24-sheet-hd {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 16px 10px; border-bottom: 1px solid var(--line-2); flex: none;
}
.s24-sheet-titles { flex: 1; min-width: 0; }
.s24-sheet-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.s24-sheet-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.s24-sheet-close {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2);
}
.s24-sheet-body { overflow-y: auto; padding: 14px 16px calc(18px + env(safe-area-inset-bottom)); }
.s24-scroll-lock { overflow: hidden; }

/* 10 年演变抽屉内容 */
.s24-evo-table { display: flex; flex-direction: column; }
.s24-evo-row {
  display: grid; grid-template-columns: 48px 1fr 1fr; gap: 8px;
  padding: 8px 2px; border-bottom: 1px dashed var(--line-2);
  font-size: 14px; color: var(--ink);
}
.s24-evo-chart { margin-top: 14px; }
.s24-evo-chart-title { font-size: 14px; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; }

/* ---------- 全屏报告视图 ---------- */
.s24-fullview {
  position: fixed; inset: 0; z-index: 10050;
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateY(16px); opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.s24-fullview.is-open { transform: translateY(0); opacity: 1; }
.s24-fullview-bar {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 14px; background: linear-gradient(150deg, var(--s24-space-2), var(--s24-night));
  color: #F3F1EA;
}
.s24-fullview-back {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(216, 180, 90, .12); color: var(--s24-gold-hi);
  border: 1px solid rgba(216, 180, 90, .4); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 800; cursor: pointer;
}
.s24-fullview-titles { flex: 1; min-width: 0; text-align: center; }
.s24-fullview-title { font-size: 15px; font-weight: 800; }
.s24-fullview-sub { font-size: 10px; color: rgba(243, 241, 234, .6); margin-top: 1px; }
.s24-fullview-body { flex: 1; overflow-y: auto; padding: 16px 16px 40px; }
.s24-report-entry { padding: 4px 2px; }
.s24-report-sec { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.s24-report-sec h3 { margin: 0 0 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.s24-report-text { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.s24-report-dim { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.s24-report-note { font-size: 10px; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* ---------- 公章徽章 + 红头文件 ---------- */
.s24-govseal {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192, 57, 43, .06); border: 1px dashed rgba(192, 57, 43, .5);
  border-radius: 12px; padding: 7px 11px; cursor: pointer; text-align: left;
}
.s24-hero .s24-govseal { background: rgba(192, 57, 43, .12); border-color: rgba(255, 122, 107, .45); }
.s24-govseal-icon { color: #C0392B; flex: none; display: inline-flex; }
.s24-govseal-texts { display: flex; flex-direction: column; gap: 1px; }
.s24-govseal-texts b { font-size: 12px; color: var(--ink); }
.s24-hero .s24-govseal-texts b { color: #F3F1EA; }
.s24-govseal-sub { font-size: 10px; color: var(--muted); }
.s24-hero .s24-govseal-sub { color: rgba(243, 241, 234, .58); }
.s24-govdoc {
  background: #FFFEFC; border: 1px solid #E8DFC8; border-radius: 14px;
  padding: 0 0 12px; margin-bottom: 12px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(22, 24, 29, .08);
}
.s24-govdoc-head {
  background: linear-gradient(120deg, #B3221B, #C0392B); color: #FFF;
  padding: 10px 14px;
}
.s24-govdoc-agency { font-size: 16px; font-weight: 900; letter-spacing: .08em; }
.s24-govdoc-no { font-size: 10px; opacity: .85; margin-top: 2px; font-family: var(--s24-num); }
.s24-govdoc-title {
  padding: 12px 14px 0; font-size: 14.5px; font-weight: 800; color: #26221B;
  font-family: "SimSun", "Songti SC", serif; text-align: center; line-height: 1.5;
}
.s24-govdoc-body {
  padding: 10px 16px 0; font-size: 12px; color: #4A443A; line-height: 1.8;
  font-family: "SimSun", "Songti SC", serif;
}
.s24-govdoc-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 16px 0; }
.s24-govdoc-seal { color: #C0392B; display: inline-flex; }
.s24-govdoc-meta { text-align: right; font-size: 12px; color: #6B6250; display: flex; flex-direction: column; gap: 1px; }
.s24-govdoc-date { font-family: var(--s24-num); font-variant-numeric: tabular-nums; }
.s24-govdoc-demo {
  margin: 10px 14px 0; font-size: 10px; color: #9A8A63; text-align: center;
  border-top: 1px dashed #E8DFC8; padding-top: 8px;
}
.s24-govdoc-link {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin: 8px 14px 0; padding: 9px; border-radius: 10px;
  background: rgba(192, 57, 43, .07); color: #B3221B;
  font-size: 12px; font-weight: 800; text-decoration: none;
}

/* ---------- 沙盘区（反 AI 壁垒） ---------- */
.s24-sandbox-sec { margin-top: 16px; }
.s24-sandbox-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.s24-sec-title { margin: 0; font-size: 17px; font-weight: 900; color: var(--ink); }
.s24-sec-sub { margin: 4px 0 10px; font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ---------- 毛玻璃遮罩（击碎·历史数据全黑模糊） ---------- */
.s24-paywall { margin-top: 16px; display: flex; flex-direction: column; gap: 0; }
.s24-blur {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--s24-night);
  border: 1px solid rgba(216, 180, 90, .22);
}
.s24-blur-rows { padding: 14px 16px; filter: blur(6px) brightness(.46); transition: filter .25s ease; }
.s24-blur:hover .s24-blur-rows { filter: blur(3.5px) brightness(.62); }
.s24-blur-row {
  display: grid; grid-template-columns: 44px 1fr 1fr; gap: 8px;
  padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: #F3F1EA; font-size: 14px;
}
.s24-blur-year { font-family: var(--s24-num); font-variant-numeric: tabular-nums; font-weight: 800; }
.s24-blur-mask {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(ellipse at center, rgba(13, 15, 19, .32) 0%, rgba(13, 15, 19, .68) 100%);
  padding: 16px; text-align: center;
}
.s24-blur-float { display: flex; flex-direction: column; gap: 5px; }
.s24-blur-float b { font-size: 19px; font-weight: 900; color: #FFE9E6; text-shadow: 0 2px 14px rgba(126, 30, 30, .9); letter-spacing: .02em; }
.s24-blur-float span { font-size: 12px; color: rgba(255, 233, 230, .85); }
.s24-blur-hint { font-size: 10px; color: var(--s24-gold-hi); display: inline-flex; align-items: center; gap: 4px; opacity: .9; }

/* ---------- 金光呼吸按钮 ---------- */
.s24-goldbtn {
  position: relative; overflow: visible;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px;
  background: linear-gradient(120deg, var(--s24-gold-hi) 0%, var(--s24-gold) 45%, var(--s24-gold-deep) 100%);
  color: #241A05; font-size: 14.5px; font-weight: 900; letter-spacing: .02em;
  border: 0; border-radius: 14px; cursor: pointer;
  box-shadow: 0 10px 26px rgba(216, 180, 90, .38);
  animation: s24-breath 2.2s ease-in-out infinite;
}
.s24-goldbtn-glow {
  position: absolute; inset: -3px; border-radius: 16px; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(240, 212, 138, .55), transparent 70%);
  animation: s24-breath-glow 2.2s ease-in-out infinite;
}
.s24-goldbtn-text { position: relative; }
@keyframes s24-breath {
  0%, 100% { box-shadow: 0 10px 26px rgba(216, 180, 90, .38); }
  50% { box-shadow: 0 10px 34px rgba(240, 212, 138, .66); }
}
@keyframes s24-breath-glow {
  0%, 100% { opacity: .35; transform: scale(.98); }
  50% { opacity: .9; transform: scale(1.04); }
}
.s24-goldbtn:active { transform: translateY(1px); }

/* ---------- 黑金付费卡（拯救） ---------- */
.s24-bj {
  position: relative;
  background: linear-gradient(155deg, var(--s24-space-2) 0%, var(--s24-night) 78%);
  border: 1px solid rgba(216, 180, 90, .42);
  border-radius: 16px; padding: 18px 16px;
  margin-top: -8px; z-index: 1;
  box-shadow: 0 20px 46px rgba(13, 16, 20, .5);
  overflow: hidden;
}
.s24-bj-shine {
  position: absolute; top: -60px; right: -40px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(240, 212, 138, .16), transparent 68%);
  pointer-events: none;
}
.s24-bj-copy { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.s24-bj-line1 { color: #FBF6E8; font-size: 17px; font-weight: 900; line-height: 1.45; }
.s24-bj-line2 { color: var(--s24-gold-hi); font-size: 12px; font-weight: 700; }

.s24-bj-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s24-bj-col { border-radius: 12px; padding: 10px 11px; display: flex; flex-direction: column; gap: 6px; }
.s24-bj-free { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.s24-bj-vip { background: rgba(216, 180, 90, .1); border: 1px solid rgba(216, 180, 90, .55); }
.s24-bj-col-head { font-size: 12px; font-weight: 800; color: #D5D8DE; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.s24-bj-vip .s24-bj-col-head { color: var(--s24-gold-hi); }
.s24-bj-origin { font-size: 10px; color: rgba(213, 216, 222, .55); font-weight: 500; }
.s24-bj-price { font-size: 19px; color: var(--s24-gold-hi); font-family: var(--s24-num); font-variant-numeric: tabular-nums; }
.s24-bj-col-sub { font-size: 10px; color: rgba(213, 216, 222, .6); }
.s24-bj-row { font-size: 12px; color: rgba(243, 241, 234, .82); display: flex; align-items: center; gap: 5px; }
.s24-bj-free .s24-bj-row { color: rgba(213, 216, 222, .55); }

.s24-bj-urgency {
  margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.s24-bj-cd { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(243, 241, 234, .78); }
.s24-bj-cd-num { color: #FF8A7A; font-family: var(--s24-num); font-variant-numeric: tabular-nums; font-size: 14px; }
.s24-bj-quota {
  font-size: 10px; font-weight: 800; color: #FFD9D2;
  background: rgba(126, 30, 30, .55); border: 1px solid rgba(255, 122, 107, .45);
  padding: 3px 9px; border-radius: 999px;
}
.s24-bj-anchor { margin: 10px 0 12px; text-align: center; font-size: 12px; color: rgba(240, 212, 138, .9); font-weight: 700; }
.s24-bj .s24-goldbtn { width: 100%; }
.s24-bj-note { margin-top: 10px; font-size: 10px; color: rgba(213, 216, 222, .45); text-align: center; line-height: 1.5; }

/* ---------- 移动端微调 ---------- */
@media (max-width: 420px) {
  .s24-hero-badge { font-size: 34px; }
  .s24-hero-score-num { font-size: 27px; }
  .s24-fold-sub { display: none; }
  .s24-fold-toggle { padding-top: 9px; padding-bottom: 9px; }
  .s24-bj-compare { gap: 8px; }
  .s24-evo-row { grid-template-columns: 44px 1fr; }
  .s24-evo-row span:last-child { display: none; }
}

/* ==================================================================
   第 25 步：全站 UI 精细化 —— 视觉降噪 / 交互减负 / 转化压迫
   ================================================================== */

/* ---------- ① 底部 Tab 栏安全余量（最后一行字不再被遮挡） ---------- */
@media (max-width: 640px) {
  .page { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
  .global-disclaimer { margin-bottom: 8px; }
}
.global-disclaimer { margin-bottom: 8px; }

/* ---------- ② 黄色标签全面降级：浅灰底 + 深灰字小 tag ---------- */
.cf-derived,
.cf-unverified {
  background: #F2F3F4; color: #6B7280; border-color: #E5E7EA;
  font-weight: 500; font-size: 10px; padding: 1px 6px; letter-spacing: .01em;
}
.scl-title .cf-badge { font-size: 10px; padding: 1px 5px; }
.scl-title > .badge { font-size: 10px; padding: 1px 6px; background: #F6F7F8; color: #7A8089; border-color: #ECEEF0; }
.cf-legend { color: #9AA0A6; font-size: 10px; gap: 4px 12px; padding-top: 6px; }
.cf-legend .cf-badge { font-size: 10px; padding: 0 5px; }
.cf-official { background: #EAF5EE; color: #1E7A3C; border-color: #CFE7D7; font-weight: 600; }
.cf-legend .cf-official { background: #EAF5EE; color: #1E7A3C; }

/* ---------- ③ 结果页「接下来」：1 个主按钮 + 横向滑动文字链 ---------- */
.s25-next-pad { display: flex; flex-direction: column; gap: 10px; }
.s25-next-primary {
  width: 100%; min-height: 48px; font-size: 15px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.s25-next-links {
  display: flex; align-items: center; gap: 4px; overflow-x: auto; white-space: nowrap;
  padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.s25-next-links::-webkit-scrollbar { display: none; }
.s25-next-link {
  flex: none; border: 0; background: transparent; padding: 6px 2px;
  font-size: 12px; font-weight: 600; color: var(--brand, #1f6f4a);
  font-family: inherit; cursor: pointer;
}
.s25-next-link + .s25-next-link::before {
  content: '·'; color: var(--line, #dfe3e6); margin-right: 6px; font-weight: 400;
}
.s25-next-link:hover { color: var(--brand-600, #16543a); text-decoration: underline; }
.s25-next-sim { flex: none; display: inline-flex; }

/* ---------- ④ 首页：AI 一键体检通栏（AI 提问 + 顺位测评合并） ---------- */
.home-ai-combo {
  display: flex; align-items: stretch; gap: 10px; margin-bottom: 16px;
}
.home-ai-combo .home-ai { margin-bottom: 0; flex: 1; min-width: 0; }
.home-quiz-chip {
  flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; padding: 10px 8px; cursor: pointer; font-family: inherit;
  border: 1px dashed var(--brand-100, #cfe0d5); border-radius: var(--r-lg);
  background: #fff; color: var(--ink);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.home-quiz-chip:hover, .home-quiz-chip:focus-visible {
  border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-1px);
}
.home-quiz-chip-title { font-size: 12px; font-weight: 800; color: var(--brand); }
.home-quiz-chip-sub { font-size: 10px; color: var(--muted); }
@media (max-width: 420px) {
  .home-ai-combo { gap: 8px; }
  .home-quiz-chip { width: 84px; }
  .home-ai-combo .home-ai-sub { font-size: 12px; }
}

/* ---------- ⑤ 查学校：预算筛选收进「筛选」按钮 ---------- */
.s25-budget-pad { display: flex; flex-direction: column; gap: 10px; }
.s25-filter-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  min-height: 46px; padding: 0 14px; cursor: pointer; font-family: inherit;
  border: 1px solid var(--line, #e2e6ea); border-radius: 12px; background: var(--surface-2, #f7f8fa);
  color: var(--ink); font-size: 14px; font-weight: 700; text-align: left;
}
.s25-filter-btn svg:last-child { margin-left: auto; color: var(--muted); }
.s25-filter-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.s25-filter-text { flex: 1; min-width: 0; }
.s25-budget-body { display: none; flex-direction: column; gap: 10px; }
.s25-budget-body.is-open { display: flex; }

/* ---------- ⑥ 表单：小问号悬浮提示（替代长段说明） ---------- */
.qdot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; margin-left: 5px; border-radius: 50%;
  border: 1px solid #C6CBD1; color: #8A9099; font-size: 10px; font-weight: 800;
  line-height: 1; cursor: help; position: relative; vertical-align: 1px;
  background: #fff;
}
.qdot:hover, .qdot:focus-visible { border-color: var(--brand); color: var(--brand); outline: none; }
.qdot::after {
  content: attr(data-tip);
  position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%) translateY(4px);
  width: max-content; max-width: 260px; padding: 8px 10px;
  background: #2B3138; color: #F4F6F8; font-size: 12px; font-weight: 500; line-height: 1.6;
  border-radius: 8px; text-align: left; white-space: normal; letter-spacing: 0;
  opacity: 0; pointer-events: none; transition: opacity .16s, transform .16s; z-index: 50;
  box-shadow: 0 8px 22px -10px rgba(16, 32, 58, .6);
}
.qdot:hover::after, .qdot:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.lbl-help { display: inline-flex; align-items: center; }

/* ---------- ⑦ 进阶诊断按钮：深红 / 黑金渐变 + 呼吸微动效 ---------- */
.s25-dx-btn {
  background: linear-gradient(118deg, #7A1220 0%, #A81C2B 42%, #C9A063 100%);
  color: #FFF6EC; border: 1px solid rgba(201, 160, 99, .55);
  font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 10px 24px -12px rgba(122, 18, 32, .75);
  animation: s25-dx-breath 2.6s ease-in-out infinite;
}
.s25-dx-btn:hover { filter: brightness(1.06); }
@keyframes s25-dx-breath {
  0%, 100% { box-shadow: 0 10px 24px -12px rgba(122, 18, 32, .72); transform: translateY(0); }
  50% { box-shadow: 0 14px 30px -10px rgba(168, 28, 43, .58); transform: translateY(-1px); }
}

/* ---------- ⑧ 结论页：未核验房户的红字落差警告 ---------- */
.s24-hero-risknote {
  margin: 2px 0 0; padding: 8px 10px; border-radius: 10px;
  background: rgba(220, 38, 38, .12); border: 1px solid rgba(220, 38, 38, .38);
  color: #E23B3B; font-size: 12px; font-weight: 800; line-height: 1.65;
}

/* ---------- ⑨ 沙盘高风险态：整卡浅红 + 深红加粗 + 后果红字 ---------- */
.s23-sandbox.s23-sb-risk {
  background: #FFF1F0; border-color: #F2B8B5;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, .16) inset;
}
.s23-sandbox.s23-sb-risk .s23-sb-output { background: #FFE6E4; }
.s23-sb-tone[data-tone="risk"] { color: #B01212; font-weight: 900; }
.s23-sb-riskline {
  margin: 0; padding: 8px 10px; border-radius: 8px;
  background: rgba(220, 38, 38, .1); border-left: 3px solid #C81E1E;
  color: #B01212; font-size: 12px; font-weight: 800; line-height: 1.6;
}

/* ---------- ⑩ 锁定历史数据：半透明遮挡 + 中心悬浮大字 ---------- */
.s23-lag-mask { background: linear-gradient(180deg, rgba(255, 253, 246, .26), rgba(255, 253, 246, .62)); }
.s23-lag-blur { filter: blur(7px); opacity: .5; }
.s23-lag-float { display: flex; flex-direction: column; gap: 2px; margin-bottom: 2px; }
.s23-lag-float b { font-size: 16px; font-weight: 900; color: #8E1B1B; letter-spacing: .02em; }
.s23-lag-float span { font-size: 12px; font-weight: 700; color: #A8442C; }
@media (max-width: 640px) {
  .s23-lag-float b { font-size: 14.5px; }
  .s23-lag-warning { font-size: 12px; }
}

/* ---------- ⑫ 折叠态首屏压缩：结论 + 红字警告 + 三枚折叠按钮压进 667px ---------- */
/* 仅在真实用户视角（未挂 details-open-mode）生效；展开态保持舒展间距，
   保证历史回归脚本的点击目标始终可见。 */
html:not(.details-open-mode) .result-cards.s24-result > .result-title-bar { padding-top: 8px; padding-bottom: 8px; }
html:not(.details-open-mode) .result-cards.s24-result > .result-title-bar .rtb-back { width: 30px; height: 30px; border-radius: 9px; }
html:not(.details-open-mode) .s24-hero { padding: 9px 13px 8px; }
html:not(.details-open-mode) .s24-hero-main { margin-top: 5px; }
html:not(.details-open-mode) .s24-hero-dream { margin-top: 5px; }
html:not(.details-open-mode) .s24-hero-oneline { margin-top: 4px; }
html:not(.details-open-mode) .s24-hero-risknote { margin-top: 6px; padding: 6px 9px; font-size: 12px; line-height: 1.4; }
html:not(.details-open-mode) .s24-shock { margin-top: 6px; padding: 9px 11px; }
html:not(.details-open-mode) .s24-shock-title { font-size: 14px; }
html:not(.details-open-mode) .s24-shock-text { font-size: 12px; line-height: 1.42; }
html:not(.details-open-mode) .s24-folds { margin-top: 6px; gap: 6px; }
html:not(.details-open-mode) .s24-fold-toggle { padding: 6px 11px; }
html:not(.details-open-mode) .s24-fold-title { font-size: 14px; }

/* 无障碍：仅屏幕阅读器/文本抽取可见，不占布局 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==================================================================
   第 27 步：欧式复古 / 低饱和色彩系统 + 会员对比墙 + 功能自白
   ================================================================== */

/* ---------- ① 全局色板：暖砂灰底 / 牛津蓝 / 勃艮第红 / 香槟金 / 暗红 ---------- */
:root {
  --bg: #F4F3F0;                    /* 极浅暖砂灰 */
  --surface: #FFFFFF;
  --surface-2: #FAF9F6;

  --brand: #2B3A4A;                 /* 英伦牛津蓝（主品牌） */
  --brand-600: #22303D;
  --brand-050: #EEF1F4;
  --brand-100: #DCE3E9;

  --accent: #8C2B35;                /* 低饱和勃艮第红（强调） */
  --accent-600: #71202A;
  --accent-050: #F7EDEE;

  --navy: #243342;                  /* 深牛津蓝（顶栏 / 深色面） */
  --navy-600: #1B2733;
  --navy-050: #EDF0F3;

  --gold: #C8A97E;                  /* 香槟金 */
  --gold-deep: #9C7C4E;
  --gold-050: #F8F4EC;

  --ink: #22282E;
  --ink-2: #4A5158;
  --muted: #8A8579;                 /* 暖灰副标题 */
  --muted-2: #B0ABA1;

  --line: #E7E4DE;                  /* 极细淡灰分割线 */
  --line-2: #F1EFEA;

  --ok: #4E7A62;
  --ok-bg: #EDF3EF;
  --warn: #A83232;                  /* 高风险暗红（有压迫感但不刺眼） */
  --warn-bg: #F7EDEC;
  --risk: #A83232;
  --risk-bg: #F8ECEB;

  /* 超轻弥散阴影：模拟自然光下的纸片 */
  --shadow-1: 0 1px 2px rgba(43, 58, 74, .04), 0 10px 28px -14px rgba(43, 58, 74, .12);
  --shadow-2: 0 2px 4px rgba(43, 58, 74, .05), 0 18px 40px -18px rgba(43, 58, 74, .18);

  /* padding 统一放大 20%（8px 栅格上浮） */
  --sp-1: 10px;
  --sp-2: 19px;
  --sp-3: 29px;
  --sp-4: 38px;
  --sp-5: 48px;
}

/* 三大入口卡：牛津蓝 / 勃艮第红 / 香槟金 */
.entry-button[data-entry="community"] { --eb: #2B3A4A; }
.entry-button[data-entry="school"] { --eb: #8C2B35; }
.entry-button[data-entry="judge"] { --eb: #C8A97E; }

/* 深色结论卡的香槟金 / 勃艮第调 */
:root {
  --s24-gold: #C8A97E;
  --s24-gold-hi: #E6D2AC;
  --s24-gold-deep: #9C7C4E;
  --s24-crimson: #5E1F26;
  --s24-crimson-deep: #45161C;
}
/* 暗红 #A83232 在深色卡上对比不足 → 同色相提亮一档（#D65F55），仍不刺眼 */
.s24-hero-risknote { color: #D65F55; background: rgba(168, 50, 50, .18); border-color: rgba(200, 140, 132, .42); }

/* ---------- ② 首屏状态栏：金融终端式「实时比对」 ---------- */
.s27-verify {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 7px; font-size: 10px; letter-spacing: .01em;
  color: rgba(236, 232, 222, .6);
}
.s27-verify-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: #7FD3A5; box-shadow: 0 0 0 3px rgba(127, 211, 165, .16);
  animation: s27-blink 2.2s ease-in-out infinite;
}
.s27-verify-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes s27-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- ③ 精算引擎 1.2 概念卡 ---------- */
.s27-engine {
  margin-top: 10px; padding: 14px 15px; border-radius: var(--r-lg);
  background: linear-gradient(152deg, #FCFAF5 0%, #F4EFE5 100%);
  border: 1px solid #E7DFD1; box-shadow: var(--shadow-1);
}
.s27-engine-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s27-engine-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #6B5330;
  background: rgba(200, 169, 126, .26); border: 1px solid rgba(156, 124, 78, .42);
  padding: 3px 9px; border-radius: var(--r-pill);
}
.s27-engine-copy { margin: 9px 0 0; font-size: 12px; line-height: 1.72; color: #5B5750; }
.s27-engine-copy b { color: var(--accent); font-weight: 800; }
.s27-engine-copy { text-wrap: pretty; }

/* ---------- ④ 会员对比墙：1:1 双卡（心动博弈） ---------- */
.s27-vcw { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.s27-vcw-card {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  padding: 16px 12px 12px; border-radius: 14px;
}
.s27-vcw-free {
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.s27-vcw-vip {
  background: linear-gradient(160deg, #1F2C39 0%, #2B3A4A 58%, #354351 100%);
  border: 1px solid rgba(200, 169, 126, .55);
  box-shadow: 0 20px 44px -22px rgba(31, 44, 57, .62);
  color: #F3EFE6;
}
.s27-vcw-crown {
  position: absolute; top: -11px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E); color: #243342;
  box-shadow: 0 4px 12px rgba(200, 169, 126, .45);
}
.s27-vcw-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.s27-vcw-name { font-size: 14.5px; font-weight: 800; letter-spacing: .01em; }
.s27-vcw-price { font-size: 12px; font-weight: 700; }
.s27-vcw-free .s27-vcw-price { color: var(--muted); }
.s27-vcw-vip .s27-vcw-price { color: #E6D2AC; }
.s27-vcw-sub { font-size: 10px; line-height: 1.5; color: var(--muted); }
.s27-vcw-vip .s27-vcw-sub { color: rgba(243, 239, 230, .66); }
.s27-vcw-row { display: flex; align-items: flex-start; gap: 6px; font-size: 10px; line-height: 1.65; }
.s27-vcw-row svg { flex: none; margin-top: 2px; width: 12px; height: 12px; color: #9A958C; }
.s27-vcw-dot {
  flex: none; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E);
  box-shadow: 0 0 0 2px rgba(200, 169, 126, .18);
}
.s27-vcw-vip .s27-vcw-row { color: #F0EBE0; }
.s27-vcw-tag {
  flex: none; font-size: 10px; font-weight: 800; letter-spacing: .02em;
  color: #243342; background: linear-gradient(135deg, #E6D2AC, #C8A97E);
  border-radius: 4px; padding: 1px 5px; margin-top: 2px;
}
.s27-vcw-text { min-width: 0; font-size: 10px; text-wrap: pretty; }
.s27-vcw-foot {
  margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 10px; line-height: 1.5; color: #9A958C;
}
.s27-vcw-cta {
  margin-top: auto; width: 100%; min-height: 42px; padding: 9px 6px;
  border: 1px solid rgba(200, 169, 126, .68); border-radius: 10px;
  background: linear-gradient(135deg, #14312A 0%, #1F4438 58%, #2A5344 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: #E8D8B4; font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1.3;
  cursor: pointer; box-shadow: 0 12px 26px -14px rgba(20, 49, 42, .85);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.s27-vcw-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.s27-vcw-cta:active { transform: translateY(0); }

/* ---------- ⑤ 高风险真人兜底弹窗 ---------- */
.s27-fb-overlay {
  position: fixed; inset: 0; z-index: 10060;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(24, 30, 36, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 1; transition: opacity .22s ease;
}
.s27-fb-overlay:not(.is-open) { opacity: 0; }
.s27-fb-card {
  width: 100%; max-width: 336px; padding: 20px 18px 14px; border-radius: 16px;
  background: linear-gradient(168deg, #FFFDF8 0%, #F6F1E7 100%);
  border: 1px solid rgba(200, 169, 126, .62);
  box-shadow: 0 34px 74px -26px rgba(24, 30, 36, .72);
  text-align: center;
  transform: translateY(12px) scale(.98); transition: transform .24s cubic-bezier(.2, .8, .3, 1);
}
.s27-fb-overlay.is-open .s27-fb-card { transform: none; }
.s27-fb-ic {
  width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(168, 50, 50, .1); color: var(--warn); border: 1px solid rgba(168, 50, 50, .28);
}
.s27-fb-title { display: block; font-size: 15px; font-weight: 900; color: #2A2320; line-height: 1.45; }
.s27-fb-body { margin: 8px 0 0; font-size: 12px; line-height: 1.72; color: #5E574F; }
.s27-fb-risk {
  margin-top: 12px; padding: 9px 12px; border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(168, 50, 50, .07); border: 1px dashed rgba(168, 50, 50, .3);
  font-size: 12px; color: #7E4038;
}
.s27-fb-risk b { font-size: 19px; font-weight: 900; color: var(--warn); font-variant-numeric: tabular-nums; }
.s27-fb-cta {
  margin-top: 14px; width: 100%; min-height: 44px; border: 1px solid rgba(200, 169, 126, .7);
  border-radius: 11px; cursor: pointer;
  background: linear-gradient(135deg, #14312A 0%, #1F4438 58%, #2A5344 100%);
  color: #E8D8B4; font-size: 14px; font-weight: 800;
  box-shadow: 0 12px 26px -14px rgba(20, 49, 42, .85);
}
.s27-fb-close {
  margin-top: 8px; width: 100%; min-height: 34px; border: 0; background: none;
  color: #9A958C; font-size: 12px; cursor: pointer;
}

/* ---------- ⑥ 首页打字机 ---------- */
.home-search-ph { flex: none; font-size: 12px; color: var(--muted-2); }
.home-search-typed {
  min-width: 0; font-size: 12px; font-weight: 700; color: var(--brand);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-search-caret {
  flex: none; width: 1.5px; height: 13px; border-radius: 1px;
  background: var(--accent); animation: s27-caret 1s steps(1, end) infinite;
}
@keyframes s27-caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (max-width: 460px) { .home-search-ph { display: none; } }

/* ---------- ⑦ 照片识别 扫描线动画（纯 CSS，零 JS） ---------- */
.upload-card:not(.filled) .upload-body { position: relative; overflow: hidden; }
.upload-card:not(.filled) .upload-body::after {
  content: ''; position: absolute; left: -15%; right: -15%; top: 0; height: 22px;
  background: linear-gradient(180deg, rgba(43, 58, 74, 0) 0%, rgba(43, 58, 74, .08) 55%, rgba(43, 58, 74, .24) 100%);
  animation: s27-scan 2.8s cubic-bezier(.45, 0, .55, 1) infinite;
  pointer-events: none;
}
@keyframes s27-scan {
  0% { transform: translateY(-24px); opacity: 0; }
  14% { opacity: 1; }
  86% { opacity: 1; }
  100% { transform: translateY(96px); opacity: 0; }
}
/* 第 56 步【三】：删除「📷 拍照自动识别（免打字）」卡片上那条无限循环的玫瑰粉扫描带。
   它是第 27 步留下的「AI 正在扫描」装饰（rgba(140,43,53,.26) = 玫瑰粉），
   静止截图里就像一条「残留的粉红色横线」，与第 55 步的降噪基调也相悖 —— 直接去掉。 */
.assist-photo { position: relative; overflow: hidden; }

/* ---------- ⑧ 折叠态首屏再压缩（容纳新增状态栏，守住 667 首屏） ---------- */
html:not(.details-open-mode) .demo-strip { margin-bottom: 8px !important; }
html:not(.details-open-mode) .result-cards.s24-result > .result-title-bar { padding-top: 6px; padding-bottom: 6px; }
html:not(.details-open-mode) .s24-shock { padding: 8px 11px; }
html:not(.details-open-mode) .s24-folds { gap: 5px; }
html:not(.details-open-mode) .s24-fold-toggle { padding: 5px 11px; }

/* ---------- ⑨ 全局降饱和收尾：把残留的刺眼高饱和块拉回莫兰迪 ---------- */
.badge-vip, .btn-vip {
  background: linear-gradient(135deg, #22303D 0%, #2B3A4A 100%);
  color: #E6D2AC; border-color: rgba(200, 169, 126, .55);
}
.btn-accent { background: var(--accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-600); }

/* 第 27 步：窄屏下把搜索框全部宽度让给打字机文案（整行可点，无需「去查询」冗余） */
@media (max-width: 640px) {
  .home-search .hs-go { display: none; }
  .home-search { gap: 8px; }
}
/* AI 通栏副标题严格单行（避免 +20% padding 后挤成三行） */
.home-ai-sub { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 第 27 步：录入页卡片头部在窄屏换行（标题不再被右侧徽章挤成两行） */
@media (max-width: 560px) {
  .wizard-card .card-hd { flex-wrap: wrap; align-items: flex-start; }
  .wizard-card .card-hd > .spacer { display: none; }
  .wizard-card .card-hd > .badge { margin-top: 6px; }
  .wizard-card .card-hd { row-gap: 0; }
}

/* 第 27 步：AI 通栏与测评 chip 在窄屏不再挤压换行 */
.home-quiz-chip-title { white-space: nowrap; }
.home-quiz-chip-sub { white-space: nowrap; }
@media (max-width: 460px) {
  .home-quiz-chip { width: 92px; padding: 9px 6px; }
  .home-quiz-chip-title { font-size: 12px; letter-spacing: -.2px; }
  .home-quiz-chip-sub { font-size: 10px; }
  .home-ai-combo .home-ai { padding-left: 12px; padding-right: 10px; }
  .home-ai-go { font-size: 10px; }
}

/* 第 27 步：权益对比表改固定列宽（功能 35% / 免费 16% / 包月 19% / 年费 30%），
   数值列不再出现「近 3 / 年」孤儿换行，也不会把功能列挤成单字竖排 */
.plan-table { table-layout: fixed; width: 100%; }
.plan-table th:nth-child(1), .plan-table td:nth-child(1) { width: 35%; }
.plan-table th:nth-child(2), .plan-table td:nth-child(2) { width: 16%; }
.plan-table th:nth-child(3), .plan-table td:nth-child(3) { width: 19%; }
.plan-table th:nth-child(4), .plan-table td:nth-child(4) { width: 30%; }
.plan-table th, .plan-table td { padding-left: 3px; padding-right: 3px; line-height: 1.45; text-wrap: pretty; }
.plan-table td.tiny { font-size: 10px; }
.plan-table thead th { white-space: normal; vertical-align: bottom; }

/* ============================================================
   第 30 步【一】：全局底层框架升级（安全区 + 珍珠白 + 微圆角 + 按压反馈）
   ============================================================ */
:root {
  --bg: #FAFAFA;                 /* 极浅珍珠白 */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* 卡片：纯白底 + 无边框 + 极淡弥散阴影（国际化克制风） */
.card {
  border: 0;
  box-shadow: var(--shadow-card);
}
/* 白卡上仍需轻描边的场景（表格头 / 分隔）保留淡线 */
.card-hd { border-bottom: 1px solid var(--line-2); }

/* 按钮统一 8–12px 微圆角 + 克制字间距（精英感） */
.btn { border-radius: 10px; letter-spacing: .02em; }
.btn-lg, .s24-goldbtn { border-radius: 12px; }
.btn-sm { border-radius: 8px; }
.s24-goldbtn, .s27-vcw-cta, .home-ai, .entry-button { letter-spacing: .02em; }

/* 按钮点击反馈：所有大按钮按压缩放到 0.96 */
.btn:active,
.btn-lg:active,
.s24-goldbtn:active,
.s27-vcw-cta:active,
.home-ai:active,
.entry-button:active,
.home-quiz-chip:active,
.s25-filter-btn:active,
.plan-card .btn:active {
  transform: scale(0.96) !important;
  transition: transform .08s ease;
}

/* 安全区：底部 Tab 栏（≤640px 规则里的 calc(6px + env(safe-area-inset-bottom))）、
   底部抽屉（.modal/.advisor-sheet/.s24-sheet-body 的 calc(... + env(...))）均已内置安全区；
   此处仅兜底声明，不覆盖既有 calc 值（避免把 6px 底距清零）。 */
.sidebar { padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
/* 主内容区统一 100px 底部安全距离（移动端已有 132px + 安全区覆盖，此处只兜底桌面端，避免覆盖媒体查询） */
@media (min-width: 641px) { .page { padding-bottom: 100px; } }

/* 首页「AI 一键体检」与热门搜索标签之间的呼吸空间（第 30 步【五】1） */
.home-ai-combo { margin-top: 24px; }

/* ============================================================
   第 30 步【四】：金融级微动效矩阵
   ============================================================ */

/* ① 数字滚动：弹簧缓动（easeOutBack）由 JS rAF 驱动，这里只做终态过渡 */
.s24-hero-score-num, .s23-sb-pct, .s27-fb-pct {
  font-variant-numeric: tabular-nums;
  transition: color .2s ease;
}

/* ② 呼吸灯：沙盘「极稳」（绿）与「高风险」（红）状态的微弱发光 */
@keyframes s30-breathe-ok {
  0%, 100% { text-shadow: 0 0 0 rgba(78, 133, 99, 0); }
  50% { text-shadow: 0 0 9px rgba(78, 133, 99, .55), 0 0 22px rgba(78, 133, 99, .22); }
}
@keyframes s30-breathe-risk {
  0%, 100% { text-shadow: 0 0 0 rgba(168, 50, 50, 0); }
  50% { text-shadow: 0 0 9px rgba(168, 50, 50, .6), 0 0 22px rgba(168, 50, 50, .28); }
}
.s23-sb-tone[data-tone="ok"], .s23-sb-pct.tone-ok { animation: s30-breathe-ok 1.9s ease-in-out infinite; }
.s23-sb-tone[data-tone="risk"], .s23-sb-pct.tone-risk { animation: s30-breathe-risk 1.5s ease-in-out infinite; }

/* ③ 照片识别 扫描线：第 56 步已删除 .assist-photo::after（玫瑰粉扫描带 + 粉色光晕） */
.upload-card:not(.filled) .upload-body::after {
  box-shadow: 0 0 12px rgba(43, 58, 74, .10);
}

/* ④ 骨架屏微光闪烁（复用 shimmer）+ 数据加载完成平滑淡入 */
@keyframes s30-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: s30-fade-up .35s ease both; }
/* 微光骨架条：页面级 Loading 占位（替代转圈） */
.s30-shimmer {
  border-radius: 8px;
  background: linear-gradient(90deg, #F0EFEC 25%, #FAF9F6 50%, #F0EFEC 75%);
  background-size: 400% 100%;
  animation: shimmer 1.3s ease infinite;
}

/* ============================================================
   第 30 步【三】：三档会员对比墙 + 场景化动态推荐
   ============================================================ */
.s30-reco {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 14px; padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(43, 58, 74, .05), rgba(200, 169, 126, .10));
  border-left: 3px solid #C8A97E;
  font-size: 12px; line-height: 1.65; color: var(--ink-2);
}
.s30-reco b { color: #8C2B35; font-weight: 800; }
.s30-reco .s30-reco-tag { color: var(--brand); font-weight: 800; }

.s30-tiers {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  align-items: stretch;
}
.s30-tier {
  position: relative; display: flex; flex-direction: column; gap: 7px;
  padding: 14px 10px 12px; border-radius: 14px;
}
.s30-tier-free {
  background: #F4F3F0;
  box-shadow: none;
}
.s30-tier-monthly {
  background: linear-gradient(165deg, #E9EDF2 0%, #DEE5EC 100%);
  border: 1px solid rgba(43, 58, 74, .14);
}
.s30-tier-vip {
  background: linear-gradient(160deg, #1F2C39 0%, #2B3A4A 58%, #354351 100%);
  border: 1px solid rgba(200, 169, 126, .55);
  box-shadow: 0 20px 44px -22px rgba(31, 44, 57, .62);
  color: #F3EFE6;
}
.s30-tier-name { font-size: 12px; font-weight: 800; line-height: 1.3; }
.s30-tier-free .s30-tier-name, .s30-tier-monthly .s30-tier-name { color: var(--ink); }
.s30-tier-price { font-size: 15px; font-weight: 900; line-height: 1.2; }
.s30-tier-price small { font-size: 10px; font-weight: 600; }
.s30-tier-free .s30-tier-price { color: var(--muted); }
.s30-tier-monthly .s30-tier-price { color: #2B3A4A; }
.s30-tier-vip .s30-tier-price { color: #E6D2AC; }
.s30-tier-sub { font-size: 10px; line-height: 1.5; color: var(--muted); }
.s30-tier-vip .s30-tier-sub { color: rgba(243, 239, 230, .62); }
.s30-tier-items { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.s30-tier-item {
  display: flex; align-items: flex-start; gap: 5px;
  font-size: 10px; line-height: 1.55; color: var(--ink-2);
}
.s30-tier-item svg { flex: none; margin-top: 1px; color: #9A958C; }
.s30-tier-vip .s30-tier-item { color: #F0EBE0; }
.s30-tier-vip .s30-tier-item svg { color: #E6D2AC; }
.s30-tier-dot {
  flex: none; width: 4px; height: 4px; margin-top: 6px; border-radius: 50%;
  background: #B9B4AA;
}
.s30-tier-vip .s30-tier-dot { background: linear-gradient(135deg, #E6D2AC, #C8A97E); }
.s30-crown {
  position: absolute; top: -11px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E); color: #243342;
  box-shadow: 0 4px 12px rgba(200, 169, 126, .45);
}
.s30-best {
  position: absolute; top: -9px; left: 10px;
  font-size: 9px; font-weight: 800; letter-spacing: .05em;
  padding: 2px 7px; border-radius: 999px;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E); color: #243342;
}
.s30-tier-cta {
  margin-top: auto; width: 100%; min-height: 38px; padding: 7px 4px;
  border: 1px solid rgba(200, 169, 126, .68); border-radius: 10px;
  background: linear-gradient(135deg, #14312A 0%, #1F4438 58%, #2A5344 100%);
  color: #E8D8B4; font-size: 10px; font-weight: 800; letter-spacing: .02em;
  cursor: pointer; box-shadow: 0 12px 26px -14px rgba(20, 49, 42, .85);
  transition: transform .16s ease, filter .16s ease;
}
.s30-tier-cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.s30-tier-cta:active { transform: scale(0.96); }
.s30-per-day {
  margin-top: 4px; font-size: 10px; color: #E6D2AC; text-align: center; letter-spacing: .02em;
}
@media (max-width: 420px) {
  .s30-tiers { gap: 8px; }
  .s30-tier { padding: 12px 8px 10px; }
  .s30-tier-name { font-size: 12px; }
  .s30-tier-item { font-size: 10px; }
}

/* ============================================================
   第 30 步【五】：细节精修
   ============================================================ */
/* 信任背书小字（预约规划师复核按钮上方） */
.s30-trust {
  display: flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--muted); line-height: 1.5;
}
.s30-trust svg { flex: none; color: #9A958C; }

/* 第 30 步【五】3：「官方文件溯源」徽章化 —— 盾形图标 + 渐变底 + 微光描边，权威感 */
.cf-badge.cf-official {
  border-radius: 6px;
  font-size: 10px; font-weight: 800; letter-spacing: .04em;
  background: linear-gradient(135deg, #1F8542 0%, #166B33 100%);
  border-color: rgba(255, 255, 255, .22);
  box-shadow: 0 2px 8px rgba(30, 122, 60, .32), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
/* 第 90 步【二】#5：官方绿章「点了亮却看不见字」的对比度修复 ——
   本条底色是**深绿渐变**（上面的 .cf-badge.cf-official），但它没声明 color；
   而更靠后的同优先级 `.cf-official`（浅底深字那条）把文字色覆盖成了 #1E7A3C，
   于是深绿字落在深绿底上 —— 浏览器计算样式实测对比度只有 **1.15**
   （WCAG AA 正文要求 4.5），官方绿章等于「亮了但读不出来」。
   #5 之前全库没有一行能真正点亮官方绿章（声称官方的都因占位死链被降级了），
   这条样式从没被点亮过，缺陷也就一直没暴露；#5 让内容核验通过的行真正点亮后，
   它第一次出现在用户眼前 —— 所以在 #5 的验收口径内一并修掉。 */
.cf-badge.cf-official { color: #FFFFFF; }
/* 图例里的小色块按原设计保持浅底深字（第 30 步前 .cf-legend .cf-official 的意图，
   之前被上面那条高优先级规则盖掉了） */
.cf-legend .cf-badge.cf-official {
  background: #EAF5EE; color: #1E7A3C; border-color: #CFE7D7;
  box-shadow: none;
}
.cf-badge.cf-official svg { width: 11px; height: 11px; flex: none; }

/* 按钮内三点脉冲（异步按钮态，替代按钮转圈） */
.s30-dots { display: inline-flex; align-items: center; gap: 3px; }
.s30-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: s30-dot 1s ease-in-out infinite; }
.s30-dots i:nth-child(2) { animation-delay: .15s; }
.s30-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes s30-dot {
  0%, 100% { opacity: .25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

/* 第 30 步【五】3：结论卡上的「官方文件溯源」—— 从虚线公章改为香槟金徽章（权威感） */
.s24-hero .s24-govseal {
  background: linear-gradient(135deg, rgba(200, 169, 126, .20) 0%, rgba(200, 169, 126, .08) 100%);
  border: 1px solid rgba(200, 169, 126, .58);
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow: 0 2px 10px rgba(200, 169, 126, .18), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.s24-hero .s24-govseal-texts b { color: #E6D2AC; letter-spacing: .03em; }
/* 第 90 步【一】1（G3）：无可打开官方原文时，溯源按钮整体降级为中性灰，不再是香槟金 */
.s24-hero .s24-govseal.is-untraced {
  background: rgba(150, 152, 156, .10);
  border: 1px solid rgba(150, 152, 156, .34);
  box-shadow: none;
}
.s24-hero .s24-govseal.is-untraced .s24-govseal-texts b { color: #B9BDC2; }
.s24-hero .s24-govseal.is-untraced .s24-seal-svg { filter: grayscale(1) opacity(.55); }
/* 第 93 步【三】：有官方链接但**未逐条核验** —— 降级成琥珀色（不是金、不是灰），
   一眼能看出「来源是官方的，但这条还没核过原文」。 */
.s24-hero .s24-govseal.is-linked {
  background: rgba(200, 138, 22, .13);
  border: 1px solid rgba(200, 138, 22, .40);
  box-shadow: none;
}
.s24-hero .s24-govseal.is-linked .s24-govseal-texts b { color: #E8BE84; }
.s24-hero .s24-govseal.is-linked .s24-seal-svg { filter: sepia(.55) saturate(.7) brightness(.92); }
.s24-hero .s24-govseal .s24-seal-svg { filter: drop-shadow(0 0 6px rgba(200, 169, 126, .45)); }

/* 三档卡底部补充说明（填满免费/包月卡留白，强化升级理由） */
.s30-tier-note {
  margin-top: auto; padding-top: 8px;
  font-size: 10px; line-height: 1.5; color: #8C8880; letter-spacing: .02em;
}

/* ============================================================
   第 31 步（精修版）：横滑根治 / Tab 像素级重构 / 字号阶梯 / 原生手感
   对齐微信 · Apple HIG 移动端规范
   ============================================================ */

/* ---------- 【一】根治横向滑动与文本溢出 ---------- */
html, body, #app {
  width: 100%; max-width: 100vw;
}
/* 注意：html/body 必须用 clip 而不是 hidden —— hidden 会让 body 变成滚动容器，
   劫持 window.scrollTo / 锚点滚动（实测导致「滚到底」类断言全部失效）。 */
html, body { overflow-x: clip; overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
#app { overflow-x: hidden; }
/* 长文本（地址 / 政策说明 / 长串英文数字）一律允许断词折行 */
p, span, div, td, th, li, a, h1, h2, h3, h4, b, strong, em, label, button {
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* 输入框防撑破（* 已含 border-box，此处显式声明兜底第三方嵌入场景） */
input, textarea { box-sizing: border-box; }

/* ---------- 【四】原生手感打磨 ---------- */
html {
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
body { overscroll-behavior-y: none; }
/* 按钮 / Tab / 卡片防长按选中（输入框、文本域不受影响） */
.btn, button, .nav-item, .sidebar, .card, .chip, .tab-bar button {
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- 【二】底部 Tab 导航精确重构（iOS 标准 56px） ---------- */
@media (max-width: 640px) {
  .sidebar {
    /* 总高度 = 基础 56px + 系统安全区，底距全部留给安全区 */
    height: calc(56px + env(safe-area-inset-bottom));
    padding: 0 4px env(safe-area-inset-bottom);
    align-items: flex-start;          /* 顶部对齐，内容不被拉伸 */
    background: #ffffff;
    border-top: 0.5px solid #E5E5E5;  /* 极细边框替代厚重阴影 */
    box-shadow: none;
    gap: 0;
  }
  .sidebar .nav-item {
    height: 56px; min-height: 56px;
    flex-direction: column; justify-content: flex-start; align-items: center;
    gap: 2px;                          /* 图标与文字间距 2px */
    padding: 6px 4px 0;                /* 图标顶部间距 6px */
    border-radius: 0;
  }
  /* 图标固定 24×24（JS 内联 17px 属性由 CSS 覆盖） */
  .sidebar .nav-item svg { width: 24px; height: 24px; flex: none; }
  /* 文字强制 10px，行高 1.2 */
  .sidebar .nav-item span.label {
    font-size: 10px; line-height: 1.2; font-weight: 500;
    letter-spacing: 0; text-align: center;
  }
  /* 未选中 #999，选中主题色；选中态去掉底色块，仅留顶部小圆点 */
  .sidebar .nav-item:not(.active) { color: #999999; }
  .sidebar .nav-item:not(.active) svg { opacity: 1; color: #999999; }
  .sidebar .nav-item.active { background: transparent; }
  .sidebar .nav-item.active span.label { color: var(--brand); font-weight: 700; }
  .sidebar .nav-item.active::after { top: 2px; }

  /* 【二】3 页面内容防遮挡：主容器底部预留 80px + 安全区 */
  .page { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* 录入页吸底操作条抬到新底栏之上（56 + 安全区 + 12 呼吸），
     操作条页面额外补 76px 内容余量，最后一行绝不被压 */
  .wizard-foot, .compare-bar { bottom: calc(68px + env(safe-area-inset-bottom)); }
  .page:has(.wizard-foot), .page:has(.compare-bar) {
    padding-bottom: calc(156px + env(safe-area-inset-bottom));
  }
}

/* ================================================================
   第 32 步【一】：底栏「双重保险 + 强制抬高」（暴力兼容法）
   ----------------------------------------------------------------
   某些安卓 WebView / 内嵌浏览器 env(safe-area-inset-bottom) 失效为 0，
   仅靠 env 会让 Tab 图标文字压到系统按键上。
   策略：固定 +20px 额外高度 + 10px 底部内边距 —— 即使 env 全失效，
   图标文字仍与系统按键保持明显物理间距（对齐 QQ 音乐等原生 App）。
   ================================================================ */
@media (max-width: 640px) {
  .sidebar {
    box-sizing: border-box;
    /* 总高度 = 基础 56px + 强制 20px 保险 + 系统安全区（带 0px 兜底） */
    height: calc(56px + 20px + env(safe-area-inset-bottom, 0px));
    padding: 8px 4px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 0.5px solid #EAEAEA;
  }
  /* 图标文字内容仍按 56px 内容高排布，顶部对齐不被拉伸 */
  .sidebar .nav-item { height: 56px; min-height: 56px; padding: 6px 4px 0; }

  /* 页面主容器底距同步抬到 90px + 安全区：最后一行滚出来必在导航栏上方 */
  .page { padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }

  /* 吸底操作条抬到新底栏之上（76 + 12 呼吸），含吸底条页面补足余量 */
  .wizard-foot, .compare-bar { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .page:has(.wizard-foot), .page:has(.compare-bar) {
    padding-bottom: calc(176px + env(safe-area-inset-bottom, 0px));
  }
}

/* ================================================================
   第 32 步【三】：会员权益对比墙（强制等宽 + 极高转化）
   ================================================================ */
.s32-compare {
  display: flex; gap: 12px; align-items: stretch;
  width: 100%;
}
.s32-compare .s32-col {
  flex: 1;                       /* 强制等宽，绝不允许左列被挤压 */
  width: calc(50% - 6px); min-width: 0;
  border-radius: 12px; padding: 12px 10px;
  box-sizing: border-box; overflow-wrap: break-word;
}
.s32-col-free {
  background: #F2F2F0;          /* 浅灰：普通查询用户 */
}
.s32-col-vip {
  background: linear-gradient(160deg, #FBF3DF 0%, #F4E3BC 100%); /* 香槟金高亮 */
  border: 1px solid #E3C87E;
  box-shadow: 0 4px 18px rgba(196, 154, 62, 0.16);
}
.s32-col-head {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 12px; font-weight: 600; margin-bottom: 8px;
}
.s32-col-free .s32-col-head { color: #8A8A84; }
.s32-col-vip .s32-col-head { color: #8A6418; }
.s32-col-vip .s32-col-head svg { color: #C49A3E; }
.s32-rows { display: flex; flex-direction: column; gap: 6px; }
.s32-item { font-size: 12px; line-height: 1.45; }
.s32-item b { font-weight: 600; }
.s32-col-free .s32-item { color: #8A8A84; }
.s32-col-vip .s32-item { color: #4A3A14; font-weight: 500; }
.s32-item .s32-mark { margin-right: 2px; }
/* 第 57 步【四】：会员半屏 VIP 首行「包含免费版所有基础权益」 */
.s32-item-include {
  display: flex; align-items: flex-start; gap: 4px;
  font-weight: 600;
}
.s32-item-include svg { flex: none; margin-top: 2px; color: #C49A3E; }

/* 逼单红字（12px，触目惊心） */
.s32-urgent {
  font-size: 12px; font-weight: 600; color: #D5382E;
  text-align: center; margin: 10px 0 8px; line-height: 1.5;
}
/* 冲动决策 CTA */
.s32-cta {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(135deg, #C49A3E, #A87B25);
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 12px 10px; border: 0; cursor: pointer;
  letter-spacing: .02em;
}
.s32-cta:active { transform: scale(0.96); }

/* 会员对比弹窗（全局 MembershipPaywallModal） */
.s32-modal-card {
  width: min(420px, calc(100vw - 40px));
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  border-radius: 16px;
}
.s32-modal-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 650; padding: 14px 16px 8px;
}
.s32-modal-close {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  color: #999; font-size: 18px; line-height: 1; padding: 4px;
}
.s32-modal-body { padding: 4px 14px 16px; }
.s32-modal-sub {
  font-size: 12px; color: #8C8880; text-align: center; margin: 0 0 10px;
}

/* 第 32 步【二】：预算锁定行整行可点（点击弹起全局会员权益对比弹窗） */
.locked-row-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 6px 8px;
  background: none; border: 0; cursor: pointer;
  box-sizing: border-box; text-align: left;
}
.locked-row-btn .locked-bar { flex: 1 1 auto; }
.locked-row-btn .locked-hint { flex: 0 0 auto; }
.locked-row-btn:active { transform: scale(0.99); }

/* 第 32 步【三】：内嵌对比墙（benefit-compare 容器内）适配新等宽双列结构 */
.benefit-compare .s32-compare { padding: 12px 12px 0; }
.benefit-compare .s32-cta {
  align-self: stretch; min-width: 0;
  margin: 12px; width: calc(100% - 24px);
}
.benefit-compare .s32-urgent { margin: 10px 14px 0; }

/* 第 32 步：学校页预算结果表在窄屏保持可读 —— 容器内横向滚动，列不被挤成竖排单字 */
[data-testid="budget-results"] {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
[data-testid="budget-results"] table.admin-table { min-width: 660px; }

/* ================================================================
   第 33 步【一】：底栏 JS 动态 safe-bottom + 物理占位（绝杀所有机型）
   ----------------------------------------------------------------
   不再死磕 env()：启动时 JS 实测系统安全区高度写入 --safe-bottom
   （env 失效时 20px 兜底），底栏与页面占位全部走该变量。
   ================================================================ */
:root { --safe-bottom: 20px; } /* JS 启动即覆写为实测值 */
.bottom-tab-spacer { display: none; } /* 桌面端不占位（默认值须在媒体查询之前） */

@media (max-width: 640px) {
  .bottom-tab, .sidebar.bottom-tab {
    box-sizing: border-box;
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    z-index: 9999;
    height: calc(56px + var(--safe-bottom, 20px));
    padding: 8px 4px var(--safe-bottom, 20px);
    background: #ffffff;
    border-top: 0.5px solid #EEEEEE;
    box-shadow: none;
    align-items: flex-start;
  }
  .bottom-tab .nav-item, .sidebar.bottom-tab .nav-item {
    height: 56px; min-height: 56px; padding: 6px 4px 0;
  }
  /* 物理占位：每个页面最底部的空白 div，双重兜底防遮挡 */
  .bottom-tab-spacer {
    display: block;
    height: calc(70px + var(--safe-bottom, 20px));
  }
  /* 吸底操作条抬到底栏之上（56 + 安全区 + 12 呼吸） */
  .wizard-foot, .compare-bar { bottom: calc(68px + var(--safe-bottom, 20px)); }
}

/* ================================================================
   第 33 步【二】：金融级房价趋势图配套样式
   ================================================================ */
.chart-bench-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #8C8880; margin-top: 6px; flex-wrap: wrap;
}
.chart-bench-note .bench-dash {
  display: inline-block; width: 22px; height: 0;
  border-top: 2px dashed #9AA0A6; flex: none;
}

/* ================================================================
   第 33 步【三】：反通用 AI 壁垒（VIP 独家权益墙）+ 转化话术
   ================================================================ */
.s33-headline {
  font-size: 16px; font-weight: 900; color: #141414;
  line-height: 1.6; letter-spacing: .01em;
  margin: 0 0 10px;
}
.s33-headline .s33-headline-hl { color: #B0483F; }
.s33-vip-list { display: flex; flex-direction: column; gap: 10px; }
.s33-vip-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 12px; text-align: left;
  background: #FBF8F1; border: 1px solid #E9DDC2; border-radius: 12px;
  cursor: pointer; box-sizing: border-box;
}
.s33-vip-item:active { transform: scale(0.99); }
.s33-vip-item > svg { flex: none; color: #A87B25; }
.s33-vip-body { flex: 1; min-width: 0; }
.s33-vip-title {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 15px; font-weight: 700; color: #3A3122;
}
.s33-vip-tag {
  font-size: 10px; font-weight: 600; color: #A87B25;
  background: #F4E3BC; border-radius: 4px; padding: 1px 6px;
}
.s33-vip-desc { font-size: 12px; color: #8C8880; line-height: 1.5; margin-top: 4px; }
.s33-vip-cta { font-size: 12px; font-weight: 600; color: #A87B25; margin-top: 6px; }
.s33-vip-lock { flex: none; color: #C49A3E; }

/* ================================================================
   第 33 步【五】：对比墙 grid 强制等宽 + 新文案排版
   ================================================================ */
.s32-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
.s32-compare .s32-col {
  width: auto; min-width: 0;
  border-radius: 12px; padding: 12px 10px;
  box-sizing: border-box; overflow-wrap: break-word;
}
.s32-urgent { font-size: 11px; }
.s33-history-card { border-left: 3px solid var(--brand); }
.s33-history-item { display: flex; gap: 8px; font-size: 13px; line-height: 1.6; }
.s33-history-year { flex: none; font-weight: 700; color: var(--brand); min-width: 44px; }

/* ================================================================
   第 33 步【四】3：推演数据视觉降噪 —— 黄标签 → 极淡灰色小字
   ================================================================ */
.cf-badge.cf-derived,
.cf-badge.cf-unverified,
.cf-derived,
.cf-unverified {
  background: transparent;
  color: #9A9A96;
  border: 0;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: .01em;
  padding: 0 2px;
}
.cf-legend .cf-derived, .cf-legend .cf-unverified { color: #9A9A96; }

/* ================================================================
   第 34 步【一】：底栏安全距精调（对齐 QQ 音乐/微信「黄金位置」）
   ----------------------------------------------------------------
   废除第 33 步过大留白：底栏 56px→50px，页底 90→65px，占位 70→65px。
   底栏图标+文字刚好悬浮在系统按键上方一点点，不重叠也不悬空。
   ================================================================ */
@media (max-width: 640px) {
  .bottom-tab, .sidebar.bottom-tab {
    height: calc(50px + var(--safe-bottom, 20px));
    padding: 6px 4px var(--safe-bottom, 20px);
  }
  .bottom-tab .nav-item, .sidebar.bottom-tab .nav-item {
    height: 50px; min-height: 50px; padding: 4px 4px 0;
  }
  .bottom-tab-spacer { height: calc(65px + var(--safe-bottom, 20px)); }
  .page { padding-bottom: calc(65px + var(--safe-bottom, 20px)); }
  .wizard-foot, .compare-bar { bottom: calc(62px + var(--safe-bottom, 20px)); }
}

/* ================================================================
   第 34 步【二】【三】【四】：三档会员阶梯重构
   ----------------------------------------------------------------
   ① 移动端三张卡 85vw 横向滑动（Scroll Snap），绝不一屏挤三张；
   ② 配色「贫富差距」：免费 #F5F5F5 + #888 / VIP 白底 + 金边 + 深字；
   ③ 价格锚点 .s30-anchor 红金高亮。
   ================================================================ */
.s30-tier { padding: 16px; }
.s30-tier-free {
  background: #F5F5F5;
  color: #888888;
}
.s30-tier-free .s30-tier-name,
.s30-tier-free .s30-tier-price { color: #888888; }
.s30-tier-free .s30-tier-item { color: #888888; }
.s30-tier-free .s30-tier-note { font-size: 10px; color: #9A9A9A; }
/* VIP：白底 + 金色边框 + 深色文字（废除深色渐变底，视觉「贫富差距」更强） */
.s30-tier-vip {
  background: #FFFFFF;
  border: 1.5px solid #C8A97E;
  box-shadow: 0 16px 36px -18px rgba(200, 169, 126, .55);
  color: #2B2B2B;
}
.s30-tier-vip .s30-tier-name { color: #2B2B2B; }
.s30-tier-vip .s30-tier-price { color: #B08D57; }
.s30-tier-vip .s30-tier-sub { color: #8C8880; }
.s30-tier-vip .s30-tier-item { color: #2B2B2B; }
.s30-tier-vip .s30-tier-item svg { color: #C8A97E; }
.s30-tier-vip .s30-tier-dot { background: linear-gradient(135deg, #E6D2AC, #C8A97E); }
.s30-tier-tagline {
  display: inline-block; align-self: flex-start;
  padding: 1px 8px; border-radius: 999px;
  background: rgba(43, 58, 74, .10); color: #2B3A4A !important;
  font-size: 10px; font-weight: 800;
}
/* 价格锚点：红金小字，制造「直降 269」冲击 */
.s30-anchor {
  margin-top: 2px; padding: 6px 8px; border-radius: 8px;
  background: rgba(213, 56, 46, .07);
  font-size: 10px; line-height: 1.55; font-weight: 700; color: #B03028;
}
.s30-tier-vip .s30-per-day { color: #B08D57; }
/* 移动端：85vw 横滑 Scroll Snap（桌面端保持三列网格） */
@media (max-width: 640px) {
  .s30-tiers {
    display: flex; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 4px 14px;
  }
  .s30-tier {
    flex: 0 0 85vw; max-width: 85vw;
    scroll-snap-align: center;
  }
  .s30-tier-item { font-size: 12px; }
  .s30-tier-name { font-size: 14px; }
  .s30-tier-price { font-size: 18px; }
  .s30-tier-sub, .s30-tier-note { font-size: 11px; }
  .s30-anchor { font-size: 11px; }
}

/* 第 34 步【三】1：双列对比改 CSS Grid 强制等宽 + 统一 16px 内边距 */
.s32-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.s32-compare .s32-col { width: auto; flex: none; padding: 16px; }

/* 第 34 步：吸底条页面底距随底栏精调同步收缩（82 底距 + 内容余量） */
@media (max-width: 640px) {
  .page:has(.wizard-foot), .page:has(.compare-bar) {
    padding-bottom: calc(170px + var(--safe-bottom, 20px));
  }
}

/* ================================================================
   第 38 步【一】1：全局两列对比强制等宽（Grid minmax 物理防挤压）
   ----------------------------------------------------------------
   任何 .grid-2 / .s32-compare / 双列对比容器：左右绝对等宽，
   内容溢出隐藏，绝不因长文案导致一宽一窄。
   ================================================================ */
.grid-2,
.s32-compare,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.grid-2 > *,
.s32-compare > *,
.compare-grid > * {
  min-width: 0;
  overflow-wrap: break-word;
}
.s32-compare .s32-col { width: auto; flex: none; min-width: 0; }
/* 窄屏：仅「对比类」容器强制双列等宽（表单类 .grid-2 保持历史单列行为） */
@media (max-width: 640px) {
  .s32-compare, .compare-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* 第 38 步【一】2：搜索骨架屏文案（微光动画块 + AI 穿透文案） */
.skel-scan-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #8C8880; line-height: 1.5;
  padding: 2px 2px 0;
}
.skel-scan-note::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #C8A97E; flex: none;
  animation: skelScanPulse 1.1s ease-in-out infinite;
}
@keyframes skelScanPulse {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
/* 搜索框麦克风按钮 */
.mini-search-mic {
  flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: transparent;
  color: #9A968F; cursor: pointer;
}
.mini-search-mic:active { background: rgba(43, 58, 74, .08); }
.mini-search-mic.listening { color: #D5382E; animation: skelScanPulse 1s infinite; }
/* 联想「锁定」标 */
.mini-lock-tag {
  display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 4px;
  background: rgba(200, 169, 126, .16); color: #B08D57;
  font-size: 9px; font-weight: 700; vertical-align: 1px;
}

/* 第 38 步【二】3：核武拦截弹窗警示行 */
.s38-lock-line {
  margin: 0 0 8px; padding: 8px 10px; border-radius: 10px;
  background: rgba(213, 56, 46, .08); border: 1px solid rgba(213, 56, 46, .28);
  color: #C02B21; font-size: 12.5px; font-weight: 800; line-height: 1.5;
}

/* ================================================================
   第 38 步【三】：20 大核武功能矩阵（图标网格，移动端 4 列）
   ================================================================ */
.arsenal-matrix { border: 1px solid rgba(200, 169, 126, .35); }
.arsenal-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.arsenal-item {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 10px 4px 8px; border-radius: 12px;
  border: 1px solid #ECE9E3; background: #FBFAF8; cursor: pointer;
  text-align: center; transition: transform .12s ease, box-shadow .12s ease;
  min-width: 0;
}
.arsenal-item:active { transform: scale(.96); }
.arsenal-item:hover { box-shadow: 0 6px 16px -10px rgba(43, 58, 74, .35); }
.arsenal-ic { font-size: 20px; line-height: 1.2; }
.arsenal-nm {
  font-size: 10.5px; font-weight: 700; color: #2B2B2B; line-height: 1.3;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.arsenal-hook {
  font-size: 9px; color: #9A968F; line-height: 1.3;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.arsenal-lock {
  position: absolute; top: 4px; right: 4px; color: #C8A97E; opacity: .9;
}
@media (max-width: 640px) {
  .arsenal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .arsenal-item { padding: 8px 2px 6px; }
  .arsenal-ic { font-size: 18px; }
  .arsenal-nm { font-size: 9.5px; }
  .arsenal-hook { display: none; }
}

/* ================================================================
   第 38 步【四】：师资与班风 / 家长真实风评 双 Tab
   ================================================================ */
.rep-tabs {
  display: flex; gap: 8px; margin-bottom: 12px;
  border-bottom: 1px solid #EDEAE4; padding-bottom: 8px;
}
.rep-tabbtn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 9px 0; border: 1px solid #E4E0D8; border-radius: 10px;
  background: #FBFAF8; font-size: 13px; font-weight: 600; color: #57534A;
  cursor: pointer;
}
.rep-tabbtn.on {
  background: #2B3A4A; border-color: #2B3A4A; color: #fff;
}
.rep-tab-lock { color: #C8A97E; display: inline-flex; }
.rep-tabbtn.on .rep-tab-lock { color: #E6D2AC; }

/* Tab1 师资卡 */
.teacher-card {
  position: relative; display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border: 1px solid #ECE9E3; border-radius: 12px;
  background: #fff; margin-bottom: 8px;
}
.teacher-card.locked { background: #FBFAF8; }
.teacher-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E);
  color: #fff; font-weight: 800; font-size: 16px;
}
.teacher-avatar.blur { filter: blur(1.5px) grayscale(.4); opacity: .75; }
.teacher-name { font-size: 13.5px; font-weight: 700; color: #2B2B2B; }
.teacher-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.teacher-honor {
  font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: rgba(200, 169, 126, .16); color: #8A6D3B; font-weight: 700;
}
.teacher-style {
  font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: rgba(43, 58, 74, .07); color: #2B3A4A;
}
.rep-blur-text { filter: blur(2.5px); user-select: none; }
.rep-lock-badge {
  position: absolute; top: 8px; right: 10px; color: #C8A97E; display: inline-flex;
}

/* Tab2 风评 */
.rep-compliance {
  margin: 0 0 10px; padding: 8px 10px; border-radius: 8px;
  background: rgba(43, 58, 74, .05); border: 1px dashed #C9C4BA;
  font-size: 10.5px; color: #6B675F; line-height: 1.6;
}
.rep-tagbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.rep-tagbtn {
  padding: 4px 10px; border-radius: 999px; border: 1px solid #E0DCD4;
  background: #fff; font-size: 11px; color: #57534A; cursor: pointer;
}
.rep-tagbtn.on { background: #2B3A4A; border-color: #2B3A4A; color: #fff; }
.rep-item {
  position: relative; padding: 10px 12px; border: 1px solid #ECE9E3;
  border-radius: 12px; background: #fff; margin-bottom: 8px;
}
.rep-item.rep-locked { background: #F7F5F2; }
.rep-item-head { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rep-stars { color: #D8D4CC; font-size: 12px; letter-spacing: 1px; }
.rep-stars .on { color: #E0A93E; }
.rep-tag {
  font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: rgba(200, 169, 126, .14); color: #8A6D3B;
}
.rep-mine {
  font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: rgba(43, 58, 74, .08); color: #2B3A4A;
}
.rep-text { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: #3A3833; }
.rep-locked .rep-text { filter: blur(3px); user-select: none; }
.rep-unlock-all {
  width: 100%; margin-top: 4px; padding: 11px; border-radius: 12px;
  border: 1px solid rgba(200, 169, 126, .5); background: rgba(200, 169, 126, .10);
  color: #8A6D3B; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.rep-fab {
  /* 第 49 步【三】：原来是 sticky 悬浮按钮，会压在新加的匿名打分卡上（星级被挡住，读起来很乱）。
     改为静态右对齐，落在评价列表下方 —— 既不遮挡内容，也更像「看完再评价」的国际范收口。 */
  position: static;
  margin: 14px 0 0 auto; display: flex; align-items: center;
  padding: 10px 16px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E); color: #fff;
  font-size: 13px; font-weight: 800; cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(200, 169, 126, .7);
}
.rep-form-stars { display: flex; gap: 4px; }
.rep-form-stars button {
  border: 0; background: transparent; font-size: 24px; color: #D8D4CC;
  cursor: pointer; padding: 0 2px; line-height: 1;
}
.rep-form-stars button.on { color: #E0A93E; }

/* ================================================================
   第 39 步【一】：学校详情页信息流重排
   ================================================================ */
/* 第 40 步【二】1：红色悬浮标签已废除（遮挡内容），改为 s40-rep-entry 通栏按钮 */

/* 对口小区前 5 预览 + 平铺展开按钮 */
.s39-top5-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 2px; border-top: 1px solid #F1EEE8;
}
.s39-top5-row:first-child { border-top: 0; }
.s39-top5-row .scl-name-btn { font-size: 14px; font-weight: 700; }
.s39-top5-meta { font-size: 10px; color: #8C8880; text-align: right; flex: none; }
.s39-expand-btn {
  width: 100%; margin-top: 8px; padding: 11px; border-radius: 12px;
  border: 1px dashed #C9C4BA; background: #FBFAF8;
  color: #2B3A4A; font-size: 12px; font-weight: 700; cursor: pointer;
}
.s39-expand-btn:active { background: #F1EEE8; }

/* ================================================================
   第 39 步【二】：家长风评「大厂级」卡片流
   ================================================================ */
/* 雷达图中心综合评级 */
.rep-radar-wrap { position: relative; }
.rep-radar-rating {
  position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%);
  display: flex; align-items: baseline; gap: 2px;
  pointer-events: none;
}
.rep-radar-rating b { font-size: 24px; font-weight: 900; color: #8A6D3B; }
.rep-radar-rating .rep-rating-star { font-size: 14px; color: #E0A93E; }
.rep-radar-rating em {
  font-style: normal; font-size: 10px; font-weight: 800; color: #B08D57;
  margin-left: 4px; padding: 1px 6px; border-radius: 999px;
  background: rgba(200, 169, 126, .16);
}

/* 胶囊标签云（Pill Tag） */
.rep-pill-cloud {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px;
}
.rep-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid #E4DCCB;
  background: #FDFBF6; font-size: 12px; font-weight: 600; color: #6B5F43;
  cursor: pointer;
}
.rep-pill em { font-style: normal; font-size: 10px; color: #B08D57; }
.rep-pill.on { background: #2B3A4A; border-color: #2B3A4A; color: #fff; }
.rep-pill.on em { color: #E6D2AC; }

/* 小红书式评价卡 */
.rep-feed-card { padding: 12px 14px; }
.rep-feed-card .rep-item-head { gap: 10px; }
.rep-avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #D9D2C4, #B8AE9C);
  color: #fff; font-size: 13px; font-weight: 800;
}
.rep-item-idbox { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rep-item-idbox b { font-size: 12px; color: #2B2B2B; }
.rep-item-time { font-size: 10px; color: #A8A49B; }
.rep-item-score { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
/* 毛玻璃锁定卡：悬浮解锁条 */
.rep-feed-card.rep-locked { overflow: hidden; }
.rep-veil {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px; font-size: 12px; font-weight: 800; color: #8A6D3B;
  background: linear-gradient(180deg, rgba(247,245,242,.2), rgba(247,245,242,.96) 45%);
}
.rep-veil svg { color: #C8A97E; }

/* ================================================================
   第 39 步【四】3：升级 VIP 底部抽屉（非生硬居中弹窗）
   ================================================================ */
.s39-paywall-sheet-mask {
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(20, 20, 20, 0); transition: background .22s ease;
}
.s39-paywall-sheet-mask.is-open { background: rgba(20, 20, 20, .45); }
.s39-paywall-sheet {
  width: 100%; max-width: 480px; max-height: 86vh; overflow: auto;
  border-radius: 18px 18px 0 0; margin: 0;
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .3, 1);
  padding-bottom: calc(14px + var(--safe-bottom, 20px));
}
.s39-paywall-sheet-mask.is-open .s39-paywall-sheet { transform: translateY(0); }
.s39-sheet-grip {
  width: 36px; height: 4px; border-radius: 2px; background: #DDD8CE;
  margin: 4px auto 10px;
}

/* ================================================================
   第 39 步【三】1：结果页融入组件
   ================================================================ */
/* 统筹雷区雷达 */
.s39-risk-radar { border: 1px solid rgba(213, 56, 46, .22); }
/* 落户年限倒计时条 */
.s39-hukou-bar {
  display: flex; align-items: center; gap: 8px;
  margin: 10px 0 0; padding: 10px 12px; border-radius: 12px;
  background: rgba(176, 125, 43, .08); border: 1px solid rgba(176, 125, 43, .3);
  font-size: 12px; font-weight: 700; color: #8A6D3B; line-height: 1.5;
}
/* 沙盘旁多孩同校切换钮 */
.s39-sibling-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px; border: 1px solid #D8CFBE;
  background: #FDFBF6; font-size: 12px; font-weight: 700; color: #6B5F43;
  cursor: pointer;
}
.s39-sibling-toggle:active { transform: scale(.97); }
/* 报告底部固定悬浮双按钮 */
.s39-report-fabs {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(76px + var(--safe-bottom, 20px));
  display: flex; gap: 10px; z-index: 900;
  width: min(92vw, 430px);
  pointer-events: none;
}
.s39-fab {
  pointer-events: auto; flex: 1; padding: 12px 8px; border: 0; border-radius: 999px;
  font-size: 12px; font-weight: 800; cursor: pointer; letter-spacing: .01em;
  box-shadow: 0 12px 26px -10px rgba(43, 58, 74, .45);
}
.s39-fab:active { transform: scale(.97); }
.s39-fab-gold { background: linear-gradient(135deg, #E6D2AC, #C8A97E); color: #fff; }
.s39-fab-dark { background: #2B3A4A; color: #F2E9D8; }

/* ================================================================
   第 39 步【三】2：小区页融入组件
   ================================================================ */
/* 学位占用核验红字行 */
.s39-degree-line {
  display: flex; width: 100%; padding: 10px 12px; margin: 0 0 10px;
  border: 1px solid rgba(213, 56, 46, .35); border-radius: 12px;
  background: rgba(213, 56, 46, .06); color: #C02B21;
  font-size: 12px; font-weight: 800; line-height: 1.5; cursor: pointer;
  text-align: left; box-sizing: border-box;
}
.s39-degree-line:active { background: rgba(213, 56, 46, .12); }
/* 溢价水分 + 抗跌指数 */
.s39-foam-card { border: 1px solid rgba(200, 169, 126, .35); }
.s39-foam-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-top: 1px solid #F1EEE8; font-size: 12px;
}
.s39-foam-row:first-of-type { border-top: 0; }
.s39-foam-label { color: #57534A; }
.s39-foam-val { font-size: 12px; color: #2B2B2B; text-align: right; }
.s39-anti-ok { color: #2E7D5B; }
.s39-anti-warn { color: #B07D2B; }
.s39-anti-risk { color: #C02B21; }

/* ================================================================
   第 39 步【三】3：我的页学区资产工具箱（九宫格）
   ================================================================ */
.s39-toolbox-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.s39-tool-cell {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 14px 4px 10px; border-radius: 14px;
  border: 1px solid #ECE9E3; background: #FBFAF8; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease; min-width: 0;
}
.s39-tool-cell:active { transform: scale(.96); }
.s39-tool-cell:hover { box-shadow: 0 8px 18px -10px rgba(43, 58, 74, .3); }
.s39-tool-ic { font-size: 22px; line-height: 1.2; }
.s39-tool-nm { font-size: 12px; font-weight: 700; color: #2B2B2B; }

/* 工具全屏模态：骨架屏与结果 */
.s39-tool-body { padding: 8px 2px; }
.s39-tool-skel { display: flex; flex-direction: column; gap: 12px; padding: 10px 2px; }
.s39-tool-result-hd {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}

/* ================================================================
   第 40 步【一】：会员对比绝对等宽锁定（死命令：左右绝不许挤压）
   第 48 步【三】2 升级：改用 grid repeat(2, minmax(0,1fr)) 死命令语法，
   等宽语义不变，左右列宽由 Grid 轨道物理保证
   ================================================================ */
.s32-compare {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100%;
  gap: 12px;
}
.s32-compare > .s32-col {
  width: auto !important;
  flex: none !important;
  min-width: 0;
  box-sizing: border-box;
  word-break: break-all;
  overflow-wrap: break-word;
}
.s32-compare .s32-col * {
  word-break: break-all;
  overflow-wrap: break-word;
}

/* ================================================================
   第 40 步【二】：学校页师资入口（优雅通栏按钮，替代红色悬浮标签）
   ================================================================ */
.s40-rep-entry {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; margin-top: 10px; padding: 10px 12px;
  border: 1px solid #E4D5B8; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #FBF6EA, #F2E7CE);
  color: #8A6D3B; font-size: 12px; font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 6px 16px -10px rgba(176, 141, 87, .5);
  box-sizing: border-box;
}
.s40-rep-entry:active { transform: scale(.985); }

/* ================================================================
   第 40 步【三】3：风评缺省态——整面毛玻璃墙（评价文字全遮）
   ================================================================ */
.rep-list-wrap { position: relative; }
.rep-glasswall {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; border: 0; border-radius: 14px; cursor: pointer;
  background: rgba(247, 245, 242, .52);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  color: #8A6D3B; padding: 16px;
}
.rep-glasswall svg { color: #C8A97E; }
.rep-glasswall b { font-size: 14px; font-weight: 900; color: #6B5F43; }
.rep-glasswall span {
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E);
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(200, 169, 126, .7);
}

/* ================================================================
   第 40 步【三】2：房价图下方「学位占用核验」高亮诱饵模块
   ================================================================ */
.s40-degree-bait {
  display: flex; align-items: center; gap: 10px;
  width: 100%; margin: 0 0 10px; padding: 14px;
  border: 1px solid rgba(213, 56, 46, .4); border-radius: 14px;
  background: linear-gradient(135deg, #FDF1EF, #FBE7E4);
  cursor: pointer; text-align: left; box-sizing: border-box;
  box-shadow: 0 10px 22px -12px rgba(213, 56, 46, .45);
}
.s40-degree-bait:active { transform: scale(.985); }
.s40-degree-bait-ic { font-size: 24px; line-height: 1; flex: none; }
.s40-degree-bait-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.s40-degree-bait-main b { font-size: 14px; font-weight: 900; color: #C02B21; }
.s40-degree-bait-main span { font-size: 12px; color: #8A4440; }
.s40-degree-bait-go {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #D5382E, #B03028);
  padding: 7px 12px; border-radius: 999px;
}

/* ================================================================
   第 40 步【三】2：统筹雷达旁「精确风险百分比」马赛克锁
   ================================================================ */
.s40-risk-lock {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin-top: 8px; padding: 10px 12px; border-radius: 12px;
  background: rgba(43, 58, 74, .05); border: 1px dashed #C9C4BA;
  font-size: 12px; font-weight: 700; color: #2B3A4A; line-height: 1.5;
}
.s40-risk-lock svg { color: #B08D57; flex: none; }
.s40-risk-lock b { font-size: 14px; }
.s40-risk-unlock {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  font-size: 12px; font-weight: 800; color: #B08D57; text-decoration: underline;
  padding: 2px 0;
}

/* ================================================================
   第 40 步【四】1：小区页「高阶情报」横向滑动卡组
   ================================================================ */
.s40-intel { overflow: hidden; }
.s40-intel-rail {
  display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding-bottom: 6px; scrollbar-width: none;
}
.s40-intel-rail::-webkit-scrollbar { display: none; }
.s40-intel-card {
  position: relative; flex: 0 0 64%; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px 14px 12px; border-radius: 14px; cursor: pointer;
  border: 1px solid #E7DFC9; text-align: left;
  background: linear-gradient(150deg, #FDFBF4, #F6EFDD);
  box-shadow: 0 10px 20px -14px rgba(43, 58, 74, .4);
}
.s40-intel-card:active { transform: scale(.97); }
.s40-intel-ic { font-size: 22px; line-height: 1.1; }
.s40-intel-card b { font-size: 14px; font-weight: 900; color: #2B2B2B; }
.s40-intel-hook { font-size: 12px; color: #8C8880; }
.s40-intel-lock {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 800; color: #8A6D3B;
  background: rgba(200, 169, 126, .18); border-radius: 999px; padding: 2px 8px;
}

/* 沙盘下方两个高阶推演按钮 */
.s40-sandbox-tools { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

/* ================================================================
   第 43 步【一】1：键盘弹起时隐藏底部 Tab（根治遮挡）
   第 44 步【一】：JS 强制挂 body.hide-tab，display:none 从布局里彻底移除底栏，
                 键盘顶起页面时没有任何 fixed 元素可被推上来遮挡输入框。
   第 49 步【一】：整块收进 640px 媒体查询 —— .sidebar 与 .bottom-tab 是同一个元素，
                 规则不包媒体查询时，桌面端聚焦任意输入框都会把左侧导航整体隐藏
                 （实测 sidebar display:none、宽度 0）。
   ================================================================ */
@media (max-width: 640px) {
  body.hide-tab .bottom-tab,
  body.hide-tab .sidebar.bottom-tab,
  body.hide-tab .bottom-tab-spacer,
  body.hide-tab .s39-report-fabs,
  body.hide-tab .s44-hide-on-kb,
  body.kb-open .bottom-tab,
  body.kb-open .sidebar.bottom-tab,
  body.kb-open .bottom-tab-spacer,
  body.kb-open .s39-report-fabs {
    display: none !important;
  }
}

/* ================================================================
   第 43 步【二】1：出生日期快捷大按钮（大圆角）
   ================================================================ */
.s43-age-btn {
  flex: 1 1 30%; min-width: 100px; min-height: 46px;
  padding: 12px 8px !important; border-radius: 14px !important;
  font-size: 14px !important; font-weight: 800;
  border: 1px solid #D8CFBE !important; background: #FDFBF6 !important;
  color: #2B3A4A !important; text-align: center;
}
.s43-age-btn:active { transform: scale(.97); }

/* ================================================================
   第 43 步【四】：统筹风险结论卡（先给后要）
   ================================================================ */
.s43-risk-verdict {
  padding: 12px 14px; border-radius: 14px;
}
.s43-rv-card-ok { background: rgba(46, 125, 91, .07); border: 1px solid rgba(46, 125, 91, .35); }
.s43-rv-card-warn { background: rgba(176, 125, 43, .07); border: 1px solid rgba(176, 125, 43, .35); }
.s43-rv-card-risk { background: rgba(213, 56, 46, .07); border: 1px solid rgba(213, 56, 46, .4); }
.s43-rv-top { display: flex; align-items: center; gap: 8px; }
.s43-rv-pct { font-size: 26px; font-weight: 900; line-height: 1.1; }
.s43-rv-card-ok .s43-rv-pct { color: #2E7D5B; }
.s43-rv-card-warn .s43-rv-pct { color: #B07D2B; }
.s43-rv-card-risk .s43-rv-pct { color: #C02B21; }
.s43-rv-headline { margin-top: 6px; font-size: 14px; font-weight: 800; line-height: 1.6; }
.s43-rv-ok .s43-rv-headline, .s43-rv-headline.s43-rv-ok { color: #2E7D5B; }
.s43-rv-headline.s43-rv-warn { color: #8A6D3B; }
.s43-rv-headline.s43-rv-risk { color: #C02B21; }
.s43-rv-factors-wrap { position: relative; margin-top: 8px; }
.s43-rv-factors { display: flex; flex-direction: column; gap: 6px; }
.s43-rv-blur { filter: blur(5px); pointer-events: none; user-select: none; }
.s43-rv-factor {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.7);
}
.s43-rv-delta { flex: none; font-size: 14px; font-weight: 900; min-width: 46px; }
.s43-rv-delta.up { color: #C02B21; }
.s43-rv-delta.down { color: #2E7D5B; }
.s43-rv-factor-body b { font-size: 12px; }
.s43-rv-unlock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E); color: #fff;
  font-size: 12px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 10px 22px -10px rgba(200, 169, 126, .8);
}

/* ================================================================
   第 43 步【四】4：沙盘高风险原因模糊锁
   ================================================================ */
.s43-sb-blur { filter: blur(4px); pointer-events: none; user-select: none; }
.s43-sandbox-risk-lock {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 6px;
  border: 1px dashed #C9C4BA; border-radius: 999px; padding: 6px 12px;
  background: #FDFBF6; color: #8A6D3B; font-size: 12px; font-weight: 800; cursor: pointer;
}

/* ================================================================
   第 43 步【一】3：AI 顾问对话 + 快捷提问
   ================================================================ */
.s43-ai-quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.s43-ai-quick-btn {
  flex: 1 1 30%; min-width: 108px; padding: 9px 8px; border-radius: 999px;
  border: 1px solid #D8CFBE; background: #FDFBF6; cursor: pointer;
  font-size: 12px; font-weight: 700; color: #2B3A4A;
}
.s43-ai-quick-btn:active { transform: scale(.97); }
.ai-chat { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.ai-msg {
  max-width: 88%; padding: 10px 12px; border-radius: 14px;
  font-size: 14px; line-height: 1.65;
}
.ai-msg-user {
  align-self: flex-end; background: #2B3A4A; color: #F2E9D8;
  border-bottom-right-radius: 4px;
}
.ai-msg-bot {
  align-self: flex-start; display: flex; gap: 6px;
  background: #F7F5F2; border: 1px solid #ECE9E3; color: #2B2B2B;
  border-bottom-left-radius: 4px;
}
.ai-msg-bot svg { flex: none; margin-top: 3px; color: #B08D57; }

/* ================================================================
   第 43 步【一】2：日期选择抽屉
   ================================================================ */
.s43-date-cols { display: flex; gap: 10px; }
.s43-date-col { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.s43-date-sel { font-size: 14px; padding: 10px; }
.s43-date-actions { display: flex; gap: 10px; margin-top: 14px; }
.s43-date-actions .btn { flex: 1; padding: 12px; font-size: 14px; font-weight: 800; }

/* ================================================================
   第 44 步【二】：AI 顾问 —— 全屏聊天布局（ChatGPT / 微信同款）
   结构：head（固定） / stream（唯一滚动区） / composer（固定底部）
   规则：页面本身不滚动；对话流中间不放任何广告、分割线、免责声明。
   ================================================================ */
.s44-ai {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface, #fff);
  box-shadow: var(--shadow-card);
}

.s44-ai-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface, #fff);
  flex: 0 0 auto;
}
.s44-ai-avatar {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #344E6C, #5C7FA3);
}
.s44-ai-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s44-ai-title b { font-size: 16px; font-weight: 800; color: var(--ink); }
.s44-ai-status { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--muted); }
.s44-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2E7D5B;
  box-shadow: 0 0 0 2px rgba(46,125,91,.16);
  animation: s44-breath 2.2s ease-in-out infinite;
}
@keyframes s44-breath { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.s44-ai-newchat {
  border: 1px solid var(--line-2);
  background: var(--surface-2, #F5F3EF);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.s44-ai-stream {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 20px;
  background: linear-gradient(180deg, #FBFAF8 0%, #FFFFFF 60%);
}

/* 空态引导 */
.s44-ai-hero {
  margin: auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px;
}
.s44-ai-hero-ic {
  width: 54px; height: 54px; border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #344E6C, #6E8FB0);
  box-shadow: 0 8px 22px rgba(52,78,108,.22);
}
.s44-ai-hero b { font-size: 16px; font-weight: 800; color: var(--ink); }
.s44-ai-hero p { font-size: 12px; line-height: 1.75; color: var(--muted); margin: 0; max-width: 300px; }
.s44-ai-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }

/* 消息气泡 */
.s44-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.s44-msg-user { justify-content: flex-end; }
.s44-msg-user .s44-bubble {
  background: linear-gradient(135deg, #344E6C, #46668C);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  font-size: 14px;
  line-height: 1.65;
  padding: 10px 13px;
  max-width: 82%;
  word-break: break-word;
  box-shadow: 0 4px 14px rgba(52,78,108,.18);
}
.s44-msg-bot { align-items: flex-start; }
.s44-bot-avatar {
  width: 26px; height: 26px; flex: 0 0 26px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: #344E6C;
  background: #EAF0F7;
}
.s44-msg-bot .s44-bubble {
  background: var(--surface-2, #F5F3EF);
  color: var(--ink);
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  line-height: 1.78;
  padding: 11px 14px;
  max-width: 84%;
  word-break: break-word;
}
.s44-bot-text { white-space: pre-wrap; }

/* 思考中动画 */
.s44-bubble-think { display: inline-flex; align-items: center; gap: 8px; }
.s44-typing { display: inline-flex; gap: 4px; }
.s44-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #9AA7B6;
  animation: s44-bounce 1.1s ease-in-out infinite;
}
.s44-typing i:nth-child(2) { animation-delay: .16s; }
.s44-typing i:nth-child(3) { animation-delay: .32s; }
@keyframes s44-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.s44-think-txt { font-style: normal; font-size: 12px; color: var(--muted); }

/* 气泡内跳转按钮 */
.s44-jump { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.s44-jump-btn {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  border: 1px solid rgba(52,78,108,.22);
  background: #fff;
  color: #344E6C;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.s44-jump-btn:active { transform: scale(.97); }

/* 解析条件条 + 推荐卡（对话内容的一部分，视觉并入气泡流） */
.s44-intent { margin: 0; flex-wrap: wrap; }
.s44-ai-result { display: flex; flex-direction: column; gap: 10px; }
.s44-ai-card { margin: 0; border: 1px solid var(--line-2); box-shadow: none; }

/* 底部固定输入区 */
.s44-ai-composer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line-2);
  background: #fff;
  padding: 8px 12px calc(8px + var(--safe-bottom, 20px) * 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s44-ai-quick {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.s44-ai-quick::-webkit-scrollbar { display: none; }
.s44-ai-quick .s43-ai-quick-btn { flex: 0 0 auto; }

.s44-ai-bar { display: flex; align-items: flex-end; gap: 8px; }
.s44-ai-input {
  flex: 1 1 auto;
  min-height: 42px;
  max-height: 96px;
  resize: none;
  border: 1px solid var(--line-2);
  background: var(--surface-2, #F5F3EF);
  border-radius: 14px;
  padding: 11px 13px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  font-family: inherit;
  outline: none;
}
.s44-ai-input:focus { border-color: rgba(52,78,108,.4); background: #fff; }
.s44-ai-send {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #344E6C, #4F7299);
  cursor: pointer;
}
.s44-ai-send:disabled { opacity: .55; }
.s44-ai-send.is-busy { animation: s44-breath 1s ease-in-out infinite; }

.s44-ai-upsell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: #8A6D3B;
  background: #FDF8EC;
  border: 1px solid #F0E3C4;
  border-radius: 10px;
  padding: 7px 10px;
}
.s44-ai-upsell-txt { flex: 1 1 auto; }
.s44-ai-upsell-btn {
  flex: 0 0 auto;
  border: 0; background: transparent;
  color: #A8842F;
  font-size: 12px; font-weight: 800;
  cursor: pointer;
}
.s44-ai-disc { font-size: 10px; line-height: 1.6; color: var(--muted-2, #A9A49B); margin: 0; }

/* 移动端：AI 页接管全屏，隐藏冗余顶栏与流程条 */
@media (max-width: 900px) {
  .s44-ai-mode .topbar,
  .s44-ai-mode .flow-slot { display: none !important; }
  .s44-ai-mode .main { padding: 0 !important; }
  .s44-ai { border-radius: 0; box-shadow: none; }
  .s44-ai-head { padding: 10px 14px; }
}

/* AI 全屏模式：接管整个视口（隐藏全局顶栏 / 底栏 / 口径提示条 / 底栏占位），
   页面本身不滚动，只有对话流滚动 —— 与微信聊天完全一致的物理结构 */
.s44-ai-mode .bottom-tab,
.s44-ai-mode .sidebar.bottom-tab,
.s44-ai-mode .bottom-tab-spacer,
.s44-ai-mode .demo-strip,
.s44-ai-mode .status-slot { display: none !important; }
.s44-ai-mode .page,
.s44-ai-mode #page-slot { padding: 0 !important; margin: 0 !important; }

.s44-ai-back {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center;
  border: 0; background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 10px;
}
.s44-ai-back:active { background: var(--surface-2, #F5F3EF); }

/* ================================================================
   第 44 步【三】：防统筹表单 —— 单页极简（4 项必填，10 秒填完）
   ================================================================ */
.s44-age-row { display: flex; gap: 8px; margin-bottom: 10px; }
.s44-age-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  flex: 1 1 0; min-width: 0;
}
.s44-age-btn b { font-size: 16px; font-weight: 800; line-height: 1.2; }
.s44-age-btn span { font-size: 10px; font-weight: 700; color: #7A7267; }

.s44-date-row { display: flex; gap: 8px; align-items: center; }
.s44-date-row .input { flex: 1 1 auto; min-width: 0; }
.s44-birth-ro {
  background: #F7F5F0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.s44-date-btn { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.s44-field-hint { font-size: 10px; font-weight: 600; color: var(--muted-2, #A9A49B); margin-left: 6px; }

/* 底部主按钮：生成报告 */
.wizard-foot .s44-generate-btn {
  flex: 1 1 auto;
  min-height: 50px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .02em;
  border-radius: 14px;
}
/* 第 45 步【三】3：三项必填（出生日期/地址/户口一致）填齐 → 按钮立即亮起 */
.wizard-foot .s44-generate-btn.s44-ready {
  box-shadow: 0 6px 20px -6px rgba(52, 78, 108, .55), 0 0 0 3px rgba(52, 78, 108, .12);
  animation: s44ReadyPulse 2.2s ease-in-out infinite;
}
@keyframes s44ReadyPulse {
  0%, 100% { box-shadow: 0 6px 20px -6px rgba(52, 78, 108, .55), 0 0 0 3px rgba(52, 78, 108, .12); }
  50% { box-shadow: 0 6px 24px -4px rgba(52, 78, 108, .7), 0 0 0 6px rgba(52, 78, 108, .07); }
}

/* 单页模式：三张卡片视觉合并成一屏连续表单 */
.wizard-card + .wizard-card { margin-top: 4px; }

/* 第 44 步【三】：单页极简表单的紧凑排版 */
.s44-card-hd { padding-top: 12px !important; padding-bottom: 10px !important; }
.s44-card-hd .wst-main { font-size: 16px; }
.s44-card-hd .wst-sub { font-size: 12px; margin-top: 2px; }
.s44-role-row { flex-wrap: nowrap; }
.s44-role-row .chip { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; padding-left: 4px; padding-right: 4px; }
.wizard-stepbar { margin: 2px 0 0; }
.wizard-stepbar .wizard-dot { width: 22px; height: 22px; font-size: 10px; }
.wizard-stepbar .wizard-line.done { background: var(--brand); }

/* 移动端：生成报告固定在底栏之上，填完任何时刻都能点 */
@media (max-width: 900px) {
  .wizard-foot {
    position: fixed;
    left: 0; right: 0;
    bottom: calc(64px + var(--safe-bottom, 20px));
    z-index: 40;
    margin: 0;
    padding: 10px 14px;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-2);
    border-radius: 0;
  }
  /* 第 49 步【一】：底栏隐藏后，吸底操作条一起落到真底部，不再悬在原高度 */
  body.hide-tab .wizard-foot,
  body.hide-tab .compare-bar,
  body.kb-open .wizard-foot,
  body.kb-open .compare-bar { bottom: 0; }
  .page-body:has(.wizard-foot) { padding-bottom: 96px; }
}

/* 单页模式不再有「步骤跳转」，进度圆点仅保留 DOM 兼容，视觉隐藏以把 4 项核心挤进首屏 */
.wizard-stepbar { display: none !important; }

/* 第 44 步：录入页压缩首屏非必要信息，让「4 项核心」尽量一屏可见 */
.page-body:has(.wizard-foot) .page-head-desc { display: none; }
.page-body:has(.wizard-foot) .page-head { margin-bottom: 4px; }
.page-body:has(.wizard-foot) .page-head-title { font-size: 18px; }
.page-body:has(.wizard-foot) .demo-strip {
  font-size: 10px; line-height: 1.45; padding: 5px 10px; gap: 4px; margin-bottom: 8px;
}
.page-body:has(.wizard-foot) > .row { margin-top: 0; }

/* 第 44 步：录入页首屏去掉冗余页头与口径提示条（页面底部仍有全局免责声明），
   把空间让给「4 项必填」，尽量一屏可见 */
.page-body:has(.wizard-foot) .page-head { display: none; }
.s44-entry-hide-demo .demo-strip { display: none; }
/* 录入页隐藏口径提示条（免责声明仍在页面底部） */
#page-slot:has([data-testid="entry-page"]) .demo-strip { display: none; }

/* 第 44 步：进一步压缩出生日期块，让「户口是否一致」也挤进首屏 */
.page-body:has(.wizard-foot) .s44-age-btn { min-height: 42px; padding: 7px 6px !important; }
.page-body:has(.wizard-foot) .s44-date-row .input { min-height: 40px; padding-top: 8px; padding-bottom: 8px; }
.page-body:has(.wizard-foot) .s44-birth-field { gap: 4px; }
.page-body:has(.wizard-foot) [data-testid="enroll-confirm"] { margin-top: 2px !important; font-size: 10px; }
.page-body:has(.wizard-foot) .wizard-fields > .field { margin-bottom: 6px; }
/* 第 67 步：三步对话式卡片没有卡头，标题直接由 .s67-q 承担；
   旧的 [data-testid="wizard-step-1"] 规则随卡片重构一并移除。 */
.page-body:has(.wizard-foot) .s67-card-1 { padding-top: 14px !important; }
.page-body:has(.wizard-foot) .s44-age-row { margin-bottom: 6px; }
.page-body:has(.wizard-foot) .s44-date-row .input { min-height: 36px; }
@media (max-width: 900px) {
  /* bottom 保持 62+20=82px，与全站吸底条口径一致（第 32 步 A6 断言） */
  .wizard-foot { bottom: calc(62px + var(--safe-bottom, 20px)); padding: 8px 14px; }
  .wizard-foot .s44-generate-btn { min-height: 46px; }
}

/* ================================================================
   第 44 步【四】：结果页首屏「先给后要」
   ================================================================ */
.s44-verdict-first {
  border: 1px solid rgba(52,78,108,.14);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF8 100%);
}
.s44-vf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.s44-vf-head b { font-size: 14px; font-weight: 800; color: var(--ink); }
.s44-vf-badge {
  flex: 0 0 auto;
  font-size: 10px; font-weight: 800;
  color: #2E7D5B;
  background: rgba(46,125,91,.1);
  border: 1px solid rgba(46,125,91,.28);
  border-radius: 999px;
  padding: 3px 8px;
}
.s44-vf-schools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }
.s44-vf-k { font-size: 10px; font-weight: 800; color: var(--muted-2, #A9A49B); letter-spacing: .04em; }
.s44-vf-school {
  font-size: 12px; font-weight: 800; color: #344E6C;
  background: #EFF4FA; border-radius: 8px; padding: 5px 9px;
}

/* 底部柔和引导卡（用户读完结论后才出现） */
.s44-soft-upsell {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FDF8EC 0%, #FBF3E2 100%);
  border: 1px solid #EFE0BE;
}
.s44-su-ic {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #8A6D3B;
  background: #F6E9CB;
}
.s44-su-body { flex: 1 1 200px; min-width: 0; }
.s44-su-body b { font-size: 14px; font-weight: 800; color: #5A4620; }
.s44-su-body p { font-size: 12px; line-height: 1.7; color: #8A6D3B; margin: 4px 0 0; }
.s44-su-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.s44-su-tags span {
  font-size: 10px; font-weight: 700; color: #8A6D3B;
  background: rgba(255,255,255,.7); border: 1px solid #EFE0BE;
  border-radius: 999px; padding: 3px 8px;
}
.s44-su-btn {
  flex: 0 0 auto; align-self: center;
  border: 0; border-radius: 10px;
  background: #8A6D3B; color: #fff;
  font-size: 12px; font-weight: 800;
  padding: 9px 12px; cursor: pointer;
}
.s44-su-btn:active { transform: scale(.97); }

/* ================================================================
   第 44 步【五】：20 大功能场景化（文字链 / 微标签，不做图标矩阵）
   ================================================================ */
/* 房价图下方「资产测算」一行 */
.s44-asset-line {
  display: flex; align-items: center; gap: 6px;
  width: 100%; text-align: left;
  margin: 0 0 8px;
  padding: 9px 12px;
  border: 1px dashed #E2D6BE;
  border-radius: 10px;
  background: #FDFBF5;
  color: #6B5A38;
  font-size: 12px; line-height: 1.6;
  cursor: pointer;
}
.s44-asset-line b { color: #8A6D3B; font-weight: 800; }
.s44-al-ic { flex: 0 0 auto; }

/* 对口学校卡片旁的「班主任风评」小标签 */
.s44-rep-row { margin-top: 8px; }
.s44-rep-tag {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid rgba(52,78,108,.18);
  background: #F7FAFE;
  color: #344E6C;
  font-size: 12px; font-weight: 700;
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
}
.s44-rep-tag:active { transform: scale(.97); }

/* 沙盘滑块下方一排文字链 */
.s44-sandbox-links {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 10px 0 2px;
  padding: 8px 2px 0;
  border-top: 1px dashed var(--line-2);
}
.s44-sl-link {
  border: 0; background: transparent;
  color: #344E6C;
  font-size: 12px; font-weight: 700;
  padding: 4px 2px;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(52,78,108,.28);
  text-underline-offset: 3px;
}
.s44-sl-sep { color: var(--line); font-size: 10px; }

/* ================================================================
   第 44 步【五】4：废除「我的」页九宫格 → 文字链列表（结构保留，仅换皮）
   ================================================================ */
.s39-toolbox-grid { display: flex !important; flex-direction: column; gap: 0 !important; }
.s39-toolbox .s39-tool-cell {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 0;
  padding: 11px 2px;
  background: transparent !important;
  border: 0;
  border-bottom: 1px dashed var(--line-2);
  border-radius: 0;
  text-align: left;
}
.s39-toolbox .s39-tool-cell:last-child { border-bottom: 0; }
.s39-toolbox .s39-tool-ic { display: none !important; }
.s39-toolbox .s39-tool-nm { font-size: 14px; font-weight: 700; color: var(--ink); }
.s39-toolbox .s39-tool-cell::after { content: '›'; margin-left: auto; color: var(--muted-2, #A9A49B); font-size: 16px; }
.s39-toolbox .arsenal-lock { margin-left: 4px; }

/* ================================================================
   第 46 步【一】：键盘顽疾 · 绝对布局法（外层 flex 锁定 + 底栏去 fixed）
   ----------------------------------------------------------------
   1. #app 100dvh flex column overflow hidden：App 外壳锁死，不随键盘跳动；
   2. .page 是唯一滚动区（flex:1 + overflow-y:auto + touch 惯性）；
   3. .bottom-tab 改为 flex 子项（position:static + flex-shrink:0），
      物理上不再是 fixed，键盘永远"顶"不到它——iOS 下它停在键盘背后；
   4. 键盘弹起时 JS 直接挂 .hidden（display:none，零动画零上浮）。
   ================================================================ */
@media (max-width: 640px) {
  html, body { height: 100%; }
  body { overflow: hidden; overscroll-behavior: none; }
  #app {
    height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; overflow: hidden;
  }
  .shell {
    display: flex; flex-direction: column;
    flex: 1 1 auto; min-height: 0; height: 100%; overflow: hidden;
  }
  .shell > .main { order: 1; flex: 1 1 auto; min-height: 0; overflow: hidden; padding-bottom: 0; }
  .shell > .main > .page#page-slot {
    flex: 1 1 auto; min-height: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-bottom: 24px;
  }
  .shell > .main > .page#page-slot:has(.wizard-foot),
  .shell > .main > .page#page-slot:has(.compare-bar) {
    padding-bottom: calc(150px + var(--safe-bottom, 20px));
  }
  .shell > .sidebar.bottom-tab {
    order: 2; flex-shrink: 0; position: static;
    left: auto; right: auto; bottom: auto; top: auto;
    width: 100%; z-index: 30;
  }
  .bottom-tab-spacer { display: none !important; }
}
/* 键盘弹起：底栏直接消失（display:none，无任何上浮动画）
   第 49 步【一】：同样收进 640px 媒体查询，桌面端左侧导航不受影响 */
@media (max-width: 640px) {
  .bottom-tab.hidden, .sidebar.bottom-tab.hidden { display: none !important; }
}

/* ================================================================
   第 46 步【二】：会员权益卡国际范重构
   ----------------------------------------------------------------
   ① 主次分明：VIP 香槟金大卡独占一行（order:-1 全宽），
      免费/包月收为两张白底灰字极简小卡；
   ② 文字渐隐锁（Gradient Fade + 🔒）替代大面积磨砂；
   ③ 升级 CTA 改暗夜蓝深质感 + 香槟金字。
   ================================================================ */
.s30-tiers {
  display: flex; flex-wrap: wrap; gap: 12px;
  overflow: visible; scroll-snap-type: none; padding: 4px 0;
}
.s30-tier { border-radius: 14px; scroll-snap-align: none; }
.s30-tier-vip {
  order: -1; flex: 1 1 100%; max-width: 100%;
  background: #FBF8F1;              /* 极浅香槟金 */
  border: 1px solid #E3D2A8;        /* 细金线 */
  box-shadow: 0 14px 34px -20px rgba(176, 141, 87, .45);
}
.s30-tier-free, .s30-tier-monthly {
  flex: 1 1 calc(50% - 6px); max-width: calc(50% - 6px);
  background: #FFFFFF; border: 1px solid #ECEAE4; box-shadow: none;
  color: #8A8A84;
}
.s30-tier-free .s30-tier-name, .s30-tier-monthly .s30-tier-name,
.s30-tier-free .s30-tier-price, .s30-tier-monthly .s30-tier-price { color: #57534A; }
.s30-tier-free .s30-tier-item, .s30-tier-monthly .s30-tier-item { color: #8A8A84; }
@media (max-width: 340px) {
  .s30-tier-free, .s30-tier-monthly { flex: 1 1 100%; max-width: 100%; }
}
/* 文字渐隐锁：文字下半部分渐渐变淡消失 + 小锁图标（禁大面积磨砂） */
.s46-fade-lock { position: relative; margin-top: 8px; }
.s46-fade-lock .s46-fade-body {
  -webkit-mask-image: linear-gradient(180deg, #000 26%, rgba(0,0,0,.32) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 26%, rgba(0,0,0,.32) 62%, transparent 100%);
  user-select: none; pointer-events: none;
}
.s46-lock-chip {
  position: absolute; right: 4px; top: 2px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: #A87B25;
  background: #FBF8F1; border: 1px solid #EBDDBD; border-radius: 999px;
  padding: 2px 8px; pointer-events: none;
}
/* 暗夜蓝深质感 CTA（两处升级按钮统一） */
.s30-tier-cta, .s32-cta {
  background: linear-gradient(135deg, #1B2A4A 0%, #0E1626 100%);
  color: #E8D8B4; border: 1px solid #2C3D5F;
  box-shadow: 0 10px 24px -12px rgba(14, 22, 38, .55);
}
.s30-tier-cta:active, .s32-cta:active { transform: scale(.98); }
/* 免费版痛点行 */
.s46-pain { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #8A8A84; line-height: 1.5; }

/* ================================================================
   第 46 步【三】：家长风评 UGC —— 认证标识 / 图文卡片 / 楼中楼 / 渐隐锁
   ================================================================ */
/* 「2023级 2班（已认证）」高亮信任标 */
.rep-verified {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: #1F7A4D;
  background: #EDF7F1; border: 1px solid #CBE7D6; border-radius: 999px;
  padding: 1px 7px; margin-left: 6px; white-space: nowrap;
}
.rep-verified::before { content: '✓'; font-weight: 900; }
/* 高频标签云：🔥 热帖感 */
.rep-pill.hot { border-color: #F3D9A4; background: #FDF6E7; color: #8A6418; font-weight: 600; }
/* 图文并茂：配图占位（作业本 / 班级活动） */
.rep-imgs { display: flex; gap: 8px; margin-top: 8px; }
.rep-img-ph {
  flex: 0 0 92px; height: 68px; border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 10px; color: #7A7468; letter-spacing: .02em;
  background: linear-gradient(150deg, #F2EEE6 0%, #E7E0D2 100%);
  border: 1px solid #E3DCCC;
}
.rep-img-ph:nth-child(2n) { background: linear-gradient(150deg, #EEF1F4 0%, #DFE5EC 100%); border-color: #D8DFE8; }
.rep-img-ph .rep-img-ic { font-size: 20px; }
/* 楼中楼回复 */
.rep-replies {
  margin-top: 8px; padding: 8px 10px;
  background: #F7F6F3; border-radius: 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.rep-reply { font-size: 12px; line-height: 1.55; color: #57534A; }
.rep-reply b { color: #8A6418; font-weight: 600; margin-right: 4px; }
/* 第 3 条起：文字渐隐遮罩（非磨砂），点击弹升级抽屉 */
.rep-locked .rep-fade-body {
  -webkit-mask-image: linear-gradient(180deg, #000 22%, rgba(0,0,0,.3) 58%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 22%, rgba(0,0,0,.3) 58%, transparent 96%);
  user-select: none;
}
.rep-locked .rep-lock-row {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin-top: -6px; font-size: 11px; color: #A87B25; font-weight: 600;
}
/* 底部解锁条（承接历史 rep-glasswall 校验口径，视觉改为克制金线卡） */
.rep-glasswall {
  position: static; transform: none; width: 100%; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px; cursor: pointer;
  background: #FBF8F1; border: 1px solid #E9DDC2; color: #8A6418;
  font-size: 12px; backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: none; text-align: center;
}
.rep-glasswall b { color: #6E5410; }
.rep-glasswall span { font-weight: 700; color: #A87B25; }
/* 发布表单：标签选择 chips */
.rep-form-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rep-form-tags .rep-pill.on { background: #2B3A4A; color: #F4E3BC; border-color: #2B3A4A; }

/* ================================================================
   第 48 步【一】：键盘死命令 —— 视口基线缩水 → body.keyboard-open
   强制隐藏底栏（与 focus 路径双保险，底栏瞬间消失）
   第 49 步【一】：收进 640px 媒体查询，桌面端左侧导航不受影响
   ================================================================ */
@media (max-width: 640px) {
  body.keyboard-open .bottom-tab,
  body.keyboard-open .sidebar.bottom-tab { display: none !important; }
  body.keyboard-open .bottom-tab-spacer { display: none !important; }
}

/* ================================================================
   第 48 步【三】：会员对比卡绝对等宽 Grid（死命令：
   grid-template-columns: repeat(2, minmax(0, 1fr))），
   VIP 香槟金 #FBF8F1 + 极细金线
   ================================================================ */
.s32-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.s32-compare .s32-col { flex: none; width: auto; min-width: 0; }
.s32-col-vip {
  background: #FBF8F1;           /* 极浅香槟金 */
  border: 1px solid #E3D2A8;     /* 极细金线 */
  box-shadow: 0 14px 34px -20px rgba(176, 141, 87, .45);
}

/* ================================================================
   第 48 步【四】：UGC 发帖冲动 —— 渐变发帖横幅 + 点赞
   ================================================================ */
/* 柔和渐变发帖横幅（列表顶部，替代生硬按钮） */
.rep-post-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px; margin: 0 0 10px;
  background: linear-gradient(135deg, #FFF6E8 0%, #FDEEE7 55%, #FDF1EE 100%);
  border: 1px solid #F3DFC9;
}
.rep-post-banner .rep-post-copy { flex: 1 1 auto; min-width: 0; }
.rep-post-banner .rep-post-title {
  font-size: 13px; font-weight: 700; color: #7A4A12; line-height: 1.5;
}
.rep-post-banner .rep-post-gift {
  font-size: 11px; font-weight: 600; color: #A85F1A; margin-top: 3px;
}
.rep-post-banner .rep-post-btn {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #E8A33D 0%, #D98A2B 100%);
  color: #FFFDF8; border: none; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  padding: 8px 14px; box-shadow: 0 6px 16px -8px rgba(217, 138, 61, .7);
}
.rep-post-banner .rep-post-btn:active { transform: scale(.96); }
/* 点赞 */
.rep-like-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: 1px solid #ECEAE4; border-radius: 999px;
  font-size: 11.5px; color: #8A8A84; padding: 3px 10px; margin-top: 8px;
  cursor: pointer;
}
.rep-like-btn.liked { color: #C2512F; border-color: #F2C9BB; background: #FDF3EF; font-weight: 700; }
/* 发帖表单：配图占位选择 */
.rep-form-imgs { display: flex; gap: 8px; }
.rep-form-img-opt {
  flex: 1; padding: 8px 4px; border-radius: 10px; cursor: pointer;
  border: 1px dashed #DDD5C4; background: #FBFAF7;
  font-size: 11px; color: #8A8A84; text-align: center;
}
.rep-form-img-opt.on { border-style: solid; border-color: #C49A3E; background: #FBF8F1; color: #6E5410; font-weight: 700; }

/* ================================================================
   第 48 步【二】：表单动态快捷按钮 —— 9月边界微调
   ================================================================ */
.s48-sep-adjust {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 8px 10px;
  background: #FBF8F1; border: 1px solid #EBDDBD; border-radius: 10px;
}
.s48-sep-adjust .s48-sep-label { font-size: 11px; color: #8A6418; font-weight: 600; flex: 0 0 auto; }
.s48-sep-adjust .chip { font-size: 12px; padding: 5px 12px; }
.s44-age-row { flex-wrap: wrap; }

/* 第 48 步【五】4：AI 答复末尾功能文字链 */
.s48-ai-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; }

/* ================================================================
   第 49 步【三】：会员墙国际范重构（比例 / 色彩 / 字号 / 图标 / 表格）
   ---------------------------------------------------------------
   ① 比例：桌面端三卡绝对等宽（repeat(3, minmax(0,1fr))）且等高；
      移动端横向 scroll-snap 轨道（等宽同高），不再让 VIP 独占一整行 ——
      VIP 的层级只靠香槟金底色 + 细金线 + 投影表达。
   ② 色彩：彻底去掉「中式电商逼单腔」——红字价格锚点 / 深红推荐语 / 红字 CTA
      全部换成香槟金 + 中性灰；CTA 保留深夜蓝。
   ③ 字号：权益行 10–12px → 13px，行高 1.6+，减少中文挤在一起的密度。
   ④ 图标：emoji（❌ ✅ 🔒）换成项目已有的线性 icon（check / lock / crown）。
   ⑤ 表格：移动端首列吸附（sticky），四列可横向滚动。
   ================================================================ */

/* ---------- ① 比例：桌面端绝对等宽等高 ---------- */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.plan-card { gap: 8px; }
.plan-card .plan-card-price-num { font-size: 28px; letter-spacing: -.01em; }

.s30-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
/* 取消第 46 步的「VIP 独占一整行 / 免费包月各半宽」：三档一视同仁 */
.s30-tier,
.s30-tier-free,
.s30-tier-monthly,
.s30-tier-vip {
  flex: none; width: auto; max-width: none;
}
/* 第 49 步【三】：桌面端按递进阶梯从左到右排列 —— 免费 ⊂ 包月 ⊂ 年度。
   「包含包月版全部能力」这类文案必须能指回它左边的上一档，否则读起来断裂。
   VIP 的层级只由香槟金底色 + 细金线 + 投影表达，不再靠占位/抢跑。 */
.s30-tier-vip { order: 0; }
.s30-tier-items { flex: 1 1 auto; }

/* ---------- ③ 字号：拉开密度 ---------- */
.s30-tier-item { font-size: 13px; line-height: 1.65; }
.s30-tier-sub { font-size: 11px; line-height: 1.6; }
.s30-tier-note { font-size: 11px; line-height: 1.6; }
.plan-perks { font-size: 13px; line-height: 1.75; margin-top: 8px; padding-left: 0; list-style: none; }
.plan-perks li {
  position: relative; padding-left: 16px; margin-bottom: 2px;
  list-style: none;
}
.plan-perks li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 4px; height: 4px; border-radius: 50%;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E);
}
.plan-table td.tiny { font-size: 12px; }
.plan-table th, .plan-table td { line-height: 1.6; padding-top: 6px; padding-bottom: 6px; }

/* ---------- ② 色彩：逼单红 → 香槟金 / 中性灰 ---------- */
.s30-anchor {
  background: rgba(200, 169, 126, .12);
  color: #8A6418; font-weight: 600; font-size: 11px;
}
/* 定价卡 CTA：去掉勃艮第逼单红 —— 推荐档（年度）用深夜蓝实心，
   其余两档用中性描边。层级靠「实心 vs 描边」表达，而不是靠刺眼的红色。 */
.plan-card .btn-accent {
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
}
.plan-card .btn-accent:hover { background: var(--surface-2); color: var(--ink); }
.s30-reco b { color: #8A6418; }
.s32-urgent {
  color: #8C8880; font-weight: 500; font-size: 12px;
}
.s33-headline {
  font-size: 15px; font-weight: 700; color: #1F2937;
  line-height: 1.75; letter-spacing: 0;
}
.s32-col-free .s32-item { color: #6B675F; }
.s32-col-head { font-weight: 700; letter-spacing: 0; }
.s46-lock-chip { color: #A87B25; }

/* ---------- ⑤ 表格：移动端首列吸附 ---------- */
@media (max-width: 640px) {
  .plan-table th:first-child,
  .plan-table td:first-child {
    position: sticky; left: 0; z-index: 1;
    background: #FFFFFF; box-shadow: 1px 0 0 #ECEAE4;
  }
  .plan-table th:nth-child(1), .plan-table td:nth-child(1) { width: 34%; }
  .plan-table th:nth-child(2), .plan-table td:nth-child(2) { width: 17%; }
  .plan-table th:nth-child(3), .plan-table td:nth-child(3) { width: 21%; }
  .plan-table th:nth-child(4), .plan-table td:nth-child(4) { width: 28%; }
}

/* ---------- ① 比例：移动端横向 scroll-snap 轨道（等宽同高） ---------- */
@media (max-width: 640px) {
  .plan-cards,
  .s30-tiers {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 10px;
    align-items: stretch;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin: 0 -12px;
    padding: 6px 12px 10px;
  }
  .plan-card,
  .s30-tier { scroll-snap-align: start; }
  .plan-card,
  .s30-tier { min-width: 0; }
  /* 移动端横滑轨道以「推荐档」开场（国际范惯例：窄屏先给最值得买的那个），
     桌面端仍按免费 → 包月 → 年度 的递进阶梯排列。 */
  .s30-tier-vip { order: -1; }
}

/* ================================================================
   第 49 步【二】：匿名打分卡（五维星级 + 强制合规声明）
   ================================================================ */
.rep-score { margin: 4px 0 12px; }
.rep-score-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
}
.rep-score-head b { font-size: 13px; font-weight: 800; color: #2B3A4A; }
.rep-score-index {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 12px; margin-bottom: 10px;
  background: #FBF8F1; border: 1px solid #E3D2A8; border-radius: 12px;
}
.rep-score-index b { font-size: 26px; font-weight: 900; color: #8A6418; line-height: 1; }
.rep-score-index span { font-size: 12px; color: #6E5410; }
.rep-score-index em {
  margin-left: auto; font-style: normal; font-size: 11px;
  color: #8A6418; font-weight: 700;
}
.rep-score-dims {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 8px;
}
.rep-score-dim {
  padding: 10px 11px; background: #FFFFFF;
  border: 1px solid #ECEAE4; border-radius: 12px;
}
.rep-score-dim-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px; margin-bottom: 3px;
}
.rep-score-dim-name { font-size: 12.5px; font-weight: 700; color: #2B3A4A; }
.rep-score-dim-val { font-size: 13px; font-weight: 800; color: #8A6418; }
.rep-score-dim .rep-stars { font-size: 13px; letter-spacing: 1px; }
.rep-score-dim .rep-stars .on { color: #C8A97E; }
.rep-score-dim-hint { display: block; margin-top: 3px; font-size: 10.5px; color: #A9A49B; }
/* 合规声明：必须紧跟打分展示（不可移除、不可折叠） */
.rep-score-compliance {
  margin: 10px 0 0; padding: 8px 10px;
  font-size: 11.5px; line-height: 1.6; color: #8A8A84;
  background: #F7F6F3; border-left: 2px solid #D8D2C6; border-radius: 0 8px 8px 0;
}

/* ================================================================
   第 49 步【二】：跨区雷达大乱斗（入口 + 对撞抽屉 + 多系列雷达）
   ================================================================ */
.radar-battle-entry { padding: 14px; margin-bottom: 10px; }
.radar-battle-entry-top { display: flex; align-items: center; gap: 10px; }
.radar-battle-entry-ic {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2B3A4A, #1B2A4A); color: #E6D2AC;
}
.radar-battle-entry-title { font-size: 14.5px; font-weight: 800; color: #2B3A4A; }
.radar-battle-entry-sub { font-size: 11.5px; color: #8A8A84; margin-top: 2px; line-height: 1.5; }
.radar-battle-entry-badge { flex: none; }
.radar-battle-entry-meta {
  display: flex; align-items: baseline; gap: 6px;
  margin: 10px 0 8px; font-size: 12px; color: #6B675F;
}
.radar-battle-entry-meta b { font-size: 20px; font-weight: 900; color: #8A6418; }
.radar-battle-entry-meta .muted { color: #A9A49B; font-size: 11px; }
.radar-battle-entry-btn {
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%; min-height: 40px; padding: 9px 14px;
  border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #1B2A4A 0%, #0E1626 100%);
  color: #E8D8B4; font-size: 13px; font-weight: 700; letter-spacing: .01em;
}
.radar-battle-entry-btn svg { color: #E6D2AC; }
.radar-battle-entry-arrow { margin-left: auto; }
.radar-battle-entry-note {
  margin: 8px 0 0; font-size: 11px; color: #A9A49B; line-height: 1.6;
}

/* 抽屉内 */
.radar-battle-body { display: flex; flex-direction: column; gap: 14px; }
.radar-battle-block {
  padding: 12px; border: 1px solid #ECEAE4; border-radius: 12px; background: #FBFAF7;
}
.radar-battle-block-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px;
}
.radar-battle-block-head b { font-size: 13px; font-weight: 800; color: #2B3A4A; }
.radar-battle-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.radar-battle-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid #DDD5C4; background: #FFFFFF; color: #6B675F;
  font-size: 12.5px; font-weight: 600;
}
.radar-battle-chip em { font-style: normal; font-size: 11px; color: #A9A49B; }
.radar-battle-chip.on {
  border-color: #C8A97E; background: #FBF8F1; color: #8A6418; font-weight: 700;
}
.radar-battle-chip.on em { color: #8A6418; }
.radar-battle-act {
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%; min-height: 40px; padding: 9px 14px; cursor: pointer;
  border: 1px solid #E3D2A8; border-radius: 12px;
  background: #FBF8F1; color: #8A6418; font-size: 13px; font-weight: 700;
}
.radar-battle-act-cross {
  background: linear-gradient(135deg, #1B2A4A, #0E1626); color: #E8D8B4; border-color: #2C3D5F;
}
.radar-battle-result { display: flex; flex-direction: column; gap: 12px; }
.radar-battle-result-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.radar-battle-result-head b { font-size: 13.5px; font-weight: 800; color: #2B3A4A; }
.radar-battle-result-head .tiny {
  background: none; border: none; cursor: pointer; color: #8A6418; font-weight: 700;
}
.radar-battle-chart-wrap { display: flex; flex-direction: column; gap: 8px; }
.radar-battle-legend { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.radar-battle-legend-item { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #6B675F; }
.radar-battle-legend-item i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.radar-battle-legend-item em { font-style: normal; font-weight: 800; color: #8A6418; }
.radar-battle-matrix {
  display: flex; flex-direction: column;
  border: 1px solid #ECEAE4; border-radius: 12px; overflow: hidden;
}
.radar-battle-mrow {
  display: grid; grid-template-columns: minmax(96px, 1.1fr) repeat(auto-fit, minmax(56px, 1fr));
  gap: 4px; padding: 8px 10px; align-items: baseline;
  border-bottom: 1px solid #F0EEE9; font-size: 12px;
}
.radar-battle-mrow:last-child { border-bottom: none; }
.radar-battle-mrow.head { background: #F7F6F3; font-weight: 800; color: #2B3A4A; font-size: 11.5px; }
.radar-battle-mdim { color: #6B675F; font-weight: 600; }
.radar-battle-mdim em {
  display: block; font-style: normal; font-size: 10px; color: #A9A49B; font-weight: 400; margin-top: 1px;
}
.radar-battle-mval { text-align: right; font-weight: 700; color: #2B3A4A; }
.radar-battle-compliance {
  margin: 0; font-size: 11px; line-height: 1.65; color: #8A8A84;
  background: #F7F6F3; border-left: 2px solid #D8D2C6; border-radius: 0 8px 8px 0; padding: 8px 10px;
}

/* ================================================================
   第 49 步【二】：跨区雷达增值弹窗（19.9 单次 / 升级年度会员）
   ================================================================ */
/* 层级：跨区雷达付费弹窗从底部抽屉（.s24-mask 10040 / .s24-fullview 10050）里唤起，
   必须抬到抽屉之上，否则弹窗按钮被抽屉遮罩挡住、点不动。 */
.radar-paywall-overlay { z-index: 10070; }
/* 支付弹窗再抬一级，压在增值弹窗之上 */
.radar-pay-modal { z-index: 10080; }
.radar-paywall-card {
  max-width: 420px; padding: 18px 16px 16px; border-radius: 16px;
  background: #FFFFFF; border: 1px solid #E3D2A8;
  box-shadow: 0 26px 60px -26px rgba(27, 42, 74, .42);
}
.radar-paywall-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.radar-paywall-head svg { color: #8A6418; flex: none; }
.radar-paywall-head b { display: block; font-size: 15px; font-weight: 800; color: #2B3A4A; }
.radar-paywall-head span.tiny { display: block; margin-top: 1px; }
.radar-paywall-table {
  border: 1px solid #ECEAE4; border-radius: 12px; overflow: hidden; margin-bottom: 12px;
}
.radar-paywall-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 9px 11px; border-bottom: 1px solid #F0EEE9; font-size: 12.5px; line-height: 1.55;
}
.radar-paywall-row:last-child { border-bottom: none; }
.radar-paywall-row.head {
  background: #F7F6F3; font-weight: 800; font-size: 11px; color: #2B3A4A; letter-spacing: .02em;
}
.radar-paywall-cur { color: #8A8A84; }
.radar-paywall-next { color: #2B3A4A; font-weight: 600; }
/* 毛玻璃文字渐隐：替代粗暴的整块解锁遮罩 */
.radar-paywall-fade { position: relative; margin-bottom: 14px; }
.radar-paywall-fade-body {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 11.5px; line-height: 1.6; color: #8A8A84;
  -webkit-mask-image: linear-gradient(180deg, #000 26%, rgba(0,0,0,.32) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 26%, rgba(0,0,0,.32) 62%, transparent 100%);
  user-select: none; pointer-events: none;
}
.radar-paywall-lock {
  position: absolute; right: 4px; top: 2px;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: #A87B25;
  background: #FBF8F1; border: 1px solid #EBDDBD; border-radius: 999px; padding: 2px 8px;
}
.radar-paywall-actions { display: flex; flex-direction: column; gap: 8px; }
.radar-paywall-onetime,
.radar-paywall-upgrade {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  width: 100%; padding: 11px 14px; border-radius: 12px; cursor: pointer; text-align: left;
}
.radar-paywall-onetime {
  border: 1px solid #E3D2A8; background: #FBF8F1; color: #6E5410;
}
.radar-paywall-upgrade {
  border: none; background: linear-gradient(135deg, #1B2A4A 0%, #0E1626 100%); color: #E8D8B4;
  box-shadow: 0 10px 24px -12px rgba(14, 22, 38, .55);
}
.radar-paywall-onetime b,
.radar-paywall-upgrade b { font-size: 13.5px; font-weight: 800; }
.radar-paywall-onetime span,
.radar-paywall-upgrade span { font-size: 11px; opacity: .78; }
.radar-paywall-note {
  margin: 12px 0 0; text-align: center; font-size: 11px; color: #A9A49B;
}

/* ================================================================
   第 51 步：终极重构
   ---------------------------------------------------------------
   【一】全屏输入层：键盘弹起时把输入区块搬进纯白全屏层，底栏与主页面纹丝不动
   【二】搜索防呆：自然语言拆解提示 + 友好空态
   【三】会员墙强制等宽 / 高阶情报微标签 / 「公开AI做不到」折叠面板
   【四】表单重叠：出生日期间距 24px、快捷年龄三列网格、缺填不点名、生成报告置灰
   【五】学位占用合规降级：只给自查清单与条款模板，不返回占用结论
   ================================================================ */

/* 第 54 步【一】：第 51 步的「全屏输入层」(.ilayer) 已整体退役。
   原因：它用 position:fixed + height:100vh 造白层，既不跟随时效视口，
   又会把聚焦的输入框从原位搬走 —— 前者让底部 sticky 操作栏飘到屏幕中间，
   后者让新全屏搜索层的输入框被旧层藏起来。
   现在改为：#app 高度跟随 --vvh（真实可视高度）+ 唯一滚动容器 + flex 子元素底栏。 */


/* ---------- 【二】搜索防呆：解析提示 + 友好空态 ---------- */
.mini-parse-hint {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px; margin: 0 0 8px;
  background: #FBF8F1; border: 1px solid #E7D8B4; border-radius: 10px;
  font-size: 12px; color: #7A6224; line-height: 1.5;
}
.mini-parse-hint svg { flex: none; color: #A87B25; }
.ei-sub-strong {
  display: block; font-weight: 700; color: var(--ink);
  margin: 3px 0 2px;
}

/* ---------- 【三-1】会员墙：强制等宽 + 禁止文字折行 ---------- */
.s30-tier,
.s30-tier-name,
.s30-tier-sub,
.s30-tier-item,
.s30-tier-items li,
.s30-tier-note {
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
}
.s30-tier { min-width: 0; }
.s30-tier-items { min-width: 0; }
@media (max-width: 640px) {
  /* 移动端彻底废除横向滑动轨道：两列对称网格（左右绝对等宽），
     年度会员通栏落在第二行 —— 既不出现「被挤成一条缝」的残卡，
     也不再把首档裁掉一半。 */
  .s30-tiers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 10px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .s30-tier-free { order: 1; }
  .s30-tier-monthly { order: 2; }
  .s30-tier-vip { order: 3; grid-column: 1 / -1; }
}

/* ---------- 【三-2】高阶情报：微标签条（废除横向滑动大方块） ---------- */
.s51-intel-tags {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin: 2px 0 10px;
}
.s51-intel-tags-label {
  font-size: 11px; font-weight: 700; color: #8A6418; letter-spacing: .02em;
}
.s51-intel-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px; border-radius: 999px;
  background: #FBF8F1; border: 1px solid #E7D8B4;
  font-size: 11.5px; font-weight: 600; color: #7A6224;
  cursor: pointer; white-space: nowrap;
}
.s51-intel-tag:active { transform: scale(.97); }
.s51-intel-tag.locked { color: #9A938A; border-color: #E6E2DA; background: #FAF9F6; }
.s51-intel-lock { display: inline-flex; color: #C0B49A; }

/* ---------- 【三-3】「公开 AI 做不到」折叠面板 + 三行列表 ---------- */
.s51-collapsed {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); overflow: hidden;
}
.s33-vip-summary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; cursor: pointer; list-style: none;
}
.s33-vip-summary::-webkit-details-marker { display: none; }
.s33-vip-summary::after {
  content: '⌄'; margin-left: auto; color: #A9A49B; font-size: 14px; line-height: 1;
}
.s51-collapsed[open] .s33-vip-summary::after { content: '⌃'; }
.s33-vip-summary-t { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.s33-vip-summary-sub {
  font-size: 11.5px; color: var(--muted-2, #A9A49B);
  flex: 1 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s51-collapsed .s33-vip-list { padding: 0 12px 10px; gap: 0; }
.s33-vip-item-slim {
  padding: 9px 2px; gap: 9px;
  border: 0; border-top: 1px solid var(--line); border-radius: 0;
  background: transparent; box-shadow: none;
}
.s33-vip-item-slim:active { transform: none; }
.s33-vip-item-slim .s33-vip-title { font-size: 13.5px; }
.s33-vip-item-slim .s33-vip-desc { font-size: 11.5px; margin-top: 2px; }
.s33-vip-ic { flex: none; display: inline-flex; color: #A87B25; }

/* ---------- 【四】表单重叠修复 ---------- */
/* 四-1：出生日期的提示文字与下方快捷按钮强制拉开 24px */
.s44-birth-field .s44-age-row { margin-top: 24px; }
/* 四-2：快捷年龄按钮改三列网格（每格 ≥80px）——
   转学 9 键（小一~初三）不再被 flex 压成细条、文字全折行。 */
.s44-age-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.s44-age-row::-webkit-scrollbar { display: none; }
.s44-age-btn { min-width: 0; width: 100%; }
/* 四-2b：转学年级按钮组（三列网格，每格 ≥80px），原生 select 隐藏保留兼容 */
.s51-hidden-select { display: none !important; }
.s51-grade-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 8px; margin-top: 8px;
}
.s51-grade-btn {
  min-height: 40px; padding: 8px 6px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: var(--ink-2);
  font-size: 13px; font-weight: 600; cursor: pointer;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.s51-grade-btn.active {
  border-color: #C8A97E; background: #FBF8F1; color: #8A6418; font-weight: 700;
}
/* 四-3：未填齐时「生成报告」置灰（不再用红字点名训人） */
.s44-generate-btn:disabled,
.wizard-foot .btn[disabled] {
  opacity: .45; cursor: not-allowed; filter: grayscale(.35);
  box-shadow: none !important;
}

/* ---------- 【五】学位占用合规降级 ---------- */
.s39-degree-line {
  border-color: rgba(200, 169, 126, .45) !important;
  background: rgba(200, 169, 126, .08) !important;
  color: #7A6224 !important;
}
.s39-degree-line:active { background: rgba(200, 169, 126, .16) !important; }
.s40-degree-bait.s51-slim { padding: 10px 12px; margin: 0 0 8px; box-shadow: none; }
.s40-degree-bait.s51-slim .s40-degree-bait-ic { font-size: 18px; }
.s40-degree-bait.s51-slim .s40-degree-bait-main b { font-size: 13px; color: #8A6418; }
.s40-degree-bait.s51-slim .s40-degree-bait-main span { font-size: 11.5px; color: #8C8880; }
.s40-degree-bait.s51-slim .s40-degree-bait-go {
  background: none; color: #8A6418; font-size: 12px; font-weight: 700;
}
.s51-degree-card { max-width: 460px; }
.s51-degree-lead { font-size: 13px; line-height: 1.7; color: var(--ink-2); }
.s51-degree-list { display: flex; flex-direction: column; gap: 9px; margin: 12px 0; }
.s51-degree-item { display: flex; gap: 9px; align-items: flex-start; }
.s51-degree-no {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: #FBF8F1; border: 1px solid #E7D8B4; color: #8A6418;
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.s51-degree-item b { font-size: 13px; color: var(--ink); }
.s51-degree-desc { font-size: 12px; color: var(--muted-2, #8C8880); line-height: 1.6; margin-top: 2px; }
.s51-degree-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.s51-degree-template {
  margin: 12px 0 0; padding: 12px;
  max-height: 240px; overflow: auto;
  background: #FAF9F6; border: 1px solid var(--line); border-radius: 10px;
  font-size: 11.5px; line-height: 1.7; color: var(--ink-2);
  white-space: pre-wrap; word-break: break-word; font-family: inherit;
}
.s51-degree-disclaimer { margin-top: 10px; line-height: 1.6; }
.s51-degree-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 8px;
  background: #FBF8F1; border: 1px solid #E7D8B4;
  font-size: 11.5px; font-weight: 600; color: #8A6418; cursor: pointer;
}
.s51-degree-link-arrow { font-style: normal; }

/* ================================================================
   第 52 步【三】：联想词下拉浮层 —— 绕开平台注入的黑色水印球
   ---------------------------------------------------------------
   部署平台会在每页右下角注入一枚 #minimax-floating-ball
   （position:fixed; bottom:20px; right:20px; z-index:9999; 深色底），
   它会正好压在联想词上，把半屏视野糊掉。
   水印是平台注入的，删不掉 —— 只能让联想词浮到它上面：
     · 纯白背景        → 深色水印盖上来也不透
     · z-index 9999999 → 稳稳压过水印球的 9999
     · margin-top 50px → 与输入框拉开距离，浮层感更明确
   注意：.mini-result 在全屏输入层内时，层自身 z-index 99999 已经
   高于水印球；本规则保证「层没开」的路径下同样压得住。
   ================================================================ */
.mini-result,
.search-results {
  position: relative;
  z-index: 9999999;
  background: #FFFFFF;
  margin-top: 50px;
  border-radius: 14px;
  box-shadow: 0 18px 44px -20px rgba(16, 32, 58, .40);
}
/* ================================================================
   第 98 步【六·修订】：社区候选列表单独一层，降到 10000
   ---------------------------------------------------------------
   .search-results 是**社区搜索器的页面浮层**（对比页 / 查资产页），
   原来和 .mini-result 一起挂在 z-index 9999999 —— 它因此压住**所有**弹窗：
     · 通用弹窗 .modal-overlay（10000）——「先看这 2 个」按钮被整个盖住，
       真机点不到（E2E 对比⑧ 5 项失败 + 1828 行崩溃的根因）；
     · 收银台 .s88-pay-overlay-top（10130）——第 87 步的老坑。
   降到 10000 后的层级带：
     · 9999    平台水印球（仍被稳稳压住，第 52 步的防遮挡不丢）
     · 10000   通用弹窗 .modal-overlay / .modal-mask · 本候选列表
               —— 同层时按 DOM 顺序：弹窗是 document.body 末尾追加的，
                  **排在候选列表之后 ⇒ 弹窗压住候选列表** ⇒ 按钮重新可点
     · 10130   收银台（仍高于通用弹窗，88-70 的不变量不丢）
   ================================================================ */
.search-results {
  z-index: 10000;
}
/* ================================================================
   第 53 步：全屏搜索层（几何走内联样式，这里只负责视觉）
   ---------------------------------------------------------------
   层的物理属性（position:fixed / inset:0 / 100vw×100vh / z-index:9999999 /
   background:#fff / flex 列）全部写死在内联样式里 —— 即使样式表加载失败，
   这层白布也照样把底部 Tab 导航与平台注入的黑色水印球死死盖住。
   ================================================================ */
.fsl-layer {
  --flow: var(--brand);
  --flow-bg: var(--brand-050);
  font-family: inherit;
  color: var(--ink);
}
.fsl-bar {
  flex: none;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}
.fsl-title { flex: none; font-size: 15px; font-weight: 750; color: var(--ink); }
.fsl-field {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 14px;
  border-radius: 22px; background: #F5F6F8;
  color: var(--muted);
}
.fsl-field > svg:first-child { flex: none; color: var(--flow); }
.fsl-input {
  flex: 1 1 auto; min-width: 0;
  border: none; outline: none; background: transparent;
  font-size: 16px; color: var(--ink); font-family: inherit;
}
.fsl-input::placeholder { color: var(--muted-2); }
.fsl-mic { flex: none; }
.fsl-cancel {
  flex: none; padding: 8px 2px; cursor: pointer;
  background: transparent; border: none;
  color: var(--ink); font-size: 15px; font-family: inherit;
}
.fsl-suggest {
  flex: 1 1 auto; min-height: 0;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 10px 14px 32px;
}
.fsl-item { margin-bottom: 8px; }
.fsl-empty-tip { padding: 30px 8px; text-align: center; color: var(--muted-2); font-size: 14px; }

/* 第 110 步【P0-3 / P0-6】：联想分组标题 + 空态热门胶囊
   —— 消灭「上输入框、下全空白」：分组让候选一眼可辨，热门胶囊让空态有内容可点。 */
.fsl-group-title {
  display: flex; align-items: center; gap: 6px;
  margin: 6px 2px 8px; color: var(--muted); font-size: 12px; font-weight: 600;
}
.fsl-group-count { margin-left: auto; color: var(--muted-2); font-weight: 400; }
/* 第 110 步【P0-6 补】：空态改为**整屏铺开**的 flex 列 ——
   上半「试试搜这些」热门胶囊、下半「按区找」区名胶囊（margin-top:auto 锚到底部），
   中间留白变成有设计的呼吸区，而不是「上输入下空白」。
   ⚠️ calc(100% - 42px) 里的 42 = 联想容器的上下 padding（10 + 32）；
      改了容器的 padding 就要同步改这里，否则会多出一截滚动条。 */
.fsl-empty-state {
  padding: 22px 8px 8px;
  display: flex; flex-direction: column;
  min-height: calc(100% - 42px);
  box-sizing: border-box;
}
.fsl-empty-chips-wrap { margin-top: 14px; padding-top: 14px; border-top: 1px solid #F0EFEA; }
.fsl-empty-title { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.fsl-empty-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.fsl-empty-chips .hot-tag { font-size: 13px; }
/* 按区找：锚在空态底部 */
.fsl-empty-districts { margin-top: auto; padding-top: 18px; border-top: 1px solid #F0EFEA; }
.fsl-empty-districts .fsl-empty-chips { margin-bottom: 0; }

/* 主页面触发条：长得像搜索框，但它不是 input —— 主页面永远不出现可聚焦输入框 */
.mini-search-trigger { cursor: pointer; user-select: none; -webkit-user-select: none; }
.mini-search-ph {
  flex: 1 1 auto; min-width: 0;
  font-size: 15px; color: var(--muted-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mini-search-trigger:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 层展开时锁住底层滚动（层内自己滚，主页面纹丝不动） */
html.fsl-open, body.fsl-open { overflow: hidden !important; }
/* 第 53 步补：桌面端也要能搜索 —— 主页面已无输入框，全屏层在宽屏同样弹出。
   内容居中收窄，避免 1440px 下顶栏被拉成一整条。 */
.fsl-bar-inner {
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 760px; margin: 0 auto;
}
@media (min-width: 900px) {
  .fsl-suggest { max-width: 760px; margin-left: auto; margin-right: auto; width: 100%; }
  .fsl-field { height: 48px; }
  .fsl-input { font-size: 17px; }
}

/* ================================================================
   第 54 步：输入框消失 / 操作栏飘到屏幕中间 —— 根治 + 会员墙与家长风评升维
   ----------------------------------------------------------------
   【图1 根因】第 51 步的旧全屏输入层（.ilayer，position:fixed + height:100vh）
   会把聚焦的输入框从原位搬进自己的旧层。新全屏搜索层（z-index 9999999）把
   旧层（z-index 99999）整个盖住 → 用户只看见「定位 / 拍照」，输入框消失。
   → 旧层已整体退役（src/components/input-layer.js 已删除）。

   【图2 根因】① 100vh = 布局视口高度，iOS 键盘只缩可视视口 → 布局按整屏排版，
   底部 sticky 操作栏被钉在「看不见的屏幕底部」= 视觉上的屏幕中间；
   ② 键盘锁把 body 钉成 height:100vh 并手动上推补偿 → 整页离屏，操作栏再飘一段。
   → 现在 body 锁的是 var(--vvh)（真实可视高度），且删掉了手动上推。

   【新架构】
   --vvh = visualViewport.height（实时写入 CSS 变量）
   #app { height: var(--vvh, 100dvh) }   ← 外壳精确缩到「键盘上方那块区域」
   页面容器 = flex 列：头部(flex:none) + 内容区(flex:1;overflow-y:auto) + 底部栏(flex:none)
   底部栏是 flex 的最后一个子元素 → 结构上永远不与内容重叠。
   ================================================================ */

/* ---------- 【一】外壳高度跟随可视视口 ---------- */
:root { --vvh: 100dvh; --vvt: 0px; }
@media (max-width: 640px) {
  #app { height: var(--vvh, 100dvh); }
}

/* ---------- 【二】判定表单页：flex 列 + 唯一滚动区 + 静态操作栏 ---------- */
/* 旧规则给 sticky 操作栏预留了 150px 底部空白 —— 操作栏不再重叠内容，这块留白要收回 */
.shell > .main > .page#page-slot:has([data-testid="entry-page"]) {
  padding-bottom: 0 !important;
  overflow: hidden;
}
.entry-page { height: 100%; min-height: 0; overflow: hidden; }
.entry-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
/* 底部操作栏：flex 最后一个子元素，静态定位，永远不与表单内容重叠 */
.wizard-foot {
  position: static !important;
  bottom: auto !important;
  flex: none;
  background: #FFFFFF;
  border-top: 1px solid var(--line, #ECEAE4);
  box-shadow: 0 -6px 18px -14px rgba(16, 32, 58, .35);
}
/* 第 65 步【二】7：操作栏**不再**在键盘弹起时隐藏。
   第 54 步当时是「一聚焦就撤掉」，那是在操作栏还是 sticky/fixed、
   会飘到屏幕中间的年代（遗留结构）。现在页面已是三段式 flex 列，
   且 #app 高度 = --vvh（随键盘实时收缩），操作栏天然贴在键盘上沿。
   用户的验收口径是「底部按钮在键盘弹起时依旧稳定吸附在键盘上方」——
   藏起来等于按钮消失，达不到要求。
   （原 .wizard-foot.kb-hidden { display:none !important } 规则已删除。） */

/* ---------- 【三】全屏搜索层：顶栏固定 56px + 输入框层级高于白底 ---------- */
.fsl-layer { overflow: hidden; }
.fsl-bar {
  flex: none;
  height: 56px;
  min-height: 56px;
  /* 第 56 步【三】：左右内边距 14→18px，与输入框拉开呼吸感 */
  padding: 0 18px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line, #ECEAE4);
  background: #FFFFFF;
}
.fsl-bar-inner {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.fsl-field {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 22px;
  background: #F5F6F8;
  color: var(--muted, #8A8A84);
}
.fsl-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 4;
  display: block;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--ink, #2B3A4A);
}
.fsl-suggest { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .fsl-field { height: 44px; }
  .fsl-input { font-size: 17px; }
}

/* ---------- 【四】会员权益墙（最终规范）
   覆盖第 46 / 49 步遗留的多套冲突规则（第 46 步曾让 VIP 独占一整行，
   移动端还叠过 2 列网格 + VIP 通栏），这里一次性收口：

   ① 桌面端：三列等宽 Grid；移动端：横向滚动、等宽卡片，VIP 不再独占整行；
   ② 配色：深空灰 + 香槟金 —— 免费卡纯白底 + 浅灰边框，
      VIP 卡极浅金渐变底 + 细金线边框 + 顶部极简金色皇冠小图标；
   ③ 锁定内容统一为「文字向下渐隐（白色渐变）」+ 底部小锁，不用大面积毛玻璃。 */
.s30-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  overflow: visible;
  scroll-snap-type: none;
  padding: 6px 0 4px;
}
.s30-tier {
  flex: none;
  width: auto;
  max-width: none;
  order: 0;
  grid-column: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 16px 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #E8E6E1;
  color: #2B3A4A;
  box-shadow: none;
}
.s30-tier-free {
  order: 1;
  background: #FFFFFF;
  border: 1px solid #E8E6E1;
  color: #2B3A4A;
}
.s30-tier-monthly {
  order: 2;
  background: #FAF9F6;
  border: 1px solid #E7E2D8;
  color: #2B3A4A;
}
.s30-tier-vip {
  order: 3;
  background: linear-gradient(168deg, #FDFBF7 0%, #FBF6EA 55%, #F7F0E0 100%);
  border: 1px solid #C8A97E;
  box-shadow: 0 16px 38px -24px rgba(176, 141, 87, .55);
  color: #2B3A4A;
}
.s30-tier-free .s30-tier-name { color: #2B3A4A; }
.s30-tier-free .s30-tier-price { color: #6E6E68; }
.s30-tier-free .s30-tier-item { color: #4A4A46; }
.s30-tier-free .s30-tier-item svg { color: #A9A49B; }
.s30-tier-monthly .s30-tier-name { color: #2B3A4A; }
.s30-tier-monthly .s30-tier-price { color: #2B3A4A; }
.s30-tier-monthly .s30-tier-item { color: #4A4A46; }
.s30-tier-monthly .s30-tier-item svg { color: #9A958C; }
.s30-tier-vip .s30-tier-name { color: #2B3A4A; }
.s30-tier-vip .s30-tier-price { color: #B08D57; }
.s30-tier-vip .s30-tier-sub { color: #8C8880; }
.s30-tier-vip .s30-tier-item { color: #3A3A38; }
.s30-tier-vip .s30-tier-item svg { color: #C8A97E; }
.s30-tier-vip .s30-tier-dot { background: linear-gradient(135deg, #E6D2AC, #C8A97E); }

/* 皇冠：极简金色小图标（不再是厚重圆形徽章） */
.s30-crown {
  position: absolute;
  top: 14px;
  right: 14px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #B08D57;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* 「最划算」小标签：香槟金克制口径 */
.s30-best {
  top: -9px;
  left: 14px;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E);
  color: #3A2E12;
}
.s30-tier-note { color: #8A8A84 !important; font-weight: 600 !important; }   /* 去掉逼单红 */
.s30-per-day { color: #8C8880 !important; }
.s30-anchor { color: #8A6418 !important; }

/* 锁定内容：文字向下渐隐（白色渐变）+ 底部一个精致小锁 —— 不用大面积毛玻璃 */
.s46-fade-lock { position: relative; }
.s46-fade-body {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, .25) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 30%, rgba(0, 0, 0, .25) 72%, transparent 100%);
}
.s46-lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px auto 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FDF6E7;
  border: 1px solid #E3D2A8;
  color: #8A6418;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

/* 移动端：横向等宽卡片，VIP 不再独占整行 */
@media (max-width: 640px) {
  .s30-tiers {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 12px 2px 18px;
  }
  .s30-tier {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
    padding: 18px 14px 14px;
  }
  .s30-tier-vip { order: 3; grid-column: auto; }
  .s30-tier-free { order: 1; }
  .s30-tier-monthly { order: 2; }
}

/* ---------- 【五】家长风评 UGC 升维 ---------- */
/* ① 综合评星大圆盘（顶部） */
.rep-dial {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 4px 10px;
}
.rep-dial-ring {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(#C8A97E 0deg calc(var(--rep-dial-deg, 345deg)), #EFEDE7 calc(var(--rep-dial-deg, 345deg)) 360deg);
}
.rep-dial-ring::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #FFFFFF;
}
.rep-dial-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.rep-dial-num { font-size: 26px; font-weight: 800; color: #2B3A4A; letter-spacing: -.02em; }
.rep-dial-star { font-size: 12px; color: #C8A97E; }
.rep-dial-label { font-size: 11px; color: #8A8A84; margin-top: 2px; }
.rep-dial-side { min-width: 0; flex: 1 1 auto; }
.rep-dial-title { font-size: 13px; font-weight: 800; color: #2B3A4A; margin-bottom: 2px; }
.rep-dial-sub { font-size: 11.5px; color: #8A8A84; line-height: 1.6; margin-bottom: 8px; }

/* ② 高频评价胶囊标签（顶部聚合） */
.rep-dial-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* ③ 蓝 V 认证徽章 + 班级信息 */
.rep-bluev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3E8FE0, #2B6FC4);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  margin-left: 5px;
  vertical-align: 1px;
  flex: none;
}
.rep-cls-chip {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid #E4DCCB;
  background: #FBF8F1;
  color: #8A6418;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

/* ④ 点赞按钮文案 */
.rep-like-btn { color: #6E6E68; }
.rep-like-btn .rep-like-label { font-size: 11px; }
.rep-like-btn.liked { color: #C2512F; border-color: #F2C9BB; background: #FDF3EF; }

/* ⑤ 发帖横幅：深空灰 + 香槟金，取代橙色逼单 CTA */
.rep-post-banner {
  background: linear-gradient(135deg, #2B3A4A 0%, #34475B 100%);
  border: 1px solid rgba(200, 169, 126, .38);
}
.rep-post-banner .rep-post-title { color: #F4E3BC; }
.rep-post-banner .rep-post-gift { color: rgba(244, 227, 188, .78); }
.rep-post-banner .rep-post-btn {
  background: linear-gradient(135deg, #E6D2AC 0%, #C8A97E 100%);
  color: #2B2B2B;
  box-shadow: 0 6px 16px -10px rgba(200, 169, 126, .8);
}

/* ---------- 【二·补】判定页高度链收口 ----------
   ① 第 44 步为「sticky 操作栏」预留的 96px 底部空白要收回
      （操作栏现在是 flex 最后一个子元素，不再压在内容上，不需要留白）；
   ② #page-slot 在判定页改成 flex 列：页面占满剩余高度；
   ③ 全局免责声明由 app.js 挪进 .entry-scroll（跟着内容一起滚），
      这样操作栏才能真正贴在可视区底部（底栏导航的正上方）。 */
.shell > .main > .page#page-slot:has([data-testid="entry-page"]) {
  padding-bottom: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shell > .main > .page#page-slot:has([data-testid="entry-page"]) > [data-testid="entry-page"] {
  flex: 1 1 auto;
  min-height: 0;
  padding-bottom: 0 !important;
}
.shell > .main > .page#page-slot:has([data-testid="entry-page"]) > [data-testid="entry-page"] > [data-testid="entry-scroll"] > [data-testid="global-disclaimer"] {
  margin-top: 8px;
}

/* ================================================================
   第 55 步：去电商逼单 · 去中介化 · 会员墙绝对等宽 · 特权瘦身 · 师资升维
   ----------------------------------------------------------------
   【等宽根因】Grid 的 `1fr 1fr` 并非物理等宽 —— 1fr 轨道的默认
   `min-width: auto` 会被内容撑开，内容多的那一列因此变宽、另一列被挤窄。
   必须写成 `repeat(2, minmax(0, 1fr))` 才是真正的 50% : 50%。
   （.s32-compare 早在第 38 步改对，.s23-priv / .s24-bj-compare 漏了）

   【视觉降噪】免费卡 = 浅灰底 + 暗色文字；
              VIP 卡 = 极浅香槟金渐变底 + 深色文字 + 细金线；
              彻底不用大红大绿与「黑金呼吸」特效。
   ================================================================ */

/* ---------- 【一】价格条：倒计时与按天折算已从 DOM 移除 ---------- */
.s23-ebs-cd { display: none !important; }

/* ---------- 【二】会员墙两卡：物理 50% : 50% ---------- */
.s23-priv { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.s24-bj-compare { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.s23-priv > *, .s24-bj-compare > * { min-width: 0; overflow-wrap: break-word; }

/* 免费卡：浅灰底 + 暗色文字 */
.s23-priv-free {
  background: #F4F5F7;
  border: 1px solid #E3E7EC;
  color: #2B3A4A;
}
.s23-priv-free .s23-priv-sub { color: #6B7688; opacity: 1; }
.s23-priv-free .s23-priv-row { color: #465061; }
.s23-priv-free .s23-priv-row svg { color: #8A94A6; }

/* VIP 卡：极浅香槟金底 + 深色文字 + 细金线（不用大红色） */
.s23-priv-vip {
  background: linear-gradient(168deg, #FDFBF7 0%, #FBF6EA 55%, #F7F0E0 100%);
  border: 1px solid #C8A97E;
  color: #2B3A4A;
  box-shadow: 0 16px 38px -24px rgba(176, 141, 87, .55);
}
.s23-priv-vip .s23-priv-sub { color: #8C8880; opacity: 1; }
.s23-priv-vip .s23-priv-row { color: #3A3A38; }
.s23-priv-vip .s23-priv-row svg { color: #C8A97E; }

/* 「包含免费版所有基础权益」——包含关系前置，作为 VIP 首行高亮 */
.s23-priv-row-include { font-weight: 700; color: #8A6418 !important; }
.s23-priv-row-include svg { color: #C8A97E !important; }

/* 判定结果页的黑金转化卡：同样降噪成浅底 */
.s24-bj {
  background: #FFFFFF;
  border: 1px solid #E8E6E1;
  box-shadow: 0 16px 38px -24px rgba(43, 58, 74, .28);
}
.s24-bj-line1 { color: #2B3A4A; }
.s24-bj-line2 { color: #8A6418; }
.s24-bj-anchor { color: #6B7688; }
.s24-bj-note { color: #8A8A84; }
.s24-bj-free { background: #F4F5F7; border: 1px solid #E3E7EC; }
.s24-bj-free .s24-bj-col-head { color: #2B3A4A; }
.s24-bj-free .s24-bj-origin { color: #A8A29A; }
.s24-bj-free .s24-bj-col-sub,
.s24-bj-free .s24-bj-row { color: #5B6472; }
.s24-bj-vip {
  background: linear-gradient(168deg, #FDFBF7 0%, #FBF6EA 55%, #F7F0E0 100%);
  border: 1px solid #C8A97E;
}
.s24-bj-vip .s24-bj-col-head { color: #2B3A4A; }
.s24-bj-vip .s24-bj-price { color: #B08D57; }
.s24-bj-vip .s24-bj-origin { color: #A8A29A; }
.s24-bj-vip .s24-bj-col-sub,
.s24-bj-vip .s24-bj-row { color: #465061; }
.s24-bj-row-include { font-weight: 700; color: #8A6418 !important; }

/* 金色 CTA：保留香槟金质感，去掉「呼吸金光」动画 */
.s24-goldbtn {
  animation: none !important;
  box-shadow: 0 8px 20px -12px rgba(176, 141, 87, .55) !important;
}
.s24-goldbtn-glow { display: none !important; }

/* ---------- 【三】特权列表：极简纯文本 + 极大留白 ---------- */
.s33-vip-item-slim {
  padding: 16px 2px;
  gap: 12px;
  border-top: 1px solid #EFEDE7;
}
.s33-vip-item-slim .s33-vip-title { font-size: 14px; letter-spacing: .01em; }
.s33-vip-item-slim .s33-vip-desc {
  font-size: 12.5px;
  line-height: 1.75;
  margin-top: 4px;
  color: #6B7688;
}
.s33-vip-tag {
  border-radius: 999px;
  padding: 2px 8px;
  background: #F1F4F8;
  color: #4A5A70;
  font-weight: 600;
}
.s33-vip-lock { color: #C8A97E; }

/* ---------- 【四】师资卡：锁定态 = 前半段可读 + 轻微模糊 + 居中金锁 ---------- */
.teacher-locked-note {
  position: relative;
  margin-top: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #FBFAF8;
  border: 1px solid #EFECE6;
}
.teacher-locked-blur {
  font-size: 12px;
  line-height: 1.75;
  color: #6B675F;
  /* 极其轻微：能看出是文字，不制造「不可告人的秘密」的压迫感 */
  filter: blur(1.3px);
  opacity: .55;
  user-select: none;
}
.teacher-locked-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}
.teacher-locked-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E6D2AC, #C8A97E);
  color: #3A2E12;
  box-shadow: 0 4px 10px -4px rgba(176, 141, 87, .65);
}
.teacher-locked-tip {
  font-size: 11.5px;
  font-weight: 700;
  color: #8A6418;
  background: rgba(255, 255, 255, .86);
  padding: 2px 9px;
  border-radius: 999px;
}

/* ---------- 【四】标签改圆角胶囊 Pill Tags（淡金 / 淡蓝 / 淡灰） ---------- */
.teacher-honor {
  border-radius: 999px;
  padding: 2px 9px;
  background: rgba(200, 169, 126, .16);
  color: #8A6418;
}
.teacher-style {
  border-radius: 999px;
  padding: 2px 9px;
  background: #EDF3FA;
  color: #3C5A80;
}
.rep-tag {
  border-radius: 999px;
  padding: 2px 9px;
  background: #F1F4F8;
  color: #4A5A70;
}

/* ==================================================================
 * 第 57 步：小区详情页信息架构重构
 *   - 顶部细标题条（取代大面积渐变头图）
 *   - 分类 Tab 栏（粘性 · 横向可滚 · 惰性面板）
 *   - 折叠面板 Accordion（默认全收起）
 *   - 长列表「前 N 条 + 展开查看全部 ↓」+ 底部抽屉
 *   - 会员入口小金标（取代整块逼单大卡）
 * ================================================================== */

/* ---------- 顶部细标题条 ---------- */
.d57-topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: var(--r-md);
  background: linear-gradient(120deg, #344E6C 0%, #2A4258 100%);
  color: #fff; box-shadow: 0 2px 10px rgba(16, 32, 58, .18);
}
.d57-topbar-back {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .14); border: none; color: #fff;
}
.d57-topbar-back:hover, .d57-topbar-back:focus-visible { background: rgba(255, 255, 255, .26); }
.d57-topbar-crumb { font-size: 13px; font-weight: 700; opacity: .94; }
.d57-topbar .spacer { flex: 1; }
.d57-topbar .btn { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .12); }
.d57-topbar .btn.btn-accent { background: rgba(255, 255, 255, .92); color: var(--brand-600); border-color: transparent; }

/* ---------- 结论卡（小区名下沉 + 与结论横幅合并成一张） ---------- */
.d57-conclusion { gap: 9px; padding: 12px 13px 13px; }
.d57-conclusion .verdict-banner {
  border: none; box-shadow: none; background: transparent; padding: 0; gap: 6px; margin: 0;
}
.d57-verdict-title { display: flex; flex-direction: column; gap: 2px; }
.d57-verdict-name { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.d57-verdict-sub { font-size: 12px; color: var(--muted); }

/* ---------- 分类 Tab 栏 ---------- */
.d57-tabs { display: flex; flex-direction: column; gap: 10px; }
.d57-tabbar {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 4px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.d57-tabbar::-webkit-scrollbar { display: none; }
.d57-tabbar.is-sticky { position: sticky; top: 8px; z-index: 30; }
.d57-tab {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: transparent; border: none; color: var(--muted);
  transition: background .18s, color .18s, box-shadow .18s;
}
.d57-tab-ic { display: inline-flex; opacity: .8; }
.d57-tab:hover { color: var(--ink); }
.d57-tab.is-active {
  background: var(--surface); color: var(--brand-600);
  box-shadow: 0 1px 5px rgba(16, 32, 58, .12);
}
.d57-tab.is-active .d57-tab-ic { opacity: 1; }
.d57-tab-badge {
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-100); color: var(--brand-600);
  font-size: 11px; font-weight: 800;
}
.d57-panels { display: block; min-height: 420px; }
.d57-panel[hidden] { display: none; }
.d57-panel { display: block; }
.d57-stack { display: flex; flex-direction: column; gap: 12px; }
.d57-trust { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }

/* ---------- 折叠面板 Accordion ---------- */
.d57-accordion { display: flex; flex-direction: column; gap: 8px; }
.d57-acc-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); overflow: hidden;
}
.d57-acc-head {
  width: 100%; display: flex; align-items: center; gap: 9px;
  padding: 11px 12px; cursor: pointer; text-align: left;
  font-family: inherit; background: transparent; border: none; color: var(--ink);
}
.d57-acc-head:hover, .d57-acc-head:focus-visible { background: var(--surface-2); }
.d57-acc-ic { flex: none; display: inline-flex; color: var(--brand-600); }
.d57-acc-titles { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.d57-acc-title { font-size: 14px; font-weight: 750; color: var(--ink); line-height: 1.35; }
.d57-acc-summary {
  font-size: 12px; color: var(--muted); line-height: 1.45;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.d57-acc-tag {
  flex: none; padding: 2px 8px; border-radius: 999px;
  background: rgba(200, 169, 126, .18); color: #8A6418;
  font-size: 11px; font-weight: 800;
}
.d57-acc-chevron { flex: none; display: inline-flex; color: var(--muted); transition: transform .2s; }
.d57-acc-head.is-open .d57-acc-chevron { transform: rotate(180deg); }
.d57-acc-body { display: none; }
.d57-acc-body.is-open { display: block; padding: 0 12px 12px; border-top: 1px solid var(--line-2); }
.d57-acc-inner { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; }
.d57-acc-inner .btn { align-self: flex-start; }

/* ---------- 高阶情报结论预览行 ---------- */
.d57-tool-row { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.d57-tool-dot { color: var(--brand); font-weight: 800; flex: none; }

/* ---------- 长列表「展开查看全部 ↓」 ---------- */
.d57-expand-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 12px; border-radius: var(--r-md); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 750;
  background: var(--surface-2); border: 1px dashed var(--line); color: var(--brand-600);
}
.d57-expand-btn:hover, .d57-expand-btn:focus-visible { border-color: var(--brand); background: var(--brand-050, #F3F6F1); }
.d57-expand-arrow { display: inline-flex; transform: rotate(-90deg); }
.d57-countmore { display: flex; flex-direction: column; gap: 8px; }
.d57-countmore-list { display: flex; flex-direction: column; gap: 8px; }
.d57-countmore-btn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 9px 12px; border-radius: var(--r-md); cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 750;
  background: var(--surface-2); border: 1px dashed var(--line); color: var(--brand-600);
}
.d57-countmore-btn:hover, .d57-countmore-btn:focus-visible { border-color: var(--brand); }
.d57-countmore-arrow { display: inline-flex; transform: rotate(-90deg); }
.d57-countmore-all { font-size: 12px; color: var(--muted); text-align: center; }
.d57-countmore-sheet { display: flex; flex-direction: column; gap: 8px; }

/* ---------- 同类小区推荐条目 ---------- */
.d57-similar-item {
  display: flex; flex-direction: column; gap: 2px; align-items: flex-start;
  padding: 9px 11px; border-radius: var(--r-md); cursor: pointer; text-align: left;
  font-family: inherit; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
}
.d57-similar-item:hover, .d57-similar-item:focus-visible { border-color: var(--brand); }
.d57-similar-name { font-size: 14px; font-weight: 750; }
.d57-similar-meta { font-size: 12px; color: var(--muted); }

/* ---------- 会员入口小金标（取代整块逼单大卡） ---------- */
.d57-vipfab {
  position: fixed; right: 14px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 9000;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px 7px 10px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .02em;
  color: #6B4E00;
  background: linear-gradient(135deg, #FFF7E0 0%, #F3E2B8 100%);
  border: 1px solid #D9B96B;
  box-shadow: 0 3px 12px rgba(138, 100, 24, .22);
}
.d57-vipfab:hover, .d57-vipfab:focus-visible { border-color: #B08D3E; }
.d57-vipfab-ic { display: inline-flex; color: #A97B16; }
.d57-vipfab-label { line-height: 1; }
@media (max-width: 640px) {
  .d57-vipfab { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); right: 12px; }
}

/* ---------- 顺序：标题条 → 结论卡 → Tab 栏 → 其余 ---------- */
html:not(.details-open-mode) .result-cards > .d57-topbar { order: 1; }
html:not(.details-open-mode) .result-cards > .s23-golden { order: 2; }
html:not(.details-open-mode) .result-cards > .d57-tabs { order: 3; }
/* ---------- 第 57 步【一·补】：首屏再压一档 ----------
   目标：结论卡（含风险红绿灯与双 CTA）在一屏内能塞下，
   分类 Tab 栏必须**完整可见**而不是被挤到屏幕外。 */

/* 风险红绿灯：大色块改成紧凑单行 */
.d57-conclusion .s23-gh-risk { gap: 6px; }
.d57-conclusion .s23-gh-risk-block { padding: 6px 10px; gap: 1px; }
.d57-conclusion .s23-gh-risk-block b { font-size: 17px; line-height: 1.2; }
.d57-conclusion .s23-gh-risk-label { font-size: 11px; }
.d57-conclusion .s23-gh-risk-desc { font-size: 10px; white-space: normal; line-height: 1.35; }
.d57-conclusion .s23-gh-lights { width: 24px; padding: 4px 0; gap: 4px; }
.d57-conclusion .s23-light { width: 10px; height: 10px; }
.d57-conclusion .s23-light.cur { width: 15px; height: 15px; box-shadow: 0 0 0 2px rgba(0, 0, 0, .05); }

/* 结论横幅：字号与行距收紧（大字仍保持 ≥24px 的既有契约） */
.d57-conclusion .verdict-banner { gap: 5px; }
.d57-conclusion .vb-subtitle { font-size: 12px; padding: 3px 9px; }
.d57-conclusion .vb-row { gap: 8px; }
.d57-conclusion .vb-big { font-size: 25px; }
.d57-conclusion .vb-one-line { font-size: 12px; margin: 0; }
.d57-conclusion .vb-status { margin: 0; }
/* ⚠️ 下面这条必须**压过**第 23 步留下的
   `html:not(.details-open-mode) .verdict-banner .vb-big { font-size: 22px }` ——
   那条规则把小区详情页的结论大字压到 22px，违反了「结论大字全站统一 ≥24px」的既有契约
   （第 8 步 / 第 31 步字号阶梯 22–24px，且 e2e 有 ≥24px 的硬断言）。
   专属度：html:not(.details-open-mode) .d57-conclusion .verdict-banner .vb-big = (0,4,1)
        > html:not(.details-open-mode) .verdict-banner .vb-big = (0,3,1) */
html:not(.details-open-mode) .d57-conclusion .verdict-banner .vb-big { font-size: 24px; }

/* 高阶情报 Tab 头部（原「特权面板」副标题改挂到这里） */
.d57-intel-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.d57-intel-title { font-size: 15px; font-weight: 750; color: var(--ink); }

/* 双 CTA 矮一点 */
.d57-conclusion .s23-gh-cta .btn { height: 42px; font-size: 13.5px; }
/* ---------- 窄屏：四个 Tab 必须**一屏排得下**，不能被截断成"要横滑才知道还有一档" ---------- */
@media (max-width: 430px) {
  .d57-tab { font-size: 12px; padding: 7px 9px; gap: 4px; }
  .d57-tab-ic { display: none; }
  .d57-tabbar { gap: 4px; }
}
/* 更窄的老设备：连图标带文字都放不下时，允许横滑，但给出渐隐提示 */
@media (max-width: 340px) {
  .d57-tab { font-size: 11.5px; padding: 7px 7px; }
}

/* ---------- 悬浮小金标再小一号，别挡住内容 ---------- */
.d57-vipfab { padding: 6px 10px 6px 8px; font-size: 11px; }
.d57-vipfab-ic svg { width: 12px; height: 12px; }

/* ============================================================================
   第 58 步【四】：房价曲线数据口径标注
   —— 真实导入 vs 拟合曲线，必须一眼可辨，绝不把内置基线当成真实行情
   ============================================================================ */
.d58-basis {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 10px; margin-bottom: 8px;
  border-radius: 10px;
  background: rgba(148, 163, 184, .10);
  border: 1px solid rgba(148, 163, 184, .22);
}
.d58-basis[data-basis="real"] {
  background: rgba(16, 185, 129, .10);
  border-color: rgba(16, 185, 129, .30);
}
.d58-basis .badge { flex: none; }
.d58-basis .tiny { line-height: 1.5; }

/* ---------- 数据基座：类型切换 chip 与城市选择器 ---------- */
[data-testid="data-base-panel"] .filter-bar { margin-bottom: 8px; }
[data-testid="data-base-panel"] select.input { padding: 8px 10px; font-size: 13px; }
.db-kind-bar .chip { white-space: nowrap; }

/* ============================================================================
   第 59 步：多模态 RAG 规划顾问
   —— 语音输入 / 拍照识别 / 结构化业务卡片 / 快捷意图胶囊 / 打字机与思考动画
   ============================================================================ */

/* ---------- ① 麦克风按钮（AI 对话框与全局搜索层共用同一份实现） ---------- */
.s59-ai-mic {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface-2, #FAF9F7);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .12s;
}
.s59-ai-mic:active { transform: scale(.94); }
.s59-ai-mic.is-unsupported { opacity: .42; cursor: not-allowed; }
.s59-ai-mic.listening {
  color: #fff;
  background: linear-gradient(135deg, #3A5A40, #4F7A55);
  border-color: transparent;
  animation: s59-mic-pulse 1.1s ease-in-out infinite;
}
@keyframes s59-mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58, 90, 64, .45); }
  50% { box-shadow: 0 0 0 7px rgba(58, 90, 64, 0); }
}

/* ---------- ② 📷 拍照自动识别（免打字）入口 ---------- */
.s59-ai-photo-wrap { position: relative; flex: 0 0 42px; display: flex; }
.s59-ai-photo {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface-2, #FAF9F7);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .18s, color .18s, transform .12s;
}
.s59-ai-photo:active { transform: scale(.94); }
.s59-ai-photo:disabled { opacity: .5; cursor: progress; }
.s59-ai-photo-status {
  position: absolute;
  left: 0; bottom: calc(100% + 10px);
  width: max-content; max-width: 240px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 10.5px; line-height: 1.5;
  color: #fff; background: rgba(38, 40, 44, .93);
  box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
  z-index: 5;
}
.s59-ai-photo-status[data-state="working"] { opacity: 1; transform: none; }
.s59-ai-photo-status[data-state="done"] { opacity: 1; transform: none; background: rgba(58, 90, 64, .95); }
.s59-ai-photo-status[data-state="error"] { opacity: 1; transform: none; background: rgba(178, 90, 90, .95); }
/* 识别结果已进入对话流，状态条 4 秒后淡出，把「快捷意图胶囊」那一行还给用户 */
.s59-ai-photo-status.is-faded { opacity: 0; }

/* ---------- ③ 引导文案（数据已调取，请拖动滑块） ---------- */
.s59-ai-handoff {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 9px; padding: 9px 11px;
  border-radius: 10px;
  background: var(--brand-050, #EEF3EE);
  border: 1px solid var(--brand-100, #DCE6DD);
  font-size: 12px; line-height: 1.65;
  color: var(--ink-2);
}
.s59-ai-handoff > svg { flex: none; margin-top: 2px; color: var(--brand-600, #2F4A35); }

/* ---------- ④ 结构化卡片插槽 ---------- */
.s59-ai-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.s59-ai-cards:empty { display: none; }

/* ---------- ⑤ 统筹风险进度条 ---------- */
.s59-ai-risk {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2, #FAF9F7);
}
.s59-ai-risk.tone-ok { border-color: rgba(78, 133, 99, .34); background: var(--ok-bg, #EBF3ED); }
.s59-ai-risk.tone-warn { border-color: rgba(176, 138, 62, .34); background: var(--warn-bg, #FAF3E3); }
.s59-ai-risk.tone-risk { border-color: rgba(178, 90, 90, .34); background: var(--risk-bg, #F9EDED); }
.s59-ai-risk-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; color: var(--ink-2); }
.s59-ai-risk-label { flex: none; }
.s59-ai-risk-band {
  flex: none; margin-left: auto;
  padding: 2px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800;
  color: #fff; background: var(--muted);
}
.s59-ai-risk.tone-ok .s59-ai-risk-band { background: var(--ok, #4E8563); }
.s59-ai-risk.tone-warn .s59-ai-risk-band { background: var(--warn, #B08A3E); }
.s59-ai-risk.tone-risk .s59-ai-risk-band { background: var(--risk, #B25A5A); }
.s59-ai-risk-num { display: flex; align-items: baseline; gap: 2px; margin: 6px 0 5px; }
.s59-ai-risk-num b {
  font-size: 30px; font-weight: 850; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.s59-ai-risk-num span { font-size: 13px; color: var(--muted); }
.s59-ai-risk-track {
  height: 10px; border-radius: 999px;
  background: rgba(38, 40, 44, .08);
  overflow: hidden;
}
.s59-ai-risk-fill {
  display: block; height: 100%;
  border-radius: 999px;
  background: var(--muted);
  transition: width .55s cubic-bezier(.22, .8, .24, 1);
}
.s59-ai-risk.tone-ok .s59-ai-risk-fill { background: linear-gradient(90deg, #4E8563, #77A886); }
.s59-ai-risk.tone-warn .s59-ai-risk-fill { background: linear-gradient(90deg, #D4A373, #C08E4E); }
.s59-ai-risk.tone-risk .s59-ai-risk-fill { background: linear-gradient(90deg, #C06060, #B23A3A); }
.s59-ai-risk-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 7px; font-size: 10.5px; line-height: 1.5; color: var(--muted);
}
.s59-ai-risk-factors {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.s59-ai-risk-factors li {
  display: flex; gap: 6px;
  font-size: 11px; line-height: 1.55; color: var(--ink-2);
}
.s59-ai-risk-factors li b { flex: none; color: var(--ink); font-weight: 750; }

/* ---------- ⑥ 红黄绿雷达图 ---------- */
.s59-ai-radar {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2, #FAF9F7);
}
.s59-ai-radar-hd { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; color: var(--ink-2); }
.s59-ai-radar-score {
  flex: none; padding: 2px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; color: #fff; background: var(--muted);
}
.s59-ai-radar-score.tone-ok { background: var(--ok, #4E8563); }
.s59-ai-radar-score.tone-warn { background: var(--warn, #B08A3E); }
.s59-ai-radar-score.tone-risk { background: var(--risk, #B25A5A); }
.s59-ai-radar-svg { margin-top: 6px; }
.s59-ai-radar-svg svg { display: block; width: 100%; height: auto; max-width: 320px; margin: 0 auto; }
.s59-ai-radar-legend {
  list-style: none; margin: 8px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px;
}
.s59-ai-radar-legend li {
  display: flex; align-items: flex-start; gap: 5px;
  min-width: 0; font-size: 10.5px; color: var(--muted);
}
.s59-ai-radar-legend li i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 3px; }
.s59-ai-radar-legend li b { flex: none; color: var(--ink-2); font-weight: 700; }
/* 备注允许折行：截成「近 5 年…」等于没说 */
.s59-ai-radar-legend li span { min-width: 0; white-space: normal; overflow: visible; line-height: 1.4; }

/* ---------- ⑦ 沙盘推演滑块插槽 ---------- */
.s59-ai-sandbox {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2, #FAF9F7);
}
.s59-ai-sandbox-hd {
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 8px;
  font-size: 11.5px; font-weight: 750; color: var(--ink-2);
}
.s59-ai-sandbox-hd > svg { flex: none; color: var(--brand-600, #2F4A35); }

/* ---------- ⑧ 未收录 → 申请收录快捷卡片 ---------- */
.s59-ai-missing {
  padding: 12px;
  border-radius: 12px;
  border: 1px dashed rgba(212, 163, 115, .65);
  background: var(--accent-050, #FAF3E9);
}
.s59-ai-missing-hd {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink);
}
.s59-ai-missing-hd b { font-weight: 750; }
.s59-ai-missing-hd > svg { flex: none; color: var(--accent-600, #B8895A); }
.s59-ai-missing .tiny { line-height: 1.6; margin: 6px 0 0; }
.s59-ai-missing-form { margin-top: 10px; }
.s59-ai-missing-form:empty { display: none; }

/* ---------- ⑨ 快捷意图胶囊（固定在输入区上方） ---------- */
.s59-ai-capsules { display: flex; flex-direction: column; gap: 5px; }
.s59-ai-capsules-label {
  font-size: 10px; font-weight: 700; line-height: 1.4;
  color: var(--muted-2, #A9A49B);
}
.s59-ai-capsules-row {
  display: flex; gap: 7px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.s59-ai-capsules-row::-webkit-scrollbar { display: none; }
.s59-ai-capsule {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px; font-weight: 750;
  white-space: nowrap;
  color: var(--ink-2);
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: border-color .18s, transform .16s, box-shadow .18s;
}
.s59-ai-capsule:hover, .s59-ai-capsule:focus-visible {
  border-color: var(--brand, #3A5A40);
  transform: translateY(-1px);
}
.s59-ai-capsule:active { transform: scale(.97); }
.s59-ai-capsule-ic { flex: none; font-size: 13px; line-height: 1; }
.s59-ai-capsule-txt { flex: none; line-height: 1; }

/* ---------- ⑩ 口径说明小字 ---------- */
.s59-ai-note {
  margin: 8px 0 0;
  font-size: 10px; line-height: 1.6;
  color: var(--muted-2, #A9A49B);
}

/* ---------- ⑪ 打字机光标 ---------- */
.s59-caret {
  display: inline-block;
  width: 2px; height: 1em;
  vertical-align: -2px;
  margin-left: 1px;
  background: var(--brand-600, #2F4A35);
  animation: s59-blink 1s step-end infinite;
}
@keyframes s59-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ---------- ⑫ 思考动画：扫描条 + 阶段文案 ---------- */
.s44-think-txt { font-style: normal; font-size: 12px; color: var(--muted); }
.s44-think-bar {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--line-2, #F1EFEA);
  overflow: hidden;
}
.s44-think-scan {
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: 38%; height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(58, 90, 64, 0), #3A5A40, rgba(58, 90, 64, 0));
  animation: s59-scan 1.25s linear infinite;
}
@keyframes s59-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(268%); }
}
.s44-bubble-think { flex-direction: column; align-items: stretch; gap: 0; }
.s44-bubble-think .s44-typing { align-self: flex-start; margin-bottom: 4px; }

/* ---------- ⑬ 底部安全区：键盘弹起时输入区吸附在键盘正上方 ----------
   根容器高度由 src/pages/ai.js 的 fit() 按 **visualViewport.height** 设定，
   而 visualViewport 就是「键盘上方那块区域」——
   输入区是根容器的最后一个 flex 子项（flex:0 0 auto），
   因此键盘一弹起它就自然贴在键盘上沿，对话内容不被遮挡。
   这里的 padding-bottom 只负责 home indicator 的物理安全区。 */
.s44-ai-stream { scroll-padding-bottom: 12px; }

/* =========================================================
   第 60 步：真实支付 / 9.9 微交易 / B 端线索留资
   ========================================================= */

/* ---------- ① 支付面板（二维码 + 轮询状态） ---------- */
.s60-pay-card { max-width: 380px; }
.s60-pay-amount {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  letter-spacing: .5px;
  color: var(--ink, #26282C);
  margin: 6px 0 2px;
}
.s60-pay-orderno {
  text-align: center;
  font-size: 11px;
  color: var(--muted, #888);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  word-break: break-all;
}
.s60-pay-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.s60-pay-qr-box {
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid var(--line, #E9E6E0);
  border-radius: var(--r-md, 10px);
  background: #fff;
}
.s60-pay-qr {
  display: block;
  line-height: 0;
}
.s60-pay-qr svg { display: block; width: 100%; height: 100%; }
.s60-pay-qr-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  color: var(--muted, #888);
  text-align: center;
}
.s60-pay-side {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.s60-pay-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2, #4A4E55);
}
.s60-pay-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted-2, #A8A8A8);
  flex: 0 0 auto;
}
.s60-ok .s60-pay-dot { background: var(--ok, #4E8563); }
.s60-warn .s60-pay-dot { background: var(--warn, #B08A3E); animation: s60-blink 1.2s ease-in-out infinite; }
.s60-risk .s60-pay-dot { background: var(--risk, #B25A5A); }
.s60-pay-countdown {
  font-size: 12px;
  color: var(--muted, #888);
  font-variant-numeric: tabular-nums;
}
.s60-pay-link {
  font-size: 12px;
  color: var(--brand, #3A5A40);
  text-decoration: none;
}
@keyframes s60-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

/* ---------- ② 9.9 元微交易入口 ---------- */
.s60-micro-strip {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--r-md, 10px);
  border: 1px solid var(--line, #E9E6E0);
  background: linear-gradient(135deg, var(--accent-050, #FAF3E9), var(--surface, #fff) 70%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s60-micro-strip.is-compact { padding: 10px; gap: 6px; }
.s60-micro-strip.is-owned {
  flex-direction: row;
  align-items: center;
  background: var(--ok-bg, #EBF3ED);
  border-color: transparent;
}
.s60-micro-head { display: flex; align-items: center; gap: 10px; }
.s60-micro-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-600, #B8895A);
  line-height: 1;
  white-space: nowrap;
}
.s60-micro-headline {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2, #4A4E55);
}
.s60-micro-points { display: flex; flex-wrap: wrap; gap: 6px; }
.s60-micro-point {
  font-size: 11px;
  color: var(--muted, #888);
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line-2, #F1EFEA);
  border-radius: 999px;
  padding: 3px 9px;
}
.s60-micro-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.s60-micro-buy { font-weight: 700; }

/* ---------- ③ 1V1 复核留资卡片 ---------- */
.s60-lead-card {
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--r-md, 10px);
  border: 1px solid var(--line, #E9E6E0);
  background: var(--surface-2, #FAF9F7);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s60-lead-card.is-compact { padding: 10px; gap: 6px; }
.s60-lead-card.is-done { background: var(--ok-bg, #EBF3ED); border-color: transparent; }
.s60-lead-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink, #26282C);
}
.s60-lead-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted, #888);
}
.s60-lead-form { display: flex; gap: 8px; flex-wrap: wrap; }
.s60-lead-input {
  flex: 1 1 90px;
  min-width: 0;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: var(--r-sm, 8px);
  border: 1px solid var(--line, #E9E6E0);
  background: #fff;
  color: var(--ink, #26282C);
  font-family: inherit;
}
.s60-lead-input:focus {
  outline: none;
  border-color: var(--brand, #3A5A40);
}
.s60-lead-tip {
  font-size: 11px;
  color: var(--muted, #888);
  line-height: 1.5;
}
.s60-lead-tip.is-warn { color: var(--warn, #B08A3E); }
.s60-lead-done {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ok, #4E8563);
  font-weight: 600;
}

/* ---------- ④ 挂载位置 ---------- */
.s60-intel-bottom {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}
.s60-ai-lead { margin-top: 8px; }
.s60-micro-page .s60-micro-risk {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.s60-micro-locked-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

/* ---------- ⑤ 后台表格：移动端横向滚动（不再把列挤成竖排文字） ---------- */
.s60-finance-table {
  min-width: 720px;
}
.s60-finance-table th,
.s60-finance-table td {
  white-space: nowrap;
}

/* =========================================================
   第 61 步【二·三·四】：深色黑金「尊贵会员中心」
   ---------------------------------------------------------
   ① 会员 / 升级页整屏深色（#121418 级别）+ 白字（壳层 CSS 变量整体换肤）
   ② 顶部 3D 质感皇冠徽章 + 「尊贵的终身护航会员，已解锁所有特权」
   ③ 三张定价卡：金色渐变边框 + 微光；终身尊享卡占 C 位（中间列，视觉主角）
   ④ 核心功能拆 16 个图标 → 4×4 特权矩阵网格（免费金锁 / VIP 金勾）
   ⑤ 场景内逼单：沙盘额度用尽的深色半屏 + 详情页顶部深色金字贴片 + 9.9 入口对比小字
   ========================================================= */

/* ---------- ① 壳层换肤：会员 / 升级页整屏深色 ---------- */
.s61-dark-shell {
  --ink: #F2EDE2;
  --ink-2: #CEC8BB;
  --muted: rgba(237, 234, 227, .62);
  --muted-2: rgba(237, 234, 227, .44);
  --bg: #121418;
  --surface: #171A1F;
  --surface-2: #1E222A;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .14);
  --text-2: rgba(237, 234, 227, .78);
  --brand-050: rgba(255, 214, 138, .10);
  --brand-100: rgba(255, 214, 138, .18);
  --navy-050: rgba(255, 214, 138, .08);
  --accent-050: rgba(255, 214, 138, .10);
  --ok-bg: rgba(110, 180, 130, .16);
  --warn-bg: rgba(214, 168, 80, .16);
  --risk-bg: rgba(190, 96, 96, .18);
  background: #121418;
}
.s61-dark-shell .sidebar { background: #14161A; border-right-color: rgba(255, 255, 255, .07); }
.s61-dark-shell .main { background: #121418; }
.s61-dark-shell .topbar {
  color: #F2EDE2;
  background: linear-gradient(120deg, #1B1E25 0%, #14161B 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .30);
}
.s61-dark-shell .card { background: #171A1F; border-color: rgba(255, 255, 255, .08); color: #EDEAE3; }
.s61-dark-shell .card-hd h2 { color: #F3EADB; }
.s61-dark-shell .admin-table th { background: #121519; color: rgba(237, 234, 227, .62); border-color: rgba(255, 255, 255, .08); }
.s61-dark-shell .admin-table td { border-color: rgba(255, 255, 255, .07); }
.s61-dark-shell .plan-table .vip-col { background: rgba(255, 214, 138, .08); }
.s61-dark-shell .s61-life-col { background: rgba(255, 214, 138, .14) !important; color: #F3E2B6; }
.s61-dark-shell .btn-ghost { background: rgba(255, 255, 255, .05); color: #D8D2C6; border-color: rgba(255, 255, 255, .16); }
.s61-dark-shell .badge { background: rgba(255, 255, 255, .08); color: rgba(237, 234, 227, .78); }
.s61-dark-shell .badge-vip { background: rgba(255, 214, 138, .16); color: #F0DFB4; }
.s61-dark-shell .badge-ok { background: rgba(110, 180, 130, .18); color: #B6E0C4; }
.s61-dark-shell .page-head-desc { color: rgba(237, 234, 227, .58); }
.s61-dark-shell .demo-strip { background: rgba(255, 255, 255, .05); color: rgba(237, 234, 227, .72); }

/* ---------- ② 会员中心整体 + 顶部 3D 皇冠徽章 ---------- */
.s61-wall { display: flex; flex-direction: column; gap: 16px; }
.s61-membership-page { color: #EDEAE3; }
.s61-hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 18px 22px; border-radius: 20px;
  background:
    radial-gradient(120% 95% at 50% -18%, rgba(255, 214, 138, .22), transparent 62%),
    linear-gradient(180deg, #191C22 0%, #0F1115 100%);
  border: 1px solid rgba(255, 214, 138, .24);
  box-shadow: 0 26px 62px -36px rgba(0, 0, 0, .95);
}
.s61-hero-badge { position: relative; width: 74px; height: 74px; margin-bottom: 12px; display: grid; place-items: center; }
.s61-crown-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 200deg, #FFF1CE, #C8A24A 22%, #7E5F28 44%, #E8C97A 66%, #FFF1CE 100%);
  opacity: .9;
  box-shadow: 0 0 26px rgba(255, 205, 120, .45);
  animation: s61-crown-spin 16s linear infinite;
}
.s61-crown-core {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #3A2C10;
  background: radial-gradient(62% 62% at 34% 28%, #FFF6DE, #E5C375 54%, #B08636 100%);
  box-shadow: 0 12px 26px -10px rgba(255, 208, 118, .60), inset 0 -4px 9px rgba(88, 58, 10, .38);
}
.s61-crown-core svg { stroke-width: 1.6; }
@keyframes s61-crown-spin { to { transform: rotate(360deg); } }
.s61-hero-kicker { font-size: 11px; letter-spacing: .3em; color: rgba(232, 201, 122, .86); }
.s61-hero-title { margin: 8px 0 0; font-size: 21px; font-weight: 800; line-height: 1.35; color: #F7EFDC; }
.s61-hero-sub { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: rgba(237, 234, 227, .66); }
.s61-hero-status {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin-top: 13px; padding: 5px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: #F0DFB4;
  background: rgba(255, 214, 138, .10);
  border: 1px solid rgba(255, 214, 138, .32);
}
.s61-hero-status-extra { color: rgba(240, 223, 180, .72); font-weight: 600; }

/* 免费版基线条（不再是墙里的一张卡） */
.s61-free-line {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
}
.s61-free-badge { font-size: 11px; font-weight: 800; color: #B9B4AA; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); }
.s61-free-text { font-size: 12px; color: rgba(237, 234, 227, .72); }

/* ---------- ③ 三张定价卡：金色渐变边框 + 微光 ---------- */
.s61-wall .s30-tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
  align-items: stretch; overflow: visible;
}
.s61-wall .s30-tier {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px 15px 16px; border-radius: 16px;
  border: 1px solid transparent;
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  background-image:
    linear-gradient(180deg, #15181D 0%, #0F1216 100%),
    linear-gradient(150deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .05) 46%, rgba(255, 214, 138, .30) 100%);
  box-shadow: 0 20px 44px -28px rgba(0, 0, 0, .95);
  color: #EDEAE3;
}
/* 终身尊享卡：C 位 —— 金色渐变边框 + 最强微光 + 独立皇冠徽章 */
.s61-wall .s30-tier-vip {
  z-index: 3;
  background-image:
    linear-gradient(180deg, #191C22 0%, #101318 100%),
    linear-gradient(150deg, #FFE9B6 0%, #C8A24A 40%, #7E5F28 68%, #E8C97A 100%);
  box-shadow: 0 26px 60px -26px rgba(255, 196, 92, .50), 0 0 0 1px rgba(255, 214, 138, .16);
}
/* 桌面端排序：包月（锚点）| 终身（C 位，主角）| 年卡（主推，紧邻 299 做直接对比） */
.s61-wall .s30-tier-monthly { order: 1; }
.s61-wall .s30-tier-vip { order: 2; }
.s61-wall .s30-tier-yearly { order: 3; }
.s61-wall .s61-tier-namewrap { display: flex; align-items: center; gap: 8px; color: #E8C97A; }
.s61-wall .s61-tier-name { font-size: 15px; font-weight: 800; color: #F5EDDC; letter-spacing: .01em; }
.s61-wall .plan-card-price-row { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.s61-wall .plan-card-price-num { font-size: 30px; font-weight: 900; line-height: 1.1; color: #F7E7C2; letter-spacing: -.01em; }
.s61-wall .s61-unit { font-size: 11px; color: rgba(237, 234, 227, .55); }
.s61-wall .s61-list-price { margin-left: 4px; font-size: 12px; color: rgba(237, 234, 227, .42); text-decoration: line-through; }
.s61-wall .s61-tier-tagline { font-size: 11px; line-height: 1.5; color: rgba(237, 234, 227, .56); }
.s61-wall .plan-perks {
  margin: 4px 0 0; padding-left: 0; list-style: none;
  font-size: 13px; line-height: 1.75; color: rgba(237, 234, 227, .82);
}
.s61-wall .plan-perks li { position: relative; padding-left: 15px; list-style: none; }
.s61-wall .plan-perks li::before {
  content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #F0D79A, #C8A24A);
}
.s61-wall .s30-anchor {
  margin-top: 2px; padding: 7px 9px; border-radius: 10px;
  font-size: 11.5px; line-height: 1.55; font-weight: 600;
  color: #E8C97A !important;
  background: rgba(255, 214, 138, .10);
  border: 1px solid rgba(255, 214, 138, .22);
}
.s61-wall .s61-note { font-size: 10.5px; line-height: 1.5; color: rgba(237, 234, 227, .45); margin-top: 2px; }
.s61-wall .s61-cta {
  width: 100%; margin-top: auto; height: 44px; border-radius: 12px;
  font-size: 13.5px; font-weight: 800; letter-spacing: .01em;
  color: #2A1F08;
  background: linear-gradient(135deg, #FFE7B0, #D9AE55 55%, #B98C33);
  border: 1px solid rgba(255, 231, 176, .55);
  box-shadow: 0 10px 24px -14px rgba(255, 196, 92, .75);
  cursor: pointer;
}
.s61-wall .s61-cta.is-lifetime {
  color: #201804;
  background: linear-gradient(135deg, #FFF3D2, #E8C97A 46%, #B98C33);
  box-shadow: 0 14px 30px -12px rgba(255, 196, 92, .90);
}
.s61-wall .s61-cta:active { transform: scale(.98); }
.s61-wall .s61-tag {
  align-self: flex-start; margin-bottom: 2px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 999px;
  color: #241B06; background: linear-gradient(135deg, #F6DFAE, #C8A24A);
}
.s61-wall .s61-tag-lifetime { color: #1E1603; background: linear-gradient(135deg, #FFF4D8, #E8C97A 55%, #C8A24A); }
.s61-wall .s61-tag-monthly { color: #EDEAE3; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); }
.s61-wall .s61-crown {
  position: absolute; top: -13px; right: 13px; z-index: 4;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; color: #3A2C10;
  background: radial-gradient(60% 60% at 34% 28%, #FFF6DE, #E5C375 55%, #B08636 100%);
  box-shadow: 0 8px 18px -6px rgba(255, 205, 120, .70);
}
.s61-wall .s61-reco { color: rgba(237, 234, 227, .60); font-size: 11.5px; }
.s61-wall .s61-reco .s30-reco-tag { color: #E8C97A; font-weight: 800; }

/* ---------- ④ 特权矩阵 4×4 网格 ---------- */
.s61-priv {
  padding: 16px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 214, 138, .14);
}
.s61-priv-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.s61-priv-title { font-size: 14px; font-weight: 800; color: #F3EADB; }
.s61-priv-sub { font-size: 11px; color: rgba(237, 234, 227, .48); }
.s61-priv-count { font-size: 11px; font-weight: 700; color: #E8C97A; }
.s61-priv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.s61-priv-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 13px 6px 10px; border-radius: 12px; text-align: center;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
}
.s61-priv-item.is-on {
  background: linear-gradient(180deg, rgba(255, 214, 138, .13), rgba(255, 214, 138, .03));
  border-color: rgba(255, 214, 138, .34);
}
.s61-priv-icon { display: inline-flex; color: rgba(237, 234, 227, .40); }
.s61-priv-item.is-on .s61-priv-icon { color: #E8C97A; }
.s61-priv-label { font-size: 11.5px; line-height: 1.35; color: rgba(237, 234, 227, .58); }
.s61-priv-item.is-on .s61-priv-label { color: #F1E9D6; }
.s61-priv-mark { position: absolute; top: 6px; right: 6px; display: inline-flex; }
.s61-priv-item.is-on .s61-priv-mark { color: #E8C97A; }
.s61-priv-item.is-off .s61-priv-mark { color: rgba(232, 201, 122, .60); }
.s61-priv-req {
  font-size: 9.5px; font-weight: 700; color: rgba(232, 201, 122, .78);
  padding: 1px 6px; border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, .30);
}

/* ---------- ⑤ 场景内逼单 ---------- */
/* ⑤-1 沙盘免费额度用尽后的深色半屏 */
.s61-quota-mask {
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(8, 10, 14, 0); transition: background .22s ease;
  padding: 0;
}
.s61-quota-mask.is-open { background: rgba(8, 10, 14, .62); }
.s61-quota-card {
  width: 100%; max-width: 520px; max-height: 88vh; overflow: auto;
  margin: 0; padding: 8px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  border-radius: 20px 20px 0 0;
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .3, 1);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 214, 138, .16), transparent 62%),
    linear-gradient(180deg, #171A20 0%, #0D0F13 100%);
  border: 1px solid rgba(255, 214, 138, .30);
  border-bottom: none;
  color: #EDEAE3;
}
.s61-quota-mask.is-open .s61-quota-card { transform: translateY(0); }
.s61-quota-head { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.s61-quota-emoji { font-size: 20px; line-height: 1; }
.s61-quota-title { font-size: 17px; font-weight: 800; color: #F7EFDC; }
.s61-quota-body { margin: 10px 0 0; font-size: 14px; line-height: 1.7; font-weight: 700; color: #F0DFB4; }
.s61-quota-sub { margin: 8px 0 0; font-size: 12px; line-height: 1.65; color: rgba(237, 234, 227, .62); }
.s61-quota-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; height: 48px; margin-top: 16px; border-radius: 13px;
  font-size: 15px; font-weight: 800; color: #201804;
  background: linear-gradient(135deg, #FFF3D2, #E8C97A 46%, #B98C33);
  border: 1px solid rgba(255, 231, 176, .60);
  box-shadow: 0 14px 30px -14px rgba(255, 196, 92, .85);
  cursor: pointer;
}
.s61-quota-close {
  display: block; width: 100%; margin-top: 8px; padding: 8px 0;
  background: none; border: none; cursor: pointer;
  font-size: 12px; color: rgba(237, 234, 227, .50);
}

/* ⑤-2 小区详情页顶部深色金字贴片 */
.s61-lb {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 14px; border-radius: 14px;
  background: linear-gradient(135deg, #15181D 0%, #0E1014 100%);
  border: 1px solid rgba(255, 214, 138, .32);
  box-shadow: 0 12px 32px -22px rgba(255, 196, 92, .55);
}
/* ⚠️ 详情页 .result-cards 是 flex 列，且 `html:not(.details-open-mode) .result-cards > *`
   把所有子元素统一成 order:10 —— 不显式给 order，贴片会被排到页面最末尾。
   这里显式给 order:0：
     · 真实用户态 → 贴在标题条之上，是页面第一眼；
     · 自动化回归态（details-open-mode）→ 与其它子元素同为 order:0，按 DOM 顺序排在标题条之后、结论卡之前。 */
html body .result-cards > .s61-lb { order: 0; }
.s61-lb-body { flex: 1 1 240px; min-width: 0; }
.s61-lb-text { font-size: 13px; font-weight: 800; line-height: 1.45; color: #F0D79A; }
.s61-lb-sub { margin-top: 2px; font-size: 11px; color: rgba(240, 215, 154, .66); }
.s61-lb-cta {
  flex: none; height: 34px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-weight: 800; color: #201804;
  background: linear-gradient(135deg, #FFF3D2, #E8C97A 50%, #B98C33);
  border: 1px solid rgba(255, 231, 176, .55);
  box-shadow: 0 8px 20px -12px rgba(255, 196, 92, .85);
}

/* ⑤-3 9.9 入口旁的「单次 vs 终身」对比小字 */
.s61-micro-compare {
  margin: 7px 0 0; text-align: center;
  font-size: 11px; line-height: 1.5; color: #8A6418;
}
.s60-micro-strip.is-owned .s61-micro-compare { color: var(--muted-2); }

/* 会员页零散件 */
.s61-membership-page .s61-foot-note { color: rgba(237, 234, 227, .48); }
.s61-membership-page .consult-row { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .08); }
/* 深色底上的能力陈述句：旧样式写死了 #1F2937（深色），在深色卡上几乎看不见 */
.s61-dark-shell .s33-headline { color: rgba(237, 234, 227, .82); }

/* 权益对比表：第 61 步扩为五列（免费 / 包月 / 年卡 / 终身）。
   ⚠️ 旧样式只定义了 4 列的列宽（35/16/19/30%），第 5 列会拿到 0 宽，
   结果「终身尊享卡」整列被压成竖排单字 —— 必须重排列宽并给最小宽度。 */
.s61-membership-page .s61-benefit { min-width: 660px; }
.s61-membership-page .s61-benefit th:nth-child(1),
.s61-membership-page .s61-benefit td:nth-child(1) { width: 22%; }
.s61-membership-page .s61-benefit th:nth-child(2),
.s61-membership-page .s61-benefit td:nth-child(2) { width: 12%; }
.s61-membership-page .s61-benefit th:nth-child(3),
.s61-membership-page .s61-benefit td:nth-child(3) { width: 14%; }
.s61-membership-page .s61-benefit th:nth-child(4),
.s61-membership-page .s61-benefit td:nth-child(4) { width: 26%; }
.s61-membership-page .s61-benefit th:nth-child(5),
.s61-membership-page .s61-benefit td:nth-child(5) { width: 26%; }
.s61-membership-page .s61-benefit th,
.s61-membership-page .s61-benefit td { white-space: normal; }
.s61-membership-page .s61-benefit td.tiny { font-size: 11.5px; line-height: 1.6; }

/* ---------- 移动端：横向等宽轨道（页面本身不横向溢出） ---------- */
@media (max-width: 640px) {
  .s61-wall .s30-tiers {
    display: flex; flex-wrap: nowrap; grid-template-columns: none;
    gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 14px 2px 18px;
  }
  .s61-wall .s30-tier { flex: 0 0 80%; max-width: 80%; scroll-snap-align: center; padding: 20px 14px 16px; }
  /* 移动端让旗舰卡排最前：用户第一眼看到的就是终身买断 */
  .s61-wall .s30-tier-vip { order: 1; }
  .s61-wall .s30-tier-monthly { order: 2; }
  .s61-wall .s30-tier-yearly { order: 3; }
  .s61-hero { padding: 22px 14px 18px; }
  .s61-hero-title { font-size: 18px; }
  .s61-hero-badge { width: 62px; height: 62px; }
  .s61-crown-core { width: 48px; height: 48px; }
  .s61-priv-grid { gap: 7px; }
  .s61-priv-item { padding: 11px 3px 9px; }
  .s61-priv-label { font-size: 10.5px; }
  .s61-priv-req { font-size: 9px; padding: 0 4px; }
  .s61-lb { gap: 8px; }
  .s61-lb-text { font-size: 12.5px; }
  .s61-lb-cta { width: 100%; height: 38px; }
}
/* ==========================================================================
   第 62 步【一】病毒式裂变：学区体检档案长图（深色黑金）
   --------------------------------------------------------------------------
   长图弹窗沿用第 61 步会员中心的「深色黑金」语言：深空灰底 + 金色渐变，
   与会员中心并列为全站两张深色页面（一个卖权益，一个做传播）。
   ========================================================================== */

.s62-poster-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: s62-fade-in 0.2s ease;
}

@keyframes s62-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.s62-poster-card {
  width: min(100%, 420px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(168deg, #171A1F 0%, #121418 46%, #0E1013 100%);
  border: 1px solid rgba(212, 175, 55, 0.34);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(240, 210, 122, 0.08),
    inset 0 1px 0 rgba(240, 210, 122, 0.14);
  animation: s62-rise 0.24s cubic-bezier(0.22, 0.9, 0.3, 1);
}

@keyframes s62-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.s62-poster-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s62-poster-title {
  font-size: 17px;
  font-weight: 800;
  color: #F3E9CF;
  letter-spacing: 0.4px;
}

.s62-poster-sub {
  font-size: 12px;
  color: rgba(243, 233, 207, 0.56);
}

.s62-poster-close {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(243, 233, 207, 0.72);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.s62-poster-close:hover {
  background: rgba(212, 175, 55, 0.16);
  color: #F0D27A;
}

/* 长图预览：限高 + 圆角金边，模拟「一张可以存下来的海报」 */
.s62-poster-preview {
  align-self: center;
  width: 100%;
  max-width: 320px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.s62-poster-canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

/* 裂变激励文案：金色高亮关键承诺 */
.s62-poster-incentive {
  padding: 12px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(243, 233, 207, 0.88);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.s62-poster-incentive b {
  color: #F0D27A;
  font-weight: 800;
}

.s62-poster-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.s62-poster-save {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #16110A;
  cursor: pointer;
  background: linear-gradient(135deg, #F0D27A 0%, #D4AF37 52%, #B8912A 100%);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.28);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}

.s62-poster-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.36);
}

.s62-poster-cancel {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(243, 233, 207, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(243, 233, 207, 0.8);
  font-size: 14px;
  cursor: pointer;
}

/* 结果页 / 小区详情页的长图入口：金色描边的次级按钮 */
.s62-poster-link {
  color: #9A6F08;
}

html .s25-next-link.s62-poster-link {
  color: #A87B12;
  font-weight: 700;
}

/* ==========================================================================
   第 62 步【二】划片预警订阅 + 消息中心
   ========================================================================== */

.s62-sub-wrap {
  margin: 2px 0 4px;
}

.s62-sub-wrap.is-compact {
  margin: 0;
}

.s62-sub-note.is-on {
  color: var(--ok);
}

/* 消息中心：预警消息红色高亮（未读左侧红条 + 红点） */
.s62-msg-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s62-msg {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.s62-msg:hover {
  transform: translateX(1px);
  border-color: rgba(212, 175, 55, 0.4);
}

/* 预警类：红底浅红字 + 左侧红条 */
.s62-msg.is-alert {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.09), rgba(220, 38, 38, 0.03));
  border-color: rgba(220, 38, 38, 0.32);
}

.s62-msg.is-alert::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #DC2626;
}

.s62-msg-ic {
  flex: none;
  margin-top: 1px;
  color: var(--muted);
}

.s62-msg.is-alert .s62-msg-ic {
  color: #DC2626;
}

.s62-msg-body {
  flex: 1 1 auto;
  min-width: 0;
}

.s62-msg-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.s62-msg.is-alert .s62-msg-title {
  color: #B91C1C;
}

.s62-msg-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

.s62-msg-meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
}

.s62-msg-local {
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: #8A6410;
  font-size: 10.5px;
}

/* 未读红点 */
.s62-msg-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: transparent;
}

.s62-msg.is-unread .s62-msg-dot {
  background: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14);
}

/* 站内信直达统筹推演时的一次性高亮 */
.s62-focus-flash {
  animation: s62-focus 2.4s ease;
}

@keyframes s62-focus {
  0%, 100% { box-shadow: none; }
  18% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.55), 0 0 28px rgba(212, 175, 55, 0.35); }
  62% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.32), 0 0 18px rgba(212, 175, 55, 0.2); }
}

/* ==========================================================================
   第 62 步【三】B 端：拦截页留资选项 + 增长看板漏斗
   ========================================================================== */

/* 深色半屏里的第二条路：留手机号换 1V1 免费复核 */
.s62-quota-lead-sep {
  position: relative;
  margin: 16px 0 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(243, 233, 207, 0.5);
}

.s62-quota-lead-sep::before,
.s62-quota-lead-sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 26px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3));
}

.s62-quota-lead-sep::before { left: 0; }
.s62-quota-lead-sep::after { right: 0; transform: scaleX(-1); }

.s62-quota-lead-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.s62-quota-lead-form .s60-lead-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.28);
  color: #F3E9CF;
}

.s62-quota-lead-form .s60-lead-input::placeholder {
  color: rgba(243, 233, 207, 0.38);
}

.s62-quota-lead-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.12);
  color: #F0D27A;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.s62-quota-lead-btn:hover:not(:disabled) {
  background: rgba(212, 175, 55, 0.22);
}

.s62-quota-lead-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.s62-quota-lead-tip {
  font-size: 11.5px;
  color: rgba(243, 233, 207, 0.48);
}

.s62-quota-lead-tip.is-warn {
  color: #F0A868;
}

.s62-quota-lead-done {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  border-radius: 11px;
  font-size: 13px;
  color: #CFE9D8;
  background: rgba(46, 125, 50, 0.14);
  border: 1px solid rgba(102, 187, 106, 0.3);
}

/* 线索转化漏斗 */
.s62-funnel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.s62-funnel-step {
  padding: 14px 10px;
  text-align: center;
  border-radius: 12px;
  background: var(--surface-2, rgba(0, 0, 0, 0.03));
  border: 1px solid var(--line-2);
}

.s62-funnel-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.s62-funnel-label {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* 后台预警下发结果提示 */
.s62-alert-result {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.s62-alert-result.is-ok {
  color: var(--ok);
}

.s62-alert-result.is-err {
  color: var(--risk);
}

@media (max-width: 640px) {
  .s62-poster-card {
    width: 100%;
    padding: 16px 13px 14px;
    border-radius: 15px;
  }

  .s62-poster-preview {
    max-width: 260px;
  }

  .s62-poster-title {
    font-size: 15.5px;
  }

  .s62-poster-incentive {
    font-size: 12.5px;
    padding: 10px 11px;
  }

  .s62-poster-save,
  .s62-poster-cancel {
    min-height: 42px;
  }

  .s62-funnel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .s62-funnel-num {
    font-size: 19px;
  }
}
/* ==========================================================================
   第 63 步：定价页文案硬伤修复 · 特权矩阵 UI 重构 · 表格白字 Bug · 折叠降噪
   --------------------------------------------------------------------------
   ① 表单快捷按钮改以「年级」为绝对核心（大字=年级，小字=年龄段）
   ② 特权矩阵 16 → 8 项：图标放大到 32px、文字 14px 加粗、去掉繁琐底色
   ③ 权益对比表首列白字 Bug 根治（深色实底 + 浅色字 + 移动端 sticky 实底）
   ④ 长页面折叠降噪（规则逐条折叠 / 列表只露 3 条 + 底部抽屉）
   ========================================================================== */

/* ---------- ① 年级优先的快捷按钮 ---------- */
.s44-age-row.is-single { grid-template-columns: minmax(0, 1fr); }
.s63-grade-btn { gap: 4px; }
.s63-grade-btn b { font-size: 17px; font-weight: 800; line-height: 1.25; }
.s63-grade-btn span { font-size: 11px; font-weight: 600; color: #8A8277; }
.s63-grade-btn.is-active {
  background: linear-gradient(180deg, rgba(212, 175, 55, .14), rgba(212, 175, 55, .05));
  border-color: rgba(196, 150, 45, .42);
}
.s63-grade-btn.is-active b { color: #6B5310; }
.s63-grade-btn.is-active span { color: #8A6E24; }

/* 入学年份次级快捷行 */
.s44-year-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 2px; }
.s63-year-btn {
  padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #6E675C;
  background: var(--surface-2, #F5F3EF); border: 1px solid var(--line);
  cursor: pointer; white-space: nowrap;
}
.s63-year-btn.is-active {
  color: #6B5310; font-weight: 700;
  background: rgba(212, 175, 55, .14); border-color: rgba(196, 150, 45, .40);
}

/* ---------- ② 特权矩阵瘦身：8 项 / 32px 图标 / 14px 加粗 / 无底色 ---------- */
.s61-priv { padding: 18px 16px; }
.s61-priv-head { margin-bottom: 16px; }
.s61-priv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 16px;
}
.s61-priv-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 4px 2px; border-radius: 12px; text-align: center;
  background: transparent;
  border: 0;
}
.s61-priv-item.is-on { background: transparent; border-color: transparent; }
.s61-priv-icon { display: inline-flex; color: rgba(237, 234, 227, .42); }
.s61-priv-item.is-on .s61-priv-icon { color: #E8C97A; }
.s61-priv-label {
  font-size: 14px; font-weight: 700; line-height: 1.35;
  color: rgba(237, 234, 227, .60);
}
.s61-priv-item.is-on .s61-priv-label { color: #F3EADB; }
.s61-priv-foot { display: inline-flex; align-items: center; gap: 5px; }
.s61-priv-mark { display: inline-flex; }
.s61-priv-item.is-on .s61-priv-mark { color: #E8C97A; }
.s61-priv-item.is-off .s61-priv-mark { color: rgba(232, 201, 122, .55); }
.s61-priv-req {
  font-size: 10px; font-weight: 700; color: rgba(232, 201, 122, .78);
  padding: 1px 7px; border-radius: 999px;
  border: 1px solid rgba(232, 201, 122, .30);
}
@media (max-width: 640px) {
  .s61-priv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .s61-priv-label { font-size: 13px; }
}

/* ---------- ③ 权益对比表白字 Bug 根治 ---------- */
/* 症状：表格第一列（功能列）背景变白、文字也是白/浅色，整列看不见。
   成因：① 深色壳里 .admin-table td 没有自己的底色，文字却继承了浅色；
        ② 移动端 sticky 首列被第 54 步的 `background:#FFFFFF` 写死成白底。
   修法：首列与整表统一深色实底 + 浅色字；sticky 首列同样是深色实底。 */
.s61-dark-shell .s61-benefit { background: #1A1C23; }
.s61-dark-shell .s61-benefit thead th { background: #15171D; color: rgba(237, 234, 227, .72); }
.s61-dark-shell .s61-benefit td { background: #1A1C23; color: rgba(237, 234, 227, .86); }
.s61-dark-shell .s61-benefit td.tiny { color: rgba(237, 234, 227, .74); }
.s61-dark-shell .s61-benefit td.tiny.muted { color: rgba(237, 234, 227, .54); }
.s61-dark-shell .s61-benefit .vip-col { background: rgba(255, 214, 138, .08); }
.s61-dark-shell .s61-benefit .s61-life-col { background: rgba(255, 214, 138, .14) !important; color: #F3E2B6; }
.s61-dark-shell .s61-benefit th:first-child,
.s61-dark-shell .s61-benefit td:first-child {
  background: #1A1C23;
  color: #F3EADB;
  font-weight: 700;
}
@media (max-width: 640px) {
  .s61-dark-shell .s61-benefit th:first-child,
  .s61-dark-shell .s61-benefit td:first-child {
    position: sticky; left: 0; z-index: 2;
    background: #1A1C23;
    box-shadow: 1px 0 0 rgba(255, 255, 255, .10);
  }
  /* 盖住滚动容器左侧内边距缝里透出来的被裁切表文：
     滚动容器按 padding box 裁剪，被裁掉的列会从左侧缝里露出一截，
     看着像渲染错位。这一层用同色不透明块把缝补平。 */
  .s61-dark-shell .s61-benefit th:first-child::before,
  .s61-dark-shell .s61-benefit td:first-child::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; right: 100%;
    width: var(--sp-3);
    background: #1A1C23;
  }
  /* ⚠️ 关键补丁（第 63 步复检时发现）：
     移动端通用规则 `table { display:block; overflow-x:auto }` 会把**表格自身**
     变成 overflow 容器 —— 而这张表的内容并不溢出表格框（sw == cw），
     于是 sticky 首列的「最近滚动祖先」变成了这张永远不会滚动的表格，
     `left:0` 钉在表格边框上，横向滑动时首列直接跟着内容滑走（sticky 形同失效）。
     真正在横向滚的是外层 .card-pad（JS 内联 overflow:auto）。
     修法：把这张表还原成 table 布局并放开 overflow，
     让 .card-pad 成为 sticky 的滚动祖先，首列才真的能吸住。 */
  .s61-dark-shell .s61-benefit {
    display: table;
    width: max-content;
    overflow-x: visible;
  }
}

/* ---------- ④ 长页面折叠降噪 ---------- */
/* 判定依据逐条规则：默认只露标题，点标题才展开详细说明 */
.s63-rule-acc .d57-acc-item { border-bottom: 1px solid rgba(0, 0, 0, .06); }
.s63-rule-acc .d57-acc-item:last-child { border-bottom: 0; }
.s63-rule-acc .d57-acc-head { padding: 12px 2px; }
.s63-rule-acc .d57-acc-title { font-size: 14px; font-weight: 700; }
.s63-rule-acc .d57-acc-summary { font-size: 12px; }
.s63-rule-acc .d57-acc-body { padding: 0 2px 12px 26px; }
.s63-rule-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 22px; padding: 0 7px; border-radius: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  background: rgba(43, 58, 74, .08); color: #2B3A4A;
}
.s63-rule-badge.pass { background: rgba(31, 122, 74, .12); color: #1F7A4A; }
.s63-rule-badge.warn { background: rgba(180, 120, 20, .14); color: #96660F; }
.s63-rule-badge.fail { background: rgba(176, 48, 40, .12); color: #B03028; }

/* 学校页：师资 / 房产列表默认只露 3 条，底部按钮 + 底部抽屉 */
.s63-list-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 9px 14px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: #2B3A4A;
  background: var(--surface-2, #F5F3EF); border: 1px solid var(--line);
  cursor: pointer;
}
.s63-list-more:active { background: #EDE9E0; }
.s63-list-more-arrow { display: inline-flex; opacity: .6; }

/* 卡片间距加大：用大留白区分信息模块 */
.page-body.s63-airy { gap: 24px; }
.page-body.s63-airy > .card { margin-bottom: 0; }

/* ---------- ④ 首屏收敛：结论横幅 + 分数圆环 + 一键生成完整报告 ---------- */
/* 结果页首屏：圆环 + 报告按钮并进结论横幅尾部（不再是另一张卡） */
.vb-extra .s63-first { flex: 1 1 100%; }
.s63-first {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
}
.s63-first-ring { display: flex; justify-content: center; }
.s63-first-body { min-width: 0; }
.s63-first-title { display: block; font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.4; }
.s63-first-tip { margin: 3px 0 0; font-size: 12px; color: var(--muted); line-height: 1.45; }
.s63-first-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.s63-first-btn { flex: 1 1 180px; justify-content: center; }
.s63-first-cta .btn-soft { flex: 0 0 auto; }
@media (max-width: 420px) {
  .s63-first { grid-template-columns: minmax(0, 1fr); }
  .s63-first-ring { justify-content: flex-start; }
  .s63-first-btn { flex: 1 1 100%; }
}

/* 输入摘要 chips（下沉到判定依据折叠体后的样子） */
.s63-input-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 12px;
  background: var(--surface-2, #F5F3EF); border: 1px solid var(--line);
}
.s63-input-summary-k { font-size: 12px; font-weight: 800; color: var(--muted); margin-right: 2px; }

/* ---------- ⑤ 逐条规则折叠：标题 + 状态徽标 ---------- */
.s63-rule-head { flex-direction: row; align-items: center; gap: 8px; }
.s63-rule-name { flex: 1; min-width: 0; }
.s63-rule-status {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 999px;
  font-size: 12px; font-weight: 800; line-height: 1;
  background: rgba(43, 58, 74, .08); color: #2B3A4A;
}
.s63-rule-status.pass { background: rgba(31, 122, 74, .14); color: #1F7A4A; }
.s63-rule-status.warn { background: rgba(180, 120, 20, .16); color: #96660F; }
.s63-rule-status.fail { background: rgba(176, 48, 40, .14); color: #B03028; }
.s63-rule-item { margin-top: 4px; }

/* ---------- ⑥ 列表「展开查看全部 XX 条」按钮（师资 / 对口小区） ---------- */
.s63-list-arrow { display: inline-flex; opacity: .55; }
.s63-list-more { margin-top: 12px; width: 100%; justify-content: center; }

/* ---------- ⑦ 卡片间距加大：全站信息模块之间的大留白 ---------- */
.result-cards { gap: 20px; }
.s24-folds { gap: 10px; }
@media (min-width: 720px) {
  .result-cards { gap: 24px; }
}
/* 真实用户态：结果页首屏顺序固定为 标题条 → 结论横幅 → 圆环+报告 → 三个折叠卡 */
html:not(.details-open-mode) .result-cards.s24-result > .result-title-bar { order: 1; }
html:not(.details-open-mode) .result-cards.s24-result > .verdict-banner { order: 2; }
html:not(.details-open-mode) .result-cards.s24-result > .s63-first { order: 3; }
html:not(.details-open-mode) .result-cards.s24-result > .s24-folds { order: 4; }
html:not(.details-open-mode) .s24-folds { gap: 10px; }
/* ==========================================================================
   第 65 步【二】：防统筹表单极简秒填化
   --------------------------------------------------------------------------
   目标：用户一进判定页「一眼看懂、3 秒填完」。
   ① 示例按钮贴到地址输入框正上方（淡蓝色 + ✨）；
   ② 户口一致性改成三个大圆角 Tag（大字给结论、小字给人话）；
   ③ 操作栏在键盘弹起时不再隐藏 —— 常驻贴在键盘上沿（第 54 步契约变更）。
   ========================================================================== */

/* ① 淡蓝色示例按钮 */
.s65-example-btn {
  align-self: flex-start;
  background: linear-gradient(180deg, #EAF4FF 0%, #DCEEFF 100%);
  color: #1B6FC4;
  border: 1px solid #BEDCFA;
  font-weight: 700;
  box-shadow: 0 2px 8px -4px rgba(27, 111, 196, .35);
}
.s65-example-btn:active { background: linear-gradient(180deg, #DCEEFF 0%, #CFE6FC 100%); }

/* ② 户口一致性：三个等宽大圆角 Tag */
.s65-hukou-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.s65-hukou-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 8px 6px;
  border: 1px solid var(--line, #E4E1DA);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--ink-2, #5C574D);
  font: inherit;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.s65-hukou-tag-label { font-size: 15px; font-weight: 800; color: var(--ink, #232019); }
.s65-hukou-tag-hint { font-size: 10.5px; line-height: 1.35; color: var(--muted-2, #8C8880); text-align: center; }
.s65-hukou-tag.is-active {
  background: #2B3A4A;
  border-color: #2B3A4A;
}
.s65-hukou-tag.is-active .s65-hukou-tag-label { color: #FFFFFF; }
.s65-hukou-tag.is-active .s65-hukou-tag-hint { color: rgba(255, 255, 255, .72); }

/* ③ 操作栏常驻：键盘弹起时贴着键盘上沿，且不遮挡聚焦中的输入框 */
.entry-scroll { scroll-padding-bottom: 84px; }
/* ④ 判定页的合规声明收成一行浅色小字（第 65 步【二】1）：
   判定页要「纯白极简」，深灰色大块声明块既抢视线又占高度。
   口径一字不改，只把呈现压到最小 —— 仍然在页面上，只是安静地待着。 */
[data-testid="entry-scroll"] .global-disclaimer {
  margin-top: 6px;
  padding: 4px 2px;
  border-radius: 0;
  background: transparent;
  color: var(--muted-2, #8C8880);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 6px;
}
[data-testid="entry-scroll"] .global-disclaimer svg { display: none; }
[data-testid="entry-scroll"] .global-disclaimer-ver {
  margin-left: 0;
  padding: 0 6px;
  border-color: var(--line, #E4E1DA);
  color: var(--muted-2, #8C8880);
  font-size: 10px;
}
/* ==========================================================================
   第 67 步：极致极简主义重构 —— 输入页「一屏一事」
   --------------------------------------------------------------------------
   三块改造对应的样式：
     ① 查小区 / 查学校输入页：页面正中央一个超大搜索框 + 框内右侧小图标
        + 下方只有热门胶囊 + 大面积留白；
     ② 防统筹表单：三步对话式卡片（每屏一张卡）+ 底部巨型「极速测算风险」；
     ③ 小区详情页首屏：单 CTA + 「展开更多深度解析」抽屉（不点不渲染）。
   另外把长提示 / 免责 / 解释文字一律变小变灰（【四】）。
   ========================================================================== */

/* ---------- 【一】输入页：超大居中搜索框 ---------- */
.s67-search-page {
  gap: 16px;
  /* 视觉重心上移：搜索框落在「页面正中央偏上」，下方留白 */
  padding-top: 7vh;
  padding-bottom: 24px;
}
.s67-search-wrap {
  padding: 0;
  max-width: 720px;
}
.s67-search-wrap .mini-search-hint {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2, #A8A8A8);
  line-height: 1.5;
  margin-bottom: 10px;
}
.mini-search-box.s67-search {
  height: 62px;
  padding: 0 10px 0 22px;
  gap: 12px;
  border: 1.5px solid #E7E4DD;
  border-radius: 31px;
  background: #FFFFFF;
  box-shadow: 0 12px 34px -18px rgba(38, 40, 44, .35);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.mini-search-box.s67-search:hover { border-color: #D6D2C9; }
.mini-search-box.s67-search svg { width: 22px; height: 22px; color: var(--ink-2, #4A4E55); }
.mini-search-box.s67-search .mini-search-ph {
  font-size: 16px;
  font-weight: 600;
  color: #A8A8A8;
}
/* 框内右侧的小图标（定位 / 拍照）：微信 / 淘宝搜索框里的相机图标同款 */
.s67-trail-btn {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted, #888888);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.s67-trail-btn:hover { background: var(--surface-2, #FAF9F7); color: var(--ink, #26282C); }
.s67-trail-btn:disabled { opacity: .55; cursor: default; }
.s67-trail-btn.locating { color: var(--navy, #344E6C); animation: s67TrailPulse 1s ease-in-out infinite; }
.s67-trail-btn.locate-failed { color: var(--risk, #B25A5A); }
@keyframes s67TrailPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}
/* 全屏搜索层里同样放这两个小图标（真输入框内部最右侧） */
.fsl-field .s67-trail-btn { width: 32px; height: 32px; }
.fsl-field .s67-trail-btn svg { width: 17px; height: 17px; }
/* 层内空态：一行轻提示（原来那两张大卡已彻底移除） */
.s67-layer-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 6px;
  color: var(--muted-2, #A8A8A8);
  font-size: 13px;
}
.s67-layer-empty svg { flex: none; }
/* 热门胶囊：唯一的下方元素 */
.s67-search-page .hot-tags { margin-top: 4px; }
.s67-search-page .hot-tags-label {
  font-size: 11px;
  color: var(--muted-2, #A8A8A8);
}
/* 页面最底部的隐私承诺：收成一个「?」气泡（长文只在 data-tip 里） */
.s67-privacy-dot {
  align-self: flex-start;
  margin-top: 10px;
  color: var(--muted-2, #A8A8A8);
}
.s67-privacy-dot .sr-only { display: none; }

/* ---------- 【四】输入页 / 结果页：合规提示压成一行浅灰小字 ----------
   「口径提示条」与页脚免责声明都是**必要**的合规文案，
   但它们原本是一块橙底 + 一块深灰底的大色块 —— 在首屏里比搜索框还抢眼。
   现在口径一字不改，只把呈现压到最小：透明底、浅灰字、无图标。 */
#page-slot:has(.s67-search-page) .demo-strip,
#page-slot:has([data-testid="community-detail-page"]) .demo-strip {
  margin: 0 0 8px !important;
  padding: 3px 2px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--muted-2, #A8A8A8);
  font-size: 10.5px;
  line-height: 1.6;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}
#page-slot:has(.s67-search-page) .demo-strip svg,
#page-slot:has([data-testid="community-detail-page"]) .demo-strip svg { display: none; }
#page-slot:has(.s67-search-page) .global-disclaimer,
#page-slot:has([data-testid="community-detail-page"]) .global-disclaimer {
  margin-top: 8px;
  padding: 4px 2px;
  border-radius: 0;
  background: transparent;
  color: var(--muted-2, #A8A8A8);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 6px;
}
#page-slot:has(.s67-search-page) .global-disclaimer svg,
#page-slot:has([data-testid="community-detail-page"]) .global-disclaimer svg { display: none; }
#page-slot:has(.s67-search-page) .global-disclaimer-ver,
#page-slot:has([data-testid="community-detail-page"]) .global-disclaimer-ver {
  margin-left: 0;
  padding: 0 6px;
  border-color: var(--line, #E9E6E0);
  color: var(--muted-2, #A8A8A8);
  font-size: 10px;
}
/* 判定页的选填抽屉摘要：一行浅灰小字，别跟三张主卡抢视线 */
.s67-entry .wizard-optional {
  border-style: solid;
  border-color: var(--line-2, #F1EFEA);
  padding: 10px 12px;
}
.s67-entry .wizard-optional > summary {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2, #A8A8A8);
}

/* ---------- 【二】防统筹表单：三步对话式卡片 ---------- */
.s67-entry .page-head-desc { display: none; }
.s67-entry-meta { font-size: 12px; }
.s67-restart-link {
  border: none;
  background: transparent;
  padding: 2px 4px;
  color: var(--muted-2, #A8A8A8);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.s67-restart-link:hover { color: var(--muted, #888888); }

.s67-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 18px 22px;
  border-radius: 18px;
}
.s67-q {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.s67-q-main {
  font-size: 23px;
  font-weight: 800;
  color: var(--ink, #26282C);
  letter-spacing: .01em;
  line-height: 1.35;
}
.s67-q-sub {
  font-size: 12px;
  color: var(--muted, #888888);
  line-height: 1.5;
}

/* 卡片 1：三个巨大按钮 */
.s67-role-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.s67-role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 108px;
  padding: 14px 8px;
  border: 1.5px solid var(--line, #E9E6E0);
  border-radius: 18px;
  background: #FFFFFF;
  color: var(--ink, #26282C);
  font: inherit;
  cursor: pointer;
  transition: transform .14s ease, border-color .16s ease, background .16s ease;
}
.s67-role-btn:active { transform: scale(.985); }
.s67-role-main { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.s67-role-hint { font-size: 11px; line-height: 1.4; color: var(--muted, #888888); text-align: center; }
.s67-role-btn.is-active {
  background: linear-gradient(180deg, #344E6C 0%, #2A405A 100%);
  border-color: #2A405A;
  color: #FFFFFF;
}
.s67-role-btn.is-active .s67-role-hint { color: rgba(255, 255, 255, .74); }

/* 卡片 2：巨大的年份滚动选择器 */
.s67-year-picker { display: flex; flex-direction: column; gap: 10px; }
.s67-year-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}
.s67-year-value {
  font-size: 54px;
  font-weight: 850;
  line-height: 1;
  color: var(--ink, #26282C);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.s67-year-body {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 10px;
  align-items: stretch;
}
.s67-year-wheel {
  max-height: 216px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y proximity;
  border: 1.5px solid var(--line, #E9E6E0);
  border-radius: 16px;
  background: #FFFFFF;
  padding: 6px 0;
}
.s67-year-wheel::-webkit-scrollbar { width: 0; }
.s67-year-item {
  display: block;
  width: 100%;
  padding: 8px 0;
  border: none;
  background: transparent;
  color: var(--muted-2, #A8A8A8);
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  scroll-snap-align: center;
  font-variant-numeric: tabular-nums;
}
.s67-year-item.is-active {
  color: var(--ink, #26282C);
  font-size: 32px;
  font-weight: 850;
}
.s67-year-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.s67-year-nav-btn {
  flex: 1;
  border: 1.5px solid var(--line, #E9E6E0);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--ink-2, #4A4E55);
  font-size: 15px;
  cursor: pointer;
}
.s67-year-nav-btn:active { background: var(--surface-2, #FAF9F7); }
.s67-year-hint {
  font-size: 12px;
  color: var(--muted, #888888);
  text-align: center;
}

/* 卡片 3：巨宽地址输入框 + 内置微小示例提示 + 三个巨大色块 */
.s67-addr-wrap { position: relative; }
.s67-addr-input {
  width: 100%;
  height: 60px;
  /* 右侧只留「✨ 示例」小图标的位置（图标实际宽约 72px + 右移 9px）——
     留 104px 会把占位符那一整句示例地址截成半截（「东湖路12」），像没做完。 */
  padding: 0 80px 0 16px;
  border-radius: 16px;
  border: 1.5px solid var(--line, #E9E6E0);
  background: #FFFFFF;
  font-size: 16.5px;
  font-family: inherit;
  color: var(--ink, #26282C);
}
/* 占位符是一整句示例地址（比正文长），比正文小一号才不会在框里被截断 */
.s67-addr-input::placeholder { font-size: 15px; }
.s67-addr-input:focus {
  outline: none;
  border-color: var(--navy, #344E6C);
  box-shadow: 0 0 0 3px rgba(52, 78, 108, .12);
}
.s67-demo-hint {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 11px;
  border: 1px solid #BEDCFA;
  border-radius: 999px;
  background: linear-gradient(180deg, #EAF4FF 0%, #DCEEFF 100%);
  color: #1B6FC4;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.s67-demo-hint:active { background: linear-gradient(180deg, #DCEEFF 0%, #CFE6FC 100%); }
.s67-hukou-blocks { gap: 10px; }
.s67-hukou-block {
  min-height: 96px;
  border-radius: 18px;
  border-width: 1.5px;
}
.s67-hukou-block .s65-hukou-tag-label { font-size: 17px; }
.s67-hukou-block .s65-hukou-tag-hint { font-size: 11px; }
.s67-hukou-block.is-active {
  background: linear-gradient(180deg, #2F4A35 0%, #263D2B 100%);
  border-color: #263D2B;
}
.s67-back-link {
  align-self: flex-start;
  border: none;
  background: transparent;
  padding: 0;
  color: var(--muted-2, #A8A8A8);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

/* 底部：巨大的「极速测算风险」 */
.s67-foot { padding: 12px 0 2px; }
.s67-cta {
  flex: 1 1 auto;
  width: 100%;
  min-height: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 14px 28px -16px rgba(47, 74, 53, .8);
}
.s67-cta.s44-ready { box-shadow: 0 16px 30px -14px rgba(47, 74, 53, .9); }

/* ---------- 【三】小区详情页：单 CTA + 深度解析抽屉 ---------- */
.s23-gh-cta.is-single { grid-template-columns: 1fr; }
.s67-hero-cta {
  width: 100%;
  min-height: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
}
.s67-hero-link {
  align-self: flex-start;
  margin-top: 6px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--muted-2, #A8A8A8);
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}
.s67-hero-link:hover { color: var(--muted, #888888); }

.s67-deep {
  margin-top: 14px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line, #E9E6E0);
  border-radius: 16px;
  background: var(--surface, #FFFFFF);
}
.s67-deep-head { margin-bottom: 10px; }
.s67-deep-title { font-size: 15px; font-weight: 750; color: var(--ink, #26282C); }
.s67-deep-sub { margin-top: 2px; font-size: 11.5px; color: var(--muted-2, #A8A8A8); }
.s67-deep-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--line, #E9E6E0);
  border-radius: 14px;
  background: var(--surface-2, #FAF9F7);
  color: var(--ink-2, #4A4E55);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.s67-deep-btn:active { background: var(--line-2, #F1EFEA); }
.s67-deep-arrow { display: inline-flex; transition: transform .2s ease; }
.s67-deep.is-open .s67-deep-arrow { transform: rotate(180deg); }
.s67-deep-body { margin-top: 14px; }
.s67-deep-stack { display: flex; flex-direction: column; gap: 14px; }

/* ============================================================
   第 67 步【一】：全屏搜索层里的小图标组
   ------------------------------------------------------------
   定位 / 拍照收进输入框内部最右侧后，胶囊里同时有
   「放大镜 + 输入框 + 麦克风 + 定位 + 拍照」五个 flex 子项。
   若继续用 flex 平分，390px 视口下输入框只剩 63px（实测），没法打字。
   改成：这一组按钮绝对定位贴在胶囊右端，输入框铺满胶囊，
   只用 padding-right 留出空位。 */
.fsl-field .fsl-actions {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 5;
  pointer-events: none;
}
.fsl-field .fsl-actions > * { pointer-events: auto; }
.fsl-field .fsl-actions .s67-trail-btn { width: 28px; height: 28px; }
.fsl-field .fsl-actions .s67-trail-btn svg { width: 16px; height: 16px; }
.fsl-field .fsl-actions .mini-search-mic { width: 28px; height: 28px; }
/* 窄屏下层顶标题（找小区）让位给输入区 —— 搜索页本身已经说明了场景 */
@media (max-width: 430px) {
  .fsl-title { display: none; }
}

/* ============================================================================
   第 68 步【二】：数据基座 · 跨区错配「零漏网」加固
   导入引擎改成整批原子口径后，后台必须一眼看出「0 行写入 + 怎么改」。
   ============================================================================ */
.db-reject-card {
  border: 1px solid rgba(220, 38, 38, 0.45);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.10), rgba(220, 38, 38, 0.04));
  margin-bottom: 12px;
}
.db-reject-title {
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
  letter-spacing: 0.2px;
}
/* 「修正建议」列：给一条能照着改的操作指引，而不是只丢一句「校验不通过」 */
.db-suggestion {
  color: #92600a;
  line-height: 1.6;
  min-width: 180px;
}
.admin-table td.db-suggestion { white-space: normal; vertical-align: top; }

/* ================================================================
   第 71 步：核心决策引擎大扩容 —— 风险四维条 / 继承流模拟器 / 平替推荐
   ================================================================ */

/* ---------- ① 统筹风险四维红黄绿进度条（雷达图旁） ---------- */
.s71-dims { margin-top: 10px; }
.s71-dims-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; margin-bottom: 6px;
}
.s71-dims-head b { font-size: 12.5px; }
.s71-dim {
  padding: 7px 9px; margin-bottom: 6px;
  border-radius: 10px; background: rgba(255,255,255,.72);
  border: 1px solid rgba(224,220,212,.9);
}
.s71-dim-top { display: flex; align-items: center; gap: 8px; }
.s71-dim-label { font-size: 12px; font-weight: 700; }
.s71-dim-value { font-size: 12px; font-weight: 900; margin-left: auto; font-variant-numeric: tabular-nums; }
.s71-dim-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; }
.s71-dim.tone-ok .s71-dim-value { color: #2E7D5B; }
.s71-dim.tone-ok .s71-dim-tag { background: rgba(46,125,91,.12); color: #2E7D5B; }
.s71-dim.tone-warn .s71-dim-value { color: #B07D2B; }
.s71-dim.tone-warn .s71-dim-tag { background: rgba(176,125,43,.14); color: #B07D2B; }
.s71-dim.tone-risk .s71-dim-value { color: #C02B21; }
.s71-dim.tone-risk .s71-dim-tag { background: rgba(192,43,33,.12); color: #C02B21; }
.s71-dim-track {
  height: 8px; border-radius: 999px; margin-top: 5px;
  background: rgba(224,220,212,.75); overflow: hidden;
}
.s71-dim-fill { display: block; height: 100%; border-radius: 999px; transition: width .28s ease; }
.s71-dim.tone-ok .s71-dim-fill { background: linear-gradient(90deg, #57B08A, #2E7D5B); }
.s71-dim.tone-warn .s71-dim-fill { background: linear-gradient(90deg, #D6AE62, #B07D2B); }
.s71-dim.tone-risk .s71-dim-fill { background: linear-gradient(90deg, #DE6A60, #C02B21); }
.s71-dim-text { margin: 5px 0 0; font-size: 11.5px; color: var(--muted-2); line-height: 1.5; }

/* ---------- ② 扣分项清单（结论卡里的一句话明细） ---------- */
.s43-rv-summary {
  margin: 7px 0 0; padding: 7px 10px;
  font-size: 12px; line-height: 1.6;
  border-radius: 10px;
  background: rgba(176,125,43,.09);
  border-left: 3px solid #B07D2B;
  color: #6B5427;
}

/* ---------- ③ 祖辈房产继承流模拟器 ---------- */
.s71-inherit { width: 100%; }
.s71-inherit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s71-inherit-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  padding: 10px; text-align: left; cursor: pointer;
  border-radius: 12px; border: 1px solid rgba(224,220,212,.95);
  background: rgba(255,255,255,.78);
}
.s71-inherit-card.is-active {
  border-color: var(--brand);
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 20px -14px rgba(0,0,0,.5);
}
.s71-inherit-card-ic { font-size: 18px; line-height: 1; }
.s71-inherit-card b { font-size: 12.5px; }
.s71-inherit-card-tag { font-size: 11px; color: var(--muted-2); line-height: 1.4; }
.s71-inherit-card-risk { font-size: 11px; font-weight: 800; margin-top: 2px; }
.s71-inherit-card-risk.tone-ok { color: #2E7D5B; }
.s71-inherit-card-risk.tone-warn { color: #B07D2B; }
.s71-inherit-card-risk.tone-risk { color: #C02B21; }

.s71-inherit-detail {
  margin-top: 10px; padding: 11px 12px;
  border-radius: 12px; background: var(--surface-2);
}
.s71-inherit-dhead { display: flex; align-items: center; gap: 8px; }
.s71-inherit-dhead b { font-size: 13px; }
.s71-inherit-risk { font-size: 12px; font-weight: 800; margin-left: auto; }
.s71-inherit-risk.tone-ok { color: #2E7D5B; }
.s71-inherit-risk.tone-warn { color: #B07D2B; }
.s71-inherit-risk.tone-risk { color: #C02B21; }
.s71-inherit-risk em { font-style: normal; margin-left: 6px; font-weight: 600; color: var(--muted-2); }
.s71-inherit-desc { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.s71-inherit-summary {
  display: flex; gap: 8px; align-items: baseline;
  margin-top: 8px; padding: 7px 9px; border-radius: 9px;
  background: rgba(255,255,255,.8); font-size: 12px; line-height: 1.6;
}
.s71-inherit-summary-k { flex: none; font-weight: 800; font-size: 11.5px; color: #6B5427; }
.s71-inherit-popup {
  margin-top: 8px; padding: 9px 11px; border-radius: 10px;
  background: rgba(192,43,33,.08); border-left: 3px solid #C02B21;
  font-size: 12px; line-height: 1.65; color: #8E241C;
}
.s71-inherit-notes { margin-top: 8px; }
.s71-inherit-note { margin: 0 0 4px; font-size: 11.5px; line-height: 1.6; color: var(--muted-2); }
.s71-inherit-points { margin-top: 9px; }
.s71-inherit-points-k { font-size: 11.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 4px; }
.s71-inherit-point { display: flex; gap: 6px; font-size: 12px; line-height: 1.65; margin-bottom: 3px; }
.s71-inherit-dot { color: var(--brand); font-weight: 900; }

/* ---------- ④ 多孩同校冲突检测 ---------- */
.s71-sibling { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s71-sib-card {
  padding: 10px 11px; border-radius: 12px;
  background: rgba(255,255,255,.8); border: 1px solid rgba(224,220,212,.95);
}
.s71-sib-card.is-same { border-left: 3px solid #2E7D5B; }
.s71-sib-card.is-cross { border-left: 3px solid #C02B21; }
.s71-sib-head { display: flex; flex-direction: column; gap: 2px; }
.s71-sib-head b { font-size: 12.5px; }
.s71-sib-tag { font-size: 11px; color: var(--muted-2); }
.s71-sib-num { display: flex; align-items: baseline; gap: 7px; margin-top: 7px; }
.s71-sib-num-k { font-size: 11.5px; color: var(--muted-2); }
.s71-sib-num-v { font-size: 20px; font-weight: 900; font-variant-numeric: tabular-nums; }
.s71-sib-num-v.tone-ok { color: #2E7D5B; }
.s71-sib-num-v.tone-warn { color: #B07D2B; }
.s71-sib-num-v.tone-risk { color: #C02B21; }
.s71-sib-note { margin: 6px 0 0; font-size: 12px; line-height: 1.6; }
.s71-sib-warn { margin: 7px 0 0; padding-left: 17px; }
.s71-sib-warn li { font-size: 11.5px; line-height: 1.65; color: #8E241C; }

/* ---------- ⑤ 学区平替推荐 ---------- */
.s71-alt-section { margin-top: 10px; }
.s71-alt-sec-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.s71-alt-sec-head b { font-size: 13px; }
.s71-alt-panel { width: 100%; }
.s71-alt-btn { width: 100%; justify-content: center; }
.s71-alt-loading { font-size: 12px; color: var(--muted-2); padding: 10px 0; }
.s71-alt-list { margin-top: 8px; }
.s71-alt-source {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline;
  font-size: 12px; color: var(--ink-2); margin-bottom: 8px;
}
.s71-alt-card {
  padding: 10px 11px; margin-bottom: 8px; border-radius: 12px;
  background: rgba(255,255,255,.82); border: 1px solid rgba(224,220,212,.95);
}
.s71-alt-card-head { display: flex; align-items: center; gap: 8px; }
.s71-alt-name {
  border: 0; background: transparent; padding: 0; cursor: pointer;
  font-size: 13.5px; font-weight: 800; color: var(--brand); text-align: left;
}
.s71-alt-cut {
  margin-left: auto; font-size: 12px; font-weight: 900;
  color: #2E7D5B; background: rgba(46,125,91,.12);
  padding: 2px 8px; border-radius: 999px;
}
.s71-alt-cut.is-band { background: rgba(46,125,91,.2); }
.s71-alt-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 5px; font-size: 11.5px; color: var(--muted-2);
}
.s71-alt-risk.tone-ok { color: #2E7D5B; }
.s71-alt-risk.tone-warn { color: #B07D2B; }
.s71-alt-risk.tone-risk { color: #C02B21; }
.s71-alt-why { margin-top: 7px; }
.s71-alt-why-k { font-size: 11.5px; font-weight: 800; color: var(--ink-2); }
.s71-alt-why-list { margin: 4px 0 0; padding-left: 17px; }
.s71-alt-why-list li { font-size: 11.5px; line-height: 1.65; color: var(--ink-2); }
.s71-alt-price {
  display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline;
  margin-top: 8px; padding-top: 7px; border-top: 1px dashed rgba(224,220,212,.95);
  font-size: 12px;
}
.s71-alt-price-k { font-size: 11.5px; font-weight: 800; color: var(--muted-2); }
.s71-alt-price-now { color: var(--muted-2); text-decoration: line-through; }
.s71-alt-price-arrow { color: var(--muted-2); }
.s71-alt-price-new { color: #C02B21; font-size: 13px; font-variant-numeric: tabular-nums; }
.s71-alt-more { margin-top: 10px; }
.s71-alt-more-h { font-size: 11.5px; color: var(--muted-2); margin-bottom: 4px; }

/* ---------- ⑥ 判定表单里的多孩同校（选填区） ---------- */
.s71-multi-child {
  margin-top: 14px; padding: 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.s71-mc-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.s71-mc-head b { font-size: 13px; }

@media (max-width: 720px) {
  .s71-inherit-cards { grid-template-columns: 1fr; }
  .s71-sibling { grid-template-columns: 1fr; }
}

/* ============================================================================
 * 第 72 步：资产量化模型（学区溢价水分剥离 / 抗跌指数仪表盘 / 政策时间轴）
 * ---------------------------------------------------------------------------
 * 视觉口径：大厂金融研报质感 —— 深空灰 / 暗夜蓝底，纯白 + 香槟金文字，
 *           图表低饱和亮绿与危险红。
 * ========================================================================== */

/* ============================================================================
 * 第 72 步：资产量化模型（学区溢价水分剥离 / 抗跌指数仪表盘 / 政策时间轴）
 * ---------------------------------------------------------------------------
 * 视觉口径：大厂金融研报质感 —— 深空灰 / 暗夜蓝底，纯白 + 香槟金文字，
 *           图表低饱和亮绿与危险红。
 * ========================================================================== */

:root {
  --s72-bg: #0E1218;
  --s72-panel: #151A23;
  --s72-panel-2: #1B212C;
  --s72-line: #242B36;
  --s72-gold: #D8C3A5;
  --s72-gold-bright: #EADAC0;
  --s72-white: #F5F3EF;
  --s72-muted: #8A8F99;
  --s72-green: #5FA777;
  --s72-green-bright: #78C293;
  --s72-red: #C2594F;
  --s72-amber: #C9A227;
}

/* 曲线遮罩需要定位上下文（不改动原有 chart-wrap 的其它属性） */
.chart-wrap { position: relative; }

/* ---------- ① 学区溢价水分面板 ---------- */
.s72-foam-panel {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #151A23 0%, #0E1218 100%);
  border: 1px solid var(--s72-line);
  box-shadow: 0 10px 30px rgba(14, 18, 24, .22);
  color: var(--s72-white);
}
.s72-foam-empty { color: var(--s72-muted); }
.s72-foam-empty-text { margin: 8px 0 0; font-size: 12.5px; color: var(--s72-muted); }

.s72-foam-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.s72-foam-kicker {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--s72-gold); text-transform: uppercase;
}
.s72-foam-badge {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px;
  background: rgba(216, 195, 165, .14); color: var(--s72-gold-bright);
  border: 1px solid rgba(216, 195, 165, .3);
}

.s72-foam-hero { display: flex; align-items: baseline; gap: 9px; margin-top: 12px; }
.s72-foam-pct {
  font-size: 38px; font-weight: 800; line-height: 1;
  color: var(--s72-gold-bright); font-variant-numeric: tabular-nums;
}
.s72-foam-pct-label { font-size: 12px; color: var(--s72-muted); }

.s72-foam-bar {
  display: flex; width: 100%; height: 9px; margin-top: 12px;
  border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .06);
}
.s72-foam-bar-base { background: rgba(216, 195, 165, .35); }
.s72-foam-bar-foam { background: linear-gradient(90deg, var(--s72-gold), var(--s72-amber)); }
.s72-foam-panel[data-level="high"] .s72-foam-bar-foam {
  background: linear-gradient(90deg, var(--s72-red), #A8453C);
}
.s72-foam-panel[data-level="none"] .s72-foam-bar-foam { background: var(--s72-green); }

.s72-foam-bar-legend {
  display: flex; gap: 16px; margin-top: 7px;
  font-size: 11px; color: var(--s72-muted);
}
.s72-foam-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 5px; vertical-align: middle;
}
.s72-foam-dot-base { background: rgba(216, 195, 165, .35); }
.s72-foam-dot-foam { background: var(--s72-gold); }

.s72-foam-rows { margin-top: 12px; border-top: 1px solid var(--s72-line); }
.s72-foam-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid rgba(36, 43, 54, .8);
  font-size: 12.5px;
}
.s72-foam-label { color: var(--s72-muted); }
.s72-foam-value {
  font-weight: 700; color: var(--s72-white); font-variant-numeric: tabular-nums;
  text-align: right;
}
.s72-foam-cur { color: var(--s72-gold-bright); }
.s72-foam-risk { color: var(--s72-red); }
.s72-foam-ok { color: var(--s72-green); }

.s72-foam-warning {
  margin: 12px 0 0; padding: 10px 12px; border-radius: 10px;
  font-size: 12.5px; font-weight: 700; color: #F2D9D5;
  background: rgba(194, 89, 79, .16);
  border: 1px solid rgba(194, 89, 79, .45);
}
.s72-foam-note { margin: 12px 0 0; font-size: 12.5px; color: var(--s72-muted); }
.s72-foam-text {
  margin: 10px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--s72-white);
}
.s72-foam-disclaimer {
  margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--s72-line);
  font-size: 10.5px; line-height: 1.6; color: var(--s72-muted);
}

/* ---------- ② 抗跌指数仪表盘 ---------- */
.s72-gauge-panel {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #151A23 0%, #0E1218 100%);
  border: 1px solid var(--s72-line);
  box-shadow: 0 10px 30px rgba(14, 18, 24, .22);
  color: var(--s72-white);
}
.s72-gauge-empty { color: var(--s72-muted); }
.s72-gauge-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.s72-gauge-kicker {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em;
  color: var(--s72-gold); text-transform: uppercase;
}
.s72-gauge-grade {
  font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 999px;
  color: var(--s72-bg); background: var(--s72-gold);
}
.s72-gauge-body {
  display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px;
}
.s72-gauge-svg { width: 100%; }
.s72-gauge-dims { display: flex; flex-direction: column; gap: 10px; }
.s72-gauge-dim {
  padding: 9px 11px; border-radius: 10px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--s72-line);
}
.s72-gauge-dim-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.s72-gauge-dim-label { font-size: 12.5px; font-weight: 700; color: var(--s72-white); }
.s72-gauge-dim-score {
  font-size: 13px; font-weight: 800; color: var(--s72-gold-bright);
  font-variant-numeric: tabular-nums;
}
.s72-gauge-dim-max { font-size: 11px; font-weight: 500; color: var(--s72-muted); }
.s72-gauge-bar {
  height: 6px; margin: 7px 0 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); overflow: hidden;
}
.s72-gauge-bar-fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--s72-gold), var(--s72-green));
}
.s72-gauge-dim-detail { margin: 0; font-size: 11px; line-height: 1.6; color: var(--s72-muted); }
.s72-gauge-desc {
  margin: 12px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--s72-white);
}
.s72-gauge-disclaimer {
  margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--s72-line);
  font-size: 10.5px; line-height: 1.6; color: var(--s72-muted);
}

/* ---------- ③ 政策黑天鹅时间轴 ---------- */
.s72-policy-strip {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.s72-policy-empty { margin: 6px 0 0; font-size: 12px; color: var(--muted-2); }
.s72-policy-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.s72-policy-kicker {
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; color: var(--ink-2);
}
.s72-policy-count { font-size: 11px; color: var(--muted-2); }
.s72-policy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s72-policy-chip {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 10px; border-radius: 999px; cursor: pointer;
  background: rgba(194, 89, 79, .08);
  border: 1px solid rgba(194, 89, 79, .3);
  color: var(--ink-2); font-size: 11.5px; text-align: left;
}
.s72-policy-chip-year { font-weight: 800; color: var(--s72-red); font-variant-numeric: tabular-nums; }
.s72-policy-chip-title { color: var(--ink-2); }
.s72-policy-chip.is-active {
  background: rgba(194, 89, 79, .18);
  border-color: var(--s72-red);
}
.s72-policy-chip.is-active .s72-policy-chip-title { color: var(--s72-red); font-weight: 700; }

.s72-policy-detail {
  margin-top: 12px; padding: 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.s72-policy-detail-hint { margin: 0; font-size: 12px; color: var(--muted-2); }
.s72-policy-detail-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.s72-policy-detail-year {
  font-size: 15px; font-weight: 800; color: var(--s72-red);
  font-variant-numeric: tabular-nums;
}
.s72-policy-detail-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.s72-policy-detail-scope {
  font-size: 10.5px; padding: 2px 7px; border-radius: 999px;
  background: rgba(0, 0, 0, .05); color: var(--muted-2);
}
.s72-policy-detail-brief {
  margin: 7px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-2);
}
.s72-policy-detail-text {
  margin: 8px 0 0; font-size: 12.5px; line-height: 1.75; color: var(--ink);
  font-weight: 600;
}
.s72-policy-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; margin-top: 10px;
}
.s72-policy-stat {
  padding: 8px 10px; border-radius: 8px;
  background: rgba(0, 0, 0, .03); border: 1px solid var(--line);
}
.s72-policy-stat-label { display: block; font-size: 10.5px; color: var(--muted-2); }
.s72-policy-stat-value {
  display: block; margin-top: 2px; font-size: 13px; font-weight: 800;
  color: var(--ink); font-variant-numeric: tabular-nums;
}
.s72-policy-stat-value.s72-down { color: var(--s72-red); }
.s72-policy-stat-value.s72-up { color: var(--s72-green); }
.s72-policy-impact {
  margin: 9px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted-2);
}
.s72-policy-disclaimer {
  margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed var(--line);
  font-size: 10.5px; line-height: 1.6; color: var(--muted-2);
}

/* 曲面上的政策警示点 */
.s72-policy-mark:hover circle { filter: brightness(1.18); }

/* ---------- ④ 免费视角：曲线后段毛玻璃 + 金色小锁 ---------- */
.s72-free-mask {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 10px 12px; text-align: center;
  background: rgba(14, 18, 24, .32);
  -webkit-backdrop-filter: blur(6px) saturate(.7);
  backdrop-filter: blur(6px) saturate(.7);
  border-left: 1px dashed rgba(216, 195, 165, .55);
}
.s72-free-mask-lock { font-size: 18px; line-height: 1; }
.s72-free-mask-text {
  font-size: 11.5px; font-weight: 700; color: var(--s72-gold-bright);
  max-width: 150px; line-height: 1.5;
}
.s72-free-mask-btn { font-size: 11px !important; padding: 0 10px !important; }

@media (min-width: 760px) {
  .s72-gauge-body { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .s72-policy-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   第 73 步：UGC 生态飞轮与政策预警（避坑池 / 学区币 / 消息中心 / 统筹雷达）
   配色沿用三套既有语言：
     · 避坑池      → 主站浅色卡片（暖灰白 + 墨绿 + 复古黄）
     · 学区币面板  → 会员中心同款深色黑金（#171A1F + 香槟金）
     · 统筹雷达    → 资产模型同款深空灰（#0E1218 + 香槟金 + 低饱和亮绿/危险红）
   ========================================================================== */

/* ------------------------------ 避坑池：瀑布流 ------------------------------ */

.s73-wall { margin-top: 10px; }
.s73-masonry-inner { column-count: 2; column-gap: 10px; }
@media (min-width: 760px) { .s73-masonry-inner { column-count: 3; column-gap: 12px; } }

.s73-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 10px;
  padding: 12px 12px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 20px -18px rgba(38, 40, 44, .45);
  animation: s73-card-in 320ms ease-out both;
}
@keyframes s73-card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.s73-card.is-mine { border-color: rgba(212, 163, 115, .45); background: linear-gradient(180deg, rgba(212,163,115,.06), var(--surface) 40%); }

.s73-card-head { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.s73-card-head .rep-item-idbox { min-width: 0; flex: 1; }
.s73-card-head .rep-avatar {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  background: linear-gradient(135deg, #3A5A40, #2C4431); color: #F5F3EF;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.s73-hot-badge {
  flex: 0 0 auto; font-size: 10px; font-weight: 700; color: #8A5A1E;
  background: rgba(212, 163, 115, .16); border: 1px solid rgba(212, 163, 115, .40);
  border-radius: var(--r-pill); padding: 2px 7px; white-space: nowrap;
}

/* 半星 */
.s73-stars { display: inline-flex; align-items: center; gap: 1px; margin-bottom: 6px; }
.s73-star { position: relative; font-size: 13px; line-height: 1; color: #DDD8CF; }
.s73-star.on { color: var(--accent); }
.s73-star.half::before { content: '★'; color: #DDD8CF; }
.s73-star.half::after {
  content: '★'; color: var(--accent); position: absolute; left: 0; top: 0;
  width: 50%; overflow: hidden;
}
.s73-star-num { margin-left: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink); }

.s73-card-body .rep-text { font-size: 13px; line-height: 1.65; color: var(--ink); margin: 0 0 8px; }
.s73-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.s73-mini-tag {
  font-size: 10.5px; font-weight: 700; color: var(--brand);
  background: rgba(58, 90, 64, .08); border-radius: var(--r-pill); padding: 2px 8px;
}
.s73-card .rep-like-btn { margin-top: 2px; transition: transform .18s ease, background-color .18s ease; }
.s73-card .rep-like-btn.is-bump { animation: s73-bump 340ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes s73-bump { 0% { transform: scale(1); } 40% { transform: scale(1.16); } 100% { transform: scale(1); } }

.s73-more {
  display: block; width: 100%; margin-top: 4px; padding: 11px;
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-md);
  color: var(--brand); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.s73-empty { padding: 22px 12px; text-align: center; color: var(--muted); }
.s73-empty .ic { font-size: 26px; margin-bottom: 6px; }
.s73-wall-note { margin: 10px 2px 0; line-height: 1.6; }

/* 标签云（第 73 步：多标签避坑词，计数更准） */
.s73-tag-cloud .rep-pill { transition: transform .16s ease, background-color .16s ease; }
.s73-tag-cloud .rep-pill:active { transform: scale(.96); }
.s73-tag-cloud .rep-pill.on { box-shadow: 0 0 0 2px rgba(212, 163, 115, .28); }

/* ------------------------------ 发布抽屉 ------------------------------ */

.s73-publish { display: flex; flex-direction: column; gap: 14px; padding-bottom: 6px; }
.s73-anon-badge {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start;
  font-size: 11px; font-weight: 700; color: #4A4437;
  background: rgba(212, 163, 115, .16); border: 1px solid rgba(212, 163, 115, .42);
  border-radius: var(--r-pill); padding: 4px 10px;
}
.s73-sec { display: flex; flex-direction: column; gap: 8px; }
.s73-sec-title { font-size: 12.5px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.s73-sec-badge {
  font-size: 10px; font-weight: 700; color: #8A5A1E;
  background: rgba(212, 163, 115, .16); border-radius: var(--r-pill); padding: 2px 8px;
}
.s73-proof {
  padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(250, 249, 247, .8);
}
.s73-proof-state { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.s73-proof-ic { font-size: 20px; }
.s73-proof-title { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.s73-proof-hint { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.s73-proof-state.is-loading .s73-proof-ic { animation: s73-pulse 900ms ease-in-out infinite; }
.s73-proof-state.is-done { background: rgba(78, 133, 99, .08); border-radius: var(--r-sm); padding: 8px; }
.s73-proof-state.is-done .s73-proof-title { color: var(--ok); }
@keyframes s73-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.s73-tag-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.s73-tag-chip {
  font-size: 11.5px; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 5px 10px; cursor: pointer; transition: all .16s ease;
}
.s73-tag-chip.on { color: var(--brand); border-color: rgba(58, 90, 64, .45); background: rgba(58, 90, 64, .08); }

/* ------------------------------ 学区币面板 ------------------------------ */

.s73-coin-card {
  background: linear-gradient(160deg, #1B1F26 0%, #151A23 58%, #101319 100%);
  border: 1px solid rgba(216, 195, 165, .20);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .85);
  color: #EDEAE3;
}
.s73-coin-head { display: flex; align-items: flex-start; gap: 12px; }
.s73-coin-kicker { font-size: 10px; font-weight: 800; letter-spacing: .14em; color: #C8B48F; }
.s73-coin-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.s73-coin-num {
  font-size: 34px; font-weight: 800; color: #F5F3EF; line-height: 1.1;
  font-family: Georgia, 'Songti SC', serif; letter-spacing: -.5px;
}
.s73-coin-unit { font-size: 12px; font-weight: 700; color: #C8B48F; }
.s73-coin-side { margin-left: auto; text-align: right; max-width: 46%; }
.s73-coin-side .tiny { color: rgba(237, 234, 227, .55); }
.s73-coin-tasks-hint { margin-top: 4px; font-size: 10.5px; color: rgba(237, 234, 227, .72); line-height: 1.5; }
.s73-coin-row.is-gain { animation: s73-gain 700ms ease-out; }
@keyframes s73-gain {
  0% { box-shadow: 0 0 0 0 rgba(216, 195, 165, 0); }
  35% { box-shadow: 0 0 0 6px rgba(216, 195, 165, .22); }
  100% { box-shadow: 0 0 0 0 rgba(216, 195, 165, 0); }
}

.s73-sub-title {
  margin: 16px 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  color: rgba(237, 234, 227, .62);
}
.s73-task-list, .s73-redeem-list { display: flex; flex-direction: column; gap: 8px; }
.s73-task, .s73-redeem {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 12px; border-radius: var(--r-md); cursor: pointer;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(216, 195, 165, .14);
  color: #EDEAE3; transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}
.s73-task:hover, .s73-redeem:hover { border-color: rgba(216, 195, 165, .34); background: rgba(255, 255, 255, .08); }
.s73-task:active, .s73-redeem:active { transform: scale(.985); }
.s73-task.is-done { opacity: .62; }
.s73-task-ic, .s73-redeem-ic { font-size: 18px; flex: 0 0 auto; }
.s73-task-main, .s73-redeem-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.s73-task-main b, .s73-redeem-main b { font-size: 13px; font-weight: 700; }
.s73-task-main .tiny, .s73-redeem-main .tiny { color: rgba(237, 234, 227, .52); line-height: 1.45; }
.s73-task-reward {
  flex: 0 0 auto; font-size: 12px; font-weight: 800; color: #C8B48F;
  background: rgba(200, 180, 143, .14); border-radius: var(--r-pill); padding: 3px 9px;
}
.s73-task-state { flex: 0 0 auto; font-size: 10.5px; color: rgba(237, 234, 227, .46); }
.s73-redeem-cost {
  flex: 0 0 auto; font-size: 11.5px; font-weight: 800; color: #E8C97A;
  border: 1px solid rgba(232, 201, 122, .40); border-radius: var(--r-pill); padding: 3px 9px;
}
.s73-redeem-target { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.s73-redeem-target .input { background: rgba(255, 255, 255, .06); border-color: rgba(216, 195, 165, .18); color: #EDEAE3; }

.s73-ledger { display: flex; flex-direction: column; gap: 4px; }
.s73-ledger-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 0;
  border-bottom: 1px solid rgba(216, 195, 165, .10); font-size: 12px;
}
.s73-ledger-reason { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(237, 234, 227, .80); }
.s73-ledger-at { color: rgba(237, 234, 227, .42); }
.s73-ledger-amt { font-weight: 800; font-family: Georgia, serif; }
.s73-ledger-amt.is-plus { color: #78C293; }
.s73-ledger-amt.is-minus { color: #D98D84; }

/* ------------------------------ 消息中心：红点与红框 ------------------------------ */

.chip.has-dot { position: relative; padding-right: 20px; }
.s73-tab-dot {
  position: absolute; top: -3px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: var(--r-pill); background: var(--risk); color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
  animation: s73-dot-in 260ms cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes s73-dot-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.s73-unread-badge {
  font-size: 10.5px; font-weight: 800; color: #fff; background: var(--risk);
  border-radius: var(--r-pill); padding: 2px 8px;
}
/* 预警消息：红色高亮边框 + 未读红点 */
.s62-msg.is-alert {
  border: 1px solid rgba(178, 90, 90, .55);
  box-shadow: 0 8px 22px -18px rgba(178, 90, 90, .85);
  background: linear-gradient(180deg, rgba(249, 237, 237, .92), var(--surface) 62%);
}
.s62-msg.is-alert.is-unread { border-width: 2px; }
.s62-msg.is-alert .s62-msg-dot { background: var(--risk); }

/* ------------------------------ 学校级统筹风险雷达 ------------------------------ */

.s73-radar { border: 1px solid rgba(216, 195, 165, .18); background: linear-gradient(165deg, #141922, #0E1218); }
.s73-radar-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.s73-radar-head b { color: #F5F3EF; font-size: 14px; }
.s73-radar-badge {
  font-size: 10px; font-weight: 700; color: #C8B48F; margin-left: 6px;
  border: 1px solid rgba(216, 195, 165, .35); border-radius: var(--r-pill); padding: 2px 7px;
}
.s73-radar-head .tiny { color: rgba(237, 234, 227, .55); }
.s73-radar-head .btn-ghost { color: #C8B48F; border-color: rgba(216, 195, 165, .30); }
.s73-radar-body { display: none; }
.s73-radar.is-open .s73-radar-body { display: block; }
.s73-radar-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
@media (min-width: 720px) { .s73-radar-grid { grid-template-columns: 240px 1fr; } }
.s73-radar-dims { display: flex; flex-direction: column; gap: 10px; }
.s73-radar-dim { display: flex; flex-direction: column; gap: 4px; }
.s73-radar-dim-top { display: flex; align-items: baseline; justify-content: space-between; color: #EDEAE3; font-size: 12.5px; font-weight: 700; }
.s73-radar-dim-top b { color: #F5F3EF; font-family: Georgia, serif; }
.s73-radar-bar { height: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); overflow: hidden; }
.s73-radar-fill { display: block; height: 100%; border-radius: var(--r-pill); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.s73-radar-fill.ok { background: linear-gradient(90deg, #4E8563, #78C293); }
.s73-radar-fill.warn { background: linear-gradient(90deg, #B08A3E, #C9A227); }
.s73-radar-fill.risk { background: linear-gradient(90deg, #9C4A42, #C2594F); }
.s73-radar-dim .tiny { color: rgba(237, 234, 227, .52); line-height: 1.5; }
.s73-radar-verdict {
  margin-top: 12px; padding: 10px 12px; border-radius: var(--r-md);
  background: rgba(216, 195, 165, .10); border: 1px solid rgba(216, 195, 165, .18);
  color: #E6E1D6; font-size: 12.5px; line-height: 1.65;
}
.s73-radar .tiny.muted { color: rgba(237, 234, 227, .46); }
.s73-radar-skel { display: flex; justify-content: center; padding: 10px 0; }
.s73-radar.is-flash { animation: s73-flash 1800ms ease-out; }
@keyframes s73-flash {
  0%, 100% { box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .85); }
  30% { box-shadow: 0 0 0 4px rgba(194, 89, 79, .40), 0 18px 40px -26px rgba(0, 0, 0, .85); }
}

/* ==========================================================================
   第 74 步：商业微交易体系与场景化动态付费拦截
   配色沿用第 61/73 步的深色黑金语言：
     · 深底      → #14171C / #1B1F26 / #101319
     · 香槟金    → #C8B48F / #D4AF37 / #E8CE8A / #E6D2AC
     · 支付按钮  → 暗夜黑 → 深金渐变（#16191F → #2A2419 → #6B5426 → #C49A3E）
   刻意不做红黄大促：拦截屏越像广告，越劝退。
   ========================================================================== */

/* ------------------------------ 深金支付按钮 ------------------------------ */

.s74-pay-btn {
  position: relative; width: 100%; min-height: 46px; padding: 12px 16px;
  border: 1px solid rgba(212, 175, 55, .55); border-radius: 12px; cursor: pointer;
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F7E9C8; font-size: 14.5px; font-weight: 800; letter-spacing: .01em;
  box-shadow: 0 14px 30px -16px rgba(196, 154, 62, .85), inset 0 1px 0 rgba(255, 240, 200, .18);
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s ease;
}
.s74-pay-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -16px rgba(196, 154, 62, .95), inset 0 1px 0 rgba(255, 240, 200, .24);
}
.s74-pay-btn:active { transform: translateY(0); }
.s74-pay-btn:disabled { cursor: default; transform: none; opacity: .88; }
.s74-pay-btn.is-loading { opacity: .94; }
.s74-pay-btn.is-loading::after {
  content: ''; position: absolute; right: 14px; top: 50%; width: 13px; height: 13px;
  margin-top: -6.5px; border-radius: 50%;
  border: 2px solid rgba(247, 233, 200, .28); border-top-color: #F7E9C8;
  animation: s74-spin .8s linear infinite;
}
@keyframes s74-spin { to { transform: rotate(360deg); } }

.s74-pay-btn-ghost {
  background: rgba(255, 255, 255, .05); border-color: rgba(216, 195, 165, .28);
  color: #E6E1D6; box-shadow: none; font-weight: 700;
}
.s74-pay-btn-ghost:hover { box-shadow: none; }

/* 支付收银台浮层要盖在 9.9 面板之上 */
.s74-pay-overlay-top { z-index: 10050; }

/* ------------------------------ 9.9 元解锁面板 ------------------------------ */

.s74-micro-mask {
  align-items: end; background: rgba(10, 12, 16, .60);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.s74-micro-card {
  width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 4px 18px calc(20px + var(--safe-bottom, 12px));
  background: linear-gradient(165deg, #1B1F26 0%, #14171C 55%, #101319 100%);
  border: 1px solid rgba(216, 195, 165, .22); border-bottom: 0;
  color: #EDE9E1; box-shadow: 0 -18px 50px -20px rgba(0, 0, 0, .9);
  transform: translateY(16px); opacity: 0;
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), opacity .24s ease;
}
.s74-micro-mask.is-open .s74-micro-card { transform: translateY(0); opacity: 1; }

.s74-micro-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: #C8B48F; }
.s74-micro-community {
  display: block; margin-top: 6px; font-size: 20px; font-weight: 800; color: #F5F3EF;
  font-family: Georgia, 'Songti SC', serif;
}
.s74-micro-desc { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(237, 234, 227, .66); }
.s74-micro-price { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; }
.s74-micro-price b { font-size: 30px; font-weight: 800; color: #E8CE8A; letter-spacing: -.5px; }
.s74-micro-price span { font-size: 11.5px; color: rgba(237, 234, 227, .55); }
.s74-micro-list-title {
  margin: 16px 0 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em;
  color: rgba(237, 234, 227, .60);
}
.s74-micro-points { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.s74-micro-points li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; line-height: 1.55; color: #E6E1D6;
}
.s74-micro-points svg { flex: none; margin-top: 2px; color: #C8A97E; }
.s74-micro-verify {
  margin: 0 0 14px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(216, 195, 165, .14);
}
.s74-micro-verify-text {
  margin: 9px 0 0; font-size: 12px; letter-spacing: .02em; color: rgba(237, 234, 227, .62);
}
.s74-micro-close {
  width: 100%; margin-top: 10px; padding: 10px; border: 0; background: none;
  color: rgba(237, 234, 227, .52); font-size: 12.5px; cursor: pointer;
}
.s74-micro-note {
  margin: 12px 0 0; font-size: 11px; line-height: 1.6;
  color: rgba(237, 234, 227, .42); text-align: center;
}

/* 成功态 */
.s74-micro-unlocked { text-align: center; padding: 12px 0 4px; }
.s74-micro-unlocked-ic {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(200, 169, 126, .16); color: #E8CE8A;
}
.s74-micro-unlocked-title { display: block; margin-top: 10px; font-size: 17px; font-weight: 800; color: #F5F3EF; }
.s74-micro-unlocked-sub { margin: 6px 0 14px; font-size: 12.5px; color: rgba(237, 234, 227, .62); }
.s74-micro-unlocked-actions { display: flex; flex-direction: column; gap: 10px; }

/* 分享赚钱 */
.s74-share {
  margin-top: 14px; padding: 14px; border-radius: 14px;
  border: 1px solid rgba(216, 195, 165, .18); background: rgba(200, 169, 126, .07);
}
.s74-share-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #F0E4C8; }
.s74-share-head svg { color: #C8A97E; }
.s74-share-count { margin-left: auto; font-size: 11.5px; font-weight: 700; color: #C8B48F; }
.s74-share-text { margin: 8px 0 12px; font-size: 12px; line-height: 1.65; color: rgba(237, 234, 227, .62); }
.s74-share-btn {
  width: 100%; min-height: 40px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(212, 175, 55, .42); background: rgba(212, 175, 55, .12);
  color: #F0DFB4; font-size: 13px; font-weight: 800;
}

/* ------------------------------ 场景化付费墙 ------------------------------ */

.s74-wall-mask {
  align-items: end; background: rgba(10, 12, 16, .60);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.s74-wall-card {
  width: 100%; max-width: 460px; max-height: 86vh; overflow-y: auto;
  border-radius: 20px 20px 0 0; padding: 4px 18px calc(18px + var(--safe-bottom, 12px));
  background: linear-gradient(165deg, #1B1F26 0%, #14171C 55%, #101319 100%);
  border: 1px solid rgba(216, 195, 165, .22); border-bottom: 0;
  color: #EDE9E1; box-shadow: 0 -18px 50px -20px rgba(0, 0, 0, .9);
  transform: translateY(16px); opacity: 0;
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), opacity .24s ease;
}
.s74-wall-mask.is-open .s74-wall-card { transform: translateY(0); opacity: 1; }

.s74-wall-head { display: flex; align-items: flex-start; gap: 10px; }
.s74-wall-icon {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: rgba(200, 169, 126, .14); color: #D8BC85;
}
.s74-wall-head-main { flex: 1; min-width: 0; }
.s74-wall-head-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s74-wall-title { font-size: 16px; font-weight: 800; color: #F5F3EF; }
.s74-wall-scene {
  padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800;
  background: rgba(200, 169, 126, .16); color: #DCC79A; border: 1px solid rgba(216, 195, 165, .22);
}
.s74-wall-sub { margin: 6px 0 0; font-size: 12px; line-height: 1.55; color: rgba(237, 234, 227, .55); }
.s74-wall-x {
  flex: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(216, 195, 165, .18); background: rgba(255, 255, 255, .03);
  color: rgba(237, 234, 227, .60); font-size: 13px;
}
.s74-wall-product-card {
  margin-top: 14px; padding: 14px; border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, .34);
  background: linear-gradient(150deg, rgba(212, 175, 55, .13), rgba(20, 23, 28, .60) 62%);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, .08), 0 18px 40px -26px rgba(212, 175, 55, .60);
}
.s74-wall-product-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s74-wall-product-badge {
  padding: 2px 7px; border-radius: 6px; font-size: 10px; font-weight: 800;
  background: rgba(212, 175, 55, .22); color: #F0DFB4;
}
.s74-wall-product-name { font-size: 14.5px; font-weight: 800; color: #F5F3EF; }
.s74-wall-product-price { margin-left: auto; font-size: 16px; font-weight: 800; color: #E8CE8A; }
.s74-wall-headline { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: #E6E1D6; }
.s74-wall-points {
  list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px;
}
.s74-wall-points li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.55; color: rgba(237, 234, 227, .74);
}
.s74-wall-points svg { flex: none; margin-top: 2px; color: #C8A97E; }
.s74-wall-cta {
  width: 100%; min-height: 46px; margin-top: 14px; padding: 12px 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 12px; border: 1px solid rgba(212, 175, 55, .55);
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F7E9C8; font-size: 14.5px; font-weight: 800;
  box-shadow: 0 14px 30px -16px rgba(196, 154, 62, .85), inset 0 1px 0 rgba(255, 240, 200, .18);
}
.s74-wall-note {
  margin: 10px 0 0; font-size: 11px; line-height: 1.6;
  color: rgba(237, 234, 227, .42); text-align: center;
}
.s74-wall-close {
  width: 100%; margin-top: 6px; padding: 10px; border: 0; background: none;
  color: rgba(237, 234, 227, .50); font-size: 12.5px; cursor: pointer;
}
.s74-wall-tip {
  margin: 10px 0 0; padding: 8px 10px; border-radius: 9px; text-align: center;
  background: rgba(216, 195, 165, .08); border: 1px solid rgba(216, 195, 165, .14);
  font-size: 11.5px; color: rgba(237, 234, 227, .60);
}

/* ---------------------- 9.9 元入口（毛玻璃 / 情报 / 资产条） ---------------------- */

.s74-mask-micro-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  max-width: 100%; margin: 0; min-height: 38px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid rgba(212, 175, 55, .50); cursor: pointer;
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F7E9C8; font-size: 12.5px; font-weight: 800; letter-spacing: .01em; line-height: 1.4;
  box-shadow: 0 12px 26px -14px rgba(196, 154, 62, .90), inset 0 1px 0 rgba(255, 240, 200, .18);
  animation: s74-micro-pulse 2.6s ease-in-out infinite;
}
@keyframes s74-micro-pulse {
  0%, 100% {
    box-shadow: 0 12px 26px -14px rgba(196, 154, 62, .90), inset 0 1px 0 rgba(255, 240, 200, .18);
  }
  50% {
    box-shadow: 0 12px 30px -12px rgba(212, 175, 55, 1), 0 0 0 4px rgba(212, 175, 55, .14),
      inset 0 1px 0 rgba(255, 240, 200, .22);
  }
}
/* 毛玻璃遮罩上的 9.9 CTA：悬浮在遮罩底部，不挤占既有锁 / 文案 / 升级按钮 */
.s72-free-mask-micro { padding-bottom: 56px; }
.s74-mask-micro-float {
  border-radius: 12px;
  position: absolute; left: 8px; right: 8px; bottom: 6px;
  margin: 0; width: auto; max-width: none;
  font-size: 11.5px; line-height: 1.35; padding: 7px 8px; min-height: 0;
}

.s74-intel-micro-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 8px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(212, 175, 55, .50);
  background: linear-gradient(135deg, #1A1D24 0%, #2A2419 50%, #6B5426 100%);
  color: #F0DFB4; font-size: 12px; font-weight: 800; line-height: 1.4;
}

/* 资产完整版入口条（挂在第 72 步免费面板下方，不遮挡其内容） */
.s74-asset-unlock {
  display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 11px 12px;
  border-radius: 12px; border: 1px solid rgba(212, 175, 55, .26);
  background: linear-gradient(135deg, rgba(212, 175, 55, .10), rgba(20, 23, 28, .42));
}
.s74-asset-unlock-lock { flex: none; font-size: 15px; }
.s74-asset-unlock-main { flex: 1; min-width: 0; }
.s74-asset-unlock-title { display: block; font-size: 12.5px; font-weight: 800; color: #F0E4C8; }
.s74-asset-unlock-desc { display: block; margin-top: 2px; font-size: 11px; color: rgba(237, 234, 227, .52); }
.s74-asset-unlock-btn {
  flex: none; margin: 0; min-height: 32px; padding: 6px 12px;
  font-size: 12px; animation: none; white-space: nowrap;
}

/* ------------------------------ 扫码返利条 ------------------------------ */

.s74-ref-strip {
  display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 11px;
  border-radius: 11px; background: rgba(200, 169, 126, .08); border: 1px solid rgba(216, 195, 165, .16);
}
.s74-ref-ic {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(200, 169, 126, .16); color: #D8BC85;
}
.s74-ref-text { font-size: 11.5px; line-height: 1.55; color: rgba(237, 234, 227, .62); }

/* ============================================================
   第 75 步：UGC 情报社区 · 双列瀑布流 · 付费提问 · 半屏解锁浮层
   ============================================================ */
/* ================================================================
   第 75 步：家长情报局 · 付费提问 · 三级页面视觉诱导
   --------------------------------------------------------------
   设计口径：
     · 卡片走**浅色高颜值**路线（白底 + 细边 + 柔影），封面用深色渐变占位，
       深浅对比撑起「像小红书」的杂志感；
     · 所有**付费入口**统一深金渐变（与第 74 步支付按钮同一套色），
       一眼分辨「这是要花钱的」；
     · 动效一律纯 CSS（不引 JS 动画库），动完自动移除节点。
   ================================================================ */

/* ---------- 【一】情报局：头部 ---------- */
.s75-intel { margin-bottom: 14px; }
.s75-intel-hd { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 10px; }
.s75-intel-title {
  font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .3px;
}
.s75-intel-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.s75-subsection {
  font-size: 15px; font-weight: 700; color: var(--ink); margin: 18px 0 10px;
  padding-left: 9px; border-left: 3px solid var(--brand);
}

/* ---------- 话题筛选条（横向滚动） ---------- */
.s75-topic-bar {
  display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.s75-topic-bar::-webkit-scrollbar { display: none; }
.s75-topic {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.s75-topic em { font-style: normal; font-size: 10px; color: var(--muted-2); }
.s75-topic.on {
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F5EEDC; border-color: transparent;
  box-shadow: 0 4px 14px rgba(196, 154, 62, .28);
}
.s75-topic.on em { color: rgba(245, 238, 220, .72); }

/* ---------- 双列瀑布流 ---------- */
.s75-masonry { column-count: 2; column-gap: 10px; }
.s75-card {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  display: inline-block; width: 100%; margin: 0 0 10px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(38, 40, 44, .05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.s75-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(38, 40, 44, .10); }

/* ---------- 封面（占位图：渐变 + 大 emoji + 场景标签） ---------- */
.s75-cover {
  position: relative; height: 104px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.s75-cover::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 8%, rgba(255, 255, 255, .22), transparent 62%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 10px, transparent 10px 20px);
}
.s75-cover-emoji {
  font-size: 38px; z-index: 1; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .30));
}
.s75-cover-scene {
  position: absolute; left: 8px; bottom: 7px; z-index: 2;
  font-size: 9.5px; color: rgba(255, 255, 255, .88);
  background: rgba(0, 0, 0, .32); padding: 2px 6px; border-radius: 6px;
}
.s75-cover-topic {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  font-size: 10px; font-weight: 700; color: #241D0F;
  background: linear-gradient(135deg, #E7CE8E, #C49A3E);
  padding: 3px 8px; border-radius: 999px;
}

/* ---------- 卡片正文 ---------- */
.s75-card-body { padding: 10px 11px 11px; }
.s75-title {
  font-size: 15.5px; font-weight: 800; line-height: 1.42; color: var(--ink);
  margin: 0 0 5px; letter-spacing: .1px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.s75-summary {
  font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.s75-card-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 10.5px; color: var(--muted-2); margin-bottom: 8px;
}
.s75-grade {
  background: var(--brand-050); color: var(--brand); font-weight: 700;
  padding: 2px 7px; border-radius: 999px;
}
.s75-author { font-weight: 600; }
.s75-days { margin-left: auto; }

/* ---------- 卡片底部：点赞 / 打赏 ---------- */
.s75-card-foot {
  display: flex; align-items: center; gap: 8px;
  padding-top: 8px; border-top: 1px solid var(--line-2);
}
.s75-like, .s75-tip {
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; padding: 3px 2px; cursor: pointer;
  font-size: 12px; color: var(--muted); font-family: inherit;
  position: relative; transition: color .18s ease;
}
.s75-like:hover, .s75-tip:hover { color: var(--ink-2); }
.s75-like.is-bump .s75-like-ic { animation: s75-bump .42s ease; }
.s75-like-num, .s75-tips-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.s75-tip-ic { font-size: 13px; }
.s75-tip-label { font-size: 11px; color: var(--muted-2); }
.s75-asked {
  display: inline-block; margin-top: 7px;
  font-size: 10.5px; color: var(--brand); background: var(--brand-050);
  padding: 2px 7px; border-radius: 999px;
}

/* ---------- 【二】向 TA 提问（金色付费入口） ---------- */
.s75-ask {
  display: block; width: 100%; margin-top: 9px; cursor: pointer;
  border: 0; border-radius: 10px; padding: 9px 10px;
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F6EFDC; font-size: 12.5px; font-weight: 700; font-family: inherit;
  letter-spacing: .2px;
  box-shadow: 0 3px 12px rgba(107, 84, 38, .26);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.s75-ask:hover { filter: brightness(1.08); transform: translateY(-1px); }
.s75-ask:active { transform: translateY(0); }

/* ---------- 【四】点赞飘金星 / 投币飞金币 ---------- */
.s75-star-fly, .s75-coin-fly {
  position: absolute; left: 50%; top: 50%; z-index: 5;
  font-size: 16px; pointer-events: none;
  animation: s75-fly-up .9s cubic-bezier(.2, .7, .3, 1) forwards;
}
.s75-coin-fly { font-size: 15px; }
@keyframes s75-fly-up {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.5); }
  22%  { opacity: 1; transform: translate(-50%, -160%) scale(1.25); }
  60%  { opacity: 1; transform: translate(-50%, -230%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -320%) scale(.75); }
}
@keyframes s75-bump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.45) rotate(-12deg); }
  70%  { transform: scale(.92) rotate(6deg); }
  100% { transform: scale(1); }
}

/* ---------- 骨架屏 / 空态 / 展开 ---------- */
.s75-card-skel { pointer-events: none; }
.s75-skel-cover {
  height: 104px; border-radius: 0; margin: 0 -1px;
}
.s75-empty {
  column-span: all; text-align: center; padding: 30px 16px; color: var(--muted);
}
.s75-empty .ic { font-size: 28px; opacity: .5; margin-bottom: 8px; }
.s75-more {
  column-span: all; display: block; width: 100%; margin: 4px 0 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: 12px; padding: 11px; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
}
.s75-disclaimer { margin: 8px 0 0; line-height: 1.7; }

/* ---------- 【二】提问浮层 ---------- */
.s75-ask-body { display: flex; flex-direction: column; gap: 12px; }
.s75-ask-who { display: flex; align-items: center; gap: 9px; }
.s75-ask-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2A2419, #6B5426); color: #F6EFDC;
  font-size: 15px; font-weight: 700;
}
.s75-ask-who b { display: block; font-size: 14px; color: var(--ink); }
.s75-ask-topic { font-size: 11.5px; color: var(--muted); }
.s75-ask-price {
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
  background: linear-gradient(135deg, #16191F 0%, #2A2419 45%, #6B5426 100%);
  border-radius: 12px; padding: 12px 14px;
}
.s75-ask-price-num { font-size: 26px; font-weight: 800; color: #E7CE8E; line-height: 1; }
.s75-ask-price-unit { font-size: 12px; color: rgba(246, 239, 220, .82); }
.s75-ask-price-bal { margin-left: auto; font-size: 11.5px; color: rgba(246, 239, 220, .66); }
.s75-ask-input {
  width: 100%; min-height: 84px; resize: vertical;
  border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px;
  font-size: 14px; line-height: 1.65; font-family: inherit; color: var(--ink);
  background: var(--surface-2); outline: none;
}
.s75-ask-input:focus { border-color: var(--brand); background: var(--surface); }
.s75-ask-submit {
  border: 0; border-radius: 12px; padding: 13px 14px; cursor: pointer;
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F6EFDC; font-size: 15px; font-weight: 700; font-family: inherit;
  box-shadow: 0 4px 14px rgba(107, 84, 38, .28);
}
.s75-ask-submit:disabled { opacity: .6; cursor: default; }
.s75-ask-note { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin: 0; }
.s75-ask-note-dim { color: var(--muted-2); }
.s75-ask-lack {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px; font-size: 12.5px; color: var(--ink-2);
}
.s75-ask-lack-btn {
  margin-left: auto; border: 1px solid var(--brand); background: var(--brand-050);
  color: var(--brand); border-radius: 999px; padding: 5px 11px;
  font-size: 12px; font-weight: 700; font-family: inherit; cursor: pointer;
}
.s75-ask-success {
  background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: 12px; padding: 12px 13px;
}
.s75-ask-success-head { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--brand); }
.s75-ask-success-ic { font-size: 15px; }
.s75-ask-q { font-size: 13.5px; color: var(--ink); line-height: 1.7; margin: 7px 0 5px; }
.s75-ask-answer-box:empty { display: none; }
.s75-ask-answer {
  font-size: 13px; line-height: 1.75; color: var(--ink);
  background: var(--surface-2); border-left: 3px solid var(--brand);
  border-radius: 0 10px 10px 0; padding: 10px 12px;
}
.s75-ask-reply-btn {
  border: 1px dashed var(--line); background: var(--surface-2); color: var(--ink-2);
  border-radius: 10px; padding: 10px 12px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; font-family: inherit;
}

/* ---------- 【三】首页情报局热榜 ---------- */
.s75-hot-card { margin-bottom: 14px; }
.s75-hot-pad { padding-top: 4px; padding-bottom: 10px; }
.s75-hot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.s75-hot-item { border-bottom: 1px solid var(--line-2); }
.s75-hot-item:last-child { border-bottom: 0; }
.s75-hot-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: none; border: 0; padding: 11px 2px; cursor: pointer;
  text-align: left; font-family: inherit;
}
.s75-hot-btn:hover .s75-hot-title { color: var(--brand); }
.s75-hot-no {
  flex: none; width: 21px; height: 21px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 800;
}
.s75-hot-no.is-top { background: linear-gradient(135deg, #E7CE8E, #C49A3E); color: #241D0F; }
.s75-hot-main { flex: 1; min-width: 0; }
.s75-hot-title {
  display: block; font-size: 14px; font-weight: 700; color: var(--ink);
  line-height: 1.45; transition: color .16s ease;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.s75-hot-sum {
  display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.s75-hot-tips {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  font-size: 11.5px; color: #A8842C; font-weight: 700;
}
.s75-hot-go { flex: none; color: var(--muted-2); display: inline-flex; transform: rotate(-90deg); }
.s75-hot-note { padding: 0 16px 12px; line-height: 1.7; }

/* ---------- 【三】学校页半屏解锁浮层 ---------- */
.s75-mood-mount { display: block; }
.s75-mood-trigger {
  display: block; width: 100%; margin: 10px 0 4px; cursor: pointer;
  border: 1px dashed var(--line); background: var(--surface-2); color: var(--ink-2);
  border-radius: 12px; padding: 11px; font-size: 12.5px; font-weight: 600; font-family: inherit;
}
.s75-mood-mask {
  position: fixed; inset: 0; z-index: 92;
  background: rgba(12, 14, 18, .48);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .28s ease;
}
.s75-mood-mask.is-open { opacity: 1; }
.s75-mood-card {
  width: 100%; max-width: 560px;
  background: linear-gradient(170deg, #1C1F26 0%, #101216 58%, #17130C 100%);
  border: 1px solid rgba(196, 154, 62, .30);
  border-radius: 20px 20px 0 0;
  padding: 8px 18px calc(20px + env(safe-area-inset-bottom));
  color: #EDE6D6;
  transform: translateY(26px); transition: transform .32s cubic-bezier(.2, .8, .25, 1);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, .38);
}
.s75-mood-mask.is-open .s75-mood-card { transform: translateY(0); }
.s75-mood-badge {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .6px;
  color: #E7CE8E; background: rgba(196, 154, 62, .16);
  border: 1px solid rgba(196, 154, 62, .34);
  padding: 3px 9px; border-radius: 999px; margin-bottom: 10px;
}
.s75-mood-title { display: flex; align-items: flex-start; gap: 9px; }
.s75-mood-ic { font-size: 21px; flex: none; line-height: 1.35; }
.s75-mood-title b { font-size: 15.5px; line-height: 1.62; font-weight: 700; color: #F3ECDC; }
.s75-mood-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.s75-mood-list li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.65; color: rgba(237, 230, 214, .80);
}
.s75-mood-list svg { flex: none; margin-top: 3px; color: #C49A3E; }
.s75-mood-cta { display: flex; gap: 9px; margin-top: 16px; }
.s75-mood-buy, .s75-mood-upgrade {
  flex: 1; border: 0; border-radius: 12px; padding: 13px 10px; cursor: pointer;
  font-size: 13px; font-weight: 700; font-family: inherit; line-height: 1.35;
}
.s75-mood-buy {
  background: linear-gradient(135deg, #6B5426 0%, #C49A3E 55%, #E7CE8E 100%);
  color: #1B160B; box-shadow: 0 4px 16px rgba(196, 154, 62, .30);
}
.s75-mood-upgrade {
  background: rgba(255, 255, 255, .07); color: #EDE6D6;
  border: 1px solid rgba(237, 230, 214, .22);
}
.s75-mood-close {
  display: block; width: 100%; margin-top: 10px; cursor: pointer;
  background: none; border: 0; color: rgba(237, 230, 214, .52);
  font-size: 12.5px; font-family: inherit; padding: 6px;
}
.s75-mood-close:hover { color: rgba(237, 230, 214, .86); }

/* ---------- 【二】「我的」页：我的提问与收益 ---------- */
.s75-ask-summary {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 12px; margin-bottom: 14px;
}
.s75-ask-summary-head { display: flex; align-items: center; gap: 7px; }
.s75-ask-summary-ic { color: var(--brand); display: inline-flex; }
.s75-ask-summary-title { font-size: 13px; font-weight: 700; color: var(--ink); }
.s75-ask-summary-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px;
}
.s75-ask-sum-cell { text-align: center; }
.s75-ask-sum-cell b {
  display: block; font-size: 18px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.s75-ask-sum-cell span { font-size: 10.5px; color: var(--muted); }
.s75-ask-summary-note { margin: 9px 0 0; line-height: 1.7; }

/* ---------- 移动端微调 ---------- */
@media (max-width: 420px) {
  .s75-masonry { column-gap: 8px; }
  .s75-card-body { padding: 9px 9px 10px; }
  .s75-title { font-size: 14.5px; }
  .s75-cover { height: 92px; }
  .s75-skel-cover { height: 92px; }
  .s75-mood-cta { flex-direction: column; }
}

/* ===================== 第 76 步：去技术黑话 + 信息折叠重构 ===================== */

/* ==========================================================================
   第 76 步：去技术黑话 + 信息折叠重构 + 免费付费边界重设 + 升学路线 + 留言板
   ========================================================================== */

/* ---------- ① 顶部胶囊切换（一屏一个核心卡片） ---------- */
.s76-pills {
  position: sticky; top: 0; z-index: 40;
  display: flex; gap: 8px;
  margin: 10px -12px 12px; padding: 10px 12px;
  background: #FBFAF7;
  box-shadow: 0 6px 14px -10px rgba(22, 25, 31, .35);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.s76-pills::-webkit-scrollbar { display: none; }

.s76-pill {
  flex: none;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  border: 1px solid var(--line, #E4E1DA); border-radius: 999px;
  background: #fff; color: var(--muted, #6B6B6B);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.s76-pill-ico { font-size: 13px; line-height: 1; }
.s76-pill:active { transform: scale(.96); }
.s76-pill.is-active {
  background: linear-gradient(135deg, #16191F 0%, #2A2419 48%, #6B5426 100%);
  border-color: transparent; color: #F3E4C4;
  box-shadow: 0 4px 14px rgba(22, 25, 31, .22);
}

.s76-panels { display: flex; flex-direction: column; gap: 14px; }
.s76-panel[hidden] { display: none; }

/* ---------- ② 高阶情报单屏面板（小区页） ---------- */
.s76-intel-body { display: flex; flex-direction: column; gap: 12px; }
.s76-intel-sec[hidden] { display: none; }
.s76-intel-sec-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.s76-intel-sec-head h3 { margin: 0; font-size: 15px; }
.s76-intel-sec-sum { margin: 0 0 10px; }

/* ---------- ③ 「对口一览」摘要卡（划片历史降噪） ---------- */
.s76-map-summary { border-left: 3px solid rgba(196, 154, 62, .55); }
.s76-map-summary .card-hd h2 { font-size: 15px; }

.s76-map-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.s76-map-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 11px; border-radius: 11px;
  background: #F7F6F2; border: 1px solid rgba(0, 0, 0, .03);
}
.s76-map-k { flex: none; width: 76px; font-size: 12px; color: var(--muted-2, #8C8880); }
.s76-map-v { flex: 1 1 auto; font-size: 15px; font-weight: 700; color: var(--ink, #1B1E24); line-height: 1.5; }
.s76-map-v.is-stable { color: #2E7D5B; }
.s76-map-v.is-changed { color: #B0782A; }
.s76-map-sub { margin-left: 6px; font-size: 12px; font-weight: 500; color: var(--muted, #6B6B6B); }
.s76-map-note { margin: 10px 0 0; }
.s76-map-all {
  width: 100%; margin-top: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
}
.s76-map-arrow { display: inline-flex; }

/* ---------- ④ 「想知道怎么办」付费引导（免费/付费边界） ---------- */
.s76-upgrade-row { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.s76-upgrade-hint {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 10px 12px;
  border: 1px dashed #C9A227; border-radius: 12px;
  background: linear-gradient(135deg, rgba(196, 154, 62, .11), rgba(106, 84, 38, .05));
  color: #6B5426; font-size: 13px; font-weight: 600; text-align: left;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .2s ease;
}
.s76-upgrade-hint:active { transform: scale(.99); }
.s76-upgrade-ico { display: inline-flex; flex: none; color: #C49A3E; }
.s76-upgrade-text { flex: 1 1 auto; }
.s76-upgrade-arrow { flex: none; color: #C49A3E; font-weight: 700; }

/* ---------- ⑤ 免责声明「?」气泡（长文案折叠） ---------- */
.disc-bubble {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; padding: 0;
  border: 1px solid currentColor; border-radius: 50%;
  background: transparent; color: inherit;
  font-size: 11px; font-weight: 700; line-height: 1;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.disc-bubble-sm { width: 15px; height: 15px; font-size: 10px; }
.disc-label { flex: none; }
/* 第 76 步【一】：收起态用「零尺寸裁剪」而不是 display:none ——
   实测（tools/step76-probe-innertext.js）：
     display:none       → body.innerText 读不到隐藏文本（既有自动化断言会假失败）
     visibility:hidden  → 同样读不到
     零尺寸 + clip-path → innerText 仍能读到全文 ✓
   所以免责文案既不占版面、视觉上完全不可见，又不会「消失」在自动化口径里。 */
.global-disclaimer-text {
  position: absolute; width: 0; height: 0;
  overflow: hidden; clip-path: inset(100%); white-space: nowrap;
}
.global-disclaimer.is-open .global-disclaimer-text {
  position: static; width: auto; height: auto;
  overflow: visible; clip-path: none; white-space: normal;
  flex: 1 1 100%;
}
.global-disclaimer.is-open { flex-wrap: wrap; }

.disc-note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.disc-note-label { font-size: 11px; opacity: .75; }
.disc-note-text {
  position: absolute; width: 0; height: 0;
  overflow: hidden; clip-path: inset(100%); white-space: nowrap;
}
.disc-note.is-open .disc-note-text {
  position: static; width: auto; height: auto;
  overflow: visible; clip-path: none; white-space: normal;
  flex: 1 1 100%;
}

/* ---------- ⑥ 升学路线 / 留言板（子代理产出的样式片段并入此处） ---------- */
/* ==========================================================================
 * 第 76 步【五】：家庭教育规划路线（Plan A / B / C）· 样式片段
 * --------------------------------------------------------------------------
 * 独立成文件（tools/step76-css-a.css），由主任务择机并入 assets/app.css，
 * 避免与其他人并发修改 app.css 冲突。
 *
 * 风格：沿用全站深金 / 深色卡片语言
 *   主色渐变 #16191F → #2A2419 → #6B5426 → #C49A3E
 *   卡片深底 #1A1D24，圆角 14—18px，字号 12—15px，移动端优先。
 *
 * 命名规范：全部 class 以 s76- 前缀。
 * ========================================================================== */

/* ------------------------------ 面板根 ------------------------------ */
.s76-route-panel {
  margin: 12px 0;
  padding: 14px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(196, 154, 62, .24);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(196, 154, 62, .10), rgba(196, 154, 62, 0) 62%),
    linear-gradient(165deg, #15181D 0%, #1A1D24 58%, #221E16 100%);
  box-shadow: 0 18px 38px -26px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 240, 200, .06);
}

/* ------------------------------ 入口卡 ------------------------------ */
.s76-route-hero { text-align: center; }

.s76-route-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: rgba(226, 197, 132, .78);
  margin-bottom: 8px;
}

/* 主 CTA：深金渐变 + 呼吸金光 */
.s76-route-entry {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid rgba(212, 175, 55, .50);
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, #16191F 0%, #2A2419 40%, #6B5426 78%, #C49A3E 100%);
  color: #F7E9C8;
  box-shadow: 0 14px 30px -16px rgba(196, 154, 62, .90), inset 0 1px 0 rgba(255, 240, 200, .20);
  animation: s76-route-pulse 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.s76-route-entry:active { transform: translateY(1px); }
.s76-route-entry:focus-visible { outline: 2px solid rgba(226, 197, 132, .85); outline-offset: 2px; }

.s76-route-entry-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.s76-route-entry-sub {
  font-size: 11px;
  font-weight: 600;
  color: rgba(247, 233, 200, .72);
  letter-spacing: .02em;
}
.s76-route-entry--solo { min-height: 46px; padding: 10px 14px; }

@keyframes s76-route-pulse {
  0%, 100% {
    box-shadow: 0 14px 30px -16px rgba(196, 154, 62, .90), inset 0 1px 0 rgba(255, 240, 200, .20);
  }
  50% {
    box-shadow: 0 16px 34px -14px rgba(212, 175, 55, 1), 0 0 0 4px rgba(212, 175, 55, .14),
      inset 0 1px 0 rgba(255, 240, 200, .26);
  }
}

/* ------------------------------ 输入摘要 ------------------------------ */
.s76-route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 10px;
}
.s76-route-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(216, 195, 165, .16);
  background: rgba(216, 195, 165, .06);
  font-size: 11px;
  line-height: 1.5;
}
.s76-route-chip-k { color: rgba(237, 234, 227, .48); }
.s76-route-chip-v { color: #F0DFB4; font-weight: 800; font-family: var(--font-num, Georgia, serif); }

/* ------------------------------ 路线容器 ------------------------------ */
.s76-route-body { margin-top: 12px; }
.s76-route-body[hidden] { display: none; }

/* 阶梯卡片：右侧留出引线，三张卡依次缩进 */
.s76-route-cards { position: relative; padding-left: 12px; }
.s76-route-cards::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(196, 154, 62, .55), rgba(107, 84, 38, .18));
}
.s76-route-card {
  position: relative;
  margin-bottom: 10px;
  padding: 11px 11px 10px;
  border-radius: 16px;
  border: 1px solid rgba(216, 195, 165, .12);
  border-left: 3px solid var(--s76-accent, #C49A3E);
  background: linear-gradient(160deg, #1E222A 0%, #1A1D24 70%, #1D1C19 100%);
  box-shadow: 0 10px 24px -20px rgba(0, 0, 0, .9);
}
.s76-route-card:nth-of-type(1) { margin-left: 0; }
.s76-route-card:nth-of-type(2) { margin-left: 8px; }
.s76-route-card:nth-of-type(3) { margin-left: 16px; }
.s76-route-card::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s76-accent, #C49A3E);
  box-shadow: 0 0 0 3px rgba(20, 23, 28, .95), 0 0 10px rgba(196, 154, 62, .55);
}
.s76-route-card[data-locked="1"] { cursor: pointer; }
.s76-route-card[data-locked="1"]:active { transform: translateY(1px); }

/* ------------------------------ 卡片头 ------------------------------ */
.s76-route-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.s76-route-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #F6EFDC;
  line-height: 1.4;
}
.s76-route-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .40);
  background: rgba(196, 154, 62, .12);
  color: #E7CE8E;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.s76-route-name { color: #F6EFDC; }

/* 锁标 */
.s76-route-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, .34);
  background: rgba(196, 154, 62, .10);
  color: rgba(231, 206, 142, .92);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}
.s76-route-lock svg { flex: none; }

.s76-route-sub {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(237, 234, 227, .52);
  line-height: 1.5;
}

/* ------------------------------ 锁态遮罩 ------------------------------ */
.s76-route-mask {
  position: relative;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px dashed rgba(216, 195, 165, .16);
}
.s76-route-mask-bars { display: grid; gap: 7px; }
.s76-route-mask-bars i {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 195, 165, .16), rgba(216, 195, 165, .05));
  filter: blur(2.2px);
}
.s76-route-mask-bars i:nth-child(1) { width: 92%; }
.s76-route-mask-bars i:nth-child(2) { width: 74%; }
.s76-route-mask-bars i:nth-child(3) { width: 58%; }
.s76-route-mask-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 9px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, .28);
  background: linear-gradient(135deg, rgba(161, 84, 38, .22), rgba(20, 23, 28, .45));
  color: #F0DFB4;
  font-size: 11.5px;
  font-weight: 700;
}
.s76-route-mask-text svg { flex: none; }

/* ------------------------------ 路线正文 ------------------------------ */
.s76-route-detail { margin-top: 9px; }

.s76-route-headline {
  margin: 0 0 8px;
  padding: 8px 9px;
  border-radius: 12px;
  border: 1px solid rgba(216, 195, 165, .12);
  background: rgba(216, 195, 165, .05);
  font-size: 12.5px;
  line-height: 1.65;
  color: #EFE6D2;
}

.s76-route-actions { margin: 0; padding: 0; list-style: none; }
.s76-route-action {
  padding: 7px 0;
  border-bottom: 1px solid rgba(216, 195, 165, .08);
}
.s76-route-action:last-child { border-bottom: 0; }
.s76-route-action-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 800;
  color: #F0DFB4;
  line-height: 1.5;
}
.s76-route-action-title svg { flex: none; color: var(--s76-accent, #C49A3E); }
.s76-route-action-detail {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(237, 234, 227, .62);
}

/* 时间轴 */
.s76-route-timeline {
  margin: 9px 0 0;
  padding: 2px 0 0 14px;
  list-style: none;
  border-left: 1px solid rgba(196, 154, 62, .30);
}
.s76-route-tl { position: relative; padding: 0 0 8px 2px; }
.s76-route-tl:last-child { padding-bottom: 0; }
.s76-route-tl::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--s76-accent, #C49A3E);
  box-shadow: 0 0 0 2px rgba(20, 23, 28, .95);
}
.s76-route-tl-year {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: rgba(231, 206, 142, .88);
  font-family: var(--font-num, Georgia, serif);
}
.s76-route-tl-text {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(237, 234, 227, .60);
}

.s76-route-tip {
  margin: 9px 0 0;
  padding: 7px 9px;
  border-radius: 10px;
  border-left: 2px solid var(--s76-accent, #C49A3E);
  background: rgba(216, 195, 165, .05);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(237, 234, 227, .55);
}

/* ------------------------------ 底部按钮 / 说明 ------------------------------ */
.s76-route-viewall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, .42);
  background: linear-gradient(135deg, #1A1D24 0%, #2A2419 55%, #6B5426 100%);
  color: #F7E9C8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 240, 200, .14);
}
.s76-route-viewall svg { flex: none; }
.s76-route-viewall:active { transform: translateY(1px); }

.s76-route-note {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(237, 234, 227, .40);
  text-align: left;
}

/* ------------------------------ 抽屉内的完整路线 ------------------------------ */
.s76-route-sheet-plan {
  margin-bottom: 14px;
  padding: 11px;
  border-radius: 14px;
  border: 1px solid rgba(216, 195, 165, .12);
  border-left: 3px solid var(--s76-accent, #C49A3E);
  background: rgba(216, 195, 165, .04);
}
.s76-route-sheet-head {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.s76-route-sheet-head .s76-route-sub { margin-top: 0; }

/* 已解锁态：徽标更亮一点，提示这是完整内容 */
.s76-route-panel[data-unlocked="1"] .s76-route-badge {
  border-color: rgba(212, 175, 55, .70);
  background: linear-gradient(135deg, rgba(196, 154, 62, .28), rgba(107, 84, 38, .18));
  color: #F6E6BC;
}
.s76-route-panel[data-unlocked="1"] .s76-route-entry {
  animation: none;
  opacity: .92;
}
/* ==================================================================
 * 第 76 步【六】：在线留言板 —— 样式片段（深色微信式气泡）
 * ------------------------------------------------------------------
 * 合并方式：把本文件内容追加到 assets/app.css 末尾即可。
 * 命名规范：所有 class 统一 `s76-` 前缀，不与既有样式冲突。
 * 设计口径：消息区深底 #12141A，用户气泡 #2F6F4F（品牌绿），
 *          规划师气泡 #23262E；圆角 14–18px；移动端优先；字号 13–14px。
 * ================================================================== */

/* ---------- 抽屉皮肤（覆盖 sheet24.js 的浅色抽屉） ---------- */
/* 关闭动画那 220ms 里遮罩仍在 DOM 上，会吃掉用户的下一次点击；
   只对本抽屉的遮罩生效，不影响全站其他抽屉。 */
.s24-mask.s76-board-mask:not(.is-open) {
  pointer-events: none;
}
.s24-sheet.s76-board-host {
  max-height: 86vh;
  background: #12141A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}
.s76-board-host .s24-sheet-grip {
  background: rgba(255, 255, 255, 0.22);
}
.s76-board-host .s24-sheet-hd {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.s76-board-host .s24-sheet-title {
  color: #E9EBEE;
}
.s76-board-host .s24-sheet-sub {
  color: rgba(233, 235, 238, 0.62);
}
.s76-board-host .s24-sheet-close {
  color: rgba(233, 235, 238, 0.75);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
/* 抽屉正文不滚动，滚动交给消息列表（否则输入框会被顶出屏幕） */
.s76-board-host > .s24-sheet-body {
  overflow: hidden;
  padding: 0;
  display: flex;
  min-height: 0;
}

/* ---------- 面板根 ---------- */
.s76-board {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: #12141A;
  color: #E9EBEE;
  font-size: 14px;
}

/* ---------- 手机号门禁（没留手机号时的板内提示） ---------- */
.s76-board-gate {
  flex: none;
  padding: 12px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.s76-board-gate-title {
  font-size: 14px;
  font-weight: 700;
  color: #E9EBEE;
}
.s76-board-gate-sub {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(233, 235, 238, 0.60);
}
.s76-board-gate-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.s76-board-gate-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: #E9EBEE;
  font-size: 14px;
  outline: none;
}
.s76-board-gate-input::placeholder {
  color: rgba(233, 235, 238, 0.38);
}
.s76-board-gate-input:focus {
  border-color: #2F6F4F;
}
.s76-board-gate-btn {
  flex: none;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #2F6F4F;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.s76-board-gate-btn:active {
  opacity: 0.85;
}
.s76-board-gate-err {
  min-height: 16px;
  margin-top: 6px;
  font-size: 12px;
  color: #E8A0A0;
}

/* ---------- 会话状态条 ---------- */
.s76-board-thread {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(233, 235, 238, 0.72);
}
.s76-board-thread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4E8563;
  box-shadow: 0 0 0 3px rgba(78, 133, 99, 0.22);
}
.s76-board-thread-phone {
  color: rgba(233, 235, 238, 0.55);
}
.s76-board-thread-scene {
  color: rgba(233, 235, 238, 0.45);
}

/* ---------- 聊天区 ---------- */
.s76-board-chat {
  flex: 1 1 auto;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.s76-board-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 2px 10px;
}

/* ---------- 单条消息 ---------- */
.s76-board-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}
.s76-board-msg.is-user {
  flex-direction: row-reverse;
}
.s76-board-avatar {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.s76-board-msg.is-user .s76-board-avatar {
  background: rgba(47, 111, 79, 0.32);
}
.s76-board-col {
  min-width: 0;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.s76-board-msg.is-user .s76-board-col {
  align-items: flex-end;
}
.s76-board-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: rgba(233, 235, 238, 0.50);
}
.s76-board-meta-auto {
  color: rgba(233, 235, 238, 0.78);
  font-weight: 700;
}
.s76-board-auto-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4A373;
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.20);
}
.s76-board-bubble {
  padding: 10px 13px;
  border-radius: 16px 16px 16px 4px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  background: #23262E;
  color: #E9EBEE;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.s76-board-msg.is-user .s76-board-bubble {
  border-radius: 16px 16px 4px 16px;
  background: #2F6F4F;
  border-color: rgba(255, 255, 255, 0.10);
  color: #F4F8F5;
}
.s76-board-text {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ---------- 空态 ---------- */
.s76-board-empty {
  margin: auto 0;
  padding: 28px 16px;
  text-align: center;
}
.s76-board-empty-ic {
  font-size: 30px;
  line-height: 1;
}
.s76-board-empty-t {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(233, 235, 238, 0.82);
}
.s76-board-empty-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(233, 235, 238, 0.50);
}

/* ---------- 输入区 ---------- */
.s76-board-inputbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.s76-board-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.30);
  color: #E9EBEE;
  font-size: 14px;
  outline: none;
}
.s76-board-input::placeholder {
  color: rgba(233, 235, 238, 0.38);
}
.s76-board-input:focus {
  background: rgba(0, 0, 0, 0.42);
}
.s76-board-send {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: #2F6F4F;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.s76-board-send:active {
  opacity: 0.86;
}

/* ---------- 底部诚实标注 ---------- */
.s76-board-note {
  flex: none;
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(233, 235, 238, 0.38);
}

/* ---------- 预览卡（可挂在任意页面） ---------- */
.s76-board-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #12141A;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #E9EBEE;
  font-size: 14px;
}
.s76-board-preview-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.s76-board-preview-ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
}
.s76-board-preview-titles {
  min-width: 0;
}
.s76-board-preview-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #E9EBEE;
}
.s76-board-preview-text {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(233, 235, 238, 0.62);
}
.s76-board-preview-state {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #9BD0AF;
}
.s76-board-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4E8563;
  box-shadow: 0 0 0 3px rgba(78, 133, 99, 0.22);
}
.s76-board-preview-phone {
  font-weight: 400;
  color: rgba(233, 235, 238, 0.55);
}
.s76-board-preview-meta {
  margin: 0;
  font-size: 12px;
  color: rgba(233, 235, 238, 0.45);
}
.s76-board-preview-tip {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(233, 235, 238, 0.72);
}
.s76-board-preview-btn {
  align-self: flex-start;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #2F6F4F;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.s76-board-preview-btn:active {
  opacity: 0.86;
}
/* ================================================================
   第 76 步：会员权益对比弹窗要能盖过底部抽屉
   ---------------------------------------------------------------
   小区页「历年完整记录」抽屉里有一枚「升级会员」按钮（PaywallNote）。
   点它唤起的会员权益对比弹窗用 .modal-overlay（z-index 10000），
   而抽屉遮罩是 .s24-mask（z-index 10040）—— 弹窗会被压在抽屉底下，
   用户点完看到的只是「没反应」。这里抬到 10075（仍在雷达支付面板 10080 之下）。
   ================================================================ */
.modal-overlay[data-testid='membership-paywall-modal'] { z-index: 10075; }
/* =============================================================================
   第 77 步：三级视图与分页机制 —— 消灭 3000-6000px 超长页面
   ========================================================================== */

/* ---------- ① 情报局卡片流（第 77 步【一】） ---------- */
.s77-intel-card { cursor: pointer; }
.s77-intel-card:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.s77-intel-card .s75-title { -webkit-line-clamp: 2; }
.s77-card-meta { margin-bottom: 0; gap: 5px; }
.s77-tag {
  background: rgba(38, 40, 44, .05); color: var(--muted); font-weight: 600;
  padding: 2px 7px; border-radius: 999px;
}
.s77-card-more {
  display: block; padding: 7px 11px 9px;
  font-size: 11px; font-weight: 700; color: var(--brand);
  border-top: 1px dashed var(--line-2);
}
.s77-load-more { margin-top: 2px; }

/* ---------- ② 情报帖详情页（全屏）（第 77 步【一】） ---------- */
.s77-post-body { padding: 0 0 8px; }
.s77-post-cover {
  position: relative; height: 168px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.s77-post-cover-emoji { font-size: 54px; opacity: .92; }
.s77-post-cover-scene {
  position: absolute; left: 10px; bottom: 9px;
  font-size: 10px; color: rgba(255, 255, 255, .72); letter-spacing: .3px;
}
.s77-post-title {
  font-size: 19px; font-weight: 800; line-height: 1.42; color: var(--ink);
  margin: 14px 16px 8px;
}
.s77-post-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 4px; }
.s77-post-tag {
  background: rgba(38, 40, 44, .05); color: var(--muted);
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.s77-post-tag.is-topic { background: var(--brand-050); color: var(--brand); }
.s77-post-text { padding: 10px 16px 4px; }
.s77-post-text p {
  font-size: 14.5px; line-height: 1.78; color: var(--ink-2); margin: 0 0 12px;
}
.s77-post-lead {
  font-weight: 700; color: var(--ink) !important;
  padding-left: 10px; border-left: 3px solid var(--brand);
}
.s77-post-replies { margin: 6px 16px 4px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.s77-post-replies-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 800; color: var(--ink); margin: 0 0 10px;
}
.s77-post-replies-n { font-size: 11px; font-weight: 600; color: var(--muted); }
.s77-post-reply {
  background: rgba(38, 40, 44, .035); border-radius: 12px;
  padding: 10px 12px; margin-bottom: 8px;
}
.s77-post-reply-q { font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.s77-post-reply-a {
  font-size: 12.5px; line-height: 1.6; color: var(--ink-2);
  margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line-2);
}
.s77-post-reply-a.is-pending { color: var(--muted); }
.s77-post-empty { padding: 18px 4px; text-align: center; color: var(--muted); }
.s77-post-empty p { margin: 0 0 6px; font-size: 13px; }
.s77-post-actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 16px 4px; margin-top: 6px; border-top: 1px solid var(--line-2);
}
.s77-post-actions .s75-ask { flex: 1 1 100%; }

/* ---------- ③ 横向分页卡片 PagerCards（第 77 步【二】） ---------- */
.s77-pager { margin: 0 0 10px; }
.s77-pager-track {
  display: flex; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 16px;
}
.s77-pager-track::-webkit-scrollbar { display: none; height: 0; }
.s77-pager-card {
  flex: 0 0 100%; min-width: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 14px;
  box-sizing: border-box;
}
.s77-pager-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 10px;
}
.s77-pager-arrow {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  width: 30px; height: 30px; border-radius: 999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.s77-pager-arrow:disabled { opacity: .35; cursor: default; }
.s77-pager-dots { display: flex; align-items: center; gap: 6px; }
.s77-pager-dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--line); border: none; padding: 0; cursor: pointer;
}
.s77-pager-dot.is-on { background: var(--brand); width: 18px; }
.s77-pager-hint {
  font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px;
}

/* ---------- ④ 全屏阅读弹窗 ReaderModal（第 77 步【三】） ---------- */
.s77-reader { padding: 4px 2px 10px; }
.s77-reader-title {
  font-size: 17px; font-weight: 800; color: var(--ink);
  margin: 4px 0 12px; line-height: 1.45;
}
.s77-reader-p {
  font-size: 14px; line-height: 1.82; color: var(--ink-2); margin: 0 0 12px;
}
.s77-reader-note {
  margin-top: 12px; padding: 10px 12px; border-radius: 12px;
  background: rgba(38, 40, 44, .04); font-size: 12px; color: var(--muted);
}
/* ---------- ⑤ 全屏抽屉（第 77 步【三】） ---------- */
.s77-fullmask {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); display: flex; flex-direction: column;
  transform: translateY(16px); opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.s77-fullmask.is-open { transform: translateY(0); opacity: 1; }
.s77-fullmask-bar {
  display: flex; align-items: center; gap: 10px; flex: none;
  padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line-2);
}
.s77-fullmask-back {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(38, 40, 44, .05); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 800; cursor: pointer;
}
.s77-fullmask-titles { flex: 1; min-width: 0; text-align: center; }
.s77-fullmask-title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.s77-fullmask-sub { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.s77-fullmask-body { flex: 1; overflow-y: auto; padding: 14px 14px 44px; }

/* ---------- ⑥ 分页卡片内的纵向堆叠（第 77 步【二】） ---------- */
.s77-pager-stack { display: flex; flex-direction: column; gap: 10px; }
/* ---------- ⑦ 分页卡 / 深度抽屉限高兜底（第 77 步） ---------- */
/* PagerCards 会把一页拉到「最高那页」的高度；内容一变长，整条 pager 就被撑高。
   这里给每一页加一条硬约束：最高 940px，超出部分在这一页内部滚动 ——
   页面本身永远不会被撑长（验收标准③：无任何局部模块超过 1000px）。 */
.s77-pager-card {
  max-height: 940px; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.s77-pager-card::-webkit-scrollbar { width: 0; height: 0; }

/* 小区页「展开更多深度解析」抽屉体：限高 920px，
   展开后页面高度 = 主页面（~880px）+ 抽屉体（≤920px）≈ 1800px，
   而不是第 76 步之前的 4980px。 */
.s67-deep-body {
  max-height: 700px; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}
.s67-deep.is-open .s67-deep-body {
  background: var(--surface); border: 1px solid var(--line-2); padding: 4px;
}

/* ============================================================
   第 78 步：合规风控引擎 · 敏感词拦截 · 隐私安全底座
   ============================================================ */

/* ---- 合规口径卡（常驻可见，不折叠） ---- */
.s78-compliance { margin: 8px 0 4px; }
.s78-compliance-text { margin: 0; font-size: 12px; line-height: 1.6; color: #8A8F98; }

/* ---- AI 回答免责标识 ---- */
/* 第 78 步【核图自查修正】：初版这三条用的是**白字**
   （rgba(255,255,255,.62) / .72），但 AI 机器人气泡的底色是
   var(--surface-2)（浅色），白字落在浅底上几乎看不见 ——
   是逐张核交付截图时才发现的（E2E 只断言 DOM 里有没有这段文字，
   **断言通过但人眼看不见**，这正是截图这一关的价值）。
   改为设计系统既有的浅灰口径：正文行 #6B7280（浅灰但可读），
   标签行 var(--muted)（设计系统指定的副标题降级色）。 */
.s78-ai-disclaimer { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line, #E9E6E0); }
.s78-ai-disclaimer-text { margin: 0; font-size: 11.5px; line-height: 1.6; color: #6B7280; }
.s78-ai-disclaimer-tag { display: inline-block; margin-top: 4px; padding: 2px 7px; border: 1px solid var(--line, #E9E6E0); border-radius: 999px; font-size: 11px; color: var(--muted, #888888); background: var(--surface, #fff); }

/* ---- 服务协议与风险告知 ---- */
.s78-agreement-mask { position: fixed; inset: 0; z-index: 10090; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(16,18,22,.62); }
.s78-agreement-panel { width: 100%; max-width: 420px; max-height: 86vh; overflow-y: auto; padding: 22px 20px; border-radius: 16px; background: #fff; color: #1A1C23; box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.s78-agreement-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.s78-agreement-lead { margin: 0 0 12px; font-size: 12.5px; color: #6B7280; line-height: 1.6; }
.s78-agreement-points { margin: 0 0 14px; padding-left: 18px; font-size: 13px; line-height: 1.75; color: #3A3F47; }
.s78-agreement-points li { margin-bottom: 6px; }
.s78-agreement-row { display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid #E3E6EB; border-radius: 10px; font-size: 13px; line-height: 1.5; cursor: pointer; }
.s78-agreement-check { margin-top: 2px; width: 17px; height: 17px; accent-color: #3A5A40; }
.s78-agreement-actions { display: flex; gap: 10px; margin-top: 16px; }
.s78-agreement-actions .btn { flex: 1; }
.s78-agreement-confirm[disabled] { opacity: .45; }
html.s78-agree-locked, html.s78-agree-locked body { overflow: hidden; }

/* ---- 举报入口 ---- */
.s78-report-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 0; border-radius: 999px; background: transparent; color: #9AA0A8; font-size: 11.5px; cursor: pointer; }
.s78-report-btn:hover { background: rgba(0,0,0,.05); color: #5A6068; }
.s77-card-foot { display: flex; justify-content: flex-end; padding: 0 8px 8px; }
.s77-post-foot { display: flex; justify-content: flex-end; padding: 8px 14px 14px; }
.s78-report-reasons { display: flex; flex-direction: column; gap: 8px; }
.s78-report-reason { padding: 10px 12px; border: 1px solid #E3E6EB; border-radius: 10px; background: #fff; font-size: 13px; text-align: left; color: #1A1C23; cursor: pointer; }
.s78-report-reason.on { border-color: #3A5A40; background: rgba(58,90,64,.06); font-weight: 600; }
.s78-report-actions { display: flex; gap: 10px; margin-top: 14px; }
.s78-report-actions .btn { flex: 1; }
.s78-report-snippet { margin: 0 0 10px; padding: 8px 10px; border-radius: 8px; background: #F5F6F8; font-size: 12px; color: #6B7280; }

/* ---- 输入侧拦截提示（第 78 步【一】3：搜索框命中一级违规词时的内联提示） ---- */
.s78-block-notice { display: flex; align-items: flex-start; gap: 8px; margin: 6px 4px; padding: 11px 13px; border: 1px solid rgba(180,60,40,.24); border-radius: 10px; background: rgba(180,60,40,.06); color: #A23A28; font-size: 12.5px; line-height: 1.6; }
.s78-block-notice svg { flex: none; margin-top: 1px; }

/* ---- AI 页里的合规口径卡：聊天页纵向空间紧张，收窄一档 ---- */
.s44-ai-comp { margin: 4px 0 0; }
.s44-ai-comp .s78-compliance-text { font-size: 10.5px; line-height: 1.5; }

/* ---- 输入侧拦截提示（第 78 步【一】3：搜索框命中一级违规词时的内联提示） ---- */
.s78-block-notice { display: flex; align-items: flex-start; gap: 8px; margin: 6px 4px; padding: 11px 13px; border: 1px solid rgba(180,60,40,.24); border-radius: 10px; background: rgba(180,60,40,.06); color: #A23A28; font-size: 12.5px; line-height: 1.6; }
.s78-block-notice svg { flex: none; margin-top: 1px; }

/* ============================================================
   第 79 步：运营数据中心 · 深色黑金大屏
   ============================================================
   用户原话：「所有图表必须采用深色黑金底色，丝滑渲染，适合截图放在 BP
   （商业计划书）里给投资人看。」「图表必须响应式，在手机上也能通过滑动查看。」

   配色沿用项目里已有的第 24/61 步黑金 token（--gold 香槟金 + 深色底），
   不另起一套色板 —— 会员页那套深色皮肤就是同一个品牌语言。
   ------------------------------------------------------------ */
.ops-shell {
  --ops-bg: #121418;
  --ops-panel: #171A1F;
  --ops-panel-2: #1C2027;
  --ops-line: rgba(255, 255, 255, .09);
  --ops-gold: #C8A97E;
  --ops-gold-hi: #E6D2AC;
  --ops-gold-deep: #9C7C4E;
  --ops-text: #EDEAE3;
  --ops-text-2: rgba(237, 234, 227, .66);
  --ops-text-3: rgba(237, 234, 227, .42);
  --ops-danger: #E0705F;
  --ops-ok: #7FBF95;

  display: flex; flex-direction: column; gap: 14px;
  margin: 0 -2px; padding: 14px;
  border: 1px solid rgba(200, 169, 126, .28);
  border-radius: 16px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(200, 169, 126, .10) 0%, rgba(200, 169, 126, 0) 62%),
    var(--ops-bg);
  color: var(--ops-text);
  -webkit-font-smoothing: antialiased;
}

/* ---------- 头部 ---------- */
.ops-hero {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(200, 169, 126, .30);
  border-radius: 14px;
  background: linear-gradient(120deg, #1B1E25 0%, #14161B 100%);
}
.ops-hero-title {
  font-size: 21px; font-weight: 900; letter-spacing: .04em;
  color: var(--ops-gold-hi);
  text-shadow: 0 2px 18px rgba(200, 169, 126, .22);
}
.ops-hero-sub { margin-top: 5px; font-size: 12px; color: var(--ops-text-2); letter-spacing: .02em; }
.ops-hero-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ops-source-badge {
  padding: 5px 10px; border: 1px solid rgba(200, 169, 126, .34); border-radius: 999px;
  background: rgba(200, 169, 126, .10); color: var(--ops-gold-hi);
  font-size: 11px; font-weight: 700;
}

/* ---------- 按钮 ---------- */
.ops-btn {
  min-height: 32px; padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 9px;
  background: rgba(255, 255, 255, .05); color: #E4DFD4;
  font-size: 12.5px; font-weight: 700; font-family: inherit; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
.ops-btn:hover { background: rgba(255, 255, 255, .10); border-color: rgba(200, 169, 126, .45); }
.ops-btn:active { transform: scale(.97); }
.ops-btn-gold {
  border-color: rgba(200, 169, 126, .55);
  background: linear-gradient(120deg, var(--ops-gold-hi) 0%, var(--ops-gold) 52%, var(--ops-gold-deep) 100%);
  color: #241A05; font-weight: 900;
}
.ops-btn-danger { border-color: rgba(224, 112, 95, .45); background: rgba(224, 112, 95, .12); color: #F3B6AC; }
.ops-btn-danger:hover { background: rgba(224, 112, 95, .22); border-color: rgba(224, 112, 95, .7); }

/* ---------- ① KPI 四卡 ---------- */
.ops-kpi-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.ops-kpi {
  padding: 14px 15px;
  border: 1px solid rgba(200, 169, 126, .24); border-radius: 14px;
  background: linear-gradient(145deg, var(--ops-panel-2) 0%, var(--ops-panel) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.ops-kpi-label {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: 12px; font-weight: 700; color: var(--ops-text-2); letter-spacing: .02em;
}
.ops-kpi-value {
  margin-top: 8px; font-size: 30px; font-weight: 900; line-height: 1.1;
  color: var(--ops-gold-hi); font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.ops-kpi-value small { margin-left: 4px; font-size: 13px; font-weight: 700; color: var(--ops-gold); }
.ops-kpi-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ops-kpi-sub { font-size: 11.5px; color: var(--ops-text-3); }
.ops-kpi-hint { margin-top: 6px; font-size: 11px; color: var(--ops-text-3); }
.ops-trend { font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ops-trend-up { color: var(--ops-ok); }
.ops-trend-down { color: var(--ops-danger); }
.ops-trend-flat, .ops-trend-none { color: var(--ops-text-3); }
.ops-demo-tag {
  padding: 1px 6px; border: 1px solid rgba(200, 169, 126, .48); border-radius: 999px;
  background: rgba(200, 169, 126, .14); color: var(--ops-gold-hi);
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
}

/* ---------- 通用区块 ---------- */
.ops-section {
  padding: 14px 15px;
  border: 1px solid var(--ops-line); border-radius: 14px;
  background: var(--ops-panel);
}
.ops-section-hd {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(200, 169, 126, .18);
}
.ops-section-hd h2 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ops-gold-hi); letter-spacing: .02em; }
.ops-section-sub { font-size: 11.5px; color: var(--ops-text-3); }
.ops-sub-hd { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: var(--ops-gold); }
.ops-empty { margin: 0; padding: 14px 0; font-size: 12px; color: var(--ops-text-3); }
.ops-note {
  padding: 11px 13px; border: 1px dashed rgba(200, 169, 126, .26); border-radius: 12px;
  background: rgba(200, 169, 126, .05);
  font-size: 11.5px; line-height: 1.85; color: var(--ops-text-2);
}
.ops-note b { color: var(--ops-gold-hi); }
.ops-two-col {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ---------- ② 转化漏斗 ----------
   梯形是**整行背景**（绝对定位铺满），文字压在梯形上 ——
   这样五层首尾相接，真的收窄成一条漏斗，而不是五根互不相干的横条。 */
.ops-funnel { display: flex; flex-direction: column; }
.ops-funnel-row {
  position: relative; display: grid; gap: 2px 10px; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 11px 13px;
}
.ops-funnel-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.ops-funnel-svg { display: block; width: 100%; height: 100%; }
.ops-funnel-head {
  position: relative; z-index: 1; grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ops-funnel-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ops-funnel-label b {
  font-size: 13px; font-weight: 800; color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .50);
}
.ops-funnel-hint {
  font-size: 10.5px; line-height: 1.5; color: rgba(255, 255, 255, .80);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .50);
}
.ops-funnel-nums { display: flex; align-items: baseline; gap: 7px; flex: none; }
.ops-funnel-count {
  font-size: 18px; font-weight: 900; color: #FFFFFF; font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}
.ops-funnel-pct {
  font-size: 11.5px; color: rgba(255, 255, 255, .86); font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .50);
}
.ops-funnel-drop {
  position: relative; z-index: 1; grid-column: 1 / -1;
  font-size: 10.5px; font-weight: 700; color: #FFD9D2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
.ops-funnel-drop em {
  margin-left: 5px; font-style: normal; color: rgba(255, 255, 255, .72); font-weight: 500;
}

/* ---------- ③ 热门搜索 / 焦虑指数 ---------- */
.ops-heat-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ops-heat-row {
  display: grid; gap: 6px; align-items: center;
  grid-template-columns: 22px minmax(66px, 1.2fr) minmax(38px, 1fr) auto;
}
.ops-heat-rank {
  width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 7px; background: rgba(200, 169, 126, .16);
  color: var(--ops-gold-hi); font-size: 11px; font-weight: 800;
}
.ops-heat-name { font-size: 12.5px; color: var(--ops-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-heat-bar-wrap { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ops-heat-bar {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--ops-gold-deep), var(--ops-gold-hi));
  transition: width .4s ease;
}
.ops-heat-bar-risk { background: linear-gradient(90deg, #8E3B33, var(--ops-danger)); }
.ops-heat-num { font-size: 12.5px; color: var(--ops-gold-hi); font-variant-numeric: tabular-nums; }
.ops-heat-tail { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; white-space: nowrap; }

/* ---------- ④ 风控与审核 ---------- */
.ops-risk-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.ops-risk-card {
  padding: 12px 13px; border: 1px solid var(--ops-line); border-radius: 12px;
  background: var(--ops-panel-2);
}
.ops-risk-card-alert { border-color: rgba(224, 112, 95, .34); }
.ops-risk-card-danger { border-color: rgba(224, 112, 95, .62); background: rgba(224, 112, 95, .10); }
.ops-risk-label { display: block; font-size: 11.5px; color: var(--ops-text-2); }
.ops-risk-num { display: block; margin-top: 5px; font-size: 25px; font-weight: 900; color: var(--ops-gold-hi); font-variant-numeric: tabular-nums; }
.ops-risk-card-danger .ops-risk-num { color: #F3B6AC; }
.ops-risk-sub { display: block; margin-top: 4px; font-size: 10.5px; color: var(--ops-text-3); }

.ops-alert-list, .ops-report-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ops-alert-row {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 9px 11px; border: 1px solid rgba(224, 112, 95, .38); border-radius: 10px;
  background: rgba(224, 112, 95, .08); font-size: 12px; color: var(--ops-text);
}
.ops-alert-tag {
  padding: 2px 8px; border-radius: 999px; background: rgba(224, 112, 95, .22);
  color: #F3B6AC; font-size: 10px; font-weight: 800;
}
.ops-report-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border: 1px solid var(--ops-line); border-radius: 10px;
  background: var(--ops-panel-2);
}
.ops-report-main { min-width: 0; flex: 1 1 220px; }
.ops-report-reason { font-size: 12.5px; font-weight: 700; color: var(--ops-text); }
.ops-report-meta {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px;
  font-size: 10.5px; color: var(--ops-text-3);
}
.ops-report-snippet {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ops-report-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* ---------- 响应式：手机上可横向滑动查看 ---------- */
@media (max-width: 720px) {
  .ops-shell { padding: 10px; border-radius: 13px; }
  .ops-hero-title { font-size: 18px; }
  .ops-kpi-value { font-size: 25px; }
  /* 漏斗在窄屏：整行背景不变，只把标题与数字允许换行 */
  .ops-funnel-row { padding: 10px 11px; }
  .ops-funnel-head { flex-wrap: wrap; }
  /* 排行表在窄屏压缩列宽即可完整显示；只有工单列表需要横向滚动 */
  .ops-report-list { overflow-x: auto; }
  .ops-report-row { min-width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .ops-heat-bar, .ops-btn { transition: none; }
}

/* ================================================================
   第 84 步【二】：入学资格三态审计报告卡
   ---------------------------------------------------------------
   配色沿用既有风险卡口径：绿 #2E7D5B / 黄 #B07D2B / 红 #C02B21，
   页面底色 #FDFBF6，卡片圆角 12px。
   ================================================================ */
.s84-audit-wrap { margin: 0 0 10px; }
.s84-audit { display: flex; flex-direction: column; gap: 8px; }
.s84-audit-ok { }
.s84-audit-warn { }
.s84-audit-risk { }

/* ① 前置免责提示 —— 视觉上必须先于所有结论读到 */
.s84-audit-notice {
  display: flex; gap: 6px; align-items: flex-start;
  margin: 0; padding: 8px 10px; border-radius: 10px;
  background: rgba(52, 78, 108, .07); border: 1px solid rgba(52, 78, 108, .22);
  color: #344E6C; font-size: 12px; line-height: 1.6; font-weight: 600;
}
.s84-audit-notice-icon { flex: none; }

/* ② 三态总览 */
.s84-audit-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s84-audit-badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 5px 12px;
  font-size: 13px; font-weight: 900; white-space: nowrap;
}
.s84-audit-badge-ok { background: rgba(46, 125, 91, .12); color: #2E7D5B; }
.s84-audit-badge-warn { background: rgba(176, 125, 43, .14); color: #8A6D3B; }
.s84-audit-badge-risk { background: rgba(192, 43, 33, .12); color: #C02B21; }
.s84-audit-counts { font-size: 12px; color: #6B7280; font-weight: 700; }
.s84-audit-headline { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.65; color: #2B3A4A; }

/* ③ 分组 */
.s84-audit-groups { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.s84-audit-group { display: flex; flex-direction: column; gap: 6px; }
.s84-audit-group-title {
  display: flex; align-items: center; gap: 5px; margin: 0;
  font-size: 13px; font-weight: 900; color: #2B3A4A;
}
.s84-audit-group-icon { font-size: 14px; }
.s84-audit-group-fail .s84-audit-group-title { color: #C02B21; }
.s84-audit-group-verify .s84-audit-group-title { color: #8A6D3B; }
.s84-audit-group-pass .s84-audit-group-title { color: #2E7D5B; }
.s84-audit-group-desc { margin: 0 0 2px; font-size: 12px; color: #6B7280; line-height: 1.55; }

/* 单条规则 */
.s84-audit-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px; border-radius: 12px;
  background: #FDFBF6; border: 1px solid #E6DFD0;
  border-left-width: 4px;
}
.s84-audit-item-fail { border-left-color: #C02B21; }
.s84-audit-item-verify { border-left-color: #B07D2B; }
.s84-audit-item-pass { border-left-color: #2E7D5B; }
.s84-audit-item-head { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.s84-audit-type {
  flex: none; border-radius: 6px; padding: 2px 7px;
  background: rgba(58, 90, 64, .1); color: #3A5A40;
  font-size: 11px; font-weight: 800; white-space: nowrap;
}
.s84-audit-cond { font-size: 13px; font-weight: 800; color: #2B3A4A; line-height: 1.5; }
.s84-audit-detail { margin: 0; font-size: 12px; color: #5B6470; line-height: 1.6; }

/* 行动指令 —— 本卡的核心，必须显眼 */
.s84-audit-action {
  display: flex; gap: 6px; align-items: flex-start;
  margin-top: 4px; padding: 8px 10px; border-radius: 10px;
  background: rgba(212, 163, 115, .14); border: 1px solid rgba(212, 163, 115, .4);
}
.s84-audit-action-label {
  flex: none; font-size: 11px; font-weight: 900; color: #8A6D3B;
  border-radius: 6px; padding: 1px 6px; background: rgba(212, 163, 115, .3);
  white-space: nowrap;
}
.s84-audit-action-text { margin: 0; font-size: 12.5px; line-height: 1.65; color: #2B3A4A; font-weight: 600; }
.s84-audit-item-fail .s84-audit-action { background: rgba(192, 43, 33, .09); border-color: rgba(192, 43, 33, .3); }
.s84-audit-item-fail .s84-audit-action-label { color: #C02B21; background: rgba(192, 43, 33, .16); }

.s84-audit-source { font-size: 11px; color: #344E6C; text-decoration: none; }
.s84-audit-source:hover { text-decoration: underline; }
.s84-audit-source-text { margin: 0; }
.s84-audit-contact { margin: 0; font-size: 12px; color: #344E6C; font-weight: 600; }
.s84-audit-contact-link { color: #344E6C; }
.s84-audit-version { margin: 0; }

/* ================================================================
   第 85 步【六】：三大避险审计工具 —— 页面 / 报告单 / 锁定预览 / 支付抽屉 / 长图弹窗
   ---------------------------------------------------------------
   配色沿用第 84 步三态审计口径：
     确定满足 绿 #2E7D5B / 需要核实 黄 #B07D2B / 确定不满足 红 #C02B21
     纸面底色 #FDFBF6 / 描边 #E6DFD0 / 主文字 #2B3A4A / 次文字 #5B6470
   字体沿用全站系统字体栈；长图（Canvas）单独在 audit-poster.js 里画。
   ================================================================ */

/* ---------- ① 工具页骨架 ---------- */
.s85-page {
  display: flex; flex-direction: column; gap: 12px;
  padding-bottom: 18px;
}
.s85-head-card { display: flex; flex-direction: column; gap: 6px; }
.s85-head-top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.s85-tag-price {
  border-radius: 999px; padding: 3px 11px;
  background: #2B3A4A; color: #F7F2E7;
  font-size: 13px; font-weight: 900; letter-spacing: .3px;
}
.s85-tag-name {
  border-radius: 999px; padding: 3px 9px;
  background: rgba(52, 78, 108, .1); color: #344E6C;
  font-size: 11px; font-weight: 800;
}
.s85-page-title { margin: 2px 0 0; font-size: 20px; font-weight: 900; color: #2B3A4A; letter-spacing: -.2px; }
.s85-page-tagline { margin: 0; font-size: 13px; font-weight: 700; color: #344E6C; }
.s85-page-hook { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.6; }

/* ---------- ② 表单 ---------- */
.s85-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  background: #fff; border: 1px solid #E6DFD0; border-radius: 12px;
}
.s85-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.s85-field-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 800; color: #2B3A4A;
}
.s85-required {
  border-radius: 5px; padding: 1px 6px;
  background: rgba(192, 43, 33, .1); color: #C02B21;
  font-size: 10px; font-weight: 800;
}
.s85-select, .s85-input {
  width: 100%; box-sizing: border-box;
  border: 1px solid #D9D0BD; border-radius: 9px;
  padding: 9px 10px; background: #FDFBF6; color: #2B3A4A;
  font-size: 13px; font-family: inherit; line-height: 1.4;
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.s85-select:focus, .s85-input:focus {
  border-color: #344E6C;
  box-shadow: 0 0 0 3px rgba(52, 78, 108, .12);
}
.s85-field-hint { margin: 0; font-size: 11px; color: #8A8578; line-height: 1.5; }
.s85-form-error {
  margin: 0; padding: 9px 12px; border-radius: 10px;
  background: rgba(192, 43, 33, .08); border: 1px solid rgba(192, 43, 33, .26);
  color: #C02B21; font-size: 12px; font-weight: 700;
}
.s85-submit-row { display: flex; }
.s85-submit { width: 100%; justify-content: center; }
.s85-result { display: flex; flex-direction: column; gap: 10px; }
.s85-unlocked-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 12px; border-radius: 12px;
  background: rgba(46, 125, 91, .1); border: 1px solid rgba(46, 125, 91, .28);
}

/* ---------- ③ 报告单（体检单版式） ---------- */
.s85-doc {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px;
  background: #FDFBF6;
  border: 1px solid #E6DFD0; border-radius: 14px;
}
.s85-doc-risk { border-top: 4px solid #C02B21; }
.s85-doc-warn { border-top: 4px solid #B07D2B; }
.s85-doc-ok { border-top: 4px solid #2E7D5B; }

/* 前置免责提示 —— 视觉上必须先于所有结论读到 */
.s85-notice {
  display: flex; gap: 7px; align-items: flex-start;
  margin: 0; padding: 9px 11px; border-radius: 10px;
  background: rgba(52, 78, 108, .07); border: 1px solid rgba(52, 78, 108, .22);
  color: #344E6C; font-size: 12px; line-height: 1.6; font-weight: 600;
}
.s85-notice-icon { flex: none; }

/* 顶部大字标题 */
.s85-head { display: flex; flex-direction: column; gap: 6px; }
.s85-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  color: #A09478; text-transform: uppercase;
}
.s85-title {
  margin: 0; font-size: 24px; line-height: 1.25; font-weight: 900;
  color: #2B3A4A; letter-spacing: -.4px;
}
.s85-subtitle { margin: 0; font-size: 12.5px; color: #6B7280; line-height: 1.6; }
.s85-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 2px; }
.s85-badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 5px 13px;
  font-size: 13px; font-weight: 900; white-space: nowrap;
}
.s85-badge-ok { background: rgba(46, 125, 91, .12); color: #2E7D5B; }
.s85-badge-warn { background: rgba(176, 125, 43, .14); color: #8A6D3B; }
.s85-badge-risk { background: rgba(192, 43, 33, .12); color: #C02B21; }
.s85-counts { font-size: 12px; color: #6B7280; font-weight: 700; }
.s85-headline {
  margin: 2px 0 0; padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px dashed #D9D0BD;
  font-size: 13.5px; font-weight: 800; line-height: 1.65; color: #2B3A4A;
}

/* 三态分组 */
.s85-groups { display: flex; flex-direction: column; gap: 12px; }
.s85-group { display: flex; flex-direction: column; gap: 7px; }
.s85-group-title {
  display: flex; align-items: center; gap: 6px; margin: 0;
  font-size: 14px; font-weight: 900; color: #2B3A4A;
}
.s85-group-icon { font-size: 15px; }
.s85-group-fail .s85-group-title { color: #C02B21; }
.s85-group-verify .s85-group-title { color: #8A6D3B; }
.s85-group-pass .s85-group-title { color: #2E7D5B; }
.s85-group-desc { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.55; }

/* 单条门槛 */
.s85-item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 11px 13px; border-radius: 12px;
  background: #fff; border: 1px solid #E6DFD0; border-left-width: 4px;
}
.s85-item-fail { border-left-color: #C02B21; }
.s85-item-verify { border-left-color: #B07D2B; }
.s85-item-pass { border-left-color: #2E7D5B; }
.s85-item-head { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; }
.s85-tag {
  flex: none; border-radius: 6px; padding: 2px 7px;
  background: rgba(58, 90, 64, .1); color: #3A5A40;
  font-size: 11px; font-weight: 800; white-space: nowrap;
}
.s85-cond { font-size: 13px; font-weight: 800; color: #2B3A4A; line-height: 1.5; }
.s85-chip {
  border-radius: 999px; padding: 2px 9px; white-space: nowrap;
  font-size: 11px; font-weight: 900;
}
.s85-chip-ok { background: rgba(46, 125, 91, .12); color: #2E7D5B; }
.s85-chip-warn { background: rgba(176, 125, 43, .16); color: #8A6D3B; }
.s85-chip-risk { background: rgba(192, 43, 33, .12); color: #C02B21; }
.s85-detail { margin: 0; font-size: 12px; color: #5B6470; line-height: 1.6; }

/* 行动指令 —— 报告的核心，必须显眼 */
.s85-action {
  display: flex; gap: 7px; align-items: flex-start;
  margin-top: 3px; padding: 9px 11px; border-radius: 10px;
  background: rgba(212, 163, 115, .14); border: 1px solid rgba(212, 163, 115, .4);
}
.s85-action-label {
  flex: none; font-size: 11px; font-weight: 900; color: #8A6D3B;
  border-radius: 6px; padding: 1px 6px; background: rgba(212, 163, 115, .3);
  white-space: nowrap;
}
.s85-action-text { margin: 0; font-size: 12.5px; line-height: 1.65; color: #2B3A4A; font-weight: 600; }
.s85-item-fail .s85-action { background: rgba(192, 43, 33, .09); border-color: rgba(192, 43, 33, .3); }
.s85-item-fail .s85-action-label { color: #C02B21; background: rgba(192, 43, 33, .16); }
.s85-source { margin: 0; font-size: 11px; color: #344E6C; }

/* 风险区 —— 强制红字 */
.s85-risk {
  padding: 12px 13px; border-radius: 12px;
  background: rgba(192, 43, 33, .07);
  border: 1px solid rgba(192, 43, 33, .34);
}
.s85-risk-title {
  display: flex; align-items: center; gap: 6px; margin: 0 0 6px;
  font-size: 13.5px; font-weight: 900; color: #C02B21;
}
.s85-risk-line {
  margin: 0 0 4px; font-size: 12.5px; font-weight: 700;
  line-height: 1.65; color: #C02B21;
}
.s85-risk-line:last-child { margin-bottom: 0; }

/* 结论区 */
.s85-conclusion {
  padding: 12px 13px; border-radius: 12px;
  background: #fff; border: 1px solid #E6DFD0;
  border-left: 4px solid #344E6C;
}
.s85-conclusion-title {
  margin: 0 0 7px; font-size: 13.5px; font-weight: 900; color: #2B3A4A;
}
.s85-conclusion-line {
  margin: 0 0 6px; font-size: 12.5px; line-height: 1.7; color: #2B3A4A; font-weight: 600;
}
.s85-conclusion-gap { height: 4px; margin: 0; }

/* 工具专属区块 */
.s85-block {
  padding: 12px 13px; border-radius: 12px;
  background: #fff; border: 1px solid #E6DFD0;
}
.s85-block-title {
  margin: 0 0 8px; font-size: 13.5px; font-weight: 900; color: #2B3A4A;
}
.s85-block-line { margin: 0 0 5px; font-size: 12.5px; line-height: 1.65; color: #2B3A4A; }

/* 打卡清单（工具 B） */
.s85-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.s85-check {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 9px 11px; border-radius: 10px;
  background: #FDFBF6; border: 1px solid #E6DFD0; border-left-width: 4px;
}
.s85-check-ok { border-left-color: #2E7D5B; }
.s85-check-warn { border-left-color: #B07D2B; }
.s85-check-risk { border-left-color: #C02B21; }
.s85-check-mark { flex: none; font-size: 15px; line-height: 1.4; }
.s85-check-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s85-check-name {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 13px; font-weight: 800; color: #2B3A4A;
}
.s85-check-req {
  border-radius: 5px; padding: 1px 6px;
  background: rgba(52, 78, 108, .1); color: #344E6C;
  font-size: 10px; font-weight: 800;
}
.s85-check-note { font-size: 12px; color: #5B6470; line-height: 1.6; }
.s85-check-hint { font-size: 11px; color: #8A8578; line-height: 1.55; }

/* 学校预警表（工具 C） */
.s85-school-table { display: flex; flex-direction: column; gap: 7px; }
.s85-school {
  display: flex; gap: 9px; align-items: flex-start;
  padding: 9px 11px; border-radius: 10px;
  background: #FDFBF6; border: 1px solid #E6DFD0; border-left-width: 4px;
}
.s85-school-red { border-left-color: #C02B21; }
.s85-school-amber { border-left-color: #B07D2B; }
.s85-school-green { border-left-color: #2E7D5B; }
.s85-school-lamp { flex: none; font-size: 14px; line-height: 1.4; }
.s85-school-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.s85-school-name {
  display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap;
  font-size: 13px; font-weight: 800; color: #2B3A4A;
}
.s85-school-type {
  border-radius: 5px; padding: 1px 6px;
  background: rgba(58, 90, 64, .1); color: #3A5A40;
  font-size: 10px; font-weight: 800;
}
.s85-school-strength { font-size: 11px; font-weight: 700; color: #8A8578; }
.s85-school-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.s85-school-note { font-size: 11.5px; color: #5B6470; line-height: 1.55; }
.s85-weakest {
  margin: 9px 0 0; padding: 9px 11px; border-radius: 10px;
  background: rgba(176, 125, 43, .1); border: 1px solid rgba(176, 125, 43, .3);
  font-size: 12.5px; font-weight: 700; line-height: 1.6; color: #8A6D3B;
}

.s85-contact { margin: 0; font-size: 12px; color: #344E6C; font-weight: 600; }
.s85-contact-link { color: #344E6C; text-decoration: underline; }
.s85-version { margin: 0; }

/* ---------- ④ 锁定态（毛玻璃） ---------- */
.s85-locked { position: relative; }
.s85-glass {
  position: relative; overflow: hidden; border-radius: 14px;
  border: 1px solid #E6DFD0; background: #FDFBF6;
}
.s85-glass-inner {
  filter: blur(7px) saturate(.85);
  opacity: .78;
  user-select: none; pointer-events: none;
  max-height: 560px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.s85-glass-cta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 18px 16px 16px;
  background: linear-gradient(to bottom, rgba(253, 251, 246, 0) 0%, rgba(253, 251, 246, .92) 32%, #FDFBF6 62%);
  text-align: center;
}
.s85-glass-title {
  font-size: 16px; font-weight: 900; color: #2B3A4A; letter-spacing: -.2px;
}
.s85-glass-text {
  margin: 0; max-width: 460px;
  font-size: 12.5px; line-height: 1.65; color: #5B6470;
}
.s85-glass-btn { width: 100%; max-width: 320px; justify-content: center; }
.s85-glass-note { margin: 0; font-size: 11px; color: #8A8578; }

/* ---------- ⑤ 支付抽屉 ---------- */
/* 第 85 步【九】：弹层层级对齐全站口径
   （抽屉 10040 / 全屏 10050 / 高风险兜底 10060 / 付费弹窗 10070 / 支付弹窗 10080）。
   原先写的 1200 落在底部导航（9999）之下，移动端抽屉会被底栏压住一截。 */
.s85-pay-mask { z-index: 10070; }
.s85-pay-card {
  display: flex; flex-direction: column; gap: 10px;
  width: min(520px, calc(100vw - 28px));
  max-height: min(88vh, 760px); overflow-y: auto;
  padding: 18px 18px 16px;
  background: #FDFBF6; border-radius: 18px;
  border: 1px solid #E6DFD0;
  box-shadow: 0 24px 70px rgba(30, 40, 55, .28);
  text-align: left;
}
.s85-pay-head { display: flex; flex-direction: column; gap: 4px; }
.s85-pay-kicker {
  font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #A09478;
}
.s85-pay-tool { font-size: 17px; font-weight: 900; color: #2B3A4A; }
.s85-pay-label { margin: 0; font-size: 13px; font-weight: 700; color: #344E6C; }
.s85-pay-desc { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.6; }
.s85-pay-price {
  display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap;
  padding: 11px 13px; border-radius: 12px;
  background: #fff; border: 1px solid #E6DFD0;
}
.s85-pay-price b { font-size: 26px; font-weight: 900; color: #2B3A4A; letter-spacing: -.6px; }
.s85-pay-price span { font-size: 11.5px; color: #8A8578; }
.s85-pay-list-title {
  font-size: 12px; font-weight: 900; color: #2B3A4A;
}
.s85-pay-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.s85-pay-points li {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 12.5px; line-height: 1.6; color: #2B3A4A; font-weight: 600;
}
.s85-pay-points li svg { flex: none; margin-top: 3px; color: #2E7D5B; }
.s85-pay-verify { display: flex; flex-direction: column; gap: 7px; }
.s85-pay-verify-text { margin: 0; font-size: 12px; color: #6B7280; }
.s85-pay-btn {
  width: 100%; justify-content: center;
  border: none; border-radius: 12px; padding: 13px 16px;
  background: #2B3A4A; color: #F7F2E7;
  font-size: 15px; font-weight: 900; font-family: inherit; cursor: pointer;
  transition: opacity .15s, transform .1s;
}
.s85-pay-btn:hover { opacity: .92; }
.s85-pay-btn:active { transform: scale(.995); }
.s85-pay-btn:disabled { opacity: .55; cursor: not-allowed; }
.s85-pay-btn-ghost {
  background: transparent; color: #2B3A4A;
  border: 1px solid #D9D0BD;
}
.s85-pay-close {
  border: none; background: transparent; padding: 7px;
  font-size: 12.5px; font-weight: 700; color: #8A8578;
  font-family: inherit; cursor: pointer;
}
.s85-pay-note { margin: 0; font-size: 11px; line-height: 1.6; color: #8A8578; }
.s85-pay-unlocked {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 10px 4px; text-align: center;
}
.s85-pay-unlocked-ic { color: #2E7D5B; display: inline-flex; }
.s85-pay-unlocked-title { font-size: 16px; font-weight: 900; color: #2B3A4A; }
.s85-pay-unlocked-sub { margin: 0; font-size: 12.5px; color: #5B6470; line-height: 1.6; }
.s85-pay-unlocked-actions { display: flex; gap: 9px; width: 100%; margin-top: 4px; }

/* 收银台从抽屉里唤起，必须抬到抽屉之上，否则按钮被抽屉遮罩挡住、点不动
   （与 .radar-pay-modal 同一个道理：.radar-paywall-overlay 10070 → .radar-pay-modal 10080）。 */
.s85-pay-overlay-top { z-index: 10080; }

/* ---------- ⑥ 长图弹窗 ---------- */
.s85-poster-mask { z-index: 10090; }
.s85-poster-card {
  width: min(560px, calc(100vw - 28px));
  max-height: 90vh; overflow-y: auto;
}
.s85-poster-img {
  display: block; width: 100%; height: auto;
  border-radius: 10px; border: 1px solid #E6DFD0;
}

/* ---------- ⑦ 入口卡（首页 + 会员页共用） ---------- */
.s85-entries { display: flex; flex-direction: column; gap: 9px; margin: 14px 0 4px; }
.s85-entries-head { display: flex; flex-direction: column; gap: 2px; }
.s85-entries-title { margin: 0; font-size: 15px; font-weight: 900; color: #2B3A4A; }
.s85-entries-sub { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.55; }
.s85-entries-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px;
}
.s85-entry {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 12px 12px 11px;
  background: #fff; border: 1px solid #E6DFD0; border-radius: 12px;
  text-align: left; font-family: inherit; cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.s85-entry:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43, 58, 74, .1); }
.s85-entry:active { transform: translateY(0); }
.s85-entry-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--s85-accent, #344E6C);
}
.s85-entry-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.s85-entry-price {
  border-radius: 999px; padding: 2px 9px;
  background: #2B3A4A; color: #F7F2E7;
  font-size: 12px; font-weight: 900;
}
.s85-entry-tag {
  border-radius: 999px; padding: 2px 7px;
  background: rgba(52, 78, 108, .1); color: #344E6C;
  font-size: 10px; font-weight: 800;
}
.s85-entry-icon { color: var(--s85-accent, #344E6C); }
.s85-entry-name { font-size: 13.5px; font-weight: 900; color: #2B3A4A; line-height: 1.4; }
.s85-entry-desc { font-size: 11.5px; color: #6B7280; line-height: 1.5; }
.s85-entry-go {
  display: flex; align-items: center; gap: 3px;
  margin-top: 2px; font-size: 11px; font-weight: 800; color: var(--s85-accent, #344E6C);
}
.s85-entries-note { margin: 0; font-size: 11.5px; color: #8A8578; line-height: 1.6; }

/* ---------- ⑧ 会员页（深色）适配 ---------- */
.s61-dark-shell .s85-entries-title,
.s61-dark-shell .s85-entry-name { color: #F3EADB; }
.s61-dark-shell .s85-entries-sub,
.s61-dark-shell .s85-entry-desc,
.s61-dark-shell .s85-entries-note { color: rgba(237, 234, 227, .6); }
.s61-dark-shell .s85-entry {
  background: #171A1F; border-color: rgba(255, 255, 255, .09);
}
.s61-dark-shell .s85-entry:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.s61-dark-shell .s85-entry-price { background: rgba(255, 214, 138, .16); color: #FFD68A; }
.s61-dark-shell .s85-entry-tag { background: rgba(255, 214, 138, .1); color: rgba(255, 214, 138, .82); }

/* ---------- ⑨ 响应式 ---------- */
@media (max-width: 720px) {
  .s85-form { grid-template-columns: 1fr; }
  .s85-entries-grid { grid-template-columns: 1fr; }
  .s85-title { font-size: 21px; }
  .s85-doc { padding: 13px; }
  .s85-pay-card { padding: 15px 14px 14px; }
  .s85-pay-price b { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .s85-entry { transition: none; }
  .s85-entry:hover { transform: none; }
}

/* ================================================================== *
 * 第 86 步【十】：获客内容生成器 + 中介分销通道 · 样式
 * ------------------------------------------------------------------ *
 * 板块：
 *   ① 获客分享弹窗（文案 + 脱敏卡片）
 *   ② 溯源条（报告底部 / 卡片底部）
 *   ③ 中介极简工作台
 *   ④ 后台中介合作 Tab（表单 / 表格 / 统计）
 *   ⑤ 溯源核验页
 *   ⑥ 归因提示
 * ================================================================== */

/* ---------- ① 获客分享弹窗 ---------- */
.s86-share-mask { z-index: 10095; }
.s86-share-card {
  width: min(560px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 14px;
}
.s86-block-title {
  font-size: 13px; font-weight: 900; color: var(--ink);
  margin: 0 0 8px; letter-spacing: .02em;
}
.s86-copy-block, .s86-card-block {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 12px; background: rgba(52, 78, 108, .03);
}
.s86-copy-area {
  width: 100%; box-sizing: border-box; resize: vertical;
  font-family: inherit; font-size: 13px; line-height: 1.75; color: var(--ink);
  padding: 10px 11px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff;
}
.s86-copy-area:focus { outline: 2px solid var(--accent, #344E6C); outline-offset: 1px; }
.s86-card-img {
  display: block; width: 100%; max-width: 320px; height: auto;
  margin: 0 auto; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(16, 32, 58, .12);
  border: 1px solid var(--line);
}
.s86-warn {
  margin: 0; padding: 9px 11px; border-radius: 10px;
  background: #FDF3E1; border: 1px solid rgba(184, 115, 10, .22);
  color: #8A5A08; font-size: 12px; line-height: 1.65;
}

/* ---------- ② 溯源条 ---------- */
.s86-trace-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 11px; border-radius: 10px;
  background: rgba(52, 78, 108, .05); border: 1px dashed rgba(52, 78, 108, .22);
}
.s86-trace-bar .s86-trace-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px; font-weight: 700; color: #344E6C; letter-spacing: .02em;
}
.s86-trace-bar .s86-trace-time { font-size: 11.5px; color: var(--muted-2); margin-left: auto; }

.s86-trace-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line);
}
.s86-trace-qr {
  flex: 0 0 auto; width: 74px; height: 74px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 3px;
}
.s86-trace-qr svg { width: 100%; height: 100%; display: block; }
.s86-trace-info { min-width: 0; }
.s86-trace-title { margin: 0 0 3px; font-size: 12.5px; font-weight: 900; color: var(--ink); }
.s86-trace-code {
  margin: 0; font-size: 11.5px; color: var(--ink-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-all;
}
.s86-trace-time { margin: 2px 0 0; font-size: 11.5px; color: var(--muted-2); }

/* ---------- ③ 中介极简工作台 ---------- */
.s86-page { display: flex; flex-direction: column; gap: 12px; }
.s86-agent-page { display: flex; flex-direction: column; gap: 12px; }
.s86-agent-head { border-left: 3px solid #344E6C; }
.s86-agent-head-top { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.s86-agent-meta {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 8px; font-size: 12.5px; color: var(--ink-2);
}
.s86-agent-name { font-weight: 800; color: var(--ink); }
.s86-agent-rate { font-weight: 800; color: #344E6C; }
.s86-agent-link {
  width: 100%; box-sizing: border-box;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; padding: 9px 10px;
  border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.s86-agent-qr {
  flex: 0 0 auto; width: 132px; height: 132px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px;
}
.s86-agent-qr svg { width: 100%; height: 100%; display: block; }
.s86-agent-input {
  flex: 1 1 130px; min-width: 110px;
  font-size: 13px; padding: 8px 10px;
  border-radius: 9px; border: 1px solid var(--line); background: #fff;
}
.s86-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px;
}
.s86-stat-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px;
  background: rgba(52, 78, 108, .04); text-align: center;
}
.s86-stat-label { font-size: 11px; color: var(--muted-2); }
.s86-stat-value { font-size: 17px; font-weight: 900; color: var(--ink); margin-top: 2px; }
.s86-commission-list { list-style: none; margin: 10px 0 0; padding: 0; }
.s86-commission-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2);
}
.s86-commission-list li:last-child { border-bottom: 0; }

/* ---------- ④ 后台中介合作 ---------- */
.s86-admin-input {
  font-size: 13px; padding: 7px 9px;
  border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.s86-admin-rate { width: 68px; }
.s86-admin-rate-unit { font-size: 12.5px; color: var(--muted-2); }
.s86-admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.s86-admin-table th, .s86-admin-table td {
  padding: 8px 9px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: middle; color: var(--ink-2);
}
.s86-admin-table th {
  font-size: 11.5px; font-weight: 900; color: var(--muted-2);
  text-transform: none; letter-spacing: .02em;
  background: rgba(52, 78, 108, .04);
}
.s86-admin-table code {
  font-size: 11.5px; background: rgba(52, 78, 108, .08);
  padding: 1px 5px; border-radius: 5px;
}

/* ---------- ⑤ 溯源核验页 ---------- */
.s86-verify-page { display: flex; flex-direction: column; gap: 12px; }
.s86-verify-head { margin-bottom: 8px; }
.s86-verify-badge {
  display: inline-block; font-size: 11px; font-weight: 900;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(30, 122, 82, .12); color: #1E7A52;
}
.s86-verify-title { margin: 8px 0 0; font-size: 19px; font-weight: 900; color: var(--ink); }
.s86-verify-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.s86-verify-table th {
  width: 38%; text-align: left; padding: 9px 8px;
  font-size: 12px; font-weight: 800; color: var(--muted-2);
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.s86-verify-table td {
  padding: 9px 8px; color: var(--ink);
  border-bottom: 1px solid var(--line); vertical-align: top;
  word-break: break-all;
}
.s86-verify-note { margin-top: 10px; line-height: 1.7; }

/* ---------- ⑥ 归因提示 ---------- */
.s86-ref-note {
  margin: 0; padding: 7px 11px; border-radius: 9px;
  background: rgba(52, 78, 108, .05); border: 1px solid rgba(52, 78, 108, .16);
  font-size: 12px; color: var(--ink-2);
}

/* ---------- ⑦ 响应式 ---------- */
@media (max-width: 720px) {
  .s86-stat-row { grid-template-columns: 1fr; }
  .s86-agent-qr { width: 104px; height: 104px; }
  .s86-share-card { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .s86-share-card { scroll-behavior: auto; }
}

/* ==================================================================
 * 第 87 步【八】：成长档案（摇号与升学材料）样式
 * ================================================================== */

.s87-page { display: flex; flex-direction: column; gap: 12px; padding-bottom: 28px; }

/* ---------- ① Hero ---------- */
.s87-hero { display: flex; flex-direction: column; gap: 4px; padding: 4px 2px 2px; }
.s87-hero-title { font-size: 19px; font-weight: 900; color: #2B3A4A; letter-spacing: .01em; }
.s87-hero-sub { margin: 0; font-size: 12.5px; color: #6B7280; line-height: 1.6; }

/* ---------- ① 第 101 步【第十一批】：监护人确认闸门 ---------- */
.s87-consent {
  background: #fff; border: 1px solid #E6DFD0; border-radius: 14px;
  padding: 14px 14px 15px; box-shadow: 0 6px 18px rgba(43,58,74,.05);
}
.s87-consent-head { font-size: 15px; font-weight: 900; color: #2B3A4A; margin-bottom: 6px; }
.s87-consent-lead { font-size: 12px; line-height: 1.7; color: #6B7280; margin-bottom: 8px; }
.s87-consent-points { margin: 0 0 10px; padding-left: 18px; }
.s87-consent-points li { font-size: 12px; line-height: 1.75; color: #5B6470; margin-bottom: 4px; }
.s87-consent-row {
  display: flex; gap: 8px; align-items: flex-start; font-size: 12px;
  line-height: 1.6; color: #4A5568; margin-bottom: 10px;
}
.s87-consent-row input { margin-top: 2px; width: 16px; height: 16px; accent-color: #C9A227; }
.s87-consent-actions { display: flex; gap: 10px; }
.s87-photo-privacy {
  margin-top: 10px; font-size: 11px; line-height: 1.7; color: #8A8073;
}
.s87-share-privacy {
  margin-top: 8px; font-size: 11px; line-height: 1.7; color: #B26A00;
}
.s87-clear-row { margin-top: 12px; display: flex; justify-content: flex-end; }

/* ---------- ② 步骤条 ---------- */
.s87-steps { display: flex; align-items: center; gap: 8px; }
.s87-step-dot {
  flex: 1 1 0; display: flex; align-items: center; gap: 6px;
  padding: 7px 9px; border-radius: 10px;
  background: #fff; border: 1px solid #E6DFD0;
}
.s87-step-dot b {
  width: 19px; height: 19px; flex: 0 0 19px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F1EDE3; color: #8A8578; font-size: 11px; font-weight: 900;
}
.s87-step-label { font-size: 12px; font-weight: 800; color: #6B7280; white-space: nowrap; }
.s87-step-dot.on { border-color: #C9A227; background: rgba(201,162,39,.06); }
.s87-step-dot.on b { background: #2B3A4A; color: #F7F2E7; }
.s87-step-dot.on .s87-step-label { color: #2B3A4A; }
.s87-step-dot.done b { background: #2E7D5B; color: #fff; }
.s87-step-dot.done .s87-step-label { color: #5B6470; }

/* ---------- ③ 步骤卡 ---------- */
.s87-step {
  background: #fff; border: 1px solid #E6DFD0; border-radius: 14px;
  padding: 14px 14px 15px; box-shadow: 0 6px 18px rgba(43,58,74,.05);
}
.s87-step-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 12px; }
.s87-step-title { font-size: 15px; font-weight: 900; color: #2B3A4A; }
.s87-step-desc { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.6; }

.s87-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 11px; }
.s87-field-label { font-size: 12px; font-weight: 800; color: #5B6470; }
.s87-input {
  width: 100%; box-sizing: border-box;
  padding: 11px 12px; border-radius: 11px;
  border: 1px solid #E0D8C6; background: #FCFBF7;
  font-family: inherit; font-size: 14px; color: #2B3A4A;
}
.s87-input:focus { outline: none; border-color: #C9A227; background: #fff; }
.s87-avatar-row { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.s87-avatar-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  align-self: flex-start; padding: 9px 14px; border-radius: 999px;
  background: #2B3A4A; color: #F7F2E7; border: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 800;
}
.s87-avatar-note { font-size: 11px; color: #8A8578; line-height: 1.6; }

/* ---------- ④ 照片选择器 ---------- */
.s87-picker { display: flex; flex-direction: column; gap: 10px; }
.s87-picker-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s87-picker-add {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  background: #F1EDE3; color: #344E6C; border: 1px dashed #CFC4AC;
  font-family: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer;
}
.s87-picker-add:disabled { opacity: .55; cursor: not-allowed; }
.s87-picker-count { font-size: 12px; font-weight: 800; color: #8A8578; }
.s87-picker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.s87-photo {
  display: flex; flex-direction: column; gap: 6px;
  padding: 8px; border-radius: 12px;
  background: #FCFBF7; border: 1px solid #EAE3D3;
}
.s87-photo-thumbwrap { position: relative; }
.s87-photo-thumb { display: block; width: 100%; height: 96px; object-fit: cover; border-radius: 8px; background: #EFEAE0; }
.s87-photo-del {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(43,58,74,.72); color: #fff; border: none; cursor: pointer; padding: 0;
}
.s87-photo-caption {
  width: 100%; box-sizing: border-box;
  padding: 6px 8px; border-radius: 8px;
  border: 1px solid #E6DFD0; background: #fff;
  font-family: inherit; font-size: 11.5px; color: #2B3A4A;
}
.s87-photo-ok {
  padding: 6px 10px; border-radius: 999px; border: none; cursor: pointer;
  background: #2E7D5B; color: #fff; font-family: inherit; font-size: 11.5px; font-weight: 800;
}
.s87-photo-ok:disabled { background: #E6E2D6; color: #8A8578; cursor: default; }
.s87-picker-note { margin: 0; font-size: 11px; line-height: 1.65; color: #8A8578; }

/* ---------- ⑤ 风格卡 ---------- */
.s87-styles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
.s87-style {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 10px; border-radius: 12px; cursor: pointer;
  background: #FCFBF7; border: 1px solid #E6DFD0; text-align: left; font-family: inherit;
}
.s87-style.on { border-color: #C9A227; background: rgba(201,162,39,.07); box-shadow: 0 0 0 2px rgba(201,162,39,.18); }
.s87-style-swatch { display: flex; gap: 3px; }
.s87-style-swatch i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(0,0,0,.08); }
.s87-style-name { font-size: 12.5px; font-weight: 900; color: #2B3A4A; }
.s87-style-blurb { font-size: 10.5px; color: #8A8578; line-height: 1.45; }

/* ---------- ⑥ 实时预览 ---------- */
.s87-preview-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 14px; border-radius: 14px;
  background: linear-gradient(180deg,#FFFFFF 0%,#FAF8F2 100%);
  border: 1px solid #E6DFD0; box-shadow: 0 8px 22px rgba(43,58,74,.06);
}
.s87-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s87-preview-title { font-size: 14px; font-weight: 900; color: #2B3A4A; }
.s87-preview-state {
  font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  background: rgba(201,162,39,.12); color: #8A6D12;
}
.s87-preview-state[data-state="paid"] { background: rgba(46,125,91,.12); color: #2E7D5B; }
.s87-preview-wrap { display: flex; justify-content: center; }
.s87-preview-canvas {
  display: block; width: min(320px, 76vw); height: auto;
  border-radius: 8px; border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 14px 34px -18px rgba(43,58,74,.55);
}
.s87-disclaimer { margin: 0; font-size: 10.5px; line-height: 1.6; color: #9A968E; text-align: center; }

/* ---------- ⑦ 操作条 ---------- */
.s87-actions { display: flex; gap: 9px; }
.s87-btn {
  flex: 1 1 auto; min-height: 44px; padding: 0 16px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer;
  border: 1px solid transparent; transition: opacity .15s, transform .1s;
}
.s87-btn:active { transform: scale(.995); }
.s87-btn:disabled { opacity: .55; cursor: not-allowed; }
.s87-btn-primary { background: linear-gradient(135deg,#2B3A4A,#1E2937); color: #F7F2E7; }
.s87-btn-ghost { background: #fff; color: #2B3A4A; border-color: #E0D8C6; }

/* ---------- ⑧ 结果区 ---------- */
.s87-result {
  display: flex; flex-direction: column; gap: 11px;
  padding: 14px; border-radius: 14px;
  background: #fff; border: 1px solid #C9A227; box-shadow: 0 10px 26px rgba(43,58,74,.08);
}
.s87-result-head { display: flex; flex-direction: column; gap: 3px; }
.s87-result-title { font-size: 15px; font-weight: 900; color: #2B3A4A; }
.s87-result-sub { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.6; }
.s87-result-actions { display: flex; gap: 9px; }
.s87-result-share { display: flex; }
.s87-result-share .s87-btn { width: 100%; }

.s87-guide {
  display: flex; flex-direction: column; gap: 9px;
  padding: 12px; border-radius: 12px;
  background: linear-gradient(180deg,#FFFCF3,#FBF7EA);
  border: 1px solid rgba(201,162,39,.34);
}
.s87-guide-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.s87-guide-head b { font-size: 13.5px; font-weight: 900; color: #2B3A4A; }
.s87-guide-tag {
  font-size: 10.5px; font-weight: 900; padding: 2px 8px; border-radius: 999px;
  background: #C9A227; color: #241B05;
}
.s87-guide-list { margin: 0; padding-left: 17px; display: flex; flex-direction: column; gap: 7px; }
.s87-guide-item { font-size: 12px; line-height: 1.65; color: #5B6470; }
.s87-guide-title { display: block; font-size: 12.5px; font-weight: 800; color: #2B3A4A; }
.s87-guide-body { margin: 2px 0 0; font-size: 11.5px; line-height: 1.65; color: #6B7280; }

/* ---------- ⑨ 首页大卡片入口 ---------- */
.s87-entry { display: flex; flex-direction: column; gap: 7px; margin: 14px 0 2px; }
.s87-entry-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 15px 14px;
  background: linear-gradient(120deg,#1E2937 0%,#344E6C 58%,#4A6285 100%);
  border: none; border-radius: 16px; cursor: pointer; font-family: inherit;
  text-align: left; box-shadow: 0 14px 30px -18px rgba(30,41,55,.85);
  transition: transform .12s, box-shadow .12s;
}
.s87-entry-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -18px rgba(30,41,55,.9); }
.s87-entry-ic {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.14); font-size: 21px;
}
.s87-entry-main { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.s87-entry-name { font-size: 15.5px; font-weight: 900; color: #F7F2E7; letter-spacing: .01em; }
.s87-entry-desc { font-size: 11.5px; color: rgba(247,242,231,.72); line-height: 1.5; }
.s87-entry-price {
  flex: 0 0 auto; border-radius: 999px; padding: 3px 10px;
  background: linear-gradient(135deg,#FFF3D2,#E8C97A 52%,#B98C33);
  color: #241B05; font-size: 12px; font-weight: 900;
}
.s87-entry-go { flex: 0 0 auto; display: inline-flex; color: rgba(247,242,231,.8); }
.s87-entry-note { margin: 0; font-size: 11.5px; color: #8A8578; line-height: 1.65; }

/* ---------- ⑩ 9.9 元解锁面板 ---------- */
.s87-unlock-mask { z-index: 10090; }
/* 收银台必须**高于**解锁面板（面板遮罩是 10090，.modal-overlay 只有 10000）——
   否则「我已支付」按钮被面板压住点不到，点下去还会误关面板，整条付费链路断在半路。
   （与第 74 步的 .s74-pay-overlay-top 同一个道理。） */
.s87-pay-overlay-top { z-index: 10100; }
.s87-unlock-card {
  width: min(420px, calc(100vw - 28px)); max-height: 88vh; overflow-y: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box;
  background: #fff; border: 1px solid #E6DFD0; border-radius: 18px;
  box-shadow: 0 30px 70px -30px rgba(43,58,74,.6);
  text-align: left;
}
.s87-unlock-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.s87-unlock-kicker { font-size: 11px; font-weight: 900; letter-spacing: .06em; color: #8A6D12; }
.s87-unlock-title { font-size: 17px; font-weight: 900; color: #2B3A4A; }
.s87-unlock-desc { margin: 0; font-size: 12.5px; color: #6B7280; line-height: 1.65; }
.s87-unlock-price {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px;
  padding: 10px 13px; border-radius: 12px;
  background: linear-gradient(120deg,#FFFCF3,#FBF3E0); border: 1px solid rgba(201,162,39,.34);
}
.s87-unlock-price b { font-size: 24px; font-weight: 900; color: #2B3A4A; }
.s87-unlock-price span { font-size: 11.5px; color: #8A8578; }
.s87-unlock-list-title { font-size: 12.5px; font-weight: 900; color: #2B3A4A; margin-bottom: 7px; }
.s87-unlock-points { margin: 0 0 13px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.s87-unlock-points li { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: #5B6470; line-height: 1.6; }
.s87-unlock-points li svg { color: #2E7D5B; flex: 0 0 auto; margin-top: 3px; }
.s87-unlock-verify { display: flex; flex-direction: column; gap: 6px; margin-bottom: 11px; }
.s87-unlock-verify-text { margin: 0; font-size: 12px; color: #6B7280; }
.s87-unlock-btn {
  width: 100%; min-height: 46px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg,#2B3A4A,#1E2937); color: #F7F2E7;
  font-family: inherit; font-size: 13.5px; font-weight: 800;
}
.s87-unlock-btn:disabled { opacity: .6; cursor: not-allowed; }
.s87-unlock-pass {
  width: 100%; margin-top: 9px; padding: 9px 8px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid #E0D8C6; color: #344E6C;
  font-family: inherit; font-size: 12px; font-weight: 800;
}
.s87-unlock-close {
  width: 100%; margin-top: 6px; padding: 9px 8px; border-radius: 10px; cursor: pointer;
  background: transparent; border: none; color: #8A8578;
  font-family: inherit; font-size: 12.5px; font-weight: 700;
}
.s87-unlock-note { margin: 10px 0 0; font-size: 11px; color: #9A968E; line-height: 1.6; }
.s87-unlock-done { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 4px 16px; text-align: center; }
.s87-unlock-done-ic { color: #2E7D5B; display: inline-flex; }
.s87-unlock-done-title { font-size: 15.5px; font-weight: 900; color: #2B3A4A; }
.s87-unlock-done-sub { margin: 0; font-size: 12.5px; color: #5B6470; line-height: 1.6; }

/* ---------- ⑪ 分享弹窗 ---------- */
.s87-share-mask {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10110;
  display: grid; place-items: center; padding: 16px;
  background: rgba(20,24,31,.68);
}
.s87-share-card {
  width: min(420px, 100%); max-height: 88vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box;
  background: #fff; border: 1px solid #E6DFD0; border-radius: 18px;
  box-shadow: 0 30px 70px -30px rgba(43,58,74,.6);
}
.s87-share-head { display: flex; align-items: center; gap: 8px; }
.s87-share-ic { display: inline-flex; color: #344E6C; }
.s87-share-title { font-size: 14.5px; font-weight: 900; color: #2B3A4A; }
.s87-share-close {
  width: 30px; height: 30px; border-radius: 999px; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: #F4F1E9; border: 1px solid #E6DFD0; color: #5B6470;
}
.s87-share-poster { display: flex; justify-content: center; padding: 10px; border-radius: 12px; background: #F7F4ED; border: 1px solid #E6DFD0; }
.s87-share-canvas { display: block; border-radius: 8px; box-shadow: 0 14px 30px -18px rgba(43,58,74,.7); }
.s87-share-poster-hint { margin: 0; font-size: 12px; color: #8A8578; }
.s87-share-copywrap { display: flex; flex-direction: column; gap: 6px; }
.s87-share-copylabel { font-size: 12px; font-weight: 800; color: #5B6470; }
.s87-share-copy {
  width: 100%; box-sizing: border-box; resize: vertical;
  padding: 10px 11px; border-radius: 10px;
  border: 1px solid #E6DFD0; background: #FCFBF7;
  font-family: inherit; font-size: 12px; line-height: 1.7; color: #2B3A4A;
}
.s87-share-compliance { margin: 0; font-size: 11px; color: #2E7D5B; }
.s87-share-actions { display: flex; gap: 9px; }
.s87-share-btn {
  flex: 1 1 auto; min-height: 44px; padding: 0 14px; border-radius: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 800;
}
.s87-share-btn-primary { background: linear-gradient(135deg,#2B3A4A,#1E2937); color: #F7F2E7; border: none; }
.s87-share-btn-ghost { background: #fff; color: #2B3A4A; border: 1px solid #E0D8C6; }

/* ---------- ⑫ 打印版（PDF 打印版走浏览器打印对话框） ---------- */
.s87-print-root { display: none; }
@media print {
  body.s87-printing > *:not(.s87-print-root) { display: none !important; }
  body.s87-printing .s87-print-root { display: block; position: static; padding: 0; margin: 0; }
  .s87-print-img { display: block; width: 100%; height: auto; }
  .s87-print-note { margin: 6px 0 0; font-size: 9px; color: #666; text-align: center; }
}

/* ---------- ⑬ hidden 覆盖（display:flex/inline-flex 会盖掉 UA 的 [hidden]） ---------- */
.s87-btn[hidden], .s87-step[hidden], .s87-result[hidden], .s87-guide[hidden] { display: none !important; }

/* ---------- ⑭ 响应式 ---------- */
@media (max-width: 720px) {
  .s87-steps { flex-wrap: wrap; }
  .s87-step-dot { flex: 1 1 30%; }
  .s87-styles { grid-template-columns: 1fr; }
  .s87-result-actions { flex-direction: column; }
}

/* ============================================================================
 * 第 88 步【九】：三大高客单裁判工具 + 规则资产库 · 样式
 * ========================================================================== */

/* ---------- ① 首页「高阶工具」入口区 ---------- */
.s88-entries { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.s88-entries-head { display: flex; flex-direction: column; gap: 4px; }
.s88-entries-title { margin: 0; font-size: 17px; font-weight: 900; color: #2B3A4A; }
.s88-entries-sub { margin: 0; font-size: 12.5px; color: #6B7280; line-height: 1.6; }
.s88-entries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 11px; }
.s88-entry {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 15px 15px 13px; border-radius: 15px; cursor: pointer; text-align: left;
  background: #fff; border: 1px solid #E6DFD0;
  box-shadow: 0 6px 18px rgba(43,58,74,.05);
  font-family: inherit; overflow: hidden;
}
.s88-entry:hover { border-color: var(--s88-accent, #C9A227); box-shadow: 0 10px 24px rgba(43,58,74,.09); }
.s88-entry-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--s88-accent, #C9A227); }
.s88-entry-top { display: flex; align-items: center; gap: 8px; width: 100%; }
.s88-entry-price {
  padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 900;
  background: #2B3A4A; color: #F7F2E7; letter-spacing: .01em;
}
.s88-entry-tag { font-size: 11px; font-weight: 800; color: #8A8578; }
.s88-entry-icon { color: var(--s88-accent, #C9A227); margin-top: 2px; }
.s88-entry-name { font-size: 15px; font-weight: 900; color: #2B3A4A; line-height: 1.35; }
.s88-entry-desc { font-size: 12px; color: #6B7280; line-height: 1.55; }
.s88-entry-go {
  margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 800; color: var(--s88-accent, #8A6D12);
}
.s88-entries-note { margin: 0; font-size: 11.5px; color: #8A8578; line-height: 1.6; }

/* ---------- ② 裁判工具页 ---------- */
.s88-page { display: flex; flex-direction: column; gap: 14px; padding-bottom: 30px; }
.s88-head-card { display: flex; flex-direction: column; gap: 7px; }
.s88-head-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s88-tag-price {
  padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 900;
  background: #2B3A4A; color: #F7F2E7;
}
.s88-tag-name { font-size: 11.5px; font-weight: 800; color: #8A8578; }
.s88-page-title { margin: 0; font-size: 21px; font-weight: 900; color: #2B3A4A; line-height: 1.3; }
.s88-page-tagline { margin: 0; font-size: 13.5px; color: #2B3A4A; font-weight: 700; line-height: 1.55; }
.s88-page-hook { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.6; }
.s88-rule-note {
  margin: 4px 0 0; padding: 7px 10px; border-radius: 9px;
  background: rgba(201,162,39,.08); border: 1px solid rgba(201,162,39,.28);
  font-size: 11.5px; color: #8A6D12; line-height: 1.55;
}

.s88-form {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
  padding: 15px; border-radius: 15px; background: #fff;
  border: 1px solid #E6DFD0; box-shadow: 0 6px 18px rgba(43,58,74,.05);
}
.s88-field { display: flex; flex-direction: column; gap: 5px; }
.s88-field-label { font-size: 12px; font-weight: 800; color: #5B6470; }
.s88-required { margin-left: 6px; font-size: 10.5px; font-weight: 800; color: #9A3B34; }
.s88-field-hint { margin: 0; font-size: 11px; color: #8A8578; line-height: 1.5; }
.s88-input, .s88-select, .s88-textarea {
  width: 100%; box-sizing: border-box;
  padding: 10px 11px; border-radius: 11px;
  border: 1px solid #E0D8C6; background: #FCFBF7;
  font-family: inherit; font-size: 13.5px; color: #2B3A4A;
}
.s88-textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.s88-input:focus, .s88-select:focus, .s88-textarea:focus {
  outline: none; border-color: #C9A227; background: #fff;
}
.s88-form-error {
  margin: 0; padding: 9px 12px; border-radius: 10px;
  background: rgba(154,59,52,.08); border: 1px solid rgba(154,59,52,.3);
  color: #9A3B34; font-size: 12.5px; font-weight: 700;
}
.s88-submit-row { display: flex; gap: 10px; }
.s88-submit { min-height: 46px; padding: 0 26px; border-radius: 12px; font-size: 14.5px; }
.s88-result { display: flex; flex-direction: column; gap: 12px; }
.s88-unlocked-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 9px 13px; border-radius: 11px;
  background: rgba(46,125,91,.08); border: 1px solid rgba(46,125,91,.26);
}

/* ---------- ③ 第一屏参数卡（第 88 步【二】2） ---------- */
.s88-params {
  margin: 0 0 12px; padding: 13px 14px; border-radius: 14px;
  background: linear-gradient(180deg,#FFFFFF 0%,#FAF7EE 100%);
  border: 1px solid #E6DFD0; box-shadow: 0 5px 16px rgba(43,58,74,.05);
}
.s88-params-head { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; margin-bottom: 10px; }
.s88-params-kicker { font-size: 13px; font-weight: 900; color: #2B3A4A; }
.s88-params-note { font-size: 11px; color: #8A8578; }
.s88-params-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 9px; }
.s88-param {
  display: flex; flex-direction: column; gap: 3px;
  padding: 9px 11px; border-radius: 10px;
  background: rgba(255,255,255,.86); border: 1px solid #EDE6D6;
}
.s88-param-label { font-size: 10.5px; font-weight: 800; color: #8A8578; letter-spacing: .02em; }
.s88-param-value { font-size: 14px; font-weight: 900; color: #2B3A4A; line-height: 1.35; word-break: break-word; }

/* ---------- ④ 报告本体 ---------- */
.s88-doc { display: flex; flex-direction: column; gap: 13px; }
.s88-notice {
  margin: 0; padding: 9px 12px; border-radius: 10px;
  display: flex; gap: 7px; align-items: flex-start;
  background: #FFFDF6; border: 1px solid rgba(201,162,39,.3);
  font-size: 11.5px; color: #7A6B45; line-height: 1.6;
}
.s88-notice-icon { flex: 0 0 auto; }
.s88-head { display: flex; flex-direction: column; gap: 6px; }
.s88-kicker { font-size: 11.5px; font-weight: 800; color: #8A8578; letter-spacing: .04em; }
.s88-title { margin: 0; font-size: 19px; font-weight: 900; color: #2B3A4A; line-height: 1.35; }
.s88-subtitle { margin: 0; font-size: 12.5px; color: #6B7280; line-height: 1.6; }
.s88-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 2px; }
.s88-badge { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 900; }
.s88-badge-ok { background: rgba(46,125,91,.13); color: #2E7D5B; }
.s88-badge-warn { background: rgba(201,162,39,.16); color: #8A6D12; }
.s88-badge-risk { background: rgba(154,59,52,.13); color: #9A3B34; }
.s88-counts { font-size: 11.5px; color: #8A8578; }
.s88-verdict-line {
  margin: 2px 0 0; padding: 10px 13px; border-radius: 11px;
  background: #2B3A4A; color: #F7F2E7;
  font-size: 13.5px; font-weight: 800; line-height: 1.6;
}
.s88-headline { margin: 0; font-size: 13.5px; font-weight: 800; color: #2B3A4A; line-height: 1.7; }

.s88-groups { display: flex; flex-direction: column; gap: 11px; }
.s88-group { display: flex; flex-direction: column; gap: 8px; padding: 13px; border-radius: 13px; border: 1px solid #EDE6D6; background: #fff; }
.s88-group-fail { border-color: rgba(154,59,52,.3); background: rgba(154,59,52,.03); }
.s88-group-review { border-color: rgba(201,162,39,.34); background: rgba(201,162,39,.04); }
.s88-group-pass { border-color: rgba(46,125,91,.26); background: rgba(46,125,91,.03); }
.s88-group-title { margin: 0; display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 900; color: #2B3A4A; }
.s88-group-icon { font-size: 15px; }
.s88-group-desc { margin: 0; font-size: 11.5px; color: #8A8578; line-height: 1.6; }

.s88-item { display: flex; flex-direction: column; gap: 6px; padding: 11px 12px; border-radius: 11px; background: #FCFBF7; border: 1px solid #EFE8D8; }
.s88-item-fail { border-left: 4px solid #9A3B34; }
.s88-item-review { border-left: 4px solid #C9A227; }
.s88-item-pass { border-left: 4px solid #2E7D5B; }
.s88-item-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s88-tag { padding: 2px 8px; border-radius: 999px; background: #F1EDE3; color: #8A8578; font-size: 10.5px; font-weight: 800; }
.s88-chip { padding: 2px 9px; border-radius: 999px; background: #F1EDE3; color: #6B7280; font-size: 10.5px; font-weight: 800; }
.s88-cond { margin: 0; font-size: 12.5px; font-weight: 700; color: #2B3A4A; line-height: 1.6; }
.s88-detail { margin: 0; font-size: 11.5px; color: #8A8578; line-height: 1.6; }
.s88-action { display: flex; gap: 8px; align-items: flex-start; margin-top: 2px; }
.s88-action-label {
  flex: 0 0 auto; padding: 2px 8px; border-radius: 7px;
  background: #2B3A4A; color: #F7F2E7; font-size: 10.5px; font-weight: 800;
}
.s88-action-text { margin: 0; font-size: 12.5px; color: #4A5560; line-height: 1.7; }
.s88-item-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.s88-deadline { font-size: 11px; font-weight: 800; color: #9A3B34; }
.s88-source { font-size: 11px; color: #9A968E; }

.s88-risk { padding: 13px; border-radius: 13px; background: rgba(154,59,52,.05); border: 1px solid rgba(154,59,52,.28); }
.s88-risk-title { margin: 0 0 7px; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; color: #9A3B34; }
.s88-risk-line { margin: 0 0 5px; font-size: 12.5px; color: #7A3030; line-height: 1.7; }
.s88-risk-line:last-child { margin-bottom: 0; }

.s88-conclusion { padding: 13px; border-radius: 13px; background: #fff; border: 1px solid #E6DFD0; }
.s88-conclusion-title { margin: 0 0 7px; font-size: 13px; font-weight: 900; color: #2B3A4A; }
.s88-conclusion-line { margin: 0 0 5px; font-size: 12.5px; color: #4A5560; line-height: 1.75; white-space: pre-wrap; }
.s88-conclusion-line:last-child { margin-bottom: 0; }

.s88-block { padding: 13px; border-radius: 13px; background: #FCFBF7; border: 1px solid #E6DFD0; }
.s88-block-title { margin: 0 0 8px; font-size: 13px; font-weight: 900; color: #2B3A4A; }
.s88-block-line { margin: 0 0 6px; font-size: 12.5px; color: #4A5560; line-height: 1.75; white-space: pre-wrap; }
.s88-block-line:last-child { margin-bottom: 0; }
.s88-block-replace { background: #FFFDF6; border-color: rgba(201,162,39,.34); }

.s88-timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.s88-timeline-row { display: flex; gap: 10px; align-items: flex-start; }
.s88-timeline-idx {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #2B3A4A; color: #F7F2E7; font-size: 11px; font-weight: 900;
}
.s88-timeline-body { display: flex; flex-direction: column; gap: 2px; }
.s88-timeline-label { font-size: 12.5px; font-weight: 900; color: #2B3A4A; }
.s88-timeline-value { font-size: 13.5px; font-weight: 900; color: #9A3B34; }
.s88-timeline-note { font-size: 11.5px; color: #8A8578; line-height: 1.6; }

.s88-replacement {
  margin: 0 0 9px; padding: 12px; border-radius: 11px;
  background: #fff; border: 1px dashed #C9A227;
  font-family: inherit; font-size: 12.5px; color: #2B3A4A; line-height: 1.85;
  white-space: pre-wrap; word-break: break-word;
}
.s88-version { margin: 0; }

/* ---------- ⑤ 免费层（第 88 步【四】） ---------- */
.s88-free { display: flex; flex-direction: column; gap: 12px; }
.s88-free-cta {
  display: flex; flex-direction: column; gap: 9px; align-items: flex-start;
  padding: 14px; border-radius: 13px;
  background: linear-gradient(180deg,#FFFDF6,#FBF6E8);
  border: 1px solid rgba(201,162,39,.34);
}
.s88-free-title { margin: 0; font-size: 13.5px; font-weight: 900; color: #2B3A4A; line-height: 1.6; }
.s88-free-points { margin: 0; padding: 0 0 0 2px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.s88-free-points li { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; color: #6B7280; line-height: 1.6; }
.s88-free-btn { min-height: 44px; padding: 0 24px; border-radius: 12px; font-size: 14px; }
.s88-free-note { margin: 0; font-size: 11px; color: #9A968E; line-height: 1.6; }

/* ---------- ⑥ 支付抽屉 ---------- */
.s88-pay-mask { z-index: 10120; }
.s88-pay-overlay-top { z-index: 10130; }
.s88-pay-card {
  width: min(430px, 92vw); max-height: 86vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 11px;
  padding: 18px 18px 20px; border-radius: 20px;
  background: #fff; box-shadow: 0 24px 60px rgba(21,32,43,.28);
}
.s88-pay-head { display: flex; flex-direction: column; gap: 4px; }
.s88-pay-kicker { font-size: 11px; font-weight: 800; color: #8A8578; }
.s88-pay-tool { font-size: 17px; font-weight: 900; color: #2B3A4A; line-height: 1.35; }
.s88-pay-label { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.55; }
.s88-pay-desc { margin: 0; font-size: 12px; color: #8A8578; line-height: 1.6; }
.s88-pay-price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding: 10px 13px; border-radius: 11px; background: #2B3A4A; color: #F7F2E7;
}
.s88-pay-price b { font-size: 21px; font-weight: 900; }
.s88-pay-price span { font-size: 11px; opacity: .82; }
.s88-pay-list-title { font-size: 12px; font-weight: 900; color: #2B3A4A; }
.s88-pay-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.s88-pay-points li { display: flex; gap: 7px; align-items: flex-start; font-size: 12.5px; color: #4A5560; line-height: 1.6; }
.s88-pay-verify { display: flex; flex-direction: column; gap: 7px; padding: 9px 11px; border-radius: 10px; background: #FCFBF7; border: 1px solid #EDE6D6; }
.s88-pay-verify-text { margin: 0; font-size: 11.5px; color: #8A8578; }
.s88-pay-btn {
  min-height: 46px; width: 100%; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg,#2B3A4A,#1E2937); color: #F7F2E7;
  font-family: inherit; font-size: 14.5px; font-weight: 900;
}
.s88-pay-btn:disabled { opacity: .6; cursor: not-allowed; }
.s88-pay-btn-ghost { background: #F1EDE3; color: #2B3A4A; border: 1px solid #E0D8C6; }
.s88-pay-close {
  width: 100%; padding: 10px; border-radius: 11px; cursor: pointer;
  background: transparent; border: 1px solid #E6DFD0; color: #6B7280;
  font-family: inherit; font-size: 13px; font-weight: 800;
}
.s88-pay-note { margin: 0; font-size: 10.5px; color: #9A968E; line-height: 1.65; }
.s88-pay-unlocked { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 8px 0 4px; text-align: center; }
.s88-pay-unlocked-ic { color: #2E7D5B; }
.s88-pay-unlocked-title { font-size: 16px; font-weight: 900; color: #2B3A4A; }
.s88-pay-unlocked-sub { margin: 0; font-size: 12px; color: #6B7280; line-height: 1.6; }
.s88-pay-unlocked-actions { width: 100%; margin-top: 4px; }

/* ---------- ⑦ 后台「规则资产库」 ---------- */
.s88-ra { display: flex; flex-direction: column; gap: 14px; }
.s88-ra-stats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.s88-ra-stat {
  padding: 4px 10px; border-radius: 999px; background: #F1EDE3;
  font-size: 11.5px; font-weight: 800; color: #6B7280;
}
.s88-ra-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 11px; }
.s88-ra-filter { display: flex; gap: 7px; flex-wrap: wrap; }
.s88-ra-chip { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.s88-ra-chip-ok { background: rgba(46,125,91,.13); color: #2E7D5B; }
.s88-ra-chip-warn { background: rgba(201,162,39,.16); color: #8A6D12; }
.s88-ra-chip-risk { background: rgba(154,59,52,.13); color: #9A3B34; }
.s88-ra-detail { display: flex; flex-direction: column; gap: 9px; }
.s88-ra-detail-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.s88-ra-kv { display: flex; gap: 9px; align-items: flex-start; }
.s88-ra-kv-label { flex: 0 0 108px; font-size: 11.5px; font-weight: 800; color: #8A8578; }
.s88-ra-kv-value { flex: 1 1 auto; font-size: 12.5px; color: #2B3A4A; line-height: 1.65; word-break: break-word; }
.s88-ra-form { display: flex; flex-direction: column; gap: 11px; }
.s88-ra-form-title { margin: 0 0 3px; font-size: 15px; font-weight: 900; color: #2B3A4A; }
.s88-ra-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 11px; }
.s88-ra-field { display: flex; flex-direction: column; gap: 4px; }
.s88-ra-field-inline { flex-direction: row; align-items: center; gap: 8px; }
.s88-ra-field-label { font-size: 11.5px; font-weight: 800; color: #5B6470; }
.s88-ra-field-hint { font-size: 10.5px; color: #9A968E; line-height: 1.5; }
.s88-ra-check { width: 16px; height: 16px; }
.s88-ra-form-error {
  margin: 0; padding: 9px 12px; border-radius: 10px;
  background: rgba(154,59,52,.08); border: 1px solid rgba(154,59,52,.3);
  color: #9A3B34; font-size: 12px; font-weight: 700;
}
.s88-ra-form-actions { display: flex; gap: 9px; }

/* ==========================================================
 * 第 90 步【二】#4：房价「模型估算，非真实成交」角标
 * ------------------------------------------------------------
 * 全库 housing_price_history 都是模型拟合曲线（is_fitted: true），
 * 只要把数字摆到页面上，就必须挂这个角标让用户一眼看懂口径。
 * 视觉口径：中性灰、低饱和、体量小 —— 它是口径标注而非状态告警，
 * 所以绝不能做成刺眼的警告色块（那是 badge-warn / badge-risk 的活儿）。
 * ========================================================== */
.price-fitted-badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 18px; padding: 0 6px; margin-left: 4px;
  border-radius: 4px; white-space: nowrap; vertical-align: middle;
  font-size: 10.5px; font-weight: 500; line-height: 1;
  color: var(--muted, #888888);
  background: rgba(136, 136, 136, .10);
  border: 1px solid rgba(136, 136, 136, .24);
}
.price-fitted-badge::before {
  content: ''; flex: none;
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: .55;
}

/* 第 90 步【二】#4：抗跌仪表盘上的「无真实成交数据」提示行（同样中性灰，不刺眼） */
.s72-gauge-price-note {
  margin: 8px 0 0;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(136, 136, 136, .10);
  border: 1px solid rgba(136, 136, 136, .24);
  color: var(--muted, #888888);
  font-size: 12px; line-height: 1.6;
}

/* ==========================================================
 * 第 96 步【裁定①】：抗跌指数「数据不足」空态 + 口径披露行
 * ------------------------------------------------------------
 * 口径修订后仪表盘有两种形态：
 *   ① available=true  —— 指针 / 总分 / 评级 / 两条维度明细（原有样式）
 *   ② available=false —— **不画指针、不出分数、不出评级**，
 *      只给一句「数据不足」+ 原因 + 口径披露。
 * 「缺数据就不给结论」这条规则在视觉上也必须一眼可辨，
 * 所以空态用中性灰、绝不用评级色（避免「看起来像低分」）。
 * ========================================================== */
.s72-gauge-badge-muted {
  font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 999px;
  color: var(--s72-muted); background: rgba(138, 143, 153, .16);
  border: 1px solid var(--s72-line);
}
.s72-gauge-unavailable {
  margin-top: 12px; padding: 14px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--s72-line);
}
.s72-gauge-unavailable-title {
  margin: 0 0 6px; font-size: 13.5px; font-weight: 700; color: var(--s72-white);
}
.s72-gauge-unavailable-desc {
  margin: 0; font-size: 12px; line-height: 1.7; color: var(--s72-muted);
}
.s72-gauge-unavailable-desc + .s72-gauge-unavailable-desc { margin-top: 6px; }
.s72-gauge-method-note {
  margin: 10px 0 0; padding: 8px 10px; border-radius: 10px;
  background: rgba(216, 195, 165, .07);
  border: 1px solid rgba(216, 195, 165, .22);
  color: var(--s72-muted); font-size: 10.5px; line-height: 1.7;
}

/* ==========================================================
 * 第 89 步【三】2：报告底部固定免责行
 * ------------------------------------------------------------
 * 审计单（.s85-doc）与裁判单（.s88-doc）共用一条视觉：
 * 一行低饱和、带边框的说明条，排在正文最后一行，
 * 上面是结论、下面是技术尾注 —— 一眼能看出「这是结论的边界」。
 * ========================================================== */
.s85-footer,
.s88-footer {
  margin: 10px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(42, 58, 74, .05);
  border: 1px solid rgba(42, 58, 74, .16);
  color: #5B6470;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.65;
}

/* ============ 第 97 步【硬伤一 + 裁定① + 裁定②】：抗跌仪表盘新增样式 ============ */
.s72-gauge-completeness {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
  margin: 12px 0 0; padding: 10px 12px;
  border: 1px solid #2C3442; border-radius: 10px; background: rgba(20, 25, 34, .72);
}
.s72-gauge-completeness-label { font-size: 12px; color: #8A8F99; }
.s72-gauge-completeness-value {
  font-size: 17px; font-weight: 700; color: #D8C3A5; font-family: Georgia, serif;
}
.s72-gauge-completeness-note { font-size: 11px; color: #8A8F99; line-height: 1.6; }
.s72-gauge-dim-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 5px 0 2px; }
.s72-gauge-dim-measured {
  font-size: 10.5px; line-height: 1.5; padding: 2px 8px;
  border-radius: 999px; border: 1px solid transparent;
}
.s72-gauge-dim-measured.is-measured {
  color: #78C293; border-color: rgba(120, 194, 147, .45); background: rgba(95, 167, 119, .12);
}
.s72-gauge-dim-measured.is-estimated {
  color: #C9A227; border-color: rgba(201, 162, 39, .45); background: rgba(201, 162, 39, .12);
}
.s72-gauge-dim-caliber {
  font-size: 10.5px; line-height: 1.5; padding: 2px 8px; border-radius: 999px;
  color: #D8C3A5; border: 1px solid rgba(216, 195, 165, .38);
}
.s72-gauge-dim-stale {
  font-size: 10.5px; line-height: 1.5; padding: 2px 8px; border-radius: 999px;
  color: #C2594F; border: 1px solid rgba(194, 89, 79, .48); background: rgba(194, 89, 79, .10);
}
.s72-gauge-status { list-style: none; margin: 8px 0 0; padding: 0; }
.s72-gauge-status-item { font-size: 11.5px; color: #8A8F99; line-height: 1.7; }
.s72-gauge-status-item b { color: #F5F3EF; font-weight: 600; margin-right: 6px; }
.s72-gauge-status-tag { color: #D8C3A5; margin-right: 6px; }
.s72-gauge-status-note { color: #8A8F99; }

/* ============ 第 98 步【②】：抗跌分旁的「房价口径」硬标注 + 挂牌口径警示 ============ */
.s72-gauge-price-caliber {
  margin: 10px 0 0; padding: 9px 12px;
  border: 1px solid rgba(216, 195, 165, .45); border-radius: 10px;
  background: rgba(216, 195, 165, .08);
  font-size: 12.5px; line-height: 1.7; color: #F5F3EF; font-weight: 600;
}
.s72-gauge-dim-caliber-flag {
  color: #C9A227; border-color: rgba(201, 162, 39, .55); background: rgba(201, 162, 39, .14);
  font-weight: 600;
}

/* ============ 第 98 步【③】：纯静态模式的「需后端·建设中」占位与顶部说明 ============ */
.s98-pending {
  display: flex; flex-direction: column; gap: 4px;
  margin: 8px 0; padding: 10px 12px;
  border: 1px dashed var(--line-2, #DDD8CE); border-radius: 10px;
  background: var(--surface-2, #F7F5F1);
}
.s98-pending b { font-size: 12.5px; color: var(--ink-2, #5A564E); }
.s98-pending span { font-size: 11.5px; line-height: 1.7; color: var(--muted, #8A8F99); }
.s98-static-notice {
  display: flex; flex-direction: column; gap: 4px;
  margin: 0 0 4px; padding: 11px 13px;
  border: 1px solid rgba(201, 162, 39, .40); border-radius: 10px;
  background: rgba(201, 162, 39, .07);
}
.s98-static-notice b { font-size: 13px; color: var(--ink, #23262B); }
.s98-static-notice span { font-size: 12px; line-height: 1.75; color: var(--ink-2, #5A564E); }

/* ================================================================
   第 117 步 · 批次C：去政务化 / 数据说明胶囊 / 沉浸式头图 / 大卡片列表 / 徽章视觉
   ----------------------------------------------------------------
   【做法】全部以「层叠覆盖」的形式追加在文件末尾，**历史规则块一条没改、没删** ——
   与本仓库第 33 步覆盖第 30 步的既有做法一致：
   改动面可控、可整段回退，也能一眼看清这轮到底动了什么。

   【批次C 的五项】
     C1 去政务化   背景暖灰 #F7F8FA / 卡片 16px 圆角 + 弥散阴影 /
                   大面积藏青换成墨绿（藏青只留在少量小元素上）
     C2 数据说明   免责声明收成**右上角「数据说明(?)」胶囊**，点一下就地展开
     C3 沉浸式头图 学校 / 小区详情：深色渐变遮罩 + 名称 + 区划 + 右上收藏
     C4 大卡片列表 对口小区列表改「卡片 + 列表项」，去掉干瘪表格线
     C5 徽章视觉   四档语义一字未动（official / linked / untraced / derived），
                   只把视觉从「红头文件」那身打扮换成轻量 chip
   ================================================================ */

/* ------------------------------------------------------------
   C1-① 暖灰底 + 16px 圆角 + 弥散阴影
   ------------------------------------------------------------ */
:root {
  --bg: #F7F8FA;
  --r-lg: 16px;
  --shadow-card: 0 10px 30px rgba(16, 32, 58, .06), 0 2px 6px rgba(16, 32, 58, .03);
  --shadow-2: 0 14px 38px rgba(16, 32, 58, .09), 0 2px 8px rgba(16, 32, 58, .04);
}
body { background: var(--bg); }
.card { border-radius: 16px; box-shadow: var(--shadow-card); }

/* ------------------------------------------------------------
   C1-② 降低藏青比例
   ------------------------------------------------------------
   政务感最大的一块不是配色，是**顶栏那条深藏蓝横条**：满宽、深色、白字居中，
   一眼就是机关办事大厅。现在顶栏与头图改用墨绿（品牌色），
   藏青退回它该待的地方 —— 少量强调元素（价格数字、个别按钮底色）。
   顶栏内部所有「白字 / 浅色描边」的规则原样保留，不用逐条改写。 */
.topbar {
  background: linear-gradient(120deg, #35513F 0%, #27392D 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 4px 20px rgba(30, 52, 38, .16);
}

/* ------------------------------------------------------------
   C2 免责声明：右上角「数据说明(?)」胶囊
   ------------------------------------------------------------
   位置从「页面最底」挪到「视口右上角」——
   合规声明该在随手可查的地方，而不是躺在页脚等人翻到底。

   两条老口径**原样保留**（不是删，是继续成立）：
     ① 容器底色透明 —— 胶囊的「实心感」由内层 .disc-capsule 承担；
     ② 全文始终留在 DOM 里 —— 收起态用零尺寸裁剪，不是 display:none，
        自动化断言照样读得到全文。
   判定页 / 搜索页 / 小区详情页那三段「一行浅色小字」的页面级覆盖，
   这里只重排版式，「透明底 + 无图标」两条不动。 */
.global-disclaimer {
  position: fixed;
  top: 70px; right: 16px;
  z-index: 95;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  margin: 0; padding: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px; line-height: 1.75; letter-spacing: 0;
}
.disc-capsule {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(16, 32, 58, .10);
  cursor: pointer;
  transition: border-color .16s, box-shadow .16s;
}
.disc-capsule:hover { border-color: var(--brand-100); box-shadow: 0 10px 26px rgba(16, 32, 58, .14); }
.global-disclaimer .disc-bubble {
  width: 20px; height: 20px; font-size: 12px;
  border-color: var(--brand-100);
  background: var(--brand-050);
  color: var(--brand);
}
.global-disclaimer .disc-label { flex: none; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.global-disclaimer .global-disclaimer-ver {
  flex: none; margin-left: 0; padding: 1px 7px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 10px; letter-spacing: .3px; color: var(--muted);
  background: transparent;
}
/* 展开态：胶囊下方落一块独立小面板（容器仍是透明底，只换文字块的底色） */
.global-disclaimer.is-open .global-disclaimer-text {
  position: static; width: min(86vw, 320px); height: auto;
  overflow: visible; clip-path: none; white-space: normal;
  flex: none;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 32, 58, .14);
  color: var(--ink-2);
}
/* 页面级覆盖：只重排版式，「透明底 + 无图标」两条老口径不动 */
[data-testid="entry-scroll"] .global-disclaimer,
#page-slot:has(.s67-search-page) .global-disclaimer,
#page-slot:has([data-testid="community-detail-page"]) .global-disclaimer {
  margin-top: 0; padding: 0; border-radius: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px; line-height: 1.75; letter-spacing: 0;
  align-items: flex-end; justify-content: flex-end; text-align: left;
  flex-wrap: nowrap; gap: 8px;
}
[data-testid="entry-scroll"] .global-disclaimer-ver,
#page-slot:has(.s67-search-page) .global-disclaimer-ver,
#page-slot:has([data-testid="community-detail-page"]) .global-disclaimer-ver {
  margin-left: 0; padding: 1px 7px;
  border-color: var(--line); color: var(--muted); font-size: 10px;
}
/* 详情页头图右上角是「收藏」按钮 —— 胶囊下移一屏，别压住收藏 */
#page-slot:has([data-testid="community-detail-page"]) .global-disclaimer { top: 122px; }
#page-slot:has([data-testid="school-detail-page"]) .global-disclaimer { top: 136px; }
/* 手机端顶栏更矮，胶囊跟着上移 */
@media (max-width: 640px) {
  .global-disclaimer { top: 62px; right: 12px; }
  #page-slot:has([data-testid="community-detail-page"]) .global-disclaimer { top: 116px; }
  #page-slot:has([data-testid="school-detail-page"]) .global-disclaimer { top: 126px; }
}

/* ------------------------------------------------------------
   C3-① 学校详情：沉浸式头图（深色渐变遮罩 + 名称 + 区划 + 右上收藏）
   ------------------------------------------------------------ */
.hero-banner {
  padding: 28px 24px 54px;
  border-radius: 20px;
  background: linear-gradient(135deg, #35513F 0%, #2A4433 52%, #1F3327 100%);
  box-shadow: 0 16px 40px rgba(28, 48, 36, .22);
}
/* 深色渐变遮罩：压住顶部一截，让返回键 / 收藏键在浅色底上也读得清 */
.hero-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(14, 28, 20, .38) 0%, rgba(14, 28, 20, 0) 58%);
  pointer-events: none;
}
.hero-banner::after {
  right: -90px; top: -120px; width: 300px; height: 300px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .15), transparent 62%);
}
.hero-banner.hero-school { background: linear-gradient(135deg, #3A5A40 0%, #2E4835 52%, #22362A 100%); }
.hero-title { font-size: 32px; letter-spacing: .6px; }
.hero-crumb { letter-spacing: .8px; }

/* ------------------------------------------------------------
   C3-② 小区详情：沉浸式头图
   ------------------------------------------------------------
   第 57 步把这里压成一条细标题条（为的是首屏只看结论）；
   批次C 要回 immersive —— 但**不占额外首屏高度**：
   结论卡原本就紧跟标题条，头图只是变高、结论卡跟着下移，
   页面结构（hero → verdict → 首屏层）一个字没动。 */
.d57-hero {
  position: relative; overflow: hidden;
  display: block;
  padding: 14px 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #35513F 0%, #2A4433 55%, #1F3327 100%);
  box-shadow: 0 14px 34px rgba(28, 48, 36, .20);
}
.d57-hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(14, 28, 20, .34) 0%, rgba(14, 28, 20, 0) 62%);
}
.d57-hero-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.d57-hero-actions { display: flex; gap: 8px; }
.d57-hero-main { position: relative; z-index: 1; margin-top: 12px; }
.d57-hero-name {
  font-size: 26px; font-weight: 800; color: #fff;
  line-height: 1.22; letter-spacing: .4px; word-break: break-word;
}
.d57-hero .d57-topbar-crumb { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.d57-hero .d57-topbar-back { background: rgba(255, 255, 255, .14); }
.d57-hero .btn { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .12); }
.d57-hero .btn.btn-accent { background: rgba(255, 255, 255, .92); color: var(--brand-600); border-color: transparent; }
@media (max-width: 640px) {
  .d57-hero { padding: 12px 14px 15px; border-radius: 18px; }
  .d57-hero-main { margin-top: 10px; }
  .d57-hero-name { font-size: 23px; }
}

/* ------------------------------------------------------------
   C4 对口小区列表：大卡片 + 列表项，去掉干瘪表格线
   ------------------------------------------------------------
   结构上仍然是 table / tbody / tr / td ——
   「哪一行是哪个小区」这件事必须继续能被定位到；
   视觉上把每一行升级成一张独立大卡片（圆角 + 弥散阴影），
   表头与横向分隔线一律撤掉：卡片列表不需要列标题。
   分组头保留，但它不再是一张「表头卡片」，而是一段小标题。 */
.scl-table { display: block; width: 100%; }
.scl-table thead { display: none; }
.scl-table tbody { display: block; }
.scl-table tr {
  display: block; border: 0; border-radius: 16px;
  margin: 0 0 12px; padding: 14px 16px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(16, 32, 58, .05);
}
.scl-table td { display: block; padding: 0; text-align: left !important; }
.scl-table td + td { margin-top: 12px; }
.scl-table tr:last-child { border-bottom: 0; }
.scl-group-head tr {
  background: transparent; box-shadow: none;
  padding: 16px 2px 4px; margin-bottom: 0;
}
.scl-group-head > tr > td { padding: 0 !important; border-bottom: none !important; }
.scl-title { padding-top: 0; }
.scl-meta { padding-bottom: 0; }

/* ------------------------------------------------------------
   第 126 步：官方服务范围卡 · 历史年份折叠行
   ------------------------------------------------------------
   折的是「重复铺行」，不是原文 —— 点开即可逐字读到官方当年写的范围／门牌。
   所以折叠行必须一眼看出「里面还有东西、点得开」，不能做成一句灰字提示。
   交互沿用站内既有的 details/summary 模式（见 .s51-collapsed / .wizard-optional）。 */
.scope-fold {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); margin: 0 0 12px; overflow: hidden;
}
.scope-fold-summary {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; cursor: pointer; list-style: none;
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
}
.scope-fold-summary::-webkit-details-marker { display: none; }
.scope-fold-summary::after {
  content: '⌄'; margin-left: auto; flex: none;
  color: #A9A49B; font-size: 14px; line-height: 1;
}
.scope-fold[open] > .scope-fold-summary::after { content: '⌃'; }
.scope-fold-years {
  flex: none; font-weight: 750; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.scope-fold-text { min-width: 0; }
.scope-fold > .scl-table { padding: 0 12px 2px; }
.scope-fold > .scl-table tr:last-child { margin-bottom: 12px; }
/* ⚠️ 折叠内容必须**显式**收起：`.scl-table { display: block }` 是作者样式，
   优先级高于浏览器 UA 的 `details > *:not(summary) { display: none }` ——
   不写这一条，折叠行会「open=false 却整表铺开」，折叠等于没折
   （第 126 步 E2E 实测：可见 14/14、80/80 全部铺开，已由 126-E2E-04/07 抓出）。 */
.scope-fold:not([open]) > .scl-table { display: none; }

/* ------------------------------------------------------------
   C5 徽章视觉：四档语义一字未动，只换视觉
   ------------------------------------------------------------
   档位与含义完全沿用既有四档（official 官方文件溯源 / linked 官方链接·未逐条核验 /
   untraced 来源待核实 / derived 系统整理），点击行为也不变：
   官方行开真实公告链接，未核验行仍是点不动的静态标注。
   这轮只把「深绿渐变 + 强阴影」那身红头文件打扮换成轻量 chip。 */
.cf-badge.cf-official {
  background: #EAF5EE; color: #1E7A3C; border-color: #CFE7D7;
  font-weight: 700; font-size: 11px; letter-spacing: .02em;
  border-radius: 8px; padding: 2px 8px;
  box-shadow: none;
}
.cf-badge.cf-official svg { width: 11px; height: 11px; flex: none; color: #1E7A3C; }
.cf-legend .cf-badge.cf-official {
  background: #EAF5EE; color: #1E7A3C; border-color: #CFE7D7; box-shadow: none;
}
.cf-badge.cf-linked {
  background: #FDF3E0; color: #8A5A12; border-color: #EBD6AE;
  font-weight: 600; font-size: 11px;
  border-radius: 8px; padding: 2px 8px;
}
.cf-badge.cf-untraced {
  background: #EEF0F2; color: #5A6169; border-color: #DCE0E4;
  font-weight: 600; font-size: 11px;
  border-radius: 8px; padding: 2px 8px;
}
.cf-badge.cf-derived,
.cf-badge.cf-unverified { font-size: 10.5px; border-radius: 8px; }
