/* =========================================================
   红色教育考试网 · hs9019.com
   ========================================================= */

:root {
  --red: #b3261e;
  --red-deep: #8a1a14;
  --red-soft: #f6e7e3;
  --gold: #b8862b;
  --ink: #1b1814;
  --ink-2: #403a32;
  --muted: #7b7365;
  --paper: #fbf8f2;
  --paper-2: #f5efe4;
  --card: #fffdf9;
  --line: #e6ddcc;
  --line-2: #d9cdb7;
  --blue: #1f5f8b;
  --green: #0f6b57;
  --purple: #8a2f5f;
  --shadow: 0 1px 0 rgba(27, 24, 20, .04), 0 10px 30px -18px rgba(27, 24, 20, .35);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body > iframe { background: var(--paper); }

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

a:hover { color: var(--red); }

p { margin: 0 0 1em; }

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

li { margin: .35em 0; }

table { border-collapse: collapse; width: 100%; }

button { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
}
.skip:focus { left: 12px; top: 12px; }

.ico { flex: none; }

/* ---------------- 顶栏 ---------------- */

.topbar {
  background: var(--ink);
  color: #f2ece0;
  font-size: 13px;
  line-height: 1.5;
}

.topbar-in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
}

.topbar-tag {
  flex: none;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  letter-spacing: .12em;
  padding: 2px 7px;
  border-radius: 3px;
}

.topbar-txt {
  margin: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #d9cfbe;
}

.topbar-side {
  flex: none;
  color: #b9ab94;
  letter-spacing: .02em;
}

/* ---------------- 页头 ---------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 242, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex: none;
}

.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }

.brand-txt strong {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-txt em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .04em;
  white-space: nowrap;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-a {
  position: relative;
  padding: 8px 11px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: 6px;
  white-space: nowrap;
}

.nav-a:hover { background: var(--paper-2); color: var(--ink); }

.nav-a.on {
  color: var(--red);
  font-weight: 700;
}

.nav-a.on::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.head-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.head-cta {
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}

.head-cta:hover { background: var(--red-deep); color: #fff; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  cursor: pointer;
}

.icon-btn:hover { border-color: var(--line-2); background: var(--paper-2); }

.menu-btn { display: none; }

.rule-line {
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 22%, var(--gold) 22% 26%, transparent 26%);
  opacity: .85;
}

.search-panel {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.sf-ico { color: var(--muted); display: flex; }

.search-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
}

.search-form button {
  flex: none;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 15px;
  cursor: pointer;
}

/* ---------------- 移动导航 ---------------- */

.nav-mask {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, .45);
  z-index: 60;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--card);
  z-index: 61;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .2);
}

.mn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.mn-list { flex: 1; overflow-y: auto; padding: 8px 10px; }

.mn-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
}

.mn-list a:hover, .mn-list a.on { background: var(--paper-2); }

.mn-ico { width: 22px; display: flex; justify-content: center; }

.mn-txt { display: flex; flex-direction: column; font-size: 15px; }

.mn-txt em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-top: 2px;
}

.mn-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------------- 通用区块 ---------------- */

.sec { padding: 54px 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.sec-head-sm { margin-top: 46px; }

.sec-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--red);
  font-weight: 700;
}

.sec-title {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: .01em;
}

.sec-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.sec-more:hover { color: var(--red); }

.btn-primary, .btn-ghost, .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 9px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: .15s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 11px 22px;
  font-size: 15px;
}

.btn-primary:hover { background: var(--red-deep); color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border-color: var(--line-2);
  padding: 11px 20px;
  font-size: 15px;
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

.btn-sm {
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  font-size: 13.5px;
}

.btn-sm:hover { background: var(--red); color: #fff; }

/* ---------------- 首页 Hero ---------------- */

.hero {
  position: relative;
  background:
    radial-gradient(900px 380px at 12% 0%, #fff8ea 0%, transparent 60%),
    linear-gradient(180deg, #fdfaf4 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: .22;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .85fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.22;
  letter-spacing: .01em;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--red);
  position: relative;
  white-space: nowrap;
}

.hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 9px;
  background: var(--red-soft);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 7px 7px 7px 16px;
  max-width: 640px;
  box-shadow: var(--shadow);
}

.hero-search .hs-ico { color: var(--muted); display: flex; }

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 15.5px;
  font-family: inherit;
  padding: 9px 0;
  outline: none;
  color: var(--ink);
}

.hero-search button {
  flex: none;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.hero-search button:hover { background: var(--red-deep); }

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, .7);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.hero-links a:hover { border-color: var(--red); color: var(--red); }

.hero-links em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}

.hero-side { display: flex; flex-direction: column; gap: 12px; }

.count-card {
  background: var(--ink);
  color: #f4ecdd;
  border-radius: 16px;
  padding: 24px 24px 20px;
  box-shadow: 0 24px 60px -30px rgba(27, 24, 20, .8);
  position: relative;
  overflow: hidden;
}

.count-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border: 24px solid rgba(179, 38, 30, .35);
  border-radius: 50%;
}

