/* =========================================================
   base —— 全站基础变量、重置与排版
   ========================================================= */
:root {
  --color-ink: #1a1a2e;
  --color-deep: #16213e;
  --color-mid: #0f3460;
  --color-accent: #e94560;
  --color-paper: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #6b6b7b;
  --color-border: #dddddd;
  --color-bg-soft: #faf8f6;

  --font-heading: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;

  --container-width: 1200px;
  --header-height: 68px;
  --radius-card: 8px;
  --radius-tag: 4px;

  --shadow-card: 0 2px 10px rgba(26, 26, 46, 0.08);
  --shadow-card-hover: 0 6px 22px rgba(26, 26, 46, 0.14);

  --space-section: 64px;
  --space-section-sm: 40px;
}

/* ---- reset ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-paper);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-ink);
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 17px;
}

p {
  margin-bottom: 1em;
}

/* ---- 通用容器 ---- */
.site-header,
.site-main,
.site-footer {
  width: 100%;
}

.site-main {
  min-height: 60vh;
}

.header-inner,
.site-main,
.footer-cols,
.copyright {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---- 焦点可见性 ---- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* =========================================================
   layout —— 页头、页脚、导航骨架
   ========================================================= */

/* ---- 页头 ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

.brand:hover {
  color: var(--color-accent);
}

/* ---- 主导航 ---- */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  min-width: 44px;
  min-height: 44px;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px auto;
  transition: transform 0.2s ease;
}

.nav-toggle::after {
  margin-bottom: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: inline-block;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  border-radius: var(--radius-tag);
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 40px;
  line-height: 24px;
}

.nav-list li a:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-list li a.is-current {
  color: var(--color-white);
  background-color: var(--color-accent);
  font-weight: 600;
}

/* ---- 页脚 ---- */
.site-footer {
  background-color: var(--color-deep);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0;
  padding-top: 48px;
  padding-bottom: 32px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* =========================================================
   components —— 通用组件：按钮、面包屑、标签、卡片等
   ========================================================= */

/* ---- 按钮 ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  border-radius: var(--radius-tag);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #d63b56;
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-tag);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-back:hover {
  background-color: #d63b56;
  color: var(--color-white);
}

/* ---- 面包屑 ---- */
.breadcrumb {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 14px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb a {
  color: var(--color-mid);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: var(--color-text-light);
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* ---- 页面标题区（内页） ---- */
.page-header {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 28px 24px 20px;
}

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.7;
}

/* ---- 标签 ---- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  border-radius: var(--radius-tag);
  background-color: rgba(15, 52, 96, 0.08);
  color: var(--color-mid);
  line-height: 1.5;
  margin: 0 6px 6px 0;
}

/* ---- 文字链接 ---- */
.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent);
  padding: 6px 0;
  min-height: 36px;
  line-height: 24px;
}

.text-link:hover {
  color: var(--color-mid);
  text-decoration: underline;
}

/* =========================================================
   pages —— 首页模块
   ========================================================= */

/* ---- hero 焦点区 ---- */
.hero {
  background-color: var(--color-ink);
  color: var(--color-white);
  padding: 56px 0 48px;
}

.hero .hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  color: var(--color-white);
  font-size: 36px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 480px;
}

.quick-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

/* ---- 题材分类导航带 ---- */
.category-nav {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-section) 24px 0;
}

.category-nav h2 {
  margin-bottom: 8px;
}

.category-nav > p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-list .tag {
  padding: 9px 20px;
  font-size: 15px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-mid);
  margin: 0;
  border-radius: 999px;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.tag-list .tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: #fff7f8;
}

/* ---- 最近更新 ---- */
.recent-updates {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-section) 24px 0;
}

.recent-updates > h2 {
  margin-bottom: 8px;
}

.recent-updates > p {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.update-group {
  margin-bottom: 36px;
}

.update-group h3 {
  font-size: 17px;
  color: var(--color-mid);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-bg-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.manga-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.manga-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.manga-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.manga-card h4 {
  padding: 12px 14px 4px;
  font-size: 16px;
}

.manga-card .status {
  display: inline-block;
  margin: 0 14px 14px;
  padding: 3px 10px;
  font-size: 12px;
  border-radius: 999px;
  background-color: rgba(233, 69, 96, 0.1);
  color: var(--color-accent);
  font-weight: 600;
}

/* ---- 人气榜单预览 ---- */
.ranking-preview {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-section) 24px 0;
}

.ranking-preview > h2 {
  margin-bottom: 8px;
}

.ranking-preview > p {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.rank-item {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.rank-num {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.rank-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-tag);
}

.rank-info h3 {
  font-size: 15px;
  line-height: 1.4;
}

.rank-info p {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 阅读指南入口 ---- */
.guide-entry {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-section) 24px 0;
}

.guide-entry > h2 {
  margin-bottom: 8px;
}

.guide-entry > p {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.guide-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-accent);
  transition: box-shadow 0.25s ease;
}

.guide-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.guide-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.guide-card p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 14px;
}

