/* ============================================================
   歪歪漫画sss - 全站样式表
   设计方向：理性咨询风 · 深灰文字 · 克制蓝绿点缀
   ============================================================ */

/* ============================================================
   1. Base / 基础
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #2c3e50;
  background-color: #f5f7fa;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #3498db;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.4;
  color: #2c3e50;
}

/* ============================================================
   2. Layout / 布局骨架
   ============================================================ */

/* 全站统一容器 */
.header-inner,
.footer-inner,
.hero,
.section,
.layout-shell,
.page-layout,
.error-panel {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 页头 */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8ecef;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding-top: 0;
  padding-bottom: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #2c3e50;
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: #7f8c8d;
  margin-top: 2px;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #2c3e50;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #3498db;
  background-color: #f0f4f7;
}

.nav-list li a.is-current {
  color: #3498db;
  background-color: #eaf2f8;
  font-weight: 600;
}

/* 汉堡按钮（默认隐藏） */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #2c3e50;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 页脚 */
.site-footer {
  background-color: #2c3e50;
  color: #bdc3c7;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-col h3 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #bdc3c7;
}

.footer-nav ul,
.footer-help ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.footer-help a {
  color: #bdc3c7;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-help a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #95a5a6;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   3. 首页组件
   ============================================================ */

/* 首屏 Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-copy h1 {
  font-size: 34px;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-copy p {
  font-size: 16px;
  color: #5d6d7e;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #3498db;
  color: #ffffff;
  border: 1px solid #3498db;
}

.btn-primary:hover {
  background-color: #2980b9;
  border-color: #2980b9;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #2c3e50;
  border: 1px solid #d5dbdf;
}

.btn-secondary:hover {
  border-color: #3498db;
  color: #3498db;
}

.hero-figure {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.1);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* 通用区块 */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
}

.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  background-color: #3498db;
  border-radius: 2px;
}

.section-head p {
  font-size: 14px;
  color: #7f8c8d;
}

/* 题材分类标签 */
.categories-section {
  background-color: #ffffff;
}

.category-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.category-tags li {
  display: flex;
}

.tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  background-color: #f0f4f7;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tag:hover {
  background-color: #3498db;
  color: #ffffff;
  transform: translateY(-2px);
}

.tag-hot {
  border-left: 3px solid #e74c3c;
}

.tag-romance {
  border-left: 3px solid #e91e63;
}

.tag-suspense {
  border-left: 3px solid #9b59b6;
}

.tag-fantasy {
  border-left: 3px solid #3498db;
}

.tag-sports {
  border-left: 3px solid #27ae60;
}

.tag-daily {
  border-left: 3px solid #f39c12;
}

/* 最近更新 */
.updates-section {
  background-color: #f5f7fa;
}

.update-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.update-group h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8ecef;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 12px;
  transition: box-shadow 0.2s ease;
}

.update-item:hover {
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.08);
}

.update-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-info {
  flex: 1;
  min-width: 0;
}

.update-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
  border: none;
  padding: 0;
}

.update-meta {
  font-size: 13px;
  color: #95a5a6;
}

.update-meta .update-tag {
  display: inline-block;
  color: #e74c3c;
  font-weight: 600;
  margin-right: 8px;
}

/* 人气榜单 */
.ranking-section {
  background-color: #ffffff;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.ranking-item {
  background-color: #f8fafb;
  border-radius: 6px;
  padding: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
  transform: translateY(-2px);
}

.ranking-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.ranking-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.ranking-info p {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 阅读指南入口 */
.guide-section {
  background-color: #f5f7fa;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.guide-card {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 28px;
  border: 1px solid #e8ecef;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.12);
}

.guide-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-card a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3498db;
  transition: color 0.2s ease;
}

.guide-card a:hover {
  color: #2980b9;
}

/* 长尾推荐预告 */
.longtail-section {
  background-color: #ffffff;
}

.topic-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.topic-card {
  display: flex;
  gap: 20px;
  background-color: #f8fafb;
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
}

.topic-card img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.topic-info {
  flex: 1;
  min-width: 0;
}

.topic-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.topic-info p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 12px;
}

.topic-info a {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #3498db;
}

.topic-info a:hover {
  color: #2980b9;
}

/* ============================================================
   4. 内页通用
   ============================================================ */

.site-inner {
  min-height: 60vh;
}

