/* ============================================================
   主题变量
   ============================================================ */
:root {
  --bg: #faf8f5;
  --bg-soft: #f5f0e8;
  --bg-hero: linear-gradient(180deg, #f2ead8 0%, #faf8f5 100%);
  --surface: #ffffff;
  --surface-hover: #f9f5ee;
  --border: #ece6db;
  --border-soft: #f2ece1;
  --border-strong: #e0d8c9;
  --text: #2c2620;
  --text-2: #6b5f50;
  --text-3: #9a8f80;
  --gold: #a67c1a;
  --gold-2: #8b6914;
  --gold-soft: rgba(166, 124, 26, 0.08);
  --gold-glow: rgba(166, 124, 26, 0.15);
  --shadow-sm: 0 1px 3px rgba(60,40,20,0.04);
  --shadow-md: 0 4px 16px rgba(60,40,20,0.06);
  --shadow-lg: 0 12px 32px rgba(60,40,20,0.1);
}
body.theme-day {
  --bg: #faf8f5; --bg-soft: #f5f0e8;
  --bg-hero: linear-gradient(180deg, #f2ead8 0%, #faf8f5 100%);
  --surface: #ffffff; --surface-hover: #f9f5ee;
  --border: #ece6db; --border-soft: #f2ece1; --border-strong: #e0d8c9;
  --text: #2c2620; --text-2: #6b5f50; --text-3: #9a8f80;
  --gold: #a67c1a; --gold-2: #8b6914; --gold-soft: rgba(166,124,26,0.08); --gold-glow: rgba(166,124,26,0.15);
  --shadow-sm: 0 1px 3px rgba(60,40,20,0.04);
  --shadow-md: 0 4px 16px rgba(60,40,20,0.06);
  --shadow-lg: 0 12px 32px rgba(60,40,20,0.1);
}
body.theme-dark {
  --bg: #14110e; --bg-soft: #1a1613;
  --bg-hero: linear-gradient(180deg, #241c14 0%, #14110e 100%);
  --surface: #1c1814; --surface-hover: #241f1a;
  --border: #2e2823; --border-soft: #262019; --border-strong: #3d352d;
  --text: #ddd5c9; --text-2: #a89a88; --text-3: #7a6f60;
  --gold: #c9a87c; --gold-2: #b8945e; --gold-soft: rgba(201,168,124,0.1); --gold-glow: rgba(201,168,124,0.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}
body.theme-eye {
  --bg: #e8efe4; --bg-soft: #e1eadc;
  --bg-hero: linear-gradient(180deg, #d6e3cc 0%, #e8efe4 100%);
  --surface: #f1f5ee; --surface-hover: #e9f1e4;
  --border: #d5e0cd; --border-soft: #dee7d6; --border-strong: #c3d1b9;
  --text: #2d3a28; --text-2: #566a4c; --text-3: #7d8e72;
  --gold: #5a7a48; --gold-2: #4a6a38; --gold-soft: rgba(90,122,72,0.1); --gold-glow: rgba(90,122,72,0.2);
  --shadow-sm: 0 1px 3px rgba(40,60,30,0.06);
  --shadow-md: 0 4px 16px rgba(40,60,30,0.08);
  --shadow-lg: 0 12px 32px rgba(40,60,30,0.12);
}
body.theme-xuan {
  --bg: #f4ede0; --bg-soft: #ede4d2;
  --bg-hero: linear-gradient(180deg, #ecd9b0 0%, #f4ede0 100%);
  --surface: #faf5ea; --surface-hover: #f5edd9;
  --border: #e2d5bd; --border-soft: #eadfc9; --border-strong: #cfbfa1;
  --text: #3a3020; --text-2: #6a5a3e; --text-3: #8f7e60;
  --gold: #8b6914; --gold-2: #a67c1a; --gold-soft: rgba(139,105,20,0.1); --gold-glow: rgba(139,105,20,0.2);
  --shadow-sm: 0 1px 3px rgba(80,60,20,0.06);
  --shadow-md: 0 4px 16px rgba(80,60,20,0.08);
  --shadow-lg: 0 12px 32px rgba(80,60,20,0.12);
}

/* ============================================================
   基础
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: "Songti SC", "SimSun", "STSong", serif;
  font-size: 17px;
  line-height: 2;
  transition: background 0.2s, color 0.2s;
  min-height: 100vh;
  overflow-wrap: break-word;
  word-break: break-word;
}
body.font-sans { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
body.font-kai  { font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; }
body.font-song { font-family: "Songti SC", "SimSun", "STSong", serif; }

body.size-sm .content-body { font-size: 15px; }
body.size-md .content-body { font-size: 17px; }
body.size-lg .content-body { font-size: 19px; }
body.size-xl .content-body { font-size: 22px; }

.container { max-width: 880px; margin: 0 auto; padding: 0 28px; }
body.home-page .container { max-width: 1080px; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,245,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
body.theme-dark .header { background: rgba(20,17,14,0.85); }
body.theme-eye .header  { background: rgba(232,239,228,0.85); }
body.theme-xuan .header { background: rgba(244,237,224,0.85); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 12px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--gold);
  font-size: 19px; font-weight: 600; letter-spacing: 1.5px;
  min-width: 0; flex-shrink: 1;
}
.logo i { font-size: 18px; flex-shrink: 0; transition: transform 0.3s; }
.logo:hover i { transform: rotate(-8deg) scale(1.1); }
.logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.icon-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 语言选择器 */
.language-selector { position: relative; flex-shrink: 0; }
.language-current {
  display: flex; align-items: center;
  padding: 0 14px 0 12px;
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  border: 1px solid var(--border);
  gap: 8px; height: 40px;
  max-width: 160px; min-width: 0;
  box-shadow: var(--shadow-sm);
}
.language-current:hover { border-color: var(--gold); box-shadow: var(--shadow-md); }
.language-flag {
  width: 20px; height: 13px;
  background-size: cover; background-position: center;
  border-radius: 2px; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.language-name {
  font-size: 13px; color: var(--text-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.language-current .fa-chevron-down {
  font-size: 9px; color: var(--text-3); flex-shrink: 0;
  transition: transform 0.3s;
}
.language-selector.active .language-current .fa-chevron-down { transform: rotate(180deg); }
.language-dropdown {
  position: absolute; top: 100%; right: 0;
  margin-top: 10px;
  width: 360px; max-height: 440px;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s;
  padding: 18px; overflow: hidden;
  display: flex; flex-direction: column;
}
.language-selector.active .language-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.language-regions-container { overflow-y: auto; flex: 1; padding-right: 4px; }
.language-regions-container::-webkit-scrollbar { width: 4px; }
.language-regions-container::-webkit-scrollbar-thumb {
  background: var(--border-strong); border-radius: 4px;
}
.language-region { margin-bottom: 18px; }
.language-region:last-child { margin-bottom: 0; }
.region-title {
  font-size: 12px; font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky; top: 0;
  background: var(--surface);
  letter-spacing: 2px;
}
.languages-region {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 3px;
}
.language-option {
  display: flex; align-items: center;
  padding: 7px 9px; cursor: pointer;
  border-radius: 7px; font-size: 13px;
  color: var(--text-2);
  transition: all 0.15s; gap: 7px; min-width: 0;
}
.language-option:hover { background: var(--surface-hover); color: var(--text); }
.language-option.active {
  background: var(--gold-soft); color: var(--gold); font-weight: 500;
}
.language-option .language-flag { width: 16px; height: 11px; }
.language-option span {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.mobile-menu-btn { display: none !important; }
.mobile-language-toggle { display: none !important; }

/* ============================================================
   Main
   ============================================================ */
.main { padding: 32px 0 0; }
body.home-page .main { padding: 0 !important; }

/* 面包屑 */
.breadcrumb {
  padding: 0 0 28px;
  font-size: 13px;
  color: var(--text-3);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  line-height: 1.6;
}
.breadcrumb a {
  color: var(--text-3); text-decoration: none;
  transition: color 0.2s; padding: 2px 0;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .current { color: var(--text-2); font-weight: 500; }

/* 页面标题 */
.page-header { text-align: center; margin-bottom: 48px; }
.page-title {
  font-size: 32px; font-weight: 600;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.4;
  letter-spacing: 6px;
  text-indent: 6px;
  text-align: center;
}
.page-title:after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 0;
  opacity: 0.6;
}
.page-desc {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 1px;
}

/* ============================================================
   正文
   ============================================================ */
.content-body {
  font-size: 17px;
  line-height: 2.2;
  color: var(--text);
  padding: 0 0 40px;
}
.content-body p {
  margin-bottom: 22px;
  text-indent: 2em;
  transition: background 0.3s, box-shadow 0.3s;
  border-radius: 4px;
}
.content-body p:empty { display: none; }
.content-body h2, .content-body h3 {
  color: var(--text);
  margin: 36px 0 20px;
  font-weight: 600;
  text-indent: 0; text-align: center; letter-spacing: 2px;
  font-size: 1.05em;
}
.content-body a {
  color: var(--gold); text-decoration: none;
  border-bottom: 1px dashed var(--gold);
}
.content-body p.simple-tts-active {
  background: var(--gold-soft);
  box-shadow: inset 3px 0 0 var(--gold);
  padding-left: 14px;
  margin-left: -14px;
  border-radius: 4px;
  transition: background 0.3s, box-shadow 0.3s;
}

/* 分类页的 dir-grid */
.content-body .dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
}
.content-body .dir-grid .dir-item,
.content-body .dir-grid .file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.content-body .dir-grid .dir-item:before,
.content-body .dir-grid .file-item:before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}
.content-body .dir-grid .dir-item:hover,
.content-body .dir-grid .file-item:hover {
  background: var(--surface-hover);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.content-body .dir-grid .dir-item:hover:before,
.content-body .dir-grid .file-item:hover:before { opacity: 1; }
.content-body .dir-grid .dir-item i,
.content-body .dir-grid .file-item i {
  color: var(--gold); font-size: 14px; flex-shrink: 0;
  transition: transform 0.25s;
}
.content-body .dir-grid .dir-item:hover i,
.content-body .dir-grid .file-item:hover i { transform: scale(1.15); }
.content-body .dir-grid .dir-item span,
.content-body .dir-grid .file-item span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Section（通用）
   ============================================================ */
.section-block { margin-bottom: 48px; }

.section-block .section-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 2px;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.section-block .section-title:before {
  content: '';
  width: 4px; height: 16px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-title .count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 400;
  padding: 2px 10px;
  background: var(--bg-soft);
  border-radius: 10px;
  margin-left: auto;
  letter-spacing: 0;
}

/* 内容页的 related 区块 */
.related-section { padding: 0 0 40px; }
.related-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 20px;
  letter-spacing: 2px;
  display: flex; align-items: center; gap: 8px;
}
.related-title:before {
  content: '';
  width: 3px; height: 14px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   列表网格（分类列表 / 相关经典）
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  list-style: none;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  list-style: none;
}
.list-grid li a,
.related-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  min-width: 0;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.related-list li a { padding: 14px 18px; }
.list-grid li a:before,
.related-list li a:before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}
.list-grid li a:hover,
.related-list li a:hover {
  background: var(--surface-hover);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.list-grid li a:hover:before,
.related-list li a:hover:before { opacity: 1; }
.list-grid .li-title,
.related-list .ri-title {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 10px;
}
.list-grid .li-title i,
.related-list .ri-title i {
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.list-grid li a:hover .li-title i,
.related-list li a:hover .ri-title i { transform: scale(1.15); }
.list-grid .li-arrow,
.related-list .ri-arrow {
  color: var(--text-3);
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.25s;
}
.list-grid li a:hover .li-arrow,
.related-list li a:hover .ri-arrow {
  color: var(--gold);
  transform: translateX(4px);
}

/* ============================================================
   分页
   ============================================================ */
.pager {
  display: flex;
  gap: 10px;
  margin: 20px 0 48px;
  padding: 0;
  flex-wrap: wrap;
}
.pager a {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: center;
  line-height: 1.5;
}
.pager a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--surface);
}
.pager a i { font-size: 12px; flex-shrink: 0; }
.pager a.disabled {
  opacity: 0.4;
  pointer-events: none;
  border-style: dashed;
}
.pager a.pager-catalog {
  flex: 0 0 auto;
  padding: 16px 24px;
  background: var(--surface);
  border-color: transparent;
  color: var(--text);
}
.pager a.pager-catalog:hover {
  background: var(--surface-hover);
  color: var(--gold);
}

.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin: 40px 0 20px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-2); text-decoration: none;
  font-size: 14px; font-family: -apple-system, sans-serif;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--gold); color: var(--gold); background: var(--gold-soft);
}
.pagination .current {
  background: var(--gold); color: #fff; border-color: var(--gold);
  font-weight: 600;
}
.pagination .disabled { opacity: 0.4; pointer-events: none; }
.pagination .dots { background: transparent; border: none; color: var(--text-3); }

/* ============================================================
   首页 Hero
   ============================================================ */
.hero-wrap {
  position: relative;
  background: var(--bg-hero);
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero-wrap:after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg span {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--gold);
  opacity: 0.06;
  animation: floatY 8s ease-in-out infinite;
}
body.theme-dark .hero-bg span { opacity: 0.1; }
.hero-bg .hb1 { top: 8%; left: 6%; font-size: 88px; animation-delay: 0s; }
.hero-bg .hb2 { top: 55%; left: 12%; font-size: 56px; animation-delay: 1.5s; }
.hero-bg .hb3 { top: 18%; right: 8%; font-size: 72px; animation-delay: 0.8s; }
.hero-bg .hb4 { top: 62%; right: 14%; font-size: 48px; animation-delay: 2.1s; }
.hero-bg .hb5 { top: 40%; left: 48%; font-size: 40px; animation-delay: 1.2s; }
.hero-bg .hb6 { top: 78%; left: 34%; font-size: 36px; animation-delay: 0.4s; }
.hero-bg .hb7 { top: 12%; right: 42%; font-size: 44px; animation-delay: 2.6s; }
.hero-bg .hb8 { top: 72%; right: 38%; font-size: 52px; animation-delay: 1.8s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}
.hero {
  position: relative; z-index: 3;
  text-align: center; max-width: 820px;
  margin: 0 auto; padding: 0 28px;
}
.hero-title {
  font-size: 46px; font-weight: 600; color: var(--text);
  letter-spacing: 10px; text-indent: 10px;
  margin-bottom: 16px; line-height: 1.3;
  text-shadow: 0 2px 20px var(--gold-glow);
}
.hero-sub {
  font-size: 15px; color: var(--gold);
  letter-spacing: 8px; text-indent: 8px;
  margin-bottom: 26px; font-weight: 400;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.hero-sub:before, .hero-sub:after {
  content: ''; display: block;
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.hero-desc {
  font-size: 14px; color: var(--text-3);
  line-height: 2; max-width: 620px;
  margin: 0 auto 36px; letter-spacing: 0.5px;
}
.hero-search { position: relative; max-width: 520px; margin: 0 auto 44px; }
.hero-search i {
  position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3); font-size: 15px; pointer-events: none;
}
.hero-search input {
  width: 100%; height: 52px;
  padding: 0 120px 0 50px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  font-size: 15px; color: var(--text); font-family: inherit;
  transition: all 0.25s;
  box-shadow: var(--shadow-md); outline: none;
}
.hero-search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft), var(--shadow-lg);
}
.hero-search input::placeholder { color: var(--text-3); }
.hero-search button {
  position: absolute; right: 6px; top: 50%;
  transform: translateY(-50%);
  height: 40px; padding: 0 24px;
  background: var(--gold); color: #fff;
  border: none; border-radius: 20px;
  font-size: 14px; font-family: inherit;
  cursor: pointer; transition: all 0.25s;
  letter-spacing: 1px;
}
.hero-search button:hover { background: var(--gold-2); transform: translateY(-50%) scale(1.03); }

.hero-stats { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 34px; font-weight: 600;
  color: var(--gold); line-height: 1.2;
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
}
.hero-stat-label {
  font-size: 12px; color: var(--text-3); letter-spacing: 2px; margin-top: 8px;
}

/* ============================================================
   首页 Section（.section-wrap）
   ============================================================ */
.section-wrap { padding: 56px 0 72px; position: relative; }
.section-wrap + .section-wrap { padding-top: 64px; }
.section-wrap + .section-wrap:before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 260px; height: 1px;
  background: radial-gradient(ellipse at center,
    var(--border-strong) 0%, transparent 75%);
  opacity: 0.7;
}
.section-wrap + .section-wrap:after {
  content: '\f005';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 9px;
  color: var(--gold);
  background: var(--bg);
  padding: 0 14px;
  opacity: 0.4;
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
}
.section { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-title {
  font-size: 22px; font-weight: 600; color: var(--text);
  letter-spacing: 4px; text-indent: 4px;
  margin-bottom: 12px; display: inline-block;
}
.section-title:after {
  content: ''; display: block;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 14px auto 0; opacity: 0.6;
}
.section-sub { font-size: 13px; color: var(--text-3); letter-spacing: 1px; }

/* 首页大类卡片 */
.home-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.home-cat-card {
  display: block; padding: 26px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none; color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.home-cat-card:before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold);
  opacity: 0; transition: opacity 0.3s;
}
.home-cat-card:hover {
  border-color: var(--gold); background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.home-cat-card:hover:before { opacity: 1; }
.cat-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold);
  border-radius: 12px;
  font-size: 21px;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.home-cat-card:hover .cat-icon {
  background: var(--gold);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
body.theme-dark .home-cat-card:hover .cat-icon { color: var(--bg); }
.cat-name {
  font-size: 20px; font-weight: 600; color: var(--text);
  letter-spacing: 3px; margin-bottom: 8px;
  transition: color 0.3s;
}
.home-cat-card:hover .cat-name { color: var(--gold); }
.cat-desc {
  font-size: 13px; color: var(--text-3);
  line-height: 1.7; margin-bottom: 16px;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-count {
  font-size: 12px; color: var(--gold);
  letter-spacing: 1px; padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cat-count:after {
  content: '\f061';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  transition: transform 0.3s;
}
.home-cat-card:hover .cat-count:after { transform: translateX(4px); }

/* 首页随机推荐 */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.art-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none; color: var(--text);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
  box-shadow: var(--shadow-sm);
}
.art-card:hover {
  border-color: var(--gold); background: var(--surface-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.art-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold);
  border-radius: 8px;
  font-size: 12px; font-weight: 600;
  font-family: -apple-system, "PingFang SC", sans-serif;
  font-variant-numeric: tabular-nums;
}
.art-title {
  flex: 1; min-width: 0;
  font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.5; transition: color 0.25s;
}
.art-card:hover .art-title { color: var(--gold); }

/* 首页关于本站 */
.about-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.about-text {
  font-size: 14px;
  line-height: 2.1;
  color: var(--text-2);
  margin-bottom: 14px;
  text-align: justify;
}
.about-text:last-of-type { margin-bottom: 0; }
.about-text strong { color: var(--gold); font-weight: 600; }
.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px dashed var(--border);
}
.about-feature {
  display: flex; align-items: center;
  gap: 12px;
  padding: 6px 18px;
  border-right: 1px solid var(--border-soft);
  transition: all 0.25s;
}
.about-feature:last-child { border-right: none; }
.about-feature i {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  width: 24px; text-align: center;
  transition: transform 0.25s;
}
.about-feature:hover i { transform: scale(1.15); }
.af-text { min-width: 0; }
.af-title {
  font-size: 13px; font-weight: 600;
  color: var(--text); letter-spacing: 0.5px;
  line-height: 1.4;
}
.af-desc {
  font-size: 11px; color: var(--text-3);
  line-height: 1.5; margin-top: 2px;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-header { margin-bottom: 28px; }
.search-form { position: relative; max-width: 640px; margin: 0 auto; }
.search-form i {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); font-size: 16px; pointer-events: none;
}
.search-form input {
  width: 100%; height: 56px;
  padding: 0 130px 0 54px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; font-size: 16px; color: var(--text);
  font-family: inherit; transition: all 0.25s;
  box-shadow: var(--shadow-sm); outline: none;
}
.search-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft), var(--shadow-md);
}
.search-form input::placeholder { color: var(--text-3); }
.search-form button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  height: 44px; padding: 0 28px;
  background: var(--gold); color: #fff; border: none; border-radius: 22px;
  font-size: 14px; font-family: inherit; cursor: pointer; transition: all 0.25s;
  letter-spacing: 1px;
}
.search-form button:hover { background: var(--gold-2); transform: translateY(-50%) scale(1.03); }

