/* ============================================================
   嘿咻漫画 · 全站样式表
   知识库风轻二次元 · 纸感浅色背景 · 橙红强调色
   ============================================================ */

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --text: #2d2a26;
  --text-soft: #6b655c;
  --accent: #e85b3f;
  --accent-dark: #c9442c;
  --accent-soft: #fce8e2;
  --secondary: #3f7f9d;
  --secondary-soft: #e4f0f4;
  --line: #e7e1d9;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(45, 42, 38, 0.08);
  --shadow-hover: 0 8px 24px rgba(45, 42, 38, 0.12);
  --container: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::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);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* ------------------------------------------------------------
   Header / 导航
   ------------------------------------------------------------ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand-name::first-letter {
  color: var(--accent);
}

.brand-link:hover .brand-name {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  font-weight: 500;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-list a.is-current {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: var(--bg);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  margin-top: 64px;
  flex-shrink: 0;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-logo::first-letter {
  color: var(--accent);
}

.footer-logo:hover {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 260px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.footer-links ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 20px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-soft);
  display: inline-block;
  padding: 3px 0;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-meta p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.footer-copyright {
  border-top: 1px solid var(--line);
  padding: 16px 20px;
  text-align: center;
}

.footer-copyright p {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ------------------------------------------------------------
   通用组件：按钮、标签、链接
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  min-height: 44px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 44px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-soft);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tag-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-dark);
}

.text-link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 6px 0;
}

.more-link:hover {
  color: var(--accent);
}

.more-link::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.section-desc {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 6px;
}

/* ------------------------------------------------------------
   首页 Hero
   ------------------------------------------------------------ */
.hero-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 20px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-copy h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 460px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ------------------------------------------------------------
   首页三栏主体
   ------------------------------------------------------------ */
.home-columns {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: 24px;
}

.col-left,
.col-mid,
.col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.tag-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tag-item:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.update-list {
  display: flex;
  flex-direction: column;
}

.update-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}

.update-item:last-child {
  border-bottom: none;
}

.update-date {
  grid-row: 1 / 3;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  text-align: center;
  align-self: start;
  line-height: 1.4;
}

