/* ============================================================
   极速漫画 · 整站样式表
   版本：1.0
   说明：覆盖全站 7 个页面（首页 / 作品档案 / 年份归档 /
         创作手记 / 阅读指南 / 合作方式 / 404）的全部语义 class
   ============================================================ */

/* ------------------------------------------------------------
   Base —— 设计变量、Reset、全局字体与色彩
   ------------------------------------------------------------ */
:root {
  /* 色彩变量 */
  --paper: #f7f3ea;          /* 纸白暖底 */
  --ink: #2b2a26;            /* 墨黑正文 */
  --cinnabar: #b3372e;       /* 朱砂红重点标签与入口 */
  --sage: #3e6b5b;           /* 青绿辅助信息与年代索引 */
  --line: #e0d9cb;           /* 分隔线 */
  --card: #ffffff;           /* 卡片底 */
  --ink-soft: #5a574f;       /* 次级正文 */
  --ink-faint: #8a867e;      /* 弱化文字 */
  --cinnabar-soft: #f3e2df;  /* 朱砂红浅底 */
  --sage-soft: #e4ece8;      /* 青绿浅底 */

  /* 字体栈 */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Noto Sans CJK SC", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Consolas, monospace;

  /* 尺寸与间距 */
  --container: 1200px;
  --main-col: 820px;
  --aside-col: 320px;
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 72px;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
}

/* 焦点可访问性 */
:focus-visible {
  outline: 2px solid var(--cinnabar);
  outline-offset: 2px;
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------
   Layout —— 全站统一容器、页头、页脚、面包屑、页面标题区
   ------------------------------------------------------------ */

/* 站点根布局 */
.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
}

/* 页头 */
.site-header {
  background-color: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* 品牌 */
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand-name::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--cinnabar);
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: 2px;
}

.brand-slogan {
  font-size: 13px;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* 主导航 */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle-icon {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  position: relative;
  transition: background-color 0.2s;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--ink);
  transition: transform 0.2s;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--cinnabar);
  background-color: var(--cinnabar-soft);
}

.nav-link.is-current {
  color: var(--cinnabar);
  font-weight: 600;
  background-color: var(--cinnabar-soft);
}

/* 主内容区 */
.site-main {
  flex: 1;
  width: 100%;
}

/* 内页主容器 */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 64px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--sage);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--cinnabar);
}

.breadcrumb-sep {
  color: var(--line);
}

.breadcrumb-current {
  color: var(--ink-soft);
}

/* 页面标题区 */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.7;
}

/* 通用 section 标题 */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-desc,
.section-intro {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 680px;
  line-height: 1.7;
}

/* 页脚 */
.site-footer {
  background-color: var(--ink);
  color: var(--paper);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px 24px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-group {
  min-width: 0;
}

.footer-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(247, 243, 234, 0.75);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-brand {
  padding-top: 32px;
  border-top: 1px solid rgba(247, 243, 234, 0.15);
  margin-bottom: 24px;
}

.footer-slogan {
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: rgba(247, 243, 234, 0.6);
  line-height: 1.7;
  max-width: 720px;
}

.footer-copyright {
  padding-top: 16px;
  border-top: 1px solid rgba(247, 243, 234, 0.12);
  font-size: 13px;
  color: rgba(247, 243, 234, 0.5);
}

.footer-copyright a {
  color: rgba(247, 243, 234, 0.7);
  transition: color 0.2s;
}

.footer-copyright a:hover {
  color: var(--paper);
}

/* ------------------------------------------------------------
   Components —— 全站共用组件
   ------------------------------------------------------------ */

/* 封面卡 */
.cover-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cover-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 42, 38, 0.08);
}

.cover-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--line);
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--cinnabar);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.cover-info {
  padding: 14px 16px 16px;
}

.tag-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
  background-color: var(--sage-soft);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.cover-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.cover-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 文本链接 */
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cinnabar);
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--ink);
}

.text-link::after {
  content: "→";
  margin-left: 4px;
  transition: margin-left 0.2s;
}

.text-link:hover::after {
  margin-left: 8px;
}

/* 标签项 */
.tag-item {
  display: inline-block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all 0.2s;
  white-space: nowrap;
}

.tag-item:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
  background-color: var(--cinnabar-soft);
}

/* 通用 section 头部 */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-header .section-title {
  margin-bottom: 0;
}

.section-more-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  transition: color 0.2s;
  white-space: nowrap;
}

.section-more-link:hover {
  color: var(--cinnabar);
}

.section-more-link::after {
  content: "→";
  margin-left: 4px;
}

/* ------------------------------------------------------------
   Pages —— 首页
   ------------------------------------------------------------ */

