/* ===== 2026 五年制专转本择校助手 · 样式 ===== */
:root {
  --bg: #eef1f7;
  --card: #ffffff;
  --text: #131a2b;
  --text-2: #5a6a85;
  --text-3: #9aa8bd;
  --primary: #2563eb;
  --primary-2: #4f83f7;
  --primary-soft: #e9f0ff;
  --accent: #f59e0b;
  --accent-soft: #fff5e6;
  --green: #0ea968;
  --green-soft: #e6f7ef;
  --border: #e7ecf4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 2px 14px rgba(23, 55, 130, .07);
  --shadow-lg: 0 10px 40px rgba(23, 55, 130, .16);
  --tab-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 760px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: var(--bg);
  padding-bottom: calc(var(--tab-h) + 12px);
  box-shadow: 0 0 60px rgba(30, 55, 120, .06);
}

.hidden { display: none !important; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: linear-gradient(135deg, #1e5ae0 0%, #3b82f6 55%, #5b9bff 100%);
  color: #fff;
  padding: 18px 18px 30px;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 6px 22px rgba(30, 90, 224, .22);
}
.topbar.compact { padding: 14px 18px; }
.topbar h1 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: .3px; }
.topbar .sub { margin-top: 4px; font-size: 12.5px; opacity: .88; }
.topbar .badge {
  display: inline-block; margin-left: 8px; padding: 1px 8px;
  font-size: 11px; background: rgba(255, 255, 255, .22);
  border-radius: 20px; vertical-align: middle;
}

/* ---------- 通用 ---------- */
.view { padding: 16px 14px 8px; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 20px 4px 10px; font-size: 15px; font-weight: 700;
}
.section-title .more { font-size: 12.5px; color: var(--primary); font-weight: 500; cursor: pointer; }

.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px;
}

