/* =========================================================
   学府索引 · 211 高校导航
   Design tokens / base / components / pages
   ========================================================= */

:root {
  --paper: #f5f2ea;
  --paper-deep: #ede7d9;
  --card: #fffdf8;
  --ink: #152230;
  --ink-2: #354653;
  --muted: #7d8a93;
  --line: #e4ded1;
  --line-2: #d5cdbb;
  --brand: #1c3d5a;
  --brand-2: #2b577a;
  --accent: #b04b2f;
  --accent-soft: #f6e8e1;
  --gold: #9b7a3c;
  --green: #3d6a50;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 6px 18px -12px rgba(21, 34, 48, 0.4);
  --shadow-md: 0 26px 50px -34px rgba(21, 34, 48, 0.55);
  --shadow-lg: 0 40px 80px -50px rgba(21, 34, 48, 0.5);
  --radius: 16px;
  --header-h: 76px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
::selection { background: rgba(176, 75, 47, 0.18); }

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

.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
.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;
}

/* ---------- 调色板 ---------- */
.p0 { --p-from: #e2ecf8; --p-to: #c4d8ee; --p-ink: #1d3f66; }
.p1 { --p-from: #dceee9; --p-to: #bedfd6; --p-ink: #1c4f47; }
.p2 { --p-from: #efe2ea; --p-to: #ddc8d7; --p-ink: #5b2f47; }
.p3 { --p-from: #f6ebd6; --p-to: #ecd9b9; --p-ink: #6b4a1c; }
.p4 { --p-from: #e8ecd9; --p-to: #d6dec2; --p-ink: #455229; }
.p5 { --p-from: #f7e2d9; --p-to: #efcbbc; --p-ink: #6d3324; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 242, 234, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--brand);
  color: #f8f2e4;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px -10px rgba(28, 61, 90, 0.9);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d58a63;
}

.brand-text b {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.25;
}

.brand-text em {
  display: block;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }

.main-nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.28s ease;
}

.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.is-active::after { width: 100%; }
.main-nav a.is-active { color: var(--brand); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--brand);
  border: 1px solid var(--line-2);
  background: rgba(255, 253, 248, 0.7);
  border-radius: 999px;
  padding: 7px 14px;
  transition: 0.22s;
}

.btn-admin:hover { border-color: var(--brand); background: #fffdf8; }

.btn-admin svg { width: 13px; height: 13px; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-btn span {
  position: absolute;
  left: 11px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.25s;
}

.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 24px; }
.menu-btn.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 58;
  background: var(--card);
  border-bottom: 1px solid var(--line-2);
  padding: 8px 24px 22px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.is-open { display: block; animation: menuIn 0.22s ease both; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a span { color: var(--muted); font-size: 12px; }

@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 64px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(760px 420px at 8% -10%, rgba(28, 61, 90, 0.1), transparent 66%),
    radial-gradient(620px 380px at 96% 12%, rgba(176, 75, 47, 0.1), transparent 70%),
    radial-gradient(420px 320px at 62% 110%, rgba(155, 122, 60, 0.09), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(28, 61, 90, 0.055) 1px, transparent 1px);
  background-size: 96px 100%;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.hero h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero h1 .hero-line { display: block; }
.hero h1 .is-accent {
  color: var(--brand);
  background: linear-gradient(transparent 74%, rgba(176, 75, 47, 0.16) 74%);
  width: fit-content;
}

.hero-lede {
  margin: 20px 0 0;
  max-width: 520px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.9;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  max-width: 540px;
  padding: 6px 6px 6px 16px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search:focus-within {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(28, 61, 90, 0.08);
}

.hero-search svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  padding: 10px 4px;
}

.hero-search input::placeholder { color: #9aa4ac; }

.btn-search {
  flex-shrink: 0;
  border: 0;
  background: var(--brand);
  color: #f8f2e4;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-search:hover { background: var(--brand-2); transform: translateY(-1px); }

.hero-stats { display: flex; margin-top: 32px; }

.stat {
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--line-2);
}

.stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.stat b {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand);
  font-variant-numeric: tabular-nums lining-nums;
}

.stat span {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- 资讯滚动卡 ---------- */
.ticker-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ticker-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #d5a06f 46%, var(--brand));
}

.ticker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.ticker-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(176, 75, 47, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(176, 75, 47, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(176, 75, 47, 0.05); }
}

.ticker-title em {
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 5px;
  font-weight: 400;
}

.ticker-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--brand);
  white-space: nowrap;
}

.ticker-more span { transition: transform 0.2s; }
.ticker-more:hover span { transform: translateX(2px); }

.ticker-viewport {
  height: 342px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 88%, transparent 100%);
}

.ticker-list { will-change: transform; }

.ticker-item {
  height: 57px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 20px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.ticker-item .t-index {
  font-family: var(--serif);
  font-size: 10.5px;
  color: #a99f8b;
  min-width: 18px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.ticker-item .t-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
  transition: color 0.2s;
}

.ticker-item:hover .t-title { color: var(--accent); }

.ticker-item .t-date {
  flex-shrink: 0;
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pin-badge {
  flex-shrink: 0;
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(176, 75, 47, 0.18);
  border-radius: 4px;
  padding: 0 4px;
  letter-spacing: 0.04em;
}

.ticker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid var(--line);
  background: rgba(237, 231, 217, 0.42);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- 通用区块 ---------- */
.section { padding: 72px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.section-kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.section-desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--brand);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: 0.2s;
}

.link-more:hover { border-color: var(--brand); gap: 9px; }

/* ---------- 筛选 ---------- */
.filter-panel {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 20px 16px;
  margin-bottom: 26px;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
}

.filter-row + .filter-row { border-top: 1px dashed var(--line); }

.filter-label {
  flex: 0 0 56px;
  padding-top: 7px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.chip small {
  font-size: 9.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chip:hover { border-color: var(--brand); color: var(--brand); }

.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #f8f2e4;
}

.chip.is-active small { color: rgba(248, 242, 228, 0.62); }

.filter-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px dashed var(--line);
  margin-top: 8px;
  padding-top: 13px;
  flex-wrap: wrap;
}

.result-count { font-size: 12px; color: var(--muted); }
.result-count b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.tools-right { display: flex; align-items: center; gap: 16px; }

.reset-link {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 11.5px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reset-link:hover { color: var(--accent); }

.sort-select {
  appearance: none;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--ink-2);
  font-size: 11.5px;
  border-radius: 8px;
  padding: 6px 28px 6px 10px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237d8a93' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ---------- 院校卡片 ---------- */
.school-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.school-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
}

.school-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}

.card-cover {
  position: relative;
  height: 88px;
  padding: 11px 15px;
  background: linear-gradient(135deg, var(--p-from), var(--p-to));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.65;
}

.card-watermark {
  position: absolute;
  right: -4px;
  bottom: -38px;
  font-family: var(--serif);
  font-size: 122px;
  line-height: 1;
  color: var(--p-ink);
  opacity: 0.13;
  pointer-events: none;
  user-select: none;
}

.card-badges { position: relative; display: flex; gap: 5px; flex-wrap: wrap; }

.badge-tier {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--p-ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 5px;
  padding: 2px 6px;
  backdrop-filter: blur(4px);
}

.badge-tier.is-soft {
  background: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 16px 16px;
}

.card-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.card-en {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}

.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-meta i { font-style: normal; color: var(--line-2); }

.card-brief {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.72;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  font-size: 10.5px;
  color: var(--muted);
}

.card-foot .strengths {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-foot .arrow {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 13px;
  transition: transform 0.25s;
}

.school-card:hover .card-foot .arrow { transform: translateX(3px); }

.load-wrap { display: flex; justify-content: center; margin-top: 32px; }

.btn-load {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 11px 30px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.22s;
}

.btn-load:hover { background: var(--card); border-color: var(--brand); }
.btn-load[disabled] { opacity: 0.45; cursor: default; }

.empty-state {
  grid-column: 1 / -1;
  padding: 66px 20px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.5);
}

.empty-state b {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.empty-state p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ---------- 科普区 ---------- */
.explainer {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  padding: 58px 0;
}

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.note-card { border-top: 1px solid var(--line-2); padding-top: 18px; }

.note-card .num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.note-card h3 {
  margin: 8px 0 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
}

.note-card p { margin: 0; font-size: 12.5px; line-height: 1.85; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  padding: 52px 0 40px;
}

.footer-brand b {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 360px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.footer-col h4 {
  margin: 4px 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  flex-wrap: wrap;
}

/* ---------- 内页 Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 38px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 12% -20%, rgba(28, 61, 90, 0.09), transparent 70%),
    radial-gradient(500px 280px at 92% 0%, rgba(176, 75, 47, 0.08), transparent 70%);
}

.page-hero h1 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-hero p {
  margin: 0;
  max-width: 620px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 院校专题页 ---------- */
.school-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 40px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--p-from), var(--p-to) 64%, var(--paper));
}

.school-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}

