/* ============================================================
   漫漫漫画 suaitad.cn — 全站样式表
   视觉方向：实验排版风 · 纸张暖白 · 深色页脚收束
   ============================================================ */

/* ============================================================
   Base — 变量、重置、基础排版
   ============================================================ */
:root {
  --paper: #FAF6EF;
  --ink: #25302A;
  --accent: #DC5B3F;
  --soft: #E9DFD2;
  --night: #1E211D;
  --night-soft: #2A2E28;
  --white: #FFFFFF;
  --text-muted: #6B6F66;
  --serif: "Songti SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PINGFANG SC", "Microsoft YaHei", sans-serif;
  --container: 1160px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-card: 0 2px 12px rgba(37, 48, 42, 0.08);
  --shadow-hover: 0 8px 24px rgba(37, 48, 42, 0.14);
  --transition-base: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background-color: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #B8462E;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* 无障碍隐藏 */
.sr-only,
.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;
}

/* ============================================================
   Layout — 页头、页脚、主容器、面包屑
   ============================================================ */
.site-header {
  background-color: var(--paper);
  border-bottom: 1px solid var(--soft);
  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: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--accent);
}

.brand-name {
  position: relative;
}

.brand-name::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: var(--radius-sm);
  position: relative;
  font-weight: 500;
}

.site-nav .nav-list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.site-nav .nav-list a:hover::after,
.site-nav .nav-list a.is-current::after {
  transform: scaleX(1);
}

.site-nav .nav-list a.is-current {
  color: var(--accent);
}

.site-main {
  flex: 1;
}

/* 首页主容器 */
.home-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* 内页主容器 */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  padding: 24px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--soft);
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 页头标题区 */
.page-header {
  padding: 12px 0 32px;
}

.page-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: var(--serif);
}

.page-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.9;
}

/* 页脚 */
.site-footer {
  background-color: var(--night);
  color: rgba(250, 246, 239, 0.8);
  padding: 56px 0 24px;
  margin-top: auto;
}

.footer-columns {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(250, 246, 239, 0.7);
}

.footer-brand strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 8px;
  font-family: var(--serif);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(250, 246, 239, 0.7);
  font-size: 0.92rem;
  transition: color var(--transition-base), padding-left var(--transition-base);
}

.footer-links a:hover {
  color: var(--paper);
  padding-left: 4px;
}

.footer-bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(250, 246, 239, 0.12);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(250, 246, 239, 0.5);
}

/* ============================================================
   Components — 通用组件
   ============================================================ */

/* 区块标题 */
.section-heading {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--serif);
  position: relative;
  padding-left: 16px;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-block {
  padding: 40px 0;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 28px;
}

.section-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin-bottom: 28px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #B8462E;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

/* 文本链接 */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.95rem;
}

.text-link::after {
  content: "→";
  transition: transform var(--transition-base);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* 状态标签 */
.status-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.status-serial {
  background-color: rgba(220, 91, 63, 0.14);
  color: var(--accent);
}

.status-finished {
  background-color: rgba(37, 48, 42, 0.1);
  color: var(--ink);
}

.status-planned {
  background-color: rgba(107, 111, 102, 0.14);
  color: var(--text-muted);
}

/* 更多链接 */
.more-link {
  margin-top: 28px;
  text-align: center;
}

.more-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 8px 24px;
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background-color: var(--white);
  transition: border-color var(--transition-base), color var(--transition-base);
}

.more-link a::after {
  content: "→";
}

.more-link a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 相关链接条 */
.related-links {
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--soft);
  margin-top: 48px;
}

.related-links-label {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  margin-right: 4px;
}

.related-links-item {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color var(--transition-base), color var(--transition-base);
}

.related-links-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 表格滚动容器 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--soft);
  background: var(--white);
}

/* ============================================================
   Pages — 首页 index.html
   ============================================================ */

/* 首屏不对称布局 */
.hero-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 48px 0 56px;
  align-items: stretch;
}

