:root {
  --blue-900: #0b2545;
  --blue-800: #13315c;
  --blue-700: #134074;
  --blue-600: #1b4f9c;
  --blue-500: #2a6fb0;
  --blue-100: #e8f1fb;
  --red-600: #c1272d;
  --red-500: #e23b3b;
  --gold-500: #e0a82e;
  --ink: #1c2530;
  --ink-2: #475569;
  --ink-3: #7b8794;
  --line: #e4e9f0;
  --bg: #f5f7fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(11, 37, 69, 0.08);
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
}
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--blue-900); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.topbar-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 0 18px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-logo { background: var(--red-600); color: #fff; font-weight: 800; padding: 4px 10px; border-radius: 8px; letter-spacing: .5px; }
.brand-text { font-size: 16px; }
.nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: #d6e2f3; padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.08); text-decoration: none; color: #fff; }
.nav a.active { background: var(--blue-600); color: #fff; }
/* 账号区（替代原身份切换） */
.account-area { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.acc { display: flex; align-items: center; gap: 8px; position: relative; }
.acc-tier { color: #cfe0f4; font-size: 13px; background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: 999px; }
.acc-btn { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.acc-btn:hover { background: rgba(255,255,255,.22); }
.acc-menu { position: absolute; top: 110%; right: 0; min-width: 150px; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.18); padding: 6px; z-index: 60; }
.acc-menu-head { padding: 8px 10px; font-size: 12px; color: var(--ink-3); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.acc-item { display: block; width: 100%; text-align: left; background: none; border: none; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ink); cursor: pointer; }
.acc-item:hover { background: var(--hover); text-decoration: none; color: var(--blue-700); }
.nav-account { display: none; } /* 仅移动端抽屉内显示 */
/* 登录 / 注册弹窗 */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal-card { position: relative; width: 100%; max-width: 380px; background: var(--card); border-radius: 16px; padding: 26px 24px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--ink-3); cursor: pointer; }
.modal-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.modal-tab { flex: 1; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.modal-tab.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.modal-form .form-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.modal-form label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 5px; }
.modal-form input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-family: inherit; }
.modal-form input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-error { background: #fdecec; color: #b42318; font-size: 13px; padding: 9px 11px; border-radius: 9px; margin-bottom: 12px; }
.modal-hint { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px; }
/* 支付结果页 */
.result-card { max-width: 480px; margin: 40px auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 36px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.result-ok .result-icon { background: #16a34a; }
.result-err .result-icon { background: #dc2626; }
.result-card h2 { margin: 0 0 12px; font-size: 22px; }
.result-card code { background: var(--hover); padding: 2px 7px; border-radius: 6px; font-size: 13px; }
.result-note { color: var(--ink-3); font-size: 13px; margin: 14px 0 22px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* 移动端汉堡按钮（≤900px 显示） */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; min-width: 42px; padding: 10px; margin-left: auto; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2.5px; width: 100%; background: #fff; border-radius: 2px; transition: .2s; }
.nav-toggle:hover { background: rgba(255,255,255,.18); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Layout */
.app { max-width: var(--maxw); margin: 0 auto; padding: 22px 18px 60px; min-height: 60vh; }
.loading { text-align: center; color: var(--ink-3); padding: 60px 0; }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 600; cursor: pointer; transition: .15s; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); }
.btn-red { background: var(--red-600); color: #fff; }
.btn-red:hover { background: #a51f24; }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-gold { background: var(--gold-500); color: #3a2c00; }
.btn-gold:hover { background: #caa024; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; border-radius: 18px; padding: 46px 38px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(226,59,59,.35), transparent 70%); }
.hero h1 { font-size: 30px; margin: 0 0 12px; line-height: 1.35; }
.hero p { font-size: 16px; color: #d6e2f3; max-width: 720px; margin: 0 0 22px; }
.hero-search { display: flex; gap: 10px; max-width: 620px; flex-wrap: wrap; }
.hero-search input { flex: 1; min-width: 220px; padding: 12px 14px; border-radius: 10px; border: none; font-size: 15px; }
.hero-stats { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 26px; display: block; }
.hero-stats .stat span { color: #cfe0f4; font-size: 13px; }

/* Section */
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 21px; margin: 0; }
.section-head .sub { color: var(--ink-3); font-size: 14px; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* School cards */
.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.school-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; box-shadow: var(--shadow-sm); transition: .15s; position: relative; }
.school-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cdddf2; }
.school-card .sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.school-card h3 { margin: 0; font-size: 17px; }
.school-card .dept { color: var(--ink-3); font-size: 13px; margin: 2px 0 10px; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); margin: 0 5px 5px 0; }
.tag.gold { background: #fdf2dc; color: #9a6b00; }
.tag.red { background: #fbe7e7; color: var(--red-600); }
.tag.gray { background: #eef1f5; color: var(--ink-2); }
.sc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 10px 0; font-size: 13px; color: var(--ink-2); }
.sc-meta b { color: var(--ink); }
.sc-actions { display: flex; gap: 8px; margin-top: 10px; }
.cmp-check { position: absolute; top: 12px; right: 12px; }

/* Filters */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.filters { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow-y: auto; box-shadow: var(--shadow-sm); }
.filters h4 { margin: 16px 0 8px; font-size: 14px; color: var(--ink); }
.filters h4:first-child { margin-top: 0; }
.filters label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.filters select, .filters input[type=text], .filters input[type=number] { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
.filters .range { display: flex; align-items: center; gap: 6px; }
.filters .range input { width: 100%; }
.filters .chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* 查询按钮：顶部快捷（始终可见，无需滚动） + 底部一组 */
.filter-actions { display: flex; gap: 8px; margin-top: 14px; }
.filter-actions-top { margin-top: 0; margin-bottom: 4px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-2); }
.chip.active { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { background: none; border: none; padding: 10px 16px; font-size: 15px; cursor: pointer; color: var(--ink-2); border-bottom: 3px solid transparent; font-family: inherit; }
.tabs button.active { color: var(--blue-700); border-bottom-color: var(--blue-700); font-weight: 600; }

/* Detail */
.detail-head { background: linear-gradient(135deg, var(--blue-800), var(--blue-600)); color: #fff; border-radius: 16px; padding: 26px 28px; }
.detail-head h1 { margin: 0 0 6px; font-size: 26px; }
.detail-head .dh-meta { color: #d6e2f3; font-size: 14px; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.panel h3 { margin: 0 0 14px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; font-size: 14px; }
.kv .k { color: var(--ink-3); }
.kv .v { color: var(--ink); }

.subject { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.subject .st { display: flex; justify-content: space-between; font-weight: 600; }
.subject .ss { color: var(--ink-3); font-size: 13px; }
.scoring { background: #f8fafc; border-left: 4px solid var(--blue-500); padding: 12px 14px; border-radius: 8px; white-space: pre-wrap; font-size: 14px; color: var(--ink-2); }

.paper { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.paper .pt { font-weight: 700; margin-bottom: 8px; color: var(--blue-700); }
.q { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.q:last-child { border-bottom: none; }
.q .qt { font-size: 12px; color: var(--red-600); font-weight: 700; margin-right: 6px; }
.q .qp { margin: 6px 0 0 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; }
.q .qp li { margin: 2px 0; }

.locked { text-align: center; padding: 30px 20px; background: #fbfcfe; border: 1px dashed var(--line); border-radius: 12px; color: var(--ink-3); }
.locked .lk { font-size: 30px; }

/* Compare table */
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; font-size: 14px; vertical-align: top; }
.cmp-table th { background: var(--blue-100); color: var(--blue-900); font-weight: 700; }
.cmp-table td.rowlabel { background: #f8fafc; color: var(--ink-3); font-weight: 600; white-space: nowrap; }

/* Recommend */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row .full { grid-column: 1 / -1; }
.form-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-card input, .form-card select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-family: inherit; }
.form-card .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.rec-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); margin-bottom: 14px; display: grid; grid-template-columns: 64px 1fr; gap: 16px; }
.rec-rank { font-size: 30px; font-weight: 800; color: var(--blue-600); text-align: center; }
.rec-grade { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); margin-left: 8px; }
.rec-grade.strive { background: #fbe7e7; color: var(--red-600); }
.rec-grade.safe { background: #e6f6ec; color: #1d7a43; }
.rec-grade.back { background: #eef1f5; color: var(--ink-2); }
.rec-reasons { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 13px; }
.rec-reasons li { margin: 2px 0; }
.fit-bar { height: 8px; background: #eef1f5; border-radius: 999px; margin-top: 10px; overflow: hidden; }
.fit-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); }

/* Membership */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--gold-500); box-shadow: 0 10px 30px rgba(224,168,46,.22); }
.price-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold-500); color: #3a2c00; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price-card h3 { margin: 0 0 4px; font-size: 19px; }
.price-card .price { font-size: 32px; font-weight: 800; color: var(--blue-800); margin: 10px 0 2px; }
.price-card .price small { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0; flex: 1; }
.price-card li { padding: 7px 0 7px 24px; position: relative; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #1d7a43; font-weight: 700; }
.consult-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.consult-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.consult-card h4 { margin: 0 0 6px; }
.consult-card .cp { color: var(--red-600); font-weight: 700; font-size: 18px; }

/* Footer */
.footer { background: var(--blue-900); color: #cfe0f4; margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer strong { color: #fff; }
.footer p { font-size: 13px; max-width: 520px; margin: 6px 0 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: #cfe0f4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 14px 18px; text-align: center; font-size: 13px; }
.footer-bottom a { color: #cfe0f4; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* Compare bar */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.08); padding: 10px 18px; display: flex; align-items: center; gap: 14px; z-index: 60; flex-wrap: wrap; }
.compare-count { font-weight: 700; color: var(--blue-700); }
.compare-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.compare-chips .cc { background: var(--blue-100); color: var(--blue-700); padding: 4px 10px; border-radius: 999px; font-size: 13px; }

/* Toast */
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); background: var(--blue-900); color: #fff; padding: 12px 22px; border-radius: 10px; box-shadow: var(--shadow); z-index: 100; font-size: 14px; }
.toast.err { background: var(--red-600); }

/* 校徽 */
.sch-badge { display: inline-flex; align-items: center; justify-content: center; color: var(--blue-700); flex-shrink: 0; font-size: 34px; line-height: 1; }
.badge-fb { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-weight: 800; letter-spacing: .5px; border: 1px solid #d3e2f5; flex-shrink: 0; }
.school-card .sc-head { display: flex; gap: 12px; align-items: center; }
.detail-badge { font-size: 54px; color: #fff; }

/* 分数线趋势图 */
.trend-box { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.trend-chart { flex: 1; min-width: 260px; max-width: 380px; }
.trend-chart .tc-axis { stroke: var(--line); stroke-width: 1; }
.trend-chart .tc-line { stroke: var(--blue-600); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trend-chart .tc-dot { fill: var(--blue-700); stroke: #fff; stroke-width: 2; }
.trend-chart .tc-val { font-size: 12px; font-weight: 700; fill: var(--blue-800); }
.trend-chart .tc-year { font-size: 11px; fill: var(--ink-3); }
.trend-chart .tc-na { font-size: 10px; fill: var(--ink-3); }
.trend-legend { flex: 1; min-width: 220px; font-size: 14px; color: var(--ink-2); }
.trend-legend .tl-item { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.trend-legend .tl-item b { color: var(--ink); }
.score-line { font-weight: 700; color: var(--ink); display: inline-flex; align-items: baseline; gap: 4px; }
.score-line .sc-total { font-size: 17px; color: var(--blue-800); }
.score-line .sc-single { color: var(--ink-3); font-size: 12px; font-weight: 500; }
.score-line .yr { display: inline-block; background: var(--blue-100); color: var(--blue-700); font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; }

/* 复试环节卡片 */
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mod-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fbfcfe; }
.mod-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mod-head b { font-size: 15px; color: var(--blue-800); }
.mod-score { background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.mod-tags { margin-top: 8px; }
.mod-desc { margin-top: 8px; color: var(--ink-2); font-size: 13px; white-space: pre-wrap; }
.mat-list { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 14px; }
.mat-list li { margin: 4px 0; }

/* 核心复试信息（文档提取，5 大字段） */
.core-panel { border-color: var(--blue-300, #bcd0f7); background: linear-gradient(180deg, #f5f9ff 0%, var(--card) 60%); }
.core-info { display: flex; flex-direction: column; gap: 0; margin-top: 6px; }
.core-row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 12px 2px; border-bottom: 1px dashed var(--line); }
.core-row:last-child { border-bottom: none; }
.core-label { font-weight: 700; color: var(--blue-800, #1e40af); font-size: 14px; padding-top: 12px; position: relative; }
.core-label::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500, #3b82f6); margin-right: 8px; vertical-align: middle; }
.core-val { font-size: 14px; color: var(--ink-2); }
.core-val .scoring { margin: 0; }
.core-text { font-size: 13px; line-height: 1.6; }
.yr-table { overflow-x: auto; margin-bottom: 4px; }
.yr-table table { border-collapse: collapse; width: 100%; font-size: 13px; }
.yr-table th, .yr-table td { border: 1px solid var(--line); padding: 6px 10px; text-align: center; }
.yr-table th { background: #eef4ff; color: var(--blue-800, #1e40af); font-weight: 700; }
.yr-table td b { color: var(--blue-700, #1d4ed8); font-size: 15px; }
.muted { color: var(--ink-3); font-size: 13px; }

/* 河北省 2025 复试「最新信息结构」面板 */
.latest-panel { border-color: var(--gold-500, #e0a82e); background: linear-gradient(180deg, #fffdf6 0%, var(--card) 55%); }
.lb-method { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 14px; color: var(--ink-2); }
.lb-method b { color: var(--blue-800, #1e40af); font-weight: 700; }
.lb-table-wrap { overflow-x: auto; }
.reexam-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.reexam-table th, .reexam-table td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.reexam-table th { background: var(--blue-100, #e8f1fb); color: var(--blue-900, #0b2545); font-weight: 700; white-space: nowrap; }
.reexam-table td.num { text-align: center; white-space: nowrap; color: var(--ink); font-weight: 600; }
.reexam-table .politics-row { background: #fff7e8; }
.reexam-table .politics-row td { color: var(--ink); }
.lb-total { margin: 12px 0 4px; font-size: 14px; color: var(--ink-2); }
.lb-total b { color: var(--blue-800, #1e40af); font-size: 16px; }
.lb-block { margin-top: 16px; }
.lb-block h4 { margin: 0 0 8px; font-size: 14px; color: var(--blue-800, #1e40af); display: flex; align-items: center; gap: 6px; }

@media (max-width: 600px) {
  .core-row { grid-template-columns: 1fr; gap: 4px; }
  .core-label { padding-top: 0; }
}

/* Responsive — 平板及以下（≤900px） */
@media (max-width: 900px) {
  .feature-grid, .school-grid, .price-grid, .consult-grid { grid-template-columns: 1fr 1fr; }
  .mod-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; overflow-y: visible; }
  .detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .topbar-inner { gap: 10px; }
}
/* Responsive — 手机（≤600px） */
@media (max-width: 600px) {
  .feature-grid, .school-grid, .price-grid, .consult-grid { grid-template-columns: 1fr; }
  /* 移动端导航：横向 nav 收进下拉菜单 */
  .topbar { position: sticky; }
  .topbar-inner { flex-wrap: nowrap; padding: 8px 12px; height: auto; gap: 8px; }
  .brand-text { display: none; }
  .brand-logo { padding: 3px 8px; font-size: 14px; }
  /* 手机上隐藏顶层账号区（移到抽屉里） */
  .account-area { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  /* 抽屉式移动导航 */
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 300px);
    margin: 0; padding: 64px 14px 20px; flex-direction: column; gap: 6px;
    background: var(--blue-900); box-shadow: -6px 0 24px rgba(0,0,0,.25);
    transform: translateX(100%); transition: transform .22s ease; z-index: 90;
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a { display: block; padding: 13px 14px; font-size: 15px; border-radius: 10px; color: #d6e2f3; }
  .nav a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
  .nav a.active { background: var(--blue-600); color: #fff; }
  /* 移动端抽屉内的账号区 */
  .nav .nav-account { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
  .nav .nav-account .btn { width: 100%; }
  .nav .nav-account .acc { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav .nav-account .acc-tier { align-self: flex-start; }
  .nav .nav-account .acc-btn { width: 100%; text-align: center; }
  .nav .nav-account .acc-menu { position: static; box-shadow: none; background: rgba(255,255,255,.06); color: #fff; margin-top: 4px; }
  .nav .nav-account .acc-menu-head { color: #cfe0f4; border-color: rgba(255,255,255,.15); }
  .nav .nav-account .acc-item { color: #fff; }
  .nav .nav-account .acc-item:hover { background: rgba(255,255,255,.12); color: #fff; }
  /* 主内容与间距 */
  .app { padding: 14px 12px 70px; }
  .hero { padding: 24px 18px; border-radius: 14px; }
  .hero h1 { font-size: 21px; }
  .hero p { font-size: 14px; margin-bottom: 16px; }
  .hero-search input { min-width: 0; flex: 1 1 100%; font-size: 15px; padding: 12px 12px; }
  .hero-search .btn { flex: 1 1 100%; }
  .hero-stats { gap: 16px; margin-top: 20px; }
  .hero-stats .stat b { font-size: 21px; }
  .section { margin-top: 28px; }
  .section-head h2 { font-size: 18px; }
  .section-head .sub { font-size: 12px; }
  /* 卡片 */
  .school-card { padding: 14px; }
  .school-card h3 { font-size: 16px; }
  .detail-head { padding: 18px 16px; border-radius: 14px; }
  .detail-head h1 { font-size: 21px; }
  .panel { padding: 15px; }
  .kv { grid-template-columns: 88px 1fr; font-size: 13px; }
  .rec-card { grid-template-columns: 36px 1fr; gap: 10px; padding: 14px; }
  .rec-rank { font-size: 24px; }
  .form-card { padding: 16px; }
  /* 触控目标 */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .tabs button { padding: 9px 10px; font-size: 14px; flex: 1; min-width: 0; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  /* 表格横向滚动 */
  .cmp-table-wrap, .lb-table-wrap, .yr-table, .sc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .reexam-table, .cmp-table { min-width: 560px; }
  /* 复试要点：长文本/表格在手机上更紧凑 */
  .lb-method { font-size: 13px; padding: 9px 12px; }
  .reexam-table { font-size: 12.5px; }
  .reexam-table th, .reexam-table td { padding: 8px 9px; }
  .lb-block h4 { font-size: 13px; }
  /* 筛选栏（择校库） */
  .filters { padding: 14px; }
  .filter-actions { flex-wrap: wrap; }
  .filter-actions .btn { flex: 1 1 auto; }
  /* 底部对比栏 */
  .compare-bar { padding: 8px 12px; gap: 10px; }
  .compare-bar .btn { min-height: 40px; }
  /* 奖学金/其他细节 */
  .footer-inner { padding: 24px 14px; flex-direction: column; gap: 14px; }
  .footer-links { gap: 12px; }
  /* 趋势图在手机上自适应 */
  .trend-box { gap: 12px; }
  .trend-chart { min-width: 0; max-width: none; width: 100%; }
  .trend-legend { min-width: 0; }
  /* 复试要点表格滚动提示 */
  .lb-table-wrap { -webkit-overflow-scrolling: touch; }
  /* 智能推荐表单按钮 */
  .form-card .btn-block { min-height: 46px; }
  /* 详情页 tabs 与内容间距 */
  .detail-head .dh-meta { font-size: 13px; }
  /* 对比页滚动容器加边框提示可横向滑动 */
  .cmp-table-wrap { border: 1px solid var(--line); border-radius: 10px; }
}
