/* ============================================================
   age动漫官网 · 全站样式表
   说明：本文件为整站唯一样式表，覆盖全部页面
   ============================================================ */

/* ============================================================
   Base · 基础变量与全局重置
   ============================================================ */
:root {
  --color-bg: #f5f5f5;
  --color-text: #3a3a3a;
  --color-text-light: #6b6b6b;
  --color-accent: #c0a080;
  --color-teal: #70a0a0;
  --color-rose: #d0a0b0;
  --color-white: #ffffff;
  --color-border: #e5e0d8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition-base: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  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;
  border: 0;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #4a7a7a;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--color-text);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   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 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  flex-shrink: 0;
}

.brand a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.5px;
}

.brand-slogan {
  font-size: 12px;
  color: var(--color-text-light);
  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 14px;
  font-size: 15px;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.nav-list li a:hover {
  background-color: rgba(112, 160, 160, 0.1);
  color: var(--color-teal);
}

.nav-list li a.is-current {
  background-color: rgba(112, 160, 160, 0.15);
  color: var(--color-teal);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  position: absolute;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before {
  transform: translateY(-6px);
}

.nav-toggle-icon::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: rotate(-45deg);
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.inner-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 24px 24px 56px;
  width: 100%;
}

/* 面包屑 */
.breadcrumb {
  font-size: 14px;
  margin-bottom: 24px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-teal);
}

.breadcrumb-sep {
  color: #b8b8b8;
  margin: 0 2px;
}

.breadcrumb-current {
  color: var(--color-text);
  font-weight: 500;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-description {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 720px;
  line-height: 1.7;
}

/* 通用区块标题 */
.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  padding-left: 14px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background-color: var(--color-teal);
}

.section-intro,
.section-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  max-width: 680px;
  line-height: 1.7;
}

/* ============================================================
   Components · 通用组件
   ============================================================ */

/* 按钮 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: background-color var(--transition-base),
    box-shadow var(--transition-base), transform var(--transition-base);
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #5a8a8a;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  box-shadow: var(--shadow-sm);
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
  padding: 4px 0;
}

.text-link:hover {
  color: #4a7a7a;
}

.text-link::after {
  content: "→";
  margin-left: 4px;
  transition: transform var(--transition-base);
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* 图片容器 */
figure,
.img-wrap {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: #ececec;
}

figure img,
.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Pages · 首页
   ============================================================ */
.home-main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* Hero 仪表盘区 */
.hero-dashboard {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.hero-main {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-figure {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e8e4de;
}

.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 32px 28px;
  background: linear-gradient(
    to top,
    rgba(58, 58, 58, 0.92) 0%,
    rgba(58, 58, 58, 0.6) 55%,
    transparent 100%
  );
  color: var(--color-white);
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.hero-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-figure .btn-primary {
  background-color: var(--color-white);
  color: var(--color-text);
}

.hero-figure .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--color-accent);
}

.hero-card:nth-child(2) {
  border-left-color: var(--color-rose);
}

.hero-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-card-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}

.hero-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
}

.hero-card a:hover {
  color: #4a7a7a;
}

.hero-card a::after {
  content: "→";
  margin-left: 4px;
}

/* 题材分类带 */
.genre-section {
  margin-bottom: 56px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.genre-tags li a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background-color: rgba(112, 160, 160, 0.1);
  color: var(--color-teal);
  border: 1px solid rgba(112, 160, 160, 0.25);
  transition: background-color var(--transition-base),
    transform var(--transition-base), box-shadow var(--transition-base);
}

.genre-tags li a:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* 最近更新区 */
.updates-section {
  margin-bottom: 56px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.update-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.update-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  padding: 16px 20px 4px;
}

.card-meta {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  padding: 0 20px 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  padding: 0 20px 20px;
}

/* 人气榜单 */
.ranking-section {
  margin-bottom: 56px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base);
}

.ranking-item:hover {
  background-color: rgba(112, 160, 160, 0.08);
}

.ranking-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-accent);
  min-width: 36px;
  text-align: center;
  font-style: italic;
}

.ranking-item:nth-child(1) .ranking-number {
  color: #d4a017;
}

.ranking-item:nth-child(2) .ranking-number {
  color: #8a8a8a;
}

.ranking-item:nth-child(3) .ranking-number {
  color: #b87333;
}

.ranking-info {
  flex: 1;
}

.ranking-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.ranking-reason {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* 阅读指南入口 */
.guide-entry {
  margin-bottom: 56px;
}

.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.guide-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
  border-top: 4px solid var(--color-teal);
}

