/* ==========================================================================
   羞漫画 · 全局样式
   开发者文档风：冷白背景、等宽代码点缀、蓝绿状态色
   ========================================================================== */

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1e293b;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0284c7;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 700;
  color: #1e293b;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 0.75rem;
}

figure {
  margin: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.brand-logo:hover {
  color: #0ea5e9;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav .nav-list li a {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav .nav-list li a:hover {
  color: #0ea5e9;
  background-color: #f0f9ff;
}

.site-nav .nav-list li a.is-current {
  color: #0ea5e9;
  background-color: #e0f2fe;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
}

.nav-toggle .toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1e293b;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
  background-color: #f1f5f9;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #64748b;
}

.breadcrumb a:hover {
  color: #0ea5e9;
}

.breadcrumb-sep {
  color: #94a3b8;
}

.breadcrumb-current {
  color: #1e293b;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: #475569;
  max-width: 720px;
  line-height: 1.7;
}

/* 区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 720px;
}

.section-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 720px;
}

/* ==========================================================================
   Header / Nav 响应式
   ========================================================================== */

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-logo {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: static;
  }

  .site-nav .nav-list {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 8px 16px rgba(30, 41, 59, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 12px;
    display: none;
  }

  .site-nav .nav-list.is-open {
    display: flex;
  }

  .site-nav .nav-list li a {
    padding: 12px 12px;
    font-size: 16px;
    border-radius: 6px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #64748b;
}

.footer-col ul li a:hover {
  color: #0ea5e9;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding: 16px 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 16px 20px;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Pages
   ========================================================================== */

/* ---------- 首页 ---------- */

.site-main {
  flex: 1;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  width: 100%;
}

/* 首屏公告区 */
.notice-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 40px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 48px;
}

.hero-copy .kicker {
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  color: #0ea5e9;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-lead {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-cta {
  display: inline-block;
  background-color: #0ea5e9;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.hero-cta:hover {
  background-color: #0284c7;
  color: #ffffff;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.06);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 题材分类导航 */
.genre-nav-section {
  margin-bottom: 48px;
}

.genre-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.genre-tag {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #334155;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.genre-tag:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.12);
}

/* 最近更新 */
.latest-updates {
  margin-bottom: 48px;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.update-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.update-item:hover {
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.08);
}

.update-link {
  display: block;
  height: 100%;
}

.update-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.update-info {
  padding: 16px;
}

.update-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  line-height: 1.4;
}

.update-meta {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 8px;
  font-family: "Courier New", Courier, monospace;
}

.update-status {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #10b981;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 3px 8px;
}

/* 人气榜单 */
.popular-rank-preview {
  margin-bottom: 48px;
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rank-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.rank-item:hover {
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.08);
}

.rank-number {
  font-family: "Courier New", Courier, monospace;
  font-size: 28px;
  font-weight: 700;
  color: #0ea5e9;
  line-height: 1;
  flex-shrink: 0;
}

.rank-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.rank-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 10px;
}

.text-link {
  font-size: 14px;
  font-weight: 500;
}

/* 阅读指南入口 */
.guide-entry {
  margin-bottom: 20px;
}

.guide-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.guide-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  border-color: #0ea5e9;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.08);
}

.guide-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 内页通用布局 ---------- */

.site-inner {
  flex: 1;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  width: 100%;
}

.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 60px;
  width: 100%;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar-left {
  grid-template-columns: 220px 1fr;
}

@media (max-width: 768px) {
  .layout-shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 16px 48px;
  }

  .inner-main {
    padding: 24px 16px 48px;
  }
}

/* 侧栏 */
.sidebar {
  position: sticky;
  top: 84px;
}

.sidebar-inner {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-list li {
  margin-bottom: 4px;
}

.sidebar-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #475569;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-list li a:hover {
  background-color: #f0f9ff;
  color: #0ea5e9;
}

.sidebar-links li {
  margin-bottom: 4px;
}

.sidebar-links li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #475569;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-links li a:hover {
  background-color: #f0f9ff;
  color: #0ea5e9;
}

