/* ==========================================================
   韩漫网 zyorder.com 全站样式
   视觉方向：暖色目录式漫画站
   ========================================================== */

/* ==========================================================
   Base
   ========================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2B2B2B;
  background-color: #FAF6F0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #E8590C;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.35;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

figure {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================
   Layout 骨架
   ========================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E0D5;
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #2B2B2B;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-name {
  color: #E8590C;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #2B2B2B;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  background-color: #FAF6F0;
  color: #E8590C;
  text-decoration: none;
}

.nav-list a.is-current {
  background-color: #E8590C;
  color: #FFFFFF;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #2B2B2B;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: #2B2B2B;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 56px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #6B7280;
}

.breadcrumb a:hover {
  color: #E8590C;
}

.breadcrumb-sep {
  color: #B8B0A5;
}

.breadcrumb-current {
  color: #2B2B2B;
  font-weight: 500;
}

.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid #E8590C;
}

.page-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.page-description {
  font-size: 15px;
  color: #6B7280;
  max-width: 720px;
  margin-bottom: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.page-layout.sidebar-left {
  grid-template-columns: 280px minmax(0, 1fr);
}

.layout-shell.sidebar-right .page-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.layout-shell {
  display: block;
}

/* ==========================================================
   Components 通用组件
   ========================================================== */

.section-title {
  font-size: 22px;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #E8590C;
}

.section-heading {
  font-size: 20px;
  margin-bottom: 16px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.section-head p {
  color: #6B7280;
  font-size: 15px;
  margin-bottom: 0;
}

.more-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}

.more-link:hover {
  text-decoration: underline;
}

/* 通用侧栏 */
.sidebar-area,
.sidebar-right,
.archive-aside,
.events-sidebar {
  min-width: 0;
}

.sidebar-inner,
.filter-panel,
.related-links,
.sidebar-card,
.sidebar-block,
.sidebar-note,
.sidebar-link,
.summary-panel {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-inner + .sidebar-inner,
.filter-panel + .filter-panel,
.sidebar-block + .sidebar-block,
.sidebar-card + .sidebar-card {
  margin-top: 20px;
}

.side-title,
.aside-title,
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EBE3D8;
}

.side-links li,
.sidebar-list li,
.sidebar-links li {
  margin-bottom: 10px;
}

.side-links a,
.sidebar-list a,
.sidebar-links a {
  font-size: 15px;
  color: #2B2B2B;
}

.side-links a:hover,
.sidebar-list a:hover,
.sidebar-links a:hover {
  color: #E8590C;
}

.filter-list li {
  margin-bottom: 4px;
}

.filter-list a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #2B2B2B;
}

.filter-list a:hover {
  background-color: #FAF6F0;
  color: #E8590C;
  text-decoration: none;
}

/* 标签 */
.genre-tag,
.news-tag,
.filter-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
  background-color: #FAF6F0;
  color: #6B7280;
  border: 1px solid #EBE3D8;
}

.filter-tag {
  margin: 0 6px 8px 0;
  padding: 4px 12px;
  font-size: 13px;
  background-color: #FFFFFF;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tag:hover {
  background-color: #E8590C;
  color: #FFFFFF;
  border-color: #E8590C;
  text-decoration: none;
}

/* 更新状态 */
.update-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background-color: #FFF3E8;
  color: #E8590C;
  font-weight: 500;
}

/* ==========================================================
   Header 首页透明效果
   ========================================================== */

.site-home .site-header {
  background-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.25);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.site-home .site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: #E8E0D5;
}

