/* ============================================================
   base — 全局基础样式
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #22262b;
  background-color: #f5f6f8;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #2a5cff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1a3fcc;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.4;
  color: #1d2329;
}

/* ============================================================
   layout — 全站容器与骨架
   ============================================================ */

.site-header {
  background-color: #1d2329;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.brand-slogan {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.is-current .nav-link {
  color: #ffffff;
  background-color: #2a5cff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

.site-main {
  min-height: 60vh;
}

.main-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-footer {
  background-color: #1d2329;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 20px 24px;
  text-align: center;
}

.copyright {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* 内页统一骨架 */

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #6b7280;
}

.breadcrumb a:hover {
  color: #2a5cff;
}

.breadcrumb-sep {
  color: #c0c4cc;
}

.breadcrumb-current {
  color: #1d2329;
  font-weight: 500;
}

.page-header {
  padding: 12px 0 24px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1d2329;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: #6b7280;
  max-width: 720px;
  line-height: 1.8;
}

/* 通用 section 标题 */

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d2329;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  max-width: 720px;
}

.section-title-center {
  text-align: center;
}

.section-desc-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   components — 通用组件
   ============================================================ */

/* 更多链接 */

.more-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #2a5cff;
  margin-top: 16px;
  transition: color 0.2s ease;
}

.more-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.more-link:hover {
  color: #1a3fcc;
}

.more-link:hover::after {
  transform: translateX(4px);
}

.more-link-center {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* FAQ 折叠 */

.faq-list {
  max-width: 720px;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2329;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #2a5cff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
}

.faq-answer a {
  color: #2a5cff;
  text-decoration: underline;
}

/* 步骤列表 */

.step-list {
  counter-reset: step-counter;
}

.step-item {
  position: relative;
  padding: 0 0 28px 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #2a5cff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 6px;
}

.step-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
}

/* 下一步入口 */

.next-links {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.next-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  color: #1d2329;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.next-link:hover {
  border-color: #2a5cff;
  color: #2a5cff;
}

/* 相关链接 */

.related-links {
  margin-top: 32px;
}

.related-title {
  font-size: 15px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 12px;
}

.related-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.related-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #1d2329;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-link:hover {
  border-color: #2a5cff;
  color: #2a5cff;
}

/* ============================================================
   pages — 首页
   ============================================================ */

.home-main {
  overflow: visible;
}

/* 首屏 */

.hero-section {
  background-color: #1d2329;
  padding: 0 0 48px;
}

.hero-info-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-bar-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.info-bar-link:hover {
  color: #ffffff;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.hero-updates .section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: background-color 0.2s ease;
}

