/* ==========================================================================
   quhlr.cn 韩国漫画免费在线观看 - 全站样式表
   结构：base / layout / components / pages / responsive
   配色：主色 #2B2D42 深蓝灰 | 辅色 #FF6B6B 珊瑚红 | 强调 #4ECDC4 青绿
   背景 #F7F7F7 浅灰 | 白色 #FFFFFF
   ========================================================================== */

/* ==========================================================================
   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", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #2B2D42;
  background-color: #F7F7F7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: #2B2D42;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #FF6B6B;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
  color: #2B2D42;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 0.75rem;
}

table {
  border-collapse: collapse;
  width: 100%;
}

details summary {
  cursor: pointer;
}

/* ==========================================================================
   layout - 全站容器、页头、页脚、面包屑、布局骨架
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F7F7F7;
}

.site-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E8EC;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2B2D42;
  letter-spacing: 0.02em;
}

.brand-logo:hover .brand-name {
  color: #FF6B6B;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2B2D42;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list li a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2B2D42;
  border-radius: 4px;
}

.nav-list li a:hover {
  color: #FF6B6B;
  background-color: #F7F7F7;
}

.nav-list li a.is-current {
  color: #FF6B6B;
  font-weight: 700;
  background-color: #FFF0F0;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  background-color: #2B2D42;
  color: #C8C9D4;
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
}

.footer-brand {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  text-align: center;
}

.footer-slogan {
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.375rem;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.footer-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.footer-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.875rem;
}

.footer-links .footer-title {
  text-align: center;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
}

.footer-nav-list li a {
  color: #C8C9D4;
  font-size: 0.875rem;
}

.footer-nav-list li a:hover {
  color: #FFFFFF;
}

.footer-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  text-align: center;
}

.footer-info .footer-title {
  display: none;
}

.copyright-text {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #8E8FA3;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: #6B6C7E;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #6B6C7E;
  font-size: 0.875rem;
}

.breadcrumb a:hover {
  color: #FF6B6B;
}

.breadcrumb-sep {
  color: #B0B1C0;
  font-size: 0.8125rem;
}

.breadcrumb-current {
  color: #2B2D42;
  font-weight: 500;
}

/* 主内容容器 */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
}

.page-header {
  margin-bottom: 1.75rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2B2D42;
  margin-bottom: 0.5rem;
}

.page-description {
  font-size: 1rem;
  color: #6B6C7E;
  line-height: 1.6;
  max-width: 720px;
}

/* 通用布局壳 */
.layout-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   components - 按钮、标签、卡片、列表、表格、FAQ 等通用模块
   ========================================================================== */

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background-color: #FF6B6B;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #E85A5A;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #2B2D42;
  border-color: #D0D0D8;
}

.btn-secondary:hover {
  border-color: #FF6B6B;
  color: #FF6B6B;
  background-color: #FFFFFF;
}

/* 区块标题 */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2B2D42;
  margin-bottom: 0.875rem;
}

.section-intro {
  font-size: 0.9375rem;
  color: #6B6C7E;
  margin-bottom: 1.25rem;
  max-width: 680px;
}

.section-desc {
  font-size: 0.9375rem;
  color: #6B6C7E;
  margin-bottom: 1.25rem;
}

/* 图片容器 */
.content-media {
  margin-bottom: 1.5rem;
}

.content-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.content-media figcaption {
  font-size: 0.8125rem;
  color: #8E8FA3;
  text-align: center;
  padding: 0.5rem 0;
}

/* 标签 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li a,
.tag-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2B2D42;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E6;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.tag-list li a:hover,
.tag-link:hover {
  border-color: #FF6B6B;
  color: #FF6B6B;
  background-color: #FFF5F5;
}

/* 表格 */
.genre-table-wrap {
  overflow-x: auto;
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
}

.genre-table {
  width: 100%;
  font-size: 0.9375rem;
}

.genre-table thead {
  background-color: #2B2D42;
}

.genre-table thead th {
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.genre-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ECECF0;
  vertical-align: top;
}

.genre-table tbody tr:last-child td {
  border-bottom: none;
}

.genre-table tbody tr:hover {
  background-color: #FAFAFC;
}

/* FAQ */
.faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E8E8EC;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 0.875rem 1.125rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #2B2D42;
  position: relative;
  padding-right: 2.5rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.125rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: #FF6B6B;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.125rem 0.875rem;
  font-size: 0.9375rem;
  color: #6B6C7E;
  line-height: 1.7;
}

/* ==========================================================================
   pages - 首页
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

/* 首屏 */
.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.hero-title {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0;
}

.hero-subtitle {
  font-size: 1rem;
  color: #6B6C7E;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(43, 45, 66, 0.1);
}