.sidebar-tip {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.sidebar-note {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .sidebar {
    position: static;
    order: 2;
    margin-top: 32px;
  }
}

/* 主内容区 */
.main-content {
  min-width: 0;
}

/* ---------- 分类页 ---------- */

.tag-section {
  margin-bottom: 40px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  color: #334155;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.tag-item:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.category-detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.08);
}

.cat-name {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.cat-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 12px;
}

.cat-link {
  font-size: 14px;
  font-weight: 500;
}

.cat-cover {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cat-cover img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cat-cover figcaption {
  font-size: 13px;
  color: #94a3b8;
  padding: 8px 12px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.more-links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.more-links a {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 阅读指南页 ---------- */

.page-sidebar {
  position: sticky;
  top: 84px;
}

.page-sidebar .sidebar-inner {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
}

.page-sidebar .sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.page-sidebar .sidebar-list li {
  margin-bottom: 4px;
}

.page-sidebar .sidebar-list li a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: #475569;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-sidebar .sidebar-list li a:hover {
  background-color: #f0f9ff;
  color: #0ea5e9;
}

.guide-hero {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 32px;
}

.guide-hero img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.guide-hero figcaption {
  font-size: 13px;
  color: #94a3b8;
  padding: 10px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.guide-section p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 12px;
}

.faq-section {
  margin-bottom: 40px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-item summary:hover {
  background-color: #f8fafc;
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: #0ea5e9;
  font-family: "Courier New", Courier, monospace;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0;
}

.guide-related {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 40px;
}

.guide-related h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
}

.guide-related p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.guide-related a {
  font-size: 14px;
  font-weight: 500;
  margin-right: 16px;
  display: inline-block;
  margin-bottom: 8px;
}

/* ---------- 恋爱漫画页 ---------- */

.section-block {
  margin-bottom: 40px;
}

.section-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.work-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.08);
}

.work-cover {
  overflow: hidden;
  border-right: 1px solid #e2e8f0;
}

.work-cover img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.work-info {
  padding: 20px 24px;
}

.work-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.work-tags {
  font-size: 13px;
  color: #0ea5e9;
  font-family: "Courier New", Courier, monospace;
  margin-bottom: 10px;
}

.work-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.work-status {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #10b981;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 3px 8px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  margin-right: 6px;
}

.status-table-wrapper {
  overflow-x: auto;
  margin-bottom: 16px;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.status-table th,
.status-table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}

.status-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #1e293b;
  font-size: 13px;
}

.status-table td {
  color: #475569;
}

.table-note {
  font-size: 13px;
  color: #94a3b8;
  font-family: "Courier New", Courier, monospace;
  margin-bottom: 0;
}

/* ---------- 热血漫画页 ---------- */

.page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.comic-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.comic-card:hover {
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.08);
}

.card-media {
  overflow: hidden;
  border-right: 1px solid #e2e8f0;
}

.card-media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 20px 24px;
}

.card-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.tag-line {
  font-size: 13px;
  color: #0ea5e9;
  font-family: "Courier New", Courier, monospace;
  margin-bottom: 10px;
}

.summary {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 12px;
}

.update-status {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #10b981;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 12px;
}

.card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
}

.highlights-list {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.highlights-list .highlight-item {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.highlights-list .highlight-item:last-child {
  border-bottom: none;
}

.update-table-wrap {
  overflow-x: auto;
  margin-bottom: 16px;
}

.update-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.update-table th,
.update-table td {
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  text-align: left;
}

.update-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #1e293b;
  font-size: 13px;
}

.update-table td {
  color: #475569;
}

.section-footnote {
  font-size: 13px;
  color: #94a3b8;
  font-family: "Courier New", Courier, monospace;
  margin-bottom: 0;
}

.in-content-links {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.in-content-links a {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 404 页 ---------- */

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.error-section {
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.error-section h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.error-code {
  font-family: "Courier New", Courier, monospace;
  font-size: 64px;
  font-weight: 700;
  color: #0ea5e9;
  line-height: 1.2;
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: #475569;
  margin-bottom: 28px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-back,
.btn-categories {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-back {
  background-color: #0ea5e9;
  color: #ffffff;
}

.btn-back:hover {
  background-color: #0284c7;
  color: #ffffff;
}

.btn-categories {
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.btn-categories:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.error-tip {
  font-size: 13px;
  color: #94a3b8;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .update-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .rank-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card,
  .comic-card {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  .site-main {
    padding: 0 16px 48px;
  }

  .notice-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 32px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-figure img {
    height: 220px;
  }

  .update-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rank-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-detail-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-card,
  .comic-card {
    grid-template-columns: 1fr;
  }

  .work-cover,
  .card-media {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .work-cover img,
  .card-media img {
    height: 200px;
    min-height: 0;
  }

  .guide-hero img {
    height: 180px;
  }

  .error-code {
    font-size: 48px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-back,
  .btn-categories {
    width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .update-list {
    grid-template-columns: 1fr;
  }

  .rank-list {
    grid-template-columns: 1fr;
  }

  .category-detail-section {
    grid-template-columns: 1fr;
  }

  .guide-card-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .genre-tag-list {
    gap: 8px;
  }

  .genre-tag {
    padding: 8px 14px;
    font-size: 14px;
  }

  .update-info h3 {
    font-size: 15px;
  }

  .work-info,
  .card-info {
    padding: 16px;
  }
}
