/* ============================================================
   BASE — 基础重置、字体、颜色变量
   ============================================================ */
:root {
  --color-bg: #f5f5f5;
  --color-text: #333333;
  --color-accent: #e67e22;
  --color-white: #ffffff;
  --color-dark: #2c3e50;
  --color-border: #e0e0e0;
  --color-muted: #6b7280;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-dark);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  color: var(--color-dark);
  font-weight: 700;
}

p {
  margin-bottom: 0.5rem;
}

/* ============================================================
   LAYOUT — 全站统一外壳
   ============================================================ */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand-link {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  background-color: rgba(230, 126, 34, 0.08);
  color: var(--color-accent);
}

.nav-list li a.is-current {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-toggle .toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 主内容区 */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: #b0b0b0;
}

.breadcrumb-current {
  color: var(--color-dark);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 720px;
  line-height: 1.6;
}

/* ============================================================
   COMPONENTS — 通用组件
   ============================================================ */
/* 区块标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 640px;
}

.section-intro {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 640px;
}

/* 链接按钮 */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #d0701a;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-1px);
}

/* 区块内通用链接 */
.section-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
}

.section-link::after {
  content: " →";
}

/* 文字链接 */
.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* 图片容器 */
.hero-figure,
.work-figure,
.step-media,
.rank-cover,
.serial-cover,
.card-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
}

.hero-figure img,
.work-figure img,
.step-media img,
.rank-cover img,
.serial-cover img,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   PAGES — 首页
   ============================================================ */
.home-main {
  width: 100%;
}

/* 首屏 hero */
.hero-section {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.hero-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-lead {
  font-size: 17px;
  color: var(--color-muted);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-figure {
  width: 100%;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

/* 题材分类导航带 */
.categories-nav-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 16px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.category-tags li a {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  min-height: 40px;
  line-height: 1.4;
}

.category-tags li a:hover {
  border-color: var(--color-accent);
  background-color: rgba(230, 126, 34, 0.06);
  color: var(--color-accent);
}

/* 最近更新 */
.recent-updates-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 16px;
}

.update-group {
  margin-bottom: 28px;
}

.update-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 4px solid var(--color-accent);
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.update-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.update-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.update-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.update-tag {
  display: inline-block;
  font-size: 12px;
  background-color: rgba(230, 126, 34, 0.1);
  color: var(--color-accent);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  font-weight: 500;
}

.update-time {
  display: inline-block;
  font-size: 12px;
  color: var(--color-muted);
}

/* 人气榜单预览 */
.ranking-preview-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 16px;
}

.ranking-preview-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ranking-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 16px;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ranking-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
}

.ranking-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ranking-info p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* 阅读指南入口 */
.guide-entry-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 16px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.guide-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
}

.card-link::after {
  content: " →";
}

/* 版权与反馈说明 */
.copyright-note-section {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 16px;
}

.copyright-note-section p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* 相关链接（首页底部） */
.related-links {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 16px 24px 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
}

.related-links-item {
  font-size: 14px;
  color: var(--color-muted);
  padding: 6px 12px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   PAGES — 题材分类页
   ============================================================ */
.tag-list {
  margin-bottom: 40px;
}

.tag-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-items li a {
  display: inline-block;
  padding: 8px 18px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-dark);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.tag-items li a:hover {
  border-color: var(--color-accent);
  background-color: rgba(230, 126, 34, 0.06);
  color: var(--color-accent);
}

.category-desc {
  margin-bottom: 40px;
}

.desc-lead {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 20px;
  max-width: 720px;
}

.desc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.desc-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
}

.desc-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.desc-item p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.works-grid {
  margin-bottom: 40px;
}

.works-lead {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 720px;
}

.work-card {
  display: flex;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 16px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.work-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.work-figure {
  width: 140px;
  height: 180px;
  flex-shrink: 0;
}

.work-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-info p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.work-info a {
  font-size: 14px;
  font-weight: 600;
  align-self: flex-start;
}

.category-tip {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
}

.category-tip p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

.category-tip a {
  font-weight: 600;
}

/* ============================================================
   PAGES — 阅读指南页
   ============================================================ */
.guide-section {
  margin-bottom: 48px;
}

.guide-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.guide-section .section-intro {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 720px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
  align-items: flex-start;
}

.step-media {
  width: 120px;
  height: 90px;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tip-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
}

.tip-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-accent);
}

