/* ============================================================
   91动漫 · 整站样式表
   学术期刊风 · 纸张底 · 衬线正文 · 克制红青双色
   ============================================================ */

/* ------------------------------------------------------------
   1. Base — 变量、重置、全局基础
   ------------------------------------------------------------ */
:root {
  --paper: #f7f4ef;
  --paper-deep: #efebe6;
  --ink: #26262b;
  --ink-soft: #3a3a40;
  --ink-muted: #6f6f78;
  --line: #ddd8d0;
  --accent-red: #a63c3c;
  --accent-teal: #2f6b68;
  --accent-red-soft: rgba(166, 60, 60, 0.08);
  --accent-teal-soft: rgba(47, 107, 104, 0.07);
  --white: #ffffff;
  --shadow-card: 0 1px 3px rgba(38, 38, 43, 0.06), 0 4px 12px rgba(38, 38, 43, 0.04);
  --shadow-hover: 0 2px 6px rgba(38, 38, 43, 0.08), 0 8px 20px rgba(38, 38, 43, 0.06);
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1200px;
  --body-width: 720px;
  --sidebar-width: 300px;
  --gap: 32px;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
figure {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  border: 0;
}

a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-red);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

sup {
  font-size: 0.75em;
  line-height: 1;
  color: var(--accent-red);
  font-family: var(--font-sans);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   2. Layout — 全站骨架：页头 / 页脚 / 主容器
   ------------------------------------------------------------ */

/* 页头 */
.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  border-left: 1px solid var(--line);
  padding-left: 10px;
  line-height: 1.4;
}

/* 主导航 */
.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-list li a:hover {
  background-color: var(--accent-red-soft);
  color: var(--accent-red);
}

.nav-list li a.is-current {
  background-color: var(--accent-red);
  color: var(--white);
  font-weight: 500;
}

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 主内容 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 首页主内容 */
.home-main {
  padding-bottom: 0;
}

/* 内页主内容 */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 64px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--accent-teal);
}

.breadcrumb a:hover {
  color: var(--accent-red);
}

.breadcrumb-sep {
  color: var(--line);
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--ink-soft);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
  position: relative;
}

.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  background-color: var(--accent-red);
}

.page-title {
  font-size: 28px;
  margin-bottom: 12px;
  font-weight: 700;
}

.page-description {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--accent-red);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.page-summary {
  max-width: var(--body-width);
}

.page-summary p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.summary-note {
  font-size: 14px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  border-left: 3px solid var(--accent-teal);
  padding-left: 12px;
  margin-top: 12px;
}

.summary-lead {
  font-size: 16px;
  color: var(--ink-soft);
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: #c9c9cf;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-slogan {
  font-size: 14px;
  color: var(--accent-red);
  font-family: var(--font-sans);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #a0a0a8;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav ul li,
.footer-guide ul li {
  margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-guide ul li a {
  font-size: 14px;
  color: #a0a0a8;
  font-family: var(--font-sans);
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover,
.footer-guide ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #7a7a82;
  font-family: var(--font-sans);
  max-width: var(--container);
  margin: 0 auto;
}

/* ------------------------------------------------------------
   3. Components — 通用组件
   ------------------------------------------------------------ */

/* 封面图容器 */
.cover-card figure,
.update-cover,
.media-figure,
.guide-figure,
.chart-figure,
.diagram-figure,
.about-figure {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--paper-deep);
}

.cover-card img,
.update-cover img,
.media-figure img,
.guide-figure img,
.chart-figure img,
.diagram-figure img,
.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cover-card:hover img,
.update-card:hover img,
.media-card:hover img {
  transform: scale(1.03);
}

/* 表格通用 */
.table-wrap,
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}

thead th {
  background-color: var(--paper-deep);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.7;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background-color: var(--accent-teal-soft);
}

/* 脚注 */
.footnote,
.table-footnote,
.table-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  margin-top: 12px;
  line-height: 1.7;
}

/* 摘要区（内页正文上方） */
.abstract-block {
  background-color: var(--paper-deep);
  border-left: 3px solid var(--accent-teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px;
}

.abstract-text {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.abstract-text strong {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-sans);
  font-size: 14px;
  display: inline-block;
  margin-right: 4px;
}

.abstract-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

/* 章节目录 */
.chapter-nav {
  margin-bottom: 40px;
}

.chapter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chapter-list li a {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--white);
  transition: all 0.2s ease;
}

.chapter-list li a:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.chapter-list li a.is-active {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
  color: var(--white);
}

/* 延伸阅读卡片 */
.related-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-teal);
}

.related-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 600;
}

.related-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.related-card a {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
}

/* ------------------------------------------------------------
   4. Pages — 首页
   ------------------------------------------------------------ */