.site-home .brand-name {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.site-home .site-header.is-scrolled .brand-name {
  color: #E8590C;
  text-shadow: none;
}

.site-home .nav-list a {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.site-home .site-header.is-scrolled .nav-list a {
  color: #2B2B2B;
  text-shadow: none;
}

.site-home .nav-list a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.site-home .site-header.is-scrolled .nav-list a:hover {
  background-color: #FAF6F0;
  color: #E8590C;
}

.site-home .nav-list a.is-current {
  background-color: #E8590C;
  color: #FFFFFF;
  text-shadow: none;
}

.site-home .site-header.is-scrolled .nav-list a.is-current {
  background-color: #E8590C;
  color: #FFFFFF;
}

.site-home .nav-toggle-icon,
.site-home .nav-toggle-icon::before,
.site-home .nav-toggle-icon::after {
  background-color: #FFFFFF;
}

.site-home .site-header.is-scrolled .nav-toggle-icon,
.site-home .site-header.is-scrolled .nav-toggle-icon::before,
.site-home .site-header.is-scrolled .nav-toggle-icon::after {
  background-color: #2B2B2B;
}

/* ==========================================================
   首页 Hero
   ========================================================== */

.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #2B2B2B;
  padding: 120px 24px 48px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-figure {
  width: 100%;
  height: 100%;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-size: 40px;
  line-height: 1.25;
  color: #FFFFFF;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: 18px;
  color: #F0E9DF;
  margin-bottom: 28px;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.genre-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
}

.genre-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #2B2B2B;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.genre-item:hover {
  background-color: #E8590C;
  color: #FFFFFF;
  transform: translateY(-2px);
  text-decoration: none;
}

.genre-name {
  display: block;
}

/* ==========================================================
   首页 最近更新与榜单
   ========================================================== */

.home-update-ranking {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.recent-block,
.ranking-block {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 24px;
}

.recent-list li {
  margin-bottom: 12px;
}

.recent-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.recent-link:hover {
  background-color: #FAF6F0;
  text-decoration: none;
}

.recent-link img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.recent-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.recent-info .work-name {
  font-size: 15px;
  font-weight: 600;
  color: #2B2B2B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-info .update-status {
  align-self: flex-start;
}

.ranking-list {
  counter-reset: rank;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #EBE3D8;
}

.ranking-item:last-child {
  border-bottom: 0;
}

.rank-number {
  font-size: 18px;
  font-weight: 700;
  color: #E8590C;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.ranking-item a {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #2B2B2B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-item a:hover {
  color: #E8590C;
}

/* ==========================================================
   首页 栏目入口
   ========================================================== */

.channel-entry-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

.channel-entry-section .section-title {
  margin-bottom: 20px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 24px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.08);
  text-decoration: none;
}

.channel-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}

.channel-name {
  font-size: 17px;
  font-weight: 700;
  color: #2B2B2B;
}

.channel-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
}

/* ==========================================================
   首页 阅读指南横幅与版权提示
   ========================================================== */

.guide-banner {
  background-color: #2B2B2B;
  padding: 48px 24px;
}

.guide-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-banner-content h2 {
  font-size: 24px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.guide-banner-content p {
  font-size: 15px;
  color: #B8B0A5;
  margin-bottom: 0;
}

.guide-link {
  display: inline-block;
  background-color: #E8590C;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.guide-link:hover {
  background-color: #D9500A;
  text-decoration: none;
}

.copyright-note {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  font-size: 13px;
  color: #6B7280;
}

.copyright-note p {
  margin-bottom: 4px;
}

.copyright-note a {
  color: #E8590C;
}

/* ==========================================================
   最新资讯页
   ========================================================== */

.news-section {
  margin-bottom: 40px;
}

.news-list .news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EBE3D8;
}

.news-list .news-item:last-child {
  border-bottom: 0;
}

.news-figure {
  flex-shrink: 0;
  width: 140px;
  height: 96px;
  border-radius: 6px;
  overflow: hidden;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  flex: 1;
  min-width: 0;
}

.news-tag {
  margin-bottom: 6px;
}

.news-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.news-title a {
  color: #2B2B2B;
}

.news-title a:hover {
  color: #E8590C;
}

.news-summary {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 6px;
}

.news-status {
  font-size: 13px;
  color: #B8B0A5;
}

/* 相关专题推荐 */
.special-recommend {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 24px;
}