.guide-card:nth-child(2) {
  border-top-color: var(--color-rose);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guide-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-card-text {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.guide-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
}

.guide-card a::after {
  content: "→";
  margin-left: 4px;
}

/* 长尾专题预告 */
.topic-preview {
  margin-bottom: 16px;
}

.topic-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

.topic-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topic-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.topic-text {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.topic-content .text-link {
  align-self: flex-start;
}

/* ============================================================
   Pages · 分类页 categories
   ============================================================ */
.page-categories .section-title {
  margin-top: 0;
}

.category-nav-section {
  margin-bottom: 40px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.category-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background-color: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.category-tag:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-tag-hot {
  background-color: rgba(208, 160, 176, 0.15);
  border-color: rgba(208, 160, 176, 0.4);
  color: #a05a70;
}

.category-tag-love {
  background-color: rgba(192, 160, 128, 0.15);
  border-color: rgba(192, 160, 128, 0.4);
  color: #8a6a40;
}

.category-tag-sci {
  background-color: rgba(112, 160, 160, 0.15);
  border-color: rgba(112, 160, 160, 0.4);
  color: #4a7a7a;
}

.category-tag-mystery {
  background-color: rgba(90, 90, 110, 0.12);
  border-color: rgba(90, 90, 110, 0.3);
  color: #4a4a5a;
}

.category-tag-daily {
  background-color: rgba(160, 170, 120, 0.15);
  border-color: rgba(160, 170, 120, 0.4);
  color: #6a7a3a;
}

.category-tag-fantasy {
  background-color: rgba(130, 120, 170, 0.12);
  border-color: rgba(130, 120, 170, 0.3);
  color: #5a4a80;
}

.category-tag-heal {
  background-color: rgba(120, 170, 150, 0.15);
  border-color: rgba(120, 170, 150, 0.4);
  color: #3a7a5a;
}

.category-tag-sport {
  background-color: rgba(170, 130, 90, 0.15);
  border-color: rgba(170, 130, 90, 0.4);
  color: #8a5a2a;
}

.category-detail-section {
  margin-bottom: 48px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.category-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.category-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-item-text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-item-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-item-text p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.category-item-media {
  position: relative;
  min-height: 220px;
}

.category-item-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 相关链接 */
.related-links-section {
  margin-bottom: 16px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.related-links a {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--color-bg);
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.related-links a:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}

/* ============================================================
   Pages · 阅读指南 guide
   ============================================================ */
.guide-section {
  margin-bottom: 48px;
}

.guide-section .section-title {
  margin-bottom: 24px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.step-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-teal);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.step-content a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-teal);
  display: inline-block;
  margin-top: 8px;
}

/* 检查清单 */
.tips-checklist {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.tips-checklist .section-title {
  margin-bottom: 20px;
}

.tips-checklist ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tips-checklist ul li {
  font-size: 15px;
  color: var(--color-text);
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.tips-checklist ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-teal);
  font-weight: 700;
}

/* ============================================================
   Pages · 连载更新 serial
   ============================================================ */
.update-list-section {
  margin-bottom: 48px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.update-date-group {
  margin-bottom: 32px;
}

.update-date-group:last-child {
  margin-bottom: 0;
}

.date-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 16px;
}

.update-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  border-bottom: 1px solid #f0ece6;
  padding-bottom: 12px;
}

.update-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.update-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
  transition: background-color var(--transition-base);
  border-radius: var(--radius-sm);
}

.update-card:hover {
  background-color: rgba(112, 160, 160, 0.05);
}

.update-cover {
  width: 72px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: #e8e4de;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-text-light);
}

.update-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  min-width: 180px;
}

.update-meta {
  font-size: 13px;
  color: var(--color-text-light);
}