/* ---------- 概览统计 ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: -22px; position: relative; z-index: 31;
}
.stat {
  background: var(--card); border-radius: 14px; padding: 12px 4px;
  text-align: center; box-shadow: var(--shadow);
}
.stat .num { font-size: 20px; font-weight: 800; color: var(--primary); line-height: 1.15; }
.stat .num small { font-size: 11px; font-weight: 600; margin-left: 1px; }
.stat .lbl { font-size: 11.5px; color: var(--text-2); margin-top: 3px; }

.hero-note {
  margin-top: 14px; background: var(--primary-soft); color: #1e4fd0;
  border-radius: var(--radius); padding: 12px 14px; font-size: 12.5px; line-height: 1.6;
}

/* ---------- 快捷入口 ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick {
  background: var(--card); border-radius: 14px; padding: 14px 4px;
  text-align: center; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .15s, box-shadow .15s; border: 1px solid transparent;
}
.quick:active { transform: scale(.96); }
.quick:hover { box-shadow: 0 6px 20px rgba(23, 55, 130, .12); border-color: var(--primary-soft); }
.quick .ico { font-size: 22px; }
.quick .t { font-size: 12px; color: var(--text-2); margin-top: 6px; }

/* ---------- 搜索框 ---------- */
.searchbar {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 9px 14px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.searchbar input {
  flex: 1; border: 0; outline: 0; font-size: 14.5px; background: transparent; color: var(--text);
  font-family: inherit;
}
.searchbar input::placeholder { color: var(--text-3); }
.searchbar .ico { font-size: 16px; opacity: .55; }
.searchbar button {
  border: 0; background: var(--primary); color: #fff; font-size: 13px;
  padding: 5px 14px; border-radius: 999px; cursor: pointer; font-family: inherit;
}

/* ---------- 匹配结果：按院校分组 ---------- */
.mg-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  margin-bottom: 14px; overflow: hidden;
}
.mg-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f6f9ff, #fff);
}
.mg-name { font-size: 16px; font-weight: 700; color: var(--text-1); }
.mg-meta { margin-top: 4px; font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.mg-meta .code {
  background: var(--primary-soft, #eef3ff); color: var(--primary);
  padding: 1px 7px; border-radius: 6px; font-weight: 600; font-size: 11.5px;
}
.mg-meta .sep { color: var(--border); }
.mg-count {
  flex: none; min-width: 52px; text-align: center;
  background: #eef3ff; border-radius: 12px; padding: 7px 10px;
}
.mg-count b { display: block; font-size: 19px; color: var(--primary); line-height: 1.1; }
.mg-count span { font-size: 11px; color: var(--text-2); }
.mg-list { padding: 2px 16px 6px; }
.mg-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid #f0f2f6; cursor: pointer;
}
.mg-row:last-child { border-bottom: 0; }
.mg-row:active { background: #fafbfd; }
.mg-major { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--text-1); }
.mg-nums { display: flex; gap: 14px; flex: none; }
.mg-nums i {
  font-style: normal; font-size: 11px; color: var(--text-2);
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.35;
}
.mg-nums b { font-size: 14.5px; color: var(--text-1); font-weight: 700; }
.star-btn.mini {
  flex: none; width: 28px; height: 28px; font-size: 15px;
  background: none; border: 0; cursor: pointer; color: #c3c9d4; padding: 0;
}
.star-btn.mini.on { color: #f5a623; }

/* ---------- 搜索补全下拉 ---------- */
.search-wrap { position: relative; z-index: 20; }
.suggest {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 12px 34px rgba(23, 55, 130, .18); overflow: hidden; z-index: 50;
  animation: fade .15s ease;
}
.suggest-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; border: 0; background: transparent; cursor: pointer;
  padding: 11px 14px; font-size: 14px; color: var(--text);
  font-family: inherit; text-align: left; gap: 10px;
}
.suggest-item + .suggest-item { border-top: 1px solid var(--bg); }
.suggest-item:hover { background: var(--primary-soft); }
.suggest-item .s-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.suggest-item .s-kind {
  flex: 0 0 auto; font-size: 11px; padding: 2px 8px; border-radius: 6px;
  background: var(--bg); color: var(--text-3); font-weight: 600;
}
.suggest-item[data-kind="cat"] .s-kind { background: var(--primary-soft); color: #1e4fd0; }
.suggest-item[data-kind="college"] .s-kind { background: var(--green-soft); color: #087a4b; }

/* ---------- 筛选 ---------- */
.filters { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.chip-select {
  appearance: none; border: 1px solid var(--border); background: #fff;
  border-radius: 999px; padding: 7px 30px 7px 13px; font-size: 13px; color: var(--text-2);
  font-family: inherit; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' stroke='%239aa8bd' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.chip-select:focus { outline: 2px solid var(--primary-soft); }

.result-count { font-size: 12.5px; color: var(--text-2); margin: 4px 4px 10px; }
.result-count b { color: var(--primary); font-size: 14px; }

/* ---------- 计划卡片 ---------- */
.plan-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px; margin-bottom: 10px;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
  border: 1px solid transparent; position: relative;
}
.plan-card:active { transform: scale(.99); }
.plan-card:hover { box-shadow: 0 8px 22px rgba(23, 55, 130, .12); border-color: var(--primary-soft); }
.plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.plan-major { font-size: 16px; font-weight: 700; color: var(--text); }
.plan-college { font-size: 12.5px; color: var(--text-2); margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.plan-college .code {
  font-size: 11px; background: var(--bg); color: var(--text-3);
  padding: 1px 6px; border-radius: 5px;
}
.plan-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag {
  font-size: 11.5px; padding: 3px 9px; border-radius: 7px;
  background: var(--primary-soft); color: #1e4fd0; font-weight: 600;
}
.tag.tuition { background: var(--accent-soft); color: #b26a00; }
.tag.remark { background: var(--green-soft); color: #087a4b; font-weight: 500; }
.tag.plain { background: var(--bg); color: var(--text-2); font-weight: 500; }

.star-btn {
  border: 0; background: transparent; font-size: 18px; cursor: pointer;
  line-height: 1; padding: 2px 4px; color: #cbd5e1; transition: transform .15s;
}
.star-btn.on { color: var(--accent); }
.star-btn:active { transform: scale(1.25); }

/* ---------- 院校卡片 ---------- */
.college-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 15px; margin-bottom: 10px; cursor: pointer;
  transition: transform .15s, box-shadow .15s; border: 1px solid transparent;
}
.college-card:active { transform: scale(.99); }
.college-card:hover { border-color: var(--primary-soft); box-shadow: 0 8px 22px rgba(23, 55, 130, .12); }
.college-top { display: flex; align-items: center; gap: 12px; }
.college-logo {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
  background: linear-gradient(135deg, #3b82f6, #1e5ae0); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
}
.college-name { font-size: 15.5px; font-weight: 700; }
.college-meta { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.college-nums { display: flex; gap: 16px; margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--border); }
.college-nums .k { font-size: 15px; font-weight: 800; color: var(--primary); }
.college-nums .k.t { color: var(--accent); }
.college-nums .l { font-size: 11px; color: var(--text-3); margin-top: 1px; }

/* ---------- 匹配页 ---------- */
.match-hero {
  background: linear-gradient(135deg, #1e5ae0, #4f83f7); color: #fff;
  border-radius: var(--radius); padding: 18px; box-shadow: 0 8px 22px rgba(30, 90, 224, .22);
}
.match-hero h2 { margin: 0 0 6px; font-size: 17px; }
.match-hero p { margin: 0; font-size: 12.5px; opacity: .9; line-height: 1.6; }
.match-input { display: flex; gap: 8px; margin-top: 14px; }
.match-input input {
  flex: 1; border: 0; border-radius: 999px; padding: 11px 16px; font-size: 14.5px;
  font-family: inherit; outline: 0; color: var(--text);
}
.match-input button {
  border: 0; background: #0f2f7a; color: #fff; border-radius: 999px;
  padding: 0 20px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.tags-wrap { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tag-pick {
  font-size: 12.5px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  background: #fff; border: 1px solid var(--border); color: var(--text-2);
  font-family: inherit; transition: all .15s;
}
.tag-pick:hover { border-color: var(--primary); color: var(--primary); }
.tag-pick.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.tag-pick small { opacity: .7; margin-left: 3px; }

.req-text {
  font-size: 12px; color: var(--text-2); line-height: 1.7; margin-top: 8px;
  max-height: 76px; overflow: hidden; position: relative;
}
.req-text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 26px;
  background: linear-gradient(transparent, #fff);
}

/* 详情弹层 · 报考要求标签 */
.req-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.req-chip {
  font-size: 12px; padding: 5px 10px; border-radius: 8px;
  background: var(--primary-soft); color: #1e4fd0; border: 0;
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.req-chip:hover { background: var(--primary); color: #fff; }
.req-chip:active { transform: scale(.94); }
.req-tip { font-size: 11.5px; color: var(--text-3); margin-top: 8px; }
.req-unlimited {
  background: var(--green-soft); color: #087a4b;
  padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
}

/* ---------- 我的 ---------- */
.mine-empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.mine-empty .ico { font-size: 44px; opacity: .5; }
.mine-empty p { margin: 12px 0 0; font-size: 13.5px; }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 760px; height: var(--tab-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); display: flex; z-index: 40;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--text-3); font-size: 11px; font-family: inherit;
  transition: color .15s; padding: 0;
}
.tab .tab-ico { font-size: 20px; font-style: normal; filter: grayscale(1); opacity: .6; transition: all .18s; }
.tab.active { color: var(--primary); font-weight: 700; }
.tab.active .tab-ico { filter: none; opacity: 1; transform: translateY(-1px) scale(1.08); }

/* ---------- 详情弹层 ---------- */
.sheet-mask {
  position: fixed; inset: 0; background: rgba(19, 26, 43, .42);
  z-index: 60; display: flex; align-items: flex-end; justify-content: center;
  animation: maskIn .2s ease;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  background: #fff; width: 100%; max-width: 760px; max-height: 86vh; overflow-y: auto;
  border-radius: 22px 22px 0 0; padding: 8px 18px 26px; position: relative;
  animation: sheetIn .28s cubic-bezier(.22, 1, .36, 1);
}
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
.sheet-grip { width: 40px; height: 4px; background: #dbe2ee; border-radius: 4px; margin: 6px auto 12px; }
.sheet-close {
  position: absolute; top: 12px; right: 14px; border: 0; background: var(--bg);
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer; color: var(--text-2);
  font-size: 14px; line-height: 1;
}
.sheet-body h3 { margin: 4px 0 2px; font-size: 19px; }
.sheet-body .s-college { color: var(--text-2); font-size: 13px; margin-bottom: 14px; }
.kv { display: flex; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.kv:last-child { border-bottom: 0; }
.kv .k { color: var(--text-3); flex: 0 0 92px; }
.kv .v { color: var(--text); flex: 1; }
.kv .v.big { font-weight: 700; color: var(--primary); }
.kv .v.wrap { line-height: 1.7; }
.sub-h { font-size: 13px; font-weight: 700; margin: 16px 0 8px; color: var(--text-2); }
.same-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; background: var(--bg); border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 7px; cursor: pointer;
}
.same-item:hover { background: var(--primary-soft); }
.same-item .p { color: var(--accent); font-weight: 700; }

/* ---------- 加载 / 提示 ---------- */
.loading { text-align: center; padding: 50px 0; color: var(--text-3); font-size: 13.5px; }
.spinner {
  display: inline-block; width: 15px; height: 15px; margin-right: 7px;
  border: 2px solid var(--primary-soft); border-top-color: var(--primary);
  border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%);
  background: rgba(19, 26, 43, .9); color: #fff; font-size: 13px;
  padding: 9px 18px; border-radius: 999px; z-index: 80;
  animation: fade .2s ease; pointer-events: none;
}

.bar {
  height: 8px; border-radius: 6px; background: var(--primary);
  transition: width .5s cubic-bezier(.22, 1, .36, 1);
}
.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 12.5px; }
.bar-row .nm { flex: 0 0 118px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-row .bar-wrap { flex: 1; background: var(--bg); border-radius: 6px; overflow: hidden; }
.bar-row .vv { flex: 0 0 46px; text-align: right; color: var(--text-3); font-weight: 600; }

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .stat .num { font-size: 17px; }
  .stat .lbl { font-size: 10.5px; }
}

/* ---------- 6 标签栏微调 ---------- */
.tabbar .tab { font-size: 10.5px; }
.tabbar .tab span { white-space: nowrap; }
.tabbar .tab .tab-ico { font-size: 19px; }

/* ---------- 补全：专科专业候选 ---------- */
.suggest-item .s-sub {
  flex: 0 0 auto; font-size: 11.5px; color: var(--text-3); margin-right: 2px;
}
.suggest-item[data-kind="zk"] .s-kind { background: #fff4e5; color: #b26a00; }
.suggest-item[data-kind="zk"] .s-text { font-weight: 600; color: var(--text); }
.match-tip { margin-top: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .8); }

/* ---------- 匹配解析提示条 ---------- */
.resolve-banner {
  background: #f4f8ff; border: 1px solid #dbe6ff; border-radius: 14px;
  padding: 12px 14px; margin: 14px 0 4px;
}
.bz-head { font-size: 13px; font-weight: 700; color: #1e4fd0; margin-bottom: 8px; }
.bz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.bz-chip {
  font-size: 12.5px; padding: 4px 10px; border-radius: 8px; font-family: inherit;
  background: #fff; border: 1px solid #cddcff; color: #1e4fd0;
}
.bz-chip.cls { cursor: pointer; font-weight: 600; }
.bz-chip.cls:hover { background: #e6efff; }
.bz-chip.zk { background: #fff4e5; border-color: #ffd9a8; color: #b26a00; }
.bz-chip.more { background: #f0f2f6; border-color: #e2e6ee; color: var(--text-3); }
.bz-arrow { font-size: 12px; color: var(--text-3); margin: 0 2px; }
.bz-note { font-size: 12px; color: var(--text-2); margin-left: 4px; }

/* ---------- 专业类弹层内的可报本科专业列表 ---------- */
.cls-plans { margin-top: 8px; }
.cls-plan {
  display: flex; align-items: center; gap: 8px; padding: 9px 0;
  border-bottom: 1px solid #f0f2f6; cursor: pointer;
}
.cls-plan:last-child { border-bottom: 0; }
.cls-plan .cp-name { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--text); }
.cls-plan .cp-col { flex: 0 0 auto; font-size: 11.5px; color: var(--text-3); max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cls-plan .cp-num { flex: 0 0 auto; font-size: 11.5px; color: var(--primary); font-weight: 600; }
.req-chip .kc { font-style: normal; font-size: 10px; color: #c0392b; margin-left: 3px; }

/* ---------- 专科专业目录页 ---------- */
.cat-tip { font-size: 11.5px; color: var(--text-3); margin: 2px 0 12px; line-height: 1.5; }
.cat-tree { display: flex; flex-direction: column; gap: 10px; }
.cat-group { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.cat-cat {
  width: 100%; display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 0; background: linear-gradient(180deg, #f6f9ff, #fff); font-family: inherit;
  padding: 13px 14px; text-align: left;
}
.cat-cat .cc-name { flex: 1; font-size: 14.5px; font-weight: 700; color: var(--text); }
.cat-cat .cc-meta { font-size: 11.5px; color: var(--text-3); }
.cat-cat .cc-arrow { font-size: 11px; color: var(--text-3); }
.cat-classes { padding: 0 14px 10px; }
.cat-class { border-top: 1px solid #f0f2f6; padding-top: 10px; margin-top: 10px; }
.cls-head {
  width: 100%; display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 0; background: transparent; font-family: inherit; padding: 0 0 8px; text-align: left;
}
.cls-head .ch-name { flex: 1; font-size: 13.5px; font-weight: 600; color: #1e4fd0; }
.cls-head .ch-count { font-size: 11px; color: var(--text-3); }
.cls-majors { display: flex; flex-wrap: wrap; gap: 6px; }
.mj-chip {
  border: 1px solid var(--border); background: #fff; border-radius: 8px;
  padding: 5px 9px; font-size: 12.5px; color: var(--text-2); cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; gap: 5px;
}
.mj-chip:hover { border-color: var(--primary); color: var(--primary); }
.mj-chip i { font-style: normal; font-size: 10.5px; color: var(--text-3); }

/* ===== 历年数据 + 专业课信息（详情弹层） ===== */
.ov-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 6px; background: linear-gradient(135deg, #f6f9ff, #eaf1ff); border-radius: 14px; padding: 12px 8px; }
.ov-strip > div { text-align: center; }
.ov-strip i { display: block; font-style: normal; font-size: 11px; color: var(--text-3); margin-bottom: 3px; }
.ov-strip b { font-size: 15.5px; color: var(--primary); }
.year-card { border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.year-card.latest { border-color: var(--primary); background: linear-gradient(135deg, #f5f9ff, #eaf1ff); }
.yc-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.yc-year { font-weight: 700; font-size: 14.5px; }
.yc-badge { background: var(--accent); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 999px; }
.yc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.yc-grid i { display: block; font-style: normal; font-size: 10.5px; color: var(--text-3); margin-bottom: 2px; }
.yc-grid b { font-size: 13px; color: var(--text-1); }
.subj-card { border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: #fff; }
.sb-head { display: flex; align-items: center; gap: 8px; }
.sb-tag { background: var(--primary); color: #fff; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.sb-name { font-weight: 700; font-size: 14px; }
.sb-form { margin-top: 8px; font-size: 12px; color: var(--accent); background: #fff7f2; border-radius: 8px; padding: 6px 8px; line-height: 1.6; }
.sb-books { margin-top: 8px; font-size: 12.5px; color: var(--text-2); line-height: 1.65; }
.sb-books p { margin: 2px 0; }
.sb-books .sb-label { color: var(--text-3); font-size: 11.5px; }
.sb-books .dim { color: var(--text-3); }

/* ---------- 首页考试倒计时 ---------- */
.countdown { margin: 14px 0 4px; padding: 18px 12px 14px; text-align: center; border-radius: 16px;
  background: linear-gradient(135deg, #e8f1ff 0%, #f2ecff 55%, #fdeef6 100%);
  box-shadow: 0 6px 18px rgba(93, 116, 217, 0.12); }
.cd-title { font-size: 15px; font-weight: 700; color: #4a5aa8; letter-spacing: 1px; }
.cd-grid { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.cd-box { background: #fff; border-radius: 10px; min-width: 58px; padding: 8px 6px 6px;
  box-shadow: 0 4px 12px rgba(90, 110, 200, 0.18); display: flex; flex-direction: column; align-items: center; }
.cd-num { font-size: 24px; font-weight: 800; color: #3b5bdb; font-variant-numeric: tabular-nums; line-height: 1.15; }
.cd-unit { font-size: 11px; color: #8a93c9; margin-top: 2px; }
.cd-date { margin-top: 10px; font-size: 11.5px; color: #7c86b8; }
