/* ============================================================
   BASE — 全局基础样式
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #1E293B;
  background-color: #F8FAFC;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2563EB;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1D4ED8;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.4;
  font-weight: 700;
  color: #1E293B;
}

p {
  color: #475569;
}

/* ============================================================
   LAYOUT — 全站统一布局骨架
   ============================================================ */

/* 页头 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

.header-inner {
  max-width: 1200px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 22px;
  font-weight: 800;
  color: #1E293B;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.site-logo:hover {
  color: #2563EB;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
  height: 64px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #475569;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background: #F1F5F9;
  color: #2563EB;
}

.nav-list a.is-current {
  color: #2563EB;
  font-weight: 600;
  background: #EFF6FF;
}

/* 移动端汉堡按钮默认隐藏 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1E293B;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 主内容 */
.site-main {
  min-height: 60vh;
}

.home-main {
  padding-top: 64px;
}

.inner-main {
  padding-top: 64px;
}

/* 页脚 */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

.footer-slogan {
  font-size: 15px;
  font-weight: 600;
  color: #2563EB;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #475569;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #2563EB;
}

.footer-bottom {
  border-top: 1px solid #E2E8F0;
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #94A3B8;
}

/* ============================================================
   COMPONENTS — 通用组件
   ============================================================ */

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748B;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #2563EB;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #94A3B8;
}

.breadcrumb-current {
  color: #64748B;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #64748B;
  max-width: 680px;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

.section-intro {
  font-size: 15px;
  color: #64748B;
  margin-bottom: 24px;
  max-width: 720px;
}

/* 文本链接 */
.text-link {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.text-link:hover {
  gap: 8px;
  color: #1D4ED8;
}

/* 查看更多链接 */
.more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  margin-top: 16px;
  padding: 6px 0;
}

.more-link:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

/* 面板标题（侧栏） */
.panel-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

/* 面板链接 */
.panel-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  margin-top: 12px;
}

.panel-link:hover {
  color: #1D4ED8;
  text-decoration: underline;
}

.panel-desc {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 4px;
}

/* 路径步骤 */
.path-steps {
  list-style: none;
}

.path-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}

.step-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  padding-top: 2px;
}

/* 侧栏 */
.sidebar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 16px;
}

.sidebar-list,
.sidebar-links {
  list-style: none;
}

.sidebar-list li,
.sidebar-links li {
  margin-bottom: 10px;
}

.sidebar-list a,
.sidebar-links a {
  display: block;
  font-size: 14px;
  color: #475569;
  padding: 4px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-list a:hover,
.sidebar-links a:hover {
  color: #2563EB;
  padding-left: 4px;
}

/* FAQ 手风琴 */
.faq-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #2563EB;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question {
  background: #F8FAFC;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #64748B;
  line-height: 1.7;
}

/* 图片容器 */
figure {
  margin: 0;
}

figcaption {
  font-size: 13px;
  color: #64748B;
  margin-top: 8px;
  line-height: 1.5;
}

/* ============================================================
   PAGES — 首页
   ============================================================ */

/* 首屏 hero */
.hero-section {
  background: #EFF6FF;
  border-bottom: 1px solid #E2E8F0;
  padding: 56px 0 48px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 12px;
  line-height: 1.35;
}

.hero-desc {
  font-size: 16px;
  color: #475569;
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 760px;
}

.hero-link {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hero-link:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.hero-link-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.hero-link-desc {
  display: block;
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

.hero-figure {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

/* 首页三栏布局 */
.home-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 24px;
  align-items: start;
}

/* 左侧栏 */
.home-sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.genre-index-panel,
.browse-path-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
}

.genre-index-list li {
  margin-bottom: 8px;
}

.genre-index-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #475569;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.genre-index-list a:hover {
  background: #EFF6FF;
  color: #2563EB;
}

/* 中栏 */
.home-main-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.recent-updates,
.rank-preview,
.cover-wall {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
}

.update-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.update-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.update-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.update-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.update-date {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 8px;
}