/* 首屏横向封面更新条 */
.hero-update-strip {
  background-color: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 32px;
}

.strip-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.strip-header h1 {
  font-size: 26px;
  font-weight: 700;
  position: relative;
  padding-left: 16px;
  line-height: 1.4;
}

.strip-header h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

.strip-note {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  max-width: 320px;
  text-align: right;
  line-height: 1.6;
}

/* 横向滚动封面条 */
.cover-strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cover-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.cover-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.cover-card figure {
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: 0;
}

.cover-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cover-info h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.update-status {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.update-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-teal);
  flex-shrink: 0;
}

.cover-info a {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-red);
}

.cover-info a:hover {
  text-decoration: underline;
}

/* 首页主体双栏 */
.home-columns {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: 48px;
  align-items: start;
}

.content-primary {
  min-width: 0;
}

/* 问答预览 */
.qa-preview {
  margin-bottom: 48px;
}

.qa-preview h2,
.theme-tags h2,
.pending-questions h2,
.hot-intro h2,
.read-path h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.qa-preview h2::after,
.theme-tags h2::after,
.pending-questions h2::after,
.hot-intro h2::after,
.read-path h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background-color: var(--accent-red);
}

.qa-list {
  border-top: 1px solid var(--line);
}

.qa-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.qa-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.5;
}

.qa-item h3 a {
  color: var(--ink);
}

.qa-item h3 a:hover {
  color: var(--accent-red);
}

.qa-item p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.qa-item a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

.more-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-teal);
  padding: 8px 20px;
  border: 1px solid var(--accent-teal);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.more-link:hover {
  background-color: var(--accent-teal);
  color: var(--white);
}

/* 侧栏 */
.sidebar {
  min-width: 0;
}

.theme-tags {
  margin-bottom: 40px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.tag-list li a:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background-color: var(--accent-red-soft);
}

.pending-questions {
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.pending-questions h2 {
  font-size: 18px;
  margin-bottom: 12px;
  border-bottom: none;
  padding-bottom: 0;
}

.pending-questions h2::after {
  display: none;
}

.pending-questions p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ask-entry {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-red);
  padding: 8px 20px;
  border: 1px solid var(--accent-red);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ask-entry:hover {
  background-color: var(--accent-red);
  color: var(--white);
}

/* 热度榜摘要条 */
.hot-ranking {
  background-color: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}

.hot-ranking .hot-intro,
.hot-ranking .hot-list {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hot-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.hot-intro p {
  font-size: 15px;
  color: var(--ink-muted);
  max-width: 640px;
  line-height: 1.7;
}

.hot-intro a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-teal);
  white-space: nowrap;
  align-self: end;
}

.hot-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.hot-list li {
  background-color: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease;
}

.hot-list li:hover {
  box-shadow: var(--shadow-hover);
}

.rank {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1;
}

.hot-list li:nth-child(2) .rank {
  color: var(--accent-teal);
}

.hot-list li:nth-child(3) .rank {
  color: var(--ink-muted);
}

.hot-list li a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.hot-list li a:hover {
  color: var(--accent-red);
}

.trend {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent-teal);
}

/* 阅读路径三步 */
.read-path {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.step {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-hover);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.step a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-teal);
}

/* ------------------------------------------------------------
   5. Pages — 内页通用与各栏目
   ------------------------------------------------------------ */

/* 题材导航 ticai */
.page-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.topic-sidebar {
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 88px;
}

.sidebar-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.filter-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.filter-tags li a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.filter-tags li a:hover {
  background-color: var(--white);
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

.sidebar-tip {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.sidebar-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-red);
}

.topic-content {
  min-width: 0;
}

.topic-table-section {
  margin-bottom: 40px;
}

.topic-table-section h2,
.topic-media h2,
.topic-path-tips h2,
.related-reading h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-teal);
  line-height: 1.4;
}

.topic-index-table {
  min-width: 640px;
}

.topic-media {
  margin-bottom: 40px;
}