.recommend-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.recommend-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #FAF6F0;
  border-radius: 8px;
  padding: 16px;
  transition: transform 0.2s ease;
}

.recommend-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.recommend-title {
  font-size: 15px;
  font-weight: 600;
  color: #2B2B2B;
}

.recommend-text {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
}

/* ==========================================================
   作品专题页
   ========================================================== */

.special-sidebar {
  min-width: 0;
}

.special-anchor-list li {
  margin-bottom: 4px;
}

.special-anchor-list a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #2B2B2B;
}

.special-anchor-list a:hover {
  background-color: #FAF6F0;
  color: #E8590C;
  text-decoration: none;
}

.sidebar-note {
  margin-top: 16px;
  font-size: 13px;
  color: #6B7280;
}

.sidebar-note h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.sidebar-note p {
  margin-bottom: 8px;
}

.sidebar-link {
  margin-top: 16px;
}

.sidebar-link a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  margin-right: 12px;
}

.special-block {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 32px;
  scroll-margin-top: 80px;
}

.special-media {
  margin-bottom: 20px;
}

.special-media figure {
  border-radius: 8px;
  overflow: hidden;
}

.special-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.special-media figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #6B7280;
  background-color: #FAF6F0;
}

.special-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.special-intro {
  font-size: 15px;
  color: #4B4B4B;
  margin-bottom: 20px;
}

.special-subtitle {
  font-size: 16px;
  margin-bottom: 10px;
  color: #E8590C;
}

.special-points {
  margin-bottom: 20px;
}

.special-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
}

.special-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E8590C;
}

.special-related {
  background-color: #FAF6F0;
  border-radius: 8px;
  padding: 16px;
}

.special-related .special-subtitle {
  font-size: 14px;
  margin-bottom: 8px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.related-list a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 999px;
  font-size: 13px;
  color: #2B2B2B;
}

.related-list a:hover {
  border-color: #E8590C;
  color: #E8590C;
  text-decoration: none;
}

.special-more {
  text-align: center;
  padding: 8px 0;
}

.special-more p {
  font-size: 14px;
  color: #6B7280;
}

.special-more a {
  display: inline-block;
  margin: 0 8px;
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================
   角色观察页
   ========================================================== */

.main-content {
  min-width: 0;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.character-card {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.character-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(43, 43, 43, 0.08);
}

.character-figure {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.character-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-card h3 {
  font-size: 18px;
  padding: 16px 16px 4px;
}

.character-role {
  font-size: 13px;
  color: #E8590C;
  padding: 0 16px;
  margin-bottom: 8px;
}

.character-desc {
  font-size: 14px;
  color: #6B7280;
  padding: 0 16px;
  margin-bottom: 12px;
}

.character-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
  margin-bottom: 12px;
}

.character-tag-list li {
  padding: 2px 10px;
  background-color: #FAF6F0;
  border-radius: 999px;
  font-size: 12px;
  color: #6B7280;
}

.character-work-link {
  padding: 0 16px 16px;
  font-size: 13px;
}

.character-work-link a {
  font-weight: 500;
}

.more-works-tip {
  font-size: 14px;
  color: #6B7280;
  margin-top: 20px;
}

.tag-cloud-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-list li {
  margin: 0;
}

.tag-cloud-list a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #FAF6F0;
  border: 1px solid #EBE3D8;
  border-radius: 999px;
  font-size: 13px;
  color: #2B2B2B;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tag-cloud-list a:hover {
  background-color: #E8590C;
  color: #FFFFFF;
  border-color: #E8590C;
  text-decoration: none;
}

.sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================
   活动信息页
   ========================================================== */

.event-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.event-type-card {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 24px;
  transition: transform 0.2s ease;
}

.event-type-card:hover {
  transform: translateY(-2px);
}

.event-type-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.event-type-card p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 0;
}

.event-process-section,
.event-notes-section {
  margin-top: 40px;
}

.process-list {
  counter-reset: process;
  margin-top: 16px;
}