.update-summary {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 榜单预览 */
.rank-preview-list {
  list-style: none;
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #F1F5F9;
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #EFF6FF;
  color: #2563EB;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
}

.rank-info {
  min-width: 0;
}

.rank-title {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.rank-reason {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* 封面墙 */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cover-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cover-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.cover-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.cover-card figcaption {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
}

/* 右侧栏 */
.home-sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.update-tips,
.guide-entry,
.feedback-entry {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
}

.tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #F1F5F9;
}

.tip-list li:last-child {
  border-bottom: none;
}

.tip-date {
  font-size: 13px;
  color: #94A3B8;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-list a {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.tip-list a:hover {
  color: #2563EB;
}

/* 主题介绍 */
.about-intro {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 56px 0;
}

.intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.intro-text {
  font-size: 15px;
  color: #475569;
  margin-bottom: 16px;
  max-width: 780px;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.intro-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.intro-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.intro-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.intro-card-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* 延伸阅读 */
.extended-reading {
  padding: 56px 0;
}

.reading-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.reading-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.reading-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.reading-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.reading-card-excerpt {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 编辑说明 */
.editor-note {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  padding: 48px 0;
}

.note-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.note-text {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 12px;
  max-width: 780px;
}

/* ============================================================
   PAGES — 内页统一布局
   ============================================================ */

/* 内页双栏布局 */
.page-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

/* 内页右侧栏 */
.sidebar-right,
.sidebar-area,
.sidebar {
  min-width: 0;
}

/* ============================================================
   PAGES — 题材总览页
   ============================================================ */

.genres-section {
  margin-bottom: 48px;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.genre-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.genre-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.genre-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.genre-name {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
}

.genre-tag {
  font-size: 12px;
  font-weight: 600;
  color: #2563EB;
  background: #EFF6FF;
  padding: 4px 10px;
  border-radius: 20px;
}

.genre-figure {
  margin-bottom: 16px;
}

.genre-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.genre-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 16px;
}

.genre-recommend {
  background: #F8FAFC;
  border-radius: 8px;
  padding: 16px;
}

.recommend-title {
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.recommend-list li {
  font-size: 13px;
  color: #64748B;
  padding: 4px 0;
  line-height: 1.5;
}

.recommend-list li::before {
  content: "·";
  color: #2563EB;
  margin-right: 6px;
  font-weight: 700;
}

/* 关系说明 */
.relation-section {
  margin-bottom: 48px;
}

.relation-section p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 12px;
  max-width: 720px;
}

/* 路径提示 */
.path-section {
  margin-bottom: 24px;
}

.path-desc {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 20px;
}

/* 题材页路径步骤 */
.path-section .path-step {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
}

.step-content {
  min-width: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.step-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* ============================================================
   PAGES — 更新动态页
   ============================================================ */

.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.layout-shell .inner-main {
  padding-top: 0;
  min-width: 0;
}

.updates-intro {
  margin-bottom: 40px;
}

.timeline-section {
  margin-bottom: 32px;
}

.timeline-list {
  position: relative;
  padding-left: 24px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: #E2E8F0;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 24px;
  width: 10px;
  height: 10px;
  background: #2563EB;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 2px #2563EB;
}

.timeline-date {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 8px;
  font-weight: 600;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 12px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags a {
  font-size: 12px;
  font-weight: 600;
  color: #2563EB;
  background: #EFF6FF;
  padding: 4px 10px;
  border-radius: 20px;
  transition: background 0.2s ease;
}

.timeline-tags a:hover {
  background: #DBEAFE;
}

/* 媒体配图 */
.media-figure {
  margin: 32px 0;
}

.media-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

/* ============================================================
   PAGES — 人气榜单页
   ============================================================ */

.rank-section {
  margin-bottom: 48px;
}

.rank-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.rank-section .section-intro {
  margin-bottom: 24px;
}

/* 榜单前三名大卡 */
.rank-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease;
}

.rank-top:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  border-radius: 8px;
}

.rank-top:nth-child(3) .rank-number {
  background: #F59E0B;
}

.rank-media {
  flex-shrink: 0;
  width: 120px;
}

.rank-media img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

.rank-top .rank-info {
  flex: 1;
  min-width: 0;
}

.rank-top h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.rank-top .rank-reason {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 8px;
}

.rank-top a {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
}

/* 榜单列表条目 */
.rank-list {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: box-shadow 0.2s ease;
}

.rank-list:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.rank-list .rank-number {
  width: 32px;
  height: 32px;
  font-size: 15px;
  background: #F1F5F9;
  color: #475569;
}

.rank-list .rank-info {
  flex: 1;
  min-width: 0;
}

.rank-list h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 4px;
}

.rank-list .rank-reason {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 4px;
}

.rank-list a {
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
}

/* 榜单说明 */
.rank-note {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 32px;
}

.rank-note h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.rank-note p {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 8px;
  line-height: 1.6;
}

/* 榜单规则 */
.rank-rules {
  list-style: none;
  counter-reset: rule-counter;
}

.rank-rules li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  border-bottom: 1px solid #F1F5F9;
}

.rank-rules li:last-child {
  border-bottom: none;
}

.rank-rules li::before {
  counter-increment: rule-counter;
  content: counter(rule-counter);
  position: absolute;
  left: 0;
  top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  border-radius: 50%;
}

/* ============================================================
   PAGES — 阅读指南页
   ============================================================ */

.guide-steps-section {
  margin-bottom: 48px;
}

.guide-steps-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.guide-step-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.guide-step-card .step-number {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body .step-title {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.step-body .step-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 8px;
}

.step-body .step-result {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 12px;
}

.step-body .step-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
  padding: 6px 16px;
  background: #EFF6FF;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.step-body .step-link:hover {
  background: #DBEAFE;
}

/* 路径配图 */
.guide-path-figure {
  margin: 32px 0;
}

.guide-path-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

/* FAQ 区 */
.guide-faq-section {
  margin-bottom: 24px;
}

/* ============================================================
   PAGES — 站点说明页
   ============================================================ */

.about-intro .intro-text p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-media {
  margin-top: 24px;
}

.about-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.about-columns {
  margin-bottom: 48px;
}

.columns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.column-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.column-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.column-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 8px;
}

.column-card p {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 12px;
}

.column-card a {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
}

.about-boundaries {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
}

.boundary-list {
  list-style: none;
  margin-bottom: 16px;
}

.boundary-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  border-bottom: 1px solid #F1F5F9;
}

