/* ==========================================================================
   漫蛙manwa2正版下载 - 全站样式表
   版本: 1.0
   配色: #000000 / #ffffff / #ff6b35
   字体: 系统无衬线栈
   ========================================================================== */

/* ==========================================================================
   Base 基础层
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #222;
  background-color: #f5f5f2;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff6b35;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.3;
  font-weight: 700;
  color: #000;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ==========================================================================
   Layout 布局层
   ========================================================================== */

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #000;
  border-bottom: 3px solid #ff6b35;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-main {
  flex: 1;
}

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 20px 60px;
}

.site-footer {
  background-color: #111;
  color: #ccc;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
}

/* ==========================================================================
   Components 组件层
   ========================================================================== */

/* --- 品牌 Logo --- */

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-logo:hover .brand-name {
  color: #ff6b35;
}

/* --- 主导航 --- */

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 14px;
  color: #ccc;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-list li a:hover {
  color: #fff;
  background-color: #2a2a2a;
}

.nav-list li a.is-current {
  color: #fff;
  background-color: #ff6b35;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* --- 面包屑 --- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0dd;
}

.breadcrumb a {
  color: #555;
}

.breadcrumb a:hover {
  color: #ff6b35;
}

.breadcrumb-sep {
  color: #aaa;
}

.breadcrumb-current {
  color: #000;
  font-weight: 600;
}

/* --- 页面标题区 --- */

.page-header {
  margin-bottom: 36px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #666;
  max-width: 720px;
  line-height: 1.7;
}

/* --- 章节标题 --- */

.section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #000;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background-color: #ff6b35;
}

.section-intro {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
  max-width: 720px;
}

/* --- 标签 --- */

.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  border-radius: 4px;
  background-color: #e8e8e5;
  color: #333;
  margin-right: 6px;
}

.tag-link,
.category-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  border-radius: 4px;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #333;
  transition: all 0.2s;
}

.tag-link:hover,
.category-tag:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  background-color: #fff8f5;
}

/* --- 页脚 --- */

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  flex: 0 0 280px;
}

.footer-brand p {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 8px;
}

.footer-brand p strong {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-bottom: 4px;
}

.footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 14px;
  color: #aaa;
}

.footer-col ul li a:hover {
  color: #ff6b35;
}

.footer-copyright {
  flex-basis: 100%;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #888;
  text-align: center;
}

/* --- 图片通用约束 --- */

.hero-img,
.rank-thumb,
.update-thumb,
.topic-img,
.work-cover,
.comic-img,
.card-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: #e0e0dd;
}

/* ==========================================================================
   Pages 页面层
   ========================================================================== */

/* ===================== 首页 index.html ===================== */

/* --- Hero 首屏 --- */

.hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 40px;
}