/* 左侧页面内索引 */
.hero-index {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 20px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.index-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--soft);
  font-family: var(--serif);
}

.index-list li {
  margin-bottom: 4px;
}

.index-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.index-list a:hover {
  background-color: rgba(220, 91, 63, 0.08);
  color: var(--accent);
}

/* 右侧主视觉 */
.hero-broad {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 7;
  background-color: var(--soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  padding: 8px 0 0;
}

#hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  font-family: var(--serif);
  max-width: 640px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* 编辑部手记 */
.editor-note {
  border-left: 4px solid var(--accent);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 32px 40px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 8px 0 24px;
}

.editor-note .section-heading {
  margin-bottom: 12px;
}

.note-text {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 2;
  max-width: 820px;
}

/* 选漫速查表 */
.quick-look {
  padding-bottom: 24px;
}

.shelf-table {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--soft);
}

.shelf-table thead {
  background-color: var(--ink);
}

.shelf-table th {
  color: var(--paper);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 20px;
  text-align: left;
}

.shelf-table td {
  padding: 16px 20px;
  border-top: 1px solid var(--soft);
  font-size: 0.95rem;
  vertical-align: top;
}

.shelf-table tbody tr {
  transition: background-color var(--transition-base);
}

.shelf-table tbody tr:hover {
  background-color: rgba(233, 223, 210, 0.25);
}

.shelf-table td a {
  font-weight: 600;
}

/* 阅读场景卡 */
.scene-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0 40px;
}

.scene-cards .scene-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.scene-cards .scene-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.scene-cards .scene-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: var(--serif);
}

.scene-cards .scene-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

.scene-cards .scene-card a {
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.scene-cards .scene-card a::after {
  content: "→";
}

/* 最近更新封面墙 */
.recent-wall {
  padding-top: 24px;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.comic-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--soft);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.comic-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.comic-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.comic-card figcaption {
  padding: 16px 16px 20px;
}

.comic-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.comic-card .tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  background-color: rgba(220, 91, 63, 0.1);
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 600;
}

.comic-card .status {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.comic-card .status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  display: inline-block;
}

/* 人气榜摘要 */
.rank-summary {
  padding-top: 24px;
}

.rank-compact {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.rank-compact li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--soft);
  transition: background-color var(--transition-base);
}

.rank-compact li:last-child {
  border-bottom: none;
}

.rank-compact li:hover {
  background-color: rgba(233, 223, 210, 0.25);
}

.rank-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--soft);
  font-family: var(--serif);
  min-width: 48px;
  line-height: 1;
}

.rank-compact li:nth-child(1) .rank-number {
  color: var(--accent);
}

.rank-compact li:nth-child(2) .rank-number {
  color: #C78A4A;
}

.rank-compact li:nth-child(3) .rank-number {
  color: #8A8F8B;
}

.rank-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.rank-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 新读者出发区 */
.new-reader {
  background-color: var(--ink);
  border-radius: var(--radius);
  padding: 48px 48px;
  margin: 32px 0 48px;
  color: var(--paper);
}

.new-reader .section-heading {
  color: var(--paper);
}

.new-reader .section-heading::before {
  background: var(--accent);
}

.new-reader p {
  color: rgba(250, 246, 239, 0.85);
  font-size: 1.02rem;
  line-height: 2;
  max-width: 720px;
}

.new-reader p a {
  color: #F2A28C;
  font-weight: 700;
  margin-right: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.new-reader p a:hover {
  color: var(--white);
}

/* ============================================================
   Pages — 题材检阅 explore.html
   ============================================================ */

.intro-visual {
  margin-bottom: 48px;
}

.intro-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--soft);
  background-color: var(--white);
}

.intro-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.intro-figure figcaption {
  padding: 14px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background-color: var(--white);
  border-top: 1px solid var(--soft);
}

/* 题材卡矩阵 */
.theme-card-matrix {
  margin-bottom: 48px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.theme-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  position: relative;
  overflow: hidden;
}

.theme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.theme-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.theme-card:hover::before {
  opacity: 1;
}