.tip-card p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.faq-list {
  max-width: 800px;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-accent);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: rgba(230, 126, 34, 0.04);
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.feedback-section {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
  margin-bottom: 0;
}

.feedback-section p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ============================================================
   PAGES — 人气榜单页
   ============================================================ */
.ranking-list {
  margin-bottom: 48px;
}

.ranking-list .section-intro,
.work-intro .section-intro,
.reader-recommend .section-intro {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 720px;
}

.ranking-item {
  display: flex;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
  margin-bottom: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.rank-cover {
  width: 96px;
  height: 128px;
  flex-shrink: 0;
}

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rank-tags {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.rank-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.rank-reason {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

.rank-reason strong {
  color: var(--color-dark);
}

.work-intro {
  margin-bottom: 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.intro-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
}

.intro-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.intro-card p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.reader-recommend {
  margin-bottom: 48px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.recommend-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 24px;
}

.recommend-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.recommend-card p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 榜单页相关链接 */
.related-links h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links ul li a {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-dark);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links ul li a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ============================================================
   PAGES — 连载更新页
   ============================================================ */
.serial-list-block {
  margin-bottom: 48px;
}

.serial-list-block h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.serial-list-block > p {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  max-width: 720px;
}

.serial-item {
  display: flex;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
  margin-bottom: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.serial-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.serial-cover {
  width: 96px;
  height: 128px;
  flex-shrink: 0;
}

.serial-info {
  flex: 1;
  min-width: 0;
}

.serial-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.update-time {
  display: block;
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.chapter-progress {
  display: block;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.serial-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.serial-info a {
  font-size: 14px;
  font-weight: 600;
}

.update-schedule {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
  margin-bottom: 48px;
}

.update-schedule h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.update-schedule p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.chapter-progress-overview {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
}

.chapter-progress-overview h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.chapter-progress-overview p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.chapter-progress-overview a {
  font-weight: 600;
}

/* ============================================================
   PAGES — 完结作品页
   ============================================================ */
.complete-list {
  margin-bottom: 48px;
}

.complete-card {
  display: flex;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 20px;
  margin-bottom: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.complete-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-media {
  width: 96px;
  height: 128px;
  flex-shrink: 0;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.work-meta {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.work-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.work-reason {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

.work-reason strong {
  color: var(--color-dark);
}

.work-intro,
.recommend-reason {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 28px;
  margin-bottom: 24px;
}

.work-intro h2,
.recommend-reason h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.work-intro p,
.recommend-reason p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ============================================================
   PAGES — 404 页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1 0 auto;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-back {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  min-height: 44px;
  line-height: 1.4;
}

.btn-back:hover {
  background-color: #d0701a;
  color: var(--color-white);
}

/* ============================================================
   FOOTER — 全站统一页脚
   ============================================================ */
.site-footer {
  background-color: var(--color-dark);
  color: #c0c8d0;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 480px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-link-group h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-link-group ul li {
  margin-bottom: 8px;
}

.footer-link-group ul li a {
  font-size: 14px;
  color: #c0c8d0;
  transition: color 0.2s ease;
}

.footer-link-group ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: #8a94a0;
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE — 响应式
   ============================================================ */
@media (max-width: 1024px) {
  .ranking-preview-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .desc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    margin-left: 0;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
    width: 100%;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .inner-main {
    padding: 24px 16px 48px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-figure {
    aspect-ratio: 16 / 10;
  }

  .categories-nav-section,
  .recent-updates-section,
  .ranking-preview-section,
  .guide-entry-section,
  .copyright-note-section,
  .related-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .ranking-preview-list {
    grid-template-columns: 1fr;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }

  .steps-list {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    flex-direction: column;
  }

  .work-figure {
    width: 100%;
    height: 180px;
  }

  .desc-grid {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .rank-cover {
    width: 80px;
    height: 106px;
  }

  .rank-number {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }

  .intro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .serial-item {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .serial-cover {
    width: 80px;
    height: 106px;
  }

  .complete-card {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card-media {
    width: 80px;
    height: 106px;
  }

  .step-item {
    flex-direction: column;
  }

  .step-media {
    width: 100%;
    height: 140px;
  }

  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .related-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .category-tags li a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .tag-items li a {
    padding: 8px 14px;
    font-size: 13px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .update-item {
    flex-direction: row;
  }

  .update-item img {
    width: 56px;
    height: 76px;
  }
}