.cc-label { font-size: 12.5px; letter-spacing: .1em; color: #b7a98f; margin: 0 0 4px; }

.cc-num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.cc-num span { font-size: 18px; margin-left: 6px; color: #cdbfa6; }

.cc-date { font-size: 12.5px; color: #b7a98f; margin: 0 0 14px; }

.cc-bar {
  height: 5px;
  background: rgba(255, 255, 255, .14);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.cc-bar i { display: block; height: 100%; background: var(--red); border-radius: 3px; }

.cc-tip { font-size: 12.5px; color: #cbbda4; margin: 0; line-height: 1.6; }

.cc-tip strong { color: #fff; font-weight: 600; }

.hero-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-mini a {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-mini a:hover { border-color: var(--red); }

.hero-mini b { font-size: 14px; }

.hero-mini span { font-size: 11.5px; color: var(--muted); }

/* ---------------- 广告位 ---------------- */

.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  min-height: 78px;
  margin: 20px 0 0;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  background: repeating-linear-gradient(135deg, #fdfaf3 0 12px, #f8f2e7 12px 24px);
  padding: 14px 18px;
  color: var(--muted);
  font-size: 12.5px;
}

.ad-slot .ad-tag {
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  letter-spacing: .1em;
}

.ad-home-side { min-height: 200px; }

/* ---------------- 工具卡 ---------------- */

.sec-tools { padding-top: 44px; }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  transition: .18s;
  min-width: 0;
}

.tool-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tc-ico {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }

.tc-top { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }

.tc-top b { font-size: 15.5px; }

.tc-top i {
  font-style: normal;
  font-size: 10.5px;
  color: var(--gold);
  border: 1px solid #e7d3a6;
  background: #fdf6e6;
  border-radius: 3px;
  padding: 0 5px;
}

.tc-desc { font-size: 12.8px; color: var(--muted); line-height: 1.6; }

.tc-arrow { color: var(--line-2); margin-top: 12px; }

.tool-card:hover .tc-arrow { color: var(--red); }

.tool-card-lg { padding: 24px; }

.tool-card-lg .tc-ico { width: 52px; height: 52px; }

.tool-note {
  margin-top: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.tool-note h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }

.tn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.tn-grid h4 { font-size: 14.5px; margin-bottom: 6px; color: var(--ink); }

.tn-grid p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------------- 首页两栏 ---------------- */

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
}

.home-main { min-width: 0; }

.home-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.post-list { display: flex; flex-direction: column; }

.post-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.post-item:first-child { border-top: 0; padding-top: 4px; }

.pi-num {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--line-2);
  line-height: 1;
  flex: none;
  width: 38px;
  padding-top: 2px;
}

.pi-body { min-width: 0; }

.pi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
}

.pi-ch { font-weight: 600; }

.pi-body h3 { font-size: 20px; font-family: var(--serif); margin-bottom: 6px; }

.pi-body h3 a:hover { color: var(--red); }

.pi-body p { font-size: 13.8px; color: var(--muted); margin: 0; line-height: 1.65; }

.home-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(120deg, #241f1a 0%, #3a2f26 100%);
  color: #f4ecdd;
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 26px 0 8px;
}

.hb-txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.hb-txt b { font-family: var(--serif); font-size: 19px; }

.hb-txt span { font-size: 13px; color: #c4b59c; }

.home-banner a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
}

.home-banner a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------------- 侧栏 ---------------- */

.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}

.side-title {
  font-size: 15px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-title::before {
  content: "";
  width: 3px;
  height: 14px;
  background: var(--red);
  border-radius: 2px;
}

.rank-list { list-style: none; margin: 0; padding: 0; }

.rank-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  margin: 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
  line-height: 1.55;
}

.rank-list li:last-child { border-bottom: 0; }

.rk {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  font-weight: 700;
}

.rk-hot { background: var(--red); color: #fff; }

.mini-table { font-size: 12.5px; }

.mini-table th, .mini-table td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mini-table th { color: var(--muted); font-weight: 500; }

.mini-table td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }

.side-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--red);
  margin-top: 10px;
}

.side-cta { background: linear-gradient(150deg, #fff7ee 0%, #fdeee6 100%); border-color: #efd6cb; }

.side-cta h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; }

.side-cta p { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

.side-tools { display: flex; flex-direction: column; gap: 4px; }

.side-tools a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--ink-2);
}

.side-tools a:hover { background: var(--paper-2); color: var(--red); }

.side-tools .ico { color: var(--red); }

.side-links { display: flex; flex-direction: column; gap: 2px; }