/* 题材分类导航带 */
.genre-nav-section {
  padding: 1.5rem 0;
  border-top: 1px solid #E8E8EC;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.genre-tag {
  display: inline-block;
  padding: 0.5rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #2B2D42;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E6;
  border-radius: 6px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.genre-tag:hover {
  border-color: #FF6B6B;
  color: #FF6B6B;
  background-color: #FFF5F5;
}

/* 最近更新 */
.recent-updates-section {
  padding: 1.5rem 0;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.update-item {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.08);
}

.update-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.update-link img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.update-info {
  padding: 0.75rem 0.875rem 0.875rem;
}

.update-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.update-meta {
  font-size: 0.8125rem;
  color: #8E8FA3;
  margin-bottom: 0.25rem;
}

.update-status {
  font-size: 0.8125rem;
  color: #4ECDC4;
  font-weight: 500;
}

/* 人气榜单 */
.ranking-section {
  padding: 1.5rem 0;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.875rem;
}

.ranking-item {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.08);
}

.rank-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FF6B6B;
  line-height: 1;
}

.rank-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rank-title {
  font-size: 0.9375rem;
  font-weight: 600;
}

.rank-reason {
  font-size: 0.8125rem;
  color: #8E8FA3;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 阅读指南入口 */
.guide-entry-section {
  padding: 1.5rem 0;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guide-card {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.08);
}

.guide-card-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.guide-card-text {
  font-size: 0.9375rem;
  color: #6B6C7E;
  line-height: 1.6;
  flex: 1;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #FF6B6B;
}

.guide-link:hover {
  color: #E85A5A;
}

/* 版权与反馈说明 */
.copyright-note-section {
  padding: 1.5rem 0;
  border-top: 1px solid #E8E8EC;
}

.copyright-note-text {
  font-size: 0.875rem;
  color: #8E8FA3;
  line-height: 1.7;
  max-width: 720px;
}

/* ==========================================================================
   pages - 题材分类页 genre.html
   ========================================================================== */

.sidebar-left {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.genre-sidebar {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}

.sidebar-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #FF6B6B;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-list li a {
  display: block;
  padding: 0.5rem 0.625rem;
  font-size: 0.9375rem;
  color: #2B2D42;
  border-radius: 4px;
}

.sidebar-list li a:hover {
  color: #FF6B6B;
  background-color: #FFF5F5;
}

.sidebar-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ECECF0;
}

.sidebar-note p {
  font-size: 0.8125rem;
  color: #8E8FA3;
  line-height: 1.6;
  margin-bottom: 0.375rem;
}

.genre-table-section {
  margin-bottom: 2rem;
}

.featured-works-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.genre-block {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
}

.genre-block-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.genre-block-desc {
  font-size: 0.9375rem;
  color: #6B6C7E;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.work-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
}

.work-card {
  background-color: #FAFAFC;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ECECF0;
}

.work-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.work-card > h4,
.work-card > p {
  padding: 0 0.625rem;
}

.work-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0.5rem 0 0.25rem;
}

.work-reason {
  font-size: 0.8125rem;
  color: #8E8FA3;
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.genre-more {
  margin-top: 0.875rem;
  font-size: 0.875rem;
}

.genre-more a {
  color: #FF6B6B;
  font-weight: 500;
}

.genre-more a:hover {
  color: #E85A5A;
}

.related-links {
  margin-top: 2rem;
}

.related-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.related-link-list li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2B2D42;
  background-color: #FFFFFF;
  border: 1px solid #E0E0E6;
  border-radius: 6px;
}

.related-link-list li a:hover {
  border-color: #FF6B6B;
  color: #FF6B6B;
}

/* ==========================================================================
   pages - 阅读指南页 guide.html
   ========================================================================== */

.guide-section {
  margin-bottom: 2.5rem;
}

.content-media-inline {
  max-width: 720px;
}

.content-media-inline img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.step-card {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FF6B6B;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.step-content p {
  font-size: 0.9375rem;
  color: #6B6C7E;
  line-height: 1.6;
  margin-bottom: 0;
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.tip-card {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
}

.tip-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2B2D42;
}

.tip-card p {
  font-size: 0.9375rem;
  color: #6B6C7E;
  line-height: 1.6;
  margin-bottom: 0;
}

.faq-section {
  margin-bottom: 2.5rem;
}

.related-section {
  margin-bottom: 0;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.related-card {
  display: block;
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.125rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.08);
  border-color: #FF6B6B;
}

.related-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: #2B2D42;
}