.search-info {
  text-align: center; padding: 8px 0 28px;
  color: var(--text-3); font-size: 13px; letter-spacing: 1px;
}
.search-info .keyword { color: var(--gold); font-weight: 600; }
.search-info .count {
  color: var(--text); font-weight: 600; font-family: -apple-system, sans-serif;
}

.search-results { list-style: none; }
.result-item {
  padding: 20px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 12px; transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.result-item:hover {
  border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-1px);
}
.result-title {
  font-size: 17px; font-weight: 600; color: var(--text);
  margin-bottom: 8px; line-height: 1.5; letter-spacing: 0.5px;
}
.result-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.result-title a:hover { color: var(--gold); }
.result-snippet { font-size: 13px; color: var(--text-3); line-height: 1.8; margin-bottom: 10px; }
.result-snippet mark, .result-title mark {
  background: rgba(166, 124, 26, 0.18); color: var(--gold-2);
  padding: 1px 3px; border-radius: 2px; font-weight: 600;
}
.result-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.result-meta i { color: var(--gold); font-size: 11px; }
.result-meta .result-url {
  color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1; min-width: 0;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state { text-align: center; padding: 80px 0; }
.empty-state i {
  font-size: 56px; color: var(--border-strong); margin-bottom: 20px; display: block;
}
.empty-state p { font-size: 15px; color: var(--text-3); letter-spacing: 1px; }
.empty-state .hint { font-size: 13px; color: var(--text-3); margin-top: 12px; opacity: 0.7; }

.empty-tip {
  text-align: center; color: var(--text-3);
  padding: 80px 0; font-size: 14px; letter-spacing: 1px;
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 32px; bottom: 48px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
  box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* ============================================================
   Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0 28px;
  margin-top: 32px;
  background: var(--bg-soft);
}
body.home-page .footer { margin-top: 0; }

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.5;
  padding: 4px 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.footer-nav a:hover { color: var(--gold); transform: translateY(-1px); }
.footer-nav a i { font-size: 12px; flex-shrink: 0; }

/* 版权信息（含链接） */
.copyright {
  color: var(--text-3);
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
  overflow-wrap: break-word;
}
.copyright a {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
  margin: 0 2px;
}
.copyright a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright .sep {
  color: var(--border-strong);
  margin: 0 8px;
}
.copyright i {
  margin-right: 4px;
  font-size: 11px;
  vertical-align: middle;
}

/* ============================================================
   layer 弹窗
   ============================================================ */
body .layui-layer.reader-settings {
  background: var(--surface) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
  overflow: hidden;
  border: none !important;
}
body .layui-layer.reader-settings .layui-layer-title {
  background: transparent !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 1px;
  height: 52px; line-height: 52px;
  padding-left: 24px;
  padding-right: 48px;
}
body .layui-layer.reader-settings .layui-layer-title:before {
  content: "\f1de";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--gold);
  margin-right: 8px;
  font-size: 13px;
}
body .layui-layer.reader-settings .layui-layer-content {
  background: transparent !important;
  color: var(--text) !important;
  padding: 0 !important;
}
body .layui-layer.reader-settings .layui-layer-setwin {
  top: 16px !important;
  right: 18px !important;
}
body .layui-layer.reader-settings .layui-layer-setwin a {
  background: none !important;
  color: var(--text-3) !important;
  font-size: 16px;
  line-height: 20px;
  width: 20px; height: 20px;
  transition: 0.2s;
  opacity: 1;
}
body .layui-layer.reader-settings .layui-layer-setwin a:before {
  content: "\f00d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
body .layui-layer.reader-settings .layui-layer-setwin a:hover {
  color: var(--gold) !important;
}

.settings-popup { padding: 8px 0 0; }
.settings-section {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.settings-section:last-child { border-bottom: none; padding-bottom: 24px; }
.settings-label {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 14px;
  letter-spacing: 1px;
  display: flex; align-items: center; gap: 6px;
}
.settings-label i { font-size: 12px; }
.settings-group { display: flex; gap: 8px; flex-wrap: wrap; }
.settings-group button {
  flex: 1; min-width: 56px;
  padding: 10px 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.settings-group button:hover { border-color: var(--gold); color: var(--gold); }
.settings-group button.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  font-weight: 500;
}
body.theme-dark .settings-group button.active { color: #14110e; }

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.theme-grid button {
  position: relative;
  padding: 18px 4px 12px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 12px;
  color: #fff;
  transition: all 0.15s;
  font-family: inherit;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.theme-grid button:before {
  content: '';
  width: 20px; height: 20px;
  border-radius: 50%;
  display: block;
  border: 1px solid rgba(0,0,0,0.08);
}
.theme-grid .t-day   { background: #faf8f5; color: #2c2620; text-shadow: none; }
.theme-grid .t-day:before   { background: #ffffff; }
.theme-grid .t-dark  { background: #14110e; color: #ddd5c9; }
.theme-grid .t-dark:before  { background: #1c1814; border-color: #3d352d; }
.theme-grid .t-eye   { background: #e8efe4; color: #2d3a28; text-shadow: none; }
.theme-grid .t-eye:before   { background: #f1f5ee; }
.theme-grid .t-xuan  { background: #f4ede0; color: #3a3020; text-shadow: none; }
.theme-grid .t-xuan:before  { background: #faf5ea; }
.theme-grid button.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.tts-row { display: flex; align-items: center; gap: 10px; }
.tts-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s;
  font-family: inherit;
}
.tts-btn:hover { border-color: var(--gold); color: var(--gold); }
.tts-btn.primary {
  background: var(--gold); color: #fff; border-color: var(--gold);
  font-weight: 500;
}
body.theme-dark .tts-btn.primary { color: #14110e; }
.tts-speed-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px;
}
.tts-speed-row > i { color: var(--text-3); font-size: 13px; }
.tts-speed-row input[type="range"] {
  flex: 1; accent-color: var(--gold);
  cursor: pointer; height: 4px;
}
.tts-speed-val {
  min-width: 42px; text-align: right;
  font-variant-numeric: tabular-nums;
  font-size: 13px; color: var(--text-2);
}

/* 移动端语言弹窗 */
.mobile-language-modal {
  display: none !important;
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  justify-content: center; align-items: center;
}
.mobile-language-modal.active { display: flex !important; }
.mobile-language-content {
  background: var(--surface);
  width: 92%; max-width: 380px;
  max-height: 70vh;
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.mobile-language-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-language-header h3 {
  color: var(--text); font-size: 15px; font-weight: 500; margin: 0;
}
.mobile-language-close {
  background: none; border: none; color: var(--text-3); font-size: 18px; cursor: pointer;
}
.mobile-language-list { flex: 1; overflow-y: auto; padding: 12px 16px; }
.mobile-language-option {
  display: flex; align-items: center;
  padding: 10px 8px;
  cursor: pointer; gap: 10px;
  border-radius: 6px;
}
.mobile-language-option:hover { background: var(--surface-hover); }
.mobile-language-flag {
  width: 22px; height: 16px;
  background-size: cover; background-position: center;
  border-radius: 2px; flex-shrink: 0;
}
.mobile-language-name { font-size: 14px; color: var(--text); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 768px) {
  .header-inner { height: 56px; gap: 8px; }
  .logo { font-size: 16px; letter-spacing: 1px; max-width: 130px; }
  .logo i { font-size: 16px; }
  .icon-btn { width: 36px; height: 36px; font-size: 14px; }
  .language-current { padding: 0 10px 0 8px; height: 36px; max-width: 70px; }
  .language-name { display: none; }

  .container { padding: 0 18px; }
  .main { padding: 22px 0 0; }
  .breadcrumb { padding: 0 0 20px; }
  .page-header { margin-bottom: 32px; }
  .page-title { font-size: 24px; letter-spacing: 3px; text-indent: 3px; text-align: center;}
  .page-title:after { width: 30px; margin-top: 12px; }

  .content-body { font-size: 16px; line-height: 2; }
  .content-body p { margin-bottom: 18px; }
  .content-body .dir-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .content-body .dir-grid .dir-item,
  .content-body .dir-grid .file-item { padding: 14px 14px; font-size: 13px; }

  .section-wrap { padding: 40px 0 52px; }
  .section-wrap + .section-wrap { padding-top: 48px; }
  .section { padding: 0 18px; }
  .section-block { margin-bottom: 36px; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: 18px; letter-spacing: 2px; }

  .list-grid { grid-template-columns: 1fr; gap: 10px; }
  .list-grid li a { padding: 16px 18px; }
  .related-list { grid-template-columns: 1fr; }

  .pager { flex-direction: column; gap: 8px; margin: 16px 0 36px; }
  .pager a.pager-catalog { order: -1; padding: 14px 20px; }
  .pager a { padding: 14px 18px; }
  .pagination a, .pagination span {
    min-width: 34px; height: 34px; padding: 0 10px; font-size: 13px;
  }

  .hero-wrap { padding: 40px 0 72px; }
  .hero { padding: 0 18px; }
  .hero-title { font-size: 30px; letter-spacing: 5px; text-indent: 5px; }
  .hero-sub { font-size: 12px; letter-spacing: 4px; gap: 10px; }
  .hero-sub:before, .hero-sub:after { width: 22px; }
  .hero-desc { font-size: 13px; margin-bottom: 28px; }
  .hero-search { margin-bottom: 32px; }
  .hero-search input { padding: 0 100px 0 44px; height: 48px; }
  .hero-search button { padding: 0 18px; height: 36px; font-size: 13px; }
  .hero-stats { gap: 36px; }
  .hero-stat-num { font-size: 24px; }
  .hero-stat-label { margin-top: 6px; }
  .hero-bg .hb1 { font-size: 48px; }
  .hero-bg .hb2 { font-size: 32px; }
  .hero-bg .hb3 { font-size: 40px; }
  .hero-bg .hb4 { font-size: 28px; }
  .hero-bg .hb5 { font-size: 24px; }
  .hero-bg .hb6 { font-size: 22px; }
  .hero-bg .hb7 { font-size: 26px; }
  .hero-bg .hb8 { font-size: 30px; }

  .home-cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-cat-card { padding: 20px 18px 16px; }
  .cat-icon {
    width: 40px; height: 40px; font-size: 18px;
    margin-bottom: 12px; border-radius: 10px;
  }
  .cat-name { font-size: 17px; letter-spacing: 2px; }
  .cat-desc { font-size: 12px; min-height: 38px; margin-bottom: 12px; }
  .cat-count { padding-top: 10px; font-size: 11px; }

  .about-box { padding: 24px 20px; }
  .about-text { font-size: 13px; line-height: 1.9; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .about-feature { padding: 6px 12px; border-right: none; }
  .about-feature:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .about-feature i { font-size: 18px; }

  .art-grid { grid-template-columns: 1fr; gap: 10px; }

  .search-form input { padding: 0 100px 0 48px; height: 50px; font-size: 15px; }
  .search-form button { padding: 0 20px; height: 40px; font-size: 13px; }
  .result-item { padding: 16px 18px; }
  .result-title { font-size: 15px; }
  .result-snippet { font-size: 12px; }

  .back-to-top { right: 18px; bottom: 24px; width: 42px; height: 42px; }
  .footer { padding: 32px 0 36px; margin-top: 32px; }
  body.home-page .footer { margin-top: 0; }
  .footer-nav { gap: 22px; }
}
/* ============================================================
   简介页
   ============================================================ */
.content-body h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 40px 0 18px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-indent: 0;
  text-align: left;
}
.content-body h2:first-child { margin-top: 0; }
.content-body h2:before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.content-body strong {
  color: var(--gold);
  font-weight: 600;
}

.jianjie-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin: 20px 0 0;
}
.jianjie-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.jianjie-list li:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.jianjie-list li > i {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
  text-align: center;
  transition: transform 0.25s;
}
.jianjie-list li:hover > i { transform: scale(1.15); }
.jianjie-list-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.jianjie-list-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .content-body h2 { font-size: 17px; margin: 32px 0 14px; }
  .jianjie-list { grid-template-columns: 1fr; gap: 10px; }
  .jianjie-list li { padding: 14px 16px; }
  .jianjie-list li > i { font-size: 18px; width: 24px; }
  .jianjie-list-title { font-size: 14px; }
  .jianjie-list-desc { font-size: 12px; }
}/* ============================================================
   TXT 链接框
   ============================================================ */
.txt-link-box {
  text-align: center;
  margin: 20px 0 40px;
}
.txt-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.25s;
}
.txt-link-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}
.txt-link-btn i { font-size: 13px; }