/* ============================================================
   base 基础样式
   ============================================================ */
:root {
  --color-white: #ffffff;
  --color-bg: #f5f5f5;
  --color-accent: #ff6b35;
  --color-blue: #2d9cdb;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e8e8e8;
  --color-card-bg: #ffffff;
  --radius-card: 8px;
  --radius-small: 4px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
  --font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --header-height: 64px;
  --transition-fast: 0.2s ease;
  --transition-slow: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  line-height: 1.7;
}

time {
  color: var(--color-text-light);
  font-size: 14px;
}

/* ============================================================
   layout 布局骨架
   ============================================================ */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 14px;
  color: var(--color-text-light);
  display: none;
}

.site-main {
  flex: 1;
  width: 100%;
}

.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 20px 60px;
  width: 100%;
}

.home-main {
  width: 100%;
}

.site-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--color-text);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 16px 20px;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: var(--color-text-light);
  max-width: var(--container-width);
  margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-blue);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb-sep {
  color: #bbb;
  font-size: 12px;
}

.breadcrumb-current {
  color: var(--color-text-light);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.7;
}

/* ============================================================
   components 通用组件
   ============================================================ */
.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.section-heading p,
.section-desc,
.section-intro {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
}

/* ============================================================
   pages 首页
   ============================================================ */
/* 首屏横向滚动 */
.hero-scroll {
  background-color: var(--color-white);
  padding: 40px 20px 32px;
  border-bottom: 1px solid var(--color-border);
}