.related-card p {
  font-size: 0.875rem;
  color: #8E8FA3;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   pages - 恋爱漫画页 love.html
   ========================================================================== */

.recommendation-list {
  margin-bottom: 2.5rem;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.recommend-card {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommend-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.08);
}

.card-figure {
  margin: 0;
  position: relative;
}

.card-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-caption {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background-color: rgba(43, 45, 66, 0.8);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.card-body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-reason {
  font-size: 0.875rem;
  color: #6B6C7E;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 0;
}

.card-meta {
  font-size: 0.8125rem;
  color: #8E8FA3;
  margin-bottom: 0;
}

.genre-feature {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-content p {
  font-size: 0.9375rem;
  color: #6B6C7E;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.feature-content p:last-child {
  margin-bottom: 0;
}

.pick-guide {
  margin-bottom: 2.5rem;
}

.pick-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.pick-item {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.125rem;
}

.pick-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.pick-item p {
  font-size: 0.875rem;
  color: #6B6C7E;
  line-height: 1.6;
  margin-bottom: 0;
}

.pick-more {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pick-more a {
  color: #FF6B6B;
  font-weight: 500;
  font-size: 0.9375rem;
}

.pick-more a:hover {
  color: #E85A5A;
}

.related-genres {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
}

.aside-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
}

/* ==========================================================================
   pages - 热血漫画页 action.html
   ========================================================================== */

.main-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.recommendation-list .comic-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recommendation-list .comic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 45, 66, 0.08);
}

.comic-figure {
  margin: 0;
}

.comic-figure img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.comic-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.comic-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.comic-tags {
  font-size: 0.8125rem;
  color: #4ECDC4;
  font-weight: 500;
}

.comic-desc {
  font-size: 0.875rem;
  color: #6B6C7E;
  line-height: 1.6;
  margin-bottom: 0;
}

.comic-reason {
  font-size: 0.875rem;
  color: #8E8FA3;
  line-height: 1.5;
  margin-bottom: 0;
}

.related-genres .section-intro {
  margin-bottom: 0.875rem;
}

.related-genres .tag-list {
  margin-bottom: 0.875rem;
}

.more-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.more-link a {
  color: #FF6B6B;
  font-weight: 500;
  font-size: 0.9375rem;
}

.more-link a:hover {
  color: #E85A5A;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-block {
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 1.25rem;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.sidebar-block p {
  font-size: 0.875rem;
  color: #6B6C7E;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   pages - 404 页
   ========================================================================== */

.site-error {
  background-color: #F7F7F7;
}

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E8E8EC;
  padding: 3rem 2rem;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 4rem;
  font-weight: 700;
  color: #FF6B6B;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.error-desc {
  font-size: 1rem;
  color: #6B6C7E;
  margin-bottom: 1.5rem;
}

.error-btn {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background-color: #FF6B6B;
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  min-height: 44px;
  line-height: 1.6;
}

.error-btn:hover {
  background-color: #E85A5A;
  color: #FFFFFF;
}

/* ==========================================================================
   responsive - 响应式断点 768px
   ========================================================================== */

@media (max-width: 768px) {
  /* 页头 */
  .header-inner {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .brand-logo {
    order: 1;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    order: 3;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    width: 100%;
    padding: 0.5rem 0;
    border-top: 1px solid #ECECF0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
  }

  /* 首页 */
  .home-main {
    padding: 0 1rem 1.5rem;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .hero-title {
    font-size: 1.625rem;
  }

  .update-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .update-link img {
    height: 120px;
  }

  .ranking-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .guide-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 内页 */
  .inner-main {
    padding: 1rem 1rem 1.5rem;
  }

  .layout-shell {
    padding: 1rem 1rem 1.5rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .sidebar-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-sidebar {
    position: static;
    order: 2;
  }

  .page-title {
    font-size: 1.625rem;
  }

  /* 题材分类页 */
  .work-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .work-card img {
    height: 120px;
  }

  /* 阅读指南页 */
  .step-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .tip-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .related-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  /* 恋爱漫画页 */
  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .card-cover {
    height: 140px;
  }

  .pick-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  /* 热血漫画页 */
  .recommendation-list .comic-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .comic-figure img {
    height: 160px;
  }

  .sidebar-content {
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-block {
    flex: 1 1 100%;
  }

  /* 页脚 */
  .site-footer {
    padding-top: 2rem;
  }

  .footer-brand {
    padding-bottom: 1rem;
  }

  .footer-links {
    padding: 1rem 1rem 1.25rem;
  }

  .footer-info {
    padding: 0 1rem 1.25rem;
  }

  .footer-nav-list {
    gap: 0.25rem 0.875rem;
  }

  .copyright-text {
    padding: 0.875rem 1rem;
  }

  /* 404 */
  .error-main {
    padding: 2.5rem 1rem;
  }

  .error-panel {
    padding: 2rem 1.25rem;
  }

  .error-code {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .update-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .ranking-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .work-card-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .recommend-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .genre-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .genre-tag {
    flex-shrink: 0;
  }

  .tag-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .tag-list li {
    flex-shrink: 0;
  }

  .related-link-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .related-link-list li {
    flex-shrink: 0;
  }
}