.side-links a {
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.side-links a:last-child { border-bottom: 0; }

/* ---------------- 院校卡 ---------------- */

.school-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.school-grid-lg { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.school-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  min-width: 0;
  transition: .18s;
}

.school-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.sc-badge {
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.lv-985 { color: #8a1a14; background: #fbe9e5; border-color: #f0cdc6; }

.lv-211 { color: #1f5f8b; background: #e9f1f8; border-color: #cfe0ee; }

.lv-syl { color: #0f6b57; background: #e6f3ef; border-color: #c8e3da; }

.lv-prov { color: #7a5a12; background: #fbf3df; border-color: #ecdcb5; }

.sc-prov { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.school-card h3 { font-size: 16.5px; font-family: var(--serif); }

.sc-strong {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-score, .sc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  padding-top: 4px;
  border-top: 1px dashed var(--line);
}

.sc-row + .sc-row { border-top: 0; padding-top: 0; }

.sc-score b, .sc-row b { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------------- 专业卡 ---------------- */

.major-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.major-grid-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.major-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 15px;
  min-width: 0;
  transition: .15s;
}

.major-card:hover { border-color: var(--red); transform: translateY(-1px); }

.mc-disc {
  font-size: 10.5px;
  color: var(--blue);
  letter-spacing: .06em;
}

.major-card h3 { font-size: 15.5px; }

.major-card p { font-size: 11.5px; color: var(--muted); margin: 0; }

.major-card-lg { padding: 18px; gap: 4px; }

.mcl-top { display: flex; align-items: center; justify-content: space-between; }

.mcl-years { font-size: 11px; color: var(--muted); }

.mcl-class, .mcl-req { font-size: 12px; color: var(--muted); margin: 0; }

.mcl-req { color: var(--green); }

.mcl-desc {
  font-size: 12.2px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* ---------------- 志愿区块 ---------------- */

.sec-zhiyuan { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.zy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.zy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  transition: .18s;
}

.zy-card:hover { border-color: var(--red); transform: translateY(-2px); }

.zy-date { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.zy-card h3 { font-family: var(--serif); font-size: 17px; line-height: 1.45; }

.zy-card p { font-size: 12.5px; color: var(--muted); margin: 0; flex: 1; }

.zy-more { font-size: 12px; color: var(--red); display: inline-flex; align-items: center; gap: 4px; }

/* ---------------- FAQ ---------------- */

.sec-faq { background: var(--card); border-top: 1px solid var(--line); }

.faq-wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 50px; }

.faq-sub { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.faq-list { min-width: 0; }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary i {
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 50%;
}

.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq-item summary i::before { width: 8px; height: 1.5px; }

.faq-item summary i::after { width: 1.5px; height: 8px; transition: .15s; }

.faq-item[open] summary i::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-item[open] summary { color: var(--red); }

.faq-a p { font-size: 14px; color: var(--ink-2); padding: 0 34px 18px 0; margin: 0; }

.faq-list-sm .faq-item summary { font-size: 14.5px; padding: 14px 0; }

/* ---------------- 末尾 CTA ---------------- */

.sec-last { padding-bottom: 70px; }

.last-cta {
  background: linear-gradient(120deg, #fdf1e9 0%, #fbeee2 55%, #f7e7d8 100%);
  border: 1px solid #efd8c6;
  border-radius: 18px;
  padding: 38px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.last-cta h2 { font-family: var(--serif); font-size: 27px; margin-bottom: 8px; }

.last-cta p { font-size: 14px; color: var(--ink-2); margin: 0; }

.last-acts { display: flex; gap: 10px; flex: none; }

/* ---------------- 页头（内页） ---------------- */

.page-head {
  background: linear-gradient(180deg, #fdf9f1 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 34px;
}

.page-head-sm { padding-bottom: 24px; }

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.crumb a:hover { color: var(--red); }

.crumb em { font-style: normal; color: var(--ink-2); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ph-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }

.ph-main { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }

.ph-ico {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-main h1 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); margin-bottom: 7px; }

.ph-main p { font-size: 14px; color: var(--muted); margin: 0; max-width: 720px; }

.ph-stat { flex: none; text-align: right; }

.ph-stat b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--red); }

.ph-stat span { font-size: 12px; color: var(--muted); }

/* ---------------- 列表页 ---------------- */

.list-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.list-main { min-width: 0; }

.list-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

.list-head h2 { font-family: var(--serif); font-size: 22px; }

.list-head span { font-size: 12px; color: var(--muted); }

.art-list { border-top: 1px solid var(--line); margin-top: 10px; }

.art-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.ai-side {
  flex: none;
  width: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3px;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.ai-day { font-family: var(--serif); font-size: 18px; line-height: 1.1; }

.ai-year { font-size: 11px; color: var(--muted); margin-top: 3px; }

.ai-body { flex: 1; min-width: 0; }

.ai-body h3 { font-family: var(--serif); font-size: 19.5px; line-height: 1.45; margin-bottom: 6px; }

.ai-body h3 a:hover { color: var(--red); }

.ai-body p { font-size: 13.5px; color: var(--muted); margin: 0 0 8px; }

.ai-meta { display: flex; gap: 12px; font-size: 11.5px; color: var(--muted); }

.ai-tag { color: var(--red); }

.ai-go { flex: none; color: var(--line-2); margin-top: 6px; }

.art-item:hover .ai-go { color: var(--red); }

.list-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  padding: 16px 20px;
}

.list-tip p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------------- 数据表 ---------------- */

.data-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 34px;
  min-width: 0;
}

.db-head h2 { font-family: var(--serif); font-size: 21px; margin-bottom: 6px; }

.db-head p { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table th, .data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13.5px;
  white-space: nowrap;
}

.data-table thead th {
  background: var(--paper-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 12.5px;
  border-bottom: 1px solid var(--line-2);
}

.data-table tbody tr:hover { background: #fdf9f1; }

.td-num { font-variant-numeric: tabular-nums; font-weight: 600; }

.table-note { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }

/* ---------------- 文章页 ---------------- */

.article-head {
  background: linear-gradient(180deg, #fdf9f1 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 26px 0 34px;
}

.ah-in { max-width: 920px; }

.ah-ch { font-size: 12px; font-weight: 700; letter-spacing: .08em; }

.article-head h1 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.35;
  margin: 10px 0 12px;
}

.ah-desc { font-size: 15px; color: var(--muted); margin-bottom: 14px; }

.ah-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12.5px; color: var(--muted); }

.art-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.art-main { min-width: 0; }

.art-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.art-body {
  font-size: 16.5px;
  line-height: 1.95;
  color: #2a251f;
  max-width: 780px;
}

.art-body > p:first-of-type { font-size: 17.5px; color: var(--ink); }

.art-body h2 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 42px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--red);
  line-height: 1.45;
  scroll-margin-top: 100px;
}

.art-body h3 { font-size: 18.5px; margin: 28px 0 10px; scroll-margin-top: 100px; }

.art-body p { margin: 0 0 1.05em; }

.art-body ul, .art-body ol { margin: 0 0 1.1em; padding-left: 1.35em; }

.art-body li { margin: .4em 0; }

.art-body a { color: var(--red); border-bottom: 1px solid #e8bcb6; }

.art-body a:hover { border-bottom-color: var(--red); }

.art-body strong, .art-body b { font-weight: 700; color: var(--ink); }

.art-body table th, .art-body table td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 14px;
  text-align: left;
  line-height: 1.65;
}

.art-body table thead th { background: var(--paper-2); }

.art-body table { margin: 8px 0 4px; min-width: 460px; }

.callout {
  border-radius: 10px;
  padding: 16px 18px;
  margin: 22px 0;
  border: 1px solid var(--line);
  background: var(--card);
}

.callout-t {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 6px;
}

.callout p { margin: 0; font-size: 14.5px; line-height: 1.8; }

.callout.note { background: #f7f4ea; border-color: #e8dfc9; }

.callout.note .callout-t { color: var(--gold); }

.callout.warn { background: #fdf0ec; border-color: #f0d2c9; }

.callout.warn .callout-t { color: var(--red); }

blockquote {
  margin: 24px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--gold);
  background: #fbf6e9;
  font-family: var(--serif);
  font-size: 16.5px;
  color: var(--ink-2);
}

blockquote p:last-child { margin-bottom: 0; }

.steps { list-style: none; padding: 0; margin: 18px 0; counter-reset: st; }

.steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); margin: 0; }

.steps li:last-child { border-bottom: 0; }

.step-n {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.steps h4 { font-size: 15.5px; margin-bottom: 3px; }

.steps p { font-size: 14px; color: var(--muted); margin: 0; }

.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }

.info-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }

.info-card h4 { font-size: 14.5px; margin-bottom: 4px; color: var(--red); }

.info-card p { font-size: 13px; color: var(--muted); margin: 0; }

.art-note {
  margin-top: 36px;
  padding: 16px 18px;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

.art-note b { display: block; color: var(--ink-2); margin-bottom: 4px; font-size: 12.5px; }

.art-note p { margin: 0; }

.art-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--muted);
}

.art-share a { color: var(--red); }

.rel-block { margin-top: 40px; }

.rel-block > h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }

.rel-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.rel-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: var(--card);
  min-width: 0;
}

.rel-item:hover { border-color: var(--red); }

.rel-ch { font-size: 11px; color: var(--red); }

.rel-item h3 { font-size: 15px; font-family: var(--serif); line-height: 1.5; }

.rel-item p { font-size: 12px; color: var(--muted); margin: 0; }

.toc-list { list-style: none; margin: 0; padding: 0; }

.toc-list li { margin: 0; }

.toc-list a {
  display: flex;
  gap: 8px;
  font-size: 13px;
  padding: 7px 0;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
  line-height: 1.5;
}

.toc-list li:last-child a { border-bottom: 0; }

.toc-list span { color: var(--line-2); font-size: 11px; font-variant-numeric: tabular-nums; }

.toc-list a:hover { color: var(--red); }

/* ---------------- 详情页（院校/专业） ---------------- */

.page-head-detail { padding-bottom: 38px; }

.detail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }

.dh-main { min-width: 0; }

.dh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; }