.home-main {
  width: 100%;
}

/* 首屏聚合区 */
.hero-aggregate {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 48px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 640px;
}

.tag-wall {
  margin-bottom: 28px;
}

.tag-wall-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: var(--cinnabar);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.hero-entry-link:hover {
  background-color: #9a2e26;
}

.hero-entry-link::after {
  content: "→";
}

/* 编辑推荐卡 */
.editor-pick-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(43, 42, 38, 0.05);
}

.editor-pick-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.editor-pick-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.editor-pick-content {
  padding: 20px;
}

.editor-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinnabar);
  background-color: var(--cinnabar-soft);
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.editor-pick-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.editor-pick-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.editor-pick-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cinnabar);
  transition: color 0.2s;
}

.editor-pick-link:hover {
  color: var(--ink);
}

.editor-pick-link::after {
  content: "→";
  margin-left: 4px;
}

/* 最近更新 */
.recent-updates {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 首页主体两栏 */
.home-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.layout-aside {
  min-width: 0;
}

/* 编辑精选 */
.editorial-picks {
  margin-bottom: 40px;
}

.editorial-picks .section-title {
  margin-bottom: 20px;
}

.pick-article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pick-article:last-child {
  border-bottom: none;
}

.pick-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pick-title a {
  color: var(--ink);
  transition: color 0.2s;
}

.pick-title a:hover {
  color: var(--cinnabar);
}

.pick-excerpt {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}

/* 话题短评 */
.topic-comments {
  margin-bottom: 40px;
}

.topic-comments .section-title {
  margin-bottom: 20px;
}

.comment-list {
  display: grid;
  gap: 16px;
}

.comment-item {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.comment-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.comment-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 8px;
}

.comment-topic {
  display: inline-block;
  font-size: 12px;
  color: var(--sage);
  font-weight: 600;
}

/* 侧栏 */
.layout-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 人气榜 */
.popular-rank {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.popular-rank .section-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.rank-list {
  display: grid;
  gap: 4px;
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--cinnabar);
  line-height: 1.4;
  min-width: 24px;
  text-align: right;
}

.rank-info {
  min-width: 0;
}

.rank-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.4;
}

.rank-tag {
  font-size: 12px;
  color: var(--sage);
  font-weight: 600;
}

.rank-reason {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 2px;
}

/* 阅读指南卡 */
.guide-card {
  background-color: var(--sage-soft);
  border-radius: var(--radius);
  padding: 20px;
}

.guide-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.guide-card-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* 反馈入口卡 */
.feedback-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feedback-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.feedback-card-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* 年份精选 */
.year-picks {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 64px;
}

.year-picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.year-block {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.year-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--sage);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sage-soft);
}

.year-work {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.year-work:last-child {
  border-bottom: none;
}

.year-work img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.year-work-info {
  min-width: 0;
  flex: 1;
}

.year-work-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}

.year-work-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------------------------
   Pages —— 作品档案（works）
   ------------------------------------------------------------ */

/* 题材过滤 */
.filter-tags {
  margin-bottom: 32px;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.filter-tags .tag-list {
  gap: 8px;
}

.tag-chip {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--ink-soft);
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all 0.2s;
  cursor: pointer;
}

.tag-chip:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
  background-color: var(--cinnabar-soft);
}

.tag-chip.is-active {
  color: #fff;
  background-color: var(--cinnabar);
  border-color: var(--cinnabar);
  font-weight: 600;
}

/* 作品网格 */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.work-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43, 42, 38, 0.08);
}

.work-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-info {
  padding: 16px;
}

.work-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
  background-color: var(--sage-soft);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.work-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.work-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 档案收录说明 */
.archive-note {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 8px;
}

.archive-note-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.archive-note p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 8px;
}

.archive-note p:last-child {
  margin-bottom: 0;
}

.archive-note a {
  color: var(--sage);
  font-weight: 600;
  transition: color 0.2s;
}

.archive-note a:hover {
  color: var(--cinnabar);
}

/* ------------------------------------------------------------
   Pages —— 年份归档（archive）
   ------------------------------------------------------------ */

/* 年代锚点索引 */
.year-index {
  margin-bottom: 40px;
}

.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.index-tag {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sage);
  background-color: var(--sage-soft);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.index-tag:hover {
  background-color: var(--sage);
  color: #fff;
}

/* 年代区块 */
.year-section {
  margin-bottom: 48px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.year-section .section-title {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sage-soft);
  margin-bottom: 24px;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.year-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.year-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43, 42, 38, 0.08);
}

.year-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.card-info {
  padding: 16px;
}

.genre-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--cinnabar);
  background-color: var(--cinnabar-soft);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
}

