/* ==========================================================
   51动漫网 - 全站样式表
   视觉方向：音乐杂志风 · 主色 #FF6B35 · 内容宽度 1200px
   ========================================================== */

/* ==========================================================
   Base
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #2B2B2B;
  background-color: #F5F5F5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
  line-height: 1.35;
  color: #2B2B2B;
}

/* 焦点可见性 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 107, 53, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================
   Layout - 全站骨架
   ========================================================== */
.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E4E0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 26px;
  font-weight: 700;
  color: #FF6B35;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 13px;
  color: #666666;
  border-left: 1px solid #DDD8D3;
  padding-left: 10px;
  line-height: 1.4;
}

.site-nav {
  display: block;
}

.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;
  font-weight: 500;
  color: #2B2B2B;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
  color: #FF6B35;
  background-color: rgba(255, 107, 53, 0.06);
}

.nav-list a.is-current {
  color: #FF6B35;
  font-weight: 700;
}

.nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 3px;
  background-color: #FF6B35;
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: 6px;
}

.nav-toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2B2B2B;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* 页脚 */
.site-footer {
  background-color: #2B2B2B;
  color: #B8B2AC;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
}

.footer-brand .footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-brand .footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 14px;
  color: #B8B2AC;
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: #FF6B35;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #8A847E;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================
   Layout - 内页骨架
   ========================================================== */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 0;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666666;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: #666666;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #FF6B35;
}

.breadcrumb-sep {
  color: #B8B2AC;
}

.breadcrumb-current {
  color: #2B2B2B;
  font-weight: 500;
}

.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: #666666;
  max-width: 760px;
  line-height: 1.7;
}

/* ==========================================================
   Components - 通用模块
   ========================================================== */
/* 区块标题 */
.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2B2B2B;
  margin-bottom: 6px;
}

.section-heading p {
  font-size: 14px;
  color: #666666;
}

/* 漫画卡片 */
.manga-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.manga-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card-figure {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #EDEAE6;
}

.card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}

.card-meta {
  font-size: 13px;
  color: #FF6B35;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body a {
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
  transition: color 0.2s ease;
}

.card-body a:hover {
  color: #D9541F;
}

/* 指南卡片 */
.guide-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
}

.guide-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.guide-card-body {
  padding: 28px;
}

.guide-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.guide-card-body p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.card-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #FF6B35;
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.card-link:hover {
  color: #D9541F;
  border-color: #D9541F;
}

/* 榜单条目 */
.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease;
}

.ranking-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.ranking-num {
  font-size: 28px;
  font-weight: 700;
  color: #FF6B35;
  line-height: 1;
  min-width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.ranking-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ranking-info h3 a {
  transition: color 0.2s ease;
}

.ranking-info h3 a:hover {
  color: #FF6B35;
}

.ranking-reason {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

/* ==========================================================
   Pages - 首页
   ========================================================== */
.site-home {
  background-color: #F5F5F5;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */
.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 56px 0 48px;
}

.hero-content h1 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  color: #2B2B2B;
  margin-bottom: 16px;
}

.hero-content h1 span {
  color: #FF6B35;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: #FF6B35;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #E55A28;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #2B2B2B;
  border: 1px solid #DDD8D3;
}

.btn-secondary:hover {
  border-color: #FF6B35;
  color: #FF6B35;
}

.hero-figure {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  background-color: #EDEAE6;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 题材分类导航带 */
.subject-nav-section {
  padding: 48px 0;
  border-top: 1px solid #E8E4E0;
}

.subject-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subject-tag-list a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #2B2B2B;
  background-color: #FFFFFF;
  border: 1px solid #E0DCD7;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.subject-tag-list a:hover {
  border-color: #FF6B35;
  color: #FF6B35;
  background-color: rgba(255, 107, 53, 0.04);
}

/* 最新更新 */
.latest-section {
  padding: 48px 0;
  border-top: 1px solid #E8E4E0;
}

.update-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 人气榜单 */
.rankings-section {
  padding: 48px 0;
  border-top: 1px solid #E8E4E0;
}

.rankings-section .ranking-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.rankings-section .ranking-item {
  flex-direction: column;
  gap: 12px;
}

.rankings-section .ranking-num {
  font-size: 24px;
  text-align: left;
}

.section-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #FF6B35;
  transition: color 0.2s ease;
}

.section-link:hover {
  color: #D9541F;
}

/* 阅读指南入口 */
.guide-section {
  padding: 48px 0;
  border-top: 1px solid #E8E4E0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  border-left: 4px solid #FF6B35;
}

/* 反馈说明 */
.feedback-section {
  padding: 48px 0;
  border-top: 1px solid #E8E4E0;
}

.feedback-inner {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.feedback-inner h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feedback-inner p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

/* ==========================================================
   Pages - 题材分类页
   ========================================================== */
.page-subject-guide .page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.subject-list h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subject-list .section-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 28px;
  max-width: 680px;
}