/* ---- 长尾推荐预告 ---- */
.longtail-preview {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-section) 24px 0;
}

.longtail-preview > h2 {
  margin-bottom: 8px;
}

.longtail-preview > p {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card h3 {
  padding: 18px 20px 6px;
  font-size: 19px;
}

.feature-card p {
  padding: 0 20px;
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 12px;
  flex-grow: 1;
}

.feature-card .text-link {
  margin: 0 20px 18px;
}

/* ---- 版权与反馈说明 ---- */
.feedback-note {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--space-section) 24px;
}

.feedback-note {
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  margin-bottom: 0;
  margin-top: var(--space-section);
}

.feedback-note h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.feedback-note p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* =========================================================
   pages —— 内页通用
   ========================================================= */

.inner-main {
  background-color: var(--color-paper);
  padding-bottom: var(--space-section);
}

/* ---- 内页布局容器 ---- */
.page-layout {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 24px 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* 侧栏在前 */
.sidebar-left .page-layout {
  grid-template-columns: 260px 1fr;
}

/* =========================================================
   pages —— 题材分类页（categories）
   ========================================================= */

.category-sidebar {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-title {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-bg-soft);
}

.category-list li {
  margin-bottom: 4px;
}

.category-list li a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-tag);
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-list li a:hover {
  background-color: rgba(233, 69, 96, 0.08);
  color: var(--color-accent);
}

.sidebar-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-bg-soft);
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.category-detail {
  min-width: 0;
}

.category-section {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.category-section > h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.category-section > p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 18px;
}

.category-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
  background-color: var(--color-bg-soft);
  border-radius: var(--radius-card);
  padding: 16px;
}

.category-card img {
  width: 180px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-tag);
}

.card-text h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.card-text p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.card-text a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
}

.inner-links {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 22px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.inner-links p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.inner-links a {
  color: var(--color-accent);
  font-weight: 600;
}

/* =========================================================
   pages —— 阅读指南页（guide）
   ========================================================= */

.guide-hero-figure {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 24px 0;
}

.guide-hero-figure img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.guide-hero-figure figcaption {
  font-size: 13px;
  color: var(--color-text-light);
  padding: 8px 4px 0;
  text-align: right;
}

.guide-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 24px 0;
}

.guide-section > h2 {
  font-size: 24px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-bg-soft);
}

.guide-section > p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 18px;
}

.guide-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.method-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-accent);
}

.method-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.method-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

.discover-list {
  margin: 20px 0;
}

.discover-item {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-card);
}

.discover-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.discover-item p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.7;
}

.reading-list-tips {
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.reading-list-tips li {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  font-size: 14px;
  line-height: 1.7;
}

.reading-list-tips strong {
  color: var(--color-mid);
  font-weight: 600;
}

/* ---- FAQ ---- */
.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.5;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--color-accent);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ---- 相关指南链接 ---- */
.related-guides {
  max-width: 860px;
  margin: 0 auto;
}

.related-guides > p {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.related-guides a {
  color: var(--color-accent);
  font-weight: 600;
  padding: 4px 0;
}

.related-guides a:hover {
  text-decoration: underline;
}

/* =========================================================
   pages —— 恋爱漫画推荐（romance）
   ========================================================= */

.recommend-list {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 24px 0;
}

.recommend-list > h2 {
  margin-bottom: 8px;
}

.recommend-list > p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* 恋爱页卡片 */
.comic-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}

.comic-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.comic-media img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-tag);
}

.comic-info {
  min-width: 0;
}

.comic-info h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.comic-tags {
  margin-bottom: 10px;
}

.comic-info > p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 10px;
}

.read-more {
  margin-bottom: 0;
}

.read-more a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  padding: 4px 0;
  display: inline-block;
}

.read-more a:hover {
  text-decoration: underline;
}

/* ---- 子类型 ---- */
.subtype-guide {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 36px 24px 0;
}

.subtype-guide > h2 {
  margin-bottom: 8px;
}

.subtype-guide > p {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.subtype-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.subtype-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 24px 20px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--color-accent);
}

.subtype-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.subtype-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* ---- 相关推荐 ---- */
.related-links {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 36px 24px 0;
}

.related-links > h2 {
  margin-bottom: 8px;
}

.related-links > p {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.link-list {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.link-list li a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-mid);
  min-height: 36px;
  line-height: 24px;
}