.update-topic {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.update-text {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.rank-list {
  display: flex;
  flex-direction: column;
  counter-reset: rank;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--text);
}

.rank-item:last-child {
  border-bottom: none;
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.rank-item:nth-child(1) .rank-num,
.rank-item:nth-child(2) .rank-num,
.rank-item:nth-child(3) .rank-num {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ------------------------------------------------------------
   首页专题中心
   ------------------------------------------------------------ */
.feature-module {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.feature-heading {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.feature-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.feature-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.feature-content p {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
}

.feature-content .text-link {
  align-self: flex-start;
}

/* ------------------------------------------------------------
   首页阅读指南模块
   ------------------------------------------------------------ */
.guide-module {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 48px;
}

.guide-heading {
  margin-bottom: 24px;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.step-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.guide-module > .btn-primary {
  align-self: flex-start;
}

/* ------------------------------------------------------------
   首页相关链接
   ------------------------------------------------------------ */
.related-links {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}

.related-links-item {
  font-size: 0.85rem;
  color: var(--secondary);
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ------------------------------------------------------------
   内页公共骨架
   ------------------------------------------------------------ */
.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 4px;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--text-soft);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--line);
  font-size: 0.9rem;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

.page-header {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.page-description {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: 10px;
  max-width: 680px;
}

/* ------------------------------------------------------------
   内页布局壳
   ------------------------------------------------------------ */
.layout-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: block;
}

.sidebar-left {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar-left > .page-aside {
  grid-column: 1;
  grid-row: 1;
}

.sidebar-left > .inner-main {
  grid-column: 2;
  grid-row: 1;
  padding: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

.page-layout > .inner-main {
  grid-column: 1;
  padding: 0;
}

.page-layout > .sidebar-right {
  grid-column: 2;
}

/* ------------------------------------------------------------
   侧栏通用
   ------------------------------------------------------------ */
.page-aside {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aside-card,
.aside-inner,
.side-card,
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.aside-title,
.side-title,
.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.aside-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 12px;
}

.aside-text {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  display: inline-flex;
}

.tag-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tag-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.side-links,
.sidebar-link-list,
.more-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-links a,
.sidebar-link-list a,
.more-links a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.side-links a:hover,
.sidebar-link-list a:hover,
.more-links a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

.aside-link {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.aside-link:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

/* ------------------------------------------------------------
   作品目录页
   ------------------------------------------------------------ */
.catalog-aside {
  position: sticky;
  top: 84px;
}

.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.catalog-section {
  scroll-margin-top: 80px;
}

.section-head {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.genre-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.genre-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.card-figure {
  width: 100%;
  overflow: hidden;
}

.card-figure img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.card-text {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
}

.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
}

.card-link:hover {
  color: var(--accent-dark);
}

.card-link::after {
  content: " →";
}

/* ------------------------------------------------------------
   更新追踪页
   ------------------------------------------------------------ */
.updates-section {
  margin-bottom: 40px;
}

.section-heading {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.timeline-list {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-left: 48px;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border: 3px solid var(--surface);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.update-entry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  gap: 16px;
  transition: box-shadow 0.2s ease;
}

.update-entry:hover {
  box-shadow: var(--shadow-sm);
}

.update-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.update-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.update-body .update-date {
  align-self: flex-start;
  font-size: 0.75rem;
  color: var(--text-soft);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 999px;
}

.update-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.update-text {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag-item {
  display: inline-flex;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ------------------------------------------------------------
   专题中心页
   ------------------------------------------------------------ */
.toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-list a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.toc-list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-left-color: var(--accent);
}

.feature-intro {
  margin-bottom: 40px;
}

.feature-intro h2,
.feature-style h2,
.feature-works h2,
.feature-more h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.feature-intro p,
.feature-style p,
.feature-works p,
.feature-more p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 680px;
}

.feature-figure {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
}

.feature-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature-figure figcaption {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.feature-style {
  margin-bottom: 40px;
}

.feature-works {
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.work-card {
  background: var(--surface);
  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: var(--shadow-hover);
}

.work-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.work-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  padding: 12px 14px 2px;
}

.work-card p {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
  padding: 0 14px 14px;
  margin-bottom: 0;
  max-width: none;
}

.feature-works p a {
  font-weight: 600;
  color: var(--accent);
}

.feature-works p a:hover {
  color: var(--accent-dark);
}

.feature-more {
  margin-bottom: 40px;
}

.feature-more .more-links {
  margin-top: 12px;
  max-width: 680px;
}

/* ------------------------------------------------------------
   阅读指南页
   ------------------------------------------------------------ */
.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.guide-section .section-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.guide-section > .section-desc {
  margin-bottom: 20px;
}

.guide-columns-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.guide-column-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-column-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.guide-column-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.guide-column-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
}

.guide-column-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  align-self: flex-start;
}

.guide-column-link:hover {
  color: var(--accent-dark);
}

.guide-column-link::after {
  content: " →";
}

.guide-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.guide-flow-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.guide-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.guide-step-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.guide-step-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.guide-flow-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  line-height: 1.6;
}

.guide-rules-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-rule-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-rule-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.guide-rule-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.guide-figure {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 680px;
}

.guide-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.guide-more-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-more-links a {
  display: inline-flex;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.guide-more-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ------------------------------------------------------------
   常见问题页
   ------------------------------------------------------------ */
.faq-section {
  margin-bottom: 40px;
  max-width: 680px;
}

.faq-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.section-intro {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-soft);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  font-weight: 600;
  color: var(--accent);
}

.faq-answer a:hover {
  color: var(--accent-dark);
}

.faq-figure {
  max-width: 680px;
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.faq-figure figcaption {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ------------------------------------------------------------
   关于页
   ------------------------------------------------------------ */
.about-section {
  margin-bottom: 40px;
}

.about-section .section-title {
  font-size: 1.3rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.about-content-block {
  max-width: 680px;
}

.about-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.7;
}

.about-content-block p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.about-figure {
  max-width: 680px;
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-figure img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.about-figure figcaption {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.about-boundary-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

.boundary-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.boundary-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.boundary-item-text {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.about-feedback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  max-width: 680px;
}

.feedback-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.feedback-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.about-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ------------------------------------------------------------
   404 页
   ------------------------------------------------------------ */
.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  min-height: 60vh;
}

.error-section {
  text-align: center;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.error-desc {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.error-help {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   响应式断点
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .home-columns {
    grid-template-columns: 1fr 1.2fr;
  }

  .col-right {
    grid-column: 1 / -1;
  }

  .rank-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }

  .sidebar-left {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .page-layout {
    grid-template-columns: 1fr 240px;
    gap: 24px;
  }

  .guide-flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    display: block;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 0.95rem;
  }

  .nav-list a.is-current {
    background: var(--accent-soft);
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 20px 32px;
  }

  .hero-copy h1 {
    font-size: 1.6rem;
  }

  .hero-figure img {
    height: 220px;
  }

  .home-columns {
    grid-template-columns: 1fr;
    padding-bottom: 32px;
  }

  .col-left,
  .col-mid,
  .col-right {
    grid-column: auto;
  }

  .rank-list {
    display: flex;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .sidebar-left {
    display: flex;
    flex-direction: column;
  }

  .sidebar-left > .page-aside {
    order: 10;
    position: static;
    width: 100%;
  }

  .sidebar-left > .inner-main {
    order: 1;
    width: 100%;
  }

  .page-layout {
    display: flex;
    flex-direction: column;
  }

  .page-layout > .inner-main {
    order: 1;
    width: 100%;
  }

  .page-layout > .sidebar-right {
    order: 10;
    position: static;
    width: 100%;
  }

  .genre-grid {
    grid-template-columns: 1fr;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .guide-columns-list {
    grid-template-columns: 1fr;
  }

  .guide-flow-steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 32px;
  }

  .page-header {
    padding: 16px 0 24px;
  }

  .page-title {
    font-size: 1.4rem;
  }

  .related-links {
    gap: 8px;
  }

  .related-links-item {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
  }

  .footer-links ul {
    grid-template-columns: 1fr;
  }

  .update-item {
    grid-template-columns: 48px 1fr;
    gap: 3px 10px;
  }

  .update-thumb {
    width: 56px;
    height: 56px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .error-code {
    font-size: 3rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .error-actions .btn-primary,
  .error-actions .btn-secondary {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   动效增强（不阻塞初始可见性）
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .genre-card,
  .work-card,
  .step-item,
  .guide-column-card,
  .guide-flow-step {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .feature-card:hover,
  .genre-card:hover,
  .work-card:hover,
  .step-item:hover,
  .guide-column-card:hover,
  .guide-flow-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
  }
}