.subject-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.25s ease;
}

.subject-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.subject-media {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background-color: #EDEAE6;
}

.subject-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subject-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subject-content p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 8px;
}

.subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.subject-tags li {
  font-size: 13px;
  color: #FF6B35;
  background-color: rgba(255, 107, 53, 0.08);
  padding: 4px 12px;
  border-radius: 4px;
}

/* 侧栏 */
.subject-aside {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 88px;
}

.aside-inner {
  padding: 24px;
}

.aside-inner h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.aside-inner > p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.hot-subject-list li {
  margin-bottom: 12px;
}

.hot-subject-list a {
  display: block;
  font-size: 14px;
  color: #2B2B2B;
  padding: 8px 12px;
  background-color: #F7F5F3;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.hot-subject-list a:hover {
  color: #FF6B35;
  background-color: rgba(255, 107, 53, 0.06);
}

.aside-link {
  margin-top: 12px;
}

.aside-link a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
  transition: color 0.2s ease;
}

.aside-link a:hover {
  color: #D9541F;
}

/* 相关链接 */
.related-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid #E8E4E0;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #2B2B2B;
}

.related-links-item {
  font-size: 14px;
  color: #FF6B35;
  transition: color 0.2s ease;
}

.related-links-item:hover {
  color: #D9541F;
}

/* ==========================================================
   Pages - 阅读指南页
   ========================================================== */
.page-reading-guide .content-shell {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  margin-bottom: 40px;
}

.guide-section .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-section .section-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.method-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #FF6B35;
}

.method-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.method-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.guide-figure {
  margin: 32px 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #EDEAE6;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #666666;
  background-color: #FFFFFF;
}

/* 侧栏 */
.guide-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.aside-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.aside-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F0EDEA;
}

.aside-links li {
  margin-bottom: 10px;
}

.aside-links a {
  font-size: 14px;
  color: #2B2B2B;
  transition: color 0.2s ease;
}

.aside-links a:hover {
  color: #FF6B35;
}

/* ==========================================================
   Pages - 最近更新页
   ========================================================== */
.page-latest-updates .update-section {
  margin-bottom: 40px;
}

.update-section .section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.update-section .section-desc {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.update-list {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.update-item {
  border-bottom: 1px solid #F0EDEA;
}

.update-item:last-child {
  border-bottom: none;
}

.update-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  transition: background-color 0.2s ease;
}

.update-link:hover {
  background-color: rgba(255, 107, 53, 0.04);
}

.update-thumb {
  width: 64px;
  height: 84px;
  border-radius: 4px;
  object-fit: cover;
  background-color: #EDEAE6;
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #2B2B2B;
  transition: color 0.2s ease;
}

.update-link:hover .update-title {
  color: #FF6B35;
}

.update-meta {
  font-size: 14px;
  color: #666666;
}

.update-time {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
}

.inner-links {
  margin-top: 40px;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.inner-links p {
  font-size: 14px;
  color: #666666;
  line-height: 2;
}

.inner-links a {
  color: #FF6B35;
  font-weight: 500;
  transition: color 0.2s ease;
}

.inner-links a:hover {
  color: #D9541F;
}

/* ==========================================================
   Pages - 人气榜单页
   ========================================================== */
.page-popular-rankings .page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.main-content {
  min-width: 0;
}

.ranking-section {
  margin-bottom: 48px;
}

.ranking-section > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ranking-section .section-intro {
  font-size: 14px;
  color: #666666;
  margin-bottom: 24px;
}

.ranking-section .ranking-item {
  margin-bottom: 16px;
  gap: 20px;
}

.ranking-media {
  width: 90px;
  flex-shrink: 0;
}

.ranking-media figure {
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  background-color: #EDEAE6;
}

.ranking-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ranking-tags {
  font-size: 13px;
  color: #FF6B35;
  margin-bottom: 6px;
}

.ranking-reason {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 6px;
}

.ranking-meta {
  font-size: 13px;
  color: #999;
}

.heat-value {
  font-weight: 600;
  color: #FF6B35;
}

/* 编辑推荐 */
.editor-picks-section > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.editor-picks-section .section-intro {
  font-size: 14px;
  color: #666666;
  margin-bottom: 24px;
}

.editor-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.editor-pick-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s ease;
}

.editor-pick-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.editor-pick-card figure {
  aspect-ratio: 3 / 4;
  background-color: #EDEAE6;
  overflow: hidden;
}

.editor-pick-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-pick-card h3 {
  font-size: 16px;
  font-weight: 700;
  padding: 16px 16px 4px;
}

.pick-tag {
  font-size: 13px;
  color: #FF6B35;
  padding: 0 16px;
  margin-bottom: 6px;
}

.pick-reason {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  padding: 0 16px 16px;
}

.in-content-links {
  margin-top: 40px;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.in-content-links p {
  font-size: 14px;
  color: #666666;
  line-height: 2;
}

.in-content-links a {
  color: #FF6B35;
  font-weight: 500;
  transition: color 0.2s ease;
}

.in-content-links a:hover {
  color: #D9541F;
}

/* 侧栏 */
.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 24px;
}

.sidebar-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F0EDEA;
}