.update-brief {
  font-size: 13px;
  color: var(--color-text-light);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 连载作品推荐 */
.serial-recommend-section {
  margin-bottom: 48px;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recommend-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.recommend-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.recommend-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: #e8e4de;
}

.recommend-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recommend-card:hover .recommend-media img {
  transform: scale(1.03);
}

.recommend-body {
  padding: 20px;
}

.recommend-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.recommend-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 追更提示 */
.tip-section {
  margin-bottom: 16px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.tip-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.tip-item {
  font-size: 15px;
  color: var(--color-text);
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.tip-item::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: var(--color-accent);
  font-size: 20px;
}

.tip-more {
  margin-top: 20px;
  font-size: 14px;
}

.tip-more a {
  color: var(--color-teal);
  font-weight: 600;
}

/* ============================================================
   Pages · 完结作品 completed
   ============================================================ */
.completed-list {
  margin-bottom: 48px;
}

.completed-list > .section-title {
  margin-bottom: 24px;
}

.completed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 120px 1fr;
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
}

.work-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.work-cover {
  min-height: 160px;
  background-color: #e8e4de;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.work-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.work-meta {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.work-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
}

/* 推荐理由 */
.recommend-reasons {
  margin-bottom: 48px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.recommend-reasons > .section-title {
  margin-bottom: 24px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border-top: 3px solid var(--color-accent);
}

.reason-card:nth-child(2) {
  border-top-color: var(--color-teal);
}

.reason-card:nth-child(3) {
  border-top-color: var(--color-rose);
}

.reason-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.reason-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* 相关阅读 */
.related-links[aria-label="相关阅读"] {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.related-links[aria-label="相关阅读"] p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links[aria-label="相关阅读"] a {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--color-bg);
  border-radius: 999px;
  font-size: 14px;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.related-links[aria-label="相关阅读"] a:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
  transform: translateY(-2px);
}

/* ============================================================
   Pages · 热血专题 topic
   ============================================================ */
.topic-intro {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.topic-intro .section-title {
  margin-bottom: 16px;
}

.topic-intro p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

.topic-works {
  margin-bottom: 48px;
}

.topic-works .section-title {
  margin-bottom: 24px;
}

.works-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.works-list .work-item {
  grid-template-columns: 160px 1fr;
}

.work-media {
  min-height: 200px;
  background-color: #e8e4de;
  overflow: hidden;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-related {
  margin-bottom: 48px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.related-desc {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-list li {
  border-bottom: 1px solid #f0ece6;
  padding-bottom: 12px;
}

.related-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-list a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-teal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-list a::before {
  content: "▸";
  color: var(--color-accent);
}

.related-list a:hover {
  color: #4a7a7a;
  padding-left: 4px;
  transition: padding-left var(--transition-base);
}

.topic-guide-entry {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.topic-guide-entry .section-title {
  display: inline-block;
  padding-left: 0;
  margin-bottom: 16px;
}

.topic-guide-entry .section-title::before {
  display: none;
}

.topic-guide-entry p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.topic-guide-entry a {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 28px;
  background-color: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background-color var(--transition-base),
    transform var(--transition-base);
}

.topic-guide-entry a:hover {
  background-color: #5a8a8a;
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================================
   Pages · 404 错误页
   ============================================================ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  flex: 1;
}

.error-section {
  text-align: center;
  max-width: 560px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 56px 48px;
  box-shadow: var(--shadow-sm);
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  line-height: 1.7;
}

.error-tip {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.error-actions .btn {
  min-width: 140px;
}

/* ============================================================
   Footer · 页脚
   ============================================================ */
.site-footer {
  background-color: #2e2e2e;
  color: #b8b8b8;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #e8e8e8;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #b8b8b8;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #9a9a9a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: #8a8a8a;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* ============================================================
   Responsive · 响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .hero-main {
    grid-column: 1 / -1;
  }

  .hero-side {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .completed-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-item {
    grid-template-columns: 1fr;
  }

  .category-item-media {
    min-height: 180px;
    order: -1;
  }

  .category-item-media img {
    position: static;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    padding: 0 16px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-slogan {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 4px;
    display: none;
    z-index: 99;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 16px;
  }

  .site-nav {
    position: relative;
  }

  .inner-main {
    padding: 16px 16px 48px;
  }

  .home-main {
    padding: 20px 16px 48px;
  }

  .page-title {
    font-size: 26px;
  }

  .breadcrumb {
    margin-bottom: 16px;
  }

  .hero-dashboard {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .hero-main {
    grid-column: auto;
  }

  .hero-side {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-figure figcaption {
    padding: 32px 20px 20px;
  }

  .genre-section {
    padding: 24px 20px;
    margin-bottom: 40px;
  }

  .genre-tags {
    gap: 8px;
  }

  .genre-tags li a {
    padding: 6px 14px;
    font-size: 13px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ranking-section {
    padding: 24px 20px;
    margin-bottom: 40px;
  }

  .ranking-item {
    gap: 12px;
    padding: 12px;
  }

  .ranking-number {
    font-size: 18px;
    min-width: 28px;
  }

  .guide-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .guide-card {
    padding: 24px 20px;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-card img {
    min-height: 180px;
    max-height: 220px;
  }

  .topic-content {
    padding: 24px 20px;
  }

  .update-info {
    flex-wrap: wrap;
    gap: 8px;
  }

  .update-title {
    min-width: 0;
    width: 100%;
  }

  .update-brief {
    white-space: normal;
  }

  .recommend-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .work-item {
    grid-template-columns: 100px 1fr;
  }

  .works-list .work-item {
    grid-template-columns: 100px 1fr;
  }

  .work-cover {
    min-height: 140px;
  }

  .work-media {
    min-height: 140px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 24px;
  }

  .footer-bottom {
    padding: 16px;
  }

  .category-tags {
    gap: 8px;
  }

  .category-tag {
    padding: 6px 14px;
    font-size: 13px;
  }

  .category-item-text {
    padding: 24px 20px;
  }

  .step-item {
    padding: 20px;
    gap: 14px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .update-list-section,
  .tip-section,
  .topic-intro,
  .topic-related,
  .topic-guide-entry,
  .recommend-reasons,
  .related-links[aria-label="相关阅读"],
  .tips-checklist {
    padding: 24px 20px;
  }

  .error-section {
    padding: 40px 24px;
  }

  .error-code {
    font-size: 56px;
  }
}

@media (max-width: 390px) {
  .header-inner {
    padding: 0 12px;
  }

  .home-main,
  .inner-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-name {
    font-size: 16px;
  }

  .genre-tags li a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-figure figcaption {
    padding: 24px 16px 16px;
  }

  .hero-title {
    font-size: 20px;
  }

  .hero-text {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .work-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-cover img {
    position: static;
    height: auto;
  }

  .works-list .work-item {
    grid-template-columns: 1fr;
  }

  .work-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .work-image {
    position: static;
    height: auto;
  }

  .update-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .update-cover {
    width: 100%;
    height: 120px;
  }

  .footer-inner {
    gap: 24px;
  }

  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   Accessibility · 可访问性
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