.update-item:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.update-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.update-thumb {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.update-meta {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.hero-updates .more-link {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
}

.hero-updates .more-link:hover {
  color: #ffffff;
}

.hero-trends {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 24px;
}

.hero-trends .section-title {
  color: #ffffff;
  font-size: 20px;
}

.trends-intro {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trend-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: rgba(42, 92, 255, 0.25);
  color: #ffffff;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

.trend-tag:hover {
  background-color: #2a5cff;
}

.hero-figure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 0;
}

.hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-figure figcaption {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  text-align: right;
}

/* 封面墙 */

.cover-wall {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 24px;
}

.cover-wall .section-title,
.cover-wall .section-desc {
  text-align: center;
}

.cover-wall .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.cover-card {
  display: block;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cover-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.cover-name {
  display: block;
  padding: 10px 12px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1d2329;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-tag {
  display: inline-block;
  margin: 0 12px 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #f0f2f5;
  font-size: 12px;
  color: #6b7280;
}

/* 栏目入口三色块 */

.portal-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}

.portal-section .section-title,
.portal-section .section-desc {
  text-align: center;
}

.portal-section .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.portal-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: 8px;
  min-height: 160px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.portal-card-genres {
  background-color: #2a5cff;
}

.portal-card-ranking {
  background-color: #ff7a1a;
}

.portal-card-scenes {
  background-color: #1d2329;
}

.portal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.portal-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  flex: 1;
}

.portal-link-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  margin-top: 16px;
}

.portal-link-text::after {
  content: "→";
  transition: transform 0.2s ease;
}

.portal-card:hover .portal-link-text::after {
  transform: translateX(4px);
}

/* 最近更新时间线 */

.timeline-section {
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 56px 20px;
}

.timeline-section > .section-title,
.timeline-section > .section-desc,
.timeline-section > .more-link {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-section > .section-desc {
  margin-bottom: 32px;
}

.timeline-section > .more-link {
  display: flex;
  margin-top: 32px;
}

.timeline-columns {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.timeline-col-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2a5cff;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.timeline-date {
  font-size: 12px;
  color: #6b7280;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.timeline-event {
  color: #1d2329;
  flex: 1;
}

.timeline-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

.timeline-item:nth-child(odd) .timeline-badge {
  background-color: rgba(42, 92, 255, 0.1);
  color: #2a5cff;
}

.timeline-item:nth-child(even) .timeline-badge {
  background-color: rgba(255, 122, 26, 0.1);
  color: #ff7a1a;
}

/* 人气榜单摘要 */

.ranking-summary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 24px;
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ranking-num {
  width: 40px;
  font-size: 20px;
  font-weight: 700;
  color: #c0c4cc;
  text-align: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.ranking-item:nth-child(1) .ranking-num {
  color: #ff7a1a;
}

.ranking-item:nth-child(2) .ranking-num {
  color: #2a5cff;
}

.ranking-item:nth-child(3) .ranking-num {
  color: #6b7280;
}

.ranking-thumb {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-name {
  font-size: 15px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 2px;
}

.ranking-reason {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

/* 阅读场景入口 */

.scene-entry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

.scene-entry .section-title,
.scene-entry .section-desc {
  text-align: center;
}

.scene-entry .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.scene-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.scene-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.scene-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1d2329;
  margin-bottom: 8px;
}

.scene-card-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 12px;
}

.scene-card-count {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #2a5cff;
}

/* ============================================================
   pages — 题材导航 genres
   ============================================================ */

.page-layout.sidebar-left {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

.genre-sidebar {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 84px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2a5cff;
}

.anchor-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anchor-item a {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  color: #4b5563;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.anchor-item a:hover {
  background-color: rgba(42, 92, 255, 0.08);
  color: #2a5cff;
}

.sidebar-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

.sidebar-note a {
  color: #2a5cff;
  text-decoration: underline;
}

.genre-content {
  min-width: 0;
}

.genre-section {
  margin-bottom: 40px;
}

.genre-head {
  margin-bottom: 20px;
}

.genre-title {
  font-size: 22px;
  font-weight: 700;
  color: #1d2329;
  margin-bottom: 6px;
  padding-left: 12px;
  border-left: 4px solid #2a5cff;
}

.genre-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

.genre-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.work-figure {
  overflow: hidden;
}

.work-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.work-title {
  display: block;
  padding: 10px 12px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1d2329;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-tag {
  display: inline-block;
  margin: 0 12px 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #f0f2f5;
  font-size: 12px;
  color: #6b7280;
}

/* ============================================================
   pages — 阅读场景 scenes
   ============================================================ */

.scene-list {
  margin-bottom: 48px;
}

.scene-card-list .scene-card {
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.scene-card-media {
  width: 200px;
  flex-shrink: 0;
}

.scene-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.scene-card-content {
  flex: 1;
  min-width: 0;
}

.scene-card-meta {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

.scene-card-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 12px;
}

.scene-recommend-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scene-recommend-item a {
  font-size: 14px;
  color: #2a5cff;
  transition: color 0.2s ease;
}

.scene-recommend-item a:hover {
  color: #1a3fcc;
  text-decoration: underline;
}

.scene-checklist {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 32px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.checklist-item::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(42, 92, 255, 0.1);
  color: #2a5cff;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   pages — 阅读指南 guide
   ============================================================ */

.page-container {
  max-width: 720px;
}

.guide-section {
  margin-bottom: 40px;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.guide-section .section-title {
  font-size: 22px;
}

.guide-section .section-desc {
  margin-bottom: 20px;
}

.guide-section .step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reading-figure {
  margin: 20px 0;
}

.reading-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.reading-figure figcaption {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  text-align: center;
}

.reading-mode-block {
  padding: 20px;
  background-color: #f9fafb;
  border-radius: 6px;
  margin-bottom: 16px;
}

.reading-mode-block h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 8px;
}

.reading-mode-block p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
}

.tracking-method {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.tracking-method:last-child {
  border-bottom: none;
}

.method-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 6px;
}

.method-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
}

.section-text {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================================
   pages — 更新动态 updates
   ============================================================ */

.page-layout {
  max-width: 720px;
}

.update-timeline {
  margin-bottom: 48px;
}

.update-timeline .section-title {
  font-size: 22px;
}

.section-note {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
}

.timeline-meta {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-date {
  font-size: 13px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}

.timeline-type {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  width: fit-content;
}

.type-new {
  background-color: rgba(42, 92, 255, 0.1);
  color: #2a5cff;
}

.type-chapter {
  background-color: rgba(255, 122, 26, 0.1);
  color: #ff7a1a;
}

.type-feature {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.timeline-content {
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.timeline-thumb {
  flex-shrink: 0;
  width: 64px;
}

.timeline-thumb img {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
}

.timeline-text {
  flex: 1;
  min-width: 0;
}

.timeline-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 4px;
}

.timeline-text p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

/* 已知问题处理 */

.issue-progress {
  margin-bottom: 40px;
}

.issue-progress .section-title {
  font-size: 22px;
}

.issue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.issue-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.issue-info {
  flex: 1;
  min-width: 0;
}

.issue-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 4px;
}

.issue-info p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

.issue-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-done {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-working {
  background-color: rgba(255, 122, 26, 0.1);
  color: #ff7a1a;
}

.issue-date {
  font-size: 12px;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
}

.related-links-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #1d2329;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-color: #2a5cff;
  color: #2a5cff;
}

/* ============================================================
   pages — 人气榜单 ranking
   ============================================================ */

.ranking-section {
  margin-bottom: 48px;
}

.ranking-section .section-title {
  font-size: 22px;
}

.ranking-section .ranking-list {
  margin-top: 16px;
}

.ranking-item-top {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ranking-item-top .ranking-num {
  font-size: 28px;
  width: 52px;
}

.ranking-cover {
  flex-shrink: 0;
  width: 64px;
}

.ranking-cover img {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 4px;
}

.ranking-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 4px;
}

.sub-ranking-section {
  margin-bottom: 48px;
}

.sub-ranking-section .section-title {
  font-size: 22px;
}

.sub-ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.sub-ranking-block {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sub-ranking-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2a5cff;
}

.sub-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-ranking-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.sub-ranking-num {
  width: 24px;
  font-weight: 700;
  color: #c0c4cc;
  text-align: center;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.sub-ranking-item:nth-child(1) .sub-ranking-num {
  color: #ff7a1a;
}

.sub-ranking-item:nth-child(2) .sub-ranking-num {
  color: #2a5cff;
}

.sub-ranking-item:nth-child(3) .sub-ranking-num {
  color: #6b7280;
}

.sub-ranking-tag {
  flex: 1;
  color: #1d2329;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-notes {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 32px;
}

.ranking-notes .section-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notes-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

.notes-item::before {
  content: "·";
  font-size: 20px;
  font-weight: 700;
  color: #2a5cff;
  line-height: 1.4;
}

/* ============================================================
   pages — 问题反馈 feedback
   ============================================================ */

.faq-section {
  margin-bottom: 48px;
}

.faq-section .section-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.feedback-types-section {
  margin-bottom: 48px;
}

.feedback-types-section .section-title {
  font-size: 22px;
}

.feedback-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.feedback-type-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.feedback-type-title {
  font-size: 16px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 8px;
}

.feedback-type-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 8px;
}

.feedback-type-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}

.process-section {
  margin-bottom: 40px;
}

.process-section .section-title {
  font-size: 22px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}

.process-step {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.process-step .step-num {
  margin-bottom: 12px;
}

.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1d2329;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}

.feedback-figure {
  margin: 32px 0;
}

.feedback-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.feedback-figure figcaption {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  text-align: center;
}

/* ============================================================
   pages — 404
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 60px 20px;
}

.error-section {
  max-width: 560px;
  text-align: center;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #2a5cff;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d2329;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.8;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #2a5cff;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1a3fcc;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1d2329;
  border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: #2a5cff;
  color: #2a5cff;
}

.error-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.error-links a {
  font-size: 14px;
  color: #2a5cff;
}

.error-links a:hover {
  color: #1a3fcc;
  text-decoration: underline;
}

/* ============================================================
   responsive — 响应式
   ============================================================ */

@media (max-width: 1024px) {
  .cover-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr repeat(2, 1fr);
  }

  .sub-ranking-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #1d2329;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 6px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
  }

  .hero-info-bar {
    justify-content: center;
    gap: 16px;
  }

  .hero-image {
    height: 200px;
  }

  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .cover-image {
    height: 180px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .scene-card-list,
  .scene-card-list .scene-card {
    grid-template-columns: 1fr;
  }

  .scene-card-list .scene-card {
    flex-direction: column;
  }

  .scene-card-media {
    width: 100%;
  }

  .scene-image {
    height: 180px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 20px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .page-title {
    font-size: 26px;
  }

  .section-title {
    font-size: 20px;
  }

  .page-layout.sidebar-left {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .genre-sidebar {
    position: static;
    order: 2;
  }

  .genre-content {
    order: 1;
  }

  .genre-works {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sub-ranking-grid {
    grid-template-columns: 1fr;
  }

  .feedback-types-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 12px;
  }

  .timeline-meta {
    flex-direction: row;
    width: auto;
    align-items: center;
  }

  .timeline-content {
    flex-direction: column;
  }

  .timeline-thumb {
    width: 100%;
  }

  .timeline-thumb img {
    width: 100%;
    height: 160px;
  }

  .issue-item {
    flex-direction: column;
    gap: 12px;
  }

  .issue-status {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .hero-section {
    padding-bottom: 32px;
  }

  .hero-layout {
    padding: 24px 16px 0;
  }

  .hero-info-bar {
    padding: 10px 16px;
  }

  .cover-wall,
  .portal-section,
  .timeline-section,
  .ranking-summary,
  .scene-entry {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cover-image {
    height: 160px;
  }

  .cover-name {
    font-size: 13px;
  }

  .portal-card {
    padding: 20px;
    min-height: 140px;
  }

  .genre-works {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .work-figure img {
    height: 160px;
  }

  .sub-ranking-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 240px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