.school-watermark {
  position: absolute;
  right: 3%;
  top: -54px;
  font-family: var(--serif);
  font-size: 280px;
  line-height: 1;
  color: var(--p-ink);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--p-ink);
  opacity: 0.8;
}

.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb i { font-style: normal; opacity: 0.5; }

.school-head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  margin-top: 24px;
}

.school-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--p-ink);
}

.school-en {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-ink);
  opacity: 0.62;
}

.school-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(21, 34, 48, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--p-ink);
  font-size: 11px;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.school-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: 4px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: #f8f2e4;
  border: 1px solid var(--brand);
  border-radius: 9px;
  padding: 10px 18px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(21, 34, 48, 0.22);
  color: var(--p-ink);
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 12.5px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-line:hover { background: rgba(255, 255, 255, 0.85); }

.school-facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(21, 34, 48, 0.12);
  border-radius: 13px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.fact { padding: 14px 20px; border-right: 1px solid rgba(21, 34, 48, 0.09); }
.fact:last-child { border-right: 0; }
.fact span { display: block; font-size: 10.5px; letter-spacing: 0.08em; color: var(--p-ink); opacity: 0.62; }
.fact b {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--p-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(245, 242, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.school-nav .wrap { display: flex; align-items: center; gap: 26px; height: 53px; }

.school-nav a {
  position: relative;
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s;
}

.school-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s;
}

.school-nav a:hover::after,
.school-nav a.is-active::after { width: 100%; }
.school-nav a.is-active { color: var(--brand); font-weight: 600; }

.school-nav .nav-spacer { flex: 1; }

.school-nav .nav-home {
  font-size: 11.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.school-nav .nav-home:hover { color: var(--accent); }

.school-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 52px;
  padding: 46px 0 80px;
  align-items: start;
}

.content-section + .content-section { margin-top: 50px; }

.block-head {
  display: flex;
  align-items: baseline;
  gap: 13px;
  padding-bottom: 13px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.block-head .num {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.block-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.block-head .hint { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; }

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

.prose p:last-child { margin-bottom: 0; }

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  font-size: 12.5px;
  color: var(--ink-2);
}

.strength-item i {
  font-style: normal;
  font-family: var(--serif);
  font-size: 10.5px;
  color: var(--accent);
  opacity: 0.8;
}

.news-list { border-top: 1px solid var(--line); }

/* 院校资讯子栏目标题 */
.subcolumn-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.subcolumn-head:first-child { margin-top: 0; }

.subcolumn-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.subcolumn-head .hint { font-size: 11px; color: var(--muted); }

.empty-mini { padding: 22px 16px; margin: 0 0 4px; }

.empty-mini p { margin: 0; }

.empty-mini .empty-state { border: none; }

.empty-state.empty-mini { padding: 24px 16px; }

/* 院校子栏目 Tab 切换 */
.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.cat-tab {
  appearance: none;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  font-family: inherit;
}

.cat-tab small {
  font-size: 10.5px;
  color: var(--muted);
  background: var(--line-2);
  border-radius: 999px;
  padding: 1px 7px;
  line-height: 1.4;
}

.cat-tab:hover { border-color: var(--ink); color: var(--ink); }

.cat-tab.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.cat-tab.is-active small { background: rgba(255, 255, 255, 0.22); color: #fff; }

.cat-panel { display: none; }

.cat-panel.is-active { display: block; }

.cat-more {
  text-align: right;
  padding: 14px 2px 4px;
}

/* 子栏目列表页 Tab */
.subcolumn-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.subcolumn-switch .tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.subcolumn-switch .tab small {
  font-size: 10.5px;
  background: var(--line-2);
  border-radius: 999px;
  padding: 1px 7px;
}

.subcolumn-switch .tab:hover { border-color: var(--ink); color: var(--ink); }

.subcolumn-switch .tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.subcolumn-switch .tab.is-active small { background: rgba(255, 255, 255, 0.22); color: #fff; }

.mini-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
}

.mini-cat b { font-size: 12px; color: var(--muted); font-weight: 600; }

.mini-cat:hover span { color: var(--accent); }

.mini-cat.is-active span { color: var(--accent); font-weight: 600; }

.back-row .link-more { display: inline-flex; }

.news-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 2px;
  border-bottom: 1px dashed var(--line);
  transition: background 0.2s, transform 0.2s;
}

.news-row:hover { background: rgba(255, 253, 248, 0.72); transform: translateX(2px); }

.news-date {
  flex: 0 0 50px;
  text-align: center;
  font-family: var(--serif);
  color: var(--muted);
  padding-top: 1px;
}

.news-date b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.news-date span { font-size: 9.5px; letter-spacing: 0.08em; }

.news-body { flex: 1; min-width: 0; }

.news-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 5px; }

.news-tag {
  font-size: 9.5px;
  line-height: 1.7;
  padding: 0 5px;
  border-radius: 3px;
  color: var(--muted);
  border: 1px solid var(--line);
  letter-spacing: 0.04em;
}

.news-body h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
  transition: color 0.2s;
}

