/* ============================================================
   问师择校 · 前台设计系统
   风格：学术编辑部风（暖纸底 + 青绿主色 + 衬线标题 + 中文数字编号）
   ============================================================ */

:root {
  /* 色板 */
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --ink: #152423;
  --ink-2: #40514f;
  --ink-3: #7a8a87;
  --line: #e3e1d8;
  --brand: #0d9488;
  --brand-deep: #0b6e64;
  --brand-soft: #e2f2f0;
  --accent: #c2410c;
  --accent-soft: #fdeee2;
  --gold: #b45309;
  --white: #ffffff;
  /* 字体 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  /* 尺寸 */
  --wrap: 1180px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(21, 36, 35, .05), 0 4px 16px rgba(21, 36, 35, .06);
  --shadow-2: 0 8px 30px rgba(21, 36, 35, .12);
  --head-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--brand); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 标题 ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 700; line-height: 1.35; }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 242, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; font-weight: 900;
}
.logo-name { font-family: var(--serif); font-size: 19px; font-weight: 900; letter-spacing: .5px; }
.logo-tag { font-size: 11px; color: var(--ink-3); display: block; line-height: 1.2; margin-top: -2px; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.main-nav a {
  padding: 8px 13px; border-radius: 99px; font-size: 14.5px; color: var(--ink-2);
  transition: color .2s, background .2s; white-space: nowrap;
}
.main-nav a:hover { color: var(--brand-deep); background: var(--brand-soft); }
.main-nav a.on { color: var(--brand-deep); background: var(--brand-soft); font-weight: 600; }
.head-act { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--white);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle i { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open i:nth-child(2) { opacity: 0; }
.nav-toggle.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--head-h) 0 auto 0; z-index: 99;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 12px 24px 20px; display: none;
  box-shadow: var(--shadow-2);
}
.drawer.open { display: block; }
.drawer a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 15px; }
.drawer a:last-child { border-bottom: 0; }
.drawer .drawer-act { display: flex; gap: 10px; padding-top: 14px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 99px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; transition: all .22s; white-space: nowrap;
}
.btn-pri { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(13, 148, 136, .28); }
.btn-pri:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(13, 148, 136, .34); }
.btn-ghost { border-color: var(--line); color: var(--ink-2); background: var(--white); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-line:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { padding: 7px 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[data-fav].on { background: var(--brand-soft); color: var(--brand-deep); border-color: var(--brand); }

/* ---------- 板块头（中文数字编号） ---------- */
.sec { padding: 72px 0 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.sec-no { font-family: var(--serif); font-size: 13px; letter-spacing: 3px; color: var(--brand); font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec-no::after { content: ""; width: 44px; height: 1px; background: var(--brand); opacity: .5; }
.sec-title { font-size: 30px; letter-spacing: 1px; }
.sec-sub { color: var(--ink-3); margin-top: 8px; font-size: 14px; }
.sec-more { color: var(--brand-deep); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0; }
.sec-more:hover { gap: 9px; }
.sec-more { transition: gap .2s; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b3f3a 0%, #0d9488 58%, #14b8a6 100%);
  color: #fff; padding: 88px 0 96px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 78% 20%, rgba(255, 255, 255, .14), transparent 60%),
              radial-gradient(ellipse 40% 40% at 12% 85%, rgba(255, 255, 255, .09), transparent 60%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 2px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 15px; border-radius: 99px; margin-bottom: 22px; }
.hero h1 { font-size: 50px; letter-spacing: 2px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: #fde68a; position: relative; }
.hero-sub { font-size: 16px; opacity: .86; margin-bottom: 30px; max-width: 46em; }
.hero-fig { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(4, 38, 34, .45); border: 1px solid rgba(255, 255, 255, .25); }
.hero-fig img { width: 100%; height: 340px; object-fit: cover; }

/* 搜索盒 */
.search-box {
  display: flex; background: var(--white); border-radius: 99px; padding: 6px;
  box-shadow: 0 18px 40px rgba(4, 38, 34, .3); max-width: 560px;
}
.search-box input {
  flex: 1; border: 0; outline: 0; padding: 12px 20px; font-size: 15px;
  background: transparent; color: var(--ink); min-width: 0;
}
.search-box button { border: 0; }
.hot-words { margin-top: 16px; font-size: 13.5px; opacity: .92; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hot-words a { padding: 4px 13px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 99px; transition: background .2s; }
.hot-words a:hover { background: rgba(255, 255, 255, .16); }

/* ---------- 数据带 ---------- */
.data-strip { position: relative; margin-top: -46px; z-index: 5; }
.data-in {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  display: grid; grid-template-columns: repeat(3, 1fr); padding: 30px 20px;
  border: 1px solid var(--line);
}
.data-cell { text-align: center; position: relative; }
.data-cell + .data-cell::before { content: ""; position: absolute; left: 0; top: 15%; bottom: 15%; width: 1px; background: var(--line); }
.data-num { font-family: var(--serif); font-size: 36px; font-weight: 900; color: var(--brand-deep); }
.data-num small { font-size: 15px; font-weight: 400; color: var(--ink-3); margin-left: 3px; }
.data-label { color: var(--ink-3); font-size: 13.5px; margin-top: 2px; }

/* ---------- 卡片通用 ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #d5d2c6; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* 升学路径卡 */
.path-card { padding: 28px 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 240px; }
.path-no { font-family: var(--serif); font-size: 44px; font-weight: 900; color: var(--paper-2); position: absolute; top: 12px; right: 18px; line-height: 1; }
.path-card h3 { font-size: 19px; margin-bottom: 8px; position: relative; }
.path-card .path-tag { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.path-card p { color: var(--ink-2); font-size: 13.5px; flex: 1; }
.path-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.path-count { font-family: var(--serif); font-weight: 900; font-size: 20px; color: var(--brand-deep); }
.path-count small { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-left: 2px; }

/* 院校卡 */
.sch-card { overflow: hidden; display: flex; flex-direction: column; }
.sch-card .sch-img { height: 150px; overflow: hidden; position: relative; }
.sch-card .sch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sch-card:hover .sch-img img { transform: scale(1.06); }
.sch-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.sch-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.sch-body h3 { font-size: 17.5px; margin-bottom: 6px; }
.sch-body h3 a:hover { color: var(--brand-deep); }
.sch-meta { font-size: 12.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.sch-desc { font-size: 13px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.sch-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-3); }
.sch-foot .go { color: var(--brand-deep); font-weight: 600; }

/* 徽章/标签 */
.badge { display: inline-block; padding: 2.5px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; line-height: 1.6; }
.badge-9 { background: #fef3c7; color: #92400e; }      /* 985 */
.badge-2 { background: #dbeafe; color: #1d4ed8; }      /* 211 */
.badge-s { background: var(--brand-soft); color: var(--brand-deep); } /* 双一流/公办 */
.badge-pub { background: #ecfdf5; color: #047857; }
.badge-pri { background: #fdf2f8; color: #be185d; }
.badge-lv { background: var(--paper-2); color: var(--ink-2); }

/* 专业卡 */
.maj-card { padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.maj-no { font-family: var(--serif); font-size: 22px; font-weight: 900; color: var(--brand); opacity: .45; flex-shrink: 0; width: 34px; }
.maj-card h3 { font-size: 16px; flex: 1; }
.maj-card h3 a:hover { color: var(--brand-deep); }
.maj-cat { font-size: 12px; color: var(--ink-3); }
.maj-num { text-align: right; font-size: 12px; color: var(--ink-3); flex-shrink: 0; }
.maj-num b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); }

/* 流程步骤 */
.step-grid { counter-reset: step; }
.step-card { padding: 26px 24px; text-align: left; position: relative; }
.step-no { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 17px; margin-bottom: 14px; }
.step-card h4 { font-family: var(--serif); font-size: 16.5px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--ink-2); }
.step-arrow { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--brand); font-size: 18px; z-index: 2; }

/* 地区云 */
.region-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.region-cloud a {
  padding: 9px 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: 99px; font-size: 14px; transition: all .2s;
}
.region-cloud a:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); transform: translateY(-2px); }

/* 资讯卡 */
.news-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.news-feature .nf-img { min-height: 240px; }
.news-feature .nf-img img { width: 100%; height: 100%; object-fit: cover; }
.nf-body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.nf-body h3 { font-size: 21px; margin: 10px 0; }
.nf-body h3 a:hover { color: var(--brand-deep); }
.nf-body p { color: var(--ink-2); font-size: 13.5px; }
.news-li { display: flex; gap: 16px; align-items: baseline; padding: 15px 4px; border-bottom: 1px dashed var(--line); transition: background .2s; }
.news-li:hover { background: rgba(13, 148, 136, .04); }
.news-li .nl-date { font-family: var(--serif); color: var(--brand-deep); font-weight: 700; font-size: 13px; flex-shrink: 0; width: 86px; }
.news-li .nl-title { flex: 1; font-size: 14.5px; }
.news-li .nl-title a:hover { color: var(--brand-deep); }
.news-li .nl-cat { font-size: 12px; color: var(--ink-3); flex-shrink: 0; }
.cat-chip { display: inline-block; padding: 2px 9px; background: var(--accent-soft); color: var(--accent); border-radius: 6px; font-size: 11.5px; font-weight: 600; }

/* CTA 横幅 */
.cta-band {
  margin: 72px 0; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(135deg, #0b3f3a, #0d9488); color: #fff;
  padding: 54px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 80% at 85% 30%, rgba(255,255,255,.15), transparent 60%); }
.cta-band h2 { font-size: 28px; margin-bottom: 8px; position: relative; }
.cta-band p { opacity: .85; font-size: 14px; position: relative; }
.cta-act { display: flex; gap: 12px; position: relative; flex-shrink: 0; }

/* ---------- 页头（内页） ---------- */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; display: flex; gap: 7px; flex-wrap: wrap; }
.crumb a:hover { color: var(--brand-deep); }
.crumb span::before { content: "/"; margin-right: 7px; color: var(--line); }
.page-head h1 { font-size: 30px; letter-spacing: 1px; }
.page-head .ph-sub { color: var(--ink-3); margin-top: 8px; font-size: 14px; }

/* ---------- 筛选栏 ---------- */
.filter-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 24px 18px; margin: 26px 0; }
.filter-row { display: flex; gap: 14px; padding: 14px 0 4px; align-items: flex-start; }
.filter-row + .filter-row { border-top: 1px dashed var(--line); }
.filter-label { flex-shrink: 0; font-size: 13px; color: var(--ink-3); padding-top: 6px; width: 62px; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip {
  padding: 5px 15px; border-radius: 99px; font-size: 13px; color: var(--ink-2);
  border: 1px solid transparent; background: transparent; transition: all .18s;
}
.chip:hover { color: var(--brand-deep); background: var(--brand-soft); }
.chip.on { background: var(--brand); color: #fff; font-weight: 600; }
.filter-search { display: flex; gap: 10px; padding: 16px 0 6px; }
.filter-search input {
  flex: 1; border: 1px solid var(--line); border-radius: 99px; padding: 10px 20px;
  outline: 0; font-size: 14px; background: var(--paper); transition: border-color .2s;
}
.filter-search input:focus { border-color: var(--brand); background: #fff; }

.result-bar { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 16px; font-size: 13.5px; color: var(--ink-3); }
.result-bar b { color: var(--brand-deep); font-family: var(--serif); font-size: 17px; }
.sort-opts { display: flex; gap: 6px; }
.sort-opts a { padding: 4px 12px; border-radius: 99px; font-size: 12.5px; }
.sort-opts a.on { background: var(--ink); color: #fff; }
.sort-opts a:not(.on):hover { color: var(--brand-deep); }

/* ---------- 列表项（院校/机构） ---------- */
.sch-li { display: flex; gap: 18px; padding: 20px 22px; align-items: center; }
.sch-li + .sch-li { border-top: 1px solid var(--line); }
.sch-logo { width: 76px; height: 76px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; border: 1px solid var(--line); }
.sch-li-main { flex: 1; min-width: 0; }
.sch-li-main h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sch-li-main h3 a:hover { color: var(--brand-deep); }
.sch-li-meta { font-size: 12.5px; color: var(--ink-3); margin: 5px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.sch-li-desc { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-li-act { flex-shrink: 0; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.list-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.list-card .sch-li:first-child { border-top: 0; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin: 34px 0 10px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 13.5px; border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand-deep); }
.pager .cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.pager .ell { border: 0; background: none; }

/* ---------- 详情页 ---------- */
.dh { background: var(--white); border-bottom: 1px solid var(--line); padding: 36px 0; }
.dh-in { display: flex; gap: 26px; align-items: center; }
.dh-logo { width: 108px; height: 108px; border-radius: var(--r-md); object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; box-shadow: var(--shadow-1); }
.dh-main { flex: 1; min-width: 0; }
.dh-main h1 { font-size: 30px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dh-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-2); font-size: 13.5px; margin-top: 12px; }
.dh-meta b { color: var(--ink); font-weight: 600; }
.dh-act { display: flex; gap: 10px; flex-shrink: 0; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 26px 0 0; }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.stat-card .st-num { font-family: var(--serif); font-size: 26px; font-weight: 900; color: var(--brand-deep); }
.stat-card .st-num small { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.stat-card .st-label { font-size: 12.5px; color: var(--ink-3); }

.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; margin: 30px 0 60px; align-items: start; }
.detail-main > .card { padding: 28px 30px; margin-bottom: 22px; }
.detail-main h2 { font-size: 20px; margin-bottom: 16px; padding-left: 13px; border-left: 4px solid var(--brand); line-height: 1.3; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; margin-bottom: 20px; position: sticky; top: calc(var(--head-h) + 16px); }
.side-card h3 { font-size: 16px; margin-bottom: 14px; }
.side-rel a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.side-rel a:last-child { border: 0; }
.side-rel a:hover { color: var(--brand-deep); }
.side-rel a small { color: var(--ink-3); flex-shrink: 0; }

.info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.info-table th { background: var(--paper); font-weight: 600; color: var(--ink-2); white-space: nowrap; }

.prose { font-size: 14.5px; color: var(--ink-2); }
.prose p { margin-bottom: 14px; }

/* ---------- 排行榜 ---------- */
.rank-li { display: flex; align-items: center; gap: 18px; padding: 17px 22px; }
.rank-li + .rank-li { border-top: 1px solid var(--line); }
.rank-no { font-family: var(--serif); font-size: 24px; font-weight: 900; width: 46px; text-align: center; flex-shrink: 0; color: var(--ink-3); }
.rank-no.r1 { color: #d4a017; } .rank-no.r2 { color: #8a9ba8; } .rank-no.r3 { color: #b0713e; }
.rank-score { text-align: right; flex-shrink: 0; }
.rank-score b { font-family: var(--serif); font-size: 19px; color: var(--accent); }
.rank-score small { display: block; font-size: 11.5px; color: var(--ink-3); }

/* ---------- 对比 ---------- */
.cmp-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 13.5px; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 13px 16px; text-align: center; }
.cmp-table thead th { background: var(--paper); font-family: var(--serif); font-size: 15px; }
.cmp-table tbody th { background: var(--paper); text-align: left; white-space: nowrap; color: var(--ink-2); font-weight: 600; }
.cmp-table .win { color: var(--brand-deep); font-weight: 700; }
.cmp-add { border: 2px dashed var(--line); border-radius: var(--r-md); padding: 40px 20px; text-align: center; color: var(--ink-3); background: var(--white); }
.cmp-bar {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90;
  background: var(--ink); color: #fff; border-radius: 99px; padding: 9px 10px 9px 22px;
  display: none; align-items: center; gap: 14px; box-shadow: var(--shadow-2); font-size: 13.5px;
}
.cmp-bar.show { display: flex; }
.cmp-bar .cmp-items { display: flex; gap: 6px; }
.cmp-bar .cmp-it { background: rgba(255,255,255,.14); padding: 4px 12px; border-radius: 99px; display: flex; gap: 7px; align-items: center; }
.cmp-bar .cmp-it b { cursor: pointer; opacity: .6; } .cmp-bar .cmp-it b:hover { opacity: 1; }

/* ---------- 表单 ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field label i { color: var(--accent); font-style: normal; margin-right: 2px; }
.field input[type=text], .field input[type=tel], .field input[type=password], .field input[type=email], .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 15px;
  outline: 0; font-size: 14px; background: var(--paper); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(13, 148, 136, .12); }
.field .err { display: none; color: #dc2626; font-size: 12px; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .err { display: block; }
.field .tip { color: var(--ink-3); font-size: 12px; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 14px; }
.form-note a { color: var(--brand-deep); }
.form-ok { text-align: center; padding: 50px 20px; display: none; }
.form-ok .ok-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: 30px; display: grid; place-items: center; margin: 0 auto 16px; }

/* 认证页 */
.auth-wrap { max-width: 430px; margin: 56px auto 80px; }
.auth-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 36px; box-shadow: var(--shadow-1); }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--ink-3); font-size: 13px; margin-bottom: 26px; }
.auth-alt { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 20px; }
.auth-alt a { color: var(--brand-deep); font-weight: 600; }

/* ---------- 用户中心 ---------- */
.uc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; margin: 30px 0 70px; align-items: start; }
.uc-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; position: sticky; top: calc(var(--head-h) + 16px); }
.uc-user { padding: 24px 20px; text-align: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--brand-soft), #fff); }
.uc-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; font-weight: 900; }
.uc-menu a { display: flex; gap: 10px; align-items: center; padding: 13px 20px; font-size: 14px; color: var(--ink-2); border-left: 3px solid transparent; }
.uc-menu a:hover { background: var(--paper); }
.uc-menu a.on { color: var(--brand-deep); background: var(--brand-soft); border-left-color: var(--brand); font-weight: 600; }
.uc-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px 30px; }

/* ---------- 文章正文 ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; }
.art-head { text-align: center; padding: 44px 0 30px; }
.art-head h1 { font-size: 30px; line-height: 1.5; margin: 12px 0 14px; }
.art-meta { color: var(--ink-3); font-size: 13px; display: flex; justify-content: center; gap: 18px; }
.art-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 52px; font-size: 15.5px; }
.art-body h2 { font-size: 21px; margin: 34px 0 14px; padding-left: 13px; border-left: 4px solid var(--brand); }
.art-body h3 { font-size: 17px; margin: 26px 0 10px; }
.art-body p { margin-bottom: 16px; color: var(--ink-2); }
.art-body ul, .art-body ol { margin: 0 0 16px 22px; color: var(--ink-2); }
.art-body ul li { list-style: disc; margin-bottom: 7px; }
.art-body ol li { list-style: decimal; margin-bottom: 7px; }
.art-body blockquote { border-left: 3px solid var(--gold); background: #fdf9ef; padding: 14px 18px; margin: 0 0 16px; color: var(--ink-2); font-size: 14px; border-radius: 0 8px 8px 0; }
.art-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 13.5px; }
.art-body th, .art-body td { border: 1px solid var(--line); padding: 9px 13px; }
.art-body th { background: var(--paper); }

/* ---------- 静态页 ---------- */
.static-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 46px; margin: 30px 0 70px; }
.static-body h2 { font-size: 19px; margin: 26px 0 12px; padding-left: 12px; border-left: 4px solid var(--brand); }
.static-body h2:first-child { margin-top: 0; }
.static-body p { color: var(--ink-2); margin-bottom: 12px; font-size: 14px; }
.static-body ul { margin: 0 0 14px 20px; color: var(--ink-2); font-size: 14px; }
.static-body ul li { list-style: disc; margin-bottom: 6px; }

/* ---------- 错误页 ---------- */
.err-page { text-align: center; padding: 110px 0 130px; }
.err-code { font-family: var(--serif); font-size: 110px; font-weight: 900; color: var(--brand); line-height: 1; letter-spacing: 6px; }
.err-page h1 { font-size: 24px; margin: 18px 0 10px; }
.err-page p { color: var(--ink-3); margin-bottom: 30px; }

/* ---------- 页脚 ---------- */
.site-foot { background: #10201e; color: #b9c6c3; margin-top: 80px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: 52px 0 36px; }
.foot-brand .logo-name { color: #fff; }
.foot-brand p { font-size: 12.5px; color: #8ba39f; margin-top: 12px; max-width: 30em; }
.foot-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; font-family: var(--serif); }
.foot-col a { display: block; font-size: 13px; padding: 4.5px 0; color: #9fb3af; }
.foot-col a:hover { color: #5eead4; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 12px; color: #6f857f; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- 动效 ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .step-arrow { display: none; }
}
@media (max-width: 768px) {
  .main-nav, .head-act .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 60px 0 76px; }
  .hero h1 { font-size: 34px; }
  .sec { padding: 52px 0 4px; }
  .sec-title { font-size: 24px; }
  .grid-5, .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .data-in { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .data-cell + .data-cell::before { display: none; }
  .data-num { font-size: 30px; }
  .news-feature { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .sch-li { flex-wrap: wrap; }
  .sch-li-act { flex-direction: row; width: 100%; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .dh-in { flex-wrap: wrap; }
  .dh-act { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .art-body { padding: 26px 22px; }
  .static-body { padding: 26px 22px; }
  .uc-layout { grid-template-columns: 1fr; }
  .uc-side { position: static; }
  .foot-in { grid-template-columns: 1fr; gap: 26px; }
  .cmp-table { display: block; overflow-x: auto; white-space: nowrap; }
  .page-head h1 { font-size: 24px; }
  .filter-row { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .grid-5, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  .search-box { flex-direction: column; border-radius: var(--r-md); gap: 6px; }
  .search-box button { border-radius: 10px !important; }
}

/* ── P2: 热门搜索词窄屏折行修正 ── */
.hot-words { width: 100%; }
.hot-words a { white-space: nowrap; }
@media (max-width: 720px) {
  .hot-words { gap: 6px; }
  .hot-words span { flex-basis: 100%; }
}