.boundary-list li:last-child {
  border-bottom: none;
}

.boundary-list li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #2563EB;
}

.boundary-note {
  font-size: 13px;
  color: #94A3B8;
}

.boundary-note a {
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
}

/* ============================================================
   PAGES — 意见反馈页
   ============================================================ */

.feedback-section {
  margin-bottom: 40px;
}

.feedback-section .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feedback-section .faq-item {
  margin-bottom: 0;
}

/* 反馈流程侧栏 */
.sidebar-steps {
  list-style: none;
  counter-reset: flow-counter;
}

.sidebar-steps li {
  position: relative;
  padding: 12px 0 12px 36px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  border-bottom: 1px solid #F1F5F9;
}

.sidebar-steps li:last-child {
  border-bottom: none;
}

.sidebar-steps li::before {
  counter-increment: flow-counter;
  content: counter(flow-counter);
  position: absolute;
  left: 0;
  top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  background: #2563EB;
  border-radius: 50%;
}

/* 反馈流程配图 */
.feedback-flow-figure {
  margin: 24px 0;
}

.feedback-flow-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.feedback-flow-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 相关链接 */
.related-links {
  list-style: none;
}

.related-links li {
  margin-bottom: 8px;
}

.related-links a {
  font-size: 14px;
  color: #475569;
}

.related-links a:hover {
  color: #2563EB;
}

/* ============================================================
   PAGES — 404 页面
   ============================================================ */

.error-main {
  padding-top: 64px;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-content {
  text-align: center;
  padding: 48px 24px;
  max-width: 520px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: #2563EB;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #64748B;
  margin-bottom: 32px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  background: #2563EB;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.error-btn:hover {
  background: #1D4ED8;
  color: #FFFFFF;
}

.error-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.error-links a {
  font-size: 14px;
  font-weight: 600;
  color: #2563EB;
}

.error-links a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE — 响应式断点
   ============================================================ */

/* 992px 断点：平板 */
@media (max-width: 992px) {
  .home-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-sidebar-left {
    order: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .home-main-col {
    order: 1;
  }

  .home-sidebar-right {
    order: 3;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  .page-layout,
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar-right,
  .sidebar-area,
  .sidebar {
    order: 2;
  }

  .main-content,
  .layout-shell .inner-main {
    order: 1;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-steps-flow {
    grid-template-columns: 1fr;
  }
}

/* 768px 断点：小平板与横屏手机 */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 16px;
  }

  .hero-section {
    padding: 40px 0 32px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-figure img {
    height: 220px;
  }

  .home-layout {
    padding: 32px 16px;
  }

  .home-sidebar-left,
  .home-sidebar-right {
    grid-template-columns: 1fr;
  }

  .update-cards {
    grid-template-columns: 1fr;
  }

  .cover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .reading-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .page-layout,
  .layout-shell {
    padding: 32px 16px;
  }

  .genre-grid {
    grid-template-columns: 1fr;
  }

  .columns-grid {
    grid-template-columns: 1fr;
  }

  .rank-top {
    flex-direction: column;
    gap: 16px;
  }

  .rank-media {
    width: 100%;
  }

  .rank-media img {
    width: 100%;
    height: 160px;
  }
}

/* 520px 断点：手机 */
@media (max-width: 520px) {
  .site-logo {
    font-size: 18px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .hero-figure img {
    height: 180px;
  }

  .cover-grid {
    grid-template-columns: 1fr;
  }

  .cover-card img {
    height: 200px;
  }

  .intro-cards {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .timeline-item {
    padding: 16px;
  }

  .timeline-content {
    min-width: 0;
  }

  .media-img {
    height: 200px;
  }

  .rank-top {
    padding: 16px;
  }

  .rank-media img {
    height: 140px;
  }

  .guide-step-card {
    flex-direction: column;
    gap: 12px;
  }

  .guide-path-figure img {
    height: 200px;
  }

  .about-media img {
    height: 200px;
  }

  .feedback-flow-figure img {
    height: 180px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-links {
    flex-direction: column;
    gap: 12px;
  }
}