.news-row:hover .news-body h3 { color: var(--brand); }

.news-summary {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-arrow {
  flex-shrink: 0;
  align-self: center;
  color: var(--line-2);
  font-size: 15px;
  transition: 0.2s;
}

.news-row:hover .news-arrow { color: var(--accent); transform: translateX(2px); }

/* 侧栏 */
.side-sticky { position: sticky; top: calc(var(--header-h) + 76px); }

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 18px 19px;
  margin-bottom: 16px;
}

.side-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 600;
}

.side-card h3 em { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }

.fact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 12px;
}

.fact-row:last-child { border-bottom: 0; }
.fact-row span { color: var(--muted); flex-shrink: 0; }
.fact-row b { font-weight: 500; color: var(--ink-2); text-align: right; word-break: break-all; }
.fact-row a { color: var(--brand); border-bottom: 1px solid var(--line-2); }

.mini-school {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}

.mini-school:last-child { border-bottom: 0; }

.mini-mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--p-from), var(--p-to));
  color: var(--p-ink);
  font-family: var(--serif);
  font-size: 14px;
}

.mini-info { min-width: 0; }
.mini-info b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-info span { display: block; font-size: 10px; color: var(--muted); margin-top: 1px; }
.mini-school > span { margin-left: auto; color: var(--line-2); font-size: 12px; }