.media-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.media-figure {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.media-figure img {
  object-fit: cover;
}

.media-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  background-color: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.topic-path-tips {
  margin-bottom: 40px;
}

.path-intro {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.path-tip-list {
  margin-bottom: 20px;
}

.path-tip-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.path-tip-list li strong {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  margin-right: 8px;
  font-weight: 600;
}

.path-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.path-link {
  display: inline-block;
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  transition: all 0.2s ease;
}

.path-link:hover {
  background-color: var(--accent-teal);
  color: var(--white);
}

/* 相关阅读 */
.related-reading {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* 阅读指引 yuedu */
.guide-content {
  max-width: var(--body-width);
}

.guide-section {
  margin-bottom: 56px;
  scroll-margin-top: 88px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.step-block {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.step-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent-teal);
  font-family: var(--font-sans);
}

.step-block p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.guide-figure {
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.guide-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  background-color: var(--paper-deep);
  border-top: 1px solid var(--line);
}

/* 疑难情形 */
.trouble-cards {
  max-width: var(--body-width);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.trouble-cards .section-title,
.section-desc {
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--ink-muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.trouble-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s ease;
}

.trouble-card:hover {
  box-shadow: var(--shadow-hover);
}

.trouble-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.trouble-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.trouble-card a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
}

/* 脚注区 */
.footnotes {
  max-width: var(--body-width);
  margin-top: 40px;
  padding: 20px 24px;
  background-color: var(--paper-deep);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.footnotes ol {
  list-style: decimal;
  padding-left: 20px;
}

.footnotes ol li {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* 更新安排 gengxin */
.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-head .section-desc {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 0;
}

.recent-updates,
.update-schedule,
.update-rules {
  margin-bottom: 48px;
}

.update-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.update-card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.update-card:hover {
  box-shadow: var(--shadow-hover);
}

.update-cover {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.update-info {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.update-info h3 {
  font-size: 16px;
  font-weight: 600;
}

.update-state {
  font-family: var(--font-sans);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.update-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.state-done {
  color: var(--accent-teal);
}

.state-done::before {
  background-color: var(--accent-teal);
}

.state-doing {
  color: var(--accent-red);
}

.state-doing::before {
  background-color: var(--accent-red);
}

.state-pending {
  color: var(--ink-muted);
}

.state-pending::before {
  background-color: var(--ink-muted);
}

.update-time {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
}

.update-link {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-red);
  padding-top: 8px;
}

/* 更新周期表 */
.schedule-table {
  min-width: 640px;
}

/* 更新规则 */
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rule-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.rule-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent-teal);
}

.rule-item p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}

.related-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 14px;
}

.related-links p {
  color: var(--ink-soft);
}

.related-links a {
  font-weight: 500;
  margin: 0 8px;
}

/* 热度说明 paihang */
.rank-top-five,
.rank-chart,
.rank-methodology,
.rank-footnotes {
  margin-bottom: 48px;
}

.rank-top-five h2,
.rank-chart h2,
.rank-methodology h2,
.rank-footnotes h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 24px;
  max-width: var(--body-width);
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.rank-item {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease;
}

.rank-item:hover {
  box-shadow: var(--shadow-hover);
}

.rank-number {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1;
}

.rank-item:nth-child(2) .rank-number {
  color: var(--accent-teal);
}

.rank-item:nth-child(3) .rank-number {
  color: var(--ink-muted);
}

.rank-content h3 {
  font-size: 16px;
  font-weight: 600;
}

.rank-trend {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent-teal);
}

.rank-content p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.rank-content a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-red);
}

/* 趋势图 */
.chart-figure {
  aspect-ratio: 16 / 7;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.chart-figure img {
  object-fit: contain;
  padding: 16px;
}

.chart-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  border-top: 1px solid var(--line);
  background-color: var(--paper-deep);
}

.chart-conclusion {
  background-color: var(--accent-teal-soft);
  border-left: 3px solid var(--accent-teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.chart-conclusion h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent-teal);
  font-family: var(--font-sans);
}

.chart-conclusion p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* 统计口径表 */
.rank-methodology .table-wrap {
  margin-bottom: 12px;
}

/* 脚注 */
.rank-footnotes {
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.rank-footnotes h2 {
  font-size: 18px;
}

.footnote-list {
  list-style: decimal;
  padding-left: 20px;
}

.footnote-list li {
  font-size: 14px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footnote-more {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.footnote-more a {
  font-weight: 500;
  margin: 0 6px;
}

/* 延伸阅读网格 */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.related-grid .related-card {
  display: block;
}

.related-grid .related-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.related-grid .related-card p {
  font-size: 14px;
}

/* 阅读问答 wenda */
.question-diagram {
  margin-bottom: 40px;
}

.question-diagram .section-title {
  margin-bottom: 16px;
}

.diagram-figure {
  aspect-ratio: 16 / 6;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagram-figure img {
  object-fit: contain;
  padding: 16px;
}

.diagram-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  border-top: 1px solid var(--line);
  background-color: var(--paper-deep);
}

/* 问题分类索引 */
.faq-index {
  margin-bottom: 40px;
}

.faq-index .section-title {
  margin-bottom: 16px;
}

.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.index-tags li a {
  display: inline-block;
  padding: 6px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.index-tags li a:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
  background-color: var(--accent-teal-soft);
}

/* 问题分组 */
.faq-group {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.group-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-red);
  line-height: 1.4;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 18px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-item summary:hover {
  color: var(--accent-red);
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-size: 20px;
  color: var(--ink-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 20px 34px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 8px;
}

.faq-answer a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  margin: 0 4px;
}

.extend-link {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-sans);
  font-size: 14px;
}

.extend-link a {
  color: var(--accent-teal);
}

/* 反馈说明 */
.fallback-note {
  margin-top: 40px;
}

.fallback-note .section-title {
  margin-bottom: 16px;
}

.fallback-card {
  background-color: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.fallback-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 8px;
}

.fallback-card a {
  font-family: var(--font-sans);
  font-weight: 500;
  margin: 0 4px;
}

.fallback-note-text {
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}

/* 关于本站 guanyu */
.about-content {
  max-width: var(--body-width);
}

.about-section {
  margin-bottom: 48px;
  scroll-margin-top: 88px;
}

.section-number {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}

.about-section .section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}

.about-section p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-section .footnote {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.about-figure {
  aspect-ratio: 16 / 7;
  margin: 24px 0;
  border-radius: var(--radius);
}

.about-figure img {
  object-fit: cover;
}

.about-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-muted);
  font-family: var(--font-sans);
  background-color: var(--paper-deep);
  border-top: 1px solid var(--line);
}