.process-list li {
  position: relative;
  padding: 12px 0 12px 48px;
  border-bottom: 1px dashed #EBE3D8;
  font-size: 15px;
}

.process-list li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E8590C;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.notes-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #4B4B4B;
}

.notes-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E8590C;
}

.events-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================
   内容归档页
   ========================================================== */

.archive-content {
  min-width: 0;
}

.archive-list .work-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EBE3D8;
}

.archive-list .work-item:last-child {
  border-bottom: 0;
}

.work-cover {
  width: 88px;
  height: 118px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.work-info {
  flex: 1;
  min-width: 0;
}

.work-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.work-summary {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-related {
  margin-top: 24px;
  padding: 16px;
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  font-size: 14px;
}

.archive-related p {
  margin-bottom: 8px;
}

.archive-related a {
  margin-right: 16px;
  font-weight: 500;
}

.archive-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-block {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 20px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
}

.summary-panel {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 20px;
}

.summary-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
}

.summary-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.summary-desc {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 14px;
}

.summary-links {
  display: flex;
  gap: 12px;
}

.summary-links a {
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================
   阅读指南页
   ========================================================== */

.guide-section {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
}

.guide-section .section-head h2 {
  font-size: 20px;
  color: #E8590C;
}

.question-list {
  margin-top: 16px;
}

.question-item {
  padding: 14px 0;
  border-bottom: 1px dashed #EBE3D8;
}

.question-item:last-child {
  border-bottom: 0;
}

.question-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.question-item p {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 4px;
}

.question-item a {
  font-size: 14px;
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid #EBE3D8;
}

.compare-table th {
  background-color: #FAF6F0;
  font-weight: 600;
  white-space: nowrap;
}

.compare-table td {
  color: #4B4B4B;
}

.checklist {
  counter-reset: check;
  margin-top: 16px;
}

.checklist li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-bottom: 1px dashed #EBE3D8;
  font-size: 15px;
}

.checklist li::before {
  counter-increment: check;
  content: counter(check);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FAF6F0;
  border: 1px solid #EBE3D8;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #E8590C;
}

.guide-figure {
  margin-top: 20px;
}

.guide-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

/* ==========================================================
   版权与说明页
   ========================================================== */

.content-main {
  min-width: 0;
}

.content-sidebar {
  min-width: 0;
}

.content-section {
  background-color: #FFFFFF;
  border: 1px solid #EBE3D8;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  scroll-margin-top: 80px;
}

.content-section .section-head {
  border-bottom: 2px solid #FAF6F0;
  padding-bottom: 12px;
}

.content-section .section-head h2 {
  font-size: 20px;
}

.section-body {
  font-size: 15px;
  color: #4B4B4B;
}

.section-body p:last-child {
  margin-bottom: 0;
}

.content-list {
  margin: 12px 0;
}

.content-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #E8590C;
}

.content-media {
  margin-top: 16px;
}

.content-media-inline {
  border-radius: 8px;
  overflow: hidden;
}

.content-media-inline img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.content-media-inline figcaption {
  padding: 8px 12px;
  font-size: 13px;
  color: #6B7280;
  background-color: #FAF6F0;
}

/* ==========================================================
   404 页
   ========================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-content {
  text-align: center;
  max-width: 560px;
}

.error-title {
  font-size: 72px;
  font-weight: 800;
  color: #E8590C;
  line-height: 1;
  margin-bottom: 16px;
}

.error-lead {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #6B7280;
  margin-bottom: 28px;
}

.error-link {
  display: inline-block;
  background-color: #E8590C;
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.error-link:hover {
  background-color: #D9500A;
  text-decoration: none;
}

/* ==========================================================
   页脚
   ========================================================== */

.site-footer {
  background-color: #222222;
  color: #B8B0A5;
  padding: 48px 24px 20px;
  margin-top: auto;
}

.footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #9A9A9A;
  margin-bottom: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-nav li,
.footer-info li {
  margin-bottom: 8px;
}