.side-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  padding: 2px 2px 0;
}

.btn-share {
  width: 100%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-share:hover { border-color: var(--brand); color: var(--brand); background: rgba(255, 253, 248, 0.7); }

/* ---------- 内容详情页 ---------- */
.article-wrap { max-width: 840px; margin: 0 auto; padding: 42px 26px 84px; }

.article-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }

.article-head h1 {
  margin: 14px 0 16px;
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 39px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.article-meta a { color: var(--brand); }

.article-body p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 2.05;
  color: var(--ink-2);
}

.article-body p:first-child { font-size: 17px; color: var(--ink); }

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.article-body h2 {
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  font-size: 24px;
  font-weight: 600;
}
.article-body h3 { margin: 30px 0 12px; font-size: 20px; font-weight: 600; }
.article-body h4 { margin: 24px 0 10px; font-size: 17px; font-weight: 600; }
.article-body ul,
.article-body ol { margin: 0 0 22px 1.5em; padding: 0; }
.article-body li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); }
.article-body blockquote {
  margin: 26px 0;
  padding: 16px 22px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 253, 248, 0.7);
  border-radius: 0 8px 8px 0;
  color: var(--ink-2);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 8px;
}
.article-body figure { margin: 22px 0; }
.article-body figcaption { margin-top: 8px; text-align: center; font-size: 11.5px; color: var(--muted); }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.article-body hr { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
.article-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
  color: var(--ink-2);
}
.article-body th,
.article-body td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.article-body th { background: rgba(28, 61, 90, 0.05); font-weight: 600; color: var(--ink); }