.theme-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-family: var(--serif);
}

.theme-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-list li {
  font-size: 0.8rem;
  color: var(--ink);
  background-color: rgba(233, 223, 210, 0.6);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 500;
}

/* 对照表 */
.comparison-section {
  margin-bottom: 48px;
}

.comparison-table {
  background-color: var(--white);
  min-width: 720px;
}

.comparison-table thead {
  background-color: var(--ink);
}

.comparison-table th {
  color: var(--paper);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.comparison-table tbody th {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  background-color: rgba(233, 223, 210, 0.3);
}

.comparison-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--soft);
  font-size: 0.92rem;
  color: var(--ink);
  vertical-align: top;
}

.comparison-table a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* 场景提示 */
.scene-position-grid {
  margin-bottom: 24px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.scene-grid .scene-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 3px solid var(--accent);
}

.scene-grid .scene-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  font-family: var(--serif);
}

.scene-grid .scene-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.9;
}

.bottom-links {
  margin-top: 32px;
  padding: 32px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  text-align: center;
}

.bottom-links p {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.bottom-links a {
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: rgba(233, 223, 210, 0.4);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.bottom-links a:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* ============================================================
   Pages — 追更台 serial.html
   ============================================================ */

/* 状态图例 */
.status-legend {
  margin-bottom: 48px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.legend-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.legend-item .status-tag {
  flex-shrink: 0;
  margin-top: 4px;
}

.legend-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 更新条目 */
.updates-list {
  margin-bottom: 48px;
}

.update-item {
  display: flex;
  gap: 24px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow var(--transition-base);
}

.update-item:hover {
  box-shadow: var(--shadow-card);
}

.update-cover {
  flex-shrink: 0;
  width: 120px;
}

.update-cover img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.update-title-row h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.update-tags {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.update-tags::before {
  content: "题材";
  background-color: rgba(220, 91, 63, 0.1);
  color: var(--accent);
  padding: 1px 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.update-summary {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 8px;
}

.update-progress {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.update-progress::before {
  content: "进度";
  font-weight: 700;
  margin-right: 4px;
  color: var(--ink);
}

/* 状态表 */
.status-explanation-table {
  margin-bottom: 32px;
}

.status-explanation-table table {
  background-color: var(--white);
  min-width: 640px;
}

.status-explanation-table thead {
  background-color: var(--ink);
}

.status-explanation-table th {
  color: var(--paper);
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
}

.status-explanation-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--soft);
  font-size: 0.92rem;
  vertical-align: top;
}

/* ============================================================
   Pages — 人气榜 ranking.html
   ============================================================ */

.module-block {
  margin-bottom: 48px;
}

/* 前三名大卡 */
.top3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rank-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}

.rank-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.rank-card-media {
  position: relative;
}

.rank-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.rank-card-content {
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.rank-2 .rank-badge {
  background-color: #C78A4A;
}

.rank-3 .rank-badge {
  background-color: #8A8F8B;
}

.rank-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-family: var(--serif);
}

.genre-tag {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 600;
}

.rank-reason,
.rank-item-reason {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 完整榜单 */
.rank-list-wrap {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.rank-list-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--soft);
  transition: background-color var(--transition-base);
}

.rank-list-item:last-child {
  border-bottom: none;
}

.rank-list-item:hover {
  background-color: rgba(233, 223, 210, 0.25);
}

.rank-list-item .rank-number {
  min-width: 40px;
  font-size: 1.4rem;
}

.rank-item-main {
  flex: 1;
  min-width: 0;
}

.rank-item-main h3 {
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.rank-item-main .genre-tag {
  margin-bottom: 4px;
}

/* 编辑说明 */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.note-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
}

.note-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--serif);
}

.note-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   Pages — 编辑特辑 featured.html
   ============================================================ */

/* 连续阅读导航 */
.reading-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 32px;
}

.reading-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  min-height: 68px;
  justify-content: center;
}

.reading-link:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.reading-link-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.reading-link-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.reading-link-prev {
  text-align: left;
}