.footer-nav a,
.footer-info a {
  font-size: 14px;
  color: #9A9A9A;
}

.footer-nav a:hover,
.footer-info a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  font-size: 13px;
  color: #6B7280;
}

.footer-bottom p {
  margin-bottom: 0;
}

/* ==========================================================
   Responsive 响应式
   ========================================================== */

@media (max-width: 1024px) {
  .page-layout,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-right .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    min-height: 56px;
  }

  .brand-link {
    font-size: 19px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 12px 16px;
    border-bottom: 1px solid #EBE3D8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 8px;
    font-size: 16px;
  }

  .site-home .site-header {
    position: relative;
    background-color: #2B2B2B;
  }

  .site-home .site-header.is-scrolled {
    background-color: #2B2B2B;
  }

  .site-home .brand-name {
    color: #FFFFFF;
    text-shadow: none;
  }

  .site-home .nav-list a {
    color: #2B2B2B;
    text-shadow: none;
  }

  .site-home .site-header.is-scrolled .nav-list a {
    color: #2B2B2B;
  }

  .site-home .nav-toggle-icon,
  .site-home .nav-toggle-icon::before,
  .site-home .nav-toggle-icon::after {
    background-color: #FFFFFF;
  }

  .site-home .site-header.is-scrolled .nav-toggle-icon,
  .site-home .site-header.is-scrolled .nav-toggle-icon::before,
  .site-home .site-header.is-scrolled .nav-toggle-icon::after {
    background-color: #FFFFFF;
  }

  .inner-main {
    padding: 20px 16px 40px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-layout,
  .page-layout.sidebar-left,
  .layout-shell.sidebar-right .page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .layout-shell.sidebar-right .page-layout .sidebar-right,
  .layout-shell.sidebar-right .page-layout .events-sidebar,
  .page-layout .sidebar-area,
  .page-layout.sidebar-left .special-sidebar,
  .page-layout.sidebar-left .content-sidebar {
    order: 2;
  }

  /* 首页 */
  .hero-section {
    min-height: auto;
    padding: 80px 16px 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .genre-map {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .genre-item {
    padding: 12px 10px;
    font-size: 14px;
  }

  .home-update-ranking {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px;
  }

  .channel-entry-section {
    padding: 0 16px 32px;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .channel-card {
    padding: 16px 14px;
  }

  .guide-banner {
    padding: 32px 16px;
  }

  .guide-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .copyright-note {
    padding: 16px;
  }

  /* 资讯页 */
  .news-list .news-item {
    flex-direction: column;
    gap: 12px;
  }

  .news-figure {
    width: 100%;
    height: 160px;
  }

  .recommend-cards {
    grid-template-columns: 1fr;
  }

  /* 专题页 */
  .special-block {
    padding: 20px 16px;
  }

  .special-media img {
    height: 180px;
  }

  /* 角色页 */
  .character-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .character-figure {
    height: 200px;
  }

  /* 活动页 */
  .event-types-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 归档页 */
  .archive-list .work-item {
    flex-direction: column;
    gap: 12px;
  }

  .work-cover {
    width: 100%;
    height: 180px;
  }

  /* 指南页 */
  .guide-section {
    padding: 20px 16px;
  }

  .compare-table {
    font-size: 13px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }

  /* 版权页 */
  .content-section {
    padding: 20px 16px;
  }

  /* 页脚 */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px 28px;
  }

  .footer-about {
    grid-column: auto;
  }

  .site-footer {
    padding: 40px 0 16px;
  }

  .footer-bottom {
    padding: 16px;
  }

  /* 404 */
  .error-title {
    font-size: 56px;
  }
}

@media (max-width: 480px) {
  .genre-map {
    grid-template-columns: 1fr 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .character-grid {
    grid-template-columns: 1fr;
  }

  .event-types-grid {
    grid-template-columns: 1fr;
  }

  .recommend-cards {
    grid-template-columns: 1fr;
  }
}