.article-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

.related { margin-top: 52px; }

.related-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.related-head h2 { margin: 0; font-family: var(--serif); font-size: 20px; font-weight: 600; }
.related-head a { font-size: 11.5px; color: var(--brand); }

/* ---------- 资讯列表页 ---------- */
.news-page-wrap { max-width: 940px; margin: 0 auto; padding: 8px 26px 80px; }
.news-page-list { border-top: 1px solid var(--line); }
.news-page-list .news-row { padding: 22px 2px; }
.news-page-list .news-date { flex-basis: 62px; }
.news-page-list .news-body h3 { font-size: 16px; }
.news-page-list .news-summary { font-size: 12.5px; }
.news-count-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 16px 2px 20px; font-size: 11.5px; color: var(--muted);
}

/* ---------- 加载/错误 ---------- */
.loading { padding: 60px 0; text-align: center; color: var(--muted); font-size: 12.5px; }

.spinner {
  width: 22px;
  height: 22px;
  margin: 0 auto 12px;
  border: 2px solid var(--line-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.error-panel { padding: 80px 20px; text-align: center; }
.error-panel h1 { font-family: var(--serif); font-size: 30px; margin: 0 0 10px; }
.error-panel p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

/* ---------- 入场动画 ---------- */
.rise { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }
.rise-4 { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .school-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { gap: 38px; }
  .hero h1 { font-size: clamp(36px, 4.6vw, 52px); }
}

@media (max-width: 1024px) {
  :root { --wrap: 100%; }
  .wrap { padding: 0 26px; }
  .school-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .school-watermark { font-size: 220px; }
  .hero { padding: 44px 0 52px; }
  .ticker-viewport { height: 312px; }
  .ticker-item { height: 52px; }
}

@media (max-width: 920px) {
  .main-nav { display: none; }
  .menu-btn { display: block; }
  .header-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-copy { max-width: 660px; }
  .ticker-card { max-width: 660px; }
  .ticker-viewport { height: 290px; }
  .school-layout { grid-template-columns: minmax(0, 1fr); }
  .side-sticky { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .side-card { margin-bottom: 0; }
  .side-card.side-share { grid-column: 1 / -1; }
  .school-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .school-actions { padding-bottom: 0; }
  .explainer-grid { gap: 24px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 14.5px; }
  .wrap { padding: 0 20px; }
  .header-inner { gap: 14px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 10px; font-size: 14px; }
  .brand-text b { font-size: 16px; }
  .brand-text em { font-size: 8px; letter-spacing: 0.14em; }
  .btn-admin { padding: 6px 11px; font-size: 11.5px; }
  .header-actions { gap: 8px; }
  .menu-btn { width: 38px; height: 38px; }

  .hero { padding: 34px 0 42px; }
  .hero h1 { font-size: clamp(32px, 9vw, 42px); line-height: 1.2; }
  .hero-lede { font-size: 13.5px; line-height: 1.85; margin-top: 16px; }
  .hero-search { margin-top: 22px; padding: 5px 5px 5px 13px; }
  .hero-search input { font-size: 13px; }
  .btn-search { padding: 10px 14px; font-size: 12.5px; }
  .hero-stats { margin-top: 24px; }
  .stat { padding-right: 18px; margin-right: 18px; }
  .stat b { font-size: 25px; }
  .stat span { font-size: 10px; }

  .ticker-head { padding: 14px 15px 11px; }
  .ticker-title { font-size: 13px; }
  .ticker-viewport { height: 260px; }
  .ticker-item { height: 52px; padding: 0 15px; gap: 9px; font-size: 12.5px; }
  .ticker-item .t-date { display: none; }
  .ticker-foot { padding: 9px 15px; }
  .ticker-more { font-size: 10.5px; }

  .section { padding: 46px 0; }
  .section-head { margin-bottom: 20px; gap: 14px; }
  .section-title { font-size: 25px; }
  .filter-panel { padding: 10px 14px 13px; border-radius: 14px; }
  .filter-row { flex-direction: column; gap: 6px; padding: 8px 0; }
  .filter-label { flex: none; padding-top: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; width: 100%; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; font-size: 11.5px; }
  .filter-tools { padding-top: 11px; }
  .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-cover { height: 76px; padding: 9px 12px; }
  .card-watermark { font-size: 100px; bottom: -30px; }
  .card-body { padding: 12px 13px 14px; }
  .card-body h3 { font-size: 17px; }
  .card-brief { font-size: 11.5px; -webkit-line-clamp: 3; }
  .card-meta { gap: 6px; font-size: 10.5px; }
  .card-foot { font-size: 9.5px; margin-top: 10px; padding-top: 9px; }
  .badge-tier { font-size: 9px; padding: 1px 5px; }

  .explainer { padding: 40px 0; }
  .explainer-grid { grid-template-columns: 1fr; gap: 22px; }
  .note-card p { font-size: 12px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px 22px; padding: 40px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand b { font-size: 22px; }
  .footer-brand p { font-size: 11.5px; }
  .footer-bottom { font-size: 10px; }

  .page-hero { padding: 32px 0 28px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 12.5px; }

  .school-hero { padding: 18px 0 28px; }
  .school-title h1 { font-size: clamp(32px, 9vw, 42px); }
  .school-watermark { font-size: 160px; top: 10px; opacity: 0.06; }
  .school-head { margin-top: 18px; }
  .school-en { font-size: 9.5px; }
  .school-tags { margin-top: 12px; gap: 6px; }
  .tag { font-size: 10px; padding: 3px 8px; }
  .school-actions { width: 100%; }
  .school-actions .btn-primary, .school-actions .btn-line { flex: 1; justify-content: center; padding: 9px 12px; font-size: 12px; }
  .school-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
  .fact { padding: 11px 14px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid rgba(21, 34, 48, 0.09); }
  .fact b { font-size: 14px; }
  .school-nav .wrap { gap: 18px; height: 48px; overflow-x: auto; scrollbar-width: none; }
  .school-nav .wrap::-webkit-scrollbar { display: none; }
  .school-nav .nav-spacer, .school-nav .nav-home { display: none; }
  .school-layout { padding: 30px 0 56px; gap: 34px; }
  .content-section + .content-section { margin-top: 36px; }
  .block-head { gap: 9px; padding-bottom: 10px; margin-bottom: 16px; }
  .block-head h2 { font-size: 20px; }
  .block-head .hint { display: none; }
  .prose p { font-size: 13.5px; line-height: 1.95; }
  .strength-grid { grid-template-columns: 1fr; }
  .side-sticky { grid-template-columns: 1fr; }

  .news-row { gap: 12px; padding: 15px 1px; }
  .news-date { flex-basis: 42px; }
  .news-date b { font-size: 16px; }
  .news-body h3 { font-size: 14px; }
  .news-summary { font-size: 11.5px; -webkit-line-clamp: 2; }
  .news-arrow { display: none; }

  .article-wrap { padding: 28px 20px 60px; }
  .article-body p { font-size: 15px; line-height: 1.95; margin-bottom: 18px; }
  .article-body p:first-child { font-size: 15.5px; }
  .article-head h1 { font-size: 25px; margin: 12px 0 14px; }

  .news-page-wrap { padding: 0 20px 60px; }
  .news-page-list .news-row { padding: 17px 1px; }
  .news-page-list .news-body h3 { font-size: 14.5px; }
}

@media (max-width: 420px) {
  .school-grid { grid-template-columns: 1fr; }
  .card-brief { -webkit-line-clamp: 2; }
  .hero h1 { font-size: 31px; }
  .stat b { font-size: 23px; }
  .filter-tools { align-items: flex-start; }
  .tools-right { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 轻提示 ---------- */
.site-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 200;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #f8f2e4;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  border-radius: 9px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 18px 40px -20px rgba(21, 34, 48, 0.7);
}
.site-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

[hidden] { display: none !important; }
.ticker-item .t-title { display: block; }

.news-row.is-pinned {
  background: linear-gradient(90deg, rgba(176, 75, 47, 0.05), transparent 55%);
}
.news-row.is-pinned .news-body h3 { color: var(--ink); }
/* ---------- 校徽 / 校训 ---------- */
.card-cover { height: 96px; }

.school-emblem {
  display: inline-flex;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  color: var(--p-ink, #1d3f66);
}
.school-emblem svg { width: 100%; height: 100%; display: block; }
.school-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #fffdf8;
  padding: 2px;
  box-shadow: 0 3px 10px rgba(21, 34, 48, 0.08);
}
.emblem-ring { font-family: var(--serif); fill: currentColor; letter-spacing: 0.02em; }
.emblem-mono { font-family: var(--serif); fill: currentColor; font-size: 28px; font-weight: 600; }
.emblem-year { font-family: var(--sans); fill: currentColor; font-size: 5.6px; opacity: 0.62; letter-spacing: 0.08em; }

.card-emblem {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 6px 10px rgba(21, 34, 48, 0.14));
}

.card-motto {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--brand);
  opacity: 0.82;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-title-wrap { display: flex; align-items: flex-start; gap: 24px; }
.hero-emblem {
  width: 112px;
  height: 112px;
  filter: drop-shadow(0 14px 24px rgba(21, 34, 48, 0.16));
}
.school-motto {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--p-ink);
  opacity: 0.9;
}
.school-motto span {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  border: 1px solid rgba(21, 34, 48, 0.22);
  border-radius: 3px;
  padding: 1px 5px;
  opacity: 0.75;
}

.motto-quote {
  margin: 0 0 22px;
  padding: 17px 22px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 253, 248, 0.62);
  border-radius: 0 10px 10px 0;
}
.motto-quote span { font-size: 9.5px; letter-spacing: 0.18em; color: var(--accent); }
.motto-quote p {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.mini-emblem { width: 34px; height: 34px; }
.mini-school > span:last-child { margin-left: auto; color: var(--line-2); font-size: 12px; }

.ticker-empty .t-title { color: var(--muted); white-space: normal; line-height: 1.7; text-align: center; font-size: 12.5px; }
.ticker-empty .t-title em { display: block; margin-top: 4px; font-style: normal; font-size: 10.5px; color: #9aa4ac; }
.ticker-empty .t-index { display: none; }
.ticker-viewport.is-empty { -webkit-mask-image: none; mask-image: none; }
.ticker-viewport.is-empty .ticker-list {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-viewport.is-empty .ticker-item { border-bottom: 0; height: auto; padding: 0 30px; justify-content: center; }
.ticker-viewport.is-compact {
  height: auto;
  min-height: 57px;
  -webkit-mask-image: none;
  mask-image: none;
}

@media (max-width: 760px) {
  .ticker-viewport.is-compact { min-height: 52px; }
  .card-cover { height: 86px; padding: 9px 12px; }
  .card-emblem { width: 46px; height: 46px; }
  .card-motto { font-size: 10.5px; margin-top: 5px; }
  .school-title-wrap { gap: 14px; }
  .hero-emblem { width: 76px; height: 76px; }
  .school-motto { font-size: 12px; gap: 7px; margin-top: 9px; }
  .school-motto span { font-size: 9px; padding: 0 4px; }
  .motto-quote { padding: 13px 15px; margin-bottom: 16px; }
  .motto-quote p { font-size: 17px; }
  .mini-emblem { width: 32px; height: 32px; }
}

@media (max-width: 420px) {
  .card-emblem { width: 42px; height: 42px; }
  .hero-emblem { width: 64px; height: 64px; }
  .school-title h1 { font-size: 30px; }
}