.reading-link-index {
  text-align: center;
}

.reading-link-next {
  text-align: right;
}

.reading-nav-bottom {
  margin-top: 48px;
}

/* 文章主体 */
.featured-article {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 48px 56px;
}

.article-section {
  margin-bottom: 36px;
}

.article-section p {
  font-size: 1.02rem;
  line-height: 2.1;
  color: var(--ink);
  margin-bottom: 18px;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.featured-figure {
  margin: 40px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--soft);
}

.featured-figure img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.featured-figure-inline img {
  aspect-ratio: 16 / 6;
}

.featured-figure figcaption {
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  background-color: var(--white);
  border-top: 1px solid var(--soft);
}

/* 目录 */
.featured-toc {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 32px 40px;
  margin-top: 40px;
}

.toc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.toc-list li {
  counter-increment: toc;
}

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.toc-list a::before {
  content: "§";
  color: var(--accent);
  font-weight: 700;
}

.toc-list a:hover {
  background-color: rgba(233, 223, 210, 0.4);
  color: var(--accent);
}

/* 相关栏目 */
.featured-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.related-column {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 24px;
}

.related-column h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-family: var(--serif);
}

.related-column p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.8;
}

.related-column a {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================================
   Pages — 入坑指南 guide.html
   ============================================================ */

.guide-intro-figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--soft);
  margin-bottom: 48px;
  background-color: var(--white);
}

.guide-intro-figure img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
}

.guide-intro-figure figcaption {
  padding: 12px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-top: 1px solid var(--soft);
}

/* FAQ */
.newcomer-faq {
  margin-bottom: 48px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item[open] {
  border-color: rgba(220, 91, 63, 0.4);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(220, 91, 63, 0.08);
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--soft);
}

.faq-answer p {
  padding-top: 16px;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 2;
}

/* 问题排查 */
.trouble-flow {
  margin-bottom: 32px;
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trouble-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.trouble-card h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-family: var(--serif);
  position: relative;
  padding-left: 14px;
}

.trouble-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.trouble-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-size: 0.93rem;
}

.trouble-card dt {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.trouble-card dd {
  color: var(--text-muted);
  line-height: 1.8;
}

.trouble-card dd a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 底部链接 */
.guide-bottom-links {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 32px;
}

.guide-bottom-links p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.guide-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guide-link-list li a {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(233, 223, 210, 0.4);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.guide-link-list li a:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* ============================================================
   Pages — 站务公约 notice.html
   ============================================================ */

.section-rule,
.section-copyright,
.section-feedback,
.section-faq-links {
  margin-bottom: 48px;
}

.section-rule h2,
.section-copyright h2,
.section-feedback h2,
.section-faq-links h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: var(--serif);
  position: relative;
  padding-left: 16px;
}

.section-rule h2::before,
.section-copyright h2::before,
.section-feedback h2::before,
.section-faq-links h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-divider-img {
  width: 100%;
  height: 4px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 28px;
  background-color: var(--soft);
}

.rule-block {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.rule-block h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.rule-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.copyright-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.copyright-card {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 28px;
}

.copyright-card h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  font-family: var(--serif);
}

.copyright-card ul {
  margin-bottom: 12px;
}

.copyright-card li {
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.7;
  position: relative;
  padding-left: 18px;
}

.copyright-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.copyright-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.copyright-note {
  background-color: rgba(233, 223, 210, 0.5);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* 反馈步骤 */
.section-feedback {
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  padding: 32px;
}

.section-feedback > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 680px;
}

.feedback-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feedback-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* 相关链接 */
.section-faq-links {
  background-color: rgba(233, 223, 210, 0.3);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.section-faq-links p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-faq-links .related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: none;
  margin-top: 0;
  padding: 0;
  justify-content: flex-start;
}

.section-faq-links .related-links li a {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color var(--transition-base), color var(--transition-base);
}

.section-faq-links .related-links li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   Pages — 404 error.html
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.error-content {
  text-align: center;
  max-width: 560px;
  padding: 60px 24px;
  background-color: var(--white);
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  margin: 48px auto;
}

.error-code {
  font-size: 4.5rem;
  font-weight: 800;
  font-family: var(--serif);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}

.error-content h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-family: var(--serif);
}