/* 站点名词表 */
.glossary-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.glossary-section .section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.glossary-section > p {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 20px;
  max-width: var(--body-width);
}

.glossary-table {
  min-width: 560px;
}

/* 相关内容 */
.related-links {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-sans);
  font-size: 14px;
}

.related-links-label {
  color: var(--ink-muted);
  font-weight: 500;
}

.related-links-item {
  font-weight: 500;
  color: var(--accent-teal);
}

/* ------------------------------------------------------------
   6. Pages — 404
   ------------------------------------------------------------ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-panel {
  max-width: 560px;
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.error-code {
  font-family: var(--font-sans);
  font-size: 72px;
  font-weight: 700;
  color: var(--accent-red);
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-link {
  display: inline-block;
  padding: 10px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  background-color: var(--accent-red);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #8c3232;
  color: var(--white);
}

.error-help {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.error-help p {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.error-help ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.error-help ul li a {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent-teal);
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--paper);
  transition: all 0.2s ease;
}

.error-help ul li a:hover {
  border-color: var(--accent-teal);
  background-color: var(--accent-teal-soft);
}

/* ------------------------------------------------------------
   7. Responsive — 响应式断点
   ------------------------------------------------------------ */

/* 桌面窄屏 1024px */
@media (max-width: 1024px) {
  .cover-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .hot-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .rank-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .update-card-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 平板 768px 断点 */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(38, 38, 43, 0.08);
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    display: block;
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list li a.is-current {
    background-color: var(--accent-red-soft);
    color: var(--accent-red);
  }

  /* 首页 */
  .strip-header {
    flex-direction: column;
    gap: 8px;
  }

  .strip-note {
    text-align: left;
    max-width: 100%;
  }

  .cover-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-columns {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 16px;
  }

  .hot-ranking {
    padding: 40px 0;
  }

  .hot-intro {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hot-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .path-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .read-path {
    padding: 40px 16px;
  }

  /* 内页 */
  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-header {
    margin-bottom: 32px;
  }

  .page-title {
    font-size: 24px;
  }

  /* 题材导航 */
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .topic-sidebar {
    position: static;
    order: 2;
  }

  .topic-content {
    order: 1;
  }

  /* 阅读指引 */
  .guide-content,
  .trouble-cards,
  .footnotes,
  .about-content {
    max-width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .chapter-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .chapter-list li {
    flex-shrink: 0;
  }

  /* 更新安排 */
  .update-card-list {
    grid-template-columns: 1fr;
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  /* 热度 */
  .rank-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-figure {
    aspect-ratio: 16 / 10;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  /* 问答 */
  .diagram-figure {
    aspect-ratio: 16 / 10;
  }

  /* 关于 */
  .about-figure {
    aspect-ratio: 16 / 9;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 16px;
  }
}

/* 手机 480px */
@media (max-width: 480px) {
  .cover-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px;
  }

  .strip-header {
    padding: 0 16px;
  }

  .cover-info {
    padding: 10px 12px;
  }

  .cover-info h3 {
    font-size: 14px;
  }

  .hot-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hot-list li {
    padding: 16px;
  }

  .rank-list {
    grid-template-columns: 1fr;
  }

  .home-columns {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-title {
    font-size: 22px;
  }

  .page-summary p {
    font-size: 15px;
  }

  .related-cards {
    grid-template-columns: 1fr;
  }

  .faq-answer {
    padding-left: 0;
  }

  .error-panel {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .table-wrap,
  .table-scroll {
    margin-left: -16px;
    margin-right: -16px;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
}
