/* ==========================================================================
   base / 基础变量与全局重置
   ========================================================================== */
:root {
  --ink: #0b0f14;
  --paper: #f5f2ea;
  --red: #ff3b3b;
  --green: #2c6e63;
  --sand: #d8d2c5;
  --white: #ffffff;
  --gray-text: #5a5f66;
  --line: #e3ded3;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-head: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(11, 15, 20, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   layout / 全站布局骨架
   ========================================================================== */

.site-header {
  background: var(--ink);
  position: relative;
  z-index: 100;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: 12px;
  color: var(--sand);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--sand);
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-list li a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-list li a.is-current {
  color: var(--white);
  background: rgba(255, 59, 59, 0.18);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  min-height: 60vh;
}

.site-footer {
  background: var(--ink);
  color: var(--sand);
  margin-top: 80px;
}

.footer-cols {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  color: var(--sand);
  line-height: 1.7;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--sand);
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--sand);
}

/* 内页统一容器 */
.site-inner {
  background: var(--paper);
}

.inner-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 8px;
  font-size: 14px;
  color: var(--gray-text);
}

.breadcrumb a {
  color: var(--gray-text);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  color: var(--sand);
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 600;
}

/* 页面标题区 */
.page-header {
  padding: 12px 0 32px;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 720px;
  line-height: 1.7;
}

/* 内容区块通用 */
.content-section {
  margin-bottom: 56px;
}

.content-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sand);
  position: relative;
}

.content-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.content-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
}

.content-section p {
  font-size: 15px;
  color: #3a3f46;
  margin-bottom: 14px;
  line-height: 1.75;
}

.content-section p strong {
  color: var(--ink);
  font-weight: 700;
}

/* 图片通用约束 */
figure {
  margin: 24px 0;
}

figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

figcaption {
  font-size: 13px;
  color: var(--gray-text);
  padding: 8px 0 0;
  line-height: 1.5;
}

/* ==========================================================================
   components / 组件
   ========================================================================== */

/* 首页 hero 双通道 */
.hero-dual {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 56px;
}

.hero-dual .site-main & {
  margin: 0 auto;
}

.hero-copy {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.hero-copy h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
  max-width: 720px;
}

.hero-lead {
  font-size: 17px;
  color: var(--sand);
  max-width: 640px;
  line-height: 1.7;
}

.hero-figure {
  margin: 32px 0 0;
}

.hero-figure img {
  width: 100%;
  max-height: 320px;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-channels {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.channel-new,
.channel-return {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px;
}

.channel-new h2,
.channel-return h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.path-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.path-list li {
  font-size: 15px;
  color: var(--sand);
  padding-left: 20px;
  position: relative;
}

.path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.path-list li a {
  color: var(--white);
  font-weight: 500;
}

.path-list li a:hover {
  color: var(--red);
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quick-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.quick-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.quick-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.quick-card p {
  font-size: 13px;
  color: var(--sand);
  line-height: 1.6;
}

/* 首页内容图 */
.content-media-primary {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.content-media-primary img {
  width: 100%;
  max-height: 360px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.content-media-primary figcaption {
  color: var(--gray-text);
  padding-top: 10px;
  font-size: 14px;
}

/* 题材总览 */
.genre-overview {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.genre-overview h2,
.update-calendar h2,
.recent-updates h2,
.directory-collect h2,
.guide-feedback h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 12px;
}

.genre-overview h2::after,
.update-calendar h2::after,
.recent-updates h2::after,
.directory-collect h2::after,
.guide-feedback h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--red);
}

.section-intro {
  font-size: 15px;
  color: var(--gray-text);
  max-width: 760px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.genre-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.genre-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.genre-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--green);
}

.genre-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* 更新日历 */
.update-calendar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.day-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.day-block.is-today {
  border-color: var(--red);
  background: rgba(255, 59, 59, 0.05);
}

.day-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.day-status {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.4;
}

.day-block.is-today .day-status {
  color: var(--red);
  font-weight: 600;
}

/* 最近更新 */
.recent-updates {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.update-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.update-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.update-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  min-width: 64px;
}

.update-work {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  min-width: 120px;
}

.update-state {
  font-size: 13px;
  color: var(--gray-text);
  background: var(--paper);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.update-item a {
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
  white-space: nowrap;
}

.update-item a:hover {
  color: var(--red);
}

/* 目录与收藏入口 */
.directory-collect {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.entry-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.entry-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.entry-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.entry-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.entry-card h3 a {
  color: var(--ink);
}

.entry-card h3 a:hover {
  color: var(--green);
}

.entry-card p {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 16px;
  line-height: 1.65;
}

.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--red);
}

.card-link::after {
  content: "→";
  font-size: 16px;
}

/* 指南与反馈衔接 */
.guide-feedback {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.guide-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.guide-card {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.guide-card:hover {
  background: #1a2026;
  transform: translateY(-2px);
}

.guide-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 14px;
  color: var(--sand);
  line-height: 1.65;
}

/* 内页双栏布局 */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-main {
  min-width: 0;
}

.page-sidebar {
  min-width: 0;
}

.sidebar-card,
.aside-inner {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 24px;
}

.sidebar-card h2,
.aside-inner h2,
.aside-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand);
}

.sidebar-nav,
.aside-list,
.aside-nav,
.aside-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a,
.aside-list li a,
.aside-nav li a,
.aside-nav-list li a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--gray-text);
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sidebar-nav li a:hover,
.aside-list li a:hover,
.aside-nav li a:hover,
.aside-nav-list li a:hover {
  background: var(--paper);
  color: var(--green);
  border-left-color: var(--green);
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.topic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.topic-table th,
.topic-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.topic-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.topic-table tr:last-child td {
  border-bottom: none;
}

.topic-table tbody tr:nth-child(even) {
  background: rgba(245, 242, 234, 0.5);
}

.topic-table tbody tr:hover {
  background: rgba(44, 110, 99, 0.06);
}

/* 图例 */
.legend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}