.card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 归档说明 */
.archive-note .section-title {
  font-size: 20px;
}

.archive-note p {
  margin-bottom: 10px;
}

.archive-note a {
  color: var(--sage);
  font-weight: 600;
}

.archive-note a:hover {
  color: var(--cinnabar);
}

/* 相关链接 */
.related-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.related-links-item {
  font-size: 14px;
  color: var(--sage);
  font-weight: 600;
  transition: color 0.2s;
}

.related-links-item:hover {
  color: var(--cinnabar);
}

.related-links-item::after {
  content: "→";
  margin-left: 4px;
}

/* ------------------------------------------------------------
   Pages —— 创作手记（notes）
   ------------------------------------------------------------ */

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.page-layout .main-content {
  min-width: 0;
}

.page-layout .aside-rail {
  min-width: 0;
}

/* 文章区块 */
.notes-section {
  margin-bottom: 48px;
}

.notes-section .section-title {
  margin-bottom: 8px;
}

.notes-section .section-desc {
  margin-bottom: 24px;
}

.notes-article {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.notes-article:last-child {
  margin-bottom: 0;
}

.article-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-body {
  padding: 20px;
}

.article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
  background-color: var(--sage-soft);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.article-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-excerpt {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}

.article-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cinnabar);
  transition: color 0.2s;
}

.article-link:hover {
  color: var(--ink);
}

.article-link::after {
  content: "→";
  margin-left: 4px;
}

/* 侧栏 */
.aside-rail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.aside-block {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.aside-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sage-soft);
}

/* 题材标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* 相关作品 */
.related-works-list {
  display: grid;
  gap: 12px;
}

.related-work-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.related-work-card:hover {
  background-color: var(--sage-soft);
}

.related-work-card img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.related-work-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* 短评列表（notes 页可能的结构） */
.short-comment-list {
  display: grid;
  gap: 12px;
}

.short-comment {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.short-comment:last-child {
  border-bottom: none;
}

.short-comment .comment-title {
  font-size: 15px;
}

.short-comment .comment-text {
  font-size: 14px;
  margin-bottom: 4px;
}

.short-comment .comment-link {
  font-size: 13px;
  color: var(--cinnabar);
  font-weight: 600;
}

.comment-link:hover {
  color: var(--ink);
}

/* ------------------------------------------------------------
   Pages —— 阅读指南（guide）
   ------------------------------------------------------------ */

/* 栏目地图 */
.site-map-section {
  margin-bottom: 48px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.map-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.map-card:hover {
  box-shadow: 0 8px 24px rgba(43, 42, 38, 0.08);
  transform: translateY(-2px);
}

.map-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.map-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

.map-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--cinnabar);
  transition: color 0.2s;
}

.map-link:hover {
  color: var(--ink);
}

.map-link::after {
  content: "→";
  margin-left: 4px;
}

/* 三步阅读路径 */
.reading-steps-section {
  margin-bottom: 48px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background-color: var(--cinnabar);
  border-radius: 50%;
  margin-bottom: 14px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.step-desc a {
  color: var(--sage);
  font-weight: 600;
  transition: color 0.2s;
}

.step-desc a:hover {
  color: var(--cinnabar);
}

.step-figure {
  margin-top: 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.step-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* FAQ */
.faq-section {
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background-color: var(--sage-soft);
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--sage);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question {
  background-color: var(--sage-soft);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   Pages —— 合作方式（cooperation）
   ------------------------------------------------------------ */

.page-container {
  display: grid;
  gap: 48px;
}

/* 区块标题组 */
.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.section-heading .section-desc {
  margin-bottom: 0;
}

/* 版权边界 */
.note-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.note-item {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cinnabar);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.note-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.note-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 收录建议 */
.submission-steps {
  margin-bottom: 8px;
}

.submission-steps .steps-row {
  grid-template-columns: repeat(3, 1fr);
}

.submission-steps .step-card {
  text-align: left;
}

.submission-steps .step-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.submission-steps .step-text a {
  color: var(--sage);
  font-weight: 600;
  transition: color 0.2s;
}

.submission-steps .step-text a:hover {
  color: var(--cinnabar);
}

/* 反馈流程 */
.process-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

.process-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.process-media figcaption {
  font-size: 13px;
  color: var(--ink-faint);
  padding: 8px 4px 0;
  line-height: 1.5;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background-color: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.process-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* 相关页面入口 */
.related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.related-card {
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.25s ease;
}

.related-card:hover {
  box-shadow: 0 8px 24px rgba(43, 42, 38, 0.08);
}

.related-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.related-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.related-text a {
  color: var(--cinnabar);
  font-weight: 600;
  transition: color 0.2s;
}

.related-text a:hover {
  color: var(--ink);
}

.related-text a::after {
  content: "→";
  margin-left: 4px;
}

/* ------------------------------------------------------------
   Pages —— 404
   ------------------------------------------------------------ */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  min-height: 60vh;
}

.error-panel {
  max-width: 600px;
  text-align: center;
  padding: 48px;
  background-color: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.error-code {
  font-family: var(--font-mono);
  font-size: 72px;
  font-weight: 800;
  color: var(--cinnabar);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.error-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background-color: var(--cinnabar);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
}

.error-btn:hover {
  background-color: #9a2e26;
}

.error-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sage);
  padding: 10px 16px;
  transition: color 0.2s;
}

.error-link:hover {
  color: var(--cinnabar);
}

/* ------------------------------------------------------------
   Responsive —— 响应式断点（1024 / 768 / 480）
   ------------------------------------------------------------ */

/* 平板与窄桌面 */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }

  .inner-main {
    padding: 28px 20px 56px;
  }

  .hero-aggregate {
    grid-template-columns: 1fr 300px;
    gap: 32px;
    padding: 48px 20px 40px;
  }

  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .home-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
    padding: 0 20px 48px;
  }

  .year-picks {
    padding: 0 20px 56px;
  }

  .year-picks-grid {
    gap: 16px;
  }

  .recent-updates {
    padding: 0 20px 48px;
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 32px;
  }

  .process-layout {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }

  .footer-inner {
    padding: 40px 20px 24px;
  }
}