.dh-tag {
  font-size: 11.5px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 2px 8px;
  color: var(--ink-2);
  background: var(--card);
}

.dh-tag-red { background: var(--red-soft); border-color: #eecfc8; color: var(--red-deep); }

.detail-head h1 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }

.dh-desc { font-size: 14.5px; color: var(--muted); max-width: 780px; margin: 0 0 14px; }

.dh-strong { display: flex; flex-wrap: wrap; gap: 7px; }

.dh-strong span {
  font-size: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  color: var(--ink-2);
}

.dh-cta { display: flex; gap: 10px; flex: none; padding-bottom: 4px; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
}

.detail-main { min-width: 0; }

.detail-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.stat-cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.st-label { font-size: 11.5px; color: var(--muted); }

.st-val { font-family: var(--serif); font-size: 24px; color: var(--red); line-height: 1.2; }

.st-val-sm { font-size: 18px; color: var(--ink); }

.st-sub { font-size: 11.5px; color: var(--muted); }

.prose-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; margin-top: 22px; }

.prose-block h2 {
  font-family: var(--serif);
  font-size: 21px;
  margin: 30px 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}

.prose-block h2:first-child { margin-top: 0; }

.prose-block p { font-size: 14.8px; line-height: 1.9; color: var(--ink-2); }

.prose-block ul, .prose-block ol { font-size: 14.8px; line-height: 1.9; color: var(--ink-2); }

.prose-block a { color: var(--red); }

.prose-block table th, .prose-block table td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  font-size: 13.8px;
  text-align: left;
}

.prose-block table thead th { background: var(--paper-2); }