.inner-main {
  padding-top: 32px;
  padding-bottom: 56px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #95a5a6;
  margin-bottom: 24px;
  padding: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.breadcrumb a {
  color: #7f8c8d;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #3498db;
}

.breadcrumb-sep {
  color: #bdc3c7;
  font-size: 12px;
}

.breadcrumb-current {
  color: #2c3e50;
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-description {
  font-size: 15px;
  color: #5d6d7e;
  line-height: 1.7;
  max-width: 720px;
}

/* 内页布局：主内容 + 侧栏 */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 56px;
  align-items: start;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  padding-top: 32px;
  padding-bottom: 56px;
  align-items: start;
}

/* 侧栏通用 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.sidebar-block {
  background-color: #ffffff;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #e8ecef;
}

.sidebar-block h2,
.sidebar-block h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eaf2f8;
}

.sidebar-block p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 12px;
}

.sidebar-block a {
  display: inline-block;
  font-size: 14px;
  color: #3498db;
  font-weight: 500;
}

.sidebar-block a:hover {
  color: #2980b9;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  color: #2c3e50;
  font-weight: 400;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-links a:hover {
  color: #3498db;
  padding-left: 4px;
}

/* ============================================================
   5. 分类页
   ============================================================ */

.main-content {
  min-width: 0;
}

.category-section {
  margin-bottom: 40px;
}

.category-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tag-item {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tag-item:hover {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.tag-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.tag-name {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
}

.tag-desc {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
}

.category-examples {
  margin-bottom: 24px;
}

.category-examples h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.category-examples > p {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.comic-card {
  display: flex;
  gap: 16px;
  background-color: #ffffff;
  border-radius: 6px;
  padding: 16px;
  border: 1px solid #e8ecef;
  transition: box-shadow 0.2s ease;
}

.comic-card:hover {
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
}

.comic-cover {
  flex-shrink: 0;
  width: 88px;
}

.comic-cover img {
  width: 88px;
  height: 116px;
  object-fit: cover;
  border-radius: 4px;
}

.comic-info {
  flex: 1;
  min-width: 0;
}

.comic-info h3 {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.comic-info p {
  font-size: 13px;
  color: #7f8c8d;
  line-height: 1.5;
}

/* ============================================================
   6. 阅读指南页
   ============================================================ */

.guide-section .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.guide-section .section-intro {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 24px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.step-item {
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 24px 20px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #3498db;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 12px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
}

.guide-figure {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 32px;
}

.guide-figure img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #7f8c8d;
  background-color: #ffffff;
  padding: 8px 12px;
  border: 1px solid #e8ecef;
  border-top: none;
  border-radius: 0 0 6px 6px;
}

/* 追更技巧列表 */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 16px 20px;
}

.tip-item .step-number {
  margin-bottom: 0;
  flex-shrink: 0;
}

.tip-title {
  font-size: 15px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
}

.tip-desc {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
}

/* ============================================================
   7. 热血漫画推荐页
   ============================================================ */

.hot-blood-picks {
  margin-bottom: 40px;
}

.hot-blood-picks h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.pick-item {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease;
}

.pick-item:hover {
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
}

.pick-media {
  flex-shrink: 0;
  width: 120px;
}

.pick-media img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

.pick-content {
  flex: 1;
  min-width: 0;
}

.pick-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.pick-tags {
  font-size: 13px;
  color: #3498db;
  margin-bottom: 8px;
}

.pick-content p {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 8px;
}

.pick-update {
  font-size: 13px;
  color: #95a5a6;
}

/* 作品亮点 */
.pick-highlights {
  margin-bottom: 40px;
}

.pick-highlights h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.highlight-card {
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 20px;
}

.highlight-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eaf2f8;
}

.highlight-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-card li {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.highlight-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #3498db;
  border-radius: 50%;
}

.highlight-note {
  font-size: 14px;
  color: #5d6d7e;
  margin-top: 16px;
  background-color: #f0f4f7;
  border-radius: 6px;
  padding: 16px 20px;
}

.highlight-note a {
  color: #3498db;
  font-weight: 600;
}

/* 相关链接 */
.related-links {
  margin-top: 24px;
}

.related-links h2 {
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links li {
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links li:hover {
  border-color: #3498db;
}

.related-links li a {
  color: #2c3e50;
}

.related-links li a:hover {
  color: #3498db;
}

/* 侧栏分类导航 */
.sidebar-categories ul,
.sidebar-guide ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-categories li a,
.sidebar-guide li a {
  display: block;
  font-size: 14px;
  color: #2c3e50;
  padding: 4px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-categories li a:hover,
.sidebar-guide li a:hover {
  color: #3498db;
  padding-left: 4px;
}

/* ============================================================
   8. 恋爱漫画推荐页
   ============================================================ */

.romance-list-section {
  margin-bottom: 40px;
}

.romance-list-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.romance-list-section .section-desc {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
}

.romance-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.romance-item {
  display: flex;
  gap: 20px;
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 20px;
  transition: box-shadow 0.2s ease;
}

.romance-item:hover {
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
}

.romance-cover {
  flex-shrink: 0;
  width: 120px;
}

.romance-cover img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

.romance-info {
  flex: 1;
  min-width: 0;
}

.romance-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 6px;
}

.romance-tags {
  font-size: 13px;
  color: #e91e63;
  margin-bottom: 8px;
}

.romance-desc {
  font-size: 14px;
  color: #5d6d7e;
  line-height: 1.6;
  margin-bottom: 8px;
}

.romance-highlight {
  font-size: 13px;
  color: #3498db;
  background-color: #f0f4f7;
  border-radius: 4px;
  padding: 6px 12px;
  display: inline-block;
}

/* 风格分类 */
.style-classification {
  margin-bottom: 40px;
}

.style-classification h2 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
}

.style-classification .section-desc {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 20px;
}

.style-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.style-group {
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 20px;
}

.style-group h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fce4ec;
}

.style-group p {
  font-size: 13px;
  color: #7f8c8d;
  margin-bottom: 12px;
}

.style-works {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.style-works li {
  font-size: 14px;
  color: #5d6d7e;
  padding-left: 14px;
  position: relative;
}

.style-works li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #e91e63;
  border-radius: 50%;
}

/* 恋爱页相关链接 */
.related-links p {
  font-size: 14px;
  color: #5d6d7e;
  margin-bottom: 12px;
}

.related-links p a {
  color: #3498db;
  font-weight: 500;
  margin-right: 16px;
}

/* 恋爱页侧栏 */
.sidebar-card {
  background-color: #ffffff;
  border: 1px solid #e8ecef;
  border-radius: 6px;
  padding: 20px;
}

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #fce4ec;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-list li a {
  display: block;
  font-size: 14px;
  color: #2c3e50;
  padding: 4px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.sidebar-list li a:hover {
  color: #3498db;
  padding-left: 4px;
}

/* ============================================================
   9. 404 页
   ============================================================ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 24px;
}

.error-panel {
  text-align: center;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 56px 40px;
  border: 1px solid #e8ecef;
  max-width: 560px;
  width: 100%;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: #3498db;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5d6d7e;
  margin-bottom: 28px;
}

.error-btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: #3498db;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #2980b9;
  color: #ffffff;
}

/* ============================================================
   10. 响应式
   ============================================================ */

/* 平板 */
@media (max-width: 1024px) {
  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .ranking-item:nth-child(4),
  .ranking-item:nth-child(5) {
    grid-column: span 1;
  }

  .layout-shell,
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }
}

/* 手机断点 */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-slogan {
    font-size: 11px;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e8ecef;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.08);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 16px 16px;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 15px;
  }

  .nav-list li a.is-current {
    background-color: #eaf2f8;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .hero-figure img {
    height: 200px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* 区块 */
  .section {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head h2 {
    font-size: 20px;
  }

  /* 分类标签 */
  .category-tags {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tag {
    padding: 14px 16px;
    font-size: 14px;
  }

  /* 更新 */
  .update-groups {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .update-item img {
    width: 60px;
    height: 80px;
  }

  /* 榜单 */
  .ranking-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ranking-item {
    padding: 12px;
  }

  .ranking-item img {
    height: 120px;
  }

  /* 指南卡片 */
  .guide-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card {
    padding: 20px;
  }

  /* 专题 */
  .topic-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topic-card {
    flex-direction: column;
    padding: 16px;
  }

  .topic-card img {
    width: 100%;
    height: 160px;
  }

  /* 内页布局 */
  .layout-shell,
  .page-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 24px;
  }

  .inner-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .breadcrumb {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .page-header {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 24px;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 14px;
  }

  /* 侧栏在内容之后 */
  .sidebar {
    order: 2;
    width: 100%;
  }

  /* 分类页 */
  .tag-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tag-item {
    padding: 16px;
  }

  .example-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .comic-card {
    padding: 12px;
  }

  .comic-cover img {
    width: 72px;
    height: 96px;
  }

  /* 指南页 */
  .steps-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-item {
    padding: 20px 16px;
  }

  .tip-item {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .tip-item .step-number {
    margin-bottom: 4px;
  }

  .guide-figure img {
    max-height: 200px;
  }

  /* 热血推荐 */
  .pick-item {
    flex-direction: column;
    padding: 16px;
  }

  .pick-media {
    width: 100%;
  }

  .pick-media img {
    width: 100%;
    height: 180px;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .highlight-card {
    padding: 16px;
  }

  /* 恋爱推荐 */
  .romance-item {
    flex-direction: column;
    padding: 16px;
  }

  .romance-cover {
    width: 100%;
  }

  .romance-cover img {
    width: 100%;
    height: 180px;
  }

  .style-groups {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .style-group {
    padding: 16px;
  }

  /* 相关链接 */
  .related-links ul {
    flex-direction: column;
    gap: 8px;
  }

  .related-links li {
    padding: 10px 16px;
  }

  .related-links p a {
    display: block;
    margin-bottom: 8px;
    margin-right: 0;
  }

  /* 侧栏卡片 */
  .sidebar-card {
    padding: 16px;
  }

  /* 页脚 */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-bottom {
    padding: 12px 16px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  /* 404 */
  .error-main {
    padding: 32px 16px;
  }

  .error-panel {
    padding: 40px 24px;
  }

  .error-code {
    font-size: 56px;
  }

  .error-panel h1 {
    font-size: 20px;
  }
}

/* 小屏手机 */
@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 23px;
  }

  .category-tags {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tag {
    padding: 12px 10px;
    font-size: 13px;
  }

  .ranking-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .ranking-item img {
    height: 100px;
  }

  .tag-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .tag-item {
    padding: 12px;
  }

  .tag-icon {
    font-size: 20px;
  }

  .tag-name {
    font-size: 14px;
  }

  .tag-desc {
    font-size: 12px;
  }

  .comic-cover {
    width: 72px;
  }

  .comic-cover img {
    width: 72px;
    height: 96px;
  }
}