.legend-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-text);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot-updated {
  background: var(--red);
}

.legend-dot-pending {
  background: var(--green);
}

.legend-dot-rest {
  background: var(--sand);
}

.legend-dot-unknown {
  background: var(--gray-text);
}

/* 时间段列表 */
.time-slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.time-slot-list li {
  font-size: 14px;
  color: var(--gray-text);
  padding-left: 16px;
  position: relative;
}

.time-slot-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.time-slot-list li strong {
  color: var(--ink);
}

/* 内页更新列表 */
.update-list .update-item {
  align-items: flex-start;
}

.update-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  background: rgba(255, 59, 59, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.update-desc {
  font-size: 14px;
  color: var(--gray-text);
  flex-basis: 100%;
  margin: 4px 0 0;
  line-height: 1.6;
}

.update-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}

.update-link:hover {
  color: var(--red);
}

/* 阅读计划 */
.plan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.plan-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.plan-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.plan-item p {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 8px;
  line-height: 1.65;
}

/* 维度卡片 */
.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.dimension-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.dimension-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.dimension-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* 协作网格 */
.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.collab-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--green);
}

.collab-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.collab-item p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* 分类表格 */
.category-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 480px;
}

.category-table th,
.category-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.category-table th {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.category-table tr:last-child td {
  border-bottom: none;
}

/* 规则列表 */
.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.rule-list li {
  font-size: 14px;
  color: var(--gray-text);
  padding-left: 20px;
  position: relative;
  line-height: 1.65;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

/* 收藏范围 */
.collect-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.scope-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.scope-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.scope-item p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* 步骤列表 */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.step-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.step-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 0;
  line-height: 1.65;
}

/* 链接卡片 */
.link-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.link-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.link-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.link-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.link-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* 建议列表 */
.advice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.advice-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
  border-left: 3px solid var(--green);
}

/* 指南 hero 图 */
.guide-hero {
  margin: 0 0 40px;
}

