/* ============================================================
   鲜阮学院 官网样式表
   风格：庄重、大气、稳重 —— 中国红 + 鎏金 + 米白宣纸底色
   ============================================================ */

:root {
  --red: #9e1f19;
  --red-deep: #7a1611;
  --red-light: #c0392b;
  --gold: #c8a45c;
  --gold-deep: #a8863f;
  --green: #2f5d50;
  --ink: #1b1f23;
  --ink-2: #3e444b;
  --muted: #6b7178;
  --line: #e5dfd3;
  --line-soft: #efe9de;
  --bg: #fcfaf6;
  --bg-2: #f5f0e6;
  --white: #fff;
  --shadow: 0 2px 12px rgba(27, 31, 35, .06);
  --shadow-lg: 0 10px 34px rgba(27, 31, 35, .10);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-light); }
h1, h2, h3, h4, h5, .serif { font-family: var(--serif); color: var(--ink); font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

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

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: #cfc9bd;
  font-size: 13px;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
}
.topbar .slogan { font-family: var(--serif); color: var(--gold); }
.topbar a { color: #cfc9bd; }
.topbar a:hover { color: var(--gold); }
.topbar-right { display: flex; gap: 18px; align-items: center; }
@media (max-width: 760px) { .topbar .slogan { display: none; } }

/* ---------- 头部与导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px;
  border: 1.5px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}
.brand-text { line-height: 1.2; }
.brand-cn { font-family: var(--serif); font-size: 21px; color: var(--ink); font-weight: 700; letter-spacing: .12em; }
.brand-en { font-size: 10px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }

.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 12px 14px;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .06em;
  white-space: nowrap;
}
.nav-list > li > a:hover { color: var(--red); }
.nav-list > li.active > a { color: var(--red); }
.nav-list > li.active > a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--red);
}
.has-sub > a::before {
  content: "";
  position: absolute;
  right: 4px; top: 50%; margin-top: -2px;
  border: 4px solid transparent;
  border-top-color: var(--muted);
}
.sub-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s;
}
.nav-list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 9px 18px; font-size: 14.5px; color: var(--ink-2); }
.sub-menu a:hover { background: var(--bg-2); color: var(--red); }
.sub-menu a.on { color: var(--red); font-weight: 600; }

.hamburger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute; left: 11px; right: 11px; height: 2px;
  background: var(--ink); transition: .25s;
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mask {
  position: fixed; inset: 0;
  background: rgba(20, 18, 16, .45);
  z-index: 70; opacity: 0; visibility: hidden; transition: .25s;
}
.mask.show { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 82vw;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 80;
    transform: translateX(105%);
    transition: transform .3s ease;
    overflow-y: auto;
    padding: 18px 0 40px;
  }
  .nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 14px 24px; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav-list > li.active > a::after { display: none; }
  .has-sub > a::before { right: 22px; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-top: none; padding: 0;
    display: none; background: var(--bg-2);
  }
  .nav-list > li.sub-open > .sub-menu { display: block; }
  .sub-menu a { padding: 11px 24px 11px 40px; }
  .hamburger { display: block; }
  .header-inner { gap: 12px; }
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.breadcrumb .wrap { padding-top: 12px; padding-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { margin: 0 8px; color: #c3bcae; }
.breadcrumb .cur { color: var(--ink); }

/* ---------- 通用区块 ---------- */
.section { padding: 68px 0; }
.section.alt { background: var(--bg-2); }
.section.tint { background: #fbf7ef; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 10px;
}
.section-head h2 {
  font-size: 32px; margin: 0 0 14px; letter-spacing: .06em;
  position: relative; padding-bottom: 16px;
}
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 54px; height: 2px; margin-left: -27px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.section-head p.lead { color: var(--muted); font-size: 16px; margin: 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left h2::after { left: 0; margin-left: 0; }

.h3-line { font-size: 22px; margin: 0 0 14px; padding-left: 12px; border-left: 4px solid var(--red); line-height: 1.4; }
.h4-line { font-size: 18px; margin: 0 0 10px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 420px at 70% -10%, rgba(200, 164, 92, .18), transparent 60%),
    linear-gradient(160deg, #7a1611 0%, #9e1f19 46%, #6d140f 100%);
  color: #f6efe3;
  padding: 92px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 16px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 760px; }
.hero .tagline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .38);
  padding: 5px 16px;
  font-size: 13px;
  letter-spacing: .2em;
  color: #f0d9a6;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 54px; line-height: 1.25; margin: 0 0 8px;
  color: #fff; letter-spacing: .14em; font-weight: 700;
}
.hero .sub-title {
  font-family: var(--serif);
  font-size: 21px; color: #f3d9a4; letter-spacing: .3em;
  margin: 0 0 22px;
}
.hero p.lead {
  font-size: 17px; line-height: 2.0; color: rgba(246, 239, 227, .92);
  max-width: 620px; margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.22); padding-top: 22px;
}
.hero-meta .m-num { font-family: var(--serif); font-size: 30px; color: #f3d9a4; line-height: 1.1; }
.hero-meta .m-txt { font-size: 13px; color: rgba(246,239,227,.78); letter-spacing: .1em; }

@media (max-width: 760px) {
  .hero { padding: 62px 0 56px; }
  .hero h1 { font-size: 36px; }
  .hero .sub-title { font-size: 16px; letter-spacing: .18em; }
  .hero p.lead { font-size: 15.5px; }
  .hero-meta { gap: 24px; }
}

.page-hero {
  position: relative;
  background: linear-gradient(150deg, #7a1611, #9e1f19 60%, #85180f);
  color: #f6efe3; padding: 58px 0 52px; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 1px, transparent 1px 16px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: 38px; color: #fff; letter-spacing: .1em; margin: 0 0 10px; }
.page-hero p { color: rgba(246,239,227,.85); margin: 0; max-width: 720px; font-size: 16px; }
@media (max-width: 760px) { .page-hero h1 { font-size: 27px; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: .08em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
  font-family: var(--sans);
}
.btn-primary { background: var(--gold); color: #4a3608; font-weight: 600; }
.btn-primary:hover { background: #d9b76d; color: #4a3608; }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { border-color: var(--red); color: var(--red); background: transparent; }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 14px; }

/* ---------- 三大核心理念 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  padding: 34px 30px 30px;
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar .p-idx {
  position: absolute; right: 18px; top: 8px;
  font-family: var(--serif); font-size: 62px; color: rgba(158, 31, 25, .07);
  line-height: 1; font-weight: 700;
}
.pillar .p-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(140deg, var(--red), #b8452f);
  color: #f7e6c4; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 24px; margin-bottom: 18px;
}
.pillar h3 { font-size: 26px; margin: 0 0 6px; letter-spacing: .1em; }
.pillar .p-en { font-size: 11px; letter-spacing: .2em; color: var(--gold-deep); text-transform: uppercase; margin-bottom: 14px; }
.pillar .p-slogan { font-family: var(--serif); color: var(--red); font-size: 16px; margin: 0 0 12px; }
.pillar ul { margin: 16px 0 0; padding-left: 0; list-style: none; }
.pillar ul li {
  position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 14.5px; color: var(--muted);
}
.pillar ul li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg);
}
.pillar .p-src { margin-top: 16px; font-size: 12.5px; color: #9b948a; border-top: 1px dashed var(--line); padding-top: 12px; }
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- 卡片通用 ---------- */
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h4 { font-size: 19px; margin: 0 0 12px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.card-icon {
  width: 48px; height: 48px; margin-bottom: 16px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-family: var(--serif); font-size: 20px;
  background: linear-gradient(140deg, #fdf8ec, #f3e9d2);
}

.card-link {
  display: block; background: var(--white); border: 1px solid var(--line);
  padding: 26px 24px; transition: all .25s; position: relative;
}
.card-link:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-link h4 { font-size: 19px; margin: 0 0 8px; }
.card-link p { font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.card-link .more { font-size: 13.5px; color: var(--red); letter-spacing: .08em; }
.card-link .more::after { content: " →"; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 4px 8px; }
.stat-num { font-family: var(--serif); font-size: 40px; color: var(--red); line-height: 1.1; }
.stat-num small { font-size: 18px; margin-left: 2px; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; letter-spacing: .06em; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 20px; } .stat-num { font-size: 32px; } }

/* ---------- 引言 / 语录 ---------- */
.quote {
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, #fbf6ea, rgba(251,246,234,0));
  padding: 18px 24px;
  font-family: var(--serif);
  font-size: 17px; color: var(--ink);
  margin: 0 0 20px;
}
.quote cite {
  display: block; margin-top: 8px; font-size: 13px;
  font-style: normal; color: var(--muted); font-family: var(--sans);
}
.quote-center {
  text-align: center; font-family: var(--serif); font-size: 22px;
  color: var(--ink); letter-spacing: .08em; margin: 0;
}
.quote-center .q-src { display: block; font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0 22px; border: 1px solid var(--line); background: var(--white); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
table.tbl th {
  background: #f3ede1; color: var(--ink); font-family: var(--serif);
  text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--line); letter-spacing: .06em;
  white-space: nowrap; font-weight: 700;
}
table.tbl td { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink-2); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover td { background: #fdfaf3; }
table.tbl td.c, table.tbl th.c { text-align: center; }

/* ---------- 标签 / 提示 ---------- */
.tag {
  display: inline-block; padding: 2px 10px; font-size: 12px;
  border-radius: 2px; letter-spacing: .06em; margin-right: 6px;
}
.tag-red { background: rgba(158,31,25,.09); color: var(--red); border: 1px solid rgba(158,31,25,.25); }
.tag-gold { background: rgba(200,164,92,.14); color: var(--gold-deep); border: 1px solid rgba(200,164,92,.4); }
.tag-green { background: rgba(47,93,80,.1); color: var(--green); border: 1px solid rgba(47,93,80,.3); }
.tag-gray { background: #f0ece3; color: var(--muted); border: 1px solid var(--line); }

.notice {
  border: 1px solid var(--line); border-left: 4px solid var(--gold);
  background: #fdfaf3; padding: 16px 20px; font-size: 14.5px; color: var(--ink-2);
  margin: 20px 0;
}
.notice.flag { border-left-color: var(--red); background: #fdf6f5; }
.notice b { color: var(--ink); }
.disclaimer { border: 1px dashed var(--line); background: var(--bg-2); padding: 14px 18px; font-size: 13px; color: var(--muted); margin-top: 26px; }

/* ---------- 占位块 ---------- */
.ph {
  border: 1px dashed #c9bfa8;
  background:
    repeating-linear-gradient(45deg, rgba(200,164,92,.05) 0 10px, transparent 10px 20px),
    #faf7f0;
  color: #9a917f;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 6px; padding: 18px;
  font-size: 13px; letter-spacing: .06em;
}
.ph b { color: var(--gold-deep); font-weight: 600; }
.ph-img { min-height: 200px; }
.ph-img.lg { min-height: 320px; }
.ph-img.sm { min-height: 130px; }
.ph-doc {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px dashed #c9bfa8; background: #faf7f0; margin-bottom: 10px; font-size: 14px;
}
.ph-doc .ico {
  width: 34px; height: 34px; flex-shrink: 0; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--gold-deep); font-size: 15px;
}
.ph-doc .txt { color: var(--muted); }
.ph-doc .txt b { display: block; color: var(--ink); font-size: 14.5px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; margin: 30px 0 0; padding-left: 0; list-style: none; }
.timeline::before {
  content: ""; position: absolute; left: 92px; top: 6px; bottom: 0;
  width: 2px; background: linear-gradient(180deg, var(--red), var(--gold), var(--line));
}
.tl-item { position: relative; padding: 0 0 30px 130px; }
.tl-date {
  position: absolute; left: 0; top: 0; width: 76px; text-align: right;
  font-family: var(--serif); color: var(--red); font-size: 15px; line-height: 1.5; font-weight: 700;
}
.tl-dot {
  position: absolute; left: 86px; top: 6px; width: 14px; height: 14px;
  background: var(--white); border: 3px solid var(--red); border-radius: 50%; z-index: 2;
}
.tl-item.done .tl-dot { background: var(--red); }
.tl-body {
  background: var(--white); border: 1px solid var(--line); padding: 20px 24px;
}
.tl-body h4 { font-size: 18px; margin: 0 0 8px; }
.tl-body p { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.tl-body ul { margin: 0; padding-left: 20px; font-size: 14px; color: var(--muted); }
.tl-body ul li { margin-bottom: 5px; }
@media (max-width: 660px) {
  .timeline::before { left: 7px; }
  .tl-item { padding-left: 34px; }
  .tl-date { position: static; width: auto; text-align: left; margin-bottom: 6px; }
  .tl-dot { left: 0; top: 6px; }
}

/* ---------- 步骤 / 流程 ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 66px 1fr; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
}
.step:last-child { border-bottom: none; }
.step-no {
  width: 56px; height: 56px; border: 1px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 22px; background: #fdf7f5;
}
.step h4 { font-size: 18px; margin: 6px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 660px) { .step { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- 折叠面板 ---------- */
.acc-item { border: 1px solid var(--line); background: var(--white); margin-bottom: 12px; }
.acc-head {
  padding: 16px 20px; cursor: pointer; display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 17px; color: var(--ink); user-select: none;
}
.acc-head:hover { background: #fdfaf3; }
.acc-head .acc-no {
  width: 30px; height: 30px; flex-shrink: 0; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-family: var(--sans);
}
.acc-head .acc-arrow { margin-left: auto; color: var(--muted); transition: transform .25s; font-size: 13px; }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body { display: none; padding: 4px 22px 22px 62px; border-top: 1px solid var(--line-soft); }
.acc-item.open .acc-body { display: block; }
.acc-body p:last-child, .acc-body ul:last-child { margin-bottom: 0; }

/* ---------- 表格列表：人物卡片（占位） ---------- */
.person {
  background: var(--white); border: 1px solid var(--line); padding: 0; text-align: center;
  overflow: hidden;
}
.person .avatar {
  height: 130px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #f3ede1, #e8dfcb); color: #9a917f; font-size: 13px;
}
.person .info { padding: 16px 12px; }
.person .name { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.person .role { font-size: 13px; color: var(--muted); }

/* ---------- 组织架构 ---------- */
.org-node {
  border: 1px solid var(--red); background: #fff8f6; color: var(--red);
  font-family: var(--serif); font-size: 16px; padding: 12px 18px; text-align: center;
  letter-spacing: .08em;
}
.org-node.gold { border-color: var(--gold); background: #fdf8ea; color: var(--gold-deep); }
.org-node.plain { border-color: var(--line); background: var(--white); color: var(--ink); }
.org-arrow { text-align: center; color: var(--gold-deep); font-size: 18px; line-height: 1.2; }
.org-row { display: grid; gap: 14px; margin: 14px 0; }
.org-row.c2 { grid-template-columns: repeat(2, 1fr); }
.org-row.c3 { grid-template-columns: repeat(3, 1fr); }
.org-row.c4 { grid-template-columns: repeat(4, 1fr); }
.org-row.c5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .org-row.c3, .org-row.c4, .org-row.c5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .org-row.c2, .org-row.c3, .org-row.c4, .org-row.c5 { grid-template-columns: 1fr; } }
.org-box { border: 1px solid var(--line); background: var(--white); padding: 22px 20px; text-align: center; }
.org-box h5 { font-family: var(--serif); font-size: 16.5px; margin: 0 0 6px; color: var(--ink); }
.org-box p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- 新闻列表 ---------- */
.news-item {
  display: grid; grid-template-columns: 128px 1fr;
  gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-family: var(--serif); color: var(--red); font-size: 15px; letter-spacing: .04em;
}
.news-date span { display: block; font-size: 12.5px; color: var(--muted); font-family: var(--sans); margin-top: 2px; }
.news-title { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 0 0 8px; line-height: 1.5; }
.news-item:hover .news-title { color: var(--red); }
.news-excerpt { font-size: 14.5px; color: var(--muted); margin: 0; }
.news-item.featured { grid-template-columns: 260px 1fr; gap: 28px; background: var(--white); border: 1px solid var(--line); padding: 20px; }
@media (max-width: 760px) {
  .news-item, .news-item.featured { grid-template-columns: 1fr; gap: 10px; }
  .news-item.featured { padding: 16px; }
}
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); padding: 7px 18px;
  font-size: 14px; color: var(--ink-2); cursor: pointer; border-radius: 2px; transition: all .2s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.on { background: var(--red); border-color: var(--red); color: #fff; }

.empty-hint { text-align: center; padding: 40px 0; color: var(--muted); font-size: 14.5px; display: none; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.field label .req { color: var(--red); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  background: var(--white); font-size: 15px; font-family: var(--sans); color: var(--ink);
  border-radius: 2px; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(158,31,25,.08);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field.invalid .err { display: block; }
.field-full { grid-column: 1 / -1; }
.form-actions { margin-top: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-note { font-size: 13px; color: var(--muted); }
.form-msg { display: none; padding: 14px 18px; background: #f3f8f4; border: 1px solid #cfe3d4; color: #2f5d50; font-size: 14.5px; margin-bottom: 18px; }
.form-msg.show { display: block; }

/* ---------- 联系信息 ---------- */
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 26px 24px; height: 100%; }
.contact-card h4 { font-size: 18px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px dashed var(--line-soft); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .k { color: var(--muted); flex-shrink: 0; width: 62px; }
.contact-list .v { color: var(--ink); }

/* ---------- 侧边目录 ---------- */
.side-nav { position: sticky; top: 96px; }
.side-nav h5 { font-family: var(--serif); font-size: 16px; color: var(--ink); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--red); }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a {
  display: block; padding: 9px 12px; font-size: 14.5px; color: var(--ink-2);
  border-left: 2px solid transparent;
}
.side-nav a:hover, .side-nav a.on { color: var(--red); border-left-color: var(--red); background: #fdf8f4; }
.layout-side { display: grid; grid-template-columns: 232px 1fr; gap: 44px; align-items: start; }
@media (max-width: 940px) { .layout-side { grid-template-columns: 1fr; gap: 0; } .side-nav { display: none; } }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #221f1c; color: #b8b1a5; padding: 54px 0 0; font-size: 14px;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 1px, transparent 1px 18px);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 36px; }
.footer-grid h5 { font-family: var(--serif); color: #f0e6d4; font-size: 16px; margin: 0 0 16px; letter-spacing: .1em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #b8b1a5; font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-mark { border-color: var(--gold); color: var(--gold); width: 40px; height: 40px; font-size: 19px; }
.footer-brand .brand-cn { color: #f0e6d4; }
.footer-brand .brand-en { color: #8d867a; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8d867a;
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 返回顶部 / 阅读进度 ---------- */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); z-index: 100; width: 0; transition: width .1s; }
.to-top {
  position: fixed; right: 22px; bottom: 26px; width: 44px; height: 44px;
  background: var(--red); color: #fff; border: none; cursor: pointer; z-index: 90;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  opacity: 0; visibility: hidden; transition: .25s; border-radius: 2px; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red-deep); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 通用工具类 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-10 { margin-top: 10px; } .mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; } .mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; } .mb-30 { margin-bottom: 30px; }
.muted { color: var(--muted); }
.red { color: var(--red); }
.gold { color: var(--gold-deep); }
.small { font-size: 13.5px; }
.hairline { height: 1px; background: var(--line); margin: 30px 0; }
.doc-block { margin: 26px 0; }

/* ============ 实景配图（替换占位卡） ============ */
.shot { margin:0; border-radius:14px; overflow:hidden; border:1px solid #e8e2d6;
  background:#fff; box-shadow:0 4px 18px rgba(0,0,0,.07); }
.shot img { width:100%; display:block; aspect-ratio:16/10; object-fit:cover; }
.shot.square img { aspect-ratio:1/1; }
.shot.portrait img { aspect-ratio:4/5; }
.shot figcaption { font-size:13px; color:#8d867a; text-align:center;
  padding:10px 14px; border-top:1px solid #efe9dd; letter-spacing:1px; }

/* ============ 制度文档链接卡 ============ */
a.card.doc-link { display: block; color: inherit; }
a.card.doc-link .more { display: inline-block; margin-top: 10px; font-size: 14px; color: #9e1f19; font-weight: 600; }
a.card.doc-link:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }

/* ============ 合作伙伴培训教材（XR-A-03）============ */
.pt-cover { background: linear-gradient(135deg, #7a1611 0%, #9e1f19 55%, #c8a45c 135%); color: #fff; padding: 72px 0 58px; text-align: center; }
.pt-cover .badge { display: block; width: 112px; height: 112px; margin: 0 auto 20px; }
.pt-cover h1 { font-family: var(--serif); font-size: 36px; font-weight: 900; letter-spacing: 2px; color: #fff; margin: 0 0 12px; line-height: 1.35; }
.pt-cover .subtitle { font-size: 16px; color: #e8cf9a; letter-spacing: 2px; margin: 0 0 12px; }
.pt-cover .slogan { font-size: 15px; color: rgba(255,255,255,.86); margin: 0 0 26px; }
.pt-cover .version { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }
@media (max-width: 640px) { .pt-cover h1 { font-size: 26px; } .pt-cover { padding: 48px 0 38px; } }

.pt-mod { display: flex; align-items: center; gap: 22px; border-radius: 6px; padding: 22px 30px; margin: 36px 0 20px; color: #fff; }
.pt-mod .m-no { font-family: var(--serif); font-size: 42px; font-weight: 900; opacity: .85; line-height: 1; flex: 0 0 auto; }
.pt-mod .m-txt h2 { font-family: var(--serif); font-size: 23px; color: #fff; margin: 0 0 4px; }
.pt-mod .m-txt p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.88); }
.mb-cognition { background: linear-gradient(135deg, #2f5d50, #3d7a67); }
.mb-quality { background: linear-gradient(135deg, #225f85, #3498db); }
.mb-redline { background: linear-gradient(135deg, #7a1611, #c0392b); }
.mb-cert { background: linear-gradient(135deg, #a8863f, #c8a45c); }
.mb-exam { background: linear-gradient(135deg, #5b3478, #8e44ad); }
@media (max-width: 640px) { .pt-mod { flex-direction: column; align-items: flex-start; gap: 10px; } .pt-mod .m-no { font-size: 32px; } }

.pt-card { background: var(--white); border: 1px solid var(--line); padding: 30px 32px; margin-bottom: 24px; box-shadow: var(--shadow); }
.pt-title { font-family: var(--serif); font-size: 22px; color: var(--ink); margin: 0 0 8px; line-height: 1.4; }
.pt-tag { display: inline-block; padding: 3px 10px; border-radius: 2px; font-size: 12px; font-weight: 600; margin-bottom: 10px; letter-spacing: .06em; }
.pt-tag.pt-c { background: rgba(47,93,80,.10); color: var(--green); }
.pt-tag.pt-q { background: rgba(41,128,185,.10); color: #22618a; }
.pt-tag.pt-r { background: rgba(192,57,43,.10); color: var(--red); }
.pt-tag.pt-g { background: rgba(200,164,92,.16); color: var(--gold-deep); }
.pt-goal { background: var(--bg-2); border-left: 3px solid var(--green); padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px; color: var(--ink-2); }
.pt-goal b { color: var(--ink); }
.pt-block p { font-size: 15px; color: var(--ink-2); margin: 0 0 8px; }
.pt-block ul, .pt-block ol { padding-left: 22px; font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.pt-block strong { color: var(--ink); }
.pt-block h3 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 20px 0 10px; padding-left: 12px; border-left: 3px solid var(--gold); line-height: 1.45; }
.pt-block h4 { font-size: 16px; color: var(--green); margin: 16px 0 6px; }

.pt-call { padding: 14px 18px; border-radius: 4px; margin: 16px 0; font-size: 14.5px; color: var(--ink-2); }
.pt-call strong { color: var(--ink); }
.pt-call-gold { background: rgba(200,164,92,.12); border-left: 4px solid var(--gold); }
.pt-call-green { background: rgba(47,93,80,.08); border-left: 4px solid var(--green); }
.pt-call-red { background: #fdf3f2; border-left: 4px solid var(--red); }
.pt-call-blue { background: rgba(41,128,185,.08); border-left: 4px solid #2980b9; }

.pt-mantra { background: linear-gradient(135deg, #2f5d50, #3d7a67); color: #fff; border-radius: 6px; padding: 22px 24px; margin: 18px 0; text-align: center; }
.pt-mantra .lbl { font-size: 12.5px; color: #e8cf9a; letter-spacing: 2px; }
.pt-mantra .txt { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-top: 6px; line-height: 1.7; }

.pt-grid { display: grid; gap: 18px; margin: 16px 0; }
.pt-g2 { grid-template-columns: repeat(2, 1fr); }
.pt-g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .pt-g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .pt-g2, .pt-g3 { grid-template-columns: 1fr; } }

.pt-info { padding: 18px 18px 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; }
.pt-info h4 { font-family: var(--serif); font-size: 16px; color: var(--ink); margin: 0 0 8px; }
.pt-info ul { padding-left: 18px; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.85; }

.pt-red { display: flex; gap: 12px; align-items: flex-start; background: #fdf3f2; border: 1px solid rgba(192,57,43,.18); border-radius: 4px; padding: 12px 16px; margin-bottom: 8px; }
.pt-red .x { flex: 0 0 22px; width: 22px; height: 22px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; margin-top: 4px; }
.pt-red b { color: var(--red); }
.pt-red p { margin: 0; font-size: 14px; color: var(--ink-2); }

.pt-qbox { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 16px 20px; margin-bottom: 12px; }
.pt-qbox .q { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.pt-qbox .a { font-size: 14px; color: var(--ink-2); }

.pt-card .table-wrap { margin: 14px 0 18px; }
.pt-card table.tbl { min-width: 560px; }
@media (max-width: 640px) { .pt-card { padding: 22px 18px; } .pt-card table.tbl { min-width: 460px; font-size: 13.5px; } }

/* ============================================================
   学习中心 · 注册 / 登录 / 我的 / 考试 / 勋章 / 教务后台
   ============================================================ */
.mb-box { margin: 20px 0; }
.mb-notice { border: 1px solid var(--line); border-left: 4px solid var(--gold); background: var(--bg-2);
  border-radius: var(--radius); padding: 22px 26px; }
.mb-notice-warn { border-left-color: var(--red-light); }
.mb-notice b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.mb-notice p { margin: 0 0 12px; font-size: 14.5px; }

/* 步骤条 */
.mb-step { list-style: none; display: flex; gap: 10px; padding: 0; margin: 26px 0 22px; flex-wrap: wrap; }
.mb-step li { flex: 1 1 180px; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.mb-step li span { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); color: var(--muted);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.mb-step li.on { color: var(--ink); border-color: var(--gold); box-shadow: var(--shadow); }
.mb-step li.on span { background: var(--red); color: var(--gold); }

/* 卡片与容器 */
.mb-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; margin-bottom: 22px; box-shadow: var(--shadow); }
.mb-h { font-family: var(--serif); font-size: 21px; color: var(--ink); margin: 0 0 8px; }
.mb-h4 { font-family: var(--serif); font-size: 17px; color: var(--ink); margin: 26px 0 10px; }
.mb-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.mb-note { font-size: 13.5px; color: var(--muted); }
.mb-note b { color: var(--ink-2); }
.mb-full { grid-column: 1 / -1; }

/* Tab */
.mb-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.mb-tab { background: none; border: none; border-bottom: 2px solid transparent; padding: 10px 16px;
  font-size: 15px; color: var(--muted); cursor: pointer; font-family: var(--sans); }
.mb-tab em { font-style: normal; font-size: 12px; background: var(--bg-2); border-radius: 10px; padding: 1px 7px; margin-left: 4px; color: var(--ink-2); }
.mb-tab:hover { color: var(--ink); }
.mb-tab.on { color: var(--red); border-bottom-color: var(--red); font-weight: 600; }
.mb-tabs-main { margin-top: 8px; }
.mb-pane { display: none; }
.mb-pane.on { display: block; }

/* 表单 */
.mb-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.mb-field label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.mb-field input, .mb-field select, .mb-field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); font-size: 15px; font-family: var(--sans); color: var(--ink); }
.mb-field input:focus, .mb-field select:focus, .mb-field textarea:focus {
  outline: none; border-color: var(--red); background: var(--white); }
.mb-field input[readonly] { background: var(--bg-2); color: var(--muted); }
.mb-inline { display: flex; gap: 10px; }
.mb-inline input { flex: 1; }
.mb-inline .btn { flex-shrink: 0; }
@media (max-width: 720px) { .mb-form { grid-template-columns: 1fr; } .mb-full { grid-column: auto; } }

/* 提示信息 */
.mb-msg-box:empty { display: none; }
.mb-msg { border-radius: var(--radius); padding: 11px 16px; font-size: 14px; margin-bottom: 16px; line-height: 1.7; }
.mb-msg-ok { background: #eef4f1; border: 1px solid #cfe0d8; color: #245348; }
.mb-msg-err { background: #fbf0ef; border: 1px solid #f0d4d1; color: var(--red); }
.mb-msg-warn { background: #fdf6e8; border: 1px solid #ecdcb8; color: #8a6a1f; }
.mb-err { font-size: 13px; color: var(--red); margin-top: 5px; }
.mb-err:empty { display: none; }
.mb-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.mb-actions .btn { margin: 0; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* 微信登录块 */
.mb-wx { display: flex; gap: 18px; align-items: center; padding: 8px 0 4px; }
.mb-wx-mark { width: 54px; height: 54px; border-radius: 50%; background: #2fae67; color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 24px; flex-shrink: 0; }
.mb-wx h4 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }

/* 完成块 */
.mb-done { text-align: center; padding: 12px 0; }
.mb-done-mark { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid var(--gold);
  color: var(--red); font-family: var(--serif); font-size: 30px; display: flex; align-items: center; justify-content: center; }
.mb-done h3 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.mb-list { text-align: left; max-width: 640px; margin: 18px auto; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.mb-list li { margin-bottom: 8px; }

/* 栅格与信息块 */
.mb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mb-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .mb-grid2, .mb-grid3 { grid-template-columns: 1fr; } }
.mb-info { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.mb-info h4 { font-family: var(--serif); font-size: 17px; color: var(--ink); margin: 0 0 8px; }
.mb-info p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* 军衔卡 */
.mb-rank { background: linear-gradient(120deg, var(--red-deep), var(--red) 62%, #b8342a);
  color: #f6e9d2; border-radius: var(--radius); padding: 28px 32px; display: flex;
  justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.mb-rank-left { display: flex; align-items: center; gap: 20px; }
.mb-badge { width: 66px; height: 66px; border: 2px solid var(--gold); border-radius: 50%; color: var(--gold);
  font-family: var(--serif); font-size: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mb-rank h1 { font-family: var(--serif); font-size: 30px; margin: 0 0 2px; color: #fff; letter-spacing: .06em; }
.mb-rank-sub { margin: 0; font-size: 14.5px; color: #f3e2c6; }
.mb-sn { margin: 4px 0 0; font-size: 12.5px; color: #e2c79c; letter-spacing: .04em; }
.mb-rank-right { display: flex; gap: 30px; }
.mb-cr { text-align: center; }
.mb-cr span { display: block; font-family: var(--serif); font-size: 27px; color: var(--gold); line-height: 1.2; }
.mb-cr em { font-style: normal; font-size: 12.5px; color: #e2c79c; letter-spacing: .1em; }
.mb-progress { background: var(--white); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--radius) var(--radius);
  padding: 16px 32px 18px; margin-bottom: 22px; }
.mb-progress-bar { height: 8px; background: var(--bg-2); border-radius: 6px; overflow: hidden; }
.mb-progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--red)); }
.mb-progress p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.mb-progress b { color: var(--ink); }
@media (max-width: 720px) { .mb-rank, .mb-progress { padding-left: 20px; padding-right: 20px; } .mb-rank-right { gap: 20px; } }

/* 键值行 */
.mb-kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0; }
.mb-kv-3 { grid-template-columns: repeat(3, 1fr); }
.mb-kv-4 { grid-template-columns: repeat(4, 1fr); }
.mb-kv > div { background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 10px 14px; }
.mb-kv span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.mb-kv b { font-size: 15px; color: var(--ink); }
@media (max-width: 720px) { .mb-kv, .mb-kv-3, .mb-kv-4 { grid-template-columns: 1fr 1fr; } }

/* 课程卡 */
.mb-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .mb-courses { grid-template-columns: 1fr; } }
.mb-course { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); }
.mb-course.locked { opacity: .72; background: var(--bg-2); }
.mb-course-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mb-code { font-size: 12px; letter-spacing: .12em; color: var(--gold-deep); border: 1px solid var(--gold);
  border-radius: 3px; padding: 1px 7px; }
.mb-course-h h4 { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0; flex: 1; }
.mb-tag { font-size: 12.5px; color: var(--muted); background: var(--bg-2); border-radius: 12px; padding: 2px 10px; }
.mb-tag.ok { color: #245348; background: #e6f0eb; }
.mb-tag.no { color: var(--red); background: #fbecea; }
.mb-course-sum { font-size: 14px; color: var(--ink-2); margin: 8px 0 4px; }
.mb-course-act { display: flex; gap: 10px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.mb-course-act .btn { margin: 0; }
.mb-lock { font-size: 13.5px; color: var(--muted); }

/* 勋章墙 */
.mb-medals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 900px) { .mb-medals { grid-template-columns: repeat(3, 1fr); } }
.mb-medal { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px; text-align: center; filter: grayscale(1); opacity: .55; }
.mb-medal.on { filter: none; opacity: 1; border-color: var(--gold); box-shadow: var(--shadow); background: var(--white); }
.mb-medal-i { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--gold); color: var(--red); font-family: var(--serif); font-size: 24px;
  display: flex; align-items: center; justify-content: center; }
.mb-medal.achv .mb-medal-i { border-color: var(--green); color: var(--green); }
.mb-medal b { display: block; font-size: 14.5px; color: var(--ink); }
.mb-medal em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin: 2px 0 6px; }
.mb-medal i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.mb-medal.on i { color: var(--gold-deep); }
.mb-medal-chip { display: inline-block; background: var(--white); border: 1px solid var(--gold); color: var(--gold-deep);
  border-radius: 14px; padding: 2px 12px; margin: 0 6px 6px 0; font-size: 13.5px; }

/* 学习计时条 */
.mb-studybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--ink);
  color: #e8e0d0; box-shadow: 0 -6px 22px rgba(0,0,0,.18); }
.mb-studybar-in { display: flex; align-items: center; gap: 18px; padding: 12px 0; flex-wrap: wrap; }
.mb-studybar-t { font-size: 14.5px; }
.mb-studybar-t b { color: var(--gold); font-weight: 600; }
.mb-studybar-c { font-family: var(--serif); font-size: 20px; color: var(--gold); letter-spacing: .08em; }
.mb-studybar .btn-outline { margin-left: auto; color: #e8e0d0; border-color: rgba(232,224,208,.5); }
.mb-studybar .btn-outline:hover { background: rgba(232,224,208,.12); }

/* 流程条 */
.mb-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .mb-flow { grid-template-columns: 1fr; } }
.mb-flow li { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: var(--radius); padding: 20px; }
.mb-flow li span { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--red);
  color: var(--gold); align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.mb-flow li b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.mb-flow li i { font-style: normal; font-size: 13.5px; color: var(--muted); }

/* 考试 */
.mb-exambar { position: sticky; top: 62px; z-index: 40; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 20px; display: flex; gap: 26px; margin-bottom: 18px;
  font-size: 14.5px; color: var(--muted); box-shadow: var(--shadow); }
.mb-exambar b { color: var(--ink); font-family: var(--serif); font-size: 17px; }
.mb-exambar-r { margin-left: auto; }
.mb-q { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 16px; box-shadow: var(--shadow); }
.mb-q-right { border-left: 3px solid var(--green); }
.mb-q-wrong { border-left: 3px solid var(--red); }
.mb-q-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mb-q-no { width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: var(--gold);
  font-size: 13px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.mb-q-type { font-size: 12.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 1px 8px; }
.mb-q-score { font-size: 12.5px; color: var(--gold-deep); margin-left: auto; }
.mb-q-stem { font-size: 16px; color: var(--ink); margin: 0 0 14px; }
.mb-q-opts { display: grid; gap: 10px; }
.mb-opt { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; background: var(--bg); }
.mb-opt:hover { border-color: var(--gold); background: var(--white); }
.mb-opt input { margin: 5px 0 0; }
.mb-opt-l { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  font-size: 12.5px; color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mb-opt-r { font-size: 14.5px; color: var(--ink-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 9px 14px; display: flex; gap: 10px; background: var(--bg); }
.mb-opt-r.right { border-color: var(--green); background: #eef4f1; color: #245348; }
.mb-opt-r.wrong { border-color: var(--red-light); background: #fbf0ef; color: var(--red); }
.mb-explain { margin-top: 12px; background: var(--bg-2); border-radius: var(--radius); padding: 12px 16px; font-size: 14px; }
.mb-explain b { display: block; color: var(--ink); margin-bottom: 3px; }
.mb-explain span { color: var(--ink-2); }

/* 成绩卡 */
.mb-result { display: flex; gap: 30px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.mb-result-score { text-align: center; min-width: 160px; position: relative; }
.mb-result-score span { font-family: var(--serif); font-size: 62px; color: var(--red); line-height: 1; }
.mb-result-score em { font-style: normal; font-size: 18px; color: var(--muted); margin-left: 4px; }
.mb-result-score i { display: block; font-style: normal; font-size: 15px; margin-top: 6px; }
.mb-result-info { flex: 1; min-width: 260px; }
.mb-result-info h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 0 0 6px; }
.mb-ok { color: var(--green); font-weight: 600; }
.mb-no { color: var(--red); font-weight: 600; }

/* 提示色块 */
.mb-call-gold, .mb-call-green, .mb-call-red { border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px; margin: 14px 0; }
.mb-call-gold b, .mb-call-green b, .mb-call-red b { color: var(--ink); }
.mb-call-gold { background: #fdf6e8; border: 1px solid #ecdcb8; color: #6b5714; }
.mb-call-green { background: #eef4f1; border: 1px solid #cfe0d8; color: #245348; }
.mb-call-red { background: #fbf0ef; border: 1px solid #f0d4d1; color: var(--red); }

/* 教务后台 */
.mb-person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 16px; box-shadow: var(--shadow); }
.mb-person-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.mb-person-h b { font-size: 17px; color: var(--ink); }
.mb-review { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px;
  border-top: 1px dashed var(--line); padding-top: 14px; }
.mb-review label { font-size: 14px; color: var(--ink); }
.mb-level, .mb-note-input { padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; font-family: var(--sans); background: var(--bg); }
.mb-note-input { flex: 1; min-width: 220px; }
.mb-review .btn { margin: 0; }
.mb-loading { padding: 26px; text-align: center; color: var(--muted); font-size: 14.5px; }