.hero-scroll .section-heading {
  max-width: var(--container-width);
  margin: 0 auto 24px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.hero-subtitle {
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
}

.hero-scroll-list {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cover-card {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.cover-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.cover-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.cover-card figcaption {
  padding: 12px;
}

.cover-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-status {
  display: inline-block;
  font-size: 12px;
  color: var(--color-accent);
  background-color: rgba(255, 107, 53, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

/* 题材分类导航带 */
.categories-nav {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 20px;
}

.category-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.category-tag {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.category-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: rgba(255, 107, 53, 0.05);
}

.categories-more {
  margin-top: 8px;
}

.categories-more a {
  font-size: 14px;
  color: var(--color-blue);
}

.categories-more a:hover {
  color: var(--color-accent);
}

/* 最近更新 */
.latest-updates {
  background-color: var(--color-white);
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.latest-updates .section-heading,
.update-list {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.update-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background-color: var(--color-bg);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition-fast);
}

.update-item:hover {
  box-shadow: var(--shadow-hover);
}

.update-item img {
  width: 80px;
  height: 106px;
  object-fit: cover;
  border-radius: var(--radius-small);
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.update-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-time {
  font-size: 13px;
}

/* 人气榜单预览 */
.ranking-preview {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 20px;
}

.ranking-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: box-shadow var(--transition-fast);
}

.ranking-item:hover {
  box-shadow: var(--shadow-hover);
}

.ranking-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  min-width: 32px;
  text-align: center;
}

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.ranking-reason {
  font-size: 14px;
  color: var(--color-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-note {
  font-size: 13px;
  color: var(--color-text-light);
}

/* 指南入口 */
.guide-entry {
  background-color: var(--color-white);
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
}

.guide-entry .section-heading,
.guide-cards {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.guide-card {
  padding: 24px;
  background-color: var(--color-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-fast);
}

.guide-card:hover {
  box-shadow: var(--shadow-hover);
}

.guide-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.guide-card-desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.guide-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-blue);
}

.guide-link:hover {
  color: var(--color-accent);
}

.guide-more {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.guide-more a {
  font-size: 14px;
  color: var(--color-blue);
}

.guide-more a:hover {
  color: var(--color-accent);
}

/* ============================================================
   pages 分类页
   ============================================================ */
.category-grid {
  margin-bottom: 48px;
}

.category-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.category-card {
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.category-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.category-card a {
  display: block;
  padding: 0;
  color: var(--color-text);
}

.category-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.category-name {
  font-size: 18px;
  font-weight: 600;
  padding: 16px 16px 4px;
}

.category-desc {
  font-size: 14px;
  color: var(--color-text-light);
  padding: 0 16px 16px;
  line-height: 1.6;
}

.category-intro {
  margin-bottom: 48px;
}

.intro-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.intro-item {
  padding: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.intro-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.intro-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.intro-text a {
  color: var(--color-blue);
  font-size: 14px;
}

.intro-text a:hover {
  color: var(--color-accent);
}

.category-tip {
  padding: 24px;
  background-color: rgba(45, 156, 219, 0.06);
  border: 1px solid rgba(45, 156, 219, 0.2);
  border-radius: var(--radius-card);
}

.tip-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
}

.tip-text a {
  color: var(--color-blue);
  font-weight: 500;
}

.tip-text a:hover {
  color: var(--color-accent);
}

/* ============================================================
   pages 阅读指南页
   ============================================================ */
.guide-steps {
  margin-bottom: 48px;
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.step-media {
  flex-shrink: 0;
  width: 200px;
}

.step-media img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.step-content {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-accent);
}

.step-content p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.guide-tips {
  margin-bottom: 48px;
}

.tips-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.tip-item {
  padding: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.tip-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-blue);
}

.tip-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.related-links {
  padding: 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.related-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.related-list li {
  margin-bottom: 10px;
  padding-left: 16px;
  position: relative;
}

.related-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.related-list a {
  font-size: 15px;
  color: var(--color-blue);
}

.related-list a:hover {
  color: var(--color-accent);
}

/* ============================================================
   pages 热血漫画推荐页
   ============================================================ */
.recommend-section {
  margin-bottom: 48px;
}

.recommend-section .section-title {
  margin-bottom: 8px;
}

.recommend-section .section-desc {
  margin-bottom: 24px;
}

.recommend-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  transition: box-shadow var(--transition-fast);
}

.recommend-card:hover {
  box-shadow: var(--shadow-hover);
}

.recommend-figure {
  flex-shrink: 0;
  width: 140px;
}

.recommend-figure img {
  width: 140px;
  height: 186px;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.recommend-body {
  flex: 1;
  min-width: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.card-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.order-section {
  margin-bottom: 48px;
}

.order-section .section-title {
  margin-bottom: 8px;
}

.order-section .section-desc {
  margin-bottom: 24px;
}

.order-list {
  counter-reset: order-counter;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.order-item {
  position: relative;
  padding: 20px 20px 20px 64px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  counter-increment: order-counter;
}

.order-item::before {
  content: counter(order-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
}

.order-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.order-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.order-note {
  font-size: 14px;
  color: var(--color-text-light);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.order-note a {
  color: var(--color-blue);
  font-weight: 500;
}

.order-note a:hover {
  color: var(--color-accent);
}

/* ============================================================
   pages 恋爱漫画推荐页
   ============================================================ */
.recommend-list {
  margin-bottom: 48px;
}

.recommend-list .section-title {
  margin-bottom: 24px;
}

.recommend-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  margin-bottom: 16px;
  transition: box-shadow var(--transition-fast);
}

.recommend-item:hover {
  box-shadow: var(--shadow-hover);
}

.recommend-cover {
  flex-shrink: 0;
  width: 120px;
}

.recommend-cover img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.recommend-info {
  flex: 1;
  min-width: 0;
}

.recommend-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.recommend-tags {
  font-size: 13px;
  color: var(--color-accent);
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recommend-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.analysis {
  padding: 24px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.analysis .section-title {
  margin-bottom: 16px;
}

.analysis p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.analysis p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   pages 404 页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.error-panel {
  text-align: center;
  max-width: 480px;
  padding: 48px 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.error-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.error-text {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.error-action {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  border-radius: 24px;
  transition: background-color var(--transition-fast);
}

.error-action:hover {
  background-color: #e55a2b;
  color: var(--color-white);
}

/* ============================================================
   responsive 响应式
   ============================================================ */
@media (min-width: 769px) {
  .brand-slogan {
    display: inline;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-list li a {
    display: block;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 20px;
    transition: all var(--transition-fast);
  }

  .nav-list li a:hover {
    color: var(--color-accent);
    background-color: rgba(255, 107, 53, 0.06);
  }

  .nav-list li a.is-current {
    color: var(--color-accent);
    background-color: rgba(255, 107, 53, 0.1);
    font-weight: 600;
  }
}

@media (max-width: 1024px) {
  .hero-scroll-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-list {
    grid-template-columns: 1fr;
  }

  .tips-list {
    grid-template-columns: 1fr;
  }

  .guide-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 110;
  }

  .nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
    margin: 0 auto;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list {
    display: none;
    padding: 12px 16px 16px;
  }

  .nav-list.is-open {
    display: block;
  }

  .nav-list li a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: var(--radius-small);
    transition: background-color var(--transition-fast);
  }

  .nav-list li a:hover {
    background-color: var(--color-bg);
    color: var(--color-accent);
  }

  .nav-list li a.is-current {
    color: var(--color-accent);
    background-color: rgba(255, 107, 53, 0.08);
    font-weight: 600;
  }

  .inner-main {
    padding: 20px 16px 48px;
  }

  .page-title {
    font-size: 26px;
  }

  .hero-scroll {
    padding: 32px 16px 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-scroll-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .categories-nav,
  .ranking-preview {
    padding: 32px 16px;
  }

  .latest-updates {
    padding: 32px 16px;
  }

  .update-item {
    padding: 12px;
    gap: 12px;
  }

  .update-item img {
    width: 64px;
    height: 85px;
  }

  .guide-entry {
    padding: 32px 16px;
  }

  .guide-card {
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 16px 24px;
  }

  .step-item {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .step-media,
  .step-media img {
    width: 100%;
    height: 160px;
  }

  .recommend-card {
    flex-direction: column;
    padding: 16px;
  }

  .recommend-figure,
  .recommend-figure img {
    width: 100%;
    height: 200px;
  }

  .recommend-item {
    flex-direction: column;
    padding: 16px;
  }

  .recommend-cover,
  .recommend-cover img {
    width: 100%;
    height: 200px;
  }

  .order-item {
    padding: 16px 16px 16px 56px;
  }

  .order-item::before {
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .category-grid-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-card img {
    aspect-ratio: 16 / 9;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-title {
    font-size: 48px;
  }

  .guide-more {
    flex-direction: column;
    gap: 12px;
  }

  .order-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-scroll-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cover-title {
    font-size: 13px;
  }

  .cover-status {
    font-size: 11px;
    padding: 2px 6px;
  }

  .update-desc {
    -webkit-line-clamp: 1;
  }

  .section-heading h2,
  .section-title {
    font-size: 20px;
  }

  .page-description {
    font-size: 15px;
  }

  .category-tag {
    padding: 6px 14px;
    font-size: 14px;
  }
}

/* 打印样式 */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .guide-more,
  .related-links,
  .order-note {
    display: none;
  }

  body {
    background-color: var(--color-white);
  }

  .inner-main {
    max-width: 100%;
    padding: 0;
  }

  .recommend-card,
  .recommend-item,
  .step-item,
  .order-item,
  .tip-item,
  .intro-item,
  .category-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