/* 手机端 */
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .header-inner {
    padding: 0 16px;
    height: var(--header-h);
  }

  .brand-slogan {
    display: none;
  }

  .brand-name {
    font-size: 20px;
  }

  /* 汉堡菜单 */
  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background-color: var(--card);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
    display: none;
    box-shadow: 0 8px 24px rgba(43, 42, 38, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 12px 12px;
    font-size: 15px;
    border-radius: 0;
  }

  .site-nav {
    position: relative;
  }

  /* 内页 */
  .inner-main {
    padding: 24px 16px 48px;
  }

  .breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .page-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-description {
    font-size: 15px;
  }

  .section-title {
    font-size: 20px;
  }

  /* 首页 */
  .hero-aggregate {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px 36px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 15px;
  }

  .editor-pick-card {
    max-width: 100%;
  }

  .recent-updates {
    padding: 0 16px 40px;
  }

  .updates-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 16px 48px;
  }

  .layout-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .year-picks {
    padding: 0 16px 48px;
  }

  .year-picks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-header {
    flex-direction: row;
    align-items: center;
  }

  /* 作品档案 */
  .filter-tags .tag-list {
    gap: 6px;
  }

  .tag-chip {
    padding: 8px 14px;
    font-size: 13px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .archive-note {
    padding: 20px;
  }

  /* 年份归档 */
  .index-tags {
    gap: 8px;
  }

  .index-tag {
    padding: 8px 16px;
    font-size: 14px;
  }

  .year-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .year-section {
    margin-bottom: 40px;
  }

  /* 创作手记 */
  .page-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .notes-article {
    margin-bottom: 16px;
  }

  .article-body {
    padding: 16px;
  }

  .article-title {
    font-size: 18px;
  }

  .aside-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }

  .aside-block {
    padding: 16px;
  }

  .tag-cloud-block {
    grid-column: 1 / -1;
  }

  /* 阅读指南 */
  .map-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 20px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  /* 合作方式 */
  .page-container {
    gap: 40px;
  }

  .note-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .submission-steps .steps-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-media {
    aspect-ratio: 16 / 10;
  }

  .related-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 404 */
  .error-main {
    padding: 48px 16px;
  }

  .error-panel {
    padding: 32px 24px;
  }

  .error-code {
    font-size: 56px;
  }

  /* 页脚 */
  .footer-inner {
    padding: 32px 16px 20px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  .footer-brand {
    padding-top: 24px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-entry-link {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .aside-rail {
    grid-template-columns: 1fr;
  }

  .tag-cloud-block {
    grid-column: auto;
  }

  .editor-pick-content {
    padding: 16px;
  }

  .cover-info {
    padding: 12px 14px 14px;
  }

  .rank-item {
    gap: 10px;
  }

  .rank-num {
    min-width: 20px;
  }

  .year-work img {
    width: 48px;
    height: 64px;
  }

  .process-item {
    flex-direction: column;
    gap: 8px;
  }

  .process-step {
    margin-top: 0;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .error-btn,
  .error-link {
    width: 100%;
    text-align: center;
  }
}