.prose-block table { margin: 10px 0; word-break: break-word; }

.prose-block .table-wrap { margin: 12px 0; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }

.tag-list span {
  font-size: 12.5px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--ink-2);
}

.course-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.course-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13.5px;
  margin: 0;
}

.peer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.peer-list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  background: var(--card);
  min-width: 0;
}

.peer-list a:hover { border-color: var(--red); }

.peer-list b { font-size: 14.5px; }

.peer-list span { font-size: 11.5px; color: var(--muted); }

.info-dl { margin: 0; }

.info-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }

.info-dl div:last-child { border-bottom: 0; }

.info-dl dt { color: var(--muted); flex: none; }

.info-dl dd { margin: 0; text-align: right; color: var(--ink-2); }

.prose-page { max-width: 880px; }

.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }

.prose-layout .detail-side { position: sticky; top: 96px; }

/* ---------------- 筛选 ---------------- */

.filter-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-row { display: flex; gap: 14px; align-items: flex-start; }

.fr-label { flex: none; font-size: 12.5px; color: var(--muted); padding-top: 6px; width: 34px; }

.fr-chips { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chip i { font-style: normal; font-size: 10px; color: var(--muted); }

.chip:hover { border-color: var(--line-2); }

.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.chip.on i { color: #c9bda9; }

.filter-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  font-size: 13px;
  color: var(--muted);
}

.filter-meta b { color: var(--ink); }

.filter-meta a { color: var(--red); display: inline-flex; align-items: center; gap: 4px; }

.empty-hint {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ---------------- 工具页 ---------------- */

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
}

.tool-main { min-width: 0; }

.calc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}

.calc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-head h2 { font-family: var(--serif); font-size: 21px; }

.calc-badge {
  font-size: 11px;
  color: var(--green);
  background: #e9f4f0;
  border: 1px solid #cfe5dd;
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}

.calc-form { min-width: 0; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.f-label { font-size: 12.5px; color: var(--muted); }

.f-label i { color: var(--red); font-style: normal; }

.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .08);
}

.field textarea { resize: vertical; line-height: 1.7; }

.calc-acts { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.calc-hint { font-size: 12px; color: var(--muted); margin: 12px 0 0; }

.calc-result {
  margin-top: 24px;
  border-top: 1px dashed var(--line-2);
  padding-top: 22px;
}

.cr-top { display: flex; align-items: center; gap: 22px; }

.cr-ring {
  flex: none;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: conic-gradient(var(--red) 0%, #eee6d8 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cr-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: var(--card);
  border-radius: 50%;
}

.cr-ring span {
  position: relative;
  font-family: var(--serif);
  font-size: 30px;
  color: var(--red);
  line-height: 1;
}

.cr-ring em { position: relative; font-style: normal; font-size: 12px; color: var(--muted); margin-left: 2px; }

.cr-headtxt { min-width: 0; }

.cr-level {
  display: inline-block;
  font-size: 11px;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 4px;
  padding: 1px 8px;
  margin-bottom: 6px;
}

.cr-headtxt h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 4px; }

.cr-headtxt p { font-size: 13.2px; color: var(--muted); margin: 0; }

.cr-bars { margin: 20px 0 4px; display: flex; flex-direction: column; gap: 10px; }

.cr-bar { display: grid; grid-template-columns: 76px 120px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 12.5px; }

.cr-bar > span { color: var(--muted); }

.cr-bar b { font-size: 12.5px; color: var(--ink); }

.cr-bar > i { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; display: block; }

.cr-bar em { display: block; height: 100%; width: 0; background: var(--red); border-radius: 3px; transition: width .4s; }

.cr-advice {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.cr-note { font-size: 11.5px; color: var(--muted); margin: 14px 0 0; }

/* 梯度体检 */

.td-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }

.td-head, .td-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 130px 36px;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
}

.td-head {
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--muted);
}

.td-row { border-top: 1px solid var(--line); }

.td-n { font-size: 11.5px; color: var(--line-2); font-variant-numeric: tabular-nums; }

.td-row input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  padding: 7px 9px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
}

.td-row input:focus { border-color: var(--red); background: #fff; }

.td-del {
  border: 0;
  background: transparent;
  color: var(--line-2);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.td-del:hover { color: var(--red); }

.td-summary { display: flex; gap: 26px; align-items: flex-start; }

.td-gauge { flex: 1; min-width: 0; }

.tg-bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--paper-2); }

.tg-bar i { display: block; height: 100%; transition: width .4s; }