.link-list li a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* =========================================================
   pages —— 热血漫画推荐（hot-blooded）
   ========================================================= */

.recommend-list .section-desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.work-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.work-cover {
  margin: 0;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.work-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-info h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.work-tags {
  margin-bottom: 8px;
}

.work-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 10px;
  flex-grow: 1;
}

.work-point {
  font-size: 13px;
  margin-bottom: 0;
}

.work-point strong {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---- 看点解析 ---- */
.point-analysis {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 36px 24px 0;
}

.point-analysis > h2 {
  margin-bottom: 8px;
}

.point-analysis > .section-desc {
  color: var(--color-text-light);
  margin-bottom: 22px;
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.analysis-item {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-mid);
}

.analysis-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.analysis-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

.analysis-note {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 18px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.analysis-note a {
  color: var(--color-accent);
  font-weight: 600;
}

.analysis-note a:hover {
  text-decoration: underline;
}

/* =========================================================
   pages —— 404 页
   ========================================================= */

.error-main {
  background-color: var(--color-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  max-width: 520px;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  box-shadow: var(--shadow-card);
}

.error-code {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* =========================================================
   responsive —— 响应式断点
   ========================================================= */

/* ---- 大屏（1200px+） ---- */
@media (min-width: 1200px) {
  .hero .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* ---- 平板与笔记本（≤1024px） ---- */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analysis-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-card img {
    width: 100%;
    height: 180px;
  }
}

/* ---- 手机（≤768px） ---- */
@media (max-width: 768px) {
  :root {
    --space-section: 40px;
  }

  .header-inner,
  .site-main,
  .footer-cols,
  .copyright {
    padding-left: 16px;
    padding-right: 16px;
  }

  .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 导航：汉堡菜单 */
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-ink);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: var(--radius-tag);
  }

  .site-nav {
    position: relative;
  }

  /* hero */
  .hero {
    padding: 36px 0 32px;
  }

  .hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 16px;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .hero-figure img {
    height: 220px;
  }

  .quick-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  /* 首页网格 */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .manga-card img {
    height: 160px;
  }

  .ranking-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .rank-item img {
    height: 100px;
  }

  .guide-cards,
  .feature-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feedback-note {
    padding: 24px 20px;
    margin-top: var(--space-section);
  }

  /* 内页布局 */
  .page-layout,
  .sidebar-left .page-layout {
    grid-template-columns: 1fr;
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-sidebar {
    position: static;
    margin-bottom: 20px;
  }

  .category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .category-section {
    padding: 20px 16px;
    scroll-margin-top: calc(var(--header-height) + 12px);
  }

  .category-card {
    padding: 12px;
  }

  .category-card img {
    height: 160px;
  }

  .inner-links {
    padding: 18px 16px;
  }

  /* guide */
  .guide-hero-figure {
    padding-left: 16px;
    padding-right: 16px;
  }

  .guide-hero-figure img {
    height: 200px;
  }

  .guide-section {
    padding: 28px 16px 0;
  }

  .guide-method-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .related-guides > p {
    padding: 16px;
    gap: 10px;
  }

  /* romance */
  .recommend-list {
    padding-left: 16px;
    padding-right: 16px;
  }

  .comic-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .comic-media img {
    width: 100%;
    height: 200px;
  }

  .subtype-guide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .subtype-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .related-links {
    padding-left: 16px;
    padding-right: 16px;
  }

  .link-list {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  /* hot-blooded */
  .work-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .work-cover img {
    height: 220px;
  }

  .point-analysis {
    padding-left: 16px;
    padding-right: 16px;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .analysis-note {
    padding: 16px;
  }

  /* footer */
  .site-footer {
    padding-top: 36px;
    padding-bottom: 24px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  /* 404 */
  .error-panel {
    padding: 36px 24px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-panel h1 {
    font-size: 20px;
  }
}

/* ---- 小屏（≤390px） ---- */
@media (max-width: 390px) {
  .hero-copy h1 {
    font-size: 24px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .manga-card img {
    height: 200px;
  }

  .ranking-list {
    grid-template-columns: 1fr;
  }

  .rank-item {
    flex-direction: row;
    align-items: center;
    padding: 12px;
  }

  .rank-item img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .rank-num {
    font-size: 20px;
  }

  .rank-info h3 {
    font-size: 14px;
  }

  .rank-info p {
    font-size: 12px;
  }

  .category-list {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .category-list li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .comic-media img {
    height: 180px;
  }

  .work-cover img {
    height: 200px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    font-size: 13px;
  }
}

/* ---- 动效增强（不影响初始可见性） ---- */
@media (prefers-reduced-motion: no-preference) {
  .manga-card,
  .rank-item,
  .feature-card,
  .work-card,
  .guide-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
}