.tag-list li {
  margin-bottom: 10px;
}

.tag-list a {
  display: inline-block;
  font-size: 14px;
  color: #2B2B2B;
  padding: 6px 14px;
  background-color: #F7F5F3;
  border-radius: 4px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.tag-list a:hover {
  color: #FF6B35;
  background-color: rgba(255, 107, 53, 0.06);
}

/* ==========================================================
   Pages - 追更技巧页
   ========================================================== */
.page-manga-tips {
  max-width: 900px;
}

.tips-hero-figure {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #EDEAE6;
}

.tips-hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.tips-hero-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #666666;
  background-color: #FFFFFF;
}

.tips-section {
  margin-bottom: 48px;
}

.tips-section > h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tips-section > p {
  font-size: 15px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 760px;
}

.tips-step-list {
  counter-reset: step;
}

.tips-step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  background-color: #FF6B35;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.tips-reminder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reminder-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #FF6B35;
}

.reminder-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.reminder-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.reminder-card a {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
  transition: color 0.2s ease;
}

.reminder-card a:hover {
  color: #D9541F;
}

.tips-suggestion-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tips-suggestion-list li {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.tips-suggestion-list h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tips-suggestion-list p {
  font-size: 14px;
  color: #666666;
  line-height: 1.7;
}

.tips-more-section {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.tips-more-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.tips-more-section p {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
}

.tips-more-section a {
  color: #FF6B35;
  font-weight: 500;
  transition: color 0.2s ease;
}

.tips-more-section a:hover {
  color: #D9541F;
}

/* ==========================================================
   Pages - 404
   ========================================================== */
.site-error {
  background-color: #F5F5F5;
}

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: 96px;
  font-weight: 700;
  color: #FF6B35;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  margin-bottom: 32px;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn-home,
.btn-updates {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-home {
  background-color: #FF6B35;
  color: #FFFFFF;
}

.btn-home:hover {
  background-color: #E55A28;
}

.btn-updates {
  background-color: #FFFFFF;
  color: #2B2B2B;
  border: 1px solid #DDD8D3;
}

.btn-updates:hover {
  border-color: #FF6B35;
  color: #FF6B35;
}

.error-tip {
  font-size: 13px;
  color: #999;
}

/* ==========================================================
   Responsive - 移动端
   ========================================================== */
@media (max-width: 1024px) {
  .update-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rankings-section .ranking-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .editor-picks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* 页头 */
  .header-inner {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    border-top: 1px solid #F0EDEA;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    padding: 12px 8px;
    border-radius: 0;
    font-size: 16px;
  }

  .nav-list a.is-current::after {
    display: none;
  }

  /* 页面标题 */
  .page-title {
    font-size: 26px;
  }

  /* 首页 */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-figure {
    aspect-ratio: 16 / 10;
  }

  .subject-nav-section,
  .latest-section,
  .rankings-section,
  .guide-section,
  .feedback-section {
    padding: 32px 0;
  }

  .update-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .rankings-section .ranking-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  /* 题材分类 */
  .page-subject-guide .page-layout {
    grid-template-columns: 1fr;
  }

  .subject-card {
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px;
  }

  .subject-aside {
    position: static;
  }

  /* 阅读指南 */
  .page-reading-guide .content-shell {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
  }

  /* 最近更新 */
  .update-link {
    gap: 12px;
    padding: 14px 16px;
  }

  .update-thumb {
    width: 52px;
    height: 68px;
  }

  .update-time {
    display: none;
  }

  /* 人气榜单 */
  .page-popular-rankings .page-layout {
    grid-template-columns: 1fr;
  }

  .ranking-section .ranking-item {
    gap: 14px;
  }

  .ranking-media {
    width: 72px;
  }

  .editor-picks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sidebar-content {
    position: static;
  }

  /* 追更技巧 */
  .tips-step {
    gap: 14px;
    padding: 16px;
  }

  .tips-reminder-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tips-suggestion-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 页脚 */
  .footer-inner {
    padding: 32px 16px 24px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-code {
    font-size: 72px;
  }
}

@media (max-width: 480px) {
  .inner-main {
    padding: 24px 16px 0;
  }

  .home-main {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .update-grid {
    grid-template-columns: 1fr;
  }

  .subject-card {
    grid-template-columns: 1fr;
  }

  .subject-media {
    aspect-ratio: 16 / 10;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-home,
  .btn-updates {
    width: 100%;
  }
}
