/* ==========================================================================
   墨狐创意文化服务 · 全站样式
   设计基调：墨黛 + 宣纸白 + 赭石，文化质感 + 现代信息密度
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink:        #23282B;   /* 墨字 */
  --ink-2:      #3C4548;   /* 次级墨 */
  --ink-3:      #6B7280;   /* 灰注 */
  --ink-4:      #9AA1A6;   /* 浅灰 */
  --dai:        #2C4A52;   /* 墨黛 主色 */
  --dai-light:  #3D626C;
  --dai-pale:   #E8EDEE;
  --zhe:        #B85C38;   /* 赭石 强调 */
  --zhe-pale:   #F7EBE4;
  --tai:        #5C7A5A;   /* 苔绿 认证 */
  --tai-pale:   #EDF2EC;
  --paper:      #F7F4EE;   /* 宣纸白 */
  --paper-2:    #FBFAF7;
  --card:       #FFFFFF;
  --line:       #E7E1D8;
  --line-2:     #F0ECE4;
  --gold:       #C9A227;

  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --shadow:    0 1px 2px rgba(35,40,43,.04), 0 4px 16px rgba(35,40,43,.05);
  --shadow-md: 0 2px 6px rgba(35,40,43,.06), 0 12px 32px rgba(35,40,43,.08);
  --shadow-lg: 0 8px 24px rgba(35,40,43,.10), 0 24px 60px rgba(35,40,43,.10);

  --max: 1200px;
  --nav-h: 62px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
table { border-collapse: collapse; width: 100%; }

.serif { font-family: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", Georgia, serif; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 3. 顶部合规条 ---------- */
.topbar {
  background: var(--dai);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  height: 34px;
  display: flex;
  align-items: center;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar a { color: rgba(255,255,255,.9); }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar-left .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.4); flex: none; }
.topbar-left span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 14px; flex: none; }

/* ---------- 4. 头部 ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--nav-h); }

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(145deg, var(--dai), #17323A);
  color: #fff; display: grid; place-items: center;
  font-family: "Songti SC", "STSong", serif; font-size: 20px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(44,74,82,.28);
  letter-spacing: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 16.5px; font-family: "Songti SC", "STSong", serif; letter-spacing: 1px; }
.logo-text small { font-size: 10.5px; color: var(--ink-4); letter-spacing: .4px; }

.main-nav { display: flex; gap: 2px; margin-left: 6px; }
.main-nav a {
  padding: 0 15px; height: var(--nav-h); display: flex; align-items: center;
  font-size: 14.5px; color: var(--ink-2); position: relative; white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 12px;
  height: 2px; background: var(--zhe); border-radius: 2px;
  transform: scaleX(0); transition: transform .22s ease;
}
.main-nav a:hover { color: var(--dai); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--dai); font-weight: 600; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.search-box { position: relative; }
.search-box input {
  width: 190px; height: 34px; padding: 0 34px 0 13px;
  border: 1px solid var(--line); border-radius: 17px; background: var(--paper-2);
  font-size: 13px; outline: none; transition: .2s;
}
.search-box input:focus { border-color: var(--dai-light); background: #fff; width: 220px; }
.search-box button {
  position: absolute; right: 4px; top: 4px; width: 26px; height: 26px;
  border-radius: 50%; color: var(--ink-3); display: grid; place-items: center;
}
.search-box button:hover { background: var(--dai-pale); color: var(--dai); }

.user-chip { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--dai-pale); color: var(--dai);
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
}
.user-chip span { font-size: 13px; color: var(--ink-2); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 20px; border-radius: var(--r);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: .18s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--dai); color: #fff; }
.btn-primary:hover { background: var(--dai-light); box-shadow: 0 4px 14px rgba(44,74,82,.25); }
.btn-accent { background: var(--zhe); color: #fff; }
.btn-accent:hover { background: #a5512f; box-shadow: 0 4px 14px rgba(184,92,56,.25); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--dai); color: var(--dai); }
.btn-sm { height: 30px; padding: 0 13px; font-size: 12.5px; border-radius: 6px; }
.btn-lg { height: 46px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled {
  background: var(--line-2); color: var(--ink-4); cursor: not-allowed;
  box-shadow: none; border-color: transparent;
}

/* ---------- 6. 标签 / 徽章 ---------- */
.tag {
  display: inline-flex; align-items: center; height: 21px; padding: 0 8px;
  border-radius: 3px; font-size: 11.5px; line-height: 1;
  background: var(--dai-pale); color: var(--dai); white-space: nowrap;
}
.tag-zhe { background: var(--zhe-pale); color: var(--zhe); }
.tag-tai { background: var(--tai-pale); color: var(--tai); }
.tag-line { background: transparent; border: 1px solid var(--line); color: var(--ink-3); }
.tag-gold { background: #FBF3DC; color: #8A6D13; }
.verified {
  display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--tai);
}
.verified::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%;
  background: var(--tai);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1l4 1.6v3.6c0 2.4-1.7 4.2-4 4.8-2.3-.6-4-2.4-4-4.8V2.6L6 1z' fill='%23000'/%3E%3Cpath d='M4.2 6.1l1.3 1.3 2.4-2.6' stroke='%23fff' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1l4 1.6v3.6c0 2.4-1.7 4.2-4 4.8-2.3-.6-4-2.4-4-4.8V2.6L6 1z' fill='%23000'/%3E%3Cpath d='M4.2 6.1l1.3 1.3 2.4-2.6' stroke='%23fff' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #22414A 0%, #2C4A52 45%, #3D626C 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(201,162,39,.16), transparent 42%),
    radial-gradient(circle at 82% 70%, rgba(184,92,56,.14), transparent 44%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .07;
  background-image:
    repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 13px),
    repeating-linear-gradient(-45deg, #fff 0 1px, transparent 1px 13px);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center; padding: 64px 0 58px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; height: 27px; padding: 0 13px;
  border-radius: 14px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18); font-size: 12.5px; margin-bottom: 20px;
}
.hero-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: block; }
.hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 46px; line-height: 1.22; letter-spacing: 2px; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 15.5px; color: rgba(255,255,255,.76); max-width: 500px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-cta .btn-ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }
.hero-cta .btn-ghost:hover { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }

.hero-stats { display: flex; gap: 38px; }
.hero-stat b { display: block; font-size: 26px; font-family: "Songti SC", serif; letter-spacing: .5px; }
.hero-stat span { font-size: 12.5px; color: rgba(255,255,255,.62); }

.hero-panel {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); padding: 22px;
  backdrop-filter: blur(6px);
}
.hero-panel h4 {
  font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500;
  margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
}
.hero-panel h4::before { content: ''; width: 3px; height: 13px; background: var(--gold); border-radius: 2px; }
.hero-panel-item {
  display: flex; gap: 11px; padding: 11px 0;
  border-bottom: 1px dashed rgba(255,255,255,.14);
}
.hero-panel-item:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-panel-item:first-of-type { padding-top: 0; }
.hp-ico {
  width: 32px; height: 32px; border-radius: 8px; flex: none;
  background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 15px;
}
.hp-txt b { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 2px; }
.hp-txt span { font-size: 12px; color: rgba(255,255,255,.55); }

/* ---------- 8. 区块标题 ---------- */
.section { padding: 52px 0; }
.section-tight { padding: 38px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 26px;
}
.section-head h2 {
  font-family: "Songti SC", "STSong", serif; font-size: 25px; letter-spacing: 1px;
  display: flex; align-items: center; gap: 11px;
}
.section-head h2::before {
  content: ''; width: 4px; height: 22px; background: var(--zhe); border-radius: 2px;
}
.section-head p { font-size: 13px; color: var(--ink-3); margin-top: 6px; padding-left: 15px; }
.section-more { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.section-more:hover { color: var(--zhe); }

/* ---------- 9. 分类导航 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 18px; transition: .2s; position: relative; overflow: hidden;
}
.cat-card::after {
  content: ''; position: absolute; right: -22px; bottom: -22px;
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--dai-pale); opacity: .5; transition: .25s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--dai-light); }
.cat-card:hover::after { transform: scale(1.5); opacity: .28; }
.cat-ico {
  width: 40px; height: 40px; border-radius: 10px; background: var(--dai-pale);
  display: grid; place-items: center; font-size: 19px; margin-bottom: 12px;
}
.cat-card h3 { font-size: 15.5px; margin-bottom: 5px; }
.cat-card p { font-size: 12.5px; color: var(--ink-3); margin-bottom: 10px; }
.cat-card .cat-count { font-size: 11.5px; color: var(--ink-4); position: relative; z-index: 1; }

/* ---------- 10. 筛选条 ---------- */
.filter-bar {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.filter-label { font-size: 13px; color: var(--ink-3); flex: none; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  height: 28px; padding: 0 13px; border-radius: 14px; font-size: 12.5px;
  border: 1px solid var(--line); color: var(--ink-2); background: #fff;
  display: inline-flex; align-items: center; transition: .16s;
}
.chip:hover { border-color: var(--dai-light); color: var(--dai); }
.chip.on { background: var(--dai); border-color: var(--dai); color: #fff; }
.chip.on:hover { background: var(--dai-light); color: #fff; }
.chip-count { opacity: .5; margin-left: 4px; }
.filter-right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.filter-right select {
  height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font-size: 13px; outline: none; color: var(--ink-2);
}

/* ---------- 11. 主体布局 ---------- */
.layout-main { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.layout-side { display: grid; grid-template-columns: 1fr; gap: 16px; position: sticky; top: 78px; }

.side-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px;
}
.side-card h4 {
  font-size: 14.5px; margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.side-card h4::before { content: ''; width: 3px; height: 14px; background: var(--zhe); border-radius: 2px; }
.side-card h4 a { margin-left: auto; font-size: 12px; color: var(--ink-4); font-weight: 400; }
.side-card h4 a:hover { color: var(--zhe); }

.notice-list li {
  display: flex; gap: 9px; padding: 8px 0; font-size: 13px; line-height: 1.6;
  border-bottom: 1px dashed var(--line-2); color: var(--ink-2);
}
.notice-list li:last-child { border-bottom: 0; }
.notice-list time { color: var(--ink-4); font-size: 11.5px; flex: none; padding-top: 3px; }

.rank-list { display: grid; gap: 10px; }
.rank-item { display: flex; gap: 10px; align-items: center; }
.rank-no {
  width: 18px; height: 18px; border-radius: 4px; flex: none;
  background: var(--line-2); color: var(--ink-3);
  font-size: 11px; font-weight: 600; display: grid; place-items: center;
}
.rank-item:nth-child(-n+3) .rank-no { background: var(--zhe); color: #fff; }
.rank-item p {
  font-size: 13px; color: var(--ink-2); overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
}
.rank-item:hover p { color: var(--zhe); }

.side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side-stat { background: var(--paper-2); border-radius: 6px; padding: 12px; }
.side-stat b { display: block; font-size: 19px; font-family: "Songti SC", serif; color: var(--dai); }
.side-stat span { font-size: 11.5px; color: var(--ink-3); }

/* ---------- 12. 信息卡 ---------- */
.post-list { display: grid; gap: 12px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px 20px; transition: .18s; position: relative;
}
.post-card:hover { border-color: var(--dai-light); box-shadow: var(--shadow); }
.post-card:hover .post-title { color: var(--zhe); }
.post-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 9px; }
.post-title {
  font-size: 16px; font-weight: 600; line-height: 1.5; margin-bottom: 7px;
  transition: color .18s;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.post-excerpt {
  font-size: 13.2px; color: var(--ink-3); line-height: 1.68; margin-bottom: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-4);
}
.post-meta .who { display: flex; align-items: center; gap: 6px; color: var(--ink-3); }
.post-meta .avatar { width: 20px; height: 20px; font-size: 10px; }
.post-meta .meta-right { margin-left: auto; display: flex; gap: 14px; }
.post-thumb {
  width: 116px; height: 82px; border-radius: 6px; flex: none;
  overflow: hidden; position: relative;
}
.post-thumb .cov { width: 100%; height: 100%; }
.post-body { display: flex; gap: 16px; }
.post-body > div:first-child { flex: 1; min-width: 0; }

.cover {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-family: "Songti SC", serif; color: rgba(255,255,255,.9);
  font-size: 22px; letter-spacing: 2px; position: relative; overflow: hidden;
}
.cover::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.09) 0 1px, transparent 1px 12px);
}
.c1 { background: linear-gradient(135deg, #2C4A52, #4A7078); }
.c2 { background: linear-gradient(135deg, #B85C38, #D08A63); }
.c3 { background: linear-gradient(135deg, #5C7A5A, #86A583); }
.c4 { background: linear-gradient(135deg, #6B5B8E, #9182B0); }
.c5 { background: linear-gradient(135deg, #A8963C, #C9B061); }
.c6 { background: linear-gradient(135deg, #3E6C8C, #6C97B4); }

/* ---------- 13. 分页 ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 26px; }
.pagination a,
.pagination button,
.pagination .disabled,
.pagination span.on {
  min-width: 33px; height: 33px; padding: 0 9px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2);
  display: inline-flex; align-items: center; justify-content: center;
}
.pagination a:hover,
.pagination button:hover:not([disabled]) { border-color: var(--dai); color: var(--dai); }
.pagination a.on,
.pagination button.on,
.pagination span.on { background: var(--dai); border-color: var(--dai); color: #fff; }
.pagination .disabled,
.pagination button[disabled] { color: var(--ink-4); background: var(--paper-2); cursor: not-allowed; }
.pagination .dots { color: var(--ink-4); padding: 0 2px; }

/* ---------- 14. Tab 切换 ---------- */
.tabs { display: flex; gap: 3px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs button {
  padding: 0 16px; height: 40px; font-size: 14.5px; color: var(--ink-3);
  position: relative; transition: .16s;
}
.tabs button::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: -1px;
  height: 2px; background: var(--zhe); transform: scaleX(0); transition: .2s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--dai); font-weight: 600; }
.tabs button.on::after { transform: scaleX(1); }

/* ---------- 15. 机构服务 / 公益 ---------- */
.inst-banner {
  background: linear-gradient(120deg, #FBF7F0, #F3EDE3);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 36px; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
}
.inst-banner h2 {
  font-family: "Songti SC", serif; font-size: 26px; margin-bottom: 12px; letter-spacing: .5px;
}
.inst-banner p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; margin-bottom: 20px; }
.inst-points { display: grid; gap: 9px; margin-bottom: 22px; }
.inst-points li { display: flex; gap: 9px; font-size: 13px; color: var(--ink-2); align-items: flex-start; }
.inst-points li::before {
  content: ''; width: 15px; height: 15px; border-radius: 50%; flex: none; margin-top: 4px;
  background: var(--tai-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' stroke='%235C7A5A' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.inst-price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow);
}
.price-tag { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.price-tag b { font-size: 38px; font-family: "Songti SC", serif; color: var(--zhe); }
.price-tag span { font-size: 13px; color: var(--ink-3); }
.inst-price ul { margin: 18px 0 22px; display: grid; gap: 9px; }
.inst-price ul li { font-size: 13px; color: var(--ink-2); display: flex; gap: 8px; align-items: flex-start; }
.inst-price ul li::before { content: '◆'; color: var(--gold); font-size: 8px; margin-top: 7px; }

/* 公益说明卡 */
.public-card {
  background: linear-gradient(135deg, #2C4A52, #3D626C); color: #fff;
  border-radius: var(--r-lg); padding: 28px 30px;
}
.public-card h3 {
  font-family: "Songti SC", serif; font-size: 20px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 9px;
}
.public-card p { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.85; margin-bottom: 16px; }
.public-card ul { display: grid; gap: 8px; }
.public-card ul li { font-size: 12.5px; color: rgba(255,255,255,.82); display: flex; gap: 8px; }
.public-card ul li::before { content: '—'; color: var(--gold); flex: none; }

/* ---------- 16. 四宫格特色 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px; transition: .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-ico {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  font-size: 21px; margin-bottom: 14px;
}
.feature-card h3 { font-size: 15.5px; margin-bottom: 8px; }
.feature-card p { font-size: 12.8px; color: var(--ink-3); line-height: 1.75; }

/* ---------- 17. 统计数据 ---------- */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
}
.stats-strip > div { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line-2); }
.stats-strip > div:last-child { border-right: 0; }
.stats-strip b {
  display: block; font-size: 32px; font-family: "Songti SC", serif;
  color: var(--dai); line-height: 1.2; letter-spacing: .5px;
}
.stats-strip b small { font-size: 15px; margin-left: 2px; }
.stats-strip span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 18. 详情页 ---------- */
.detail-head { background: #fff; border-bottom: 1px solid var(--line); padding: 32px 0 26px; }
.crumb { font-size: 12.5px; color: var(--ink-4); margin-bottom: 16px; display: flex; gap: 7px; align-items: center; }
.crumb a:hover { color: var(--zhe); }
.detail-title { font-size: 27px; font-family: "Songti SC", serif; line-height: 1.4; margin-bottom: 14px; }
.detail-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-4); align-items: center; }
.detail-meta .who { display: flex; align-items: center; gap: 7px; color: var(--ink-2); }
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
.detail-body {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 34px;
}
.detail-body h4 {
  font-size: 15px; margin: 24px 0 12px; padding-left: 11px;
  border-left: 3px solid var(--zhe); line-height: 1.3;
}
.detail-body p { font-size: 14px; color: var(--ink-2); line-height: 1.95; margin-bottom: 14px; }
.detail-body ul { margin: 0 0 16px; display: grid; gap: 8px; }
.detail-body ul li { font-size: 13.5px; color: var(--ink-2); padding-left: 17px; position: relative; line-height: 1.8; }
.detail-body ul li::before {
  content: ''; position: absolute; left: 3px; top: 10px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--zhe);
}
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 20px; }
.detail-gallery .cover { height: 118px; border-radius: 6px; font-size: 18px; }

.info-table { width: 100%; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 22px; }
.info-table th, .info-table td { padding: 12px 16px; font-size: 13.5px; border-bottom: 1px solid var(--line-2); text-align: left; }
.info-table th { background: var(--paper-2); color: var(--ink-3); font-weight: 500; width: 110px; white-space: nowrap; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table td { color: var(--ink-2); }

.contact-box {
  margin: 26px 0; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper-2); padding: 22px; text-align: center;
}
.contact-box.locked .cb-mask { display: block; }
.cb-mask { display: none; }
.cb-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.cb-sub { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; }
.contact-line {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px dashed var(--line);
}
.contact-line div { text-align: center; }
.contact-line b { display: block; font-size: 18px; font-family: "Songti SC", serif; color: var(--dai); margin-bottom: 3px; }
.contact-line span { font-size: 12px; color: var(--ink-3); }
.cb-tip { font-size: 11.5px; color: var(--ink-4); margin-top: 14px; }

.report-btn {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px;
  color: var(--ink-4); margin-top: 24px; padding-top: 16px;
  border-top: 1px dashed var(--line); width: 100%;
}
.report-btn:hover { color: var(--zhe); }

/* ---------- 19. 表单 ---------- */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 34px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 8px;
}
.form-group label em { color: var(--zhe); font-style: normal; margin-left: 3px; }
.form-group .hint { font-size: 12px; color: var(--ink-4); margin-top: 6px; }
.form-control {
  width: 100%; height: 42px; padding: 0 13px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--paper-2); font-size: 14px; outline: none;
  transition: .18s;
}
.form-control:focus { border-color: var(--dai-light); background: #fff; box-shadow: 0 0 0 3px rgba(44,74,82,.07); }
textarea.form-control { height: auto; min-height: 130px; padding: 11px 13px; line-height: 1.75; resize: vertical; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: var(--r);
  font-size: 13.5px; cursor: pointer; transition: .16s; background: var(--paper-2);
}
.radio-pill:hover { border-color: var(--dai-light); }
.radio-pill.on { border-color: var(--dai); background: var(--dai-pale); color: var(--dai); font-weight: 500; }
.check-line { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.check-line input { margin-top: 4px; accent-color: var(--dai); }
.check-line a { color: var(--dai); text-decoration: underline; }
.upload-box {
  border: 1px dashed var(--line); border-radius: var(--r); background: var(--paper-2);
  padding: 26px; text-align: center; color: var(--ink-3); font-size: 13px; cursor: pointer;
  transition: .18s;
}
.upload-box:hover { border-color: var(--dai-light); background: var(--dai-pale); color: var(--dai); }
.upload-box .up-ico { font-size: 24px; margin-bottom: 8px; }
.form-note {
  background: var(--zhe-pale); border-left: 3px solid var(--zhe);
  padding: 13px 16px; border-radius: 0 6px 6px 0; font-size: 12.8px;
  color: #7d4529; line-height: 1.8; margin-bottom: 22px;
}
.form-note strong { color: var(--zhe); }
.quota-tip {
  background: var(--tai-pale); border: 1px solid #D6E3D3; border-radius: var(--r);
  padding: 13px 16px; font-size: 13px; color: #40604A; margin-bottom: 22px;
  display: flex; align-items: center; gap: 9px;
}
.quota-tip b { color: var(--tai); }

/* ---------- 20. 机构服务页 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; position: relative; transition: .2s;
}
.plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.plan-card.hot { border-color: var(--zhe); box-shadow: 0 4px 22px rgba(184,92,56,.12); }
.plan-badge {
  position: absolute; top: -11px; left: 24px; height: 22px; padding: 0 11px;
  background: var(--zhe); color: #fff; border-radius: 11px;
  font-size: 11.5px; display: inline-flex; align-items: center;
}
.plan-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.plan-desc { font-size: 12.5px; color: var(--ink-3); margin-bottom: 16px; min-height: 36px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.plan-price b { font-size: 32px; font-family: "Songti SC", serif; color: var(--zhe); }
.plan-price span { font-size: 12.5px; color: var(--ink-3); }
.plan-card ul { display: grid; gap: 9px; margin-bottom: 20px; }
.plan-card ul li { font-size: 12.8px; color: var(--ink-2); display: flex; gap: 7px; align-items: flex-start; }
.plan-card ul li::before { content: '✓'; color: var(--tai); font-size: 11px; margin-top: 3px; font-weight: 700; }
.plan-card ul li.off { color: var(--ink-4); }
.plan-card ul li.off::before { content: '×'; color: var(--ink-4); font-weight: 400; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; position: relative;
}
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: "Songti SC", serif; font-size: 26px; color: var(--zhe); opacity: .22;
  display: block; margin-bottom: 6px;
}
.step h4 { font-size: 14.5px; margin-bottom: 7px; }
.step p { font-size: 12.5px; color: var(--ink-3); line-height: 1.75; }

.account-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.account-head {
  background: var(--dai); color: #fff; padding: 16px 24px;
  display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500;
}
.account-body { padding: 22px 24px; }
.account-row {
  display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 9px 0;
  font-size: 13.5px; border-bottom: 1px dashed var(--line-2);
}
.account-row:last-child { border-bottom: 0; }
.account-row dt { color: var(--ink-3); white-space: nowrap; }
.account-row dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-all; }
.account-note { font-size: 12px; color: var(--ink-3); margin-top: 16px; line-height: 1.8; }

/* ---------- 21. 对比表（权益对比等） ---------- */
/* 独立样式，不复用 .legal-doc —— 后者是文档正文容器，带 padding/background，
   套到 table 上会导致单元格内容被挤压贴边 */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 13.2px;
}
.cmp-table th,
.cmp-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  line-height: 1.6;
}
.cmp-table thead th {
  background: var(--paper-2);
  color: var(--ink-2);
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.cmp-table thead th:first-child { color: var(--ink-3); font-weight: 500; }
.cmp-table tbody td:first-child {
  color: var(--ink-2);
  font-weight: 500;
  width: 34%;
}
.cmp-table tbody td { color: var(--ink-3); }
.cmp-table tbody td:not(:first-child) { color: var(--ink-2); }
/* 机构列强调 */
.cmp-table thead th:last-child,
.cmp-table tbody td:last-child { background: rgba(44,74,82,.035); }
/* 勾 / 叉 / 破折号的语义色 */
.cmp-yes { color: var(--tai) !important; font-weight: 600; }
.cmp-no  { color: var(--ink-4) !important; }
.cmp-txt { color: var(--zhe) !important; }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody tr:hover td { background: var(--paper-2); }
.cmp-table tbody tr:hover td:last-child { background: rgba(44,74,82,.05); }

/* 窄屏时对比表横向滚动，避免文字挤压换行 */
.cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table-wrap .cmp-table { min-width: 520px; }

/* ---------- 22. 关于我们 / 联系 ---------- */
.about-hero {
  background: linear-gradient(135deg, #22414A, #3D626C); color: #fff;
  padding: 54px 0; position: relative; overflow: hidden;
}
.about-hero::after {
  content: ''; position: absolute; inset: 0; opacity: .06;
  background-image: repeating-linear-gradient(45deg, #fff 0 1px, transparent 1px 14px);
}
.about-hero h1 { font-family: "Songti SC", serif; font-size: 34px; letter-spacing: 2px; margin-bottom: 12px; position: relative; }
.about-hero p { font-size: 14px; color: rgba(255,255,255,.72); max-width: 660px; position: relative; line-height: 1.9; }

.about-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.prose { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 36px; }
.prose h2 { font-family: "Songti SC", serif; font-size: 22px; margin: 30px 0 14px; display: flex; align-items: center; gap: 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { content: ''; width: 3px; height: 19px; background: var(--zhe); border-radius: 2px; }
.prose h3 { font-size: 15.5px; margin: 22px 0 10px; }
.prose p { font-size: 14px; color: var(--ink-2); line-height: 2; margin-bottom: 13px; }
.prose ul { display: grid; gap: 9px; margin-bottom: 16px; }
.prose ul li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.85; }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--dai-light);
}

.qual-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.qual-card h3 { font-size: 16px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.qual-card h3::before { content: ''; width: 3px; height: 15px; background: var(--zhe); border-radius: 2px; }
.qual-item { padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.qual-item:last-child { border-bottom: 0; }
.qual-item dt { font-size: 12px; color: var(--ink-4); margin-bottom: 3px; }
.qual-item dd { margin: 0; font-size: 13.5px; color: var(--ink); font-weight: 500; word-break: break-all; }
.qual-item dd.pending { color: var(--ink-4); font-weight: 400; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.contact-card .cc-ico {
  width: 40px; height: 40px; border-radius: 10px; background: var(--dai-pale);
  display: grid; place-items: center; font-size: 19px; margin-bottom: 13px;
}
.contact-card h4 { font-size: 15px; margin-bottom: 8px; }
.contact-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; word-break: break-all; }
.contact-card .cc-label { font-size: 12px; color: var(--ink-4); margin-bottom: 3px; }

.map-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  height: 300px; display: grid; place-items: center; color: var(--ink-4); font-size: 13px;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 34px 34px;
  position: relative;
}
.map-pin {
  width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--zhe); display: grid; place-items: center; margin-bottom: 14px;
}
.map-pin::after {
  content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff;
}
.map-text { position: absolute; bottom: 22px; font-size: 13px; color: var(--ink-3); }

/* ---------- 22. 协议中心 ---------- */
.legal-layout { display: grid; grid-template-columns: 226px 1fr; gap: 24px; align-items: start; }
.legal-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; position: sticky; top: 78px; }
.legal-nav h4 { font-size: 13px; color: var(--ink-4); padding: 6px 10px 10px; font-weight: 500; }
.legal-nav a {
  display: block; padding: 10px 12px; border-radius: 6px; font-size: 13.5px; color: var(--ink-2);
}
.legal-nav a:hover { background: var(--paper-2); }
.legal-nav a.on { background: var(--dai); color: #fff; }
.legal-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 40px; }
.legal-doc h1 { font-family: "Songti SC", serif; font-size: 26px; margin-bottom: 8px; }
.legal-doc .doc-meta { font-size: 12.5px; color: var(--ink-4); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.legal-doc h3 { font-size: 16px; margin: 26px 0 12px; }
.legal-doc p { font-size: 13.8px; color: var(--ink-2); line-height: 2; margin-bottom: 13px; }
.legal-doc ul { display: grid; gap: 8px; margin-bottom: 16px; }
.legal-doc ul li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.85; }
.legal-doc ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--dai-light);
}
.legal-doc table { font-size: 13px; margin-bottom: 18px; }
.anchor-target { display: block; height: 0; scroll-margin-top: 80px; }
.legal-doc table th, .legal-doc table td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.legal-doc table th { background: var(--paper-2); color: var(--ink-3); font-weight: 500; }

/* ---------- 23. 用户中心 ---------- */
.user-layout { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.user-menu { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.user-menu a {
  display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 6px;
  font-size: 13.5px; color: var(--ink-2);
}
.user-menu a:hover { background: var(--paper-2); }
.user-menu a.on { background: var(--dai-pale); color: var(--dai); font-weight: 500; }
.user-profile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; }
.status-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin: 22px 0 18px; }
.status-tabs button { padding: 0 2px 11px; font-size: 14px; color: var(--ink-3); position: relative; }
.status-tabs button::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--zhe); transform: scaleX(0); transition: .2s;
}
.status-tabs button.on { color: var(--dai); font-weight: 600; }
.status-tabs button.on::after { transform: scaleX(1); }
.status-pill { font-size: 11.5px; padding: 2px 8px; border-radius: 3px; }
.st-wait { background: #FBF3DC; color: #8A6D13; }
.st-pass { background: var(--tai-pale); color: var(--tai); }
.st-reject { background: var(--zhe-pale); color: var(--zhe); }
.st-off { background: var(--line-2); color: var(--ink-3); }

/* ---------- 24. 机构开通申请 ---------- */
.apply-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.voucher-box {
  border: 1px dashed var(--line); border-radius: var(--r); background: var(--paper-2);
  padding: 30px; text-align: center; color: var(--ink-3); font-size: 13px;
}
.order-no {
  background: var(--zhe-pale); border: 1px dashed #E3C4B0; border-radius: var(--r);
  padding: 14px 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.order-no b { font-size: 17px; font-family: "Songti SC", serif; color: var(--zhe); letter-spacing: 1px; }
.order-no span { font-size: 12.5px; color: #8a5a3c; }

/* ---------- 25. 页脚 ---------- */
.site-footer { background: #1D3038; color: rgba(255,255,255,.62); margin-top: 56px; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding: 44px 0 34px; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand p { font-size: 12.5px; line-height: 1.9; margin: 14px 0 16px; max-width: 280px; }
.footer-col h5 { font-size: 13.5px; color: #fff; margin-bottom: 14px; font-weight: 500; }
.footer-col li { margin-bottom: 9px; font-size: 12.5px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact { font-size: 12.5px; line-height: 2; }
.footer-contact b { color: #fff; font-weight: 500; display: block; font-size: 14px; }

.footer-compliance {
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0;
  font-size: 12px; line-height: 2; color: rgba(255,255,255,.5);
}
.footer-compliance a { color: rgba(255,255,255,.72); text-decoration: underline; }
.footer-compliance a:hover { color: var(--gold); }
.compliance-line { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 7px; }
.compliance-line .sep { opacity: .3; }
.license-pending { color: rgba(255,255,255,.42); font-style: normal; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 14px 0;
  font-size: 12px; color: rgba(255,255,255,.4);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- 26. 面包屑 / 通用 ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 24px 0; }
.page-head h1 { font-family: "Songti SC", serif; font-size: 25px; letter-spacing: 1px; margin-bottom: 7px; }
.page-head p { font-size: 13.5px; color: var(--ink-3); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.empty { text-align: center; padding: 60px 20px; color: var(--ink-4); }
.empty .em-ico { font-size: 40px; margin-bottom: 12px; opacity: .5; }
.empty p { font-size: 13.5px; margin-bottom: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: rgba(35,40,43,.94); color: #fff; padding: 11px 22px; border-radius: 8px;
  font-size: 13.5px; opacity: 0; pointer-events: none; transition: .28s; z-index: 999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-mask {
  position: fixed; inset: 0; background: rgba(29,48,56,.45); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 400px;
  padding: 26px 28px; box-shadow: var(--shadow-lg);
}
.modal h4 { font-size: 17px; margin-bottom: 8px; }
.modal p { font-size: 13.5px; color: var(--ink-3); line-height: 1.8; margin-bottom: 18px; }

/* ---------- 27. 响应式 ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 0 11px; font-size: 13.5px; }
  .main-nav a::after { left: 11px; right: 11px; }
  .search-box input { width: 150px; }
  .search-box input:focus { width: 170px; }
  .layout-main, .detail-layout, .about-layout, .apply-layout { grid-template-columns: 1fr; }
  .layout-side { position: static; grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 46px 0; }
  .hero h1 { font-size: 36px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .legal-layout, .user-layout { grid-template-columns: 1fr; }
  .legal-nav, .user-menu { position: static; }
}
@media (max-width: 760px) {
  .topbar-right { display: none; }
  .main-nav { display: none; }
  .search-box input { width: 130px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip > div:nth-child(2) { border-right: 0; }
  .stats-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .plan-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .layout-side { grid-template-columns: 1fr; }
  .hero h1 { font-size: 29px; letter-spacing: 1px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .inst-banner { grid-template-columns: 1fr; padding: 26px 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap, .prose, .legal-doc { padding: 22px 18px; }
  .detail-body { padding: 22px 18px; }
  .detail-title { font-size: 21px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .post-thumb { display: none; }
  .post-meta .meta-right { display: none; }
  .account-row { grid-template-columns: 1fr; gap: 2px; }
  .account-row dt { font-size: 12px; }
}

/* ---------- 28. 运营后台 ---------- */
.manage-body { background: var(--paper); }
.m-app { display: flex; min-height: 100vh; }
.m-side {
  width: 232px; flex: none; background: #1E343C; color: #fff;
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
}
.m-brand {
  display: flex; align-items: center; gap: 10px; padding: 20px 18px 8px; color: #fff;
}
.m-brand .logo-mark { width: 34px; height: 34px; font-size: 18px; }
.m-brand b {
  display: block; font-family: "Songti SC", "STSong", serif;
  font-size: 16px; letter-spacing: 1px; line-height: 1.2;
}
.m-brand small { display: block; margin-top: 2px; color: rgba(255,255,255,.5); font-size: 12px; }
.m-nav { flex: 1; overflow: auto; padding: 8px 0 16px; }
.m-nav-label {
  margin: 16px 22px 6px; font-size: 11px; letter-spacing: .14em;
  color: rgba(255,255,255,.38);
}
.m-nav a {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 12px; padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,.78); font-size: 14px;
}
.m-nav a svg {
  width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.m-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.m-nav a.on {
  background: rgba(255,255,255,.14); color: #fff; font-weight: 600;
  box-shadow: inset 3px 0 0 var(--gold);
}
.m-side-foot {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 14px 16px; display: flex; align-items: center; gap: 8px;
}
.m-user { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.m-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
}
.m-user b, .m-user small { display: block; }
.m-user b {
  font-size: 13px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 108px;
}
.m-user small { font-size: 12px; color: rgba(255,255,255,.48); line-height: 1.3; }
.m-logout {
  flex: none; color: rgba(255,255,255,.8); font-size: 12.5px;
  padding: 5px 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,.18);
}
.m-logout:hover { background: rgba(255,255,255,.08); color: #fff; }
.m-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-top {
  height: 60px; display: flex; align-items: center; gap: 12px;
  padding: 0 24px; background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.m-top h1 {
  flex: 1; min-width: 0; font-size: 16px; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-burger {
  display: none; width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid var(--line); align-items: center; justify-content: center;
  flex-direction: column; gap: 4px; flex: none;
}
.m-burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 1px; }
.m-content { padding: 22px 24px 48px; }
.m-mask { display: none; }
.m-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.m-stat {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 18px 16px; box-shadow: var(--shadow);
}
.m-stat:hover { border-color: #c5d0d3; box-shadow: var(--shadow-md); }
.m-stat span { display: block; color: var(--ink-3); font-size: 13px; }
.m-stat strong {
  display: block; margin: 6px 0 8px; font-size: 32px; line-height: 1.15;
  color: var(--dai); font-variant-numeric: tabular-nums; font-weight: 650;
}
.m-stat em { font-style: normal; font-size: 12.5px; color: var(--zhe); }
.m-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 22px; box-shadow: var(--shadow);
}
.m-card h2, .m-card h3 { margin-bottom: 12px; }
.m-card > .table { box-shadow: none; }
.m-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.m-tabs a {
  padding: 6px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--ink-2); font-size: 13px;
}
.m-tabs a:hover { border-color: var(--dai-light); color: var(--dai); }
.m-tabs a.on { background: var(--dai); border-color: var(--dai); color: #fff; font-weight: 600; }
.m-lead { color: var(--ink-3); font-size: 13.5px; margin-bottom: 14px; }
.m-lead a { color: var(--dai); }
.m-lead a:hover { text-decoration: underline; }
.m-lead b { color: var(--ink); }
.m-tips { display: grid; gap: 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.7; }
.m-tips a { color: var(--dai); }
.m-tips a:hover { text-decoration: underline; }
.m-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.m-back { display: inline-flex; margin-bottom: 12px; color: var(--dai); font-size: 13.5px; }
.m-back:hover { text-decoration: underline; }
.m-actions { margin-top: 20px; display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.m-decide { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.m-decide input { height: 38px; padding: 0 12px; width: min(280px, 100%); }
.m-scroll { overflow-x: auto; border-radius: 12px; }
.m-scroll > .table { min-width: 720px; margin: 0; }
.m-row-ops { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.m-row-ops input[type="password"] { width: 112px; height: 30px; padding: 0 8px; }
.m-pager { margin-top: 16px; display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13.5px; }
.m-pager a { color: var(--dai); }
.m-pager a:hover { text-decoration: underline; }
.manage-body .flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; background: #eef6ee; color: #2d5016; }
.manage-body .flash.err { background: #fdecea; color: #8a2a1a; }
.manage-body .table {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.manage-body .table th, .manage-body .table td {
  border-bottom: 1px solid var(--line); padding: 12px 14px;
  text-align: left; vertical-align: middle; font-size: 13.5px;
}
.manage-body .table th {
  background: #F8F6F2; color: var(--ink-3); font-weight: 600;
  font-size: 12.5px; white-space: nowrap;
}
.manage-body .table .m-nowrap { white-space: nowrap; }
.manage-body .table tr:last-child td, .manage-body .table tr:last-child th { border-bottom: none; }
.manage-body .table tbody tr:hover td { background: #FBF9F6; }
.manage-body .table a { color: var(--dai); font-weight: 500; }
.manage-body .table a:hover { text-decoration: underline; }
.manage-body .table td[colspan] { text-align: center; color: var(--ink-4); padding: 28px 14px; }
.manage-body input[type="text"],
.manage-body input[type="password"],
.manage-body input[type="search"],
.manage-body input:not([type]),
.manage-body select,
.manage-body textarea {
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.manage-body input:focus,
.manage-body select:focus,
.manage-body textarea:focus {
  outline: none; border-color: var(--dai-light); background: #fff;
  box-shadow: 0 0 0 3px rgba(44,74,82,.08);
}
.btn-danger { background: #8a2a1a; color: #fff; }
.btn-danger:hover { background: #722216; }
.m-login {
  min-height: 100vh; display: grid; place-items: center; padding: 32px 16px;
  background:
    radial-gradient(circle at 12% 18%, rgba(201,162,39,.14), transparent 34%),
    radial-gradient(circle at 88% 82%, rgba(44,74,82,.16), transparent 38%),
    var(--paper);
}
.m-login-card {
  width: 100%; max-width: 400px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 28px 22px; box-shadow: var(--shadow-md);
}
.m-login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.m-login-brand b { display: block; font-family: "Songti SC", "STSong", serif; font-size: 17px; letter-spacing: 1px; line-height: 1.2; }
.m-login-brand small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12px; }
.m-login-card h1 { font-size: 22px; font-family: "Songti SC", "STSong", serif; letter-spacing: 1px; }
.m-login-card .sub { margin: 6px 0 18px; color: var(--ink-3); font-size: 13px; }
.m-login-note { margin-top: 16px; font-size: 12.5px; color: var(--ink-4); line-height: 1.6; }
@media (max-width: 1100px) {
  .m-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .m-burger { display: inline-flex; }
  .m-side {
    position: fixed; z-index: 40; left: 0; top: 0;
    transform: translateX(-105%); transition: transform .22s ease;
  }
  .m-app.is-nav-open .m-side { transform: none; }
  .m-mask {
    position: fixed; inset: 0; background: rgba(20,32,36,.45); z-index: 30;
  }
  .m-app.is-nav-open .m-mask { display: block; }
  .m-stats { grid-template-columns: 1fr; }
  .m-content { padding: 16px 16px 36px; }
  .m-top { padding: 0 14px; }
  .m-top .btn span.m-hide-sm { display: none; }
}