.guide-hero img {
  width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.guide-hero figcaption {
  font-size: 13px;
  color: var(--gray-text);
  padding-top: 10px;
}

/* 指南步骤 */
.guide-step {
  margin-bottom: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-head h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  padding: 0;
  border: none;
}

.step-head h2::after {
  display: none;
}

.step-def {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.step-detail h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.step-detail p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

.step-detail p a {
  font-weight: 600;
}

.step-detail .path-list {
  margin: 12px 0;
}

.step-detail .path-list li {
  color: var(--gray-text);
}

.step-detail .path-list li a {
  color: var(--green);
  font-weight: 500;
}

.step-detail .path-list li a:hover {
  color: var(--red);
}

/* 流程总结 */
.flow-summary {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
}

.flow-summary h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.flow-summary p {
  font-size: 15px;
  color: var(--sand);
  line-height: 1.7;
  margin-bottom: 20px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-list li {
  font-size: 14px;
  color: var(--sand);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  text-align: center;
}

/* 问题卡片 */
.issue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.issue-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--green);
}

.issue-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.issue-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.65;
  margin-bottom: 8px;
}

.issue-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  display: inline-block;
  margin-top: 8px;
}

.issue-card a:hover {
  color: var(--red);
}

/* 反馈引导 */
.feedback-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.feedback-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.feedback-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sand);
}

.feedback-block ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feedback-block ul li {
  font-size: 14px;
  color: var(--gray-text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}

.feedback-block ul li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* FAQ 折叠 */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.2s ease;
}

.faq-item[open] summary {
  background: rgba(44, 110, 99, 0.05);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* 相关链接 */
.related-links {
  margin-top: 40px;
}

.related-links h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.related-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.related-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin: 0;
}

/* 404 */
.error-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.error-code {
  font-size: 96px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}

.error-section h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.error-desc {
  font-size: 16px;
  color: var(--gray-text);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

.error-btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.error-btn:hover {
  background: var(--ink);
  color: var(--white);
}

.error-links {
  margin-top: 56px;
}

.error-links h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.error-links ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.error-links ul li a {
  display: block;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--green);
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.error-links ul li a:hover {
  border-color: var(--green);
  color: var(--red);
}

/* 侧栏备注 */
.aside-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
}

.aside-note a {
  display: inline;
  font-size: 13px;
  padding: 0;
  color: var(--green);
}

.aside-note a:hover {
  color: var(--red);
}

/* ==========================================================================
   pages / 页面级布局
   ========================================================================== */

/* 首页 */
.home-main {
  background: var(--paper);
}