.hero-content {
  padding: 20px 0;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 17px;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-media {
  position: relative;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.hero-img {
  aspect-ratio: 4 / 3;
}

/* --- 站点定位 --- */

.site-intro {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 48px;
  border: 1px solid #e8e8e5;
}

.site-intro p {
  font-size: 16px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}

.site-intro p strong {
  color: #000;
  font-weight: 700;
}

/* --- 题材分类导航 --- */

.category-nav-section {
  margin-bottom: 48px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- 最近更新 --- */

.recent-updates {
  margin-bottom: 48px;
}

.update-group {
  margin-bottom: 28px;
}

.update-date {
  font-size: 16px;
  font-weight: 700;
  color: #ff6b35;
  padding: 6px 0;
  margin-bottom: 12px;
  border-left: 3px solid #ff6b35;
  padding-left: 12px;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.update-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.update-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.update-link {
  display: flex;
  gap: 12px;
  padding: 12px;
  align-items: center;
}

.update-thumb {
  width: 72px;
  height: 96px;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.update-info strong {
  font-size: 15px;
  line-height: 1.4;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.update-status {
  font-size: 12px;
  color: #ff6b35;
  font-weight: 600;
}

/* --- 人气榜单 --- */

.ranking-section {
  margin-bottom: 48px;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ranking-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #eee;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-number {
  position: absolute;
  top: -10px;
  left: 12px;
  width: 28px;
  height: 28px;
  background-color: #ff6b35;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.ranking-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank-thumb {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
}

.rank-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rank-info strong {
  font-size: 15px;
  color: #000;
}

.rank-reason {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
}

/* --- 阅读指南入口 --- */

.guide-entry {
  margin-bottom: 48px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  display: block;
  background-color: #000;
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  transition: background-color 0.2s;
}

.guide-card:hover {
  background-color: #1a1a1a;
}

.guide-card h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}

.guide-card h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ff6b35;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

.guide-card p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- 长尾专题预告 --- */

.featured-topics {
  margin-bottom: 48px;
}

.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card {
  display: block;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.topic-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.topic-img {
  aspect-ratio: 16 / 9;
}

.topic-card h3 {
  font-size: 20px;
  padding: 16px 16px 8px;
}

.topic-card p {
  font-size: 14px;
  color: #666;
  padding: 0 16px 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===================== 内页通用 ===================== */

/* ===================== 题材分类 categories.html ===================== */

/* --- 分类索引 --- */

.category-index {
  margin-bottom: 48px;
}

.category-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

/* --- 代表作品 --- */

.representative-works {
  margin-bottom: 48px;
}

.category-block {
  margin-bottom: 40px;
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.category-block h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
  display: inline-block;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.work-card {
  background-color: #fafaf7;
  border-radius: 8px;
  padding: 16px;
  margin: 0;
}

.work-cover {
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  margin-bottom: 12px;
}

.work-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.work-tags {
  font-size: 13px;
  color: #888;
}

.work-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 6px;
}

.work-update {
  font-size: 13px;
  color: #ff6b35;
  font-weight: 600;
}

/* --- 编辑建议 --- */

.editor-tips {
  background-color: #000;
  border-radius: 8px;
  padding: 32px;
  color: #fff;
}

.editor-tips h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.editor-tips h2::after {
  background-color: #ff6b35;
}

.editor-tips p {
  color: #bbb;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.editor-tips p a {
  color: #ff6b35;
  font-weight: 600;
}

.editor-tips p a:hover {
  color: #fff;
}

/* ===================== 阅读指南 guide.html ===================== */

.guide-section {
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 8px;
  padding: 28px;
  border: 1px solid #eee;
}

.guide-section h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-steps.flow {
  counter-reset: step;
}

.step-item {
  position: relative;
  padding: 16px 20px 16px 56px;
  background-color: #fafaf7;
  border-radius: 8px;
  border-left: 3px solid #ff6b35;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  background-color: #ff6b35;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- FAQ --- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fafaf7;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #ff6b35;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #f0f0ed;
}

.faq-item .faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ===================== 恋爱漫画推荐 romance.html ===================== */

.recommendation-list {
  margin-bottom: 48px;
}

.comic-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.comic-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.comic-cover {
  overflow: hidden;
  border-radius: 4px;
}

.comic-img {
  aspect-ratio: 3 / 4;
}

.comic-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comic-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.comic-tags {
  display: flex;
  gap: 6px;
}

.comic-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.comic-reason {
  font-size: 14px;
  color: #444;
  background-color: #fafaf7;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 3px solid #ff6b35;
  margin-bottom: 0;
}

.comic-reason strong {
  color: #ff6b35;
  margin-right: 6px;
}

/* --- 编辑点评 --- */

.editor-notes {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid #eee;
}

.editor-notes h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
}

.editor-notes p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ===================== 热血漫画推荐 action.html ===================== */

.manga-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.manga-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-media {
  overflow: hidden;
  border-radius: 4px;
}

.card-media img {
  aspect-ratio: 3 / 4;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.tag-list {
  display: flex;
  gap: 6px;
}

.manga-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 8px;
}

.recommend-reason {
  font-size: 14px;
  color: #444;
  background-color: #fafaf7;
  padding: 10px 14px;
  border-radius: 4px;
  border-left: 3px solid #ff6b35;
  margin-bottom: 0;
}

.recommend-reason strong {
  color: #ff6b35;
  margin-right: 6px;
}

/* --- 亮点解析 --- */

.highlight-analysis {
  margin-bottom: 48px;
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
  border: 1px solid #eee;
}

.highlight-analysis h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #000;
}

.highlight-analysis > p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-item {
  background-color: #fafaf7;
  border-radius: 8px;
  padding: 20px;
  border-top: 3px solid #ff6b35;
}

.highlight-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- 相关链接 --- */

.related-links {
  background-color: #000;
  border-radius: 8px;
  padding: 32px;
}

.related-links h2 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.related-links h2::after {
  background-color: #ff6b35;
}

.related-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.related-links ul li a {
  color: #bbb;
  font-size: 15px;
  padding: 8px 0;
  display: block;
  border-bottom: 1px solid #333;
}

.related-links ul li a:hover {
  color: #ff6b35;
}

/* ===================== 404 错误页 ===================== */

.error-main {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 20px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-section {
  text-align: center;
  max-width: 480px;
  width: 100%;
  padding: 48px 32px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.error-code {
  font-size: 80px;
  font-weight: 900;
  color: #ff6b35;
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-back,
.btn-categories {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s;
}

.btn-back {
  background-color: #000;
  color: #fff;
}

.btn-back:hover {
  background-color: #ff6b35;
  color: #fff;
}

.btn-categories {
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
}

.btn-categories:hover {
  border-color: #ff6b35;
  color: #ff6b35;
}

.error-tip {
  font-size: 13px;
  color: #999;
  margin-bottom: 0;
}

/* ==========================================================================
   Responsive 响应式
   ========================================================================== */

/* --- 平板及以下 --- */

@media (max-width: 1024px) {
  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .update-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- 手机端 --- */

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 17px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #000;
    flex-direction: column;
    padding: 8px 16px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 4px;
  }

  .site-nav {
    position: static;
  }

  /* 首页 Hero */
  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-media {
    order: 2;
  }

  /* 首页模块 */
  .update-list {
    grid-template-columns: 1fr;
  }

  .ranking-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ranking-item {
    flex-direction: row;
    align-items: center;
    padding: 12px;
  }

  .ranking-link {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex: 1;
  }

  .rank-thumb {
    width: 64px;
    height: 84px;
    flex-shrink: 0;
  }

  .rank-info {
    flex: 1;
  }

  .guide-cards,
  .topic-cards {
    grid-template-columns: 1fr;
  }

  .site-intro {
    padding: 24px;
  }

  /* 内页 */
  .inner-main {
    padding: 16px 16px 40px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* 分类页 */
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-block {
    padding: 16px;
  }

  /* 指南页 */
  .guide-section {
    padding: 20px;
  }

  .step-item {
    padding: 14px 16px 14px 48px;
  }

  .step-item::before {
    left: 12px;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  /* 推荐页 */
  .comic-card,
  .manga-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .comic-cover,
  .card-media {
    max-width: 160px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .related-links ul {
    grid-template-columns: 1fr;
  }

  /* 页脚 */
  .footer-inner {
    flex-direction: column;
    gap: 32px;
    padding: 32px 16px 20px;
  }

  .footer-brand {
    flex-basis: auto;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* 404 */
  .error-main {
    padding: 40px 16px;
  }

  .error-section {
    padding: 32px 20px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-back,
  .btn-categories {
    width: 100%;
    max-width: 240px;
    text-align: center;
  }
}

/* --- 小屏手机 --- */

@media (max-width: 390px) {
  .brand-name {
    font-size: 15px;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .update-thumb {
    width: 60px;
    height: 80px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-col {
    padding-bottom: 8px;
  }

  .comic-cover,
  .card-media {
    max-width: 140px;
  }
}