.tg-chong { background: #d8594e; }

.tg-wen { background: #c99a2e; }

.tg-bao { background: #3f8b74; }

.tg-legend { display: flex; gap: 18px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }

.tg-legend span { display: inline-flex; align-items: center; gap: 5px; }

.tg-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

.lg-chong { background: #d8594e; }

.lg-wen { background: #c99a2e; }

.lg-bao { background: #3f8b74; }

.tg-legend b { color: var(--ink); }

.td-verdict { flex: none; width: 46%; min-width: 0; }

.tv-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }

.tv-score b { font-family: var(--serif); font-size: 40px; color: var(--red); line-height: 1; }

.tv-score span { font-size: 12px; color: var(--muted); }

.tv-list p { margin: 0 0 7px; font-size: 13px; color: var(--ink-2); display: flex; gap: 7px; align-items: flex-start; }

.tv-tag {
  flex: none;
  font-style: normal;
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-top: 2px;
}

.tv-red { background: #fbe9e5; color: var(--red-deep); }

.tv-amber { background: #fbf3df; color: #7a5a12; }

.tv-green { background: #e6f3ef; color: var(--green); }

.td-list { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 10px; }

.td-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 100px 70px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.td-item:last-child { border-bottom: 0; }

.ti-lv { font-size: 11px; text-align: center; border-radius: 3px; padding: 1px 0; }

.ti-chong { background: #fbe9e5; color: #a83227; }

.ti-wen { background: #fbf3df; color: #7a5a12; }

.ti-bao { background: #e6f3ef; color: #0f6b57; }

.ti-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ti-score { color: var(--muted); font-size: 11.5px; text-align: right; }

.ti-diff { text-align: right; font-variant-numeric: tabular-nums; font-size: 12px; color: var(--ink-2); }

/* 选科 */

.xk-form { display: flex; flex-direction: column; gap: 18px; }

.xk-label { font-size: 13px; color: var(--muted); margin: 0 0 8px; }

.xk-opts { display: flex; flex-wrap: wrap; gap: 9px; }

.xk-opt { position: relative; cursor: pointer; }

.xk-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.xk-opt span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--paper);
  font-size: 14.5px;
  color: var(--ink-2);
  transition: .15s;
}

.xk-opt input:checked + span {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}

.xk-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }

.xk-tip { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

.xk-tip.ok { color: var(--green); }

.xk-res-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.xk-res-name { font-family: var(--serif); font-size: 24px; }

.xk-res-cov { display: flex; align-items: baseline; gap: 4px; }

.xk-res-cov b { font-family: var(--serif); font-size: 34px; color: var(--red); line-height: 1; }

.xk-res-cov span { font-size: 12px; color: var(--muted); }

.xk-covbar { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; margin: 14px 0 20px; }

.xk-covbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #d0703f); border-radius: 4px; transition: width .4s; }

.xk-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.xk-block h4 { font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }

.xk-block p { font-size: 13.2px; color: var(--ink-2); margin: 0; line-height: 1.8; }

.xk-block .tag-list { margin: 0; }

.xk-block .tag-list span { font-size: 11.5px; }

/* 倒计时 */

.dj-result { display: block; }

.dj-count { text-align: center; }

.djc-label { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; letter-spacing: .1em; }

.djc-num { margin: 0; font-family: var(--serif); color: var(--red); line-height: 1; }

.djc-num b { font-size: 72px; }

.djc-num span { font-size: 18px; margin-left: 6px; color: var(--muted); }

.djc-sub { font-size: 12px; color: var(--muted); margin: 8px 0 18px; }

.dj-track { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: var(--paper-2); }

.dj-track i { display: block; height: 100%; }

.dj-track .p1 { background: #d8594e; }

.dj-track .p2 { background: #c99a2e; }

.dj-track .p3 { background: #3f8b74; }

.dj-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }

.dj-phase {
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-2);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--paper);
  min-width: 0;
}

.dj-phase.p1 { border-top-color: #d8594e; }

.dj-phase.p2 { border-top-color: #c99a2e; }

.dj-phase.p3 { border-top-color: #3f8b74; }

.dp-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.dp-top b { font-size: 14px; }

.dp-status { font-size: 10.5px; border-radius: 3px; padding: 1px 6px; flex: none; }

.dp-status.now { background: var(--red); color: #fff; }

.dp-status.wait { background: var(--paper-2); color: var(--muted); }

.dp-status.done { background: #eee; color: #999; }

.dp-range { font-size: 11.5px; color: var(--muted); margin: 4px 0 6px; }

.dp-desc { font-size: 12.5px; color: var(--ink-2); margin: 0 0 6px; line-height: 1.6; }

.dp-left { font-size: 11.5px; color: var(--red); margin: 0; }

.dj-empty { text-align: center; color: var(--muted); font-size: 13px; }

/* ---------------- 表单 ---------------- */

.lead-form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }

.lead-form .field-row { margin-bottom: 14px; }

.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lf-foot { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }

.lf-foot p { font-size: 11.5px; color: var(--muted); margin: 0; flex: 1; min-width: 220px; }

.form-msg { border-radius: 8px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 18px; }

.form-msg.ok { background: #e9f4f0; border: 1px solid #cfe5dd; color: var(--green); }

.form-msg.err { background: #fdf0ec; border: 1px solid #f0d2c9; color: var(--red-deep); }

.page-search { display: flex; gap: 10px; max-width: 640px; margin-bottom: 26px; }

.page-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--card);
  color: var(--ink);
}

.search-count { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.search-empty { padding: 30px 0; color: var(--muted); font-size: 14px; }

.quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.quick-tags a {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink-2);
}

.quick-tags a:hover { border-color: var(--red); color: var(--red); }

/* ---------------- 404 ---------------- */

.err-sec { padding: 90px 0 110px; }

.err-wrap { text-align: center; max-width: 620px; }

.err-code { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--red-soft); margin: 0 0 8px; letter-spacing: .04em; }

.err-wrap h1 { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }

.err-desc { font-size: 14px; color: var(--muted); }

.err-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

/* ---------------- 页脚 ---------------- */

.site-foot {
  background: var(--ink);
  color: #cfc2ab;
  padding: 52px 0 26px;
  margin-top: 0;
}

.foot-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, .8fr));
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.foot-brand { min-width: 0; }

.foot-logo { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 14px; }

.foot-desc { font-size: 13px; line-height: 1.8; color: #b3a68f; margin-bottom: 10px; }

.foot-meta { font-size: 11.5px; color: #8d8271; margin: 0; }

.foot-col { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.foot-col h4 { font-size: 12px; letter-spacing: .14em; color: #7f7462; margin-bottom: 6px; font-weight: 600; }

.foot-col a { font-size: 13px; color: #cfc2ab; }

.foot-col a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12px;
  color: #8d8271;
  flex-wrap: wrap;
}

.foot-bottom p { margin: 0; }

.foot-bottom a { color: #b3a68f; }

.foot-tip {
  padding-top: 14px;
  font-size: 11px;
  color: #6f6555;
  line-height: 1.7;
  max-width: 1000px;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 1180px) {
  .nav-a { padding: 8px 8px; font-size: 14.5px; }
  .head-in { gap: 16px; }
  .hero-in { gap: 34px; }
  .school-grid-lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .head-cta { display: none; }
  .head-in { justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; gap: 30px; }
  .hero-side { flex-direction: row; align-items: stretch; }
  .count-card { flex: 1.2; }
  .hero-mini { flex: 1; grid-template-columns: 1fr; }
  .home-split, .list-layout, .art-layout, .detail-layout, .tool-layout, .prose-layout { grid-template-columns: 1fr; gap: 28px; }
  .home-side, .list-side, .art-side, .detail-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .home-side > *, .list-side > *, .art-side > *, .detail-side > * { flex: 1 1 280px; }
  .art-side .toc-card { display: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-grid { grid-template-columns: 1fr; gap: 14px; }
  .school-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .major-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}

@media (max-width: 900px) {
  .brand-txt em { display: none; }
  .brand-txt strong { font-size: 18px; }
  .sec { padding: 38px 0; }
  .sec-title { font-size: 25px; }
  .zy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .school-grid, .school-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .major-grid, .major-grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xk-blocks { grid-template-columns: 1fr; }
  .dj-phases { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .rel-list { grid-template-columns: 1fr; }
  .detail-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dh-cta { width: 100%; }
  .dh-cta a { flex: 1; }
  .last-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
  .last-acts { width: 100%; }
  .last-acts a { flex: 1; }
  .td-summary { flex-direction: column; }
  .td-verdict { width: 100%; }
}

@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .topbar-side { display: none; }
  .head-in { min-height: 68px; gap: 10px; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-txt strong { font-size: 17px; }
  .hero-in { padding-top: 36px; padding-bottom: 40px; }
  .hero-title { font-size: 32px; }
  .ad-slot .ad-dim { font-size: 11.5px; }
  .hero-sub { font-size: 15px; }
  .hero-side { flex-direction: column; }
  .hero-mini { grid-template-columns: 1fr 1fr; }
  .cc-num { font-size: 54px; }
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search input { width: 100%; flex: 1 1 100%; padding: 6px 4px; }
  .hero-search button { width: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 18px; }
  .tool-grid, .tool-grid-lg { grid-template-columns: 1fr; }
  .post-item { gap: 10px; padding: 18px 0; }
  .pi-num { width: 28px; font-size: 21px; }
  .pi-body h3 { font-size: 18px; }
  .home-side, .list-side, .art-side, .detail-side { flex-direction: column; }
  .home-side > *, .list-side > *, .art-side > *, .detail-side > * { flex: 1 1 auto; }
  .article-head h1 { font-size: 26px; }
  .art-body { font-size: 16px; }
  .art-body h2 { font-size: 21px; margin-top: 32px; }
  .art-body table { min-width: 420px; }
  .prose-block, .calc-card, .lead-form-wrap, .data-block, .tool-note { padding: 20px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 12px; }
  .cr-top { gap: 16px; }
  .cr-ring { width: 88px; height: 88px; }
  .cr-ring span { font-size: 25px; }
  .cr-bar { grid-template-columns: 62px 96px minmax(0, 1fr); font-size: 11.5px; }
  .td-head, .td-row { grid-template-columns: 28px minmax(0, 1fr) 92px 28px; gap: 6px; padding: 7px 8px; }
  .td-item { grid-template-columns: 30px minmax(0, 1fr) 80px; }
  .ti-diff { display: none; }
  .faq-wrap { gap: 14px; }
  .faq-item summary { font-size: 14.5px; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
  .list-tip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .filter-row { flex-direction: column; gap: 6px; }
  .fr-label { width: auto; padding-top: 0; }
  .filter-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .page-head { padding: 20px 0 26px; }
  .ph-stat { display: none; }
  .ph-main { gap: 12px; }
  .ph-ico { width: 44px; height: 44px; }
  .prose-layout .detail-side { display: none; }
  .article-head { padding: 20px 0 26px; }
  .crumb { margin-bottom: 14px; }
  .crumb em { max-width: 60vw; }
  .rel-list { grid-template-columns: 1fr; }
  .course-list { grid-template-columns: 1fr; }
  .peer-list { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .main h1, .hero-title { overflow-wrap: anywhere; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 29px; }
  .zy-grid, .school-grid, .school-grid-lg, .major-grid, .major-grid-lg { grid-template-columns: 1fr; }
  .hero-mini { grid-template-columns: 1fr; }
  .cc-num { font-size: 46px; }
  .djc-num b { font-size: 58px; }
  .brand-txt em { display: none; }
}

/* ---------------- 资料下载 ---------------- */

.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.res-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  min-width: 0;
  transition: .18s;
}

.res-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }

.rc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.rc-tag {
  font-size: 11px;
  color: var(--red-deep);
  background: var(--red-soft);
  border: 1px solid #efd2ca;
  border-radius: 4px;
  padding: 1px 7px;
}

.rc-meta { font-size: 11.5px; color: var(--muted); }

.res-card h2 { font-family: var(--serif); font-size: 20px; }

.res-card p { font-size: 13.5px; color: var(--muted); margin: 0; flex: 1; }

.rc-go { font-size: 12.5px; color: var(--red); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }

.res-note {
  margin-top: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.res-note h2 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }

.res-note ol { font-size: 13.8px; color: var(--ink-2); padding-left: 1.3em; }

.res-note p { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

.print-bar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.pb-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.pb-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.pb-txt b { font-size: 15px; }

.pb-txt span { font-size: 12px; color: var(--muted); }

.pb-acts { display: flex; gap: 10px; flex: none; }

.pb-acts .btn-primary, .pb-acts .btn-ghost { padding: 9px 16px; font-size: 14px; }

.sec-print { background: var(--paper-2); }

.sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 20px 50px -35px rgba(27, 24, 20, .5);
  max-width: 860px;
  margin: 0 auto;
  padding: 38px 40px 30px;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.sh-brand { display: flex; align-items: center; gap: 10px; }

.sh-seal {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-family: var(--serif);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sh-brand b { display: block; font-size: 14.5px; line-height: 1.3; }

.sh-brand em { font-style: normal; font-size: 10px; color: var(--muted); letter-spacing: .04em; }

.sh-meta { font-size: 11px; color: var(--muted); white-space: nowrap; }

.sheet-title {
  font-family: var(--serif);
  font-size: 26px;
  text-align: center;
  margin: 26px 0 14px;
  letter-spacing: .02em;
}

.sheet-intro p { font-size: 13px; color: var(--ink-2); line-height: 1.85; margin: 0 0 8px; }

.sheet-table { margin-top: 18px; overflow-x: auto; }

.sheet-table table { width: 100%; border-collapse: collapse; }

.sheet-table th, .sheet-table td {
  border: 1px solid #c9bda9;
  padding: 7px 8px;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
  height: 30px;
}

.sheet-table thead th { background: #f3ecdd; font-weight: 600; font-size: 12px; }

.sheet-table .cell-num { text-align: center; width: 42px; color: var(--muted); font-variant-numeric: tabular-nums; }

.sheet-wide .sheet-table th, .sheet-wide .sheet-table td { padding: 5px 7px; height: 26px; font-size: 11.5px; }

.sheet-wide .sheet-table table { table-layout: fixed; }
.sheet-wide .sheet-table th:nth-child(1), .sheet-wide .sheet-table td:nth-child(1) { width: 46px; }
.sheet-wide .sheet-table th:nth-child(2), .sheet-wide .sheet-table td:nth-child(2) { width: 33%; }
.sheet-wide .sheet-table th:nth-child(3), .sheet-wide .sheet-table td:nth-child(3) { width: 14%; }
.sheet-wide .sheet-table th:nth-child(4), .sheet-wide .sheet-table td:nth-child(4) { width: 17%; }
.sheet-wide .sheet-table th:nth-child(5), .sheet-wide .sheet-table td:nth-child(5) { width: 12%; }
.sheet-wide .sheet-table th:nth-child(6), .sheet-wide .sheet-table td:nth-child(6) { width: 15%; }
.sheet-wide .sheet-table td { word-break: break-word; }

.sheet-note { font-size: 11px; color: var(--muted); margin: 8px 0 0; }

.sheet-tips { margin-top: 22px; }

.sheet-tips h2 { font-family: var(--serif); font-size: 16px; margin-bottom: 6px; }

.sheet-tips ul { font-size: 12.5px; color: var(--ink-2); line-height: 1.85; padding-left: 1.2em; margin: 0; }

.sheet-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.sheet-help { max-width: 860px; margin: 30px auto 0; }

.sheet-help h2 { font-family: var(--serif); font-size: 19px; margin-bottom: 12px; }

@media (max-width: 760px) {
  .res-grid { grid-template-columns: 1fr; }
  .sheet { padding: 22px 16px; }
  .sheet-title { font-size: 20px; margin: 18px 0 10px; }
  .sheet-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sh-meta { white-space: normal; }
  .sheet-table th, .sheet-table td { font-size: 11px; padding: 6px; }
  .print-bar .pb-acts { width: 100%; }
  .pb-acts .btn-primary, .pb-acts .btn-ghost { flex: 1; }
}

@media print {
  .topbar, .site-head, .site-foot, .print-bar, .crumb, .sheet-help,
  .ad-slot, .skip, .nav-mask, .mobile-nav, .search-panel { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .sec, .sec-print { padding: 0 !important; background: #fff !important; }
  .wrap { max-width: none; padding: 0; }
  .sheet {
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }
  .sheet-table { overflow: visible; }
  .sheet-table table { page-break-inside: auto; }
  .sheet-table tr { page-break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  @page { size: A4; margin: 12mm; }
}