/* 内页双栏：正文 + 右侧目录 */
.layout-with-aside {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-content {
  min-width: 0;
}

/* tical 页 */
.page-tical .page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.page-tical .page-main {
  min-width: 0;
}

.page-tical .page-sidebar {
  position: sticky;
  top: 24px;
}

/* gengxin / shoucang / yuedu-zhinan 页 */
.layout-shell {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.layout-shell .site-main {
  min-width: 0;
}

.layout-shell .page-aside {
  position: sticky;
  top: 24px;
}

/* zuopin-mulu 页 */
.page-zuopin-mulu .layout-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.page-zuopin-mulu .page-content {
  min-width: 0;
}

.page-zuopin-mulu .page-aside {
  position: sticky;
  top: 24px;
}

/* wenti-fankui 页 */
.page-wenti-fankui .page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

.page-wenti-fankui .content-main {
  min-width: 0;
}

.page-wenti-fankui .page-aside {
  position: sticky;
  top: 24px;
}

/* 页面配图 */
.page-figure {
  margin: 0 0 32px;
}

.page-figure img {
  width: 100%;
  max-height: 300px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.page-figure figcaption {
  font-size: 13px;
  color: var(--gray-text);
  padding-top: 10px;
}

/* 正文中插图 */
.content-media-inline {
  margin: 24px 0;
}

.content-media-inline img {
  width: 100%;
  max-height: 320px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.content-figure {
  margin: 24px 0;
}

.content-figure img {
  width: 100%;
  max-height: 300px;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

.content-figure figcaption {
  font-size: 13px;
  color: var(--gray-text);
  padding-top: 10px;
}

/* section 说明 */
.section-note {
  font-size: 14px;
  color: var(--gray-text);
  background: rgba(216, 210, 197, 0.3);
  border-left: 3px solid var(--sand);
  padding: 12px 16px;
  margin: 16px 0;
  line-height: 1.65;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* 分页和正文链接 */
.content-section p a {
  font-weight: 600;
}

/* ==========================================================================
   responsive / 响应式
   ========================================================================== */

@media (min-width: 1025px) {
  .page-tical .page-layout,
  .page-zuopin-mulu .layout-with-aside,
  .page-wenti-fankui .page-layout,
  .layout-shell {
    grid-template-columns: 1fr 280px;
  }
}

@media (max-width: 1024px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .genre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .week-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .day-block:nth-child(n + 5) {
    display: flex;
  }

  .plan-list {
    grid-template-columns: 1fr 1fr;
  }

  .plan-item:last-child {
    grid-column: 1 / -1;
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-tical .page-layout,
  .page-zuopin-mulu .layout-with-aside,
  .page-wenti-fankui .page-layout,
  .layout-shell {
    grid-template-columns: 1fr;
  }

  .page-sidebar,
  .page-aside {
    position: static;
    order: 2;
  }

  .page-main,
  .page-content,
  .content-main {
    order: 1;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    gap: 2px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li a {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: var(--radius);
  }

  .hero-dual {
    padding: 40px 0 40px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-channels {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .channel-new,
  .channel-return {
    padding: 24px;
  }

  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }

  .genre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .week-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .day-block:nth-child(n + 4) {
    display: flex;
  }

  .entry-cards,
  .guide-links {
    grid-template-columns: 1fr;
  }

  .collect-scope-grid,
  .feedback-guide {
    grid-template-columns: 1fr;
  }

  .issue-grid {
    grid-template-columns: 1fr;
  }

  .module-grid,
  .collab-grid {
    grid-template-columns: 1fr;
  }

  .link-cards {
    grid-template-columns: 1fr;
  }

  .update-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .update-time {
    min-width: 0;
  }

  .update-work {
    min-width: 0;
    width: 100%;
  }

  .page-title {
    font-size: 26px;
  }

  .guide-step {
    padding: 24px;
  }

  .step-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .step-num {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .step-head h2 {
    font-size: 20px;
  }

  .flow-list {
    grid-template-columns: 1fr 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 24px 32px;
  }

  .footer-bottom {
    padding: 16px 24px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .inner-main,
  .layout-shell {
    padding: 0 16px;
  }

  .hero-copy {
    padding: 0 16px 32px;
  }

  .hero-channels {
    padding: 0 16px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .genre-overview,
  .update-calendar,
  .recent-updates,
  .directory-collect,
  .guide-feedback {
    padding-left: 16px;
    padding-right: 16px;
  }

  .genre-grid {
    grid-template-columns: 1fr;
  }

  .week-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .day-block:nth-child(n + 3) {
    display: flex;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 24px;
  }

  .page-description {
    font-size: 15px;
  }

  .content-section h2 {
    font-size: 21px;
  }

  .content-section h3 {
    font-size: 17px;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .plan-item:last-child {
    grid-column: auto;
  }

  .breadcrumb {
    padding-top: 16px;
  }

  .page-header {
    padding-bottom: 24px;
  }

  .error-code {
    font-size: 72px;
  }

  .error-main {
    padding: 56px 16px;
  }

  .footer-cols {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 390px) {
  .brand-tag {
    display: none;
  }

  .hero-copy h1 {
    font-size: 24px;
  }

  .genre-card {
    padding: 20px;
  }

  .day-block {
    padding: 12px 8px;
    min-height: 76px;
  }

  .update-item {
    padding: 14px 16px;
  }

  .entry-card,
  .guide-card {
    padding: 20px;
  }

  .sidebar-card,
  .aside-inner {
    padding: 20px;
  }

  .guide-step {
    padding: 20px;
  }

  .flow-summary {
    padding: 24px;
  }

  .issue-card,
  .feedback-block,
  .scope-item,
  .dimension-card,
  .collab-item {
    padding: 20px;
  }

  .faq-item summary {
    padding: 16px 44px 16px 18px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 12px 18px 16px;
  }
}

/* 无障碍焦点 */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* 滚动进入动画（不影响初始可见性） */
@media (prefers-reduced-motion: no-preference) {
  .genre-card,
  .update-item,
  .entry-card,
  .guide-card,
  .quick-card,
  .plan-item,
  .dimension-card,
  .collab-item,
  .scope-item,
  .issue-card,
  .feedback-block,
  .related-card,
  .flow-list li {
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
}