.error-lead {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.error-help {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   Responsive — 断点适配
   ============================================================ */

/* 平板 */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-index {
    position: static;
    order: 2;
  }

  .hero-broad {
    order: 1;
  }

  .index-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top3-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .update-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* 手机 768px 及以下 */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--paper);
    border-bottom: 1px solid var(--soft);
    box-shadow: 0 8px 16px rgba(37, 48, 42, 0.1);
  }

  .site-nav .nav-list {
    display: none;
    flex-direction: column;
    padding: 8px 16px 16px;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li {
    border-bottom: 1px solid rgba(233, 223, 210, 0.6);
  }

  .site-nav .nav-list li:last-child {
    border-bottom: none;
  }

  .site-nav .nav-list a {
    padding: 14px 12px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .site-nav .nav-list a::after {
    display: none;
  }

  .site-nav .nav-list a.is-current {
    background-color: rgba(220, 91, 63, 0.06);
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-layout {
    padding: 24px 0 32px;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  #hero-title {
    font-size: 1.7rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-block {
    padding: 28px 0;
  }

  .section-heading {
    font-size: 1.35rem;
  }

  .editor-note {
    padding: 24px 20px;
  }

  .scene-cards,
  .theme-grid,
  .scene-grid,
  .top3-grid,
  .editorial-grid,
  .featured-related,
  .trouble-grid,
  .copyright-grid {
    grid-template-columns: 1fr;
  }

  .update-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .legend-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .update-item {
    flex-direction: column;
    gap: 16px;
  }

  .update-cover,
  .update-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .rank-compact li {
    padding: 14px 16px;
    gap: 12px;
  }

  .rank-number {
    font-size: 1.3rem;
    min-width: 32px;
  }

  .rank-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }

  .rank-list-item .rank-number {
    margin-bottom: 0;
  }

  .reading-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reading-link {
    padding: 12px 16px;
    min-height: 0;
  }

  .reading-link-next {
    text-align: left;
  }

  .featured-article {
    padding: 28px 20px;
  }

  .article-section p {
    font-size: 0.98rem;
  }

  .featured-figure img {
    aspect-ratio: 4 / 3;
  }

  .featured-figure-inline img {
    aspect-ratio: 4 / 3;
  }

  .toc-list {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 16px;
  }

  .trouble-card {
    padding: 20px;
  }

  .trouble-card dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .trouble-card dt {
    margin-top: 8px;
  }

  .trouble-card dd {
    margin-bottom: 4px;
  }

  .page-header {
    padding: 12px 0 24px;
  }

  .page-title {
    font-size: 1.6rem;
  }

  .page-description {
    font-size: 0.98rem;
  }

  .bottom-links {
    padding: 24px 16px;
  }

  .bottom-links p {
    flex-direction: column;
    align-items: center;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px;
  }

  .footer-brand {
    grid-column: 1;
  }

  .footer-bottom {
    padding: 16px 16px 0;
  }

  .section-feedback {
    padding: 24px 20px;
  }

  .feedback-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-faq-links {
    padding: 24px 20px;
  }

  .error-content {
    margin: 24px 16px;
    padding: 40px 20px;
  }

  .error-code {
    font-size: 3rem;
  }
}

/* 超小屏 */
@media (max-width: 480px) {
  .brand {
    font-size: 1.15rem;
  }

  .home-main,
  .inner-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .index-list {
    grid-template-columns: 1fr;
  }

  .shelf-table th,
  .shelf-table td {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .hero-media {
    aspect-ratio: 1 / 1;
  }

  #hero-title {
    font-size: 1.5rem;
  }

  .new-reader {
    padding: 28px 20px;
  }

  .new-reader .section-heading {
    font-size: 1.25rem;
  }

  .related-links {
    flex-direction: column;
  }
}
